Re: automatically changing FCC when From changes (or fill FCC only when sending)

2023-10-02 Thread David Pinto
On Fri, 22 Sept 2023 at 10:25, David Bremner wrote: > David Pinto writes: > > [...] > > You mention updating the "From" when the "To" changes with the > > notmuch-address-post-completion-functions hook. Could there be a hook > > for when the "From" changes which I could use to change the FCC? >

Re: automatically changing FCC when From changes (or fill FCC only when sending)

2023-09-22 Thread David Bremner
David Bremner writes: > > Another option that seems technically feasible, but would involve some > elisp programming, would be to write a command that re-applies the > calculation of Fcc from From that already exists, and run that manually > or perhaps opt-in to running it automatically on send.

Re: automatically changing FCC when From changes (or fill FCC only when sending)

2023-09-22 Thread David Bremner
David Pinto writes: > > I see what you mean, how changing the FCC would prevent the ability to > manually edit the FCC. But what about updating the FCC when the > "From" changes? I don't know how to efficiently detect changes to From. (notmuch-)message-mode is essentially a text editor buffer,

Re: automatically changing FCC when From changes (or fill FCC only when sending)

2023-09-21 Thread David Pinto
On Sat, 16 Sept 2023 at 16:17, David Bremner wrote: > > David Pinto writes: > > [...] > > Is there a way to either have the FCC header changed when the "From" > > address changes? Or maybe only add the FCC header when sending > > the message? > > Generally I think people like the ability to

Re: automatically changing FCC when From changes (or fill FCC only when sending)

2023-09-16 Thread David Bremner
David Pinto writes: > > My case is that I have multiple email accounts and want the sent > messages saved on different directories based on the "From" address. > I've setup 'notmuch-fcc-dirs' accordingly. Now, when I start > composing a message (notmuch-user-agent), the FCC header is set to >