emacs-devel
[Top][All Lists]
Advanced

[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 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]