From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Can we expand the valid location of "Local Variables" ? Date: Mon, 23 Mar 2020 09:25:28 +0100 Message-ID: References: <87r1y0apzm.fsf@secretsauce.net> <87h7ygoulz.fsf@dima.secretsauce.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="33093"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , emacs-devel@gnu.org To: Dima Kogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 23 09:26:10 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jGIPS-0008VW-Dn for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Mar 2020 09:26:10 +0100 Original-Received: from localhost ([::1]:58338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGIPR-00005E-Ev for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Mar 2020 04:26:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46002) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGIOq-000877-T7 for emacs-devel@gnu.org; Mon, 23 Mar 2020 04:25:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGIOp-000451-TT for emacs-devel@gnu.org; Mon, 23 Mar 2020 04:25:32 -0400 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:32940) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGIOp-00042S-La for emacs-devel@gnu.org; Mon, 23 Mar 2020 04:25:31 -0400 Original-Received: by mail-wr1-x42c.google.com with SMTP id a25so15770887wrd.0 for ; Mon, 23 Mar 2020 01:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=ptEaeAMdSLzoLFkK0W6U9ntrNxT2P7hW7sr29F3sSPY=; b=NZlf2kzrd6LOyvQSYvpg6DibHBySY1kgX2DKJ8GBqCHLm9c8dc7QzjIz3Oca+Ln3Jr /67M80KWAY5dd43b1xYmlZdEbdNAqhKndtLeofG1iePlqQgeMMP2C9AUg9PEMgaekIeA aM70CDKr0W/7oopALLd2U7hrXFAo4ThFWqRZa/QiJphJx4JZyBplP8MqigVBrhR4Grq7 l0+d89K5YxQfDtD1k2CELc85nSgmM4Enpby492LLiFXNY7bgMafX0XA1oysXMYnco2pq iP81XMVUoag/TNAEFr9I67Aig6eD4VOBWnpZt5eDvAdxWoJQde0bSq1/rTbmIO0RlUNb MyTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=ptEaeAMdSLzoLFkK0W6U9ntrNxT2P7hW7sr29F3sSPY=; b=Mpvzy8KYIs30IfAZqqa7OIncKjk581fGLaQfcUHkENyqiyFkH4MNgopzx1OdzTGJfs QtwVzAJr8sV8vynYvjsQfmANskaPleiwXyea37k2XejhFesYp3PZC1xqxyvrXLQDnjTN VH4W0Kw6Cw/loi7uVIxPUK84yxTJCqx1QFf0G50n7QYm561SgsXZQslaUcQqN64m/vLs +uG3XXoMyNEUZIQZk8afw0ILhyemsh0r17hBA3CAJ5/fRPrDTwgEoutULpDoKL4LA9fC wxwTuf7Z6AIA8WOMt7MbFIb6SNVilreSOpEoTNNGdd3JSOQD6DWAnJsP8XVk//NF0e5e 7jOQ== X-Gm-Message-State: ANhLgQ1j1l5snfqO1sQb2aTnaliVulJov/tyufN58Q0pD60KUuDXbdh2 of1BQLU7VgOQI1gVQWhgVOBsrDqS X-Google-Smtp-Source: ADFU+vsIXncu6UdCBx9CJp4j6Zmocdu7ocS72pZ8gLB8yXQgOT8B5dyiavIbujFz1cmm0tPMxCkWSw== X-Received: by 2002:a5d:4088:: with SMTP id o8mr28906736wrp.144.1584951930133; Mon, 23 Mar 2020 01:25:30 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:2867:4995:9986:65c2]) by smtp.gmail.com with ESMTPSA id b67sm20624516wmh.29.2020.03.23.01.25.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2020 01:25:29 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <87h7ygoulz.fsf@dima.secretsauce.net> (Dima Kogan's message of "Sun, 22 Mar 2020 16:08:56 -0700") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245708 Archived-At: >>>>> On Sun, 22 Mar 2020 16:08:56 -0700, Dima Kogan = said: Dima> 1. We should put the 3000 into a variable so that this isn't hard= -coded. Dima> I'm attaching a patch. The name of the variable could probably= be Dima> better, and it's not in the right file. I don't know where els= e to Dima> put it. Suggestions? And we need a NEWS entry, but I didn't wa= nt to Dima> write one before we talked about it. It=CA=BCs a user option, I don=CA=BCt think it should have a double '__' in= it. Dima> 2. As workarounds go, I think Stefan's suggestion above is the ni= cest. Dima> No custom variables or included files; just a directive to sea= rch Dima> backwards, and execute what it finds. I'll use that. Thanks fo= r the Dima> pointer Would providing a defcustom be such a hardship? Robert