From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: Re: Segfault in hrealloc somewhere between rpromts and syntax highlighting
Date: Sun, 13 Apr 2014 02:29:57 +0900 [thread overview]
Message-ID: <15AFC0D6-F14F-4ABE-AE4B-038654C25E35@kba.biglobe.ne.jp> (raw)
In-Reply-To: <140406000541.ZM14625@torch.brasslantern.com>
2014/04/06 16:05, Bart Schaefer <schaefer@brasslantern.com> wrote:
> diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
> index 3c7cff9..b916bd6 100644
> (snip)
> if (strcmp(zlemetaline, ol)) {
> + zle_restore_positions();
It seems this causes the following problem:
$ echo foobar<RET>
$ echo !$<TAB>
$ echo fo
i.e., <TAB> completes '!$' to 'fo', not 'foobar'.
'echo !$<RET>' correctly expands to 'echo foobar', of course.
Maybe zlemetacs/zlematall need not to be restored?
(but the memory allocated by zle_save_positions() must be freed.)
next prev parent reply other threads:[~2014-04-12 18:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-30 13:13 Sebastian Götte
2014-04-06 7:05 ` Bart Schaefer
2014-04-06 16:02 ` Peter Stephenson
2014-04-06 16:50 ` Bart Schaefer
2014-04-06 17:06 ` Peter Stephenson
2014-04-12 17:29 ` Jun T. [this message]
2014-04-13 1:35 ` 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=15AFC0D6-F14F-4ABE-AE4B-038654C25E35@kba.biglobe.ne.jp \
--to=takimoto-j@kba.biglobe.ne.jp \
--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).