zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: recexact in 3.1.6
Date: Wed, 1 Sep 1999 11:55:26 +0200 (MET DST)	[thread overview]
Message-ID: <199909010955.LAA00151@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Will Day's message of Tue, 31 Aug 1999 20:18:56 -0400


Will Day wrote:

> Option "recexact" doesn't seem to work quite right for me under 3.1.6, or
> at least not as well as it did under 3.1.5:

We had some changes to the option handling some months ago but I don't 
rmember everything about it.

Maybe this is just a remnant of times where we didn't have the extra
code to find out if the string on the line was inserted by the
completion code or if it was typed by the user. If it is, the patch
below is probably the right thing.

Since I don't use REC_EXACT, I have to ask for everyone's help here to 
tell me if the behavior with the patch below is what you want/like/expect.

Bye
 Sven

diff -u os/Zle/zle_tricky.c Src/Zle/zle_tricky.c
--- os/Zle/zle_tricky.c	Tue Aug 31 13:25:43 1999
+++ Src/Zle/zle_tricky.c	Wed Sep  1 11:50:58 1999
@@ -4482,7 +4482,7 @@
 
 	hasunqu = 0;
 	useline = (lst != COMP_LIST_COMPLETE);
-	useexact = (isset(RECEXACT) && usemenu != 1);
+	useexact = isset(RECEXACT);
 	uselist = (useline ?
 		   ((isset(AUTOLIST) && !isset(BASHAUTOLIST)) ? 
 		    (isset(LISTAMBIGUOUS) ? 3 : 2) : 0) : 1);

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


         reply	other threads:[~1999-09-01  9:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-01  0:18 Will Day
1999-09-01  9:55 ` Sven Wischnowsky [this message]
1999-09-01 15:54   ` Bart Schaefer
1999-09-01 18:09   ` Will Day

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=199909010955.LAA00151@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --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).