nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Wish last item: allow + as separate argument

2005-12-27 16:13:37
In message <E1ErMbW-0007Ww-00@mnementh.archaic.org.uk>, 
pmaydell@chiark.greenend.org.uk writes:
Norman Shapiro wrote:
It would be nice to allow "+ folder" to mean "+folder". This would make it
easier to use shell wild cards in scripts and to use argument completion
in interactive shells.

I think this sort of thing is really better done with shell script
wrappers, configuring your shell to do tab-completion of folders, etc.
(For example, I have some shell aliases that allow me to omit the '+'
completely because they prepend it automatically to arguments which
are valid folder names; this makes it easier to use nmh with speech
recognition software.)

Agreed, using "+folder" on scripts like the one I sent some hours ago
is not difficult.  If I remember, the nmh tarball has some COMPLETION-*
files with the changes that must be added to the shell initialization
files to complete folder names.

I am not against the proposal of Norman, but certainly this change
should not be required for shell scripting or argument completion.

Best regards,
Igor.


_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>