Skip to main content

Questions tagged [compose-region]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

Is there a way to hide link prefixes in org-mode?

For some link types it would be nice to hide the link prefix automatically. This post does this with text properties, but I'd prefer if it was possible to do with something like prettify-symbols or ...
user41177's user avatar
  • 121
1 vote
1 answer
90 views

How to display a character reversed?

I know about compose-region and have used it for other purposes, but am trying to figure out how to display a character reversed. like transforming c to ↄ. Is this possible?
Prgrm.celeritas's user avatar
4 votes
1 answer
1k views

Using Prettify Symbols with strings instead of characters

I want to the prettify-symbols-mode functionality, but using strings instead of chars as visual replacements: ;; typical replacement for chars (push '("lambda" . ?λ) prettify-symbols-alist) (defun ...
Felipe Lema's user avatar
2 votes
1 answer
74 views

How can I find the current line and column ignoring text composition?

I'm working on a utility that communicates with an external process using line and column positions in the current file. I have configured Haskell mode to use compose-region to display certain parts ...
Tikhon Jelvis's user avatar
3 votes
2 answers
552 views

compose-region and TABs

I'm trying to use compose-region with TABs but fail to see difference. I'd like to get 'sqrt' composed to '√' but taking as much space as original text and aligned to the right. I tried each of: (...
Gracjan Polak's user avatar
9 votes
1 answer
187 views

How can I copy and paste characters displayed with compose-region?

I use several modes that display Unicode characters in my code without changing the underlying file. For example, in Haskell mode, the following code: foo :: forall a. Eq a => a -> a -> a ...
Tikhon Jelvis's user avatar