[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: electric-pair-mode as a minor mode?
From: |
João Távora |
Subject: |
Re: electric-pair-mode as a minor mode? |
Date: |
Wed, 15 Apr 2015 22:16:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) |
Lars Magne Ingebrigtsen <address@hidden> writes:
> address@hidden (João Távora) writes:
>
>> Since Lars hasn't responded yet, here's an updated patch that addresses
>> the issues discussed so far. OK to install?
>
> Looks OK to me, I think, but I know nothing about electric-pair-mode...
>
The patch will help show-paren-mode, electric-pair-mode and general
C-M-f sexp-base navigation.
Anyway, the specific issue I wanted your feedback about is a few
messages back in this thread. It's about the use of
>> (let ((citation-regexp (concat "^" message-cite-prefix-regexp ".*$"))
as a way to consistently detect citations (inserted using message.el's
message-cite-* mechanisms). This is because there are lots of variables
there configuring the prefix, spacing and some other options, that
reference this variable in a comment that I couldn't understand. Like
this:
(defcustom message-yank-prefix mail-yank-prefix
"*Prefix inserted on the lines of yanked messages.
->Fix `message-cite-prefix-regexp' if it is set to an abnormal value.
See also `message-yank-cited-prefix' and `message-yank-empty-prefix'."
:version "23.2"
:type 'string
:link '(custom-manual "(message)Insertion Variables")
:group 'message-insertion)
João
Re: electric-pair-mode as a minor mode?, Lars Magne Ingebrigtsen, 2015/04/15
- Re: electric-pair-mode as a minor mode?,
João Távora <=
- Re: electric-pair-mode as a minor mode?, Lars Magne Ingebrigtsen, 2015/04/16
- Re: electric-pair-mode as a minor mode?, João Távora, 2015/04/16
- Re: electric-pair-mode as a minor mode?, Lars Magne Ingebrigtsen, 2015/04/16
- Re: electric-pair-mode as a minor mode?, João Távora, 2015/04/26
- Re: electric-pair-mode as a minor mode?, Lars Magne Ingebrigtsen, 2015/04/26
- Re: electric-pair-mode as a minor mode?, Stefan Monnier, 2015/04/26