From unknown Sat Aug 16 11:42:59 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3948: 23.1.50; Please mark list-colors buffer unmodified Reply-To: Lennart Borgman , 3948@debbugs.gnu.org Resent-From: Lennart Borgman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 27 Jul 2009 16:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3948 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124871194519673 (code B ref -1); Mon, 27 Jul 2009 16:30:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 27 Jul 2009 16:25:45 +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.9 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6RGPf6q019665 for ; Mon, 27 Jul 2009 09:25:42 -0700 Received: from mx10.gnu.org ([199.232.76.166]:60713) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MVT1A-0008T1-OZ for emacs-pretest-bug@gnu.org; Mon, 27 Jul 2009 12:25:40 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MVT1A-00073L-5h for emacs-pretest-bug@gnu.org; Mon, 27 Jul 2009 12:25:40 -0400 Received: from an-out-0708.google.com ([209.85.132.247]:29982) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MVT19-000739-Pw for emacs-pretest-bug@gnu.org; Mon, 27 Jul 2009 12:25:39 -0400 Received: by an-out-0708.google.com with SMTP id b6so2876485ana.21 for ; Mon, 27 Jul 2009 09:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Xuh89zqnza7QP8N22YCw4FJQGJvy8VTpk5c/+mJjX2A=; b=ki0I6pBFnpfG93+tH53sRDVRXvbRImwUatTuLcCq0PEdzS+dhp4L6dMlIBpKoFInW3 ND4uWrP0XHzK3ENUL9Gfvtl5tkY5+QLfJI/JiPDhRuiJBX9M/B2DSt0+bTYE4BbigJ55 hKLIos6cLd5ydIbLdNFnaFVRy99rwlziVDeUo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Pus4J7KZPBQIZl7o/64f7yIR1V7KZmEM9hetswbsvk2UeJi2+3PNoUc77hcL6xUqBh thIxXEKL9mpMwHqIHKdFcxaPD7eiSDnm65UbHAzwQ668e8yowdfldL0eLEY1pNaFm8/7 gvbIw67TiU5Wht/VO6Tgp92c2QVszf5BYB8dY= MIME-Version: 1.0 Received: by 10.100.127.2 with SMTP id z2mr8556313anc.75.1248711939138; Mon, 27 Jul 2009 09:25:39 -0700 (PDT) Date: Mon, 27 Jul 2009 18:25:39 +0200 Message-ID: From: Lennart Borgman To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) It is rather annoying that it is marked as modified. Perhaps there are more buffers that are marked modified but are not that? 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' From unknown Sat Aug 16 11:42:59 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3948: 23.1.50; Please mark list-colors buffer unmodified Reply-To: Juri Linkov , 3948@debbugs.gnu.org Resent-From: Juri Linkov Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 04 Aug 2009 22:05:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3948 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3948-submit@emacsbugs.donarmstrong.com id=B3948.124942318523722 (code B ref 3948); Tue, 04 Aug 2009 22:05:05 +0000 Received: (at 3948) by emacsbugs.donarmstrong.com; 4 Aug 2009 21:59:45 +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=-2.5 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mx1.starman.ee (smtp-out1.starman.ee [85.253.0.3]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n74LxdwC023711 for <3948@emacsbugs.donarmstrong.com>; Tue, 4 Aug 2009 14:59:41 -0700 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Received: from mail.starman.ee (82.131.70.102.cable.starman.ee [82.131.70.102]) by mx1.starman.ee (Postfix) with ESMTP id 255FC3F417C; Wed, 5 Aug 2009 00:59:32 +0300 (EEST) From: Juri Linkov To: Lennart Borgman Cc: 3948@debbugs.gnu.org Organization: JURTA References: Date: Wed, 05 Aug 2009 00:33:51 +0300 In-Reply-To: (Lennart Borgman's message of "Mon, 27 Jul 2009 18:25:39 +0200") Message-ID: <87fxc7b6rw.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > It is rather annoying that it is marked as modified. Perhaps there are > more buffers that are marked modified but are not that? `list-colors-display' is non-standard since it outputs the buffer's content in `temp-buffer-show-hook' to be able to align hex numbers at the window's right edge. This can be fixed by restoring the `modified' flag explicitly: Index: lisp/facemenu.el =================================================================== RCS file: /sources/emacs/emacs/lisp/facemenu.el,v retrieving revision 1.108 diff -c -r1.108 facemenu.el *** lisp/facemenu.el 18 Apr 2009 13:50:23 -0000 1.108 --- lisp/facemenu.el 4 Aug 2009 21:32:16 -0000 *************** *** 493,499 **** ;; to get the right value of window-width in list-colors-print ;; after the buffer is displayed. (add-hook 'temp-buffer-show-hook ! (lambda () (list-colors-print list)) nil t))))) (defun list-colors-print (list) (dolist (color list) --- 574,584 ---- ;; to get the right value of window-width in list-colors-print ;; after the buffer is displayed. (add-hook 'temp-buffer-show-hook ! (lambda () ! (set-buffer-modified-p ! (prog1 (buffer-modified-p) ! (list-colors-print list)))) ! nil t))))) (defun list-colors-print (list) (dolist (color list) -- Juri Linkov http://www.jurta.org/emacs/ From unknown Sat Aug 16 11:42:59 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Lennart Borgman Subject: bug#3948 closed by Chong Yidong (Re: bug#3948: 23.1.50; Please mark list-colors buffer unmodified) Message-ID: References: <871vkje2tm.fsf@stupidchicken.com> X-Emacs-PR-Message: they-closed 3948 X-Emacs-PR-Package: emacs Reply-To: 3948@debbugs.gnu.org Date: Sat, 31 Oct 2009 20:25:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1257020705-27426-1" This is a multi-part message in MIME format... ------------=_1257020705-27426-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #3948: 23.1.50; Please mark list-colors buffer unmodified It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 3948: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3948 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1257020705-27426-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3948-done) by emacsbugs.donarmstrong.com; 31 Oct 2009 20:17:00 +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=-1.7 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po30.its.yale.edu (pantheon-po30.its.yale.edu [130.132.50.4]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9VKGw5Q026656 for <3948-done@emacsbugs.donarmstrong.com>; Sat, 31 Oct 2009 13:17:00 -0700 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po30.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9VKGrZP016872 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 31 Oct 2009 16:16:53 -0400 Received: by furry (Postfix, from userid 1000) id 4BC2BC070; Sat, 31 Oct 2009 16:16:53 -0400 (EDT) From: Chong Yidong To: Juri Linkov Cc: Lennart Borgman , 3948-done@debbugs.gnu.org Subject: Re: bug#3948: 23.1.50; Please mark list-colors buffer unmodified Date: Sat, 31 Oct 2009 16:16:53 -0400 Message-ID: <871vkje2tm.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > `list-colors-display' is non-standard since it outputs the buffer's > content in `temp-buffer-show-hook' to be able to align hex numbers > at the window's right edge. This can be fixed by restoring the > `modified' flag explicitly: I've checked in your patch, thanks. ------------=_1257020705-27426-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 27 Jul 2009 16:25:45 +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.9 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6RGPf6q019665 for ; Mon, 27 Jul 2009 09:25:42 -0700 Received: from mx10.gnu.org ([199.232.76.166]:60713) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MVT1A-0008T1-OZ for emacs-pretest-bug@gnu.org; Mon, 27 Jul 2009 12:25:40 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MVT1A-00073L-5h for emacs-pretest-bug@gnu.org; Mon, 27 Jul 2009 12:25:40 -0400 Received: from an-out-0708.google.com ([209.85.132.247]:29982) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MVT19-000739-Pw for emacs-pretest-bug@gnu.org; Mon, 27 Jul 2009 12:25:39 -0400 Received: by an-out-0708.google.com with SMTP id b6so2876485ana.21 for ; Mon, 27 Jul 2009 09:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Xuh89zqnza7QP8N22YCw4FJQGJvy8VTpk5c/+mJjX2A=; b=ki0I6pBFnpfG93+tH53sRDVRXvbRImwUatTuLcCq0PEdzS+dhp4L6dMlIBpKoFInW3 ND4uWrP0XHzK3ENUL9Gfvtl5tkY5+QLfJI/JiPDhRuiJBX9M/B2DSt0+bTYE4BbigJ55 hKLIos6cLd5ydIbLdNFnaFVRy99rwlziVDeUo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Pus4J7KZPBQIZl7o/64f7yIR1V7KZmEM9hetswbsvk2UeJi2+3PNoUc77hcL6xUqBh thIxXEKL9mpMwHqIHKdFcxaPD7eiSDnm65UbHAzwQ668e8yowdfldL0eLEY1pNaFm8/7 gvbIw67TiU5Wht/VO6Tgp92c2QVszf5BYB8dY= MIME-Version: 1.0 Received: by 10.100.127.2 with SMTP id z2mr8556313anc.75.1248711939138; Mon, 27 Jul 2009 09:25:39 -0700 (PDT) Date: Mon, 27 Jul 2009 18:25:39 +0200 Message-ID: Subject: 23.1.50; Please mark list-colors buffer unmodified From: Lennart Borgman To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) It is rather annoying that it is marked as modified. Perhaps there are more buffers that are marked modified but are not that? 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' ------------=_1257020705-27426-1--