zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <A.Main@dcs.warwick.ac.uk>
To: zsh-workers@math.gatech.edu (Z Shell workers mailing list)
Subject: vi-digit-or-beginning-of-line fix
Date: Sat, 22 Jul 1995 21:26:14 +0100 (BST)	[thread overview]
Message-ID: <14095.199507222026@stone.dcs.warwick.ac.uk> (raw)

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

The patch below fixes vi-digit-or-beginning-of-line, which was
executing beginning-of-line instead of vi-beginning-of-line.  The
documentation is already correct.

 -zefram

      *** 1.6	1995/07/22 18:40:04
      --- zle_main.c	1995/07/22 20:22:09
      ***************
      *** 540,546 ****
            } else
        	ungetok = 1;		/* for doisearch() */
            if (ret == z_vidigitorbeginningofline)
      ! 	ret = (lastcmd & ZLE_DIGIT) ? z_digitargument : z_beginningofline;
            else if (ret == z_executenamedcmd && !statusline)
        	ret = executenamedcommand("execute: ");
            else if (ret == z_executelastnamedcmd)
      --- 540,546 ----
            } else
        	ungetok = 1;		/* for doisearch() */
            if (ret == z_vidigitorbeginningofline)
      ! 	ret = (lastcmd & ZLE_DIGIT) ? z_digitargument : z_vibeginningofline;
            else if (ret == z_executenamedcmd && !statusline)
        	ret = executenamedcommand("execute: ");
            else if (ret == z_executelastnamedcmd)

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQBVAgUBMBFev2WJ8JfKi+e9AQFmpQH/eJov9A46l2r4xk7U9Zn/RGgZIASrLTRL
tLrrx9Jg5eGtgH29p/MN4OXNmWx16sTv/mEpzP7GTflQYshJJfVBxw==
=sPVz
-----END PGP SIGNATURE-----


                 reply	other threads:[~1995-07-23  1:47 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=14095.199507222026@stone.dcs.warwick.ac.uk \
    --to=a.main@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).