From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nix Newsgroups: gmane.emacs.devel Subject: Re: Behaviour of add-file-local-variable? Date: Fri, 21 Oct 2011 01:01:10 +0100 Message-ID: <87y5wfmcvt.fsf@spindle.srvr.nix> References: <81ipnltl3x.fsf@gmail.com> <871uu9e2w9.fsf@mail.jurta.org> <81fwioqomn.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319155281 26484 80.91.229.12 (21 Oct 2011 00:01:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2011 00:01:21 +0000 (UTC) Cc: Juri Linkov , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 21 02:01:18 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RH2Y1-00062Q-BR for ged-emacs-devel@m.gmane.org; Fri, 21 Oct 2011 02:01:17 +0200 Original-Received: from localhost ([::1]:58875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RH2Y0-00075T-6o for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2011 20:01:16 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RH2Xy-00075D-65 for emacs-devel@gnu.org; Thu, 20 Oct 2011 20:01:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RH2Xx-0001iA-0k for emacs-devel@gnu.org; Thu, 20 Oct 2011 20:01:14 -0400 Original-Received: from icebox.esperi.org.uk ([81.187.191.129]:48001 helo=mail.esperi.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RH2Xw-0001i2-Gv for emacs-devel@gnu.org; Thu, 20 Oct 2011 20:01:12 -0400 Original-Received: from esperi.org.uk (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.5/8.14.5) with ESMTP id p9L01AaJ011894; Fri, 21 Oct 2011 01:01:10 +0100 Original-Received: (from nix@localhost) by esperi.org.uk (8.14.5/8.14.5/Submit) id p9L01A1c003133; Fri, 21 Oct 2011 01:01:10 +0100 Emacs: the prosecution rests its case. In-Reply-To: (Stefan Monnier's message of "Thu, 20 Oct 2011 09:13:57 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-DCC-wuwien-Metrics: spindle 1290; Body=3 Fuz1=3 Fuz2=3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 81.187.191.129 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145376 Archived-At: On 20 Oct 2011, Stefan Monnier stated: > I think that add-file-local-variable could simply check if the > variable's value is already the new one and if not output a message > along the lines "Done; revisit the file to make it take effect" (tho > "take effect" doesn't sound right: please native speakers fix it for > me). Your instincts mislead you: it's right. Perhaps a more explicit "Revisit file to make this change take effect" would be better? (But that's style, not grammar.) -- NULL && (void)