zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: RE: dev-15: accept-and-menu-complete and suffix in braces
Date: Thu, 27 Jan 2000 17:16:24 +0100 (MET)	[thread overview]
Message-ID: <200001271616.RAA19570@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of Thu, 27 Jan 2000 18:49:59 +0300


Andrej Borsenkow wrote:

> > Yes, we had. And I don't get the behaviour you describe (neither for
> > in-brace-completion nor anywhere else)... any funny option/style settings?
> >
> 
> itsrm2% compstyle '*:paths' cursor 'yes'

When inside a word it can't auto-remove the suffix and with
compstate[to_end]='' it didn't check if it was at the end...

Bye
 Sven

diff -ru ../z.old/Src/Zle/compresult.c Src/Zle/compresult.c
--- ../z.old/Src/Zle/compresult.c	Thu Jan 27 17:06:56 2000
+++ Src/Zle/compresult.c	Thu Jan 27 17:14:59 2000
@@ -719,7 +719,8 @@
 	/* We are currently not in a menu-completion, *
 	 * so set the position variables.             */
 	minfo.pos = wb;
-	minfo.we = (movetoend >= 2 || (movetoend == 1 && !menucmp));
+	minfo.we = (movetoend >= 2 || (movetoend == 1 && !menucmp) ||
+		    (!movetoend && cs == we));
 	minfo.end = we;
     }
     /* If we are already in a menu-completion or if we have done a *

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


             reply	other threads:[~2000-01-27 16:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-27 16:16 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-01-27 15:32 Sven Wischnowsky
2000-01-27 15:49 ` Andrej Borsenkow
2000-01-27 15:10 Andrej Borsenkow
2000-01-27 15:19 ` 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=200001271616.RAA19570@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).