unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Wrap predefined text around region
@ 2010-12-02 22:05 Harry Putnam
  2010-12-03 10:18 ` Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Harry Putnam @ 2010-12-02 22:05 UTC (permalink / raw)
  To: help-gnu-emacs

Can anyone show an example of how to do something like this:

I want to wrap this:

  # [HP 101202_15:55:07 
  # ] 

Around the selected text... 
   <selected text region here>
   <selected text region here>
   <selected text region here>
   <selected text region here>

that is, select some text and press a key
combo ... voila... its now surrounded by:
  # [HP 101202_15:55:07 

  # ] 

Over the yrs I've acquired a fairly lengthy .emacs mostly by theft
from more skilled people.  Coding something like that is clear out of
my skill set.

I use lots of `skeleton' things for inserting various predefined texts
but don't know how to make that happen to selected region.

Usually given an example, I've been able to hack it up to my needs.




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

end of thread, other threads:[~2010-12-03 14:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 22:05 Wrap predefined text around region Harry Putnam
2010-12-03 10:18 ` Kevin Rodgers
2010-12-03 12:14 ` Andreas Röhler
2010-12-03 14:31 ` Kenneth Goldman

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