From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Easy Customization for Directory Local Variables Date: Mon, 25 Sep 2023 12:17:19 -0300 Message-ID: <969c85af-2d2d-bb06-8b36-fd16ba8339f8@gmail.com> References: <1199c8c5-b564-7af1-165f-3f7b19f5bda5@gmail.com> <26c0a93a-c8d5-422f-7e9b-892029478fd4@alphapapa.net> <8fd3190a-c401-e650-b851-063d430673d3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32799"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Cc: "emacs-devel@gnu.org" To: Drew Adams , Adam Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 25 17:18:21 2023 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 1qknLp-0008N8-Cl for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Sep 2023 17:18:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qknKx-0006Sw-N2; Mon, 25 Sep 2023 11:17:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qknKw-0006So-9D for emacs-devel@gnu.org; Mon, 25 Sep 2023 11:17:26 -0400 Original-Received: from mail-ot1-x32c.google.com ([2607:f8b0:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qknKu-0006e9-N9 for emacs-devel@gnu.org; Mon, 25 Sep 2023 11:17:26 -0400 Original-Received: by mail-ot1-x32c.google.com with SMTP id 46e09a7af769-6bf58009a8dso4134814a34.1 for ; Mon, 25 Sep 2023 08:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695655043; x=1696259843; darn=gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=CRhbeMae9CiCplTLwsbeWRLtehnepuZuNhe/ZWwyPtE=; b=FiJd+lf41TWFNfZp4S6EUJFxOJOg7zxji0kOrjhQuwTx/073F6aZ8k5tIS74cB781d 4scPDFB81DpFrjfg90EjYwcLquQrd/3Q36Ha7mblOuqNXqOSJzJ63pHSUa3eVbEdEzZb AuXoTovFkzBi12TRGFAaGsIdb/s4KETvhnzZXmjIcGy98lMbgGy0kAqoaC5FCBu6b41V zzUdicuBT1uXu+hVVftxMweGqAVGzy6w0BluqsQ96+Ue4d+4jSppmFB4An2z/nUub3ir TQylhvLXWvhLH95O9TJa7vMHq0SvyYY8uMAuSPShtm6no1E82SSt5tLWqcNQaltxjgjw U4oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695655043; x=1696259843; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CRhbeMae9CiCplTLwsbeWRLtehnepuZuNhe/ZWwyPtE=; b=m8cZCpz+Jr3JPpV5fUwqDei0jDB393Yk/5U/9zWwau5OtJl9VFYtvn+HlS89yXR6Bx LunTX8LIJciMyi/7a00Jcd73dO64+WqiHBt6ve1xie0OGb/YFBVGbRlCiiqjmot2BIK6 dB10lV+DWyce9BYCv818/OqJoNUOJGp835K8bkECYDgWJIb32uIhUszr33ayUON2yuCg 5bDH22DNA16P4JgD1wMVtVgZQl7r89QWob3q/hrlkCwfJPVOkkcoMcIoonENW8p2PiGM W4aifVnKt8prQeNMgQVDK7wCfI+DYVa8ndV99R5UtOOdSZYRD68DdA2KOxJBp3EMmY4X IQaA== X-Gm-Message-State: AOJu0YylpN2faTtKL2uG1fJZisEdjfVpHMYW/CEgAfSXWvnE1OoRiwty xqU0m6uSTqWlTFoc5NTZYds= X-Google-Smtp-Source: AGHT+IF/dUrdGp/2EbIQZjoj1nAfZyYEUhMoanB9lvBi0+FzXDxi5GMO53V7ug3+s25DY6lAa/vliA== X-Received: by 2002:a05:6358:278c:b0:142:f1d5:ef89 with SMTP id l12-20020a056358278c00b00142f1d5ef89mr7848744rwb.5.1695655042877; Mon, 25 Sep 2023 08:17:22 -0700 (PDT) Original-Received: from [192.168.0.234] ([152.168.142.156]) by smtp.gmail.com with ESMTPSA id y10-20020a63b50a000000b0057412d84d25sm7958823pge.4.2023.09.25.08.17.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Sep 2023 08:17:22 -0700 (PDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::32c; envelope-from=maurooaranda@gmail.com; helo=mail-ot1-x32c.google.com X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-1.473, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311039 Archived-At: On 25/9/23 11:32, Drew Adams wrote: > >>> From a quick look, my only suggestion is to have the project command be named something like `project-edit-dir-local-variables'. >> >> That would mean to add it to project.el.  I'm fine with proposing that >> provided the code gets accepted. > > Are dir-local vars limited to what Emacs > calls a "project"?  I didn't think so. > Emacs's use of the term "project" is more > limited than what a project might be in > general, and even that is, I think, more > limited than what dir-local vars are/imply. > > (Just one top-of-the-head opinion, and not > one very knowledgeable about Emacs "projects".) The main command, currently called customize-dirlocals, creates a buffer to edit a .dir-locals.el file under default-directory.  No limitation about a "project", as handled by project.el, or whatsoever.  At least that's the goal. Another command, currently called customize-dirlocals-project, creates a buffer to edit the .dir-locals.el file that belongs to some "project", again, as handled by project.el.  I'm not much of a user of project.el but it's supposed to be handy, since the user might be editing a file under a subdirectory of a "project" (recognized by project.el) and decides to edit the .dir-locals.el that belongs to that "project".  So I can see why it would be desired for such command to be in project.el, just like commands to customize a specific set of options, or a group, belong outside cus-edit.el