notmuch/emacs
Adam Wolfe Gordon 3737ca6e26 emacs: Fix two bugs in reply
Bug 1: Replying from alternate addresses
----------------------------------------

The reply code was inconsistent in its use of symbols and strings for
header names being passed to message.el functions. This caused the
From header to be lookup up incorrectly, causing an additional From
header to be added with the user's primary address instead of the
correct alternate address.

This is fixed by using symbols everywhere, i.e. never using strings
for header names when interacting with message.el.

This change also removes our use of `mail-header`, since we don't use
it anywhere else, and using assq makes it clear how the header lists
are expected to work.

Bug 2: Duplicate headers in emacs 23.2
--------------------------------------

The message.el code in emacs 23.2 assumes that header names will
always be passed as symbols, so our use of strings caused
problems. The symptom was that on 23.2 (and presumably on earlier
versions) the reply message would end up with two of some headers.

Converting everything to symbols also fixes this issue.
2012-04-02 17:45:27 -03:00
..
coolj.el emacs: Add more functions to clean up text/plain parts 2010-04-26 10:05:46 -07:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local emacs: Improved printing support. 2012-01-21 08:38:38 -04:00
notmuch-address.el emacs: globally replace non-branching "(if (not ..." with "(unless ..." 2012-01-21 08:17:56 -04:00
notmuch-crypto.el Spelling fix 2012-03-01 19:04:21 -04:00
notmuch-hello.el emacs-hello: Do not calculate the count of the messages in hidden sections 2012-03-10 10:10:27 -04:00
notmuch-lib.el emacs: Fix two bugs in reply 2012-04-02 17:45:27 -03:00
notmuch-logo.png emacs: Add notmuch-hello.el, a friendly frontend to notmuch 2010-04-23 12:50:18 -07:00
notmuch-maildir-fcc.el emacs: logically group def{custom,face}s 2012-01-19 09:27:02 -04:00
notmuch-message.el emacs: Escape all message ID queries 2012-03-30 21:27:03 -03:00
notmuch-mua.el emacs: Fix two bugs in reply 2012-04-02 17:45:27 -03:00
notmuch-print.el emacs: Prefer '[No Subject]' to blank subjects. 2012-02-03 21:20:15 -04:00
notmuch-query.el emacs: Add support for PGP/MIME verification/decryption 2011-05-27 16:22:00 -07:00
notmuch-show.el emacs: Escape all message ID queries 2012-03-30 21:27:03 -03:00
notmuch-wash.el emacs: fix `notmuch-wash-region-to-button' to work at beginning of buffer 2012-02-04 07:33:18 -05:00
notmuch.el emacs: Fix search tab completion in terminals 2012-03-18 09:14:23 -03:00