From: Martin Dahl <martin.dahl@gmail.com>
To: Weiwei <shuww1980@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Don't you think this would be a nice feature? (Place holder)
Date: Sun, 28 Sep 2008 13:41:57 +0200 [thread overview]
Message-ID: <87iqsgijju.fsf@gmail.com> (raw)
In-Reply-To: <aaa188d2-6845-415b-8cce-952783664505@o40g2000prn.googlegroups.com> (Weiwei's message of "Sat, 27 Sep 2008 19:31:18 -0700 (PDT)")
Weiwei <shuww1980@gmail.com> writes:
> Thanks Tim. The problem I try to state is how to quickly jump to
> places which is already there. I never used tempo, but have a little
> bit of experience with skeleton. I defined a skeleton which helps me
> to insert the following environment by typing "isub" followed by
> space:
>
> \begin{figure}[H]
> \centering
> \subfigure[]{\includegraphics[width=3.1in]{}}
> \subfigure[]{\includegraphics[width=3.1in]{}}
> \caption{}
> \label{fig:}
> \end{figure}
>
> Now the cursor is in between the first "[]". After I type something, I
> want to jump to "{}" in the same line to fill the eps filename. Can
> skeleton or tempo do this job? I have used a third-party template mode
> before (not tempo though), and it let me fill staff such as date,
> author, etc. in the minibuffer, which I feel not that convenient.
> Correct me if skeleton or tempo is able to do the job and I will give
> them a try. Thanks!
>
> Weiwei
>
I think yasnippet might be what you are looking for. It allows you to
jump beetween predefined points in inserted text with the tab key.
http://code.google.com/p/yasnippet/
--
Martin Dahl
next prev parent reply other threads:[~2008-09-28 11:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-27 15:28 Don't you think this would be a nice feature? (Place holder) Weiwei
2008-09-27 15:49 ` Lennart Borgman (gmail)
2008-09-27 16:01 ` harven
2008-09-27 16:12 ` Weiwei
2008-09-27 22:58 ` Andreas Politz
2008-09-27 23:52 ` Tim X
2008-09-28 2:31 ` Weiwei
2008-09-28 6:37 ` Tim X
2008-09-28 7:58 ` Nicolas Goaziou
2008-09-28 11:41 ` Martin Dahl [this message]
[not found] ` <mailman.20110.1222608284.18990.help-gnu-emacs@gnu.org>
2008-09-28 16:48 ` Weiwei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iqsgijju.fsf@gmail.com \
--to=martin.dahl@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=shuww1980@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.