unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 1013@emacsbugs.donarmstrong.com
Subject: bug#1013: 23.0.60; permanent-local not honored for word-wrap
Date: Mon, 22 Sep 2008 20:11:29 +0200	[thread overview]
Message-ID: <48D7DFD1.3040904@gmail.com> (raw)
In-Reply-To: <jwviqsohyxl.fsf-monnier+emacsbugreports@gnu.org>

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".






  reply	other threads:[~2008-09-22 18:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwvmyi07tgx.fsf-monnier+emacsbugreports@gnu.org>
2008-09-21 20:31 ` bug#1013: 23.0.60; permanent-local not honored for word-wrap Lennart Borgman (gmail)
2008-09-21 22:25   ` Lennart Borgman (gmail)
2008-09-21 23:13     ` Lennart Borgman (gmail)
2008-09-22  3:35   ` bug#1013: marked as done (23.0.60; permanent-local not honored for word-wrap) Emacs bug Tracking System
2008-09-22 15:59     ` martin rudalics
2008-09-23  4:30   ` Emacs bug Tracking System
     [not found] ` <48D7ADA2.4030605@gmail.com>
2008-09-22 17:38   ` bug#1013: 23.0.60; permanent-local not honored for word-wrap Stefan Monnier
2008-09-22 18:11     ` Lennart Borgman (gmail) [this message]
2008-09-23  4:30     ` Processed: " Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48D7DFD1.3040904@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=1013@emacsbugs.donarmstrong.com \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).