[notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-04-23 Thread Sebastian Spaeth
On 2010-04-22, Dirk Hohndel wrote: > ;; This is the list of alternatives that should be configurable as > ;; defcustom (or simply set in .emacs for now) > (setq notmuch-fcc-dirs '( > ("Dirk Hohndel " . "Maildir/Sent Items") > ("Dirk Hohndel " . "MaildirInfradead/Sent"))) > > ;This

Re: [notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-04-23 Thread Sebastian Spaeth
On 2010-04-22, Dirk Hohndel wrote: ;; This is the list of alternatives that should be configurable as ;; defcustom (or simply set in .emacs for now) (setq notmuch-fcc-dirs '( (Dirk Hohndel dirk.hohn...@intel.com . Maildir/Sent Items) (Dirk Hohndel hohn...@infradead.org .

[notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-04-22 Thread Dirk Hohndel
On Thu, 22 Apr 2010 11:06:04 +0200, "Sebastian Spaeth" wrote: > As Carl stated that he would probably merge this one if someone tested > it, here it comes: I tested it and it works great. When I define a > non-existing directory as maildir it aborts with an error message that > is visible to the

[notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-04-22 Thread Sebastian Spaeth
As Carl stated that he would probably merge this one if someone tested it, here it comes: I tested it and it works great. When I define a non-existing directory as maildir it aborts with an error message that is visible to the user. I put this in a branch based on cworth/master and with Jesse's

[notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-04-07 Thread Dirk Hohndel
On Wed, 27 Jan 2010 09:44:41 -0500, Jameson Rollins wrote: > Hey, folks. Following up on this thread about better fcc handling, > Jesse passed on a simple python script he wrote that uses the python > "mailbox" module to deliver a message on stdin to a specified maildir > directory. It's very a

[notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-01-29 Thread Sebastian Spaeth
First, I think this FCC method is phantastic and it works like a charm. I agree that we should include the snippets at least in some "contrib" directory (or doc/examples) to make it easier to find. Jameson Rollins wrote: > (defun my-message-header-setup () > (message-add-header "Fcc:

[notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-01-29 Thread Jesse Rosenthal
On Fri, 29 Jan 2010 14:21:56 +0100, Sebastian Spaeth wrote: > First, I think this FCC method is phantastic and it works like a > charm. I agree that we should include the snippets at least in some > "contrib" directory (or doc/examples) to make it easier to find. I'm glad it's proved useful.

[notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-01-29 Thread Jameson Rollins
On Fri, 29 Jan 2010 14:21:56 +0100, "Sebastian Spaeth" wrote: > First, I think this FCC method is phantastic and it works like a > charm. I agree that we should include the snippets at least in some > "contrib" directory (or doc/examples) to make it easier to find. I'm really glad this was

Re: [notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-01-29 Thread Sebastian Spaeth
First, I think this FCC method is phantastic and it works like a charm. I agree that we should include the snippets at least in some contrib directory (or doc/examples) to make it easier to find. Jameson Rollins jroll...@finestructure.net wrote: (defun my-message-header-setup ()

Re: [notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-01-29 Thread Jesse Rosenthal
On Fri, 29 Jan 2010 14:21:56 +0100, Sebastian Spaeth sebast...@sspaeth.de wrote: First, I think this FCC method is phantastic and it works like a charm. I agree that we should include the snippets at least in some contrib directory (or doc/examples) to make it easier to find. I'm glad it's

[notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-01-27 Thread Jameson Rollins
Hey, folks. Following up on this thread about better fcc handling, Jesse passed on a simple python script he wrote that uses the python "mailbox" module to deliver a message on stdin to a specified maildir directory. It's very a simple, elegant and general purpose script (attached). I then put

[notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-01-21 Thread Jesse Rosenthal
Dear all, First of all, many thanks to Carl and others for writing notmuch. Some folks on IRC were bemoaning message-mode's annoying inability to save sent-mail to a Maildir using Fcc. I mentioned that I had written a bit of Maildir elisp code for that purpose a while back, and it was suggested

[notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-01-21 Thread Jesse Rosenthal
Dear all, First of all, many thanks to Carl and others for writing notmuch. Some folks on IRC were bemoaning message-mode's annoying inability to save sent-mail to a Maildir using Fcc. I mentioned that I had written a bit of Maildir elisp code for that purpose a while back, and it was suggested