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 03:45:04 +0200 [thread overview]
Message-ID: <871v8zenvj.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: 87lj77wzdh.fsf@castleamber.com
John Bokma <john@castleamber.com> writes:
> 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
Indeed, he wrote that.
Sorry, I just demonstrated poor reading skills... must be tired.
--
__Pascal Bourguignon__ http://www.informatimago.com/
next prev parent reply other threads:[~2010-09-12 1:45 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
2010-09-12 1:45 ` Pascal J. Bourguignon [this message]
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=871v8zenvj.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.