[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime.

From: David Levine
Subject: Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime.
Date: Tue, 17 Jan 2017 20:53:58 -0500

Ralph wrote:

> It's very unintuitive, well, wrong, that a `cd' command at a command's
> prompt doesn't change the current working directory as far as all other
> commands are concerned.  That's not how other Unix commands that provide
> cd work.  If it can't be fixed then whatnow(1) could do with pointing it
> out.

Well, yeah.

> Being able to do `cd' and `ls' at an nmh prompt, when MH's raison d'ĂȘtre
> is to intermingle its commands with the shell's, always seemed wrong.

Well, yeah, but I use them.

> Anyway, whilst I'm here, grumbling,
>     $ comp -ed false
>     whatnow: problems with edit--draft left in /home/ralph/mail/drafts/,42

I see your point but don't feel strongly about it.  It looks like it was
intentional, and has been that way for nearly 27 years (though the
error message changed along the way):

revision 1.2
date: 1990/01/29 16:28:13;  author: sources;  state: Exp;  lines: +2 -2
when edit fails, delete draft by renaming to m_backup(draft)

Should be easy to fix if you want.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]