all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Elena <egarrulo@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: textmate like auto pairings
Date: Fri, 18 Dec 2009 04:47:52 -0800 (PST)	[thread overview]
Message-ID: <8d14a56d-1903-47d8-85ec-47e020c4f5d5@e27g2000yqd.googlegroups.com> (raw)
In-Reply-To: mailman.13163.1261137407.2239.help-gnu-emacs@gnu.org

On 18 Dic, 11:56, andrea <andrea.crott...@gmail.com> wrote:
> I'd like to configure smartly my auto pairings more cleverly
>
> I use thishttp://gist.github.com/259460
> found I don't know where but I don't know how to configure things per
> mode.
> Looks its too much in the textmate.el code, I'd just like to set up a
> list of assocs with a list of, something like:
>
> --8<---------------cut here---------------start------------->8---
> (defvar my-pairs '(
>         (python-mode . '(
>                          \( . \)
>                          \[ . \]
> --8<---------------cut here---------------end--------------->8---
> ...
> Something like that...

Don't waste your time. Paredit makes what you could be looking for and
more:

http://www.emacswiki.org/emacs/ParEdit

Cheers


       reply	other threads:[~2009-12-18 12:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.13163.1261137407.2239.help-gnu-emacs@gnu.org>
2009-12-18 12:47 ` Elena [this message]
2009-12-19 10:33 ` textmate like auto pairings ramblex
2009-12-18 11:56 andrea

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=8d14a56d-1903-47d8-85ec-47e020c4f5d5@e27g2000yqd.googlegroups.com \
    --to=egarrulo@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.