Martin Geisler <[email protected]> writes:
>
> I notice that Magit highlights parts in brackets when showing commit
> messages. I typically use that for issue numbers, such as [FOO-123]. Would
> it be possible to have that be a link to the actual issue tracker?
> Something so that I can press RET when point is in the text and then have
> the browser open the relevant page.
>
> I vaguely remember to have seem something about kind of functionality in
> the manual, but I wasn't able to find anything while searching for it now.

You can get that by setting bug-reference-bug-regexp and
bug-reference-url-format.  For an example, have a look at .dir-locals.el
in the Magit repo.

Your magit-revision-mode-hook should already include bug-reference-mode.
To follow the link, you can call bug-reference-push-button (C-c RET).

-- 
Kyle

-- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to