unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* LaTeX templates (or just templates in general)
@ 2009-05-16  5:56 Orri
  0 siblings, 0 replies; 5+ messages in thread
From: Orri @ 2009-05-16  5:56 UTC (permalink / raw)
  To: Help-gnu-emacs


I am rather new to emacs.

I have used the editor TextMate on mac and it has a very nice feature I like
and was wondering how I can acheive a similar thing in emacs.

When I am in latex mode in textmate and write temp[tabkey], I can choose
from a list of code segments to insert to the current file (or buffer).  I
often use this to insert frequently used code segments (3-10 lines) to
achieve tasks I frequently do (code to insert a figure with caption). These
segments are stored in a folder named ~/Library/Applications
Support/LaTeX/Templates

I know I can use [C-x i], But it takes so much time to write the correct
path every single time.
So I am looking for something like [C-x i] except it by default starts in
specified directory (rather than the current directory). 

I know I can of course, in every latex project directory specify a symbolic
link (with a short name) to this directory, but I find it to be too much of
dirty hack.

Does anyone have any suggestions about how to acieve this?
-- 
View this message in context: http://www.nabble.com/LaTeX-templates-%28or-just-templates-in-general%29-tp23570689p23570689.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





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

end of thread, other threads:[~2009-05-17  1:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.7255.1242453781.31690.help-gnu-emacs@gnu.org>
2009-05-16 12:52 ` LaTeX templates (or just templates in general) Jean Magnan de Bornier
2009-05-17  1:29   ` Tim X
2009-05-16 17:43 ` Vagn Johansen
2009-05-17  0:55   ` Orri
2009-05-16  5:56 Orri

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