org-mode/testing/examples
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
..
att1 org-attach*, org, org-manual, org-news, ox-html, testing/* 2019-07-07 19:55:49 +02:00
att2 org-attach*, org, org-manual, org-news, ox-html, testing/* 2019-07-07 19:55:49 +02:00
data/ab/cd123 org-attach*, org, org-manual, org-news, ox-html, testing/* 2019-07-07 19:55:49 +02:00
pub Merge branch 'maint' 2018-02-15 15:04:59 +01:00
pub-symlink Fix failing tests 2018-02-15 15:01:45 +01:00
subdir fix SETUPFILE pathname expansion with subdirectories 2015-09-24 10:16:04 +02:00
agenda-file.org test-org-agenda: Test diary inclusion 2019-01-08 21:32:44 +01:00
attachments.org org-attach*, org, org-manual, org-news, ox-html, testing/* 2019-07-07 19:55:49 +02:00
babel-dangerous.org change this failing test so that it no longer fails 2013-04-03 11:30:14 -06:00
babel.org Remove unnecessary `(require 'cl)' 2018-04-29 12:04:26 +02:00
diary-file test-org-agenda: Test diary inclusion 2019-01-08 21:32:44 +01:00
include.html ox: implement additional #+INCLUDE markup 2014-06-07 18:02:52 +02:00
include.org ox: Update INCLUDE keywords wrt property drawers 2014-10-28 14:23:52 +01:00
include2.org Fix the maint branch. 2012-03-19 20:27:28 +01:00
link-in-heading.org test: re-arranging example files into their own directory 2010-10-05 11:54:48 -06:00
links.org Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
macro-templates.org Remove useless data in test file 2012-10-10 22:46:50 +02:00
no-heading.org Change Org-mode into Org mode 2017-12-31 15:48:09 +01:00
normal.org Change Org-mode into Org mode 2017-12-31 15:48:09 +01:00
ob-C-test.org Replace TBLNAME with NAME in tests 2016-02-10 15:40:11 +01:00
ob-awk-test.in Awk can be called with no in-file: and no :stdin 2011-07-24 14:05:55 -06:00
ob-awk-test.org awk code blocks handle tabular input 2014-06-07 11:16:55 -04:00
ob-fortran-test.org Replace TBLNAME with NAME in tests 2016-02-10 15:40:11 +01:00
ob-header-arg-defaults.org Remove deprecated syntax for Babel properties 2016-07-04 00:41:56 +02:00
ob-lilypond-broken.ly ob-lilypond: test suite, all tests passing 2011-07-01 12:22:33 -07:00
ob-lilypond-broken.org ob-lilypond: test suite, all tests passing 2011-07-01 12:22:33 -07:00
ob-lilypond-test.error ob-lilypond: test suite, all tests passing 2011-07-01 12:22:33 -07:00
ob-lilypond-test.ly ob-lilypond: test suite, all tests passing 2011-07-01 12:22:33 -07:00
ob-lilypond-test.org ob-lilypond: test suite, all tests passing 2011-07-01 12:22:33 -07:00
ob-maxima-test.org ob-maxima-test: Clarify matrix test 2016-08-20 23:36:41 +02:00
ob-octave-test.org ob-octave.el: Add graphical output 2011-12-17 09:04:20 -07:00
ob-screen-test.org Map "screen" to shell-script-mode 2012-01-20 11:47:13 -07:00
ob-sed-test.org Org Babel now supports sed scripts 2015-05-30 14:59:01 +02:00
ob-shell-test.org ob-shell.el: export vars as arrays for 'sh' code blocks 2014-04-14 21:24:00 -06:00
org-exp.org test of comma stripping behavior 2011-09-06 21:58:51 -06:00
property-inheritance.org Remove deprecated syntax for Babel properties 2016-07-04 00:41:56 +02:00
setupfile.org fix SETUPFILE pathname expansion with subdirectories 2015-09-24 10:16:04 +02:00
setupfile3.org fix SETUPFILE pathname expansion with subdirectories 2015-09-24 10:16:04 +02:00