Re: [O] [PATCH] Fixes org-rmail-store-link

2012-08-09 Thread T.F. Torrey
Nick Dokos writes: >> The attached patch remedies this by toggling on the full header display >> before getting the Message-ID. >> > > Shouldn't it be toggled off afterwards? That would seem logical to me, too, but the internal workings of org-rmail.el and the rmail functions (which I don't ful

Re: [O] [PATCH] Fixes org-rmail-store-link

2012-08-09 Thread T.F. Torrey
> This is fixed now, thanks. > > I used a slightly different fix, taking `rmail-header-style' into > account. Thanks anyway for the patch! It works for me. Thanks for the quick fix. Although ... -- T.F. Torrey

Re: [O] [PATCH] Fixes org-rmail-store-link

2012-08-07 Thread Bastien
Hi, tftor...@tftorrey.com (T.F. Torrey) writes: > Attempting to save a link in an Rmail buffer fails with the error > "Wrong type argument: arrayp, nil". This is fixed now, thanks. I used a slightly different fix, taking `rmail-header-style' into account. Thanks anyway for the patch! Best, -

Re: [O] [PATCH] Fixes org-rmail-store-link

2012-08-06 Thread Nick Dokos
T.F. Torrey wrote: > ,.. > > The error occurs because org-rmail-store-link attempts to get the > Message-ID header with mail-fetch-field, then remove the angle > brackets with org-remove-angle-brackets. However, without showing full > headers, Message-ID is hidden, and (mail-fetch-field "message

[O] [PATCH] Fixes org-rmail-store-link

2012-08-06 Thread T.F. Torrey
Hello all, Attempting to save a link in an Rmail buffer fails with the error "Wrong type argument: arrayp, nil". Attempting to save a link in an Rmail buffer succeeds if all headers are shown (by pressing T to toggle the display). Attempting to save a link in an Rmail summary buffer always fails