Tag Archives: Email

Mutt-like Scrolling for Gnus

Mutt scrolls the index of email folders up or down, one line at a time, with the press of a single key: ‘<‘ or ‘>’. This is a very convenient way to skim through email folder listings, so I wrote a small bit of Emacs Lisp to do the same in Gnus tonight.

;;;
;; Scrolling like mutt for group, summary, and article buffers.
;;
;; Being able to scroll the current buffer view by one line with a
;; single key, rather than having to guess a random number and recenter
;; with `C-u NUM C-l' is _very_ convenient.  Mutt binds scrolling by one
;; line to '<' and '>', and it's something I often miss when working
;; with Gnus buffers.  Thanks to the practically infinite customizability
;; of Gnus, this doesn't have to be an annoyance anymore.

(defun keramida-mutt-like-scrolling ()
  "Set up '<' and '>' keys to scroll down/up one line, like mutt."
  ;; mutt-like scrolling of summary buffers with '<' and '>' keys.
  (local-set-key (kbd ">") 'scroll-up-line)
  (local-set-key (kbd "<") 'scroll-down-line))

(add-hook 'gnus-group-mode-hook 'keramida-mutt-like-scrolling)
(add-hook 'gnus-summary-mode-hook 'keramida-mutt-like-scrolling)
(add-hook 'gnus-article-prepare-hook 'keramida-mutt-like-scrolling)

This is now the latest addition to my ~/.gnus startup code, and we’re one step closer to making Gnus behave like my favorite old-time mailer.

Τα Chain Mail Ανακαλύπτουν το Facebook

Είναι πραγματικά εκπληκτικό πόσο εύπιστοι και κυριολεκτικά χαζοί μπορεί να γίνουμε μερικές φορές οι άνθρωποι. Ένα από τα πιο χαρακτηριστικά παραδείγματα μοντέρνας ευπιστίας, η οποία ορισμένες φορές μπορεί να έχει ακόμα και καλό σκοπό, αλλά μετά από ελάχιστη σκέψη φαίνεται στην καλύτερη περίπτωση απλώς χαζομάρα ενώ στην χειρότερη περίπτωση μπορεί να θεωρηθεί ακόμα και προσβολή της νουμοσύνης μας, είναι η προώθηση μηνυμάτων γνωστών ως «chain letters» (γράμματα αλυσίδας). Continue reading

Χρήσιμες Ειδοποιήσεις Online Παραγγελιών Μέσω Email

Πριν λίγες μέρες αποφάσισα να πάρω μια νέα μπαταρία για το Thinkpad X61s μου. Η παλιά μπαταρία έχει αρχίσει και χάνει πολύ από την αρχική της κατάσταση, όπως φαίνεται κι από το “last full capacity” στην έξοδο της εντολής acpiconf:

keramida@kobe:~$ acpiconf -i0
Design capacity:        74880 mWh
Last full capacity:     41140 mWh
...

Continue reading

Αρχίσαμε…

Άρχισε ήδη εδώ και λίγες μέρες η γνωστή αηδία με τα μηνύματα spam που έχουν πολιτικό περιεχόμενο. Χωρίς να θέλω να θίξω προσωπικά ένα συγκεκριμένο άτομο, κάτι τέτοια μηνύματα

Date: Tue, 26 May 2009 21:09:10 +0300
From: "Γιώργος Δημαράς" <ecogreen12@yahoo.gr>
Subject: ΓΙΑΤΙ ΟΙ ΟΙΚΟΛΟΓΟΙ ΠΡΑΣΙΝΟΙ ΠΡΕΠΕΙ ΝΑ ΜΠΟΥΝ ΣΤΗΝ ΕΥΡΩΒΟΥΛΗ
To: <keramida@ceid.upatras.gr>
Message-ID: <31faba30c213e4ef137728e400121d6e@yahoo.gr>

δε με κάνουν να θέλω να ψηφίσω αυτόν που φαίνεται το όνομά του. Πολύ περισσότερο όταν έχει την απαίτηση να διαβάσω το πολιτικού περιεχομένου spam του σε κλειστό, εμπορικό format γνωστής σουίτας «γραφείου» η οποία τρέχει μόνο σε Windows:

MIME parts:
 . 2009-05-26 [ 669: Γιώργος Δημαράς     ] <* mixed> ΓΙΑΤΙ ΟΙ ΟΙΚΟΛΟΓΟΙ ΠΡΑΣΙΝΟΙ ΠΡΕΠΕΙ ΝΑ ΜΠΟΥΝ ΣΤΗΝ ΕΥΡΩΒΟΥΛΗ
 . 2009-05-26     [   5: Γιώργος Δημαράς     ] <1 html>
 . 2009-05-26     [ 648: Γιώργος Δημαράς     ] <2 msword> "=?windows-1253?Q?=C3=C9=C1=D4=C9_=CF=C9_=CF=C9=CA=CF=CB=CF=C$

Δεν ξέρω τι κάνει τον κόσμο να πιστεύει ότι με το να μας βομβαρδίσει με τα «επιχειρήματά» του σε μορφή διαφημιστικού φυλλαδίου θα τον ψηφίσουμε. Υπάρχει τρόπος να παρουσιαστεί το σχέδιο μιας παράταξης για το μέλλον, με σαφείς, ξεκάθαρες, χρήσιμες και ουσιαστικές προτάσεις. Αυτός ο τρόπος δεν είναι με χρήση μηνυμάτων spam, οπότε κ. Δημαρά και όποιος άλλος έχει τέτοια εντύπωση:

You are doing it wrong!

Spawning Fetchmail with a Minimal Environment

I often ran fetchmail in the background, in “daemon mode”, to keep fetching my email from multiple accounts and piping it all through the Sendmail instance running as the local MTA of my laptop.

But I don’t always remember to run fetchmail before launching GNOME or before “polluting” my shell’s environment with dozens of environment variables that may be either useless or even mildly dangerous for a long running process like fetchmail. Continue reading

Yearly Email Archiving

This time it took me a while longer, because I was busy with $reallife during the regular Winter Solstice celebrations, but earlier tonight I finished my traditional “end of the year” email archiving process. Messages that I posted in 2008, ‘cached’ copies of the replies I received, and any incoming message that listed one of my addresses in the recipient list have been moved to “mail.archive-2008“.

These messages were stashed safely away, and then deleted from my laptop’s disk. I don’t often need more than a year’s email backlog, and when I do backups are always available somewhere around.

When the archiving process was finished I ran my rdiff-backup script once more, and the shuffling of email seems to have generated an rdiff-backup increment of 946 KB:

$ rdiff-backup --list-increment-sizes /archive/keramida/mailnews
        Time                       Size        Cumulative size
-----------------------------------------------------------------------------
Sat Jan 17 00:53:28 2009         1.85 GB           1.85 GB   (current mirror)
Fri Jan 16 18:22:24 2009          946 KB           1.85 GB   (2008 archive mirror)
...

I am beginning to like rdiff-backup. A lot :-)

Consistently Inconsistent

“I am consistently inconsistent.”
— Don Williams, Jr.

I’m not sure if the spammer who posted this figured out the irony of spamming someone with this particular subject, but I received a spam message today that includes:

Date: Mon, 15 Dec 2008 12:31:08 +0200
From: New Dome <info@new-dome.gr>
Subject: Real Democracy has its roots in mutual respect
To: ftpadmin@....gr
Message-ID: <bbb9c9d17a82f01eeb74326854c93e85@www.new-dome.gr>

“Mutual respect” also means “please, respect my mailbox and stop filling it with unsolicited crap”. At least, it did the last time I checked :)