From: Hendrik Tews <hendrik@askra.de>
To: 9663@debbugs.gnu.org
Subject: bug#9663: 23.2; feature wish: put priority on vcursor overlay
Date: Mon, 03 Oct 2011 21:48:30 +0200 [thread overview]
Message-ID: <87hb3p7t69.fsf@gromit.tews.net> (raw)
Hi,
the vcursor is invisible in the locked regions of Proof General,
because the overlay of the locked region has priority 100 and the
vcursor overlay has no priority set.
Below I attach a patch that adds a defcustom
vcursor-overlay-priority to the vcursor package, which fixes this
problem. (I hereby assign copyright in this patch to the emacs
project/FSF.)
Bye,
Hendrik Tews
*** vcursor-23.2.el 2011-10-03 21:33:10.000000000 +0200
--- vcursor.el 2011-10-03 21:29:59.000000000 +0200
*************** scrolling set this. It is used by the `
*** 508,513 ****
--- 508,521 ----
:type 'boolean
:group 'vcursor)
+ (defcustom vcursor-overlay-priority 500
+ "Priority of the overlay that symbolizes the vcursor.
+ Increase this value if the vcursor becomes invisible when moving
+ into other specifically colored regions of text."
+ :type 'integer
+ :group 'vcursor
+ :version "23.4")
+
(defvar vcursor-temp-goal-column nil
"Keeps track of temporary goal columns for the virtual cursor.")
*************** another window. With LEAVE-W, use the c
*** 657,663 ****
(or window-system
(display-color-p)
(overlay-put vcursor-overlay 'before-string vcursor-string))
! (overlay-put vcursor-overlay 'face 'vcursor))
(or leave-w (vcursor-find-window nil t))
;; vcursor-window now contains the right buffer
(or (pos-visible-in-window-p pt vcursor-window)
--- 665,672 ----
(or window-system
(display-color-p)
(overlay-put vcursor-overlay 'before-string vcursor-string))
! (overlay-put vcursor-overlay 'face 'vcursor)
! (overlay-put vcursor-overlay 'priority vcursor-overlay-priority))
(or leave-w (vcursor-find-window nil t))
;; vcursor-window now contains the right buffer
(or (pos-visible-in-window-p pt vcursor-window)
next reply other threads:[~2011-10-03 19:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-03 19:48 Hendrik Tews [this message]
2011-10-06 4:10 ` bug#9663: 23.2; feature wish: put priority on vcursor overlay Kevin Rodgers
2011-11-01 8:57 ` Hendrik Tews
2011-11-01 19:59 ` Stefan Monnier
2011-11-01 21:23 ` Hendrik Tews
2011-11-02 1:19 ` Stefan Monnier
2011-11-02 7:37 ` Hendrik Tews
2012-04-11 11:35 ` Lars Magne Ingebrigtsen
2012-04-11 11:54 ` Hendrik Tews
2012-04-11 12:22 ` Eli Zaretskii
2012-04-11 13:25 ` Hendrik Tews
2012-04-11 13:43 ` Stefan Monnier
2012-04-11 14:14 ` Eli Zaretskii
2012-04-11 14:27 ` Lars Magne Ingebrigtsen
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=87hb3p7t69.fsf@gromit.tews.net \
--to=hendrik@askra.de \
--cc=9663@debbugs.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.