Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Not a direct answer to your question, but perhaps a couple of ideas using overlays to give new character appearances. One idea would be to concat / sandwich together two overlays -- forcing them to fit into the same space as a regular character -- e.g., the first character is a thin line with color added (char-to-string ?\uFEFF) and the other is a target character that is reduced in size so they both fit. Another idea would be to use a vertical strike-through (available in some fonts, but not all) similar to what is used in the library vline.el emacswiki.org/emacs/VlineMode Commented Jan 14, 2015 at 3:54
  • @lawlist: That unicode line idea is interesting, it would let me do a 'sideline'. Do you have any idea how to reduce the size of the following character though? I could maybe generate an image for use with the display property but AFAICT there is no way to get emacs to render text into an image, so I'd have to make the images outside emacs. Commented Jan 14, 2015 at 4:29
  • This comment supersedes the previous comment (that I removed), and the code in the following link has been updated as well -- it contains three examples (one of which is identical to the answer that I posted below in the current thread): stackoverflow.com/questions/23744237/… Commented Feb 21, 2015 at 19:56