help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to highlight UUID in all buffes?


From: Jean Louis
Subject: Re: How to highlight UUID in all buffes?
Date: Sat, 15 Oct 2022 13:42:30 +0300
User-agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02)

* William Xu <william.xwl@gmail.com> [2022-10-15 13:36]:
> Jean Louis <bugs@gnu.support> writes:
> 
> > I have tried this:
> >
> > (font-lock-add-keywords 'mail-mode '((thing-at-point-uuid-regexp 1 'link)))
> 
> Try:
> 
> (font-lock-add-keywords 'mail-mode `((,(concat "\\(" 
> thing-at-point-uuid-regexp "\\)") 1 'link)))

64ec985c-5aeb-4e24-952f-ef66b7f8bf1e

When I do: 

{M-x font-lock-update RET}

I get:

Debugger entered--Lisp error: (void-function thing-at-point-uuid-regexp)
  thing-at-point-uuid-regexp(565)
  font-lock-fontify-keywords-region(1 565 nil)
  font-lock-default-fontify-region(1 565 nil)
  font-lock-fontify-region(1 565)
  font-lock-update(nil)
  funcall-interactively(font-lock-update nil)
  call-interactively(font-lock-update record nil)
  command-execute(font-lock-update record)
  execute-extended-command(nil "font-lock-update" "font-lock-update")
  funcall-interactively(execute-extended-command nil "font-lock-update" 
"font-lock-update")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]