unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Oliver Scholz <alkibiades@gmx.de>
Subject: Re: Problem positioning cursor
Date: Sat, 26 Apr 2003 17:24:53 +0200	[thread overview]
Message-ID: <usms55liy.fsf@ID-87814.user.dfncis.de> (raw)
In-Reply-To: 84of2te4kn.fsf@lucy.is.informatik.uni-duisburg.de

kai.grossjohann@gmx.net (Kai Großjohann) writes:
[...]
> I think that skeletons can't do what you need, though.  There is a
> change that adds the capability you need which has been committed to
> the development release of Emacs in the last couple of days, or which
> will be committed soon.

It should be possible even in Emacs 21.2. If you use something like
("lirum" _ "larum" _ "schubi"), then point is put at the first "_",
unless that is consumed (so to say) for the region.

Hmmm ...

(define-skeleton vics-java-catch-insert
  "Generate a skeleton for a java try-catch block."
  nil
  "try {" \n
  > _  \n
  > "} catch(Exception e) {" \n
  > "e.printStackTrace();" \n
  > _ 
  > "}" \n)


    Oliver
-- 
7 Floréal an 211 de la Révolution
Liberté, Egalité, Fraternité!

  reply	other threads:[~2003-04-26 15:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5188.1051270162.21513.help-gnu-emacs@gnu.org>
2003-04-26 14:06 ` Problem positioning cursor Kai Großjohann
2003-04-26 15:24   ` Oliver Scholz [this message]
2003-04-27 11:47     ` Kai Großjohann
2003-04-27 12:40       ` Oliver Scholz
2003-04-25 11:01 Victor Kirk

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=usms55liy.fsf@ID-87814.user.dfncis.de \
    --to=alkibiades@gmx.de \
    /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.
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).