From: Dmitry Dzhus <dima@sphinx.net.ru>
To: emacs-devel@gnu.org
Subject: How to change overlay arrow position silently?
Date: Sun, 02 Aug 2009 17:01:28 +0400 [thread overview]
Message-ID: <87ljm2nzdj.fsf@sphinx.net.ru> (raw)
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
む
next reply other threads:[~2009-08-02 13:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-02 13:01 Dmitry Dzhus [this message]
2009-08-02 13:57 ` How to change overlay arrow position silently? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ljm2nzdj.fsf@sphinx.net.ru \
--to=dima@sphinx.net.ru \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.