guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] edit: Friendlier error message.


From: Mathieu Lirzin
Subject: Re: [PATCH] edit: Friendlier error message.
Date: Sat, 07 Nov 2015 13:24:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Andreas Enge <address@hidden> skribis:
>
>> On Thu, Nov 05, 2015 at 12:08:35PM +0100, Ludovic Courtès wrote:
>>> > +    (unless (search-path (parse-path (getenv "PATH")) (%editor))
>>> > +      (leave (_ "Couldn't find editor '~a'. Please check $EDITOR and 
>>> > $PATH.")
>>> > +             (%editor)))
>>
>> An additional, heterodox suggestion: Maybe also test for $VISUAL.
>
> AIUI, $VISUAL is for visualizing files, not for editing, no?

I can't remember where I have read this, but I think this 2 variables
exist to distinguish between line editing à la Ed, and visual editing
à la VI.

--
Mathieu Lirzin



reply via email to

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