all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* yank-and-indent
@ 2002-11-20 20:28 Timur Aydin
  2002-11-20 21:01 ` yank-and-indent Michael Slass
  2002-11-20 21:07 ` yank-and-indent Alan Shutko
  0 siblings, 2 replies; 6+ messages in thread
From: Timur Aydin @ 2002-11-20 20:28 UTC (permalink / raw)


Hi,

In programming, very often a number of lines are killed, yanked to another
location and are reindented according to the new location. Currently, the
following sequence has to be done manually:

1) Mark the lines to be killed
2) Kill the lines
3) Yank into new location
4) Mark the same lines again.
5) Hit C-M-\ to indent the lines according to new location.

I would like to reduce the procedure to:

1) Mark the lines to be killed
2) Kill the lines
3) Hit ???? to yank and indent the lines.

Any wisdom on how this can be accomplished? I am a beginner in lisp, so
hopefully there is a way that doesn't require writing a lisp function...

--
Timur

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

end of thread, other threads:[~2002-11-20 21:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-20 20:28 yank-and-indent Timur Aydin
2002-11-20 21:01 ` yank-and-indent Michael Slass
2002-11-20 21:43   ` yank-and-indent Arnaldo Mandel
2002-11-20 21:07 ` yank-and-indent Alan Shutko
2002-11-20 21:29   ` yank-and-indent Michael Slass
2002-11-20 21:39   ` yank-and-indent Timur Aydin

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.