From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 22 13:06:37 2016 Received: (at submit) by debbugs.gnu.org; 22 Jun 2016 17:06:37 +0000 Received: from localhost ([127.0.0.1]:51381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFlbp-0007vQ-6f for submit@debbugs.gnu.org; Wed, 22 Jun 2016 13:06:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFlbn-0007vE-Eq for submit@debbugs.gnu.org; Wed, 22 Jun 2016 13:06:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFlbf-0003Q5-8F for submit@debbugs.gnu.org; Wed, 22 Jun 2016 13:06:30 -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.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFlbf-0003PE-4w for submit@debbugs.gnu.org; Wed, 22 Jun 2016 13:06:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFlbc-0005dE-OJ for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2016 13:06:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFlbb-0003NS-Cm for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2016 13:06:24 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFlbT-0003Ly-Rg; Wed, 22 Jun 2016 13:06:15 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2183 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bFlbT-0006R9-1r; Wed, 22 Jun 2016 13:06:15 -0400 Date: Wed, 22 Jun 2016 20:05:26 +0300 Message-Id: <83k2hh40ix.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org Subject: 25.1.50; tab-width file-local variable has no effect in etc/HELLO X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: submit Cc: Alan Mackenzie X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.5 (------) From: eliz@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 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)) From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 23 12:42:44 2016 Received: (at control) by debbugs.gnu.org; 23 Jun 2016 16:42:44 +0000 Received: from localhost ([127.0.0.1]:52888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bG7iF-0006sL-Qb for submit@debbugs.gnu.org; Thu, 23 Jun 2016 12:42:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bG7iE-0006s9-RU for control@debbugs.gnu.org; Thu, 23 Jun 2016 12:42:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG7i9-0003nt-2l for control@debbugs.gnu.org; Thu, 23 Jun 2016 12:42:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7i8-0003np-Vr for control@debbugs.gnu.org; Thu, 23 Jun 2016 12:42:37 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bG7i8-0000dU-GD for control@debbugs.gnu.org; Thu, 23 Jun 2016 12:42:36 -0400 Subject: control message for bug 21966 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 23 Jun 2016 12:42:36 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) block 21966 by 23827 From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 07:07:17 2016 Received: (at 23827) by debbugs.gnu.org; 24 Jun 2016 11:07:17 +0000 Received: from localhost ([127.0.0.1]:53458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGOxA-00065u-Nx for submit@debbugs.gnu.org; Fri, 24 Jun 2016 07:07:16 -0400 Received: from mail.muc.de ([193.149.48.3]:21286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGOx8-00065d-Ch for 23827@debbugs.gnu.org; Fri, 24 Jun 2016 07:07:15 -0400 Received: (qmail 13910 invoked by uid 3782); 24 Jun 2016 11:07:13 -0000 Date: 24 Jun 2016 11:07:13 -0000 Message-ID: <20160624110713.13909.qmail@mail.muc.de> From: Alan Mackenzie To: 23827@debbugs.gnu.org Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Organization: muc.de e.V. In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.3.1-20141224 ("Tallant") (UNIX) (FreeBSD/10.3-RELEASE-p4 (amd64)) X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 23827 Cc: Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hello, Eli. In article you wrote: > From: eliz@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 > 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. Yes. That change (and the change it corrected) shifted the call of `hack-local-variables' from the act of visiting a file, to the calling of the major mode function. Every major mode (including fundamental-mode) calls `run-mode-hooks' which calls `hack-local-variables'. However, the C function `set-buffer-major-mode', optimises the call to `fundamental-mode' away, because that call previously didn't do anything. (`set-buffer-major-mode' is the last fallback function which choses the major mode when all other methods have been tried and failed in `set-auto-mode'.) So I propose to remove that special optimisation from `set-buffer-major-mode', so that `fundamental-mode' actually gets called. As an alternative, it would be possible to add special handling at the Lisp level for `fundamental-mode', but I think that would be a worse fix. Here's my proposed patch, which works: diff --git a/src/buffer.c b/src/buffer.c index b4b8304..8756cbb 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1984,7 +1984,9 @@ the current buffer's major mode. */) function = BVAR (current_buffer, major_mode); } - if (NILP (function) || EQ (function, Qfundamental_mode)) + if (NILP (function)) /* If function is `fundamental-mode', allow it to run + so that `run-mode-hooks' and thus + `hack-local-variables' get run. */ return Qnil; count = SPECPDL_INDEX (); What do you think? > 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. [ .... ] -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 09:30:04 2016 Received: (at 23827) by debbugs.gnu.org; 24 Jun 2016 13:30:05 +0000 Received: from localhost ([127.0.0.1]:53521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGRBM-0002pp-DJ for submit@debbugs.gnu.org; Fri, 24 Jun 2016 09:30:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGRBK-0002os-Aw for 23827@debbugs.gnu.org; Fri, 24 Jun 2016 09:30:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGRBB-0000lK-Sl for 23827@debbugs.gnu.org; Fri, 24 Jun 2016 09:29:57 -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.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGRBB-0000lE-PB; Fri, 24 Jun 2016 09:29:53 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4001 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bGRB7-0001F0-QO; Fri, 24 Jun 2016 09:29:52 -0400 Date: Fri, 24 Jun 2016 16:28:52 +0300 Message-Id: <83vb0y1zsb.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie , Stefan Monnier In-reply-to: <20160624110713.13909.qmail@mail.muc.de> (message from Alan Mackenzie on 24 Jun 2016 11:07:13 -0000) Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO References: <20160624110713.13909.qmail@mail.muc.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23827 Cc: 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > Date: 24 Jun 2016 11:07:13 -0000 > From: Alan Mackenzie > Cc: Eli Zaretskii > > However, the C function `set-buffer-major-mode', optimises the call to > `fundamental-mode' away, because that call previously didn't do anything. > > (`set-buffer-major-mode' is the last fallback function which choses the > major mode when all other methods have been tried and failed in > `set-auto-mode'.) > > So I propose to remove that special optimisation from > `set-buffer-major-mode', so that `fundamental-mode' actually gets called. > As an alternative, it would be possible to add special handling at the > Lisp level for `fundamental-mode', but I think that would be a worse fix. > > Here's my proposed patch, which works: > > > diff --git a/src/buffer.c b/src/buffer.c > index b4b8304..8756cbb 100644 > --- a/src/buffer.c > +++ b/src/buffer.c > @@ -1984,7 +1984,9 @@ the current buffer's major mode. */) > function = BVAR (current_buffer, major_mode); > } > > - if (NILP (function) || EQ (function, Qfundamental_mode)) > + if (NILP (function)) /* If function is `fundamental-mode', allow it to run > + so that `run-mode-hooks' and thus > + `hack-local-variables' get run. */ > return Qnil; > > count = SPECPDL_INDEX (); > > > What do you think? LGTM, but I'm not an expert on modes. I'd like to hear opinions from others. Stefan? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 10:12:17 2016 Received: (at 23827) by debbugs.gnu.org; 24 Jun 2016 14:12:17 +0000 Received: from localhost ([127.0.0.1]:54409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGRqD-000457-Jd for submit@debbugs.gnu.org; Fri, 24 Jun 2016 10:12:17 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:41941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGRqB-00044z-UR for 23827@debbugs.gnu.org; Fri, 24 Jun 2016 10:12:16 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u5OECBnA003860; Fri, 24 Jun 2016 10:12:11 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id BD7C3AE5F0; Fri, 24 Jun 2016 10:12:10 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Message-ID: References: <20160624110713.13909.qmail@mail.muc.de> <83vb0y1zsb.fsf@gnu.org> Date: Fri, 24 Jun 2016 10:12:10 -0400 In-Reply-To: <83vb0y1zsb.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 24 Jun 2016 16:28:52 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5716=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5716> : inlines <4950> : streams <1657197> : uri <2237214> X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 23827 Cc: Alan Mackenzie , 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) > LGTM, but I'm not an expert on modes. I'd like to hear opinions from > others. Stefan? set-buffer-major-mode and the question about when it's supposed to be run (and when not), and what it's supposed to do (and how that interacts with default-major-mode) is still pretty nebulous to me, sorry. I tend to agree that it "looks right", so we should probably just install it into master and see what breaks. My only real worry is whether that would end up calling fundamental-mode when creating temporary buffers such as in `with-temp-buffer' (where we wouldn't want to run-mode-hooks and hack-local-variables). Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 10:18:15 2016 Received: (at 23827) by debbugs.gnu.org; 24 Jun 2016 14:18:15 +0000 Received: from localhost ([127.0.0.1]:54413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGRvz-0004EJ-8P for submit@debbugs.gnu.org; Fri, 24 Jun 2016 10:18:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGRvx-0004E7-Lh for 23827@debbugs.gnu.org; Fri, 24 Jun 2016 10:18:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGRvp-0004lX-91 for 23827@debbugs.gnu.org; Fri, 24 Jun 2016 10:18:08 -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.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGRvp-0004lM-5h; Fri, 24 Jun 2016 10:18:05 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4029 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bGRvm-0004DV-4N; Fri, 24 Jun 2016 10:18:04 -0400 Date: Fri, 24 Jun 2016 17:17:04 +0300 Message-Id: <83r3bm1xjz.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Fri, 24 Jun 2016 10:12:10 -0400) Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO References: <20160624110713.13909.qmail@mail.muc.de> <83vb0y1zsb.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23827 Cc: acm@muc.de, 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Stefan Monnier > Cc: Alan Mackenzie , 23827@debbugs.gnu.org > Date: Fri, 24 Jun 2016 10:12:10 -0400 > > I tend to agree that it "looks right", so we should probably just > install it into master and see what breaks. My only real worry is > whether that would end up calling fundamental-mode when creating > temporary buffers such as in `with-temp-buffer' (where we wouldn't want > to run-mode-hooks and hack-local-variables). So you suggest to have a variable whose value could bypass calling fundamental-mode, and bind that variable inside with-temp-buffer and such likes? Is there another alternative? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 10:27:17 2016 Received: (at 23827) by debbugs.gnu.org; 24 Jun 2016 14:27:18 +0000 Received: from localhost ([127.0.0.1]:54419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGS4e-0004Ro-5N for submit@debbugs.gnu.org; Fri, 24 Jun 2016 10:27:17 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:42254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGS4c-0004Re-Jw for 23827@debbugs.gnu.org; Fri, 24 Jun 2016 10:27:10 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u5OER7q5004351; Fri, 24 Jun 2016 10:27:08 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id CC413AE5F0; Fri, 24 Jun 2016 10:27:06 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Message-ID: References: <20160624110713.13909.qmail@mail.muc.de> <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> Date: Fri, 24 Jun 2016 10:27:06 -0400 In-Reply-To: <83r3bm1xjz.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 24 Jun 2016 17:17:04 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5716=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5716> : inlines <4950> : streams <1657202> : uri <2237222> X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 23827 Cc: acm@muc.de, 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) > So you suggest to have a variable whose value could bypass calling > fundamental-mode, and bind that variable inside with-temp-buffer and > such likes? Actually, not really, I was rather asking whether this change would cause with-temp-buffer to run hack-local-variables. If it does, then I think that's an undesirable side-effect and we should try and find some way around it Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 12:09:19 2016 Received: (at 23827) by debbugs.gnu.org; 24 Jun 2016 16:09:19 +0000 Received: from localhost ([127.0.0.1]:54530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGTfS-0007E8-TF for submit@debbugs.gnu.org; Fri, 24 Jun 2016 12:09:19 -0400 Received: from mail.muc.de ([193.149.48.3]:59797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGTfQ-0007Dz-KK for 23827@debbugs.gnu.org; Fri, 24 Jun 2016 12:09:17 -0400 Received: (qmail 21341 invoked by uid 3782); 24 Jun 2016 16:09:14 -0000 Received: from acm.muc.de (p548C6EAF.dip0.t-ipconnect.de [84.140.110.175]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 24 Jun 2016 18:09:13 +0200 Received: (qmail 8853 invoked by uid 1000); 24 Jun 2016 16:09:27 -0000 Date: Fri, 24 Jun 2016 16:09:27 +0000 To: Stefan Monnier Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Message-ID: <20160624160927.GB2961@acm.fritz.box> References: <20160624110713.13909.qmail@mail.muc.de> <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 23827 Cc: Eli Zaretskii , 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hello, Stefan and Eli. On Fri, Jun 24, 2016 at 10:27:06AM -0400, Stefan Monnier wrote: > > So you suggest to have a variable whose value could bypass calling > > fundamental-mode, and bind that variable inside with-temp-buffer and > > such likes? > Actually, not really, I was rather asking whether this change would > cause with-temp-buffer to run hack-local-variables. I've installed the patch into master. I rather think a buffer made by `with-temp-buffer' will run `hack-local-variables', but since there will never be a local variables section in the new buffer, what are we worrying about? > If it does, then I think that's an undesirable side-effect and we > should try and find some way around it Why? > Stefan -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 12:36:14 2016 Received: (at submit) by debbugs.gnu.org; 24 Jun 2016 16:36:14 +0000 Received: from localhost ([127.0.0.1]:54572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGU5W-0007v3-0N for submit@debbugs.gnu.org; Fri, 24 Jun 2016 12:36:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGU5U-0007um-KS for submit@debbugs.gnu.org; Fri, 24 Jun 2016 12:36:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGU5L-0001UO-Uq for submit@debbugs.gnu.org; Fri, 24 Jun 2016 12:36:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_NUMERIC_HELO autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGU5L-0001UJ-RT for submit@debbugs.gnu.org; Fri, 24 Jun 2016 12:36:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGU5G-0004TB-PY for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 12:36:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGU5C-0001S2-Bf for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 12:35:57 -0400 Received: from plane.gmane.org ([80.91.229.3]:50386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGU5C-0001Rr-4T for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 12:35:54 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bGU55-00088f-VP for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 18:35:48 +0200 Received: from 221.222.151.44 ([221.222.151.44]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2016 18:35:47 +0200 Received: from sdl.web by 221.222.151.44 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2016 18:35:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Leo Liu Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Date: Sat, 25 Jun 2016 00:35:39 +0800 Lines: 8 Message-ID: References: <20160624110713.13909.qmail@mail.muc.de> <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> <20160624160927.GB2961@acm.fritz.box> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 221.222.151.44 Face: iVBORw0KGgoAAAANSUhEUgAAACkAAAApAQAAAACAGz1bAAABKElEQVQYlWNg3NIt5FDPUPt7 4+X79Qyucz5/ugik+L2PBgKpyphaIK921q23QDnG0NBQoMr/vaWl9f8ZLL78uPv5PwN7RETfzXoG jhmFz27XM0RXmpuY/WfY+fv0Mc56BvFybfXA/wwL5t/wF61n2PU59axXPcOVzbmSW/8zrNt1benC /ww70hqUU/4zKCtrT9jwn8FhwynbufUMendE2aLqGRpdX9al1zM8eh17lKeeQcTMrdD5P8P3j/YT Q/8zXHSb7p1Qz/C4OM2JuZ7hgtI7K6AjqsMnf8j4z8C6xG1tw3+GqpqvsVn/GTzmpD9j/8/wP/oZ S/l/Bka+QO/g/wy15ueeFQL9N1O8mPU/g+umV3t1gdT0/1bTgHLqYVeXAlWKpMWt+w8Az82C9nHf X0cAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (OS X 10.11.5) Cancel-Lock: sha1:OQTFoLZ14mFUJ5XSK7stlFnhBWs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) On 2016-06-24 16:09 +0000, Alan Mackenzie wrote: > I rather think a buffer made by `with-temp-buffer' will run > `hack-local-variables', but since there will never be a local variables > section in the new buffer, what are we worrying about? Did you forget dir-local variables? Leo From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 13:17:24 2016 Received: (at 23827) by debbugs.gnu.org; 24 Jun 2016 17:17:25 +0000 Received: from localhost ([127.0.0.1]:54607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGUjM-00024j-Pe for submit@debbugs.gnu.org; Fri, 24 Jun 2016 13:17:24 -0400 Received: from mail.muc.de ([193.149.48.3]:14548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGUjL-00024b-BZ for 23827@debbugs.gnu.org; Fri, 24 Jun 2016 13:17:23 -0400 Received: (qmail 56867 invoked by uid 3782); 24 Jun 2016 17:17:22 -0000 Date: 24 Jun 2016 17:17:22 -0000 Message-ID: <20160624171722.56866.qmail@mail.muc.de> From: Alan Mackenzie To: Leo Liu Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Organization: muc.de e.V. In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.3.1-20141224 ("Tallant") (UNIX) (FreeBSD/10.3-RELEASE-p4 (amd64)) X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 23827 Cc: 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hello, Leo. In article you wrote: > On 2016-06-24 16:09 +0000, Alan Mackenzie wrote: >> I rather think a buffer made by `with-temp-buffer' will run >> `hack-local-variables', but since there will never be a local variables >> section in the new buffer, what are we worrying about? > Did you forget dir-local variables? I rather think I did. ;-) But remembering them now, and looking them up in the manual, dir-local variables are only applied to file buffers when they are in the pertinent directory. A `with-temp-buffer' buffer shouldn't be in any directory, hence shouldn't get any dir-locals. That's the theory, anyway. And even if a temp-buffer did somehow belong to a directory, what harm will it do if it gets the `fundamental-mode' variables? Probably not much. > Leo -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 20:21:42 2016 Received: (at 23827) by debbugs.gnu.org; 25 Jun 2016 00:21:42 +0000 Received: from localhost ([127.0.0.1]:54777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGbLy-0005kC-Jb for submit@debbugs.gnu.org; Fri, 24 Jun 2016 20:21:42 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:36446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGbLw-0005k5-QY for 23827@debbugs.gnu.org; Fri, 24 Jun 2016 20:21:41 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u5P0LgPA025680; Fri, 24 Jun 2016 20:21:44 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 3DC12AE17D; Fri, 24 Jun 2016 20:21:35 -0400 (EDT) From: Stefan Monnier To: Alan Mackenzie Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Message-ID: References: <20160624110713.13909.qmail@mail.muc.de> <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> <20160624160927.GB2961@acm.fritz.box> Date: Fri, 24 Jun 2016 20:21:35 -0400 In-Reply-To: <20160624160927.GB2961@acm.fritz.box> (Alan Mackenzie's message of "Fri, 24 Jun 2016 16:09:27 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV5716=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5716> : inlines <4952> : streams <1657425> : uri <2237491> X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 23827 Cc: Eli Zaretskii , 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) > I rather think a buffer made by `with-temp-buffer' will run > `hack-local-variables', but since there will never be a local variables > section in the new buffer, what are we worrying about? Why such a hurry? Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 27 08:52:41 2016 Received: (at 23827) by debbugs.gnu.org; 27 Jun 2016 12:52:41 +0000 Received: from localhost ([127.0.0.1]:57561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHW1p-0000v0-Kh for submit@debbugs.gnu.org; Mon, 27 Jun 2016 08:52:41 -0400 Received: from mail.muc.de ([193.149.48.3]:31677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHW1n-0000ur-TV for 23827@debbugs.gnu.org; Mon, 27 Jun 2016 08:52:40 -0400 Received: (qmail 46446 invoked by uid 3782); 27 Jun 2016 12:52:38 -0000 Received: from acm.muc.de (p548C72E2.dip0.t-ipconnect.de [84.140.114.226]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 27 Jun 2016 14:52:36 +0200 Received: (qmail 5243 invoked by uid 1000); 27 Jun 2016 12:52:47 -0000 Date: Mon, 27 Jun 2016 12:52:47 +0000 To: Stefan Monnier Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Message-ID: <20160627125247.GC4526@acm.fritz.box> References: <20160624110713.13909.qmail@mail.muc.de> <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> <20160624160927.GB2961@acm.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 23827 Cc: Eli Zaretskii , 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Hello, Stefan. On Fri, Jun 24, 2016 at 08:21:35PM -0400, Stefan Monnier wrote: > > I rather think a buffer made by `with-temp-buffer' will run > > `hack-local-variables', but since there will never be a local variables > > section in the new buffer, what are we worrying about? > Why such a hurry? Well, it seemed the discussion was over, and it felt like the sort of bug which was annoying somebody. So, why hang around? If you've had any more concerns about it, I could always revert it for the time being. Have you had any more such concerns? > Stefan -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 27 18:03:56 2016 Received: (at 23827) by debbugs.gnu.org; 27 Jun 2016 22:03:56 +0000 Received: from localhost ([127.0.0.1]:58559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHedI-0004hk-2Q for submit@debbugs.gnu.org; Mon, 27 Jun 2016 18:03:56 -0400 Received: from smtp-as-02-03.vtxnet.net ([194.38.175.142]:38745 helo=smtp-as-02.vtxnet.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHedG-0004hc-Hp for 23827@debbugs.gnu.org; Mon, 27 Jun 2016 18:03:55 -0400 Received: from smtp-as-02.vtxnet.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-as-02.vtxnet.net (Postfix) with ESMTPS id 9E2584813C; Tue, 28 Jun 2016 00:03:52 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: 0.272 X-Spam-Level: X-Spam-Status: No, score=0.272 tagged_above=-999 required=999 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from smtp-pri-01.vtxnet.net (smtp-pri-01.vtxnet.net [212.147.62.135]) by smtp-as-02.vtxnet.net (Postfix) with ESMTP id 02D574814D; Tue, 28 Jun 2016 00:03:51 +0200 (CEST) Received: from fmsmemgm.homelinux.net (dyn.144-85-234-142.dsl.vtx.ch [144.85.234.142]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-pri-01.vtxnet.net (VTX Services SA) with ESMTP id EB1C4CFCEC; Tue, 28 Jun 2016 00:03:50 +0200 (CEST) Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 96241AE5F2; Mon, 27 Jun 2016 18:03:50 -0400 (EDT) From: Stefan Monnier To: Alan Mackenzie Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Message-ID: References: <20160624110713.13909.qmail@mail.muc.de> <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> <20160624160927.GB2961@acm.fritz.box> <20160627125247.GC4526@acm.fritz.box> Date: Mon, 27 Jun 2016 18:03:50 -0400 In-Reply-To: <20160627125247.GC4526@acm.fritz.box> (Alan Mackenzie's message of "Mon, 27 Jun 2016 12:52:47 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 23827 Cc: Eli Zaretskii , 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > If you've had any more concerns about it, I could always revert it for > the time being. Have you had any more such concerns? I still have the question whether with-temp-buffer is affected. If it is, yes, that's a real concern. If not, the patch is fine. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 28 06:10:51 2016 Received: (at 23827) by debbugs.gnu.org; 28 Jun 2016 10:10:51 +0000 Received: from localhost ([127.0.0.1]:58733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHpyl-0007zX-Do for submit@debbugs.gnu.org; Tue, 28 Jun 2016 06:10:51 -0400 Received: from mail.muc.de ([193.149.48.3]:61137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHpyj-0007zO-8e for 23827@debbugs.gnu.org; Tue, 28 Jun 2016 06:10:49 -0400 Received: (qmail 1992 invoked by uid 3782); 28 Jun 2016 10:10:47 -0000 Received: from acm.muc.de (p4FC46485.dip0.t-ipconnect.de [79.196.100.133]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 28 Jun 2016 12:10:45 +0200 Received: (qmail 3360 invoked by uid 1000); 28 Jun 2016 10:10:54 -0000 Date: Tue, 28 Jun 2016 10:10:54 +0000 To: Stefan Monnier Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Message-ID: <20160628101054.GB3181@acm.fritz.box> References: <20160624110713.13909.qmail@mail.muc.de> <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> <20160624160927.GB2961@acm.fritz.box> <20160627125247.GC4526@acm.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 23827 Cc: Eli Zaretskii , 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Hello, Stefan. On Mon, Jun 27, 2016 at 06:03:50PM -0400, Stefan Monnier wrote: > > If you've had any more concerns about it, I could always revert it for > > the time being. Have you had any more such concerns? > I still have the question whether with-temp-buffer is affected. > If it is, yes, that's a real concern. If not, the patch is fine. I think the temp-buffer will pick up any .dir-locals from its "current directory", where the current directory is merely that of the buffer which was current when the temp-buffer was created. I wish I didn't have to say that. > Stefan -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 28 17:43:50 2016 Received: (at 23827) by debbugs.gnu.org; 28 Jun 2016 21:43:50 +0000 Received: from localhost ([127.0.0.1]:59448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bI0nN-00030z-Sj for submit@debbugs.gnu.org; Tue, 28 Jun 2016 17:43:50 -0400 Received: from smtp-as-01-06.vtxnet.net ([194.38.175.135]:52110 helo=smtp-as-01.vtxnet.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bI0nL-00030r-LC for 23827@debbugs.gnu.org; Tue, 28 Jun 2016 17:43:48 -0400 Received: from smtp-as-01.vtxnet.net (smtp-as-01-04.vtxnet.net [194.38.175.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-as-01.vtxnet.net (Postfix) with ESMTPS id 8F8624384A; Tue, 28 Jun 2016 23:43:45 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: 0.272 X-Spam-Level: X-Spam-Status: No, score=0.272 tagged_above=-999 required=999 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from smtp-pri-01.vtxnet.net (smtp-pri-01.vtxnet.net [212.147.62.135]) by smtp-as-01.vtxnet.net (Postfix) with ESMTP id A58A0437B9; Tue, 28 Jun 2016 23:43:43 +0200 (CEST) Received: from fmsmemgm.homelinux.net (dyn.144-85-234-142.dsl.vtx.ch [144.85.234.142]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-pri-01.vtxnet.net (VTX Services SA) with ESMTP id 7EE61CFD0D; Tue, 28 Jun 2016 23:43:43 +0200 (CEST) Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 5E72BAE0B4; Tue, 28 Jun 2016 17:43:42 -0400 (EDT) From: Stefan Monnier To: Alan Mackenzie Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Message-ID: References: <20160624110713.13909.qmail@mail.muc.de> <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> <20160624160927.GB2961@acm.fritz.box> <20160627125247.GC4526@acm.fritz.box> <20160628101054.GB3181@acm.fritz.box> Date: Tue, 28 Jun 2016 17:43:42 -0400 In-Reply-To: <20160628101054.GB3181@acm.fritz.box> (Alan Mackenzie's message of "Tue, 28 Jun 2016 10:10:54 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 23827 Cc: Eli Zaretskii , 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > I think the temp-buffer will pick up any .dir-locals from its "current There's no need to think/guess here, really. Instead someone needs to look at the code and/or test it. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 30 05:22:35 2016 Received: (at 23827) by debbugs.gnu.org; 30 Jun 2016 09:22:35 +0000 Received: from localhost ([127.0.0.1]:60557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIYB9-0007f9-NU for submit@debbugs.gnu.org; Thu, 30 Jun 2016 05:22:35 -0400 Received: from mail.muc.de ([193.149.48.3]:42649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIYB7-0007f0-LI for 23827@debbugs.gnu.org; Thu, 30 Jun 2016 05:22:34 -0400 Received: (qmail 77575 invoked by uid 3782); 30 Jun 2016 09:22:32 -0000 Received: from acm.muc.de (p4FC460AB.dip0.t-ipconnect.de [79.196.96.171]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 30 Jun 2016 11:22:30 +0200 Received: (qmail 3265 invoked by uid 1000); 30 Jun 2016 09:22:40 -0000 Date: Thu, 30 Jun 2016 09:22:40 +0000 To: Stefan Monnier Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Message-ID: <20160630092239.GA3082@acm.fritz.box> References: <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> <20160624160927.GB2961@acm.fritz.box> <20160627125247.GC4526@acm.fritz.box> <20160628101054.GB3181@acm.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 23827 Cc: Eli Zaretskii , 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Hello, Stefan. On Tue, Jun 28, 2016 at 05:43:42PM -0400, Stefan Monnier wrote: > > I think the temp-buffer will pick up any .dir-locals from its "current > There's no need to think/guess here, really. Instead someone needs to > look at the code and/or test it. Oh, OK. I put the following into my .dir-locals.el: (fundamental-mode . ((indent-tabs-mode . nil))) , and then ran the following command "in" the current directory containing the .dir-locals.el: M-: (with-temp-buffer (message "indent-tabs-mode: %s. major-mode: %s" indent-tabs-mode major-mode)) Displayed was: "indent-tabs-mode: t. major-mode: fundamental-mode" . So it would appear that the temporary buffer, although ostensibly in fundamental mode, isn't picking up the .dir-local.el variables. In fact, it would appear, from looking at the code, that `fundamental-mode' doesn't 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'. Maybe we just don't need to worry about this - it appears to do the Right Thing. > Stefan -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 30 18:37:19 2016 Received: (at 23827) by debbugs.gnu.org; 30 Jun 2016 22:37:19 +0000 Received: from localhost ([127.0.0.1]:32866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIkaE-000493-Pw for submit@debbugs.gnu.org; Thu, 30 Jun 2016 18:37:18 -0400 Received: from smtp-as-01-06.vtxnet.net ([194.38.175.135]:40508 helo=smtp-as-01.vtxnet.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIkaC-00048s-JJ for 23827@debbugs.gnu.org; Thu, 30 Jun 2016 18:37:17 -0400 Received: from smtp-as-01.vtxnet.net (smtp-as-01-04.vtxnet.net [194.38.175.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-as-01.vtxnet.net (Postfix) with ESMTPS id 55FDF4DAB1; Fri, 1 Jul 2016 00:37:14 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: 0.272 X-Spam-Level: X-Spam-Status: No, score=0.272 tagged_above=-999 required=999 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from smtp-pri-03.vtxnet.net (smtp-pri-03-1.vtxnet.net [212.147.62.147]) by smtp-as-01.vtxnet.net (Postfix) with ESMTP id 8DF484DAAC; Fri, 1 Jul 2016 00:37:12 +0200 (CEST) Received: from fmsmemgm.homelinux.net (dyn.144-85-234-142.dsl.vtx.ch [144.85.234.142]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-pri-03.vtxnet.net (VTX Services SA) with ESMTP id 8138968B7E7; Fri, 1 Jul 2016 00:37:12 +0200 (CEST) Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 7C9D6AE5B8; Thu, 30 Jun 2016 18:37:11 -0400 (EDT) From: Stefan Monnier To: Alan Mackenzie Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Message-ID: References: <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> <20160624160927.GB2961@acm.fritz.box> <20160627125247.GC4526@acm.fritz.box> <20160628101054.GB3181@acm.fritz.box> <20160630092239.GA3082@acm.fritz.box> Date: Thu, 30 Jun 2016 18:37:11 -0400 In-Reply-To: <20160630092239.GA3082@acm.fritz.box> (Alan Mackenzie's message of "Thu, 30 Jun 2016 09:22:40 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 23827 Cc: Eli Zaretskii , 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > I put the following into my .dir-locals.el: > (fundamental-mode . ((indent-tabs-mode . nil))) A more reliable check would have been to add a function to hack0local-variables-hook. > Maybe we just don't need to worry about this - it appears to do the Right > Thing. Great, thanks, Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 30 18:39:16 2016 Received: (at 23827) by debbugs.gnu.org; 30 Jun 2016 22:39:16 +0000 Received: from localhost ([127.0.0.1]:32870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIkc8-0004CW-5V for submit@debbugs.gnu.org; Thu, 30 Jun 2016 18:39:16 -0400 Received: from smtp-as-01-06.vtxnet.net ([194.38.175.135]:48391 helo=smtp-as-01.vtxnet.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIkc6-0004CP-QJ for 23827@debbugs.gnu.org; Thu, 30 Jun 2016 18:39:15 -0400 Received: from smtp-as-01.vtxnet.net (smtp-as-01-04.vtxnet.net [194.38.175.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-as-01.vtxnet.net (Postfix) with ESMTPS id 440A14DA9E; Fri, 1 Jul 2016 00:39:14 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: 0.272 X-Spam-Level: X-Spam-Status: No, score=0.272 tagged_above=-999 required=999 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from smtp-pri-03.vtxnet.net (smtp-pri-03-1.vtxnet.net [212.147.62.147]) by smtp-as-01.vtxnet.net (Postfix) with ESMTP id 3EEC34DA9D; Fri, 1 Jul 2016 00:39:12 +0200 (CEST) Received: from fmsmemgm.homelinux.net (dyn.144-85-234-142.dsl.vtx.ch [144.85.234.142]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-pri-03.vtxnet.net (VTX Services SA) with ESMTP id 32F5C68B7E7; Fri, 1 Jul 2016 00:39:12 +0200 (CEST) Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 0A8ECAE5B8; Thu, 30 Jun 2016 18:39:11 -0400 (EDT) From: Stefan Monnier To: Alan Mackenzie Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO Message-ID: References: <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> <20160624160927.GB2961@acm.fritz.box> <20160627125247.GC4526@acm.fritz.box> <20160628101054.GB3181@acm.fritz.box> <20160630092239.GA3082@acm.fritz.box> Date: Thu, 30 Jun 2016 18:39:11 -0400 In-Reply-To: <20160630092239.GA3082@acm.fritz.box> (Alan Mackenzie's message of "Thu, 30 Jun 2016 09:22:40 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 23827 Cc: Eli Zaretskii , 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > 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 ;-) Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 10 06:35:44 2016 Received: (at control) by debbugs.gnu.org; 10 Oct 2016 10:35:44 +0000 Received: from localhost ([127.0.0.1]:50517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btXvs-0000dL-4i for submit@debbugs.gnu.org; Mon, 10 Oct 2016 06:35:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btXvq-0000d3-1V for control@debbugs.gnu.org; Mon, 10 Oct 2016 06:35:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btXvf-0002IB-IG for control@debbugs.gnu.org; Mon, 10 Oct 2016 06:35:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btXve-0002Ht-Vm for control@debbugs.gnu.org; Mon, 10 Oct 2016 06:35:31 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3021 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1btXvd-00086O-Bo for control@debbugs.gnu.org; Mon, 10 Oct 2016 06:35:29 -0400 Date: Mon, 10 Oct 2016 13:35:42 +0300 Message-Id: <83oa2sebk1.fsf@gnu.org> From: Eli Zaretskii To: control@debbugs.gnu.org Subject: Re: bug#23692: 25.1.50; Package.el gets confused if file has no autoloads (could be a bug in update-directory-autoloads) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.7 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.7 (-------) unblock 21966 by 23692 block 24655 by 23692 unblock 21966 by 23508 unblock 21966 by 21871 block 24655 by 21871 unblock 21966 by 23534 block 24655 by 23534 unblock 21966 by 24482 block 24655 by 24482 unblock 21966 by 19479 block 24655 by 19479 unblock 21966 by 23827 block 24655 by 23827 unblock 21966 by 22307 block 24655 by 22307 thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 10 06:37:13 2016 Received: (at 23827) by debbugs.gnu.org; 10 Oct 2016 10:37:13 +0000 Received: from localhost ([127.0.0.1]:50525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btXxI-0000gI-O7 for submit@debbugs.gnu.org; Mon, 10 Oct 2016 06:37:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btXxH-0000g7-Um for 23827@debbugs.gnu.org; Mon, 10 Oct 2016 06:37:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btXx9-0002uv-BB for 23827@debbugs.gnu.org; Mon, 10 Oct 2016 06:37:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btXx9-0002ur-8j; Mon, 10 Oct 2016 06:37:03 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3025 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1btXx8-00006E-As; Mon, 10 Oct 2016 06:37:02 -0400 Date: Mon, 10 Oct 2016 13:37:16 +0300 Message-Id: <83k2dgebhf.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Thu, 30 Jun 2016 18:39:11 -0400) Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO References: <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> <20160624160927.GB2961@acm.fritz.box> <20160627125247.GC4526@acm.fritz.box> <20160628101054.GB3181@acm.fritz.box> <20160630092239.GA3082@acm.fritz.box> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.7 (-------) X-Debbugs-Envelope-To: 23827 Cc: acm@muc.de, 23827@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.7 (-------) > From: Stefan Monnier > Date: Thu, 30 Jun 2016 18:39:11 -0400 > Cc: Eli Zaretskii , 23827@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. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 15 10:08:08 2016 Received: (at 23827-done) by debbugs.gnu.org; 15 Oct 2016 14:08:08 +0000 Received: from localhost ([127.0.0.1]:60016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvPdA-0000p4-F1 for submit@debbugs.gnu.org; Sat, 15 Oct 2016 10:08:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvPd9-0000oT-7q for 23827-done@debbugs.gnu.org; Sat, 15 Oct 2016 10:08:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvPd1-0002Hh-1x for 23827-done@debbugs.gnu.org; Sat, 15 Oct 2016 10:08:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvPd0-0002HC-V0; Sat, 15 Oct 2016 10:07:58 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4560 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bvPcz-0006IX-2N; Sat, 15 Oct 2016 10:07:57 -0400 Date: Sat, 15 Oct 2016 17:07:53 +0300 Message-Id: <83twcd1z9i.fsf@gnu.org> From: Eli Zaretskii To: monnier@iro.umontreal.ca, acm@muc.de In-reply-to: <83k2dgebhf.fsf@gnu.org> (message from Eli Zaretskii on Mon, 10 Oct 2016 13:37:16 +0300) Subject: Re: bug#23827: 25.1.50; tab-width file-local variable has no effect in etc/HELLO References: <83vb0y1zsb.fsf@gnu.org> <83r3bm1xjz.fsf@gnu.org> <20160624160927.GB2961@acm.fritz.box> <20160627125247.GC4526@acm.fritz.box> <20160628101054.GB3181@acm.fritz.box> <20160630092239.GA3082@acm.fritz.box> <83k2dgebhf.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: 23827-done Cc: 23827-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) > Date: Mon, 10 Oct 2016 13:37:16 +0300 > From: Eli Zaretskii > Cc: acm@muc.de, 23827@debbugs.gnu.org > > > From: Stefan Monnier > > Date: Thu, 30 Jun 2016 18:39:11 -0400 > > Cc: Eli Zaretskii , 23827@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. From unknown Fri Jun 13 06:11:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 13 Nov 2016 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator