[PATCH] emacs: Add notmuch-before/after-tag-hook

2011-05-16 Thread Daniel Schoepe

address completion when composing

2011-05-16 Thread Sebastian Spaeth
mail/notmuch/attachments/20110516/cc19b54f/attachment.pgp>

Multiple sender identities (composing)

2011-05-16 Thread Mueen Nawaz
Jameson Graef Rollins writes: > This is great, guys. I've been wanting to get something like this > working for a while now. Agreed. Would be awesome if someone could post it to the Wiki...

Header and other questions

2011-05-16 Thread Mueen Nawaz
Jameson Graef Rollins writes: > On Mon, 16 May 2011 11:27:52 -0400, Jesse Rosenthal > wrote: >> The decision, if I remember correctly, was that regions are so intuitive >> for emacs users, and many people reported trying to tag by region >> without thinking about it, that this approach would

Multiple sender identities (composing)

2011-05-16 Thread Thomas Jost
nt before it is actually executed. I'll try to have a look at this tomorrow. Regards, Thomas [1] https://github.com/Schnouki/dotfiles/blob/master/notmuch/addrbook.py -- Thomas/Schnouki -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/a28dee05/attachment.pgp>

Multiple sender identities (composing)

2011-05-16 Thread Stewart Smith
Thought I'd share this bit of my .emacs snippet that may be useful to go on the emacs tips page. This does the following: - sets up a list of possible identities to have mail From - on composing mail, it prompts you for who you want to send mail from - pressing enter will give you the default

Multiple sender identities (composing)

2011-05-16 Thread green
could be added to the wiki? -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/7c0547fb/attachment.pgp>

MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Carl Worth
ss that test but with less code duplication than the current patch. -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20

address completion when composing

2011-05-16 Thread Carl Worth
hmail.org/pipermail/notmuch/attachments/20110516/6f7231d1/attachment-0001.pgp>

MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Daniel Kahn Gillmor
ommit ID, but i suspect you're sufficiently rebased that this wouldn't be helpful. --dkg -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 1030 bytes Desc: OpenPGP digital signature URL: <http://notmuchma

Header and other questions

2011-05-16 Thread Daniel Schoepe
gp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/d11ad892/attachment.pgp>

MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Daniel Kahn Gillmor
or added fun and games. --dkg -- next part -- A non-text attachment was scrubbed... Name: dkg-tiny.png Type: image/png Size: 15893 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/4703788b/attachment-0001.png> -

MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Daniel Kahn Gillmor
ture Size: 1030 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/6dc1c7cd/attachment.pgp>

[RFC/PATCH] Vim client rewrite

2011-05-16 Thread Anton Khirnov
On Mon, 16 May 2011 14:36:07 +0300, Felipe Contreras wrote: > On Sun, May 15, 2011 at 10:15 PM, wrote: > > my attempts to make the vim client more usable somehow spiraled out of > > control and turned into a huge rewrite. The intermediate results I > > hereby present for your amusement and

MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Jameson Graef Rollins
A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/1cf51c2e/attachment.pgp>

[RFC/PATCH] Vim client rewrite

