From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jo=E3o_T=E1vora?= Newsgroups: gmane.emacs.devel Subject: Re: Add a separate mode for .dir-locals.el Date: Thu, 17 Oct 2019 16:31:30 +0100 Message-ID: References: <2058328b-aee5-8cb1-2659-a793e1354517@mit.edu> <87wod4m7sr.fsf@gnus.org> <835zkndcz4.fsf@gnu.org> <83ftjrbjhm.fsf@gnu.org> <835zknbgwb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="220361"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 17 18:33:18 2019 Return-path: Envelope-to: ged-emacs-devel@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 1iL8iE-000vC6-1B for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 18:33:18 +0200 Original-Received: from localhost ([::1]:52722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL8iC-0006AH-Cj for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 12:33:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58041) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL7kg-0006uv-37 for emacs-devel@gnu.org; Thu, 17 Oct 2019 11:31:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL7ke-0003At-Jn for emacs-devel@gnu.org; Thu, 17 Oct 2019 11:31:45 -0400 Original-Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:53179) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL7ke-0003AP-Dd; Thu, 17 Oct 2019 11:31:44 -0400 Original-Received: by mail-wm1-x333.google.com with SMTP id r19so3036935wmh.2; Thu, 17 Oct 2019 08:31:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=g/VnEckz8shvGKfufTutfRgAtQqu+TePVSkhVW92ndk=; b=X52ZB+HBTuIRtLTKs+yD15DNOxqyTU6ks6/kQKVhwTcMalhNm9IaO3GbMIHYtxxp/q FDYfB71J6LYQGjSmV0/Pjv4U3yYY3rQ//qXrTlwYD8M5YvIjyIJoVDZe0vT5y1QFSUat 5rGKHdNXSk4JY8+t/jAsHGZiQ81hhK0sGKudAjKLyjjgdapdZmlxrElm0fxnJlIxTdtj BvklVdpT1w9rd4X/hNTznFFDMH5C1n1pwbSTIZs1JtacP5AvGGrnblkbVewT094EdOUv t/VoZUD0souFmNo3Ankeo45h4YQjLy6lWdcNE0sDo9I/lsK4n0g1JbcBRg2U2i/xVsAt 5keQ== 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:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=g/VnEckz8shvGKfufTutfRgAtQqu+TePVSkhVW92ndk=; b=pyVqFISRHLwAE7Fag2Z6jgkyXpGWJUhSHk9lnhaFOcG8NgUdyeIFlGRaRRlvsl3rU5 AjiyF+NLNfI8kYoWZuN0QOZYXVov7srHMQZuMqSkdy7VEbwm5AAJBojcOfMt0wwRAxgB SOKsTWXDSNwjXsDgylGpwXWwIBnLJ89VwBbRDajOq++LoXYLqkf12x8GSeAbdPmHN4OX vqowWRYOm9/jRV0CDzlAkeJh0zygLP1dS5AzTAgYSOZpDCv7PvwQCRbCoNV3tNNZt2E0 7LBn/leN6AgWxkYBzqWKHS6gBZQImcUTLtoCGS/RaZr9mgxTxQcrLRzLG4Nfv8uhA1dO CdVg== X-Gm-Message-State: APjAAAX5ok+gE8mL9bjdlYwNsl7bF/I7IHHgBHJ5SNFfzpToJtc2n1jn Jsz3g3SNYsgzD6o3NB7Bn5fQC0sW X-Google-Smtp-Source: APXvYqx1yxM/BW18pJ1O85Hmnner9WPw/cY3tABCmP6agZBAnULrb/MR5L5amo74DW8PRw16kS2P2A== X-Received: by 2002:a7b:ce89:: with SMTP id q9mr3435632wmj.2.1571326302146; Thu, 17 Oct 2019 08:31:42 -0700 (PDT) Original-Received: from GONDOMAR.yourcompany.com (mail1.siscog.pt. [89.115.233.242]) by smtp.gmail.com with ESMTPSA id l18sm2501998wrc.18.2019.10.17.08.31.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Oct 2019 08:31:34 -0700 (PDT) In-Reply-To: <835zknbgwb.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 17 Oct 2019 17:12:04 +0300") X-Antivirus: AVG (VPS 191015-6, 16-10-2019), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::333 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241147 Archived-At: Eli Zaretskii writes: > That could be an okay solution, I think. It's not ideal, but it's as easy as signalling a condition (maybe an error) in the backend. Flymake already interprets that a message from the backend saying "I can't do anything here", and adds it to its internal log. >> But I you'd probably be adding more > (and even that is inaccurate, since it can call eval). The byte-compiler, and hence the elisp-flymake-byte-compile backend would be mostly blind to that, too. >> BTW, and on a tangent, a derived dir-locals-mode isn't the >> bestoption. In OO, a derivation that _removes_functionality is a >> no-no,it breaks "is a". > So we agree on that. I'm glad we do, too. But we wouldn't be burning many bridges if we break that for now, i.e. when we eventually decide to reorganize the inheritance, we could keep the using the dir-locals-mode name. Jo=E3o PS: Again, on a tangent, and agreeing with Stefan that a dir-locals-mode would probably be of more use than just for Flymake, other "intermediate" modes that mixin some of elisp-mode's functionality would be very welcome. My top priority would be to have xref-find-definitions (M-.) work in *Help* for elisp functions.