help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'Remembering' a character string for replay


From: Andreas Röhler
Subject: Re: 'Remembering' a character string for replay
Date: Sun, 15 Nov 2009 16:43:51 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

lanas wrote:
> Hello all,
> 
>   This must be the most pedestrian question around concerning using
> emacs.  I very often work with debug statements such as:
> 
> print "DEBUG \n";
> 
>   So what I do is to type the string once then save it in a ring buffer
> for easy recall.  
> 
>   Is there a way to save it permanently so that I don't even have to
> type it once at the beginning of each sessions ? - Thanks.
> 
> Cheers.
> 
> 
> 

Just look for Abbrevs in the Emacs info

C-h i
m emacs
m Abbrevs


After some weeks with Emacs, following the path of your question for more 
complex items,
 look for http://www.emacswiki.org/emacs/Yasnippet.

(not for beginners...)

Andreas

--
https://code.launchpad.net/s-x-emacs-werkstatt/
http://bazaar.launchpad.net/~a-roehler/python-mode/python-mode.el/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]