GNU bug report logs - #1013
23.0.60; permanent-local not honored for word-wrap

Previous Next

Package: emacs;

Reported by: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>

Date: Sun, 21 Sep 2008 20:40:04 UTC

Severity: normal

Done: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
Subject: bug#1013 closed by Stefan Monnier <monnier <at> iro.umontreal.ca> (Re:
 bug#1013: 23.0.60; permanent-local not honored for word-wrap)
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#1013: 23.0.60; permanent-local not honored for word-wrap

It has been closed by Stefan Monnier <monnier <at> iro.umontreal.ca>.

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 Stefan Monnier <monnier <at> iro.umontreal.ca> by
replying to this email.


-- 
1013: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1013
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>
Cc: 1013-done <at> debbugs.gnu.org
Subject: Re: bug#1013: 23.0.60; permanent-local not honored for word-wrap
Date: Sun, 21 Sep 2008 23:26:15 -0400
>   (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.


        Stefan

[Message part 3 (message/rfc822, inline)]
From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; permanent-local not honored for word-wrap
Date: Sun, 21 Sep 2008 22:31:49 +0200
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'




This bug report was last modified 16 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.