From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Proposal: make insert-pair-alist buffer local
Date: Thu, 23 Dec 2021 13:11:34 +0100 [thread overview]
Message-ID: <CAO48Bk_QW0yRf-YZBbZ6VZQ-cQkx91nc6DurcUYYbRUk0_EeFQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 387 bytes --]
Hi
This is a "don't shoot the pianist" (cf. cite below) sort of idea I have
had while trying to rationalize my .emacs.d:
If insert-pair-alist was buffer-local, we could have different auto-pairs
for different modes:
e.g. //,**, etc. in org-mode
Am I too wrong in this?
Best, /PA
--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
[-- Attachment #2: Type: text/html, Size: 721 bytes --]
next reply other threads:[~2021-12-23 12:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-23 12:11 Pedro Andres Aranda Gutierrez [this message]
2021-12-23 12:41 ` Proposal: make insert-pair-alist buffer local Po Lu
2021-12-23 13:11 ` Óscar Fuentes
2021-12-23 13:28 ` Po Lu
2021-12-23 17:12 ` Juri Linkov
2021-12-23 18:15 ` Eli Zaretskii
2021-12-23 19:33 ` Stefan Monnier
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=CAO48Bk_QW0yRf-YZBbZ6VZQ-cQkx91nc6DurcUYYbRUk0_EeFQ@mail.gmail.com \
--to=paaguti@gmail.com \
--cc=emacs-devel@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.