GNU logs - #15658, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#15658: 24.1; (wishlist) Easy way to make a file-local variable also permanent-local
Resent-From: yary <not.com@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 19 Oct 2013 22:16:02 +0000
Resent-Message-ID: <handler.15658.B.13822209379238 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 15658
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 15658 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.13822209379238
          (code B ref -1); Sat, 19 Oct 2013 22:16:02 +0000
Received: (at submit) by debbugs.gnu.org; 19 Oct 2013 22:15:37 +0000
Received: from localhost ([127.0.0.1]:58325 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VXeo4-0002Ow-GV
	for submit <at> debbugs.gnu.org; Sat, 19 Oct 2013 18:15:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35153)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <not.com@HIDDEN>) id 1VXeo1-0002Oe-SX
 for submit <at> debbugs.gnu.org; Sat, 19 Oct 2013 18:15:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <not.com@HIDDEN>) id 1VXenv-0001uZ-I1
 for submit <at> debbugs.gnu.org; Sat, 19 Oct 2013 18:15:28 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:52250)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <not.com@HIDDEN>) id 1VXenv-0001uV-F9
 for submit <at> debbugs.gnu.org; Sat, 19 Oct 2013 18:15:27 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36875)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <not.com@HIDDEN>) id 1VXenu-0007xr-FF
 for bug-gnu-emacs@HIDDEN; Sat, 19 Oct 2013 18:15:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <not.com@HIDDEN>) id 1VXent-0001uJ-F7
 for bug-gnu-emacs@HIDDEN; Sat, 19 Oct 2013 18:15:26 -0400
Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:49759)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <not.com@HIDDEN>) id 1VXent-0001uF-8d
 for bug-gnu-emacs@HIDDEN; Sat, 19 Oct 2013 18:15:25 -0400
Received: by mail-wg0-f44.google.com with SMTP id n12so5041340wgh.11
 for <bug-gnu-emacs@HIDDEN>; Sat, 19 Oct 2013 15:15:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:from:date:message-id:subject:to:content-type;
 bh=U0g40BmP64sljBfK56AfeVD4+FK5YU1h9YXpvPtbknU=;
 b=jZ0wQh3yG0lEO0TwTp8fxlh9HYj8l74g1XCFE0iw8W9+um9oWJ/7sUNnXhIxYYtv5Q
 bZcEu9aDZGrgNmQsE8wTcaCLDdywc2LGur4n8K3V6T3KL1la/ULzQuM/JDOW0TjRHxOF
 2VJTXyL7hOZ5ZchgIEi+AdS7i6PLe23irbhdO5GXy05daMqmX7L8y/mSlnI0xwkMew/F
 Zu41KpP7TkWCLSKeOSFqPKOJuPUSLB2QBmhSxyTP9bjbxoGy0G45PcAq3P8NfYsPB1sI
 8fGDAutb36PRmAoT+havKDHGfXZc470J/PaBpMsxqtwo+RK8rVrayFJHE7MNuYNIfywM
 BTkw==
X-Received: by 10.180.189.132 with SMTP id gi4mr4236302wic.19.1382220924459;
 Sat, 19 Oct 2013 15:15:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.83.72 with HTTP; Sat, 19 Oct 2013 15:15:04 -0700 (PDT)
From: yary <not.com@HIDDEN>
Date: Sat, 19 Oct 2013 18:15:04 -0400
Message-ID: <CAG2CFAZfn2TH5KeSxoYvKyh71-49BB3Ho35YLp3XpQsRE=DXLQ@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

There are occasional needs to preserve buffer-local variables across
major-mode changes. In the specific case of directory-local variables,
an automated solution looks to be feasible, see "bug#15577: 24.3;
dir-local variables not applied when switching major-mode"

File-local variables on the other hand are not as easy to categorize as
to their intent- for a particular mode, vs the file contents in general.

I propose adding `permanent' as another special "variable name" (along
the lines of `mode', `eval', `coding', and `unibyte') to let people
mark the file variables they want to remain between mode changes. For
example:

; mode: Lisp
; fill-column: 75
; comment-column: 50
; permanent: fill-column tab-width

would set & keep fill-column at 75 between mode changes, and would
preserve between major-mode switches any changes to tab-width.

(There is one edge case with this proposal: what would `permanent: eval'
do? Re-evaluate all `eval' file variables after a mode change? And
`permanent: mode' would have to be ignored or give a warning.)


In GNU Emacs 24.1.1 (i386-mingw-nt5.1.2600)
 of 2012-06-10 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: yary <not.com@HIDDEN>
Subject: bug#15658: Acknowledgement (24.1; (wishlist) Easy way to make a
 file-local variable also permanent-local)
Message-ID: <handler.15658.B.13822209379238.ack <at> debbugs.gnu.org>
References: <CAG2CFAZfn2TH5KeSxoYvKyh71-49BB3Ho35YLp3XpQsRE=DXLQ@HIDDEN>
X-Gnu-PR-Message: ack 15658
X-Gnu-PR-Package: emacs
Reply-To: 15658 <at> debbugs.gnu.org
Date: Sat, 19 Oct 2013 22:16:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 15658 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
15658: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15658
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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