zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <zefram@dcs.warwick.ac.uk>
To: zsh-workers@math.gatech.edu (Z Shell workers mailing list)
Subject: ZLE_KEEPSUFFIX
Date: Wed, 5 Feb 1997 00:16:56 +0000 (GMT)	[thread overview]
Message-ID: <18380.199702050016@stone.dcs.warwick.ac.uk> (raw)

-----BEGIN PGP SIGNED MESSAGE-----

Some ZLE functions that currently don't use ZLE_KEEPSUFFIX need to.
I'm tempted to reverse the sense of this flag, as it's actually *removing*
the suffix that is the positive action.

 -zefram

 *** Src/Zle/zle_bindings.c	1997/01/29 03:25:44	1.10
 --- Src/Zle/zle_bindings.c	1997/02/04 14:35:00
 ***************
 *** 99,109 ****
       C("history-search-forward", historysearchforward, 0)
       C("infer-next-history", infernexthistory, 0)
       C("insert-last-word", insertlastword, ZLE_MENUCMP | ZLE_KEEPSUFFIX)
 !     C("kill-buffer", killbuffer, ZLE_KILL)
 !     C("kill-line", killline, ZLE_KILL)
 !     C("kill-region", killregion, ZLE_KILL)
 !     C("kill-whole-line", killwholeline, ZLE_KILL)
 !     C("kill-word", killword, ZLE_KILL)
       C("list-choices", listchoices, ZLE_MENUCMP | ZLE_KEEPSUFFIX | ZLE_LASTCOL)
       C("list-expand", listexpand, ZLE_MENUCMP | ZLE_KEEPSUFFIX | ZLE_LASTCOL)
       C("magic-space", magicspace, 0)
 --- 99,109 ----
       C("history-search-forward", historysearchforward, 0)
       C("infer-next-history", infernexthistory, 0)
       C("insert-last-word", insertlastword, ZLE_MENUCMP | ZLE_KEEPSUFFIX)
 !     C("kill-buffer", killbuffer, ZLE_KILL | ZLE_KEEPSUFFIX)
 !     C("kill-line", killline, ZLE_KILL | ZLE_KEEPSUFFIX)
 !     C("kill-region", killregion, ZLE_KILL | ZLE_KEEPSUFFIX)
 !     C("kill-whole-line", killwholeline, ZLE_KILL | ZLE_KEEPSUFFIX)
 !     C("kill-word", killword, ZLE_KILL | ZLE_KEEPSUFFIX)
       C("list-choices", listchoices, ZLE_MENUCMP | ZLE_KEEPSUFFIX | ZLE_LASTCOL)
       C("list-expand", listexpand, ZLE_MENUCMP | ZLE_KEEPSUFFIX | ZLE_LASTCOL)
       C("magic-space", magicspace, 0)
 ***************
 *** 141,147 ****
       C("vi-backward-blank-word", vibackwardblankword, 0)
       C("vi-backward-char", vibackwardchar, 0)
       C("vi-backward-delete-char", vibackwarddeletechar, ZLE_KEEPSUFFIX)
 !     C("vi-backward-kill-word", vibackwardkillword, ZLE_KILL)
       C("vi-backward-word", vibackwardword, 0)
       C("vi-beginning-of-line", vibeginningofline, 0)
       C("vi-caps-lock-panic", vicapslockpanic, 0)
 --- 141,147 ----
       C("vi-backward-blank-word", vibackwardblankword, 0)
       C("vi-backward-char", vibackwardchar, 0)
       C("vi-backward-delete-char", vibackwarddeletechar, ZLE_KEEPSUFFIX)
 !     C("vi-backward-kill-word", vibackwardkillword, ZLE_KILL | ZLE_KEEPSUFFIX)
       C("vi-backward-word", vibackwardword, 0)
       C("vi-beginning-of-line", vibeginningofline, 0)
       C("vi-caps-lock-panic", vicapslockpanic, 0)
 ***************
 *** 149,155 ****
       C("vi-change-eol", vichangeeol, 0)
       C("vi-change-whole-line", vichangewholeline, 0)
       C("vi-cmd-mode", vicmdmode, 0)
 !     C("vi-delete", videlete, ZLE_KILL)
       C("vi-delete-char", videletechar, ZLE_KEEPSUFFIX)
       C("vi-digit-or-beginning-of-line", vidigitorbeginningofline, 0)
       C("vi-down-line-or-history", vidownlineorhistory, ZLE_LINEMOVE)
 --- 149,155 ----
       C("vi-change-eol", vichangeeol, 0)
       C("vi-change-whole-line", vichangewholeline, 0)
       C("vi-cmd-mode", vicmdmode, 0)
 !     C("vi-delete", videlete, ZLE_KILL | ZLE_KEEPSUFFIX)
       C("vi-delete-char", videletechar, ZLE_KEEPSUFFIX)
       C("vi-digit-or-beginning-of-line", vidigitorbeginningofline, 0)
       C("vi-down-line-or-history", vidownlineorhistory, ZLE_LINEMOVE)
 ***************
 *** 174,181 ****
       C("vi-insert", viinsert, 0)
       C("vi-insert-bol", viinsertbol, 0)
       C("vi-join", vijoin, 0)
 !     C("vi-kill-eol", vikilleol, ZLE_KILL)
 !     C("vi-kill-line", vikillline, ZLE_KILL)
       C("vi-match-bracket", vimatchbracket, 0)
       C("vi-open-line-above", viopenlineabove, 0)
       C("vi-open-line-below", viopenlinebelow, 0)
 --- 174,181 ----
       C("vi-insert", viinsert, 0)
       C("vi-insert-bol", viinsertbol, 0)
       C("vi-join", vijoin, 0)
 !     C("vi-kill-eol", vikilleol, ZLE_KILL | ZLE_KEEPSUFFIX)
 !     C("vi-kill-line", vikillline, ZLE_KILL | ZLE_KEEPSUFFIX)
       C("vi-match-bracket", vimatchbracket, 0)
       C("vi-open-line-above", viopenlineabove, 0)
       C("vi-open-line-below", viopenlinebelow, 0)

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMvdNOHD/+HJTpU/hAQGAMgP/QuNzkV3ulK2A/B3sk1GwKz9ypZLIGNem
lGNI+U23K1grLofr+nw/eiQVD9RnqPQwMfOd59W0cxpw3xGij3U4HN/zvdpuF0x8
2ZdZqIhJGMua9Hmki3FvogYovYcvn6ocWkTnyr02Eaw8iklePkSYpAdqkwdOWa+x
KAbdrmJGdNo=
=vWz2
-----END PGP SIGNATURE-----


                 reply	other threads:[~1997-02-05  0:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=18380.199702050016@stone.dcs.warwick.ac.uk \
    --to=zefram@dcs.warwick.ac.uk \
    --cc=zsh-workers@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).