emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 99c9cae25c 1/4: Revert "Obsolete `org-src-associate


From: ELPA Syncer
Subject: [elpa] externals/org 99c9cae25c 1/4: Revert "Obsolete `org-src-associate-babel-session' and related functionality"
Date: Fri, 5 Jan 2024 09:58:32 -0500 (EST)

branch: externals/org
commit 99c9cae25c49765d98dae1c63185d1bbf434a44b
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    Revert "Obsolete `org-src-associate-babel-session' and related 
functionality"
    
    This reverts commit 7926045ff5e56abf34b5d442a817a847db7b9933.
    
    `org-src-associate-babel-session' is still useful because:
    
    1. It indicates the need to implement session association to babel
       backend (although we still need to make it more clear for backend
       authors in future).
    
    2. It provides infrastructure for more granular control over session
       association for third-party packages.  For example, we might want
       to disabled session association when it can cause unwanted side
       effects, like starting comint process unconditionally (looking at
       ob-R and other ess-based backends).
---
 etc/ORG-NEWS       |  6 ------
 lisp/org-compat.el | 10 ----------
 lisp/org-src.el    |  3 ---
 3 files changed, 19 deletions(-)

diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index d49ec8b91f..a44872559c 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -20,12 +20,6 @@ examination".  This was not documented, was done in the 
background,
 and is not consistent with all other export backends. Now, this
 feature is removed.
 
-*** ~org-src-associate-babel-session~ and ~org-babel-<lang>-associate-session~ 
are now obsolete
-
-This functionality is not documented, rarely used and can be achieved
-via ~org-babel-edit-prep-<lang>~ function.  The latter is the
-new recommended way to setup session in Org src buffers.
-
 *** ~org-print-speed-command~ is now an internal function
 
 The old name is marked obsolete and the new name is
diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index 6fcea1837e..7fb4e15fde 100644
--- a/lisp/org-compat.el
+++ b/lisp/org-compat.el
@@ -462,16 +462,6 @@ Counting starts at 1."
 (define-obsolete-function-alias 'org-string-match-p 'string-match-p "9.0")
 
 ;;;; Functions and variables from previous releases now obsolete.
-
-(make-obsolete
- 'org-src-associate-babel-session
- "To be removed in the next release.  Use `org-babel-edit-prep:<lang>' 
instead."
- "9.7")
-(make-obsolete
- 'org-src-babel-configure-edit-buffer
- "To be removed in the next release.  Use a custom `org-src-mode-hook' 
instead."
- "9.7")
-
 (define-obsolete-variable-alias 'org-export-ignored-local-variables
   'org-element-ignored-local-variables "Org 9.7")
 (define-obsolete-function-alias 'org-habit-get-priority
diff --git a/lisp/org-src.el b/lisp/org-src.el
index a83b10d03a..e1c101b18f 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -918,9 +918,6 @@ See also `org-src-mode-hook'."
 
 ;;; Babel related functions
 
-;; FIXME: This block is to be removed in the following release.
-;; `org-babel-edit-pre:<lang>' can be used in place.
-
 (defun org-src-associate-babel-session (info)
   "Associate edit buffer with comint session.
 INFO should be a list similar in format to the return value of



reply via email to

[Prev in Thread] Current Thread [Next in Thread]