diff options
| author | Paul Eggert | 2015-08-24 23:39:33 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-08-24 23:57:25 -0700 |
| commit | 875a5d0ead827d3da32ecbd30e739a29f07bbc87 (patch) | |
| tree | edb42bf8ed4e7d975c6dcbdbe1f4ab0d44f86925 /lisp/org | |
| parent | 68280c5ee9b87d874ffa7c111b3cac7e634cee22 (diff) | |
| download | emacs-875a5d0ead827d3da32ecbd30e739a29f07bbc87.tar.gz emacs-875a5d0ead827d3da32ecbd30e739a29f07bbc87.zip | |
Prefer directed to neutral quotes
Prefer directed to neutral quotes in docstings and diagnostics.
In docstrings, escape apostrophes that would otherwise be translated
to curved quotes using the newer, simpler rules.
* admin/unidata/unidata-gen.el (unidata-gen-table):
* lisp/align.el (align-region):
* lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
* lisp/bookmark.el (bookmark-default-annotation-text):
* lisp/calc/calc-aent.el (math-read-if, math-read-factor):
* lisp/calc/calc-lang.el (math-read-giac-subscr)
(math-read-math-subscr):
* lisp/calc/calc-misc.el (report-calc-bug):
* lisp/calc/calc-prog.el (calc-fix-token-name)
(calc-read-parse-table-part):
* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
* lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
* lisp/dabbrev.el (dabbrev-expand):
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
* lisp/emacs-lisp/elint.el (elint-get-top-forms):
* lisp/emacs-lisp/lisp-mnt.el (lm-verify):
* lisp/emulation/viper-cmd.el (viper-toggle-search-style):
* lisp/erc/erc-button.el (erc-nick-popup):
* lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
* lisp/eshell/em-dirs.el (eshell/cd):
* lisp/eshell/em-glob.el (eshell-glob-regexp):
* lisp/eshell/em-pred.el (eshell-parse-modifiers):
* lisp/eshell/esh-arg.el (eshell-parse-arguments):
* lisp/eshell/esh-opt.el (eshell-show-usage):
* lisp/files-x.el (modify-file-local-variable):
* lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
(filesets-update-pre010505):
* lisp/find-cmd.el (find-generic, find-to-string):
* lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
* lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
(gnus-agent-fetch-headers):
* lisp/gnus/gnus-int.el (gnus-start-news-server):
* lisp/gnus/gnus-registry.el:
(gnus-registry--split-fancy-with-parent-internal):
* lisp/gnus/gnus-score.el (gnus-summary-increase-score):
* lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
* lisp/gnus/gnus-topic.el (gnus-topic-rename):
* lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
* lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
* lisp/gnus/spam.el (spam-check-blackholes):
* lisp/mail/feedmail.el (feedmail-run-the-queue):
* lisp/mpc.el (mpc-playlist-rename):
* lisp/net/ange-ftp.el (ange-ftp-shell-command):
* lisp/net/mairix.el (mairix-widget-create-query):
* lisp/net/tramp-cache.el:
* lisp/obsolete/otodo-mode.el (todo-more-important-p):
* lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
* lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
* lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
* lisp/org/ob-core.el (org-babel-goto-named-src-block)
(org-babel-goto-named-result):
* lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
* lisp/org/ob-ref.el (org-babel-ref-resolve):
* lisp/org/org-agenda.el (org-agenda-prepare):
* lisp/org/org-bibtex.el (org-bibtex-fields):
* lisp/org/org-clock.el (org-clock-notify-once-if-expired)
(org-clock-resolve):
* lisp/org/org-feed.el (org-feed-parse-atom-entry):
* lisp/org/org-habit.el (org-habit-parse-todo):
* lisp/org/org-mouse.el (org-mouse-popup-global-menu)
(org-mouse-context-menu):
* lisp/org/org-table.el (org-table-edit-formulas):
* lisp/org/ox.el (org-export-async-start):
* lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
(dun-rooms, dun-endgame-questions):
* lisp/progmodes/ada-mode.el (ada-goto-matching-start):
* lisp/progmodes/ada-xref.el (ada-find-executable):
* lisp/progmodes/antlr-mode.el (antlr-options-alists):
* lisp/progmodes/flymake.el (flymake-parse-err-lines)
(flymake-start-syntax-check-process):
* lisp/progmodes/python.el (python-define-auxiliary-skeleton):
* lisp/progmodes/sql.el (sql-comint):
* lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
* lisp/server.el (server-get-auth-key):
* lisp/subr.el (version-to-list):
* lisp/textmodes/reftex-ref.el (reftex-label):
* lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
* lisp/vc/ediff-diff.el (ediff-same-contents):
* lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
* test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
Use directed rather than neutral quotes in diagnostics.
Diffstat (limited to 'lisp/org')
| -rw-r--r-- | lisp/org/ob-core.el | 12 | ||||
| -rw-r--r-- | lisp/org/ob-exp.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-fortran.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-python.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-ref.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-scheme.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-agenda.el | 8 | ||||
| -rw-r--r-- | lisp/org/org-bibtex.el | 8 | ||||
| -rw-r--r-- | lisp/org/org-clock.el | 17 | ||||
| -rw-r--r-- | lisp/org/org-element.el | 10 | ||||
| -rw-r--r-- | lisp/org/org-feed.el | 3 | ||||
| -rw-r--r-- | lisp/org/org-habit.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-irc.el | 4 | ||||
| -rw-r--r-- | lisp/org/org-list.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-mouse.el | 10 | ||||
| -rw-r--r-- | lisp/org/org-plot.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-protocol.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-src.el | 4 | ||||
| -rw-r--r-- | lisp/org/org-table.el | 2 | ||||
| -rw-r--r-- | lisp/org/org.el | 30 | ||||
| -rw-r--r-- | lisp/org/ox-latex.el | 14 | ||||
| -rw-r--r-- | lisp/org/ox-publish.el | 4 | ||||
| -rw-r--r-- | lisp/org/ox-texinfo.el | 4 | ||||
| -rw-r--r-- | lisp/org/ox.el | 12 |
24 files changed, 81 insertions, 79 deletions
diff --git a/lisp/org/ob-core.el b/lisp/org/ob-core.el index bb46267c006..ffc7df4e928 100644 --- a/lisp/org/ob-core.el +++ b/lisp/org/ob-core.el | |||
| @@ -1677,7 +1677,7 @@ If the point is not on a source block then return nil." | |||
| 1677 | (if point | 1677 | (if point |
| 1678 | ;; taken from `org-open-at-point' | 1678 | ;; taken from `org-open-at-point' |
| 1679 | (progn (org-mark-ring-push) (goto-char point) (org-show-context)) | 1679 | (progn (org-mark-ring-push) (goto-char point) (org-show-context)) |
| 1680 | (message "source-code block '%s' not found in this buffer" name)))) | 1680 | (message "source-code block ‘%s’ not found in this buffer" name)))) |
| 1681 | 1681 | ||
| 1682 | (defun org-babel-find-named-block (name) | 1682 | (defun org-babel-find-named-block (name) |
| 1683 | "Find a named source-code block. | 1683 | "Find a named source-code block. |
| @@ -1712,7 +1712,7 @@ org-babel-named-src-block-regexp." | |||
| 1712 | (if point | 1712 | (if point |
| 1713 | ;; taken from `org-open-at-point' | 1713 | ;; taken from `org-open-at-point' |
| 1714 | (progn (goto-char point) (org-show-context)) | 1714 | (progn (goto-char point) (org-show-context)) |
| 1715 | (message "result '%s' not found in this buffer" name)))) | 1715 | (message "result ‘%s’ not found in this buffer" name)))) |
| 1716 | 1716 | ||
| 1717 | (defun org-babel-find-named-result (name &optional point) | 1717 | (defun org-babel-find-named-result (name &optional point) |
| 1718 | "Find a named result. | 1718 | "Find a named result. |
| @@ -2207,7 +2207,7 @@ file's directory then expand relative links." | |||
| 2207 | "Make true to capitalize begin/end example markers inserted by code blocks.") | 2207 | "Make true to capitalize begin/end example markers inserted by code blocks.") |
| 2208 | 2208 | ||
| 2209 | (defun org-babel-examplize-region (beg end &optional results-switches) | 2209 | (defun org-babel-examplize-region (beg end &optional results-switches) |
| 2210 | "Comment out region using the inline '==' or ': ' org example quote." | 2210 | "Comment out region using the inline ‘==’ or ‘: ’ org example quote." |
| 2211 | (interactive "*r") | 2211 | (interactive "*r") |
| 2212 | (let ((chars-between (lambda (b e) | 2212 | (let ((chars-between (lambda (b e) |
| 2213 | (not (string-match "^[\\s]*$" (buffer-substring b e))))) | 2213 | (not (string-match "^[\\s]*$" (buffer-substring b e))))) |
| @@ -2406,7 +2406,7 @@ CONTEXT may be one of :tangle, :export or :eval." | |||
| 2406 | "Expand Noweb references in the body of the current source code block. | 2406 | "Expand Noweb references in the body of the current source code block. |
| 2407 | 2407 | ||
| 2408 | For example the following reference would be replaced with the | 2408 | For example the following reference would be replaced with the |
| 2409 | body of the source-code block named 'example-block'. | 2409 | body of the source-code block named `example-block'. |
| 2410 | 2410 | ||
| 2411 | <<example-block>> | 2411 | <<example-block>> |
| 2412 | 2412 | ||
| @@ -2419,7 +2419,7 @@ This function must be called from inside of the buffer containing | |||
| 2419 | the source-code block which holds BODY. | 2419 | the source-code block which holds BODY. |
| 2420 | 2420 | ||
| 2421 | In addition the following syntax can be used to insert the | 2421 | In addition the following syntax can be used to insert the |
| 2422 | results of evaluating the source-code block named 'example-block'. | 2422 | results of evaluating the source-code block named `example-block'. |
| 2423 | 2423 | ||
| 2424 | <<example-block()>> | 2424 | <<example-block()>> |
| 2425 | 2425 | ||
| @@ -2583,7 +2583,7 @@ block but are passed literally to the \"example-block\"." | |||
| 2583 | (defun org-babel-read (cell &optional inhibit-lisp-eval) | 2583 | (defun org-babel-read (cell &optional inhibit-lisp-eval) |
| 2584 | "Convert the string value of CELL to a number if appropriate. | 2584 | "Convert the string value of CELL to a number if appropriate. |
| 2585 | Otherwise if cell looks like lisp (meaning it starts with a | 2585 | Otherwise if cell looks like lisp (meaning it starts with a |
| 2586 | \"(\", \"'\", \"\\=`\" or a \"[\") then read it as lisp, | 2586 | \"(\", \"\\='\", \"\\=`\" or a \"[\") then read it as lisp, |
| 2587 | otherwise return it unmodified as a string. Optional argument | 2587 | otherwise return it unmodified as a string. Optional argument |
| 2588 | NO-LISP-EVAL inhibits lisp evaluation for situations in which is | 2588 | NO-LISP-EVAL inhibits lisp evaluation for situations in which is |
| 2589 | it not appropriate." | 2589 | it not appropriate." |
diff --git a/lisp/org/ob-exp.el b/lisp/org/ob-exp.el index 3bfa8c55c78..92006f81756 100644 --- a/lisp/org/ob-exp.el +++ b/lisp/org/ob-exp.el | |||
| @@ -98,7 +98,7 @@ be executed." | |||
| 98 | 98 | ||
| 99 | (defun org-babel-exp-src-block (&rest headers) | 99 | (defun org-babel-exp-src-block (&rest headers) |
| 100 | "Process source block for export. | 100 | "Process source block for export. |
| 101 | Depending on the 'export' headers argument, replace the source | 101 | Depending on the `export' headers argument, replace the source |
| 102 | code block like this: | 102 | code block like this: |
| 103 | 103 | ||
| 104 | both ---- display the code and the results | 104 | both ---- display the code and the results |
diff --git a/lisp/org/ob-fortran.el b/lisp/org/ob-fortran.el index 30b5350767f..0e6eb4ff7c9 100644 --- a/lisp/org/ob-fortran.el +++ b/lisp/org/ob-fortran.el | |||
| @@ -108,7 +108,7 @@ it's header arguments." | |||
| 108 | "Wrap body in a \"program ... end program\" block if none exists." | 108 | "Wrap body in a \"program ... end program\" block if none exists." |
| 109 | (if (string-match "^[ \t]*program[ \t]*.*" (capitalize body)) | 109 | (if (string-match "^[ \t]*program[ \t]*.*" (capitalize body)) |
| 110 | (let ((vars (mapcar #'cdr (org-babel-get-header params :var)))) | 110 | (let ((vars (mapcar #'cdr (org-babel-get-header params :var)))) |
| 111 | (if vars (error "Cannot use :vars if 'program' statement is present")) | 111 | (if vars (error "Cannot use :vars if ‘program’ statement is present")) |
| 112 | body) | 112 | body) |
| 113 | (format "program main\n%s\nend program main\n" body))) | 113 | (format "program main\n%s\nend program main\n" body))) |
| 114 | 114 | ||
diff --git a/lisp/org/ob-python.el b/lisp/org/ob-python.el index 3d441a3033c..4abe7affe5c 100644 --- a/lisp/org/ob-python.el +++ b/lisp/org/ob-python.el | |||
| @@ -64,7 +64,7 @@ This will typically be either 'python or 'python-mode." | |||
| 64 | :type 'string) | 64 | :type 'string) |
| 65 | 65 | ||
| 66 | (defcustom org-babel-python-None-to 'hline | 66 | (defcustom org-babel-python-None-to 'hline |
| 67 | "Replace 'None' in python tables with this before returning." | 67 | "Replace ‘None’ in python tables with this before returning." |
| 68 | :group 'org-babel | 68 | :group 'org-babel |
| 69 | :version "24.4" | 69 | :version "24.4" |
| 70 | :package-version '(Org . "8.0") | 70 | :package-version '(Org . "8.0") |
diff --git a/lisp/org/ob-ref.el b/lisp/org/ob-ref.el index e5085ac7b49..472d3e6f657 100644 --- a/lisp/org/ob-ref.el +++ b/lisp/org/ob-ref.el | |||
| @@ -176,7 +176,7 @@ the variable." | |||
| 176 | ;; buffer (marker-buffer id-loc) | 176 | ;; buffer (marker-buffer id-loc) |
| 177 | ;; loc (marker-position id-loc)) | 177 | ;; loc (marker-position id-loc)) |
| 178 | ;; (move-marker id-loc nil) | 178 | ;; (move-marker id-loc nil) |
| 179 | (error "Reference '%s' not found in this buffer" ref)) | 179 | (error "Reference ‘%s’ not found in this buffer" ref)) |
| 180 | (cond | 180 | (cond |
| 181 | (lob-info (setq type 'lob)) | 181 | (lob-info (setq type 'lob)) |
| 182 | (id (setq type 'id)) | 182 | (id (setq type 'id)) |
diff --git a/lisp/org/ob-scheme.el b/lisp/org/ob-scheme.el index 02b9dc32e95..419b9a69097 100644 --- a/lisp/org/ob-scheme.el +++ b/lisp/org/ob-scheme.el | |||
| @@ -109,7 +109,7 @@ For a named session, the buffer name will be the session name. | |||
| 109 | 109 | ||
| 110 | If the session is unnamed (nil), generate a name. | 110 | If the session is unnamed (nil), generate a name. |
| 111 | 111 | ||
| 112 | If the session is 'none', use nil for the session name, and | 112 | If the session is ‘none’, use nil for the session name, and |
| 113 | org-babel-scheme-execute-with-geiser will use a temporary session." | 113 | org-babel-scheme-execute-with-geiser will use a temporary session." |
| 114 | (let ((result | 114 | (let ((result |
| 115 | (cond ((not name) | 115 | (cond ((not name) |
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index 3df9fb6d420..b73e130fad1 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el | |||
| @@ -1211,7 +1211,7 @@ For example, 9:30am would become 09:30 rather than 9:30." | |||
| 1211 | :type 'boolean) | 1211 | :type 'boolean) |
| 1212 | 1212 | ||
| 1213 | (defun org-agenda-time-of-day-to-ampm (time) | 1213 | (defun org-agenda-time-of-day-to-ampm (time) |
| 1214 | "Convert TIME of a string like '13:45' to an AM/PM style time string." | 1214 | "Convert TIME of a string like ‘13:45’ to an AM/PM style time string." |
| 1215 | (let* ((hour-number (string-to-number (substring time 0 -3))) | 1215 | (let* ((hour-number (string-to-number (substring time 0 -3))) |
| 1216 | (minute (substring time -2)) | 1216 | (minute (substring time -2)) |
| 1217 | (ampm "am")) | 1217 | (ampm "am")) |
| @@ -1975,7 +1975,7 @@ estimate." | |||
| 1975 | :type 'boolean) | 1975 | :type 'boolean) |
| 1976 | 1976 | ||
| 1977 | (defcustom org-agenda-auto-exclude-function nil | 1977 | (defcustom org-agenda-auto-exclude-function nil |
| 1978 | "A function called with a tag to decide if it is filtered on '/ RET'. | 1978 | "A function called with a tag to decide if it is filtered on ‘/ RET’. |
| 1979 | The sole argument to the function, which is called once for each | 1979 | The sole argument to the function, which is called once for each |
| 1980 | possible tag, is a string giving the name of the tag. The | 1980 | possible tag, is a string giving the name of the tag. The |
| 1981 | function should return either nil if the tag should be included | 1981 | function should return either nil if the tag should be included |
| @@ -3625,9 +3625,9 @@ FILTER-ALIST is an alist of filters we need to apply when | |||
| 3625 | ;; Popup existing buffer | 3625 | ;; Popup existing buffer |
| 3626 | (org-agenda-prepare-window (get-buffer org-agenda-buffer-name) | 3626 | (org-agenda-prepare-window (get-buffer org-agenda-buffer-name) |
| 3627 | filter-alist) | 3627 | filter-alist) |
| 3628 | (message "Sticky Agenda buffer, use `r' to refresh") | 3628 | (message "Sticky Agenda buffer, use ‘r’ to refresh") |
| 3629 | (or org-agenda-multi (org-agenda-fit-window-to-buffer)) | 3629 | (or org-agenda-multi (org-agenda-fit-window-to-buffer)) |
| 3630 | (throw 'exit "Sticky Agenda buffer, use `r' to refresh")) | 3630 | (throw 'exit "Sticky Agenda buffer, use ‘r’ to refresh")) |
| 3631 | (setq org-todo-keywords-for-agenda nil) | 3631 | (setq org-todo-keywords-for-agenda nil) |
| 3632 | (setq org-drawers-for-agenda nil) | 3632 | (setq org-drawers-for-agenda nil) |
| 3633 | (put 'org-agenda-tag-filter :preset-filter | 3633 | (put 'org-agenda-tag-filter :preset-filter |
diff --git a/lisp/org/org-bibtex.el b/lisp/org/org-bibtex.el index 8b5da8f851c..2eb2d12633e 100644 --- a/lisp/org/org-bibtex.el +++ b/lisp/org/org-bibtex.el | |||
| @@ -190,7 +190,7 @@ | |||
| 190 | (:booktitle . "Title of a book, part of which is being cited. See the LaTeX book for how to type titles. For book entries, use the title field instead.") | 190 | (:booktitle . "Title of a book, part of which is being cited. See the LaTeX book for how to type titles. For book entries, use the title field instead.") |
| 191 | (:chapter . "A chapter (or section or whatever) number.") | 191 | (:chapter . "A chapter (or section or whatever) number.") |
| 192 | (:crossref . "The database key of the entry being cross referenced.") | 192 | (:crossref . "The database key of the entry being cross referenced.") |
| 193 | (:edition . "The edition of a book for example, 'Second'. This should be an ordinal, and should have the first letter capitalized, as shown here; the standard styles convert to lower case when necessary.") | 193 | (:edition . "The edition of a book for example, ‘Second’. This should be an ordinal, and should have the first letter capitalized, as shown here; the standard styles convert to lower case when necessary.") |
| 194 | (:editor . "Name(s) of editor(s), typed as indicated in the LaTeX book. If there is also an author field, then the editor field gives the editor of the book or collection in which the reference appears.") | 194 | (:editor . "Name(s) of editor(s), typed as indicated in the LaTeX book. If there is also an author field, then the editor field gives the editor of the book or collection in which the reference appears.") |
| 195 | (:howpublished . "How something strange has been published. The first word should be capitalized.") | 195 | (:howpublished . "How something strange has been published. The first word should be capitalized.") |
| 196 | (:institution . "The sponsoring institution of a technical report.") | 196 | (:institution . "The sponsoring institution of a technical report.") |
| @@ -205,9 +205,9 @@ | |||
| 205 | (:school . "The name of the school where a thesis was written.") | 205 | (:school . "The name of the school where a thesis was written.") |
| 206 | (:series . "The name of a series or set of books. When citing an entire book, the title field gives its title and an optional series field gives the name of a series or multi-volume set in which the book is published.") | 206 | (:series . "The name of a series or set of books. When citing an entire book, the title field gives its title and an optional series field gives the name of a series or multi-volume set in which the book is published.") |
| 207 | (:title . "The work’s title, typed as explained in the LaTeX book.") | 207 | (:title . "The work’s title, typed as explained in the LaTeX book.") |
| 208 | (:type . "The type of a technical report for example, 'Research Note'.") | 208 | (:type . "The type of a technical report for example, ‘Research Note’.") |
| 209 | (:volume . "The volume of a journal or multi-volume book.") | 209 | (:volume . "The volume of a journal or multi-volume book.") |
| 210 | (:year . "The year of publication or, for an unpublished work, the year it was written. Generally it should consist of four numerals, such as 1984, although the standard styles can handle any year whose last four nonpunctuation characters are numerals, such as '(about 1984)'")) | 210 | (:year . "The year of publication or, for an unpublished work, the year it was written. Generally it should consist of four numerals, such as 1984, although the standard styles can handle any year whose last four nonpunctuation characters are numerals, such as ‘(about 1984)’")) |
| 211 | "Bibtex fields with descriptions.") | 211 | "Bibtex fields with descriptions.") |
| 212 | 212 | ||
| 213 | (defvar org-bibtex-entries nil | 213 | (defvar org-bibtex-entries nil |
| @@ -221,7 +221,7 @@ | |||
| 221 | 221 | ||
| 222 | (defcustom org-bibtex-prefix nil | 222 | (defcustom org-bibtex-prefix nil |
| 223 | "Optional prefix for all bibtex property names. | 223 | "Optional prefix for all bibtex property names. |
| 224 | For example setting to 'BIB_' would allow interoperability with fireforg." | 224 | For example setting to ‘BIB_’ would allow interoperability with fireforg." |
| 225 | :group 'org-bibtex | 225 | :group 'org-bibtex |
| 226 | :version "24.1" | 226 | :version "24.1" |
| 227 | :type '(choice | 227 | :type '(choice |
diff --git a/lisp/org/org-clock.el b/lisp/org/org-clock.el index c0a45b3ad13..aee91ce42fb 100644 --- a/lisp/org/org-clock.el +++ b/lisp/org/org-clock.el | |||
| @@ -389,8 +389,8 @@ nil current clock is not displayed" | |||
| 389 | (defcustom org-clock-frame-title-format '(t org-mode-line-string) | 389 | (defcustom org-clock-frame-title-format '(t org-mode-line-string) |
| 390 | "The value for `frame-title-format' when clocking in. | 390 | "The value for `frame-title-format' when clocking in. |
| 391 | 391 | ||
| 392 | When `org-clock-clocked-in-display' is set to 'frame-title | 392 | When `org-clock-clocked-in-display' is set to `frame-title' |
| 393 | or 'both, clocking in will replace `frame-title-format' with | 393 | or `both', clocking in will replace `frame-title-format' with |
| 394 | this value. Clocking out will restore `frame-title-format'. | 394 | this value. Clocking out will restore `frame-title-format'. |
| 395 | 395 | ||
| 396 | `org-frame-title-string' is a format string using the same | 396 | `org-frame-title-string' is a format string using the same |
| @@ -717,8 +717,9 @@ Notification is shown only once." | |||
| 717 | (unless org-clock-notification-was-shown | 717 | (unless org-clock-notification-was-shown |
| 718 | (setq org-clock-notification-was-shown t) | 718 | (setq org-clock-notification-was-shown t) |
| 719 | (org-notify | 719 | (org-notify |
| 720 | (format "Task '%s' should be finished by now. (%s)" | 720 | (format-message "Task ‘%s’ should be finished by now. (%s)" |
| 721 | org-clock-heading org-clock-effort) org-clock-sound)) | 721 | org-clock-heading org-clock-effort) |
| 722 | org-clock-sound)) | ||
| 722 | (setq org-clock-notification-was-shown nil))))) | 723 | (setq org-clock-notification-was-shown nil))))) |
| 723 | 724 | ||
| 724 | (defun org-notify (notification &optional play-sound) | 725 | (defun org-notify (notification &optional play-sound) |
| @@ -937,7 +938,7 @@ was started." | |||
| 937 | (org-clock-jump-to-current-clock clock)) | 938 | (org-clock-jump-to-current-clock clock)) |
| 938 | (unless org-clock-resolve-expert | 939 | (unless org-clock-resolve-expert |
| 939 | (with-output-to-temp-buffer "*Org Clock*" | 940 | (with-output-to-temp-buffer "*Org Clock*" |
| 940 | (princ "Select a Clock Resolution Command: | 941 | (princ (format-message "Select a Clock Resolution Command: |
| 941 | 942 | ||
| 942 | i/q Ignore this question; the same as keeping all the idle time. | 943 | i/q Ignore this question; the same as keeping all the idle time. |
| 943 | 944 | ||
| @@ -946,8 +947,8 @@ k/K Keep X minutes of the idle time (default is all). If this | |||
| 946 | that many minutes after the time that idling began, and then | 947 | that many minutes after the time that idling began, and then |
| 947 | clocked back in at the present time. | 948 | clocked back in at the present time. |
| 948 | 949 | ||
| 949 | g/G Indicate that you \"got back\" X minutes ago. This is quite | 950 | g/G Indicate that you “got back” X minutes ago. This is quite |
| 950 | different from 'k': it clocks you out from the beginning of | 951 | different from ‘k’: it clocks you out from the beginning of |
| 951 | the idle period and clock you back in X minutes ago. | 952 | the idle period and clock you back in X minutes ago. |
| 952 | 953 | ||
| 953 | s/S Subtract the idle time from the current clock. This is the | 954 | s/S Subtract the idle time from the current clock. This is the |
| @@ -959,7 +960,7 @@ C Cancel the open timer altogether. It will be as though you | |||
| 959 | j/J Jump to the current clock, to make manual adjustments. | 960 | j/J Jump to the current clock, to make manual adjustments. |
| 960 | 961 | ||
| 961 | For all these options, using uppercase makes your final state | 962 | For all these options, using uppercase makes your final state |
| 962 | to be CLOCKED OUT."))) | 963 | to be CLOCKED OUT.")))) |
| 963 | (org-fit-window-to-buffer (get-buffer-window "*Org Clock*")) | 964 | (org-fit-window-to-buffer (get-buffer-window "*Org Clock*")) |
| 964 | (let (char-pressed) | 965 | (let (char-pressed) |
| 965 | (when (featurep 'xemacs) | 966 | (when (featurep 'xemacs) |
diff --git a/lisp/org/org-element.el b/lisp/org/org-element.el index 651ce670fcc..573d7eeca2d 100644 --- a/lisp/org/org-element.el +++ b/lisp/org/org-element.el | |||
| @@ -4141,12 +4141,12 @@ Assuming TREE is a variable containing an Org buffer parse tree, | |||
| 4141 | the following example will return a flat list of all `src-block' | 4141 | the following example will return a flat list of all `src-block' |
| 4142 | and `example-block' elements in it: | 4142 | and `example-block' elements in it: |
| 4143 | 4143 | ||
| 4144 | \(org-element-map tree '(example-block src-block) 'identity) | 4144 | \(org-element-map tree \\='(example-block src-block) \\='identity) |
| 4145 | 4145 | ||
| 4146 | The following snippet will find the first headline with a level | 4146 | The following snippet will find the first headline with a level |
| 4147 | of 1 and a \"phone\" tag, and will return its beginning position: | 4147 | of 1 and a \"phone\" tag, and will return its beginning position: |
| 4148 | 4148 | ||
| 4149 | \(org-element-map tree 'headline | 4149 | \(org-element-map tree \\='headline |
| 4150 | \(lambda (hl) | 4150 | \(lambda (hl) |
| 4151 | \(and (= (org-element-property :level hl) 1) | 4151 | \(and (= (org-element-property :level hl) 1) |
| 4152 | \(member \"phone\" (org-element-property :tags hl)) | 4152 | \(member \"phone\" (org-element-property :tags hl)) |
| @@ -4156,15 +4156,15 @@ of 1 and a \"phone\" tag, and will return its beginning position: | |||
| 4156 | The next example will return a flat list of all `plain-list' type | 4156 | The next example will return a flat list of all `plain-list' type |
| 4157 | elements in TREE that are not a sub-list themselves: | 4157 | elements in TREE that are not a sub-list themselves: |
| 4158 | 4158 | ||
| 4159 | \(org-element-map tree 'plain-list 'identity nil nil 'plain-list) | 4159 | \(org-element-map tree \\='plain-list \\='identity nil nil \\='plain-list) |
| 4160 | 4160 | ||
| 4161 | Eventually, this example will return a flat list of all `bold' | 4161 | Eventually, this example will return a flat list of all `bold' |
| 4162 | type objects containing a `latex-snippet' type object, even | 4162 | type objects containing a `latex-snippet' type object, even |
| 4163 | looking into captions: | 4163 | looking into captions: |
| 4164 | 4164 | ||
| 4165 | \(org-element-map tree 'bold | 4165 | \(org-element-map tree \\='bold |
| 4166 | \(lambda (b) | 4166 | \(lambda (b) |
| 4167 | \(and (org-element-map b 'latex-snippet 'identity nil t) b)) | 4167 | \(and (org-element-map b \\='latex-snippet \\='identity nil t) b)) |
| 4168 | nil nil nil t)" | 4168 | nil nil nil t)" |
| 4169 | ;; Ensure TYPES and NO-RECURSION are a list, even of one element. | 4169 | ;; Ensure TYPES and NO-RECURSION are a list, even of one element. |
| 4170 | (unless (listp types) (setq types (list types))) | 4170 | (unless (listp types) (setq types (list types))) |
diff --git a/lisp/org/org-feed.el b/lisp/org/org-feed.el index f0121242158..22e543c35f7 100644 --- a/lisp/org/org-feed.el +++ b/lisp/org/org-feed.el | |||
| @@ -690,7 +690,8 @@ formatted as a string, not the original XML data." | |||
| 690 | (xml-node-children content))))) | 690 | (xml-node-children content))))) |
| 691 | (t | 691 | (t |
| 692 | (setq entry (plist-put entry :description | 692 | (setq entry (plist-put entry :description |
| 693 | (format "Unknown '%s' content." type))))))) | 693 | (format-message |
| 694 | "Unknown ‘%s’ content." type))))))) | ||
| 694 | entry)) | 695 | entry)) |
| 695 | 696 | ||
| 696 | (provide 'org-feed) | 697 | (provide 'org-feed) |
diff --git a/lisp/org/org-habit.el b/lisp/org/org-habit.el index cf2f4c81fbd..7911dcff9ab 100644 --- a/lisp/org/org-habit.el +++ b/lisp/org/org-habit.el | |||
| @@ -180,7 +180,7 @@ This list represents a \"habit\" for the rest of this module." | |||
| 180 | (error "Habit %s has no scheduled date" habit-entry)) | 180 | (error "Habit %s has no scheduled date" habit-entry)) |
| 181 | (unless scheduled-repeat | 181 | (unless scheduled-repeat |
| 182 | (error | 182 | (error |
| 183 | "Habit '%s' has no scheduled repeat period or has an incorrect one" | 183 | "Habit ‘%s’ has no scheduled repeat period or has an incorrect one" |
| 184 | habit-entry)) | 184 | habit-entry)) |
| 185 | (setq sr-days (org-habit-duration-to-days scheduled-repeat)) | 185 | (setq sr-days (org-habit-duration-to-days scheduled-repeat)) |
| 186 | (unless (> sr-days 0) | 186 | (unless (> sr-days 0) |
diff --git a/lisp/org/org-irc.el b/lisp/org/org-irc.el index 62f3d9596c5..fc3294f684f 100644 --- a/lisp/org/org-irc.el +++ b/lisp/org/org-irc.el | |||
| @@ -108,7 +108,7 @@ attributes that are found." | |||
| 108 | (defun org-irc-ellipsify-description (string &optional after) | 108 | (defun org-irc-ellipsify-description (string &optional after) |
| 109 | "Remove unnecessary white space from STRING and add ellipses if necessary. | 109 | "Remove unnecessary white space from STRING and add ellipses if necessary. |
| 110 | Strip starting and ending white space from STRING and replace any | 110 | Strip starting and ending white space from STRING and replace any |
| 111 | chars that the value AFTER with '...'" | 111 | chars that the value AFTER with ‘...’" |
| 112 | (let* ((after (number-to-string (or after 30))) | 112 | (let* ((after (number-to-string (or after 30))) |
| 113 | (replace-map (list (cons "^[ \t]*" "") | 113 | (replace-map (list (cons "^[ \t]*" "") |
| 114 | (cons "[ \t]*$" "") | 114 | (cons "[ \t]*$" "") |
| @@ -172,7 +172,7 @@ the session itself." | |||
| 172 | (org-store-link-props | 172 | (org-store-link-props |
| 173 | :type "irc" | 173 | :type "irc" |
| 174 | :link (concat "irc:/" link-text) | 174 | :link (concat "irc:/" link-text) |
| 175 | :description (concat "irc session '" link-text "'") | 175 | :description (concat "irc session `" link-text "'") |
| 176 | :server (car (car link)) | 176 | :server (car (car link)) |
| 177 | :port (or (string-to-number (cadr (pop link))) erc-default-port) | 177 | :port (or (string-to-number (cadr (pop link))) erc-default-port) |
| 178 | :nick (pop link)) | 178 | :nick (pop link)) |
diff --git a/lisp/org/org-list.el b/lisp/org/org-list.el index 432e4310fae..28bed8dcc59 100644 --- a/lisp/org/org-list.el +++ b/lisp/org/org-list.el | |||
| @@ -230,7 +230,7 @@ This variable needs to be set before org.el is loaded. If you | |||
| 230 | need to make a change while Emacs is running, use the customize | 230 | need to make a change while Emacs is running, use the customize |
| 231 | interface or run the following code after updating it: | 231 | interface or run the following code after updating it: |
| 232 | 232 | ||
| 233 | \(when (featurep 'org-element) (load \"org-element\" t t))" | 233 | \(when (featurep \\='org-element) (load \"org-element\" t t))" |
| 234 | :group 'org-plain-lists | 234 | :group 'org-plain-lists |
| 235 | :version "24.1" | 235 | :version "24.1" |
| 236 | :type 'boolean | 236 | :type 'boolean |
diff --git a/lisp/org/org-mouse.el b/lisp/org/org-mouse.el index 9b218147b65..a52c1962787 100644 --- a/lisp/org/org-mouse.el +++ b/lisp/org/org-mouse.el | |||
| @@ -378,7 +378,7 @@ nor a function, elements of KEYWORDS are used directly." | |||
| 378 | (defvar org-mouse-priority-regexp "\\[#\\([A-Z]\\)\\]" | 378 | (defvar org-mouse-priority-regexp "\\[#\\([A-Z]\\)\\]" |
| 379 | "Regular expression matching the priority indicator. | 379 | "Regular expression matching the priority indicator. |
| 380 | Differs from `org-priority-regexp' in that it doesn't contain the | 380 | Differs from `org-priority-regexp' in that it doesn't contain the |
| 381 | leading '.*?'.") | 381 | leading `.*?'.") |
| 382 | 382 | ||
| 383 | (defun org-mouse-get-priority (&optional default) | 383 | (defun org-mouse-get-priority (&optional default) |
| 384 | "Return the priority of the current headline. | 384 | "Return the priority of the current headline. |
| @@ -539,7 +539,7 @@ SCHEDULED: or DEADLINE: or ANYTHINGLIKETHIS:" | |||
| 539 | ((stringp (nth 2 entry)) | 539 | ((stringp (nth 2 entry)) |
| 540 | (concat (org-mouse-agenda-type (nth 1 entry)) | 540 | (concat (org-mouse-agenda-type (nth 1 entry)) |
| 541 | (nth 2 entry))) | 541 | (nth 2 entry))) |
| 542 | (t "Agenda Command '%s'")) | 542 | (t "Agenda Command ‘%s’")) |
| 543 | 30)))) | 543 | 30)))) |
| 544 | "--" | 544 | "--" |
| 545 | ["Delete Blank Lines" delete-blank-lines | 545 | ["Delete Blank Lines" delete-blank-lines |
| @@ -566,7 +566,7 @@ SCHEDULED: or DEADLINE: or ANYTHINGLIKETHIS:" | |||
| 566 | (save-excursion (org-apply-on-list wrap-fun nil))))) | 566 | (save-excursion (org-apply-on-list wrap-fun nil))))) |
| 567 | 567 | ||
| 568 | (defun org-mouse-bolp () | 568 | (defun org-mouse-bolp () |
| 569 | "Return true if there only spaces, tabs, and '*' before point. | 569 | "Return true if there only spaces, tabs, and ‘*’ before point. |
| 570 | This means, between the beginning of line and the point." | 570 | This means, between the beginning of line and the point." |
| 571 | (save-excursion | 571 | (save-excursion |
| 572 | (skip-chars-backward " \t*") (bolp))) | 572 | (skip-chars-backward " \t*") (bolp))) |
| @@ -708,9 +708,9 @@ This means, between the beginning of line and the point." | |||
| 708 | ((org-mouse-looking-at ":\\([A-Za-z0-9_]+\\):" "A-Za-z0-9_" -1) ;tags | 708 | ((org-mouse-looking-at ":\\([A-Za-z0-9_]+\\):" "A-Za-z0-9_" -1) ;tags |
| 709 | (popup-menu | 709 | (popup-menu |
| 710 | `(nil | 710 | `(nil |
| 711 | [,(format "Display '%s'" (match-string 1)) | 711 | [,(format-message "Display ‘%s’" (match-string 1)) |
| 712 | (org-tags-view nil ,(match-string 1))] | 712 | (org-tags-view nil ,(match-string 1))] |
| 713 | [,(format "Sparse Tree '%s'" (match-string 1)) | 713 | [,(format-message "Sparse Tree ‘%s’" (match-string 1)) |
| 714 | (org-tags-sparse-tree nil ,(match-string 1))] | 714 | (org-tags-sparse-tree nil ,(match-string 1))] |
| 715 | "--" | 715 | "--" |
| 716 | ,@(org-mouse-tag-menu)))) | 716 | ,@(org-mouse-tag-menu)))) |
diff --git a/lisp/org/org-plot.el b/lisp/org/org-plot.el index f092c71b55c..7024ed6e507 100644 --- a/lisp/org/org-plot.el +++ b/lisp/org/org-plot.el | |||
| @@ -94,7 +94,7 @@ Return value is the point at the beginning of the table." | |||
| 94 | (goto-char (org-table-begin))) | 94 | (goto-char (org-table-begin))) |
| 95 | 95 | ||
| 96 | (defun org-plot/collect-options (&optional params) | 96 | (defun org-plot/collect-options (&optional params) |
| 97 | "Collect options from an org-plot '#+Plot:' line. | 97 | "Collect options from an org-plot ‘#+Plot:’ line. |
| 98 | Accepts an optional property list PARAMS, to which the options | 98 | Accepts an optional property list PARAMS, to which the options |
| 99 | will be added. Returns the resulting property list." | 99 | will be added. Returns the resulting property list." |
| 100 | (interactive) | 100 | (interactive) |
diff --git a/lisp/org/org-protocol.el b/lisp/org/org-protocol.el index d0750f7d639..4d9e79f54ea 100644 --- a/lisp/org/org-protocol.el +++ b/lisp/org/org-protocol.el | |||
| @@ -394,7 +394,7 @@ The sub-protocol used to reach this function is set in | |||
| 394 | `org-protocol-protocol-alist'. | 394 | `org-protocol-protocol-alist'. |
| 395 | 395 | ||
| 396 | This function detects an URL, title and optional text, separated | 396 | This function detects an URL, title and optional text, separated |
| 397 | by '/'. The location for a browser's bookmark looks like this: | 397 | by `/'. The location for a browser's bookmark looks like this: |
| 398 | 398 | ||
| 399 | javascript:location.href='org-protocol://capture://'+ \\ | 399 | javascript:location.href='org-protocol://capture://'+ \\ |
| 400 | encodeURIComponent(location.href)+'/' \\ | 400 | encodeURIComponent(location.href)+'/' \\ |
diff --git a/lisp/org/org-src.el b/lisp/org/org-src.el index 12d7fa1264c..4f7998678be 100644 --- a/lisp/org/org-src.el +++ b/lisp/org/org-src.el | |||
| @@ -865,9 +865,9 @@ This command is not bound to a key by default, to avoid conflicts | |||
| 865 | with language major mode bindings. To bind it to C-c @ in all | 865 | with language major mode bindings. To bind it to C-c @ in all |
| 866 | language major modes, you could use | 866 | language major modes, you could use |
| 867 | 867 | ||
| 868 | (add-hook 'org-src-mode-hook | 868 | (add-hook \\='org-src-mode-hook |
| 869 | (lambda () (define-key org-src-mode-map \"\\C-c@\" | 869 | (lambda () (define-key org-src-mode-map \"\\C-c@\" |
| 870 | 'org-src-do-key-sequence-at-code-block))) | 870 | \\='org-src-do-key-sequence-at-code-block))) |
| 871 | 871 | ||
| 872 | In that case, for example, C-c @ t issued in code edit buffers | 872 | In that case, for example, C-c @ t issued in code edit buffers |
| 873 | would tangle the current Org code block, C-c @ e would execute | 873 | would tangle the current Org code block, C-c @ e would execute |
diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el index d84c51bbbc3..fb593674ec4 100644 --- a/lisp/org/org-table.el +++ b/lisp/org/org-table.el | |||
| @@ -3404,7 +3404,7 @@ Parameters get priority." | |||
| 3404 | (if (eq org-table-use-standard-references t) | 3404 | (if (eq org-table-use-standard-references t) |
| 3405 | (org-table-fedit-toggle-ref-type)) | 3405 | (org-table-fedit-toggle-ref-type)) |
| 3406 | (org-goto-line startline) | 3406 | (org-goto-line startline) |
| 3407 | (message "Edit formulas, finish with `C-c C-c' or `C-c ' '. See menu for more commands."))) | 3407 | (message "Edit formulas, finish with ‘C-c C-c’ or ‘C-c '’. See menu for more commands."))) |
| 3408 | 3408 | ||
| 3409 | (defun org-table-fedit-post-command () | 3409 | (defun org-table-fedit-post-command () |
| 3410 | (when (not (memq this-command '(lisp-complete-symbol))) | 3410 | (when (not (memq this-command '(lisp-complete-symbol))) |
diff --git a/lisp/org/org.el b/lisp/org/org.el index 326fb96fa13..acfc6f0743e 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -381,7 +381,7 @@ core modules, nor modules from the CONTRIB directory). Just add symbols | |||
| 381 | to the end of the list. If the package is called org-xyz.el, then you need | 381 | to the end of the list. If the package is called org-xyz.el, then you need |
| 382 | to add the symbol `xyz', and the package must have a call to: | 382 | to add the symbol `xyz', and the package must have a call to: |
| 383 | 383 | ||
| 384 | \(provide 'org-xyz) | 384 | \(provide \\='org-xyz) |
| 385 | 385 | ||
| 386 | For export specific modules, see also `org-export-backends'." | 386 | For export specific modules, see also `org-export-backends'." |
| 387 | :group 'org | 387 | :group 'org |
| @@ -471,20 +471,20 @@ value of the variable, after updating it: | |||
| 471 | \(lambda (backend) | 471 | \(lambda (backend) |
| 472 | \(let ((name (org-export-backend-name backend))) | 472 | \(let ((name (org-export-backend-name backend))) |
| 473 | \(or (memq name val) | 473 | \(or (memq name val) |
| 474 | \(catch 'parentp | 474 | \(catch \\='parentp |
| 475 | \(dolist (b val) | 475 | \(dolist (b val) |
| 476 | \(and (org-export-derived-backend-p b name) | 476 | \(and (org-export-derived-backend-p b name) |
| 477 | \(throw 'parentp t))))))) | 477 | \(throw \\='parentp t))))))) |
| 478 | org-export--registered-backends)) | 478 | org-export--registered-backends)) |
| 479 | \(let ((new-list (mapcar 'org-export-backend-name | 479 | \(let ((new-list (mapcar \\='org-export-backend-name |
| 480 | org-export--registered-backends))) | 480 | org-export--registered-backends))) |
| 481 | \(dolist (backend val) | 481 | \(dolist (backend val) |
| 482 | \(cond | 482 | \(cond |
| 483 | \((not (load (format \"ox-%s\" backend) t t)) | 483 | \((not (load (format \"ox-%s\" backend) t t)) |
| 484 | \(message \"Problems while trying to load export back-end `%s'\" | 484 | \(message \"Problems while trying to load export back-end ‘%s’\" |
| 485 | backend)) | 485 | backend)) |
| 486 | \((not (memq backend new-list)) (push backend new-list)))) | 486 | \((not (memq backend new-list)) (push backend new-list)))) |
| 487 | \(set-default 'org-export-backends new-list))) | 487 | \(set-default \\='org-export-backends new-list))) |
| 488 | 488 | ||
| 489 | Adding a back-end to this list will also pull the back-end it | 489 | Adding a back-end to this list will also pull the back-end it |
| 490 | depends on, if any." | 490 | depends on, if any." |
| @@ -1548,8 +1548,8 @@ links in Org-mode buffers can have an optional tag after a double colon, e.g. | |||
| 1548 | 1548 | ||
| 1549 | [[linkkey:tag][description]] | 1549 | [[linkkey:tag][description]] |
| 1550 | 1550 | ||
| 1551 | The 'linkkey' must be a word word, starting with a letter, followed | 1551 | The `linkkey' must be a word word, starting with a letter, followed |
| 1552 | by letters, numbers, '-' or '_'. | 1552 | by letters, numbers, `-' or `_'. |
| 1553 | 1553 | ||
| 1554 | If REPLACE is a string, the tag will simply be appended to create the link. | 1554 | If REPLACE is a string, the tag will simply be appended to create the link. |
| 1555 | If the string contains \"%s\", the tag will be inserted there. If the string | 1555 | If the string contains \"%s\", the tag will be inserted there. If the string |
| @@ -2487,7 +2487,7 @@ TODO state changes | |||
| 2487 | ------------------ | 2487 | ------------------ |
| 2488 | :type todo-state-change | 2488 | :type todo-state-change |
| 2489 | :from previous state (keyword as a string), or nil, or a symbol | 2489 | :from previous state (keyword as a string), or nil, or a symbol |
| 2490 | 'todo' or 'done', to indicate the general type of state. | 2490 | `todo' or `done', to indicate the general type of state. |
| 2491 | :to new state, like in :from") | 2491 | :to new state, like in :from") |
| 2492 | 2492 | ||
| 2493 | (defcustom org-enforce-todo-dependencies nil | 2493 | (defcustom org-enforce-todo-dependencies nil |
| @@ -3291,10 +3291,10 @@ Instead of customizing this variable directly, you might want to | |||
| 3291 | set it locally for capture buffers, because there no list of | 3291 | set it locally for capture buffers, because there no list of |
| 3292 | tags in that file can be created dynamically (there are none). | 3292 | tags in that file can be created dynamically (there are none). |
| 3293 | 3293 | ||
| 3294 | (add-hook 'org-capture-mode-hook | 3294 | (add-hook \\='org-capture-mode-hook |
| 3295 | (lambda () | 3295 | (lambda () |
| 3296 | (set (make-local-variable | 3296 | (set (make-local-variable |
| 3297 | 'org-complete-tags-always-offer-all-agenda-tags) | 3297 | \\='org-complete-tags-always-offer-all-agenda-tags) |
| 3298 | t)))" | 3298 | t)))" |
| 3299 | :group 'org-tags | 3299 | :group 'org-tags |
| 3300 | :version "24.1" | 3300 | :version "24.1" |
| @@ -3974,7 +3974,7 @@ lines to the buffer: | |||
| 3974 | 3974 | ||
| 3975 | (defcustom org-hidden-keywords nil | 3975 | (defcustom org-hidden-keywords nil |
| 3976 | "List of symbols corresponding to keywords to be hidden the org buffer. | 3976 | "List of symbols corresponding to keywords to be hidden the org buffer. |
| 3977 | For example, a value '(title) for this list will make the document's title | 3977 | For example, a value \\='(title) for this list will make the document's title |
| 3978 | appear in the buffer without the initial #+TITLE: keyword." | 3978 | appear in the buffer without the initial #+TITLE: keyword." |
| 3979 | :group 'org-appearance | 3979 | :group 'org-appearance |
| 3980 | :version "24.1" | 3980 | :version "24.1" |
| @@ -11187,7 +11187,7 @@ org-open-file. | |||
| 11187 | It assumes that is the case when the entry uses a regular | 11187 | It assumes that is the case when the entry uses a regular |
| 11188 | expression which has at least one grouping construct and the | 11188 | expression which has at least one grouping construct and the |
| 11189 | action is either a lisp form or a command string containing | 11189 | action is either a lisp form or a command string containing |
| 11190 | '%1', i.e. using at least one subexpression match as a | 11190 | `%1', i.e. using at least one subexpression match as a |
| 11191 | parameter." | 11191 | parameter." |
| 11192 | (let ((selector (car entry)) | 11192 | (let ((selector (car entry)) |
| 11193 | (action (cdr entry))) | 11193 | (action (cdr entry))) |
| @@ -21871,8 +21871,8 @@ for the search purpose." | |||
| 21871 | 21871 | ||
| 21872 | For example, in this alist: | 21872 | For example, in this alist: |
| 21873 | 21873 | ||
| 21874 | \(org-uniquify-alist '((a 1) (b 2) (a 3))) | 21874 | \(org-uniquify-alist \\='((a 1) (b 2) (a 3))) |
| 21875 | => '((a 1 3) (b 2)) | 21875 | => \\='((a 1 3) (b 2)) |
| 21876 | 21876 | ||
| 21877 | merge (a 1) and (a 3) into (a 1 3). | 21877 | merge (a 1) and (a 3) into (a 1 3). |
| 21878 | 21878 | ||
diff --git a/lisp/org/ox-latex.el b/lisp/org/ox-latex.el index bfc860a46bc..cea02ff4548 100644 --- a/lisp/org/ox-latex.el +++ b/lisp/org/ox-latex.el | |||
| @@ -601,7 +601,7 @@ in order to mimic default behavior: | |||
| 601 | title | 601 | title |
| 602 | \(when tags | 602 | \(when tags |
| 603 | \(format \"\\\\hfill{}\\\\textsc{:%s:}\" | 603 | \(format \"\\\\hfill{}\\\\textsc{:%s:}\" |
| 604 | \(mapconcat 'identity tags \":\"))))) | 604 | \(mapconcat \\='identity tags \":\"))))) |
| 605 | \(format (concat \"\\\\begin{center}\\n\" | 605 | \(format (concat \"\\\\begin{center}\\n\" |
| 606 | \"\\\\fbox{\\n\" | 606 | \"\\\\fbox{\\n\" |
| 607 | \"\\\\begin{minipage}[c]{.6\\\\textwidth}\\n\" | 607 | \"\\\\begin{minipage}[c]{.6\\\\textwidth}\\n\" |
| @@ -626,21 +626,21 @@ listings package, and if you want to have color, the color | |||
| 626 | package. Just add these to `org-latex-packages-alist', for | 626 | package. Just add these to `org-latex-packages-alist', for |
| 627 | example using customize, or with something like: | 627 | example using customize, or with something like: |
| 628 | 628 | ||
| 629 | \(require 'ox-latex) | 629 | \(require \\='ox-latex) |
| 630 | \(add-to-list 'org-latex-packages-alist '(\"\" \"listings\")) | 630 | \(add-to-list \\='org-latex-packages-alist \\='(\"\" \"listings\")) |
| 631 | \(add-to-list 'org-latex-packages-alist '(\"\" \"color\")) | 631 | \(add-to-list \\='org-latex-packages-alist \\='(\"\" \"color\")) |
| 632 | 632 | ||
| 633 | Alternatively, | 633 | Alternatively, |
| 634 | 634 | ||
| 635 | \(setq org-latex-listings 'minted) | 635 | \(setq org-latex-listings \\='minted) |
| 636 | 636 | ||
| 637 | causes source code to be exported using the minted package as | 637 | causes source code to be exported using the minted package as |
| 638 | opposed to listings. If you want to use minted, you need to add | 638 | opposed to listings. If you want to use minted, you need to add |
| 639 | the minted package to `org-latex-packages-alist', for example | 639 | the minted package to `org-latex-packages-alist', for example |
| 640 | using customize, or with | 640 | using customize, or with |
| 641 | 641 | ||
| 642 | \(require 'ox-latex) | 642 | \(require \\='ox-latex) |
| 643 | \(add-to-list 'org-latex-packages-alist '(\"\" \"minted\")) | 643 | \(add-to-list \\='org-latex-packages-alist \\='(\"\" \"minted\")) |
| 644 | 644 | ||
| 645 | In addition, it is necessary to install pygments | 645 | In addition, it is necessary to install pygments |
| 646 | \(http://pygments.org), and to configure the variable | 646 | \(http://pygments.org), and to configure the variable |
diff --git a/lisp/org/ox-publish.el b/lisp/org/ox-publish.el index f35df1b2a9c..08762fbbfdd 100644 --- a/lisp/org/ox-publish.el +++ b/lisp/org/ox-publish.el | |||
| @@ -61,7 +61,7 @@ Blocks could hash sha1 values here.") | |||
| 61 | 61 | ||
| 62 | (defcustom org-publish-project-alist nil | 62 | (defcustom org-publish-project-alist nil |
| 63 | "Association list to control publishing behavior. | 63 | "Association list to control publishing behavior. |
| 64 | Each element of the alist is a publishing 'project.' The CAR of | 64 | Each element of the alist is a publishing “project”. The CAR of |
| 65 | each element is a string, uniquely identifying the project. The | 65 | each element is a string, uniquely identifying the project. The |
| 66 | CDR of each element is in one of the following forms: | 66 | CDR of each element is in one of the following forms: |
| 67 | 67 | ||
| @@ -711,7 +711,7 @@ If `:auto-sitemap' is set, publish the sitemap too. If | |||
| 711 | (defun org-publish-org-sitemap (project &optional sitemap-filename) | 711 | (defun org-publish-org-sitemap (project &optional sitemap-filename) |
| 712 | "Create a sitemap of pages in set defined by PROJECT. | 712 | "Create a sitemap of pages in set defined by PROJECT. |
| 713 | Optionally set the filename of the sitemap with SITEMAP-FILENAME. | 713 | Optionally set the filename of the sitemap with SITEMAP-FILENAME. |
| 714 | Default for SITEMAP-FILENAME is 'sitemap.org'." | 714 | Default for SITEMAP-FILENAME is `sitemap.org'." |
| 715 | (let* ((project-plist (cdr project)) | 715 | (let* ((project-plist (cdr project)) |
| 716 | (dir (file-name-as-directory | 716 | (dir (file-name-as-directory |
| 717 | (plist-get project-plist :base-directory))) | 717 | (plist-get project-plist :base-directory))) |
diff --git a/lisp/org/ox-texinfo.el b/lisp/org/ox-texinfo.el index c77a239dc3f..d5e650afb79 100644 --- a/lisp/org/ox-texinfo.el +++ b/lisp/org/ox-texinfo.el | |||
| @@ -217,7 +217,7 @@ order to reproduce the default set-up: | |||
| 217 | text | 217 | text |
| 218 | \(when tags | 218 | \(when tags |
| 219 | \(format \"\\\\hfill{}\\\\textsc{%s}\" | 219 | \(format \"\\\\hfill{}\\\\textsc{%s}\" |
| 220 | \(mapconcat 'identity tags \":\"))))" | 220 | \(mapconcat \\='identity tags \":\"))))" |
| 221 | :group 'org-export-texinfo | 221 | :group 'org-export-texinfo |
| 222 | :type 'function) | 222 | :type 'function) |
| 223 | 223 | ||
| @@ -347,7 +347,7 @@ in order to mimic default behavior: | |||
| 347 | title | 347 | title |
| 348 | \(when tags | 348 | \(when tags |
| 349 | \(format \":%s:\" | 349 | \(format \":%s:\" |
| 350 | \(mapconcat 'identity tags \":\"))))) | 350 | \(mapconcat \\='identity tags \":\"))))) |
| 351 | \(format (concat \"@center %s\n\n\" | 351 | \(format (concat \"@center %s\n\n\" |
| 352 | \"%s\" | 352 | \"%s\" |
| 353 | \"\n\")) | 353 | \"\n\")) |
diff --git a/lisp/org/ox.el b/lisp/org/ox.el index efac2f8e18c..a0573d04c10 100644 --- a/lisp/org/ox.el +++ b/lisp/org/ox.el | |||
| @@ -1180,12 +1180,12 @@ keywords are understood: | |||
| 1180 | As an example, here is how one could define \"my-latex\" back-end | 1180 | As an example, here is how one could define \"my-latex\" back-end |
| 1181 | as a variant of `latex' back-end with a custom template function: | 1181 | as a variant of `latex' back-end with a custom template function: |
| 1182 | 1182 | ||
| 1183 | \(org-export-define-derived-backend 'my-latex 'latex | 1183 | \(org-export-define-derived-backend \\='my-latex \\='latex |
| 1184 | :translate-alist '((template . my-latex-template-fun))) | 1184 | :translate-alist \\='((template . my-latex-template-fun))) |
| 1185 | 1185 | ||
| 1186 | The back-end could then be called with, for example: | 1186 | The back-end could then be called with, for example: |
| 1187 | 1187 | ||
| 1188 | \(org-export-to-buffer 'my-latex \"*Test my-latex*\")" | 1188 | \(org-export-to-buffer \\='my-latex \"*Test my-latex*\")" |
| 1189 | (declare (indent 2)) | 1189 | (declare (indent 2)) |
| 1190 | (let (blocks filters menu-entry options transcoders contents) | 1190 | (let (blocks filters menu-entry options transcoders contents) |
| 1191 | (while (keywordp (car body)) | 1191 | (while (keywordp (car body)) |
| @@ -5553,7 +5553,7 @@ and `org-export-to-file' for more specialized functions." | |||
| 5553 | (kill-buffer proc-buffer)))) | 5553 | (kill-buffer proc-buffer)))) |
| 5554 | (org-export-add-to-stack proc-buffer nil p) | 5554 | (org-export-add-to-stack proc-buffer nil p) |
| 5555 | (ding) | 5555 | (ding) |
| 5556 | (message "Process '%s' exited abnormally" p)) | 5556 | (message "Process ‘%s’ exited abnormally" p)) |
| 5557 | (unless org-export-async-debug | 5557 | (unless org-export-async-debug |
| 5558 | (delete-file ,,temp-file))))))))))))) | 5558 | (delete-file ,,temp-file))))))))))))) |
| 5559 | 5559 | ||
| @@ -5589,7 +5589,7 @@ use it to set a major mode there, e.g, | |||
| 5589 | \(defun org-latex-export-as-latex | 5589 | \(defun org-latex-export-as-latex |
| 5590 | \(&optional async subtreep visible-only body-only ext-plist) | 5590 | \(&optional async subtreep visible-only body-only ext-plist) |
| 5591 | \(interactive) | 5591 | \(interactive) |
| 5592 | \(org-export-to-buffer 'latex \"*Org LATEX Export*\" | 5592 | \(org-export-to-buffer \\='latex \"*Org LATEX Export*\" |
| 5593 | async subtreep visible-only body-only ext-plist (lambda () (LaTeX-mode)))) | 5593 | async subtreep visible-only body-only ext-plist (lambda () (LaTeX-mode)))) |
| 5594 | 5594 | ||
| 5595 | This function returns BUFFER." | 5595 | This function returns BUFFER." |
| @@ -5650,7 +5650,7 @@ to send the output file through additional processing, e.g, | |||
| 5650 | \(&optional async subtreep visible-only body-only ext-plist) | 5650 | \(&optional async subtreep visible-only body-only ext-plist) |
| 5651 | \(interactive) | 5651 | \(interactive) |
| 5652 | \(let ((outfile (org-export-output-file-name \".tex\" subtreep))) | 5652 | \(let ((outfile (org-export-output-file-name \".tex\" subtreep))) |
| 5653 | \(org-export-to-file 'latex outfile | 5653 | \(org-export-to-file \\='latex outfile |
| 5654 | async subtreep visible-only body-only ext-plist | 5654 | async subtreep visible-only body-only ext-plist |
| 5655 | \(lambda (file) (org-latex-compile file))) | 5655 | \(lambda (file) (org-latex-compile file))) |
| 5656 | 5656 | ||