GNU logs - #8914, boring messages


Message sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8914: 23.3; Overlay overlapping buffer-invisibility-spec behaves oddly
Resent-From: David Aspinall <David.Aspinall@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 21 Jun 2011 16:17:02 +0000
Resent-Message-ID: <handler.8914.B.130867300425322 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 8914
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 8914 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.130867300425322
          (code B ref -1); Tue, 21 Jun 2011 16:17:02 +0000
Received: (at submit) by debbugs.gnu.org; 21 Jun 2011 16:16:44 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1QZ3d3-0006aJ-ON
	for submit <at> debbugs.gnu.org; Tue, 21 Jun 2011 12:16:42 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <David.Aspinall@HIDDEN>) id 1QZ3L0-0004bv-SR
	for submit <at> debbugs.gnu.org; Tue, 21 Jun 2011 11:58:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <David.Aspinall@HIDDEN>) id 1QZ3Ku-00047s-3d
	for submit <at> debbugs.gnu.org; Tue, 21 Jun 2011 11:57:57 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
	T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:46171)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <David.Aspinall@HIDDEN>) id 1QZ3Kt-00047k-PH
	for submit <at> debbugs.gnu.org; Tue, 21 Jun 2011 11:57:55 -0400
Received: from eggs.gnu.org ([140.186.70.92]:57211)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <David.Aspinall@HIDDEN>) id 1QZ3Kr-0003pA-Cp
	for bug-gnu-emacs@HIDDEN; Tue, 21 Jun 2011 11:57:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <David.Aspinall@HIDDEN>) id 1QZ3Kp-00047I-8l
	for bug-gnu-emacs@HIDDEN; Tue, 21 Jun 2011 11:57:53 -0400
Received: from nougat.ucs.ed.ac.uk ([129.215.13.205]:33963)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <David.Aspinall@HIDDEN>) id 1QZ3Ko-000478-Nb
	for bug-gnu-emacs@HIDDEN; Tue, 21 Jun 2011 11:57:51 -0400
Received: from dandy.inf.ed.ac.uk (dandy.inf.ed.ac.uk [129.215.33.80])
	by nougat.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id p5LFvWd5028280;
	Tue, 21 Jun 2011 16:57:32 +0100 (BST)
Received: from [10.150.20.53] ([193.1.104.2]) (authenticated bits=0)
	by dandy.inf.ed.ac.uk (8.13.8/8.13.8) with ESMTP id p5LFvWD3031942
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
	Tue, 21 Jun 2011 16:57:33 +0100
From: David Aspinall <David.Aspinall@HIDDEN>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 21 Jun 2011 16:57:32 +0100
Message-Id: <0E1AAFEC-4C0B-4A37-993C-8CD0133BC5C8@HIDDEN>
Mime-Version: 1.0
X-Mailer: Apple Mail (2.1084)
X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk
	with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus
Content-Disposition: inline
X-Scanned-By: MIMEDefang 2.60 on 129.215.13.205
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -6.6 (------)
X-Mailman-Approved-At: Tue, 21 Jun 2011 12:16:35 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.6 (------)

Insert the text below into a buffer,

   M-x eval-buffer RET
   M-x toggle-invis

The smaller area remains visible, although there is a surrounding
overlay which has an invisibility spec which should cover the revealed
characters.=20=20

I suppose this is debatable, but intuitively I would expect the whole
larger region to be made invisible.

It seems similar to the case where faces properties are not merged when
one might expect them to be, e.g. see how mouse highlighting in *info*
buffer obliterates underline and colouring of text underneath.  See report
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4911 (how can I find out the
status of this?)

 - David Aspinall


-------- snip ------

;;;
;;; =3D=3D=3D Test area for invisibility =3D=3D=3D
;;;
(defvar vis nil)

(overlay-put (make-overlay 18 22) 'invisible 'smaller)
(overlay-put (make-overlay 9 43) 'invisible 'larger)

(defun toggle-invis ()
  (interactive)
  (if vis=20
      (add-to-invisibility-spec '(larger . t))
    (remove-from-invisibility-spec '(larger . t)))
  (setq vis (not vis)))


In GNU Emacs 23.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.3)
 of 2011-03-22 on x86-15.phx2.fedoraproject.org
Windowing system distributor `Fedora Project', version 11.0.10905000
configured using `configure  '--build=3Dx86_64-redhat-linux-gnu' '--host=3D=
x86_64-red
hat-linux-gnu' '--program-prefix=3D' '--disable-dependency-tracking' '--pre=
fix=3D/usr
' '--exec-prefix=3D/usr' '--bindir=3D/usr/bin' '--sbindir=3D/usr/sbin' '--s=
ysconfdir=3D/e
tc' '--datadir=3D/usr/share' '--includedir=3D/usr/include' '--libdir=3D/usr=
/lib64' '--l
ibexecdir=3D/usr/libexec' '--localstatedir=3D/var' '--sharedstatedir=3D/var=
/lib' '--man
dir=3D/usr/share/man' '--infodir=3D/usr/share/info' '--with-dbus' '--with-g=
if' '--wit
h-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' =
'--wit
h-x-toolkit=3Dgtk' 'build_alias=3Dx86_64-redhat-linux-gnu' 'host_alias=3Dx8=
6_64-redhat-lin
ux-gnu' 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=
=3D2 -fexcept
ions -fstack-protector --param=3Dssp-buffer-size=3D4 -m64 -mtune=3Dgeneric''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB.utf8
  value of $XMODIFIERS: @im=3Dnone
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Features:
(shadow sort mail-extr message idna sendmail ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util
netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock
sha1 sha1-el hex-util hashcash mail-utils emacsbug pp parse-time vc-cvs
tar-mode jka-compr tabify man assoc make-mode preview prv-emacs byte-opt
warnings tex-bar tex-buf toolbar-x noutline outline font-latex bytecomp
byte-compile latexenc multi-isearch dired-aux latex edmacro kmacro
tex-style tex advice advice-preload bibtex dired regexp-opt
vc-dispatcher vc-svn help-mode easymenu view help-fns ansi-color shell
comint ring proof-site proof-autoloads pg-vars paren cus-start cus-load
preview-latex emacs-goodies-loaddefs easy-mmode tex-site auto-loads
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)


--=20
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: David Aspinall <David.Aspinall@HIDDEN>
Subject: bug#8914: Acknowledgement (23.3; Overlay overlapping
 buffer-invisibility-spec behaves oddly)
Message-ID: <handler.8914.B.130867300425322.ack <at> debbugs.gnu.org>
References: <0E1AAFEC-4C0B-4A37-993C-8CD0133BC5C8@HIDDEN>
X-Gnu-PR-Message: ack 8914
X-Gnu-PR-Package: emacs
Reply-To: 8914 <at> debbugs.gnu.org
Date: Tue, 21 Jun 2011 16:17:02 +0000

Thank you for filing a new bug report with GNU.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 8914 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
8914: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8914
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.