* encoding when forwarding messages
@ 2013-08-27 10:19 Eric Abrahamsen
2013-08-27 11:21 ` David Bremner
0 siblings, 1 reply; 4+ messages in thread
From: Eric Abrahamsen @ 2013-08-27 10:19 UTC (permalink / raw)
To: notmuch
I saw another message about the same problem on this list, in January,
with the advice to upgrade to git, but I'm still seeing it on notmuch
0.16+7~gdc51bf0. Forwarding a message from within emacs using
`notmuch-mua-forward-message' sometimes produces garbled encoding.
Calling `notmuch-show-forward-message' on the same message, however,
creates what appears to be a raw message, properly encoded.
Is there something still amiss in the code? Am I using the wrong
command?
Thanks!
Eric
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: encoding when forwarding messages
2013-08-27 10:19 encoding when forwarding messages Eric Abrahamsen
@ 2013-08-27 11:21 ` David Bremner
2013-08-27 14:41 ` Eric Abrahamsen
0 siblings, 1 reply; 4+ messages in thread
From: David Bremner @ 2013-08-27 11:21 UTC (permalink / raw)
To: Eric Abrahamsen, notmuch
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> I saw another message about the same problem on this list, in January,
> with the advice to upgrade to git, but I'm still seeing it on notmuch
> 0.16+7~gdc51bf0. Forwarding a message from within emacs using
> `notmuch-mua-forward-message' sometimes produces garbled encoding.
> Calling `notmuch-show-forward-message' on the same message, however,
> creates what appears to be a raw message, properly encoded.
>
> Is there something still amiss in the code? Am I using the wrong
> command?
Do you really mean notmuch-mua-forward-message? That function is not
interactive, which would make it more work to call.
In any case, notmuch-show-forward-message does take some care to read
the message in raw mode (via with-current-notmuch-show-message); when
you call notmuch-mua*forward-message, how are you filling the buffer?
d
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: encoding when forwarding messages
2013-08-27 11:21 ` David Bremner
@ 2013-08-27 14:41 ` Eric Abrahamsen
2013-08-27 15:18 ` David Bremner
0 siblings, 1 reply; 4+ messages in thread
From: Eric Abrahamsen @ 2013-08-27 14:41 UTC (permalink / raw)
To: notmuch
David Bremner <david@tethera.net> writes:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> I saw another message about the same problem on this list, in January,
>> with the advice to upgrade to git, but I'm still seeing it on notmuch
>> 0.16+7~gdc51bf0. Forwarding a message from within emacs using
>> `notmuch-mua-forward-message' sometimes produces garbled encoding.
>> Calling `notmuch-show-forward-message' on the same message, however,
>> creates what appears to be a raw message, properly encoded.
>>
>> Is there something still amiss in the code? Am I using the wrong
>> command?
>
> Do you really mean notmuch-mua-forward-message? That function is not
> interactive, which would make it more work to call.
>
> In any case, notmuch-show-forward-message does take some care to read
> the message in raw mode (via with-current-notmuch-show-message); when
> you call notmuch-mua*forward-message, how are you filling the buffer?
>
> d
Sorry! It was `notmuch-mua-new-forward-message' I've been using,
apologies for the confusion. I'm not calling any particular filling
commands. I've got this in .gnus.el:
(add-hook 'message-mode-hook
(lambda ()
(flyspell-mode)
(orgstruct-mode)))
And I've got the auto-fill minor mode enabled. I don't see any other
minor modes that seem likely to interfere...
Thanks!
Eric
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: encoding when forwarding messages
2013-08-27 14:41 ` Eric Abrahamsen
@ 2013-08-27 15:18 ` David Bremner
0 siblings, 0 replies; 4+ messages in thread
From: David Bremner @ 2013-08-27 15:18 UTC (permalink / raw)
To: Eric Abrahamsen, notmuch
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
> Sorry! It was `notmuch-mua-new-forward-message' I've been using,
> apologies for the confusion. I'm not calling any particular filling
> commands. I've got this in .gnus.el:
>
> (add-hook 'message-mode-hook
> (lambda ()
> (flyspell-mode)
> (orgstruct-mode)))
>
Sorry^2, I don't mean filling in that sense, just that it explicitly
loads the raw message before calling notmuch-mua-new-forward-message.
So although this is not documented (yet!), I suspect that
n-m-n-f-message needs to have the raw message in the buffer (read with
coding-system-for-read as 'no-conversion).
d
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-27 15:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-27 10:19 encoding when forwarding messages Eric Abrahamsen
2013-08-27 11:21 ` David Bremner
2013-08-27 14:41 ` Eric Abrahamsen
2013-08-27 15:18 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).