Skip to content

Instantly share code, notes, and snippets.

@stefan2904
Created December 13, 2022 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefan2904/3ae53a47b4774a1349a1b483b52587f8 to your computer and use it in GitHub Desktop.
Save stefan2904/3ae53a47b4774a1349a1b483b52587f8 to your computer and use it in GitHub Desktop.
FROM debian:sid
RUN apt-get update
RUN apt-get install -y git emacs
RUN git clone --depth 1 --branch 0.4 https://github.com/toshism/org-super-links.git org-super-links-04
RUN git clone --depth 1 --branch fix-time-format https://github.com/akirak/org-super-links.git org-super-links-fix
ADD org-sl-test-04.el .
ADD org-sl-test-fix.el .
CMD ["bash"]
FROM debian:sid
RUN apt-get update
RUN apt-get install -y git make emacs
RUN git clone --depth 1 --branch 0.4 https://github.com/toshism/org-super-links.git org-super-links-04
RUN git clone --depth 1 --branch fix-time-format https://github.com/akirak/org-super-links.git org-super-links-fix
RUN git clone --depth 1 --branch release_9.6 https://git.savannah.gnu.org/git/emacs/org-mode.git
RUN cd org-mode && make autoloads
ADD org-sl-test-04.el .
ADD org-sl-test-fix.el .
CMD ["bash"]
(add-to-list 'load-path "/org-mode/lisp")
(require 'org)
(print (concat "Test for org version: " (org-version)))
(print "Test using upstream 0.4 tag:")
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(add-to-list 'load-path "/org-super-links-04")
(package-initialize)
(require 'org-super-links)
(print (concat "org-time-stamp-formats: " (cdr org-time-stamp-formats)))
(print (concat "substring: " (substring (cdr org-time-stamp-formats) 1 -1)))
(print (concat "org-super-links-link-prefix-timestamp: " (org-super-links-link-prefix-timestamp)))
(add-to-list 'load-path "/org-mode/lisp")
(require 'org)
(print (concat "Test for org version: " (org-version)))
(print "Test using akirak fix-time-format branch:")
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(add-to-list 'load-path "/org-super-links-fix")
(package-initialize)
(require 'org-super-links)
(print (concat "org-time-stamp-formats: " (cdr org-time-stamp-formats)))
(print (concat "substring: " (substring (cdr org-time-stamp-formats) 1 -1)))
(print (concat "org-super-links-link-prefix-timestamp: " (org-super-links-link-prefix-timestamp)))
@stefan2904
Copy link
Author

See comments in toshism/org-super-links#78 for results

@stefan2904
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment