GNU bug report logs - #23827
25.1.50; tab-width file-local variable has no effect in etc/HELLO

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Wed, 22 Jun 2016 17:07:01 UTC

Severity: normal

Found in version 25.1.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#23827: closed (Re: bug#23827: 25.1.50; tab-width file-local
 variable has no effect in etc/HELLO)
Date: Sat, 15 Oct 2016 14:09:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 23827 <at> debbugs.gnu.org.

-- 
23827: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23827
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: monnier <at> iro.umontreal.ca, acm <at> muc.de
Cc: 23827-done <at> debbugs.gnu.org
Subject: Re: bug#23827: 25.1.50;
 tab-width file-local variable has no effect in etc/HELLO
Date: Sat, 15 Oct 2016 17:07:53 +0300
> Date: Mon, 10 Oct 2016 13:37:16 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: acm <at> muc.de, 23827 <at> debbugs.gnu.org
> 
> > From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> > Date: Thu, 30 Jun 2016 18:39:11 -0400
> > Cc: Eli Zaretskii <eliz <at> gnu.org>, 23827 <at> debbugs.gnu.org
> > 
> > > get called.  It isn't clear to me where `major-mode', which presumably is
> > > set to binary zeros when the buffer structure gets allocated, gets set to
> > > `fundamental-mode'.
> > 
> > "grep -n fundamental_mode src/*.c" should give you the answer ;-)
> 
> This bug should closed, right?  At least I no longer see the original
> problem on master.

No further comments, so I'm marking this bug done.

Thanks.

[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Cc: Alan Mackenzie <acm <at> muc.de>
Subject: 25.1.50; tab-width file-local variable has no effect in etc/HELLO
Date: Wed, 22 Jun 2016 20:05:26 +0300
From: eliz <at> HOME-C4E4A596F7.i-did-not-set--mail-host-address--so-tickle-me
--text follows this line--
To reproduce:

  emacs -Q
  C-h H

Observe the messed-up alignment of the second column.  The reason is
that the tab-width file-local variable setting didn't take effect;
setting the variable by hand fixes the display.

I suspect this change:

  commit 26171e02773b9b2383f412dd79d241385d2d20df
  Author: Alan Mackenzie <acm <at> muc.de>
  Date:   Fri May 6 18:58:49 2016 +0000

      Correct hack-local-variables change from Thu May 5 11:05:49 2016 +0000

      Prevent hack-local-variables being called from the fundamental-mode mode call
      early in normal-mode.  This fixes bug #23460 and bug #23463.

      * lisp/files.el (normal-mode) Replace call to fundamental-mode with calls to
      the things it calls, with the exception of hack-local-variables.

      * etc/NEWS: Add an entry to note the calling of hack-local-variables at each
      major mode initialization.


In GNU Emacs 25.1.50.166 (i686-pc-mingw32)
 of 2016-06-22 built on HOME-C4E4A596F7
Repository revision: cc113e557d56d849e9699ceb3bc4a735c628b46e
Windowing system distributor 'Microsoft Corp.', version 5.1.2600
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int
 --with-modules 'CFLAGS=-O0 -gdwarf-4 -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS MODULES

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1255

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-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

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message puny seq byte-opt gv bytecomp
byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib dired
dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache
epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win
w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote w32notify w32 multi-tty
make-network-process emacs)

Memory information:
((conses 16 102815 10519)
 (symbols 56 21684 0)
 (miscs 48 36 108)
 (strings 16 20874 5712)
 (string-bytes 1 586184)
 (vectors 16 14055)
 (vector-slots 8 442248 5351)
 (floats 8 181 48)
 (intervals 40 268 99)
 (buffers 856 11))



This bug report was last modified 8 years and 213 days ago.

Previous Next


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