Commit graph

1173 commits

Author SHA1 Message Date
Carsten Dominik e21d08ae35 Improve org-file-apps docstring
Patch by Jan Böker.
2010-05-13 07:19:24 +02:00
Carsten Dominik 90c37b3f4a Fix empty line display after property visibility 2010-05-12 15:56:46 +02:00
Carsten Dominik 33fba09ddb Match also image paths relative to home
Baoqui Cui writes:

> "robut@iinet.net.au" <robut@iinet.net.au> writes:
>
> I very much like the idea of native inline image display in Org-mode but  can't
> seem to make it work.
>
> Given a 6.36 snapshot or 6.36 release and these org file contents
>
> * Test image
> Test image
> [[Screenshot.png]]
>
>
> I hoped org would display that image after C-c C-x C-v. Rather Org-mode returns
> "No images to display inline".
>
> I've tried different ways of linking that image, different image formats,
> relative vs complete paths, and my regular .emacs vs  a near empty one and
> always the same result. If I toggle iimage-mode the image displays fine per se
> but does not affect how Org-mode works.
>
> Seems clear I am missing something simple. What?
>
> I like the idea of inline image display too, but hit the similar
> problems.  After reading the code in org.el, I found that the inline
> image file link has to start with either "file:" or "./".
>
> For example, the following two links are OK:
>
>   [[file:~/images/myImage.png]]
>   [[./figures/org-mode-unicorn.svg]]
>
> but the following two are not:
>
>   [[Screenshot.png]]
>   [[~/images/myImage.png]]
>
> Here is a small patch that seems to work well for me, but I'd like
> Carsten to check whether it may break anything
2010-05-12 14:51:42 +02:00
Carsten Dominik 1444920253 Improve inline image display 2010-05-12 14:38:30 +02:00
Carsten Dominik 3d8b6de2ad Free up the `C-c C-v' key for Org Babel
TODO sparse trees are also accessible with `C-c / t'.
2010-05-12 08:04:27 +02:00
Carsten Dominik fdb446fa2e Revert comment syntax changes 2010-05-11 00:44:50 +02:00
Carsten Dominik 3352fc0c62 Make C-v and M-v work when entering date with popup calendar
Requested by Leo.
2010-05-10 08:57:20 +02:00
Carsten Dominik 19aec9ed9a Fix minor bug
Patch by Gregory J. Grubbs
2010-05-10 08:46:03 +02:00
Carsten Dominik d087351f37 Make C-c / t' search for all TODO keywords, C-c / T' for a specific one 2010-05-09 07:21:51 +02:00
Carsten Dominik c86a3fc4aa Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
Carsten Dominik 88100d1580 Release 6.36a 2010-05-09 06:13:54 +02:00
Carsten Dominik 9e9f083aa9 Fix comment syntax in org-mode
Patch by Leo.

If this works, we have fixed an issue that has bugged me for several
years.
2010-05-08 17:10:14 +02:00
Carsten Dominik f5cffa89ef Minor fixes 2010-05-08 09:25:47 +02:00
Carsten Dominik 7147508d81 Implement inline display of linked images 2010-05-08 09:20:32 +02:00
Carsten Dominik 0448121f00 Avoid infinite loop when replacing escapes
Patch by David Maus, who writes:

> Org enters an infinite loop when `org-replace-escapes' is called with
> a table containing a replace string that contains the escape sequence
> it should be replaced with.
>
> Example:
> ,----
> | (org-replace-escapes "%m" '(("%m" . "87zl0qq1f3.wl%maus.david@gmail.com")))
> `----
>
> I stumpled upon when I tried to store a link to a internet message
> whose message id contained the sequence "%m" (perfectly valid for a
> message id) while using "%m" as message description.
>
> Attached patch fixes this by
>
>  1. detecting such 'self reference' and replacing the offending
>     sequence in the replace string by a string with a text property
>     that contains the original sequence
>
>  2. replacing occurences of substrings with this text property by the
>     original sequence.
2010-05-08 07:20:54 +02:00
Carsten Dominik 6a98418b66 Make M-right/left work on regions again
Patch by Matt Lundin
2010-05-07 09:14:48 +02:00
Dan Davison e873ef54b3 Some docstring typos 2010-04-30 22:35:50 -04:00
Carsten Dominik 91749e6594 Make the inclusion of packages for snippet creation optional 2010-04-27 07:44:14 +02:00
Carsten Dominik a9539f449c Implement doi: links
Patch by Lennart Borgman.
2010-04-26 17:12:45 +02:00
Carsten Dominik da775ffebf Stop table mapping from emitting messages 2010-04-25 13:57:39 +02:00
Carsten Dominik 3864204d37 Four more hooks in the S-cursor commands 2010-04-25 09:03:18 +02:00
Carsten Dominik 07198e34f6 XEmacs compatibility fix 2010-04-23 21:02:19 +02:00
Carsten Dominik 98026d21e3 New hooks to attach commands to S-cursor hooks 2010-04-23 20:52:28 +02:00
Carsten Dominik 11baa7cf77 Make M-left and M-right affect only the item, not its children
This behavior is now parallel to the treatment of outline nodes.

