Hi all,
Excuses in advance for sending this email both to mutt-users and
mutt-dev. I'm not sure which set of people will answer best
this question.
In ELM, you could define an alias such as:
equip = Equipment Mgmt Folder = admin/equipment
You can imagine that when doing procurements, you get
email from lots of people. In the past, I've tended
to store ALL emails, regardless of the sender into
the 'equipment' folder.
In ELM, when saving the file, I could just say:
Save To: @equip
and the Alias was correctly expanded into $FOLDER/admin/equip.
In MUTT, it seems that when the alias is expanded, it's
being sanitized by some routine, which translates it into
$FOLDER/admin_equip
So, my questions are:
1) Is there an alternative way to accomplish what I want?
(i.e., defining short aliases for folders that are in
a subdirectory of my main folder directory?)
2) Looking at the source, routine 'mutt_safe_path' in muttlib.c
seems responsible for this slash-into-blank change. This
routine is only ivoked from hook.c. What is the reasoning
behind this cleaning up process? Can I just remove it?
Thanks,
roger.