From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#802: marked as done (before-string property has no effect if display property is empty) Date: Sat, 27 Jun 2009 04:30:04 +0000 Message-ID: References: <87d48qb8wr.fsf@stupidchicken.com> <9nfxoqfbn2.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1246077004-13145-0" X-Trace: ger.gmane.org 1246077466 26050 80.91.229.12 (27 Jun 2009 04:37:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jun 2009 04:37:46 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 27 06:37:38 2009 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 1MKPfV-0002ps-HO for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 06:37:37 +0200 Original-Received: from localhost ([127.0.0.1]:54532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKPfU-0003ms-FR for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 00:37:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKPfO-0003ku-B6 for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2009 00:37:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKPfK-0003g4-JM for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2009 00:37:30 -0400 Original-Received: from [199.232.76.173] (port=42730 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKPfK-0003fl-8v for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2009 00:37:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44608) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MKPfJ-0007iX-KE for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2009 00:37:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5R4bNKL014550; Fri, 26 Jun 2009 21:37:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5R4U4F9013154; Fri, 26 Jun 2009 21:30:04 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 802 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:29025 Archived-At: This is a multi-part message in MIME format... ------------=_1246077004-13145-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 27 Jun 2009 00:25:08 -0400 with message-id <87d48qb8wr.fsf@stupidchicken.com> and subject line Re: before-string property has no effect if display proper= ty is empty has caused the Emacs bug report #802, regarding before-string property has no effect if display property is empty 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 owner@emacsbugs.donarmstrong.com immediately.) --=20 802: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D802 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1246077004-13145-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=-13.3 required=4.0 tests=AWL,BAYES_00,HAS_PACKAGE, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at quiet) by emacsbugs.donarmstrong.com; 27 Aug 2008 20:27:26 +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 m7RKRMW4013182 for ; Wed, 27 Aug 2008 13:27:24 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KYRaT-0007iH-3O; Wed, 27 Aug 2008 16:25:53 -0400 From: Glenn Morris To: quiet Subject: before-string property has no effect if display property is empty X-Spook: George W. Bush AK-47 CBNRC industrial intelligence quiche X-Ran: v@k`|.P|0RxgG7W8".,rtWM~/_%"6oZ<_H9t=R"F&9NUSQMh8xM];SbM~q!2laQH\90r(f X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 27 Aug 2008 16:25:53 -0400 Message-ID: <9nfxoqfbn2.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Package: emacs Version: 22.1 Severity: minor (Filing a report for an old item from FOR-RELEASE.) http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-09/msg00094.html http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg01816.html Summary: The documentation leads me to believe that the before-string and display properties of an overlay should be orthogonal. However, the before-string is not displayed if the display property is the empty string. Reproduce by evaluating this code: (let ((buf (get-buffer-create "foo"))) (with-current-buffer buf (display-buffer buf) (erase-buffer) (dolist (o (overlays-in (point-min) (point-max))) (delete-overlay o)) (insert "ABC") (let ((o (make-overlay 2 3)) (s (make-string 3 ?X))) (overlay-put o 'display "") (overlay-put o 'before-string s)))) You will see the 'foo' window pop up and in the window you will see 'AC'. I expected that instead 'AXXXC' would be shown. ------------=_1246077004-13145-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 802-done) by emacsbugs.donarmstrong.com; 27 Jun 2009 04:25:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po31.its.yale.edu (pantheon-po31.its.yale.edu [130.132.50.82]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5R4PGUB012532 for <802-done@emacsbugs.donarmstrong.com>; Fri, 26 Jun 2009 21:25:18 -0700 Received: from furry (WHITAKER-TWO-FOURTEEN.MIT.EDU [18.56.5.214]) (authenticated bits=0) by pantheon-po31.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n5R4PBfO022550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <802-done@emacsbugs.donarmstrong.com>; Sat, 27 Jun 2009 00:25:11 -0400 Received: by furry (Postfix, from userid 1000) id 6025DC09B; Sat, 27 Jun 2009 00:25:08 -0400 (EDT) From: Chong Yidong To: 802-done@emacsbugs.donarmstrong.com Subject: Re: before-string property has no effect if display property is empty Date: Sat, 27 Jun 2009 00:25:08 -0400 Message-ID: <87d48qb8wr.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > The documentation leads me to believe that the before-string and > display properties of an overlay should be orthogonal. However, the > before-string is not displayed if the display property is the empty > string. > (let ((buf (get-buffer-create "foo"))) > (with-current-buffer buf > (display-buffer buf) > (erase-buffer) > (dolist (o (overlays-in (point-min) (point-max))) > (delete-overlay o)) > (insert "ABC") > (let ((o (make-overlay 2 3)) > (s (make-string 3 ?X))) > (overlay-put o 'display "") > (overlay-put o 'before-string s)))) > You will see the 'foo' window pop up and in the window you will see > 'AC'. I expected that instead 'AXXXC' would be shown. This bug is already fixed in current CVS (and in the Emacs 23.1 branch). ------------=_1246077004-13145-0--