aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2007-11-30 16:24:40 +0000
committerDan Nicolaescu2007-11-30 16:24:40 +0000
commit182aef95b45ea2188cc5c913bb1728db1b361ab2 (patch)
treedbf9b2c17a14715d2dc7c7b259e16c1afe9c1254
parentf3157c65854e41a0dc3170534927014d3bc876d8 (diff)
downloademacs-182aef95b45ea2188cc5c913bb1728db1b361ab2.tar.gz
emacs-182aef95b45ea2188cc5c913bb1728db1b361ab2.zip
* textmodes/org-export-latex.el (org-export-latex-cleaned-string):
Move args on defun line. * textmodes/org.el (org-calendar-holiday): Use calendar-check-holidays instead of the obsolete check-calendar-holidays. (add-to-diary-list, table--at-cell-p, Info-find-node, bbdb) (bbdb-company, bbdb-current-record, bbdb-name) (bbdb-record-getprop, bbdb-record-name) (bibtex-beginning-of-entry, bibtex-generate-autokey) (bibtex-parse-entry, bibtex-url, cdlatex-tab) (dired-get-filename, gnus-article-show-summary, mh-display-msg) (mh-find-path, mh-get-header-field, mh-get-msg-num) (mh-header-display, mh-index-previous-folder) (mh-normalize-folder-name, mh-search, mh-search-choose, mh-show) (mh-show-buffer-message-number, mh-show-header-display) (mh-show-msg, mh-show-show, mh-visit-folder) (org-export-latex-cleaned-string, remember) (remember-buffer-desc, rmail-narrow-to-non-pruned-header) (rmail-what-message, elmo-folder-exists-p) (elmo-message-entity-field, elmo-message-field) (vm-beginning-of-message, vm-follow-summary-cursor) (vm-get-header-contents, vm-isearch-narrow, vm-isearch-update) (vm-select-folder-buffer, vm-su-message-id, vm-su-subject) (vm-summarize, wl-folder-get-elmo-folder) (wl-summary-goto-folder-subr) (wl-summary-jump-to-msg-by-message-id, wl-summary-line-from) (wl-summary-line-subject, wl-summary-message-number) (wl-summary-redisplay): Declare as functions.
-rw-r--r--lisp/ChangeLog32
-rw-r--r--lisp/textmodes/org-export-latex.el3
-rw-r--r--lisp/textmodes/org.el60
3 files changed, 92 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b0de7fabde2..e1540d5920e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,35 @@
12007-11-30 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * textmodes/org-export-latex.el (org-export-latex-cleaned-string):
4 Move args on defun line.
5
6 * textmodes/org.el (org-calendar-holiday): Use
7 calendar-check-holidays instead of the obsolete
8 check-calendar-holidays.
9 (add-to-diary-list, table--at-cell-p, Info-find-node, bbdb)
10 (bbdb-company, bbdb-current-record, bbdb-name)
11 (bbdb-record-getprop, bbdb-record-name)
12 (bibtex-beginning-of-entry, bibtex-generate-autokey)
13 (bibtex-parse-entry, bibtex-url, cdlatex-tab)
14 (dired-get-filename, gnus-article-show-summary, mh-display-msg)
15 (mh-find-path, mh-get-header-field, mh-get-msg-num)
16 (mh-header-display, mh-index-previous-folder)
17 (mh-normalize-folder-name, mh-search, mh-search-choose, mh-show)
18 (mh-show-buffer-message-number, mh-show-header-display)
19 (mh-show-msg, mh-show-show, mh-visit-folder)
20 (org-export-latex-cleaned-string, remember)
21 (remember-buffer-desc, rmail-narrow-to-non-pruned-header)
22 (rmail-what-message, elmo-folder-exists-p)
23 (elmo-message-entity-field, elmo-message-field)
24 (vm-beginning-of-message, vm-follow-summary-cursor)
25 (vm-get-header-contents, vm-isearch-narrow, vm-isearch-update)
26 (vm-select-folder-buffer, vm-su-message-id, vm-su-subject)
27 (vm-summarize, wl-folder-get-elmo-folder)
28 (wl-summary-goto-folder-subr)
29 (wl-summary-jump-to-msg-by-message-id, wl-summary-line-from)
30 (wl-summary-line-subject, wl-summary-message-number)
31 (wl-summary-redisplay): Declare as functions.
32
12007-11-30 Martin Rudalics <rudalics@gmx.at> 332007-11-30 Martin Rudalics <rudalics@gmx.at>
2 34
3 * longlines.el (longlines-show-hard-newlines): Remove handling of 35 * longlines.el (longlines-show-hard-newlines): Remove handling of
diff --git a/lisp/textmodes/org-export-latex.el b/lisp/textmodes/org-export-latex.el
index b1b31b622d1..eef1c10e5b6 100644
--- a/lisp/textmodes/org-export-latex.el
+++ b/lisp/textmodes/org-export-latex.el
@@ -1077,9 +1077,8 @@ Valid parameters are
1077 (path (insert (format "\\href{%s}{%s}" path desc))) 1077 (path (insert (format "\\href{%s}{%s}" path desc)))
1078 (t (insert "\\texttt{" desc "}"))))))) 1078 (t (insert "\\texttt{" desc "}")))))))
1079 1079
1080(defun org-export-latex-cleaned-string 1080(defun org-export-latex-cleaned-string (&optional commentsp)
1081 ;; FIXME remove commentsp call in org.el and here 1081 ;; FIXME remove commentsp call in org.el and here
1082 (&optional commentsp)
1083 "Clean stuff in the LaTeX export." 1082 "Clean stuff in the LaTeX export."
1084 1083
1085 ;; Preserve line breaks 1084 ;; Preserve line breaks
diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el
index b555e6c1102..fdedc1580bc 100644
--- a/lisp/textmodes/org.el
+++ b/lisp/textmodes/org.el
@@ -3883,6 +3883,64 @@ If it is less than 8, the level-1 face gets re-used for level N+1 etc."
3883 :type 'number 3883 :type 'number
3884 :group 'org-faces) 3884 :group 'org-faces)
3885 3885
3886;;; Function declarations.
3887(declare-function add-to-diary-list "diary-lib"
3888 (date string specifier &optional marker globcolor literal))
3889(declare-function table--at-cell-p "table" (position &optional object at-column))
3890(declare-function Info-find-node "info" (filename nodename &optional no-going-back))
3891(declare-function bbdb "ext:bbdb-com" (string elidep))
3892(declare-function bbdb-company "ext:bbdb-com" (string elidep))
3893(declare-function bbdb-current-record "ext:bbdb-com" (&optional planning-on-modifying))
3894(declare-function bbdb-name "ext:bbdb-com" (string elidep))
3895(declare-function bbdb-record-getprop "ext:bbdb" (record property))
3896(declare-function bbdb-record-name "ext:bbdb" (record))
3897(declare-function bibtex-beginning-of-entry "bibtex" ())
3898(declare-function bibtex-generate-autokey "bibtex" ())
3899(declare-function bibtex-parse-entry "bibtex" (&optional content))
3900(declare-function bibtex-url "bibtex" (&optional pos no-browse))
3901(declare-function cdlatex-tab "ext:cdlatex" ())
3902(declare-function dired-get-filename "dired" (&optional localp no-error-if-not-filep))
3903(declare-function gnus-article-show-summary "gnus-art" ())
3904(declare-function mh-display-msg "mh-show" (msg-num folder-name))
3905(declare-function mh-find-path "mh-utils" ())
3906(declare-function mh-get-header-field "mh-utils" (field))
3907(declare-function mh-get-msg-num "mh-utils" (error-if-no-message))
3908(declare-function mh-header-display "mh-show" ())
3909(declare-function mh-index-previous-folder "mh-search" ())
3910(declare-function mh-normalize-folder-name "mh-utils" (folder &optional empty-string-okay dont-remove-trailing-slash return-nil-if-folder-empty))
3911(declare-function mh-search "mh-search" (folder search-regexp &optional redo-search-flag window-config))
3912(declare-function mh-search-choose "mh-search" (&optional searcher))
3913(declare-function mh-show "mh-show" (&optional message redisplay-flag))
3914(declare-function mh-show-buffer-message-number "mh-comp" (&optional buffer))
3915(declare-function mh-show-header-display "mh-show" t t)
3916(declare-function mh-show-msg "mh-show" (msg))
3917(declare-function mh-show-show "mh-show" t t)
3918(declare-function mh-visit-folder "mh-folder" (folder &optional range index-data))
3919(declare-function org-export-latex-cleaned-string "org-export-latex" (&optional commentsp))
3920(declare-function remember "remember" (&optional initial))
3921(declare-function remember-buffer-desc "remember" ())
3922(declare-function rmail-narrow-to-non-pruned-header "rmail" ())
3923(declare-function rmail-what-message "rmail" ())
3924(declare-function elmo-folder-exists-p "ext:elmo" (folder) t)
3925(declare-function elmo-message-entity-field "ext:elmo-msgdb" (entity field &optional type))
3926(declare-function elmo-message-field "ext:elmo" (folder number field &optional type) t)
3927(declare-function vm-beginning-of-message "ext:vm-page" ())
3928(declare-function vm-follow-summary-cursor "ext:vm-motion" ())
3929(declare-function vm-get-header-contents "ext:vm-summary" (message header-name-regexp &optional clump-sep))
3930(declare-function vm-isearch-narrow "ext:vm-search" ())
3931(declare-function vm-isearch-update "ext:vm-search" ())
3932(declare-function vm-select-folder-buffer "ext:vm-macro" ())
3933(declare-function vm-su-message-id "ext:vm-summary" (m))
3934(declare-function vm-su-subject "ext:vm-summary" (m))
3935(declare-function vm-summarize "ext:vm-summary" (&optional display raise))
3936(declare-function wl-folder-get-elmo-folder "ext:wl-folder" (entity &optional no-cache))
3937(declare-function wl-summary-goto-folder-subr "ext:wl-summary" (&optional name scan-type other-window sticky interactive scoring force-exit))
3938(declare-function wl-summary-jump-to-msg-by-message-id "ext:wl-summary" (&optional id))
3939(declare-function wl-summary-line-from "ext:wl-summary" ())
3940(declare-function wl-summary-line-subject "ext:wl-summary" ())
3941(declare-function wl-summary-message-number "ext:wl-summary" ())
3942(declare-function wl-summary-redisplay "ext:wl-summary" (&optional arg))
3943
3886;;; Variables for pre-computed regular expressions, all buffer local 3944;;; Variables for pre-computed regular expressions, all buffer local
3887 3945
3888(defvar org-drawer-regexp nil 3946(defvar org-drawer-regexp nil
@@ -16838,7 +16896,7 @@ D may be an absolute day number, or a calendar-type list (month day year)."
16838 16896
16839(defun org-calendar-holiday () 16897(defun org-calendar-holiday ()
16840 "List of holidays, for Diary display in Org-mode." 16898 "List of holidays, for Diary display in Org-mode."
16841 (let ((hl (check-calendar-holidays date))) 16899 (let ((hl (calendar-check-holidays date)))
16842 (if hl (mapconcat 'identity hl "; ")))) 16900 (if hl (mapconcat 'identity hl "; "))))
16843 16901
16844(defun org-diary-sexp-entry (sexp entry date) 16902(defun org-diary-sexp-entry (sexp entry date)