emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: Automatic setup for bug-reference-mode


From: Tassilo Horn
Subject: Re: RFC: Automatic setup for bug-reference-mode
Date: Mon, 15 Jun 2020 12:57:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi again,

I've pushed my second attempt on the topic of setting up
bug-reference-mode automatically to the branch
feature/bug-reference-setup.

The most essential changes wrt. the former patch are:

  - There's just one single defvar bug-reference-setup-functions instead
    of a defcustom + a defvar.

  - New setups based according to VC URL can easily be added to
    `bug-reference-setup-from-vc-alist'.  Please tell me if that's too
    complicated with the func-arity thingy in order to distinguish
    functions being valid bug-reference-url-format values from those
    that need to be evaluated to get a valid value.

  - New setups based on Gnus group/addresses can easily be added to
    `bug-reference-setup-from-gnus-alist'.

Honestly, the Gnus stuff is a bit icky but that's not really my fault.
Gnus reuses its article buffer therefore the setup for
`gnus-article-mode' buffers has to be done in
`gnus-article-prepare-hook' which doesn't match the "setup immediately
when bug-reference-mode is activated" semantics...

Bye,
Tassilo



reply via email to

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