unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'BDB'" <noemail@yahoo.com>, <help-gnu-emacs@gnu.org>
Subject: RE: Indent region by one tabstop
Date: Thu, 19 Apr 2012 16:19:15 -0700	[thread overview]
Message-ID: <D046B716AFD64DD78DAF872CE1614630@us.oracle.com> (raw)
In-Reply-To: <slrnjp12os.t3f.noemail@us.news.astraweb.com>

> Is there a way to make emacs move a region of code left or 
> right by one tabstop?  I don't want to use emacs' built in
> indentation because it's not indenting the lines where I
> want them to be.

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))





  reply	other threads:[~2012-04-19 23:19 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 [this message]
     [not found] ` <mailman.262.1334877565.751.help-gnu-emacs@gnu.org>
2012-04-20  0:04   ` BDB
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D046B716AFD64DD78DAF872CE1614630@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=noemail@yahoo.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).