unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Hansen <david.hansen@gmx.net>
Subject: Re: left brackets insert both
Date: Sat, 26 Mar 2005 13:48:27 +0100	[thread overview]
Message-ID: <87r7i27euc.fsf@robotron.ath.cx> (raw)
In-Reply-To: 1111769127.619222.303620@z14g2000cwz.googlegroups.com

On 25 Mar 2005 08:45:27 -0800 Shug Boabby wrote:

> excellent! i had found the exact setup once rgb had pointed me to the
> function call, but cheers david!
>
> however, it is sometimes annoying that a single type of a bracket does
> this... any chance i could set it only to work on double taps? 

Well, seems you already found a solution.  What i do when i want
a single paren is C-q (.

> i get nothing when i try something like: (global-set-key [?\<
> ?\<] 'skeleton-pair-insert-maybe)

You can define new skeletons via

(add-to-list 'skeleton-pair-alist '(?< _ ?>))
(global-set-key "<" 'skeleton-pair-insert-maybe)


David

  parent reply	other threads:[~2005-03-26 12:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-25 15:37 left brackets insert both Shug Boabby
2005-03-25 15:54 ` David Hansen
2005-03-25 16:45   ` Shug Boabby
2005-03-25 17:49     ` rgb
2005-03-25 18:23       ` Shug Boabby
2005-03-25 19:53         ` rgb
2005-03-25 20:05           ` rgb
2005-03-25 20:19             ` Shug Boabby
2005-03-25 23:00               ` rgb
2005-03-26 12:48     ` David Hansen [this message]
2005-03-25 15:54 ` rgb
2005-03-25 16:39 ` Peter Lee

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=87r7i27euc.fsf@robotron.ath.cx \
    --to=david.hansen@gmx.net \
    /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).