From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oHRtLWgOYGI2IwEAbAwnHQ (envelope-from ) for ; Wed, 20 Apr 2022 15:45:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UABLLWgOYGIXBAEAauVa8A (envelope-from ) for ; Wed, 20 Apr 2022 15:45:12 +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 E52EE2B0E4 for ; Wed, 20 Apr 2022 15:45:11 +0200 (CEST) Received: from localhost ([::1]:56948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhAdq-0000co-OJ for larch@yhetil.org; Wed, 20 Apr 2022 09:45:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhAKW-0004Gt-Am for emacs-orgmode@gnu.org; Wed, 20 Apr 2022 09:25:14 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:35371) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhAKR-0003uR-Lk for emacs-orgmode@gnu.org; Wed, 20 Apr 2022 09:25:10 -0400 Received: by mail-pl1-x635.google.com with SMTP id b7so1778523plh.2 for ; Wed, 20 Apr 2022 06:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:message-id:date:mime-version; bh=pKWzS8XnUlML0Eo0HHe8CKeGY3igGujbXAHNTcX8b5Q=; b=T1XGsFNsc1F2qesl09mlM2BYJo6nRdunHoKmMUDY8mdBOh91TTXuYkWlXsY2SDfHgq A5gBeaXRphrP8MO+bbsw/3CMM8UixzOlIhvR1eiARvgMCyJHp6A/EqNjOtn5zSTWIKHD ZqP0mQE0T/ocFltasCKovqaEd+EGxpHTgaY6B/XavytcDH3k7AAGpGW4NMROoO5duUWO Rz6mrQriOb6CW5wAg8cC6B4YbYs0Ee/ThK2Go8MwXtuM2//mntOERc1KO0coN/6SCph/ dQsMSnu+vXKp5klJf8h7OTMObdI8eun/zSDpmiDYfwdw2Bd3zETu3a/laoAZWz+0FfyE 6I4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references :message-id:date:mime-version; bh=pKWzS8XnUlML0Eo0HHe8CKeGY3igGujbXAHNTcX8b5Q=; b=I7H6gxoY3qoe7cVcDAatkfzVEFALQJcYAx6OGyzeFW8ZNLsgMPNuBtPr/UsbLzhrkR sQt3FkW3k7B+Ct5o0rCx9yv4ZCjwX75SAVezLuvdxccYCUrlQh54qvToGcbvppzpMM5d cofm5rdxA/6xHk+NwRl5KWcT+14eTjj8xL2OQJwJ26d0AQVRFhYBLtWkeDQ0wfOwv474 QX6l1nLBI0JnUGx0yTDoHP+YIA8Iwk3KxR9P/8bWY3uJLMocKkD4IJWKhZfzVu43Jke3 AOIWgbNF/EKmp7Mt9Wm9cJ9STnWxyfuj2Q0BmPRvvP0TI1JEkxb7+J90bc3nh3FUEcjB XxyA== X-Gm-Message-State: AOAM533UhCdsns0ndloXckRlNF1keIrXjNTvlSxYnnAzKYZ4fKv96kzB 5UUnqAXAwxvzg18YYeWRa0oAuc3rfqqOdg== X-Google-Smtp-Source: ABdhPJxlATgzP5R13CKIh1siEzrhFh1+Fpkp2ZPqkXwXqfsZpWZip8L+dQ+yGPku8TObaYoMm8k7PQ== X-Received: by 2002:a17:902:ed89:b0:15a:d3e:ada6 with SMTP id e9-20020a170902ed8900b0015a0d3eada6mr8583499plj.94.1650461106114; Wed, 20 Apr 2022 06:25:06 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id j15-20020a17090a31cf00b001cb7c80616esm22703620pjf.57.2022.04.20.06.25.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 06:25:05 -0700 (PDT) From: Ihor Radchenko To: emacs-orgmode@gnu.org Subject: [PATCH v2 16/38] Obsolete old function names that are now in org-fold--- In-Reply-To: References: Message-Id: <1bdc53a8c06bf2facd1a91bdea0301849fb13287.1650460489.git.yantar92@gmail.com> Date: Wed, 20 Apr 2022 21:25:58 +0800 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=yantar92@gmail.com; helo=mail-pl1-x635.google.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, 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, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650462312; 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=pKWzS8XnUlML0Eo0HHe8CKeGY3igGujbXAHNTcX8b5Q=; b=q25VXnXTmAsALaKx43dOzgwOqqkgfpV8nvoKWeiscHMfCcdVemaxarOaIlhrT4N4QDBTa8 mr+XJxbJiwE5yRz06dI5M6sbfJ8+6zVIZa4u+10Sy8g1uBN+HyDXwlSBKaWP6dVbIiX8au 5LtonjtDNA3UNyPViFj29n5kUM8jToCCfuFjmgMifhLYNdPuPY6YYKwtWwCpmw78N3oMQQ lcAeTDZeWJ4+xyJybNwyx01Mxa7SuBIjJ0GR25ew3YuFdJcHXEx9Vpb1GrEasYuHhu0cyh KY4/IqTsREpzu+k/O8G8sj7JP6B591G/UpdmXlxXjnlrXADmVuFa7mPQLopw6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650462312; a=rsa-sha256; cv=none; b=NaA6d+9RLuvNy+8YKoSzZVROUrrY6Bmev53KK5NEGSucICTDIvp337LB7LFRwiqUcW8+2E M6ljyMSSptwz/oO66UUlxaRzh+zrNGs6ILH82DfRYshE+odQ169lyrGT9gnS9x4FaeCpB+ S23+4fnlQ8apjDDXZVp0u/IkUZK6tlOYm2juBrikAJ4ZJqbU7QvfRs0qIdzOqkMmFeq3xM fzu+dybnSiUHUzmmLhXzeDYGE8EZMimZIUVzff53qEvodg4WgmW7MfC7dpLFO3uUxViaZ4 X+nBN2cCZlyJzgRYTVj0Mf8SybSuMd54RylSp8fR4mUs43OLhYRhNtFlsz2saA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=T1XGsFNs; 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.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=T1XGsFNs; 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: E52EE2B0E4 X-Spam-Score: -3.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: G8hAega+cNBB --- lisp/org-compat.el | 88 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/lisp/org-compat.el b/lisp/org-compat.el index ed2ae62f4..3e8f49f0a 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -267,6 +267,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)) @@ -376,6 +381,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") @@ -383,6 +462,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.35.1 -- Ihor Radchenko, PhD, Center for Advancing Materials Performance from the Nanoscale (CAMP-nano) State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong University, Xi'an, China Email: yantar92@gmail.com, ihor_radchenko@alumni.sutd.edu.sg