From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Inserting numeric characters multiple times Date: Tue, 13 Jan 2009 08:15:46 -0800 Message-ID: <002301c9759a$338a12f0$0200a8c0@us.oracle.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1231863455 5634 80.91.229.12 (13 Jan 2009 16:17:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2009 16:17:35 +0000 (UTC) To: "'Corey Foote'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 13 17:18:46 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LMlyO-0000er-MT for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jan 2009 17:18:36 +0100 Original-Received: from localhost ([127.0.0.1]:39821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMlx8-0000Wi-9i for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jan 2009 11:17:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LMlvs-0007u2-00 for help-gnu-emacs@gnu.org; Tue, 13 Jan 2009 11:16:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LMlvp-0007qz-Up for help-gnu-emacs@gnu.org; Tue, 13 Jan 2009 11:15:59 -0500 Original-Received: from [199.232.76.173] (port=45251 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMlvp-0007qF-CU for help-gnu-emacs@gnu.org; Tue, 13 Jan 2009 11:15:57 -0500 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:37522) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LMlvo-0004aV-Jz for help-gnu-emacs@gnu.org; Tue, 13 Jan 2009 11:15:56 -0500 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n0DGFLWP018950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 13 Jan 2009 16:15:22 GMT Original-Received: from acsmt702.oracle.com (acsmt702.oracle.com [141.146.40.80]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n0DGFoYi023116; Tue, 13 Jan 2009 16:15:52 GMT Original-Received: from dradamslap1 (/141.144.168.46) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 13 Jan 2009 16:15:49 +0000 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Thread-Index: Acl1mTI7HQHhV4XhRr6g5y//Ek+K4AAAIjqQ X-Source-IP: acsmt702.oracle.com [141.146.40.80] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.496CBE37.013C:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61300 Archived-At: > Normally when I want to insert a single character multiple > times I type C-u N and then the character, where N is the > number of time I want it inserted. How would I do this if > the character was a number? `C-u N C-u 5' inserts `5' N times The Emacs manual is your friend. `C-h r', the `i C-u' takes you to node `Arguments', at the end of which you see this: "You can use a numeric argument before a self-inserting character to insert multiple copies of it. This is straightforward when the character is not a digit; for example, `C-u 6 4 a' inserts 64 copies of the character `a'. But this does not work for inserting digits; `C-u 6 4 1' specifies an argument of 641. You can separate the argument from the digit to insert with another `C-u'; for example, `C-u 6 4 C-u 1' does insert 64 copies of the character `1'."