zsh-users
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.org>
To: zsh-users@sunsite.dk
Subject: Re: Start an external editor to edit the current zle buffer
Date: Fri, 4 Nov 2005 16:48:24 +0100	[thread overview]
Message-ID: <20051104154824.GG27583@ay.vinc17.org> (raw)
In-Reply-To: <EXCHANGE03YV7iqkWol00009d7f@exchange03.csr.com>

On 2005-11-04 14:53:43 +0000, Peter Stephenson wrote:
> Vincent Lefevre wrote:
> > On 2005-11-04 13:49:25 +0000, Peter Stephenson wrote:
> > > See the ZLE function edit-command-line supplied with the shell.  It's
> > > quite short and you might want to tweak it.
> > 
> > Thanks. Is there any reason why it is not available by default and
> > not documented in the zshzle man page?
> 
> Yes: it's not part of zle, it's a contributed function and like all such
> is documented in zshcontrib and needs to be loaded.

Shouldn't it become part of zle?

> > Also why does fc use $FCEDIT and not ${VISUAL:-${EDITOR:-vi}} like
> > edit-command-line (or the opposite)?
> 
> FCEDIT is specific to the fc command.  edit-command-line assumes you
> want to use your normal editor.  You can easily change it.

Why doesn't fc assume I want to use my normal editor?
Is there any reason to have $FCEDIT different from $VISUAL or $EDITOR?

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


  reply	other threads:[~2005-11-04 15:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-04 13:24 Vincent Lefevre
2005-11-04 13:49 ` Peter Stephenson
2005-11-04 14:43   ` Vincent Lefevre
2005-11-04 14:53     ` Peter Stephenson
2005-11-04 15:48       ` Vincent Lefevre [this message]
2005-11-04 16:10         ` Peter Stephenson
2005-11-04 16:32           ` Vincent Lefevre
2005-11-04 17:42             ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051104154824.GG27583@ay.vinc17.org \
    --to=vincent@vinc17.org \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).