Modify message after send...?

2015-07-18 Thread mailinglists
Hi,

I use notmuch via Emacs.

Here's what I want:

When I hit C-c C-c to send a message, I'd like it to be passed to a
script (likely a Python one, although I may consider an Elisp function
if an external script is not possible) for modification of headers,
before it is sent to the MTA (Postfix in my case). A bonus would be to
have the modified message stored in the FCC location, instead of the
original one.

Is this possible? An alternative may be to modify the message /before/
it goes to message-send-and-exit. I'm inexperienced in Elisp - would
this be via what's called advising?

BTW, all I really want to do is modify the From: field based on the
recipients (for every email, with no default From). I'll welcome
suggestions for existing ways to do that. I Googled a little, but didn't
find a clear good solution. Furthermore, I expect over time the rules by
which I pick the From: field will get more complex than my knowledge of
Elisp.

Thanks.

-- 
My sister opened a computer store in Hawaii. She sells C shells down by
the seashore.


/\  /\   /\  /
   /  \/  \ u e e n /  \/  a w a z
   mu...@nawaz.org
   anl

 
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Cannot apply multiple tags to a selection in search view

2014-05-25 Thread mailinglists

Hi,

After upgrading to version 0.17, the following function that used to
work fine in the past misbehaves when I select multiple messages:

(define-key notmuch-search-mode-map d
  (lambda ()
Delete message.
(interactive)
(notmuch-search-tag '(+delete -inbox -lowpriority -@review 
-@respond -unread

If I press d, it only applies the tags to the message my cursor is on
- not my whole message.

If I manually execute the notmuch-search-tag command, it does work on
the whole selection, though.

Any ideas?

Thanks!
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: Partial words on notmuch search?

2012-01-15 Thread mailinglists
Andrei Popescu andreimpope...@gmail.com
writes:

 After reading all the docs and a few experiments I don't see how to do 
 searches on partial words. If I missed the fine manual mentioning that 
 I'd be glad to RTFM, just please point me to the right FM :)

That's OK - I asked the same question once.

Use '*'.

For example, Obam* should match Obama.

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch