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#1013: marked as done (23.0.60; permanent-local not honored for word-wrap) Date: Mon, 22 Sep 2008 21:30:09 -0700 Message-ID: References: <48D7ADA2.4030605@gmail.com> <48D6AF35.7070208@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1222144209-11228-0" X-Trace: ger.gmane.org 1222145430 30349 80.91.229.12 (23 Sep 2008 04:50:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2008 04:50:30 +0000 (UTC) To: "Lennart Borgman (gmail)" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 23 06:51:27 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 1Khzry-0008BK-0y for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Sep 2008 06:51:26 +0200 Original-Received: from localhost ([127.0.0.1]:59939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Khzqw-0008O4-CS for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Sep 2008 00:50:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Khzqb-0008IJ-PN for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 00:50:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Khzqa-0008Gx-0G for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 00:50:00 -0400 Original-Received: from [199.232.76.173] (port=38056 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhzqZ-0008Go-Q7 for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 00:49:59 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50054) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KhzqZ-0002Ce-0P for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 00:49:59 -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 m8N4nrYl015780; Mon, 22 Sep 2008 21:49:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8N4U9pR011419; Mon, 22 Sep 2008 21:30:09 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1013 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:20699 Archived-At: This is a multi-part message in MIME format... ------------=_1222144209-11228-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Mon, 22 Sep 2008 16:37:22 +0200 with message-id <48D7ADA2.4030605@gmail.com> and subject line Re: bug#1013: 23.0.60; permanent-local not honored for wor= d-wrap has caused the Emacs bug report #1013, regarding 23.0.60; permanent-local not honored for word-wrap 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 1013: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1013 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1222144209-11228-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=-7.4 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Sep 2008 20:32:03 +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 m8LKW0V0021988 for ; Sun, 21 Sep 2008 13:32:01 -0700 Received: from mx10.gnu.org ([199.232.76.166]:53041) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KhVZ8-00009S-FW for emacs-pretest-bug@gnu.org; Sun, 21 Sep 2008 16:29:58 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KhVb2-0004St-8i for emacs-pretest-bug@gnu.org; Sun, 21 Sep 2008 16:31:59 -0400 Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:56955) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KhVb1-0004SS-NP for emacs-pretest-bug@gnu.org; Sun, 21 Sep 2008 16:31:56 -0400 Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:65383 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KhVaz-0002Hy-61 for emacs-pretest-bug@gnu.org; Sun, 21 Sep 2008 22:31:54 +0200 Message-ID: <48D6AF35.7070208@gmail.com> Date: Sun, 21 Sep 2008 22:31:49 +0200 From: "Lennart Borgman (gmail)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: emacs-pretest-bug@gnu.org Subject: 23.0.60; permanent-local not honored for word-wrap X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080920-0, 2008-09-20), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1KhVaz-0002Hy-61. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KhVaz-0002Hy-61 d015772b5cc168d79e0f7b57f9668120 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!) In a new buffer evaluate this: (put 'word-wrap 'permanent-local t) (setq word-wrap t) (kill-all-local-variables) and then look at word-wrap. It is nil, but it should be t. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-09-18 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' ------------=_1222144209-11228-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=-7.4 required=4.0 tests=AWL,BAYES_00,FVGT_m_MULTI_ODD, HAS_BUG_NUMBER,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1013-done) by emacsbugs.donarmstrong.com; 23 Sep 2008 04:23:38 +0000 Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8N4NZ8E009601 for <1013-done@emacsbugs.donarmstrong.com>; Mon, 22 Sep 2008 21:23:36 -0700 Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:61727 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KhmXx-0001kb-8Q; Mon, 22 Sep 2008 16:37:54 +0200 Message-ID: <48D7ADA2.4030605@gmail.com> Date: Mon, 22 Sep 2008 16:37:22 +0200 From: "Lennart Borgman (gmail)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Stefan Monnier CC: 1013-done@emacsbugs.donarmstrong.com Subject: Re: bug#1013: 23.0.60; permanent-local not honored for word-wrap References: <48D6AF35.7070208@gmail.com> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080921-0, 2008-09-21), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1KhmXx-0001kb-8Q. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KhmXx-0001kb-8Q b3801c59a3159b63e360d824b702f7cd Stefan Monnier wrote: >> (put 'word-wrap 'permanent-local t) >> (setq word-wrap t) >> (kill-all-local-variables) > >> and then look at word-wrap. It is nil, but it should be t. > > Why should it? word-wrap is automatically made local, so the `setq' is > really like (set (make-local-variable 'word-wrap) t), thus not changing > the global value at which is you'll be looking in the end. I just tested with truncate-lines. Same bug as with word-wrap. Both `word-wrap' and `truncate-lines' are defined using DEFVAR_PER_BUFFER. My guess is that there is a bug in DEFVAR_PER_BUFFER or something related to that. Stefan, could it be that you forgot about `permanent-local' when you implemented this? ------------=_1222144209-11228-0--