unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* font-lock as a single command
@ 2021-02-12 23:20 Christopher Dimech
  2021-02-12 23:44 ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 30+ messages in thread
From: Christopher Dimech @ 2021-02-12 23:20 UTC (permalink / raw)
  To: Help Gnu Emacs

I want to construct the font-lock as a single command

(font-lock-add-keywords nil ...)

But I am unsure how to do it.




(defconst supinf-font-lock-cruc
  (append
     '((supinf-match
          (1 (supinf-raise-cruc (match-beginning 0))) )))
  "Experimental expressions to highlight in TeX modes.")

(defun supinf-enable ()
  "Enables a typeface for displaying tex commands."
  (setq supinf-signal t)
  (font-lock-add-keywords nil supinf-font-lock-cruc t))


---------------------
Christopher Dimech
General Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy




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

end of thread, other threads:[~2021-02-13  6:58 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-12 23:20 font-lock as a single command Christopher Dimech
2021-02-12 23:44 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-12 23:58   ` Christopher Dimech
2021-02-13  0:06     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-13  0:17       ` Christopher Dimech
2021-02-13  0:04   ` Christopher Dimech
2021-02-13  0:08     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-13  0:20       ` Christopher Dimech
2021-02-13  1:50         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-13  0:58       ` Christopher Dimech
2021-02-13  1:13         ` Christopher Dimech
2021-02-13  1:54         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-13  2:43           ` Christopher Dimech
2021-02-13  2:46             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-13  3:00               ` Christopher Dimech
2021-02-13  3:16                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-13  3:56                   ` Christopher Dimech
2021-02-13  4:09                     ` Christopher Dimech
2021-02-13  4:21                       ` Christopher Dimech
2021-02-13  4:28                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-13  4:31                           ` Christopher Dimech
2021-02-13  5:26                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-13  5:29                               ` Christopher Dimech
2021-02-13  5:39                               ` Christopher Dimech
2021-02-13  5:43                                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-13  5:51                                   ` Christopher Dimech
2021-02-13  6:07                                   ` Christopher Dimech
2021-02-13  6:20                                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-13  6:55                                       ` Christopher Dimech
2021-02-13  6:58                                         ` Emanuel Berg via Users list for the GNU Emacs text editor

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