* Org mode together with bug-reference-mode
@ 2022-05-27 16:03 Paul Kaletta
2022-05-29 10:42 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Paul Kaletta @ 2022-05-27 16:03 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
Hi,
I'm using GNU Emacs 27.2 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) of 2021-08-07.
This Emacs comes with Org mode version 9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/list/org).
I want to use Emacs bug-reference-mode together in my Org mode
setup. Here's an example file:
--------------------
# Local Variables:
# eval: (bug-reference-mode)
# bug-reference-bug-regexp: "\\(\\(?:\\(?:SUPPORT\\|support\\)-\\)\\([0-9]+\\)\\)"
# bug-reference-url-format: https://www.example.com/SUPPORT-%s
# End:
* Some stuff
SUPPORT-12348 support-56779
support-12346
--------------------
Outside of Org mode bug-reference-mode works as I would expect,
but as a minor mode of org-mode it behaves weirdly. Most
importantly "C-c RET" aka bug-reference-push-button doesn't work
at all. Besides not all occurrences of "SUPPORT-\d+" are
highlighted automatically. This changes as soon as one modifies
any character.
This seems to be some interference between bug-reference-mode and
Org mode, or maybe even a bug in Emacs itself.
Best,
Paul
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Org mode together with bug-reference-mode
2022-05-27 16:03 Org mode together with bug-reference-mode Paul Kaletta
@ 2022-05-29 10:42 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2022-05-29 10:42 UTC (permalink / raw)
To: Paul Kaletta; +Cc: emacs-orgmode@gnu.org
Paul Kaletta <pk@paulkaletta.org> writes:
> I want to use Emacs bug-reference-mode together in my Org mode
> setup. Here's an example file:
>
> --------------------
> # Local Variables:
> # eval: (bug-reference-mode)
> # bug-reference-bug-regexp: "\\(\\(?:\\(?:SUPPORT\\|support\\)-\\)\\([0-9]+\\)\\)"
> # bug-reference-url-format: https://www.example.com/SUPPORT-%s
You forgot "" around bug-reference-url-format. It should be a string.
Try
# bug-reference-url-format: "https://www.example.com/SUPPORT-%s"
Best,
Ihor
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-29 10:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-27 16:03 Org mode together with bug-reference-mode Paul Kaletta
2022-05-29 10:42 ` Ihor Radchenko
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).