zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@berkom.de>
To: zsh-workers@sunsite.dk
Subject: Re: what is removing the space after completion and before "|"?
Date: Mon, 11 Mar 2002 10:54:50 +0100	[thread overview]
Message-ID: <15500.32490.15487.735745@wischnow.berkom.de> (raw)
In-Reply-To: <20020309214538.A9452@eskimo.eskimo.com>


Derek Peschel wrote:

> ...
> 
> I'm using the old completion system and I haven't tried compctl.  I don't
> think AUTO_REMOVE_SLASH has any effect in the particular case of spaces
> before pipe characters (I tried it both ways).  This is with a 4.1
> development version.

compctl is the old one, the completion system is the new one.

> Is compresult.c the only file that deals with suffixes?

Everthing needed for this, yes.  But we have to rely on the zle module
to really remove the suffix (since at that time, the completion system
isn't running any more).

But.  We had some discussion about suffix handling some time ago
(sorry, don't have the message IDs here).  I've mostly been thinking
(or dreaming) about moving mor of the code into shell code for more
flexibilty and greater configurability.  I didn't have time to hack,
though, and it isn't easy without changing several parts of the C- and
shell-code.

I don't object if you want to hack that part of the code (everyone who
wants to work his way into the completion code is welcome), but I
don't want new shell options to appear for this (or I'll remove them
again when I find the time to tackle the suffix problem).

Maybe you have other ideas about suffix handling and could tell us
about them?  So that we could come up with a list of desired features
to help us implement that.

I'm starting to like hacking zsh again, so I might even start playing
with this as long as I'm stuck on the other two recent open issues
(fake and the -[JV] problem and defaults as in the my-accounts case --
but see the mail I'm writing in a few minutes for this).


Bye
  Sven

-- 
Sven Wischnowsky                          wischnow@berkom.de


  reply	other threads:[~2002-03-11  9:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-09 10:03 Derek Peschel
2002-03-09 10:34 ` John Beppu
2002-03-09 18:20   ` Bart Schaefer
2002-03-10  5:45     ` Derek Peschel
2002-03-11  9:54       ` Sven Wischnowsky [this message]
2002-03-14 10:59         ` Derek Peschel
2002-03-14 11:15           ` Sven Wischnowsky

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=15500.32490.15487.735745@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).