all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Writing a function for a indented copy of a region
@ 2008-12-17 13:31 Decebal
  2008-12-17 15:59 ` Drew Adams
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Decebal @ 2008-12-17 13:31 UTC (permalink / raw)
  To: help-gnu-emacs

A lot of times I need to copy a part of a (log) file for an e-mail. I
like to indent this (default with four spaces). At this moment I do
this by hand. But I would like to do this with a function.
What I would like this function to do is take the part that is
selected, indent this with (default) four spaces, put the indented
region in the kill-ring and undo the indent. Has anyone a pointer
about how to code this?


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

end of thread, other threads:[~2008-12-18 15:48 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-17 13:31 Writing a function for a indented copy of a region Decebal
2008-12-17 15:59 ` Drew Adams
2008-12-17 16:26 ` Matthias
     [not found] ` <mailman.2956.1229529567.26697.help-gnu-emacs@gnu.org>
2008-12-17 17:09   ` Decebal
2008-12-17 18:49     ` Drew Adams
2008-12-17 19:18 ` Decebal
2008-12-17 19:47   ` Andreas Politz
2008-12-17 23:04     ` Decebal
2008-12-17 23:37     ` Decebal
2008-12-18  0:27       ` Andreas Politz
2008-12-18  0:49         ` Decebal
2008-12-17 22:58   ` Decebal
2008-12-18 13:11 ` Decebal
2008-12-18 15:05   ` Andreas Politz
2008-12-18 15:48     ` Decebal

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.