From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#6615: bug#34130: bug#6615: bug#34130: Specifying File Variables: mention why can't specify "current file" Date: Sat, 05 Oct 2019 01:44:31 +0800 Message-ID: <871rvs2yo0.8.fsf@jidanni.org> References: <875zul79a8.fsf@jidanni.org> <83sgxpaz4y.fsf@gnu.org> <877e5oxo3d.fsf@gnus.org> <87wodojlne.5.fsf@jidanni.org> <87ftkbnesu.2.fsf@jidanni.org> <87y2y16ica.8.fsf@jidanni.org> 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="205805"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 6615@debbugs.gnu.org, 34130@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 04 19:46:23 2019 Return-path: Envelope-to: geb-bug-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 1iGReo-000rPb-RD for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Oct 2019 19:46:22 +0200 Original-Received: from localhost ([::1]:50924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGRek-0006x9-15 for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Oct 2019 13:46:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56454) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGRdZ-0006W8-ST for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2019 13:45:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGRdY-0004Eg-7T for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2019 13:45:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34621) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iGRdW-0004DK-Nz for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2019 13:45:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iGRdW-000680-LM for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2019 13:45:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87iq4ljpr0.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Oct 2019 17:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6615 X-GNU-PR-Package: emacs Original-Received: via spool by 6615-submit@debbugs.gnu.org id=B6615.157021109923522 (code B ref 6615); Fri, 04 Oct 2019 17:45:02 +0000 Original-Received: (at 6615) by debbugs.gnu.org; 4 Oct 2019 17:44:59 +0000 Original-Received: from localhost ([127.0.0.1]:43441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGRdQ-00067D-Um for submit@debbugs.gnu.org; Fri, 04 Oct 2019 13:44:59 -0400 Original-Received: from bonobo.elm.relay.mailchannels.net ([23.83.212.22]:21598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGRdF-00066p-3R; Fri, 04 Oct 2019 13:44:55 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 35C117405F3; Fri, 4 Oct 2019 17:44:38 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a85.g.dreamhost.com (100-96-45-141.trex.outbound.svc.cluster.local [100.96.45.141]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8B71C740773; Fri, 4 Oct 2019 17:44:37 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a85.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Fri, 04 Oct 2019 17:44:38 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Squirrel-Tart: 59f0650d69f7e856_1570211078037_1397926400 X-MC-Loop-Signature: 1570211078037:1124765532 X-MC-Ingress-Time: 1570211078037 Original-Received: from pdx1-sub0-mail-a85.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a85.g.dreamhost.com (Postfix) with ESMTP id 334F17F70A; Fri, 4 Oct 2019 10:44:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=JXDq7A5fYLDdeFzUQj gdXVZfm+M=; b=hrd7rBwbcfx5XcSHSsvdIfjuPz3Hiea7xI1leJLFrsEbmnkLP2 0/nyrG5ytDPaYUgxwCO37gWUzLUok7x49NmbxGf2uEdtfGsgBHrly1nBVRE/VS5C VDp2FeBQoVPkXlWZYwV4zNR7Lp+Imq1BTUIw+An1BhYpB2EHDdXJwjmWA= Original-Received: from jidanni.org (114-41-13-93.dynamic-ip.hinet.net [114.41.13.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a85.g.dreamhost.com (Postfix) with ESMTPSA id 9D9957F709; Fri, 4 Oct 2019 10:44:34 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a85 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrhedugdduuddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhffffkgggtgfesthekredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppeduudegrdeguddrudefrdelfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpeduudegrdeguddrudefrdelfedprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopeefgedufedtseguvggssghughhsrdhgnhhurdhorhhgnecu vehluhhsthgvrhfuihiivgeptd 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: 209.51.188.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:168334 Archived-At: >>>>> "RP" =3D=3D Robert Pluim writes: >>>>> On Fri, 04 Oct 2019 16:11:17 +0800, =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan= Jacobson said: =E7=A9=8D=E4=B8=B9=E5=B0=BC> Whatever you are proposing is too complex. =E7=A9=8D=E4=B8=B9=E5=B0=BC> @CURRENT_FILE@ should just refer to the curr= ent file, no hacks needed. RP> You propose @CURRENT_FILE@, someone else will prefer $..$, someone RP> else again will want a different set of variables available. This is RP> why the 'eval' functionality exists, which you don=CA=BCt want to use= , RP> hence the proposal to use the hook. OK, please post what the INFO page would say (easy instructions that even I could follow) and I'll give it a spin. Any how about just (setq current-file-local-variable "$CUR_FIL$") for .emacs... P.S., Dear Lars, To: doesn't mean you: https://debbugs.gnu.org/cgi-bin/bugreport.cgi?bug=3D37591