zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: was RE: PATCH: old lists compstate
Date: Wed, 31 Mar 1999 08:28:58 -0800	[thread overview]
Message-ID: <990331082858.ZM24920@candle.brasslantern.com> (raw)
In-Reply-To: <199903301252.OAA07471@beta.informatik.hu-berlin.de>

On Mar 30,  2:52pm, Sven Wischnowsky wrote:
} Subject: RE: PATCH: was RE: PATCH: old lists compstate
}
} So question to everyone: is it important enough to add an option, say
}   `menu_in_word', that makes the cursor be left inside the word when
}   menucompletion is used and the cursor was *not* already in the word
}   before menucompletion was started?

I think moving the cursor into the word and leaving it there is only
useful if complete_in_word is modified (possibly by the same option that
moves the cursor) to work more like some emacs completion modes do; to
wit, complete to the left (ignoring the right), and if that produces an
exact match, then move to the right one unit (to the next slash, or
the next underscore or hyphen or dot or whatever for part completion)
and try again.

I'm probably not describing that fully, but you get the idea.  I can't
otherwise think of a case where it's helpful to leave the cursor to the
left of where it started.

On the other hand, treating the cursor motion the way that autoremoval
is treated might be kind of cool; that is, move it to the middle of the
word, but if any of the range of characters that trigger autoremoval is
typed, the cursor jumps back to where it was before completion started.
(I have no idea how that would work in practice; if it went wrong, it
would probably go wrong in a big way, so ...)

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  reply	other threads:[~1999-03-31 16:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-30 12:52 Sven Wischnowsky
1999-03-31 16:28 ` Bart Schaefer [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-03-30 11:10 Sven Wischnowsky
1999-03-30 12:02 ` Andrej Borsenkow
1999-03-30 10:07 Sven Wischnowsky
1999-03-30 10:22 ` Andrej Borsenkow
1999-03-30  8:37 Sven Wischnowsky
1999-03-30  9:34 ` Andrej Borsenkow

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=990331082858.ZM24920@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.auc.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).