From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27066: 25.1; dired unsafe variables Date: Thu, 25 May 2017 21:09:47 +0300 Message-ID: <834lw8lses.fsf@gnu.org> References: <83k255klmy.fsf@gnu.org> <83efvcly3q.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1495735872 18471 195.159.176.226 (25 May 2017 18:11:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 May 2017 18:11:12 +0000 (UTC) Cc: 27066@debbugs.gnu.org To: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 25 20:11:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dDxE1-0004fI-WA for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 May 2017 20:11:06 +0200 Original-Received: from localhost ([::1]:33149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDxE7-00061N-FW for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 May 2017 14:11:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDxE1-000617-JO for bug-gnu-emacs@gnu.org; Thu, 25 May 2017 14:11:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDxDy-0005yO-CV for bug-gnu-emacs@gnu.org; Thu, 25 May 2017 14:11:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDxDy-0005yJ-4j for bug-gnu-emacs@gnu.org; Thu, 25 May 2017 14:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dDxDy-00088g-0i for bug-gnu-emacs@gnu.org; Thu, 25 May 2017 14:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 May 2017 18:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27066 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27066-submit@debbugs.gnu.org id=B27066.149573580731220 (code B ref 27066); Thu, 25 May 2017 18:11:01 +0000 Original-Received: (at 27066) by debbugs.gnu.org; 25 May 2017 18:10:07 +0000 Original-Received: from localhost ([127.0.0.1]:38030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDxD5-00087U-Da for submit@debbugs.gnu.org; Thu, 25 May 2017 14:10:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDxD3-00086v-Pz for 27066@debbugs.gnu.org; Thu, 25 May 2017 14:10:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDxCx-0005f8-SH for 27066@debbugs.gnu.org; Thu, 25 May 2017 14:10:00 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDxCr-0005d8-CP; Thu, 25 May 2017 14:09:53 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3194 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dDxCq-0002if-HR; Thu, 25 May 2017 14:09:53 -0400 In-reply-to: (message from Francesco =?UTF-8?Q?Potort=C3=AC?= on Thu, 25 May 2017 18:58:11 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:132852 Archived-At: > Date: Thu, 25 May 2017 18:58:11 +0200 > From: Francesco Potortì > Cc: 27066@debbugs.gnu.org > > >How did you search? Typing "i directory-local RET" lands me on the > >right place, as does "C-s dir-local" followed by C-s enough times. > > Hm. It turns out that Debian, for some reason, did not update my dir > info file after installing emacs25 side-by-side with emacs22, so I was > reading emacs22 docs. Sorry for the inaccurate info. Ah, Debian with its user-unfriendly documentation policies... > >Please suggest how to improve the existing docs. > > The warning message should not say that risky variables are present in the > directory: that makes sense only if you know where to look. When > reading that message, I thought about some bug somewhere. > > The warning message should name the file where the offending variables > were found, instead. Patches are welcome to add the file name. AFAICT, the function that actually applies the variables doesn't know on which file the variables were found, as there could be more than one of them, and they all are read to produce a list of variables, before the variables' values are applied. > >Perhaps we should offer an option to ask the question you mentioned, > >but I think in general it will annoy too much. > > I don't know. It's a relatively recent innovation, and I bet very few > users have ever stumbled into it. Well, not too recent: it was introduced in Emacs 23.1, 8 years ago. Time flies...