GNU bug report logs -
#3874
23.1.50; Overlays before-string and after-string does not obey buffer-visibility-spec
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3874 in the body.
You can then email your comments to 3874 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3874
; Package
emacs
.
(Fri, 17 Jul 2009 20:10:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Lennart Borgman <lennart.borgman <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 17 Jul 2009 20:10:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
To show this use this code
;;;; Eval this defun, place point at the end of the buffer and call
;;;; it. It inserts text and an overlay in the buffer.
;;;;
;;;; Play with the different buffer invis specs. It looks like the
;;;; overlay is not affected by the specs.
(defun my-test-inv ()
(interactive)
(let ((b "some invis parts")
(ovl (make-overlay (point) (point))))
(add-text-properties 5 10 '(face secondary-selection
font-lock-face highlight
invisible (my-invis))
b)
(insert ";;;;;;;;;;;; START OF INSERTED TEXT+OVERLAY
;;;;;;;;;;;;;;;;;;;;\n")
(insert ";; Text: " b "\n")
(move-overlay ovl (point-max) (point-max))
(overlay-put ovl 'before-string (propertize "Overlay: " 'face
'secondary-selection))
(overlay-put ovl 'after-string b)
))
;;;;;;; Test these, none affects the overlays `before-string' or `after-string':
;; (setq buffer-invisibility-spec '((my-invis . t) t))
;; (setq buffer-invisibility-spec '((my-invis) t))
;; (setq buffer-invisibility-spec '(t)) ;; This does not work, bug??
;; (setq buffer-invisibility-spec t)
;; (setq buffer-invisibility-spec '(other-invis))
;;;;;;; Delete overlays here:
;; (dolist (ovl (overlays-in (point-min) (point-max))) (delete-overlay ovl))
In GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
of 2009-06-30
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#3874
; Package
emacs
.
(Sun, 19 Aug 2012 16:21:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 3874 <at> debbugs.gnu.org (full text, mbox):
Lennart Borgman <lennart.borgman <at> gmail.com> writes:
> ;;;; Eval this defun, place point at the end of the buffer and call
> ;;;; it. It inserts text and an overlay in the buffer.
> ;;;;
> ;;;; Play with the different buffer invis specs. It looks like the
> ;;;; overlay is not affected by the specs.
Fixed in trunk. Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#3874
; Package
emacs
.
(Sun, 19 Aug 2012 16:27:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 3874 <at> debbugs.gnu.org (full text, mbox):
On Sun, Aug 19, 2012 at 6:19 PM, Chong Yidong <cyd <at> gnu.org> wrote:
> Lennart Borgman <lennart.borgman <at> gmail.com> writes:
>
>> ;;;; Eval this defun, place point at the end of the buffer and call
>> ;;;; it. It inserts text and an overlay in the buffer.
>> ;;;;
>> ;;;; Play with the different buffer invis specs. It looks like the
>> ;;;; overlay is not affected by the specs.
>
> Fixed in trunk. Thanks.
Thanks.
bug closed, send any further explanations to
3874 <at> debbugs.gnu.org and Lennart Borgman <lennart.borgman <at> gmail.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 19 Feb 2013 02:01:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 19 Mar 2013 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 47 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.