* Re: insert-last-word makes space disappear
[not found] ` <Pine.LNX.4.61.0408132357390.30205@toltec.zanshin.com>
@ 2004-08-15 18:53 ` Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2004-08-15 18:53 UTC (permalink / raw)
To: zsh-workers
On Sat, 14 Aug 2004, Bart Schaefer wrote:
> The best long-term solution would be to extend the user-defined widget
> creation routines to flag widgets that should keep (or erase) a previous
> auto-suffix, so that the internal implementation of the widget doesn't
> matter.
It occurs to me to wonder why the auto-suffix isn't available in a zle
variable (like BUFFER, CURSOR, etc.) so that the user-defined widget
can make it's own decisions? If the suffix is more than one character
long, it's not sufficient to examine $LBUFFER[-1].
Another question is whether appending to LBUFFER should (already does?)
count as an insertion for purposes of e.g. "compadd -R".
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-15 18:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20040813082318.GN1191@localhost>
[not found] ` <Pine.LNX.4.61.0408132357390.30205@toltec.zanshin.com>
2004-08-15 18:53 ` insert-last-word makes space disappear Bart Schaefer
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).