Skip to main content

Questions tagged [marker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

How to use markers as keys in a hash map?

I'm creating a hash map and I'd like to use markers as keys. I set the hash map equality test to "equal", but the last line from the below code is returning ("bye" "fly") ...
rclark's user avatar
  • 113
2 votes
0 answers

Do markers need to be explicitly cleared to be garbage collected?

When creating markers, should code that may fail (a user defined function for example) clean-up after it's self? So for example, new markers are created, the function of unknown origin is called, on ...
ideasman42's user avatar
  • 8,846
3 votes
1 answer

Store the cursor position relative to surrounding text, make edits, then insert text at the stored location

I have some insert functions that take some time (e.g., doing network IO). I like to store the current point position, and then insert the text at the stored point. This should be robust to some small ...
HappyFace's user avatar
  • 830
1 vote
1 answer

Searching text between markers as in Nota Bene

The Word Processor Nota Bene has a feature which I would like if possible to emulate within Emacs. One can insert into a document non-printing markers which are then used to delineate areas of text or ...
Edman's user avatar
  • 1,229
0 votes
1 answer

Set colour/font for markers [duplicate]

Is it possible to set the colour or font of markers (e.g. the ones set by gud in gud-display-line by using make-marker). The theme I am using shows markers in a difficult-to-see light gray. I would ...
Mark's user avatar
  • 440
1 vote
1 answer

Interactive: region beginning/end as markers

When I need a function to operate on a region I do, for example: (defun myfunction (B E) (interactive "r") (let ((b (make-marker)) (e (make-marker))) (set-marker b B) (set-marker e E) ...
Gabriele's user avatar
  • 1,642
1 vote
0 answers

How to get entry text and property value in agenda? [closed]

What is the lisp function to get some entry text (excluding descendant items) for the highlighted item in the org-agenda? org-agenda-get-some-entry-text seems to be promising. I have called it like ...
Alexander Shcheblikin's user avatar
3 votes
1 answer

How to delete a marker

Q:  How can I delete a marker after it has been created? I see how to create markers and how to move markers, but I see nothing in the manual about how to delete them: Creating:
lawlist's user avatar
  • 19.2k