From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: New ELPA package ada-lite Date: Wed, 17 Aug 2022 18:08:48 -0700 Message-ID: <86k076fjdr.fsf@stephe-leake.org> References: <86y1vpfl1k.fsf@stephe-leake.org> <83fshwhqkw.fsf@gnu.org> <86o7wjfb11.fsf@stephe-leake.org> <8335dvdqku.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32829"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 18 03:10:24 2022 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 1oOU3D-0008Mc-W1 for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Aug 2022 03:10:24 +0200 Original-Received: from localhost ([::1]:47734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOU3C-0004Aj-3W for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Aug 2022 21:10:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOU1z-0002ut-5e for emacs-devel@gnu.org; Wed, 17 Aug 2022 21:09:07 -0400 Original-Received: from gproxy4-pub.mail.unifiedlayer.com ([69.89.23.142]:46932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOU1w-0000WL-RL for emacs-devel@gnu.org; Wed, 17 Aug 2022 21:09:06 -0400 Original-Received: from cmgw14.mail.unifiedlayer.com (unknown [10.0.90.129]) by progateway6.mail.pro1.eigbox.com (Postfix) with ESMTP id 3E1D010043432 for ; Thu, 18 Aug 2022 01:08:51 +0000 (UTC) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with ESMTP id OU1ioisE5oTaxOU1ioixyi; Thu, 18 Aug 2022 01:08:51 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=PNrKRdmC c=1 sm=1 tr=0 ts=62fd9123 a=dWLzHQi6WpdymmZIwiVdBw==:117 a=Fln8i1WyhtedwaIJAdHvmw==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=biHskzXt2R4A:10:nop_rcvd_month_year a=vvvmwbhNdt4A:10:endurance_base64_authed_username_1 a=mDV3o1hIAAAA:8 a=9i_RQKNPAAAA:8 a=iRZporoAAAAA:8 a=f4LnW6Es8N42eQap-owA:9 a=hqnlY9SSy_kA:10:uccc_2email_address a=_FVE-zBwftR9WsbkzFJk:22 a=Ev4oQ7kfJBNsvnoXShoW:22 a=NOBgFS-JBQ2l-kSd6-zu:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uFqIup/dZAilk5thPXY6cWwLzzBjMvsn6LuIc02nRT8=; b=Wce8eVz9j0syt2DQHYZM/FJOme qbclvzWY/uHNfrU0U7E55083DwooCotAwys8KL3VqgM7A3MhZt1a6zHM2uFScS4t+8Vdhw5e527Q+ HmaoBkf2VVmXl+c8XbxuNXI2WXOTqKyhnotQ2ptZ/tLEN3Sm0C3GIKBwTDrchPFGE3NK1SQ9mMF4X 2KeQf0sYk6IXfaV2psc6l298162hBDDKKahLIzBxb0kS6tTtNBKF161ooeVY45L72w6d7zMQcynXr rEzbcnVYKfZvQj8SJtFN+1W/qoD3lMS1UseGPIjkKKRaICIdk8VpnIu2sStliB4SDl5CSeefs0ndl cBNmHDkg==; Original-Received: from 135-180-197-170.fiber.dynamic.sonic.net ([135.180.197.170]:55875 helo=DESKTOP-G20DCG1) by host2007.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oOU1h-003NUf-TU; Wed, 17 Aug 2022 19:08:49 -0600 In-Reply-To: <8335dvdqku.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 17 Aug 2022 15:04:01 +0300") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 135.180.197.170 X-Source-L: No X-Exim-ID: 1oOU1h-003NUf-TU X-Source-Sender: 135-180-197-170.fiber.dynamic.sonic.net (DESKTOP-G20DCG1) [135.180.197.170]:55875 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 3 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: pass client-ip=69.89.23.142; envelope-from=stephen_leake@stephe-leake.org; helo=gproxy4-pub.mail.unifiedlayer.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Xref: news.gmane.io gmane.emacs.devel:293577 Archived-At: Eli Zaretskii writes: >> From: Stephen Leake >> Cc: Stefan Monnier , emacs-devel@gnu.org >> Date: Wed, 17 Aug 2022 02:56:58 -0700 >> >> Eli Zaretskii writes: >> >> > Would it make sense to have the lite mode in core? >> >> I don't think so; that would mean any use of ada-mode would cause a >> conflict in auto-mode-alist. > > Why would they conflict? Or, IOW, why wouldn't it be possible to make > them not conflict, assuming that no one will activate both modes in > the same buffer? ada-mode does this: (add-to-list 'auto-mode-alist '("\\.ad[abs]\\'" . ada-mode)) ada-lite-mode does this: (add-to-list 'auto-mode-alist '("\\.ad[abs]\\'" . ada-lite-mode)) Whichever is done last ends up first in auto-mode-alist, and is the one that (assoc ".ads" auto-mode-alist) returns. See also Stefan's reply. -- -- Stephe