From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SBJTG8Yr9WHVfAEAgWs5BA (envelope-from ) for ; Sat, 29 Jan 2022 12:57:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uKOkGMYr9WFo4gAA9RJhRA (envelope-from ) for ; Sat, 29 Jan 2022 12:57:58 +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 C961537CE6 for ; Sat, 29 Jan 2022 12:57:57 +0100 (CET) Received: from localhost ([::1]:48766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDmMf-00061B-0Q for larch@yhetil.org; Sat, 29 Jan 2022 06:57:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDm1s-0003FX-Mq for emacs-orgmode@gnu.org; Sat, 29 Jan 2022 06:36:30 -0500 Received: from [2607:f8b0:4864:20::102a] (port=44733 helo=mail-pj1-x102a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDm1q-0000c9-GN; Sat, 29 Jan 2022 06:36:27 -0500 Received: by mail-pj1-x102a.google.com with SMTP id nn16-20020a17090b38d000b001b56b2bce31so8883022pjb.3; Sat, 29 Jan 2022 03:36:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TacMMj7TREDVISWrDxxXSxNvPcNr78JSNc2PLYf02F0=; b=MdkNFSlPR6YJIvAMZ0pi3GgM8tNbMrrrNdEWIMEQ3OPLjSBJsxcJmm4LCYxYMMNCsF TJP1+ZbexaFlX1AViJoyE7aO4SiKUOanatqPeO+yCWW2BE5nTSfFH08E8NRfPV7S20Dc 4fgRHdxDPk4utg+nc5JdXt852FPlZRYGmRWKmJpUj/TgDn7RJCcgHWXLLH0dIpDg+XmC 1uef92BY7KIcVzflMybzU8fPnNAwy9N/yWmixWBL6hG4GKqKY9fPjmJUoRRqbiIg79he hSErTh/NN7GO31QE30ua/NcPYXXujTB2ylAj+IAWmaqXFY/WkjnnbhQ5hn6XAXyqNEJ9 uOgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TacMMj7TREDVISWrDxxXSxNvPcNr78JSNc2PLYf02F0=; b=47c1Qqw16CeTnKMVVo7t1sFKC8V24Ij2npwALEshN8GFykweza3gCv+IX88286FC6y mzEhrebfITkBOkgKrfzZGRam15KH+VZ3DhyMdpPirKUERWFcmltFIRjwAlpJRSF7S/h3 jV55pbyOl4U4JF1OOqSG3AQECOjoX5DFkX9jP+jRpNInWefPEr1hkJlw1flbqZa0KWKx BOcg5iRWcoorkS+dl0Du9DFcORtm7jCL1NBkO/MkhGbMES8L+7KlViCZBgFrPpLrbUjO KF2+L4TqOtzuQ0eQFB3UaLuU3uQNJlu8whY5Ll9Na5Y6DwSAXxeqNEkkLM5ztQU4zX6O LRpg== X-Gm-Message-State: AOAM533uvP+8VLEwpptzFFP4niNmrElt7ZbutfxBxQHZAR3loF638wWa ee3+nktqMEZ1vHZDkjuGRig7zP7GLrSVhYB9 X-Google-Smtp-Source: ABdhPJyhfQYqxtCyqiakSsd4CroAwB5/NHydwbMv0vF2bhznXDpf1+euhXuLlseE+pbQofaQV1sLyA== X-Received: by 2002:a17:90a:ad4a:: with SMTP id w10mr14598839pjv.169.1643456184750; Sat, 29 Jan 2022 03:36:24 -0800 (PST) Received: from localhost ([209.95.60.92]) by smtp.gmail.com with ESMTPSA id t7sm11623850pfj.138.2022.01.29.03.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 03:36:24 -0800 (PST) From: Ihor Radchenko To: Bastien , Kyle Meyer , Nicolas Goaziou , Karl Voit , Christian Heinrich , emacs-orgmode@gnu.org Subject: [PATCH 16/35] Obsolete old function names that are now in org-fold Date: Sat, 29 Jan 2022 19:38:08 +0800 Message-Id: <447e9558a851af9d58e706d98bcbb6fa9b78ed45.1643454546.git.yantar92@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: <87y2cvloay.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.34.1" Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::102a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: Ihor Radchenko Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643457477; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TacMMj7TREDVISWrDxxXSxNvPcNr78JSNc2PLYf02F0=; b=JMexLptg+S3jDMnXBOfi38FpTZhgHjCVy6cWPXeRZ4Pk8TKIsE7rpsecfoWFD8e251Iy36 bx9+pKDEEmdCZRfv7rvvcSV3hJVa/qqGyubq5jGt5KTpvJuqiaOfbwEbU/3NFGNO76FhHE uA495OyE20sLZrmcmw0CFhGVWchGGPUIG37FA5dHJeo7yT6i2ihO/uQiJ7fgyCTLKI6/Ib xElh2MiL/l2N9QJGX/5dTSNqYKbXDrw/c75DkG8NQERzAYhbPI1SwAftBE1ssiaZRco0z6 dMzxj87k1bLPHUg66zzKOAh7Lp9emvQvQcuiTpjgdy7Z2bBL/pADXXk++ie54w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643457477; a=rsa-sha256; cv=none; b=m3MbL2bRXpcUZ1tqvYgFF51gQ6U+7IK7fzOMER75VHdgwxLoeisjP8XeaX/SrvpYrdOhpv f6EPATm6OLYAOc38DtvuSjGN94BJlfT/UU99ZgqdoiG//+mHq4vf7sWi525oL+lC45A7KV 9GKzFEx3vGpv9Lcg5Z8j39sLfTCLJqmyD/1zYSKBAVhXFHIFbqMAvgN2PRYbeP1ICd0XEG weOmnHZFIrgOmSahXtoxLyS+JOzqC2MwJavzEp/OMAaqk4AfCwfTHvd75XN9uQuexH3UbE K4lG4DmtbZquzvCT4ndycGSZvVGydVl4u0b1O7FvycAKJiUADr+J4sYsjnY88g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MdkNFSlP; dmarc=pass (policy=none) header.from=gmail.com; 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-Spam-Score: -3.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MdkNFSlP; dmarc=pass (policy=none) header.from=gmail.com; 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-Queue-Id: C961537CE6 X-Spam-Score: -3.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: LPkrD5osqOhc This is a multi-part message in MIME format. --------------2.34.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit --- lisp/org-compat.el | 88 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) --------------2.34.1 Content-Type: text/x-patch; name="0016-Obsolete-old-function-names-that-are-now-in-org-fold.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0016-Obsolete-old-function-names-that-are-now-in-org-fold.patch" diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 772ef37f9..14afb4600 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -238,6 +238,11 @@ (define-obsolete-function-alias 'org-propertize 'propertize "9.0") (define-obsolete-function-alias 'org-select-frame-set-input-focus 'select-frame-set-input-focus "9.0") (define-obsolete-function-alias 'org-file-remote-p 'file-remote-p "9.2") +(define-obsolete-function-alias 'org-show-context 'org-fold-show-context "9.6") +(define-obsolete-function-alias 'org-show-entry 'org-fold-show-entry "9.6") +(define-obsolete-function-alias 'org-show-children 'org-fold-show-children "9.6") + + (defmacro org-re (s) "Replace posix classes in regular expression S." (declare (debug (form)) @@ -347,6 +352,80 @@ (define-obsolete-function-alias 'org-toggle-latex-fragment 'org-latex-preview (define-obsolete-function-alias 'org-remove-latex-fragment-image-overlays 'org-clear-latex-preview "9.3") +(define-obsolete-function-alias 'org-hide-archived-subtrees + 'org-fold-hide-archived-subtrees "9.6") + +(define-obsolete-function-alias 'org-flag-region + 'org-fold-region "9.6") + +(define-obsolete-function-alias 'org-flag-subtree + 'org-fold-subtree "9.6") + +(define-obsolete-function-alias 'org-hide-entry + 'org-fold-hide-entry "9.6") + +(define-obsolete-function-alias 'org-show-subtree + 'org-fold-show-subtree "9.6") + +(define-obsolete-function-alias 'org--hide-wrapper-toggle + 'org-fold--hide-wrapper-toggle "9.6") + +(define-obsolete-function-alias 'org-hide-block-toggle + 'org-fold-hide-block-toggle "9.6") + +(define-obsolete-function-alias 'org-hide-drawer-toggle + 'org-fold-hide-drawer-toggle "9.6") + +(define-obsolete-function-alias 'org--hide-drawers + 'org-fold--hide-drawers "9.6") + +(define-obsolete-function-alias 'org-hide-block-all + 'org-fold-hide-block-all "9.6") + +(define-obsolete-function-alias 'org-hide-drawer-all + 'org-fold-hide-drawer-all "9.6") + +(define-obsolete-function-alias 'org-show-all + 'org-fold-show-all "9.6") + +(define-obsolete-function-alias 'org-set-startup-visibility + 'org-cycle-set-startup-visibility "9.6") + +(define-obsolete-function-alias 'org-show-set-visibility + 'org-fold-show-set-visibility "9.6") + +(define-obsolete-function-alias 'org-check-before-invisible-edit + 'org-fold-check-before-invisible-edit "9.6") + +(define-obsolete-function-alias 'org-flag-above-first-heading + 'org-fold-flag-above-first-heading "9.6") + +(define-obsolete-function-alias 'org-show-branches-buffer + 'org-fold-show-branches-buffer "9.6") + +(define-obsolete-function-alias 'org-show-siblings + 'org-fold-show-siblings "9.6") + +(define-obsolete-function-alias 'org-show-hidden-entry + 'org-fold-show-hidden-entry "9.6") + +(define-obsolete-function-alias 'org-flag-heading + 'org-fold-heading "9.6") + +(define-obsolete-function-alias 'org-set-startup-visibility + 'org-cycle-set-startup-visibility "9.6") + +(define-obsolete-function-alias 'org-set-visibility-according-to-property + 'org-cycle-set-visibility-according-to-property "9.6") + +(define-obsolete-variable-alias 'org-scroll-position-to-restore + 'org-cycle-scroll-position-to-restore "9.6") +(define-obsolete-function-alias 'org-optimize-window-after-visibility-change + 'org-cycle-optimize-window-after-visibility-change "9.6") + +(define-obsolete-function-alias 'org-force-cycle-archived + 'org-cycle-force-archived "9.6") + (define-obsolete-variable-alias 'org-attach-directory 'org-attach-id-dir "9.3") (make-obsolete 'org-attach-store-link "No longer used" "9.4") @@ -354,6 +433,15 @@ (make-obsolete 'org-attach-expand-link "No longer used" "9.4") (define-obsolete-function-alias 'org-file-url-p 'org-url-p "9.5") +(define-obsolete-variable-alias 'org-show-context-detail + 'org-fold-show-context-detail "9.6") + +(define-obsolete-variable-alias 'org-catch-invisible-edits + 'org-fold-catch-invisible-edits "9.6") + +(define-obsolete-variable-alias 'org-reveal-start-hook + 'org-fold-reveal-start-hook "9.6") +(define-obsolete-function-alias 'org-file-url-p 'org-url-p "9.6") (defun org-in-fixed-width-region-p () "Non-nil if point in a fixed-width region." (save-match-data --------------2.34.1--