2011-05-16 Thread Felipe Contreras
On Sun, May 15, 2011 at 10:15 PM, wrote: > my attempts to make the vim client more usable somehow spiraled out of > control and turned into a huge rewrite. The intermediate results I > hereby present for your amusement and comments. > (attached as whole files, since the patch would be

MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Carl Worth
e excess part-number incrementing somewhere. All of this should be easy to get right with a careful test case or two. -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL:

MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Carl Worth
On Mon, 16 May 2011 16:50:06 -0400, Daniel Kahn Gillmor wrote: > before, the output was a linearized version of the mime tree, in > particular removing the multipart pieces and only enumerating the leaves > in a depth-first walk of the tree. > > So a message like this: [snip example of change]

release-candidate/0.6

2011-05-16 Thread Carl Worth
ble Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/7437e239/attachment.pgp>

Multiple sender identities (composing)

2011-05-16 Thread Thomas Jost
A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/221f9279/attachment-0001.pgp>

Multiple sender identities (composing)

2011-05-16 Thread Jameson Graef Rollins
c: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/d27bfff8/attachment.pgp>

Header and other questions

2011-05-16 Thread Jesse Rosenthal
Hi, On Mon, 16 May 2011 17:15:17 +0200, Daniel Schoepe wrote: > I think this is only a subset of the requested functionality, since one > can only tag consecutive threads at once. It seems like for non-consecutive messages to be tagged, there'd have to be some sort of mutt-style

Header and other questions

2011-05-16 Thread Sebastian Spaeth
ble Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/b1e4f8bc/attachment.pgp>

storing From and Subject in xapian

2011-05-16 Thread Sebastian Spaeth
ame: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/85925103/attachment.pgp>

Multiple sender identities (composing)

2011-05-16 Thread Jameson Graef Rollins
pects the message to be complete at that point. jamie. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/c4d289c4/attachment-0001.pgp>

Header and other questions

2011-05-16 Thread Jameson Graef Rollins
-- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/772f6f85/attachment.pgp>

storing From and Subject in xapian

2011-05-16 Thread Istvan Marko
case but I haven't tried implementing that yet. -- next part -- A non-text attachment was scrubbed... Name: notmuch-value3.patch Type: text/x-patch Size: 3296 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110516/36

Header and other questions

2011-05-16 Thread Xavier Maillard
Hi On Sat, 14 May 2011 22:23:16 -0700, mueen at nawaz.org wrote: > 3. Can I mark a bunch of messages for tagging in the Emacs interface? I > know I can tag all messages in a query, but sometimes I'd just like to > select a few manually and tag them (or apply some other command to > them). I do

Re: storing From and Subject in xapian

2011-05-16 Thread Sebastian Spaeth
On Sat, 14 May 2011 21:37:25 -0400, Austin Clements amdra...@mit.edu wrote: I wonder if a better approach would be to use notmuch_message_get_header everywhere, rather than introducing _notmuch_message_get_header_value, and have it simply recognize headers that can be retrieved directly from

Multiple sender identities (composing)

2011-05-16 Thread Stewart Smith
Thought I'd share this bit of my .emacs snippet that may be useful to go on the emacs tips page. This does the following: - sets up a list of possible identities to have mail From - on composing mail, it prompts you for who you want to send mail from - pressing enter will give you the default

Re: [RFC/PATCH] Vim client rewrite

2011-05-16 Thread Felipe Contreras
On Sun, May 15, 2011 at 10:15 PM, an...@khirnov.net wrote: my attempts to make the vim client more usable somehow spiraled out of control and turned into a huge rewrite. The intermediate results I hereby present for your amusement and comments. (attached as whole files, since the patch would

Re: Multiple sender identities (composing)

2011-05-16 Thread Stewart Smith
On Mon, 16 May 2011 11:52:43 +0200, Thomas Jost schno...@schnouki.net wrote: On Mon, 16 May 2011 19:29:07 +1000, Stewart Smith stew...@flamingspork.com wrote: (people who don't use or like ido may want to replace ido-completing-read with completing-read) I couldn't get ido to work at all

Re: [RFC/PATCH] Vim client rewrite

2011-05-16 Thread Anton Khirnov
On Mon, 16 May 2011 14:36:07 +0300, Felipe Contreras felipe.contre...@gmail.com wrote: On Sun, May 15, 2011 at 10:15 PM, an...@khirnov.net wrote: my attempts to make the vim client more usable somehow spiraled out of control and turned into a huge rewrite. The intermediate results I

Re: Header and other questions

2011-05-16 Thread Daniel Schoepe
On Sun, 15 May 2011 18:16:31 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: It's possible, and works the way you'd think it would -- just select a bunch of threads in the search list, and then tag them. It will apply the tag to the messages in the region. (In fact, tagging a single thread is

Re: Multiple sender identities (composing)

2011-05-16 Thread Thomas Jost
On Mon, 16 May 2011 09:52:32 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: On Mon, 16 May 2011 11:52:43 +0200, Thomas Jost schno...@schnouki.net wrote: On Mon, 16 May 2011 19:29:07 +1000, Stewart Smith stew...@flamingspork.com wrote: Thought I'd share this bit of my

Re: address completion when composing

2011-05-16 Thread Sebastian Spaeth
On Thu, 12 May 2011 00:38:20 -0700, Jameson Graef Rollins wrote: On Thu, 12 May 2011 02:04:41 +0200, Florian Friesdorf f...@chaoflow.net wrote: 1. store to/cc/bcc in xapian Hey, Florian. I think all of these fields are actually already stored in the database. No, just the terms are, not

Re: release-candidate/0.6

2011-05-16 Thread Carl Worth
On Fri, 13 May 2011 01:07:08 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: Hi, Carl. I went through dme's multipart patch series and cleaned things up. ... The result is the new release-candidate/0.6+mpmfix Thanks so much! This looks much better than before. I'm still

[PATCH] emacs: Add notmuch-before/after-tag-hook

2011-05-16 Thread Daniel Schoepe
From the commit message: emacs: add notmuch-before- and notmuch-after-tag-hook This patch adds hooks that are run before/after messages are tagged from the emacs interface. In order to implement this and to avoid having hooks parse all the arguments to the notmuch binary

MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Daniel Kahn Gillmor
On 05/16/2011 04:42 PM, Carl Worth wrote: Meanwhile, I still can't tell exactly what the behavioral change intended is. The commit message talks about fully recursing and match[ing] the MIME structure of the message. Was it not fully recursing before? In what way did

Re: MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Carl Worth
On Mon, 16 May 2011 16:50:06 -0400, Daniel Kahn Gillmor d...@fifthhorseman.net wrote: before, the output was a linearized version of the mime tree, in particular removing the multipart pieces and only enumerating the leaves in a depth-first walk of the tree. So a message like this: [snip

Re: MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Daniel Kahn Gillmor
On 05/16/2011 04:50 PM, Daniel Kahn Gillmor wrote: So a message like this: A└┬╴multipart/signed 355339 bytes B ├┬╴multipart/mixed 353462 bytes C │├╴text/plain 235 bytes D │└╴image/jpeg attachment [foo.jpg] 352752 bytes E └╴application/pgp-signature attachment [signature.asc] 1030 bytes

Re: MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Carl Worth
On Mon, 16 May 2011 16:50:06 -0400, Daniel Kahn Gillmor d...@fifthhorseman.net wrote: So a message like this: A└┬╴multipart/signed 355339 bytes B ├┬╴multipart/mixed 353462 bytes C │├╴text/plain 235 bytes D │└╴image/jpeg attachment [foo.jpg] 352752 bytes E └╴application/pgp-signature

Re: MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Simon Hürlimann
lol, made my day! Simon On 05/16/2011 11:05 PM, Daniel Kahn Gillmor wrote: On 05/16/2011 04:50 PM, Daniel Kahn Gillmor wrote: So a message like this: A└┬╴multipart/signed 355339 bytes B ├┬╴multipart/mixed 353462 bytes C │├╴text/plain 235 bytes D │└╴image/jpeg attachment [foo.jpg] 352752 bytes

Re: MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Daniel Kahn Gillmor
On 05/16/2011 05:20 PM, Carl Worth wrote: Interestingly, this is not quite the behavior I get (with commit 373f352). With --format=text I'm now seeing: 2) C 3) D 4) E --format=text should only show the parts that are readable in text. the ultimate goal is to get the part numbers aligned

Re: Multiple sender identities (composing)

2011-05-16 Thread green
Jameson Graef Rollins wrote at 2011-05-16 11:52 -0500: This is great, guys. I've been wanting to get something like this working for a while now. Yes; thanks Stewart, Thomas. This is one thing that has slowed my transition to notmuch (from Mutt). Perhaps some of this or links to it could be

Re: MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Jameson Graef Rollins
On Mon, 16 May 2011 14:20:07 -0700, Carl Worth cwo...@cworth.org wrote: I'll have to learn better how to control the emacs mail composer in order to understand how to get signatures to cover attachments if I want to do that kind of thing. See mml-secure-message-sign-pgpmime to sign an entire

Re: address completion when composing

2011-05-16 Thread Carl Worth
On Mon, 16 May 2011 22:04:42 +0200, Sebastian Spaeth sebast...@sspaeth.de wrote: No, just the terms are, not the full string. (although for search, that could actually be enough) Right. It's easy enough to search on the To: field. But for address completion, I think we realyl will want to fix

Re: MIME restructuring [was: Re: release-candidate/0.6]

2011-05-16 Thread Carl Worth
On Mon, 16 May 2011 15:37:49 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: See mml-secure-message-sign-pgpmime to sign an entire message, as opposed to just a single part. Thanks! That's good to know. (Trying here.) I think the two paths reconverge later in the series. Can

Re: Header and other questions

2011-05-16 Thread Mueen Nawaz
Jameson Graef Rollins jroll...@finestructure.net writes: On Mon, 16 May 2011 11:27:52 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: The decision, if I remember correctly, was that regions are so intuitive for emacs users, and many people reported trying to tag by region without thinking

Re: Multiple sender identities (composing)

2011-05-16 Thread Mueen Nawaz
Jameson Graef Rollins jroll...@finestructure.net writes: This is great, guys. I've been wanting to get something like this working for a while now. Agreed. Would be awesome if someone could post it to the Wiki... ___ notmuch mailing list