From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61210: 28.2; Request to modify code which can accidentally overwrite AUCTeX function Date: Mon, 20 Mar 2023 11:07:14 -0400 Message-ID: References: <13008.1675253596@localhost> <24110.1679315112@localhost> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34255"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 61210@debbugs.gnu.org To: Ikumi Keita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 20 16:08:31 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1peH7c-0008af-Px for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Mar 2023 16:08:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peH7N-00084z-Vr; Mon, 20 Mar 2023 11:08:14 -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 1peH7E-00080G-8L for bug-gnu-emacs@gnu.org; Mon, 20 Mar 2023 11:08:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peH7D-0007hw-3o for bug-gnu-emacs@gnu.org; Mon, 20 Mar 2023 11:08:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peH7B-0008A7-IF for bug-gnu-emacs@gnu.org; Mon, 20 Mar 2023 11:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Mar 2023 15:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61210 X-GNU-PR-Package: emacs Original-Received: via spool by 61210-submit@debbugs.gnu.org id=B61210.167932484731330 (code B ref 61210); Mon, 20 Mar 2023 15:08:01 +0000 Original-Received: (at 61210) by debbugs.gnu.org; 20 Mar 2023 15:07:27 +0000 Original-Received: from localhost ([127.0.0.1]:55510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peH6c-00089G-Sq for submit@debbugs.gnu.org; Mon, 20 Mar 2023 11:07:27 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:54359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peH6a-000890-5Q for 61210@debbugs.gnu.org; Mon, 20 Mar 2023 11:07:25 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 3B864800A8; Mon, 20 Mar 2023 11:07:18 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id E539680677; Mon, 20 Mar 2023 11:07:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1679324836; bh=n1Ny2soKNiy0qyk3VLEQzD/b1eM9rdcQrL0eFWIqnt4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=TivyCPlOJyrbCEZrvrKf9idRL7olfIByrlkZ3gGRYzmD+32LArwuzOJsZ6JPwEPUn +lLy+gjioJWh0D7VH+P7rCTKn+a3qfkZBm5+2hDaKwgcyX0vrgS5E4FUyYZpDE8dj+ huz8fG0G/Zivy+4PYhEkOn/PEHLZdk+7rYHi+4Z6kCOpuozFNZHCYKNPQxaFGj5SNj jMu9vX9Sx5Ij+hWsI+aR9fwvY7wyJ80617H30K9iPjyF357BayVhwh6cwEU0Hv9oDi OTzE8Fn/vih5Vm2vLyaKnHcABtNE2MCBq/3k6/OJAbLl7T0gF44O9HvjwBI5q+jJv6 JVvO4LOMlYNRg== Original-Received: from pastel (unknown [216.154.34.24]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C45521232C1; Mon, 20 Mar 2023 11:07:16 -0400 (EDT) In-Reply-To: <24110.1679315112@localhost> (Ikumi Keita's message of "Mon, 20 Mar 2023 21:25:12 +0900") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258297 Archived-At: > Thanks, then AUCTeX can use LaTeX-mode etc. for names of its own major > modes for emacs 29 and later. (I assume that it isn't problematic that > AUCTeX overrides unconditionally them by `autoload' for them in the init > code and > (define-derived-mode LaTeX-mode text-mode "LaTeX" ...) > or > (defun LaTeX-mode () ...) > later.) It isn't problematic from Emacs's point of view, no. >From AUCTeX's point of view you do need to take into account that `autoload` does nothing if the function is already defined, so AUCTeX will need to remove the aliases before calling `autoload`. Stefan