all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to temporarily highlight/unhighlight a word under cursor?
@ 2007-08-14 22:44 Leo.Hou
  2007-08-15 17:30 ` Nikolaj Schumacher
  2007-08-17 12:47 ` Ken Goldman
  0 siblings, 2 replies; 4+ messages in thread
From: Leo.Hou @ 2007-08-14 22:44 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

I am happy with the M-x highligh-phrase command except I need to
manually input the complete word every time.

I wonder if it is possible to create a macro or function in the .emacs
file and assign a shortcut to it to automatically highlight the
current word under cursor to the default "hi-yellow" color.

Similarly I hope to have a key to unhighlight it.

Any tip will be great.

Thanks

Leo

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

end of thread, other threads:[~2007-08-17 12:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-14 22:44 how to temporarily highlight/unhighlight a word under cursor? Leo.Hou
2007-08-15 17:30 ` Nikolaj Schumacher
2007-08-15 17:56   ` Lennart Borgman (gmail)
2007-08-17 12:47 ` Ken Goldman

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.