From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: dir-local vs major-mode setting Date: Wed, 14 Nov 2018 13:30:03 -0500 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1542220127 4279 195.159.176.226 (14 Nov 2018 18:28:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2018 18:28:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 14 19:28:43 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gMzu7-00011U-6T for ged-emacs-devel@m.gmane.org; Wed, 14 Nov 2018 19:28:43 +0100 Original-Received: from localhost ([::1]:33705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMzwD-0003Zx-Cg for ged-emacs-devel@m.gmane.org; Wed, 14 Nov 2018 13:30:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMzvY-0003Yj-1M for emacs-devel@gnu.org; Wed, 14 Nov 2018 13:30:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMzvT-0000HS-5R for emacs-devel@gnu.org; Wed, 14 Nov 2018 13:30:12 -0500 Original-Received: from alt22.smtp-out.videotron.ca ([70.80.0.73]:44049) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gMzvS-0000Fd-Sf for emacs-devel@gnu.org; Wed, 14 Nov 2018 13:30:06 -0500 Original-Received: from fmsmemgm.homelinux.net ([23.233.195.134]) by Videotron with SMTP id MzvPgBZEwS3SIMzvQgHVS1; Wed, 14 Nov 2018 13:30:04 -0500 X-Authority-Analysis: v=2.3 cv=Z5zC4kZA c=1 sm=1 tr=0 a=xXJ578j8WyTliCxld3/pTA==:117 a=xXJ578j8WyTliCxld3/pTA==:17 a=JHtHm7312UAA:10 a=KWZ7fCfYSJWlfAXK06sA:9 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 70783AE1F4; Wed, 14 Nov 2018 13:30:03 -0500 (EST) X-CMAE-Envelope: MS4wfEB3oa4Vy7NUqttFbByOIINsOyvxqi5jTjN65n/zr9IFCHndtJ7HOEB9rNDYIrRH0hNBw+5HX0+6SLffGmP6/tPqKp2chu4LgIrcDqWATYfILD+AWDHt D2l85Fja/S4DZp/lsQlawepeYDk4xvVsfUCAWeH266IDgMxBfimH6u/Vub7QPt4HVvfEUP+wvK58BBJI7gCnG7bAED5uupoye49nS0zTvlRI0bLdqPF+yBEI X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 70.80.0.73 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231145 Archived-At: If we have a dir-locals.el that says: ((nil . ((indent-tabs-mode . t)))) I think it would make sense to give this setting "lower priority" than the setting of indent-tabs-mode that might be imposed by the major mode. I.e. maybe it should be applied in kill-all-local-variables rather than at the end of the major mode setup. WDYT? Stefan