Skip to main content

Questions tagged [text-properties]

is for any text property, such as `face`, that Emacs can associate with text. Emacs moves, copies, or displays the text using the text properties, which are specified as name-value pairs along with the text in a special Lisp structure. Emacs uses a special read and print syntax for text properties.

1 vote
2 answers
315 views

I want to run a program and display its output in the echo area (via process-lines, likely), with ANSI-color escape sequences translated into actual colors. The problem is, I can translate escape ...
Kodiologist's user avatar
2 votes
1 answer
165 views

The Emacs occur buffer is editable, but it does not make it easy to delete lines. One normally gets something like this: 2 matches for "Wyk" in buffer: diary 59:%%(diary-anniversary 5 ...
edman's user avatar
  • 1,281
5 votes
1 answer
304 views

Longer version of question: how can I efficiently detect and indicate when emacs is dictation safe? By "dictation safe", I really mean "when can type random printable ASCII characters ...
Krazy Glew's user avatar
0 votes
1 answer
44 views

When I try to use a mapcar to extract the strings like (mapcar 'car evil-ex-history) it creates an error because of the # character preceding the list. Copying the expression, deleting the # character ...
vfclists's user avatar
  • 1,501
0 votes
1 answer
66 views

I'm trying to use query-replace in Emacs to replace a string with another string that has specific text properties. Specifically, in this example, I want to replace occurrences of "foo" with ...
Gabriele's user avatar
  • 1,720
0 votes
1 answer
56 views

The context I'm editing some text files that contain paragraphs of text. Some of these paragraphs are not correctly separated (paragraphs are separated with two newlines), so I need to manually edit ...
Rodrigo Morales's user avatar
1 vote
1 answer
158 views

When using the propertize function alone on an entire string, it works. How to return a string, after changing its different sections separately with add-face-text-property (probably later repeatedly ...
Herman's user avatar
  • 77
1 vote
1 answer
97 views

The text to be processed has special words marked with a special font. The required text is copied to the clipboard with the mouse (from firefox). The text is pasted into the clipboard emacs("...
uanr81's user avatar
  • 169

15 30 50 per page
1
2 3 4 5
10