From: Tassilo Horn <tsdh@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: Bug-reference auto-configuration
Date: Thu, 18 Jun 2020 21:26:22 +0200 [thread overview]
Message-ID: <87y2okfa5d.fsf@gnu.org> (raw)
In-Reply-To: <zh90jt65.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 18 Jun 2020 15:21:54 +0000")
Ted Zlatanov <tzz@lifelogs.com> writes:
Hi Ted,
> TH> I'd welcome some more testing. You just have to enable
> TH> `bug-reference-mode' or `bug-reference-prog-mode' and cross
> TH> fingers, e.g.,
>
> TH> ;; Enable in prog mode buffers.
> TH> (add-hook 'prog-mode-hook #'bug-reference-prog-mode)
>
> TH> and (for Gnus users)
>
> TH> ;; Enable in Gnus summary and article buffers.
> TH> (add-hook 'gnus-summary-mode-hook #'bug-reference-mode)
> TH> (add-hook 'gnus-article-mode-hook #'bug-reference-mode)
>
> It looks good in my testing. Would this be the right use-package
> invocation and hooks?
>
> (use-package bug-reference
> :hook
> (prog-mode . bug-reference-prog-mode)
> (gnus-mode . bug-reference-mode)
> (text-mode . bug-reference-mode))
Oh, I didn't know use-package's :hook functionality. But anyway, that's
exactly what I do, too.
Bye,
Tassilo
prev parent reply other threads:[~2020-06-18 19:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-17 20:34 Bug-reference auto-configuration Tassilo Horn
2020-06-18 15:21 ` Ted Zlatanov
2020-06-18 19:26 ` Tassilo Horn [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2okfa5d.fsf@gnu.org \
--to=tsdh@gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).