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 QHTFA3jDnmQ9fAAASxT56A (envelope-from ) for ; Fri, 30 Jun 2023 13:58:48 +0200 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 cFykAnjDnmR6xQAAG6o9tA (envelope-from ) for ; Fri, 30 Jun 2023 13:58:48 +0200 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 D31D53B280 for ; Fri, 30 Jun 2023 13:58:47 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFCks-00039L-23; Fri, 30 Jun 2023 07:57:38 -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 1qF0B8-0003cc-08 for emacs-orgmode@gnu.org; Thu, 29 Jun 2023 18:31:54 -0400 Received: from out-32.mta0.migadu.com ([2001:41d0:1004:224b::20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qF0B4-0000oI-U3 for emacs-orgmode@gnu.org; Thu, 29 Jun 2023 18:31:53 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lipklim.org; s=key1; t=1688077907; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oQQJJYJKhzOOYSyeyG+2kEft+e2pKwK/8jywxhhA0Vo=; b=YCHRpk8NOtmpNccXUwjY40LsoldpvkDCwlGEx9XWp8H79LCgoPYTGgfevqO3/obDzM6gar mbgZb87CYDxcfzp6xgiCt9F2YVQi6+b6twDmRlEyIIXm1trRc84UXCldS1r3AG321l88AT /0+1VDmf21hUvVXu9XLhlPB5wkVvF1A= From: Evgenii Klimov To: emacs-orgmode@gnu.org Cc: Evgenii Klimov Subject: [PATCH 2/3] lisp/org.el: Fix docstring for S-cursor commands Date: Thu, 29 Jun 2023 23:31:28 +0100 Message-Id: <20230629223129.17191-3-eugene.dev@lipklim.org> In-Reply-To: <20230629223129.17191-1-eugene.dev@lipklim.org> References: <20230629223129.17191-1-eugene.dev@lipklim.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:41d0:1004:224b::20; envelope-from=eugene.dev@lipklim.org; helo=out-32.mta0.migadu.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, 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-Mailman-Approved-At: Fri, 30 Jun 2023 07:57:35 -0400 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: D31D53B280 X-Spam-Score: -4.00 X-TUID: INQw7mpgpoQq * lisp/org.el (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft): Document hooks for S-cursor commands in the docstring. --- lisp/org.el | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index b396456a2..bf61062b1 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -17121,7 +17121,11 @@ first non-nil value." "Act on current element according to context. Call `org-timestamp-up' or `org-priority-up', or `org-previous-item', or `org-table-move-cell-up'. See the -individual commands for more information." +individual commands for more information. + +This function runs the hook `org-shiftup-hook' as a first step, +`org-shiftup-final-hook' as the penultimate step, and returns at +first non-nil value." (interactive "P") (cond ((run-hook-with-args-until-success 'org-shiftup-hook)) @@ -17149,7 +17153,11 @@ individual commands for more information." "Act on current element according to context. Call `org-timestamp-down' or `org-priority-down', or `org-next-item', or `org-table-move-cell-down'. See the -individual commands for more information." +individual commands for more information. + +This function runs the hook `org-shiftdown-hook' as a first step, +`org-shiftdown-final-hook' as the penultimate step, and returns +at first non-nil value." (interactive "P") (cond ((run-hook-with-args-until-success 'org-shiftdown-hook)) @@ -17182,7 +17190,11 @@ This does one of the following: - on an item, switch entire list to the next bullet type - on a property line, switch to the next allowed value - on a clocktable definition line, move time block into the future -- in a table, move a single cell right" +- in a table, move a single cell right + +This function runs the hook `org-shiftright-hook' as a first +step, `org-shiftright-final-hook' as the penultimate step, and +returns at first non-nil value." (interactive "P") (cond ((run-hook-with-args-until-success 'org-shiftright-hook)) @@ -17222,7 +17234,11 @@ This does one of the following: - on an item, switch entire list to the previous bullet type - on a property line, switch to the previous allowed value - on a clocktable definition line, move time block into the past -- in a table, move a single cell left" +- in a table, move a single cell left + +This function runs the hook `org-shiftleft-hook' as a first step, +`org-shiftleft-final-hook' as the penultimate step, and returns +at first non-nil value." (interactive "P") (cond ((run-hook-with-args-until-success 'org-shiftleft-hook)) -- 2.34.1