From: John Bokma <john@castleamber.com>
To: help-gnu-emacs@gnu.org
Subject: Re: C-u 1 inserts four "1" characters?
Date: Sat, 11 Sep 2010 19:59:22 -0500 [thread overview]
Message-ID: <87lj77wzdh.fsf@castleamber.com> (raw)
In-Reply-To: 8762ybet85.fsf@kuiper.lan.informatimago.com
pjb@informatimago.com (Pascal J. Bourguignon) writes:
> 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.
From what I understand Sean's complaint is that
C-u 3 gives 3333
C-u - gives ----
So, if he tries
C-u 10 x
he gets
11110x
not
xxxxxxxxxx
--
John Bokma j3b
Blog: http://johnbokma.com/ Facebook: http://www.facebook.com/j.j.j.bokma
Freelance Perl & Python Development: http://castleamber.com/
next prev parent reply other threads:[~2010-09-12 0:59 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
2010-09-12 0:59 ` John Bokma [this message]
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=87lj77wzdh.fsf@castleamber.com \
--to=john@castleamber.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.