emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to change overlay arrow position silently?


From: Dmitry Dzhus
Subject: How to change overlay arrow position silently?
Date: Sun, 02 Aug 2009 17:01:28 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

How are you gentlemen.

In the package I'm working on, gdb-mi, overlay arrows are used in
several GDB buffers to mark current stack frame and current thread, just
like GUD uses overlay arrow to mark current line of program source.

Looks like changing overlay-arrow-position produces «Mark set» message,
which is undesirable for me because user may miss some notifications
provided by my code (like «Switched to thread #5»).

(mapc
 (lambda (n)
   (goto-line n)
   (set-marker overlay-arrow-position
               (point-marker)))
 '(1 2 3 4 5))
=>
Mark set [5 times]

Is there any way to inhibit «Mark set» message while changing overlay
arrow position? I see that push-mark has nomsg argument for this, but it
works only for The Mark, not any marker.
-- 
Happy Hacking.

http://sphinx.net.ru

reply via email to

[Prev in Thread] Current Thread [Next in Thread]