all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to change overlay arrow position silently?
@ 2009-08-02 13:01 Dmitry Dzhus
  2009-08-02 13:57 ` Johan Bockgård
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Dzhus @ 2009-08-02 13:01 UTC (permalink / raw)
  To: emacs-devel

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^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-08-10  2:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-02 13:01 How to change overlay arrow position silently? Dmitry Dzhus
2009-08-02 13:57 ` Johan Bockgård
2009-08-03  0:14   ` Juri Linkov
2009-08-04 17:38     ` Stefan Monnier
2009-08-09 22:55       ` Juri Linkov
2009-08-10  2:41         ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.