all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* change faces interactively
@ 2012-01-20  7:41 ishi soichi
  2012-01-20 15:30 ` Drew Adams
  0 siblings, 1 reply; 7+ messages in thread
From: ishi soichi @ 2012-01-20  7:41 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

I'm trying to develop an interactive function that changes faces.

For example, one way to change the face is


(define-generic-mode my-mode
  nil nil
  '(("think?\\w*\\|thought" . 'org-warning))  ;;changes face of "think",
"thinks", and "thought"
  nil nil)

But this changes the face according to the mode, not the interactive
command input.

Is there anyway to develop an interactive function like that ?

(defun change-face-to-one ()
  (interactive)
  ...
    )

Thanks in advance.

soichi

[-- Attachment #2: Type: text/html, Size: 822 bytes --]

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

end of thread, other threads:[~2012-01-25  6:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-20  7:41 change faces interactively ishi soichi
2012-01-20 15:30 ` Drew Adams
2012-01-21  1:20   ` ishi soichi
2012-01-21  2:07     ` Drew Adams
2012-01-23 10:51       ` Andreas Röhler
2012-01-23 18:05     ` Michael Heerdegen
2012-01-25  6:44       ` ishi soichi

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.