bugThe nmh Mail Handling System - Bugs: bug #9228, Environment: $mheditor as...

 
 

bug #9228: Environment: $mheditor as described in mh_profile(5) is not used

Submitter:  None
Submitted:  Sat 05 Jun 2004 01:45:24 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 19 Nov 2005 04:33:32 PM UTC, comment #2: 

I've committed a patch to the manpage to say that lower case envariables aren't supposed to be set by the user, so this bug is fixed. (Change should make it into 1.2.)

Peter Maydell <pm215>
Group administrator
Mon 14 Nov 2005 01:14:23 PM UTC, comment #1: 


>The man page mh_profile(5) says, that one can set the default
>editor used by whatnow by setting a $mheditor environment
>variable.


Actually, it doesn't (if you interpret it right). I think the idea is that environment variables in uppercase are user-settable, and lowercase ones are set only to communicate information from one part of nmh to another. The explanatory text generally says 'this is set' rather than 'you can specify'.

It's clear from the code that whatnow does check the envariable; I assume the original reporter found setting it had no effect because it was overridden by whatever other bit of nmh was invoking whatnow.

My suggestion is that we should add something to the mh-profile manpage, explaining this convention and that lowercase envariables aren't user-settable. We could probably also put something more of a separator between them and the user-settable envariables.

Peter Maydell <pm215>
Group administrator
Sat 05 Jun 2004 01:45:24 PM UTC, original submission:  

The man page mh_profile(5) says, that one can set the default editor used by whatnow by setting a $mheditor environment variable. However it seems (reading the binary) whatnow doesn't look for this variable at all, so either whatnow or the mh_profile(5) man page must be wrong.

This bug has also been reportet (over 2 Years ago) to the Debian BTS as Bug #146449

Harald

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-11-19 pm215 StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code