From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Is it possible to ignore all variable except 'tab-width' in dir-locals-file or local-variables? Date: Wed, 23 Oct 2019 08:42:24 +0200 Message-ID: <874l002ca7.fsf@web.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="236800"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: "help-gnu-emacs@gnu.org" To: Zhang Haijun Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 23 08:43:56 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iNAN9-000zV1-Gv for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Oct 2019 08:43:55 +0200 Original-Received: from localhost ([::1]:55428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNAN8-0005sb-33 for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Oct 2019 02:43:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38395) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNALf-0005rm-TN for help-gnu-emacs@gnu.org; Wed, 23 Oct 2019 02:42:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNALe-0007za-RM for help-gnu-emacs@gnu.org; Wed, 23 Oct 2019 02:42:23 -0400 Original-Received: from mout.web.de ([217.72.192.78]:44721) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNALe-0007yt-ET for help-gnu-emacs@gnu.org; Wed, 23 Oct 2019 02:42:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1571812936; bh=UzW5A8xFv6GGse/bY8k63VEXRCJPgU9zmieXmu5RwA8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=no3FWrA/W8faQ/J73lGKXwyUTx0D+MBDPozIGuaOMQMYv0zEDGqneTMGJqBEQrFl7 go48zak8bsQSOhTI6At6sZFZH/p4PzQer8DWyg8UlcAvPzbPNT0maLtfgHRoAOSYt5 OYmooLItOjoFsWP/nhHcDZ+yAbu1RrBo8udg7j2I= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([94.218.222.9]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Mg7Dt-1ihhTZ2PbB-00NNny; Wed, 23 Oct 2019 08:42:16 +0200 In-Reply-To: (Zhang Haijun's message of "Wed, 23 Oct 2019 00:54:48 +0000") X-Provags-ID: V03:K1:bvPR0HbMLmSBksMhQBsCSQo0bKEBhJiwvOgywoUFslcLQda9VGy HrK/7+6Pf/2A9cvAyImj0nEm4LLfRC9oH8OF/dfTeLWn2k/AakFPtNVK9awWlGDchkxbrwG rsjIIFS2o9ZHP0vZtwCM+qfuAApc0SsZPnkIYHe/2lCrcXOB3OQSLsWj22ATp35UlCbdyZ9 kxVWkyO3L7hxScGUyazvA== X-UI-Out-Filterresults: notjunk:1;V03:K0:phjXMPQeCWs=:dETfGTTvPtS9v5wRBdeI8A BfrOIXMHcXfyyLwyuXjR1HoXqBjQ9oxnpweAs7Cj5TNrxlmx+eRaH+LMkM1mMoRJNnQoaaYl2 GsOWx7cs1Jvlnez96Of1wN1Oq1ifg+j+Jfz+wDW5fH2XZP5SUQbgyRa2IQu1byCVUD3vf1hH8 y1mbpcz2iSxAkfDZLaraS6QXrm7aJCKNbiRZYGtdYoF0V+Xzk1AryljDFgZt28Upxz3hXHQ5d AuF4AvmA85gPGB6818h5DQ6kL/nGirPRmBuXkbwCrNREio8uo6fG8Hvzuw1X8NkOklvWNb217 p1FOXU65Fb6A7NYij/xZrVQAwppvZnBxf/E8DK8Fd4JOKgLTtNCx8tRZV1vbdgBMeUeCHmtBY ukh9JubNABZfrFrVkLPWOm05SgiKjTk/ES4IjN4UGbTvOybuxfI9h0XsViO01B0KbehYMQb+l NiDoFxTxMYXYCssJTYVv03svmq8WxGlD379vhYbQk8GK4LbsDHlGAstdmFoBi5qb8D3J/HhOj 97608Aw9zA22Lhs/ox+5G7LME744w9NDYkj799f6Sp6zg0hK/i3r6Rs2q/aUIY1g3sP2MFC1P 4yf3+oETq8eE7hk0il4tEVAqlo5Z16c6CnJ/O/Eug1XThiRr5HCQ+ARCQt8/cwepQVek5J1uH wmLuYnBiqQrdfSuBzM0zc5WFYFFYVTJDhM3ESU0lc+8IHUITuAGSXeWlyOx7kjtozmPcwz6Ft Jl/Mi/rMSCPeIlxMiuQ0ufTFxEDL65PhrB/YLWDZNKCCFOYBVX0fVmY4SXhteIPyhGRTGqMJ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.72.192.78 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121697 Archived-At: Zhang Haijun writes: > Is there a custom variable like =E2=80=98user-safe-local-variables=E2=80= =99 which can > be set to =E2=80=98(tab-width) to control this? Looks there is only an `ignored-local-variables' user option. The filtering is done in `hack-local-variables-filter' if you want to look at the code. So it seems what you want is not possible by only configuring an option, you would have to advice `hack-local-variables-filter'. Michael.