From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Christopher Croughton <crough45@amc.de>, zsh-users@math.gatech.edu
Subject: Re: History key bindings
Date: Fri, 28 Nov 1997 09:18:32 -0800 [thread overview]
Message-ID: <971128091832.ZM2720@candle.brasslantern.com> (raw)
In-Reply-To: <97Nov28.105909gmt+0100.17030@internet01.amc.de>
In-Reply-To: <97Nov28.143140gmt+0100.17031@internet01.amc.de>
On Nov 28, 9:57am, Christopher Croughton wrote:
} Subject: Re: History key bindings
}
} Bart Schaefer wrote:
} >
} > } on 3.0 it seems that the mark is initially set to the start of the line,
} >
} > Aha! Whenever you use a history operation like ^P, the mark gets set at
} > the beginning of the line before the new history line is inserted.
}
} The only way I can get it to work is if I do an initial ^X^X after typing
} the prefix. If I do <CR>fred<UP> then it just scans through the history
} matching on nothing at all.
On Nov 28, 1:30pm, Christopher Croughton wrote:
} Subject: Re: History key bindings
}
} Confirmed - this works with (beta) version 3.1.2, not with (released)
} version 3.0 (which seems to put the mark at the start of the line when
} it is first edited or something).
Hrm. I get the behavior Christopher describes with 3.0.0 and 3.0.1; but
it stops for me as of 3.0.3 (I don't have a 3.0.2 around to try), and I
don't see it in 3.0.4 or 3.0.5.
I believe this ChangeLog entry is relevant:
Mon Jan 20 21:11:22 1997 Zoltan Hidvegi <hzoli@cs.elte.hu>
* Src/zle_utils.c: move the mark when characters are
inserted/deleted. From Peter (2807)
} BTW, it was not very easy to compile on the Dec Alpha under OSF/1
} version 3.2. In Src/Zle/zle_tricky.c line 1551 the parameters to
} yp_all() are not the same (the third parameter is the callback structure
} on OSF1, not a pointer to it as in the code.
Actually, it's the parameter in the prototype in the header that is wrong,
not the pointer in the zsh code. There's a discussion of this somewhere
in Etc/MACHINES.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
next prev parent reply other threads:[~1997-11-28 17:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-26 17:10 Christopher Croughton
1997-11-27 17:55 ` Bart Schaefer
1997-11-27 18:21 ` Christopher Croughton
1997-11-27 18:43 ` Bart Schaefer
1997-11-28 8:57 ` Christopher Croughton
1997-11-28 12:30 ` Christopher Croughton
1997-11-28 17:18 ` Bart Schaefer [this message]
1997-11-29 13:49 ` Christopher Croughton
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=971128091832.ZM2720@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=crough45@amc.de \
--cc=zsh-users@math.gatech.edu \
/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).