On Wed, 02 Sep 2009 09:35 +0200, "Sven Joachim" <[email protected]> wrote:
> On 2009-09-02 08:36 +0200, era eriksson wrote:
> > The idea as such has some merit.  Debian already provides a facility for
> > generic redirection to the user's preferred editor, so this suggestion
> > could be implemented with /usr/bin/editor instead of emacsclient (this
> > also solves the issue of allowing users to prefer emacs over
> > emacsclient).
> 
> With /usr/bin/sensible-editor rather than /usr/bin/editor, so that users
> get their preferred editor instead of the system one.

Yes, sorry, that's of course the one I meant.  Shrug.

> The big problem is that the editor may need a terminal to work, and if
> it gets invoked by a GUI program, nothing happens, aside from a
> complaint by the editor in ~/.xsession-errors that is invisible to the
> user.

Should there be a sensible-gui-editor as well?  Perhaps a wrapper which
starts the sensible-editor in an xterm if it's not graphical in its own
right?

/* era */

-- 
If this were a real .signature, it would suck less.  Well, maybe not.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to