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#76: marked as done (replacing display specification fails to preserve box around replaced text) Date: Sat, 20 Sep 2008 14:55:05 -0700 Message-ID: References: <8763oqze24.fsf@cyd.mit.edu> <201bac3a0803220852k82b944eh78a46bb9cfcf415f@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1221947705-15643-0" X-Trace: ger.gmane.org 1221948471 8747 80.91.229.12 (20 Sep 2008 22:07:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Sep 2008 22:07:51 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 21 00:08:46 2008 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 1KhAdC-0000Pn-1G for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Sep 2008 00:08:46 +0200 Original-Received: from localhost ([127.0.0.1]:44204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhAcA-0004gB-Dl for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Sep 2008 18:07:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KhAc7-0004g5-KB for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2008 18:07:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KhAc6-0004ft-N3 for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2008 18:07:39 -0400 Original-Received: from [199.232.76.173] (port=58780 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhAc6-0004fq-K4 for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2008 18:07:38 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57105) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KhAc5-0005Yz-Pc for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2008 18:07:38 -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 m8KM7ZM4021267; Sat, 20 Sep 2008 15:07:36 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8KLt5cL015834; Sat, 20 Sep 2008 14:55:05 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 76 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:20678 Archived-At: This is a multi-part message in MIME format... ------------=_1221947705-15643-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 20 Sep 2008 17:45:55 -0400 with message-id <8763oqze24.fsf@cyd.mit.edu> and subject line Re: replacing display specification fails to preserve box = around replaced text has caused the Emacs bug report #76, regarding replacing display specification fails to preserve box around repl= aced text 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 76: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D76 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1221947705-15643-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=0.0 required=4.0 tests=none autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Mar 2008 16:31:23 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m2MGVKlc014247 for ; Sat, 22 Mar 2008 09:31:21 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApAFAKvQ5EdMCrTo/2dsb2JhbACBW5A4kRiFFQ X-IronPort-AV: E=Sophos;i="4.25,539,1199682000"; d="scan'208";a="16397481" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 22 Mar 2008 12:30:42 -0400 Received: from pastel.home ([76.10.180.232]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id CTA07042 for ; Sat, 22 Mar 2008 12:30:42 -0400 Received: by pastel.home (Postfix, from userid 20848) id CD6597F5D; Sat, 22 Mar 2008 12:30:41 -0400 (EDT) Resent-Message-ID: Resent-To: submit@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-Date: Sat, 22 Mar 2008 12:30:41 -0400 X-Original-To: monnier@iro.umontreal.ca Received: from perlin.iro.umontreal.ca (perlin.iro.umontreal.ca [132.204.24.51]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 2CB502CF9D4 for ; Sat, 22 Mar 2008 11:52:42 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by perlin.iro.umontreal.ca (Postfix) with ESMTP id 850AD148219 for ; Sat, 22 Mar 2008 11:52:37 -0400 (EDT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jd61N-0007KC-4w for monnier@iro.umontreal.ca; Sat, 22 Mar 2008 11:52:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jd61E-0007K6-87 for bug-gnu-emacs@gnu.org; Sat, 22 Mar 2008 11:52:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jd61C-0007Ju-9S for bug-gnu-emacs@gnu.org; Sat, 22 Mar 2008 11:52:27 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jd61C-0007Jr-5r for bug-gnu-emacs@gnu.org; Sat, 22 Mar 2008 11:52:26 -0400 Received: from nf-out-0910.google.com ([64.233.182.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jd61B-0004Rb-FF for bug-gnu-emacs@gnu.org; Sat, 22 Mar 2008 11:52:25 -0400 Received: by nf-out-0910.google.com with SMTP id f5so724716nfh.26 for ; Sat, 22 Mar 2008 08:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=sph2oJdYrEeUypCIpdxMNSNMcSq++XGLkOIs4vfod54=; b=NYrT8aKlo9CLfiRr1piLBpmXhNdPANSBVWJM0q9FryQGOWBQUUftijyZs4HMK9F/LBc7vd0StaluktwNFCmUsylEW9gRvEx+JskyCpR5OIlIbkYcbG3OM3egawBjTZrJ7HkuaSisVorTo7fMFfdIFf/wVxsOZy582G4WCbewagY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=GeSWf5ekLHWfurPKEbDke3nM8m0H8fvgvyTcHZCXFnX/6MBbT8GNiAa3K/0GnBISsRJ6lD4052vz9Bb/3R40Ng3NAJ4nO3yF4VXM1LfZ+Tk+imDqq//NarygKTIOAN33bKKFUvuYQPiSWMnd2EPpeHiNAtZcygyv6C4/lFZmRBk= Received: by 10.78.189.5 with SMTP id m5mr13746666huf.77.1206201143286; Sat, 22 Mar 2008 08:52:23 -0700 (PDT) Received: by 10.78.124.1 with HTTP; Sat, 22 Mar 2008 08:52:23 -0700 (PDT) Message-ID: <201bac3a0803220852k82b944eh78a46bb9cfcf415f@mail.gmail.com> Date: Sat, 22 Mar 2008 16:52:23 +0100 From: "Jonas Bernoulli" To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 6142728a71fdc8c6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: replacing display specification fails to preserve box around replaced text 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: , Sender: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.873, requis 5, BAYES_00 -2.60, RCVD_BY_IP 0.07, RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org When replacing the text at the end of a region that has a face which draws a box around that text, replacing text at the end of that region using a display specification fails to preserve the box around the replaced text. The box above and below the replaced text is shown as expected though. At the beginning of the text all sides of the box are shown as expeced. (progn (insert (propertize "foo" 'face '((:box (:line-width 5 :color "red"))))) (backward-char) (put-text-property (point) (1+ (point)) 'display "*")) results in: +--- |fo* +--- (progn (insert (propertize "foo" 'face '((:box (:line-width 5 :color "red"))))) (backward-char 3) (put-text-property (point) (1+ (point)) 'display "*")) results in: +---+ |*oo| +---+ Both 22.1 and 23.0.60 behave this way. -- Jonas ------------=_1221947705-15643-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=-3.8 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 76-done) by emacsbugs.donarmstrong.com; 20 Sep 2008 21:45:52 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8KLjncF013515 for <76-done@emacsbugs.donarmstrong.com>; Sat, 20 Sep 2008 14:45:50 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 8472857E34B; Sat, 20 Sep 2008 17:45:55 -0400 (EDT) From: Chong Yidong To: "Jonas Bernoulli" Cc: 76-done@emacsbugs.donarmstrong.com Subject: Re: replacing display specification fails to preserve box around replaced text Date: Sat, 20 Sep 2008 17:45:55 -0400 Message-ID: <8763oqze24.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > When replacing the text at the end of a region that has a face which > draws a box around that text, replacing text at the end of that region > using a display specification fails to preserve the box around the > replaced text. The box above and below the replaced text is shown as > expected though. At the beginning of the text all sides of the box are > shown as expeced. > (progn > (insert (propertize "foo" 'face '((:box (:line-width 5 :color "red"))))) > (backward-char) > (put-text-property (point) (1+ (point)) 'display "*")) Thanks for the bug report, and sorry for the delay. I've just checked in a fix into Emacs CVS. ------------=_1221947705-15643-0--