all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] org-src: flatten-tree is Emacs 27.1; require compat
@ 2023-07-04 23:21 Justin
  2023-07-05 10:23 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Justin @ 2023-07-04 23:21 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

Also available at fake PR https://github.com/vallon/org-mode/pull/1

git fetch https://github.com/vallon/org-mode compat-for-flatten-tree

---
  lisp/org-src.el | 1 +
  1 file changed, 1 insertion(+)

diff --git a/lisp/org-src.el b/lisp/org-src.el
index 317682844..b8db7c128 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -40,6 +40,7 @@
  (require 'org-compat)
  (require 'org-keys)
  (require 'sh-script)
+(require 'compat)

  (declare-function org--get-expected-indentation "org" (element contentsp))
  (declare-function org-mode "org" ())
-- 
2.20.1


[-- Attachment #2: 0001-flatten-tree-is-new-in-27.1-require-compat.patch --]
[-- Type: text/x-patch, Size: 631 bytes --]

From 59788bd2ad1f94627bc172f24cce6ecd4f024420 Mon Sep 17 00:00:00 2001
From: Justin Vallon <JustinVallon@gmail.com>
Date: Tue, 4 Jul 2023 19:01:51 -0400
Subject: [PATCH] flatten-tree is new in 27.1; require compat

---
 lisp/org-src.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/org-src.el b/lisp/org-src.el
index 317682844..b8db7c128 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -40,6 +40,7 @@
 (require 'org-compat)
 (require 'org-keys)
 (require 'sh-script)
+(require 'compat)
 
 (declare-function org--get-expected-indentation "org" (element contentsp))
 (declare-function org-mode "org" ())
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] org-src: flatten-tree is Emacs 27.1; require compat
  2023-07-04 23:21 [PATCH] org-src: flatten-tree is Emacs 27.1; require compat Justin
@ 2023-07-05 10:23 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-07-05 10:23 UTC (permalink / raw)
  To: Justin; +Cc: emacs-orgmode

Justin <justinvallon@gmail.com> writes:

> Also available at fake PR https://github.com/vallon/org-mode/pull/1


> Subject: [PATCH] flatten-tree is new in 27.1; require compat
>
> ---
>  lisp/org-src.el | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/lisp/org-src.el b/lisp/org-src.el
> index 317682844..b8db7c128 100644
> --- a/lisp/org-src.el
> +++ b/lisp/org-src.el
> @@ -40,6 +40,7 @@
>  (require 'org-compat)
>  (require 'org-keys)
>  (require 'sh-script)
> +(require 'compat)

Unfortunately, it is not so easy.
compat is an external package and is also not available when Org is
distributed as a part of Emacs.

See https://list.orgmode.org/orgmode/87r0t3gahd.fsf@localhost/

Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-05 10:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04 23:21 [PATCH] org-src: flatten-tree is Emacs 27.1; require compat Justin
2023-07-05 10:23 ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.