[neomutt-users] Adding alias in alias_file fail

Pietro Cerutti gahr at gahr.ch
Wed Nov 25 12:10:54 CET 2020


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?

-- 
Pietro Cerutti


More information about the neomutt-users mailing list