org-mode/lisp
Gustav Wikström ae9cd4370b org-attach*, org, org-manual, org-news, ox-html, testing/*
* lisp/org-attach.el

Changed the way attachments deal with property-inheritance.  It now
adheres to the =org-use-property-inheritance= setting by default but
it can be customized if needed (I recommend to enable it!).
The property ATTACH_DIR is deprecated in favour of the shorter and simpler
property DIR.

Added an explicit option to =org-attach= for unsetting
attachment-directories (i.e. remove DIR property and deal with the
attachments by interaction).

Added attachment link type with the prefix "attachment:".

Added customizations:
- org-attach-dir-relative
- org-attach-preferred-new-method
- org-attach-use-inheritance
- org-attach-id-to-path-function

Hooks added:
- org-attach-after-change-hook
- org-attach-open-hook

A new linktype "attachment" is added in order to reduce
link-duplication when wanting to link to files in attached folders of
nodes.  This works for both ID and DIR properties.  The goal is to
make the functionality for attachment links mirror the functionality
for file links.

* lisp/org-attach-git.el

New file, existing functionality.  Code here has been factored out
from org-attach.el and if GIT-functionality is to be used this module
needs to be required sepatately.  It extends org-attach by use of its
hooks.

Activating git functionality in org-attach is done by loading
org-attach-git from now on, instead of customizing a variable.

Naming of both functions and tests has been modified to match the move
of functionality into its own module.

* lisp/org.el

Inline images are shown also using attachment-links, exactly the same
as it works for file-links today.

Make org-open-at-point respect ARG when opening attachment-dir.

* lisp/org-compat.el

org-attach-directory has been deprecated in favour for
org-attach-id-dir.  The new name matches its purpose better.

* lisp/ox-html.el

Export attachment links to images as inline images, in the same way as
file links work today.

* etc/ORG-NEWS

Mention the changes in this patch.

* doc/org-manual.org

The chapter "Refile, Copy, Archive" has been split into two separate
chapters.
- "Refile, Copy and Archiving" for information related to moving
  existing data around.

- "Capture, Attachments, RSS Feeds and Protocols" for information
  related to working with external data.

The attachment-part has been rewritten and extended to match the
changes in this patch.

The new attachment link type is mentioned both inside the attachments
chapter and in the chapter dealing with links.

Documentation related to external links has been improved.

* testing/lisp/test-org-attach-annex.el

Require org-attach-git instead of org-attach, since this file tests
the GIT-functionality.

* testing/lisp/test-org-attach.el

Add tests for org-attach.

* testing/org-test.el

Define a symbol for a file to test attachments with.

* testing/examples/*

A bunch of new example files and folders are created and are used in
testing of org-attach to verify its functionality.
2019-07-07 19:55:49 +02:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-C.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-J.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-R.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-abc.el Backport commit 8832cc5f9 from Emacs 2019-03-17 22:52:48 -04:00
ob-asymptote.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-awk.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-calc.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-clojure.el ob-clojure: Don't tangle with auto prepend ns statement 2019-01-21 21:17:47 +01:00
ob-comint.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-coq.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-core.el ob-core: Fix :dir when :mkdirp is not defined 2019-04-25 10:36:40 +02:00
ob-css.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-ditaa.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-dot.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-ebnf.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-emacs-lisp.el ob-emacs-lisp: Set `lexical-binding' in edit buffers 2019-03-14 15:41:11 +01:00
ob-eshell.el ob-eshell: Silence byte-compiler 2018-10-03 18:44:34 +02:00
ob-eval.el Backport commit 662bee7d7 from Emacs 2019-01-13 12:43:04 -05:00
ob-exp.el Move `org-fill-template' into "org-macs.el" 2019-03-10 18:00:36 +01:00
ob-forth.el Backport commit 8832cc5f9 from Emacs 2019-03-17 22:52:48 -04:00
ob-fortran.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-gnuplot.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-groovy.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-haskell.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-hledger.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-io.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-java.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-js.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-latex.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-ledger.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-lilypond.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-lisp.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-lob.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-lua.el ob-lua: Fix multi-line :var input 2019-01-30 23:42:32 +01:00
ob-makefile.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-matlab.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-maxima.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-mscgen.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-ocaml.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-octave.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-org.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-perl.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-picolisp.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-plantuml.el Merge branch 'maint' 2019-01-01 11:54:01 +01:00
ob-processing.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-python.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-ref.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-ruby.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-sass.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-scheme.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-screen.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-sed.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-shell.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-shen.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-sql.el ob-sql: Silence byte-compiler 2019-04-16 21:53:15 +02:00
ob-sqlite.el Move `org-fill-template' into "org-macs.el" 2019-03-10 18:00:36 +01:00
ob-stan.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-table.el Update copyright year 2019-01-01 11:50:56 +01:00
ob-tangle.el Change bracket link escape syntax 2019-03-10 18:00:36 +01:00
ob-vala.el Update copyright year 2019-01-01 11:50:56 +01:00
ob.el Merge branch 'maint' 2019-01-01 11:54:01 +01:00
ol-bbdb.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
ol-bibtex.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
ol-docview.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
ol-eshell.el Merge branch 'maint' 2019-04-02 19:07:21 -04:00
ol-eww.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
ol-gnus.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
ol-info.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
ol-irc.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
ol-mhe.el Merge branch 'maint' 2019-03-17 22:56:24 -04:00
ol-rmail.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
ol-w3m.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
ol.el ol: Fix `org-previous-link' skipping links 2019-04-10 15:26:46 +02:00
org-agenda.el Merge branch 'maint' 2019-07-06 10:25:18 +02:00
org-archive.el Use `org-flag-subtree' instead of `outline-hide-subtree' 2019-05-11 09:48:53 +02:00
org-attach-git.el org-attach*, org, org-manual, org-news, ox-html, testing/* 2019-07-07 19:55:49 +02:00
org-attach.el org-attach*, org, org-manual, org-news, ox-html, testing/* 2019-07-07 19:55:49 +02:00
org-capture.el Fix inserting capture templates at point 2019-07-06 16:02:37 +02:00
org-clock.el org-clock: Clear org-clock-current-task on clock cancel 2019-06-15 11:53:42 +02:00
org-colview.el Merge branch 'maint' 2019-03-21 22:16:02 +01:00
org-compat.el org-attach*, org, org-manual, org-news, ox-html, testing/* 2019-07-07 19:55:49 +02:00
org-crypt.el Use `org-flag-subtree' instead of `outline-hide-subtree' 2019-05-11 09:48:53 +02:00
org-ctags.el Backport commit 20b858ef1 from Emacs 2019-01-13 12:43:04 -05:00
org-datetree.el Backport commit e14c0d748 from Emacs 2019-03-24 20:39:52 -04:00
org-duration.el Backport commit 476066e89 from Emacs 2019-03-03 22:49:42 -05:00
org-element.el org-element: Parse affiliated keywords according to granularity 2019-06-09 00:51:53 +02:00
org-entities.el Update copyright year 2019-01-01 11:50:56 +01:00
org-faces.el org-faces: Use regexp-opt in org-set-tag-faces 2019-02-02 22:50:07 +01:00
org-feed.el Use `org-flag-subtree' instead of `outline-hide-subtree' 2019-05-11 09:48:53 +02:00
org-footnote.el Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
org-goto.el org-goto: Remove jump to point-min at every start of search 2019-02-09 16:06:06 +01:00
org-habit.el org-habit: C-u K in agenda toggles display all/today habits 2019-03-18 17:06:28 +01:00
org-id.el Merge branch 'maint' 2019-06-09 21:39:18 -04:00
org-indent.el Revert "(current-time) => nil" for Emacs 24 compatibility 2019-01-31 23:03:10 -05:00
org-inlinetask.el org-inlinetask: remove unused function 2019-03-14 23:41:20 +01:00
org-install.el
org-keys.el Make LaTeX preview toggle more useful and predictable 2019-02-14 00:14:25 +01:00
org-lint.el Merge branch 'maint' 2019-03-14 18:12:08 +01:00
org-list.el org-list: Change `org-list-to-subtree' signature 2019-06-10 00:19:32 +02:00
org-macro.el Merge branch 'maint' 2019-04-29 20:49:09 +02:00
org-macs.el Move table-related variables and functions into "org-table" 2019-03-15 00:15:30 +01:00
org-mobile.el Merge branch 'maint' 2019-03-17 22:56:24 -04:00
org-mouse.el Backport commit 3c94c7bc0 and db9c924d3 from Emacs 2019-03-17 22:52:27 -04:00
org-num.el org-num: Add missing :package-version keywords 2019-02-05 09:19:56 +01:00
org-pcomplete.el Merge branch 'maint' 2019-03-24 20:44:13 -04:00
org-plot.el Backport commit 3c94c7bc0 and db9c924d3 from Emacs 2019-03-17 22:52:27 -04:00
org-protocol.el Merge branch 'maint' 2019-03-17 22:56:24 -04:00
org-src.el org-src: New `org-src-get-lang-mode' function 2019-04-07 09:16:36 +02:00
org-table.el Merge branch 'maint' 2019-06-28 17:50:53 +02:00
org-tempo.el Update copyright year 2019-01-01 11:50:56 +01:00
org-timer.el Merge branch 'maint' 2019-02-13 13:04:45 +01:00
org.el org-attach*, org, org-manual, org-news, ox-html, testing/* 2019-07-07 19:55:49 +02:00
ox-ascii.el Add :target option for the TOC keyword 2019-05-30 15:25:46 +02:00
ox-beamer.el ox-beamer: Export overlay specification for notes 2019-01-26 18:23:42 +01:00
ox-html.el org-attach*, org, org-manual, org-news, ox-html, testing/* 2019-07-07 19:55:49 +02:00
ox-icalendar.el Update stale link-related library names 2019-04-20 15:02:54 -04:00
ox-latex.el ox-latex: Allow labels in matrices 2019-05-13 00:51:39 +02:00
ox-man.el Update copyright year 2019-01-01 11:50:56 +01:00
ox-md.el ox-md: Silence byte compiler 2019-06-05 18:34:38 +02:00
ox-odt.el Add :target option for the TOC keyword 2019-05-30 15:25:46 +02:00
ox-org.el Update copyright year 2019-01-01 11:50:56 +01:00
ox-publish.el Merge branch 'maint' 2019-06-09 21:39:18 -04:00
ox-texinfo.el ox-texinfo: Support lettered lists 2019-03-13 15:38:43 +01:00
ox.el Merge branch 'maint' 2019-06-12 18:22:50 +02:00