unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Turning comments into hyperlinks
@ 2012-07-18 14:12 Sohail Somani
  2012-07-19  9:45 ` Tom Willemsen
  0 siblings, 1 reply; 7+ messages in thread
From: Sohail Somani @ 2012-07-18 14:12 UTC (permalink / raw)
  To: help-gnu-emacs

Greetings Earthlings!

I have come across an inconvenience which I would like to resolve. I am 
working on a codebase which has the following patterns throughout the code:

// JIRA 12312
// ISSUE 12312
// KEY-12312

What I would like to do is match these patterns and turn them into 
hyperlinks that open in the browser. So for example, I might turn 
KEY-12312 into a hyperlink to http://jira.myhomies.com/KEY-12312 but 
continue to display the original text.

How would I accomplish this with cc-mode or emacs in general?

Thanks,

Sohail





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-07-19 16:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.5073.1342620934.855.help-gnu-emacs@gnu.org>
2012-07-18 14:28 ` Turning comments into hyperlinks Pascal J. Bourguignon
2012-07-18 14:49   ` Yagnesh Raghava Yakkala
2012-07-19 16:02     ` PJ Weisberg
2012-07-18 15:28   ` Sohail Somani
2012-07-18 14:12 Sohail Somani
2012-07-19  9:45 ` Tom Willemsen
2012-07-19 14:55   ` Sohail Somani

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).