From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YOzQAE3UG2RlXAAASxT56A (envelope-from ) for ; Thu, 23 Mar 2023 05:23:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +EpjO0zUG2TYnAAAG6o9tA (envelope-from ) for ; Thu, 23 Mar 2023 05:23:40 +0100 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 D651212CD0 for ; Thu, 23 Mar 2023 05:23:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfCTp-0005hG-9E; Thu, 23 Mar 2023 00:23:13 -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 1pfCTn-0005gc-A4 for emacs-orgmode@gnu.org; Thu, 23 Mar 2023 00:23:11 -0400 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfCTl-0002as-9G for emacs-orgmode@gnu.org; Thu, 23 Mar 2023 00:23:10 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id 095C42B067BE; Thu, 23 Mar 2023 00:23:04 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 23 Mar 2023 00:23:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bcc32.com; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1679545384; x=1679548984; bh=Ab21nr6qzQ 0YqhtZrYhuGzzjsDfXl3paxNYldSMc49I=; b=HOgxH4JymkGPoJFURCLdaJTH0M cywlQxRmomTOrj58iqI66gnpBnzhJJbmSDSuKyl6Gb1Z2mbSPkRz8CUb70Vz/FXo 101CgaPo1wi0UR0vfBNGo1KODowjGKB9FLqjQ7hwiiaJOzgSbkZK26j+rQv4EVKB +S+52FAQbzI+3S25mmbNLhg1MKl3r5ZKCG7sRTlDTI58AfHK4fJJ7sjQXSmuCee5 fKhy0e412DbjBDPFGtdFjHaPyvEdyf0TeDHncOLcSYFZ2Yn9wEGyCv9PJFbWEr4S NdpMZIqpTFjkG5C9znyMwOs/Z61VNq3EquBiRSJdY/MRoP/bsew3L/SCtDVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1679545384; x=1679548984; bh=Ab21nr6qzQ0Yq htZrYhuGzzjsDfXl3paxNYldSMc49I=; b=Nr4UHq8NswTUeCP1FfKl7PHfHmARC uGumyvpsBenH7nFpIH9Zgf+GkHbNFxXkYZa0KXixJirRGl8kGS1hYrgZZbdYIrR+ Zm1LG4j1UJvwM3cg27u6dDborjiaaEvOPLLrGQGk5mKmBYYA2faaip+LAyJ+KHgf hQwlDon0YWix9V05sDtEWlXVUuzKY3S6HOcIqXcO+qQGdcWUci689hf3OO8FiQW1 4tqNQVO3J95FHQ3M76IVy4bPpcaxusF7fUdnr+T+d7YofgX9Ab306WVBxSBMwsJd sMLu4BAl1Qr3QQjv0FtRqayaWJU81fAxhTXEUjAzdUmCacNkB68DrMl/w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdegfedgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpedftegrrhhonhcunfdrucgkvghnghdfuceomhgvsegstggtfedv rdgtohhmqeenucggtffrrghtthgvrhhnpeevueelfeffgffhhfdugffftdevkeegfeehte evgffhudfgveevtdejffeuhfeuheenucffohhmrghinhepohhthhgvrhifihhsvgdrohhr ghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmvg essggttgefvddrtghomh X-ME-Proxy: Feedback-ID: i80f14645:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 Mar 2023 00:23:04 -0400 (EDT) From: "Aaron L. Zeng" To: emacs-orgmode@gnu.org Cc: "Aaron L. Zeng" Subject: [PATCH] Make predicates non-interactive Date: Thu, 23 Mar 2023 00:22:44 -0400 Message-Id: <20230323042244.3893585-1-me@bcc32.com> X-Mailer: git-send-email 2.38.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.147.123.17; envelope-from=me@bcc32.com; helo=wnew3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679545420; a=rsa-sha256; cv=none; b=Di5OJactQrrPTrLokSfICiwua/IdWSSLL1890sOBLBcG4xu/2MR9hDBht/A0buL062+6dF O9O9s7oOLQ7a+iEb77Z+7rGV/wdHVHUio7nI4KKsCpgnkIpriHAOWE1nOMjwm7SLUbidoh os9ioe/2l/xu8Ckm/WMm5J9To8p6kG+/i2FDARQWPIzAGmhMKB7syC3n0vBty1PMhAvhtL vjM6YQNv/0wuZ5VR/GmqKu3TyrvVpPuL/3f/eQ5fNCc89hf2Te8cLWoxL6I+OmVySw1bmp xsJpPyVIh5/LNcOByRm557eEfptacjNC9Mc6HaflGxllsaOFkU34Bcrj+z2TyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bcc32.com header.s=fm1 header.b=HOgxH4Jy; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=Nr4UHq8N; dmarc=fail reason="SPF not aligned (relaxed)" header.from=bcc32.com (policy=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=1679545420; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Ab21nr6qzQ0YqhtZrYhuGzzjsDfXl3paxNYldSMc49I=; b=c2Y7Ycd1pIfKIg80Hf9HtFoB28rfEfwyAfEZMv9Wd7lhvR9ILh5HcLKT0QHQO7SNEO5MsD 4ab5HPWGaHgD10ZNPu/SvnH2OQM6koKPjxvJHyzbcoQLpqLegKip0hkwT6UEh8eGOk2hBz JQUx58iMT3fI7vDkvPutXXtFb6mXY3qnnDk0ExUL96Y7EwUdZf2YnS3f5VL/82u9qQWNw0 AA12JLWmtf1ZdKW+PMNEYDMftDfjOlLuSaOpbC+R2ZYQ0+kBJ9HzUvLCAo5cslW7ZkVon0 5YJsjwxhms1RP0O2S3m2e0RDe+eSRv5x/q5lBMj1cmtJvYpEELhKRTTGeiXfjA== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bcc32.com header.s=fm1 header.b=HOgxH4Jy; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=Nr4UHq8N; dmarc=fail reason="SPF not aligned (relaxed)" header.from=bcc32.com (policy=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" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 0.95 X-Spam-Score: 0.95 X-Migadu-Queue-Id: D651212CD0 X-TUID: Pcnzn47MqURb Predicates like `org-first-sibling-p' are no use when called interactively, and should not appear in the M-x prompt. TINYCHANGE --- lisp/org.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 23cb6012d..20e6ea6d9 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9876,7 +9876,6 @@ inactive time ranges. When this function returns a non-nil value, match data is set according to `org-tr-regexp-both' or `org-tr-regexp', depending on INACTIVE-OK." - (interactive) (save-excursion (catch 'exit (let ((pos (point))) @@ -15475,7 +15474,6 @@ If Org mode thinks that point is actually inside an embedded LaTeX environment, return t when the environment is math or let `texmathp' do its job otherwise. `\\[org-cdlatex-mode-map]'" - (interactive) (cond ((not (derived-mode-p 'org-mode)) (apply orig-fun args)) ((eq this-command 'cdlatex-math-symbol) @@ -20525,7 +20523,6 @@ point before the first headline or at point-min." (defun org-first-sibling-p () "Is this heading the first child of its parents?" - (interactive) (let ((re org-outline-regexp-bol) level l) (unless (org-at-heading-p t) -- 2.38.4