all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: C-u 1 inserts four "1" characters?
Date: Sun, 12 Sep 2010 01:49:30 +0200	[thread overview]
Message-ID: <8762ybet85.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: m2tylv97f6.fsf@gmail.com

Sean McAfee <eefacm@gmail.com> writes:

> I almost always specify command prefix arguments by holding down the
> meta key while I type the argument digits.  But just now I tried
> specifying the prefix by typing C-u followed by the digits, and as soon
> as I typed the first digit, four copies of the digit were inserted into
> my current buffer!
>
> Further experimentation showed that it didn't matter how many times I
> type C-u prior to typing the first digit; four copies are always
> inserted (not 16, 64, etc).  Also, if I type a hyphen following the C-u,
> I get four hyphens in my buffer.
>
> Anyone have any idea why this could be happening?

This is specified and documented that way.  C-u x is four xs.

If you want a different number, then type it: C-u 10 x is ten xs.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/


  reply	other threads:[~2010-09-11 23:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-11 23:39 C-u 1 inserts four "1" characters? Sean McAfee
2010-09-11 23:49 ` Pascal J. Bourguignon [this message]
2010-09-12  0:59   ` John Bokma
2010-09-12  1:45     ` Pascal J. Bourguignon
2010-09-12  9:29 ` Stefan Monnier
2010-09-13 17:45   ` Sean McAfee

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=8762ybet85.fsf@kuiper.lan.informatimago.com \
    --to=pjb@informatimago.com \
    --cc=help-gnu-emacs@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.