[Ilugc] adding brackets in emacs
- From: solar345@xxxxxxxxx (Antano Solar)
- Date: Sat Nov 10 09:46:36 2007
On Nov 10, 2007 7:29 AM, Kenneth Gonsalves <lawgon@xxxxxxxxxxxxxxx> wrote:
hi,
a common task is adding strings for i18n. Say I have a string -
mystring. I need to mark it like so:
_("mystring"). What I want to do is: select the string and press a
key so it will mark it. How is this done in emacs?
--
regards
kg
<http://lawgon.livejournal.com>
There are many ways to do that , template.el and skeleton.el might be
helpful from emacs wiki.
One of them takes an argument interactively and performs uses that as a
variable replacement inside a pre defined skeleton/template.
http://www.emacswiki.org/cgi-bin/wiki/CategoryTemplates has many listing of
such add ons , few of which are already a part of emacs.
Antano Solar John
Other related posts: