Commit Graph

2762 Commits

Author SHA1 Message Date
Carsten Dominik 9b6eeb4d2d Fix sitemap creation 2010-04-23 06:49:22 +02:00
Carsten Dominik 238a3d2818 Another fix for sitemap sorting 2010-04-23 00:06:10 +02:00
Carsten Dominik 830e0cfe40 Fix file sorting for publishing. 2010-04-22 18:04:13 +02:00
Carsten Dominik d3b8ca4a3e Use (featurep 'xemacs) to help the byte compiler 2010-04-22 15:30:12 +02:00
Carsten Dominik 16c0dd7f69 Fix a small issue with the sitemap code 2010-04-22 15:14:16 +02:00
Carsten Dominik cbf97141d0 Index: Allow index entries before the first headline
Requested by Stefan Vollmar.
2010-04-22 09:27:43 +02:00
Carsten Dominik 2bc8590755 HTML export: Allow sorting of the site map
Patch by Sebastian Rose
2010-04-22 09:27:35 +02:00
Carsten Dominik 816ff72306 Terminating lists by indentation of #+SPECIALS too
Sebastien Rose writes:

> there was much discussion about a terminator and I ran into a problem,
> that made me think we need one. But then I found we had one --- it's
> just not used on HTML export.
>
>
> Below is a little file I wrote. Thanks to the `- __' items, it results
> in the XHTML closely to what I wanted it to.
> But only as long as I use those _undocumented_ `- __' items. Once you
> remove them, you'll see, that the `#+html: </div...' stuff ends up
> inside the last list item and the XHTML will not validate.
>
>
> As I looked at it, I found the most natural solution would be, to
> terminate the list by regarding the indentation of `#+WHATEVER' and
> `#+BEGIN_WHATEVER' if inside lists [fn:1].
>
>
>
> The patch below (diffed against `remove-compatibility-code') makes
> XHTML-export honor the indentation of `#+SPECIALS'.
>
>
>
> Here's the Org-file I wrote (remove and add the `- __' list items to see
> the effect):
>
> #+OPTIONS: toc:nil
> #+STYLE: <style type="text/css">
> #+STYLE: body,p,div,td{font-size:13px;font-family:sans-serif;}
> #+STYLE: div { text-align:left; }
> #+STYLE: #content {width:550px;
> #+STYLE:     margin-left:auto;margin-right:auto;text-align:center; }
> #+STYLE: #postamble { width:550px;clear:both;border-top:1px solid black;
> #+STYLE:      margin-left:auto;margin-right:auto;text-align:center; }
> #+STYLE: </style>
>
> * List of design patterns
>
>  #+HTML: <div style="width:48%;float:left;">
>  *Behavioural Patterns*
>    - [[file:BatchCommand][BatchCommand]]
>    - [[file:ChainOfResponsibility.org][Chain Of Responsibility]]
>    - [[file:Command.org][Command]], UndoableCommand and BatchCommand
>    - [[file:Interpreter.org][Interpreter]]
>    - [[file:Iterator.org][Iterator]]
>    - [[file:Mediator.org][Mediator]]
>    - [[file:Memento.org][Memento]]
>    - [[file:NullObject][NullObject]]
>    - [[file:Observer.org][Observer]]
>    - [[file:State.org][State]]
>    - [[file:Strategy.org][Strategy]]
>    - [[file:TemplateMethod.org][Template Method]]
>    - [[file:Visitor.org][Visitor]]
>  *Creational Patterns*
>    - [[file:AbstractFactory.org][Abstract Factory]]
>    - [[file:Builder.org][Builder]]
>    - [[file:Factory.org][Factory]]
>    - [[file:FactoryMethod.org][Factory Method]]
>    - [[file:Prototype.org][Prototype]]
>    - [[file:Singleton.org][Singleton]]
>    - __
>  #+html: </div>
>  #+html: <div style="width:48%;float:right;">
>  *Structural Patterns*
>    - [[file:Adapter.org][Adapter]]
>    - [[file:Composite.org][Composite]]
>    - [[file::Bridge.org][Bridge]]
>    - [[file:Decorator.org][Decorator]]
>    - [[file:Facade.org][Facade]]
>    - [[file:Flyweight.org][Flyweight]]
>    - [[file:Proxy.org][Proxy]]
>  *Unsorted*
>    - [[file:BusinessDelegate.org][Business Delegate]]
>    - [[file:DataAccessObject.org][Data Access Object]]
>    - [[file:DataTransferObject.org][Data Transfer Object]]
>    - [[file:DependencyInjection.org][Dependency Injection]]
>    - [[file:FluentInterface.org][Fluent Interface]]
>    - [[file:InversionOfControl.org][Inversion Of Control]]
>    - [[file:ModelViewControler.org][Model View Controler]]
>    - [[file:ModelViewPresenter.org][Model View Presenter]]
>    - [[file:Plugin.org][Plugin]]
>    - __
>  #+HTML: </div>
2010-04-22 08:41:09 +02:00
Carsten Dominik e84998ada8 Fix typo 2010-04-21 09:51:30 +02:00
Carsten Dominik 008dbe15ec Don't mistake ditaa figures for tables
Patch by Dan Davison, after a report by Bernt Hansen.
2010-04-21 09:49:31 +02:00
Carsten Dominik 75a68313fc Fix typo 2010-04-21 09:18:20 +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 5a62721822 Make inline task insertion deal with `org-odd-levels-only'
Also make it possible to define a default state for an inline task.

Patch by Sebastian Rose.
2010-04-20 18:31:03 +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 cb624111af Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Conflicts:
	lisp/ChangeLog
2010-04-20 15:37:18 +02:00
Carsten Dominik c6ea2a1457 Use overlay-in and overlay-at instead of compatibility functions 2010-04-20 12:17:06 +02:00
Bastien Guerry e60353004c Modify `org-clock-set-current' to just return the headline itself, strip
the TODO keyword, the priority cookie and the tags.
2010-04-19 12:57:34 +02:00
Carsten Dominik b65f1f9489 Redefine the functions where XEmacs invisibility has to be turned off 2010-04-18 19:58:24 +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 a000f6163d Merge branch 'simplify-but-keep-xemacs-compatibility'
Conflicts:
	lisp/ChangeLog
2010-04-18 16:55:32 +02:00
Carsten Dominik 3672a495e1 Fix minor bug with call to kill-buffer 2010-04-18 16:54:19 +02:00
Carsten Dominik bb0ef787b7 Require calendar already on top level in org.el 2010-04-18 16:50:13 +02:00
Carsten Dominik 354b6a0c3b Declare a function 2010-04-18 16:50:12 +02:00
Carsten Dominik 34884f6e9e Overlay changes for org-colview-xemacs.el 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 b934169526 Get rid of some compiler warnings 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 0c8557b401 Silence compiler about called-interactively 2010-04-18 16:49:36 +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 106ae88091 Allow dashes and more in the ORGTBL SEND name 2010-04-18 08:11:07 +02:00
Carsten Dominik 5ef02b0c1d Minor fix 2010-04-17 07:39:59 +02:00
Carsten Dominik 36d3e189a8 Fix some typos 2010-04-16 08:17:57 +02:00
Carsten Dominik 3672910d2f Export: Fix bug with ID property search
Jan Bcker writes:

> If you have a headline with an elisp code block containing the following
> line:
>
> " :ID:"
>
> the HTML code will be garbled at the beginning of the headline.
>
> I have attached a minimal test case and the resulting HTML file. The
> #+OPTIONS: line is not needed, but is included to make the HTML file
> less cluttered.
>
> There has to be whitespace between the " and :ID: and the string must be
> ended on the same line. For example, these lines trigger the bug:
>
> " :ID:"
> "   :ID:"
> " :ID: garble-my-html"
>
> while these do not:
>
> ":ID:"
> ":ID: garble-my-html"
> " :ID:
>
2010-04-16 05:12:19 +02:00
Bernt Hansen 5c10448b47 Fix truncated docstring for org-remember-templates 2010-04-16 04:54:00 +02:00
Carsten Dominik 43bf1bbbd7 Push version number to 6.35trans 2010-04-15 12:24:55 +02:00
Carsten Dominik a74a748d0f Search backward from a footnote definition to find reference.
With multiple definitions of a footnote with the same label in a
buffer, this has a higher chance to find the right one.

Request by Samuel Wales
2010-04-14 16:45:45 +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 8788b14378 Move the older ChangeLog entries 2010-04-14 10:31:18 +02:00
Carsten Dominik 2339c5afa7 Fix bug in mapping entries
Patch by Peter Jones, following a bug report by Xiao-Jong Jin, who wrote:

> If you have the follow org file
>
> * test crypt							      :crypt:
> ** subheading 1
>   text 1
> ** subheading 2
>   text 2
>
> with setup as
>
> (require 'org-crypt)
> (setq org-tags-exclude-from-inheritance '("crypt"))
> (setq org-crypt-key "CBC0714E")              ; my key
>
> On calling org-encrypt-entry on the first head line, only
> subheading 1 get encrypted, subheading 2 remains plain text.
> But, if you add an empty line or some text under the first
> heading, both subheading 1 and 2 are encrypted.
2010-04-14 09:42:50 +02:00
Carsten Dominik 9cfebf0842 New command to align all tags 2010-04-13 09:05:00 +02:00
Carsten Dominik 39f4c6041b Fix typo 2010-04-13 07:59:56 +02:00
Carsten Dominik 5d5b4fd0ad Extensions to storing and opening links to Wanderlust messages.
By David Maus.

The gist of the extended capabilities:

- Remove filter conditions for messages in a filter folder

  If customization variable `org-wl-link-remove-filter' is non-nil,
  filter conditions are stripped of the folder name.

- Create web links for messages in a Shimbun folder

  If customization variable `org-wl-shimbun-prefer-web-links' is
  non-nil, calling `org-store-link' on a Shimbun message creates a
  web link to the messages source, indicated in the Xref: header
  field.

- Create web links for messages in a nntp folder

  If customization variable `org-wl-nntp-prefer-web-links' is
  non-nil, calling `org-store-link' on a nntp message creates a web
  link either to gmane.org if the group can be read trough gmane or
  to googlegroups otherwise. In both cases the message-id is used as
  reference.

- Open links in namazu search folder

  If `org-wl-open' is called with one prefix, WL opens a namazu
  search folder for message's message-id using
  `org-wl-namazu-default-index' as search index.  If this variable is
  nil or `org-wl-open' is called with two prefixes Org asks for the
  search index to use.

Regards,

-- David

Conflicts:

	lisp/ChangeLog
2010-04-13 07:58:59 +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
Eric Schulte e26deb647f fixes BUG in `org-export-as-latex' -- was only exporting the body
This bug was introduced in commit

    1b40601ebd

  which sets the body-only option to true when called with a simple
  prefix argument, however it does not check that the prefix argument
  is non-null.

  Thanks to Valentin Wüstholz for reporting this bug
2010-04-11 10:14:21 -06: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
Jan Böcker db2056e92a Revert "Allow regexps in org-file-apps to capture link parameters using groups"
This reverts commit 75563bf71e.

Conflicts:

	lisp/ChangeLog
	lisp/org.el
2010-04-09 21:15:14 +02:00
Jan Böcker cd70e85522 Revert "Improve file opening when matching links"
This reverts commit 39c91ba24a.
2010-04-09 21:15:14 +02:00
Eric Schulte 1b40601ebd `org-export-as-latex' set the body-only option when called with a simple prefix arg
This can be useful for exporting a small active region (often a
  table) to latex for pasting into an existing latex buffer.
2010-04-09 09:11:43 -06:00
Eric Schulte ee5a81102d `org-export-as-org' now exports a string when to-buffer equals 'string 2010-04-09 09:08:52 -06:00
Carsten Dominik 32db2521bc Check org-mobile setup for a checksum binary 2010-04-09 14:30:57 +02:00
Carsten Dominik 6f3026edf1 Release 6.35g 2010-04-08 20:15:15 +02:00
Carsten Dominik 39c91ba24a Improve file opening when matching links
This patch tries to remove some of the adverse effects of Jan Bkers patch
2010-04-08 15:57:17 +02:00
Carsten Dominik a589c7a22e Release 6.35f 2010-04-08 10:36:32 +02:00
Carsten Dominik 1d317701f6 Make the hyperref package last in the list 2010-04-08 10:35:58 +02:00
Carsten Dominik 2e362d1123 Fix frame selection for framepop
Patch by Lluis
2010-04-08 09:16:54 +02:00
Carsten Dominik 50e5924d8a Release 6.35e 2010-04-07 16:33:52 +02:00
Carsten Dominik 27ca5916e5 Two more tweaks to LaTeX setup.
Will this ever end???
2010-04-07 16:33:22 +02:00
Carsten Dominik f722763f8a Release 6.35d 2010-04-07 16:26:42 +02:00
Carsten Dominik d65ed03be6 Update copyright notices and fix wrong version tags 2010-04-07 16:26:10 +02:00
Carsten Dominik f3a25f4d34 Fix caption processing in LaTeX export 2010-04-07 16:10:28 +02:00
Carsten Dominik 007c7bc64b Allow entities to be terminated by {} 2010-04-07 15:32:31 +02:00
Carsten Dominik 33fbdf0522 Minor fixes 2010-04-07 13:41:40 +02:00
Carsten Dominik 5b1171d6e7 Improve docstring of `org-entities-user' 2010-04-07 09:52:46 +02:00
Carsten Dominik cafbe1d038 Release 6.35c 2010-04-07 08:58:25 +02:00
Carsten Dominik 1e10e35390 Remove one extra textcomp package 2010-04-07 08:57:55 +02:00
Carsten Dominik dcc445a027 Fix typo in docstring 2010-04-07 08:40:55 +02:00
Carsten Dominik 9a21870521 More LaTeX fixes 2010-04-07 08:35:14 +02:00
Carsten Dominik b213c0f31e Release 6.35b 2010-04-07 07:54:14 +02:00
Carsten Dominik b385c98d26 Fix some problems with the new LaTeX setup 2010-04-07 07:52:43 +02:00
Carsten Dominik 929ef2da1b Make compilation work again for Emacs 22 2010-04-06 14:39:54 +02:00
Carsten Dominik 08d0d2fa20 Release 6.35 2010-04-06 09:16:36 +02:00
Carsten Dominik fea1742762 Fix typo 2010-04-06 09:15:16 +02:00
Carsten Dominik f2b8c25e7a More details about LaTeX setup 2010-04-05 15:10:22 +02:00
Carsten Dominik 7cfba5b16b Control case sensitivity in index generation 2010-04-04 22:45:26 +02:00
Carsten Dominik 15b7347953 Keep byte compiler happy 2010-04-04 22:26:27 +02:00
Bastien Guerry 1ad6b5b864 Fix typo in `org-splice-latex-header'. 2010-04-04 16:19:49 +02:00
Carsten Dominik 00afe22952 Specify the position where the packages are inserted in the LaTeX header. 2010-04-04 08:37:03 +02:00
Carsten Dominik 33dbb46fc2 Gnus: Handle nndoc for following links
Patch by Thomas Morgan.
2010-04-04 07:52:57 +02:00
Carsten Dominik f4950af543 More rephrasing of the changes in LaTeX export 2010-04-04 02:12:48 +02:00
Carsten Dominik d041e78c30 Fix some docstrings 2010-04-03 20:26:50 +02:00
Carsten Dominik f655d1b0b1 Fix inputenc in image buffers 2010-04-03 08:40:16 +02:00
Carsten Dominik 17856939c4 Fix 2 bugs in Docbook export
Patch by Baoqiu Cui
2010-04-03 08:32:32 +02:00
Carsten Dominik 562fa025f8 Fix git cleanup of deleted files 2010-04-02 09:42:14 +02:00
Carsten Dominik 999d09058b Fix structure of `org-export-latex-default-packages-alist' 2010-04-02 07:34:10 +02:00
Carsten Dominik a025579e50 Fix bug in ASCII export of \n 2010-04-01 17:49:45 +02:00
Carsten Dominik f84a8a8651 Implement encryption for MobileOrg 2010-04-01 13:24:41 +02:00
Carsten Dominik 8fdf80bb5b Fix whitespace and compiler wanings 2010-04-01 13:11:54 +02:00
Carsten Dominik f813b09747 Add the ChangeLog entries 2010-04-01 12:56:23 +02:00