Commit graph

2605 commits

Author SHA1 Message Date
Bastien Guerry 3a0382d5be org.texi:Fix many typos. Thanks to Dan Griswold. 2009-07-26 03:09:54 +08:00
Bastien Guerry b9ef72fcca Remove duplicate explanation about C-c * 2009-07-25 19:56:43 +08:00
Bastien Guerry 157329bb45 Fix the frame selection problem without using a macro.
Do this by restauring the frame focus correctly in
`org-eval-in-calendar'.
2009-07-25 19:32:59 +08:00
Bastien Guerry 4be6a90bd5 Code cleanup. 2009-07-24 03:39:39 +02:00
Bastien Guerry a2d230bdb8 Bugfix: org-list-beginning-re should not use * for list items. 2009-07-24 03:38:26 +02:00
Bastien Guerry 68b65e8f48 org-get-file-contents: Use a new argument: markup.
When markup is passed to org-get-file-contents then this function does
not protect org-like lines, since the exporter should handle them.
2009-07-24 03:16:19 +02:00
Bastien Guerry bd4a9fe510 org-id.el: New option org-id-uuid-program to set uuidgen program.
On some systems, uuidgen is named uuid.
Let the user define the uuidgen program name.
2009-07-24 02:29:56 +02:00
Bastien Guerry 5a7f43293d Enhance export options for code source examples.
Allow whitespace in code references.  Allow the -r switch to remove the
references in the source code even when the lines are not numbered: the
labels can be explicit enough.  Note that "-r -k" is the same than no
switch - as expected.

Thanks to Ulf Stegemann for bring this up.
2009-07-23 21:48:43 +02:00
Bastien Guerry 68ec49e101 New option: org-fontify-whole-heading-line
Non-nil means modify the regexp in org-set-font-lock-defaults so
that headlines are fontified till the end of the line.  This is
useful when setting a background color for the org-level-* faces.
This defaults to nil so that the old behavior is preserved.
2009-07-23 18:46:35 +02:00
Bastien Guerry 12a9381803 Add and use a new option: org-show-notification-handler
This option lets the user customize the notification mechanism.
For example, she might want to use todochiku.el.

This option defaults to nil, hence doesn't change the previous
behavior: if the program notify-send is installed on the system,
use it, and falls back on using (message [notification]) if not.
2009-07-23 17:33:52 +02:00
Carsten Dominik 0eaf3cce4d Speed-up cycling in buffers with *many* siblings, and *many* drawers
For this we took another look at when drawers actually have to be
hidden again and found that CONTENTS view does not need it, and that
CHILDREN view only needs it before the first child.

The second speed-up comes from advising outline-end-of-subtree to use
the Org version when in org-mode.

The third speed-up comes from using a better way to find the next
visible line, using `next-single-char-property-change'.

Finally, `org-forward-same-level' and `org-backward-same-level' are
faster versions of their outline equivalents and are now bound to
`C-c C-f' and `C-c C-b'.
2009-07-23 11:27:34 +02:00
Carsten Dominik 75a26e1c8d Moving subtrees: Speedup when many siblings exist. 2009-07-22 10:24:24 +02:00
Bastien Guerry 898049066a Bugfix about using the calendar on a separate frame.
`org-read-date' was loosing the focus when the calendar was displayed on
a separate frame.  This patch by Robert Goldman solves it by introducing
a new macro `org-save-frame-excursion' which preserve the frame focus.

See this thread: http://article.gmane.org/gmane.emacs.orgmode/15528

