0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-16 13:16:26 +00:00
Commit graph

2434 commits

Author SHA1 Message Date
Eric Schulte d154f27947 babel: no longer overwriting non-babel src blocks org-exp-blocks: adding progress-marker local variable
the progress-marker local variable set inside of a let in
  org-exp-blocks is used to constrain searches in org-babel-exp to
  ensure that a babel block doesn't overwrite non-babel src blocks
2010-01-18 13:36:27 -07:00
Carsten Dominik 53868111d0 Bug fixes in org-ctags.el 2010-01-18 08:21:33 +01:00
Carsten Dominik a1709ba641 Release 6.34c 2010-01-18 00:10:11 +01:00
Carsten Dominik 5d5aab1a42 Fix important bugs in `org-entry-properties'
Patches by David Maus
2010-01-18 00:05:29 +01:00
Carsten Dominik dcf34971f6 Fix link encoding bug:
Geert Kloosterman writes:

> When an org link is created from an URL containing a hex escape
> `org-make-link-string' creates a link that ends up corrupted the moment
> it is followed (e.g. using `org-open-at-point').
>
> I've traced this back to `org-link-escape' and `org-link-unescape'.  The
> following shows how the hex code "%2B" is converted to a "+" after an
> escaping round trip:
>
>    (org-link-unescape (org-link-escape
>                        "http://some.host.com/form?&id=blah%2Bblah"))
>    ==>
>    "http://some.host.com/form?&id=blah+blah"
>
> In my case this small change ended up in a broken URL.
>
> Additionally, when the URL-escape happens to be in lower case (or
> otherwise not present in `org-link-escape-chars') we end up with an
> error:
>
>    (org-link-unescape (org-link-escape
>                        "http://some.host.com/form?&id=blah%2bblah"))
>    ==>
>    Debugger entered--Lisp error: (wrong-type-argument characterp nil)
>      char-to-string(nil)
>      ...
>
> When `org-url-encoding-use-url-hexify' is set to `t' we do get a proper
> round trip of the URL containing hex-escapes:
>
>    (setq org-url-encoding-use-url-hexify t)
>    (org-link-unescape (org-link-escape
>                        "http://some.host.com/form?&id=blah%2bblah"))
>    ==>
>    "http://some.host.com/form?&id=blah%2bblah"
>
>
> Setting `org-url-encoding-use-url-hexify' does not fix the complete
> problem however: `org-open-at-point' still did not end up with the
> proper URL.   Within `org-open-at-point' there is another call to
> `org-link-escape':
>
>    (org-link-escape path org-link-escape-chars-browser)
>
> This time a mapping table is passed in explicitly (the second argument).
> However, when `org-url-encoding-use-url-hexify' is set,a this mapping
> table isn't used, resulting (again) in a broken URL.
>
> I have attached a patch that fixes the problem: do not use url-hexify in
> `org-link-escape' and `org-link-unescape' when an explicit mapping table
> has been specified.
>
> In summary:
> - the default behaviour of `org-link-escape', with
>   `org-url-encoding-use-url-hexify' set to nil, has some issues with
>   handling URLS which contain url-encoded hex escapes
> - when a mapping table is passed to `org-link-escape' and
>   `org-link-unescape', they should probably not use url-hexify.
>   Patch attached.
2010-01-16 01:10:23 +01:00
Carsten Dominik d2dc39a67b Automatically clock out when switching to specified state
The variable `org-clock-out-when-done' can now also be a list of
states.  When the TODO state of a task changes to one of these states,
the clock will stop running in that task.

This extension of the logic was a proposal by Ricard Riley.
2010-01-15 18:21:36 +01:00
Carsten Dominik a4384ac49d Improve test for operating system in org-ctags.el 2010-01-15 18:07:40 +01:00
Carsten Dominik 8fd14ae648 LaTeX export: Fix another protection bug, this time the char before a "\" 2010-01-15 08:05:22 +01:00
Carsten Dominik 2f2f9441d4 Release 6.34b 2010-01-14 23:06:55 +01:00
Carsten Dominik a1e0409ab7 Keep byte compiler happy 2010-01-14 23:06:13 +01:00
Carsten Dominik 2b45d655bb Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-01-14 19:42:40 +01:00
Carsten Dominik bfad012629 Repair the export of source code line references in LaTeX
Marting G. Skjaeveland writes:

> I pulled a fresh copy of org-mode this morning and noticed that
> references to source code line numbers no longer work as they used
> to. Instead of displaying the number of the line with the label, the
> label is displayed.
>
> Exporting the following example, retrieved from the online
> documentation (http://orgmode.org/manual/Literal-examples.html),
>
> -------------------------------------start
> #+BEGIN_SRC emacs-lisp -n -r
>  (save-excursion                  (ref:sc)
>  (goto-char (point-min))       (ref:jump)
> #+END_SRC
>
>  In line [[(sc)]] we remember the current position.  [[(jump)][Line
> (jump)]] jumps to point-min.
>
> -------------------------------------end
>
> gives me in latex export
>
> -------------------------------------start
> \begin{verbatim}
> 1:  (save-excursion
> 2:  (goto-char (point-min))
> \end{verbatim}
>
>  In line \hyperref[(sc)]{(sc)} we remember the current
>  position. \hyperref[(jump)]{Line (jump)} jumps to point-min.
>  -------------------------------------end
>
2010-01-14 18:06:22 +01:00
Carsten Dominik b83c03a898 Fix wrong-case matching of TODO keywords in `org-entry-properties' 2010-01-14 17:32:46 +01:00
Carsten Dominik cab009b78e Improve documentation about prefix args to scheduling/deadline cmds in agenda 2010-01-14 17:09:11 +01:00
Eric Schulte bb949518d2 tweak to source-name LaTeX export 2010-01-12 20:40:21 -07:00
Carsten Dominik c077142241 Release 6.34a 2010-01-12 08:53:44 +01:00
Carsten Dominik 4bdf4881b5 Some documentation fixes 2010-01-12 08:28:44 +01:00
Carsten Dominik ef181259e8 Fix typos
Reports by Manish
2010-01-12 08:16:33 +01:00
Carsten Dominik 6b8af94de3 Fix bug when all tags are hidden in the agenda
Patch by Stephan Schmitt, who writes:

> An error was thrown when all tags of a headline are hidden by
> org-agenda-hide-tags-regexp (in this case the function
> get-text-property got nil as third argument)
2010-01-11 18:43:54 +01:00
Eric Schulte b3e0d4ea7f babel: change exported source-block names to more closely mimic the WEB style 2010-01-10 12:57:14 -07:00
Carsten Dominik a882a7031c Release 6.34 2010-01-10 11:00:18 +01:00
Carsten Dominik 288c724335 Release 6.34 2010-01-10 10:57:53 +01:00
Carsten Dominik 275b6627a6 Release 3.34 2010-01-10 10:54:52 +01:00
Carsten Dominik 9a619e59cb List of user-visible changes in 6.34 2010-01-10 10:50:21 +01:00
Carsten Dominik c886640728 Document `org-property-allowed-value-functions' 2010-01-10 10:48:38 +01:00
Carsten Dominik bb488fa3b1 Fix \usepackage{inputenc} in LaTeX export
The option will now reflect the coding system of the file that was
created by exporting the buffer.
2010-01-10 10:18:27 +01:00
Carsten Dominik 26eac8b600 New way to export the enclosing subtree
Press SPC after `C-c C-e' to export the enclosing subtree.  That
subtree is assumes to start at a node with LaTeX_CLASS or
EXPORT_FILE_NAME property.
2010-01-10 08:34:20 +01:00
Carsten Dominik b926869f0d Fix bug with org-startup-indented when creating a clock report 2010-01-09 15:36:17 +01:00
Carsten Dominik e5a874e417 Add \checkmark as a valid symbol 2010-01-08 14:50:07 +01:00
Carsten Dominik 4d4e1ed2a2 Protect target-like text in verbatim snippets during ASCII export 2010-01-08 09:41:16 +01:00
Carsten Dominik be8d644680 Protect target-like text in verbatim snippets during ASCII export 2010-01-08 09:37:00 +01:00
Carsten Dominik f9eb4ee98c Don't overlook checkboxes in ordered lists when updating statistics cookie
Manish writes:

> I noticed a small inconsistency.  If you start with following sample
> org file and press C-c C-c in the first cookie, it doesn't get updated
> correctly whereas the second one does.  The only difference is that
> one has children TODO tasks and the other has a list of checkboxes.
>
> Starting file:
>
> --8<---------------cut here---------------start------------->8---
> * Item 1 [/]
>  1. [X] line 1
>  2. [ ] line 2
> * Item 2 [/]
> *** TODO Sub-item 2.1
> *** DONE Sub-item 2.2
> --8<---------------cut here---------------end--------------->8---
>
> Status after C-c C-c in the summary cookie.
>
> --8<---------------cut here---------------start------------->8---
> * Item 1 [0/0]
>  1. [X] line 1
>  2. [ ] line 2
> * Item 2 [1/2]
> *** TODO Sub-item 2.1
> *** DONE Sub-item 2.2
> --8<---------------cut here---------------end--------------->8---
2010-01-08 08:33:16 +01:00
Carsten Dominik 8a3e6496de Define the `v L' key in the agenda 2010-01-07 14:57:25 +01:00
Carsten Dominik 6c8c5c85e4 Change the insertion location of `org-beamer-header-extra' 2010-01-07 14:15:04 +01:00
Carsten Dominik d1bfc8ed7f Fix typo in variable name 2010-01-07 11:32:40 +01:00
Carsten Dominik 8d23596239 Don't do BIND for startup of Org-mode. 2010-01-07 10:59:11 +01:00
Carsten Dominik c7f25c6b10 Put a frame around the automatically generated TOC in beamer
Requested by Sebastien Vauban.
2010-01-06 14:23:57 +01:00
Carsten Dominik 9d34d4b1e1 New option org-beamer-frame-default-options. 2010-01-06 13:53:29 +01:00
Carsten Dominik 70f9001368 Fix some case issues with comment processing during export 2010-01-06 09:55:52 +01:00
Carsten Dominik 3332383db7 LaTeX export: New hook that runs after saving the buffer 2010-01-06 08:50:47 +01:00
Carsten Dominik 70f28cbfc8 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-01-05 18:20:54 +01:00
Carsten Dominik 76b8cab651 Add support for BEAMER notes. 2010-01-05 17:33:59 +01:00
Eric Schulte cd587c7148 babel: now exports source code block names
When exporting to html the source-code block name will be included
   as a <label> immediately preceding the exported code.  This <label>
   is decorated with the 'org-src-name' css class.

   When exporting to LaTeX with the listings package the source-code
   block name will be included as a listings \title for the code
   block.  Currently the name will not be exported when the listings
   package is not in use.
2010-01-05 08:33:08 -07:00
Carsten Dominik 32441cd151 Fix agenda link opening bug
Charles Sebold writes:

> This is with a clean Emacs, nothing in .emacs except for what is
> necessary to add my org-mode lisp directory to the load path and
> (require 'org-install), Emacs pulled down from bzr this morning, and
> current git download of org-mode, pulled a few minutes ago.
>
> With an org file like this:
>
> ------------------------------------------------------------------------
> * TODO Try out [[elisp:(org-version)][link problem]] if possible
> ------------------------------------------------------------------------
>
> Pull this into an agenda view, then put cursor over the link and try to
> follow it.  The result is as follows:
2010-01-05 12:34:17 +01:00
Carsten Dominik 56610b4833 Make exporting a subtree also work without transient-mark-mode 2010-01-05 12:25:04 +01:00
Carsten Dominik 774964adba Minor fixes than are needed to complete the previous commit 2010-01-05 12:13:00 +01:00
Carsten Dominik 9c32266c67 Improve the logic of the search view. 2010-01-05 12:01:35 +01:00
Carsten Dominik e1a18bdf27 Fix bug with #+BIND during LaTeX export
Christopher Suckling writes:

> Thank you, but not quite working yet:
>
> ,----
> | #+BIND: org-export-latex-title-command ""
> `----
>
> now appears to be having the *effect* of setting a global variable.
>
> I load Emacs then visit the below test org file. I then export the file.
>
> I get a \maketitle line.
>
> I then C-c C-c on the #+BIND: line and re-export.
>
> \maketitle is removed.
>
> I then export another org file without the #+BIND: line.
>
> There is no \maketitle, even though there should be.
>
> I add
>
> ,----
> | #+BIND: org-export-latex-title-command "\foobar"
> `----
>
> to the new org file, C-c C-c and export:
>
> \foobar is added to the exported file.
>
> Finally, I re-export the original test org file (without C-c C-c on the
> #+BIND: line):
>
> \foobar is added to the exported file.
>
> However,
>
> ,----
> | C-h v org-export-latex-title-command
> `----
>
> always returns the value "\\maketitle", no matter what the value of the
> #+BIND: line.
>
> Best, Christopher
2010-01-04 17:49:39 +01:00
Carsten Dominik a9eb916a2c Agenda: New face for entries from the Emacs diary 2010-01-04 15:35:45 +01:00
Carsten Dominik eab41a756a TODO statistics: Handle entries without children
Oscar Fuentes writes:

> When a [/] is used on a header that does not contain subitems, pressing
> C-c C-c on it signals an error on the minibuffer:
>
> org-update-statistics-cookies: No data for statistics cookie
>
> and the cookie appears with the same face (text color) as if it were
> incomplete.
>
> IMHO, [/] on a header without subitems should show [0/0] with the same
> face used for the case where all subitems are done.

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
2010-01-04 15:11:31 +01:00