zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@berkom.de>
To: zsh-workers@sunsite.dk
Subject: Re: About menu selection (again)
Date: Tue, 20 Aug 2002 17:21:08 +0200	[thread overview]
Message-ID: <15714.24164.519409.777336@wischnow.berkom.de> (raw)
In-Reply-To: <1020820150739.ZM18296@candle.brasslantern.com>


Bart Schaefer wrote:

> ...
> 
> } Ideally, this should really check, if any completion widgets are bound
> } to keys, shouldn't it?
> 
> That's not as obvious ... if no completion widgets are bound to keys, how
> would you get into docomplete() in the first place?

It gets called from the standard widgets even if they haven't been
overridden with user-defined (`zle -C') ones.

> } +/* != 0 if there are any defined completion widgets. */
> } +
> } +/**/
> } +int hascompwidgets;
> 
> Shouldn't that be `mod_export int hascompwidgets;' ?
> 
> } +    /* We the C-code's point of view, we can only use compctl as a default
> 
> "We the C-code"?  In order to form a more perfect unix?

Ahem.


Bye
  Sven

Index: Src/Zle/zle_tricky.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_tricky.c,v
retrieving revision 1.40
diff -u -r1.40 zle_tricky.c
--- Src/Zle/zle_tricky.c	20 Aug 2002 12:28:13 -0000	1.40
+++ Src/Zle/zle_tricky.c	20 Aug 2002 15:15:33 -0000
@@ -562,7 +562,7 @@
     if (undoing)
 	setlastline();
 
-    /* We the C-code's point of view, we can only use compctl as a default
+    /* From the C-code's point of view, we can only use compctl as a default
      * type of completion. Load it if it hasn't been loaded already and
      * no completion widgets are defined. */
 

-- 
Sven Wischnowsky                          wischnow@berkom.de


  reply	other threads:[~2002-08-20 15:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-11 20:47 DervishD
2002-08-12  6:01 ` Bart Schaefer
2002-08-13 13:16   ` DervishD
2002-08-13 15:00     ` Bart Schaefer
2002-08-13 18:50       ` DervishD
2002-08-13 18:55         ` More information on why compctl is not loaded DervishD
2002-08-14  2:27           ` About menu selection (again) Bart Schaefer
2002-08-16 12:08             ` DervishD
2002-08-16 12:05               ` Sven Wischnowsky
2002-08-17 17:26                 ` Bart Schaefer
2002-08-19  7:40                   ` Sven Wischnowsky
2002-08-20 11:58                   ` Sven Wischnowsky
2002-08-20 15:07                     ` Bart Schaefer
2002-08-20 15:21                       ` Sven Wischnowsky [this message]
2002-08-18 16:29                 ` DervishD
2002-08-18 23:07                   ` Bart Schaefer

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=15714.24164.519409.777336@wischnow.berkom.de \
    --to=wischnow@berkom.de \
    --cc=zsh-workers@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).