From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1200: marked as done (Two more overlay display bugs) Date: Sun, 19 Oct 2008 14:20:03 -0700 Message-ID: References: <18683.41584.520431.671377@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1224451203-3916-0" X-Trace: ger.gmane.org 1224494511 20241 80.91.229.12 (20 Oct 2008 09:21:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2008 09:21:51 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 11:22:52 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Krfrz-00031R-61 for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Oct 2008 23:31:27 +0200 Original-Received: from localhost ([127.0.0.1]:48474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Krfqt-0000BO-Ul for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Oct 2008 17:30:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Krfql-00008W-D3 for bug-gnu-emacs@gnu.org; Sun, 19 Oct 2008 17:30:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Krfqk-00007m-IT for bug-gnu-emacs@gnu.org; Sun, 19 Oct 2008 17:30:10 -0400 Original-Received: from [199.232.76.173] (port=40780 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Krfqk-00007e-1U for bug-gnu-emacs@gnu.org; Sun, 19 Oct 2008 17:30:10 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58824) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Krfqh-0003vj-Et; Sun, 19 Oct 2008 17:30:08 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9JLU0VY006237; Sun, 19 Oct 2008 14:30:01 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9JLK3JV003978; Sun, 19 Oct 2008 14:20:03 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1200 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21685 Archived-At: This is a multi-part message in MIME format... ------------=_1224451203-3916-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 19 Oct 2008 17:11:12 -0400 with message-id <18683.41584.520431.671377@fencepost.gnu.org> and subject line Re: bug#1200: Two more overlay display bugs has caused the Emacs bug report #1200, regarding Two more overlay display bugs to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1200: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1200 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1224451203-3916-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.5 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Oct 2008 05:03:18 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9J53ETv019853 for ; Sat, 18 Oct 2008 22:03:15 -0700 Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KrQP6-0007UX-Le; Sun, 19 Oct 2008 01:00:36 -0400 From: Richard Stallman Content-Type: text/plain; charset=ISO-8859-15 To: emacs-pretest-bug@gnu.org Subject: Two more overlay display bugs Reply-To: rms@gnu.org Message-Id: Date: Sun, 19 Oct 2008 01:00:36 -0400 Here are bugs that were reported a year ago which I think should not be forgotten. To: bug-gnu-emacs@gnu.org From: Joe Wells Date: Sat, 20 Oct 2007 06:32:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Subject: two display bugs involving interactions between after-string and display properties of adjacent overlays Here are two more display bugs I found while trying to improve the code in tex-fold.el in AUCTeX. These bugs involve interactions between after-string and display properties of adjacent overlays. I'm assuming this macro in my reproduction code below: (defmacro test-in-fresh-buffer-and-window (&rest body) `(progn (delete-other-windows) (kill-buffer (get-buffer-create "xyzzy")) (let ((xyzzy-buf (get-buffer-create "xyzzy"))) (set-buffer xyzzy-buf) (display-buffer xyzzy-buf) ,@body ))) BUG #1: An overlay's after-string property that would appear at the end of the buffer is not displayed, if the same overlay also has a display property and an immediately preceding overlay also has an after-string property. (Putting extra characters at the end of the buffer works around this bug.) Reproduce with this expression: (test-in-fresh-buffer-and-window (insert "AB") (let ((o1 (make-overlay 1 2)) (o2 (make-overlay 2 3))) (overlay-put o1 'after-string "1") (overlay-put o2 'after-string "2") (overlay-put o2 'display "b") )) The above expression should display ?A1b2?. The above expression wrongly actually displays ?A1b?. BUG #2: An overlay's display property and after-string property are not displayed if an immediately following overlay shares the same Lisp string as its display property. (Using two distinct display strings with identical contents works around the bug.) Reproduce with this expression: (test-in-fresh-buffer-and-window (insert "ABCD") (let ((o1 (make-overlay 2 3)) (o2 (make-overlay 3 4)) (s #1=" ")) (overlay-put o1 'after-string "1") (overlay-put o1 'display #1#) (overlay-put o2 'display #1#))) The above expression should display ?A 1 D?. The above expression wrongly actually displays ?A D?. I hope these bug reports are helpful. Joe ====================================================================== In GNU Emacs 22.1.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2007-06-27 on artemis Windowing system distributor `The X.Org Foundation', version 11.0.70000000 configured using `configure '--prefix=/home/jbw/local2' '--enable-debug' '--disable-nls' '--with-x-toolkit=gtk' 'CFLAGS=-O0 -g3 -ggdb'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: jbw value of $LANG: nil locale-coding-system: utf-8 default-enable-multibyte-characters: t Minor modes in effect: TeX-source-specials-mode: t outline-minor-mode: t desktop-save-mode: t url-handler-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t temp-buffer-resize-mode: t size-indication-mode: t line-number-mode: t transient-mark-mode: t ------------=_1224451203-3916-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.2 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1200-done) by emacsbugs.donarmstrong.com; 19 Oct 2008 21:13:53 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9JLDoXV002656 for <1200-done@emacsbugs.donarmstrong.com>; Sun, 19 Oct 2008 14:13:51 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KrfYO-0004Zq-Ir; Sun, 19 Oct 2008 17:11:12 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18683.41584.520431.671377@fencepost.gnu.org> Date: Sun, 19 Oct 2008 17:11:12 -0400 From: Glenn Morris To: 1200-done@emacsbugs.donarmstrong.com Subject: Re: bug#1200: Two more overlay display bugs In-Reply-To: References: X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: magenta X-Ran: ,PO;aXu9jpMJ=Vx0;YJBw^QH&m2x BUG #1: An overlay's after-string property that would appear at the > end of the buffer is not displayed, if the same overlay also has a > display property and an immediately preceding overlay also has an > after-string property. (Putting extra characters at the end of the > buffer works around this bug.) This was fixed in Emacs 22.3. The relevant change is 2008-03-31 Chong Yidong * xdisp.c (next_overlay_string): Don't set overlay_strings_at_end_processed_p if we're currently reading from a display string. > BUG #2: An overlay's display property and after-string property are > not displayed if an immediately following overlay shares the same Lisp > string as its display property. (Using two distinct display strings > with identical contents works around the bug.) I have split this into a separate bug. ------------=_1224451203-3916-0--