This commit also introduces another change.  When an outline node or a
plain list item is folded by outline and contains hidden children,
M-left/right will refuse to act on this item.  You must either open
the tree, or use the subtree commands M-S-left and M-S-right.

Based on a patch by Matti De Craene, but significantly modified after
a discussion involving Bernt Hansen and others.
2010-04-23 10:26:15 +02:00
Carsten Dominik e0ca9a5bdf More work on simplifying compatibility code 2010-04-21 09:18:12 +02:00
Carsten Dominik 56ba0892e5 Simplify XEmacs key bindings 2010-04-21 08:38:09 +02:00
Carsten Dominik 1ac063248f Revert "Call org-reveal after refiling"
This reverts commit a30955b050.
2010-04-20 15:37:39 +02:00
Carsten Dominik c6ea2a1457 Use overlay-in and overlay-at instead of compatibility functions 2010-04-20 12:17:06 +02:00
Carsten Dominik 97e20048b2 Use `add-to-invisibility-spec' directly 2010-04-18 19:41:05 +02:00
Carsten Dominik b35b9914e6 Revert "Use `add-to-invisibility-spec' directly"
This reverts commit c2e5b13a2d.
2010-04-18 19:38:10 +02:00
Carsten Dominik c2e5b13a2d Use `add-to-invisibility-spec' directly 2010-04-18 19:26:30 +02:00
Carsten Dominik 354b6a0c3b Declare a function 2010-04-18 16:50:12 +02:00
Carsten Dominik 8bd9308662 No linger bind obsolete calendar variables 2010-04-18 16:49:58 +02:00
Carsten Dominik f45e6a28b1 Use the normal overlay API, not Org's one 2010-04-18 16:49:58 +02:00
Carsten Dominik 88149c2390 intermediate 2010-04-18 15:06:16 +02:00
Carsten Dominik 84f72287cc Fix typo 2010-04-18 08:12:47 +02:00
Carsten Dominik 5ef02b0c1d Minor fix 2010-04-17 07:39:59 +02:00
Carsten Dominik 43bf1bbbd7 Push version number to 6.35trans 2010-04-15 12:24:55 +02:00
Carsten Dominik 12e73e58af Only record LAST_REPEAT if it makes sense.
The definition of "makes sense is here:

- either the user is logging repeats (org-log-repeat)
- or the entry contains clock data, in which case the LAST_REPEAT is
  needed to display clocking time properly.

Request by Dan Griswold, with some support from Bernt Hansen
2010-04-14 13:49:03 +02:00
Carsten Dominik 9cfebf0842 New command to align all tags 2010-04-13 09:05:00 +02:00
Carsten Dominik bad2d177e9 Minor fix 2010-04-13 03:46:34 +02:00
Carsten Dominik ada4127536 Remove dependency on cl-seq.el 2010-04-12 18:56:43 +02:00
Carsten Dominik 4b475bcd11 Merge commit 'jan/org-file-apps-ex'
Conflicts:
	lisp/ChangeLog
2010-04-12 18:45:58 +02:00
Carsten Dominik 436302c1a2 Fix XEmacs compatibility 2010-04-12 18:37:51 +02:00
Carsten Dominik 32340d0389 Make the repeater target state configurable
The target state can now be fixed locally with the REPEAT_TO_STATE
property, or globally with the variable `org-todo-repeat-to-state'.

This was a request by John Wiegley.
2010-04-12 12:02:56 +02:00
Carsten Dominik 33e5924ba4 Remove microtype package from the defaults 2010-04-12 09:11:03 +02:00
Jan Böcker dfda58d720 org-open-file: match against dlink only if the command to be executed actually seems to use the subexpression matches as parameters.
This does not try to determine if a subexpression match is
actually used in the case of a custom lisp form.
2010-04-10 12:46:45 +02:00
Jan Böcker 6deb088a5c org-open-file: decide whether to match against filename or whole link based on wether the regexp makes use of grouping 2010-04-10 12:22:55 +02:00
Jan Böcker 447552b81b fix typo 2010-04-09 23:03:39 +02:00
Jan Böcker 55dee1d251 Match regexps in the new variable org-file-apps-ex against the whole link. 2010-04-09 21:15:56 +02:00