From: BDB <noemail@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Indent region by one tabstop
Date: 20 Apr 2012 00:04:34 GMT [thread overview]
Message-ID: <slrnjp1a0l.t3f.noemail@us.news.astraweb.com> (raw)
In-Reply-To: mailman.262.1334877565.751.help-gnu-emacs@gnu.org
Drew Adams wrote:
> Use `indent-rigidly' with the value of `tab-width'?
>
> (defun my-indent-a-tab-width (start end)
> (interactive "r")
> (indent-rigidly start end tab-width))
Works great, thanks! You wouldn't happen to know a way to do the inverse,
delete 4 spaces from the beginning of each line in a region?
next prev parent reply other threads:[~2012-04-20 0:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-19 22:00 Indent region by one tabstop BDB
2012-04-19 23:19 ` Drew Adams
[not found] ` <mailman.262.1334877565.751.help-gnu-emacs@gnu.org>
2012-04-20 0:04 ` BDB [this message]
2012-04-20 2:05 ` Drew Adams
2012-04-20 2:09 ` Jambunathan K
2012-04-20 3:07 ` Teemu Likonen
2012-04-21 6:16 ` Andreas Röhler
2012-04-21 7:01 ` Teemu Likonen
2012-04-21 7:30 ` Andreas Röhler
2012-04-20 22:48 ` Mark Skilbeck
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=slrnjp1a0l.t3f.noemail@us.news.astraweb.com \
--to=noemail@yahoo.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.