unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* shortcut for increasing/decreasing indent
@ 2005-03-19 21:18 Michael-E. Voges
  0 siblings, 0 replies; 2+ messages in thread
From: Michael-E. Voges @ 2005-03-19 21:18 UTC (permalink / raw)


Hi Emacs's,
I wonder, if there ist a shortcut increasing/decreasing an indented line while 
the cursor is anywhere on that line without leaving the point (like for 
example C-D or C-T in edit-mode on some other famous editor).

Regards,

Micha-E.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: shortcut for increasing/decreasing indent
       [not found] <mailman.4433.1111267694.32256.help-gnu-emacs@gnu.org>
@ 2005-03-28 19:55 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2005-03-28 19:55 UTC (permalink / raw)


Michael-E. Voges wrote:
> Hi Emacs's,
> I wonder, if there ist a shortcut increasing/decreasing an indented line while 
> the cursor is anywhere on that line without leaving the point (like for 
> example C-D or C-T in edit-mode on some other famous editor).

Hmmm...

(defun indent-line-rigidly (arg)
   "*Increase or decrease the indentation of the current line by ARG 
colums."
   (interactive "p")
   (indent-rigidly (line-beginning-position) (line-end-position) arg))

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-28 19:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-19 21:18 shortcut for increasing/decreasing indent Michael-E. Voges
     [not found] <mailman.4433.1111267694.32256.help-gnu-emacs@gnu.org>
2005-03-28 19:55 ` Kevin Rodgers

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