all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Getting minor mode to read word
@ 2010-11-18 13:39 Paulo J. Matos
  2010-11-18 13:54 ` Lennart Borgman
  0 siblings, 1 reply; 5+ messages in thread
From: Paulo J. Matos @ 2010-11-18 13:39 UTC (permalink / raw
  To: help-gnu-emacs

Hi all,

I am trying to create a very simple minor mode to start with. Once the
mode is loaded I just want to transform all the strings matching a given
regexp: "B-[0-9]+" into a url which once clicked, opens the default
browser with a given url.

My problem is to start up. How do I tell emacs that there is a minor
mode that people can load and which hook can I use to enable the search
function (for the regexp) to perform the search and replace the text for
a url everytime the buffer changes?

Cheers,

-- 
PMatos




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

end of thread, other threads:[~2010-11-18 15:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-18 13:39 Getting minor mode to read word Paulo J. Matos
2010-11-18 13:54 ` Lennart Borgman
2010-11-18 14:08   ` Paulo J. Matos
2010-11-18 14:11     ` Lennart Borgman
2010-11-18 15:01       ` Paulo J. Matos

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.