From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: nospam55 Newsgroups: gmane.emacs.help Subject: Re: C-x TAB indent-rigidly default set to 4 columns, not to 1 Date: Mon, 17 May 2004 23:20:43 +0200 Organization: itaposets Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <2gshhbF69mjmU1@uni-berlin.de> References: <2gpt2tF5glsvU1@uni-berlin.de> <873c5zp0ab.fsf@netnews.comcast.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1084824521 12085 80.91.224.253 (17 May 2004 20:08:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 20:08:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 17 22:08:34 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPoPa-0001tI-00 for ; Mon, 17 May 2004 22:08:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPnqS-0008I3-22 for geh-help-gnu-emacs@m.gmane.org; Mon, 17 May 2004 15:32:16 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-X-Trace: news.uni-berlin.de cpxNdIgSQd+KycYhB0jZOArc18gCjVCQFUpr/P//8t6ta2NgoS User-Agent: KNode/0.7.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:123233 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18531 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18531 prefix-numeric-value does exactly the dirty processing I tried to write: the (global-set-key [f1] 'indent-rigidly) ; ;; we refer to "Prefix Command Arguments" , ;; fsf emacs lisp reference manual (defun irFrequent (arg b c) (interactive "P\nr") (indent-rigidly b c (if arg (prefix-numeric-value arg) 4) ) ) works exactly as I wanted - Thank you very much ! :-)