this post was submitted on 04 Oct 2023
1 points (100.0% liked)

Emacs

7 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

Specifically, I want := to show up as ≔ in my buffer, and export as such.

If I do...

(add-to-list 'org-entities-user
             '(":=" "\\coloneq" t "≔" ":=" ":=" "≔"))

I need to add a backslash before the symbol. Is there a way to achieve what I want?

top 1 comments
sorted by: hot top controversial new old
[–] yantar92@communick.news 1 points 1 year ago

Entity syntax involves backslash. As an alternative, you may define a custom export filter + custom font-lock keyword.