From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Subversion of user chosen major mode by Emacs. [Was: My usage of imenu is broken.] Date: Thu, 30 May 2024 15:39:30 +0800 Message-ID: <8734pzbvf1.fsf@yahoo.com> References: <86r0dmtbk2.fsf@gnu.org> <867cfbswfg.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="25741"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Monnier , acm@muc.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 30 09:40:46 2024 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 1sCaP0-0006Qv-UV for ged-emacs-devel@m.gmane-mx.org; Thu, 30 May 2024 09:40:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCaO6-00071p-6r; Thu, 30 May 2024 03:39:50 -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 1sCaO5-00071f-8V for emacs-devel@gnu.org; Thu, 30 May 2024 03:39:49 -0400 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sCaO3-0001wo-1D for emacs-devel@gnu.org; Thu, 30 May 2024 03:39:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1717054784; bh=T+ZPKeqO/XNMy7nvQdEqDCwiiTDo6Ydm0IrAnYekSKA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=SyeRpom/LJ76XJQDO9e1x9dQ3FOJIkvrXeOdCFY9WkU2J1ctY+fz23X2VGZvi5QH4NWrnJcp8Ybu9JCesMJbnVtyCgZpsPqQNH1R1mJokLQtpbfauEWwR3soiLM3qVbixzh5H7nfUF3AW7USSTHONGgaMsdkrFfJeTuw3xCWsbT8JIa5kcw68vIE19uZ9f/R+hLgRIp2tJ6A8fquQg4w1Q9fv/F1OD1dQIS51cSUVmJbG3dcsZT4dqo3FHrFCS2SlFL86bHlS5jfg+83ehUab9My2fOX1RYSc7pvnSR8QR1Qm1L0rM8A/h442SuLa6u9GirADJgu5hj5cXKaIxz3tA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1717054784; bh=qWEH0l5iu58Ok7Z+PARop/9tVZVa0JY8xPCOME95gAA=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Wis+ua86jvDp2OpQ+E93zv4K0tEvDlOyXk+0bJfk1o6NFiNfYlHVIDlLjCSBdNzW5RaOWwjNmQVDef2XVqA6aMUXsQxXzCcbJXSgagVBrYmjeR/b49LjBMWFyNNfN158Y4NXwv7xaeshx43zaMh0ENqieSUU2kgy5j7M5aeB7yYOwJ97Jpw0vi//gxUlC3HmrW4v43h1xiVWWxn88LMHe0Aa/p0/o6cn3SL7e9CXiew+y0HzUCa4PnAlWomJ/ksDmddF64fAbvUaYtkbn7HgpWEhziPmPbkQhvRPhTwx+G282l8mnejr5JNEv7Sx4KHc6HLcR/wACw/4g+3LE0L29Q== X-YMail-OSG: zgKtl1YVM1mylP18_nb4GLyT8kXEc8j0Bf8KY1zm4nIo2Xn2k8FiBPTGJunz6Wl swXp4gSWZ36qR8dZwUfAupbRZnRena8iRHzGpyEDFZwb5J23HVuzafd_tQn2eDfjQ725.9cKaj4s GmvDEE87pn7ru.SjyPnMyAvozy5diDwtMZaSG9VC1tkZxGmaLFRwXIEz_PKwrrSs1C8eZyomYWJ8 oiS0rvMlmzgQlDW7flL8jndx4i4gxtjCvMf1bUJXqa73ibaDwlTaKE.cx.iQ33cG3xkes1pq81Me pNQkmedCnQbNSKcXZ0Wi_eEMASMmRgM.bpAA8gFoCGW4AlO9RW_x7ycwAy.XbFWMJv8bZS9DOfeS 83G..2dFykBs5C4To4J7EoYVqlY5zukxjF33B8MXm9ZR7SfHbixssPbAlrNec7zVfZ1qJRoCfTFB PrqU0ZkukbG_j90Fs7wNcvaxqMz2r3Ip7OHET4MHkXPDo40b2pGFsmlBHwZZqQFhBAdnR6fWk9Qn 44zasRsdqWwJEwUMdLleWdGQmUOIrN8JRn6aBlvA8FUsegv59HGN4Q1tyx6hia0q3xgsxc2VMvz4 SoqJ8apXNH.X4RzjNGLW.M6BUYx8UwZDmjsHEKy0eD8g4JL5qshJn.y5jlbfl2z.7yUFj2YJ3d9D 5dJsBCDJkGuqT9vWA94OL4KdjxQ5Tg9l4dycnmsjT9LZQW1C6hqrdg2NCDt7QXB4cwQnOSKQI1NX nyarcfkzA_d7ybFh.kepSZtTmeEPUB02KMqELD6UQ1Gk7qfSC8aFY6jlVXUrvQgf9FkMPQmguW66 7mlx5gwIfa6LDDdh90ukOJqjRBX5OHYxIL1RDafteX X-Sonic-MF: X-Sonic-ID: 54c4c661-d017-44c3-8a40-c8bb1cd769ea Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Thu, 30 May 2024 07:39:44 +0000 Original-Received: by hermes--production-sg3-6f9f87bd85-m85x2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6fe85d9284aeefe67410186a06265833; Thu, 30 May 2024 07:39:38 +0000 (UTC) In-Reply-To: <867cfbswfg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 30 May 2024 08:25:39 +0300") X-Mailer: WebService/1.1.22356 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.148; envelope-from=luangruo@yahoo.com; helo=sonic314-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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=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:319733 Archived-At: Eli Zaretskii writes: > How do we know that this was the intent? It could be either of these > two, whether you like it or not. > > If we want to know for sure, perhaps we need to introduce a new kind > of cookie, like 'force-mode: c++-mode' or somesuch. eval: (c-mode 1) ? Disclaimer, this hasn't been tested.