Dear developers,
I'm running aerc 0.14 (stable) + notmuch 0.37 (stable) on Debian 12
(stable) on WSL2 on Win11Pro (stable).
I like the aerc+notmuch combo to work with my gmail archive from
nearly 2 decades now.
Some bugs (maybe ignorance from my side) and some feature requests:
1) Aerc will display on the msglist for very old email literally this
message: (unable to fetch header) ← and I'm not able to open it
I've checked if that could be a malformed email, but notmuch will
search/show/count correctly this email from the terminal.
I've also doublechecked with alot, and it too will display these old
emails correctly
2) When in message mode, while reading a message, I will often update
tags, but this is not immediately reflected on the the view message
mode.
I have to close the message and open again to check if the tags are
there, or if I forgot to add/remove a certain tag.
Is there a "refresh" workaround like close and open the same message?
3) Is it possible to tag a message before sending it? I mean in the
message composition mode, during composition or in the review scren?
4) Is there a way to display the tags/labels even if only as symbols
in the message list?
As an example, I have a bunch of P0, P1, P2,... tags that signal priority.
In my notmuch setup, they get flagged/starred and highlighted properly
but all the same.
Is it possible that the tags show up before the subject, or perhaps in
the same field as the *!Oa?
5) Is there a command in aerc to display a message in the statusbar?
For example, I don't work directly with the maildir, or the imap
folders, just notmuch, so deleting and archiving for me
is basically a tag/label update. The statusbar will correctly show
"labels updated" but not i.e.: message(s) deleted, or message(s)
archived,...
this is my bind for archive and delete BTW:
e = :read<Enter>:modify-labels -inbox<Enter>
D = :read<Enter> :modify-labels -inbox +trash<Enter>
6) Is there a way to use hashtag as a key in binds.conf?
Online gmail uses # to delete selected messages, but I cannot find #
as a valid key name when configuring the binds.conf
That's it, great little terminal email client.
Thanks,
2024. okt. 29. 9:04:23 prowess-alarm-much@duck.com:
> Dear developers,>> I'm running aerc 0.14 (stable) + notmuch 0.37 (stable) on Debian 12> (stable) on WSL2 on Win11Pro (stable).>> I like the aerc+notmuch combo to work with my gmail archive from> nearly 2 decades now.>> Some bugs (maybe ignorance from my side) and some feature requests:
You are on an ancient version of aerc, so realistically, you should first
update to at least the latest release and maybe even check latest master
for any features you are missing.
>> 1) Aerc will display on the msglist for very old email literally this> message: (unable to fetch header) ← and I'm not able to open it> I've checked if that could be a malformed email, but notmuch will> search/show/count correctly this email from the terminal.> I've also doublechecked with alot, and it too will display these old> emails correctly>> 2) When in message mode, while reading a message, I will often update> tags, but this is not immediately reflected on the the view message> mode.> I have to close the message and open again to check if the tags are> there, or if I forgot to add/remove a certain tag.> Is there a "refresh" workaround like close and open the same message?>> 3) Is it possible to tag a message before sending it? I mean in the> message composition mode, during composition or in the review scren?>> 4) Is there a way to display the tags/labels even if only as symbols> in the message list?> As an example, I have a bunch of P0, P1, P2,... tags that signal > priority.> In my notmuch setup, they get flagged/starred and highlighted properly> but all the same.> Is it possible that the tags show up before the subject, or perhaps in> the same field as the *!Oa?>> 5) Is there a command in aerc to display a message in the statusbar?> For example, I don't work directly with the maildir, or the imap> folders, just notmuch, so deleting and archiving for me> is basically a tag/label update. The statusbar will correctly show> "labels updated" but not i.e.: message(s) deleted, or message(s)> archived,...>> this is my bind for archive and delete BTW:> e = :read<Enter>:modify-labels -inbox<Enter>> D = :read<Enter> :modify-labels -inbox +trash<Enter>>> 6) Is there a way to use hashtag as a key in binds.conf?> Online gmail uses # to delete selected messages, but I cannot find #> as a valid key name when configuring the binds.conf>> That's it, great little terminal email client.> Thanks,
Especially a lot of updates to these have happened.
Best,
Bence
As Bence points out, you're on a rather old version of aerc and
therefore may have some bugs or missing features compared to the latest
version, but I know that some of your requests are possible -- see my
notes below.
On Tue Oct 29, 2024 at 6:25 AM EDT, Bence Ferdinandy wrote:
>> 1) Aerc will display on the msglist for very old email literally this>> message: (unable to fetch header) ← and I'm not able to open it>> I've checked if that could be a malformed email, but notmuch will>> search/show/count correctly this email from the terminal.>> I've also doublechecked with alot, and it too will display these old>> emails correctly
Likely a message parsing error. This may have been fixed in later
versions, or it may not. Either way, you'll want to use the latest
version to debup.
>> 2) When in message mode, while reading a message, I will often update>> tags, but this is not immediately reflected on the the view message>> mode.>> I have to close the message and open again to check if the tags are>> there, or if I forgot to add/remove a certain tag.>> Is there a "refresh" workaround like close and open the same message?
I'm not sure about this one. I never update the tags while messages are
open.
>> 3) Is it possible to tag a message before sending it? I mean in the>> message composition mode, during composition or in the review scren?
I'm not aware of this being possible.
>> 4) Is there a way to display the tags/labels even if only as symbols>> in the message list?>> As an example, I have a bunch of P0, P1, P2,... tags that signal >> priority.>> In my notmuch setup, they get flagged/starred and highlighted properly>> but all the same.>> Is it possible that the tags show up before the subject, or perhaps in>> the same field as the *!Oa?
Yes. I have a notmuch column in my index-columns setting and then define
it as shown below using template variables to access and display the
message labels:
index-columns=date<=,name<20,flags>=,subject<*,notmuch>=
column-notmuch= \
{{- $labels := (map .Labels \
(exclude .Folder) \
(exclude "replied|passed|attachment|flagged|unread|draft") \
| join ",") -}} \
{{- $files := len .Filenames }}{{ if eq $files 1 }}{{ $files = "" }}{{ end -}} \
{{- with $files }}{{ . }}{{ end -}} \
{{- if and $labels $files }} {{ end -}} \
{{- with $labels }}{{ . }}{{ end -}}
I exclude certain labels that already appear in the default flags
column, and I hide labels that match the current query name (e.g., I
don't show the inbox label when in my inbox folder).
>> 5) Is there a command in aerc to display a message in the statusbar?>> For example, I don't work directly with the maildir, or the imap>> folders, just notmuch, so deleting and archiving for me>> is basically a tag/label update. The statusbar will correctly show>> "labels updated" but not i.e.: message(s) deleted, or message(s)>> archived,...
I believe we recently got an :echo command, which should do this.
Together with templating you should be able to output dynamic messages
assuming the template variables you need are available. You could chain
the :echo command after whatever other command you used, although then
your message would display even if the first command actually fails.
>> 6) Is there a way to use hashtag as a key in binds.conf?>> Online gmail uses # to delete selected messages, but I cannot find #>> as a valid key name when configuring the binds.conf
I don't see # mentioned in the Supported Keys section of aerc-binds(5),
so I assume not.