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 ms8.migadu.com with LMTPS id 2FaYBn361mUxPwEAqHPOHw:P1 (envelope-from ) for ; Thu, 22 Feb 2024 08:40:45 +0100 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 2FaYBn361mUxPwEAqHPOHw (envelope-from ) for ; Thu, 22 Feb 2024 08:40:45 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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=1708587645; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=rOBPt4ZRhIbVec7bxvPn8SSF8zFA76286RfEUWvH4BM=; b=PKoJ+vjbv1uwq2ymW0U241d2wobPIFs2XNZRUQj5z4TwAGNdbNWLNA6xGGXmv5wI6Vv7NT L+Pvvz94B1O/CCE/ZVYnMN7Bhw3SVwtYYXKVefdPl57xr7c8jp3W9FncVlUcvDmyF9nDOw Hizn7resND0mPDqHfAO9AORFSVXl00cf3WVplicVCZO3e1EMvskUrYk5BkHYsPeJKSdisf 9uJoH+NscklbPgf2n9GVl9mq7Qrl8ZzgipQGlcxeic+NIvBLN9kPBj7YmAmRJeqHSGDEsY W5ZjRufWRod1lWzHMmVvZv6L324Rn3jpPAJzf5eBdOBpBJLrbRkPoDw/klQGmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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=1708587645; a=rsa-sha256; cv=none; b=vAzM2eX2s0DwRZwKfK5ua96hrXv00TPCsyXTcTY0rxs83XZXyrvXhtb9W30EqHSeI9G81z 4jR+miH79b5wT5l0q+J7qdyi+yTnkzEzQsMDv5vbP0HKUA2UHB4trqoGmyzEAM18rp/9Fq tILSM79b7Vj+x9Nl1R70ik9ERypP9aW9Fi64P5+k5DDG4GOWD9BjTzRFWjkjZyNAf5V0Y2 5TVzY/ek+uTANJIy30A4D8RdRPf+VnzsmEhnLmKAuZlfrCDQTVlKLpGFoxjUz6nZD80kDE 3dWCz4DB4pkiv0F9m+22OhnmJ5sjpCnEupXQXf8bV/P4nVlwfsW7zzeRlFVmyQ== 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 0D07E3FDDE for ; Thu, 22 Feb 2024 08:40:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rd3gE-0003Sx-VM; Thu, 22 Feb 2024 02:39:42 -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 1rd3gC-0003So-BK for emacs-orgmode@gnu.org; Thu, 22 Feb 2024 02:39:40 -0500 Received: from mailxcu.skyguard.com.cn ([210.12.103.1] helo=smtp.secgator.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rd3g8-0002Vd-TC for emacs-orgmode@gnu.org; Thu, 22 Feb 2024 02:39:40 -0500 Received: from mail.skyguard.com.cn (unknown [172.21.23.75]) by smtp.secgator.com (SkyGuard) with ESMTPS id 4TgQ3v5b6gz421GP for ; Thu, 22 Feb 2024 15:38:19 +0800 (CST) Received: from [172.22.3.81] (unknown [172.21.24.65]) by mail.skyguard.com.cn (Postfix) with ESMTPSA id 4TgQ4y10LCz2xDl for ; Thu, 22 Feb 2024 15:39:14 +0800 (CST) Message-ID: <5f491471-af08-49d5-a840-6b2f96be54cf@skyguard.com.cn> Date: Thu, 22 Feb 2024 15:40:25 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: emacs-orgmode@gnu.org From: Pan Xie Subject: org-goto bug Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=210.12.103.1; envelope-from=xiepan@skyguard.com.cn; helo=smtp.secgator.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-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: -5.54 X-Spam-Score: -5.54 X-Migadu-Queue-Id: 0D07E3FDDE X-Migadu-Scanner: mx13.migadu.com X-TUID: pVbobadJ0keU Hello Just found a minor issue about the org-goto interface. When I set `org-goto-auto-isearch' as `t', the number keys should also be part of isearch, not treated as "digit argument". However, the current version (9.7-pre) of OrgMode I am using treat the number keys as digit argument in auto isearch mode. I also find the solution: just pass `t' as second argument to `suppress-keymap', to make all number keys unbound in the keymap: #+begin_src elisp ;; org-goto.el (defun org-goto--set-map ()   "Set the keymap `org-goto'."   (setq org-goto-map     (let ((map (make-sparse-keymap)))       (let ((cmds '(isearch-forward isearch-backward kill-ring-save set-mark-command                     mouse-drag-region universal-argument org-occur)))         (dolist (cmd cmds)           (substitute-key-definition cmd cmd map global-map)))       (suppress-keymap map t) ;; <==================================== pass t as second argument to fix the issue       (org-defkey map "\C-m"     'org-goto-ret)       (org-defkey map [(return)] 'org-goto-ret) #+end_src The version of org-mode with the issue: #+begin_src elisp   (org-version nil t)   ;;=> "Org mode version 9.7-pre (release_9.6.19-1208-g7360c6 @ /home/git/org-mode/lisp/)" #+end_src