From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh workers <zsh-workers@zsh.org>
Subject: Re: PATCH: completion of dates
Date: Tue, 7 Jul 2015 15:38:19 -0700 [thread overview]
Message-ID: <150707153819.ZM10160@torch.brasslantern.com> (raw)
In-Reply-To: <13419.1436306967@thecus.kiddle.eu>
On Jul 8, 12:09am, Oliver Kiddle wrote:
} Subject: Re: PATCH: completion of dates
}
} Bart wrote:
} > If one menu-selects "before" or "since" and then immediately re-enters
} > menu selection to choose the number of days, the +/- is removed from
} > the line and you return to completing exact dates (with "sense" group
} > available as before).
}
} I can't reproduce this problem at all. Even from zsh -f, it works for
} me. So either I've misunderstood your steps or there's something in your
} setup that it isn't allowing for.
I'm doing
zsh -f
autoload -U compinit;compinit -D
find . -ctime <ESC x>menu-select<RET>
<select "before"><RET><ESC z><TAB>
Where that final TAB can be any movement in the menu (arrow keys, etc.).
As I said this is probably menu-selection in general -- leaving and then
entering again without passing through "normal" completion picks up the
old selection where it left off instead of starting a new selection?
} If you use a binding such as the following when selecting before/since,
} does it work?
} bindkey -M menuselect "/" accept-and-infer-next-history
Yes, if I add that binding and then do
<select "before"><RET><ESC z>/
and/or simply omit the <RET><ESC z> and immediately type /, the selection
does advance to the numbers and the "sense" group disappears.
next prev parent reply other threads:[~2015-07-07 22:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 15:32 Oliver Kiddle
2015-07-07 16:32 ` Bart Schaefer
2015-07-07 22:09 ` Oliver Kiddle
2015-07-07 22:38 ` Bart Schaefer [this message]
2015-07-10 0:00 ` Mikael Magnusson
2015-07-10 9:11 ` Oliver Kiddle
2015-07-10 18:22 ` Daniel Shahaf
2015-07-10 18:37 ` Mikael Magnusson
2015-07-10 23:37 ` Bart Schaefer
2015-07-11 23:25 ` Oliver Kiddle
2015-07-13 5:44 ` Bart Schaefer
2015-07-13 22:08 ` Oliver Kiddle
2015-07-14 4:04 ` 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=150707153819.ZM10160@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/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).