From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QIfJKBwTQmeiJgEAe85BDQ:P1 (envelope-from ) for ; Sat, 23 Nov 2024 17:38:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QIfJKBwTQmeiJgEAe85BDQ (envelope-from ) for ; Sat, 23 Nov 2024 18:38:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=iro.umontreal.ca header.s=mail header.b=RTqfLAph; dmarc=pass (policy=quarantine) header.from=iro.umontreal.ca; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732383516; a=rsa-sha256; cv=none; b=o3AX6eA5UFUnKo9VcA3f+QcoblIo+uBrfdo3PUUfK9uFYIBDFxk7tv46yrkSItuoIC6V5F HcNetEFgXcKyhp73GDqkIMlXr+xbYGopk8AzxU+/Yl0URlEbyoMe/TL64y4BIlnDJF0K+W D+p8p3F6snq901raDX22DpPooC76axrYL9/UFKU+uJZPzAB50eDPNQm3I998/gIqIgS5c9 Y9tV6Y2+nWWL+fpz3dWfr5JD+ulo6fpDJWYR3tl5XIqAPm0vuLTf6jBf1qT7ns5p5yk1Mk 8YP1hIwp349QlwP6ARK+FZ1ThGbWoX7FoNnhOwSoh88JB6Hzw6sjwAtnvnvomQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=iro.umontreal.ca header.s=mail header.b=RTqfLAph; dmarc=pass (policy=quarantine) header.from=iro.umontreal.ca; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732383516; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=oVs9PJm4WDcD/f+5QPv77GgMWH1uEFQbyhewLy4yW0Q=; b=tDreH/lMTt9kbVK9RrnvLHVPmAdaFmvuMa0iYhr4Nsdtp+wuSwmdsVog0//jk26kv4X8aq A8lc35B3nBAF1ZBpq90jP7+jVCBVtdRx9ExhJgYmQM/4HsWowDCs7sd6c84iSNjzxIoqhO rzoLXDJKEXogP1cIeud+jPkA4c/grFr2EpR1Pp6wbyORxyIYDD3dSstUADR00LkWT6k4rB RrCDpFNXHGmkT9OU43VUwm010Z5LA8PU5uCmx5weRkMqhs1MZ0EKJ6WpS11d7LEpbzg2a/ Qipfh5LXUae1kl0c+LJ/kE9RD77mT9nrcZfe8Mqz53KDBhQI1672cX2CCNGjzA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7EC4C1CE61 for ; Sat, 23 Nov 2024 18:38:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEtgo-0005JO-2a; Sat, 23 Nov 2024 12:12:58 -0500 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 1tEtgi-0005BF-Kv for emacs-orgmode@gnu.org; Sat, 23 Nov 2024 12:12:53 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEtgg-0003e4-U4 for emacs-orgmode@gnu.org; Sat, 23 Nov 2024 12:12:52 -0500 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 3CD5F806C1; Sat, 23 Nov 2024 12:12:48 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1732381966; bh=L9ZCyeumklviypk89LB/63DyLn5lKPvTky0KDkRGwUQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=RTqfLAphcME5ragaSzPcYpKsskqG/04oON9x12zUowvmslKWfsvB9yFew64B8TPez uJ9b8fvD+iOxc5IrQ1NzXNOsypwlBECH+tRgS7nWVaOzgkbUi7P8vqrQNsQ4c/Pr5D QxXXgU7sfcb6g6s1BkFo0BCDFseXCqnECZofjzrgLvHHrMOYN0fdkNH7h9R8bDwuoJ u+Y7q+HPl1J0C4EfDMbP9fQteR703FYKkPTdWZXWZ8Z7RzpCbGKCmhwmksl2tDKER/ wz+AgNLZq2lk+z96wlcF9srnBPwmH5qciSK7j/yW9O21AiEHidSd1VNYgqgQfaMOFq nsRi87aYUSXsg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id DF8AD80683; Sat, 23 Nov 2024 12:12:46 -0500 (EST) Received: from pastel (104-195-225-43.cpe.teksavvy.com [104.195.225.43]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B3E691201A9; Sat, 23 Nov 2024 12:12:46 -0500 (EST) From: Stefan Monnier To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Mapping language to mode In-Reply-To: <87o72598ts.fsf@localhost> (Ihor Radchenko's message of "Sat, 23 Nov 2024 17:08:31 +0000") Message-ID: References: <87o72598ts.fsf@localhost> Date: Sat, 23 Nov 2024 12:12:40 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.71 X-Spam-Score: -7.71 X-Migadu-Queue-Id: 7EC4C1CE61 X-Migadu-Scanner: mx12.migadu.com X-TUID: FGkJdxRgLJ+6 >> Would the 100% untested patch below make sense? >> ... >> + (if (fboundp 'major-mode-remap) >> + (major-mode-remap mode) >> + mode))) > > Thanks! > Applied, onto main, after adding proper commit message. Oh! Wonderful, thanks Ihor! Stefan