From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 60N/Kql4T2EJMgAAgWs5BA (envelope-from ) for ; Sat, 25 Sep 2021 21:29:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iAtHJal4T2FbYQAAbx9fmQ (envelope-from ) for ; Sat, 25 Sep 2021 19:29:45 +0000 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 EB4F1A655 for ; Sat, 25 Sep 2021 21:29:44 +0200 (CEST) Received: from localhost ([::1]:33402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUDMm-0008Eo-28 for larch@yhetil.org; Sat, 25 Sep 2021 15:29:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUDLv-0007av-Em for emacs-orgmode@gnu.org; Sat, 25 Sep 2021 15:28:51 -0400 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:39871) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUDLt-00051P-MM for emacs-orgmode@gnu.org; Sat, 25 Sep 2021 15:28:51 -0400 Received: by mail-qt1-x829.google.com with SMTP id j13so12808795qtq.6 for ; Sat, 25 Sep 2021 12:28:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=OxZQYYW6BKCEI9EnctQlkSQxwxVlb14AzPgYrZEOulc=; b=prN774FJnlCK9002m5SENfg4vLPOpYjRUd48fZsxty7sZl0Ey9p7/e4xi0NfvrwOL8 xuNj9DOxB1EoObm1CwU5ICjmmJ+HWRDhuaNJH49YK6eqy3I25JEA83Zw3TUB+YUJHnKF OvRM0eG7GfrBym3PXAErxSVQ2zs2SLzkkgmCMnGwwkI/CLqfUDNJiPhGhf5+SByNGgFQ BSfvtfBx66lnc8KurZocYPcLM2tQEZZFDEVSHCx+PANxWiRjD0vqyNpyy0o+P45IutNw YBkUUt/OR0OyfB91pTq8pguGbhw8BQ0jqprHFSmM8mu4v/w5eG+wLjWRL0kgM4BI42XO 64qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=OxZQYYW6BKCEI9EnctQlkSQxwxVlb14AzPgYrZEOulc=; b=ZH7Uc8iI314bt5GYHGHrPqD0OtRiGSzEP+M7c84PM5PRfFfKcwORvizeqKfp8cRgfg /KkGjZuVmV+bQepxu9p0fOfXt7mbS/cJm2DKw4T2Hn1e23tKTHMWPyOnQDL3BMrnb8iP dLthzcIpm31aYLcnJMRwd129dA0xMRH9CQzWRztgLB+ZFJVYNGWzGZJff9ojXDbvN+H9 tINL8gGEIUi25WJP80KBbRy+4SFEciVc7S5GpnGXr24fp62ME6bNFL4k8+9f27tlTeUo 6taR57kLEKgj0K1Nxx/VzWPixKt4X2rlK9wUwcgXYCt6nvaUnadYPcXStGyXy9UdxbQ3 Oocw== X-Gm-Message-State: AOAM531ZcxI0fViVGbQDSpcpeybWCFuvdlC2oQ6B2I6A+nrrbZkMjqkS MtMS5fcGu9dl6YlXed+FLeORxRVMggI= X-Google-Smtp-Source: ABdhPJxfcpMz00eX/zMZtoM6LbTbS7eTNwCuhJvspWn3i7j5Uf7s+xjjR5u+5USy7f8xnsWqQyCWnA== X-Received: by 2002:ac8:45d4:: with SMTP id e20mr10961912qto.244.1632598127952; Sat, 25 Sep 2021 12:28:47 -0700 (PDT) Received: from arch ([2601:82:c200:166d:afae:ebe6:a0e2:409e]) by smtp.gmail.com with ESMTPSA id c25sm7184682qtm.78.2021.09.25.12.28.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Sep 2021 12:28:46 -0700 (PDT) References: <875yuocvjx.fsf@gmail.com> User-agent: mu4e 1.7.0; emacs 28.0.50 From: No Wayman To: emacs-orgmode@gnu.org Subject: Re: [PATCH] Declare functions for byte compiler [9.5 (9.5-g769a55 @ /home/n/.emacs.d/straight/build/org/)] Date: Sat, 25 Sep 2021 15:28:02 -0400 In-reply-to: <875yuocvjx.fsf@gmail.com> Message-ID: <87y27kwj2p.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qt1-x829.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632598185; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OxZQYYW6BKCEI9EnctQlkSQxwxVlb14AzPgYrZEOulc=; b=iQuxdpre+PjNNMWvoLFbqP28umpSofHSIbr22J3nsVjIsBvVkuCqapGmSs3S0URZHrGTGn eLsbmcaj4H0R/xLeJ0V1XGuW2g+6Pb0yRRDGaJncmVyRzdJjehpgmFXZmjXnrHpTVrCMZG 0EwkYdZMmuv0iXi7+funAaBn9k6gvek/wpo3I5Hl+AhpVvu5NsrCkOseZvkuvhYiClqnx1 hVLS09mWfllP602qS5wOgXaHUAvl9US/OwCE1c78+9VXnUNbkZzkaan+/VcBzp2/bmSvht nNpKD0iT8pwBwOyzsppGsun0uqfug13K6drT2gyjQuZnkHqLn1hj+m2PcOTqbw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632598185; a=rsa-sha256; cv=none; b=JqCcZZNHY8l/GXGvDh/Tp6i/79QlHguCdIC23VCDn05uuBCLOz5FYAfM4KZ5kzrpLFqhSu BnVycxFcV2358Hmq4MkuUimVnfyJsIFI+Z+QnKDqncPYLQXf+x69ty5aHlNnSJBFIV6ysv /0/zpd/mPbOz5xcnEVVEJVHisdMAkLdGyHx77Gca/xrTCKwro7k7S+Tvpxg+Hd9DFO4SWB h8iWKLNnI1PYzHkF5bD+acDd386Ly5fdEQgj3P46CByVRb1r+tVe9aeI3H6YH3YwB4o4I6 DT6BdFo0wk0+LE0XidzrliSKM4/nd5q30H3S/pSf0eIiwb2a+1trULX3YI4pfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=prN774FJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=prN774FJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: EB4F1A655 X-Spam-Score: -3.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: TaFmlhb5YsDl --=-=-= Content-Type: text/plain; format=flowed No Wayman writes: And one more in org-attach.el. See attached. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Fix-byte-comp-function-warnings.patch >From 21620549a24703697d65c46bc88258cd4b2aaa80 Mon Sep 17 00:00:00 2001 From: Nicholas Vollmer Date: Sat, 25 Sep 2021 15:05:08 -0400 Subject: [PATCH] Fix byte-comp function warnings * (org.el, org-attach.el, org-keys.el, org-table.el): Declare functions for byte compiler. --- lisp/org-attach.el | 1 + lisp/org-keys.el | 3 ++- lisp/org-table.el | 1 + lisp/org.el | 5 +++++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lisp/org-attach.el b/lisp/org-attach.el index 162a01e5e..c2d71514c 100644 --- a/lisp/org-attach.el +++ b/lisp/org-attach.el @@ -40,6 +40,7 @@ (require 'org-id) (declare-function dired-dwim-target-directory "dired-aux") +(declare-function dired-get-marked-files "dired" (&optional localp arg filter distinguish-one-marked error)) (declare-function org-element-property "org-element" (property element)) (declare-function org-element-type "org-element" (element)) (declare-function org-inlinetask-goto-beginning "org-inlinetask" ()) diff --git a/lisp/org-keys.el b/lisp/org-keys.el index 8f25bda2e..2984a4f51 100644 --- a/lisp/org-keys.el +++ b/lisp/org-keys.el @@ -58,7 +58,6 @@ (declare-function org-clone-subtree-with-time-shift "org" (n &optional shift)) (declare-function org-columns "org" (&optional global columns-fmt-string)) (declare-function org-comment-dwim "org" (arg)) -(declare-function org-refile-copy "org" ()) (declare-function org-copy-special "org" ()) (declare-function org-copy-visible "org" (beg end)) (declare-function org-ctrl-c-ctrl-c "org" (&optional arg)) @@ -145,6 +144,8 @@ (declare-function org-promote-subtree "org" ()) (declare-function org-redisplay-inline-images "org" ()) (declare-function org-refile "org" (&optional arg1 default-buffer rfloc msg)) +(declare-function org-refile-copy "org" ()) +(declare-function org-refile-reverse "org-refile" (&optional arg default-buffer rfloc msg)) (declare-function org-reftex-citation "org" ()) (declare-function org-reload "org" (&optional arg1)) (declare-function org-remove-file "org" (&optional file)) diff --git a/lisp/org-table.el b/lisp/org-table.el index 0bc668757..9a703d8bc 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -66,6 +66,7 @@ (declare-function org-export-install-filters "ox" (info)) (declare-function org-export-table-has-special-column-p "ox" (table)) (declare-function org-export-table-row-is-special-p "ox" (table-row info)) +(declare-function org-forward-paragraph "org" (&optional arg)) (declare-function org-id-find "org-id" (id &optional markerp)) (declare-function org-indent-line "org" ()) (declare-function org-load-modules-maybe "org" (&optional force)) diff --git a/lisp/org.el b/lisp/org.el index e1780cf8d..630bfb19d 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -158,13 +158,18 @@ Stars are put in group 1 and the trimmed body in group 2.") (declare-function org-element-context "org-element" (&optional element)) (declare-function org-element-copy "org-element" (datum)) (declare-function org-element-create "org-element" (type &optional props &rest children)) +(declare-function org-element-extract-element "org-element" (element)) +(declare-function org-element-insert-before "org-element" (element location)) (declare-function org-element-interpret-data "org-element" (data)) (declare-function org-element-lineage "org-element" (blob &optional types with-self)) (declare-function org-element-link-parser "org-element" ()) +(declare-function org-element-map "org-element" (data types fun &optional info first-match no-recursion with-affiliated)) (declare-function org-element-nested-p "org-element" (elem-a elem-b)) (declare-function org-element-parse-buffer "org-element" (&optional granularity visible-only)) +(declare-function org-element-parse-secondary-string "org-element" (string restriction &optional parent)) (declare-function org-element-property "org-element" (property element)) (declare-function org-element-put-property "org-element" (element property value)) +(declare-function org-element-restriction "org-element" (element)) (declare-function org-element-swap-A-B "org-element" (elem-a elem-b)) (declare-function org-element-timestamp-parser "org-element" ()) (declare-function org-element-type "org-element" (element)) -- 2.33.0 --=-=-=--