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: Wed, 19 May 2004 01:40:31 +0200 Organization: itaposets Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <2gve38F6qv4iU1@uni-berlin.de> References: <2gpt2tF5glsvU1@uni-berlin.de> 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 1084918349 24178 80.91.224.253 (18 May 2004 22:12:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 May 2004 22:12:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 19 00:12:21 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 1BQCou-0006xT-00 for ; Wed, 19 May 2004 00:12:21 +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 1BQCRY-0005La-E4 for geh-help-gnu-emacs@m.gmane.org; Tue, 18 May 2004 17:48:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-X-Trace: news.uni-berlin.de Tp8AfpsYa53cnh66ptiMCwaemvzomV3a0trt2MWnU0CWXLdt53 User-Agent: KNode/0.7.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:123275 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:18572 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18572 thanks Mike; your solution has still some problem with C-u C-u M-x irFrequent , but leads to ;; we refer to "Prefix Command Arguments" , ;; fsf emacs lisp reference manual (defun irFrequent (arg beg end) "`indent-rigidly' region with 4 spaces, or prefix-arg spaces if provided" (interactive "P\nr") (indent-rigidly beg end (prefix-numeric-value (or arg 4)) ) ; alternative 1/2 ;; (indent-rigidly beg end (if arg (prefix-numeric-value arg) 4) ) ; alternative 2/2 ) which looks great and seems to work !