0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-26 05:32:53 +00:00
Commit graph

12454 commits

Author SHA1 Message Date
Eric Schulte f47a7176b8 import whole bibtex files into Org-mode
* lisp/org-bibtex.el (org-bibtex-read-buffer): Reads all bibtex entries
  in a buffer.
  (org-bibtex-read-file): Read all bibtex entries in a file.
  (org-bibtex-import-from-file): Import all bibtex entries from a file
  into the current buffer.
2012-12-26 08:40:44 -07:00
Bastien Guerry 99c8732bf8 Merge branch 'maint' 2012-12-25 03:29:29 +01:00
Bastien Guerry 6671e80453 org-crypt.el (org-at-encrypted-entry-p): Fix search boundary
* org-crypt.el (org-at-encrypted-entry-p): Fix search
boundary.

Thanks to Samuel Wales for reporting this bug.
2012-12-25 03:29:17 +01:00
Abdó Roig-Maranges a04ccc40b2 org-agenda.el: New option `org-agenda-search-view-max-outline-level'
* org-agenda.el (org-agenda-search-view-max-outline-level):
New option to define the max level for the entries shown by
the search view.  A value of 1 means to show the top parent
of the entries.
2012-12-24 14:49:04 +01:00
Bastien Guerry ca4219abc9 org.el: New command org-set-property-and-value' bound to C-c C-x P'
* org.el (org-last-set-property-value): New variable.
(org-read-property-name): Fix dangling parentheses.
(org-set-property-and-value): New command to manually set
both the property and the value.  A prefix arg will use the
last property-value pair set without prompting the user.
(org-set-property): Set `org-last-set-property-value'.
(org-mode-map): Bind the new command to `C-c C-x P'.

This is useful when you need to set the same property-value
pair for several entries.
2012-12-24 14:44:21 +01:00
Bastien Guerry e6d8ed51b8 Merge branch 'maint' 2012-12-24 14:01:51 +01:00
Bastien Guerry 1b4e396b6b Merge branch 'maint-fixes' into maint 2012-12-24 14:01:25 +01:00
Achim Gratz b63275350f Backwards compatibility: don't defalias special forms
* lisp/org-compat.el (org-condition-case-unless-debug): Do not use
  defalias for special forms, the Emacs 22 byte-compiler does not
  recognize them correctly when compiling macros.  Use a macro instead
  and rely on macro expansion.  That however makes the decision at
  compile time, which should be acceptable in this case since it only
  affects debugging.
2012-12-24 14:01:14 +01:00
Bastien Guerry 58999598ed New compatibility function `org-delete-directory'
* org-compat.el (org-delete-directory): New compatibility
function for Emacs 22, where `delete-directory' does not
support recursive deletion.

* org-odt.el (org-odt-cleanup-xml-buffers): Use the new
compatibility function.

Thanks to Achim and Jambunathan for suggesting this.
2012-12-24 13:51:48 +01:00
Bastien Guerry 4549f0c99c org.el: (org-mode): Use face-background' instead of org-find-invisible-foreground'
* org.el (org-find-invisible-foreground): Delete.
(org-mode): Use `face-background' instead of
`org-find-invisible-foreground'.

Thanks to Achim for suggesting this.
2012-12-24 13:46:36 +01:00
Bastien Guerry f01ce85026 Merge branch 'maint' 2012-12-24 01:25:38 +01:00
Bastien Guerry 40cb44e795 Fix regression: allow editing HTML and LaTeX source blocks again
* org.el (org-table-map-tables): Fix allowed blocks.
(org-edit-special): Fix regression: allow editing HTML and
LaTeX source blocks again.

* org-src.el (org-edit-src-code): Ditto.

Thanks to Nicolas Richard and Bernt Hansen for reporting bugs
in this area.
2012-12-24 01:25:33 +01:00
Bastien Guerry f0b35a6379 Merge branch 'master-fixes' 2012-12-24 01:15:57 +01:00
Bastien Guerry 51ad913982 Merge branch 'maint' 2012-12-24 01:15:06 +01:00
Bastien Guerry f4a2680f4c Merge branch 'maint-fixes' into maint 2012-12-24 01:14:42 +01:00
Bastien Guerry 4adf17f811 Merge branch 'maint' 2012-12-24 00:08:20 +01:00
Bastien Guerry 73d506a8dc org.el (org-nonsticky-props): Add `htmlize-link'
* org.el (org-nonsticky-props): Add `htmlize-link'.

Thanks to Samuel Wales for reporting a bug related to this.
2012-12-24 00:08:02 +01:00
Bastien Guerry 317a96a471 org.el (org-nonsticky-props): Add `htmlize-link'
* org.el (org-nonsticky-props): Add `htmlize-link'.

Thanks to Samuel Wales for reporting a bug related to this.
2012-12-23 21:17:43 +01:00
Bastien Guerry 5fa52d9a93 org.el: Add new startup keywords
* org.el (org-startup-options): New startup keywords.
(org-log-into-drawer): Update docstring to explain how to set this
variable through the startup keyword "logdrawer" and "nologdrawer".
(org-log-states-order-reversed): Document the new startup keywords
"logstatesreversed" and "nologstatesreversed".

* org.texi (In-buffer settings): Document new startup keywords.
Thanks to John J Foerch for this idea.
2012-12-23 18:51:24 +01:00
Bastien Guerry 88555aab22 Merge branch 'maint' 2012-12-23 17:54:47 +01:00
Bastien Guerry 98a5f3df32 Don't allow special edit in verbatim blocks.
* org.el (org-edit-special): Don't edit in verbatim blocks.

* org-src.el (org-edit-src-code): Ditto.
2012-12-23 17:54:42 +01:00
Bastien Guerry ae7516b0e1 Sync `org-babel-temp-file' definition with maint 2012-12-23 17:47:20 +01:00
Bastien Guerry 953b920c9b Merge branch 'maint' 2012-12-23 17:31:57 +01:00
Bastien Guerry f0a64ab3b5 org-table.el: Use `org-delete-backward-char' which doesn't modify match data anymore
* org-table.el (org-table-fedit-lisp-indent)
(orgtbl-self-insert-command): Use `org-delete-backward-char'
instead of `backward-delete-char'.

* org.el (org-delete-backward-char, org-delete-char): Save
match data.
2012-12-23 17:31:41 +01:00
Bastien Guerry c2e662cf79 Revert "Save match data in org-delete-backward-char' and org-delete-char'"
This reverts commit c800836d7c.
2012-12-23 17:26:45 +01:00
Bastien Guerry 8c53cc820e Merge branch 'master-fixes' 2012-12-23 17:20:55 +01:00
Bastien Guerry 9f1f0535be Merge branch 'maint' 2012-12-23 17:20:51 +01:00
Bastien Guerry 54731c965d Merge branch 'maint-fixes' into maint 2012-12-23 17:20:38 +01:00
Bastien Guerry a118ae4e1c org-src.el (org-edit-src-code): Fix another bug about editing special blocks "example" and "verbatim"
* org-src.el (org-edit-src-code): Fix another bug about
editing special blocks "example" and "verbatim".
2012-12-23 17:20:27 +01:00
Bastien Guerry 9f4ecf79b1 org.el (org-edit-special): Fix bug about editing special blocks "example" and "verbatim"
* org.el (org-structure-template-alist): Add verbatim.
(org-edit-special): Fix bug about editing special blocks
"example" and "verbatim".
2012-12-23 17:18:47 +01:00
Bastien Guerry 3684f84aee Merge branch 'maint' 2012-12-23 12:46:49 +01:00
Jambunathan K dcd5c81dc4 org-e-odt.el: Handle links to target, list items 2012-12-23 12:44:44 +01:00
Jambunathan K d06f326f20 org-e-odt.el: Handle links to headline, table etc that have a description 2012-12-23 12:44:43 +01:00
Jambunathan K 5aceba1da3 org-e-odt.el: Handle clickable images 2012-12-23 12:44:43 +01:00
Jambunathan K 135dc9e049 org-e-odt.el: Use `org-export-data-with-translations' 2012-12-23 12:44:43 +01:00
Jambunathan K 29ac6d77e3 org-e-odt.el: Support for short captions 2012-12-23 12:44:43 +01:00
Jambunathan K 847e92377e org-e-odt.el: Port fix for Bug#13197 2012-12-23 12:44:43 +01:00
Jambunathan K 4876e94fee org-e-odt.el: Fix typesetting of Math formulae 2012-12-23 12:44:43 +01:00
Jambunathan K 2b761ceb39 org-e-odt.el: Add frame title and description to latex equations 2012-12-23 12:44:43 +01:00
Jambunathan K fddc312c29 org-odt.el: Improve TOC entries 2012-12-23 12:44:43 +01:00
Jambunathan K 6e3e0176e3 org-e-odt.el: Emit priority in headlines, right justify tags 2012-12-23 12:44:43 +01:00
Jambunathan K ef29557e6a org-e-odt.el: Not all keywords are supported 2012-12-23 12:44:43 +01:00
Jambunathan K ac19d91ab8 org-e-odt.el: Use new version of org-export-get-previous/next-element 2012-12-23 12:44:43 +01:00
Jambunathan K 5cf798dc24 org-e-odt.el: New experimental option `org-e-odt-use-date-fields' 2012-12-23 12:44:43 +01:00
Jambunathan K 4680247236 Fix Table of Contents, Clock block and various styles 2012-12-23 12:44:43 +01:00
Jambunathan K 8cf8c1d8c0 org-e-odt.el: Fix export issues on Windows XP
Fixes http://lists.gnu.org/archive/html/emacs-orgmode/2012-11/msg00747.html
2012-12-23 12:44:42 +01:00
Jambunathan K 26d0c053b4 org-e-odt.el: Honor `org-export-with-date'
* etc/styles/OrgOdtStyles.xml (OrgDate): New date style.
* contrib/lisp/org-e-odt.el (org-e-odt--date): Misc. change.
(org-e-odt-template): Honor `org-export-with-date'.
2012-12-23 12:44:42 +01:00
Jambunathan K 293a14d13f Update OpenDocument schema files to v1.2 OASIS standard
* etc/schema/od-schema-v1.2-os.rnc: OASIS standard
* etc/schema/od-manifest-schema-v1.2-os.rnc: OASIS standard
* etc/schema/schemas.xml: Fix uri to rnc files.
* lisp/org-odt.el (org-export-odt-schema-dir): Modified to
accommodate change in rnc file names.
* contrib/lisp/org-e-odt.el (org-e-odt-schema-dir): Modified
to accommodate change in rnc file names.
2012-12-23 12:44:42 +01:00
Jambunathan K d9df7edb18 OrgOdtStyles.xml, OrgOdtContentTemplate.xml: Refresh
* etc/styles/OrgOdtContentTemplate.xml (OrgIndexSection): New.

* etc/styles/OrgOdtStyles.xml (Heading): Add tabstop.
(OrgVerse): Modify background color.
(OrgFixedWidthBlock, Horizontal_20_Line): Modify border thickness.
(OrgTodo, OrgDone): Remove foreground color.
(OrgTag): Remove background color, use small caps.
(OrgClock, OrgClockLastLine, OrgPlanning, OrgTags)
(OrgPriority, OrgPriority-A, OrgPriority-B, OrgPriority-C)
(OrgTimestamp, OrgActiveTimestamp, OrgInactiveTimestamp)
(OrgScheduledKeyword, OrgDeadlineKeyword, OrgClockKeyword)
(OrgClosedKeyword, OrgDate): New styles, for use with the new
exporter.
2012-12-23 12:44:42 +01:00
Jambunathan K 7ab4464ea4 org-odt.el: Fix Emacs Bug#13254
* lisp/org-odt.el (org-export-as-odt-batch): Init
`org-odt-zip-dir'.  Fix Emacs Bug#13254.
2012-12-23 12:42:43 +01:00