[neomutt-users] Adding alias in alias_file fail

Elimar Riesebieter riesebie at lxtec.de
Wed Nov 25 13:43:36 CET 2020


* Pietro Cerutti <gahr at gahr.ch> [2020-11-25 11:10 +0000]:

> On Nov 25 2020, 10:46 UTC, Elimar Riesebieter <riesebie at lxtec.de> wrote:
> > * Gilles Lamboley <gilles.lamboley at yahoo.fr> [2020-11-25 10:52 +0100]:
> > 
> > > Hello,
> > > 
> > > since few days, I noticed that adding a new entry in alias file fails
> > > returning
> > > 
> > > 'config/helpers.c :248 : cs_substring: l'assertion "DTYPE(he->type) ==
> > > DT_STRING " a echoué
> > > 
> > > which, in english, should be:
> > > 
> > > 'config/helpers.c :248 : cs_substring: assert "DTYPE(he->type) ==
> > > DT_STRING " failed
> > > 
> > > I am using the <create_alias> command (shortcut a) from the index menu, with
> > > neomutt latest release (updated on an Arch linux distribution).
> > > 
> > > It seems weird because adding alias to the alias_file was not an issue
> > > before. Unfortunately, I can't tell when it works successfuly for the
> > > last time, probably few months ago.
> > 
> > I can confirm this issue with 20201120:
> > neomutt: config/helpers.c:248: const char *cs_subset_string(const
> > struct ConfigSubset *, const char *): Assertion `DTYPE(he->type) ==
> > DT_STRING' failed.
> > 
> > neomutt aborted.
> 
> I can 'a' in the index menu on this very email I'm replying to, accept the
> suggested values (plus a comment to make things spicy), and everything works
> as expected, including the alias appearing in my alias file
> 
>     Alias as: riesebie
>     Address: riesebie at lxtec.de
>     Personal name: Elimar Riesebieter
>     Comment: Elimar Riesebieter
>     [riesebie = Elimar Riesebieter <riesebie at lxtec.de> # Elimar Riesebieter] Accept? ([yes]/no):
>     Save to file: /home/gahr/.config/neomutt/alias:
> 
> At which point are you having troubles?

After the last confirmation neomutt aborted.

I tried following combinations:

tmux TERM=tmux-256color
tmux TERM=xterm-256color
urxvt TERM=rxvt-unicode-256color
uxterm TERM=xterm-256color
VT TERM=linux

Every combination sucks :(

neomutt -d 2:

....
[2020-11-25 13:40:51]<1> mutt_index_menu() Got op OP_MAIN_PREV_UNDELETED (159)¬
[2020-11-25 13:40:53]<1> mutt_index_menu() Got op OP_CREATE_ALIAS (61)

Elimar
-- 
  Numeric stability is probably not all that
  important when you're guessing;-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20201125/208d6943/attachment.sig>


More information about the neomutt-users mailing list