From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AO00EI7O72bZXAAAqHPOHw:P1 (envelope-from ) for ; Sun, 22 Sep 2024 08:00:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id AO00EI7O72bZXAAAqHPOHw (envelope-from ) for ; Sun, 22 Sep 2024 10:00:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mDVMoQZP; dmarc=pass (policy=none) header.from=posteo.net; 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=1726992014; 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=Z9HRIXVEgWHgZmKlKbJ8B4LwLOczwI+FTTVTQoEareQ=; b=W5XrpiFotxREMtVR0Ny0ljxe0pJWUAjt6qdWRepVnkjZswlVY2IyvAccVMaPdEzBPCo7Dl JSWDlyq/6f7mSkEaz07tkRqLYMByhVpbZeWDyr+MkvbU8p3UhArt6ONuEbGYAfnuo0d5zP +ca05ezV2gi1mwk4nNSnyydPx8SH+J6pRUmz1/E+ON6XZOBXwFhRoMK+ffqag5w08LzaU3 azc3yYFkLrYrmvnZtKLvDy/QseGkkdD/AEznJx6Suq4Nd6X008XI1T5Y6yltH/5CYFmAaJ E3wvFYGQyRBooxV5U7dBagumVqbhJZ3lPBf7vF8Ye8hUyAOzqrRrpnk3hY0E9g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726992014; a=rsa-sha256; cv=none; b=HiUR8Bn5TeT8JcvGGGrqjSSKmytNK7Z9Zi2SVnTWgOcn+QpmGc/xonICs73nJYY9XB4Zuc V+4FXLI0pkIy+8pxCkE69hfiGJNG1Q22JUWfMnN2YWgNUFU5g6Dlr2n7qY2aDKZ2Go61hG LUrRmkP5uziXSq3nNdtD5ECghcH9xEO4YJQ/tLPEI6rZNhvl7cjpMSHjAx6Q1QiNhSdMWR G1M3uodsehxySZ0oapIG5O8K8lV/OrbX26eipisdEyV4ZJzb9YKOHW5v2mNLFUx1wMaJIQ uy+N+SYl5QptyX7aLUCObBfGIYFqzqJujqU+DLwI18w5YyDCR9W8YytLSaUZXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mDVMoQZP; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 2262C12408 for ; Sun, 22 Sep 2024 10:00:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssHVR-00046f-FM; Sun, 22 Sep 2024 03:59:45 -0400 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 1ssHVP-00046F-75 for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 03:59:43 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ssHVN-0002Lx-IB for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 03:59:42 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EC238240101 for ; Sun, 22 Sep 2024 09:59:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726991978; bh=w1eMnelyYhlsltAF7AIGjO7rLcBMuPGo73C4lJgPvdU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=mDVMoQZP/LuwC7fgYQR/uHcHOS0gf5sTmuYkweh3DE53VNyQSndO/If8e1GJ6jcOV 9omckIMwrNFnMhVPeMwz5KLKzHk3rXZO0f0ExOS5Dg9amA/ZkoBsytHaLMnm3VAn+M VKLq9Jyt6BCzZ5C+3kbyqUYQj7AmLoCiJZ94FDioljkvvMv0GYAKctLKrKsLg2HLT+ RE05TDNVH7Sb0gF6pgks7UtwlaFv1fdPO0R0Gc9GXoUWFdxw5J7sQ6YNm89Hu8zO8Y nwPtAD9WNMxsG33MSUbMVScn9sJ4GJU1GGz/Ym2HE+r7mklyOqNJkWCD94NzJ4DPDn AYOVqXoryE3vA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XBJSB2xStz9rxB; Sun, 22 Sep 2024 09:59:38 +0200 (CEST) From: Ihor Radchenko To: Visuwesh Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-id-find might change the major-mode of a buffer [9.8-pre (release_9.7.8-713-g62cbac @ /home/viz/lib/emacs/straight/build/org/)] In-Reply-To: <871q1fhe0p.fsf@gmail.com> References: <87ikuuwmz4.fsf@gmail.com> <871q1fhe0p.fsf@gmail.com> Date: Sun, 22 Sep 2024 08:01:14 +0000 Message-ID: <87bk0grub9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.31 X-Spam-Score: -5.31 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: 2262C12408 X-TUID: f/FiWr/tU23e Visuwesh writes: > The patch below is what I had in mind. With it, I can no longer > reproduce the recipe above. > ... The patch looks reasonable. May you format it properly, adding a proper commit message? See https://orgmode.org/worg/org-contribute.html#commit-messages -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at