all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: nospam55 <nospa@no.yahoo.no>
Subject: Re: C-x TAB indent-rigidly default set to 4 columns, not to 1
Date: Wed, 19 May 2004 01:40:31 +0200	[thread overview]
Message-ID: <2gve38F6qv4iU1@uni-berlin.de> (raw)
In-Reply-To: m3zn86ertp.fsf@eric.rossnet.com


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 !

  reply	other threads:[~2004-05-18 23:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-16 21:19 C-x TAB indent-rigidly default set to 4 columns, not to 1 nospam55
2004-05-17 12:53 ` nospam55
2004-05-17 14:59 ` Dale Worley
2004-05-17 21:20   ` nospam55
2004-05-17 20:12 ` Michael Slass
2004-05-18 23:40   ` nospam55 [this message]
2004-05-18 22:03     ` Michael Slass
2004-05-18 22:14     ` Michael Slass
2004-05-19  0:41       ` nospam55

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=2gve38F6qv4iU1@uni-berlin.de \
    --to=nospa@no.yahoo.no \
    /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.