unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
Subject: insert pair doesn't work with *, $ and %
Date: Thu, 07 Dec 2006 04:09:19 +0100	[thread overview]
Message-ID: <87hcw8e71c.fsf@hans.local.net> (raw)

Hi

For a special mode I'd like to have key bindings duplicating various
characters like e. g.

(global-set-key "\C-c{" 'insert-pair)

this does work as expected (I'm getting a pair of {} and the point is
within the pair).  But I can't get the analogous with *, $ and % to
run, I'm just getting one of these characters back and not a pair.
What am I missing here?

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

             reply	other threads:[~2006-12-07  3:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-07  3:09 Dieter Wilhelm [this message]
2006-12-07  3:32 ` insert pair doesn't work with *, $ and % Andreas Seltenreich
2006-12-10 16:01   ` how to differentiate between default interactive argument 1 and user supplied argument 1[was: insert pair doesn't work with *, $ and %] Dieter Wilhelm
     [not found] <mailman.1624.1165460982.2155.help-gnu-emacs@gnu.org>
2006-12-07  3:47 ` insert pair doesn't work with *, $ and % Katsumi Yamaoka

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=87hcw8e71c.fsf@hans.local.net \
    --to=dieter@duenenhof-wilhelm.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).