Roger, et al --

...and then Roger Espasa said...
% 
% Hi all,

Hello!


% 
...
% In ELM, you could define an alias such as:
% 
%       equip = Equipment Mgmt Folder = admin/equipment
...
% 
% 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?)

I like symlinks, personally.  My subfolders are all =D.*, and I have a
symlink for my brother in $HOME/Mail that points to =D.family/michaelg so
that I don't have to tell mutt anything and yet it all gets categorized
nicely.  This is most helpful for work stuff; although I have some very
generic fcc fules in my muttrc (domain-based matching pointing to %O in
the proper subdirectory), I also make some symlinks for things that don't
fit neatly into those simple rules.


% 
% 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?

IIRC this is because of the possibility of accidentally interpreting
hostile code.  There *might* be a configure option to not change / to _
somewhere; I haven't played with it.  You could check the mutt-users
archives to confirm my recollection, though...


% 
% 
% Thanks,

HTH & HAND


% 
% roger.


:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg27775/pgp00000.pgp
Description: PGP signature

Reply via email to