Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

samtregar (2699)

samtregar
  (email not shown publicly)
http://sam.tregar.com/

Journal of samtregar (2699)

Tuesday November 30, 2004
03:41 PM

EmacsWiki, where have you been all my life?

[ #22077 ]
I just found the EmacsWiki site. I'm stunned that such an awesome repository of Emacs knowledge existed without my knowledge. It's not that I'm some kind of Emacs guru, but I sure like to learn a new trick every now and again.

So far the best thing I've found is a cool function called indirect-region. To use it, just mark a region you want to edit separately and execute the function. A new buffer opens containing the marked text. All edits are reflected in the source doc. But the really cool thing is that the new buffer can have a different major mode from the source! So when I'm writing an email and want to work on a long Perl example I can just pop the region into a cperl-mode window! Very cool. To make this even easier I've set the default mode for indirect-region to cperl-mode.

Thanks Mario Lang!

-sam

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.