0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-12 13:40:05 +00:00
org-mode/lisp
Nicolas Goaziou dfcb6faef1 Provide more consistent regexps for headlines
* lisp/org-agenda.el (org-search-view): Simplify regexp.
(org-agenda-get-todos): Use new format string.
* lisp/org-archive.el (org-archive-all-done): Simplify regexp.
* lisp/org-ascii.el (org-export-as-ascii): More accurate regexp.
* lisp/org-colview-xemacs.el (org-columns-capture-view): Use new
  format string and new string.
* lisp/org-colview.el (org-columns-capture-view): Use new format
  string and new string.
* lisp/org-docbook.el (org-export-as-docbook): More accurate
  regexp.  Also use new regexp to match generic headlines.
* lisp/org-exp.el (org-export-protect-quoted-subtrees): More accurate
  regexp.  Also use new regexp to match generic headlines.
* lisp/org-html.el (org-export-as-html): More accurate regexp.  Also
  use new regexp to match generic headlines.
* lisp/org-mouse.el (org-mouse-match-todo-keyword): Removed unused
  and now erroneous function.
* lisp/org.el (org-heading-regexp, org-heading-keyword-regexp-format):
  New variables.
(org-set-regexps-and-options): Create regexps according to the
following rule: use spaces only to separate elements from an headline,
while allowing mixed tabs and spaces for any indentation job.
(org-nl-done-regexp, org-looking-at-done-regexp): Removed variables.
(org-set-font-lock-defaults): Fontify again headlines with a keyword
and no other text.  Use new format strings.
(org-get-heading, org-toggle-comment, org-prepare-agenda-buffers,
org-toggle-fixed-width-section): Use new format string.
(org-todo): More accurate regexps.
(org-point-at-end-of-empty-headline): Simplify regexp.
(org-insert-heading): Headline can sometimes be nil.

This patch attempts to reduce the number of hard-coded headlines, by
providing two format strings and one generic string to cover most of
the cases of headline construction.
2011-10-23 09:30:13 +02:00
..
ob-asymptote.el
ob-awk.el
ob-C.el
ob-calc.el ob-calc.el: Remove (require 'calc-store). 2011-10-22 15:34:06 +02:00
ob-clojure.el
ob-comint.el Remove the "Version" header in Org libraries (leave it in org.el). 2011-08-17 14:42:34 +02:00
ob-css.el
ob-ditaa.el
ob-dot.el
ob-emacs-lisp.el
ob-eval.el
ob-exp.el removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely 2011-10-20 15:26:43 -06:00
ob-gnuplot.el
ob-haskell.el
ob-java.el
ob-js.el
ob-keys.el
ob-latex.el
ob-ledger.el Remove the "Version" header in Org libraries (leave it in org.el). 2011-08-17 14:42:34 +02:00
ob-lilypond.el
ob-lisp.el
ob-lob.el removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely 2011-10-20 15:26:43 -06:00
ob-matlab.el
ob-maxima.el
ob-mscgen.el
ob-ocaml.el
ob-octave.el
ob-org.el
ob-perl.el
ob-plantuml.el
ob-python.el
ob-R.el
ob-ref.el
ob-ruby.el
ob-sass.el
ob-scheme.el
ob-screen.el
ob-sh.el
ob-shen.el
ob-sql.el ob-sql: insert into a temporary buffer 2011-10-19 12:07:48 -06:00
ob-sqlite.el Remove the "Version" header in Org libraries (leave it in org.el). 2011-08-17 14:42:34 +02:00
ob-table.el
ob-tangle.el
ob.el ob.el: Fix byte-compiler warning about free variable. 2011-10-22 15:28:01 +02:00
org-agenda.el Provide more consistent regexps for headlines 2011-10-23 09:30:13 +02:00
org-archive.el Provide more consistent regexps for headlines 2011-10-23 09:30:13 +02:00
org-ascii.el Provide more consistent regexps for headlines 2011-10-23 09:30:13 +02:00
org-attach.el
org-bbdb.el
org-beamer.el
org-bibtex.el
org-capture.el Replace org-mode-p with usual (eq major-mode 'org-mode) check 2011-10-22 11:29:24 +02:00
org-clock.el
org-colview-xemacs.el Provide more consistent regexps for headlines 2011-10-23 09:30:13 +02:00
org-colview.el Provide more consistent regexps for headlines 2011-10-23 09:30:13 +02:00
org-compat.el Maintain XEmacs compatibility 2011-10-21 22:36:53 +02:00
org-crypt.el
org-ctags.el Replace org-mode-p with usual (eq major-mode 'org-mode) check 2011-10-22 11:29:24 +02:00
org-datetree.el
org-docbook.el Provide more consistent regexps for headlines 2011-10-23 09:30:13 +02:00
org-docview.el
org-entities.el
org-exp-blocks.el
org-exp.el Provide more consistent regexps for headlines 2011-10-23 09:30:13 +02:00
org-faces.el
org-feed.el
org-footnote.el Replace org-mode-p with usual (eq major-mode 'org-mode) check 2011-10-22 11:29:24 +02:00
org-freemind.el
org-gnus.el Remove the "Version" header in Org libraries (leave it in org.el). 2011-08-17 14:42:34 +02:00
org-habit.el
org-html.el Provide more consistent regexps for headlines 2011-10-23 09:30:13 +02:00
org-icalendar.el
org-id.el Replace org-mode-p with usual (eq major-mode 'org-mode) check 2011-10-22 11:29:24 +02:00
org-indent.el Replace org-mode-p with usual (eq major-mode 'org-mode) check 2011-10-22 11:29:24 +02:00
org-info.el
org-inlinetask.el
org-irc.el
org-jsinfo.el
org-latex.el org-latex.el: Fix problem when matching #+LaTeX_CLASS. 2011-10-22 12:07:43 +02:00
org-list.el
org-mac-message.el
org-macs.el Replace org-mode-p with usual (eq major-mode 'org-mode) check 2011-10-22 11:29:24 +02:00
org-mew.el
org-mhe.el
org-mks.el Remove the "Version" header in Org libraries (leave it in org.el). 2011-08-17 14:42:34 +02:00
org-mobile.el
org-mouse.el Provide more consistent regexps for headlines 2011-10-23 09:30:13 +02:00
org-pcomplete.el
org-plot.el
org-protocol.el
org-publish.el Variable publishing-directory? (resent with patch as attachment) 2011-10-22 10:41:15 +02:00
org-remember.el Replace org-mode-p with usual (eq major-mode 'org-mode) check 2011-10-22 11:29:24 +02:00
org-rmail.el
org-special-blocks.el
org-src.el * org-src.el (org-edit-src-code): Fix typo-bug. 2011-10-22 15:26:36 +02:00
org-table.el Replace org-mode-p with usual (eq major-mode 'org-mode) check 2011-10-22 11:29:24 +02:00
org-taskjuggler.el
org-timer.el Replace org-mode-p with usual (eq major-mode 'org-mode) check 2011-10-22 11:29:24 +02:00
org-vm.el
org-w3m.el
org-wl.el
org-xoxo.el
org.el Provide more consistent regexps for headlines 2011-10-23 09:30:13 +02:00