From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.bugs Subject: bug#1013: 23.0.60; permanent-local not honored for word-wrap Date: Mon, 22 Sep 2008 20:11:29 +0200 Message-ID: <48D7DFD1.3040904@gmail.com> References: <48D6AF35.7070208@gmail.com> <48D7ADA2.4030605@gmail.com> Reply-To: "Lennart Borgman \(gmail\)" , 1013@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222145420 30325 80.91.229.12 (23 Sep 2008 04:50:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2008 04:50:20 +0000 (UTC) Cc: 1013@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 23 06:51:17 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 1Khzrm-00089p-LO for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Sep 2008 06:51:14 +0200 Original-Received: from localhost ([127.0.0.1]:59849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Khzqi-0008Jj-S4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Sep 2008 00:50:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Khzqb-0008IF-MP 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 1KhzqZ-0008GH-BG for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 00:49:59 -0400 Original-Received: from [199.232.76.173] (port=38053 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhzqY-0008Fm-Ri for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 00:49:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50051) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KhzqY-0002CK-2u for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 00:49:58 -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 m8N4nrYh015780; 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 m8N4U392010958; Mon, 22 Sep 2008 21:30:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 23 Sep 2008 04:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1013 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1013-submit@emacsbugs.donarmstrong.com id=B1013.12221438209612 (code B ref 1013); Tue, 23 Sep 2008 04:30:03 +0000 Original-Received: (at 1013) by emacsbugs.donarmstrong.com; 23 Sep 2008 04:23:40 +0000 Original-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 m8N4NZ8F009601 for <1013@emacsbugs.donarmstrong.com>; Mon, 22 Sep 2008 21:23:38 -0700 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64567 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Khpsg-0002jR-9P; Mon, 22 Sep 2008 20:11:31 +0200 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 In-Reply-To: X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 080922-0, 2008-09-22), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1Khpsg-0002jR-9P. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Khpsg-0002jR-9P 17804ea05095b6110819f046c05be3e3 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 23 Sep 2008 00:49:59 -0400 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:20698 Archived-At: Stefan Monnier wrote: > reopen 1013 > thanks > >> 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. > > Duh, sorry I misread kill-local-variable for kill-all-local-variables > (i.e. I didn't read what you wrote, but what I thought you'd written). > > Yes, it's a problem with the variables defined by DEFVAR_PER_BUFFER. > Their semantics is subtly different from the ones declared with > make-variable-buffer-local. Thanks. Are there any principal reason that 'permanent-local is not honored? BTW: Should not variables like `word-wrap' be permanent-local by default? It looks to me like they are more "per buffer/file" than "per major mode".