(This fixes the issue I was trying to fix in a previous commit.)
2009-07-22 09:42:11 +02:00
Bastien Guerry 4df0d4cc34 org.texi: Add information about using `C-c *' in plain lists.
Patch submitted by Dan Davison.
2009-07-22 09:39:12 +02:00
Bastien Guerry 3c031462f5 Bugfix about using a separate frame for the Calendar.
When the Calendar is displayed in a separate frame, Org was
confused and could not find it; this tiny change fixes this.
2009-07-21 09:29:55 +02:00
Bastien Guerry 7896ef6292 org-export-generic format: Fix compatibility issue with Emacs 23.
Patch by Wes Hardaker <wjhns209@hardakers.net>
2009-07-21 07:51:32 +02:00
Bastien Guerry e1206a5863 Cleanup: removed trailing blank lines. 2009-07-20 21:05:01 +02:00
Bastien Guerry bca97831a2 Fix typo. 2009-07-20 21:03:03 +02:00
Bastien Guerry 0859d42afc Refine the section title: "Setting up Remember for Org"
Otherwise it sounds like a section on how to set up Remember
generally, not only for Org.
2009-07-20 21:02:20 +02:00
Bastien Guerry 3d4e59df4d Cleanup: use lowercase after the column sign. 2009-07-20 20:59:12 +02:00
Bastien Guerry 7636d499eb Cleanup: add a line before an example. 2009-07-20 20:49:00 +02:00
Bastien Guerry 11cc6e57b3 Mention that remember.el comes with Emacs 23, not Emacs 22.
Also slightly rephrase the introductory paragraph.
2009-07-20 15:57:25 +02:00
Carsten Dominik 4183124c4b Keep compiler happy 2009-07-20 09:16:28 +02:00
Carsten Dominik 5f87a31fb7 Fix problems in org-mac-message.el
The return value of some functions was not correct because of a
message form at the very end.  Also, Simplified a few functions.
2009-07-20 09:09:42 +02:00
Carsten Dominik 809fcf9d78 Improve refile history to contain exact matches only
This was a proposal by Samuel Wales.  After the user selected a
refiles target, we make sure that the fully qualified target is in the
history, so that next time, UP will bring back exactly this target.
2009-07-20 09:01:33 +02:00
Bastien Guerry e17368ca76 Also use TAB for completion with org-insert-link.
Before this patch the completion mechanism was this: TAB let's you
complete through link prefixes (gnus: file: bbdb: ...) then RET allows
completion if a completion mechanism is available for the chosen prefix.
Navigating through the history of stored links was a separate process,
available through the up/down M-n/M-p keys.

Now TAB not only completes through link prefixes but also through stored
links.  This behavior matches other Emacs completion mechanisms a bit
more closely.
2009-07-19 19:45:06 +02:00
Bastien Guerry ffa046d38b Fix typo in orgstruct++-mode docstring. 2009-07-19 14:37:59 +02:00
Carsten Dominik 8530298b45 Inline tasks: Play along with archiving, refiling, and footnotes, store link. 2009-07-19 09:47:13 +02:00
Carsten Dominik 741b523fa5 Export: Ignore radio matches in links 2009-07-19 08:35:31 +02:00
Carsten Dominik 82dcd80130 HTML export: Fix bug in example line enumeration code 2009-07-19 08:00:53 +02:00
Bastien Guerry 4998a75c30 Fix typo in org-protocol-remember docstring. 2009-07-18 19:58:42 +02:00
Bastien Guerry 57b43866e5 Bugfix: don't ignore case when building the list of targets.
If you have a TODO keyword like "DELEGATED" and an entry like
"* Delegated this stuff to X", then you want this entry to be
in the list of possible targets.  For that we need to distinguish
between DELEGATED as a keyword and "Delegated" as a simple word,
so (case-fold-search nil) seems relevant.
2009-07-18 10:35:59 +02:00
Bastien Guerry 8a15fe867b New option: org-remember-delete-empty-lines-at-end
This default to t, so the default behavior of org-mode doesn't
change.  But the user might want to keep at least one blank line
at the end of the remembered subtree, this option lets her do it.
2009-07-18 10:09:40 +02:00
Carsten Dominik 6596d005ef Minor improvements 2009-07-18 09:30:20 +02:00
Bastien Guerry 57838f8286 Fixed premature deletion of data when scripting org-plot.
This patch was sent by James TD Smith.
2009-07-17 19:02:01 +02:00
Bastien Guerry 14c0c432be Small rewrite of the ChangeLog. 2009-07-17 18:59:51 +02:00
Bastien Guerry 69e14025f4 New option org-tags-sort-function.
This allows tags to be sorted by string<, string> or a custom function.
Patch submitted by James TD Smith.
2009-07-17 18:43:22 +02:00
Bastien Guerry ee402e55c2 Fix typo. 2009-07-17 18:10:56 +02:00
Bastien Guerry fa7e23ec39 Add org-clock-in-prepare-hook. Doc update.
This hook is called in org-clock-in earlier than the existing
org-clock-in-hook.  This is useful for functions that need to
modify the Effort property, for example.
2009-07-17 09:02:56 +02:00
Bastien Guerry 7de6691359 Mention org-latest.zip and org-latest.tar.gz snapshots. 2009-07-16 22:56:07 +02:00
Bastien Guerry 1821a9126d Document indented for org-tags-match-list-sublevels
Thanks to Samuel Wales.
2009-07-16 22:25:09 +02:00
Bastien Guerry f2abe28993 Update the changelog to reflect last commit. 2009-07-16 22:13:46 +02:00
Bastien Guerry 9fc00404ca Bind the "true line boundary first" label to the 'reversed value.
Rainer Stengele raised this issue.  Hopefully it's now clearer.
2009-07-16 22:13:20 +02:00
Bastien Guerry fe4967229a Fix problem when publishing the region to LaTeX.
`org-export-latex-first-lines' was rather stupid and would
discard the end of the region with the region was active.
Thanks to Holst Thomas for this bug report.
2009-07-16 21:39:37 +02:00
Bastien Guerry 0be765f999 Fix problem with line numbering in HTML source examples.
As reported by Ulf Stegemann (09/07/2009) the HTML output
of the example in the manual would result in no number for
the first line.  It is because `org-export-number-lines' is
told to skip one line while the line inserted previously
(i.e. "<pre class ...>") doesn't end with a newline.
2009-07-16 21:07:03 +02:00
Bastien Guerry 14ce57f84a Fix typo in the manual. 2009-07-16 20:16:27 +02:00
Bastien Guerry debebd2082 Fix typos. 2009-07-16 19:56:39 +02:00
Bastien Guerry 4c23afccc5 Fix small typo. 2009-07-15 16:59:33 +02:00
Bastien Guerry 05a1d8ee90 Fixed typo. 2009-07-13 09:02:10 +02:00
Carsten Dominik b62e7fc5a0 Fix problems with sub and superscript in LaTeX export 2009-07-09 06:29:51 +02:00