From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Calling another major mode in a major mode body Date: Thu, 08 Dec 2022 18:07:29 -0500 Message-ID: References: <1263D369-330F-4624-A376-ECC1E1A26A52@gmail.com> <3FDE8ADA-C67E-4047-816B-9259E8041ED2@gmail.com> <8EC7180D-C1A3-4171-889F-829C1B851EC3@gmail.com> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11873"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, psainty@orcon.net.nz, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 09 00:08:22 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 1p3Q05-0002t4-0E for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Dec 2022 00:08:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3PzJ-0004Ia-4G; Thu, 08 Dec 2022 18:07:33 -0500 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 1p3PzH-0004IQ-Lo for emacs-devel@gnu.org; Thu, 08 Dec 2022 18:07:31 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3PzG-0007tY-24; Thu, 08 Dec 2022 18:07:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=fD0uTGufThk93UEB5jewaE/yx8qZs2NvukNAOxNW6qU=; b=XSfw2+KwTVM8 xfz11YUCW0IZcyTUNBQ1gn6yB/hZgLck79AHuxsAod+hMH5i1ssnS5nT1PMlDvIGiy4yluRshi6HE St/JpOURzOzj111ZHPMx+I/SnsNjv4KglE0cAiyZNSt6CsTgP8a69H1ZebYYGew4e5+wi2e1RPQIY yb3rBgFUkGyvjOnf0uM2uIKbjCW8n46RR/UAQ/9qHYQxiSUtqsDwGd9aX7ya87xeIEOHmS5m2hrFk ISWzYbi4XR8eylwryLGG6iDG6RkUL+GBv+qEVrYd/DB2PaQdqTiiafVUfgjPffF7+TtvmhvIPyECa JDtT5gfT3c7ga8Evx8dOsA==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1p3PzF-0006vb-QZ; Thu, 08 Dec 2022 18:07:29 -0500 In-Reply-To: (message from Stefan Monnier on Mon, 05 Dec 2022 17:50:37 -0500) 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:301061 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Note that the above two uses of advice don't advise *other* code but > advise their own code instead :-) That is less of a problem, I agree. But still, why not use a flag or a hook? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)