diff options
| author | Paul Eggert | 2011-11-19 19:07:02 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-11-19 19:07:02 -0800 |
| commit | 615a3b8d0d2c88cd664f1e0beb5a32b5b8e08f90 (patch) | |
| tree | e0458a9eac443c36a3a4bfa117fde01bbd6e4140 /lisp | |
| parent | c3ca24d48c10fb771ee02eb58f7d49bd82d6306e (diff) | |
| parent | e1dbe924b53c541fdf238a5a722b7177d5c8760b (diff) | |
| download | emacs-615a3b8d0d2c88cd664f1e0beb5a32b5b8e08f90.tar.gz emacs-615a3b8d0d2c88cd664f1e0beb5a32b5b8e08f90.zip | |
Merge from trunk.
Diffstat (limited to 'lisp')
419 files changed, 2511 insertions, 2011 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 65ab83e0204..11a4acd3b16 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,9 +1,311 @@ | |||
| 1 | 2011-11-20 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom. | ||
| 4 | (rmail-insert-mime-forwarded-message-function, rmail-mime-feature): | ||
| 5 | Doc fixes. | ||
| 6 | (rmail-decode-mime-charset): Mark as obsolete. | ||
| 7 | |||
| 8 | * mail/rmailsum.el (rmail-message-regexp-p-1): | ||
| 9 | * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend): | ||
| 10 | Before using mime functions, check they are set. (Bug#10077) | ||
| 11 | |||
| 12 | 2011-11-19 Juri Linkov <juri@jurta.org> | ||
| 13 | |||
| 14 | * info.el (Info-finder-find-node): Use `package--builtins' instead | ||
| 15 | of `package-alist'. Use node names formed by the pattern "Keyword " | ||
| 16 | and the keyword name. | ||
| 17 | |||
| 18 | 2011-11-19 Andreas Schwab <schwab@linux-m68k.org> | ||
| 19 | |||
| 20 | * progmodes/sh-script.el (sh-assignment-regexp): Add entry for | ||
| 21 | bash. | ||
| 22 | |||
| 23 | 2011-11-19 Juri Linkov <juri@jurta.org> | ||
| 24 | |||
| 25 | * info.el (Info-hide-note-references): Add `:set' tag to `defcustom' | ||
| 26 | that calls `revert-buffer' on all Info buffers. (Bug#9915) | ||
| 27 | (Info-revert-find-node): Remove let-bindings `old-buffer-name', | ||
| 28 | `old-history', `old-history-forward'. Add let-binding | ||
| 29 | `window-selected'. Remove calls to `kill-buffer', | ||
| 30 | `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil | ||
| 31 | before calling `Info-find-node', so `Info-find-node-2' will reread | ||
| 32 | the Info file. Restore window positions only when `window-selected' | ||
| 33 | is non-nil. | ||
| 34 | |||
| 35 | 2011-11-19 Juri Linkov <juri@jurta.org> | ||
| 36 | |||
| 37 | * isearch.el (isearch-lazy-highlight-new-loop): | ||
| 38 | Remove condition `(not isearch-error)'. (Bug#9918) | ||
| 39 | |||
| 40 | * misearch.el (multi-isearch-search-fun): Add condition | ||
| 41 | `(not bound)' to ignore lazy-highlighting search. | ||
| 42 | Add the search-failed message "end of multi" when the end of | ||
| 43 | multi-sequence is reached. Uncapitalize the search-failed | ||
| 44 | message "Repeat for next buffer". | ||
| 45 | |||
| 46 | * info.el (Info-search): Add the search-failed message | ||
| 47 | "end of the manual" when the end of the manual is reached | ||
| 48 | in Isearch mode. | ||
| 49 | |||
| 50 | 2011-11-19 Juri Linkov <juri@jurta.org> | ||
| 51 | |||
| 52 | * info.el (Info-find-node-2, Info-select-node, Info-history-find-node): | ||
| 53 | Use non-destructive `remove' instead of `delete' because | ||
| 54 | `Info-history-list' stored to `Info-isearch-initial-history-list' in | ||
| 55 | `Info-isearch-start' might need to be restored in `Info-isearch-end'. | ||
| 56 | |||
| 57 | 2011-11-19 Juri Linkov <juri@jurta.org> | ||
| 58 | |||
| 59 | * isearch.el (isearch-edit-string): Let-bind `history-add-new-input' | ||
| 60 | to nil instead of binding `search-ring' and `regexp-search-ring'. | ||
| 61 | (Bug#9185) | ||
| 62 | |||
| 63 | 2011-11-19 Eli Zaretskii <eliz@gnu.org> | ||
| 64 | |||
| 65 | * simple.el (line-move): Force movement by logical lines for any | ||
| 66 | hscrolled window, not only when auto-hscroll-mode is on. | ||
| 67 | (line-move-visual): Update doc string to that effect. (Bug#10076) | ||
| 68 | |||
| 69 | 2011-11-19 Andreas Schwab <schwab@linux-m68k.org> | ||
| 70 | |||
| 71 | * language/european.el (macintosh): Define as alias for mac-roman. | ||
| 72 | |||
| 73 | 2011-11-19 Eli Zaretskii <eliz@gnu.org> | ||
| 74 | |||
| 75 | * mail/rmailmm.el (rmail-mime-display-header) | ||
| 76 | (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts. | ||
| 77 | (rmail-mime-entity-segment, rmail-mime-toggle-raw) | ||
| 78 | (rmail-mime-toggle-hidden, rmail-mime-insert-text) | ||
| 79 | (rmail-mime-insert-bulk, rmail-mime-insert-multipart) | ||
| 80 | (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead | ||
| 81 | of a raw aref. | ||
| 82 | (rmail-mime-entity-segment): To get past the tagline, move forward | ||
| 83 | 2 more lines, to account for the 2 empty lines that precede and | ||
| 84 | follow the line with the buttons. | ||
| 85 | (rmail-mime-update-tagline): Move one more line, to get past the | ||
| 86 | empty line that follows the buttons in the tagline. (Bug#9520) | ||
| 87 | |||
| 88 | 2011-11-19 Martin Rudalics <rudalics@gmx.at> | ||
| 89 | |||
| 90 | * window.el (window-max-delta-1, window-min-delta-1) | ||
| 91 | (window-min-size-1, window-state-get-1, window-state-put-1) | ||
| 92 | (window-state-put-2): Use "window--" prefix. | ||
| 93 | |||
| 94 | 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 95 | |||
| 96 | * emacs-lisp/smie.el: Improve warnings and conflict detection. | ||
| 97 | (smie-warning-count): New var. | ||
| 98 | (smie-set-prec2tab): Use it. | ||
| 99 | (smie-bnf->prec2): Improve warnings. Add docstring. | ||
| 100 | (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist. | ||
| 101 | (smie-bnf--set-class): New function. | ||
| 102 | (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix | ||
| 103 | corner case. | ||
| 104 | |||
| 105 | * progmodes/compile.el: Obey compilation-first-column in dest buffer. | ||
| 106 | (compilation-error-properties, compilation-move-to-column): | ||
| 107 | Handle compilation-first-column while in the target buffer. | ||
| 108 | |||
| 109 | * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards): | ||
| 110 | Don't hardcode point-min==1. | ||
| 111 | |||
| 112 | * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907). | ||
| 113 | (eshell-rewrite-for-command): Remove workaround. | ||
| 114 | (eshell-do-pipelines, eshell-do-pipelines-synchronously) | ||
| 115 | (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq. | ||
| 116 | * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare. | ||
| 117 | |||
| 118 | * files-x.el (modify-file-local-variable): Obey commenting conventions. | ||
| 119 | |||
| 120 | 2011-11-17 Glenn Morris <rgm@gnu.org> | ||
| 121 | |||
| 122 | * emacs-lisp/autoload.el (autoload-generate-file-autoloads): | ||
| 123 | Ignore buffer-local generated-autoload-file if it is the same | ||
| 124 | as the global value. (Bug#10049) | ||
| 125 | |||
| 126 | 2011-11-17 Juanma Barranquero <lekktu@gmail.com> | ||
| 127 | |||
| 128 | * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help) | ||
| 129 | (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading) | ||
| 130 | (reftex-toc-previous-heading, reftex-toc-max-level) | ||
| 131 | (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point) | ||
| 132 | (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump) | ||
| 133 | (reftex-toc-do-promote, reftex-toc-promote-prepare) | ||
| 134 | (reftex-toc-promote-action, reftex-toc-extract-section-number) | ||
| 135 | (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label) | ||
| 136 | (reftex-toc-rename-label, reftex-toc-visit-location) | ||
| 137 | (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter) | ||
| 138 | (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter) | ||
| 139 | (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently, | ||
| 140 | leaving "*toc*" only for references to the buffer. | ||
| 141 | |||
| 142 | 2011-11-17 Martin Rudalics <rudalics@gmx.at> | ||
| 143 | |||
| 144 | * window.el (window-resize, delete-window, split-window): | ||
| 145 | Replace window-splits by window-combination-resize. | ||
| 146 | * cus-start.el (window-splits): Replace by | ||
| 147 | window-combination-resize. | ||
| 148 | |||
| 149 | 2011-11-17 Glenn Morris <rgm@gnu.org> | ||
| 150 | |||
| 151 | * progmodes/sh-script.el (sh-font-lock-keywords-var): | ||
| 152 | Make bash entry derive from sh entry, not shell entry. | ||
| 153 | |||
| 154 | 2011-11-16 Michael Albinus <michael.albinus@gmx.de> | ||
| 155 | |||
| 156 | * net/tramp.el (tramp-handle-file-truename): Cache only the local | ||
| 157 | file name. | ||
| 158 | |||
| 159 | * net/tramp-cache.el (tramp-flush-file-property): Flush also | ||
| 160 | properties of linked files. (Bug#9879) | ||
| 161 | |||
| 162 | 2011-11-16 Juanma Barranquero <lekktu@gmail.com> | ||
| 163 | |||
| 164 | * menu-bar.el (menu-bar-file-menu): | ||
| 165 | * printing.el (pr-ps-utility): | ||
| 166 | * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset) | ||
| 167 | (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical) | ||
| 168 | (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical) | ||
| 169 | (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical) | ||
| 170 | (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical) | ||
| 171 | (icalendar--convert-cyclic-to-ical) | ||
| 172 | (icalendar--convert-anniversary-to-ical, icalendar-import-buffer) | ||
| 173 | (icalendar--convert-ical-to-diary) | ||
| 174 | (icalendar--convert-recurring-to-diary) | ||
| 175 | (icalendar--convert-non-recurring-all-day-to-diary) | ||
| 176 | (icalendar-import-format-sample): | ||
| 177 | * progmodes/idlw-shell.el (idlwave-shell-mode): | ||
| 178 | * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column) | ||
| 179 | (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings) | ||
| 180 | (vhdl-ps-print-init): Fix typos. | ||
| 181 | |||
| 182 | 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com> | ||
| 183 | |||
| 184 | * allout.el, allout-widgets.el (file metadata): Attribute copyright to | ||
| 185 | FSF and collapse date sequence, obscure author/maintainer email address | ||
| 186 | better, remove extra version line, track relocation of author's webpage. | ||
| 187 | |||
| 188 | * progmodes/python.el (python-pdbtrack-input-prompt) | ||
| 189 | (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as | ||
| 190 | regular python pdb prompts. Adjustments shamelessly taken exactly as | ||
| 191 | suggested in EmacsWiki page (tiny change): | ||
| 192 | http://www.emacswiki.org/PythonProgrammingInEmacs#toc14 | ||
| 193 | |||
| 194 | 2011-11-16 Juanma Barranquero <lekktu@gmail.com> | ||
| 195 | |||
| 196 | * expand.el (expand-pos, expand-index, expand-point): | ||
| 197 | Remove redundant info from docstring. | ||
| 198 | (expand-add-abbrevs): Doc fix. | ||
| 199 | (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list) | ||
| 200 | (expand-sample-perl-mode-expand-list): Fix typos. | ||
| 201 | |||
| 202 | * net/dbus.el (dbus-event-member-name): | ||
| 203 | * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output): | ||
| 204 | * term/pc-win.el (msdos-create-frame-with-faces): | ||
| 205 | * textmodes/texinfmt.el (texinfo-format-image): Fix typos. | ||
| 206 | |||
| 207 | 2011-11-16 Martin Rudalics <rudalics@gmx.at> | ||
| 208 | |||
| 209 | * window.el (split-window, window-state-get-1) | ||
| 210 | (window-state-put-1, window-state-put-2): Rename occurrences of | ||
| 211 | window-nest to window-combination-limit. | ||
| 212 | * cus-start.el (window-nest): Rename to | ||
| 213 | window-combination-limit. | ||
| 214 | |||
| 215 | 2011-11-16 Chong Yidong <cyd@gnu.org> | ||
| 216 | |||
| 217 | * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip | ||
| 218 | regexp (Bug#10033). | ||
| 219 | |||
| 220 | 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 221 | |||
| 222 | * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053). | ||
| 223 | `completing-read' will remove *Completions* and will preserve | ||
| 224 | current-buffer for us. | ||
| 225 | (tmm-add-prompt): Users of *Completions* will always (re)set its | ||
| 226 | major mode. | ||
| 227 | (tmm-old-comp-map): Remove. | ||
| 228 | |||
| 229 | 2011-11-16 Glenn Morris <rgm@gnu.org> | ||
| 230 | |||
| 231 | * mail/rmailedit.el: Require rmailmm when compiling. | ||
| 232 | (rmail-old-mime-state): New declaration. | ||
| 233 | (rmail-edit-current-message): If editing a mime message, | ||
| 234 | edit the "raw" message from the mbox buffer. | ||
| 235 | (rmail-cease-edit): Handle mime messages. (Bug#9840) | ||
| 236 | |||
| 237 | 2011-11-15 Glenn Morris <rgm@gnu.org> | ||
| 238 | |||
| 239 | * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg, | ||
| 240 | which wasn't being used. Add optional arg to force given state. | ||
| 241 | (rmail-mime): Add optional arg to force given state. | ||
| 242 | |||
| 243 | 2011-11-15 Juanma Barranquero <lekktu@gmail.com> | ||
| 244 | |||
| 245 | * allout.el (allout-encryption-plaintext-sanitization-regexps): | ||
| 246 | * frame.el (display-mm-dimensions-alist): | ||
| 247 | * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up) | ||
| 248 | (outline-move-subtree-down): | ||
| 249 | * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed) | ||
| 250 | (newsticker--treeview-do-get-node): | ||
| 251 | * net/quickurl.el (quickurl-list-buffer-name): | ||
| 252 | * progmodes/dcl-mode.el (dcl-mode): | ||
| 253 | * progmodes/gdb-mi.el (gdb-mapcar*): | ||
| 254 | * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos. | ||
| 255 | |||
| 256 | 2011-11-15 Glenn Morris <rgm@gnu.org> | ||
| 257 | |||
| 258 | * mail/rmail.el (rmail-file-coding-system): It's only ever used | ||
| 259 | in a boolean sense, so just make it a boolean, and fix the doc. | ||
| 260 | (rmail-show-mime-function, rmail-mime-feature) | ||
| 261 | (rmail-require-mime-maybe): Doc fixes. | ||
| 262 | (rmail-show-message-1): Check rmail-show-mime-function is non-nil. | ||
| 263 | |||
| 264 | * mail/rmailmm.el (rmail-show-mime): Doc fix. | ||
| 265 | |||
| 266 | 2011-11-15 Juanma Barranquero <lekktu@gmail.com> | ||
| 267 | |||
| 268 | * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign) | ||
| 269 | (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys) | ||
| 270 | (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys) | ||
| 271 | (epg-start-generate-key, epg-context-set-progress-callback): Fix typos. | ||
| 272 | |||
| 273 | 2011-11-15 Glenn Morris <rgm@gnu.org> | ||
| 274 | |||
| 275 | * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment) | ||
| 276 | (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode) | ||
| 277 | (rmail-mime-toggle-hidden, rmail-mime-insert-tagline) | ||
| 278 | (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse) | ||
| 279 | (rmail-mime, rmail-show-mime): Doc fixes. | ||
| 280 | |||
| 281 | * term/ns-win.el (mode-line-frame-identification): | ||
| 282 | Leave it alone. (Bug#10051) | ||
| 283 | |||
| 284 | * simple.el (mark-whole-buffer): Doc fix. (Bug#10023) | ||
| 285 | |||
| 286 | * mail/rmailout.el (rmail-output-to-rmail-buffer): | ||
| 287 | Handle empty buffers. (Bug#9978) | ||
| 288 | |||
| 289 | 2011-11-14 Juanma Barranquero <lekktu@gmail.com> | ||
| 290 | |||
| 291 | * international/mule.el (define-charset): | ||
| 292 | * mail/rmailmm.el (rmail-mime-find-header-encoding): | ||
| 293 | * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook): | ||
| 294 | * progmodes/verilog-mode.el (verilog-backward-token): | ||
| 295 | * textmodes/ispell.el (lookup-words): | ||
| 296 | * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos. | ||
| 297 | |||
| 1 | 2011-11-14 Glenn Morris <rgm@gnu.org> | 298 | 2011-11-14 Glenn Morris <rgm@gnu.org> |
| 2 | 299 | ||
| 3 | * progmodes/executable.el | 300 | * progmodes/executable.el |
| 4 | (executable-make-buffer-file-executable-if-script-p): | 301 | (executable-make-buffer-file-executable-if-script-p): |
| 5 | Handle file-modes returning nil. | 302 | Handle file-modes returning nil. |
| 6 | 303 | ||
| 304 | * mail/rmailsum.el (rmail-summary): Remove movement to beginning of | ||
| 305 | message - not necessary, and causes problems. (Bug#9831) | ||
| 306 | |||
| 307 | * mail/rmailsum.el (rmail-new-summary): Preserve message number. | ||
| 308 | |||
| 7 | * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator. | 309 | * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator. |
| 8 | 310 | ||
| 9 | * mail/rmailsum.el (rmail-summary, rmail-new-summary) | 311 | * mail/rmailsum.el (rmail-summary, rmail-new-summary) |
| @@ -368,11 +670,10 @@ | |||
| 368 | * progmodes/cc-defs.el: Update "virtual semicolon" comments. | 670 | * progmodes/cc-defs.el: Update "virtual semicolon" comments. |
| 369 | 671 | ||
| 370 | * progmodes/cc-engine.el (c-crosses-statement-barrier-p): | 672 | * progmodes/cc-engine.el (c-crosses-statement-barrier-p): |
| 371 | Recode to scan one line at at time rather than having \n and \r | 673 | Recode to scan one line at a time rather than having \n and \r |
| 372 | explicitly in c-stmt-delim-chars | 674 | explicitly in c-stmt-delim-chars (for some modes, e.g. AWK). |
| 373 | (for some modes, e.g. AWK). | ||
| 374 | (c-forward-label): Amend for virtual semicolons. | 675 | (c-forward-label): Amend for virtual semicolons. |
| 375 | (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions | 676 | (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions. |
| 376 | 677 | ||
| 377 | * progmodes/cc-fonts.el (c-font-lock-declarations): Take account | 678 | * progmodes/cc-fonts.el (c-font-lock-declarations): Take account |
| 378 | of the new C macros. | 679 | of the new C macros. |
| @@ -389,7 +690,7 @@ | |||
| 389 | 690 | ||
| 390 | * progmodes/cc-vars.el (c-macro-with-semi-re): | 691 | * progmodes/cc-vars.el (c-macro-with-semi-re): |
| 391 | (c-macro-names-with-semicolon): New variables. | 692 | (c-macro-names-with-semicolon): New variables. |
| 392 | (c-make-macro-with-semi-re): New function | 693 | (c-make-macro-with-semi-re): New function. |
| 393 | 694 | ||
| 394 | 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca> | 695 | 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 395 | 696 | ||
| @@ -444,7 +745,7 @@ | |||
| 444 | 2011-10-26 Michael Albinus <michael.albinus@gmx.de> | 745 | 2011-10-26 Michael Albinus <michael.albinus@gmx.de> |
| 445 | 746 | ||
| 446 | * ido.el (ido-file-name-all-completions-1): Do not require | 747 | * ido.el (ido-file-name-all-completions-1): Do not require |
| 447 | tramp.el explicitely. (Bug#7583) | 748 | tramp.el explicitly. (Bug#7583) |
| 448 | 749 | ||
| 449 | 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca> | 750 | 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca> |
| 450 | 751 | ||
| @@ -2462,13 +2763,13 @@ | |||
| 2462 | 2763 | ||
| 2463 | 2011-08-20 Alan Mackenzie <acm@muc.de> | 2764 | 2011-08-20 Alan Mackenzie <acm@muc.de> |
| 2464 | 2765 | ||
| 2465 | * Fontify CPP expressions correctly when starting in the middle of | 2766 | Fontify CPP expressions correctly when starting in the middle of |
| 2466 | such a construct. Mainly for when jit-lock etc. starts a chunk | 2767 | such a construct. Mainly for when jit-lock etc. starts a chunk |
| 2467 | here. | 2768 | here. |
| 2468 | 2769 | ||
| 2469 | * progmodes/cc-fonts.el (c-font-lock-context): new buffer local | 2770 | * progmodes/cc-fonts.el (c-font-lock-context): New buffer local |
| 2470 | variable. | 2771 | variable. |
| 2471 | (c-make-font-lock-search-form): new function, extracted from | 2772 | (c-make-font-lock-search-form): New function, extracted from |
| 2472 | c-make-font-lock-search-function. | 2773 | c-make-font-lock-search-function. |
| 2473 | (c-make-font-lock-search-function): Use the above function. | 2774 | (c-make-font-lock-search-function): Use the above function. |
| 2474 | (c-make-font-lock-context-search-function): New function. | 2775 | (c-make-font-lock-context-search-function): New function. |
| @@ -2732,7 +3033,7 @@ | |||
| 2732 | more people. | 3033 | more people. |
| 2733 | 3034 | ||
| 2734 | * cus-edit.el (custom-file): When running under emacs -q, always | 3035 | * cus-edit.el (custom-file): When running under emacs -q, always |
| 2735 | refuse to save the customisations, even if the .emacs file doesn't | 3036 | refuse to save the customizations, even if the .emacs file doesn't |
| 2736 | exist. | 3037 | exist. |
| 2737 | 3038 | ||
| 2738 | * info.el: Remove the `Info-beginning-of-buffer' function | 3039 | * info.el: Remove the `Info-beginning-of-buffer' function |
| @@ -2799,7 +3100,7 @@ | |||
| 2799 | 3100 | ||
| 2800 | * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the | 3101 | * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the |
| 2801 | QT keyword "more" to prevent "more slots: ...." being spuriously | 3102 | QT keyword "more" to prevent "more slots: ...." being spuriously |
| 2802 | parsed as a bitfield declaraion. | 3103 | parsed as a bitfield declaration. |
| 2803 | 3104 | ||
| 2804 | * progmodes/cc-engine.el (c-beginning-of-statement-1): | 3105 | * progmodes/cc-engine.el (c-beginning-of-statement-1): |
| 2805 | Refactor and enhance to handle bitfield declarations. | 3106 | Refactor and enhance to handle bitfield declarations. |
| @@ -3498,7 +3799,7 @@ | |||
| 3498 | Also clean up the code slightly. | 3799 | Also clean up the code slightly. |
| 3499 | 3800 | ||
| 3500 | * progmodes/grep.el (rgrep): Don't bind `process-connection-type', | 3801 | * progmodes/grep.el (rgrep): Don't bind `process-connection-type', |
| 3501 | because that makes the colours go away. | 3802 | because that makes the colors go away. |
| 3502 | 3803 | ||
| 3503 | * mail/sendmail.el (send-mail-function): Change the default to | 3804 | * mail/sendmail.el (send-mail-function): Change the default to |
| 3504 | `sendmail-query-once'. | 3805 | `sendmail-query-once'. |
| @@ -3871,7 +4172,7 @@ | |||
| 3871 | for list)" (bug#6475). | 4172 | for list)" (bug#6475). |
| 3872 | 4173 | ||
| 3873 | * files.el (file-expand-wildcards): Ignore non-readable | 4174 | * files.el (file-expand-wildcards): Ignore non-readable |
| 3874 | sub-directories while trying to find matches instead of signalling | 4175 | sub-directories while trying to find matches instead of signaling |
| 3875 | an error (bug#6297). | 4176 | an error (bug#6297). |
| 3876 | 4177 | ||
| 3877 | * man.el (Man-reference-regexp): Allow matching possible | 4178 | * man.el (Man-reference-regexp): Allow matching possible |
| @@ -5544,7 +5845,7 @@ | |||
| 5544 | 5845 | ||
| 5545 | * image-mode.el (image-toggle-display-image): Ensure that the | 5846 | * image-mode.el (image-toggle-display-image): Ensure that the |
| 5546 | image spec passed to the animate timer is the same object as in | 5847 | image spec passed to the animate timer is the same object as in |
| 5547 | the the buffer's display property (Bug#6981). | 5848 | the buffer's display property (Bug#6981). |
| 5548 | (image-transform-properties): Doc fix. | 5849 | (image-transform-properties): Doc fix. |
| 5549 | 5850 | ||
| 5550 | * image.el (image-animate-max-time): Default to nil. | 5851 | * image.el (image-animate-max-time): Default to nil. |
| @@ -5626,7 +5927,7 @@ | |||
| 5626 | 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca> | 5927 | 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 5627 | 5928 | ||
| 5628 | * minibuffer.el (completion--capf-wrapper): Check applicability before | 5929 | * minibuffer.el (completion--capf-wrapper): Check applicability before |
| 5629 | retuning non-nil for non-exclusive completion data. | 5930 | returning non-nil for non-exclusive completion data. |
| 5630 | * progmodes/etags.el (tags-completion-at-point-function): | 5931 | * progmodes/etags.el (tags-completion-at-point-function): |
| 5631 | * info-look.el (info-lookup-completions-at-point): Mark as | 5932 | * info-look.el (info-lookup-completions-at-point): Mark as |
| 5632 | non-exclusive. | 5933 | non-exclusive. |
diff --git a/lisp/ChangeLog.1 b/lisp/ChangeLog.1 index f1c931589d1..aac6e998a88 100644 --- a/lisp/ChangeLog.1 +++ b/lisp/ChangeLog.1 | |||
| @@ -1947,7 +1947,7 @@ | |||
| 1947 | elements of command-history are expressions. | 1947 | elements of command-history are expressions. |
| 1948 | 1948 | ||
| 1949 | * simple.el (error): | 1949 | * simple.el (error): |
| 1950 | Just keep signalling if user tries to continue. | 1950 | Just keep signaling if user tries to continue. |
| 1951 | 1951 | ||
| 1952 | 1985-09-07 Richard M. Stallman (rms@mit-prep) | 1952 | 1985-09-07 Richard M. Stallman (rms@mit-prep) |
| 1953 | 1953 | ||
diff --git a/lisp/ChangeLog.10 b/lisp/ChangeLog.10 index 1c2f2b5b015..e40f419b32a 100644 --- a/lisp/ChangeLog.10 +++ b/lisp/ChangeLog.10 | |||
| @@ -1036,13 +1036,13 @@ | |||
| 1036 | 1036 | ||
| 1037 | 2003-06-29 Nick Roberts <nick@nick.uklinux.net> | 1037 | 2003-06-29 Nick Roberts <nick@nick.uklinux.net> |
| 1038 | 1038 | ||
| 1039 | * gdb-ui.el (gdb-display-number-end): Don't re-initialise local | 1039 | * gdb-ui.el (gdb-display-number-end): Don't re-initialize local |
| 1040 | variables to preserve array slices. | 1040 | variables to preserve array slices. |
| 1041 | (gdb-array-slice): Rename gdb-mouse-array-slice. | 1041 | (gdb-array-slice): Rename gdb-mouse-array-slice. |
| 1042 | (gdb-array-slice): Interactive function bound to "\r" for text | 1042 | (gdb-array-slice): Interactive function bound to "\r" for text |
| 1043 | terminals. | 1043 | terminals. |
| 1044 | (gdb-view-source): Rename gdb-view-source-function. | 1044 | (gdb-view-source): Rename gdb-view-source-function. |
| 1045 | Set uninitialised variables (defvars) to nil. | 1045 | Set uninitialized variables (defvars) to nil. |
| 1046 | 1046 | ||
| 1047 | 2003-06-29 Kai Großjohann <kai.grossjohann@gmx.net> | 1047 | 2003-06-29 Kai Großjohann <kai.grossjohann@gmx.net> |
| 1048 | 1048 | ||
| @@ -2149,7 +2149,7 @@ | |||
| 2149 | 2149 | ||
| 2150 | 2003-05-25 Kevin Ryde <user42@zip.com.au> | 2150 | 2003-05-25 Kevin Ryde <user42@zip.com.au> |
| 2151 | 2151 | ||
| 2152 | * info-look.el (autoconf-mode setups): Recognise AH_ and AU_ entries | 2152 | * info-look.el (autoconf-mode setups): Recognize AH_ and AU_ entries |
| 2153 | in "(autoconf)Autoconf Macro Index". Add "(autoconf)M4 Macro Index" | 2153 | in "(autoconf)Autoconf Macro Index". Add "(autoconf)M4 Macro Index" |
| 2154 | and "(autoconf)Autotest Macro Index". Remove duplicate copy of | 2154 | and "(autoconf)Autotest Macro Index". Remove duplicate copy of |
| 2155 | "(automake)Macro and Variable Index". Keep automake after all | 2155 | "(automake)Macro and Variable Index". Keep automake after all |
| @@ -2339,7 +2339,7 @@ | |||
| 2339 | skips encoded regions. Allow user to skip saving Fcc messages with | 2339 | skips encoded regions. Allow user to skip saving Fcc messages with |
| 2340 | large attachments. Fixed region skipping bug with multi-line | 2340 | large attachments. Fixed region skipping bug with multi-line |
| 2341 | comments - e.g. tex $ regions spanning multiple lines. | 2341 | comments - e.g. tex $ regions spanning multiple lines. |
| 2342 | Added support for postscript and uuencoded regions. | 2342 | Added support for PostScript and uuencoded regions. |
| 2343 | Redundant dictionary file names purged. | 2343 | Redundant dictionary file names purged. |
| 2344 | Dictionary definition field name changed from "Character Set" | 2344 | Dictionary definition field name changed from "Character Set" |
| 2345 | to "Coding System". Fixed bug in reloading dictionaries. | 2345 | to "Coding System". Fixed bug in reloading dictionaries. |
| @@ -2374,7 +2374,7 @@ | |||
| 2374 | (ispell-valid-dictionary-list): New function returning all valid | 2374 | (ispell-valid-dictionary-list): New function returning all valid |
| 2375 | dictionaries on machine. | 2375 | dictionaries on machine. |
| 2376 | (ispell-checking-message): Documentation string improved. | 2376 | (ispell-checking-message): Documentation string improved. |
| 2377 | (ispell-skip-region-alist): Add uuencoded and postscript region | 2377 | (ispell-skip-region-alist): Add uuencoded and PostScript region |
| 2378 | skipping. Improve http/e-mail/file regexp to not match `/.\w'. | 2378 | skipping. Improve http/e-mail/file regexp to not match `/.\w'. |
| 2379 | (ispell-html-skip-alists): New variable for html region support. | 2379 | (ispell-html-skip-alists): New variable for html region support. |
| 2380 | (ispell-send-string): Remove redundant xemacs check. | 2380 | (ispell-send-string): Remove redundant xemacs check. |
| @@ -2402,7 +2402,7 @@ | |||
| 2402 | html skipping pushed to alists. | 2402 | html skipping pushed to alists. |
| 2403 | (ispell-get-line): Add support for multi-line comment regions. | 2403 | (ispell-get-line): Add support for multi-line comment regions. |
| 2404 | (ispell): Check that variables to continue spelling are bound. | 2404 | (ispell): Check that variables to continue spelling are bound. |
| 2405 | (ispell-message-text-end): Postscript and uuencoded regions now | 2405 | (ispell-message-text-end): PostScript and uuencoded regions now |
| 2406 | supported as MIME regions, rather than as end-of-message region. | 2406 | supported as MIME regions, rather than as end-of-message region. |
| 2407 | (ispell-mime-multipartp): New function supporting MIME. | 2407 | (ispell-mime-multipartp): New function supporting MIME. |
| 2408 | (ispell-mime-skip-part): New function supporting MIME. | 2408 | (ispell-mime-skip-part): New function supporting MIME. |
| @@ -3318,7 +3318,7 @@ | |||
| 3318 | ada-prj.el are now defined in this package, which makes it easier to | 3318 | ada-prj.el are now defined in this package, which makes it easier to |
| 3319 | edit menus. | 3319 | edit menus. |
| 3320 | (ada-narrow-to-defun): Add support for `narrow-to-region'. | 3320 | (ada-narrow-to-defun): Add support for `narrow-to-region'. |
| 3321 | No longer explicitely load ada-xref.el and ada-prj.el. Use autoload | 3321 | No longer explicitly load ada-xref.el and ada-prj.el. Use autoload |
| 3322 | statements instead. | 3322 | statements instead. |
| 3323 | 3323 | ||
| 3324 | * progmodes/ada-xref.el (ada-gnatls-args): New variable. | 3324 | * progmodes/ada-xref.el (ada-gnatls-args): New variable. |
| @@ -3516,7 +3516,7 @@ | |||
| 3516 | 2003-04-23 Stefan Monnier <monnier@cs.yale.edu> | 3516 | 2003-04-23 Stefan Monnier <monnier@cs.yale.edu> |
| 3517 | 3517 | ||
| 3518 | * newcomment.el (comment-normalize-vars): Prompt the user for | 3518 | * newcomment.el (comment-normalize-vars): Prompt the user for |
| 3519 | the comment-start to use rather than signalling an error. Fix regexp. | 3519 | the comment-start to use rather than signaling an error. Fix regexp. |
| 3520 | (uncomment-region): Don't leave half-removed comment markers. | 3520 | (uncomment-region): Don't leave half-removed comment markers. |
| 3521 | 3521 | ||
| 3522 | 2003-04-23 Richard M. Stallman <rms@gnu.org> | 3522 | 2003-04-23 Richard M. Stallman <rms@gnu.org> |
| @@ -4332,7 +4332,7 @@ | |||
| 4332 | 4332 | ||
| 4333 | 2003-04-01 Stefan Monnier <monnier@cs.yale.edu> | 4333 | 2003-04-01 Stefan Monnier <monnier@cs.yale.edu> |
| 4334 | 4334 | ||
| 4335 | * progmodes/asm-mode.el (asm-mode-syntax-table): Setup entries | 4335 | * progmodes/asm-mode.el (asm-mode-syntax-table): Setup entries |
| 4336 | that do not depend on asm-comment-char. | 4336 | that do not depend on asm-comment-char. |
| 4337 | (asm-mode-map): Declare and init at the same time. | 4337 | (asm-mode-map): Declare and init at the same time. |
| 4338 | (asm-code-level-empty-comment-pattern) | 4338 | (asm-code-level-empty-comment-pattern) |
| @@ -9383,7 +9383,7 @@ | |||
| 9383 | 9383 | ||
| 9384 | 2002-10-06 Glenn Morris <gmorris@ast.cam.ac.uk> | 9384 | 2002-10-06 Glenn Morris <gmorris@ast.cam.ac.uk> |
| 9385 | 9385 | ||
| 9386 | * progmodes/fortran.el (fortran-beginning-do): Ignore labelled DO | 9386 | * progmodes/fortran.el (fortran-beginning-do): Ignore labeled DO |
| 9387 | loops. | 9387 | loops. |
| 9388 | 9388 | ||
| 9389 | 2002-10-05 Stefan Monnier <monnier@cs.yale.edu> | 9389 | 2002-10-05 Stefan Monnier <monnier@cs.yale.edu> |
| @@ -9632,7 +9632,7 @@ | |||
| 9632 | named ucs-translation-table-for-decode vacant. If FOR-ENCODE is | 9632 | named ucs-translation-table-for-decode vacant. If FOR-ENCODE is |
| 9633 | non-nil, make a proper char-table populates the translation table | 9633 | non-nil, make a proper char-table populates the translation table |
| 9634 | name utf-translation-table-for-encode. Call register-char-codings | 9634 | name utf-translation-table-for-encode. Call register-char-codings |
| 9635 | for all mule-utf-* to to reset their status to the original. | 9635 | for all mule-utf-* to reset their status to the original. |
| 9636 | (unify-8859-on-encoding-mode): Call ucs-unify-8859 and | 9636 | (unify-8859-on-encoding-mode): Call ucs-unify-8859 and |
| 9637 | ucs-fragment-8859 with fixed arguments. Set the version to 21.3. | 9637 | ucs-fragment-8859 with fixed arguments. Set the version to 21.3. |
| 9638 | (unify-8859-on-decoding-mode): Likewise. Remove dependency. | 9638 | (unify-8859-on-decoding-mode): Likewise. Remove dependency. |
| @@ -10545,7 +10545,7 @@ | |||
| 10545 | 10545 | ||
| 10546 | 2002-09-22 Kai Großjohann <grossjoh@ls6.informatik.uni-dortmund.de> | 10546 | 2002-09-22 Kai Großjohann <grossjoh@ls6.informatik.uni-dortmund.de> |
| 10547 | 10547 | ||
| 10548 | * dired.el (dired-insert-directory): Always add "--dired" to to | 10548 | * dired.el (dired-insert-directory): Always add "--dired" to |
| 10549 | SWITCHES for remote files. | 10549 | SWITCHES for remote files. |
| 10550 | * files.el (insert-directory): Comment saying that "--dired" | 10550 | * files.el (insert-directory): Comment saying that "--dired" |
| 10551 | might be in the SWITCHES. | 10551 | might be in the SWITCHES. |
| @@ -11617,7 +11617,7 @@ | |||
| 11617 | * emacs-lisp/bytecomp.el (byte-compile-warning-prefix): | 11617 | * emacs-lisp/bytecomp.el (byte-compile-warning-prefix): |
| 11618 | Decide here whether to print which form we're compiling. | 11618 | Decide here whether to print which form we're compiling. |
| 11619 | If we do that, still print file and line. Make file name | 11619 | If we do that, still print file and line. Make file name |
| 11620 | relative to default-directory. Print fewer newlines. | 11620 | relative to default-directory. Print fewer newlines. |
| 11621 | (byte-compile-log-file): Print something even if no file. | 11621 | (byte-compile-log-file): Print something even if no file. |
| 11622 | Print messages for entering and leaving directories, | 11622 | Print messages for entering and leaving directories, |
| 11623 | and set default-directory. | 11623 | and set default-directory. |
| @@ -11680,7 +11680,7 @@ | |||
| 11680 | 2002-08-27 Francesco Potortì <pot@gnu.org> | 11680 | 2002-08-27 Francesco Potortì <pot@gnu.org> |
| 11681 | 11681 | ||
| 11682 | * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response | 11682 | * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response |
| 11683 | given by vsFTPd when accessed with a kerberised FTP client. | 11683 | given by vsFTPd when accessed with a kerberized FTP client. |
| 11684 | 11684 | ||
| 11685 | 2002-08-27 Richard M. Stallman <rms@gnu.org> | 11685 | 2002-08-27 Richard M. Stallman <rms@gnu.org> |
| 11686 | 11686 | ||
| @@ -12899,7 +12899,7 @@ | |||
| 12899 | * timer.el (timer-inc-time): Doc fix. | 12899 | * timer.el (timer-inc-time): Doc fix. |
| 12900 | 12900 | ||
| 12901 | * replace.el (keep-lines, flush-lines): Interactively report | 12901 | * replace.el (keep-lines, flush-lines): Interactively report |
| 12902 | read-only error before reading regexp argument. | 12902 | read-only error before reading regexp argument. |
| 12903 | 12903 | ||
| 12904 | * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks. | 12904 | * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks. |
| 12905 | 12905 | ||
| @@ -14917,7 +14917,7 @@ | |||
| 14917 | 14917 | ||
| 14918 | 2002-05-14 Francesco Potortì <pot@gnu.org> | 14918 | 2002-05-14 Francesco Potortì <pot@gnu.org> |
| 14919 | 14919 | ||
| 14920 | * shell.el (shell-mode): Make second part of initialisation | 14920 | * shell.el (shell-mode): Make second part of initialization |
| 14921 | depend on whether comint-input-ring is empty, rather than depend | 14921 | depend on whether comint-input-ring is empty, rather than depend |
| 14922 | on it being nil. | 14922 | on it being nil. |
| 14923 | 14923 | ||
| @@ -21105,12 +21105,12 @@ | |||
| 21105 | so that the next undo after an error will not begin redoing. | 21105 | so that the next undo after an error will not begin redoing. |
| 21106 | 21106 | ||
| 21107 | * simple.el (shell-command): Doc fix. | 21107 | * simple.el (shell-command): Doc fix. |
| 21108 | (shell-command-on-region): If there is output an an error, | 21108 | (shell-command-on-region): If there is output and an error, |
| 21109 | add "...Shell command failed" to the output. | 21109 | add "...Shell command failed" to the output. |
| 21110 | 21110 | ||
| 21111 | 2001-12-13 David Ponce <david@dponce.com> | 21111 | 2001-12-13 David Ponce <david@dponce.com> |
| 21112 | 21112 | ||
| 21113 | * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed. | 21113 | * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed. |
| 21114 | (ruler-mode-left-fringe-cols): Function replaced by more efficient | 21114 | (ruler-mode-left-fringe-cols): Function replaced by more efficient |
| 21115 | implementation `ruler-mode-extra-left-cols'. | 21115 | implementation `ruler-mode-extra-left-cols'. |
| 21116 | (ruler-mode-ruler): Use above new function. Take into account | 21116 | (ruler-mode-ruler): Use above new function. Take into account |
| @@ -22669,7 +22669,7 @@ | |||
| 22669 | 22669 | ||
| 22670 | Suggested by Kalle Olavi Niemitalo <kon@iki.fi>: | 22670 | Suggested by Kalle Olavi Niemitalo <kon@iki.fi>: |
| 22671 | 22671 | ||
| 22672 | * vc-hooks.el (vc-error-occured): Backquotified. | 22672 | * vc-hooks.el (vc-error-occurred): Backquotified. |
| 22673 | (vc-file-prop-obarray): Use prime length for better efficiency. | 22673 | (vc-file-prop-obarray): Use prime length for better efficiency. |
| 22674 | 22674 | ||
| 22675 | * vc.el (vc-clear-context): Fill obarray with 0, not nil. | 22675 | * vc.el (vc-clear-context): Fill obarray with 0, not nil. |
| @@ -23550,4 +23550,3 @@ See ChangeLog.9 for earlier changes. | |||
| 23550 | 23550 | ||
| 23551 | You should have received a copy of the GNU General Public License | 23551 | You should have received a copy of the GNU General Public License |
| 23552 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 23552 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 23553 | |||
diff --git a/lisp/ChangeLog.11 b/lisp/ChangeLog.11 index 76bac50c4b8..08bd70926b4 100644 --- a/lisp/ChangeLog.11 +++ b/lisp/ChangeLog.11 | |||
| @@ -5283,7 +5283,7 @@ | |||
| 5283 | (disabled-command-function): Function renamed from | 5283 | (disabled-command-function): Function renamed from |
| 5284 | `disabled-command-hook'. Adapt code to name change of the variable. | 5284 | `disabled-command-hook'. Adapt code to name change of the variable. |
| 5285 | 5285 | ||
| 5286 | 2004-08-07 Satyaki Das <satyaki@theforce.stanford.edu> (tiny change) | 5286 | 2004-08-07 Satyaki Das <satyaki@theforce.stanford.edu> |
| 5287 | 5287 | ||
| 5288 | * simple.el (completion-root-regexp): New defvar. | 5288 | * simple.el (completion-root-regexp): New defvar. |
| 5289 | (completion-setup-function): Use it instead of a literal string. | 5289 | (completion-setup-function): Use it instead of a literal string. |
diff --git a/lisp/ChangeLog.12 b/lisp/ChangeLog.12 index 1e7ed845b49..7df356b52d8 100644 --- a/lisp/ChangeLog.12 +++ b/lisp/ChangeLog.12 | |||
| @@ -764,7 +764,7 @@ | |||
| 764 | Fix calls to get-buffer-window to find windows in other frames. | 764 | Fix calls to get-buffer-window to find windows in other frames. |
| 765 | Reported by David Hansen <david.hansen@gmx.net>. | 765 | Reported by David Hansen <david.hansen@gmx.net>. |
| 766 | 766 | ||
| 767 | 2007-03-27 Kevin Ryde <user42@zip.com.au> | 767 | 2007-03-27 Kevin Ryde <user42@zip.com.au> |
| 768 | 768 | ||
| 769 | * info.el (Info-display-images-node): On a text-only terminal, | 769 | * info.el (Info-display-images-node): On a text-only terminal, |
| 770 | show the "text" or "alt" parts of the image blobs. | 770 | show the "text" or "alt" parts of the image blobs. |
| @@ -938,7 +938,7 @@ | |||
| 938 | 2007-03-20 David Kastrup <dak@gnu.org> | 938 | 2007-03-20 David Kastrup <dak@gnu.org> |
| 939 | 939 | ||
| 940 | * files.el (magic-mode-alist): Require literal "%!PS" string for | 940 | * files.el (magic-mode-alist): Require literal "%!PS" string for |
| 941 | magic postscript file detection. | 941 | magic PostScript file detection. |
| 942 | 942 | ||
| 943 | 2007-03-20 Richard Stallman <rms@gnu.org> | 943 | 2007-03-20 Richard Stallman <rms@gnu.org> |
| 944 | 944 | ||
| @@ -2823,7 +2823,7 @@ | |||
| 2823 | 2007-01-01 Alan Mackenzie <acm@muc.de> | 2823 | 2007-01-01 Alan Mackenzie <acm@muc.de> |
| 2824 | 2824 | ||
| 2825 | * progmodes/cc-engine.el (c-guess-basic-syntax, case 5N): | 2825 | * progmodes/cc-engine.el (c-guess-basic-syntax, case 5N): |
| 2826 | Check the format of c-state-cache is valid for an optimisation before | 2826 | Check the format of c-state-cache is valid for an optimization before |
| 2827 | using it. | 2827 | using it. |
| 2828 | 2828 | ||
| 2829 | * progmodes/cc-engine.el (c-guess-basic-syntax): New case 5Q "we | 2829 | * progmodes/cc-engine.el (c-guess-basic-syntax): New case 5Q "we |
| @@ -2840,11 +2840,11 @@ | |||
| 2840 | * progmodes/cc-cmds.el (c-context-line-break): Don't indent the | 2840 | * progmodes/cc-cmds.el (c-context-line-break): Don't indent the |
| 2841 | new line after an escaped EOL in a string. | 2841 | new line after an escaped EOL in a string. |
| 2842 | 2842 | ||
| 2843 | * progmodes/cc-engine.el (c-forward-label): Recognise "foo:" as a | 2843 | * progmodes/cc-engine.el (c-forward-label): Recognize "foo:" as a |
| 2844 | label when it directly follows "else", "do", .... | 2844 | label when it directly follows "else", "do", .... |
| 2845 | 2845 | ||
| 2846 | * progmodes/cc-engine.el (c-backward-<>-arglist): Tolerate empty | 2846 | * progmodes/cc-engine.el (c-backward-<>-arglist): Tolerate empty |
| 2847 | angle brackets (as seen in "explicit specialisations" of C++ | 2847 | angle brackets (as seen in "explicit specializations" of C++ |
| 2848 | templates). | 2848 | templates). |
| 2849 | 2849 | ||
| 2850 | * progmodes/cc-vars.el (c-indentation-style): Mention c-file-style | 2850 | * progmodes/cc-vars.el (c-indentation-style): Mention c-file-style |
| @@ -2871,7 +2871,7 @@ | |||
| 2871 | * progmodes/cc-cmds.el (c-electric-slash): Extend the handling of | 2871 | * progmodes/cc-cmds.el (c-electric-slash): Extend the handling of |
| 2872 | clean-up comment-close-slash also to work when there's a comment | 2872 | clean-up comment-close-slash also to work when there's a comment |
| 2873 | terminator on the line. | 2873 | terminator on the line. |
| 2874 | (c-beginning-of-defun, c-end-of-defun): Refactor and optimise | 2874 | (c-beginning-of-defun, c-end-of-defun): Refactor and optimize |
| 2875 | these for large arg - only take account of top level {..}, except | 2875 | these for large arg - only take account of top level {..}, except |
| 2876 | for initial and final adjustments. M-- C-M-[ae] now go to the | 2876 | for initial and final adjustments. M-- C-M-[ae] now go to the |
| 2877 | right defuns when the starting point is between defuns. They use | 2877 | right defuns when the starting point is between defuns. They use |
| @@ -3257,7 +3257,7 @@ | |||
| 3257 | 3257 | ||
| 3258 | 2006-12-17 Alan Mackenzie <acm@muc.de> | 3258 | 2006-12-17 Alan Mackenzie <acm@muc.de> |
| 3259 | 3259 | ||
| 3260 | * emacs-lisp/lisp.el (beginning-of-defun-raw): Optimise (for | 3260 | * emacs-lisp/lisp.el (beginning-of-defun-raw): Optimize (for |
| 3261 | speed) the case when open-paren-in-column-0-is-defun-start is nil. | 3261 | speed) the case when open-paren-in-column-0-is-defun-start is nil. |
| 3262 | Based on code by Martin Rudalics. | 3262 | Based on code by Martin Rudalics. |
| 3263 | 3263 | ||
| @@ -4124,7 +4124,7 @@ | |||
| 4124 | 2006-11-15 Simon Marshall <simon@gnu.org> | 4124 | 2006-11-15 Simon Marshall <simon@gnu.org> |
| 4125 | 4125 | ||
| 4126 | * progmodes/cc-fonts.el (c-font-lock-declarators): Use c-at-toplevel-p | 4126 | * progmodes/cc-fonts.el (c-font-lock-declarators): Use c-at-toplevel-p |
| 4127 | to recognise "T t()" as a function declaration, rather than a | 4127 | to recognize "T t()" as a function declaration, rather than a |
| 4128 | variable instantiation, iff at the top-level or inside a class | 4128 | variable instantiation, iff at the top-level or inside a class |
| 4129 | declaration. Suggested by Feng Li <fengli@gmail.com>. | 4129 | declaration. Suggested by Feng Li <fengli@gmail.com>. |
| 4130 | 4130 | ||
| @@ -7561,7 +7561,7 @@ | |||
| 7561 | * pcvs-util.el (cvs-get-buffer-create): Obey `noreuse' even if `name' | 7561 | * pcvs-util.el (cvs-get-buffer-create): Obey `noreuse' even if `name' |
| 7562 | doesn't look like a file name. | 7562 | doesn't look like a file name. |
| 7563 | 7563 | ||
| 7564 | * complete.el (PC-expand-many-files): Avoid signalling an error when | 7564 | * complete.el (PC-expand-many-files): Avoid signaling an error when |
| 7565 | the current directory doesn't exist. Reported by Michaël Cadilhac. | 7565 | the current directory doesn't exist. Reported by Michaël Cadilhac. |
| 7566 | 7566 | ||
| 7567 | 2006-08-02 Andreas Schwab <schwab@suse.de> | 7567 | 2006-08-02 Andreas Schwab <schwab@suse.de> |
| @@ -8722,7 +8722,7 @@ | |||
| 8722 | 8722 | ||
| 8723 | * progmodes/gdb-ui.el (gdb-same-frame): New option. | 8723 | * progmodes/gdb-ui.el (gdb-same-frame): New option. |
| 8724 | (gud-old-arrow, gdb-frame-begin, gdb-printing): New variables. | 8724 | (gud-old-arrow, gdb-frame-begin, gdb-printing): New variables. |
| 8725 | (gdb-init-1): Initialise them. | 8725 | (gdb-init-1): Initialize them. |
| 8726 | (gdb-starting): Reset gdb-printing. | 8726 | (gdb-starting): Reset gdb-printing. |
| 8727 | (gdb-starting): Save value of gud-overlay-arrow-position. | 8727 | (gdb-starting): Save value of gud-overlay-arrow-position. |
| 8728 | (gdb-frame-begin): Set gdb-frame-begin, gdb-printing. | 8728 | (gdb-frame-begin): Set gdb-frame-begin, gdb-printing. |
| @@ -8855,7 +8855,7 @@ | |||
| 8855 | (org-get-indentation): New optional argument LINE. | 8855 | (org-get-indentation): New optional argument LINE. |
| 8856 | (org-fix-indentation, org-remove-tabs): New functions. | 8856 | (org-fix-indentation, org-remove-tabs): New functions. |
| 8857 | (org-export-as-ascii, org-ascii-level-start): Determine and apply | 8857 | (org-export-as-ascii, org-ascii-level-start): Determine and apply |
| 8858 | correct indentation for headlines that are converted it items. | 8858 | correct indentation for headlines that are converted to items. |
| 8859 | (org-skip-comments): Remove table lines that contain narrowing | 8859 | (org-skip-comments): Remove table lines that contain narrowing |
| 8860 | cookies but no other non-empty fields. | 8860 | cookies but no other non-empty fields. |
| 8861 | (org-set-tags): Allow groups of mutually exclusive tags. | 8861 | (org-set-tags): Allow groups of mutually exclusive tags. |
| @@ -9419,7 +9419,7 @@ | |||
| 9419 | (org-insert-labeled-timestamps-at-point): New option. | 9419 | (org-insert-labeled-timestamps-at-point): New option. |
| 9420 | (org-cycle, org-occur, org-scan-tags): Use `org-overview' instead | 9420 | (org-cycle, org-occur, org-scan-tags): Use `org-overview' instead |
| 9421 | of `hide-sublevels 1', in case the first headline is not level 1. | 9421 | of `hide-sublevels 1', in case the first headline is not level 1. |
| 9422 | (org-overview, org-content): New fuction. | 9422 | (org-overview, org-content): New function. |
| 9423 | (org-cycle-global-status, org-cycle-subtree-status): Make these | 9423 | (org-cycle-global-status, org-cycle-subtree-status): Make these |
| 9424 | variables buffer-local. | 9424 | variables buffer-local. |
| 9425 | (org-global-cycle): New command. | 9425 | (org-global-cycle): New command. |
| @@ -10937,7 +10937,7 @@ | |||
| 10937 | 10937 | ||
| 10938 | 2006-04-10 Nick Roberts <nickrob@snap.net.nz> | 10938 | 2006-04-10 Nick Roberts <nickrob@snap.net.nz> |
| 10939 | 10939 | ||
| 10940 | * progmodes/gdb-ui.el (gdb-init-1): Re-initialise gdb-main-file to nil. | 10940 | * progmodes/gdb-ui.el (gdb-init-1): Re-initialize gdb-main-file to nil. |
| 10941 | (gdb-get-version): Make it work for pre "interpreter mi" (GDB 5.3?). | 10941 | (gdb-get-version): Make it work for pre "interpreter mi" (GDB 5.3?). |
| 10942 | (gdb-setup-windows): Put something in source window if we can't find | 10942 | (gdb-setup-windows): Put something in source window if we can't find |
| 10943 | the source file. | 10943 | the source file. |
| @@ -16153,7 +16153,7 @@ | |||
| 16153 | much cruft in cc-awk.el, cc-cmds.el and cc-engine.el to clear out. | 16153 | much cruft in cc-awk.el, cc-cmds.el and cc-engine.el to clear out. |
| 16154 | * progmodes/cc-cmds.el: | 16154 | * progmodes/cc-cmds.el: |
| 16155 | (c-ascertain-adjacent-literal): In the backwards direction, now | 16155 | (c-ascertain-adjacent-literal): In the backwards direction, now |
| 16156 | recognises AWK regexp delimiters as string delimiters. | 16156 | recognizes AWK regexp delimiters as string delimiters. |
| 16157 | (c-after-statement-terminator-p): Adapt for virtual semicolons; | 16157 | (c-after-statement-terminator-p): Adapt for virtual semicolons; |
| 16158 | check more rigorously for "end of macro". | 16158 | check more rigorously for "end of macro". |
| 16159 | (c-back-over-illiterals, c-forward-over-illiterals): Adapt for | 16159 | (c-back-over-illiterals, c-forward-over-illiterals): Adapt for |
| @@ -16280,7 +16280,7 @@ | |||
| 16280 | 16280 | ||
| 16281 | * progmodes/cc-cmds.el, cc-styles.el, cc-vars.el: New variables | 16281 | * progmodes/cc-cmds.el, cc-styles.el, cc-vars.el: New variables |
| 16282 | c-string-par-start/separate c-sentence-end-with-esc-eol, | 16282 | c-string-par-start/separate c-sentence-end-with-esc-eol, |
| 16283 | initialised in c-setup-paragraph-variables, used in string | 16283 | initialized in c-setup-paragraph-variables, used in string |
| 16284 | scanning subroutines of c-beginning-of-statement. | 16284 | scanning subroutines of c-beginning-of-statement. |
| 16285 | 16285 | ||
| 16286 | * progmodes/cc-cmds.el (c-electric-brace): Don't delete a comment | 16286 | * progmodes/cc-cmds.el (c-electric-brace): Don't delete a comment |
| @@ -16735,7 +16735,7 @@ | |||
| 16735 | * progmodes/cc-cmds.el (c-beginning-of-statement (and | 16735 | * progmodes/cc-cmds.el (c-beginning-of-statement (and |
| 16736 | subfunctions)): Adapt c-\(back\|forward\)-over-illiterals such | 16736 | subfunctions)): Adapt c-\(back\|forward\)-over-illiterals such |
| 16737 | that movement over macros and code are rigorously separated from | 16737 | that movement over macros and code are rigorously separated from |
| 16738 | eachother. Correct a few incidental bugs. | 16738 | each other. Correct a few incidental bugs. |
| 16739 | 16739 | ||
| 16740 | * progmodes/cc-cmds.el: Restructure c-beginning-of-statement: | 16740 | * progmodes/cc-cmds.el: Restructure c-beginning-of-statement: |
| 16741 | Improve its doc-string. Improve the handling of certain specific cases. | 16741 | Improve its doc-string. Improve the handling of certain specific cases. |
| @@ -16884,7 +16884,7 @@ | |||
| 16884 | * progmodes/cc-fonts.el (c-font-lock-complex-decl-prepare) | 16884 | * progmodes/cc-fonts.el (c-font-lock-complex-decl-prepare) |
| 16885 | (c-font-lock-declarators, c-font-lock-declarations) | 16885 | (c-font-lock-declarators, c-font-lock-declarations) |
| 16886 | (c-complex-decl-matchers, c-basic-matchers-after): Use a text | 16886 | (c-complex-decl-matchers, c-basic-matchers-after): Use a text |
| 16887 | property to mark the items in in declarator lists to handle | 16887 | property to mark the items in declarator lists to handle |
| 16888 | refontification inside multiline declarations better. | 16888 | refontification inside multiline declarations better. |
| 16889 | 16889 | ||
| 16890 | * progmodes/cc-fonts.el (c-font-lock-declarations): Recognize a | 16890 | * progmodes/cc-fonts.el (c-font-lock-declarations): Recognize a |
| @@ -22315,7 +22315,7 @@ | |||
| 22315 | * ibuf-ext.el (ibuffer-auto-update-changed): | 22315 | * ibuf-ext.el (ibuffer-auto-update-changed): |
| 22316 | Use `frame-or-buffer-changed-p' to check whether we need to update. | 22316 | Use `frame-or-buffer-changed-p' to check whether we need to update. |
| 22317 | (ibuffer-auto-mode): Don't advise `get-buffer-create' and | 22317 | (ibuffer-auto-mode): Don't advise `get-buffer-create' and |
| 22318 | `kill-buffer'. Initialise `ibuffer-auto-buffers-changed' | 22318 | `kill-buffer'. Initialize `ibuffer-auto-buffers-changed' |
| 22319 | as a `frame-or-buffer-changed-p' state vector instead. | 22319 | as a `frame-or-buffer-changed-p' state vector instead. |
| 22320 | 22320 | ||
| 22321 | 2005-08-27 Romain Francoise <romain@orebokech.com> | 22321 | 2005-08-27 Romain Francoise <romain@orebokech.com> |
| @@ -33362,4 +33362,3 @@ See ChangeLog.11 for earlier changes. | |||
| 33362 | 33362 | ||
| 33363 | You should have received a copy of the GNU General Public License | 33363 | You should have received a copy of the GNU General Public License |
| 33364 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 33364 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 33365 | |||
diff --git a/lisp/ChangeLog.13 b/lisp/ChangeLog.13 index 993c51163cb..0642a4d14ab 100644 --- a/lisp/ChangeLog.13 +++ b/lisp/ChangeLog.13 | |||
| @@ -16,7 +16,7 @@ | |||
| 16 | * international/fontset.el (script-representative-chars): Add cham | 16 | * international/fontset.el (script-representative-chars): Add cham |
| 17 | and tai-viet. | 17 | and tai-viet. |
| 18 | (setup-default-fontset): Add iso10646-1 font for latin and ipa. | 18 | (setup-default-fontset): Add iso10646-1 font for latin and ipa. |
| 19 | Add fontconfig spec for cjk-misc. Explicitly specify font font | 19 | Add fontconfig spec for cjk-misc. Explicitly specify font |
| 20 | for U+E000..U+F8FF. | 20 | for U+E000..U+F8FF. |
| 21 | 21 | ||
| 22 | * international/characters.el (script-list): Add cham. | 22 | * international/characters.el (script-list): Add cham. |
| @@ -36,7 +36,7 @@ | |||
| 36 | 2008-02-01 Vinicius Jose Latorre <viniciusjl@ig.com.br> | 36 | 2008-02-01 Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 37 | 37 | ||
| 38 | * ps-print.el: Some face attributes (like :strike-through) were not | 38 | * ps-print.el: Some face attributes (like :strike-through) were not |
| 39 | being recognised. Reported by Leo <sdl.web@gmail.com>. | 39 | being recognized. Reported by Leo <sdl.web@gmail.com>. |
| 40 | (ps-print-version): New version 7.3.2. | 40 | (ps-print-version): New version 7.3.2. |
| 41 | (ps-screen-to-bit-face): Fix code. Call ps-face-strikeout-p, | 41 | (ps-screen-to-bit-face): Fix code. Call ps-face-strikeout-p, |
| 42 | ps-face-overline-p and ps-face-box-p functions. | 42 | ps-face-overline-p and ps-face-box-p functions. |
| @@ -1673,7 +1673,7 @@ | |||
| 1673 | x-resolve-font-name. | 1673 | x-resolve-font-name. |
| 1674 | (x-complement-fontset-spec): Never prepend an ASCII font. | 1674 | (x-complement-fontset-spec): Never prepend an ASCII font. |
| 1675 | (create-fontset-from-fontset-spec): If a fontset of the same name | 1675 | (create-fontset-from-fontset-spec): If a fontset of the same name |
| 1676 | already exists, override it instead of signalling an error. Don't | 1676 | already exists, override it instead of signaling an error. Don't |
| 1677 | turn `ascii' into `latin'. Don't update fontset-alias-alist here. | 1677 | turn `ascii' into `latin'. Don't update fontset-alias-alist here. |
| 1678 | 1678 | ||
| 1679 | * international/mule-conf.el (unicode-bmp): Delete duplicated | 1679 | * international/mule-conf.el (unicode-bmp): Delete duplicated |
| @@ -4137,7 +4137,7 @@ | |||
| 4137 | 2008-01-14 Alan Mackenzie <acm@muc.de> | 4137 | 2008-01-14 Alan Mackenzie <acm@muc.de> |
| 4138 | 4138 | ||
| 4139 | * progmodes/cc-engine.el (c-guess-basic-syntax): Prevent a macro | 4139 | * progmodes/cc-engine.el (c-guess-basic-syntax): Prevent a macro |
| 4140 | call inside a struct being recognised as a K&R argument. | 4140 | call inside a struct being recognized as a K&R argument. |
| 4141 | 4141 | ||
| 4142 | 2008-01-14 Stefan Monnier <monnier@iro.umontreal.ca> | 4142 | 2008-01-14 Stefan Monnier <monnier@iro.umontreal.ca> |
| 4143 | 4143 | ||
| @@ -10127,7 +10127,7 @@ | |||
| 10127 | 2007-10-08 Richard Stallman <rms@gnu.org> | 10127 | 2007-10-08 Richard Stallman <rms@gnu.org> |
| 10128 | 10128 | ||
| 10129 | * wid-edit.el (widget-specify-button): Don't merge mouse-face with | 10129 | * wid-edit.el (widget-specify-button): Don't merge mouse-face with |
| 10130 | neighbouring buttons. | 10130 | neighboring buttons. |
| 10131 | 10131 | ||
| 10132 | 2007-10-08 Andreas Schwab <schwab@suse.de> | 10132 | 2007-10-08 Andreas Schwab <schwab@suse.de> |
| 10133 | 10133 | ||
| @@ -10151,7 +10151,7 @@ | |||
| 10151 | 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca> | 10151 | 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca> |
| 10152 | 10152 | ||
| 10153 | * wid-edit.el (widget-image-insert): Don't merge mouse-face with | 10153 | * wid-edit.el (widget-image-insert): Don't merge mouse-face with |
| 10154 | neighbouring buttons. | 10154 | neighboring buttons. |
| 10155 | 10155 | ||
| 10156 | * progmodes/compile.el (compilation-error-regexp-alist-alist): | 10156 | * progmodes/compile.el (compilation-error-regexp-alist-alist): |
| 10157 | Recognize gcc's use of "note" for informational messages. | 10157 | Recognize gcc's use of "note" for informational messages. |
| @@ -11855,7 +11855,7 @@ | |||
| 11855 | (org-agenda-files): Ignore non-existing files. | 11855 | (org-agenda-files): Ignore non-existing files. |
| 11856 | (org-agenda-skip-unavailable-files): New variable. | 11856 | (org-agenda-skip-unavailable-files): New variable. |
| 11857 | (org-ellipsis): All a face as value. | 11857 | (org-ellipsis): All a face as value. |
| 11858 | (org-mode): Interprete the face value of `org-ellipsis'. | 11858 | (org-mode): Interpret the face value of `org-ellipsis'. |
| 11859 | (org-archive-save-context-info): New option. | 11859 | (org-archive-save-context-info): New option. |
| 11860 | (org-archive-subtree): Store context info in archived entry. | 11860 | (org-archive-subtree): Store context info in archived entry. |
| 11861 | (org-fast-tag-selection-can-set-todo-state): New variable. | 11861 | (org-fast-tag-selection-can-set-todo-state): New variable. |
| @@ -11890,7 +11890,7 @@ | |||
| 11890 | (org-set-regexps-and-options): Use `org-remove-keyword-keys'. | 11890 | (org-set-regexps-and-options): Use `org-remove-keyword-keys'. |
| 11891 | (org-remove-keyword-keys): New function. | 11891 | (org-remove-keyword-keys): New function. |
| 11892 | 11892 | ||
| 11893 | 2007-08-30 Jari Aalto <jari.aalto@cante.net> (tiny change) | 11893 | 2007-08-30 Jari Aalto <jari.aalto@cante.net> |
| 11894 | 11894 | ||
| 11895 | * progmodes/grep.el (grep-find-ignored-directories): | 11895 | * progmodes/grep.el (grep-find-ignored-directories): |
| 11896 | Add monotone _MTN bookkeeping directory in workspaces. | 11896 | Add monotone _MTN bookkeeping directory in workspaces. |
| @@ -12544,7 +12544,7 @@ | |||
| 12544 | a weird set-buffer&prog1 combination. | 12544 | a weird set-buffer&prog1 combination. |
| 12545 | 12545 | ||
| 12546 | * emacs-lisp/byte-opt.el (byte-optimize-if): Move `progn' out of the | 12546 | * emacs-lisp/byte-opt.el (byte-optimize-if): Move `progn' out of the |
| 12547 | test so as to optimise cases where the `progn's result is constant. | 12547 | test so as to optimize cases where the `progn's result is constant. |
| 12548 | 12548 | ||
| 12549 | 2007-08-23 Thien-Thi Nguyen <ttn@gnuvola.org> | 12549 | 2007-08-23 Thien-Thi Nguyen <ttn@gnuvola.org> |
| 12550 | 12550 | ||
| @@ -13845,7 +13845,7 @@ | |||
| 13845 | 2007-07-24 Alan Mackenzie <acm@muc.de> | 13845 | 2007-07-24 Alan Mackenzie <acm@muc.de> |
| 13846 | 13846 | ||
| 13847 | * emacs-lisp/bytecomp.el (byte-compile-from-buffer): | 13847 | * emacs-lisp/bytecomp.el (byte-compile-from-buffer): |
| 13848 | Initialise byte-compile-unresolved-functions before rather than | 13848 | Initialize byte-compile-unresolved-functions before rather than |
| 13849 | after a compilation. | 13849 | after a compilation. |
| 13850 | (byte-compile-unresolved-functions): Amplify doc string. | 13850 | (byte-compile-unresolved-functions): Amplify doc string. |
| 13851 | 13851 | ||
| @@ -15917,7 +15917,7 @@ | |||
| 15917 | * help-mode.el (help-xref-forward-stack) | 15917 | * help-mode.el (help-xref-forward-stack) |
| 15918 | (help-xref-stack-forward-item, help-forward-label): New variables. | 15918 | (help-xref-stack-forward-item, help-forward-label): New variables. |
| 15919 | (help-forward): New button type. | 15919 | (help-forward): New button type. |
| 15920 | (help-setup-xref): Initialise help-xref-forward-stack. | 15920 | (help-setup-xref): Initialize help-xref-forward-stack. |
| 15921 | (help-make-xrefs): Add forward button, if appropriate. | 15921 | (help-make-xrefs): Add forward button, if appropriate. |
| 15922 | (help-xref-go-back): Push item on forward stack. | 15922 | (help-xref-go-back): Push item on forward stack. |
| 15923 | (help-xref-go-forward, help-go-forward): New functions. | 15923 | (help-xref-go-forward, help-go-forward): New functions. |
| @@ -16414,7 +16414,7 @@ | |||
| 16414 | 2007-05-16 Stefan Monnier <monnier@iro.umontreal.ca> | 16414 | 2007-05-16 Stefan Monnier <monnier@iro.umontreal.ca> |
| 16415 | 16415 | ||
| 16416 | * files.el (magic-mode-alist, magic-fallback-mode-alist): | 16416 | * files.el (magic-mode-alist, magic-fallback-mode-alist): |
| 16417 | Move the *ml, Postscript, and XmCD entries to the fallback part. | 16417 | Move the *ml, PostScript, and XmCD entries to the fallback part. |
| 16418 | 16418 | ||
| 16419 | * files.el (magic-fallback-mode-alist): | 16419 | * files.el (magic-fallback-mode-alist): |
| 16420 | Rename from file-start-mode-alist. | 16420 | Rename from file-start-mode-alist. |
diff --git a/lisp/ChangeLog.14 b/lisp/ChangeLog.14 index c30f0e749ce..ce2253bcfe6 100644 --- a/lisp/ChangeLog.14 +++ b/lisp/ChangeLog.14 | |||
| @@ -2885,11 +2885,11 @@ | |||
| 2885 | 2009-01-25 Craig Markwardt <cbmarkwardt@gmail.com> | 2885 | 2009-01-25 Craig Markwardt <cbmarkwardt@gmail.com> |
| 2886 | 2886 | ||
| 2887 | * calendar/icalendar.el (icalendar-uid-format): New defcustom | 2887 | * calendar/icalendar.el (icalendar-uid-format): New defcustom |
| 2888 | variable to allow the user to choose icalendar UID format. | 2888 | variable to allow the user to choose iCalendar UID format. |
| 2889 | (icalendar--diarytime-to-isotime): Bug fix, now times in the range | 2889 | (icalendar--diarytime-to-isotime): Bug fix, now times in the range |
| 2890 | 12:00am-12:59am are correctly converted to 0000-0059, instead of 12pm. | 2890 | 12:00am-12:59am are correctly converted to 0000-0059, instead of 12pm. |
| 2891 | (icalendar-export-region, icalendar--create-uid): Use custom | 2891 | (icalendar-export-region, icalendar--create-uid): Use custom |
| 2892 | function to compute icalendar UID for each entry. | 2892 | function to compute iCalendar UID for each entry. |
| 2893 | (icalendar--parse-summary-and-rest): Bug fix for parsing of lines | 2893 | (icalendar--parse-summary-and-rest): Bug fix for parsing of lines |
| 2894 | with description, location, etc. fields (need to keep active count | 2894 | with description, location, etc. fields (need to keep active count |
| 2895 | of fields encountered). Another bug fix to the regex that matches | 2895 | of fields encountered). Another bug fix to the regex that matches |
| @@ -6724,7 +6724,7 @@ | |||
| 6724 | (rx-check-any): Return result as a list. Don't convert chars to | 6724 | (rx-check-any): Return result as a list. Don't convert chars to |
| 6725 | strings. Don't prepend "\\" to "^". Don't search for close bracket. | 6725 | strings. Don't prepend "\\" to "^". Don't search for close bracket. |
| 6726 | Check char category string. Call rx-form instead of rx-to-string. | 6726 | Check char category string. Call rx-form instead of rx-to-string. |
| 6727 | (rx-any): Rebuid to complete the function. | 6727 | (rx-any): Rebuild to complete the function. |
| 6728 | (rx-check-not): Fix char category regexp pattern string. | 6728 | (rx-check-not): Fix char category regexp pattern string. |
| 6729 | Call rx-form instead of rx-to-string. | 6729 | Call rx-form instead of rx-to-string. |
| 6730 | (rx-not): Call rx-form instead of rx-to-string. Convert "[^]" to | 6730 | (rx-not): Call rx-form instead of rx-to-string. Convert "[^]" to |
| @@ -7913,7 +7913,7 @@ | |||
| 7913 | ignored while matching, replace the entire filename with completion. | 7913 | ignored while matching, replace the entire filename with completion. |
| 7914 | 7914 | ||
| 7915 | * textmodes/flyspell.el (flyspell-check-pre-word-p): Make sure | 7915 | * textmodes/flyspell.el (flyspell-check-pre-word-p): Make sure |
| 7916 | flyspell-pre-point is valid to avoid signalling an error in | 7916 | flyspell-pre-point is valid to avoid signaling an error in |
| 7917 | post-command-hook. | 7917 | post-command-hook. |
| 7918 | 7918 | ||
| 7919 | 2008-08-26 Johan Bockgård <bojohan@gnu.org> | 7919 | 2008-08-26 Johan Bockgård <bojohan@gnu.org> |
| @@ -13629,7 +13629,7 @@ | |||
| 13629 | (completion-emacs22-try-completion): Place cursor after the /, as was | 13629 | (completion-emacs22-try-completion): Place cursor after the /, as was |
| 13630 | done in Emacs-22's minibuffer-complete-word. | 13630 | done in Emacs-22's minibuffer-complete-word. |
| 13631 | Fix bug reported by David Hansen <david.hansen@gmx.net>. | 13631 | Fix bug reported by David Hansen <david.hansen@gmx.net>. |
| 13632 | (completion-emacs22-try-completion): Merge all mergeable text rather | 13632 | (completion-emacs22-try-completion): Merge all mergable text rather |
| 13633 | than just /. | 13633 | than just /. |
| 13634 | (completion-pcm--delim-wild-regex): New var. | 13634 | (completion-pcm--delim-wild-regex): New var. |
| 13635 | (completion-pcm-word-delimiters): New custom. | 13635 | (completion-pcm-word-delimiters): New custom. |
| @@ -14189,7 +14189,7 @@ | |||
| 14189 | 2008-04-19 Nick Roberts <nickrob@snap.net.nz> | 14189 | 2008-04-19 Nick Roberts <nickrob@snap.net.nz> |
| 14190 | 14190 | ||
| 14191 | * progmodes/gdb-ui.el (gdb-thread-indicator): New variable. | 14191 | * progmodes/gdb-ui.el (gdb-thread-indicator): New variable. |
| 14192 | (gdb-init-1): Initialise it. | 14192 | (gdb-init-1): Initialize it. |
| 14193 | (gdb-annotation-rules): New entry for "new-thread". | 14193 | (gdb-annotation-rules): New entry for "new-thread". |
| 14194 | (gdb-thread-identification): New function to customize | 14194 | (gdb-thread-identification): New function to customize |
| 14195 | mode-line-buffer-identification. | 14195 | mode-line-buffer-identification. |
| @@ -15994,11 +15994,11 @@ | |||
| 15994 | 2008-04-02 Alan Mackenzie <acm@muc.de> | 15994 | 2008-04-02 Alan Mackenzie <acm@muc.de> |
| 15995 | 15995 | ||
| 15996 | * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name): | 15996 | * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name): |
| 15997 | New optimised functions to get the name of the current defun/macro. | 15997 | New optimized functions to get the name of the current defun/macro. |
| 15998 | 15998 | ||
| 15999 | * add-log.el (add-log-current-defun): Move the functionality which | 15999 | * add-log.el (add-log-current-defun): Move the functionality which |
| 16000 | gets the current function name for C like modes to cc-cmds.el, | 16000 | gets the current function name for C like modes to cc-cmds.el, |
| 16001 | thus optimising for speed. | 16001 | thus optimizing for speed. |
| 16002 | 16002 | ||
| 16003 | 2008-04-02 Chong Yidong <cyd@stupidchicken.com> | 16003 | 2008-04-02 Chong Yidong <cyd@stupidchicken.com> |
| 16004 | 16004 | ||
| @@ -17799,7 +17799,7 @@ | |||
| 17799 | (org-local-logging): New function. | 17799 | (org-local-logging): New function. |
| 17800 | (org-columns-open-link): Fix bug with opening link in column view. | 17800 | (org-columns-open-link): Fix bug with opening link in column view. |
| 17801 | (org-local-logging): New function. | 17801 | (org-local-logging): New function. |
| 17802 | (org-todo): Make sure that LOGGING properties are honoured. | 17802 | (org-todo): Make sure that LOGGING properties are honored. |
| 17803 | (org-todo-keywords): Improve docstring. | 17803 | (org-todo-keywords): Improve docstring. |
| 17804 | (org-startup-options): Cleanup startup options. | 17804 | (org-startup-options): Cleanup startup options. |
| 17805 | (org-set-regexps-and-options): Process the "!" markers. | 17805 | (org-set-regexps-and-options): Process the "!" markers. |
| @@ -19392,7 +19392,7 @@ | |||
| 19392 | * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use | 19392 | * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use |
| 19393 | syntax-table text properties. | 19393 | syntax-table text properties. |
| 19394 | (c-common-init): Call language specific before/after-change | 19394 | (c-common-init): Call language specific before/after-change |
| 19395 | functions at mode initialisation. | 19395 | functions at mode initialization. |
| 19396 | (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables. | 19396 | (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables. |
| 19397 | (c-extend-region-for-CPP, c-neutralize-CPP-line) | 19397 | (c-extend-region-for-CPP, c-neutralize-CPP-line) |
| 19398 | (c-neutralize-syntax-in-CPP): New functions. | 19398 | (c-neutralize-syntax-in-CPP): New functions. |
| @@ -20567,4 +20567,3 @@ See ChangeLog.13 for earlier changes. | |||
| 20567 | 20567 | ||
| 20568 | You should have received a copy of the GNU General Public License | 20568 | You should have received a copy of the GNU General Public License |
| 20569 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 20569 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 20570 | |||
diff --git a/lisp/ChangeLog.15 b/lisp/ChangeLog.15 index ed70075754c..dfd9b94b53e 100644 --- a/lisp/ChangeLog.15 +++ b/lisp/ChangeLog.15 | |||
| @@ -2790,13 +2790,13 @@ | |||
| 2790 | * net/tramp-gw.el: | 2790 | * net/tramp-gw.el: |
| 2791 | * net/tramp-imap.el: | 2791 | * net/tramp-imap.el: |
| 2792 | * net/tramp-sh.el: | 2792 | * net/tramp-sh.el: |
| 2793 | * net/tramp-smb.el: Add tramp-autoload cookie for initialisation | 2793 | * net/tramp-smb.el: Add tramp-autoload cookie for initialization |
| 2794 | code of `tramp-default-method-alist' and `tramp-default-user-alist'. | 2794 | code of `tramp-default-method-alist' and `tramp-default-user-alist'. |
| 2795 | 2795 | ||
| 2796 | 2010-12-29 Karl Fogel <kfogel@red-bean.com> | 2796 | 2010-12-29 Karl Fogel <kfogel@red-bean.com> |
| 2797 | 2797 | ||
| 2798 | * saveplace.el (save-place-alist-to-file): Save list sorted and | 2798 | * saveplace.el (save-place-alist-to-file): Save list sorted and |
| 2799 | pretty-printed, so that it is mergeable by line-based text merging, | 2799 | pretty-printed, so that it is mergable by line-based text merging, |
| 2800 | as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>. | 2800 | as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>. |
| 2801 | 2801 | ||
| 2802 | 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com> | 2802 | 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com> |
| @@ -3058,7 +3058,7 @@ | |||
| 3058 | * net/tramp-sh.el (tramp-sh-handle-start-file-process): | 3058 | * net/tramp-sh.el (tramp-sh-handle-start-file-process): |
| 3059 | Protect buffer-modified value. (Bug#7557) | 3059 | Protect buffer-modified value. (Bug#7557) |
| 3060 | 3060 | ||
| 3061 | 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de> | 3061 | 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de> |
| 3062 | 3062 | ||
| 3063 | * log-edit.el (log-edit-changelog-entries): | 3063 | * log-edit.el (log-edit-changelog-entries): |
| 3064 | Regexp quote filename. (Bug#7505) | 3064 | Regexp quote filename. (Bug#7505) |
| @@ -5376,7 +5376,7 @@ | |||
| 5376 | 5376 | ||
| 5377 | 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org> | 5377 | 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 5378 | 5378 | ||
| 5379 | * newcomment.el (comment-dwim): Fix the intentation in the doc string. | 5379 | * newcomment.el (comment-dwim): Fix the indentation in the doc string. |
| 5380 | 5380 | ||
| 5381 | 2010-10-21 Michael Albinus <michael.albinus@gmx.de> | 5381 | 2010-10-21 Michael Albinus <michael.albinus@gmx.de> |
| 5382 | 5382 | ||
| @@ -5815,7 +5815,7 @@ | |||
| 5815 | querying the password for. | 5815 | querying the password for. |
| 5816 | 5816 | ||
| 5817 | * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers | 5817 | * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers |
| 5818 | behaviour, don't bury the ibuffer buffer when visiting other buffers. | 5818 | behavior, don't bury the ibuffer buffer when visiting other buffers. |
| 5819 | 5819 | ||
| 5820 | 2010-10-08 Chong Yidong <cyd@stupidchicken.com> | 5820 | 2010-10-08 Chong Yidong <cyd@stupidchicken.com> |
| 5821 | 5821 | ||
| @@ -7632,7 +7632,7 @@ | |||
| 7632 | (post-self-insert-hook): Use it. | 7632 | (post-self-insert-hook): Use it. |
| 7633 | 7633 | ||
| 7634 | * emacs-lisp/pcase.el (pcase-split-memq): | 7634 | * emacs-lisp/pcase.el (pcase-split-memq): |
| 7635 | Fix overenthusiastic optimisation. | 7635 | Fix overenthusiastic optimization. |
| 7636 | (pcase-u1): Handle the case of a lambda pred. | 7636 | (pcase-u1): Handle the case of a lambda pred. |
| 7637 | 7637 | ||
| 7638 | 2010-08-31 Kenichi Handa <handa@m17n.org> | 7638 | 2010-08-31 Kenichi Handa <handa@m17n.org> |
| @@ -9381,7 +9381,7 @@ | |||
| 9381 | 9381 | ||
| 9382 | Fix an indentation bug: | 9382 | Fix an indentation bug: |
| 9383 | 9383 | ||
| 9384 | * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END. | 9384 | * progmodes/cc-mode.el (c-common-init): Initialize c-new-BEG/END. |
| 9385 | (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account | 9385 | (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account |
| 9386 | of existing values. | 9386 | of existing values. |
| 9387 | 9387 | ||
| @@ -11215,7 +11215,7 @@ | |||
| 11215 | * bindings.el (complete-symbol): Move into minibuffer.el. | 11215 | * bindings.el (complete-symbol): Move into minibuffer.el. |
| 11216 | 11216 | ||
| 11217 | * minibuffer.el (complete-tag): Move from etags.el. If tags | 11217 | * minibuffer.el (complete-tag): Move from etags.el. If tags |
| 11218 | completion cannot be performed, return nil instead of signalling | 11218 | completion cannot be performed, return nil instead of signaling |
| 11219 | an error. | 11219 | an error. |
| 11220 | (completion-at-point): Make it an alias for complete-symbol. | 11220 | (completion-at-point): Make it an alias for complete-symbol. |
| 11221 | (complete-symbol): Move from bindings.el, and replace with the | 11221 | (complete-symbol): Move from bindings.el, and replace with the |
| @@ -12221,7 +12221,7 @@ | |||
| 12221 | 12221 | ||
| 12222 | 2010-03-27 Nick Roberts <nickrob@snap.net.nz> | 12222 | 2010-03-27 Nick Roberts <nickrob@snap.net.nz> |
| 12223 | 12223 | ||
| 12224 | Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz. | 12224 | Restore GDB/MI functionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz. |
| 12225 | * progmodes/gdb-mi.el: Restore. | 12225 | * progmodes/gdb-mi.el: Restore. |
| 12226 | * progmodes/gdb-ui.el: Remove. | 12226 | * progmodes/gdb-ui.el: Remove. |
| 12227 | * progmodes/gud.el: Re-accommodate for gdb-mi.el. | 12227 | * progmodes/gud.el: Re-accommodate for gdb-mi.el. |
| @@ -12985,7 +12985,7 @@ | |||
| 12985 | file has no read permissions for the owner, there might be | 12985 | file has no read permissions for the owner, there might be |
| 12986 | problems otherwise. Reported by Ole Laursen <olau@iola.dk>. | 12986 | problems otherwise. Reported by Ole Laursen <olau@iola.dk>. |
| 12987 | 12987 | ||
| 12988 | 22010-02-18 Glenn Morris <rgm@gnu.org> | 12988 | 2010-02-18 Glenn Morris <rgm@gnu.org> |
| 12989 | 12989 | ||
| 12990 | * emacs-lisp/authors.el (authors-renamed-files-alist): | 12990 | * emacs-lisp/authors.el (authors-renamed-files-alist): |
| 12991 | Add entries for INSTALL.CVS. | 12991 | Add entries for INSTALL.CVS. |
| @@ -13311,7 +13311,7 @@ | |||
| 13311 | 13311 | ||
| 13312 | 2010-01-29 Chong Yidong <cyd@stupidchicken.com> | 13312 | 2010-01-29 Chong Yidong <cyd@stupidchicken.com> |
| 13313 | 13313 | ||
| 13314 | * dirtrack.el (dirtrack): Warn instead of signalling error if the | 13314 | * dirtrack.el (dirtrack): Warn instead of signaling error if the |
| 13315 | regexp is incorrect (Bug#5476). | 13315 | regexp is incorrect (Bug#5476). |
| 13316 | 13316 | ||
| 13317 | 2010-01-29 Michael Albinus <michael.albinus@gmx.de> | 13317 | 2010-01-29 Michael Albinus <michael.albinus@gmx.de> |
| @@ -13597,7 +13597,7 @@ | |||
| 13597 | * textmodes/artist.el (artist-compute-popup-menu-table): | 13597 | * textmodes/artist.el (artist-compute-popup-menu-table): |
| 13598 | Remove duplicated words in doc-strings. | 13598 | Remove duplicated words in doc-strings. |
| 13599 | 13599 | ||
| 13600 | 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change) | 13600 | 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change) |
| 13601 | 13601 | ||
| 13602 | * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil | 13602 | * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil |
| 13603 | to mairix-search to suppress threading (Bug#5342). | 13603 | to mairix-search to suppress threading (Bug#5342). |
| @@ -14596,7 +14596,7 @@ | |||
| 14596 | 2009-12-05 Kevin Ryde <user42@zip.com.au> | 14596 | 2009-12-05 Kevin Ryde <user42@zip.com.au> |
| 14597 | 14597 | ||
| 14598 | * textmodes/sgml-mode.el (sgml-lexical-context): | 14598 | * textmodes/sgml-mode.el (sgml-lexical-context): |
| 14599 | Recognise comment-start-skip to comment-end-skip as comment (Bug#4781). | 14599 | Recognize comment-start-skip to comment-end-skip as comment (Bug#4781). |
| 14600 | 14600 | ||
| 14601 | 2009-12-05 Juri Linkov <juri@jurta.org> | 14601 | 2009-12-05 Juri Linkov <juri@jurta.org> |
| 14602 | 14602 | ||
diff --git a/lisp/ChangeLog.2 b/lisp/ChangeLog.2 index 36046562653..5b0f2ac4270 100644 --- a/lisp/ChangeLog.2 +++ b/lisp/ChangeLog.2 | |||
| @@ -1960,7 +1960,7 @@ | |||
| 1960 | window for it. | 1960 | window for it. |
| 1961 | 1961 | ||
| 1962 | * terminal.el (te-filter): | 1962 | * terminal.el (te-filter): |
| 1963 | Save/restore point from te-saved-point to minimise the lossage | 1963 | Save/restore point from te-saved-point to minimize the lossage |
| 1964 | vandals can inflict. | 1964 | vandals can inflict. |
| 1965 | 1965 | ||
| 1966 | 1987-01-09 Richard M. Stallman (rms@prep) | 1966 | 1987-01-09 Richard M. Stallman (rms@prep) |
| @@ -2190,7 +2190,7 @@ | |||
| 2190 | 1986-12-15 Richard Mlynarik (mly@prep) | 2190 | 1986-12-15 Richard Mlynarik (mly@prep) |
| 2191 | 2191 | ||
| 2192 | * fortran.el: | 2192 | * fortran.el: |
| 2193 | Initialise fortran-mode-abbrev-table correctly. | 2193 | Initialize fortran-mode-abbrev-table correctly. |
| 2194 | 2194 | ||
| 2195 | * fortran.el: | 2195 | * fortran.el: |
| 2196 | fortran-comment-indent-char should be a character (a fixnum), not | 2196 | fortran-comment-indent-char should be a character (a fixnum), not |
| @@ -4008,4 +4008,3 @@ See ChangeLog.1 for earlier changes. | |||
| 4008 | 4008 | ||
| 4009 | You should have received a copy of the GNU General Public License | 4009 | You should have received a copy of the GNU General Public License |
| 4010 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 4010 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 4011 | |||
diff --git a/lisp/ChangeLog.4 b/lisp/ChangeLog.4 index f9407ce20d8..b2cdc634f84 100644 --- a/lisp/ChangeLog.4 +++ b/lisp/ChangeLog.4 | |||
| @@ -2462,7 +2462,7 @@ | |||
| 2462 | 1994-03-03 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) | 2462 | 1994-03-03 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) |
| 2463 | 2463 | ||
| 2464 | * cmuscheme.el (inferior-scheme-mode): Removed unnecessary | 2464 | * cmuscheme.el (inferior-scheme-mode): Removed unnecessary |
| 2465 | initialisation of comint-input-sentinel. | 2465 | initialization of comint-input-sentinel. |
| 2466 | 2466 | ||
| 2467 | * shell.el (shell-dynamic-complete-functions): New variable. | 2467 | * shell.el (shell-dynamic-complete-functions): New variable. |
| 2468 | (shell-mode): Use it to set comint-dynamic-complete-functions. | 2468 | (shell-mode): Use it to set comint-dynamic-complete-functions. |
| @@ -4958,7 +4958,7 @@ | |||
| 4958 | 1993-11-08 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) | 4958 | 1993-11-08 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) |
| 4959 | 4959 | ||
| 4960 | * comint.el (comint-preinput-scroll-to-bottom): Added | 4960 | * comint.el (comint-preinput-scroll-to-bottom): Added |
| 4961 | comint-magic-space to list of commands recognised as inserting. | 4961 | comint-magic-space to list of commands recognized as inserting. |
| 4962 | 4962 | ||
| 4963 | * comint.el (comint-output-filter): Corrected check for killed | 4963 | * comint.el (comint-output-filter): Corrected check for killed |
| 4964 | buffer. | 4964 | buffer. |
| @@ -5202,7 +5202,7 @@ | |||
| 5202 | 5202 | ||
| 5203 | * comint.el (comint-last-output-start): New variable to record | 5203 | * comint.el (comint-last-output-start): New variable to record |
| 5204 | where most recent process output started from. | 5204 | where most recent process output started from. |
| 5205 | (comint-mode): Initialise it. | 5205 | (comint-mode): Initialize it. |
| 5206 | (comint-output-filter): Set it. | 5206 | (comint-output-filter): Set it. |
| 5207 | 5207 | ||
| 5208 | * comint.el (comint-previous-matching-input-string): Moved to | 5208 | * comint.el (comint-previous-matching-input-string): Moved to |
| @@ -5220,7 +5220,7 @@ | |||
| 5220 | they move within the buffer rather than do input. | 5220 | they move within the buffer rather than do input. |
| 5221 | 5221 | ||
| 5222 | * comint.el (comint-send-input, comint-after-pmark-p) | 5222 | * comint.el (comint-send-input, comint-after-pmark-p) |
| 5223 | (comint-kill-input, comint-proc-query): Removed serialisation of | 5223 | (comint-kill-input, comint-proc-query): Removed serialization of |
| 5224 | obtaining the process mark's marker-position. | 5224 | obtaining the process mark's marker-position. |
| 5225 | 5225 | ||
| 5226 | * comint.el, shell.el: Commented out comint/shell-load-hooks. | 5226 | * comint.el, shell.el: Commented out comint/shell-load-hooks. |
| @@ -8952,4 +8952,3 @@ See ChangeLog.3 for earlier changes. | |||
| 8952 | 8952 | ||
| 8953 | You should have received a copy of the GNU General Public License | 8953 | You should have received a copy of the GNU General Public License |
| 8954 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 8954 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 8955 | |||
diff --git a/lisp/ChangeLog.5 b/lisp/ChangeLog.5 index 1edf6d692a0..b749be79fc1 100644 --- a/lisp/ChangeLog.5 +++ b/lisp/ChangeLog.5 | |||
| @@ -196,7 +196,7 @@ | |||
| 196 | (ispell-required-version): Documentation changes. | 196 | (ispell-required-version): Documentation changes. |
| 197 | (ispell-skip-sgml): Documentation changes. | 197 | (ispell-skip-sgml): Documentation changes. |
| 198 | (ispell-command-loop): `mode-line-format' now shows misspelled word. | 198 | (ispell-command-loop): `mode-line-format' now shows misspelled word. |
| 199 | (ispell-message-text-end): Can now process postscript version 1. | 199 | (ispell-message-text-end): Can now process PostScript version 1. |
| 200 | (ispell-message-start-skip): New variable for block skips, set up for | 200 | (ispell-message-start-skip): New variable for block skips, set up for |
| 201 | pgp and forward blocks. | 201 | pgp and forward blocks. |
| 202 | (ispell-message-end-skip): New variable for block skips, set up for | 202 | (ispell-message-end-skip): New variable for block skips, set up for |
| @@ -879,7 +879,7 @@ | |||
| 879 | * ada-mode.el (initial comments): Copyright 1995; don't speak | 879 | * ada-mode.el (initial comments): Copyright 1995; don't speak |
| 880 | about setup; correct history for a file that actually IS in | 880 | about setup; correct history for a file that actually IS in |
| 881 | Emacs 19.29; update list of known bugs. | 881 | Emacs 19.29; update list of known bugs. |
| 882 | (all functions): Inititialize all local variables explicitely to 'nil'. | 882 | (all functions): Initialize all local variables explicitly to 'nil'. |
| 883 | (ada-font-lock-keywords): Initialized according to new user option | 883 | (ada-font-lock-keywords): Initialized according to new user option |
| 884 | `font-lock-maximum-decoration'. | 884 | `font-lock-maximum-decoration'. |
| 885 | 885 | ||
| @@ -5507,7 +5507,7 @@ | |||
| 5507 | 5507 | ||
| 5508 | 1994-10-26 Michael Ernst <mernst@research.microsoft.com> | 5508 | 1994-10-26 Michael Ernst <mernst@research.microsoft.com> |
| 5509 | 5509 | ||
| 5510 | * ispell.el (ispell-message-text-end): Match Postscript 3 like 2. | 5510 | * ispell.el (ispell-message-text-end): Match PostScript 3 like 2. |
| 5511 | 5511 | ||
| 5512 | 1994-10-26 Ed Reingold <reingold@albert.gnu.ai.mit.edu> | 5512 | 1994-10-26 Ed Reingold <reingold@albert.gnu.ai.mit.edu> |
| 5513 | 5513 | ||
| @@ -6165,7 +6165,7 @@ | |||
| 6165 | 6165 | ||
| 6166 | 1994-10-05 Simon Marshall <Simon.Marshall@mail.esrin.esa.it> | 6166 | 1994-10-05 Simon Marshall <Simon.Marshall@mail.esrin.esa.it> |
| 6167 | 6167 | ||
| 6168 | * comint.el (comint-check-proc): Recognise `open'. | 6168 | * comint.el (comint-check-proc): Recognize `open'. |
| 6169 | (comint-exec): Use open-network-stream if command is a cons pair. | 6169 | (comint-exec): Use open-network-stream if command is a cons pair. |
| 6170 | 6170 | ||
| 6171 | * font-lock.el (compilation-mode-font-lock-keywords, | 6171 | * font-lock.el (compilation-mode-font-lock-keywords, |
| @@ -6954,7 +6954,7 @@ | |||
| 6954 | 6954 | ||
| 6955 | 1994-09-19 Francesco Potortì <pot@cnuce.cnr.it> | 6955 | 1994-09-19 Francesco Potortì <pot@cnuce.cnr.it> |
| 6956 | 6956 | ||
| 6957 | * rlogin.el (rlogin): Recognise the `-l user' option to rlogin and | 6957 | * rlogin.el (rlogin): Recognize the `-l user' option to rlogin and |
| 6958 | let comint and ange-ftp know about the correct home directory. | 6958 | let comint and ange-ftp know about the correct home directory. |
| 6959 | 6959 | ||
| 6960 | 1994-09-19 Richard Stallman <rms@mole.gnu.ai.mit.edu> | 6960 | 1994-09-19 Richard Stallman <rms@mole.gnu.ai.mit.edu> |
| @@ -9280,4 +9280,3 @@ See ChangeLog.4 for earlier changes. | |||
| 9280 | 9280 | ||
| 9281 | You should have received a copy of the GNU General Public License | 9281 | You should have received a copy of the GNU General Public License |
| 9282 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 9282 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 9283 | |||
diff --git a/lisp/ChangeLog.6 b/lisp/ChangeLog.6 index 7ba9261ccf0..42c9df84876 100644 --- a/lisp/ChangeLog.6 +++ b/lisp/ChangeLog.6 | |||
| @@ -1491,9 +1491,9 @@ | |||
| 1491 | 1491 | ||
| 1492 | 1996-04-16 Francesco Potortì <F.Potorti@cnuce.cnr.it> | 1492 | 1996-04-16 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
| 1493 | 1493 | ||
| 1494 | * vc.el (vc-comment-ring): Initialise using make-ring. | 1494 | * vc.el (vc-comment-ring): Initialize using make-ring. |
| 1495 | (vc-clear-context): Initialise vc-comment-ring using make-ring. | 1495 | (vc-clear-context): Initialize vc-comment-ring using make-ring. |
| 1496 | (vc-finish-logentry): Don't initialise vc-comment-ring here. | 1496 | (vc-finish-logentry): Don't initialize vc-comment-ring here. |
| 1497 | 1497 | ||
| 1498 | 1996-04-15 Eric Ding <ericding@mit.edu> | 1498 | 1996-04-15 Eric Ding <ericding@mit.edu> |
| 1499 | 1499 | ||
| @@ -3055,7 +3055,7 @@ | |||
| 3055 | (font-lock-mode): Use them. Doc fix. | 3055 | (font-lock-mode): Use them. Doc fix. |
| 3056 | Don't make font-lock-fontified buffer local here. | 3056 | Don't make font-lock-fontified buffer local here. |
| 3057 | (font-lock-set-defaults): Do it here. | 3057 | (font-lock-set-defaults): Do it here. |
| 3058 | (font-lock-compile-keyword): New function. Recognise `eval' keywords. | 3058 | (font-lock-compile-keyword): New function. Recognize `eval' keywords. |
| 3059 | (font-lock-compile-keywords): Use it. | 3059 | (font-lock-compile-keywords): Use it. |
| 3060 | (global-font-lock-mode): New command for Global Font Lock mode. | 3060 | (global-font-lock-mode): New command for Global Font Lock mode. |
| 3061 | (font-lock-global-modes): New variable. | 3061 | (font-lock-global-modes): New variable. |
| @@ -8038,4 +8038,3 @@ See ChangeLog.5 for earlier changes. | |||
| 8038 | 8038 | ||
| 8039 | You should have received a copy of the GNU General Public License | 8039 | You should have received a copy of the GNU General Public License |
| 8040 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 8040 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 8041 | |||
diff --git a/lisp/ChangeLog.7 b/lisp/ChangeLog.7 index 7ef7fe9dffc..cb606cd0847 100644 --- a/lisp/ChangeLog.7 +++ b/lisp/ChangeLog.7 | |||
| @@ -1948,7 +1948,7 @@ | |||
| 1948 | Add support for loading the files that contain :version when doing | 1948 | Add support for loading the files that contain :version when doing |
| 1949 | `customize-changed-options' so it can know which variables have | 1949 | `customize-changed-options' so it can know which variables have |
| 1950 | changed even in files that were not loaded at the time it was called. | 1950 | changed even in files that were not loaded at the time it was called. |
| 1951 | * cus-edit.el (customize-changed-options): Remeber all the | 1951 | * cus-edit.el (customize-changed-options): Remember all the |
| 1952 | versions and load the corresponding files before we show the | 1952 | versions and load the corresponding files before we show the |
| 1953 | customization buffer. Change the sorting to show the groups first | 1953 | customization buffer. Change the sorting to show the groups first |
| 1954 | in the customization buffer. | 1954 | in the customization buffer. |
| @@ -4923,10 +4923,10 @@ | |||
| 4923 | (fortran-blink-matching-if, fortran-blink-matching-do) | 4923 | (fortran-blink-matching-if, fortran-blink-matching-do) |
| 4924 | (fortran-indent-new-line): Bind case-fold-search. | 4924 | (fortran-indent-new-line): Bind case-fold-search. |
| 4925 | (fortran-end-do, fortran-beginning-do, fortran-end-if) | 4925 | (fortran-end-do, fortran-beginning-do, fortran-end-if) |
| 4926 | (fortran-beginning-if): Bind case-fold-search. Allow labelled blocks. | 4926 | (fortran-beginning-if): Bind case-fold-search. Allow labeled blocks. |
| 4927 | Use fortran-end-prog-re. | 4927 | Use fortran-end-prog-re. |
| 4928 | (fortran-if-start-re): New variable. | 4928 | (fortran-if-start-re): New variable. |
| 4929 | (fortran-calculate-indent): Allow labelled blocks. Simplify the conds. | 4929 | (fortran-calculate-indent): Allow labeled blocks. Simplify the conds. |
| 4930 | Make select case indentation work. | 4930 | Make select case indentation work. |
| 4931 | (fortran-is-in-string-p): Ignore Emacs 18 bug kluge. | 4931 | (fortran-is-in-string-p): Ignore Emacs 18 bug kluge. |
| 4932 | (fortran-fill): Allow double quotes in check for string. | 4932 | (fortran-fill): Allow double quotes in check for string. |
| @@ -6526,7 +6526,7 @@ | |||
| 6526 | 6526 | ||
| 6527 | * bibtex.el (bibtex-autokey-get-titles): Non capitalized title words | 6527 | * bibtex.el (bibtex-autokey-get-titles): Non capitalized title words |
| 6528 | are used for key generation as well. | 6528 | are used for key generation as well. |
| 6529 | (bibtex-member-of-regexp): Case is honoured for matches now. | 6529 | (bibtex-member-of-regexp): Case is honored for matches now. |
| 6530 | (bibtex-autokey-titleword-ignore): Added entries provide compatibility | 6530 | (bibtex-autokey-titleword-ignore): Added entries provide compatibility |
| 6531 | to former behavior. | 6531 | to former behavior. |
| 6532 | 6532 | ||
| @@ -6815,9 +6815,9 @@ | |||
| 6815 | `reftex-no-include-regexps'. | 6815 | `reftex-no-include-regexps'. |
| 6816 | (reftex-no-include-regexps): New option. | 6816 | (reftex-no-include-regexps): New option. |
| 6817 | (reftex-do-parse): Initialize appendix flag. | 6817 | (reftex-do-parse): Initialize appendix flag. |
| 6818 | (reftex-parse-from-file): Interprete appendix. | 6818 | (reftex-parse-from-file): Interpret appendix. |
| 6819 | (reftex-section-info): Use changed version of reftex-section-number. | 6819 | (reftex-section-info): Use changed version of reftex-section-number. |
| 6820 | (reftex-where-am-I): Interprete appendix match. | 6820 | (reftex-where-am-I): Interpret appendix match. |
| 6821 | (reftex-init-section-numbers): New arg: appendix. | 6821 | (reftex-init-section-numbers): New arg: appendix. |
| 6822 | (reftex-section-number): Treat appendix enumeration. | 6822 | (reftex-section-number): Treat appendix enumeration. |
| 6823 | (reftex-toc-external): Improved message. | 6823 | (reftex-toc-external): Improved message. |
| @@ -11240,7 +11240,7 @@ | |||
| 11240 | (reftex-cite-comment-format): New variable. | 11240 | (reftex-cite-comment-format): New variable. |
| 11241 | (reftex-cite-punctuation): New variable. | 11241 | (reftex-cite-punctuation): New variable. |
| 11242 | (reftex-make-master-buffer): Changed name of master buffer, | 11242 | (reftex-make-master-buffer): Changed name of master buffer, |
| 11243 | removed interactive. Runs a hook on the buffer. Interprete | 11243 | removed interactive. Runs a hook on the buffer. Interpret |
| 11244 | TEXINPUTS environment variable. Allow naked argument for \input. | 11244 | TEXINPUTS environment variable. Allow naked argument for \input. |
| 11245 | Master buffer is now in fundamental mode. | 11245 | Master buffer is now in fundamental mode. |
| 11246 | (reftex-access-scan-info): Name of master buffer changed. | 11246 | (reftex-access-scan-info): Name of master buffer changed. |
| @@ -11264,9 +11264,9 @@ | |||
| 11264 | (reftex-allow-for-ctrl-m): New function. | 11264 | (reftex-allow-for-ctrl-m): New function. |
| 11265 | (reftex-label-info-update): Allow more general label commands. | 11265 | (reftex-label-info-update): Allow more general label commands. |
| 11266 | (reftex-label-info): New parameter derive. | 11266 | (reftex-label-info): New parameter derive. |
| 11267 | (reftex-short-context): Interprete integer parse as nth arg of macro. | 11267 | (reftex-short-context): Interpret integer parse as nth arg of macro. |
| 11268 | (reftex-nth-parens-substring): New function. | 11268 | (reftex-nth-parens-substring): New function. |
| 11269 | (reftex-select-item): Interprete the new 'cnt text property. | 11269 | (reftex-select-item): Interpret the new 'cnt text property. |
| 11270 | (reftex-pop-to-label): Allow more general label commands. | 11270 | (reftex-pop-to-label): Allow more general label commands. |
| 11271 | (reftex-nicify-text): Allow more general label commands. | 11271 | (reftex-nicify-text): Allow more general label commands. |
| 11272 | (reftex-toc): Remember previous window configuration. Use text | 11272 | (reftex-toc): Remember previous window configuration. Use text |
| @@ -21766,9 +21766,9 @@ | |||
| 21766 | 21766 | ||
| 21767 | * f90.el (f90-no-block-limit): Fixed bug for indentation of | 21767 | * f90.el (f90-no-block-limit): Fixed bug for indentation of |
| 21768 | elsewhere and elseif. | 21768 | elsewhere and elseif. |
| 21769 | (f90-looking-at-where-or-forall): Now allows for labelled forall | 21769 | (f90-looking-at-where-or-forall): Now allows for labeled forall |
| 21770 | and where statements. | 21770 | and where statements. |
| 21771 | (f90-font-lock-keywords-2): New highlighting for labelled where | 21771 | (f90-font-lock-keywords-2): New highlighting for labeled where |
| 21772 | and forall. Fixed small bug with else highlighting. | 21772 | and forall. Fixed small bug with else highlighting. |
| 21773 | (f90-fill-region): Moved indentation to f90-break-line. | 21773 | (f90-fill-region): Moved indentation to f90-break-line. |
| 21774 | (f90-break-line): Will now always indent the second line. | 21774 | (f90-break-line): Will now always indent the second line. |
| @@ -22110,7 +22110,7 @@ | |||
| 22110 | 1996-09-27 Jacques Duthen <duthen@cegelec-red.fr> | 22110 | 1996-09-27 Jacques Duthen <duthen@cegelec-red.fr> |
| 22111 | 22111 | ||
| 22112 | * ps-print.el | 22112 | * ps-print.el |
| 22113 | (ps-print-prologue-1): Fix bug in postscript comment lines. | 22113 | (ps-print-prologue-1): Fix bug in PostScript comment lines. |
| 22114 | (ps-nb-pages): Call ps-setup _before_ switching to the other | 22114 | (ps-nb-pages): Call ps-setup _before_ switching to the other |
| 22115 | buffer, because of buffer variables. | 22115 | buffer, because of buffer variables. |
| 22116 | 22116 | ||
| @@ -22123,7 +22123,7 @@ | |||
| 22123 | (ps-page-height-i, ps-page-width-i): Variables deleted. | 22123 | (ps-page-height-i, ps-page-width-i): Variables deleted. |
| 22124 | (ps-print-prologue): Variable deleted. | 22124 | (ps-print-prologue): Variable deleted. |
| 22125 | (ps-print-prologue-1, ps-print-prologue-2): New variables. | 22125 | (ps-print-prologue-1, ps-print-prologue-2): New variables. |
| 22126 | Major rewrite of the postscript code to handle landscape mode, | 22126 | Major rewrite of the PostScript code to handle landscape mode, |
| 22127 | multiple columns and new font management. | 22127 | multiple columns and new font management. |
| 22128 | (ps-landscape-mode, ps-number-of-columns, ps-inter-column): New | 22128 | (ps-landscape-mode, ps-number-of-columns, ps-inter-column): New |
| 22129 | variables. | 22129 | variables. |
| @@ -22136,7 +22136,7 @@ | |||
| 22136 | (ps-header-font, ps-landscape-page-height): New internal variables. | 22136 | (ps-header-font, ps-landscape-page-height): New internal variables. |
| 22137 | (ps-top-margin): Change its semantics. It is now really the top | 22137 | (ps-top-margin): Change its semantics. It is now really the top |
| 22138 | margin, not anymore twice the top margin. | 22138 | margin, not anymore twice the top margin. |
| 22139 | (/ReportAllFontInfo): New postscript function to get all the font | 22139 | (/ReportAllFontInfo): New PostScript function to get all the font |
| 22140 | families of the printer. | 22140 | families of the printer. |
| 22141 | (ps-setup): New function. | 22141 | (ps-setup): New function. |
| 22142 | (ps-line-lengths, ps-nb-pages-buffer, ps-nb-pages-region): New | 22142 | (ps-line-lengths, ps-nb-pages-buffer, ps-nb-pages-region): New |
| @@ -23123,4 +23123,3 @@ See ChangeLog.6 for earlier changes. | |||
| 23123 | 23123 | ||
| 23124 | You should have received a copy of the GNU General Public License | 23124 | You should have received a copy of the GNU General Public License |
| 23125 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 23125 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 23126 | |||
diff --git a/lisp/ChangeLog.8 b/lisp/ChangeLog.8 index ada6d98ce3d..dea5137d246 100644 --- a/lisp/ChangeLog.8 +++ b/lisp/ChangeLog.8 | |||
| @@ -434,7 +434,7 @@ | |||
| 434 | for Emacs 20.4 and the earlier versions. | 434 | for Emacs 20.4 and the earlier versions. |
| 435 | (ps-mule-init-external-library): Just require a feature for | 435 | (ps-mule-init-external-library): Just require a feature for |
| 436 | external libraries. | 436 | external libraries. |
| 437 | (ps-mule-prologue): Postscript code modified for new composition. | 437 | (ps-mule-prologue): PostScript code modified for new composition. |
| 438 | (ps-mule-find-wrappoint): New arg COMPOSITION. | 438 | (ps-mule-find-wrappoint): New arg COMPOSITION. |
| 439 | (ps-mule-plot-string): Delete code for composite characters. | 439 | (ps-mule-plot-string): Delete code for composite characters. |
| 440 | (ps-mule-plot-composition): New function. | 440 | (ps-mule-plot-composition): New function. |
| @@ -447,7 +447,7 @@ | |||
| 447 | (ps-mule-plot-rule-cmpchar, ps-mule-plot-cmpchar, | 447 | (ps-mule-plot-rule-cmpchar, ps-mule-plot-cmpchar, |
| 448 | ps-mule-prepare-cmpchar-font): Deleted. | 448 | ps-mule-prepare-cmpchar-font): Deleted. |
| 449 | (ps-mule-string-encoding): New arg NO-SETFONT. | 449 | (ps-mule-string-encoding): New arg NO-SETFONT. |
| 450 | (ps-mule-bitmap-prologue): In Postscript code of BuildGlyphCommon, | 450 | (ps-mule-bitmap-prologue): In PostScript code of BuildGlyphCommon, |
| 451 | check Composing, not Cmpchar. | 451 | check Composing, not Cmpchar. |
| 452 | (ps-mule-initialize): Set ps-mule-composition-prologue-generated | 452 | (ps-mule-initialize): Set ps-mule-composition-prologue-generated |
| 453 | to nil. | 453 | to nil. |
| @@ -3475,8 +3475,8 @@ | |||
| 3475 | (reftex-process-string): Preserve default directory. | 3475 | (reftex-process-string): Preserve default directory. |
| 3476 | (reftex-label-alist-builtin): Changed prefixes of endnote and footnote. | 3476 | (reftex-label-alist-builtin): Changed prefixes of endnote and footnote. |
| 3477 | Also the magic words. | 3477 | Also the magic words. |
| 3478 | (reftex-reference): Interprete new option `reftex-fref-is-default'. | 3478 | (reftex-reference): Interpret new option `reftex-fref-is-default'. |
| 3479 | (reftex-replace-prefix-escapes): Interprete new `%S' format. | 3479 | (reftex-replace-prefix-escapes): Interpret new `%S' format. |
| 3480 | (reftex-toc-mouse-view-line): Command removed (had no binding). | 3480 | (reftex-toc-mouse-view-line): Command removed (had no binding). |
| 3481 | (reftex-everything-regexp): New function. | 3481 | (reftex-everything-regexp): New function. |
| 3482 | (reftex-nearest-match): Made better. | 3482 | (reftex-nearest-match): Made better. |
| @@ -6259,7 +6259,7 @@ | |||
| 6259 | * sql.el: Added keywords from `finder-by-keyword'. | 6259 | * sql.el: Added keywords from `finder-by-keyword'. |
| 6260 | (sql-mode): Made sql-buffer a local variable, changed the | 6260 | (sql-mode): Made sql-buffer a local variable, changed the |
| 6261 | documentation: removed instructions to add *.sql files to | 6261 | documentation: removed instructions to add *.sql files to |
| 6262 | auto-mode-alist, added documentation for having mutliple SQL | 6262 | auto-mode-alist, added documentation for having multiple SQL |
| 6263 | buffers sending their stuff to different SQLi buffers, each | 6263 | buffers sending their stuff to different SQLi buffers, each |
| 6264 | running a different process. | 6264 | running a different process. |
| 6265 | (sql-postgres): Quoted *SQL* in doc string. | 6265 | (sql-postgres): Quoted *SQL* in doc string. |
| @@ -6270,7 +6270,7 @@ | |||
| 6270 | (sql-sybase): Quoted *SQL* in doc string, added comma. | 6270 | (sql-sybase): Quoted *SQL* in doc string, added comma. |
| 6271 | (sql-oracle): Likewise. | 6271 | (sql-oracle): Likewise. |
| 6272 | (sql-interactive-mode): Added extensive documentation for having | 6272 | (sql-interactive-mode): Added extensive documentation for having |
| 6273 | mutliple SQL buffers sending their stuff to different SQLi | 6273 | multiple SQL buffers sending their stuff to different SQLi |
| 6274 | buffers, each running a different process. | 6274 | buffers, each running a different process. |
| 6275 | (sql-buffer): Changed doc from *SQL* to SQLi. | 6275 | (sql-buffer): Changed doc from *SQL* to SQLi. |
| 6276 | (sql-get-login): Doc fix. | 6276 | (sql-get-login): Doc fix. |
| @@ -8317,7 +8317,7 @@ | |||
| 8317 | 1998-11-11 Sam Steingold <sds@goems.com> | 8317 | 1998-11-11 Sam Steingold <sds@goems.com> |
| 8318 | 8318 | ||
| 8319 | * inf-lisp.el (switch-to-lisp): If no inferior lisp present, call | 8319 | * inf-lisp.el (switch-to-lisp): If no inferior lisp present, call |
| 8320 | `run-lisp' instead of signalling an error. | 8320 | `run-lisp' instead of signaling an error. |
| 8321 | 8321 | ||
| 8322 | 1998-11-11 Karl Heuer <kwzh@gnu.org> | 8322 | 1998-11-11 Karl Heuer <kwzh@gnu.org> |
| 8323 | 8323 | ||
| @@ -9750,11 +9750,11 @@ | |||
| 9750 | * international/mule.el (charset-description): Doc fix. | 9750 | * international/mule.el (charset-description): Doc fix. |
| 9751 | 9751 | ||
| 9752 | * language/chinese.el, language/cyrillic.el, language/czech.el, | 9752 | * language/chinese.el, language/cyrillic.el, language/czech.el, |
| 9753 | language/devanagari.el, language/ethiopic.el, | 9753 | * language/devanagari.el, language/ethiopic.el, |
| 9754 | language/european.el, language/hebrew.el, language/indian.el, | 9754 | * language/european.el, language/hebrew.el, language/indian.el, |
| 9755 | language/japanese.el, language/korean.el, language/lao.el, | 9755 | * language/japanese.el, language/korean.el, language/lao.el, |
| 9756 | language/slovak.el, language/thai.el, language/tibetan.el, | 9756 | * language/slovak.el, language/thai.el, language/tibetan.el, |
| 9757 | language/vietnamese.el: | 9757 | * language/vietnamese.el: |
| 9758 | Add coding: local variable, to avoid bootstrapping problem | 9758 | Add coding: local variable, to avoid bootstrapping problem |
| 9759 | if you need to recompile all the Lisp files using interpreted code. | 9759 | if you need to recompile all the Lisp files using interpreted code. |
| 9760 | 9760 | ||
| @@ -10009,4 +10009,3 @@ See ChangeLog.7 for earlier changes. | |||
| 10009 | 10009 | ||
| 10010 | You should have received a copy of the GNU General Public License | 10010 | You should have received a copy of the GNU General Public License |
| 10011 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 10011 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 10012 | |||
diff --git a/lisp/ChangeLog.9 b/lisp/ChangeLog.9 index edfe26fbc03..f08e6fb8863 100644 --- a/lisp/ChangeLog.9 +++ b/lisp/ChangeLog.9 | |||
| @@ -40,7 +40,7 @@ | |||
| 40 | 2001-10-17 Francesco Potortì <pot@gnu.org> | 40 | 2001-10-17 Francesco Potortì <pot@gnu.org> |
| 41 | 41 | ||
| 42 | * comint.el (comint-password-prompt-regexp): Make it less | 42 | * comint.el (comint-password-prompt-regexp): Make it less |
| 43 | restrictive, letting comint recognise OpenSSH2 passphrase prompts. | 43 | restrictive, letting comint recognize OpenSSH2 passphrase prompts. |
| 44 | 44 | ||
| 45 | 2001-10-17 John Wiegley <johnw@gnu.org> | 45 | 2001-10-17 John Wiegley <johnw@gnu.org> |
| 46 | 46 | ||
| @@ -135,7 +135,7 @@ | |||
| 135 | 135 | ||
| 136 | * net/ange-ftp.el (ange-ftp-raw-send-cmd, ange-ftp-wait-not-busy): | 136 | * net/ange-ftp.el (ange-ftp-raw-send-cmd, ange-ftp-wait-not-busy): |
| 137 | Use with-current-buffer. | 137 | Use with-current-buffer. |
| 138 | (ange-ftp-cd): New arg `noerror' to prevent signalling an error. | 138 | (ange-ftp-cd): New arg `noerror' to prevent signaling an error. |
| 139 | (ange-ftp-send-cmd): If a `cd' is used (because of a space in the | 139 | (ange-ftp-send-cmd): If a `cd' is used (because of a space in the |
| 140 | filename), catch any error that occurs in `ange-ftp-cd'. | 140 | filename), catch any error that occurs in `ange-ftp-cd'. |
| 141 | If an error happened, don't bother sending `cmd' at all. | 141 | If an error happened, don't bother sending `cmd' at all. |
| @@ -1754,7 +1754,7 @@ | |||
| 1754 | number, column number and buffer-percent part of the mode-line. | 1754 | number, column number and buffer-percent part of the mode-line. |
| 1755 | 1755 | ||
| 1756 | * image.el (image-type-regexps): Allow whitespace at the start | 1756 | * image.el (image-type-regexps): Allow whitespace at the start |
| 1757 | of the image data for XPM, XBM and Postscript, which are | 1757 | of the image data for XPM, XBM and PostScript, which are |
| 1758 | text files. | 1758 | text files. |
| 1759 | (image-jpeg-p): Correct calculation of next field offset. | 1759 | (image-jpeg-p): Correct calculation of next field offset. |
| 1760 | 1760 | ||
| @@ -2030,7 +2030,7 @@ | |||
| 2030 | Do not bind locally the uniquify-possibly-resolvable flag. Use the | 2030 | Do not bind locally the uniquify-possibly-resolvable flag. Use the |
| 2031 | cached proposed name is possible. | 2031 | cached proposed name is possible. |
| 2032 | (uniquify-get-proposed-name): Arguments changed, callers changed. | 2032 | (uniquify-get-proposed-name): Arguments changed, callers changed. |
| 2033 | (uniquify-rationalize-conflicting-sublist): Explicitely reset the | 2033 | (uniquify-rationalize-conflicting-sublist): Explicitly reset the |
| 2034 | uniquify-possibly-resolvable flag, which is no more bound locally. | 2034 | uniquify-possibly-resolvable flag, which is no more bound locally. |
| 2035 | (uniquify-rename-buffer): Do not set the old unrationalised-buffer | 2035 | (uniquify-rename-buffer): Do not set the old unrationalised-buffer |
| 2036 | flag, which does not exist any more. | 2036 | flag, which does not exist any more. |
| @@ -5955,7 +5955,7 @@ | |||
| 5955 | 2001-01-29 Gerd Moellmann <gerd@gnu.org> | 5955 | 2001-01-29 Gerd Moellmann <gerd@gnu.org> |
| 5956 | 5956 | ||
| 5957 | * menu-bar.el (menu-bar-files-menu): Add menu items for | 5957 | * menu-bar.el (menu-bar-files-menu): Add menu items for |
| 5958 | Postscript printing in black and white. | 5958 | PostScript printing in black and white. |
| 5959 | 5959 | ||
| 5960 | * mail/rmail.el (rmail-ignored-headers): Add X-Sign, X-BeenThere, | 5960 | * mail/rmail.el (rmail-ignored-headers): Add X-Sign, X-BeenThere, |
| 5961 | X-Mailman-Version, Precedence, List-Help, List-Post, | 5961 | X-Mailman-Version, Precedence, List-Help, List-Post, |
| @@ -10569,7 +10569,7 @@ | |||
| 10569 | 2000-10-10 Dave Love <fx@gnu.org> | 10569 | 2000-10-10 Dave Love <fx@gnu.org> |
| 10570 | 10570 | ||
| 10571 | * toolbar/tool-bar.el (tool-bar-add-item) | 10571 | * toolbar/tool-bar.el (tool-bar-add-item) |
| 10572 | (tool-bar-add-item-from-menu): Don't favour XPM icons on mono display. | 10572 | (tool-bar-add-item-from-menu): Don't favor XPM icons on mono display. |
| 10573 | 10573 | ||
| 10574 | * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm: | 10574 | * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm: |
| 10575 | * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm: | 10575 | * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm: |
| @@ -12638,7 +12638,7 @@ | |||
| 12638 | (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and | 12638 | (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and |
| 12639 | just do a recursive call if we need to retry. | 12639 | just do a recursive call if we need to retry. |
| 12640 | (vc-rcs-checkout): Handle the case where rcs is missing by making | 12640 | (vc-rcs-checkout): Handle the case where rcs is missing by making |
| 12641 | the buffer read-write if requested and re-signalling the error. | 12641 | the buffer read-write if requested and re-signaling the error. |
| 12642 | 12642 | ||
| 12643 | * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP. | 12643 | * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP. |
| 12644 | 12644 | ||
| @@ -14191,7 +14191,7 @@ | |||
| 14191 | 14191 | ||
| 14192 | * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el. | 14192 | * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el. |
| 14193 | Provide ja-dic-cnv instead of skkdic-cnv. | 14193 | Provide ja-dic-cnv instead of skkdic-cnv. |
| 14194 | (ja-dic-filename): Renamed from skkdic-filename. Referers changed. | 14194 | (ja-dic-filename): Renamed from skkdic-filename. Referrers changed. |
| 14195 | (iso-2022-7bit-short): Add safe-charsets property. | 14195 | (iso-2022-7bit-short): Add safe-charsets property. |
| 14196 | (skkdic-convert-postfix): Search Japanese chou-on character in | 14196 | (skkdic-convert-postfix): Search Japanese chou-on character in |
| 14197 | addition to Hiragana character. | 14197 | addition to Hiragana character. |
| @@ -17396,7 +17396,7 @@ | |||
| 17396 | 17396 | ||
| 17397 | 2000-05-25 Kenichi Handa <handa@etl.go.jp> | 17397 | 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
| 17398 | 17398 | ||
| 17399 | * international/mule-conf.el: Specify CHARSET-ID explicitely for | 17399 | * international/mule-conf.el: Specify CHARSET-ID explicitly for |
| 17400 | private charsets. | 17400 | private charsets. |
| 17401 | (mule-unicode-0100-24ff, japanese-jisx0213-1, | 17401 | (mule-unicode-0100-24ff, japanese-jisx0213-1, |
| 17402 | japanese-jisx0213-2): New charsets. | 17402 | japanese-jisx0213-2): New charsets. |
| @@ -20709,4 +20709,3 @@ See ChangeLog.8 for earlier changes. | |||
| 20709 | 20709 | ||
| 20710 | You should have received a copy of the GNU General Public License | 20710 | You should have received a copy of the GNU General Public License |
| 20711 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 20711 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 20712 | |||
diff --git a/lisp/allout-widgets.el b/lisp/allout-widgets.el index 162da1f4815..dfd9adad2a7 100644 --- a/lisp/allout-widgets.el +++ b/lisp/allout-widgets.el | |||
| @@ -1,14 +1,13 @@ | |||
| 1 | ;; allout-widgets.el --- Visually highlight allout outline structure. | 1 | ;; allout-widgets.el --- Visually highlight allout outline structure. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Ken Manheimer | 3 | ;; Copyright (C) 2005-2011 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Ken Manheimer <ken dot manheimer at gmail dot com> | 5 | ;; Author: Ken Manheimer <ken dot manheimer at gmail...> |
| 6 | ;; Maintainer: Ken Manheimer <ken dot manheimer at gmail dot com> | 6 | ;; Maintainer: Ken Manheimer <ken dot manheimer at gmail...> |
| 7 | ;; Version: 1.0 | 7 | ;; Version: 1.0 |
| 8 | ;; Created: Dec 2005 | 8 | ;; Created: Dec 2005 |
| 9 | ;; Version: 1.0 | ||
| 10 | ;; Keywords: outlines | 9 | ;; Keywords: outlines |
| 11 | ;; Website: http://myriadicity.net/Sundry/EmacsAllout | 10 | ;; Website: http://myriadicity.net/software-and-systems/craft/emacs-allout |
| 12 | 11 | ||
| 13 | ;;; Commentary: | 12 | ;;; Commentary: |
| 14 | 13 | ||
| @@ -50,7 +49,7 @@ | |||
| 50 | ;; systematically couple overlays, graphics, and other features with | 49 | ;; systematically couple overlays, graphics, and other features with |
| 51 | ;; allout-governed text. | 50 | ;; allout-governed text. |
| 52 | 51 | ||
| 53 | ;;;_: Code (structured with comments that delinieate an allout outline) | 52 | ;;;_: Code (structured with comments that delineate an allout outline) |
| 54 | 53 | ||
| 55 | ;;;_ : General Environment | 54 | ;;;_ : General Environment |
| 56 | (require 'allout) | 55 | (require 'allout) |
| @@ -811,7 +810,7 @@ Optional RECURSING is for internal use, to limit recursion." | |||
| 811 | (forward-char -1))))))) | 810 | (forward-char -1))))))) |
| 812 | 811 | ||
| 813 | (error | 812 | (error |
| 814 | ;; zero work list so we don't get stuck futily retrying. | 813 | ;; zero work list so we don't get stuck futilely retrying. |
| 815 | ;; error recording done by allout-widgets-hook-error-handler. | 814 | ;; error recording done by allout-widgets-hook-error-handler. |
| 816 | (setq allout-widgets-changes-record nil)))) | 815 | (setq allout-widgets-changes-record nil)))) |
| 817 | ;;;_ , major change handlers: | 816 | ;;;_ , major change handlers: |
| @@ -1245,7 +1244,7 @@ Optional FROM-DEPTH is for internal use." | |||
| 1245 | (defun allout-range-overlaps (from to ranges) | 1244 | (defun allout-range-overlaps (from to ranges) |
| 1246 | "Return a pair indicating overlap of FROM and TO subtree range in RANGES. | 1245 | "Return a pair indicating overlap of FROM and TO subtree range in RANGES. |
| 1247 | 1246 | ||
| 1248 | First element of result indicates whether candadate range FROM, TO | 1247 | First element of result indicates whether candidate range FROM, TO |
| 1249 | overlapped any of the existing ranges. | 1248 | overlapped any of the existing ranges. |
| 1250 | 1249 | ||
| 1251 | Second element of result is a new version of RANGES incorporating the | 1250 | Second element of result is a new version of RANGES incorporating the |
| @@ -1465,7 +1464,7 @@ recursive operation." | |||
| 1465 | 1464 | ||
| 1466 | :from nil ; item beginning - marker | 1465 | :from nil ; item beginning - marker |
| 1467 | :to nil ; item end - marker | 1466 | :to nil ; item end - marker |
| 1468 | :span-overlay nil ; overlay by which actual postion is determined | 1467 | :span-overlay nil ; overlay by which actual position is determined |
| 1469 | 1468 | ||
| 1470 | ;; also serves as guide-end: | 1469 | ;; also serves as guide-end: |
| 1471 | :icon-start nil | 1470 | :icon-start nil |
| @@ -1624,7 +1623,7 @@ We return the item-widget corresponding to the item at point." | |||
| 1624 | 1623 | ||
| 1625 | (set-buffer-modified-p was-modified) | 1624 | (set-buffer-modified-p was-modified) |
| 1626 | (goto-char steady-point) | 1625 | (goto-char steady-point) |
| 1627 | ;; must null the marker or the buffer gets clogged with impedence: | 1626 | ;; must null the marker or the buffer gets clogged with impedance: |
| 1628 | (set-marker steady-point nil) | 1627 | (set-marker steady-point nil) |
| 1629 | 1628 | ||
| 1630 | item-widget))) | 1629 | item-widget))) |
| @@ -1632,7 +1631,7 @@ We return the item-widget corresponding to the item at point." | |||
| 1632 | (defun allout-redecorate-item (item-widget) | 1631 | (defun allout-redecorate-item (item-widget) |
| 1633 | "Resituate ITEM-WIDGET decorations, disregarding context. | 1632 | "Resituate ITEM-WIDGET decorations, disregarding context. |
| 1634 | 1633 | ||
| 1635 | Use this to redecorate only the item, when you know that it's | 1634 | Use this to redecorate only the item, when you know that its |
| 1636 | situation with respect to siblings, parent, and offspring is | 1635 | situation with respect to siblings, parent, and offspring is |
| 1637 | unchanged from its last decoration. Use | 1636 | unchanged from its last decoration. Use |
| 1638 | `allout-decorate-item-and-context' instead to reassess and adjust | 1637 | `allout-decorate-item-and-context' instead to reassess and adjust |
diff --git a/lisp/allout.el b/lisp/allout.el index 18cc3c80dc6..a08aa05d581 100644 --- a/lisp/allout.el +++ b/lisp/allout.el | |||
| @@ -2,12 +2,12 @@ | |||
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1992-1994, 2001-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1992-1994, 2001-2011 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Ken Manheimer <ken dot manheimer at gmail dot com> | 5 | ;; Author: Ken Manheimer <ken dot manheimer at gmail...> |
| 6 | ;; Maintainer: Ken Manheimer <ken dot manheimer at gmail dot com> | 6 | ;; Maintainer: Ken Manheimer <ken dot manheimer at gmail...> |
| 7 | ;; Created: Dec 1991 -- first release to usenet | 7 | ;; Created: Dec 1991 -- first release to usenet |
| 8 | ;; Version: 2.3 | 8 | ;; Version: 2.3 |
| 9 | ;; Keywords: outlines, wp, languages, PGP, GnuPG | 9 | ;; Keywords: outlines, wp, languages, PGP, GnuPG |
| 10 | ;; Website: http://myriadicity.net/Sundry/EmacsAllout | 10 | ;; Website: http://myriadicity.net/software-and-systems/craft/emacs-allout |
| 11 | 11 | ||
| 12 | ;; This file is part of GNU Emacs. | 12 | ;; This file is part of GNU Emacs. |
| 13 | 13 | ||
| @@ -825,7 +825,7 @@ formatted copy." | |||
| 825 | (defcustom allout-encrypt-unencrypted-on-saves t | 825 | (defcustom allout-encrypt-unencrypted-on-saves t |
| 826 | "If non-nil, topics pending encryption are encrypted during buffer saves. | 826 | "If non-nil, topics pending encryption are encrypted during buffer saves. |
| 827 | 827 | ||
| 828 | This provents file-system exposure of un-encrypted contents of | 828 | This prevents file-system exposure of un-encrypted contents of |
| 829 | items marked for encryption. | 829 | items marked for encryption. |
| 830 | 830 | ||
| 831 | When non-nil, if the topic currently being edited is decrypted, | 831 | When non-nil, if the topic currently being edited is decrypted, |
| @@ -1537,14 +1537,14 @@ Entries must be symbols that are bound to the desired values. | |||
| 1537 | Each value can be a regexp or a list with a regexp followed by a | 1537 | Each value can be a regexp or a list with a regexp followed by a |
| 1538 | substitution string. If it's just a regexp, all its matches are removed | 1538 | substitution string. If it's just a regexp, all its matches are removed |
| 1539 | before the text is encrypted. If it's a regexp and a substitution, the | 1539 | before the text is encrypted. If it's a regexp and a substitution, the |
| 1540 | substition is used against the regexp matches, a la `replace-match'.") | 1540 | substitution is used against the regexp matches, a la `replace-match'.") |
| 1541 | (make-variable-buffer-local 'allout-encryption-text-removal-regexps) | 1541 | (make-variable-buffer-local 'allout-encryption-text-removal-regexps) |
| 1542 | ;;;_ = allout-encryption-ciphertext-rejection-regexps | 1542 | ;;;_ = allout-encryption-ciphertext-rejection-regexps |
| 1543 | (defvar allout-encryption-ciphertext-rejection-regexps nil | 1543 | (defvar allout-encryption-ciphertext-rejection-regexps nil |
| 1544 | "Variable for regexps matching plaintext to remove before encryption. | 1544 | "Variable for regexps matching plaintext to remove before encryption. |
| 1545 | 1545 | ||
| 1546 | This is used to detect strings in encryption results that would | 1546 | This is used to detect strings in encryption results that would |
| 1547 | register as allout mode structural elements, for exmple, as a | 1547 | register as allout mode structural elements, for example, as a |
| 1548 | topic prefix. | 1548 | topic prefix. |
| 1549 | 1549 | ||
| 1550 | Entries must be symbols that are bound to the desired regexp values. | 1550 | Entries must be symbols that are bound to the desired regexp values. |
| @@ -2283,7 +2283,7 @@ If topic has no offspring, then the next sibling with offspring will | |||
| 2283 | determine whether or not this one is determined to be aberrant. | 2283 | determine whether or not this one is determined to be aberrant. |
| 2284 | 2284 | ||
| 2285 | If true, then the allout-recent-* settings are calibrated on the | 2285 | If true, then the allout-recent-* settings are calibrated on the |
| 2286 | offspring that qaulifies it as aberrant, ie with depth that | 2286 | offspring that qualifies it as aberrant, ie with depth that |
| 2287 | exceeds the topic by more than one." | 2287 | exceeds the topic by more than one." |
| 2288 | 2288 | ||
| 2289 | ;; This is most clearly understood when considering standard-prefix-leader | 2289 | ;; This is most clearly understood when considering standard-prefix-leader |
| @@ -2525,7 +2525,7 @@ Outermost is first." | |||
| 2525 | (defun allout-mark-active-p () | 2525 | (defun allout-mark-active-p () |
| 2526 | "True if the mark is currently or always active." | 2526 | "True if the mark is currently or always active." |
| 2527 | ;; `(cond (boundp...))' (or `(if ...)') invokes special byte-compiler | 2527 | ;; `(cond (boundp...))' (or `(if ...)') invokes special byte-compiler |
| 2528 | ;; provisions, at least in fsf emacs to prevent warnings about lack of, | 2528 | ;; provisions, at least in GNU Emacs to prevent warnings about lack of, |
| 2529 | ;; eg, region-active-p. | 2529 | ;; eg, region-active-p. |
| 2530 | (cond ((boundp 'mark-active) | 2530 | (cond ((boundp 'mark-active) |
| 2531 | mark-active) | 2531 | mark-active) |
| @@ -3543,7 +3543,7 @@ PRIOR-BULLET.) | |||
| 3543 | Fifth arg, NUMBER-CONTROL, matters only if `allout-numbered-bullet' | 3543 | Fifth arg, NUMBER-CONTROL, matters only if `allout-numbered-bullet' |
| 3544 | is non-nil *and* no specific INSTEAD was specified. Then | 3544 | is non-nil *and* no specific INSTEAD was specified. Then |
| 3545 | NUMBER-CONTROL non-nil forces prefix to either numbered or | 3545 | NUMBER-CONTROL non-nil forces prefix to either numbered or |
| 3546 | denumbered format, depending on the value of the sixth arg, INDEX. | 3546 | unnumbered format, depending on the value of the sixth arg, INDEX. |
| 3547 | 3547 | ||
| 3548 | \(Note that NUMBER-CONTROL does *not* apply to level 1 topics. Sorry...) | 3548 | \(Note that NUMBER-CONTROL does *not* apply to level 1 topics. Sorry...) |
| 3549 | 3549 | ||
| @@ -3557,7 +3557,7 @@ number is used as the index for the numbered prefix (allowing, eg, | |||
| 3557 | sequential renumbering to not require this function counting back the | 3557 | sequential renumbering to not require this function counting back the |
| 3558 | index for each successive sibling)." | 3558 | index for each successive sibling)." |
| 3559 | ;;;_ . Code: | 3559 | ;;;_ . Code: |
| 3560 | ;; The options are ordered in likely frequence of use, most common | 3560 | ;; The options are ordered in likely frequency of use, most common |
| 3561 | ;; highest, least lowest. Ie, more likely to be doing prefix | 3561 | ;; highest, least lowest. Ie, more likely to be doing prefix |
| 3562 | ;; adjustments than soliciting, and yet more than numbering. | 3562 | ;; adjustments than soliciting, and yet more than numbering. |
| 3563 | ;; Current prefix is least dominant, but most likely to be commonly | 3563 | ;; Current prefix is least dominant, but most likely to be commonly |
| @@ -3807,7 +3807,7 @@ Nuances: | |||
| 3807 | ;;(if doing-beginning (goto-char doing-beginning)) | 3807 | ;;(if doing-beginning (goto-char doing-beginning)) |
| 3808 | (if (not (bobp)) | 3808 | (if (not (bobp)) |
| 3809 | ;; We insert a newline char rather than using open-line to | 3809 | ;; We insert a newline char rather than using open-line to |
| 3810 | ;; avoid rear-stickiness inheritence of read-only property. | 3810 | ;; avoid rear-stickiness inheritance of read-only property. |
| 3811 | (progn (if (and (not (> depth ref-depth)) | 3811 | (progn (if (and (not (> depth ref-depth)) |
| 3812 | (not before)) | 3812 | (not before)) |
| 3813 | (open-line 1) | 3813 | (open-line 1) |
| @@ -3822,7 +3822,7 @@ Nuances: | |||
| 3822 | (if (and (not (eobp)) | 3822 | (if (and (not (eobp)) |
| 3823 | (or (not (bolp)) | 3823 | (or (not (bolp)) |
| 3824 | (and (not (bobp)) | 3824 | (and (not (bobp)) |
| 3825 | ;; bolp doesnt detect concealed | 3825 | ;; bolp doesn't detect concealed |
| 3826 | ;; trailing newlines, compensate: | 3826 | ;; trailing newlines, compensate: |
| 3827 | (save-excursion | 3827 | (save-excursion |
| 3828 | (forward-char -1) | 3828 | (forward-char -1) |
| @@ -5473,7 +5473,7 @@ header and body. The elements of that list are: | |||
| 5473 | "invalid format" format)))) | 5473 | "invalid format" format)))) |
| 5474 | (list depth prefix strings)) | 5474 | (list depth prefix strings)) |
| 5475 | result)) | 5475 | result)) |
| 5476 | ;; Reasses format, if any: | 5476 | ;; Reassess format, if any: |
| 5477 | (if (and format (listp format)) | 5477 | (if (and format (listp format)) |
| 5478 | (cond ((= new-depth depth) | 5478 | (cond ((= new-depth depth) |
| 5479 | (setq format (cons (1+ (car format)) | 5479 | (setq format (cons (1+ (car format)) |
diff --git a/lisp/ansi-color.el b/lisp/ansi-color.el index ff7edf40dcb..4d6f02a40b7 100644 --- a/lisp/ansi-color.el +++ b/lisp/ansi-color.el | |||
| @@ -68,7 +68,7 @@ | |||
| 68 | ;; | 68 | ;; |
| 69 | ;; Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> for pointing me to ECMA-48. | 69 | ;; Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> for pointing me to ECMA-48. |
| 70 | ;; | 70 | ;; |
| 71 | ;; Stefan Monnier <foo@acm.com> explaing obscure font-lock stuff and | 71 | ;; Stefan Monnier <foo@acm.com> for explaining obscure font-lock stuff and for |
| 72 | ;; code suggestions. | 72 | ;; code suggestions. |
| 73 | 73 | ||
| 74 | 74 | ||
diff --git a/lisp/apropos.el b/lisp/apropos.el index 1dfe5cde9ed..9a372f27991 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el | |||
| @@ -1052,7 +1052,7 @@ If non-nil TEXT is a string that will be printed as a heading." | |||
| 1052 | ;; omitting any that contain a buffer or a frame. | 1052 | ;; omitting any that contain a buffer or a frame. |
| 1053 | ;; FIXME: Why omit keys that contain buffers and | 1053 | ;; FIXME: Why omit keys that contain buffers and |
| 1054 | ;; frames? This looks like a bad workaround rather | 1054 | ;; frames? This looks like a bad workaround rather |
| 1055 | ;; than a proper fix. Does anybod know what problem | 1055 | ;; than a proper fix. Does anybody know what problem |
| 1056 | ;; this is trying to address? --Stef | 1056 | ;; this is trying to address? --Stef |
| 1057 | (dolist (key keys) | 1057 | (dolist (key keys) |
| 1058 | (let ((i 0) | 1058 | (let ((i 0) |
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el index e3d1955ded5..48b4c5be164 100644 --- a/lisp/arc-mode.el +++ b/lisp/arc-mode.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Morten Welinder <terra@gnu.org> | 5 | ;; Author: Morten Welinder <terra@gnu.org> |
| 6 | ;; Keywords: files archives msdog editing major-mode | 6 | ;; Keywords: files archives msdog editing major-mode |
| 7 | ;; Favourite-brand-of-beer: None, I hate beer. | 7 | ;; Favorite-brand-of-beer: None, I hate beer. |
| 8 | 8 | ||
| 9 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| 10 | 10 | ||
| @@ -75,7 +75,7 @@ | |||
| 75 | ;; | 75 | ;; |
| 76 | ;; LZH A series of (header,file). Headers are checksummed. No | 76 | ;; LZH A series of (header,file). Headers are checksummed. No |
| 77 | ;; interaction among members. | 77 | ;; interaction among members. |
| 78 | ;; Headers come in three flavours called level 0, 1 and 2 headers. | 78 | ;; Headers come in three flavors called level 0, 1 and 2 headers. |
| 79 | ;; Level 2 header is free of DOS specific restrictions and most | 79 | ;; Level 2 header is free of DOS specific restrictions and most |
| 80 | ;; prevalently used. Also level 1 and 2 headers consist of base | 80 | ;; prevalently used. Also level 1 and 2 headers consist of base |
| 81 | ;; and extension headers. For more details see | 81 | ;; and extension headers. For more details see |
| @@ -1036,7 +1036,7 @@ using `make-temp-file', and the generated name is returned." | |||
| 1036 | (setq archive-file-name-coding-system file-name-coding) | 1036 | (setq archive-file-name-coding-system file-name-coding) |
| 1037 | (if (and | 1037 | (if (and |
| 1038 | (null | 1038 | (null |
| 1039 | (let (;; We may have to encode file name arguement for | 1039 | (let (;; We may have to encode the file name argument for |
| 1040 | ;; external programs. | 1040 | ;; external programs. |
| 1041 | (coding-system-for-write | 1041 | (coding-system-for-write |
| 1042 | (and enable-multibyte-characters | 1042 | (and enable-multibyte-characters |
diff --git a/lisp/autorevert.el b/lisp/autorevert.el index 817aaff55ca..f70025e9d3f 100644 --- a/lisp/autorevert.el +++ b/lisp/autorevert.el | |||
| @@ -77,7 +77,7 @@ | |||
| 77 | ;; M-x global-auto-revert-mode RET | 77 | ;; M-x global-auto-revert-mode RET |
| 78 | ;; | 78 | ;; |
| 79 | ;; To activate Global Auto-Revert Mode every time Emacs is started | 79 | ;; To activate Global Auto-Revert Mode every time Emacs is started |
| 80 | ;; customise the option `global-auto-revert-mode' or the following | 80 | ;; customize the option `global-auto-revert-mode' or the following |
| 81 | ;; line could be added to your ~/.emacs: | 81 | ;; line could be added to your ~/.emacs: |
| 82 | ;; (global-auto-revert-mode 1) | 82 | ;; (global-auto-revert-mode 1) |
| 83 | ;; | 83 | ;; |
diff --git a/lisp/bs.el b/lisp/bs.el index 0c32c8b4f19..2a31b05a31f 100644 --- a/lisp/bs.el +++ b/lisp/bs.el | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | ;; Version: 1.17 | 25 | ;; Version: 1.17 |
| 26 | ;; X-URL: http://www.geekware.de/software/emacs | 26 | ;; X-URL: http://www.geekware.de/software/emacs |
| 27 | ;; | 27 | ;; |
| 28 | ;; The bs-package contains a main function bs-show for poping up a | 28 | ;; The bs-package contains a main function bs-show for popping up a |
| 29 | ;; buffer in a way similar to `list-buffers' and `electric-buffer-list': | 29 | ;; buffer in a way similar to `list-buffers' and `electric-buffer-list': |
| 30 | ;; The new buffer offers a Buffer Selection Menu for manipulating | 30 | ;; The new buffer offers a Buffer Selection Menu for manipulating |
| 31 | ;; the buffer list and buffers. | 31 | ;; the buffer list and buffers. |
diff --git a/lisp/button.el b/lisp/button.el index 6ef79532ae7..262a19c1806 100644 --- a/lisp/button.el +++ b/lisp/button.el | |||
| @@ -42,7 +42,7 @@ | |||
| 42 | ;; button face may not be visible. Using overlays avoids this. | 42 | ;; button face may not be visible. Using overlays avoids this. |
| 43 | ;; | 43 | ;; |
| 44 | ;; Using `define-button-type' to define default properties for buttons | 44 | ;; Using `define-button-type' to define default properties for buttons |
| 45 | ;; is not necessary, but it is is encouraged, since doing so makes the | 45 | ;; is not necessary, but it is encouraged, since doing so makes the |
| 46 | ;; resulting code clearer and more efficient. | 46 | ;; resulting code clearer and more efficient. |
| 47 | ;; | 47 | ;; |
| 48 | 48 | ||
diff --git a/lisp/calc/calc-bin.el b/lisp/calc/calc-bin.el index 20b4a9db5e2..44354f0822f 100644 --- a/lisp/calc/calc-bin.el +++ b/lisp/calc/calc-bin.el | |||
| @@ -291,7 +291,7 @@ the size of a Calc bignum digit.") | |||
| 291 | (if (eq (car-safe b) 'mod) | 291 | (if (eq (car-safe b) 'mod) |
| 292 | (if (equal mod (nth 2 b)) | 292 | (if (equal mod (nth 2 b)) |
| 293 | (setq b (nth 1 b)) | 293 | (setq b (nth 1 b)) |
| 294 | (math-reject-arg b "*Inconsistent modulos")))) | 294 | (math-reject-arg b "*Inconsistent modulus")))) |
| 295 | (setq mod (nth 2 b) | 295 | (setq mod (nth 2 b) |
| 296 | b (nth 1 b))) | 296 | b (nth 1 b))) |
| 297 | (if (Math-messy-integerp mod) | 297 | (if (Math-messy-integerp mod) |
| @@ -303,9 +303,9 @@ the size of a Calc bignum digit.") | |||
| 303 | (if w | 303 | (if w |
| 304 | (if (/= w bits) | 304 | (if (/= w bits) |
| 305 | (calc-record-why | 305 | (calc-record-why |
| 306 | "*Warning: Modulo inconsistent with word size")) | 306 | "*Warning: Modulus inconsistent with word size")) |
| 307 | (setq w bits)) | 307 | (setq w bits)) |
| 308 | (calc-record-why "*Warning: Modulo is not a power of 2")) | 308 | (calc-record-why "*Warning: Modulus is not a power of 2")) |
| 309 | (math-make-mod (if b | 309 | (math-make-mod (if b |
| 310 | (funcall f a b w) | 310 | (funcall f a b w) |
| 311 | (funcall f a w)) | 311 | (funcall f a w)) |
diff --git a/lisp/calc/calc-embed.el b/lisp/calc/calc-embed.el index f011d187a42..f1f79252857 100644 --- a/lisp/calc/calc-embed.el +++ b/lisp/calc/calc-embed.el | |||
| @@ -125,7 +125,7 @@ | |||
| 125 | "The mode settings for Calc buffer when put in embedded mode.") | 125 | "The mode settings for Calc buffer when put in embedded mode.") |
| 126 | 126 | ||
| 127 | (defun calc-embedded-save-original-modes () | 127 | (defun calc-embedded-save-original-modes () |
| 128 | "Save the current Calc modes when entereding embedded mode." | 128 | "Save the current Calc modes when entering embedded mode." |
| 129 | (let ((calcbuf (save-excursion | 129 | (let ((calcbuf (save-excursion |
| 130 | (calc-create-buffer) | 130 | (calc-create-buffer) |
| 131 | (current-buffer))) | 131 | (current-buffer))) |
| @@ -144,7 +144,7 @@ | |||
| 144 | (let ((var (cdr (car v)))) | 144 | (let ((var (cdr (car v)))) |
| 145 | (unless (memq var '(the-language the-display-just)) | 145 | (unless (memq var '(the-language the-display-just)) |
| 146 | (setq modes | 146 | (setq modes |
| 147 | (cons (cons var (symbol-value var)) | 147 | (cons (cons var (symbol-value var)) |
| 148 | modes)))) | 148 | modes)))) |
| 149 | (setq v (cdr v)))) | 149 | (setq v (cdr v)))) |
| 150 | (setq calc-embedded-original-modes (cons lang modes))) | 150 | (setq calc-embedded-original-modes (cons lang modes))) |
| @@ -182,7 +182,7 @@ | |||
| 182 | (calc-set-mode-line)))) | 182 | (calc-set-mode-line)))) |
| 183 | (setq calc-embedded-original-modes nil))) | 183 | (setq calc-embedded-original-modes nil))) |
| 184 | 184 | ||
| 185 | ;; The variables calc-embed-outer-top, calc-embed-outer-bot, | 185 | ;; The variables calc-embed-outer-top, calc-embed-outer-bot, |
| 186 | ;; calc-embed-top and calc-embed-bot are | 186 | ;; calc-embed-top and calc-embed-bot are |
| 187 | ;; local to calc-do-embedded, calc-embedded-mark-formula, | 187 | ;; local to calc-do-embedded, calc-embedded-mark-formula, |
| 188 | ;; calc-embedded-duplicate, calc-embedded-new-formula and | 188 | ;; calc-embedded-duplicate, calc-embedded-new-formula and |
| @@ -195,7 +195,7 @@ | |||
| 195 | 195 | ||
| 196 | ;; The variable calc-embed-arg is local to calc-do-embedded, | 196 | ;; The variable calc-embed-arg is local to calc-do-embedded, |
| 197 | ;; calc-embedded-update-formula, calc-embedded-edit and | 197 | ;; calc-embedded-update-formula, calc-embedded-edit and |
| 198 | ;; calc-do-embedded-activate, but is used by | 198 | ;; calc-do-embedded-activate, but is used by |
| 199 | ;; calc-embedded-make-info, which is called by the above | 199 | ;; calc-embedded-make-info, which is called by the above |
| 200 | ;; functions. | 200 | ;; functions. |
| 201 | (defvar calc-embed-arg) | 201 | (defvar calc-embed-arg) |
| @@ -208,14 +208,14 @@ | |||
| 208 | 208 | ||
| 209 | ;; The following is to take care of any minor modes which override | 209 | ;; The following is to take care of any minor modes which override |
| 210 | ;; a Calc command. | 210 | ;; a Calc command. |
| 211 | (defvar calc-override-minor-modes-map | 211 | (defvar calc-override-minor-modes-map |
| 212 | (make-sparse-keymap) | 212 | (make-sparse-keymap) |
| 213 | "A list of keybindings that might be overwritten by minor modes.") | 213 | "A list of keybindings that might be overwritten by minor modes.") |
| 214 | 214 | ||
| 215 | ;; Add any keys that might be overwritten here. | 215 | ;; Add any keys that might be overwritten here. |
| 216 | (define-key calc-override-minor-modes-map "`" 'calc-edit) | 216 | (define-key calc-override-minor-modes-map "`" 'calc-edit) |
| 217 | 217 | ||
| 218 | (defvar calc-override-minor-modes | 218 | (defvar calc-override-minor-modes |
| 219 | (cons t calc-override-minor-modes-map)) | 219 | (cons t calc-override-minor-modes-map)) |
| 220 | 220 | ||
| 221 | (defun calc-do-embedded (calc-embed-arg end obeg oend) | 221 | (defun calc-do-embedded (calc-embed-arg end obeg oend) |
| @@ -279,7 +279,7 @@ | |||
| 279 | (calc-embedded-save-original-modes) | 279 | (calc-embedded-save-original-modes) |
| 280 | (or calc-embedded-globals | 280 | (or calc-embedded-globals |
| 281 | (calc-find-globals)) | 281 | (calc-find-globals)) |
| 282 | (setq info | 282 | (setq info |
| 283 | (calc-embedded-make-info (point) nil t calc-embed-arg end obeg oend)) | 283 | (calc-embedded-make-info (point) nil t calc-embed-arg end obeg oend)) |
| 284 | (if (eq (car-safe (aref info 8)) 'error) | 284 | (if (eq (car-safe (aref info 8)) 'error) |
| 285 | (progn | 285 | (progn |
| @@ -564,7 +564,7 @@ The command \\[yank] can retrieve it from there." | |||
| 564 | (goto-char calc-embed-outer-bot) | 564 | (goto-char calc-embed-outer-bot) |
| 565 | (insert "\n") | 565 | (insert "\n") |
| 566 | (setq new-top (point)) | 566 | (setq new-top (point)) |
| 567 | (insert-buffer-substring (current-buffer) | 567 | (insert-buffer-substring (current-buffer) |
| 568 | calc-embed-outer-top calc-embed-outer-bot) | 568 | calc-embed-outer-top calc-embed-outer-bot) |
| 569 | (goto-char (+ new-top (- calc-embed-top calc-embed-outer-top))) | 569 | (goto-char (+ new-top (- calc-embed-top calc-embed-outer-top))) |
| 570 | (let ((calc-embedded-quiet (if already t 'x))) | 570 | (let ((calc-embedded-quiet (if already t 'x))) |
| @@ -659,7 +659,7 @@ The command \\[yank] can retrieve it from there." | |||
| 659 | (equal (symbol-value (car (car v))) value)) | 659 | (equal (symbol-value (car (car v))) value)) |
| 660 | (progn | 660 | (progn |
| 661 | (setq changed t) | 661 | (setq changed t) |
| 662 | (if temp (setq calc-embed-prev-modes | 662 | (if temp (setq calc-embed-prev-modes |
| 663 | (cons (cons (car (car v)) | 663 | (cons (cons (car (car v)) |
| 664 | (symbol-value (car (car v)))) | 664 | (symbol-value (car (car v)))) |
| 665 | calc-embed-prev-modes))) | 665 | calc-embed-prev-modes))) |
| @@ -809,12 +809,12 @@ The command \\[yank] can retrieve it from there." | |||
| 809 | (list modes emodes pmodes))) | 809 | (list modes emodes pmodes))) |
| 810 | 810 | ||
| 811 | ;; The variable calc-embed-vars-used is local to calc-embedded-make-info, | 811 | ;; The variable calc-embed-vars-used is local to calc-embedded-make-info, |
| 812 | ;; calc-embedded-evaluate-expr and calc-embedded-update, but is | 812 | ;; calc-embedded-evaluate-expr and calc-embedded-update, but is |
| 813 | ;; used by calc-embedded-find-vars, which is called by the above functions. | 813 | ;; used by calc-embedded-find-vars, which is called by the above functions. |
| 814 | (defvar calc-embed-vars-used) | 814 | (defvar calc-embed-vars-used) |
| 815 | 815 | ||
| 816 | (defun calc-embedded-make-info (point cbuf fresh &optional | 816 | (defun calc-embedded-make-info (point cbuf fresh &optional |
| 817 | calc-embed-top calc-embed-bot | 817 | calc-embed-top calc-embed-bot |
| 818 | calc-embed-outer-top calc-embed-outer-bot) | 818 | calc-embed-outer-top calc-embed-outer-bot) |
| 819 | (let* ((bufentry (assq (current-buffer) calc-embedded-active)) | 819 | (let* ((bufentry (assq (current-buffer) calc-embedded-active)) |
| 820 | (found bufentry) | 820 | (found bufentry) |
| @@ -831,7 +831,7 @@ The command \\[yank] can retrieve it from there." | |||
| 831 | (newform (assoc major-mode calc-embedded-open-close-formula-alist)) | 831 | (newform (assoc major-mode calc-embedded-open-close-formula-alist)) |
| 832 | (newword (assoc major-mode calc-embedded-word-regexp-alist)) | 832 | (newword (assoc major-mode calc-embedded-word-regexp-alist)) |
| 833 | (newplain (assoc major-mode calc-embedded-open-close-plain-alist)) | 833 | (newplain (assoc major-mode calc-embedded-open-close-plain-alist)) |
| 834 | (newnewform | 834 | (newnewform |
| 835 | (assoc major-mode calc-embedded-open-close-new-formula-alist)) | 835 | (assoc major-mode calc-embedded-open-close-new-formula-alist)) |
| 836 | (newmode (assoc major-mode calc-embedded-open-close-mode-alist))) | 836 | (newmode (assoc major-mode calc-embedded-open-close-mode-alist))) |
| 837 | (when newann | 837 | (when newann |
| @@ -874,9 +874,9 @@ The command \\[yank] can retrieve it from there." | |||
| 874 | (aset info 1 (or cbuf (save-excursion | 874 | (aset info 1 (or cbuf (save-excursion |
| 875 | (calc-create-buffer) | 875 | (calc-create-buffer) |
| 876 | (current-buffer))))) | 876 | (current-buffer))))) |
| 877 | (if (and | 877 | (if (and |
| 878 | (or (integerp calc-embed-top) (equal calc-embed-top '(4))) | 878 | (or (integerp calc-embed-top) (equal calc-embed-top '(4))) |
| 879 | (not calc-embed-bot)) | 879 | (not calc-embed-bot)) |
| 880 | ; started with a user-supplied argument | 880 | ; started with a user-supplied argument |
| 881 | (progn | 881 | (progn |
| 882 | (if (equal calc-embed-top '(4)) | 882 | (if (equal calc-embed-top '(4)) |
| @@ -1157,7 +1157,7 @@ The command \\[yank] can retrieve it from there." | |||
| 1157 | (if need-display | 1157 | (if need-display |
| 1158 | (calc-embedded-set-justify (cdr (car calc-embed-prev-modes))))) | 1158 | (calc-embedded-set-justify (cdr (car calc-embed-prev-modes))))) |
| 1159 | (t | 1159 | (t |
| 1160 | (set (car (car calc-embed-prev-modes)) | 1160 | (set (car (car calc-embed-prev-modes)) |
| 1161 | (cdr (car calc-embed-prev-modes))))) | 1161 | (cdr (car calc-embed-prev-modes))))) |
| 1162 | (setq calc-embed-prev-modes (cdr calc-embed-prev-modes)))))) | 1162 | (setq calc-embed-prev-modes (cdr calc-embed-prev-modes)))))) |
| 1163 | 1163 | ||
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el index 8b816665d97..5429509af86 100644 --- a/lisp/calc/calc-ext.el +++ b/lisp/calc/calc-ext.el | |||
| @@ -432,7 +432,7 @@ | |||
| 432 | (define-key calc-mode-map "ls" 'calc-spn) | 432 | (define-key calc-mode-map "ls" 'calc-spn) |
| 433 | (define-key calc-mode-map "lm" 'calc-midi) | 433 | (define-key calc-mode-map "lm" 'calc-midi) |
| 434 | (define-key calc-mode-map "lf" 'calc-freq) | 434 | (define-key calc-mode-map "lf" 'calc-freq) |
| 435 | 435 | ||
| 436 | (define-key calc-mode-map "l?" 'calc-l-prefix-help) | 436 | (define-key calc-mode-map "l?" 'calc-l-prefix-help) |
| 437 | 437 | ||
| 438 | (define-key calc-mode-map "m" nil) | 438 | (define-key calc-mode-map "m" nil) |
| @@ -2867,7 +2867,7 @@ If X is not an error form, return 1." | |||
| 2867 | (memq (nth 2 expr) '(var-inf var-uinf var-nan))))) | 2867 | (memq (nth 2 expr) '(var-inf var-uinf var-nan))))) |
| 2868 | 2868 | ||
| 2869 | ;; The variable math-integral-cache is originally declared in calcalg2.el, | 2869 | ;; The variable math-integral-cache is originally declared in calcalg2.el, |
| 2870 | ;; but is set by math-defintegral and math-definitegral2. | 2870 | ;; but is set by math-defintegral and math-defintegral-2. |
| 2871 | (defvar math-integral-cache) | 2871 | (defvar math-integral-cache) |
| 2872 | 2872 | ||
| 2873 | (defmacro math-defintegral (funcs &rest code) | 2873 | (defmacro math-defintegral (funcs &rest code) |
diff --git a/lisp/calc/calc-help.el b/lisp/calc/calc-help.el index 427cf6ba233..66e9c002a47 100644 --- a/lisp/calc/calc-help.el +++ b/lisp/calc/calc-help.el | |||
| @@ -683,7 +683,7 @@ C-w Describe how there is no warranty for Calc." | |||
| 683 | (calc-do-prefix-help | 683 | (calc-do-prefix-help |
| 684 | '("Pack, Unpack, Identity, Diagonal, indeX, Build" | 684 | '("Pack, Unpack, Identity, Diagonal, indeX, Build" |
| 685 | "Row, Column, Subvector; Length; Find; Mask, Expand" | 685 | "Row, Column, Subvector; Length; Find; Mask, Expand" |
| 686 | "Tranpose, Arrange, reVerse; Head, Kons; rNorm" | 686 | "Transpose, Arrange, reVerse; Head, Kons; rNorm" |
| 687 | "SHIFT + Det, & (inverse), LUD, Trace, conJtrn, Cross" | 687 | "SHIFT + Det, & (inverse), LUD, Trace, conJtrn, Cross" |
| 688 | "SHIFT + Sort, Grade, Histogram; cNorm" | 688 | "SHIFT + Sort, Grade, Histogram; cNorm" |
| 689 | "SHIFT + Apply, Map, Reduce, accUm, Inner-, Outer-prod" | 689 | "SHIFT + Apply, Map, Reduce, accUm, Inner-, Outer-prod" |
diff --git a/lisp/calc/calc-misc.el b/lisp/calc/calc-misc.el index db86c08422e..6d034927ae0 100644 --- a/lisp/calc/calc-misc.el +++ b/lisp/calc/calc-misc.el | |||
| @@ -260,13 +260,13 @@ Calc user interface as before (either C-x * C or C-x * K; initially C-x * C). | |||
| 260 | (length msg)) 32) | 260 | (length msg)) 32) |
| 261 | " [?=MORE]") | 261 | " [?=MORE]") |
| 262 | "")))))))) | 262 | "")))))))) |
| 263 | 263 | ||
| 264 | 264 | ||
| 265 | 265 | ||
| 266 | 266 | ||
| 267 | ;;;; Stack and buffer management. | 267 | ;;;; Stack and buffer management. |
| 268 | 268 | ||
| 269 | ;; The variable calc-last-why-command is set in calc-do-handly-whys | 269 | ;; The variable calc-last-why-command is set in calc-do-handle-whys |
| 270 | ;; and used in calc-why (in calc-stuff.el). | 270 | ;; and used in calc-why (in calc-stuff.el). |
| 271 | (defvar calc-last-why-command) | 271 | (defvar calc-last-why-command) |
| 272 | 272 | ||
diff --git a/lisp/calc/calc-poly.el b/lisp/calc/calc-poly.el index e16c26eaa19..97d955eb07d 100644 --- a/lisp/calc/calc-poly.el +++ b/lisp/calc/calc-poly.el | |||
| @@ -419,7 +419,7 @@ | |||
| 419 | (list 'frac 1 denom)) | 419 | (list 'frac 1 denom)) |
| 420 | 1)) | 420 | 1)) |
| 421 | 421 | ||
| 422 | ;;; Compute the GCD of two monovariate polynomial lists. | 422 | ;;; Compute the GCD of two univariate polynomial lists. |
| 423 | ;;; Knuth section 4.6.1, algorithm C. | 423 | ;;; Knuth section 4.6.1, algorithm C. |
| 424 | (defun math-poly-gcd-coefs (u v) | 424 | (defun math-poly-gcd-coefs (u v) |
| 425 | (let ((d (math-poly-gcd (math-poly-gcd-list u) | 425 | (let ((d (math-poly-gcd (math-poly-gcd-list u) |
diff --git a/lisp/calc/calc-units.el b/lisp/calc/calc-units.el index 43cb5828e85..86e8cbbc73a 100644 --- a/lisp/calc/calc-units.el +++ b/lisp/calc/calc-units.el | |||
| @@ -1598,7 +1598,7 @@ In symbolic mode, return the list (^ a b)." | |||
| 1598 | (or (math-lessp acoeff bcoeff) | 1598 | (or (math-lessp acoeff bcoeff) |
| 1599 | (math-equal acoeff bcoeff))) | 1599 | (math-equal acoeff bcoeff))) |
| 1600 | (calc-record-why "*Improper coefficients" nil) | 1600 | (calc-record-why "*Improper coefficients" nil) |
| 1601 | (math-mul | 1601 | (math-mul |
| 1602 | (if (equal aunit '(var dB var-dB)) | 1602 | (if (equal aunit '(var dB var-dB)) |
| 1603 | (let ((coef (if power 10 20))) | 1603 | (let ((coef (if power 10 20))) |
| 1604 | (math-mul coef | 1604 | (math-mul coef |
| @@ -1681,7 +1681,7 @@ In symbolic mode, return the list (^ a b)." | |||
| 1681 | (math-simplify | 1681 | (math-simplify |
| 1682 | (math-mul | 1682 | (math-mul |
| 1683 | (math-add | 1683 | (math-add |
| 1684 | coef | 1684 | coef |
| 1685 | (math-mul (if power 10 20) | 1685 | (math-mul (if power 10 20) |
| 1686 | (math-conditional-apply 'calcFunc-log10 number))) | 1686 | (math-conditional-apply 'calcFunc-log10 number))) |
| 1687 | units))) | 1687 | units))) |
| @@ -1689,7 +1689,7 @@ In symbolic mode, return the list (^ a b)." | |||
| 1689 | (math-simplify | 1689 | (math-simplify |
| 1690 | (math-mul | 1690 | (math-mul |
| 1691 | (math-add | 1691 | (math-add |
| 1692 | coef | 1692 | coef |
| 1693 | (math-div (math-conditional-apply 'calcFunc-ln number) (if power 2 1))) | 1693 | (math-div (math-conditional-apply 'calcFunc-ln number) (if power 2 1))) |
| 1694 | units)))) | 1694 | units)))) |
| 1695 | (calc-record-why "*Improper units" nil)))) | 1695 | (calc-record-why "*Improper units" nil)))) |
| @@ -1707,7 +1707,7 @@ In symbolic mode, return the list (^ a b)." | |||
| 1707 | (math-simplify | 1707 | (math-simplify |
| 1708 | (math-mul | 1708 | (math-mul |
| 1709 | (math-sub | 1709 | (math-sub |
| 1710 | coef | 1710 | coef |
| 1711 | (math-mul (if power 10 20) | 1711 | (math-mul (if power 10 20) |
| 1712 | (math-conditional-apply 'calcFunc-log10 b))) | 1712 | (math-conditional-apply 'calcFunc-log10 b))) |
| 1713 | units))) | 1713 | units))) |
| @@ -1715,7 +1715,7 @@ In symbolic mode, return the list (^ a b)." | |||
| 1715 | (math-simplify | 1715 | (math-simplify |
| 1716 | (math-mul | 1716 | (math-mul |
| 1717 | (math-sub | 1717 | (math-sub |
| 1718 | coef | 1718 | coef |
| 1719 | (math-div (math-conditional-apply 'calcFunc-ln b) (if power 2 1))) | 1719 | (math-div (math-conditional-apply 'calcFunc-ln b) (if power 2 1))) |
| 1720 | units))))))))) | 1720 | units))))))))) |
| 1721 | 1721 | ||
| @@ -1762,17 +1762,17 @@ In symbolic mode, return the list (^ a b)." | |||
| 1762 | (coeff (math-simplify (math-div val units)))) | 1762 | (coeff (math-simplify (math-div val units)))) |
| 1763 | (math-mul | 1763 | (math-mul |
| 1764 | (if (equal lunit '(var dB var-dB)) | 1764 | (if (equal lunit '(var dB var-dB)) |
| 1765 | (math-mul | 1765 | (math-mul |
| 1766 | ref | 1766 | ref |
| 1767 | (math-conditional-pow | 1767 | (math-conditional-pow |
| 1768 | 10 | 1768 | 10 |
| 1769 | (math-div | 1769 | (math-div |
| 1770 | coeff | 1770 | coeff |
| 1771 | (if power 10 20)))) | 1771 | (if power 10 20)))) |
| 1772 | (math-mul | 1772 | (math-mul |
| 1773 | ref | 1773 | ref |
| 1774 | (math-conditional-apply 'calcFunc-exp | 1774 | (math-conditional-apply 'calcFunc-exp |
| 1775 | (if power | 1775 | (if power |
| 1776 | (math-mul 2 coeff) | 1776 | (math-mul 2 coeff) |
| 1777 | coeff)))) | 1777 | coeff)))) |
| 1778 | runits))))) | 1778 | runits))))) |
| @@ -1869,7 +1869,7 @@ In symbolic mode, return the list (^ a b)." | |||
| 1869 | (let* ((n (math-round num)) | 1869 | (let* ((n (math-round num)) |
| 1870 | (diff (math-abs | 1870 | (diff (math-abs |
| 1871 | (math-sub num n)))) | 1871 | (math-sub num n)))) |
| 1872 | (if (< (math-compare diff | 1872 | (if (< (math-compare diff |
| 1873 | (math-div (math-read-expr calc-note-threshold) 100)) 0) | 1873 | (math-div (math-read-expr calc-note-threshold) 100)) 0) |
| 1874 | n | 1874 | n |
| 1875 | num))) | 1875 | num))) |
| @@ -1927,10 +1927,10 @@ If non-nil, return a list consisting of the note and the cents coefficient." | |||
| 1927 | (assoc (nth 1 note) math-notes) | 1927 | (assoc (nth 1 note) math-notes) |
| 1928 | (integerp (nth 2 note)) | 1928 | (integerp (nth 2 note)) |
| 1929 | (setq rnote note) | 1929 | (setq rnote note) |
| 1930 | (or | 1930 | (or |
| 1931 | (not cents) | 1931 | (not cents) |
| 1932 | (Math-numberp (setq rcents | 1932 | (Math-numberp (setq rcents |
| 1933 | (math-simplify | 1933 | (math-simplify |
| 1934 | (math-div cents '(var cents var-cents))))))) | 1934 | (math-div cents '(var cents var-cents))))))) |
| 1935 | (list rnote rcents)) | 1935 | (list rnote rcents)) |
| 1936 | ((and ;; CENTS is a note, NOTE is cents. | 1936 | ((and ;; CENTS is a note, NOTE is cents. |
| @@ -1938,10 +1938,10 @@ If non-nil, return a list consisting of the note and the cents coefficient." | |||
| 1938 | (assoc (nth 1 cents) math-notes) | 1938 | (assoc (nth 1 cents) math-notes) |
| 1939 | (integerp (nth 2 cents)) | 1939 | (integerp (nth 2 cents)) |
| 1940 | (setq rnote cents) | 1940 | (setq rnote cents) |
| 1941 | (or | 1941 | (or |
| 1942 | (not note) | 1942 | (not note) |
| 1943 | (Math-numberp (setq rcents | 1943 | (Math-numberp (setq rcents |
| 1944 | (math-simplify | 1944 | (math-simplify |
| 1945 | (math-div note '(var cents var-cents))))))) | 1945 | (math-div note '(var cents var-cents))))))) |
| 1946 | (list rnote rcents))))) | 1946 | (list rnote rcents))))) |
| 1947 | 1947 | ||
| @@ -1972,7 +1972,7 @@ If non-nil, return a list consisting of the note and the cents coefficient." | |||
| 1972 | "Return the scientific pitch notation corresponding to midi number MIDI." | 1972 | "Return the scientific pitch notation corresponding to midi number MIDI." |
| 1973 | (let (midin cents) | 1973 | (let (midin cents) |
| 1974 | (if (math-integerp midi) | 1974 | (if (math-integerp midi) |
| 1975 | (setq midin midi | 1975 | (setq midin midi |
| 1976 | cents nil) | 1976 | cents nil) |
| 1977 | (setq midin (math-floor midi) | 1977 | (setq midin (math-floor midi) |
| 1978 | cents (math-mul 100 (math-sub midi midin)))) | 1978 | cents (math-mul 100 (math-sub midi midin)))) |
| @@ -1989,7 +1989,7 @@ If non-nil, return a list consisting of the note and the cents coefficient." | |||
| 1989 | (n (math-sub (car nr) 1)) | 1989 | (n (math-sub (car nr) 1)) |
| 1990 | (note (car (rassoc (cdr nr) math-notes)))) | 1990 | (note (car (rassoc (cdr nr) math-notes)))) |
| 1991 | (if cents | 1991 | (if cents |
| 1992 | (list '+ (list 'calcFunc-subscr note n) | 1992 | (list '+ (list 'calcFunc-subscr note n) |
| 1993 | (list '* cents '(var cents var-cents))) | 1993 | (list '* cents '(var cents var-cents))) |
| 1994 | (list 'calcFunc-subscr note n))))) | 1994 | (list 'calcFunc-subscr note n))))) |
| 1995 | 1995 | ||
| @@ -2005,7 +2005,7 @@ If non-nil, return a list consisting of the note and the cents coefficient." | |||
| 2005 | 440 | 2005 | 440 |
| 2006 | (math-pow | 2006 | (math-pow |
| 2007 | 2 | 2007 | 2 |
| 2008 | (math-div | 2008 | (math-div |
| 2009 | (math-sub | 2009 | (math-sub |
| 2010 | midi | 2010 | midi |
| 2011 | 69) | 2011 | 69) |
| @@ -2018,7 +2018,7 @@ If non-nil, return a list consisting of the note and the cents coefficient." | |||
| 2018 | 2018 | ||
| 2019 | (defun calcFunc-spn (expr) | 2019 | (defun calcFunc-spn (expr) |
| 2020 | "Return EXPR written as scientific pitch notation + cents." | 2020 | "Return EXPR written as scientific pitch notation + cents." |
| 2021 | ;; Get the coeffecient of Hz | 2021 | ;; Get the coefficient of Hz |
| 2022 | (let (note) | 2022 | (let (note) |
| 2023 | (cond | 2023 | (cond |
| 2024 | ((setq note (math-freqp expr)) | 2024 | ((setq note (math-freqp expr)) |
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index 55ac412b435..60a84bdff35 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el | |||
| @@ -124,7 +124,7 @@ | |||
| 124 | ;; target integral is not complete (and the time limit has not run out) | 124 | ;; target integral is not complete (and the time limit has not run out) |
| 125 | ;; choose an incomplete integral from the cache and, for every integral | 125 | ;; choose an incomplete integral from the cache and, for every integral |
| 126 | ;; appearing in its RHS's, add those integrals to the cache using the | 126 | ;; appearing in its RHS's, add those integrals to the cache using the |
| 127 | ;; same substitition, parts, etc. rules. The cache should be organized | 127 | ;; same substitution, parts, etc. rules. The cache should be organized |
| 128 | ;; as a priority queue, choosing the "simplest" incomplete integral at | 128 | ;; as a priority queue, choosing the "simplest" incomplete integral at |
| 129 | ;; each step, or choosing randomly among equally simple integrals. | 129 | ;; each step, or choosing randomly among equally simple integrals. |
| 130 | ;; Simplicity equals small size, and few steps removed from the original | 130 | ;; Simplicity equals small size, and few steps removed from the original |
| @@ -428,7 +428,7 @@ in normal mode." | |||
| 428 | nil | 428 | nil |
| 429 | "If non-nil, use a separate face to indicate selected sub-formulas. | 429 | "If non-nil, use a separate face to indicate selected sub-formulas. |
| 430 | If `calc-show-selections' is non-nil, then selected sub-formulas are shown | 430 | If `calc-show-selections' is non-nil, then selected sub-formulas are shown |
| 431 | by displaying the rest of the formula in `calc-nonselected-face'. | 431 | by displaying the rest of the formula in `calc-nonselected-face'. |
| 432 | If `calc-show-selections' is nil, then selected sub-formulas are shown | 432 | If `calc-show-selections' is nil, then selected sub-formulas are shown |
| 433 | by displaying the sub-formula in `calc-selected-face'." | 433 | by displaying the sub-formula in `calc-selected-face'." |
| 434 | :group 'calc | 434 | :group 'calc |
| @@ -446,14 +446,14 @@ by displaying the sub-formula in `calc-selected-face'." | |||
| 446 | :group 'calc | 446 | :group 'calc |
| 447 | :type '(string)) | 447 | :type '(string)) |
| 448 | 448 | ||
| 449 | (defcustom calc-note-threshold "1" | 449 | (defcustom calc-note-threshold "1" |
| 450 | "The number of cents that a frequency should be near a note | 450 | "The number of cents that a frequency should be near a note |
| 451 | to be identified as that note." | 451 | to be identified as that note." |
| 452 | :type 'string | 452 | :type 'string |
| 453 | :group 'calc) | 453 | :group 'calc) |
| 454 | 454 | ||
| 455 | (defface calc-nonselected-face | 455 | (defface calc-nonselected-face |
| 456 | '((t :inherit shadow | 456 | '((t :inherit shadow |
| 457 | :slant italic)) | 457 | :slant italic)) |
| 458 | "Face used to show the non-selected portion of a formula." | 458 | "Face used to show the non-selected portion of a formula." |
| 459 | :group 'calc) | 459 | :group 'calc) |
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 1b980b3b1fa..d161602bec0 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el | |||
| @@ -147,7 +147,7 @@ See the documentation for the function `diary-list-sexp-entries'." | |||
| 147 | Nil means there are no comments. The diary does not display | 147 | Nil means there are no comments. The diary does not display |
| 148 | parts of entries that are inside comments. You can use comments | 148 | parts of entries that are inside comments. You can use comments |
| 149 | for whatever you like, e.g. for meta-data that packages such as | 149 | for whatever you like, e.g. for meta-data that packages such as |
| 150 | `appt.el' can use. Comments may not span mutliple lines, and there | 150 | `appt.el' can use. Comments may not span multiple lines, and there |
| 151 | can be only one comment on any line. | 151 | can be only one comment on any line. |
| 152 | See also `diary-comment-end'." | 152 | See also `diary-comment-end'." |
| 153 | :version "24.1" | 153 | :version "24.1" |
diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el index 3ffd55db18d..62bea11e82e 100644 --- a/lisp/calendar/icalendar.el +++ b/lisp/calendar/icalendar.el | |||
| @@ -112,7 +112,7 @@ | |||
| 112 | ;; Customizables | 112 | ;; Customizables |
| 113 | ;; ====================================================================== | 113 | ;; ====================================================================== |
| 114 | (defgroup icalendar nil | 114 | (defgroup icalendar nil |
| 115 | "Icalendar support." | 115 | "iCalendar support." |
| 116 | :prefix "icalendar-" | 116 | :prefix "icalendar-" |
| 117 | :group 'calendar) | 117 | :group 'calendar) |
| 118 | 118 | ||
| @@ -234,7 +234,7 @@ code for the event, and your personal domain name." | |||
| 234 | "Enable icalendar debug messages.") | 234 | "Enable icalendar debug messages.") |
| 235 | 235 | ||
| 236 | ;; ====================================================================== | 236 | ;; ====================================================================== |
| 237 | ;; NO USER SERVICABLE PARTS BELOW THIS LINE | 237 | ;; NO USER SERVICEABLE PARTS BELOW THIS LINE |
| 238 | ;; ====================================================================== | 238 | ;; ====================================================================== |
| 239 | 239 | ||
| 240 | (defconst icalendar--weekday-array ["SU" "MO" "TU" "WE" "TH" "FR" "SA"]) | 240 | (defconst icalendar--weekday-array ["SU" "MO" "TU" "WE" "TH" "FR" "SA"]) |
| @@ -474,9 +474,9 @@ The strings are suitable for assembling into a TZ variable." | |||
| 474 | (week (if (eq day -1) | 474 | (week (if (eq day -1) |
| 475 | byday | 475 | byday |
| 476 | (substring byday 0 -2)))) | 476 | (substring byday 0 -2)))) |
| 477 | ;; "Translate" the icalendar way to specify the last | 477 | ;; "Translate" the iCalendar way to specify the last |
| 478 | ;; (sun|mon|...)day in month to the tzset way. | 478 | ;; (sun|mon|...)day in month to the tzset way. |
| 479 | (if (string= week "-1") ; last day as icalendar calls it | 479 | (if (string= week "-1") ; last day as iCalendar calls it |
| 480 | (setq week "5")) ; last day as tzset calls it | 480 | (setq week "5")) ; last day as tzset calls it |
| 481 | (concat "M" bymonth "." week "." (if (eq day -1) "0" | 481 | (concat "M" bymonth "." week "." (if (eq day -1) "0" |
| 482 | (int-to-string day)) | 482 | (int-to-string day)) |
| @@ -907,7 +907,7 @@ would be \"pm\"." | |||
| 907 | "\\\\," "," string))))) | 907 | "\\\\," "," string))))) |
| 908 | 908 | ||
| 909 | ;; ====================================================================== | 909 | ;; ====================================================================== |
| 910 | ;; Export -- convert emacs-diary to icalendar | 910 | ;; Export -- convert emacs-diary to iCalendar |
| 911 | ;; ====================================================================== | 911 | ;; ====================================================================== |
| 912 | 912 | ||
| 913 | ;;;###autoload | 913 | ;;;###autoload |
| @@ -915,7 +915,7 @@ would be \"pm\"." | |||
| 915 | "Export diary file to iCalendar format. | 915 | "Export diary file to iCalendar format. |
| 916 | All diary entries in the file DIARY-FILENAME are converted to iCalendar | 916 | All diary entries in the file DIARY-FILENAME are converted to iCalendar |
| 917 | format. The result is appended to the file ICAL-FILENAME." | 917 | format. The result is appended to the file ICAL-FILENAME." |
| 918 | (interactive "FExport diary data from file: | 918 | (interactive "FExport diary data from file: |
| 919 | Finto iCalendar file: ") | 919 | Finto iCalendar file: ") |
| 920 | (save-current-buffer | 920 | (save-current-buffer |
| 921 | (set-buffer (find-file diary-filename)) | 921 | (set-buffer (find-file diary-filename)) |
| @@ -1063,7 +1063,7 @@ FExport diary data into iCalendar file: ") | |||
| 1063 | found-error)) | 1063 | found-error)) |
| 1064 | 1064 | ||
| 1065 | (defun icalendar--convert-to-ical (nonmarker entry-main) | 1065 | (defun icalendar--convert-to-ical (nonmarker entry-main) |
| 1066 | "Convert a diary entry to icalendar format. | 1066 | "Convert a diary entry to iCalendar format. |
| 1067 | NONMARKER is a regular expression matching the start of non-marking | 1067 | NONMARKER is a regular expression matching the start of non-marking |
| 1068 | entries. ENTRY-MAIN is the first line of the diary entry." | 1068 | entries. ENTRY-MAIN is the first line of the diary entry." |
| 1069 | (or | 1069 | (or |
| @@ -1194,7 +1194,7 @@ Returns an alist." | |||
| 1194 | 1194 | ||
| 1195 | ;; subroutines for icalendar-export-region | 1195 | ;; subroutines for icalendar-export-region |
| 1196 | (defun icalendar--convert-ordinary-to-ical (nonmarker entry-main) | 1196 | (defun icalendar--convert-ordinary-to-ical (nonmarker entry-main) |
| 1197 | "Convert \"ordinary\" diary entry to icalendar format. | 1197 | "Convert \"ordinary\" diary entry to iCalendar format. |
| 1198 | NONMARKER is a regular expression matching the start of non-marking | 1198 | NONMARKER is a regular expression matching the start of non-marking |
| 1199 | entries. ENTRY-MAIN is the first line of the diary entry." | 1199 | entries. ENTRY-MAIN is the first line of the diary entry." |
| 1200 | (if (string-match | 1200 | (if (string-match |
| @@ -1291,7 +1291,7 @@ Returns day number." | |||
| 1291 | result)) | 1291 | result)) |
| 1292 | 1292 | ||
| 1293 | (defun icalendar--convert-weekly-to-ical (nonmarker entry-main) | 1293 | (defun icalendar--convert-weekly-to-ical (nonmarker entry-main) |
| 1294 | "Convert weekly diary entry to icalendar format. | 1294 | "Convert weekly diary entry to iCalendar format. |
| 1295 | NONMARKER is a regular expression matching the start of non-marking | 1295 | NONMARKER is a regular expression matching the start of non-marking |
| 1296 | entries. ENTRY-MAIN is the first line of the diary entry." | 1296 | entries. ENTRY-MAIN is the first line of the diary entry." |
| 1297 | (if (and (string-match (concat nonmarker | 1297 | (if (and (string-match (concat nonmarker |
| @@ -1373,7 +1373,7 @@ entries. ENTRY-MAIN is the first line of the diary entry." | |||
| 1373 | nil)) | 1373 | nil)) |
| 1374 | 1374 | ||
| 1375 | (defun icalendar--convert-yearly-to-ical (nonmarker entry-main) | 1375 | (defun icalendar--convert-yearly-to-ical (nonmarker entry-main) |
| 1376 | "Convert yearly diary entry to icalendar format. | 1376 | "Convert yearly diary entry to iCalendar format. |
| 1377 | NONMARKER is a regular expression matching the start of non-marking | 1377 | NONMARKER is a regular expression matching the start of non-marking |
| 1378 | entries. ENTRY-MAIN is the first line of the diary entry." | 1378 | entries. ENTRY-MAIN is the first line of the diary entry." |
| 1379 | (if (string-match (concat nonmarker | 1379 | (if (string-match (concat nonmarker |
| @@ -1453,7 +1453,7 @@ entries. ENTRY-MAIN is the first line of the diary entry." | |||
| 1453 | nil)) | 1453 | nil)) |
| 1454 | 1454 | ||
| 1455 | (defun icalendar--convert-sexp-to-ical (nonmarker entry-main) | 1455 | (defun icalendar--convert-sexp-to-ical (nonmarker entry-main) |
| 1456 | "Convert complex sexp diary entry to icalendar format -- unsupported! | 1456 | "Convert complex sexp diary entry to iCalendar format -- unsupported! |
| 1457 | 1457 | ||
| 1458 | FIXME! | 1458 | FIXME! |
| 1459 | 1459 | ||
| @@ -1480,7 +1480,7 @@ entries. ENTRY-MAIN is the first line of the diary entry." | |||
| 1480 | nil))) | 1480 | nil))) |
| 1481 | 1481 | ||
| 1482 | (defun icalendar--convert-block-to-ical (nonmarker entry-main) | 1482 | (defun icalendar--convert-block-to-ical (nonmarker entry-main) |
| 1483 | "Convert block diary entry to icalendar format. | 1483 | "Convert block diary entry to iCalendar format. |
| 1484 | NONMARKER is a regular expression matching the start of non-marking | 1484 | NONMARKER is a regular expression matching the start of non-marking |
| 1485 | entries. ENTRY-MAIN is the first line of the diary entry." | 1485 | entries. ENTRY-MAIN is the first line of the diary entry." |
| 1486 | (if (string-match (concat nonmarker | 1486 | (if (string-match (concat nonmarker |
| @@ -1556,10 +1556,10 @@ entries. ENTRY-MAIN is the first line of the diary entry." | |||
| 1556 | nil)) | 1556 | nil)) |
| 1557 | 1557 | ||
| 1558 | (defun icalendar--convert-float-to-ical (nonmarker entry-main) | 1558 | (defun icalendar--convert-float-to-ical (nonmarker entry-main) |
| 1559 | "Convert float diary entry to icalendar format -- partially unsupported! | 1559 | "Convert float diary entry to iCalendar format -- partially unsupported! |
| 1560 | 1560 | ||
| 1561 | FIXME! DAY from diary-float yet unimplemented. | 1561 | FIXME! DAY from diary-float yet unimplemented. |
| 1562 | 1562 | ||
| 1563 | NONMARKER is a regular expression matching the start of non-marking | 1563 | NONMARKER is a regular expression matching the start of non-marking |
| 1564 | entries. ENTRY-MAIN is the first line of the diary entry." | 1564 | entries. ENTRY-MAIN is the first line of the diary entry." |
| 1565 | (if (string-match (concat nonmarker "%%\\((diary-float .+\\) ?$") entry-main) | 1565 | (if (string-match (concat nonmarker "%%\\((diary-float .+\\) ?$") entry-main) |
| @@ -1619,7 +1619,7 @@ entries. ENTRY-MAIN is the first line of the diary entry." | |||
| 1619 | nil)) | 1619 | nil)) |
| 1620 | 1620 | ||
| 1621 | (defun icalendar--convert-date-to-ical (nonmarker entry-main) | 1621 | (defun icalendar--convert-date-to-ical (nonmarker entry-main) |
| 1622 | "Convert `diary-date' diary entry to icalendar format -- unsupported! | 1622 | "Convert `diary-date' diary entry to iCalendar format -- unsupported! |
| 1623 | 1623 | ||
| 1624 | FIXME! | 1624 | FIXME! |
| 1625 | 1625 | ||
| @@ -1635,7 +1635,7 @@ entries. ENTRY-MAIN is the first line of the diary entry." | |||
| 1635 | nil)) | 1635 | nil)) |
| 1636 | 1636 | ||
| 1637 | (defun icalendar--convert-cyclic-to-ical (nonmarker entry-main) | 1637 | (defun icalendar--convert-cyclic-to-ical (nonmarker entry-main) |
| 1638 | "Convert `diary-cyclic' diary entry to icalendar format. | 1638 | "Convert `diary-cyclic' diary entry to iCalendar format. |
| 1639 | NONMARKER is a regular expression matching the start of non-marking | 1639 | NONMARKER is a regular expression matching the start of non-marking |
| 1640 | entries. ENTRY-MAIN is the first line of the diary entry." | 1640 | entries. ENTRY-MAIN is the first line of the diary entry." |
| 1641 | (if (string-match (concat nonmarker | 1641 | (if (string-match (concat nonmarker |
| @@ -1709,7 +1709,7 @@ entries. ENTRY-MAIN is the first line of the diary entry." | |||
| 1709 | nil)) | 1709 | nil)) |
| 1710 | 1710 | ||
| 1711 | (defun icalendar--convert-anniversary-to-ical (nonmarker entry-main) | 1711 | (defun icalendar--convert-anniversary-to-ical (nonmarker entry-main) |
| 1712 | "Convert `diary-anniversary' diary entry to icalendar format. | 1712 | "Convert `diary-anniversary' diary entry to iCalendar format. |
| 1713 | NONMARKER is a regular expression matching the start of non-marking | 1713 | NONMARKER is a regular expression matching the start of non-marking |
| 1714 | entries. ENTRY-MAIN is the first line of the diary entry." | 1714 | entries. ENTRY-MAIN is the first line of the diary entry." |
| 1715 | (if (string-match (concat nonmarker | 1715 | (if (string-match (concat nonmarker |
| @@ -1783,7 +1783,7 @@ entries. ENTRY-MAIN is the first line of the diary entry." | |||
| 1783 | nil)) | 1783 | nil)) |
| 1784 | 1784 | ||
| 1785 | ;; ====================================================================== | 1785 | ;; ====================================================================== |
| 1786 | ;; Import -- convert icalendar to emacs-diary | 1786 | ;; Import -- convert iCalendar to emacs-diary |
| 1787 | ;; ====================================================================== | 1787 | ;; ====================================================================== |
| 1788 | 1788 | ||
| 1789 | ;;;###autoload | 1789 | ;;;###autoload |
| @@ -1794,8 +1794,8 @@ Argument ICAL-FILENAME output iCalendar file. | |||
| 1794 | Argument DIARY-FILENAME input `diary-file'. | 1794 | Argument DIARY-FILENAME input `diary-file'. |
| 1795 | Optional argument NON-MARKING determines whether events are created as | 1795 | Optional argument NON-MARKING determines whether events are created as |
| 1796 | non-marking or not." | 1796 | non-marking or not." |
| 1797 | (interactive "fImport iCalendar data from file: | 1797 | (interactive "fImport iCalendar data from file: |
| 1798 | Finto diary file: | 1798 | Finto diary file: |
| 1799 | p") | 1799 | p") |
| 1800 | ;; clean up the diary file | 1800 | ;; clean up the diary file |
| 1801 | (save-current-buffer | 1801 | (save-current-buffer |
| @@ -1825,19 +1825,19 @@ buffer `*icalendar-errors*'." | |||
| 1825 | (interactive) | 1825 | (interactive) |
| 1826 | (save-current-buffer | 1826 | (save-current-buffer |
| 1827 | ;; prepare ical | 1827 | ;; prepare ical |
| 1828 | (message "Preparing icalendar...") | 1828 | (message "Preparing iCalendar...") |
| 1829 | (set-buffer (icalendar--get-unfolded-buffer (current-buffer))) | 1829 | (set-buffer (icalendar--get-unfolded-buffer (current-buffer))) |
| 1830 | (goto-char (point-min)) | 1830 | (goto-char (point-min)) |
| 1831 | (message "Preparing icalendar...done") | 1831 | (message "Preparing iCalendar...done") |
| 1832 | (if (re-search-forward "^BEGIN:VCALENDAR\\s-*$" nil t) | 1832 | (if (re-search-forward "^BEGIN:VCALENDAR\\s-*$" nil t) |
| 1833 | (let (ical-contents ical-errors) | 1833 | (let (ical-contents ical-errors) |
| 1834 | ;; read ical | 1834 | ;; read ical |
| 1835 | (message "Reading icalendar...") | 1835 | (message "Reading iCalendar...") |
| 1836 | (beginning-of-line) | 1836 | (beginning-of-line) |
| 1837 | (setq ical-contents (icalendar--read-element nil nil)) | 1837 | (setq ical-contents (icalendar--read-element nil nil)) |
| 1838 | (message "Reading icalendar...done") | 1838 | (message "Reading iCalendar...done") |
| 1839 | ;; convert ical | 1839 | ;; convert ical |
| 1840 | (message "Converting icalendar...") | 1840 | (message "Converting iCalendar...") |
| 1841 | (setq ical-errors (icalendar--convert-ical-to-diary | 1841 | (setq ical-errors (icalendar--convert-ical-to-diary |
| 1842 | ical-contents | 1842 | ical-contents |
| 1843 | diary-file do-not-ask non-marking)) | 1843 | diary-file do-not-ask non-marking)) |
| @@ -1848,11 +1848,11 @@ buffer `*icalendar-errors*'." | |||
| 1848 | (save-current-buffer | 1848 | (save-current-buffer |
| 1849 | (set-buffer b) | 1849 | (set-buffer b) |
| 1850 | (save-buffer))))) | 1850 | (save-buffer))))) |
| 1851 | (message "Converting icalendar...done") | 1851 | (message "Converting iCalendar...done") |
| 1852 | ;; return t if no error occurred | 1852 | ;; return t if no error occurred |
| 1853 | (not ical-errors)) | 1853 | (not ical-errors)) |
| 1854 | (message | 1854 | (message |
| 1855 | "Current buffer does not contain icalendar contents!") | 1855 | "Current buffer does not contain iCalendar contents!") |
| 1856 | ;; return nil, i.e. import did not work | 1856 | ;; return nil, i.e. import did not work |
| 1857 | nil))) | 1857 | nil))) |
| 1858 | 1858 | ||
| @@ -2056,12 +2056,12 @@ written into the buffer `*icalendar-errors*'." | |||
| 2056 | (set-buffer (get-buffer-create "*icalendar-errors*")) | 2056 | (set-buffer (get-buffer-create "*icalendar-errors*")) |
| 2057 | (erase-buffer) | 2057 | (erase-buffer) |
| 2058 | (insert error-string))) | 2058 | (insert error-string))) |
| 2059 | (message "Converting icalendar...done") | 2059 | (message "Converting iCalendar...done") |
| 2060 | found-error)) | 2060 | found-error)) |
| 2061 | 2061 | ||
| 2062 | ;; subroutines for importing | 2062 | ;; subroutines for importing |
| 2063 | (defun icalendar--convert-recurring-to-diary (e dtstart-dec start-t end-t) | 2063 | (defun icalendar--convert-recurring-to-diary (e dtstart-dec start-t end-t) |
| 2064 | "Convert recurring icalendar event E to diary format. | 2064 | "Convert recurring iCalendar event E to diary format. |
| 2065 | 2065 | ||
| 2066 | DTSTART-DEC is the DTSTART property of E. | 2066 | DTSTART-DEC is the DTSTART property of E. |
| 2067 | START-T is the event's start time in diary format. | 2067 | START-T is the event's start time in diary format. |
| @@ -2274,7 +2274,7 @@ END-T is the event's end time in diary format." | |||
| 2274 | result)) | 2274 | result)) |
| 2275 | 2275 | ||
| 2276 | (defun icalendar--convert-non-recurring-all-day-to-diary (event start-d end-d) | 2276 | (defun icalendar--convert-non-recurring-all-day-to-diary (event start-d end-d) |
| 2277 | "Convert non-recurring icalendar EVENT to diary format. | 2277 | "Convert non-recurring iCalendar EVENT to diary format. |
| 2278 | 2278 | ||
| 2279 | DTSTART is the decoded DTSTART property of E. | 2279 | DTSTART is the decoded DTSTART property of E. |
| 2280 | Argument START-D gives the first day. | 2280 | Argument START-D gives the first day. |
| @@ -2339,7 +2339,7 @@ the entry." | |||
| 2339 | ;; Examples | 2339 | ;; Examples |
| 2340 | ;; ====================================================================== | 2340 | ;; ====================================================================== |
| 2341 | (defun icalendar-import-format-sample (event) | 2341 | (defun icalendar-import-format-sample (event) |
| 2342 | "Example function for formatting an icalendar EVENT." | 2342 | "Example function for formatting an iCalendar EVENT." |
| 2343 | (format (concat "SUMMARY=`%s' DESCRIPTION=`%s' LOCATION=`%s' ORGANIZER=`%s' " | 2343 | (format (concat "SUMMARY=`%s' DESCRIPTION=`%s' LOCATION=`%s' ORGANIZER=`%s' " |
| 2344 | "STATUS=`%s' URL=`%s' CLASS=`%s'") | 2344 | "STATUS=`%s' URL=`%s' CLASS=`%s'") |
| 2345 | (or (icalendar--get-event-property event 'SUMMARY) "") | 2345 | (or (icalendar--get-event-property event 'SUMMARY) "") |
diff --git a/lisp/calendar/timeclock.el b/lisp/calendar/timeclock.el index 1ec474e828e..c9b8fdac613 100644 --- a/lisp/calendar/timeclock.el +++ b/lisp/calendar/timeclock.el | |||
| @@ -407,7 +407,7 @@ discover the reason." | |||
| 407 | (if arg | 407 | (if arg |
| 408 | (run-hooks 'timeclock-done-hook)))) | 408 | (run-hooks 'timeclock-done-hook)))) |
| 409 | 409 | ||
| 410 | ;; Should today-only be removed in favour of timeclock-relative? - gm | 410 | ;; Should today-only be removed in favor of timeclock-relative? - gm |
| 411 | (defsubst timeclock-workday-remaining (&optional today-only) | 411 | (defsubst timeclock-workday-remaining (&optional today-only) |
| 412 | "Return the number of seconds until the workday is complete. | 412 | "Return the number of seconds until the workday is complete. |
| 413 | The amount returned is relative to the value of `timeclock-workday'. | 413 | The amount returned is relative to the value of `timeclock-workday'. |
| @@ -547,7 +547,7 @@ non-nil, the amount returned will be relative to past time worked." | |||
| 547 | 547 | ||
| 548 | (defalias 'timeclock-seconds-to-time 'seconds-to-time) | 548 | (defalias 'timeclock-seconds-to-time 'seconds-to-time) |
| 549 | 549 | ||
| 550 | ;; Should today-only be removed in favour of timeclock-relative? - gm | 550 | ;; Should today-only be removed in favor of timeclock-relative? - gm |
| 551 | (defsubst timeclock-when-to-leave (&optional today-only) | 551 | (defsubst timeclock-when-to-leave (&optional today-only) |
| 552 | "Return a time value representing the end of today's workday. | 552 | "Return a time value representing the end of today's workday. |
| 553 | If TODAY-ONLY is non-nil, the value returned will be relative only to | 553 | If TODAY-ONLY is non-nil, the value returned will be relative only to |
| @@ -569,7 +569,7 @@ This string is relative to the value of `timeclock-workday'. If | |||
| 569 | SHOW-SECONDS is non-nil, the value printed/returned will include | 569 | SHOW-SECONDS is non-nil, the value printed/returned will include |
| 570 | seconds. If TODAY-ONLY is non-nil, the value returned will be | 570 | seconds. If TODAY-ONLY is non-nil, the value returned will be |
| 571 | relative only to the time worked today, and not to past time." | 571 | relative only to the time worked today, and not to past time." |
| 572 | ;; Should today-only be removed in favour of timeclock-relative? - gm | 572 | ;; Should today-only be removed in favor of timeclock-relative? - gm |
| 573 | (interactive) | 573 | (interactive) |
| 574 | (let* ((then (timeclock-when-to-leave today-only)) | 574 | (let* ((then (timeclock-when-to-leave today-only)) |
| 575 | (string | 575 | (string |
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el index 4c59e2634ae..de232c25e3f 100644 --- a/lisp/calendar/todo-mode.el +++ b/lisp/calendar/todo-mode.el | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | ;; TODO is a major mode for EMACS which offers functionality to | 31 | ;; TODO is a major mode for EMACS which offers functionality to |
| 32 | ;; treat most lines in one buffer as a list of items one has to | 32 | ;; treat most lines in one buffer as a list of items one has to |
| 33 | ;; do. There are facilities to add new items, which are | 33 | ;; do. There are facilities to add new items, which are |
| 34 | ;; categorised, to edit or even delete items from the buffer. | 34 | ;; categorized, to edit or even delete items from the buffer. |
| 35 | ;; The buffer contents are currently compatible with the diary, | 35 | ;; The buffer contents are currently compatible with the diary, |
| 36 | ;; so that the list of todo-items will show up in the FANCY diary | 36 | ;; so that the list of todo-items will show up in the FANCY diary |
| 37 | ;; mode. | 37 | ;; mode. |
| @@ -61,14 +61,14 @@ | |||
| 61 | ;; | 61 | ;; |
| 62 | ;; The TODO list file has a special format and some auxiliary | 62 | ;; The TODO list file has a special format and some auxiliary |
| 63 | ;; information, which will be added by the todo-show function if | 63 | ;; information, which will be added by the todo-show function if |
| 64 | ;; it attempts to visit an un-initialised file. Hence it is | 64 | ;; it attempts to visit an un-initialized file. Hence it is |
| 65 | ;; recommended to use the todo-show function for the first time, | 65 | ;; recommended to use the todo-show function for the first time, |
| 66 | ;; in order to initialise the file, but it is not necessary | 66 | ;; in order to initialize the file, but it is not necessary |
| 67 | ;; afterwards. | 67 | ;; afterwards. |
| 68 | ;; | 68 | ;; |
| 69 | ;; As these commands are quite long to type, I would recommend | 69 | ;; As these commands are quite long to type, I would recommend |
| 70 | ;; the addition of two bindings to your to your global keymap. I | 70 | ;; the addition of two bindings to your to your global keymap. I |
| 71 | ;; personally have the following in my initialisation file: | 71 | ;; personally have the following in my initialization file: |
| 72 | ;; | 72 | ;; |
| 73 | ;; (global-set-key "\C-ct" 'todo-show) ; switch to TODO buffer | 73 | ;; (global-set-key "\C-ct" 'todo-show) ; switch to TODO buffer |
| 74 | ;; (global-set-key "\C-ci" 'todo-insert-item) ; insert new item | 74 | ;; (global-set-key "\C-ci" 'todo-insert-item) ; insert new item |
| @@ -536,7 +536,7 @@ Use `todo-categories' instead.") | |||
| 536 | (unless (zerop (buffer-size buf)) | 536 | (unless (zerop (buffer-size buf)) |
| 537 | (and (null todo-categories) | 537 | (and (null todo-categories) |
| 538 | (null todo-cats) | 538 | (null todo-cats) |
| 539 | (error "Error in %s: File is non-empty but contains no category" | 539 | (error "Error in %s: File is non-empty but contains no category" |
| 540 | todo-file-do))) | 540 | todo-file-do))) |
| 541 | (unless cat (setq cat (read-from-minibuffer prompt))) | 541 | (unless cat (setq cat (read-from-minibuffer prompt))) |
| 542 | (with-current-buffer buf | 542 | (with-current-buffer buf |
diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index 2dc345b45da..e5969a3c291 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2011-11-16 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * semantic/lex.el (semantic-lex-tokens): | ||
| 4 | * semantic/tag-ls.el (semantic-tag-protected-p): | ||
| 5 | * srecode/mode.el (srecode-prefix-map): Fix typos. | ||
| 6 | |||
| 7 | 2011-11-15 Juanma Barranquero <lekktu@gmail.com> | ||
| 8 | |||
| 9 | * ede/project-am.el (project-compile-target-command): Fix typo. | ||
| 10 | |||
| 11 | 2011-11-14 Juanma Barranquero <lekktu@gmail.com> | ||
| 12 | |||
| 13 | * ede/auto.el (ede-project-autoload): | ||
| 14 | * ede/proj-comp.el (ede-makefile-rule): | ||
| 15 | * semantic/analyze.el (semantic-analyze-current-context): | ||
| 16 | * semantic/ctxt.el (semantic-get-local-variables): | ||
| 17 | * semantic/tag-ls.el (semantic-tag-calculate-parent): Fix typos. | ||
| 18 | |||
| 1 | 2011-11-03 David Engster <dengste@eml.cc> | 19 | 2011-11-03 David Engster <dengste@eml.cc> |
| 2 | 20 | ||
| 3 | * srecode.el: | 21 | * srecode.el: |
| @@ -444,7 +462,7 @@ | |||
| 444 | * semantic/decorate/include.el | 462 | * semantic/decorate/include.el |
| 445 | (semantic-decoration-on-unknown-includes): Change light bgcolor. | 463 | (semantic-decoration-on-unknown-includes): Change light bgcolor. |
| 446 | (semantic-decoration-on-includes-highlight-default): Check that | 464 | (semantic-decoration-on-includes-highlight-default): Check that |
| 447 | the include tag has a postion. | 465 | the include tag has a position. |
| 448 | 466 | ||
| 449 | * semantic/complete.el (semantic-collector-local-members): | 467 | * semantic/complete.el (semantic-collector-local-members): |
| 450 | (semantic-complete-read-tag-local-members) | 468 | (semantic-complete-read-tag-local-members) |
| @@ -547,7 +565,7 @@ | |||
| 547 | (semantic-analyzer-debug-missing-innertype): Change "prefix" to | 565 | (semantic-analyzer-debug-missing-innertype): Change "prefix" to |
| 548 | "symbol" in messages. | 566 | "symbol" in messages. |
| 549 | 567 | ||
| 550 | * semantic/analyze/refs.el: (semantic-analyze-refs-impl) | 568 | * semantic/analyze/refs.el (semantic-analyze-refs-impl) |
| 551 | (semantic-analyze-refs-proto): When calculating value, make sure | 569 | (semantic-analyze-refs-proto): When calculating value, make sure |
| 552 | the found tag is 'similar' to the originating tag. | 570 | the found tag is 'similar' to the originating tag. |
| 553 | (semantic--analyze-refs-find-tags-with-parent): Attempt to | 571 | (semantic--analyze-refs-find-tags-with-parent): Attempt to |
diff --git a/lisp/cedet/data-debug.el b/lisp/cedet/data-debug.el index cd910f35a6a..e50e9993af0 100644 --- a/lisp/cedet/data-debug.el +++ b/lisp/cedet/data-debug.el | |||
| @@ -955,7 +955,7 @@ we move to." | |||
| 955 | 955 | ||
| 956 | (defun data-debug-line-expandable-p () | 956 | (defun data-debug-line-expandable-p () |
| 957 | "Return non-nil if the current line is expandable. | 957 | "Return non-nil if the current line is expandable. |
| 958 | Lines that are not expandable are assumed to not be contractable." | 958 | Lines that are not expandable are assumed to not be contractible." |
| 959 | (not (get-text-property (point) 'ddebug-noexpand))) | 959 | (not (get-text-property (point) 'ddebug-noexpand))) |
| 960 | 960 | ||
| 961 | (defun data-debug-expand-current-line () | 961 | (defun data-debug-expand-current-line () |
diff --git a/lisp/cedet/ede.el b/lisp/cedet/ede.el index 14f09517b1d..987351a25e0 100644 --- a/lisp/cedet/ede.el +++ b/lisp/cedet/ede.el | |||
| @@ -909,7 +909,7 @@ Optional ROOTRETURN will return the root project for DIR." | |||
| 909 | ;; recomment as we go | 909 | ;; recomment as we go |
| 910 | ;;nil | 910 | ;;nil |
| 911 | )) | 911 | )) |
| 912 | ;; Do nothing if we are buiding an EDE project already | 912 | ;; Do nothing if we are building an EDE project already. |
| 913 | (ede-constructing | 913 | (ede-constructing |
| 914 | nil) | 914 | nil) |
| 915 | ;; Load in the project in question. | 915 | ;; Load in the project in question. |
diff --git a/lisp/cedet/ede/auto.el b/lisp/cedet/ede/auto.el index 09535ffce6b..d08ab543b82 100644 --- a/lisp/cedet/ede/auto.el +++ b/lisp/cedet/ede/auto.el | |||
| @@ -49,7 +49,7 @@ routine instead.") | |||
| 49 | :documentation | 49 | :documentation |
| 50 | "Initializers passed to the project object. | 50 | "Initializers passed to the project object. |
| 51 | These are used so there can be multiple types of projects | 51 | These are used so there can be multiple types of projects |
| 52 | associated with a single object class, based on the initilizeres used.") | 52 | associated with a single object class, based on the initializers used.") |
| 53 | (load-type :initarg :load-type | 53 | (load-type :initarg :load-type |
| 54 | :documentation "Fn symbol used to load this project file.") | 54 | :documentation "Fn symbol used to load this project file.") |
| 55 | (class-sym :initarg :class-sym | 55 | (class-sym :initarg :class-sym |
diff --git a/lisp/cedet/ede/custom.el b/lisp/cedet/ede/custom.el index fed1a1b2155..ac0907e8e7f 100644 --- a/lisp/cedet/ede/custom.el +++ b/lisp/cedet/ede/custom.el | |||
| @@ -40,7 +40,7 @@ | |||
| 40 | 40 | ||
| 41 | ;;; Customization Commands | 41 | ;;; Customization Commands |
| 42 | ;; | 42 | ;; |
| 43 | ;; These commands initialize custoization of EDE control objects. | 43 | ;; These commands initialize customization of EDE control objects. |
| 44 | 44 | ||
| 45 | ;;;###autoload | 45 | ;;;###autoload |
| 46 | (defun ede-customize-project () | 46 | (defun ede-customize-project () |
diff --git a/lisp/cedet/ede/emacs.el b/lisp/cedet/ede/emacs.el index b8759dd06ee..c1ca8b69208 100644 --- a/lisp/cedet/ede/emacs.el +++ b/lisp/cedet/ede/emacs.el | |||
| @@ -63,7 +63,7 @@ DIR is the directory to search from." | |||
| 63 | (if proj | 63 | (if proj |
| 64 | (ede-up-directory (file-name-directory | 64 | (ede-up-directory (file-name-directory |
| 65 | (oref proj :file))) | 65 | (oref proj :file))) |
| 66 | ;; No pre-existing project. Lets take a wild-guess if we have | 66 | ;; No pre-existing project. Let's take a wild-guess if we have |
| 67 | ;; an Emacs project here. | 67 | ;; an Emacs project here. |
| 68 | (when (string-match "emacs[^/]*" dir) | 68 | (when (string-match "emacs[^/]*" dir) |
| 69 | (let ((base (substring dir 0 (match-end 0)))) | 69 | (let ((base (substring dir 0 (match-end 0)))) |
| @@ -121,7 +121,7 @@ Return nil if there isn't one. | |||
| 121 | Argument DIR is the directory it is created for. | 121 | Argument DIR is the directory it is created for. |
| 122 | ROOTPROJ is nil, since there is only one project." | 122 | ROOTPROJ is nil, since there is only one project." |
| 123 | (or (ede-emacs-file-existing dir) | 123 | (or (ede-emacs-file-existing dir) |
| 124 | ;; Doesn't already exist, so lets make one. | 124 | ;; Doesn't already exist, so let's make one. |
| 125 | (let* ((vertuple (ede-emacs-version dir))) | 125 | (let* ((vertuple (ede-emacs-version dir))) |
| 126 | (ede-emacs-project (car vertuple) | 126 | (ede-emacs-project (car vertuple) |
| 127 | :name (car vertuple) | 127 | :name (car vertuple) |
diff --git a/lisp/cedet/ede/files.el b/lisp/cedet/ede/files.el index 3d165c39016..6179d304464 100644 --- a/lisp/cedet/ede/files.el +++ b/lisp/cedet/ede/files.el | |||
| @@ -101,7 +101,7 @@ of the anchor file for the project." | |||
| 101 | (setq ans SP) | 101 | (setq ans SP) |
| 102 | (ede-find-subproject-for-directory SP dir))))) | 102 | (ede-find-subproject-for-directory SP dir))))) |
| 103 | ans) | 103 | ans) |
| 104 | ;; We can use inodes, so lets try it. | 104 | ;; We can use inodes, so let's try it. |
| 105 | (let ((ans nil) | 105 | (let ((ans nil) |
| 106 | (inode (ede--inode-for-dir dir))) | 106 | (inode (ede--inode-for-dir dir))) |
| 107 | (ede-map-subprojects | 107 | (ede-map-subprojects |
diff --git a/lisp/cedet/ede/generic.el b/lisp/cedet/ede/generic.el index 7eef0a4121e..d73a32a8bcb 100644 --- a/lisp/cedet/ede/generic.el +++ b/lisp/cedet/ede/generic.el | |||
| @@ -43,10 +43,10 @@ | |||
| 43 | ;; | 43 | ;; |
| 44 | ;; Customization: | 44 | ;; Customization: |
| 45 | ;; | 45 | ;; |
| 46 | ;; Since these projects are all so increadibly generic, a user will | 46 | ;; Since these projects are all so incredibly generic, a user will |
| 47 | ;; need to configure some aspects of the project by hand. In order to | 47 | ;; need to configure some aspects of the project by hand. In order to |
| 48 | ;; enable this without configuring the project objects directly (which | 48 | ;; enable this without configuring the project objects directly (which |
| 49 | ;; are auto-generated) a special ede-generic-confg object is defined to | 49 | ;; are auto-generated) a special ede-generic-config object is defined to |
| 50 | ;; hold the basics. Generic projects will identify and use these | 50 | ;; hold the basics. Generic projects will identify and use these |
| 51 | ;; config files. | 51 | ;; config files. |
| 52 | ;; | 52 | ;; |
| @@ -70,7 +70,7 @@ | |||
| 70 | ;; subclasses `ede-generic-target'. The slots `shortname' and | 70 | ;; subclasses `ede-generic-target'. The slots `shortname' and |
| 71 | ;; `extension' should be given new initial values. | 71 | ;; `extension' should be given new initial values. |
| 72 | ;; | 72 | ;; |
| 73 | ;; Optionally, any target method used by EDE can then be overriden. | 73 | ;; Optionally, any target method used by EDE can then be overridden. |
| 74 | ;; The ede-generic-target-c-cpp has some example methods setting up | 74 | ;; The ede-generic-target-c-cpp has some example methods setting up |
| 75 | ;; the pre-processor map and system include path. | 75 | ;; the pre-processor map and system include path. |
| 76 | ;; | 76 | ;; |
| @@ -105,7 +105,7 @@ | |||
| 105 | :group (default build) | 105 | :group (default build) |
| 106 | :documentation | 106 | :documentation |
| 107 | "Command used for debugging this project.") | 107 | "Command used for debugging this project.") |
| 108 | ;; C target customixations | 108 | ;; C target customizations |
| 109 | (c-include-path :initarg :c-include-path | 109 | (c-include-path :initarg :c-include-path |
| 110 | :initform nil | 110 | :initform nil |
| 111 | :type list | 111 | :type list |
| @@ -133,7 +133,7 @@ | |||
| 133 | Return nil if there isn't one. | 133 | Return nil if there isn't one. |
| 134 | Argument DIR is the directory it is created for. | 134 | Argument DIR is the directory it is created for. |
| 135 | ROOTPROJ is nil, since there is only one project." | 135 | ROOTPROJ is nil, since there is only one project." |
| 136 | ;; Doesn't already exist, so lets make one. | 136 | ;; Doesn't already exist, so let's make one. |
| 137 | (let* ((alobj ede-constructing) | 137 | (let* ((alobj ede-constructing) |
| 138 | (this nil)) | 138 | (this nil)) |
| 139 | (when (not alobj) (error "Cannot load generic project without the autoload instance")) | 139 | (when (not alobj) (error "Cannot load generic project without the autoload instance")) |
| @@ -249,7 +249,7 @@ All directories need at least one target.") | |||
| 249 | "EDE Generic Project target for Misc files. | 249 | "EDE Generic Project target for Misc files. |
| 250 | All directories need at least one target.") | 250 | All directories need at least one target.") |
| 251 | 251 | ||
| 252 | ;;; Automatic target aquisition. | 252 | ;;; Automatic target acquisition. |
| 253 | (defun ede-generic-find-matching-target (class dir targets) | 253 | (defun ede-generic-find-matching-target (class dir targets) |
| 254 | "Find a target that is a CLASS and is in DIR in the list of TARGETS." | 254 | "Find a target that is a CLASS and is in DIR in the list of TARGETS." |
| 255 | (let ((match nil)) | 255 | (let ((match nil)) |
diff --git a/lisp/cedet/ede/linux.el b/lisp/cedet/ede/linux.el index e11286c710e..0ed9c3054ef 100644 --- a/lisp/cedet/ede/linux.el +++ b/lisp/cedet/ede/linux.el | |||
| @@ -62,7 +62,7 @@ DIR is the directory to search from." | |||
| 62 | (if proj | 62 | (if proj |
| 63 | (ede-up-directory (file-name-directory | 63 | (ede-up-directory (file-name-directory |
| 64 | (oref proj :file))) | 64 | (oref proj :file))) |
| 65 | ;; No pre-existing project. Lets take a wild-guess if we have | 65 | ;; No pre-existing project. Let's take a wild-guess if we have |
| 66 | ;; an Linux project here. | 66 | ;; an Linux project here. |
| 67 | (when (string-match "linux[^/]*" dir) | 67 | (when (string-match "linux[^/]*" dir) |
| 68 | (let ((base (substring dir 0 (match-end 0)))) | 68 | (let ((base (substring dir 0 (match-end 0)))) |
| @@ -101,7 +101,7 @@ Return nil if there isn't one. | |||
| 101 | Argument DIR is the directory it is created for. | 101 | Argument DIR is the directory it is created for. |
| 102 | ROOTPROJ is nil, since there is only one project." | 102 | ROOTPROJ is nil, since there is only one project." |
| 103 | (or (ede-linux-file-existing dir) | 103 | (or (ede-linux-file-existing dir) |
| 104 | ;; Doesn't already exist, so lets make one. | 104 | ;; Doesn't already exist, so let's make one. |
| 105 | (ede-linux-project "Linux" | 105 | (ede-linux-project "Linux" |
| 106 | :name "Linux" | 106 | :name "Linux" |
| 107 | :version (ede-linux-version dir) | 107 | :version (ede-linux-version dir) |
diff --git a/lisp/cedet/ede/makefile-edit.el b/lisp/cedet/ede/makefile-edit.el index 63991c54e7f..718fdf58b11 100644 --- a/lisp/cedet/ede/makefile-edit.el +++ b/lisp/cedet/ede/makefile-edit.el | |||
| @@ -71,7 +71,7 @@ | |||
| 71 | (end-of-line) | 71 | (end-of-line) |
| 72 | (= (preceding-char) ?\\))) | 72 | (= (preceding-char) ?\\))) |
| 73 | 73 | ||
| 74 | ;;; Programatic editing of a Makefile | 74 | ;;; Programmatic editing of a Makefile |
| 75 | ;; | 75 | ;; |
| 76 | (defun makefile-move-to-macro (macro &optional next) | 76 | (defun makefile-move-to-macro (macro &optional next) |
| 77 | "Move to the definition of MACRO. Return t if found. | 77 | "Move to the definition of MACRO. Return t if found. |
diff --git a/lisp/cedet/ede/pconf.el b/lisp/cedet/ede/pconf.el index 08fc98728e1..05290158189 100644 --- a/lisp/cedet/ede/pconf.el +++ b/lisp/cedet/ede/pconf.el | |||
| @@ -149,7 +149,7 @@ don't do it. A value of nil means to just do it.") | |||
| 149 | )))) | 149 | )))) |
| 150 | 150 | ||
| 151 | (defmethod ede-proj-configure-recreate ((this ede-proj-project)) | 151 | (defmethod ede-proj-configure-recreate ((this ede-proj-project)) |
| 152 | "Delete project THISes configure script and start over." | 152 | "Delete project THIS's configure script and start over." |
| 153 | (if (not (ede-proj-configure-file this)) | 153 | (if (not (ede-proj-configure-file this)) |
| 154 | (error "Could not determine configure.ac for %S" (object-name this))) | 154 | (error "Could not determine configure.ac for %S" (object-name this))) |
| 155 | (let ((b (get-file-buffer (ede-proj-configure-file this)))) | 155 | (let ((b (get-file-buffer (ede-proj-configure-file this)))) |
diff --git a/lisp/cedet/ede/proj-comp.el b/lisp/cedet/ede/proj-comp.el index 1a2843f7651..ae5796e042b 100644 --- a/lisp/cedet/ede/proj-comp.el +++ b/lisp/cedet/ede/proj-comp.el | |||
| @@ -149,7 +149,7 @@ belonging to the target name.") | |||
| 149 | :type list | 149 | :type list |
| 150 | :custom (repeat string) | 150 | :custom (repeat string) |
| 151 | :documentation "Scripts to execute. | 151 | :documentation "Scripts to execute. |
| 152 | These scripst will be executed in sh (Unless the SHELL variable is overriden). | 152 | These scripts will be executed in sh (Unless the SHELL variable is overridden). |
| 153 | Do not prefix with TAB. | 153 | Do not prefix with TAB. |
| 154 | Each individual element of this list can be either a string, or | 154 | Each individual element of this list can be either a string, or |
| 155 | a lambda function. (The custom element does not yet express that.") | 155 | a lambda function. (The custom element does not yet express that.") |
diff --git a/lisp/cedet/ede/proj-misc.el b/lisp/cedet/ede/proj-misc.el index 4d68e1544a7..1c9b9bea0f4 100644 --- a/lisp/cedet/ede/proj-misc.el +++ b/lisp/cedet/ede/proj-misc.el | |||
| @@ -50,7 +50,7 @@ All listed sources are included in the distribution.") | |||
| 50 | 50 | ||
| 51 | (defvar ede-misc-source | 51 | (defvar ede-misc-source |
| 52 | (ede-sourcecode "ede-misc-source" | 52 | (ede-sourcecode "ede-misc-source" |
| 53 | :name "Miscelaneous" | 53 | :name "Miscellaneous" |
| 54 | :sourcepattern ".*") | 54 | :sourcepattern ".*") |
| 55 | "Miscellaneous field definition.") | 55 | "Miscellaneous field definition.") |
| 56 | 56 | ||
diff --git a/lisp/cedet/ede/proj.el b/lisp/cedet/ede/proj.el index 40e6165251c..79022be6a5f 100644 --- a/lisp/cedet/ede/proj.el +++ b/lisp/cedet/ede/proj.el | |||
| @@ -584,7 +584,7 @@ Converts all symbols into the objects to be used." | |||
| 584 | link))) | 584 | link))) |
| 585 | 585 | ||
| 586 | 586 | ||
| 587 | ;;; Target type specific autogenerating gobbldegook. | 587 | ;;; Target type specific autogenerating gobbledygook. |
| 588 | ;; | 588 | ;; |
| 589 | 589 | ||
| 590 | (defun ede-proj-makefile-type (&optional proj) | 590 | (defun ede-proj-makefile-type (&optional proj) |
diff --git a/lisp/cedet/ede/project-am.el b/lisp/cedet/ede/project-am.el index ec54d8151bc..316309092e7 100644 --- a/lisp/cedet/ede/project-am.el +++ b/lisp/cedet/ede/project-am.el | |||
| @@ -428,7 +428,7 @@ Argument COMMAND is the command to use for compiling the target." | |||
| 428 | If a given set of projects has already been loaded, then do nothing | 428 | If a given set of projects has already been loaded, then do nothing |
| 429 | but return the project for the directory given. | 429 | but return the project for the directory given. |
| 430 | Optional ROOTPROJ is the root EDE project." | 430 | Optional ROOTPROJ is the root EDE project." |
| 431 | (let* ((ede-constructiong t) | 431 | (let* ((ede-constructing t) |
| 432 | (amo (object-assoc (expand-file-name "Makefile.am" directory) | 432 | (amo (object-assoc (expand-file-name "Makefile.am" directory) |
| 433 | 'file ede-projects))) | 433 | 'file ede-projects))) |
| 434 | (when (not amo) | 434 | (when (not amo) |
| @@ -659,7 +659,7 @@ Strip out duplicates, and recurse on variables." | |||
| 659 | ;; their object still exists! | 659 | ;; their object still exists! |
| 660 | ;; FIGURE THIS OUT | 660 | ;; FIGURE THIS OUT |
| 661 | (project-am-expand-subdirlist 'csubprojexpanded csubproj) | 661 | (project-am-expand-subdirlist 'csubprojexpanded csubproj) |
| 662 | ;; Ok, now lets look at all our sub-projects. | 662 | ;; Ok, now let's look at all our sub-projects. |
| 663 | (mapc (lambda (sp) | 663 | (mapc (lambda (sp) |
| 664 | (let* ((subdir (file-name-as-directory | 664 | (let* ((subdir (file-name-as-directory |
| 665 | (expand-file-name | 665 | (expand-file-name |
| @@ -836,7 +836,7 @@ nil means that this buffer belongs to no-one." | |||
| 836 | (oref this :name)) | 836 | (oref this :name)) |
| 837 | 837 | ||
| 838 | (defmethod project-compile-target-command ((this project-am-texinfo)) | 838 | (defmethod project-compile-target-command ((this project-am-texinfo)) |
| 839 | "Default target t- use when compling a texinfo file." | 839 | "Default target t- use when compiling a texinfo file." |
| 840 | (let ((n (oref this :name))) | 840 | (let ((n (oref this :name))) |
| 841 | (if (string-match "\\.texi?\\(nfo\\)?" n) | 841 | (if (string-match "\\.texi?\\(nfo\\)?" n) |
| 842 | (setq n (replace-match ".info" t t n))) | 842 | (setq n (replace-match ".info" t t n))) |
diff --git a/lisp/cedet/ede/speedbar.el b/lisp/cedet/ede/speedbar.el index 252ce47df67..fdf61b51b68 100644 --- a/lisp/cedet/ede/speedbar.el +++ b/lisp/cedet/ede/speedbar.el | |||
| @@ -297,7 +297,7 @@ INDENT is the current indentation level." | |||
| 297 | (let ((file (ede-find-nearest-file-line))) | 297 | (let ((file (ede-find-nearest-file-line))) |
| 298 | (speedbar-find-file-in-frame file) | 298 | (speedbar-find-file-in-frame file) |
| 299 | (save-excursion (speedbar-stealthy-updates)) | 299 | (save-excursion (speedbar-stealthy-updates)) |
| 300 | ;; Reset the timer with a new timeout when cliking a file | 300 | ;; Reset the timer with a new timeout when clicking a file |
| 301 | ;; in case the user was navigating directories, we can cancel | 301 | ;; in case the user was navigating directories, we can cancel |
| 302 | ;; that other timer. | 302 | ;; that other timer. |
| 303 | ; (speedbar-set-timer speedbar-update-speed) | 303 | ; (speedbar-set-timer speedbar-update-speed) |
diff --git a/lisp/cedet/inversion.el b/lisp/cedet/inversion.el index 71960ddecd4..065ac6d0559 100644 --- a/lisp/cedet/inversion.el +++ b/lisp/cedet/inversion.el | |||
| @@ -419,7 +419,7 @@ INSTALLDIR path." | |||
| 419 | ;;(message "%S added to `load-path'" default-directory) | 419 | ;;(message "%S added to `load-path'" default-directory) |
| 420 | (add-to-list 'load-path default-directory)) | 420 | (add-to-list 'load-path default-directory)) |
| 421 | ;; We get to this point iff we do not accept or there is no | 421 | ;; We get to this point iff we do not accept or there is no |
| 422 | ;; system file. Lets check the version of what we just | 422 | ;; system file. Let's check the version of what we just |
| 423 | ;; installed... just to be safe. | 423 | ;; installed... just to be safe. |
| 424 | (let ((newver (inversion-find-version package))) | 424 | (let ((newver (inversion-find-version package))) |
| 425 | (if (not newver) | 425 | (if (not newver) |
diff --git a/lisp/cedet/mode-local.el b/lisp/cedet/mode-local.el index d077dd95f3c..0e7657642c2 100644 --- a/lisp/cedet/mode-local.el +++ b/lisp/cedet/mode-local.el | |||
| @@ -637,7 +637,7 @@ SYMBOL is a function that can be overridden." | |||
| 637 | 637 | ||
| 638 | (defun mode-local-print-bindings (table) | 638 | (defun mode-local-print-bindings (table) |
| 639 | "Print bindings in TABLE." | 639 | "Print bindings in TABLE." |
| 640 | (let (us ;; List of unpecified symbols | 640 | (let (us ;; List of unspecified symbols |
| 641 | mc ;; List of mode local constants | 641 | mc ;; List of mode local constants |
| 642 | mv ;; List of mode local variables | 642 | mv ;; List of mode local variables |
| 643 | ov ;; List of overloaded functions | 643 | ov ;; List of overloaded functions |
| @@ -656,7 +656,7 @@ SYMBOL is a function that can be overridden." | |||
| 656 | table) | 656 | table) |
| 657 | ;; Print symbols by type | 657 | ;; Print symbols by type |
| 658 | (when us | 658 | (when us |
| 659 | (princ "\n !! Unpecified symbols\n") | 659 | (princ "\n !! Unspecified symbols\n") |
| 660 | (mapc 'mode-local-print-binding us)) | 660 | (mapc 'mode-local-print-binding us)) |
| 661 | (when mc | 661 | (when mc |
| 662 | (princ "\n ** Mode local constants\n") | 662 | (princ "\n ** Mode local constants\n") |
diff --git a/lisp/cedet/pulse.el b/lisp/cedet/pulse.el index 74dc1ecde31..e3d2bd967b6 100644 --- a/lisp/cedet/pulse.el +++ b/lisp/cedet/pulse.el | |||
| @@ -77,7 +77,7 @@ this flag is ignored." | |||
| 77 | (:background "#AAAA33")) | 77 | (:background "#AAAA33")) |
| 78 | (((class color) (background light)) | 78 | (((class color) (background light)) |
| 79 | (:background "#FFFFAA"))) | 79 | (:background "#FFFFAA"))) |
| 80 | "*Face used at beginning of a highight." | 80 | "*Face used at beginning of a highlight." |
| 81 | :group 'pulse) | 81 | :group 'pulse) |
| 82 | 82 | ||
| 83 | (defface pulse-highlight-face | 83 | (defface pulse-highlight-face |
diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el index 34d886b6807..639b46ad2cf 100644 --- a/lisp/cedet/semantic.el +++ b/lisp/cedet/semantic.el | |||
| @@ -1015,7 +1015,7 @@ Throw away all the old tags, and recreate the tag database." | |||
| 1015 | :visible semantic-mode | 1015 | :visible semantic-mode |
| 1016 | :button (:toggle . global-semanticdb-minor-mode)))) | 1016 | :button (:toggle . global-semanticdb-minor-mode)))) |
| 1017 | 1017 | ||
| 1018 | ;; The `semantic-mode' command, in conjuction with the | 1018 | ;; The `semantic-mode' command, in conjunction with the |
| 1019 | ;; `semantic-default-submodes' variable, toggles Semantic's various | 1019 | ;; `semantic-default-submodes' variable, toggles Semantic's various |
| 1020 | ;; auxiliary minor modes. | 1020 | ;; auxiliary minor modes. |
| 1021 | 1021 | ||
diff --git a/lisp/cedet/semantic/analyze.el b/lisp/cedet/semantic/analyze.el index 5cdd1577a6e..43e998b852e 100644 --- a/lisp/cedet/semantic/analyze.el +++ b/lisp/cedet/semantic/analyze.el | |||
| @@ -106,7 +106,7 @@ called in a dereference sequence.") | |||
| 106 | (prefixclass :initarg :prefixclass | 106 | (prefixclass :initarg :prefixclass |
| 107 | :type list | 107 | :type list |
| 108 | :documentation "Tag classes expected at this context. | 108 | :documentation "Tag classes expected at this context. |
| 109 | These are clases for tags, such as 'function, or 'variable.") | 109 | These are classes for tags, such as 'function, or 'variable.") |
| 110 | (prefixtypes :initarg :prefixtypes | 110 | (prefixtypes :initarg :prefixtypes |
| 111 | :type list | 111 | :type list |
| 112 | :documentation "List of tags defining types for :prefix. | 112 | :documentation "List of tags defining types for :prefix. |
| @@ -287,7 +287,7 @@ Optional argument THROWSYM specifies a symbol the throw on non-recoverable error | |||
| 287 | 287 | ||
| 288 | ;; For the middle entries | 288 | ;; For the middle entries |
| 289 | (while s | 289 | (while s |
| 290 | ;; Using the tag found in TMP, lets find the tag | 290 | ;; Using the tag found in TMP, let's find the tag |
| 291 | ;; representing the full typeographic information of its | 291 | ;; representing the full typeographic information of its |
| 292 | ;; type, and use that to determine the search context for | 292 | ;; type, and use that to determine the search context for |
| 293 | ;; (car s) | 293 | ;; (car s) |
| @@ -302,7 +302,7 @@ Optional argument THROWSYM specifies a symbol the throw on non-recoverable error | |||
| 302 | (mapcar 'semantic-tag-type-members | 302 | (mapcar 'semantic-tag-type-members |
| 303 | tagtype)))) | 303 | tagtype)))) |
| 304 | (oset miniscope fullscope rawscope))) | 304 | (oset miniscope fullscope rawscope))) |
| 305 | ;; Now analayze the type to remove metatypes. | 305 | ;; Now analyze the type to remove metatypes. |
| 306 | (or (semantic-analyze-type tmp miniscope) | 306 | (or (semantic-analyze-type tmp miniscope) |
| 307 | tmp)) | 307 | tmp)) |
| 308 | (t | 308 | (t |
| @@ -476,7 +476,7 @@ If called interactively, display interesting information about POSITION | |||
| 476 | in a separate buffer. | 476 | in a separate buffer. |
| 477 | Returns an object based on symbol `semantic-analyze-context'. | 477 | Returns an object based on symbol `semantic-analyze-context'. |
| 478 | 478 | ||
| 479 | This function can be overriden with the symbol `analyze-context'. | 479 | This function can be overridden with the symbol `analyze-context'. |
| 480 | When overriding this function, your override will be called while | 480 | When overriding this function, your override will be called while |
| 481 | cursor is at POSITION. In addition, your function will not be called | 481 | cursor is at POSITION. In addition, your function will not be called |
| 482 | if a cached copy of the return object is found." | 482 | if a cached copy of the return object is found." |
diff --git a/lisp/cedet/semantic/analyze/complete.el b/lisp/cedet/semantic/analyze/complete.el index ae993a743d6..89937f45ec8 100644 --- a/lisp/cedet/semantic/analyze/complete.el +++ b/lisp/cedet/semantic/analyze/complete.el | |||
| @@ -188,7 +188,7 @@ FLAGS can be any number of: | |||
| 188 | ;; Reset c. | 188 | ;; Reset c. |
| 189 | (setq c nil) | 189 | (setq c nil) |
| 190 | 190 | ||
| 191 | ;; Loop over all the found matches, and catagorize them | 191 | ;; Loop over all the found matches, and categorize them |
| 192 | ;; as being possible features. | 192 | ;; as being possible features. |
| 193 | (while (and loopc do-typeconstraint) | 193 | (while (and loopc do-typeconstraint) |
| 194 | 194 | ||
diff --git a/lisp/cedet/semantic/bovine.el b/lisp/cedet/semantic/bovine.el index 1dfbb72d416..036a6f38724 100644 --- a/lisp/cedet/semantic/bovine.el +++ b/lisp/cedet/semantic/bovine.el | |||
| @@ -240,7 +240,7 @@ list of semantic tokens found." | |||
| 240 | matchlist nil) ;;generate exit condition | 240 | matchlist nil) ;;generate exit condition |
| 241 | (if (not end) | 241 | (if (not end) |
| 242 | (setq out nil))) | 242 | (setq out nil))) |
| 243 | ;; Nothin? | 243 | ;; Nothing? |
| 244 | )) | 244 | )) |
| 245 | (setq result | 245 | (setq result |
| 246 | (if (eq s starting-stream) | 246 | (if (eq s starting-stream) |
diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el index 1076402ac91..9a862c64d10 100644 --- a/lisp/cedet/semantic/bovine/c.el +++ b/lisp/cedet/semantic/bovine/c.el | |||
| @@ -240,7 +240,7 @@ Return the defined symbol as a special spp lex token." | |||
| 240 | (goto-char (match-end 0)) | 240 | (goto-char (match-end 0)) |
| 241 | (looking-at "("))) | 241 | (looking-at "("))) |
| 242 | (semantic-lex-spp-replacements-enabled nil) | 242 | (semantic-lex-spp-replacements-enabled nil) |
| 243 | ;; Temporarilly override the lexer to include | 243 | ;; Temporarily override the lexer to include |
| 244 | ;; special items needed inside a macro | 244 | ;; special items needed inside a macro |
| 245 | (semantic-lex-analyzer #'semantic-cpp-lexer) | 245 | (semantic-lex-analyzer #'semantic-cpp-lexer) |
| 246 | (raw-stream | 246 | (raw-stream |
| @@ -344,7 +344,7 @@ Uses known macro tables in SPP to determine what block to skip." | |||
| 344 | (string= sym "0")) | 344 | (string= sym "0")) |
| 345 | (and ifdef (not (semantic-lex-spp-symbol-p sym))) | 345 | (and ifdef (not (semantic-lex-spp-symbol-p sym))) |
| 346 | (and ifndef (semantic-lex-spp-symbol-p sym))) | 346 | (and ifndef (semantic-lex-spp-symbol-p sym))) |
| 347 | ;; The if indecates to skip this preprocessor section | 347 | ;; The if indicates to skip this preprocessor section. |
| 348 | (let ((pt nil)) | 348 | (let ((pt nil)) |
| 349 | ;; (message "%s %s yes" ift sym) | 349 | ;; (message "%s %s yes" ift sym) |
| 350 | (beginning-of-line) | 350 | (beginning-of-line) |
| @@ -650,7 +650,7 @@ as for the parent." | |||
| 650 | (setq depth 0) | 650 | (setq depth 0) |
| 651 | 651 | ||
| 652 | ;; This is a copy of semantic-parse-region-default where we | 652 | ;; This is a copy of semantic-parse-region-default where we |
| 653 | ;; are doing something special with the lexication of the | 653 | ;; are doing something special with the lexing of the |
| 654 | ;; contents of the semantic-list token. Stuff not used by C | 654 | ;; contents of the semantic-list token. Stuff not used by C |
| 655 | ;; removed. | 655 | ;; removed. |
| 656 | (let ((tokstream | 656 | (let ((tokstream |
| @@ -1092,7 +1092,7 @@ Optional argument STAR and REF indicate the number of * and & in the typedef." | |||
| 1092 | ;; `throws' as a common name for things that toss | 1092 | ;; `throws' as a common name for things that toss |
| 1093 | ;; exceptions about. | 1093 | ;; exceptions about. |
| 1094 | :throws (nth 5 tokenpart) | 1094 | :throws (nth 5 tokenpart) |
| 1095 | ;; Reemtrant is a C++ thingy. Add it here | 1095 | ;; Reentrant is a C++ thingy. Add it here |
| 1096 | :reentrant-flag (if (member "reentrant" (nth 6 tokenpart)) t) | 1096 | :reentrant-flag (if (member "reentrant" (nth 6 tokenpart)) t) |
| 1097 | ;; A function post-const is funky. Try stuff | 1097 | ;; A function post-const is funky. Try stuff |
| 1098 | :methodconst-flag (if (member "const" (nth 6 tokenpart)) t) | 1098 | :methodconst-flag (if (member "const" (nth 6 tokenpart)) t) |
| @@ -1128,7 +1128,7 @@ Optional PARENT and COLOR are ignored." | |||
| 1128 | 1128 | ||
| 1129 | (define-mode-local-override semantic-format-tag-canonical-name | 1129 | (define-mode-local-override semantic-format-tag-canonical-name |
| 1130 | c-mode (tag &optional parent color) | 1130 | c-mode (tag &optional parent color) |
| 1131 | "Create a cannonical name for TAG. | 1131 | "Create a canonical name for TAG. |
| 1132 | PARENT specifies a parent class. | 1132 | PARENT specifies a parent class. |
| 1133 | COLOR indicates that the text should be type colorized. | 1133 | COLOR indicates that the text should be type colorized. |
| 1134 | Enhances the base class to search for the entire parent | 1134 | Enhances the base class to search for the entire parent |
diff --git a/lisp/cedet/semantic/bovine/el.el b/lisp/cedet/semantic/bovine/el.el index cfdd4cf6f6c..98f744dca6e 100644 --- a/lisp/cedet/semantic/bovine/el.el +++ b/lisp/cedet/semantic/bovine/el.el | |||
| @@ -463,7 +463,7 @@ Return a bovination list to use." | |||
| 463 | ;; Try an Emacs 22 fcn. This throws errors. | 463 | ;; Try an Emacs 22 fcn. This throws errors. |
| 464 | (find-library-name (semantic-tag-name tag)) | 464 | (find-library-name (semantic-tag-name tag)) |
| 465 | (error | 465 | (error |
| 466 | (message "semantic: connot find source file %s" | 466 | (message "semantic: cannot find source file %s" |
| 467 | (semantic-tag-name tag)))) | 467 | (semantic-tag-name tag)))) |
| 468 | ;; No handy function available. (Older Emacsen) | 468 | ;; No handy function available. (Older Emacsen) |
| 469 | (let* ((lib (locate-library (semantic-tag-name tag))) | 469 | (let* ((lib (locate-library (semantic-tag-name tag))) |
| @@ -515,7 +515,7 @@ Optional argument NOSNARF is ignored." | |||
| 515 | (let ((d (semantic-tag-docstring tag))) | 515 | (let ((d (semantic-tag-docstring tag))) |
| 516 | (when (not d) | 516 | (when (not d) |
| 517 | (cond ((semantic-tag-with-position-p tag) | 517 | (cond ((semantic-tag-with-position-p tag) |
| 518 | ;; Doc isn't in the tag itself. Lets pull it out of the | 518 | ;; Doc isn't in the tag itself. Let's pull it out of the |
| 519 | ;; sources. | 519 | ;; sources. |
| 520 | (let ((semantic-elisp-store-documentation-in-tag t)) | 520 | (let ((semantic-elisp-store-documentation-in-tag t)) |
| 521 | (setq tag (with-current-buffer (semantic-tag-buffer tag) | 521 | (setq tag (with-current-buffer (semantic-tag-buffer tag) |
| @@ -534,9 +534,9 @@ Optional argument NOSNARF is ignored." | |||
| 534 | (t | 534 | (t |
| 535 | (setq d (documentation-property | 535 | (setq d (documentation-property |
| 536 | sym 'variable-documentation))))) | 536 | sym 'variable-documentation))))) |
| 537 | ;; Label it as system doc.. perhaps just for debugging | 537 | ;; Label it as system doc. perhaps just for debugging |
| 538 | ;; purposes. | 538 | ;; purposes. |
| 539 | (if d (setq d (concat "Sytem Doc: \n" d))) | 539 | (if d (setq d (concat "System Doc: \n" d))) |
| 540 | )) | 540 | )) |
| 541 | ) | 541 | ) |
| 542 | 542 | ||
| @@ -823,7 +823,7 @@ In Emacs Lisp this is easily defined by parenthesis bounding." | |||
| 823 | (&optional point) | 823 | (&optional point) |
| 824 | "Return a list of tag classes allowed at POINT. | 824 | "Return a list of tag classes allowed at POINT. |
| 825 | Emacs Lisp knows much more about the class of the tag needed to perform | 825 | Emacs Lisp knows much more about the class of the tag needed to perform |
| 826 | completion than some languages. We distincly know if we are to be a | 826 | completion than some languages. We distinctly know if we are to be a |
| 827 | function name, variable name, or any type of symbol. We could identify | 827 | function name, variable name, or any type of symbol. We could identify |
| 828 | fields and such to, but that is for some other day." | 828 | fields and such to, but that is for some other day." |
| 829 | (save-excursion | 829 | (save-excursion |
| @@ -863,7 +863,7 @@ fields and such to, but that is for some other day." | |||
| 863 | In Emacs Lisp, a prototype for something may start (autoload ...). | 863 | In Emacs Lisp, a prototype for something may start (autoload ...). |
| 864 | This is certainly not expected if this is used to display a summary. | 864 | This is certainly not expected if this is used to display a summary. |
| 865 | Make up something else. When we go to write something that needs | 865 | Make up something else. When we go to write something that needs |
| 866 | a real Emacs Lisp protype, we can fix it then." | 866 | a real Emacs Lisp prototype, we can fix it then." |
| 867 | (let ((class (semantic-tag-class tag)) | 867 | (let ((class (semantic-tag-class tag)) |
| 868 | (name (semantic-format-tag-name tag parent color)) | 868 | (name (semantic-format-tag-name tag parent color)) |
| 869 | ) | 869 | ) |
diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el index 18c7b5a1a50..2b3841bd594 100644 --- a/lisp/cedet/semantic/complete.el +++ b/lisp/cedet/semantic/complete.el | |||
| @@ -54,7 +54,7 @@ | |||
| 54 | ;; | 54 | ;; |
| 55 | ;; Here, we will treat each section separately (excluding D) | 55 | ;; Here, we will treat each section separately (excluding D) |
| 56 | ;; They can then be strung together in user-visible commands to | 56 | ;; They can then be strung together in user-visible commands to |
| 57 | ;; fulfil specific needs. | 57 | ;; fulfill specific needs. |
| 58 | ;; | 58 | ;; |
| 59 | ;; COLLECTORS: | 59 | ;; COLLECTORS: |
| 60 | ;; | 60 | ;; |
| @@ -891,7 +891,7 @@ making the action of homing in on a token faster.") | |||
| 891 | This completion is calculated and saved for future use.") | 891 | This completion is calculated and saved for future use.") |
| 892 | (last-whitespace-completion :type (or null string) | 892 | (last-whitespace-completion :type (or null string) |
| 893 | :documentation "The last whitespace completion. | 893 | :documentation "The last whitespace completion. |
| 894 | For partial completion, SPC will disabiguate over whitespace type | 894 | For partial completion, SPC will disambiguate over whitespace type |
| 895 | characters. This is the last calculated version.") | 895 | characters. This is the last calculated version.") |
| 896 | (current-exact-match :type list | 896 | (current-exact-match :type list |
| 897 | :protection :protected | 897 | :protection :protected |
| @@ -1025,7 +1025,7 @@ Output must be in semanticdb Find result format." | |||
| 1025 | ((obj semantic-collector-abstract) prefix) | 1025 | ((obj semantic-collector-abstract) prefix) |
| 1026 | "For OBJ, do whatepsace completion based on PREFIX. | 1026 | "For OBJ, do whatepsace completion based on PREFIX. |
| 1027 | This implies that if there are two completions, one matching | 1027 | This implies that if there are two completions, one matching |
| 1028 | the test \"preifx\\>\", and one not, the one matching the full | 1028 | the test \"prefix\\>\", and one not, the one matching the full |
| 1029 | word version of PREFIX will be chosen, and that text returned. | 1029 | word version of PREFIX will be chosen, and that text returned. |
| 1030 | This function requires that `semantic-collector-calculate-completions' | 1030 | This function requires that `semantic-collector-calculate-completions' |
| 1031 | has been run first." | 1031 | has been run first." |
| @@ -1353,7 +1353,7 @@ to click on the items to aid in completion.") | |||
| 1353 | (defmethod semantic-displayor-show-request ((obj semantic-displayor-traditional)) | 1353 | (defmethod semantic-displayor-show-request ((obj semantic-displayor-traditional)) |
| 1354 | "A request to show the current tags table." | 1354 | "A request to show the current tags table." |
| 1355 | 1355 | ||
| 1356 | ;; NOTE TO SELF. Find the character to type next, and emphesize it. | 1356 | ;; NOTE TO SELF. Find the character to type next, and emphasize it. |
| 1357 | 1357 | ||
| 1358 | (with-output-to-temp-buffer "*Completions*" | 1358 | (with-output-to-temp-buffer "*Completions*" |
| 1359 | (display-completion-list | 1359 | (display-completion-list |
| @@ -1377,7 +1377,7 @@ given tag, by highlighting its location.") | |||
| 1377 | ) | 1377 | ) |
| 1378 | "Abstract displayor supporting `focus'. | 1378 | "Abstract displayor supporting `focus'. |
| 1379 | A displayor which has the ability to focus in on one tag. | 1379 | A displayor which has the ability to focus in on one tag. |
| 1380 | Focusing is a way of differentiationg between multiple tags | 1380 | Focusing is a way of differentiating among multiple tags |
| 1381 | which have the same name." | 1381 | which have the same name." |
| 1382 | :abstract t) | 1382 | :abstract t) |
| 1383 | 1383 | ||
| @@ -1618,7 +1618,7 @@ Display mechanism using tooltip for a list of possible completions.") | |||
| 1618 | (string= (this-command-keys) "\C-i")) | 1618 | (string= (this-command-keys) "\C-i")) |
| 1619 | (oset obj typing-count (1+ typing-count))) | 1619 | (oset obj typing-count (1+ typing-count))) |
| 1620 | ;; At this point, we know we have too many items. | 1620 | ;; At this point, we know we have too many items. |
| 1621 | ;; Lets be brave, and truncate l | 1621 | ;; Let's be brave, and truncate l |
| 1622 | (setcdr (nthcdr (oref obj max-tags) l) nil) | 1622 | (setcdr (nthcdr (oref obj max-tags) l) nil) |
| 1623 | (setq msg (mapconcat 'identity l "\n")) | 1623 | (setq msg (mapconcat 'identity l "\n")) |
| 1624 | (cond | 1624 | (cond |
diff --git a/lisp/cedet/semantic/ctxt.el b/lisp/cedet/semantic/ctxt.el index 2eddfdc1c8e..4fef5937bc3 100644 --- a/lisp/cedet/semantic/ctxt.el +++ b/lisp/cedet/semantic/ctxt.el | |||
| @@ -154,7 +154,7 @@ Return non-nil if there is no upper context." | |||
| 154 | (define-overloadable-function semantic-get-local-variables (&optional point) | 154 | (define-overloadable-function semantic-get-local-variables (&optional point) |
| 155 | "Get the local variables based on POINT's context. | 155 | "Get the local variables based on POINT's context. |
| 156 | Local variables are returned in Semantic tag format. | 156 | Local variables are returned in Semantic tag format. |
| 157 | This can be overriden with `get-local-variables'." | 157 | This can be overridden with `get-local-variables'." |
| 158 | ;; Disable parsing messages | 158 | ;; Disable parsing messages |
| 159 | (let ((semantic--progress-reporter nil)) | 159 | (let ((semantic--progress-reporter nil)) |
| 160 | (save-excursion | 160 | (save-excursion |
| @@ -410,7 +410,7 @@ Depends on `semantic-type-relation-separator-character'." | |||
| 410 | ;; Set our end point. | 410 | ;; Set our end point. |
| 411 | (setq end (point)) | 411 | (setq end (point)) |
| 412 | 412 | ||
| 413 | ;; Now that we have gotten started, lets do the rest. | 413 | ;; Now that we have gotten started, let's do the rest. |
| 414 | (condition-case nil | 414 | (condition-case nil |
| 415 | (while (save-excursion | 415 | (while (save-excursion |
| 416 | (forward-char -1) | 416 | (forward-char -1) |
diff --git a/lisp/cedet/semantic/db-ebrowse.el b/lisp/cedet/semantic/db-ebrowse.el index d719fde3174..fe5f3c193df 100644 --- a/lisp/cedet/semantic/db-ebrowse.el +++ b/lisp/cedet/semantic/db-ebrowse.el | |||
| @@ -219,7 +219,7 @@ warn instead." | |||
| 219 | 219 | ||
| 220 | ;JAVE this just instantiates a default empty ebrowse struct? | 220 | ;JAVE this just instantiates a default empty ebrowse struct? |
| 221 | ; how would new instances wind up here? | 221 | ; how would new instances wind up here? |
| 222 | ; the ebrowse class isnt singleton, unlike the emacs lisp one | 222 | ; the ebrowse class isn't singleton, unlike the emacs lisp one |
| 223 | (defvar-mode-local c++-mode semanticdb-project-system-databases | 223 | (defvar-mode-local c++-mode semanticdb-project-system-databases |
| 224 | () | 224 | () |
| 225 | "Search Ebrowse for symbols.") | 225 | "Search Ebrowse for symbols.") |
| @@ -296,7 +296,7 @@ If there is no database for DIRECTORY available, then | |||
| 296 | (when (string= (oref (car dbs) reference-directory) directory) | 296 | (when (string= (oref (car dbs) reference-directory) directory) |
| 297 | (setq found (car dbs)))) | 297 | (setq found (car dbs)))) |
| 298 | (setq dbs (cdr dbs))) | 298 | (setq dbs (cdr dbs))) |
| 299 | ;;STATIC means DBE cant be used as object, only as a class | 299 | ;;STATIC means DBE can't be used as object, only as a class |
| 300 | (let* ((ebrowse-data (semanticdb-ebrowse-get-ebrowse-structure directory)) | 300 | (let* ((ebrowse-data (semanticdb-ebrowse-get-ebrowse-structure directory)) |
| 301 | (dat (car (cdr ebrowse-data))) | 301 | (dat (car (cdr ebrowse-data))) |
| 302 | (ebd (car dat)) | 302 | (ebd (car dat)) |
| @@ -331,7 +331,7 @@ If there is no database for DIRECTORY available, then | |||
| 331 | ;JAVE what it actually seems to do is split the original tree in "tables" associated with files | 331 | ;JAVE what it actually seems to do is split the original tree in "tables" associated with files |
| 332 | ; im not sure it actually works: | 332 | ; im not sure it actually works: |
| 333 | ; the filename slot sometimes gets to be nil, | 333 | ; the filename slot sometimes gets to be nil, |
| 334 | ; apparently for classes which definition cant be found, yet needs to be included in the tree | 334 | ; apparently for classes which definition can't be found, yet needs to be included in the tree |
| 335 | ; like library baseclasses | 335 | ; like library baseclasses |
| 336 | ; a file can define several classes | 336 | ; a file can define several classes |
| 337 | (let ((T (car (cdr data))));1st comes a header, then the tree | 337 | (let ((T (car (cdr data))));1st comes a header, then the tree |
diff --git a/lisp/cedet/semantic/db-file.el b/lisp/cedet/semantic/db-file.el index 661bc8d6841..943ccf23031 100644 --- a/lisp/cedet/semantic/db-file.el +++ b/lisp/cedet/semantic/db-file.el | |||
| @@ -289,7 +289,7 @@ Argument OBJ is the object to write." | |||
| 289 | (when (and (boundp semantic-show-unmatched-syntax-mode) | 289 | (when (and (boundp semantic-show-unmatched-syntax-mode) |
| 290 | semantic-show-unmatched-syntax-mode) | 290 | semantic-show-unmatched-syntax-mode) |
| 291 | ;; Only do this if the user runs unmatched syntax | 291 | ;; Only do this if the user runs unmatched syntax |
| 292 | ;; mode display enties. | 292 | ;; mode display entries. |
| 293 | (oset obj unmatched-syntax | 293 | (oset obj unmatched-syntax |
| 294 | (semantic-show-unmatched-lex-tokens-fetch)) | 294 | (semantic-show-unmatched-lex-tokens-fetch)) |
| 295 | ) | 295 | ) |
diff --git a/lisp/cedet/semantic/db-find.el b/lisp/cedet/semantic/db-find.el index 34718d1fdd2..35aef5d16ef 100644 --- a/lisp/cedet/semantic/db-find.el +++ b/lisp/cedet/semantic/db-find.el | |||
| @@ -862,7 +862,7 @@ instead." | |||
| 862 | (let ((tab (car (car tmp))) | 862 | (let ((tab (car (car tmp))) |
| 863 | (tags (cdr (car tmp)))) | 863 | (tags (cdr (car tmp)))) |
| 864 | (dolist (T tags) | 864 | (dolist (T tags) |
| 865 | ;; Normilzation gives specialty database tables a chance | 865 | ;; Normalization gives specialty database tables a chance |
| 866 | ;; to convert into a more stable tag format. | 866 | ;; to convert into a more stable tag format. |
| 867 | (let* ((norm (semanticdb-normalize-one-tag tab T)) | 867 | (let* ((norm (semanticdb-normalize-one-tag tab T)) |
| 868 | (ntab (car norm)) | 868 | (ntab (car norm)) |
| @@ -918,7 +918,7 @@ but should be good enough for debugging assertions." | |||
| 918 | result | 918 | result |
| 919 | " ") | 919 | " ") |
| 920 | ">") | 920 | ">") |
| 921 | ;; Longer results should have an abreviated form. | 921 | ;; Longer results should have an abbreviated form. |
| 922 | (format "#<FIND RESULT %d TAGS in %d FILES>" | 922 | (format "#<FIND RESULT %d TAGS in %d FILES>" |
| 923 | (semanticdb-find-result-length result) | 923 | (semanticdb-find-result-length result) |
| 924 | (length result)))) | 924 | (length result)))) |
diff --git a/lisp/cedet/semantic/db-javascript.el b/lisp/cedet/semantic/db-javascript.el index 213216cee1a..716bbc9d00a 100644 --- a/lisp/cedet/semantic/db-javascript.el +++ b/lisp/cedet/semantic/db-javascript.el | |||
| @@ -151,7 +151,7 @@ local variable." | |||
| 151 | 151 | ||
| 152 | ;;; Usage | 152 | ;;; Usage |
| 153 | ;; | 153 | ;; |
| 154 | ;; Unlike other tables, an omniscent database does not need to | 154 | ;; Unlike other tables, an omniscient database does not need to |
| 155 | ;; be associated with a path. Use this routine to always add ourselves | 155 | ;; be associated with a path. Use this routine to always add ourselves |
| 156 | ;; to a search list. | 156 | ;; to a search list. |
| 157 | (define-mode-local-override semanticdb-find-translate-path javascript-mode | 157 | (define-mode-local-override semanticdb-find-translate-path javascript-mode |
diff --git a/lisp/cedet/semantic/db-typecache.el b/lisp/cedet/semantic/db-typecache.el index 0096c1aab09..a4c4bd99f26 100644 --- a/lisp/cedet/semantic/db-typecache.el +++ b/lisp/cedet/semantic/db-typecache.el | |||
| @@ -97,7 +97,7 @@ Said object must support `semantic-reset' methods.") | |||
| 97 | (when (semantic-find-tags-by-class 'type new-tags) | 97 | (when (semantic-find-tags-by-class 'type new-tags) |
| 98 | ;; Reset our index | 98 | ;; Reset our index |
| 99 | (oset tc filestream nil) | 99 | (oset tc filestream nil) |
| 100 | t ;; Return true, our core file tags have changed in a relavant way. | 100 | t ;; Return true, our core file tags have changed in a relevant way. |
| 101 | ) | 101 | ) |
| 102 | 102 | ||
| 103 | ;; NO CODE HERE | 103 | ;; NO CODE HERE |
| @@ -368,7 +368,7 @@ a master list." | |||
| 368 | (semanticdb-typecache-merge-streams | 368 | (semanticdb-typecache-merge-streams |
| 369 | incstream | 369 | incstream |
| 370 | ;; Getting the cache from this table will also cause this | 370 | ;; Getting the cache from this table will also cause this |
| 371 | ;; file to update it's cache from it's decendants. | 371 | ;; file to update its cache from its decendents. |
| 372 | ;; | 372 | ;; |
| 373 | ;; In theory, caches are only built for most includes | 373 | ;; In theory, caches are only built for most includes |
| 374 | ;; only once (in the loop before this one), so this ends | 374 | ;; only once (in the loop before this one), so this ends |
| @@ -473,7 +473,7 @@ found tag to be loaded." | |||
| 473 | ;; find a type/namespace because everything else is excluded. | 473 | ;; find a type/namespace because everything else is excluded. |
| 474 | 474 | ||
| 475 | ;; If this is not the last entry from the list, then it | 475 | ;; If this is not the last entry from the list, then it |
| 476 | ;; must be a type or a namespace. Lets double check. | 476 | ;; must be a type or a namespace. Let's double check. |
| 477 | (when (cdr type) | 477 | (when (cdr type) |
| 478 | 478 | ||
| 479 | ;; From above, there is only one tag in ans, and we prefer | 479 | ;; From above, there is only one tag in ans, and we prefer |
| @@ -511,7 +511,7 @@ found tag to be loaded." | |||
| 511 | ;; This won't liven up the tag since we have a copy, but | 511 | ;; This won't liven up the tag since we have a copy, but |
| 512 | ;; we ought to be able to get there and go to the right line. | 512 | ;; we ought to be able to get there and go to the right line. |
| 513 | (find-file-noselect lastfile) | 513 | (find-file-noselect lastfile) |
| 514 | ;; We don't want to find-file match, so instead lets | 514 | ;; We don't want to find-file match, so instead let's |
| 515 | ;; push the filename onto the return tag. | 515 | ;; push the filename onto the return tag. |
| 516 | (when lastans | 516 | (when lastans |
| 517 | (setq lastans (semantic-tag-copy lastans nil lastfile)) | 517 | (setq lastans (semantic-tag-copy lastans nil lastfile)) |
diff --git a/lisp/cedet/semantic/db.el b/lisp/cedet/semantic/db.el index 65897b96adb..3d2128db29a 100644 --- a/lisp/cedet/semantic/db.el +++ b/lisp/cedet/semantic/db.el | |||
| @@ -459,7 +459,7 @@ other than :table." | |||
| 459 | (setq cache (cdr cache))) | 459 | (setq cache (cdr cache))) |
| 460 | (if obj | 460 | (if obj |
| 461 | obj ;; Just return it. | 461 | obj ;; Just return it. |
| 462 | ;; No object, lets create a new one and return that. | 462 | ;; No object, let's create a new one and return that. |
| 463 | (setq obj (funcall desired-class "Cache" :table table)) | 463 | (setq obj (funcall desired-class "Cache" :table table)) |
| 464 | (object-add-to-list table 'cache obj) | 464 | (object-add-to-list table 'cache obj) |
| 465 | obj))) | 465 | obj))) |
| @@ -510,7 +510,7 @@ other than :table." | |||
| 510 | (setq cache (cdr cache))) | 510 | (setq cache (cdr cache))) |
| 511 | (if obj | 511 | (if obj |
| 512 | obj ;; Just return it. | 512 | obj ;; Just return it. |
| 513 | ;; No object, lets create a new one and return that. | 513 | ;; No object, let's create a new one and return that. |
| 514 | (setq obj (funcall desired-class "Cache" :db db)) | 514 | (setq obj (funcall desired-class "Cache" :db db)) |
| 515 | (object-add-to-list db 'cache obj) | 515 | (object-add-to-list db 'cache obj) |
| 516 | obj))) | 516 | obj))) |
| @@ -606,7 +606,7 @@ The file associated with OBJ does not need to be in a buffer." | |||
| 606 | ;; The lexical table should be good too. | 606 | ;; The lexical table should be good too. |
| 607 | (when (featurep 'semantic/lex-spp) | 607 | (when (featurep 'semantic/lex-spp) |
| 608 | (oset table lexical-table (semantic-lex-spp-save-table))) | 608 | (oset table lexical-table (semantic-lex-spp-save-table))) |
| 609 | ;; this implies dirtyness | 609 | ;; this implies dirtiness |
| 610 | (semanticdb-set-dirty table) | 610 | (semanticdb-set-dirty table) |
| 611 | 611 | ||
| 612 | ;; Synchronize the index | 612 | ;; Synchronize the index |
| @@ -636,7 +636,7 @@ The file associated with OBJ does not need to be in a buffer." | |||
| 636 | (when (featurep 'semantic/lex-spp) | 636 | (when (featurep 'semantic/lex-spp) |
| 637 | (oset table lexical-table (semantic-lex-spp-save-table))) | 637 | (oset table lexical-table (semantic-lex-spp-save-table))) |
| 638 | 638 | ||
| 639 | ;; Incremental parser doesn't mokey around with this. | 639 | ;; Incremental parser doesn't monkey around with this. |
| 640 | (oset table unmatched-syntax semantic-unmatched-syntax-cache) | 640 | (oset table unmatched-syntax semantic-unmatched-syntax-cache) |
| 641 | 641 | ||
| 642 | ;; Synchronize the index | 642 | ;; Synchronize the index |
| @@ -941,7 +941,7 @@ DONTLOAD does not affect the creation of new database objects." | |||
| 941 | (setq fullfile (file-truename file)) | 941 | (setq fullfile (file-truename file)) |
| 942 | ) | 942 | ) |
| 943 | 943 | ||
| 944 | ;; If we have a table, but no fullfile, that's ok. Lets get the filename | 944 | ;; If we have a table, but no fullfile, that's ok. Let's get the filename |
| 945 | ;; from the table which is pre-truenamed. | 945 | ;; from the table which is pre-truenamed. |
| 946 | (when (and (not fullfile) tab) | 946 | (when (and (not fullfile) tab) |
| 947 | (setq fullfile (semanticdb-full-filename tab))) | 947 | (setq fullfile (semanticdb-full-filename tab))) |
diff --git a/lisp/cedet/semantic/decorate.el b/lisp/cedet/semantic/decorate.el index ee356ad3a9e..4eeac8de141 100644 --- a/lisp/cedet/semantic/decorate.el +++ b/lisp/cedet/semantic/decorate.el | |||
| @@ -107,7 +107,7 @@ the extent 'intangible' property does not exist." | |||
| 107 | "Hook used in modification hooks to prevent modification. | 107 | "Hook used in modification hooks to prevent modification. |
| 108 | Allows deletion of the entire text. | 108 | Allows deletion of the entire text. |
| 109 | Argument OVERLAY, AFTER, START, END, and LEN are passed in by the system." | 109 | Argument OVERLAY, AFTER, START, END, and LEN are passed in by the system." |
| 110 | ;; Stolen blithly from cpp.el in Emacs 21.1 | 110 | ;; Stolen blithely from cpp.el in Emacs 21.1 |
| 111 | (if (and (not after) | 111 | (if (and (not after) |
| 112 | (or (< (semantic-overlay-start overlay) start) | 112 | (or (< (semantic-overlay-start overlay) start) |
| 113 | (> (semantic-overlay-end overlay) end))) | 113 | (> (semantic-overlay-end overlay) end))) |
diff --git a/lisp/cedet/semantic/decorate/include.el b/lisp/cedet/semantic/decorate/include.el index a37f43d177f..766a13023e8 100644 --- a/lisp/cedet/semantic/decorate/include.el +++ b/lisp/cedet/semantic/decorate/include.el | |||
| @@ -459,7 +459,7 @@ to add the path to Semantic's search. | |||
| 459 | If this is an include file that belongs to your project, then you may | 459 | If this is an include file that belongs to your project, then you may |
| 460 | need to update `semanticdb-project-roots' or better yet, use `ede' | 460 | need to update `semanticdb-project-roots' or better yet, use `ede' |
| 461 | to manage your project. See the ede manual for projects that will | 461 | to manage your project. See the ede manual for projects that will |
| 462 | wrap existing project code for Semantic's benifit. | 462 | wrap existing project code for Semantic's benefit. |
| 463 | ") | 463 | ") |
| 464 | 464 | ||
| 465 | (when (or (eq mm 'c++-mode) (eq mm 'c-mode)) | 465 | (when (or (eq mm 'c++-mode) (eq mm 'c-mode)) |
| @@ -739,7 +739,7 @@ any decorated referring includes.") | |||
| 739 | "Refresh any highlighting in buffers referred to by TABLE. | 739 | "Refresh any highlighting in buffers referred to by TABLE. |
| 740 | If TABLE is not in a buffer, do nothing." | 740 | If TABLE is not in a buffer, do nothing." |
| 741 | ;; This cache removal may seem odd in that we are "creating one", but | 741 | ;; This cache removal may seem odd in that we are "creating one", but |
| 742 | ;; since we cant get in the fcn unless one exists, this ought to be | 742 | ;; since we can't get in the fcn unless one exists, this ought to be |
| 743 | ;; ok. | 743 | ;; ok. |
| 744 | (let ((c (semanticdb-cache-get | 744 | (let ((c (semanticdb-cache-get |
| 745 | table 'semantic-decoration-unparsed-include-cache))) | 745 | table 'semantic-decoration-unparsed-include-cache))) |
diff --git a/lisp/cedet/semantic/doc.el b/lisp/cedet/semantic/doc.el index e5579d09113..ec3b5878c63 100644 --- a/lisp/cedet/semantic/doc.el +++ b/lisp/cedet/semantic/doc.el | |||
| @@ -56,7 +56,7 @@ If nosnarf if 'lex, then only return the lex token." | |||
| 56 | ;; Check just before the definition. | 56 | ;; Check just before the definition. |
| 57 | (when (semantic-tag-with-position-p tag) | 57 | (when (semantic-tag-with-position-p tag) |
| 58 | (semantic-documentation-comment-preceeding-tag tag nosnarf)) | 58 | (semantic-documentation-comment-preceeding-tag tag nosnarf)) |
| 59 | ;; Lets look for comments either after the definition, but before code: | 59 | ;; Let's look for comments either after the definition, but before code: |
| 60 | ;; Not sure yet. Fill in something clever later.... | 60 | ;; Not sure yet. Fill in something clever later.... |
| 61 | nil)))))) | 61 | nil)))))) |
| 62 | 62 | ||
diff --git a/lisp/cedet/semantic/edit.el b/lisp/cedet/semantic/edit.el index 307071e743c..a007f21b69f 100644 --- a/lisp/cedet/semantic/edit.el +++ b/lisp/cedet/semantic/edit.el | |||
| @@ -316,7 +316,7 @@ See `semantic-edits-change-leaf-tag' for details on parents." | |||
| 316 | (setq list-to-search nil))) | 316 | (setq list-to-search nil))) |
| 317 | ;; Search list is nil. | 317 | ;; Search list is nil. |
| 318 | )) | 318 | )) |
| 319 | ;; If we have a search list, lets go. Otherwise nothing. | 319 | ;; If we have a search list, let's go. Otherwise nothing. |
| 320 | (while (and list-to-search (not found)) | 320 | (while (and list-to-search (not found)) |
| 321 | (if (cdr list-to-search) | 321 | (if (cdr list-to-search) |
| 322 | ;; We end when the start of the CDR is after the end of our | 322 | ;; We end when the start of the CDR is after the end of our |
| @@ -392,7 +392,7 @@ See `semantic-edits-change-leaf-tag' for details on parents." | |||
| 392 | ;; There are no tags left, and all tags originally | 392 | ;; There are no tags left, and all tags originally |
| 393 | ;; found are encompassed by the change. Setup our list | 393 | ;; found are encompassed by the change. Setup our list |
| 394 | ;; from the cache | 394 | ;; from the cache |
| 395 | (setq list-to-search semantic--buffer-cache);; We have a tag ouside the list. Check for | 395 | (setq list-to-search semantic--buffer-cache);; We have a tag outside the list. Check for |
| 396 | ;; We know we have a parent because it would | 396 | ;; We know we have a parent because it would |
| 397 | ;; completely cover the change. A tag can only | 397 | ;; completely cover the change. A tag can only |
| 398 | ;; do that if it is a parent after we get here. | 398 | ;; do that if it is a parent after we get here. |
| @@ -537,7 +537,7 @@ This function is for internal use by `semantic-edits-incremental-parser'." | |||
| 537 | ;; We want to take some set of changes, and group them | 537 | ;; We want to take some set of changes, and group them |
| 538 | ;; together into a small change group. One change forces | 538 | ;; together into a small change group. One change forces |
| 539 | ;; a reparse of a larger region (the size of some set of | 539 | ;; a reparse of a larger region (the size of some set of |
| 540 | ;; tags it encompases.) It may contain several tags. | 540 | ;; tags it encompasses.) It may contain several tags. |
| 541 | ;; That region may have other changes in it (several small | 541 | ;; That region may have other changes in it (several small |
| 542 | ;; changes in one function, for example.) | 542 | ;; changes in one function, for example.) |
| 543 | ;; Optimize for the simple cases here, but try to handle | 543 | ;; Optimize for the simple cases here, but try to handle |
| @@ -595,7 +595,7 @@ This function is for internal use by `semantic-edits-incremental-parser'." | |||
| 595 | ;; Feb 06 - | 595 | ;; Feb 06 - |
| 596 | ;; IDed when the first cache-list tag is after | 596 | ;; IDed when the first cache-list tag is after |
| 597 | ;; our change, meaning there is nothing before | 597 | ;; our change, meaning there is nothing before |
| 598 | ;; the chnge. | 598 | ;; the change. |
| 599 | ((> (semantic-tag-start (car cache-list)) | 599 | ((> (semantic-tag-start (car cache-list)) |
| 600 | (semantic-overlay-end (car changes))) | 600 | (semantic-overlay-end (car changes))) |
| 601 | (setq last-cond "Beginning of buffer") | 601 | (setq last-cond "Beginning of buffer") |
diff --git a/lisp/cedet/semantic/find.el b/lisp/cedet/semantic/find.el index c2d07fbcc35..b4d94321bc1 100644 --- a/lisp/cedet/semantic/find.el +++ b/lisp/cedet/semantic/find.el | |||
| @@ -574,7 +574,7 @@ FUNCTION must return non-nil if an element of STREAM will be included | |||
| 574 | in the new list. | 574 | in the new list. |
| 575 | 575 | ||
| 576 | If optional argument SEARCH-PARTS is non-nil, all sub-parts of tags | 576 | If optional argument SEARCH-PARTS is non-nil, all sub-parts of tags |
| 577 | are searched. The overloadable function `semantic-tag-componenets' is | 577 | are searched. The overloadable function `semantic-tag-components' is |
| 578 | used for the searching child lists. If SEARCH-PARTS is the symbol | 578 | used for the searching child lists. If SEARCH-PARTS is the symbol |
| 579 | 'positiononly, then only children that have positional information are | 579 | 'positiononly, then only children that have positional information are |
| 580 | searched. | 580 | searched. |
diff --git a/lisp/cedet/semantic/format.el b/lisp/cedet/semantic/format.el index 381801559da..876ec9bbd4a 100644 --- a/lisp/cedet/semantic/format.el +++ b/lisp/cedet/semantic/format.el | |||
| @@ -431,7 +431,7 @@ Optional argument COLOR means highlight the prototype with font-lock colors." | |||
| 431 | (doc (semantic-tag-docstring tag buf))) | 431 | (doc (semantic-tag-docstring tag buf))) |
| 432 | (when (and (not doc) (not buf) fname) | 432 | (when (and (not doc) (not buf) fname) |
| 433 | ;; If there is no doc, and no buffer, but we have a filename, | 433 | ;; If there is no doc, and no buffer, but we have a filename, |
| 434 | ;; lets try again. | 434 | ;; let's try again. |
| 435 | (save-match-data | 435 | (save-match-data |
| 436 | (setq buf (find-file-noselect fname))) | 436 | (setq buf (find-file-noselect fname))) |
| 437 | (setq doc (semantic-tag-docstring tag buf))) | 437 | (setq doc (semantic-tag-docstring tag buf))) |
| @@ -603,7 +603,7 @@ This associates a symbol, such as 'public with the st ring \"+\".") | |||
| 603 | "Convert PROTECTION-SYMBOL to a string for UML. | 603 | "Convert PROTECTION-SYMBOL to a string for UML. |
| 604 | By default, uses `semantic-format-tag-protection-symbol-to-string-assoc-list' | 604 | By default, uses `semantic-format-tag-protection-symbol-to-string-assoc-list' |
| 605 | to convert. | 605 | to convert. |
| 606 | By defaul character returns are: | 606 | By default character returns are: |
| 607 | public -- + | 607 | public -- + |
| 608 | private -- - | 608 | private -- - |
| 609 | protected -- #. | 609 | protected -- #. |
diff --git a/lisp/cedet/semantic/html.el b/lisp/cedet/semantic/html.el index 137759d46ac..a7d150ec4a9 100644 --- a/lisp/cedet/semantic/html.el +++ b/lisp/cedet/semantic/html.el | |||
| @@ -126,7 +126,7 @@ html parser. PNT is the new point to set." | |||
| 126 | NAME is the name of this section. | 126 | NAME is the name of this section. |
| 127 | MEMBERS is a list of semantic tags representing the elements that make | 127 | MEMBERS is a list of semantic tags representing the elements that make |
| 128 | up this section. | 128 | up this section. |
| 129 | LEVEL is the levelling level. | 129 | LEVEL is the leveling level. |
| 130 | START and END define the location of data described by the tag." | 130 | START and END define the location of data described by the tag." |
| 131 | (let ((anchorp (eq level 11))) | 131 | (let ((anchorp (eq level 11))) |
| 132 | (append (semantic-tag name | 132 | (append (semantic-tag name |
diff --git a/lisp/cedet/semantic/ia-sb.el b/lisp/cedet/semantic/ia-sb.el index 57067936a90..95a68673b8c 100644 --- a/lisp/cedet/semantic/ia-sb.el +++ b/lisp/cedet/semantic/ia-sb.el | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | nil | 36 | nil |
| 37 | (setq semantic-ia-sb-key-map (speedbar-make-specialized-keymap)) | 37 | (setq semantic-ia-sb-key-map (speedbar-make-specialized-keymap)) |
| 38 | 38 | ||
| 39 | ;; Basic featuers. | 39 | ;; Basic features. |
| 40 | (define-key semantic-ia-sb-key-map "\C-m" 'speedbar-edit-line) | 40 | (define-key semantic-ia-sb-key-map "\C-m" 'speedbar-edit-line) |
| 41 | (define-key semantic-ia-sb-key-map "I" 'semantic-ia-sb-show-tag-info) | 41 | (define-key semantic-ia-sb-key-map "I" 'semantic-ia-sb-show-tag-info) |
| 42 | ) | 42 | ) |
diff --git a/lisp/cedet/semantic/ia.el b/lisp/cedet/semantic/ia.el index 69b1dba0bcf..2aae39d4b21 100644 --- a/lisp/cedet/semantic/ia.el +++ b/lisp/cedet/semantic/ia.el | |||
| @@ -115,11 +115,11 @@ Completion options are calculated with `semantic-analyze-possible-completions'." | |||
| 115 | (if (null syms) | 115 | (if (null syms) |
| 116 | (if (semantic-analyze-context-p a) | 116 | (if (semantic-analyze-context-p a) |
| 117 | ;; This is a clever hack. If we were unable to find any | 117 | ;; This is a clever hack. If we were unable to find any |
| 118 | ;; smart completions, lets divert to how senator derives | 118 | ;; smart completions, let's divert to how senator derives |
| 119 | ;; completions. | 119 | ;; completions. |
| 120 | ;; | 120 | ;; |
| 121 | ;; This is a way of making this fcn more useful since | 121 | ;; This is a way of making this fcn more useful since |
| 122 | ;; the smart completion engine sometimes failes. | 122 | ;; the smart completion engine sometimes fails. |
| 123 | (semantic-complete-symbol)) | 123 | (semantic-complete-symbol)) |
| 124 | ;; Use try completion to seek a common substring. | 124 | ;; Use try completion to seek a common substring. |
| 125 | (let ((tc (try-completion (or pre "") syms))) | 125 | (let ((tc (try-completion (or pre "") syms))) |
| @@ -199,7 +199,7 @@ Completion options are calculated with `semantic-analyze-possible-completions'." | |||
| 199 | ) | 199 | ) |
| 200 | (if pf | 200 | (if pf |
| 201 | (message "%s" (semantic-format-tag-summarize pf nil t)) | 201 | (message "%s" (semantic-format-tag-summarize pf nil t)) |
| 202 | (message "No summary info availalble")))) | 202 | (message "No summary info available")))) |
| 203 | 203 | ||
| 204 | ;;; Variants | 204 | ;;; Variants |
| 205 | ;; | 205 | ;; |
| @@ -245,14 +245,14 @@ Completion options are calculated with `semantic-analyze-possible-completions'." | |||
| 245 | ;; Jump to a destination based on the local context. | 245 | ;; Jump to a destination based on the local context. |
| 246 | ;; | 246 | ;; |
| 247 | ;; This shows how to use the analyzer context, and the | 247 | ;; This shows how to use the analyzer context, and the |
| 248 | ;; analyer references objects to choose a good destination. | 248 | ;; analyzer references objects to choose a good destination. |
| 249 | 249 | ||
| 250 | (defun semantic-ia--fast-jump-helper (dest) | 250 | (defun semantic-ia--fast-jump-helper (dest) |
| 251 | "Jump to DEST, a Semantic tag. | 251 | "Jump to DEST, a Semantic tag. |
| 252 | This helper manages the mark, buffer switching, and pulsing." | 252 | This helper manages the mark, buffer switching, and pulsing." |
| 253 | ;; We have a tag, but in C++, we usually get a prototype instead | 253 | ;; We have a tag, but in C++, we usually get a prototype instead |
| 254 | ;; because of header files. Lets try to find the actual | 254 | ;; because of header files. Let's try to find the actual |
| 255 | ;; implementaion instead. | 255 | ;; implementation instead. |
| 256 | (when (semantic-tag-prototype-p dest) | 256 | (when (semantic-tag-prototype-p dest) |
| 257 | (let* ((refs (semantic-analyze-tag-references dest)) | 257 | (let* ((refs (semantic-analyze-tag-references dest)) |
| 258 | (impl (semantic-analyze-refs-impl refs t)) | 258 | (impl (semantic-analyze-refs-impl refs t)) |
diff --git a/lisp/cedet/semantic/idle.el b/lisp/cedet/semantic/idle.el index 1c1233303e9..b49d1db1ad5 100644 --- a/lisp/cedet/semantic/idle.el +++ b/lisp/cedet/semantic/idle.el | |||
| @@ -427,7 +427,7 @@ datasets." | |||
| 427 | 427 | ||
| 428 | (defun semantic-idle-scheduler-work-parse-neighboring-files () | 428 | (defun semantic-idle-scheduler-work-parse-neighboring-files () |
| 429 | "Parse all the files in similar directories to buffers being edited." | 429 | "Parse all the files in similar directories to buffers being edited." |
| 430 | ;; Lets check to see if EDE matters. | 430 | ;; Let's check to see if EDE matters. |
| 431 | (let ((ede-auto-add-method 'never)) | 431 | (let ((ede-auto-add-method 'never)) |
| 432 | (dolist (a auto-mode-alist) | 432 | (dolist (a auto-mode-alist) |
| 433 | (when (eq (cdr a) major-mode) | 433 | (when (eq (cdr a) major-mode) |
diff --git a/lisp/cedet/semantic/imenu.el b/lisp/cedet/semantic/imenu.el index e7e1da55ce3..7566c08f13a 100644 --- a/lisp/cedet/semantic/imenu.el +++ b/lisp/cedet/semantic/imenu.el | |||
| @@ -96,7 +96,7 @@ This option is ignored if `semantic-imenu-bucketize-file' is nil." | |||
| 96 | (defcustom semantic-imenu-bucketize-type-members t | 96 | (defcustom semantic-imenu-bucketize-type-members t |
| 97 | "*Non-nil if members of a type should be grouped into buckets. | 97 | "*Non-nil if members of a type should be grouped into buckets. |
| 98 | A nil value means to keep them in the same order. | 98 | A nil value means to keep them in the same order. |
| 99 | Overriden to nil if `semantic-imenu-bucketize-file' is nil." | 99 | Overridden to nil if `semantic-imenu-bucketize-file' is nil." |
| 100 | :group 'semantic-imenu | 100 | :group 'semantic-imenu |
| 101 | :type 'boolean) | 101 | :type 'boolean) |
| 102 | (make-variable-buffer-local 'semantic-imenu-bucketize-type-members) | 102 | (make-variable-buffer-local 'semantic-imenu-bucketize-type-members) |
| @@ -368,7 +368,7 @@ Optional argument PARENT is a tag parent of STREAM." | |||
| 368 | semantic-imenu-expandable-tag-classes) | 368 | semantic-imenu-expandable-tag-classes) |
| 369 | children | 369 | children |
| 370 | ) | 370 | ) |
| 371 | ;; to keep an homogeneous menu organisation, type menu items | 371 | ;; to keep an homogeneous menu organization, type menu items |
| 372 | ;; always have a sub-menu with at least the *definition* | 372 | ;; always have a sub-menu with at least the *definition* |
| 373 | ;; item (even if the tag has no type components) | 373 | ;; item (even if the tag has no type components) |
| 374 | (progn | 374 | (progn |
| @@ -393,7 +393,7 @@ Optional argument PARENT is a tag parent of STREAM." | |||
| 393 | semantic-imenu-bucketize-file) | 393 | semantic-imenu-bucketize-file) |
| 394 | (semantic-create-imenu-index-1 parts tag) | 394 | (semantic-create-imenu-index-1 parts tag) |
| 395 | (semantic-create-imenu-subindex parts)))) | 395 | (semantic-create-imenu-subindex parts)))) |
| 396 | ;; Only add a *definition* if we have a postion | 396 | ;; Only add a *definition* if we have a position |
| 397 | ;; in that type tag. | 397 | ;; in that type tag. |
| 398 | (if (semantic-tag-with-position-p tag) | 398 | (if (semantic-tag-with-position-p tag) |
| 399 | (cons | 399 | (cons |
diff --git a/lisp/cedet/semantic/lex-spp.el b/lisp/cedet/semantic/lex-spp.el index e49968b07e7..03a3f1b0cb1 100644 --- a/lisp/cedet/semantic/lex-spp.el +++ b/lisp/cedet/semantic/lex-spp.el | |||
| @@ -639,7 +639,7 @@ and what valid VAL values are." | |||
| 639 | 639 | ||
| 640 | ;;; Macro Merging | 640 | ;;; Macro Merging |
| 641 | ;; | 641 | ;; |
| 642 | ;; Used when token streams from different macros include eachother. | 642 | ;; Used when token streams from different macros include each other. |
| 643 | ;; Merged macro streams perform in place replacements. | 643 | ;; Merged macro streams perform in place replacements. |
| 644 | 644 | ||
| 645 | (defun semantic-lex-spp-merge-streams (raw-stream) | 645 | (defun semantic-lex-spp-merge-streams (raw-stream) |
| @@ -709,7 +709,7 @@ ARGVALUES are values for any arg list, or nil." | |||
| 709 | 709 | ||
| 710 | ;;; Symbol Is Macro | 710 | ;;; Symbol Is Macro |
| 711 | ;; | 711 | ;; |
| 712 | ;; An analyser that will push tokens from a macro in place | 712 | ;; An analyzer that will push tokens from a macro in place |
| 713 | ;; of the macro symbol. | 713 | ;; of the macro symbol. |
| 714 | ;; | 714 | ;; |
| 715 | (defun semantic-lex-spp-anlyzer-do-replace (sym val beg end) | 715 | (defun semantic-lex-spp-anlyzer-do-replace (sym val beg end) |
| @@ -1067,7 +1067,7 @@ of type `spp-macro-undef' is to be created." | |||
| 1067 | ;; | 1067 | ;; |
| 1068 | ;; These analyzers help a language define how include files | 1068 | ;; These analyzers help a language define how include files |
| 1069 | ;; are identified. These are ONLY for languages that perform | 1069 | ;; are identified. These are ONLY for languages that perform |
| 1070 | ;; an actual textual includesion, and not for imports. | 1070 | ;; an actual textual inclusion, and not for imports. |
| 1071 | ;; | 1071 | ;; |
| 1072 | ;; This section is supposed to allow the macros from the headers to be | 1072 | ;; This section is supposed to allow the macros from the headers to be |
| 1073 | ;; added to the local dynamic macro table, but that hasn't been | 1073 | ;; added to the local dynamic macro table, but that hasn't been |
diff --git a/lisp/cedet/semantic/lex.el b/lisp/cedet/semantic/lex.el index d6b8e1a8bf5..fca367ecb8c 100644 --- a/lisp/cedet/semantic/lex.el +++ b/lisp/cedet/semantic/lex.el | |||
| @@ -491,7 +491,7 @@ For compatibility with Semantic 1.x it defaults to `semantic-flex'.") | |||
| 491 | (symbol) | 491 | (symbol) |
| 492 | (whitespace) | 492 | (whitespace) |
| 493 | ) | 493 | ) |
| 494 | "An alist of of semantic token types. | 494 | "An alist of semantic token types. |
| 495 | As of December 2001 (semantic 1.4beta13), this variable is not used in | 495 | As of December 2001 (semantic 1.4beta13), this variable is not used in |
| 496 | any code. The only use is to refer to the doc-string from elsewhere. | 496 | any code. The only use is to refer to the doc-string from elsewhere. |
| 497 | 497 | ||
| @@ -1362,11 +1362,11 @@ Return either a paren token or a semantic list token depending on | |||
| 1362 | )) | 1362 | )) |
| 1363 | 1363 | ||
| 1364 | (define-lex-simple-regex-analyzer semantic-lex-open-paren | 1364 | (define-lex-simple-regex-analyzer semantic-lex-open-paren |
| 1365 | "Detect and create an open parenthisis token." | 1365 | "Detect and create an open parenthesis token." |
| 1366 | "\\s(" 'open-paren 0 (setq semantic-lex-current-depth (1+ semantic-lex-current-depth))) | 1366 | "\\s(" 'open-paren 0 (setq semantic-lex-current-depth (1+ semantic-lex-current-depth))) |
| 1367 | 1367 | ||
| 1368 | (define-lex-simple-regex-analyzer semantic-lex-close-paren | 1368 | (define-lex-simple-regex-analyzer semantic-lex-close-paren |
| 1369 | "Detect and create a close paren token." | 1369 | "Detect and create a close parenthesis token." |
| 1370 | "\\s)" 'close-paren 0 (setq semantic-lex-current-depth (1- semantic-lex-current-depth))) | 1370 | "\\s)" 'close-paren 0 (setq semantic-lex-current-depth (1- semantic-lex-current-depth))) |
| 1371 | 1371 | ||
| 1372 | (define-lex-regex-analyzer semantic-lex-string | 1372 | (define-lex-regex-analyzer semantic-lex-string |
| @@ -1437,7 +1437,7 @@ Return either a paren token or a semantic list token depending on | |||
| 1437 | ;;; Comment lexer | 1437 | ;;; Comment lexer |
| 1438 | ;; | 1438 | ;; |
| 1439 | ;; Predefined lexers that could be used instead of creating new | 1439 | ;; Predefined lexers that could be used instead of creating new |
| 1440 | ;; analyers. | 1440 | ;; analyzers. |
| 1441 | 1441 | ||
| 1442 | (define-lex semantic-comment-lexer | 1442 | (define-lex semantic-comment-lexer |
| 1443 | "A simple lexical analyzer that handles comments. | 1443 | "A simple lexical analyzer that handles comments. |
| @@ -1677,7 +1677,7 @@ When the lexer encounters the open-paren delimiter \"(\": | |||
| 1677 | ;;; Lexical Safety | 1677 | ;;; Lexical Safety |
| 1678 | ;; | 1678 | ;; |
| 1679 | ;; The semantic lexers, unlike other lexers, can throw errors on | 1679 | ;; The semantic lexers, unlike other lexers, can throw errors on |
| 1680 | ;; unbalanced syntax. Since editing is all about changeging test | 1680 | ;; unbalanced syntax. Since editing is all about changing text |
| 1681 | ;; we need to provide a convenient way to protect against syntactic | 1681 | ;; we need to provide a convenient way to protect against syntactic |
| 1682 | ;; inequalities. | 1682 | ;; inequalities. |
| 1683 | 1683 | ||
| @@ -1758,7 +1758,7 @@ If there is no error, then the last value of FORMS is returned." | |||
| 1758 | (semantic-alias-obsolete 'semantic-flex-map-keywords 'semantic-lex-map-keywords "23.2") | 1758 | (semantic-alias-obsolete 'semantic-flex-map-keywords 'semantic-lex-map-keywords "23.2") |
| 1759 | (semantic-alias-obsolete 'semantic-flex-keywords 'semantic-lex-keywords "23.2") | 1759 | (semantic-alias-obsolete 'semantic-flex-keywords 'semantic-lex-keywords "23.2") |
| 1760 | (semantic-alias-obsolete 'semantic-flex-buffer 'semantic-lex-buffer "23.2") | 1760 | (semantic-alias-obsolete 'semantic-flex-buffer 'semantic-lex-buffer "23.2") |
| 1761 | (semantic-alias-obsolete 'semantic-flex-list 'semantic-lex-list "23.2") | 1761 | (semantic-alias-obsolete 'semantic-flex-list 'semantic-lex-list "23.2") |
| 1762 | 1762 | ||
| 1763 | ;; This simple scanner uses the syntax table to generate a stream of | 1763 | ;; This simple scanner uses the syntax table to generate a stream of |
| 1764 | ;; simple tokens of the form: | 1764 | ;; simple tokens of the form: |
| @@ -1769,7 +1769,7 @@ If there is no error, then the last value of FORMS is returned." | |||
| 1769 | ;; objects boundary. | 1769 | ;; objects boundary. |
| 1770 | 1770 | ||
| 1771 | (defvar semantic-flex-tokens semantic-lex-tokens | 1771 | (defvar semantic-flex-tokens semantic-lex-tokens |
| 1772 | "An alist of of semantic token types. | 1772 | "An alist of semantic token types. |
| 1773 | See variable `semantic-lex-tokens'.") | 1773 | See variable `semantic-lex-tokens'.") |
| 1774 | 1774 | ||
| 1775 | (defvar semantic-flex-unterminated-syntax-end-function | 1775 | (defvar semantic-flex-unterminated-syntax-end-function |
diff --git a/lisp/cedet/semantic/sb.el b/lisp/cedet/semantic/sb.el index 88b0cc33d43..8c3d6c17cf4 100644 --- a/lisp/cedet/semantic/sb.el +++ b/lisp/cedet/semantic/sb.el | |||
| @@ -87,7 +87,7 @@ Restore the old current buffer when completed." | |||
| 87 | ;; @ type | 87 | ;; @ type |
| 88 | ;; = default value | 88 | ;; = default value |
| 89 | ;; | 89 | ;; |
| 90 | ;; +> keywrd Type | 90 | ;; +> keyword Type |
| 91 | ;; +> type part | 91 | ;; +> type part |
| 92 | ;; | 92 | ;; |
| 93 | ;; +> -> click to see additional information | 93 | ;; +> -> click to see additional information |
| @@ -313,7 +313,7 @@ TEXT TOKEN and INDENT are the details." | |||
| 313 | (save-excursion (speedbar-stealthy-updates)) | 313 | (save-excursion (speedbar-stealthy-updates)) |
| 314 | (semantic-go-to-tag token parent) | 314 | (semantic-go-to-tag token parent) |
| 315 | (switch-to-buffer (current-buffer)) | 315 | (switch-to-buffer (current-buffer)) |
| 316 | ;; Reset the timer with a new timeout when cliking a file | 316 | ;; Reset the timer with a new timeout when clicking a file |
| 317 | ;; in case the user was navigating directories, we can cancel | 317 | ;; in case the user was navigating directories, we can cancel |
| 318 | ;; that other timer. | 318 | ;; that other timer. |
| 319 | ;; (speedbar-set-timer dframe-update-speed) | 319 | ;; (speedbar-set-timer dframe-update-speed) |
| @@ -399,7 +399,7 @@ Returns the tag list, or t for an error." | |||
| 399 | (if (listp out) | 399 | (if (listp out) |
| 400 | (condition-case nil | 400 | (condition-case nil |
| 401 | (progn | 401 | (progn |
| 402 | ;; This brings externally defind methods into | 402 | ;; This brings externally defined methods into |
| 403 | ;; their classes, and creates meta classes for | 403 | ;; their classes, and creates meta classes for |
| 404 | ;; orphans. | 404 | ;; orphans. |
| 405 | (setq out (semantic-adopt-external-members out)) | 405 | (setq out (semantic-adopt-external-members out)) |
diff --git a/lisp/cedet/semantic/scope.el b/lisp/cedet/semantic/scope.el index 53695015e4a..16deb245527 100644 --- a/lisp/cedet/semantic/scope.el +++ b/lisp/cedet/semantic/scope.el | |||
| @@ -186,7 +186,7 @@ Use `semantic-ctxt-scoped-types' to find types." | |||
| 186 | (save-excursion | 186 | (save-excursion |
| 187 | (goto-char position) | 187 | (goto-char position) |
| 188 | (let ((code-scoped-types nil)) | 188 | (let ((code-scoped-types nil)) |
| 189 | ;; Lets ask if any types are currently scoped. Scoped | 189 | ;; Let's ask if any types are currently scoped. Scoped |
| 190 | ;; classes and types provide their public methods and types | 190 | ;; classes and types provide their public methods and types |
| 191 | ;; in source code, but are unrelated hierarchically. | 191 | ;; in source code, but are unrelated hierarchically. |
| 192 | (let ((sp (semantic-ctxt-scoped-types))) | 192 | (let ((sp (semantic-ctxt-scoped-types))) |
| @@ -249,7 +249,7 @@ are from nesting data types." | |||
| 249 | ;; Analyze the stack of tags we are nested in as parents. | 249 | ;; Analyze the stack of tags we are nested in as parents. |
| 250 | ;; | 250 | ;; |
| 251 | 251 | ||
| 252 | ;; If we have a pparent tag, lets go there | 252 | ;; If we have a pparent tag, let's go there |
| 253 | ;; an analyze that stack of tags. | 253 | ;; an analyze that stack of tags. |
| 254 | (when (and pparent (semantic-tag-with-position-p pparent)) | 254 | (when (and pparent (semantic-tag-with-position-p pparent)) |
| 255 | (semantic-go-to-tag pparent) | 255 | (semantic-go-to-tag pparent) |
| @@ -384,7 +384,7 @@ be found." | |||
| 384 | ;;------------------------------------------------------------ | 384 | ;;------------------------------------------------------------ |
| 385 | 385 | ||
| 386 | (define-overloadable-function semantic-analyze-scoped-tags (typelist parentlist) | 386 | (define-overloadable-function semantic-analyze-scoped-tags (typelist parentlist) |
| 387 | "Return accessable tags when TYPELIST and PARENTLIST is in scope. | 387 | "Return accessible tags when TYPELIST and PARENTLIST is in scope. |
| 388 | Tags returned are not in the global name space, but are instead | 388 | Tags returned are not in the global name space, but are instead |
| 389 | scoped inside a class or namespace. Such items can be referenced | 389 | scoped inside a class or namespace. Such items can be referenced |
| 390 | without use of \"object.function()\" style syntax due to an | 390 | without use of \"object.function()\" style syntax due to an |
| @@ -412,7 +412,7 @@ implicit \"object\"." | |||
| 412 | )) | 412 | )) |
| 413 | (setq typelist (cdr typelist))) | 413 | (setq typelist (cdr typelist))) |
| 414 | 414 | ||
| 415 | ;; Loop over the types (which should be sorted by postion | 415 | ;; Loop over the types (which should be sorted by position) |
| 416 | ;; adding to the scopelist as we go, and using the scopelist | 416 | ;; adding to the scopelist as we go, and using the scopelist |
| 417 | ;; for additional searching! | 417 | ;; for additional searching! |
| 418 | (while typelist2 | 418 | (while typelist2 |
| @@ -424,7 +424,7 @@ implicit \"object\"." | |||
| 424 | currentscope)) | 424 | currentscope)) |
| 425 | (setq typelist2 (cdr typelist2))) | 425 | (setq typelist2 (cdr typelist2))) |
| 426 | 426 | ||
| 427 | ;; Collect all the types (class, etc) that are in our heratage. | 427 | ;; Collect all the types (class, etc) that are in our heritage. |
| 428 | ;; These are types that we can extract members from, not those | 428 | ;; These are types that we can extract members from, not those |
| 429 | ;; declared in using statements, or the like. | 429 | ;; declared in using statements, or the like. |
| 430 | ;; Get the PARENTS including nesting scope for this location. | 430 | ;; Get the PARENTS including nesting scope for this location. |
diff --git a/lisp/cedet/semantic/symref/grep.el b/lisp/cedet/semantic/symref/grep.el index 1571622b29a..da250e66bb5 100644 --- a/lisp/cedet/semantic/symref/grep.el +++ b/lisp/cedet/semantic/symref/grep.el | |||
| @@ -102,7 +102,7 @@ ROOTDIR is the root location to run the `find' from. | |||
| 102 | FILEPATTERN is a string representing find flags for searching file patterns. | 102 | FILEPATTERN is a string representing find flags for searching file patterns. |
| 103 | GREPFLAGS are flags passed to grep, such as -n or -l. | 103 | GREPFLAGS are flags passed to grep, such as -n or -l. |
| 104 | GREPPATTERN is the pattern used by grep." | 104 | GREPPATTERN is the pattern used by grep." |
| 105 | ;; We have grep-compute-defaults. Lets use it. | 105 | ;; We have grep-compute-defaults. Let's use it. |
| 106 | (grep-compute-defaults) | 106 | (grep-compute-defaults) |
| 107 | (let* ((grep-expand-keywords semantic-symref-grep-expand-keywords) | 107 | (let* ((grep-expand-keywords semantic-symref-grep-expand-keywords) |
| 108 | (cmd (grep-expand-template grep-find-template | 108 | (cmd (grep-expand-template grep-find-template |
diff --git a/lisp/cedet/semantic/tag-file.el b/lisp/cedet/semantic/tag-file.el index d118d9b6203..86fa382a766 100644 --- a/lisp/cedet/semantic/tag-file.el +++ b/lisp/cedet/semantic/tag-file.el | |||
| @@ -125,7 +125,7 @@ Depends on `semantic-dependency-include-path' for searching. Always searches | |||
| 125 | (tag-fname nil)) | 125 | (tag-fname nil)) |
| 126 | (cond ((semantic-tag-in-buffer-p tag) | 126 | (cond ((semantic-tag-in-buffer-p tag) |
| 127 | ;; If the tag has an overlay and buffer associated with it, | 127 | ;; If the tag has an overlay and buffer associated with it, |
| 128 | ;; switch to that buffer so that we get the right override metohds. | 128 | ;; switch to that buffer so that we get the right override methods. |
| 129 | (set-buffer (semantic-tag-buffer tag))) | 129 | (set-buffer (semantic-tag-buffer tag))) |
| 130 | ((semantic-tag-file-name tag) | 130 | ((semantic-tag-file-name tag) |
| 131 | ;; If it didn't have a buffer, but does have a file | 131 | ;; If it didn't have a buffer, but does have a file |
diff --git a/lisp/cedet/semantic/tag-ls.el b/lisp/cedet/semantic/tag-ls.el index 8f54698d506..4d001322108 100644 --- a/lisp/cedet/semantic/tag-ls.el +++ b/lisp/cedet/semantic/tag-ls.el | |||
| @@ -41,7 +41,7 @@ | |||
| 41 | 41 | ||
| 42 | (define-overloadable-function semantic-tag-calculate-parent (tag) | 42 | (define-overloadable-function semantic-tag-calculate-parent (tag) |
| 43 | "Attempt to calculate the parent of TAG. | 43 | "Attempt to calculate the parent of TAG. |
| 44 | The default behavior (if not overriden with `tag-calculate-parent') | 44 | The default behavior (if not overridden with `tag-calculate-parent') |
| 45 | is to search a buffer found with TAG, and if externally defined, | 45 | is to search a buffer found with TAG, and if externally defined, |
| 46 | search locally, then semanticdb for that tag (when enabled.)") | 46 | search locally, then semanticdb for that tag (when enabled.)") |
| 47 | 47 | ||
| @@ -98,7 +98,7 @@ See `semantic-tag-protection'." | |||
| 98 | prot)) | 98 | prot)) |
| 99 | 99 | ||
| 100 | (defun semantic-tag-protected-p (tag protection &optional parent) | 100 | (defun semantic-tag-protected-p (tag protection &optional parent) |
| 101 | "Non-nil if TAG is is protected. | 101 | "Non-nil if TAG is protected. |
| 102 | PROTECTION is a symbol which can be returned by the method | 102 | PROTECTION is a symbol which can be returned by the method |
| 103 | `semantic-tag-protection'. | 103 | `semantic-tag-protection'. |
| 104 | PARENT is the parent data type which contains TAG. | 104 | PARENT is the parent data type which contains TAG. |
| @@ -106,7 +106,7 @@ PARENT is the parent data type which contains TAG. | |||
| 106 | For these PROTECTIONs, true is returned if TAG is: | 106 | For these PROTECTIONs, true is returned if TAG is: |
| 107 | @table @asis | 107 | @table @asis |
| 108 | @item nil | 108 | @item nil |
| 109 | Always true | 109 | Always true. |
| 110 | @item private | 110 | @item private |
| 111 | True if nil. | 111 | True if nil. |
| 112 | @item protected | 112 | @item protected |
| @@ -221,7 +221,7 @@ something without an implementation." | |||
| 221 | 221 | ||
| 222 | (define-overloadable-function semantic-tag-full-name (tag &optional stream-or-buffer) | 222 | (define-overloadable-function semantic-tag-full-name (tag &optional stream-or-buffer) |
| 223 | "Return the fully qualified name of TAG in the package hierarchy. | 223 | "Return the fully qualified name of TAG in the package hierarchy. |
| 224 | STREAM-OR-BUFFER can be anything convertable by `semantic-something-to-stream', | 224 | STREAM-OR-BUFFER can be anything convertible by `semantic-something-to-stream', |
| 225 | but must be a toplevel semantic tag stream that contains TAG. | 225 | but must be a toplevel semantic tag stream that contains TAG. |
| 226 | A Package Hierarchy is defined in UML by the way classes and methods | 226 | A Package Hierarchy is defined in UML by the way classes and methods |
| 227 | are organized on disk. Some language use this concept such that a | 227 | are organized on disk. Some language use this concept such that a |
diff --git a/lisp/cedet/semantic/tag.el b/lisp/cedet/semantic/tag.el index cf3f5b603c8..82b23d8d1cd 100644 --- a/lisp/cedet/semantic/tag.el +++ b/lisp/cedet/semantic/tag.el | |||
| @@ -1162,7 +1162,7 @@ This function is for internal use only." | |||
| 1162 | (semantic-tag-components-with-overlays tag))))) | 1162 | (semantic-tag-components-with-overlays tag))))) |
| 1163 | 1163 | ||
| 1164 | (defun semantic--tag-unlink-cache-from-buffer () | 1164 | (defun semantic--tag-unlink-cache-from-buffer () |
| 1165 | "Convert all tags in the current cache to use overlay proxys. | 1165 | "Convert all tags in the current cache to use overlay proxies. |
| 1166 | This function is for internal use only." | 1166 | This function is for internal use only." |
| 1167 | (require 'semantic) | 1167 | (require 'semantic) |
| 1168 | (semantic--tag-unlink-list-from-buffer | 1168 | (semantic--tag-unlink-list-from-buffer |
diff --git a/lisp/cedet/semantic/texi.el b/lisp/cedet/semantic/texi.el index 30c5a5cf8b6..78d5569c2a7 100644 --- a/lisp/cedet/semantic/texi.el +++ b/lisp/cedet/semantic/texi.el | |||
| @@ -262,7 +262,7 @@ can handle the @menu environment.") | |||
| 262 | (let ((parenthetical (semantic-up-context-default)) | 262 | (let ((parenthetical (semantic-up-context-default)) |
| 263 | ) | 263 | ) |
| 264 | (when (not parenthetical) | 264 | (when (not parenthetical) |
| 265 | ;; We are in parenthises. Are they the types of parens | 265 | ;; We are in parentheses. Are they the types of parens |
| 266 | ;; belonging to a texinfo construct? | 266 | ;; belonging to a texinfo construct? |
| 267 | (forward-word -1) | 267 | (forward-word -1) |
| 268 | (when (looking-at "@\\w+{") | 268 | (when (looking-at "@\\w+{") |
| @@ -483,7 +483,7 @@ that start with that symbol." | |||
| 483 | ;; This section provides specialized access into texinfo files. | 483 | ;; This section provides specialized access into texinfo files. |
| 484 | ;; Because texinfo files often directly refer to functions and programs | 484 | ;; Because texinfo files often directly refer to functions and programs |
| 485 | ;; it is useful to access the texinfo file from the C code for document | 485 | ;; it is useful to access the texinfo file from the C code for document |
| 486 | ;; maintainance. | 486 | ;; maintenance. |
| 487 | (defun semantic-texi-associated-files (&optional buffer) | 487 | (defun semantic-texi-associated-files (&optional buffer) |
| 488 | "Find texinfo files associated with BUFFER." | 488 | "Find texinfo files associated with BUFFER." |
| 489 | (save-excursion | 489 | (save-excursion |
| @@ -579,7 +579,7 @@ Note: TYPE not yet implemented." | |||
| 579 | ;; (setq doctag (if docstring sourcetag nil)))) | 579 | ;; (setq doctag (if docstring sourcetag nil)))) |
| 580 | ;; (setq tags (cdr tags))))) | 580 | ;; (setq tags (cdr tags))))) |
| 581 | ;; ;; If we found a prototype of the function that has some doc, but not the | 581 | ;; ;; If we found a prototype of the function that has some doc, but not the |
| 582 | ;; ;; actual function, lets make due with that. | 582 | ;; ;; actual function, let's make due with that. |
| 583 | ;; (if (not docstring) | 583 | ;; (if (not docstring) |
| 584 | ;; (cond ((stringp docstringvar) | 584 | ;; (cond ((stringp docstringvar) |
| 585 | ;; (setq docstring docstringvar | 585 | ;; (setq docstring docstringvar |
| @@ -597,7 +597,7 @@ Note: TYPE not yet implemented." | |||
| 597 | ;; ;; If we have a string, do the replacement. | 597 | ;; ;; If we have a string, do the replacement. |
| 598 | ;; (delete-region (semantic-tag-start tag) | 598 | ;; (delete-region (semantic-tag-start tag) |
| 599 | ;; (semantic-tag-end tag)) | 599 | ;; (semantic-tag-end tag)) |
| 600 | ;; ;; Use useful functions from the docaument library. | 600 | ;; ;; Use useful functions from the document library. |
| 601 | ;; (srecode-texi-insert-tag-as-doc doctag) | 601 | ;; (srecode-texi-insert-tag-as-doc doctag) |
| 602 | ;; ;(semantic-insert-foreign-tag doctag) | 602 | ;; ;(semantic-insert-foreign-tag doctag) |
| 603 | ;; )) | 603 | ;; )) |
diff --git a/lisp/cedet/semantic/wisent/python.el b/lisp/cedet/semantic/wisent/python.el index 095a817f08d..1f52e9eb3b6 100644 --- a/lisp/cedet/semantic/wisent/python.el +++ b/lisp/cedet/semantic/wisent/python.el | |||
| @@ -108,7 +108,7 @@ line ends at the end of the buffer, leave the point there." | |||
| 108 | (defun wisent-python-forward-line-skip-indented () | 108 | (defun wisent-python-forward-line-skip-indented () |
| 109 | "Move point to the next logical line, skipping indented lines. | 109 | "Move point to the next logical line, skipping indented lines. |
| 110 | That is the next line whose indentation is less than or equal to the | 110 | That is the next line whose indentation is less than or equal to the |
| 111 | identation of the current line." | 111 | indentation of the current line." |
| 112 | (let ((indent (current-indentation))) | 112 | (let ((indent (current-indentation))) |
| 113 | (while (progn (wisent-python-forward-line) | 113 | (while (progn (wisent-python-forward-line) |
| 114 | (and (not (eobp)) | 114 | (and (not (eobp)) |
| @@ -291,7 +291,7 @@ To be implemented for Python! For now just return nil." | |||
| 291 | ;; Character used to separation a parent/child relationship | 291 | ;; Character used to separation a parent/child relationship |
| 292 | semantic-type-relation-separator-character '(".") | 292 | semantic-type-relation-separator-character '(".") |
| 293 | semantic-command-separation-character ";" | 293 | semantic-command-separation-character ";" |
| 294 | ;; The following is no more necessary as semantic-lex is overriden | 294 | ;; The following is no more necessary as semantic-lex is overridden |
| 295 | ;; in python-mode. | 295 | ;; in python-mode. |
| 296 | ;; semantic-lex-analyzer 'wisent-python-lexer | 296 | ;; semantic-lex-analyzer 'wisent-python-lexer |
| 297 | 297 | ||
diff --git a/lisp/cedet/srecode/compile.el b/lisp/cedet/srecode/compile.el index 052999bf7c8..d3623d6022f 100644 --- a/lisp/cedet/srecode/compile.el +++ b/lisp/cedet/srecode/compile.el | |||
| @@ -62,11 +62,11 @@ | |||
| 62 | (dictionary :initarg :dictionary | 62 | (dictionary :initarg :dictionary |
| 63 | :type (or null srecode-dictionary) | 63 | :type (or null srecode-dictionary) |
| 64 | :documentation | 64 | :documentation |
| 65 | "List of section dictinaries. | 65 | "List of section dictionaries. |
| 66 | The compiled template can contain lists of section dictionaries, | 66 | The compiled template can contain lists of section dictionaries, |
| 67 | or values that are expected to be passed down into different | 67 | or values that are expected to be passed down into different |
| 68 | section macros. The template section dictionaries are merged in with | 68 | section macros. The template section dictionaries are merged in with |
| 69 | any incomming dictionaries values.") | 69 | any incoming dictionaries values.") |
| 70 | (binding :initarg :binding | 70 | (binding :initarg :binding |
| 71 | :documentation | 71 | :documentation |
| 72 | "Preferred keybinding for this template in `srecode-minor-mode-map'.") | 72 | "Preferred keybinding for this template in `srecode-minor-mode-map'.") |
| @@ -552,7 +552,7 @@ A list of defined variables VARS provides a variable table." | |||
| 552 | (when (not hs) | 552 | (when (not hs) |
| 553 | (setq hs (make-hash-table :test 'equal :size 20)) | 553 | (setq hs (make-hash-table :test 'equal :size 20)) |
| 554 | (puthash context hs contexthash)) | 554 | (puthash context hs contexthash)) |
| 555 | ;; Put into that contenxt's hash. | 555 | ;; Put into that context's hash. |
| 556 | (puthash objname (car lp) hs) | 556 | (puthash objname (car lp) hs) |
| 557 | ) | 557 | ) |
| 558 | 558 | ||
diff --git a/lisp/cedet/srecode/ctxt.el b/lisp/cedet/srecode/ctxt.el index cae52428e75..11d84e96f41 100644 --- a/lisp/cedet/srecode/ctxt.el +++ b/lisp/cedet/srecode/ctxt.el | |||
| @@ -64,7 +64,7 @@ Some useful context values used by the provided srecode templates are: | |||
| 64 | \"comment\" - In a comment in a block of code | 64 | \"comment\" - In a comment in a block of code |
| 65 | -- these items show up at the end of the context list. -- | 65 | -- these items show up at the end of the context list. -- |
| 66 | \"public\", \"protected\", \"private\" - | 66 | \"public\", \"protected\", \"private\" - |
| 67 | In or near a section of public/pritected/private entries. | 67 | In or near a section of public/protected/private entries. |
| 68 | \"code\" - In a block of code. | 68 | \"code\" - In a block of code. |
| 69 | \"string\" - In a string in a block of code | 69 | \"string\" - In a string in a block of code |
| 70 | \"comment\" - In a comment in a block of code | 70 | \"comment\" - In a comment in a block of code |
| @@ -73,7 +73,7 @@ Some useful context values used by the provided srecode templates are: | |||
| 73 | ) | 73 | ) |
| 74 | 74 | ||
| 75 | (defun srecode-calculate-nearby-things () | 75 | (defun srecode-calculate-nearby-things () |
| 76 | ;; NOTE: May need to add bounes to this FCN | 76 | ;; NOTE: May need to add bounds to this FCN |
| 77 | "Calculate the CONTEXT type items nearby the current point. | 77 | "Calculate the CONTEXT type items nearby the current point. |
| 78 | Assume that what we want to insert next is based on what is just | 78 | Assume that what we want to insert next is based on what is just |
| 79 | before point. If there is nothing, then assume it is whatever is | 79 | before point. If there is nothing, then assume it is whatever is |
diff --git a/lisp/cedet/srecode/dictionary.el b/lisp/cedet/srecode/dictionary.el index 521532bed33..62ceff82448 100644 --- a/lisp/cedet/srecode/dictionary.el +++ b/lisp/cedet/srecode/dictionary.el | |||
| @@ -202,7 +202,7 @@ associated with a buffer or parent." | |||
| 202 | :size 20) | 202 | :size 20) |
| 203 | :origin origin))) | 203 | :origin origin))) |
| 204 | ;; Only set up the default variables if we are being built | 204 | ;; Only set up the default variables if we are being built |
| 205 | ;; directroy for a particular buffer. | 205 | ;; directly for a particular buffer. |
| 206 | (when initfrombuff | 206 | (when initfrombuff |
| 207 | ;; Variables from the table we are inserting from. | 207 | ;; Variables from the table we are inserting from. |
| 208 | ;; @todo - get a better tree of tables. | 208 | ;; @todo - get a better tree of tables. |
| @@ -280,7 +280,7 @@ inserted dictionaries." | |||
| 280 | (progn | 280 | (progn |
| 281 | (srecode-dictionary-show-section new "FIRST") | 281 | (srecode-dictionary-show-section new "FIRST") |
| 282 | (srecode-dictionary-show-section new "LAST")) | 282 | (srecode-dictionary-show-section new "LAST")) |
| 283 | ;; Not the very first one. Lets clean up CAR. | 283 | ;; Not the very first one. Let's clean up CAR. |
| 284 | (let ((tail (car (last ov)))) | 284 | (let ((tail (car (last ov)))) |
| 285 | (srecode-dictionary-hide-section tail "LAST") | 285 | (srecode-dictionary-hide-section tail "LAST") |
| 286 | (srecode-dictionary-show-section tail "NOTLAST") | 286 | (srecode-dictionary-show-section tail "NOTLAST") |
| @@ -436,7 +436,7 @@ The root dictionary is usually for a current or active insertion." | |||
| 436 | 436 | ||
| 437 | ;;; COMPOUND VALUE METHODS | 437 | ;;; COMPOUND VALUE METHODS |
| 438 | ;; | 438 | ;; |
| 439 | ;; Compound values must provide at least the toStriong method | 439 | ;; Compound values must provide at least the toString method |
| 440 | ;; for use in converting the compound value into sometehing insertable. | 440 | ;; for use in converting the compound value into sometehing insertable. |
| 441 | 441 | ||
| 442 | (defmethod srecode-compound-toString ((cp srecode-dictionary-compound-value) | 442 | (defmethod srecode-compound-toString ((cp srecode-dictionary-compound-value) |
diff --git a/lisp/cedet/srecode/document.el b/lisp/cedet/srecode/document.el index a52cadbfb2c..134b5310ab3 100644 --- a/lisp/cedet/srecode/document.el +++ b/lisp/cedet/srecode/document.el | |||
| @@ -122,7 +122,7 @@ RESULT is a string." | |||
| 122 | ("read" . "Reads from") | 122 | ("read" . "Reads from") |
| 123 | ("reset" . "Resets the parameters and returns") | 123 | ("reset" . "Resets the parameters and returns") |
| 124 | ("scan" . "Scans the ") | 124 | ("scan" . "Scans the ") |
| 125 | ("setup\\|init\\(iallize\\)?" . "Initializes the ") | 125 | ("setup\\|init\\(ialize\\)?" . "Initializes the ") |
| 126 | ("select" . "Chooses the ") | 126 | ("select" . "Chooses the ") |
| 127 | ("send" . "Sends a") | 127 | ("send" . "Sends a") |
| 128 | ("re?c\\(v\\|ieves?\\)" . "Receives a ") | 128 | ("re?c\\(v\\|ieves?\\)" . "Receives a ") |
| @@ -167,7 +167,7 @@ doesn't always work correctly." | |||
| 167 | ("str\\(ing\\)?" . "string") | 167 | ("str\\(ing\\)?" . "string") |
| 168 | ("use?r" . "user") | 168 | ("use?r" . "user") |
| 169 | ("num\\(ber\\)?" . "number") | 169 | ("num\\(ber\\)?" . "number") |
| 170 | ("\\(^\\|\\s-\\)id\\($\\|\\s-\\)" . "Identifier") ;complex cause ;commen sylable | 170 | ("\\(^\\|\\s-\\)id\\($\\|\\s-\\)" . "Identifier") ;complex cause ;common sylable |
| 171 | ) | 171 | ) |
| 172 | "List of common English abbreviations or full words. | 172 | "List of common English abbreviations or full words. |
| 173 | These are nouns (as opposed to verbs) for use in creating expanded | 173 | These are nouns (as opposed to verbs) for use in creating expanded |
| @@ -720,7 +720,7 @@ allocating something based on its type." | |||
| 720 | "Convert tag or string PARAM into a name,comment pair. | 720 | "Convert tag or string PARAM into a name,comment pair. |
| 721 | Optional COMMENTLIST is list of previously existing comments to | 721 | Optional COMMENTLIST is list of previously existing comments to |
| 722 | use instead in alist form. If the name doesn't appear in the list of | 722 | use instead in alist form. If the name doesn't appear in the list of |
| 723 | standard names, then englishify it instead." | 723 | standard names, then english it instead." |
| 724 | (let ((cmt "") | 724 | (let ((cmt "") |
| 725 | (aso srecode-document-autocomment-param-alist) | 725 | (aso srecode-document-autocomment-param-alist) |
| 726 | (fnd nil) | 726 | (fnd nil) |
| @@ -811,8 +811,8 @@ not account for verb parts." | |||
| 811 | (if (string-match (car (car al)) (downcase ts)) | 811 | (if (string-match (car (car al)) (downcase ts)) |
| 812 | (progn | 812 | (progn |
| 813 | (setq newstr (concat newstr (cdr (car al)))) | 813 | (setq newstr (concat newstr (cdr (car al)))) |
| 814 | ;; don't terminate because we may actuall have 2 words | 814 | ;; don't terminate because we may actually have 2 words |
| 815 | ;; next to eachother we didn't identify before | 815 | ;; next to each other we didn't identify before |
| 816 | (setq llow t))) | 816 | (setq llow t))) |
| 817 | (setq al (cdr al))) | 817 | (setq al (cdr al))) |
| 818 | (if (not llow) (setq newstr (concat newstr ts))) | 818 | (if (not llow) (setq newstr (concat newstr ts))) |
diff --git a/lisp/cedet/srecode/extract.el b/lisp/cedet/srecode/extract.el index 80e6f9d8d1c..d87dc315829 100644 --- a/lisp/cedet/srecode/extract.el +++ b/lisp/cedet/srecode/extract.el | |||
| @@ -61,7 +61,7 @@ | |||
| 61 | (oset st lastdict dict)) | 61 | (oset st lastdict dict)) |
| 62 | 62 | ||
| 63 | (defmethod srecode-extract-state-set-anchor ((st srecode-extract-state)) | 63 | (defmethod srecode-extract-state-set-anchor ((st srecode-extract-state)) |
| 64 | "Reset the achor point on extract state ST." | 64 | "Reset the anchor point on extract state ST." |
| 65 | (oset st anchor (point))) | 65 | (oset st anchor (point))) |
| 66 | 66 | ||
| 67 | (defmethod srecode-extract-state-extract ((st srecode-extract-state) | 67 | (defmethod srecode-extract-state-extract ((st srecode-extract-state) |
diff --git a/lisp/cedet/srecode/fields.el b/lisp/cedet/srecode/fields.el index 088781cfb53..f13fb17ca8f 100644 --- a/lisp/cedet/srecode/fields.el +++ b/lisp/cedet/srecode/fields.el | |||
| @@ -101,7 +101,7 @@ Has virtual :start and :end initializers.") | |||
| 101 | )) | 101 | )) |
| 102 | 102 | ||
| 103 | ;; Create a temporary overlay now. We have to use an overlay and | 103 | ;; Create a temporary overlay now. We have to use an overlay and |
| 104 | ;; not a marker becaues of the in-front insertion rules. The rules | 104 | ;; not a marker because of the in-front insertion rules. The rules |
| 105 | ;; are backward from what is wanted while typing. | 105 | ;; are backward from what is wanted while typing. |
| 106 | (setq olay (make-overlay start end (current-buffer) t nil)) | 106 | (setq olay (make-overlay start end (current-buffer) t nil)) |
| 107 | (overlay-put olay 'srecode-init-only t) | 107 | (overlay-put olay 'srecode-init-only t) |
| @@ -338,7 +338,7 @@ PRE-LEN is used in the after mode for the length of the changed text." | |||
| 338 | (inhibit-modification-hooks t) | 338 | (inhibit-modification-hooks t) |
| 339 | ) | 339 | ) |
| 340 | ;; Sometimes a field is deleted, but we might still get a stray | 340 | ;; Sometimes a field is deleted, but we might still get a stray |
| 341 | ;; event. Lets just ignore those events. | 341 | ;; event. Let's just ignore those events. |
| 342 | (when (slot-boundp field 'overlay) | 342 | (when (slot-boundp field 'overlay) |
| 343 | ;; First, fixup the two overlays, in case they got confused. | 343 | ;; First, fixup the two overlays, in case they got confused. |
| 344 | (let ((main (oref field overlay)) | 344 | (let ((main (oref field overlay)) |
diff --git a/lisp/cedet/srecode/find.el b/lisp/cedet/srecode/find.el index fdca64a7da1..b947c63f4dd 100644 --- a/lisp/cedet/srecode/find.el +++ b/lisp/cedet/srecode/find.el | |||
| @@ -103,7 +103,7 @@ If TAB is nil, then always return t." | |||
| 103 | (let ((proj (oref tab :project))) | 103 | (let ((proj (oref tab :project))) |
| 104 | ;; Return t if the project wasn't set. | 104 | ;; Return t if the project wasn't set. |
| 105 | (if (not proj) t | 105 | (if (not proj) t |
| 106 | ;; If the project directory was set, lets check it. | 106 | ;; If the project directory was set, let's check it. |
| 107 | (let ((dd (expand-file-name default-directory)) | 107 | (let ((dd (expand-file-name default-directory)) |
| 108 | (projexp (regexp-quote (directory-file-name proj)))) | 108 | (projexp (regexp-quote (directory-file-name proj)))) |
| 109 | (if (string-match (concat "^" projexp) dd) | 109 | (if (string-match (concat "^" projexp) dd) |
| @@ -238,7 +238,7 @@ Optional argument HASH is the hash table to fill in." | |||
| 238 | (tabs (when mt (oref mt :tables))) | 238 | (tabs (when mt (oref mt :tables))) |
| 239 | ) | 239 | ) |
| 240 | (while tabs | 240 | (while tabs |
| 241 | ;; Exclude templates for a perticular application. | 241 | ;; Exclude templates for a particular application. |
| 242 | (when (and (not (oref (car tabs) :application)) | 242 | (when (and (not (oref (car tabs) :application)) |
| 243 | (srecode-template-table-in-project-p (car tabs))) | 243 | (srecode-template-table-in-project-p (car tabs))) |
| 244 | (maphash (lambda (key temp) | 244 | (maphash (lambda (key temp) |
diff --git a/lisp/cedet/srecode/insert.el b/lisp/cedet/srecode/insert.el index 84964a9e8b4..60f277b2c9f 100644 --- a/lisp/cedet/srecode/insert.el +++ b/lisp/cedet/srecode/insert.el | |||
| @@ -255,7 +255,7 @@ ST can be a class, or an object." | |||
| 255 | (let ((c (oref st code))) | 255 | (let ((c (oref st code))) |
| 256 | (srecode-push st) | 256 | (srecode-push st) |
| 257 | (srecode-insert-code-stream c dictionary)) | 257 | (srecode-insert-code-stream c dictionary)) |
| 258 | ;; Poping the stack is protected | 258 | ;; Popping the stack is protected. |
| 259 | (srecode-pop st))) | 259 | (srecode-pop st))) |
| 260 | 260 | ||
| 261 | (defun srecode-insert-code-stream (code dictionary) | 261 | (defun srecode-insert-code-stream (code dictionary) |
| @@ -936,7 +936,7 @@ with the dictionaries found in the dictionary." | |||
| 936 | (if (srecode-dictionary-lookup-name dictionary (oref sti :object-name)) | 936 | (if (srecode-dictionary-lookup-name dictionary (oref sti :object-name)) |
| 937 | ;; If we have a value, then call the next method | 937 | ;; If we have a value, then call the next method |
| 938 | (srecode-insert-method-helper sti dictionary 'includedtemplate) | 938 | (srecode-insert-method-helper sti dictionary 'includedtemplate) |
| 939 | ;; If we don't have a special dictitonary, then just insert with the | 939 | ;; If we don't have a special dictionary, then just insert with the |
| 940 | ;; current dictionary. | 940 | ;; current dictionary. |
| 941 | (srecode-insert-subtemplate sti dictionary 'includedtemplate)) | 941 | (srecode-insert-subtemplate sti dictionary 'includedtemplate)) |
| 942 | ) | 942 | ) |
| @@ -946,7 +946,7 @@ with the dictionaries found in the dictionary." | |||
| 946 | ;; It will first insert the included template, then insert the embedded | 946 | ;; It will first insert the included template, then insert the embedded |
| 947 | ;; template wherever the $^$ in the included template was. | 947 | ;; template wherever the $^$ in the included template was. |
| 948 | ;; | 948 | ;; |
| 949 | ;; Since it uses dual inheretance, it will magically get the end-matching | 949 | ;; Since it uses dual inheritance, it will magically get the end-matching |
| 950 | ;; behavior of #, with the including feature of >. | 950 | ;; behavior of #, with the including feature of >. |
| 951 | ;; | 951 | ;; |
| 952 | (defclass srecode-template-inserter-include-wrap (srecode-template-inserter-include srecode-template-inserter-section-start) | 952 | (defclass srecode-template-inserter-include-wrap (srecode-template-inserter-include srecode-template-inserter-section-start) |
diff --git a/lisp/cedet/srecode/mode.el b/lisp/cedet/srecode/mode.el index bb2db79acc6..23d09bc9a4b 100644 --- a/lisp/cedet/srecode/mode.el +++ b/lisp/cedet/srecode/mode.el | |||
| @@ -61,7 +61,7 @@ | |||
| 61 | (define-key km (format "%c" k) 'srecode-bind-insert) | 61 | (define-key km (format "%c" k) 'srecode-bind-insert) |
| 62 | (setq k (1+ k)))) | 62 | (setq k (1+ k)))) |
| 63 | km) | 63 | km) |
| 64 | "Keymap used behind the srecode prefix key in in srecode minor mode.") | 64 | "Keymap used behind the srecode prefix key in srecode minor mode.") |
| 65 | 65 | ||
| 66 | (defvar srecode-menu-bar | 66 | (defvar srecode-menu-bar |
| 67 | (list | 67 | (list |
diff --git a/lisp/cedet/srecode/semantic.el b/lisp/cedet/srecode/semantic.el index 4a1a15c1d12..956bdfbd97a 100644 --- a/lisp/cedet/srecode/semantic.el +++ b/lisp/cedet/srecode/semantic.el | |||
| @@ -394,7 +394,7 @@ as `function' will leave point where code might be inserted." | |||
| 394 | (srecode-semantic-apply-tag-to-dict tagobj dict))) | 394 | (srecode-semantic-apply-tag-to-dict tagobj dict))) |
| 395 | 395 | ||
| 396 | ;; Insert dict-entries into the dictionary LAST so that previous | 396 | ;; Insert dict-entries into the dictionary LAST so that previous |
| 397 | ;; items can be overriden. | 397 | ;; items can be overridden. |
| 398 | (let ((entries dict-entries)) | 398 | (let ((entries dict-entries)) |
| 399 | (while entries | 399 | (while entries |
| 400 | (srecode-dictionary-set-value dict | 400 | (srecode-dictionary-set-value dict |
diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el index 5a407aad135..0a99b7869e8 100644 --- a/lisp/cedet/srecode/srt-mode.el +++ b/lisp/cedet/srecode/srt-mode.el | |||
| @@ -483,7 +483,7 @@ section or ? for an ask variable." | |||
| 483 | 483 | ||
| 484 | (if (> start (point)) | 484 | (if (> start (point)) |
| 485 | ;; If our starting point is after the found point, that | 485 | ;; If our starting point is after the found point, that |
| 486 | ;; means we are not inside the macro. Retur nil. | 486 | ;; means we are not inside the macro. Return nil. |
| 487 | nil | 487 | nil |
| 488 | ;; We are inside the macro, extract the text so far. | 488 | ;; We are inside the macro, extract the text so far. |
| 489 | (let* ((macroend (match-beginning 0)) | 489 | (let* ((macroend (match-beginning 0)) |
diff --git a/lisp/cedet/srecode/texi.el b/lisp/cedet/srecode/texi.el index 33440d04432..acfc2486711 100644 --- a/lisp/cedet/srecode/texi.el +++ b/lisp/cedet/srecode/texi.el | |||
| @@ -231,7 +231,7 @@ This is to take advantage of TeXinfo's markup symbols." | |||
| 231 | (if buffer | 231 | (if buffer |
| 232 | (progn (set-buffer buffer) | 232 | (progn (set-buffer buffer) |
| 233 | (srecode-texi-texify-docstring string)) | 233 | (srecode-texi-texify-docstring string)) |
| 234 | ;; Else, no buffer, so lets do something else | 234 | ;; Else, no buffer, so let's do something else |
| 235 | (with-mode-local texinfo-mode | 235 | (with-mode-local texinfo-mode |
| 236 | (srecode-texi-texify-docstring string))))) | 236 | (srecode-texi-texify-docstring string))))) |
| 237 | 237 | ||
diff --git a/lisp/color.el b/lisp/color.el index 5b67eb58a63..487e280dd59 100644 --- a/lisp/color.el +++ b/lisp/color.el | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | ;; complements, and computing CIEDE2000 color distances. | 28 | ;; complements, and computing CIEDE2000 color distances. |
| 29 | ;; | 29 | ;; |
| 30 | ;; Supported color representations include RGB (red, green, blue), HSV | 30 | ;; Supported color representations include RGB (red, green, blue), HSV |
| 31 | ;; (hue, saturation, value), HSL (hue, saturation, luminence), sRGB, | 31 | ;; (hue, saturation, value), HSL (hue, saturation, luminance), sRGB, |
| 32 | ;; CIE XYZ, and CIE L*a*b* color components. | 32 | ;; CIE XYZ, and CIE L*a*b* color components. |
| 33 | 33 | ||
| 34 | ;;; Code: | 34 | ;;; Code: |
diff --git a/lisp/comint.el b/lisp/comint.el index b91b82adb21..3b874c48f27 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -2568,7 +2568,7 @@ This command is like `M-.' in bash." | |||
| 2568 | ;; First usage; initialize to a marker | 2568 | ;; First usage; initialize to a marker |
| 2569 | (setq comint-insert-previous-argument-last-start-pos | 2569 | (setq comint-insert-previous-argument-last-start-pos |
| 2570 | (make-marker))))) | 2570 | (make-marker))))) |
| 2571 | ;; Make sure we're not in the prompt, and add a beginning space if necess. | 2571 | ;; Make sure we're not in the prompt, and add a beginning space if necessary. |
| 2572 | (if (<= (point) (comint-line-beginning-position)) | 2572 | (if (<= (point) (comint-line-beginning-position)) |
| 2573 | (comint-bol) | 2573 | (comint-bol) |
| 2574 | (just-one-space)) | 2574 | (just-one-space)) |
| @@ -3442,7 +3442,7 @@ Also print a message when redirection is completed." | |||
| 3442 | :group 'comint | 3442 | :group 'comint |
| 3443 | :type 'boolean) | 3443 | :type 'boolean) |
| 3444 | 3444 | ||
| 3445 | ;; Directly analagous to comint-preoutput-filter-functions | 3445 | ;; Directly analogous to comint-preoutput-filter-functions |
| 3446 | (defvar comint-redirect-filter-functions nil | 3446 | (defvar comint-redirect-filter-functions nil |
| 3447 | "List of functions to call before inserting redirected process output. | 3447 | "List of functions to call before inserting redirected process output. |
| 3448 | Each function gets one argument, a string containing the text received | 3448 | Each function gets one argument, a string containing the text received |
diff --git a/lisp/cus-start.el b/lisp/cus-start.el index 3760a7a9d74..1d6b42f48e6 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el | |||
| @@ -400,8 +400,8 @@ since it could result in memory overflow and make Emacs crash." | |||
| 400 | (const :tag "Never (nil)" :value nil) | 400 | (const :tag "Never (nil)" :value nil) |
| 401 | (const :tag "Only on ttys" :value tty) | 401 | (const :tag "Only on ttys" :value tty) |
| 402 | (other :tag "Always" t)) "23.1") | 402 | (other :tag "Always" t)) "23.1") |
| 403 | (window-splits windows boolean "24.1") | 403 | (window-combination-resize windows boolean "24.1") |
| 404 | (window-nest windows boolean "24.1") | 404 | (window-combination-limit windows boolean "24.1") |
| 405 | ;; xdisp.c | 405 | ;; xdisp.c |
| 406 | (show-trailing-whitespace whitespace-faces boolean nil | 406 | (show-trailing-whitespace whitespace-faces boolean nil |
| 407 | :safe booleanp) | 407 | :safe booleanp) |
diff --git a/lisp/desktop.el b/lisp/desktop.el index cdc787dfde9..8a61bec0eea 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Morten Welinder <terra@diku.dk> | 5 | ;; Author: Morten Welinder <terra@diku.dk> |
| 6 | ;; Keywords: convenience | 6 | ;; Keywords: convenience |
| 7 | ;; Favourite-brand-of-beer: None, I hate beer. | 7 | ;; Favorite-brand-of-beer: None, I hate beer. |
| 8 | 8 | ||
| 9 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| 10 | 10 | ||
| @@ -1176,7 +1176,7 @@ directory DIRNAME." | |||
| 1176 | (setq desktop-buffer-fail-count (1+ desktop-buffer-fail-count)) | 1176 | (setq desktop-buffer-fail-count (1+ desktop-buffer-fail-count)) |
| 1177 | (setq result nil)) | 1177 | (setq result nil)) |
| 1178 | ;; Restore buffer list order with new buffer at end. Don't change | 1178 | ;; Restore buffer list order with new buffer at end. Don't change |
| 1179 | ;; the order for old desktop files (old desktop module behaviour). | 1179 | ;; the order for old desktop files (old desktop module behavior). |
| 1180 | (unless (< desktop-file-version 206) | 1180 | (unless (< desktop-file-version 206) |
| 1181 | (mapc 'bury-buffer buffer-list) | 1181 | (mapc 'bury-buffer buffer-list) |
| 1182 | (when result (bury-buffer result))) | 1182 | (when result (bury-buffer result))) |
diff --git a/lisp/dframe.el b/lisp/dframe.el index 93d9e7948cf..b7c29d8f992 100644 --- a/lisp/dframe.el +++ b/lisp/dframe.el | |||
| @@ -96,7 +96,7 @@ | |||
| 96 | ;; dframe-track-mouse, dframe-help-echo-function -- | 96 | ;; dframe-track-mouse, dframe-help-echo-function -- |
| 97 | ;; These variables need to be set to functions that display info | 97 | ;; These variables need to be set to functions that display info |
| 98 | ;; based on the mouse's position. | 98 | ;; based on the mouse's position. |
| 99 | ;; Text propert 'help-echo, set to `dframe-help-echo', which will | 99 | ;; Text property 'help-echo, set to `dframe-help-echo', which will |
| 100 | ;; call `dframe-help-echo-function'. | 100 | ;; call `dframe-help-echo-function'. |
| 101 | ;; Have a `-click' function, it can call `dframe-quick-mouse' for | 101 | ;; Have a `-click' function, it can call `dframe-quick-mouse' for |
| 102 | ;; positioning. If the variable `dframe-power-click' is non-nil, | 102 | ;; positioning. If the variable `dframe-power-click' is non-nil, |
| @@ -136,7 +136,7 @@ This is nil for terminals, since updating a frame in a terminal | |||
| 136 | is not useful to the user.") | 136 | is not useful to the user.") |
| 137 | 137 | ||
| 138 | (defcustom dframe-update-speed | 138 | (defcustom dframe-update-speed |
| 139 | (if (featurep 'xemacs) 2 ; 1 is too obrusive in XEmacs | 139 | (if (featurep 'xemacs) 2 ; 1 is too obtrusive in XEmacs |
| 140 | 1) | 140 | 1) |
| 141 | "Idle time in seconds needed before dframe will update itself. | 141 | "Idle time in seconds needed before dframe will update itself. |
| 142 | Updates occur to allow dframe to display directory information | 142 | Updates occur to allow dframe to display directory information |
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index b09096978fd..b63940cec2d 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -347,7 +347,7 @@ This calls touch." | |||
| 347 | ;; Do the operation and record failures. | 347 | ;; Do the operation and record failures. |
| 348 | failures (nconc (apply function (append args pending)) | 348 | failures (nconc (apply function (append args pending)) |
| 349 | failures) | 349 | failures) |
| 350 | ;; Transfer the elemens of PENDING onto PAST | 350 | ;; Transfer the elements of PENDING onto PAST |
| 351 | ;; and clear it out. Now PAST contains the first N files | 351 | ;; and clear it out. Now PAST contains the first N files |
| 352 | ;; specified (for some N), and FILES contains the rest. | 352 | ;; specified (for some N), and FILES contains the rest. |
| 353 | past (nconc past pending) | 353 | past (nconc past pending) |
| @@ -1490,7 +1490,7 @@ ARG as in `dired-get-marked-files'. | |||
| 1490 | Optional arg MARKER-CHAR as in `dired-create-files'. | 1490 | Optional arg MARKER-CHAR as in `dired-create-files'. |
| 1491 | Optional arg OP1 is an alternate form for OPERATION if there is | 1491 | Optional arg OP1 is an alternate form for OPERATION if there is |
| 1492 | only one file. | 1492 | only one file. |
| 1493 | Optional arg HOW-TO determiness how to treat the target. | 1493 | Optional arg HOW-TO determines how to treat the target. |
| 1494 | If HOW-TO is nil, use `file-directory-p' to determine if the | 1494 | If HOW-TO is nil, use `file-directory-p' to determine if the |
| 1495 | target is a directory. If so, the marked file(s) are created | 1495 | target is a directory. If so, the marked file(s) are created |
| 1496 | inside that directory. Otherwise, the target is a plain file; | 1496 | inside that directory. Otherwise, the target is a plain file; |
diff --git a/lisp/dired.el b/lisp/dired.el index 4e03d61a06e..32a7f749681 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -704,7 +704,7 @@ Don't use that together with FILTER." | |||
| 704 | 704 | ||
| 705 | (defun dired-file-name-at-point () | 705 | (defun dired-file-name-at-point () |
| 706 | "Try to get a file name at point in the current dired buffer. | 706 | "Try to get a file name at point in the current dired buffer. |
| 707 | This hook is inteneded to be put in `file-name-at-point-functions'." | 707 | This hook is intended to be put in `file-name-at-point-functions'." |
| 708 | (let ((filename (dired-get-filename nil t))) | 708 | (let ((filename (dired-get-filename nil t))) |
| 709 | (when filename | 709 | (when filename |
| 710 | (if (file-directory-p filename) | 710 | (if (file-directory-p filename) |
| @@ -1025,7 +1025,7 @@ BEG..END is the line where the file info is located." | |||
| 1025 | ;; spaces there (and within the filename as well, of course). | 1025 | ;; spaces there (and within the filename as well, of course). |
| 1026 | (save-excursion | 1026 | (save-excursion |
| 1027 | (let (file file-col other other-col) | 1027 | (let (file file-col other other-col) |
| 1028 | ;; Check that there is indeed a file, and that there is anoter adjacent | 1028 | ;; Check that there is indeed a file, and that there is another adjacent |
| 1029 | ;; file with which to align, and that additional spaces are needed to | 1029 | ;; file with which to align, and that additional spaces are needed to |
| 1030 | ;; align the filenames. | 1030 | ;; align the filenames. |
| 1031 | (when (and (setq file (progn (goto-char beg) | 1031 | (when (and (setq file (progn (goto-char beg) |
| @@ -3667,7 +3667,7 @@ Ask means pop up a menu for the user to select one of copy, move or link." | |||
| 3667 | ;;;;;; dired-run-shell-command dired-do-shell-command dired-do-async-shell-command | 3667 | ;;;;;; dired-run-shell-command dired-do-shell-command dired-do-async-shell-command |
| 3668 | ;;;;;; dired-clean-directory dired-do-print dired-do-touch dired-do-chown | 3668 | ;;;;;; dired-clean-directory dired-do-print dired-do-touch dired-do-chown |
| 3669 | ;;;;;; dired-do-chgrp dired-do-chmod dired-compare-directories dired-backup-diff | 3669 | ;;;;;; dired-do-chgrp dired-do-chmod dired-compare-directories dired-backup-diff |
| 3670 | ;;;;;; dired-diff) "dired-aux" "dired-aux.el" "0ffe89ae728efb341dfacff6c85e2ba4") | 3670 | ;;;;;; dired-diff) "dired-aux" "dired-aux.el" "2026ac587f0d9e893bae7662ff9d9318") |
| 3671 | ;;; Generated autoloads from dired-aux.el | 3671 | ;;; Generated autoloads from dired-aux.el |
| 3672 | 3672 | ||
| 3673 | (autoload 'dired-diff "dired-aux" "\ | 3673 | (autoload 'dired-diff "dired-aux" "\ |
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index a245a91c5c1..976848e155d 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el | |||
| @@ -664,8 +664,8 @@ | |||
| 664 | 664 | ||
| 665 | ;; @@@ Enabling automatic advice activation: | 665 | ;; @@@ Enabling automatic advice activation: |
| 666 | ;; ========================================= | 666 | ;; ========================================= |
| 667 | ;; Automatic advice activation is enabled by default. It can be disabled by | 667 | ;; Automatic advice activation is enabled by default. It can be disabled with |
| 668 | ;; doint `M-x ad-stop-advice' and enabled again with `M-x ad-start-advice'. | 668 | ;; `M-x ad-stop-advice' and enabled again with `M-x ad-start-advice'. |
| 669 | 669 | ||
| 670 | ;; @@ Caching of advised definitions: | 670 | ;; @@ Caching of advised definitions: |
| 671 | ;; ================================== | 671 | ;; ================================== |
| @@ -1608,7 +1608,7 @@ | |||
| 1608 | ;; fii | 1608 | ;; fii |
| 1609 | ;; | 1609 | ;; |
| 1610 | ;; Now we advise `fii' to use an optional second argument that controls the | 1610 | ;; Now we advise `fii' to use an optional second argument that controls the |
| 1611 | ;; amount of incrementation. A list following the (optional) position | 1611 | ;; amount of incrementing. A list following the (optional) position |
| 1612 | ;; argument of the advice will be interpreted as an argument list | 1612 | ;; argument of the advice will be interpreted as an argument list |
| 1613 | ;; specification. This means you cannot specify an empty argument list, and | 1613 | ;; specification. This means you cannot specify an empty argument list, and |
| 1614 | ;; why would you want to anyway? | 1614 | ;; why would you want to anyway? |
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 6d5067151d3..b3ac23b2b76 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el | |||
| @@ -514,6 +514,13 @@ Return non-nil if and only if FILE adds no autoloads to OUTFILE | |||
| 514 | (let ((secondary-autoloads-file-buf | 514 | (let ((secondary-autoloads-file-buf |
| 515 | (if (local-variable-p 'generated-autoload-file) | 515 | (if (local-variable-p 'generated-autoload-file) |
| 516 | (current-buffer)))) | 516 | (current-buffer)))) |
| 517 | ;; Ignore a buffer-local setting if it points to the | ||
| 518 | ;; global value. Otherwise we end up writing a mix of md5s | ||
| 519 | ;; and time-stamps to the global file. (Bug#10049) | ||
| 520 | (and secondary-autoloads-file-buf | ||
| 521 | outfile | ||
| 522 | (not otherbuf) | ||
| 523 | (setq secondary-autoloads-file-buf nil)) | ||
| 517 | (with-current-buffer (marker-buffer output-start) | 524 | (with-current-buffer (marker-buffer output-start) |
| 518 | (save-excursion | 525 | (save-excursion |
| 519 | ;; Insert the section-header line which lists the file name | 526 | ;; Insert the section-header line which lists the file name |
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index 7b98ade2422..0630f5f4e4e 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el | |||
| @@ -527,7 +527,7 @@ | |||
| 527 | ;; However, don't actually bother calling `ignore'. | 527 | ;; However, don't actually bother calling `ignore'. |
| 528 | `(prog1 nil . ,(mapcar 'byte-optimize-form (cdr form)))) | 528 | `(prog1 nil . ,(mapcar 'byte-optimize-form (cdr form)))) |
| 529 | 529 | ||
| 530 | ;; Neeeded as long as we run byte-optimize-form after cconv. | 530 | ;; Needed as long as we run byte-optimize-form after cconv. |
| 531 | ((eq fn 'internal-make-closure) form) | 531 | ((eq fn 'internal-make-closure) form) |
| 532 | 532 | ||
| 533 | ((byte-code-function-p fn) | 533 | ((byte-code-function-p fn) |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 84aaf8718ed..2e05e93d569 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -743,7 +743,7 @@ BYTES and PC are updated after evaluating all the arguments." | |||
| 743 | 743 | ||
| 744 | (defmacro byte-compile-push-bytecode-const2 (opcode const2 bytes pc) | 744 | (defmacro byte-compile-push-bytecode-const2 (opcode const2 bytes pc) |
| 745 | "Push OPCODE and the two-byte constant CONST2 onto BYTES, and add 3 to PC. | 745 | "Push OPCODE and the two-byte constant CONST2 onto BYTES, and add 3 to PC. |
| 746 | CONST2 may be evaulated multiple times." | 746 | CONST2 may be evaluated multiple times." |
| 747 | `(byte-compile-push-bytecodes ,opcode (logand ,const2 255) (lsh ,const2 -8) | 747 | `(byte-compile-push-bytecodes ,opcode (logand ,const2 255) (lsh ,const2 -8) |
| 748 | ,bytes ,pc)) | 748 | ,bytes ,pc)) |
| 749 | 749 | ||
| @@ -2195,7 +2195,7 @@ list that represents a doc string reference. | |||
| 2195 | (byte-compile-keep-pending form))))) | 2195 | (byte-compile-keep-pending form))))) |
| 2196 | 2196 | ||
| 2197 | ;; Functions and variables with doc strings must be output separately, | 2197 | ;; Functions and variables with doc strings must be output separately, |
| 2198 | ;; so make-docfile can recognise them. Most other things can be output | 2198 | ;; so make-docfile can recognize them. Most other things can be output |
| 2199 | ;; as byte-code. | 2199 | ;; as byte-code. |
| 2200 | 2200 | ||
| 2201 | (put 'autoload 'byte-hunk-handler 'byte-compile-file-form-autoload) | 2201 | (put 'autoload 'byte-hunk-handler 'byte-compile-file-form-autoload) |
diff --git a/lisp/emacs-lisp/cconv.el b/lisp/emacs-lisp/cconv.el index 742a98f5e7b..c6e157be776 100644 --- a/lisp/emacs-lisp/cconv.el +++ b/lisp/emacs-lisp/cconv.el | |||
| @@ -26,21 +26,21 @@ | |||
| 26 | 26 | ||
| 27 | ;; This takes a piece of Elisp code, and eliminates all free variables from | 27 | ;; This takes a piece of Elisp code, and eliminates all free variables from |
| 28 | ;; lambda expressions. The user entry points are cconv-closure-convert and | 28 | ;; lambda expressions. The user entry points are cconv-closure-convert and |
| 29 | ;; cconv-closure-convert-toplevel(for toplevel forms). | 29 | ;; cconv-closure-convert-toplevel (for toplevel forms). |
| 30 | ;; All macros should be expanded beforehand. | 30 | ;; All macros should be expanded beforehand. |
| 31 | ;; | 31 | ;; |
| 32 | ;; Here is a brief explanation how this code works. | 32 | ;; Here is a brief explanation how this code works. |
| 33 | ;; Firstly, we analyse the tree by calling cconv-analyse-form. | 33 | ;; Firstly, we analyze the tree by calling cconv-analyse-form. |
| 34 | ;; This function finds all mutated variables, all functions that are suitable | 34 | ;; This function finds all mutated variables, all functions that are suitable |
| 35 | ;; for lambda lifting and all variables captured by closure. It passes the tree | 35 | ;; for lambda lifting and all variables captured by closure. It passes the tree |
| 36 | ;; once, returning a list of three lists. | 36 | ;; once, returning a list of three lists. |
| 37 | ;; | 37 | ;; |
| 38 | ;; Then we calculate the intersection of first and third lists returned by | 38 | ;; Then we calculate the intersection of the first and third lists returned by |
| 39 | ;; cconv-analyse form to find all mutated variables that are captured by | 39 | ;; cconv-analyse form to find all mutated variables that are captured by |
| 40 | ;; closure. | 40 | ;; closure. |
| 41 | 41 | ||
| 42 | ;; Armed with this data, we call cconv-closure-convert-rec, that rewrites the | 42 | ;; Armed with this data, we call cconv-closure-convert-rec, that rewrites the |
| 43 | ;; tree recursivly, lifting lambdas where possible, building closures where it | 43 | ;; tree recursively, lifting lambdas where possible, building closures where it |
| 44 | ;; is needed and eliminating mutable variables used in closure. | 44 | ;; is needed and eliminating mutable variables used in closure. |
| 45 | ;; | 45 | ;; |
| 46 | ;; We do following replacements : | 46 | ;; We do following replacements : |
| @@ -142,7 +142,7 @@ Returns a form where all lambdas don't have any free variables." | |||
| 142 | (let ((cconv-freevars-alist '()) | 142 | (let ((cconv-freevars-alist '()) |
| 143 | (cconv-lambda-candidates '()) | 143 | (cconv-lambda-candidates '()) |
| 144 | (cconv-captured+mutated '())) | 144 | (cconv-captured+mutated '())) |
| 145 | ;; Analyse form - fill these variables with new information. | 145 | ;; Analyze form - fill these variables with new information. |
| 146 | (cconv-analyse-form form '()) | 146 | (cconv-analyse-form form '()) |
| 147 | (setq cconv-freevars-alist (nreverse cconv-freevars-alist)) | 147 | (setq cconv-freevars-alist (nreverse cconv-freevars-alist)) |
| 148 | (cconv-convert form nil nil))) ; Env initially empty. | 148 | (cconv-convert form nil nil))) ; Env initially empty. |
| @@ -581,7 +581,7 @@ FORM is the parent form that binds this var." | |||
| 581 | 581 | ||
| 582 | (defun cconv-analyse-form (form env) | 582 | (defun cconv-analyse-form (form env) |
| 583 | "Find mutated variables and variables captured by closure. | 583 | "Find mutated variables and variables captured by closure. |
| 584 | Analyse lambdas if they are suitable for lambda lifting. | 584 | Analyze lambdas if they are suitable for lambda lifting. |
| 585 | - FORM is a piece of Elisp code after macroexpansion. | 585 | - FORM is a piece of Elisp code after macroexpansion. |
| 586 | - ENV is an alist mapping each enclosing lexical variable to its info. | 586 | - ENV is an alist mapping each enclosing lexical variable to its info. |
| 587 | I.e. each element has the form (VAR . (READ MUTATED CAPTURED CALLED)). | 587 | I.e. each element has the form (VAR . (READ MUTATED CAPTURED CALLED)). |
diff --git a/lisp/emacs-lisp/chart.el b/lisp/emacs-lisp/chart.el index 56930a74693..e9f2ec54601 100644 --- a/lisp/emacs-lisp/chart.el +++ b/lisp/emacs-lisp/chart.el | |||
| @@ -169,7 +169,7 @@ Make sure the width/height is correct." | |||
| 169 | :initform t) | 169 | :initform t) |
| 170 | (name-face :initarg :name-face | 170 | (name-face :initarg :name-face |
| 171 | :initform 'bold) | 171 | :initform 'bold) |
| 172 | (labels-face :initarg :lables-face | 172 | (labels-face :initarg :labels-face |
| 173 | :initform 'italic) | 173 | :initform 'italic) |
| 174 | (chart :initarg :chart | 174 | (chart :initarg :chart |
| 175 | :initform nil) | 175 | :initform nil) |
| @@ -634,7 +634,7 @@ SORT-PRED if desired." | |||
| 634 | (setq extlst (cons s extlst) | 634 | (setq extlst (cons s extlst) |
| 635 | cntlst (cons 1 cntlst))))) | 635 | cntlst (cons 1 cntlst))))) |
| 636 | (setq flst (cdr flst))) | 636 | (setq flst (cdr flst))) |
| 637 | ;; Lets create the chart! | 637 | ;; Let's create the chart! |
| 638 | (chart-bar-quickie 'vertical "Files Extension Distribution" | 638 | (chart-bar-quickie 'vertical "Files Extension Distribution" |
| 639 | extlst "File Extensions" | 639 | extlst "File Extensions" |
| 640 | cntlst "# of occurrences" | 640 | cntlst "# of occurrences" |
| @@ -693,7 +693,7 @@ SORT-PRED if desired." | |||
| 693 | ;(car (nth 5 data)) ; floats are Emacs only | 693 | ;(car (nth 5 data)) ; floats are Emacs only |
| 694 | ;(cdr (nth 5 data)) | 694 | ;(cdr (nth 5 data)) |
| 695 | ))) | 695 | ))) |
| 696 | ;; Lets create the chart! | 696 | ;; Let's create the chart! |
| 697 | (chart-bar-quickie 'vertical "Emacs Runtime Storage Usage" | 697 | (chart-bar-quickie 'vertical "Emacs Runtime Storage Usage" |
| 698 | names "Storage Items" | 698 | names "Storage Items" |
| 699 | nums "Objects"))) | 699 | nums "Objects"))) |
| @@ -710,7 +710,7 @@ SORT-PRED if desired." | |||
| 710 | (if (fboundp 'x-display-list) | 710 | (if (fboundp 'x-display-list) |
| 711 | (setq names (append names '("x-displays")) | 711 | (setq names (append names '("x-displays")) |
| 712 | nums (append nums (list (length (x-display-list)))))) | 712 | nums (append nums (list (length (x-display-list)))))) |
| 713 | ;; Lets create the chart! | 713 | ;; Let's create the chart! |
| 714 | (chart-bar-quickie 'vertical "Emacs List Size Chart" | 714 | (chart-bar-quickie 'vertical "Emacs List Size Chart" |
| 715 | names "Various Lists" | 715 | names "Various Lists" |
| 716 | nums "Objects"))) | 716 | nums "Objects"))) |
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el index c9e32023187..9b708d4bbd2 100644 --- a/lisp/emacs-lisp/checkdoc.el +++ b/lisp/emacs-lisp/checkdoc.el | |||
| @@ -2118,7 +2118,7 @@ before using the Ispell engine on it." | |||
| 2118 | ;; Find out how we spell-check this word. | 2118 | ;; Find out how we spell-check this word. |
| 2119 | (if (or | 2119 | (if (or |
| 2120 | ;; All caps w/ option th, or s tacked on the end | 2120 | ;; All caps w/ option th, or s tacked on the end |
| 2121 | ;; for pluralization or numberthness. | 2121 | ;; for pluralization or number. |
| 2122 | (string-match "^[A-Z][A-Z]+\\(s\\|th\\)?$" word) | 2122 | (string-match "^[A-Z][A-Z]+\\(s\\|th\\)?$" word) |
| 2123 | (looking-at "}") ; a keymap expression | 2123 | (looking-at "}") ; a keymap expression |
| 2124 | ) | 2124 | ) |
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 176b906632c..86c7e59fd07 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -1285,7 +1285,7 @@ expressions; a `progn' form will be returned enclosing these forms." | |||
| 1285 | ;; Wrap a form, usually a defining form, but any evaluated one. | 1285 | ;; Wrap a form, usually a defining form, but any evaluated one. |
| 1286 | ;; If speclist is non-nil, this is being called by edebug-defining-form. | 1286 | ;; If speclist is non-nil, this is being called by edebug-defining-form. |
| 1287 | ;; Otherwise it is being called from edebug-read-and-maybe-wrap-form1. | 1287 | ;; Otherwise it is being called from edebug-read-and-maybe-wrap-form1. |
| 1288 | ;; This is a hack, but I havent figured out a simpler way yet. | 1288 | ;; This is a hack, but I haven't figured out a simpler way yet. |
| 1289 | (let* ((form-data-entry (edebug-get-form-data-entry form-begin form-end)) | 1289 | (let* ((form-data-entry (edebug-get-form-data-entry form-begin form-end)) |
| 1290 | ;; Set this marker before parsing. | 1290 | ;; Set this marker before parsing. |
| 1291 | (edebug-form-begin-marker | 1291 | (edebug-form-begin-marker |
diff --git a/lisp/emacs-lisp/eieio-base.el b/lisp/emacs-lisp/eieio-base.el index 139f5e6a4ce..278dff0f085 100644 --- a/lisp/emacs-lisp/eieio-base.el +++ b/lisp/emacs-lisp/eieio-base.el | |||
| @@ -54,7 +54,7 @@ not been set, use values from the parent." | |||
| 54 | 54 | ||
| 55 | (defmethod slot-unbound ((object eieio-instance-inheritor) class slot-name fn) | 55 | (defmethod slot-unbound ((object eieio-instance-inheritor) class slot-name fn) |
| 56 | "If a slot OBJECT in this CLASS is unbound, try to inherit, or throw a signal. | 56 | "If a slot OBJECT in this CLASS is unbound, try to inherit, or throw a signal. |
| 57 | SLOT-NAME is the offending slot. FN is the function signalling the error." | 57 | SLOT-NAME is the offending slot. FN is the function signaling the error." |
| 58 | (if (slot-boundp object 'parent-instance) | 58 | (if (slot-boundp object 'parent-instance) |
| 59 | ;; It may not look like it, but this line recurses back into this | 59 | ;; It may not look like it, but this line recurses back into this |
| 60 | ;; method if the parent instance's slot is unbound. | 60 | ;; method if the parent instance's slot is unbound. |
| @@ -178,7 +178,7 @@ only one object ever exists." | |||
| 178 | ;; calculate path names relative to a given instance. This will | 178 | ;; calculate path names relative to a given instance. This will |
| 179 | ;; make the saved object location independent by converting all file | 179 | ;; make the saved object location independent by converting all file |
| 180 | ;; references to be relative to the directory the object is saved to. | 180 | ;; references to be relative to the directory the object is saved to. |
| 181 | ;; You must call `eieio-peristent-path-relative' on each file name | 181 | ;; You must call `eieio-persistent-path-relative' on each file name |
| 182 | ;; saved in your object. | 182 | ;; saved in your object. |
| 183 | (defclass eieio-persistent () | 183 | (defclass eieio-persistent () |
| 184 | ((file :initarg :file | 184 | ((file :initarg :file |
diff --git a/lisp/emacs-lisp/eieio-speedbar.el b/lisp/emacs-lisp/eieio-speedbar.el index d28ecd9615b..4ff3cc01978 100644 --- a/lisp/emacs-lisp/eieio-speedbar.el +++ b/lisp/emacs-lisp/eieio-speedbar.el | |||
| @@ -282,7 +282,7 @@ Add one of the child classes to this class to the parent list of a class." | |||
| 282 | :abstract t) | 282 | :abstract t) |
| 283 | 283 | ||
| 284 | 284 | ||
| 285 | ;;; Methods to eieio-speedbar-* which do not need to be overriden | 285 | ;;; Methods to eieio-speedbar-* which do not need to be overridden |
| 286 | ;; | 286 | ;; |
| 287 | (defmethod eieio-speedbar-make-tag-line ((object eieio-speedbar) | 287 | (defmethod eieio-speedbar-make-tag-line ((object eieio-speedbar) |
| 288 | depth) | 288 | depth) |
| @@ -409,7 +409,7 @@ Optional DEPTH is the depth we start at." | |||
| 409 | default-directory)))) | 409 | default-directory)))) |
| 410 | 410 | ||
| 411 | 411 | ||
| 412 | ;;; Methods to the eieio-speedbar-* classes which need to be overriden. | 412 | ;;; Methods to the eieio-speedbar-* classes which need to be overridden. |
| 413 | ;; | 413 | ;; |
| 414 | (defmethod eieio-speedbar-object-children ((object eieio-speedbar)) | 414 | (defmethod eieio-speedbar-object-children ((object eieio-speedbar)) |
| 415 | "Return a list of children to be displayed in speedbar. | 415 | "Return a list of children to be displayed in speedbar. |
diff --git a/lisp/emacs-lisp/eieio.el b/lisp/emacs-lisp/eieio.el index 352bd245ba4..5e29a85d386 100644 --- a/lisp/emacs-lisp/eieio.el +++ b/lisp/emacs-lisp/eieio.el | |||
| @@ -395,7 +395,7 @@ It creates an autoload function for CNAME's constructor." | |||
| 395 | (aset newc class-parent (cons SC (aref newc class-parent))) | 395 | (aset newc class-parent (cons SC (aref newc class-parent))) |
| 396 | ) | 396 | ) |
| 397 | 397 | ||
| 398 | ;; turn this into a useable self-pointing symbol | 398 | ;; turn this into a usable self-pointing symbol |
| 399 | (set cname cname) | 399 | (set cname cname) |
| 400 | 400 | ||
| 401 | ;; Store the new class vector definition into the symbol. We need to | 401 | ;; Store the new class vector definition into the symbol. We need to |
| @@ -509,7 +509,7 @@ See `defclass' for more information." | |||
| 509 | ;; save parent in child | 509 | ;; save parent in child |
| 510 | (aset newc class-parent (list eieio-default-superclass)))) | 510 | (aset newc class-parent (list eieio-default-superclass)))) |
| 511 | 511 | ||
| 512 | ;; turn this into a useable self-pointing symbol | 512 | ;; turn this into a usable self-pointing symbol |
| 513 | (set cname cname) | 513 | (set cname cname) |
| 514 | 514 | ||
| 515 | ;; These two tests must be created right away so we can have self- | 515 | ;; These two tests must be created right away so we can have self- |
| @@ -553,7 +553,7 @@ See `defclass' for more information." | |||
| 553 | (put cname 'cl-deftype-handler | 553 | (put cname 'cl-deftype-handler |
| 554 | (list 'lambda () `(list 'satisfies (quote ,csym))))) | 554 | (list 'lambda () `(list 'satisfies (quote ,csym))))) |
| 555 | 555 | ||
| 556 | ;; before adding new slots, lets add all the methods and classes | 556 | ;; before adding new slots, let's add all the methods and classes |
| 557 | ;; in from the parent class | 557 | ;; in from the parent class |
| 558 | (eieio-copy-parents-into-subclass newc superclasses) | 558 | (eieio-copy-parents-into-subclass newc superclasses) |
| 559 | 559 | ||
| @@ -826,7 +826,7 @@ if default value is nil." | |||
| 826 | ;; Make sure we duplicate those items that are sequences. | 826 | ;; Make sure we duplicate those items that are sequences. |
| 827 | (condition-case nil | 827 | (condition-case nil |
| 828 | (if (sequencep d) (setq d (copy-sequence d))) | 828 | (if (sequencep d) (setq d (copy-sequence d))) |
| 829 | ;; This copy can fail on a cons cell with a non-cons in the cdr. Lets skip it if it doesn't work. | 829 | ;; This copy can fail on a cons cell with a non-cons in the cdr. Let's skip it if it doesn't work. |
| 830 | (error nil)) | 830 | (error nil)) |
| 831 | (if (sequencep type) (setq type (copy-sequence type))) | 831 | (if (sequencep type) (setq type (copy-sequence type))) |
| 832 | (if (sequencep cust) (setq cust (copy-sequence cust))) | 832 | (if (sequencep cust) (setq cust (copy-sequence cust))) |
| @@ -958,7 +958,7 @@ if default value is nil." | |||
| 958 | (progn | 958 | (progn |
| 959 | (eieio-perform-slot-validation-for-default a type value skipnil) | 959 | (eieio-perform-slot-validation-for-default a type value skipnil) |
| 960 | ;; Here we have found a :class version of a slot. This | 960 | ;; Here we have found a :class version of a slot. This |
| 961 | ;; requires a very different aproach. | 961 | ;; requires a very different approach. |
| 962 | (aset newc class-class-allocation-a (cons a (aref newc class-class-allocation-a))) | 962 | (aset newc class-class-allocation-a (cons a (aref newc class-class-allocation-a))) |
| 963 | (aset newc class-class-allocation-doc (cons doc (aref newc class-class-allocation-doc))) | 963 | (aset newc class-class-allocation-doc (cons doc (aref newc class-class-allocation-doc))) |
| 964 | (aset newc class-class-allocation-type (cons type (aref newc class-class-allocation-type))) | 964 | (aset newc class-class-allocation-type (cons type (aref newc class-class-allocation-type))) |
| @@ -1470,7 +1470,7 @@ created by the :initarg tag." | |||
| 1470 | (c (eieio-slot-name-index class obj slot))) | 1470 | (c (eieio-slot-name-index class obj slot))) |
| 1471 | (if (not c) | 1471 | (if (not c) |
| 1472 | ;; It might be missing because it is a :class allocated slot. | 1472 | ;; It might be missing because it is a :class allocated slot. |
| 1473 | ;; Lets check that info out. | 1473 | ;; Let's check that info out. |
| 1474 | (if (setq c (eieio-class-slot-name-index class slot)) | 1474 | (if (setq c (eieio-class-slot-name-index class slot)) |
| 1475 | ;; Oref that slot. | 1475 | ;; Oref that slot. |
| 1476 | (aref (aref (class-v class) class-class-allocation-values) c) | 1476 | (aref (aref (class-v class) class-class-allocation-values) c) |
| @@ -1503,7 +1503,7 @@ Fills in OBJ's SLOT with its default value." | |||
| 1503 | (c (eieio-slot-name-index cl obj slot))) | 1503 | (c (eieio-slot-name-index cl obj slot))) |
| 1504 | (if (not c) | 1504 | (if (not c) |
| 1505 | ;; It might be missing because it is a :class allocated slot. | 1505 | ;; It might be missing because it is a :class allocated slot. |
| 1506 | ;; Lets check that info out. | 1506 | ;; Let's check that info out. |
| 1507 | (if (setq c | 1507 | (if (setq c |
| 1508 | (eieio-class-slot-name-index cl slot)) | 1508 | (eieio-class-slot-name-index cl slot)) |
| 1509 | ;; Oref that slot. | 1509 | ;; Oref that slot. |
| @@ -1549,7 +1549,7 @@ Fills in OBJ's SLOT with VALUE." | |||
| 1549 | (let ((c (eieio-slot-name-index (object-class-fast obj) obj slot))) | 1549 | (let ((c (eieio-slot-name-index (object-class-fast obj) obj slot))) |
| 1550 | (if (not c) | 1550 | (if (not c) |
| 1551 | ;; It might be missing because it is a :class allocated slot. | 1551 | ;; It might be missing because it is a :class allocated slot. |
| 1552 | ;; Lets check that info out. | 1552 | ;; Let's check that info out. |
| 1553 | (if (setq c | 1553 | (if (setq c |
| 1554 | (eieio-class-slot-name-index (aref obj object-class) slot)) | 1554 | (eieio-class-slot-name-index (aref obj object-class) slot)) |
| 1555 | ;; Oset that slot. | 1555 | ;; Oset that slot. |
| @@ -1581,7 +1581,7 @@ Fills in the default value in CLASS' in SLOT with VALUE." | |||
| 1581 | (c (eieio-slot-name-index class nil slot))) | 1581 | (c (eieio-slot-name-index class nil slot))) |
| 1582 | (if (not c) | 1582 | (if (not c) |
| 1583 | ;; It might be missing because it is a :class allocated slot. | 1583 | ;; It might be missing because it is a :class allocated slot. |
| 1584 | ;; Lets check that info out. | 1584 | ;; Let's check that info out. |
| 1585 | (if (setq c (eieio-class-slot-name-index class slot)) | 1585 | (if (setq c (eieio-class-slot-name-index class slot)) |
| 1586 | (progn | 1586 | (progn |
| 1587 | ;; Oref that slot. | 1587 | ;; Oref that slot. |
| @@ -2563,7 +2563,7 @@ This is usually a symbol that starts with `:'." | |||
| 2563 | 2563 | ||
| 2564 | ;;; | 2564 | ;;; |
| 2565 | ;; We want all objects created by EIEIO to have some default set of | 2565 | ;; We want all objects created by EIEIO to have some default set of |
| 2566 | ;; behaviours so we can create object utilities, and allow various | 2566 | ;; behaviors so we can create object utilities, and allow various |
| 2567 | ;; types of error checking. To do this, create the default EIEIO | 2567 | ;; types of error checking. To do this, create the default EIEIO |
| 2568 | ;; class, and when no parent class is specified, use this as the | 2568 | ;; class, and when no parent class is specified, use this as the |
| 2569 | ;; default. (But don't store it in the other classes as the default, | 2569 | ;; default. (But don't store it in the other classes as the default, |
| @@ -3051,7 +3051,7 @@ Optional argument GROUP is the sub-group of slots to display. | |||
| 3051 | 3051 | ||
| 3052 | ;;;### (autoloads (eieio-help-mode-augmentation-maybee eieio-describe-generic | 3052 | ;;;### (autoloads (eieio-help-mode-augmentation-maybee eieio-describe-generic |
| 3053 | ;;;;;; eieio-describe-constructor eieio-describe-class eieio-browse) | 3053 | ;;;;;; eieio-describe-constructor eieio-describe-class eieio-browse) |
| 3054 | ;;;;;; "eieio-opt" "eieio-opt.el" "1bed0a56310f402683419139ebc18d7f") | 3054 | ;;;;;; "eieio-opt" "eieio-opt.el" "4fb6625c3a007438aab4e8e77b6c73c2") |
| 3055 | ;;; Generated autoloads from eieio-opt.el | 3055 | ;;; Generated autoloads from eieio-opt.el |
| 3056 | 3056 | ||
| 3057 | (autoload 'eieio-browse "eieio-opt" "\ | 3057 | (autoload 'eieio-browse "eieio-opt" "\ |
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index 901b6d1bf6a..9822b556f34 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el | |||
| @@ -434,7 +434,7 @@ In the absence of INDEX, just call `eldoc-docstring-format-sym-doc'." | |||
| 434 | nil | 434 | nil |
| 435 | (list (eldoc-current-symbol) argument-index))))) | 435 | (list (eldoc-current-symbol) argument-index))))) |
| 436 | 436 | ||
| 437 | ;; Move to the beginnig of current sexp. Return the number of nested | 437 | ;; Move to the beginning of current sexp. Return the number of nested |
| 438 | ;; sexp the point was over or after. | 438 | ;; sexp the point was over or after. |
| 439 | (defun eldoc-beginning-of-sexp () | 439 | (defun eldoc-beginning-of-sexp () |
| 440 | (let ((parse-sexp-ignore-comments t) | 440 | (let ((parse-sexp-ignore-comments t) |
diff --git a/lisp/emacs-lisp/elint.el b/lisp/emacs-lisp/elint.el index 0b8aa034500..dd3e02b8388 100644 --- a/lisp/emacs-lisp/elint.el +++ b/lisp/emacs-lisp/elint.el | |||
| @@ -296,7 +296,7 @@ If necessary, this first calls `elint-initialize'." | |||
| 296 | (elint-display-log) | 296 | (elint-display-log) |
| 297 | (elint-set-mode-line t) | 297 | (elint-set-mode-line t) |
| 298 | (mapc 'elint-top-form (elint-update-env)) | 298 | (mapc 'elint-top-form (elint-update-env)) |
| 299 | ;; Tell the user we're finished. This is terribly klugy: we set | 299 | ;; Tell the user we're finished. This is terribly kludgy: we set |
| 300 | ;; elint-top-form-logged so elint-log-message doesn't print the | 300 | ;; elint-top-form-logged so elint-log-message doesn't print the |
| 301 | ;; ** top form ** header... | 301 | ;; ** top form ** header... |
| 302 | (elint-set-mode-line) | 302 | (elint-set-mode-line) |
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index 2afe42dc070..8b64cd84bb1 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el | |||
| @@ -248,7 +248,7 @@ Emacs bug 6581 at URL `http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6581'." | |||
| 248 | ;; We disallow nil since `ert-test-at-point' and related functions | 248 | ;; We disallow nil since `ert-test-at-point' and related functions |
| 249 | ;; want to return a test name, but also need an out-of-band value | 249 | ;; want to return a test name, but also need an out-of-band value |
| 250 | ;; on failure. Nil is the most natural out-of-band value; using 0 | 250 | ;; on failure. Nil is the most natural out-of-band value; using 0 |
| 251 | ;; or "" or signalling an error would be too awkward. | 251 | ;; or "" or signaling an error would be too awkward. |
| 252 | ;; | 252 | ;; |
| 253 | ;; Note that nil is still a valid value for the `name' slot in | 253 | ;; Note that nil is still a valid value for the `name' slot in |
| 254 | ;; ert-test objects. It designates an anonymous test. | 254 | ;; ert-test objects. It designates an anonymous test. |
| @@ -448,7 +448,7 @@ arguments: INNER-FORM and FORM-DESCRIPTION-FORM, where INNER-FORM | |||
| 448 | is an expression equivalent to FORM, and FORM-DESCRIPTION-FORM is | 448 | is an expression equivalent to FORM, and FORM-DESCRIPTION-FORM is |
| 449 | an expression that returns a description of FORM. INNER-EXPANDER | 449 | an expression that returns a description of FORM. INNER-EXPANDER |
| 450 | should return code that calls INNER-FORM and performs the checks | 450 | should return code that calls INNER-FORM and performs the checks |
| 451 | and error signalling specific to the particular variant of | 451 | and error signaling specific to the particular variant of |
| 452 | `should'. The code that INNER-EXPANDER returns must not call | 452 | `should'. The code that INNER-EXPANDER returns must not call |
| 453 | FORM-DESCRIPTION-FORM before it has called INNER-FORM." | 453 | FORM-DESCRIPTION-FORM before it has called INNER-FORM." |
| 454 | (lexical-let ((inner-expander inner-expander)) | 454 | (lexical-let ((inner-expander inner-expander)) |
| @@ -489,17 +489,17 @@ Returns nil." | |||
| 489 | 489 | ||
| 490 | Determines whether CONDITION matches TYPE and EXCLUDE-SUBTYPES, | 490 | Determines whether CONDITION matches TYPE and EXCLUDE-SUBTYPES, |
| 491 | and aborts the current test as failed if it doesn't." | 491 | and aborts the current test as failed if it doesn't." |
| 492 | (let ((signalled-conditions (get (car condition) 'error-conditions)) | 492 | (let ((signaled-conditions (get (car condition) 'error-conditions)) |
| 493 | (handled-conditions (etypecase type | 493 | (handled-conditions (etypecase type |
| 494 | (list type) | 494 | (list type) |
| 495 | (symbol (list type))))) | 495 | (symbol (list type))))) |
| 496 | (assert signalled-conditions) | 496 | (assert signaled-conditions) |
| 497 | (unless (ert--intersection signalled-conditions handled-conditions) | 497 | (unless (ert--intersection signaled-conditions handled-conditions) |
| 498 | (ert-fail (append | 498 | (ert-fail (append |
| 499 | (funcall form-description-fn) | 499 | (funcall form-description-fn) |
| 500 | (list | 500 | (list |
| 501 | :condition condition | 501 | :condition condition |
| 502 | :fail-reason (concat "the error signalled did not" | 502 | :fail-reason (concat "the error signaled did not" |
| 503 | " have the expected type"))))) | 503 | " have the expected type"))))) |
| 504 | (when exclude-subtypes | 504 | (when exclude-subtypes |
| 505 | (unless (member (car condition) handled-conditions) | 505 | (unless (member (car condition) handled-conditions) |
| @@ -507,7 +507,7 @@ and aborts the current test as failed if it doesn't." | |||
| 507 | (funcall form-description-fn) | 507 | (funcall form-description-fn) |
| 508 | (list | 508 | (list |
| 509 | :condition condition | 509 | :condition condition |
| 510 | :fail-reason (concat "the error signalled was a subtype" | 510 | :fail-reason (concat "the error signaled was a subtype" |
| 511 | " of the expected type")))))))) | 511 | " of the expected type")))))))) |
| 512 | 512 | ||
| 513 | ;; FIXME: The expansion will evaluate the keyword args (if any) in | 513 | ;; FIXME: The expansion will evaluate the keyword args (if any) in |
| @@ -515,7 +515,7 @@ and aborts the current test as failed if it doesn't." | |||
| 515 | (defmacro* should-error (form &rest keys &key type exclude-subtypes) | 515 | (defmacro* should-error (form &rest keys &key type exclude-subtypes) |
| 516 | "Evaluate FORM and check that it signals an error. | 516 | "Evaluate FORM and check that it signals an error. |
| 517 | 517 | ||
| 518 | The error signalled needs to match TYPE. TYPE should be a list | 518 | The error signaled needs to match TYPE. TYPE should be a list |
| 519 | of condition names. (It can also be a non-nil symbol, which is | 519 | of condition names. (It can also be a non-nil symbol, which is |
| 520 | equivalent to a singleton list containing that symbol.) If | 520 | equivalent to a singleton list containing that symbol.) If |
| 521 | EXCLUDE-SUBTYPES is nil, the error matches TYPE if one of its | 521 | EXCLUDE-SUBTYPES is nil, the error matches TYPE if one of its |
| @@ -523,7 +523,7 @@ condition names is an element of TYPE. If EXCLUDE-SUBTYPES is | |||
| 523 | non-nil, the error matches TYPE if it is an element of TYPE. | 523 | non-nil, the error matches TYPE if it is an element of TYPE. |
| 524 | 524 | ||
| 525 | If the error matches, returns (ERROR-SYMBOL . DATA) from the | 525 | If the error matches, returns (ERROR-SYMBOL . DATA) from the |
| 526 | error. If not, or if no error was signalled, abort the test as | 526 | error. If not, or if no error was signaled, abort the test as |
| 527 | failed." | 527 | failed." |
| 528 | (unless type (setq type ''error)) | 528 | (unless type (setq type ''error)) |
| 529 | (ert--expand-should | 529 | (ert--expand-should |
| @@ -2120,7 +2120,7 @@ To be used in the ERT results buffer." | |||
| 2120 | 2120 | ||
| 2121 | EWOC-FN specifies the direction and should be either `ewoc-prev' | 2121 | EWOC-FN specifies the direction and should be either `ewoc-prev' |
| 2122 | or `ewoc-next'. If there are no more nodes in that direction, an | 2122 | or `ewoc-next'. If there are no more nodes in that direction, an |
| 2123 | error is signalled with the message ERROR-MESSAGE." | 2123 | error is signaled with the message ERROR-MESSAGE." |
| 2124 | (loop | 2124 | (loop |
| 2125 | (setq node (funcall ewoc-fn ert--results-ewoc node)) | 2125 | (setq node (funcall ewoc-fn ert--results-ewoc node)) |
| 2126 | (when (null node) | 2126 | (when (null node) |
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 9408c0a3c9d..f9e7fe44824 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -769,7 +769,7 @@ this command arranges for all errors to enter the debugger." | |||
| 769 | Reset the `defvar' and `defcustom' variables to the initial value. | 769 | Reset the `defvar' and `defcustom' variables to the initial value. |
| 770 | Reinitialize the face according to the `defface' specification." | 770 | Reinitialize the face according to the `defface' specification." |
| 771 | ;; The code in edebug-defun should be consistent with this, but not | 771 | ;; The code in edebug-defun should be consistent with this, but not |
| 772 | ;; the same, since this gets a macroexpended form. | 772 | ;; the same, since this gets a macroexpanded form. |
| 773 | (cond ((not (listp form)) | 773 | (cond ((not (listp form)) |
| 774 | form) | 774 | form) |
| 775 | ((and (eq (car form) 'defvar) | 775 | ((and (eq (car form) 'defvar) |
diff --git a/lisp/emacs-lisp/regi.el b/lisp/emacs-lisp/regi.el index 8000dcd53dd..6905589e5be 100644 --- a/lisp/emacs-lisp/regi.el +++ b/lisp/emacs-lisp/regi.el | |||
| @@ -161,7 +161,7 @@ useful information: | |||
| 161 | (progn (goto-char end) (regi-pos 'bonl)) | 161 | (progn (goto-char end) (regi-pos 'bonl)) |
| 162 | (progn (goto-char start) (regi-pos 'bol))))) | 162 | (progn (goto-char start) (regi-pos 'bol))))) |
| 163 | 163 | ||
| 164 | ;; lets find the special tags and remove them from the working | 164 | ;; let's find the special tags and remove them from the working |
| 165 | ;; frame. note that only the last special tag is used. | 165 | ;; frame. note that only the last special tag is used. |
| 166 | (mapc | 166 | (mapc |
| 167 | (function | 167 | (function |
diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el index 56efd142198..2e388d20114 100644 --- a/lisp/emacs-lisp/rx.el +++ b/lisp/emacs-lisp/rx.el | |||
| @@ -393,7 +393,7 @@ FORM is of the form `(and FORM1 ...)'." | |||
| 393 | (defun rx-anything (form) | 393 | (defun rx-anything (form) |
| 394 | "Match any character." | 394 | "Match any character." |
| 395 | (if (consp form) | 395 | (if (consp form) |
| 396 | (error "rx `anythng' syntax error: %s" form)) | 396 | (error "rx `anything' syntax error: %s" form)) |
| 397 | (rx-or (list 'or 'not-newline ?\n))) | 397 | (rx-or (list 'or 'not-newline ?\n))) |
| 398 | 398 | ||
| 399 | 399 | ||
diff --git a/lisp/emacs-lisp/smie.el b/lisp/emacs-lisp/smie.el index cad7c8419b2..d43ba6c0d3e 100644 --- a/lisp/emacs-lisp/smie.el +++ b/lisp/emacs-lisp/smie.el | |||
| @@ -69,13 +69,23 @@ | |||
| 69 | ;; (exp ("IF" exp "ELSE" exp "END") ("CASE" cases "END")) | 69 | ;; (exp ("IF" exp "ELSE" exp "END") ("CASE" cases "END")) |
| 70 | ;; (cases (cases "ELSE" insts) ...) | 70 | ;; (cases (cases "ELSE" insts) ...) |
| 71 | ;; The IF-rule implies ELSE=END and the CASE-rule implies ELSE>END. | 71 | ;; The IF-rule implies ELSE=END and the CASE-rule implies ELSE>END. |
| 72 | ;; FIXME: we could try to resolve such conflicts automatically by changing | 72 | ;; This can be resolved simply with: |
| 73 | ;; the way BNF rules such as the IF-rule is handled. I.e. rather than | 73 | ;; (exp ("IF" expelseexp "END") ("CASE" cases "END")) |
| 74 | ;; IF=ELSE and ELSE=END, we could turn them into IF<ELSE and ELSE>END | 74 | ;; (expelseexp (exp) (exp "ELSE" exp)) |
| 75 | ;; and IF=END, | 75 | ;; (cases (cases "ELSE" insts) ...) |
| 76 | ;; - Another source of conflict is when a terminator/separator is used to | ||
| 77 | ;; terminate elements at different levels, as in: | ||
| 78 | ;; (decls ("VAR" vars) (decls "," decls)) | ||
| 79 | ;; (vars (id) (vars "," vars)) | ||
| 80 | ;; often these can be resolved by making the lexer distinguish the two | ||
| 81 | ;; kinds of commas, e.g. based on the following token. | ||
| 76 | 82 | ||
| 77 | ;; TODO & BUGS: | 83 | ;; TODO & BUGS: |
| 78 | ;; | 84 | ;; |
| 85 | ;; - We could try to resolve conflicts such as the IFexpELSEexpEND -vs- | ||
| 86 | ;; CASE(casesELSEexp)END automatically by changing the way BNF rules such as | ||
| 87 | ;; the IF-rule is handled. I.e. rather than IF=ELSE and ELSE=END, we could | ||
| 88 | ;; turn them into IF<ELSE and ELSE>END and IF=END. | ||
| 79 | ;; - Using the structural information SMIE gives us, it should be possible to | 89 | ;; - Using the structural information SMIE gives us, it should be possible to |
| 80 | ;; implement a `smie-align' command that would automatically figure out what | 90 | ;; implement a `smie-align' command that would automatically figure out what |
| 81 | ;; there is to align and how to do it (something like: align the token of | 91 | ;; there is to align and how to do it (something like: align the token of |
| @@ -107,6 +117,10 @@ | |||
| 107 | 117 | ||
| 108 | ;;; Code: | 118 | ;;; Code: |
| 109 | 119 | ||
| 120 | ;; FIXME: | ||
| 121 | ;; - smie-indent-comment doesn't interact well with mis-indented lines (where | ||
| 122 | ;; the indent rules don't do what the user wants). Not sure what to do. | ||
| 123 | |||
| 110 | (eval-when-compile (require 'cl)) | 124 | (eval-when-compile (require 'cl)) |
| 111 | 125 | ||
| 112 | (defgroup smie nil | 126 | (defgroup smie nil |
| @@ -130,7 +144,7 @@ | |||
| 130 | ;; - a 2 dimensional precedence table (key word "prec2"), is a 2D | 144 | ;; - a 2 dimensional precedence table (key word "prec2"), is a 2D |
| 131 | ;; table recording the precedence relation (can be `<', `=', `>', or | 145 | ;; table recording the precedence relation (can be `<', `=', `>', or |
| 132 | ;; nil) between each pair of tokens. | 146 | ;; nil) between each pair of tokens. |
| 133 | ;; - a precedence-level table (key word "grammar"), which is a alist | 147 | ;; - a precedence-level table (key word "grammar"), which is an alist |
| 134 | ;; giving for each token its left and right precedence level (a | 148 | ;; giving for each token its left and right precedence level (a |
| 135 | ;; number or nil). This is used in `smie-grammar'. | 149 | ;; number or nil). This is used in `smie-grammar'. |
| 136 | ;; The prec2 tables are only intermediate data structures: the source | 150 | ;; The prec2 tables are only intermediate data structures: the source |
| @@ -138,6 +152,8 @@ | |||
| 138 | ;; turns them into a levels table, which is what's used by the rest of | 152 | ;; turns them into a levels table, which is what's used by the rest of |
| 139 | ;; the SMIE code. | 153 | ;; the SMIE code. |
| 140 | 154 | ||
| 155 | (defvar smie-warning-count 0) | ||
| 156 | |||
| 141 | (defun smie-set-prec2tab (table x y val &optional override) | 157 | (defun smie-set-prec2tab (table x y val &optional override) |
| 142 | (assert (and x y)) | 158 | (assert (and x y)) |
| 143 | (let* ((key (cons x y)) | 159 | (let* ((key (cons x y)) |
| @@ -149,7 +165,8 @@ | |||
| 149 | ;; be able to distinguish the two cases so that overrides | 165 | ;; be able to distinguish the two cases so that overrides |
| 150 | ;; don't hide real conflicts. | 166 | ;; don't hide real conflicts. |
| 151 | (puthash key (gethash key override) table) | 167 | (puthash key (gethash key override) table) |
| 152 | (display-warning 'smie (format "Conflict: %s %s/%s %s" x old val y))) | 168 | (display-warning 'smie (format "Conflict: %s %s/%s %s" x old val y)) |
| 169 | (incf smie-warning-count)) | ||
| 153 | (puthash key val table)))) | 170 | (puthash key val table)))) |
| 154 | 171 | ||
| 155 | (put 'smie-precs->prec2 'pure t) | 172 | (put 'smie-precs->prec2 'pure t) |
| @@ -193,21 +210,54 @@ one of those elements share the same precedence level and associativity." | |||
| 193 | prec2))) | 210 | prec2))) |
| 194 | 211 | ||
| 195 | (put 'smie-bnf->prec2 'pure t) | 212 | (put 'smie-bnf->prec2 'pure t) |
| 196 | (defun smie-bnf->prec2 (bnf &rest precs) | 213 | (defun smie-bnf->prec2 (bnf &rest resolvers) |
| 214 | "Convert the BNF grammar into a prec2 table. | ||
| 215 | BNF is a list of nonterminal definitions of the form: | ||
| 216 | \(NONTERM RHS1 RHS2 ...) | ||
| 217 | where each RHS is a (non-empty) list of terminals (aka tokens) or non-terminals. | ||
| 218 | Not all grammars are accepted: | ||
| 219 | - an RHS cannot be an empty list (this is not needed, since SMIE allows all | ||
| 220 | non-terminals to match the empty string anyway). | ||
| 221 | - an RHS cannot have 2 consecutive non-terminals: between each non-terminal | ||
| 222 | needs to be a terminal (aka token). This is a fundamental limitation of | ||
| 223 | the parsing technology used (operator precedence grammar). | ||
| 224 | Additionally, conflicts can occur: | ||
| 225 | - The returned prec2 table holds constraints between pairs of | ||
| 226 | token, and for any given pair only one constraint can be | ||
| 227 | present, either: T1 < T2, T1 = T2, or T1 > T2. | ||
| 228 | - A token can either be an `opener' (something similar to an open-paren), | ||
| 229 | a `closer' (like a close-paren), or `neither' of the two (e.g. an infix | ||
| 230 | operator, or an inner token like \"else\"). | ||
| 231 | Conflicts can be resolved via RESOLVERS, which is a list of elements that can | ||
| 232 | be either: | ||
| 233 | - a precs table (see `smie-precs->prec2') to resolve conflicting constraints, | ||
| 234 | - a constraint (T1 REL T2) where REL is one of = < or >." | ||
| 197 | ;; FIXME: Add repetition operator like (repeat <separator> <elems>). | 235 | ;; FIXME: Add repetition operator like (repeat <separator> <elems>). |
| 198 | ;; Maybe also add (or <elem1> <elem2>...) for things like | 236 | ;; Maybe also add (or <elem1> <elem2>...) for things like |
| 199 | ;; (exp (exp (or "+" "*" "=" ..) exp)). | 237 | ;; (exp (exp (or "+" "*" "=" ..) exp)). |
| 200 | ;; Basically, make it EBNF (except for the specification of a separator in | 238 | ;; Basically, make it EBNF (except for the specification of a separator in |
| 201 | ;; the repetition, maybe). | 239 | ;; the repetition, maybe). |
| 202 | (let ((nts (mapcar 'car bnf)) ;Non-terminals | 240 | (let* ((nts (mapcar 'car bnf)) ;Non-terminals. |
| 203 | (first-ops-table ()) | 241 | (first-ops-table ()) |
| 204 | (last-ops-table ()) | 242 | (last-ops-table ()) |
| 205 | (first-nts-table ()) | 243 | (first-nts-table ()) |
| 206 | (last-nts-table ()) | 244 | (last-nts-table ()) |
| 207 | (prec2 (make-hash-table :test 'equal)) | 245 | (smie-warning-count 0) |
| 208 | (override (apply 'smie-merge-prec2s | 246 | (prec2 (make-hash-table :test 'equal)) |
| 209 | (mapcar 'smie-precs->prec2 precs))) | 247 | (override |
| 210 | again) | 248 | (let ((precs ()) |
| 249 | (over (make-hash-table :test 'equal))) | ||
| 250 | (dolist (resolver resolvers) | ||
| 251 | (cond | ||
| 252 | ((and (= 3 (length resolver)) (memq (nth 1 resolver) '(= < >))) | ||
| 253 | (smie-set-prec2tab | ||
| 254 | over (nth 0 resolver) (nth 2 resolver) (nth 1 resolver))) | ||
| 255 | ((memq (caar resolver) '(left right assoc nonassoc)) | ||
| 256 | (push resolver precs)) | ||
| 257 | (t (error "Unknown resolver %S" resolver)))) | ||
| 258 | (apply #'smie-merge-prec2s over | ||
| 259 | (mapcar 'smie-precs->prec2 precs)))) | ||
| 260 | again) | ||
| 211 | (dolist (rules bnf) | 261 | (dolist (rules bnf) |
| 212 | (let ((nt (car rules)) | 262 | (let ((nt (car rules)) |
| 213 | (last-ops ()) | 263 | (last-ops ()) |
| @@ -287,8 +337,11 @@ one of those elements share the same precedence level and associativity." | |||
| 287 | (setq rhs (cdr rhs))))) | 337 | (setq rhs (cdr rhs))))) |
| 288 | ;; Keep track of which tokens are openers/closer, so they can get a nil | 338 | ;; Keep track of which tokens are openers/closer, so they can get a nil |
| 289 | ;; precedence in smie-prec2->grammar. | 339 | ;; precedence in smie-prec2->grammar. |
| 290 | (puthash :smie-open/close-alist (smie-bnf-classify bnf) prec2) | 340 | (puthash :smie-open/close-alist (smie-bnf--classify bnf) prec2) |
| 291 | (puthash :smie-closer-alist (smie-bnf-closer-alist bnf) prec2) | 341 | (puthash :smie-closer-alist (smie-bnf--closer-alist bnf) prec2) |
| 342 | (if (> smie-warning-count 0) | ||
| 343 | (display-warning | ||
| 344 | 'smie (format "Total: %d warnings" smie-warning-count))) | ||
| 292 | prec2)) | 345 | prec2)) |
| 293 | 346 | ||
| 294 | ;; (defun smie-prec2-closer-alist (prec2 include-inners) | 347 | ;; (defun smie-prec2-closer-alist (prec2 include-inners) |
| @@ -343,7 +396,7 @@ one of those elements share the same precedence level and associativity." | |||
| 343 | ;; openers) | 396 | ;; openers) |
| 344 | ;; alist))) | 397 | ;; alist))) |
| 345 | 398 | ||
| 346 | (defun smie-bnf-closer-alist (bnf &optional no-inners) | 399 | (defun smie-bnf--closer-alist (bnf &optional no-inners) |
| 347 | ;; We can also build this closer-alist table from a prec2 table, | 400 | ;; We can also build this closer-alist table from a prec2 table, |
| 348 | ;; but it takes more work, and the order is unpredictable, which | 401 | ;; but it takes more work, and the order is unpredictable, which |
| 349 | ;; is a problem for smie-close-block. | 402 | ;; is a problem for smie-close-block. |
| @@ -371,37 +424,33 @@ from the table, e.g. the table will not include things like (\"if\" . \"else\"). | |||
| 371 | (pushnew (cons (car rhs) term) alist :test #'equal))))))) | 424 | (pushnew (cons (car rhs) term) alist :test #'equal))))))) |
| 372 | (nreverse alist))) | 425 | (nreverse alist))) |
| 373 | 426 | ||
| 374 | (defun smie-bnf-classify (bnf) | 427 | (defun smie-bnf--set-class (table token class) |
| 428 | (let ((prev (gethash token table class))) | ||
| 429 | (puthash token | ||
| 430 | (cond | ||
| 431 | ((eq prev class) class) | ||
| 432 | ((eq prev t) t) ;Non-terminal. | ||
| 433 | (t (display-warning | ||
| 434 | 'smie | ||
| 435 | (format "token %s is both %s and %s" token class prev)) | ||
| 436 | 'neither)) | ||
| 437 | table))) | ||
| 438 | |||
| 439 | (defun smie-bnf--classify (bnf) | ||
| 375 | "Return a table classifying terminals. | 440 | "Return a table classifying terminals. |
| 376 | Each terminal can either be an `opener', a `closer', or neither." | 441 | Each terminal can either be an `opener', a `closer', or `neither'." |
| 377 | (let ((table (make-hash-table :test #'equal)) | 442 | (let ((table (make-hash-table :test #'equal)) |
| 378 | (nts (mapcar #'car bnf)) | ||
| 379 | (alist '())) | 443 | (alist '())) |
| 380 | (dolist (category bnf) | 444 | (dolist (category bnf) |
| 381 | (puthash (car category) 'neither table) ;Remove non-terminals. | 445 | (puthash (car category) t table)) ;Mark non-terminals. |
| 446 | (dolist (category bnf) | ||
| 382 | (dolist (rhs (cdr category)) | 447 | (dolist (rhs (cdr category)) |
| 383 | (if (null (cdr rhs)) | 448 | (if (null (cdr rhs)) |
| 384 | (puthash (pop rhs) 'neither table) | 449 | (smie-bnf--set-class table (pop rhs) 'neither) |
| 385 | (let ((first (pop rhs))) | 450 | (smie-bnf--set-class table (pop rhs) 'opener) |
| 386 | (puthash first | 451 | (while (cdr rhs) ;Remove internals. |
| 387 | (if (memq (gethash first table) '(nil opener)) | 452 | (smie-bnf--set-class table (pop rhs) 'neither)) |
| 388 | 'opener | 453 | (smie-bnf--set-class table (pop rhs) 'closer)))) |
| 389 | (unless (member first nts) | ||
| 390 | (error "SMIE: token %s is both opener and non-opener" | ||
| 391 | first)) | ||
| 392 | 'neither) | ||
| 393 | table)) | ||
| 394 | (while (cdr rhs) | ||
| 395 | (puthash (pop rhs) 'neither table)) ;Remove internals. | ||
| 396 | (let ((last (pop rhs))) | ||
| 397 | (puthash last | ||
| 398 | (if (memq (gethash last table) '(nil closer)) | ||
| 399 | 'closer | ||
| 400 | (unless (member last nts) | ||
| 401 | (error "SMIE: token %s is both closer and non-closer" | ||
| 402 | last)) | ||
| 403 | 'neither) | ||
| 404 | table))))) | ||
| 405 | (maphash (lambda (tok v) | 454 | (maphash (lambda (tok v) |
| 406 | (when (memq v '(closer opener)) | 455 | (when (memq v '(closer opener)) |
| 407 | (push (cons tok v) alist))) | 456 | (push (cons tok v) alist))) |
| @@ -692,8 +741,22 @@ Possible return values: | |||
| 692 | ;; Keep looking as long as we haven't matched the | 741 | ;; Keep looking as long as we haven't matched the |
| 693 | ;; topmost operator. | 742 | ;; topmost operator. |
| 694 | (levels | 743 | (levels |
| 695 | (if (numberp (funcall op-forw toklevels)) | 744 | (cond |
| 696 | (push toklevels levels))) | 745 | ((numberp (funcall op-forw toklevels)) |
| 746 | (push toklevels levels)) | ||
| 747 | ;; FIXME: For some languages, we can express the grammar | ||
| 748 | ;; OK, but next-sexp doesn't stop where we'd want it to. | ||
| 749 | ;; E.g. in SML, we'd want to stop right in front of | ||
| 750 | ;; "local" if we're scanning (both forward and backward) | ||
| 751 | ;; from a "val/fun/..." at the same level. | ||
| 752 | ;; Same for Pascal/Modula2's "procedure" w.r.t | ||
| 753 | ;; "type/var/const". | ||
| 754 | ;; | ||
| 755 | ;; ((and (functionp (cadr (funcall op-forw toklevels))) | ||
| 756 | ;; (funcall (cadr (funcall op-forw toklevels)) | ||
| 757 | ;; levels)) | ||
| 758 | ;; (setq levels nil)) | ||
| 759 | )) | ||
| 697 | ;; We matched the topmost operator. If the new operator | 760 | ;; We matched the topmost operator. If the new operator |
| 698 | ;; is the last in the corresponding BNF rule, we're done. | 761 | ;; is the last in the corresponding BNF rule, we're done. |
| 699 | ((not (numberp (funcall op-forw toklevels))) | 762 | ((not (numberp (funcall op-forw toklevels))) |
| @@ -759,7 +822,7 @@ Possible return values: | |||
| 759 | (indirect-function 'smie-op-left) | 822 | (indirect-function 'smie-op-left) |
| 760 | halfsexp)) | 823 | halfsexp)) |
| 761 | 824 | ||
| 762 | ;;; Miscellanous commands using the precedence parser. | 825 | ;;; Miscellaneous commands using the precedence parser. |
| 763 | 826 | ||
| 764 | (defun smie-backward-sexp-command (&optional n) | 827 | (defun smie-backward-sexp-command (&optional n) |
| 765 | "Move backward through N logical elements." | 828 | "Move backward through N logical elements." |
| @@ -980,7 +1043,7 @@ function should return nil for arguments it does not expect. | |||
| 980 | 1043 | ||
| 981 | OFFSET can be: | 1044 | OFFSET can be: |
| 982 | nil use the default indentation rule. | 1045 | nil use the default indentation rule. |
| 983 | `(column . COLUMN) indent to column COLUMN. | 1046 | \(column . COLUMN) indent to column COLUMN. |
| 984 | NUMBER offset by NUMBER, relative to a base token | 1047 | NUMBER offset by NUMBER, relative to a base token |
| 985 | which is the current token for :after and | 1048 | which is the current token for :after and |
| 986 | its parent for :before. | 1049 | its parent for :before. |
| @@ -1579,8 +1642,9 @@ KEYWORDS are additional arguments, which can use the following keywords: | |||
| 1579 | (while (setq closer (pop closers)) | 1642 | (while (setq closer (pop closers)) |
| 1580 | (unless (and closers | 1643 | (unless (and closers |
| 1581 | ;; FIXME: this eliminates prefixes of other | 1644 | ;; FIXME: this eliminates prefixes of other |
| 1582 | ;; closers, but we should probably elimnate | 1645 | ;; closers, but we should probably |
| 1583 | ;; prefixes of other keywords as well. | 1646 | ;; eliminate prefixes of other keywords |
| 1647 | ;; as well. | ||
| 1584 | (string-prefix-p closer (car closers))) | 1648 | (string-prefix-p closer (car closers))) |
| 1585 | (push (aref closer (1- (length closer))) triggers))) | 1649 | (push (aref closer (1- (length closer))) triggers))) |
| 1586 | (delete-dups triggers))))))) | 1650 | (delete-dups triggers))))))) |
diff --git a/lisp/emacs-lisp/tabulated-list.el b/lisp/emacs-lisp/tabulated-list.el index 75c9a01323d..e16970c6804 100644 --- a/lisp/emacs-lisp/tabulated-list.el +++ b/lisp/emacs-lisp/tabulated-list.el | |||
| @@ -321,7 +321,7 @@ This mode is usually not used directly; instead, other major | |||
| 321 | modes are derived from it, using `define-derived-mode'. | 321 | modes are derived from it, using `define-derived-mode'. |
| 322 | 322 | ||
| 323 | In this major mode, the buffer is divided into multiple columns, | 323 | In this major mode, the buffer is divided into multiple columns, |
| 324 | which are labelled using the header line. Each non-empty line | 324 | which are labeled using the header line. Each non-empty line |
| 325 | belongs to one \"entry\", and the entries can be sorted according | 325 | belongs to one \"entry\", and the entries can be sorted according |
| 326 | to their column values. | 326 | to their column values. |
| 327 | 327 | ||
diff --git a/lisp/emacs-lisp/tcover-unsafep.el b/lisp/emacs-lisp/tcover-unsafep.el index cc3e633f098..7144138445c 100644 --- a/lisp/emacs-lisp/tcover-unsafep.el +++ b/lisp/emacs-lisp/tcover-unsafep.el | |||
| @@ -100,7 +100,7 @@ | |||
| 100 | . (risky-local-variable format-alist)) | 100 | . (risky-local-variable format-alist)) |
| 101 | ( (setq buffer-display-count (delete-file "x")) | 101 | ( (setq buffer-display-count (delete-file "x")) |
| 102 | . (function delete-file)) | 102 | . (function delete-file)) |
| 103 | ;;These are actualy safe (they signal errors) | 103 | ;;These are actually safe (they signal errors) |
| 104 | ( (apply '(x) '(1 2 3)) | 104 | ( (apply '(x) '(1 2 3)) |
| 105 | . (function (x))) | 105 | . (function (x))) |
| 106 | ( (let (((x))) 1) | 106 | ( (let (((x))) 1) |
diff --git a/lisp/emacs-lisp/testcover.el b/lisp/emacs-lisp/testcover.el index 4c83e7e2e0d..8f991575eda 100644 --- a/lisp/emacs-lisp/testcover.el +++ b/lisp/emacs-lisp/testcover.el | |||
| @@ -509,7 +509,7 @@ eliminated by adding more test cases." | |||
| 509 | (set-buffer-modified-p changed)))) | 509 | (set-buffer-modified-p changed)))) |
| 510 | 510 | ||
| 511 | (defun testcover-mark-all (&optional buffer) | 511 | (defun testcover-mark-all (&optional buffer) |
| 512 | "Mark all forms in BUFFER that did not get completley tested during | 512 | "Mark all forms in BUFFER that did not get completely tested during |
| 513 | coverage tests. This function creates many overlays." | 513 | coverage tests. This function creates many overlays." |
| 514 | (interactive "bMark forms in buffer: ") | 514 | (interactive "bMark forms in buffer: ") |
| 515 | (if buffer | 515 | (if buffer |
diff --git a/lisp/emulation/crisp.el b/lisp/emulation/crisp.el index 010e32857c5..71e607140de 100644 --- a/lisp/emulation/crisp.el +++ b/lisp/emulation/crisp.el | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | ;; you put (setq crisp-load-scroll-all t) in your .emacs before | 34 | ;; you put (setq crisp-load-scroll-all t) in your .emacs before |
| 35 | ;; loading this package. If this feature is enabled, it will bind | 35 | ;; loading this package. If this feature is enabled, it will bind |
| 36 | ;; meta-f1 to the scroll-all mode toggle. The scroll-all package | 36 | ;; meta-f1 to the scroll-all mode toggle. The scroll-all package |
| 37 | ;; duplicates the scroll-alling feature in CRiSP. | 37 | ;; duplicates the scroll-all feature in CRiSP. |
| 38 | 38 | ||
| 39 | ;; Also, the default keybindings for brief/CRiSP override the M-x | 39 | ;; Also, the default keybindings for brief/CRiSP override the M-x |
| 40 | ;; key to exit the editor. If you don't like this functionality, you | 40 | ;; key to exit the editor. If you don't like this functionality, you |
diff --git a/lisp/emulation/cua-rect.el b/lisp/emulation/cua-rect.el index 5d90ac694a4..76cab39f5b2 100644 --- a/lisp/emulation/cua-rect.el +++ b/lisp/emulation/cua-rect.el | |||
| @@ -741,7 +741,7 @@ If command is repeated at same position, delete the rectangle." | |||
| 741 | ;; We try to reuse overlays where possible because this is more efficient | 741 | ;; We try to reuse overlays where possible because this is more efficient |
| 742 | ;; and results in less flicker. | 742 | ;; and results in less flicker. |
| 743 | ;; If cua--rectangle-virtual-edges is nil and the buffer contains tabs or short lines, | 743 | ;; If cua--rectangle-virtual-edges is nil and the buffer contains tabs or short lines, |
| 744 | ;; the higlighted region may not be perfectly rectangular. | 744 | ;; the highlighted region may not be perfectly rectangular. |
| 745 | (let ((deactivate-mark deactivate-mark) | 745 | (let ((deactivate-mark deactivate-mark) |
| 746 | (old cua--rectangle-overlays) | 746 | (old cua--rectangle-overlays) |
| 747 | (new nil) | 747 | (new nil) |
diff --git a/lisp/emulation/edt-mapper.el b/lisp/emulation/edt-mapper.el index 99d204692fa..e58656d7941 100644 --- a/lisp/emulation/edt-mapper.el +++ b/lisp/emulation/edt-mapper.el | |||
| @@ -151,7 +151,7 @@ | |||
| 151 | ;;; Logic in simple.el maps some of these unassigned function keys to | 151 | ;;; Logic in simple.el maps some of these unassigned function keys to |
| 152 | ;;; ordinary typing keys. Where this is the case, a call to | 152 | ;;; ordinary typing keys. Where this is the case, a call to |
| 153 | ;;; read-key-sequence, below, does not return the name of the function | 153 | ;;; read-key-sequence, below, does not return the name of the function |
| 154 | ;;; key pressd by the user but, instead, it returns the name of the | 154 | ;;; key pressed by the user but, instead, it returns the name of the |
| 155 | ;;; key to which it has been mapped. It needs to know the name of the | 155 | ;;; key to which it has been mapped. It needs to know the name of the |
| 156 | ;;; key pressed by the user. As a workaround, we assign a function to | 156 | ;;; key pressed by the user. As a workaround, we assign a function to |
| 157 | ;;; each of the unassigned function keys of interest, here. These | 157 | ;;; each of the unassigned function keys of interest, here. These |
diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el index 93bf8251ce1..3e21e77a77b 100644 --- a/lisp/emulation/viper-ex.el +++ b/lisp/emulation/viper-ex.el | |||
| @@ -259,7 +259,7 @@ | |||
| 259 | (defvar ex-addresses nil) | 259 | (defvar ex-addresses nil) |
| 260 | 260 | ||
| 261 | ;; This flag is supposed to be set only by `#', `print', and `list', | 261 | ;; This flag is supposed to be set only by `#', `print', and `list', |
| 262 | ;; none of which is implemented. So, it and the pices of the code it | 262 | ;; none of which is implemented. So, it and the pieces of the code it |
| 263 | ;; controls are dead weight. We keep it just in case this might be | 263 | ;; controls are dead weight. We keep it just in case this might be |
| 264 | ;; needed in the future. | 264 | ;; needed in the future. |
| 265 | (defvar ex-flag nil) | 265 | (defvar ex-flag nil) |
diff --git a/lisp/emulation/viper-mous.el b/lisp/emulation/viper-mous.el index 778910017cd..a2e289df5e8 100644 --- a/lisp/emulation/viper-mous.el +++ b/lisp/emulation/viper-mous.el | |||
| @@ -95,7 +95,7 @@ considered related." | |||
| 95 | 95 | ||
| 96 | ;; remembers prefix argument to pass along to commands invoked by second | 96 | ;; remembers prefix argument to pass along to commands invoked by second |
| 97 | ;; click. | 97 | ;; click. |
| 98 | ;; This is needed because in Emacs (not XEmacs), assigning to preix-arg | 98 | ;; This is needed because in Emacs (not XEmacs), assigning to prefix-arg |
| 99 | ;; causes Emacs to count the second click as if it was a single click | 99 | ;; causes Emacs to count the second click as if it was a single click |
| 100 | (defvar viper-global-prefix-argument nil) | 100 | (defvar viper-global-prefix-argument nil) |
| 101 | 101 | ||
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el index 24a38236176..fcab8b57c1e 100644 --- a/lisp/emulation/viper-util.el +++ b/lisp/emulation/viper-util.el | |||
| @@ -871,7 +871,7 @@ Otherwise return the normal value." | |||
| 871 | (abbreviate-file-name file))) | 871 | (abbreviate-file-name file))) |
| 872 | 872 | ||
| 873 | ;; Sit for VAL milliseconds. XEmacs doesn't support the millisecond arg | 873 | ;; Sit for VAL milliseconds. XEmacs doesn't support the millisecond arg |
| 874 | ;; in sit-for, so this function smoothes out the differences. | 874 | ;; in sit-for, so this function smooths out the differences. |
| 875 | (defsubst viper-sit-for-short (val &optional nodisp) | 875 | (defsubst viper-sit-for-short (val &optional nodisp) |
| 876 | (sit-for (/ val 1000.0) nodisp)) | 876 | (sit-for (/ val 1000.0) nodisp)) |
| 877 | 877 | ||
| @@ -1112,7 +1112,7 @@ Otherwise return the normal value." | |||
| 1112 | lis))) | 1112 | lis))) |
| 1113 | 1113 | ||
| 1114 | 1114 | ||
| 1115 | ;; Smoothes out the difference between Emacs' unread-command-events | 1115 | ;; Smooths out the difference between Emacs' unread-command-events |
| 1116 | ;; and XEmacs unread-command-event. Arg is a character, an event, a list of | 1116 | ;; and XEmacs unread-command-event. Arg is a character, an event, a list of |
| 1117 | ;; events or a sequence of keys. | 1117 | ;; events or a sequence of keys. |
| 1118 | ;; | 1118 | ;; |
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el index 38a881845df..b2035e8ede6 100644 --- a/lisp/emulation/viper.el +++ b/lisp/emulation/viper.el | |||
| @@ -777,7 +777,7 @@ It also can't undo some Viper settings." | |||
| 777 | (viper-unbind-mouse-search-key) | 777 | (viper-unbind-mouse-search-key) |
| 778 | (viper-unbind-mouse-insert-key) | 778 | (viper-unbind-mouse-insert-key) |
| 779 | ;; In emacs, we have to advice handle-switch-frame | 779 | ;; In emacs, we have to advice handle-switch-frame |
| 780 | ;; This advice is undone earlier, when all advices matchine "viper-" are | 780 | ;; This advice is undone earlier, when all advices matching "viper-" are |
| 781 | ;; deactivated. | 781 | ;; deactivated. |
| 782 | (if (featurep 'xemacs) | 782 | (if (featurep 'xemacs) |
| 783 | (remove-hook 'mouse-leave-frame-hook 'viper-remember-current-frame)) | 783 | (remove-hook 'mouse-leave-frame-hook 'viper-remember-current-frame)) |
| @@ -1050,7 +1050,7 @@ It also can't undo some Viper settings." | |||
| 1050 | (memq 'down (event-modifiers (aref key 1))))) | 1050 | (memq 'down (event-modifiers (aref key 1))))) |
| 1051 | (read-event)))))) | 1051 | (read-event)))))) |
| 1052 | ) ; (if (featurep 'xemacs) | 1052 | ) ; (if (featurep 'xemacs) |
| 1053 | 1053 | ||
| 1054 | (if (featurep 'xemacs) | 1054 | (if (featurep 'xemacs) |
| 1055 | ;; XEmacs | 1055 | ;; XEmacs |
| 1056 | (defadvice describe-key-briefly | 1056 | (defadvice describe-key-briefly |
| @@ -1076,7 +1076,7 @@ It also can't undo some Viper settings." | |||
| 1076 | (prefix-numeric-value current-prefix-arg)) | 1076 | (prefix-numeric-value current-prefix-arg)) |
| 1077 | 1)))) | 1077 | 1)))) |
| 1078 | ) ; (if (featurep 'xemacs) | 1078 | ) ; (if (featurep 'xemacs) |
| 1079 | 1079 | ||
| 1080 | (defadvice find-file (before viper-add-suffix-advice activate) | 1080 | (defadvice find-file (before viper-add-suffix-advice activate) |
| 1081 | "Use `read-file-name' for reading arguments." | 1081 | "Use `read-file-name' for reading arguments." |
| 1082 | (interactive (cons (read-file-name "Find file: " nil default-directory) | 1082 | (interactive (cons (read-file-name "Find file: " nil default-directory) |
diff --git a/lisp/epg.el b/lisp/epg.el index 9ca07e213b4..00c00f9c9d3 100644 --- a/lisp/epg.el +++ b/lisp/epg.el | |||
| @@ -356,7 +356,7 @@ query by itself and Emacs can intercept them." | |||
| 356 | PROGRESS-CALLBACK is either a function, or a cons-cell whose | 356 | PROGRESS-CALLBACK is either a function, or a cons-cell whose |
| 357 | car is a function and cdr is a callback data. | 357 | car is a function and cdr is a callback data. |
| 358 | 358 | ||
| 359 | The function gets five arguments: the context, the operation | 359 | The function gets six arguments: the context, the operation |
| 360 | description, the character to display a progress unit, the | 360 | description, the character to display a progress unit, the |
| 361 | current amount done, the total amount to be done, and the | 361 | current amount done, the total amount to be done, and the |
| 362 | callback data (if any)." | 362 | callback data (if any)." |
| @@ -2031,7 +2031,7 @@ CIPHER must be a file data object. | |||
| 2031 | 2031 | ||
| 2032 | If you use this function, you will need to wait for the completion of | 2032 | If you use this function, you will need to wait for the completion of |
| 2033 | `epg-gpg-program' by using `epg-wait-for-completion' and call | 2033 | `epg-gpg-program' by using `epg-wait-for-completion' and call |
| 2034 | `epg-reset' to clear a temporaly output file. | 2034 | `epg-reset' to clear a temporary output file. |
| 2035 | If you are unsure, use synchronous version of this function | 2035 | If you are unsure, use synchronous version of this function |
| 2036 | `epg-decrypt-file' or `epg-decrypt-string' instead." | 2036 | `epg-decrypt-file' or `epg-decrypt-string' instead." |
| 2037 | (unless (epg-data-file cipher) | 2037 | (unless (epg-data-file cipher) |
| @@ -2097,7 +2097,7 @@ For a normal or a cleartext signature, SIGNED-TEXT should be nil. | |||
| 2097 | 2097 | ||
| 2098 | If you use this function, you will need to wait for the completion of | 2098 | If you use this function, you will need to wait for the completion of |
| 2099 | `epg-gpg-program' by using `epg-wait-for-completion' and call | 2099 | `epg-gpg-program' by using `epg-wait-for-completion' and call |
| 2100 | `epg-reset' to clear a temporaly output file. | 2100 | `epg-reset' to clear a temporary output file. |
| 2101 | If you are unsure, use synchronous version of this function | 2101 | If you are unsure, use synchronous version of this function |
| 2102 | `epg-verify-file' or `epg-verify-string' instead." | 2102 | `epg-verify-file' or `epg-verify-string' instead." |
| 2103 | (epg-context-set-operation context 'verify) | 2103 | (epg-context-set-operation context 'verify) |
| @@ -2195,7 +2195,7 @@ Otherwise, it makes a cleartext signature. | |||
| 2195 | 2195 | ||
| 2196 | If you use this function, you will need to wait for the completion of | 2196 | If you use this function, you will need to wait for the completion of |
| 2197 | `epg-gpg-program' by using `epg-wait-for-completion' and call | 2197 | `epg-gpg-program' by using `epg-wait-for-completion' and call |
| 2198 | `epg-reset' to clear a temporaly output file. | 2198 | `epg-reset' to clear a temporary output file. |
| 2199 | If you are unsure, use synchronous version of this function | 2199 | If you are unsure, use synchronous version of this function |
| 2200 | `epg-sign-file' or `epg-sign-string' instead." | 2200 | `epg-sign-file' or `epg-sign-string' instead." |
| 2201 | (epg-context-set-operation context 'sign) | 2201 | (epg-context-set-operation context 'sign) |
| @@ -2299,7 +2299,7 @@ If RECIPIENTS is nil, it performs symmetric encryption. | |||
| 2299 | 2299 | ||
| 2300 | If you use this function, you will need to wait for the completion of | 2300 | If you use this function, you will need to wait for the completion of |
| 2301 | `epg-gpg-program' by using `epg-wait-for-completion' and call | 2301 | `epg-gpg-program' by using `epg-wait-for-completion' and call |
| 2302 | `epg-reset' to clear a temporaly output file. | 2302 | `epg-reset' to clear a temporary output file. |
| 2303 | If you are unsure, use synchronous version of this function | 2303 | If you are unsure, use synchronous version of this function |
| 2304 | `epg-encrypt-file' or `epg-encrypt-string' instead." | 2304 | `epg-encrypt-file' or `epg-encrypt-string' instead." |
| 2305 | (epg-context-set-operation context 'encrypt) | 2305 | (epg-context-set-operation context 'encrypt) |
| @@ -2414,7 +2414,7 @@ If RECIPIENTS is nil, it performs symmetric encryption." | |||
| 2414 | 2414 | ||
| 2415 | If you use this function, you will need to wait for the completion of | 2415 | If you use this function, you will need to wait for the completion of |
| 2416 | `epg-gpg-program' by using `epg-wait-for-completion' and call | 2416 | `epg-gpg-program' by using `epg-wait-for-completion' and call |
| 2417 | `epg-reset' to clear a temporaly output file. | 2417 | `epg-reset' to clear a temporary output file. |
| 2418 | If you are unsure, use synchronous version of this function | 2418 | If you are unsure, use synchronous version of this function |
| 2419 | `epg-export-keys-to-file' or `epg-export-keys-to-string' instead." | 2419 | `epg-export-keys-to-file' or `epg-export-keys-to-string' instead." |
| 2420 | (epg-context-set-operation context 'export-keys) | 2420 | (epg-context-set-operation context 'export-keys) |
| @@ -2457,7 +2457,7 @@ KEYS is a data object. | |||
| 2457 | 2457 | ||
| 2458 | If you use this function, you will need to wait for the completion of | 2458 | If you use this function, you will need to wait for the completion of |
| 2459 | `epg-gpg-program' by using `epg-wait-for-completion' and call | 2459 | `epg-gpg-program' by using `epg-wait-for-completion' and call |
| 2460 | `epg-reset' to clear a temporaly output file. | 2460 | `epg-reset' to clear a temporary output file. |
| 2461 | If you are unsure, use synchronous version of this function | 2461 | If you are unsure, use synchronous version of this function |
| 2462 | `epg-import-keys-from-file' or `epg-import-keys-from-string' instead." | 2462 | `epg-import-keys-from-file' or `epg-import-keys-from-string' instead." |
| 2463 | (epg-context-set-operation context 'import-keys) | 2463 | (epg-context-set-operation context 'import-keys) |
| @@ -2498,7 +2498,7 @@ KEY-ID-LIST is a list of key IDs. | |||
| 2498 | 2498 | ||
| 2499 | If you use this function, you will need to wait for the completion of | 2499 | If you use this function, you will need to wait for the completion of |
| 2500 | `epg-gpg-program' by using `epg-wait-for-completion' and call | 2500 | `epg-gpg-program' by using `epg-wait-for-completion' and call |
| 2501 | `epg-reset' to clear a temporaly output file. | 2501 | `epg-reset' to clear a temporary output file. |
| 2502 | If you are unsure, use synchronous version of this function | 2502 | If you are unsure, use synchronous version of this function |
| 2503 | `epg-receive-keys' instead." | 2503 | `epg-receive-keys' instead." |
| 2504 | (epg-context-set-operation context 'receive-keys) | 2504 | (epg-context-set-operation context 'receive-keys) |
| @@ -2526,7 +2526,7 @@ KEYS is a list of key IDs" | |||
| 2526 | 2526 | ||
| 2527 | If you use this function, you will need to wait for the completion of | 2527 | If you use this function, you will need to wait for the completion of |
| 2528 | `epg-gpg-program' by using `epg-wait-for-completion' and call | 2528 | `epg-gpg-program' by using `epg-wait-for-completion' and call |
| 2529 | `epg-reset' to clear a temporaly output file. | 2529 | `epg-reset' to clear a temporary output file. |
| 2530 | If you are unsure, use synchronous version of this function | 2530 | If you are unsure, use synchronous version of this function |
| 2531 | `epg-delete-keys' instead." | 2531 | `epg-delete-keys' instead." |
| 2532 | (epg-context-set-operation context 'delete-keys) | 2532 | (epg-context-set-operation context 'delete-keys) |
| @@ -2558,7 +2558,7 @@ If you are unsure, use synchronous version of this function | |||
| 2558 | 2558 | ||
| 2559 | If you use this function, you will need to wait for the completion of | 2559 | If you use this function, you will need to wait for the completion of |
| 2560 | `epg-gpg-program' by using `epg-wait-for-completion' and call | 2560 | `epg-gpg-program' by using `epg-wait-for-completion' and call |
| 2561 | `epg-reset' to clear a temporaly output file. | 2561 | `epg-reset' to clear a temporary output file. |
| 2562 | If you are unsure, use synchronous version of this function | 2562 | If you are unsure, use synchronous version of this function |
| 2563 | `epg-sign-keys' instead." | 2563 | `epg-sign-keys' instead." |
| 2564 | (epg-context-set-operation context 'sign-keys) | 2564 | (epg-context-set-operation context 'sign-keys) |
| @@ -2593,7 +2593,7 @@ PARAMETERS specifies parameters for the key. | |||
| 2593 | 2593 | ||
| 2594 | If you use this function, you will need to wait for the completion of | 2594 | If you use this function, you will need to wait for the completion of |
| 2595 | `epg-gpg-program' by using `epg-wait-for-completion' and call | 2595 | `epg-gpg-program' by using `epg-wait-for-completion' and call |
| 2596 | `epg-reset' to clear a temporaly output file. | 2596 | `epg-reset' to clear a temporary output file. |
| 2597 | If you are unsure, use synchronous version of this function | 2597 | If you are unsure, use synchronous version of this function |
| 2598 | `epg-generate-key-from-file' or `epg-generate-key-from-string' instead." | 2598 | `epg-generate-key-from-file' or `epg-generate-key-from-string' instead." |
| 2599 | (epg-context-set-operation context 'generate-key) | 2599 | (epg-context-set-operation context 'generate-key) |
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index d72d3f51bb1..9a029893352 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-11-14 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * erc-notify.el (erc-notify-interval, erc-cmd-NOTIFY): Fix typos. | ||
| 4 | |||
| 1 | 2011-10-20 Chong Yidong <cyd@gnu.org> | 5 | 2011-10-20 Chong Yidong <cyd@gnu.org> |
| 2 | 6 | ||
| 3 | * erc.el (define-erc-module): Fix autogenerated docstring to | 7 | * erc.el (define-erc-module): Fix autogenerated docstring to |
diff --git a/lisp/erc/ChangeLog.01 b/lisp/erc/ChangeLog.01 index 4016586abc7..001ab42926f 100644 --- a/lisp/erc/ChangeLog.01 +++ b/lisp/erc/ChangeLog.01 | |||
| @@ -160,9 +160,9 @@ | |||
| 160 | 160 | ||
| 161 | * debian/control: integrated erc-speak back into erc | 161 | * debian/control: integrated erc-speak back into erc |
| 162 | 162 | ||
| 163 | * debian/maint/conffiles, debian/maint/conffiles.in, debian/maint/postinst, | 163 | * debian/maint/conffiles, debian/maint/conffiles.in, debian/maint/postinst, |
| 164 | debian/maint/postinst.in, debian/maint/prerm, debian/maint/prerm.in, | 164 | debian/maint/postinst.in, debian/maint/prerm, debian/maint/prerm.in, |
| 165 | debian/scripts/install, debian/scripts/install.in, debian/scripts/remove, | 165 | debian/scripts/install, debian/scripts/install.in, debian/scripts/remove, |
| 166 | debian/scripts/remove.in, debian/scripts/startup.erc-speak: | 166 | debian/scripts/remove.in, debian/scripts/startup.erc-speak: |
| 167 | since erc-speak is gone, resurrect the static files, and update them to support the latest erc | 167 | since erc-speak is gone, resurrect the static files, and update them to support the latest erc |
| 168 | 168 | ||
| @@ -220,7 +220,7 @@ | |||
| 220 | * erc.el: | 220 | * erc.el: |
| 221 | * Applied antifuchs/mhp patches, the latest on erc-help, unmodified | 221 | * Applied antifuchs/mhp patches, the latest on erc-help, unmodified |
| 222 | * New variable: erc-reuse-buffers default to t. | 222 | * New variable: erc-reuse-buffers default to t. |
| 223 | * Modified erc-generate-new-buffer-name to use it. it checks if server and port are the same, | 223 | * Modified erc-generate-new-buffer-name to use it. it checks if server and port are the same, |
| 224 | then one can assume thats the same channel/query target again. | 224 | then one can assume thats the same channel/query target again. |
| 225 | 225 | ||
| 226 | 2001-11-23 Mario Lang <mlang@delysid.org> | 226 | 2001-11-23 Mario Lang <mlang@delysid.org> |
| @@ -238,7 +238,7 @@ | |||
| 238 | 238 | ||
| 239 | * erc.el: * New local variable, erc-announced-server-name | 239 | * erc.el: * New local variable, erc-announced-server-name |
| 240 | * erc-mode-line-format supports a new symbol, target-and/or-server | 240 | * erc-mode-line-format supports a new symbol, target-and/or-server |
| 241 | * The mode-line displays the announced server name now (for autojoin later..., | 241 | * The mode-line displays the announced server name now (for autojoin later..., |
| 242 | greets Adam) | 242 | greets Adam) |
| 243 | * New macro, erc-server-hook-list for a nice way to define the defcustoms of the erc-server-*-hook's | 243 | * New macro, erc-server-hook-list for a nice way to define the defcustoms of the erc-server-*-hook's |
| 244 | Thanks go to the guy from #emacs who helped with that | 244 | Thanks go to the guy from #emacs who helped with that |
| @@ -457,7 +457,7 @@ | |||
| 457 | * erc.el: * Reduction patch 2 | 457 | * erc.el: * Reduction patch 2 |
| 458 | This time, we move the input ring handling into erc-ring.el | 458 | This time, we move the input ring handling into erc-ring.el |
| 459 | Remember that you need (require 'erc-ring) in your .emacs to get the input handling as a feature | 459 | Remember that you need (require 'erc-ring) in your .emacs to get the input handling as a feature |
| 460 | And remeber, that you don't need it if you don't use input ring :-) | 460 | And remember, that you don't need it if you don't use input ring :-) |
| 461 | 461 | ||
| 462 | * erc-ring.el: * Initial checkin | 462 | * erc-ring.el: * Initial checkin |
| 463 | 463 | ||
| @@ -603,11 +603,11 @@ | |||
| 603 | 603 | ||
| 604 | * debian/control: added the new erc-speak package | 604 | * debian/control: added the new erc-speak package |
| 605 | 605 | ||
| 606 | * debian/README.erc-speak, debian/maint/postinst.in, debian/maint/prerm.in, | 606 | * debian/README.erc-speak, debian/maint/postinst.in, debian/maint/prerm.in, |
| 607 | debian/scripts/install.in, debian/scripts/remove.in: | 607 | debian/scripts/install.in, debian/scripts/remove.in: |
| 608 | new file | 608 | new file |
| 609 | 609 | ||
| 610 | * debian/maint/postinst, debian/maint/prerm, debian/scripts/install, | 610 | * debian/maint/postinst, debian/maint/prerm, debian/scripts/install, |
| 611 | debian/scripts/remove: | 611 | debian/scripts/remove: |
| 612 | removed, superseded by its .in counterpart | 612 | removed, superseded by its .in counterpart |
| 613 | 613 | ||
| @@ -625,7 +625,7 @@ | |||
| 625 | 2001-10-23 Mario Lang <mlang@delysid.org> | 625 | 2001-10-23 Mario Lang <mlang@delysid.org> |
| 626 | 626 | ||
| 627 | * erc-speak.el: | 627 | * erc-speak.el: |
| 628 | * Added a new personality for channel name announcement, This makes streams of flooded channels much easier to listen to, | 628 | * Added a new personality for channel name announcement, This makes streams of flooded channels much easier to listen to, |
| 629 | especially if you are on more than one channel simultaneously. | 629 | especially if you are on more than one channel simultaneously. |
| 630 | 630 | ||
| 631 | * erc.el: | 631 | * erc.el: |
| @@ -643,7 +643,7 @@ | |||
| 643 | * Removed now really obsolete code. Package size reduced by 50% | 643 | * Removed now really obsolete code. Package size reduced by 50% |
| 644 | 644 | ||
| 645 | * erc-speak.el: | 645 | * erc-speak.el: |
| 646 | * Very important fix! Now erc-speak is really complete. Messages don't get cut anymore. Be sure to use auditory icons, | 646 | * Very important fix! Now erc-speak is really complete. Messages don't get cut anymore. Be sure to use auditory icons, |
| 647 | it's reallllly cool now!!! | 647 | it's reallllly cool now!!! |
| 648 | 648 | ||
| 649 | * erc-speak.el: *** empty log message *** | 649 | * erc-speak.el: *** empty log message *** |
| @@ -655,9 +655,9 @@ | |||
| 655 | 655 | ||
| 656 | * debian/changelog: oops, silly typo | 656 | * debian/changelog: oops, silly typo |
| 657 | 657 | ||
| 658 | * debian/changelog, debian/control, debian/copyright, | 658 | * debian/changelog, debian/control, debian/copyright, |
| 659 | debian/maint/conffiles, debian/maint/postinst, debian/maint/prerm, | 659 | debian/maint/conffiles, debian/maint/postinst, debian/maint/prerm, |
| 660 | debian/rules, debian/scripts/install, debian/scripts/remove, | 660 | debian/rules, debian/scripts/install, debian/scripts/remove, |
| 661 | debian/scripts/startup: | 661 | debian/scripts/startup: |
| 662 | initial check-in | 662 | initial check-in |
| 663 | 663 | ||
| @@ -666,7 +666,7 @@ | |||
| 666 | * erc.el: | 666 | * erc.el: |
| 667 | * Changed erc-insert-hook to get two arguments, START and END of the region | 667 | * Changed erc-insert-hook to get two arguments, START and END of the region |
| 668 | which got inserted. CAREFUL! This could break stuff, but it makes the hook | 668 | which got inserted. CAREFUL! This could break stuff, but it makes the hook |
| 669 | much more useable. | 669 | much more usable. |
| 670 | 670 | ||
| 671 | * erc.el: | 671 | * erc.el: |
| 672 | * Made erc-smiley a new option, currently set to t to showoff this feature. :) | 672 | * Made erc-smiley a new option, currently set to t to showoff this feature. :) |
| @@ -826,11 +826,11 @@ | |||
| 826 | * (erc-complete-nick): Add ": " only if one completes directly after the erc-prompt, otherwise, add just one space | 826 | * (erc-complete-nick): Add ": " only if one completes directly after the erc-prompt, otherwise, add just one space |
| 827 | 827 | ||
| 828 | * erc.el: | 828 | * erc.el: |
| 829 | * Changed menu-definition to use easymenu (hopefully this now works under Xemacs) | 829 | * Changed menu-definition to use easymenu (hopefully this now works under XEmacs) |
| 830 | * Fix for custom problem with :must-match on XEmacs (thanks shapr) | 830 | * Fix for custom problem with :must-match on XEmacs (thanks shapr) |
| 831 | * Added /COUNTRY command using (what-domain) from package mail-extr (shapr) | 831 | * Added /COUNTRY command using (what-domain) from package mail-extr (shapr) |
| 832 | * Fix for case-sensitivity problem with pals (they are now all downcased) | 832 | * Fix for case-sensitivity problem with pals (they are now all downcased) |
| 833 | * Different (erc-version) function which now can take prefix argument to insert the version information into the current buffer, | 833 | * Different (erc-version) function which now can take prefix argument to insert the version information into the current buffer, |
| 834 | instead of just displaying it in the minibuffer. | 834 | instead of just displaying it in the minibuffer. |
| 835 | 835 | ||
| 836 | 2001-09-10 Mario Lang <mlang@delysid.org> | 836 | 2001-09-10 Mario Lang <mlang@delysid.org> |
| @@ -912,7 +912,7 @@ | |||
| 912 | fixed one occurrence of a setq with only one argument (XEmacs didn't like that) | 912 | fixed one occurrence of a setq with only one argument (XEmacs didn't like that) |
| 913 | 913 | ||
| 914 | * erc.el: | 914 | * erc.el: |
| 915 | Added erc-next-line-add-newlines customisation possibility. | 915 | Added erc-next-line-add-newlines customization possibility. |
| 916 | 916 | ||
| 917 | * erc.el: | 917 | * erc.el: |
| 918 | added erc-fill-prefix for defining your own way of filling and fixed filling somehow | 918 | added erc-fill-prefix for defining your own way of filling and fixed filling somehow |
| @@ -940,8 +940,7 @@ | |||
| 940 | 940 | ||
| 941 | * erc.el: typo | 941 | * erc.el: typo |
| 942 | 942 | ||
| 943 | * erc.el: ommit | 943 | * erc.el: omit |
| 944 | :wq | ||
| 945 | 944 | ||
| 946 | 2001-07-06 Alex Schroeder <alex@gnu.org> | 945 | 2001-07-06 Alex Schroeder <alex@gnu.org> |
| 947 | 946 | ||
| @@ -1055,4 +1054,3 @@ | |||
| 1055 | ;; Local Variables: | 1054 | ;; Local Variables: |
| 1056 | ;; coding: utf-8 | 1055 | ;; coding: utf-8 |
| 1057 | ;; End: | 1056 | ;; End: |
| 1058 | |||
diff --git a/lisp/erc/ChangeLog.02 b/lisp/erc/ChangeLog.02 index 09ab1cb3796..279a336f15f 100644 --- a/lisp/erc/ChangeLog.02 +++ b/lisp/erc/ChangeLog.02 | |||
| @@ -343,7 +343,7 @@ | |||
| 343 | 2002-12-14 Damien Elmes <erc@repose.cx> | 343 | 2002-12-14 Damien Elmes <erc@repose.cx> |
| 344 | 344 | ||
| 345 | * erc.el: | 345 | * erc.el: |
| 346 | last-peers: initialise to a cons. thanks to Francis Litterio | 346 | last-peers: initialize to a cons. thanks to Francis Litterio |
| 347 | <franl@world.std.com> for the patch | 347 | <franl@world.std.com> for the patch |
| 348 | 348 | ||
| 349 | * erc.el: | 349 | * erc.el: |
| @@ -1373,7 +1373,7 @@ | |||
| 1373 | 1373 | ||
| 1374 | * erc-menu.el: | 1374 | * erc-menu.el: |
| 1375 | * changed how we check if we should activate "Track hidden channels" and | 1375 | * changed how we check if we should activate "Track hidden channels" and |
| 1376 | whether it should be selected - fixes a bug Xemacs where whole menu bar | 1376 | whether it should be selected - fixes a bug XEmacs where whole menu bar |
| 1377 | does not work if menu is loaded | 1377 | does not work if menu is loaded |
| 1378 | 1378 | ||
| 1379 | * erc-menu.el: | 1379 | * erc-menu.el: |
| @@ -1545,7 +1545,7 @@ | |||
| 1545 | 1545 | ||
| 1546 | * added s461 to english catalog | 1546 | * added s461 to english catalog |
| 1547 | 1547 | ||
| 1548 | * fixed bug where Xemacs would not quit if erc-quit-reason was | 1548 | * fixed bug where XEmacs would not quit if erc-quit-reason was |
| 1549 | set to erc-quit-reason-various and assoc-default was not defined | 1549 | set to erc-quit-reason-various and assoc-default was not defined |
| 1550 | 1550 | ||
| 1551 | 2002-06-04 Andreas Fuchs <asf@void.at> | 1551 | 2002-06-04 Andreas Fuchs <asf@void.at> |
| @@ -2616,4 +2616,3 @@ See ChangeLog.01 for earlier changes. | |||
| 2616 | ;; Local Variables: | 2616 | ;; Local Variables: |
| 2617 | ;; coding: utf-8 | 2617 | ;; coding: utf-8 |
| 2618 | ;; End: | 2618 | ;; End: |
| 2619 | |||
diff --git a/lisp/erc/ChangeLog.03 b/lisp/erc/ChangeLog.03 index 7f82a9bcbe2..322f7c93f7d 100644 --- a/lisp/erc/ChangeLog.03 +++ b/lisp/erc/ChangeLog.03 | |||
| @@ -323,7 +323,7 @@ | |||
| 323 | 323 | ||
| 324 | * erc.el(erc-modules): Add some more symbols to the set | 324 | * erc.el(erc-modules): Add some more symbols to the set |
| 325 | 325 | ||
| 326 | * erc.el(erc-modules): * erc.el(erc-modules): Add :greedy t to the set in | 326 | * erc.el(erc-modules): * erc.el(erc-modules): Add :greedy t to the set in |
| 327 | 327 | ||
| 328 | * erc-dcc.el: | 328 | * erc-dcc.el: |
| 329 | More autoloads which make dcc autoload upon ctcp dcc query received. | 329 | More autoloads which make dcc autoload upon ctcp dcc query received. |
| @@ -744,7 +744,7 @@ | |||
| 744 | 744 | ||
| 745 | 2003-04-27 Damien Elmes <erc@repose.cx> | 745 | 2003-04-27 Damien Elmes <erc@repose.cx> |
| 746 | 746 | ||
| 747 | * erc.el: * erc.el: erc-modules: added | 747 | * erc.el: * erc.el: erc-modules: added |
| 748 | 748 | ||
| 749 | 2003-04-27 Alex Schroeder <alex@gnu.org> | 749 | 2003-04-27 Alex Schroeder <alex@gnu.org> |
| 750 | 750 | ||
| @@ -1232,7 +1232,7 @@ | |||
| 1232 | 1232 | ||
| 1233 | 2003-01-19 Mario Lang <mlang@delysid.org> | 1233 | 2003-01-19 Mario Lang <mlang@delysid.org> |
| 1234 | 1234 | ||
| 1235 | * debian/README.Debian, debian/changelog, debian/scripts/install, | 1235 | * debian/README.Debian, debian/changelog, debian/scripts/install, |
| 1236 | debian/scripts/startup.erc, Makefile: | 1236 | debian/scripts/startup.erc, Makefile: |
| 1237 | Prepare for 20030119 debian package | 1237 | Prepare for 20030119 debian package |
| 1238 | 1238 | ||
| @@ -1305,7 +1305,7 @@ | |||
| 1305 | * (erc-current-logfile): call expand-file-name, so that downcase doesn't mess up ~ | 1305 | * (erc-current-logfile): call expand-file-name, so that downcase doesn't mess up ~ |
| 1306 | 1306 | ||
| 1307 | * erc.el: * (erc-mode): Define a proper case-table. | 1307 | * erc.el: * (erc-mode): Define a proper case-table. |
| 1308 | * (erc-downcase): just call downcase for now, lets see if the case-table is portable, if yes, we'll remove all erc-downcase references anyway... | 1308 | * (erc-downcase): just call downcase for now, let's see if the case-table is portable, if yes, we'll remove all erc-downcase references anyway... |
| 1309 | 1309 | ||
| 1310 | * erc-button.el: * (erc-button-add-buttons): regex-quote the nick | 1310 | * erc-button.el: * (erc-button-add-buttons): regex-quote the nick |
| 1311 | 1311 | ||
| @@ -1425,7 +1425,7 @@ | |||
| 1425 | reference argument directly - no string matching | 1425 | reference argument directly - no string matching |
| 1426 | 1426 | ||
| 1427 | * erc.el(erc-extract-command-from-line): | 1427 | * erc.el(erc-extract-command-from-line): |
| 1428 | hmm, thinko in the canonicalisation. should | 1428 | hmm, thinko in the canonicalization. should |
| 1429 | be fixed | 1429 | be fixed |
| 1430 | 1430 | ||
| 1431 | 2003-01-16 Francis Litterio <franl@users.sourceforge.net> | 1431 | 2003-01-16 Francis Litterio <franl@users.sourceforge.net> |
| @@ -1600,7 +1600,8 @@ | |||
| 1600 | 1600 | ||
| 1601 | * erc-dcc.el: * erc-dcc-ipv4-regexp: New constant | 1601 | * erc-dcc.el: * erc-dcc-ipv4-regexp: New constant |
| 1602 | * (erc-ip-to-decimal): Use it. | 1602 | * (erc-ip-to-decimal): Use it. |
| 1603 | * erc-dcc-host:valid-regexp erc-dcc-ipv4-regexp: * erc-dcc-host: :type | 1603 | * erc-dcc-host:valid-regexp erc-dcc-ipv4-regexp: |
| 1604 | * erc-dcc-host: :type | ||
| 1604 | * (pcomplete/erc-mode/DCC): Add completion for GET and CLOSE. | 1605 | * (pcomplete/erc-mode/DCC): Add completion for GET and CLOSE. |
| 1605 | * Some docstring/comment fixes. | 1606 | * Some docstring/comment fixes. |
| 1606 | 1607 | ||
| @@ -1609,8 +1610,8 @@ | |||
| 1609 | POS in any case, otherwise, linewrap occurs. | 1610 | POS in any case, otherwise, linewrap occurs. |
| 1610 | 1611 | ||
| 1611 | * erc-dcc.el: | 1612 | * erc-dcc.el: |
| 1612 | * Fixed the unibyte-multibyte problem (now a dcc get buffer is (set-buffer-multibyte nil), | 1613 | * Fixed the unibyte-multibyte problem (now a dcc get buffer is (set-buffer-multibyte nil), |
| 1613 | and saves correctly (tried with 21.3.50). Thanks to Eli for suggesting it! | 1614 | and saves correctly (tried with 21.3.50)). Thanks to Eli for suggesting it! |
| 1614 | * Added :start-time plist property/value to GET handling so that we can calculate elapsed-time. | 1615 | * Added :start-time plist property/value to GET handling so that we can calculate elapsed-time. |
| 1615 | * Some (unwind-protect (progn (set-buffer ...) ...)) constructs replaced with (with-current-buffer ...) | 1616 | * Some (unwind-protect (progn (set-buffer ...) ...)) constructs replaced with (with-current-buffer ...) |
| 1616 | 1617 | ||
| @@ -1691,12 +1692,12 @@ | |||
| 1691 | 1692 | ||
| 1692 | 2003-01-11 Mario Lang <mlang@delysid.org> | 1693 | 2003-01-11 Mario Lang <mlang@delysid.org> |
| 1693 | 1694 | ||
| 1694 | * erc-dcc.el: * erc-dcc.el: * (erc-dcc-do-LIST-command): Fix | 1695 | * erc-dcc.el: * erc-dcc.el: * (erc-dcc-do-LIST-command): Fix |
| 1695 | 1696 | ||
| 1696 | * erc-dcc.el: | 1697 | * erc-dcc.el: |
| 1697 | * buffer-local variables erc-dcc-sent-marker and erc-dcc-send-confirmed marker removed | 1698 | * buffer-local variables erc-dcc-sent-marker and erc-dcc-send-confirmed marker removed |
| 1698 | Keep This info in erc-dcc-member :sent and :confirmed plist values | 1699 | Keep This info in erc-dcc-member :sent and :confirmed plist values |
| 1699 | * : * :buffer plist for :type 'SEND removed, since we can get this with (marker-buffer | 1700 | * : * :buffer plist for :type 'SEND removed, since we can get this with (marker-buffer |
| 1700 | * erc-dcc-send-connect-hook: New hook, defaults to erc-dcc-send-block and erc-dcc-send-connected, which now prints a msg... | 1701 | * erc-dcc-send-connect-hook: New hook, defaults to erc-dcc-send-block and erc-dcc-send-connected, which now prints a msg... |
| 1701 | 1702 | ||
| 1702 | * erc-dcc.el: | 1703 | * erc-dcc.el: |
| @@ -1985,7 +1986,7 @@ | |||
| 1985 | (erc-server-PRIVMSG-or-NOTICE): Capitalized first word in message to user. | 1986 | (erc-server-PRIVMSG-or-NOTICE): Capitalized first word in message to user. |
| 1986 | 1987 | ||
| 1987 | * erc.el(erc-scroll-to-bottom): | 1988 | * erc.el(erc-scroll-to-bottom): |
| 1988 | Temporarilly bind resize-mini-windows to nil so that | 1989 | Temporarily bind resize-mini-windows to nil so that |
| 1989 | users who have it set to a non-nil value will not suffer from premature | 1990 | users who have it set to a non-nil value will not suffer from premature |
| 1990 | minibuffer shrinkage due to the below recenter call. I have no idea why | 1991 | minibuffer shrinkage due to the below recenter call. I have no idea why |
| 1991 | this works, but it solves the problem, and has no negative side effects. | 1992 | this works, but it solves the problem, and has no negative side effects. |
| @@ -2160,4 +2161,3 @@ See ChangeLog.02 for earlier changes. | |||
| 2160 | ;; Local Variables: | 2161 | ;; Local Variables: |
| 2161 | ;; coding: utf-8 | 2162 | ;; coding: utf-8 |
| 2162 | ;; End: | 2163 | ;; End: |
| 2163 | |||
diff --git a/lisp/erc/ChangeLog.04 b/lisp/erc/ChangeLog.04 index 7db040fd23f..ff47372b8e3 100644 --- a/lisp/erc/ChangeLog.04 +++ b/lisp/erc/ChangeLog.04 | |||
| @@ -136,7 +136,7 @@ | |||
| 136 | 2004-12-14 Diane Murray <disumu@x3y2z1.net> | 136 | 2004-12-14 Diane Murray <disumu@x3y2z1.net> |
| 137 | 137 | ||
| 138 | * erc.el: The last change to `erc-mode-line-format' introduced a | 138 | * erc.el: The last change to `erc-mode-line-format' introduced a |
| 139 | bug in Xemacs - it can't handle the #(" "...) strings at all. The | 139 | bug in XEmacs - it can't handle the #(" "...) strings at all. The |
| 140 | following changes fix the bug and simplify the mode-line handling | 140 | following changes fix the bug and simplify the mode-line handling |
| 141 | considerably. (erc-mode-line-format): Now defined as a string | 141 | considerably. (erc-mode-line-format): Now defined as a string |
| 142 | which will be formatted using `format-spec' and take the place of | 142 | which will be formatted using `format-spec' and take the place of |
diff --git a/lisp/erc/erc-autoaway.el b/lisp/erc/erc-autoaway.el index a15e038dddc..74172b2573f 100644 --- a/lisp/erc/erc-autoaway.el +++ b/lisp/erc/erc-autoaway.el | |||
| @@ -263,7 +263,7 @@ exceeds `erc-autoaway-idle-seconds'." | |||
| 263 | "Set the away state globally. | 263 | "Set the away state globally. |
| 264 | 264 | ||
| 265 | If NOTEST is specified, do not check to see whether there is an | 265 | If NOTEST is specified, do not check to see whether there is an |
| 266 | activer server buffer available." | 266 | active server buffer available." |
| 267 | ;; Note that the idle timer runs, even when Emacs is inactive. In | 267 | ;; Note that the idle timer runs, even when Emacs is inactive. In |
| 268 | ;; order to prevent flooding when we connect, we test for an | 268 | ;; order to prevent flooding when we connect, we test for an |
| 269 | ;; existing process. | 269 | ;; existing process. |
| @@ -284,4 +284,3 @@ activer server buffer available." | |||
| 284 | ;; indent-tabs-mode: t | 284 | ;; indent-tabs-mode: t |
| 285 | ;; tab-width: 8 | 285 | ;; tab-width: 8 |
| 286 | ;; End: | 286 | ;; End: |
| 287 | |||
diff --git a/lisp/erc/erc-log.el b/lisp/erc/erc-log.el index 24990e1e068..c6b0984fe67 100644 --- a/lisp/erc/erc-log.el +++ b/lisp/erc/erc-log.el | |||
| @@ -50,7 +50,7 @@ | |||
| 50 | ;; erc-log-write-after-send t | 50 | ;; erc-log-write-after-send t |
| 51 | ;; erc-log-write-after-insert t) | 51 | ;; erc-log-write-after-insert t) |
| 52 | ;; | 52 | ;; |
| 53 | ;; If you only want to save logs for some buffers, customise the | 53 | ;; If you only want to save logs for some buffers, customize the |
| 54 | ;; variable `erc-enable-logging'. | 54 | ;; variable `erc-enable-logging'. |
| 55 | 55 | ||
| 56 | ;; How it works: | 56 | ;; How it works: |
| @@ -450,4 +450,3 @@ You can save every individual message by putting this function on | |||
| 450 | ;; indent-tabs-mode: t | 450 | ;; indent-tabs-mode: t |
| 451 | ;; tab-width: 8 | 451 | ;; tab-width: 8 |
| 452 | ;; End: | 452 | ;; End: |
| 453 | |||
diff --git a/lisp/erc/erc-match.el b/lisp/erc/erc-match.el index bde51da6e3d..7e567bd1648 100644 --- a/lisp/erc/erc-match.el +++ b/lisp/erc/erc-match.el | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | (require 'erc) | 36 | (require 'erc) |
| 37 | (eval-when-compile (require 'cl)) | 37 | (eval-when-compile (require 'cl)) |
| 38 | 38 | ||
| 39 | ;; Customisation: | 39 | ;; Customization: |
| 40 | 40 | ||
| 41 | (defgroup erc-match nil | 41 | (defgroup erc-match nil |
| 42 | "Keyword and Friend/Foe/... recognition. | 42 | "Keyword and Friend/Foe/... recognition. |
| @@ -633,4 +633,3 @@ This function is meant to be called from `erc-text-matched-hook'." | |||
| 633 | ;; indent-tabs-mode: t | 633 | ;; indent-tabs-mode: t |
| 634 | ;; tab-width: 8 | 634 | ;; tab-width: 8 |
| 635 | ;; End: | 635 | ;; End: |
| 636 | |||
diff --git a/lisp/erc/erc-notify.el b/lisp/erc/erc-notify.el index 1b245ec2e33..10f6806ec12 100644 --- a/lisp/erc/erc-notify.el +++ b/lisp/erc/erc-notify.el | |||
| @@ -46,7 +46,7 @@ status change." | |||
| 46 | :type '(repeat string)) | 46 | :type '(repeat string)) |
| 47 | 47 | ||
| 48 | (defcustom erc-notify-interval 60 | 48 | (defcustom erc-notify-interval 60 |
| 49 | "*Time interval (in seconds) for checking online status of notificated | 49 | "*Time interval (in seconds) for checking online status of notified |
| 50 | people." | 50 | people." |
| 51 | :group 'erc-notify | 51 | :group 'erc-notify |
| 52 | :type 'integer) | 52 | :type 'integer) |
| @@ -88,7 +88,7 @@ strings." | |||
| 88 | (defun erc-notify-install-message-catalogs () | 88 | (defun erc-notify-install-message-catalogs () |
| 89 | (erc-define-catalog | 89 | (erc-define-catalog |
| 90 | 'english | 90 | 'english |
| 91 | '((notify_current . "Notificated people online: %l") | 91 | '((notify_current . "Notified people online: %l") |
| 92 | (notify_list . "Current notify list: %l") | 92 | (notify_list . "Current notify list: %l") |
| 93 | (notify_on . "Detected %n on IRC network %m") | 93 | (notify_on . "Detected %n on IRC network %m") |
| 94 | (notify_off . "%n has left IRC network %m")))) | 94 | (notify_off . "%n has left IRC network %m")))) |
| @@ -197,11 +197,11 @@ nick from `erc-last-ison' to prevent any further notifications." | |||
| 197 | ;;;###autoload | 197 | ;;;###autoload |
| 198 | (defun erc-cmd-NOTIFY (&rest args) | 198 | (defun erc-cmd-NOTIFY (&rest args) |
| 199 | "Change `erc-notify-list' or list current notify-list members online. | 199 | "Change `erc-notify-list' or list current notify-list members online. |
| 200 | Without args, list the current list of notificated people online, | 200 | Without args, list the current list of notified people online, |
| 201 | with args, toggle notify status of people." | 201 | with args, toggle notify status of people." |
| 202 | (cond | 202 | (cond |
| 203 | ((null args) | 203 | ((null args) |
| 204 | ;; Print current notificated people (online) | 204 | ;; Print current notified people (online) |
| 205 | (let ((ison (erc-with-server-buffer erc-last-ison))) | 205 | (let ((ison (erc-with-server-buffer erc-last-ison))) |
| 206 | (if (not ison) | 206 | (if (not ison) |
| 207 | (erc-display-message | 207 | (erc-display-message |
| @@ -250,4 +250,3 @@ with args, toggle notify status of people." | |||
| 250 | ;; indent-tabs-mode: t | 250 | ;; indent-tabs-mode: t |
| 251 | ;; tab-width: 8 | 251 | ;; tab-width: 8 |
| 252 | ;; End: | 252 | ;; End: |
| 253 | |||
diff --git a/lisp/erc/erc-track.el b/lisp/erc/erc-track.el index b663aeed423..e2e5fa1c4f2 100644 --- a/lisp/erc/erc-track.el +++ b/lisp/erc/erc-track.el | |||
| @@ -1040,7 +1040,7 @@ relative to `erc-track-switch-direction'" | |||
| 1040 | ((oldest leastactive) | 1040 | ((oldest leastactive) |
| 1041 | (- (length erc-modified-channels-alist) arg)) | 1041 | (- (length erc-modified-channels-alist) arg)) |
| 1042 | (t (1- arg)))) | 1042 | (t (1- arg)))) |
| 1043 | ;; normalise out of range user input | 1043 | ;; normalize out of range user input |
| 1044 | (cond ((>= offset (length erc-modified-channels-alist)) | 1044 | (cond ((>= offset (length erc-modified-channels-alist)) |
| 1045 | (setq offset (1- (length erc-modified-channels-alist)))) | 1045 | (setq offset (1- (length erc-modified-channels-alist)))) |
| 1046 | ((< offset 0) | 1046 | ((< offset 0) |
| @@ -1075,4 +1075,3 @@ switch back to the last non-ERC buffer visited. Next is defined by | |||
| 1075 | ;; indent-tabs-mode: t | 1075 | ;; indent-tabs-mode: t |
| 1076 | ;; tab-width: 8 | 1076 | ;; tab-width: 8 |
| 1077 | ;; End: | 1077 | ;; End: |
| 1078 | |||
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 2d8c2565f69..a218dd12555 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -1569,7 +1569,7 @@ symbol, it may have these values: | |||
| 1569 | ;; current ERC buffer. | 1569 | ;; current ERC buffer. |
| 1570 | ;; if buf-name is taken by a different connection (or by something !erc) | 1570 | ;; if buf-name is taken by a different connection (or by something !erc) |
| 1571 | ;; then see if "buf-name/server" meets the same criteria | 1571 | ;; then see if "buf-name/server" meets the same criteria |
| 1572 | (dolist (candidate (list buf-name (concat buf-name "/" server))) | 1572 | (dolist (candidate (list buf-name (concat buf-name "/" server))) |
| 1573 | (if (and (not buffer-name) | 1573 | (if (and (not buffer-name) |
| 1574 | erc-reuse-buffers | 1574 | erc-reuse-buffers |
| 1575 | (get-buffer candidate) | 1575 | (get-buffer candidate) |
| @@ -4001,7 +4001,7 @@ and as second argument the event parsed as a vector." | |||
| 4001 | (not (string-match "^\C-a\\ACTION.*\C-a$" message)))) | 4001 | (not (string-match "^\C-a\\ACTION.*\C-a$" message)))) |
| 4002 | 4002 | ||
| 4003 | (defun erc-format-privmessage (nick msg privp msgp) | 4003 | (defun erc-format-privmessage (nick msg privp msgp) |
| 4004 | "Format a PRIVMSG in an insertible fashion." | 4004 | "Format a PRIVMSG in an insertable fashion." |
| 4005 | (let* ((mark-s (if msgp (if privp "*" "<") "-")) | 4005 | (let* ((mark-s (if msgp (if privp "*" "<") "-")) |
| 4006 | (mark-e (if msgp (if privp "*" ">") "-")) | 4006 | (mark-e (if msgp (if privp "*" ">") "-")) |
| 4007 | (str (format "%s%s%s %s" mark-s nick mark-e msg)) | 4007 | (str (format "%s%s%s %s" mark-s nick mark-e msg)) |
| @@ -5797,7 +5797,7 @@ If it doesn't exist, create it." | |||
| 5797 | "Give information about the nickname at `point'. | 5797 | "Give information about the nickname at `point'. |
| 5798 | 5798 | ||
| 5799 | If called interactively, give a human readable message in the | 5799 | If called interactively, give a human readable message in the |
| 5800 | minibuffer. If called programatically, return the corresponding | 5800 | minibuffer. If called programmatically, return the corresponding |
| 5801 | entry of `channel-members'." | 5801 | entry of `channel-members'." |
| 5802 | (interactive) | 5802 | (interactive) |
| 5803 | (require 'thingatpt) | 5803 | (require 'thingatpt) |
diff --git a/lisp/eshell/em-alias.el b/lisp/eshell/em-alias.el index 4e1dbd41045..04ba19d407d 100644 --- a/lisp/eshell/em-alias.el +++ b/lisp/eshell/em-alias.el | |||
| @@ -74,7 +74,7 @@ | |||
| 74 | ;; session, it is likely that they are experiencing a spelling | 74 | ;; session, it is likely that they are experiencing a spelling |
| 75 | ;; difficulty associated with a certain command. To combat this, | 75 | ;; difficulty associated with a certain command. To combat this, |
| 76 | ;; Eshell will offer to automatically define an alias for that | 76 | ;; Eshell will offer to automatically define an alias for that |
| 77 | ;; mispelled command, once a given tolerance threshold has been | 77 | ;; misspelled command, once a given tolerance threshold has been |
| 78 | ;; reached. | 78 | ;; reached. |
| 79 | 79 | ||
| 80 | ;; Whenever the same bad command name is encountered | 80 | ;; Whenever the same bad command name is encountered |
diff --git a/lisp/eshell/em-glob.el b/lisp/eshell/em-glob.el index db9b003895f..df1f7b67e29 100644 --- a/lisp/eshell/em-glob.el +++ b/lisp/eshell/em-glob.el | |||
| @@ -90,7 +90,7 @@ This option slows down recursive glob processing by quite a bit." | |||
| 90 | 90 | ||
| 91 | (defcustom eshell-error-if-no-glob nil | 91 | (defcustom eshell-error-if-no-glob nil |
| 92 | "If non-nil, it is an error for a glob pattern not to match. | 92 | "If non-nil, it is an error for a glob pattern not to match. |
| 93 | This mimcs the behavior of zsh if non-nil, but bash if nil." | 93 | This mimics the behavior of zsh if non-nil, but bash if nil." |
| 94 | :type 'boolean | 94 | :type 'boolean |
| 95 | :group 'eshell-glob) | 95 | :group 'eshell-glob) |
| 96 | 96 | ||
diff --git a/lisp/eshell/em-hist.el b/lisp/eshell/em-hist.el index 993e9d63a94..db5e98062a9 100644 --- a/lisp/eshell/em-hist.el +++ b/lisp/eshell/em-hist.el | |||
| @@ -609,7 +609,7 @@ See also `eshell-read-history'." | |||
| 609 | history)))) | 609 | history)))) |
| 610 | (setq index (1- index))) | 610 | (setq index (1- index))) |
| 611 | (let ((fhist (list t))) | 611 | (let ((fhist (list t))) |
| 612 | ;; uniqify the list, but preserve the order | 612 | ;; uniquify the list, but preserve the order |
| 613 | (while history | 613 | (while history |
| 614 | (unless (member (car history) fhist) | 614 | (unless (member (car history) fhist) |
| 615 | (nconc fhist (list (car history)))) | 615 | (nconc fhist (list (car history)))) |
diff --git a/lisp/eshell/em-pred.el b/lisp/eshell/em-pred.el index 2308e08ed62..e45b36e3511 100644 --- a/lisp/eshell/em-pred.el +++ b/lisp/eshell/em-pred.el | |||
| @@ -173,7 +173,7 @@ OWNERSHIP: | |||
| 173 | 173 | ||
| 174 | FILE ATTRIBUTES: | 174 | FILE ATTRIBUTES: |
| 175 | l[+-]N +/-/= N links | 175 | l[+-]N +/-/= N links |
| 176 | a[Mwhms][+-](N|'FILE') access time +/-/= N mnths/weeks/hours/mins/secs | 176 | a[Mwhms][+-](N|'FILE') access time +/-/= N months/weeks/hours/mins/secs |
| 177 | (days if unspecified) if FILE specified, | 177 | (days if unspecified) if FILE specified, |
| 178 | use as comparison basis; so a+'file.c' | 178 | use as comparison basis; so a+'file.c' |
| 179 | shows files accessed before file.c was | 179 | shows files accessed before file.c was |
diff --git a/lisp/eshell/em-term.el b/lisp/eshell/em-term.el index 7d5fbbeabeb..bd575a0f809 100644 --- a/lisp/eshell/em-term.el +++ b/lisp/eshell/em-term.el | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | ;; At the moment, eshell is stream-based in its interactive input and | 24 | ;; At the moment, eshell is stream-based in its interactive input and |
| 25 | ;; output. This means that full-screen commands, such as "vi" or | 25 | ;; output. This means that full-screen commands, such as "vi" or |
| 26 | ;; "lynx", will not display correctly. These are therefore thought of | 26 | ;; "lynx", will not display correctly. These are therefore thought of |
| 27 | ;; as "visual" programs. In order to run these progrem under Emacs, | 27 | ;; as "visual" programs. In order to run these programs under Emacs, |
| 28 | ;; Eshell uses the term.el package, and invokes them in a separate | 28 | ;; Eshell uses the term.el package, and invokes them in a separate |
| 29 | ;; buffer, giving the illusion that Eshell itself is allowing these | 29 | ;; buffer, giving the illusion that Eshell itself is allowing these |
| 30 | ;; visual processes to execute. | 30 | ;; visual processes to execute. |
diff --git a/lisp/eshell/esh-arg.el b/lisp/eshell/esh-arg.el index 1fb8b7f4c32..dcb23967645 100644 --- a/lisp/eshell/esh-arg.el +++ b/lisp/eshell/esh-arg.el | |||
| @@ -311,7 +311,7 @@ special character that is not itself a backslash." | |||
| 311 | (char-to-string (char-before)))) | 311 | (char-to-string (char-before)))) |
| 312 | ;; allow \\<RET> to mean a literal "\" character followed by a | 312 | ;; allow \\<RET> to mean a literal "\" character followed by a |
| 313 | ;; normal return, rather than a backslash followed by a line | 313 | ;; normal return, rather than a backslash followed by a line |
| 314 | ;; continuator (i.e., "\\ + \n" rather than "\ + \\n"). This | 314 | ;; continuation (i.e., "\\ + \n" rather than "\ + \\n"). This |
| 315 | ;; is necessary because backslashes in Eshell are not special | 315 | ;; is necessary because backslashes in Eshell are not special |
| 316 | ;; unless they either precede something special, or precede a | 316 | ;; unless they either precede something special, or precede a |
| 317 | ;; backslash that precedes something special. (Mainly this is | 317 | ;; backslash that precedes something special. (Mainly this is |
diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el index 52c8c2ddc20..7b90797eb43 100644 --- a/lisp/eshell/esh-cmd.el +++ b/lisp/eshell/esh-cmd.el | |||
| @@ -247,7 +247,7 @@ will have to visit the file 'eshell-cmd.el' and run the command | |||
| 247 | '(eshell-named-command | 247 | '(eshell-named-command |
| 248 | eshell-lisp-command | 248 | eshell-lisp-command |
| 249 | eshell-process-identity) | 249 | eshell-process-identity) |
| 250 | "A list of functions which might return an ansychronous process. | 250 | "A list of functions which might return an asynchronous process. |
| 251 | If they return a process object, execution of the calling Eshell | 251 | If they return a process object, execution of the calling Eshell |
| 252 | command will wait for completion (in the background) before finishing | 252 | command will wait for completion (in the background) before finishing |
| 253 | the command." | 253 | the command." |
| @@ -480,25 +480,20 @@ implemented via rewriting, rather than as a function." | |||
| 480 | (let ((body (car (last terms)))) | 480 | (let ((body (car (last terms)))) |
| 481 | (setcdr (last terms 2) nil) | 481 | (setcdr (last terms 2) nil) |
| 482 | `(let ((for-items | 482 | `(let ((for-items |
| 483 | ;; Apparently, eshell-do-eval only works for immutable | 483 | (append |
| 484 | ;; let-bindings, i.e. we cannot use `setq' on `for-items'. | 484 | ,@(mapcar |
| 485 | ;; Instead we store the list in the car of a cons-cell (which | 485 | (lambda (elem) |
| 486 | ;; acts as a ref-cell) so we can setcar instead of setq. | 486 | (if (listp elem) |
| 487 | (list | 487 | elem |
| 488 | (append | 488 | `(list ,elem))) |
| 489 | ,@(mapcar | 489 | (cdr (cddr terms))))) |
| 490 | (lambda (elem) | ||
| 491 | (if (listp elem) | ||
| 492 | elem | ||
| 493 | `(list ,elem))) | ||
| 494 | (cdr (cddr terms)))))) | ||
| 495 | (eshell-command-body '(nil)) | 490 | (eshell-command-body '(nil)) |
| 496 | (eshell-test-body '(nil))) | 491 | (eshell-test-body '(nil))) |
| 497 | (while (consp (car for-items)) | 492 | (while (consp for-items) |
| 498 | (let ((,(intern (cadr terms)) (caar for-items))) | 493 | (let ((,(intern (cadr terms)) (car for-items))) |
| 499 | (eshell-protect | 494 | (eshell-protect |
| 500 | ,(eshell-invokify-arg body t))) | 495 | ,(eshell-invokify-arg body t))) |
| 501 | (setcar for-items (cdar for-items))) | 496 | (setq for-items (cdr for-items))) |
| 502 | (eshell-close-handles | 497 | (eshell-close-handles |
| 503 | eshell-last-command-status | 498 | eshell-last-command-status |
| 504 | (list 'quote eshell-last-command-result)))))) | 499 | (list 'quote eshell-last-command-result)))))) |
| @@ -766,9 +761,8 @@ This macro calls itself recursively, with NOTFIRST non-nil." | |||
| 766 | `(eshell-copy-handles | 761 | `(eshell-copy-handles |
| 767 | (progn | 762 | (progn |
| 768 | ,(when (cdr pipeline) | 763 | ,(when (cdr pipeline) |
| 769 | `(let (nextproc) | 764 | `(let ((nextproc |
| 770 | (setq nextproc | 765 | (eshell-do-pipelines (quote ,(cdr pipeline)) t))) |
| 771 | (eshell-do-pipelines (quote ,(cdr pipeline)) t)) | ||
| 772 | (eshell-set-output-handle ,eshell-output-handle | 766 | (eshell-set-output-handle ,eshell-output-handle |
| 773 | 'append nextproc) | 767 | 'append nextproc) |
| 774 | (eshell-set-output-handle ,eshell-error-handle | 768 | (eshell-set-output-handle ,eshell-error-handle |
| @@ -796,10 +790,9 @@ This macro calls itself recursively, with NOTFIRST non-nil." | |||
| 796 | Output of each command is passed as input to the next one in the pipeline. | 790 | Output of each command is passed as input to the next one in the pipeline. |
| 797 | This is used on systems where `start-process' is not supported." | 791 | This is used on systems where `start-process' is not supported." |
| 798 | (when (setq pipeline (cadr pipeline)) | 792 | (when (setq pipeline (cadr pipeline)) |
| 799 | `(let (result) | 793 | `(progn |
| 800 | ,(when (cdr pipeline) | 794 | ,(when (cdr pipeline) |
| 801 | `(let (output-marker) | 795 | `(let ((output-marker ,(point-marker))) |
| 802 | (setq output-marker ,(point-marker)) | ||
| 803 | (eshell-set-output-handle ,eshell-output-handle | 796 | (eshell-set-output-handle ,eshell-output-handle |
| 804 | 'append output-marker) | 797 | 'append output-marker) |
| 805 | (eshell-set-output-handle ,eshell-error-handle | 798 | (eshell-set-output-handle ,eshell-error-handle |
| @@ -811,21 +804,21 @@ This is used on systems where `start-process' is not supported." | |||
| 811 | (when (memq (car head) eshell-deferrable-commands) | 804 | (when (memq (car head) eshell-deferrable-commands) |
| 812 | (ignore | 805 | (ignore |
| 813 | (setcar head | 806 | (setcar head |
| 814 | (intern-soft | 807 | (intern-soft |
| 815 | (concat (symbol-name (car head)) "*")))))) | 808 | (concat (symbol-name (car head)) "*")))))) |
| 816 | ;; The last process in the pipe should get its handles | 809 | ;; The last process in the pipe should get its handles |
| 817 | ;; redirected as we found them before running the pipe. | 810 | ;; redirected as we found them before running the pipe. |
| 818 | ,(if (null (cdr pipeline)) | 811 | ,(if (null (cdr pipeline)) |
| 819 | `(progn | 812 | `(progn |
| 820 | (setq eshell-current-handles tail-handles) | 813 | (setq eshell-current-handles tail-handles) |
| 821 | (setq eshell-in-pipeline-p nil))) | 814 | (setq eshell-in-pipeline-p nil))) |
| 822 | (setq result ,(car pipeline)) | 815 | (let ((result ,(car pipeline))) |
| 823 | ;; tailproc gets the result of the last successful process in | 816 | ;; tailproc gets the result of the last successful process in |
| 824 | ;; the pipeline. | 817 | ;; the pipeline. |
| 825 | (setq tailproc (or result tailproc)) | 818 | (setq tailproc (or result tailproc)) |
| 826 | ,(if (cdr pipeline) | 819 | ,(if (cdr pipeline) |
| 827 | `(eshell-do-pipelines-synchronously (quote ,(cdr pipeline)))) | 820 | `(eshell-do-pipelines-synchronously (quote ,(cdr pipeline)))) |
| 828 | result))) | 821 | result)))) |
| 829 | 822 | ||
| 830 | (defalias 'eshell-process-identity 'identity) | 823 | (defalias 'eshell-process-identity 'identity) |
| 831 | 824 | ||
| @@ -890,8 +883,7 @@ Returns a string comprising the output from the command." | |||
| 890 | (eshell-print "errors\n")) | 883 | (eshell-print "errors\n")) |
| 891 | (if eshell-debug-command | 884 | (if eshell-debug-command |
| 892 | (eshell-print "commands\n"))) | 885 | (eshell-print "commands\n"))) |
| 893 | ((or (string= (car args) "-h") | 886 | ((member (car args) '("-h" "--help")) |
| 894 | (string= (car args) "--help")) | ||
| 895 | (eshell-print "usage: eshell-debug [kinds] | 887 | (eshell-print "usage: eshell-debug [kinds] |
| 896 | 888 | ||
| 897 | This command is used to aid in debugging problems related to Eshell | 889 | This command is used to aid in debugging problems related to Eshell |
| @@ -1091,6 +1083,11 @@ be finished later after the completion of an asynchronous subprocess." | |||
| 1091 | (eshell-manipulate "handling special form" | 1083 | (eshell-manipulate "handling special form" |
| 1092 | (setcar args `(eshell-do-eval ',(car args) ,synchronous-p)))) | 1084 | (setcar args `(eshell-do-eval ',(car args) ,synchronous-p)))) |
| 1093 | (eval form)) | 1085 | (eval form)) |
| 1086 | ((eq (car form) 'setq) | ||
| 1087 | (if (cddr args) (error "Unsupported form (setq X1 E1 X2 E2..)")) | ||
| 1088 | (eshell-manipulate "evaluating arguments to setq" | ||
| 1089 | (setcar (cdr args) (eshell-do-eval (cadr args) synchronous-p))) | ||
| 1090 | (list 'quote (eval form))) | ||
| 1094 | (t | 1091 | (t |
| 1095 | (if (and args (not (memq (car form) '(run-hooks)))) | 1092 | (if (and args (not (memq (car form) '(run-hooks)))) |
| 1096 | (eshell-manipulate | 1093 | (eshell-manipulate |
| @@ -1127,11 +1124,12 @@ be finished later after the completion of an asynchronous subprocess." | |||
| 1127 | ;; Thus, aliases can even contain references to asynchronous | 1124 | ;; Thus, aliases can even contain references to asynchronous |
| 1128 | ;; sub-commands, and things will still work out as they | 1125 | ;; sub-commands, and things will still work out as they |
| 1129 | ;; should. | 1126 | ;; should. |
| 1130 | (let (result new-form) | 1127 | (let* (result |
| 1131 | (if (setq new-form | 1128 | (new-form |
| 1132 | (catch 'eshell-replace-command | 1129 | (catch 'eshell-replace-command |
| 1133 | (ignore | 1130 | (ignore |
| 1134 | (setq result (eval form))))) | 1131 | (setq result (eval form)))))) |
| 1132 | (if new-form | ||
| 1135 | (progn | 1133 | (progn |
| 1136 | (eshell-manipulate "substituting replacement form" | 1134 | (eshell-manipulate "substituting replacement form" |
| 1137 | (setcar form (car new-form)) | 1135 | (setcar form (car new-form)) |
| @@ -1247,25 +1245,23 @@ or an external command." | |||
| 1247 | PRINTER and ERRPRINT are functions to use for printing regular | 1245 | PRINTER and ERRPRINT are functions to use for printing regular |
| 1248 | messages, and errors. FORM-P should be non-nil if FUNC-OR-FORM | 1246 | messages, and errors. FORM-P should be non-nil if FUNC-OR-FORM |
| 1249 | represent a lisp form; ARGS will be ignored in that case." | 1247 | represent a lisp form; ARGS will be ignored in that case." |
| 1250 | (let (result) | 1248 | (eshell-condition-case err |
| 1251 | (eshell-condition-case err | 1249 | (let ((result |
| 1252 | (progn | 1250 | (save-current-buffer |
| 1253 | (setq result | 1251 | (if form-p |
| 1254 | (save-current-buffer | 1252 | (eval func-or-form) |
| 1255 | (if form-p | 1253 | (apply func-or-form args))))) |
| 1256 | (eval func-or-form) | 1254 | (and result (funcall printer result)) |
| 1257 | (apply func-or-form args)))) | 1255 | result) |
| 1258 | (and result (funcall printer result)) | 1256 | (error |
| 1259 | result) | 1257 | (let ((msg (error-message-string err))) |
| 1260 | (error | 1258 | (if (and (not form-p) |
| 1261 | (let ((msg (error-message-string err))) | 1259 | (string-match "^Wrong number of arguments" msg) |
| 1262 | (if (and (not form-p) | 1260 | (fboundp 'eldoc-get-fnsym-args-string)) |
| 1263 | (string-match "^Wrong number of arguments" msg) | 1261 | (let ((func-doc (eldoc-get-fnsym-args-string func-or-form))) |
| 1264 | (fboundp 'eldoc-get-fnsym-args-string)) | 1262 | (setq msg (format "usage: %s" func-doc)))) |
| 1265 | (let ((func-doc (eldoc-get-fnsym-args-string func-or-form))) | 1263 | (funcall errprint msg)) |
| 1266 | (setq msg (format "usage: %s" func-doc)))) | 1264 | nil))) |
| 1267 | (funcall errprint msg)) | ||
| 1268 | nil)))) | ||
| 1269 | 1265 | ||
| 1270 | (defsubst eshell-apply* (printer errprint func args) | 1266 | (defsubst eshell-apply* (printer errprint func args) |
| 1271 | "Call FUNC, with ARGS, trapping errors and return them as output. | 1267 | "Call FUNC, with ARGS, trapping errors and return them as output. |
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el index 9abb0c8ecc0..43d56a5b89f 100644 --- a/lisp/eshell/esh-mode.el +++ b/lisp/eshell/esh-mode.el | |||
| @@ -607,7 +607,7 @@ will return the parsed command." | |||
| 607 | (setq command (eshell-parse-command (cons beg end) | 607 | (setq command (eshell-parse-command (cons beg end) |
| 608 | args t))))) | 608 | args t))))) |
| 609 | (ignore | 609 | (ignore |
| 610 | (message "Expecting completion of delimeter %c ..." | 610 | (message "Expecting completion of delimiter %c ..." |
| 611 | (if (listp delim) | 611 | (if (listp delim) |
| 612 | (car delim) | 612 | (car delim) |
| 613 | delim))) | 613 | delim))) |
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el index 424d246a2b6..b508fd5352f 100644 --- a/lisp/eshell/esh-util.el +++ b/lisp/eshell/esh-util.el | |||
| @@ -81,7 +81,7 @@ Setting this to nil is offered as an aid to debugging only." | |||
| 81 | Numeric form is tested using the regular expression | 81 | Numeric form is tested using the regular expression |
| 82 | `eshell-number-regexp'. | 82 | `eshell-number-regexp'. |
| 83 | 83 | ||
| 84 | NOTE: If you find that numeric conversions are intefering with the | 84 | NOTE: If you find that numeric conversions are interfering with the |
| 85 | specification of filenames (for example, in calling `find-file', or | 85 | specification of filenames (for example, in calling `find-file', or |
| 86 | some other Lisp function that deals with files, not numbers), add the | 86 | some other Lisp function that deals with files, not numbers), add the |
| 87 | following in your .emacs file: | 87 | following in your .emacs file: |
| @@ -140,14 +140,13 @@ function `string-to-number'." | |||
| 140 | (defmacro eshell-condition-case (tag form &rest handlers) | 140 | (defmacro eshell-condition-case (tag form &rest handlers) |
| 141 | "If `eshell-handle-errors' is non-nil, this is `condition-case'. | 141 | "If `eshell-handle-errors' is non-nil, this is `condition-case'. |
| 142 | Otherwise, evaluates FORM with no error handling." | 142 | Otherwise, evaluates FORM with no error handling." |
| 143 | (declare (indent 2)) | ||
| 143 | (if eshell-handle-errors | 144 | (if eshell-handle-errors |
| 144 | `(condition-case ,tag | 145 | `(condition-case ,tag |
| 145 | ,form | 146 | ,form |
| 146 | ,@handlers) | 147 | ,@handlers) |
| 147 | form)) | 148 | form)) |
| 148 | 149 | ||
| 149 | (put 'eshell-condition-case 'lisp-indent-function 2) | ||
| 150 | |||
| 151 | (defun eshell-find-delimiter | 150 | (defun eshell-find-delimiter |
| 152 | (open close &optional bound reverse-p backslash-p) | 151 | (open close &optional bound reverse-p backslash-p) |
| 153 | "From point, find the CLOSE delimiter corresponding to OPEN. | 152 | "From point, find the CLOSE delimiter corresponding to OPEN. |
| @@ -275,14 +274,14 @@ Prepend remote identification of `default-directory', if any." | |||
| 275 | text)) | 274 | text)) |
| 276 | 275 | ||
| 277 | (defmacro eshell-for (for-var for-list &rest forms) | 276 | (defmacro eshell-for (for-var for-list &rest forms) |
| 278 | "Iterate through a list" | 277 | "Iterate through a list." |
| 278 | (declare (indent 2)) | ||
| 279 | `(let ((list-iter ,for-list)) | 279 | `(let ((list-iter ,for-list)) |
| 280 | (while list-iter | 280 | (while list-iter |
| 281 | (let ((,for-var (car list-iter))) | 281 | (let ((,for-var (car list-iter))) |
| 282 | ,@forms) | 282 | ,@forms) |
| 283 | (setq list-iter (cdr list-iter))))) | 283 | (setq list-iter (cdr list-iter))))) |
| 284 | 284 | ||
| 285 | (put 'eshell-for 'lisp-indent-function 2) | ||
| 286 | 285 | ||
| 287 | (make-obsolete 'eshell-for 'dolist "24.1") | 286 | (make-obsolete 'eshell-for 'dolist "24.1") |
| 288 | 287 | ||
diff --git a/lisp/expand.el b/lisp/expand.el index 544d0b1cb17..beb76321781 100644 --- a/lisp/expand.el +++ b/lisp/expand.el | |||
| @@ -111,7 +111,7 @@ | |||
| 111 | ("while" "while () {\n\n}" (8 12)) | 111 | ("while" "while () {\n\n}" (8 12)) |
| 112 | ("default" "default:\n\nbreak;" 10) | 112 | ("default" "default:\n\nbreak;" 10) |
| 113 | ("main" "int\nmain(int argc, char * argv[])\n{\n\n}\n" 37)) | 113 | ("main" "int\nmain(int argc, char * argv[])\n{\n\n}\n" 37)) |
| 114 | "Expansions for C mode. See `expand-add-abbrevs'.") | 114 | "Expansions for C mode. See `expand-add-abbrevs'.") |
| 115 | 115 | ||
| 116 | ;; lisp example from Jari Aalto <jaalto@tre.tele.nokia.fi> | 116 | ;; lisp example from Jari Aalto <jaalto@tre.tele.nokia.fi> |
| 117 | (defconst expand-sample-lisp-mode-expand-list | 117 | (defconst expand-sample-lisp-mode-expand-list |
| @@ -181,7 +181,7 @@ | |||
| 181 | (list 12 14)) | 181 | (list 12 14)) |
| 182 | 182 | ||
| 183 | ) | 183 | ) |
| 184 | "Expansions for Lisp mode. See `expand-add-abbrevs'.") | 184 | "Expansions for Lisp mode. See `expand-add-abbrevs'.") |
| 185 | 185 | ||
| 186 | ;; perl example from Jari Aalto <jaalto@tre.tele.nokia.fi> | 186 | ;; perl example from Jari Aalto <jaalto@tre.tele.nokia.fi> |
| 187 | (defconst expand-sample-perl-mode-expand-list | 187 | (defconst expand-sample-perl-mode-expand-list |
| @@ -257,20 +257,20 @@ | |||
| 257 | (list "rtu" "return ;" (list 8)) | 257 | (list "rtu" "return ;" (list 8)) |
| 258 | 258 | ||
| 259 | ) | 259 | ) |
| 260 | "Expansions for Perl mode. See `expand-add-abbrevs'.") | 260 | "Expansions for Perl mode. See `expand-add-abbrevs'.") |
| 261 | 261 | ||
| 262 | ;;; Code: | 262 | ;;; Code: |
| 263 | 263 | ||
| 264 | ;;;###autoload | 264 | ;;;###autoload |
| 265 | (defun expand-add-abbrevs (table abbrevs) | 265 | (defun expand-add-abbrevs (table abbrevs) |
| 266 | "Add a list of abbrev to abbrev table TABLE. | 266 | "Add a list of abbreviations to abbrev table TABLE. |
| 267 | ABBREVS is a list of abbrev definitions; each abbrev description entry | 267 | ABBREVS is a list of abbrev definitions; each abbrev description entry |
| 268 | has the form (ABBREV EXPANSION ARG). | 268 | has the form (ABBREV EXPANSION ARG). |
| 269 | 269 | ||
| 270 | ABBREV is the abbreviation to replace. | 270 | ABBREV is the abbreviation to replace. |
| 271 | 271 | ||
| 272 | EXPANSION is the replacement string or a function which will make the | 272 | EXPANSION is the replacement string or a function which will make the |
| 273 | expansion. For example you, could use the DMacros or skeleton packages | 273 | expansion. For example, you could use the DMacros or skeleton packages |
| 274 | to generate such functions. | 274 | to generate such functions. |
| 275 | 275 | ||
| 276 | ARG is an optional argument which can be a number or a list of | 276 | ARG is an optional argument which can be a number or a list of |
| @@ -279,7 +279,7 @@ beginning of the expanded text. | |||
| 279 | 279 | ||
| 280 | If ARG is a list of numbers, point is placed according to the first | 280 | If ARG is a list of numbers, point is placed according to the first |
| 281 | member of the list, but you can visit the other specified positions | 281 | member of the list, but you can visit the other specified positions |
| 282 | cyclicaly with the functions `expand-jump-to-previous-slot' and | 282 | cyclically with the functions `expand-jump-to-previous-slot' and |
| 283 | `expand-jump-to-next-slot'. | 283 | `expand-jump-to-next-slot'. |
| 284 | 284 | ||
| 285 | If ARG is omitted, point is placed at the end of the expanded text." | 285 | If ARG is omitted, point is placed at the end of the expanded text." |
| @@ -293,18 +293,15 @@ If ARG is omitted, point is placed at the end of the expanded text." | |||
| 293 | (defvar expand-list nil "Temporary variable used by the Expand package.") | 293 | (defvar expand-list nil "Temporary variable used by the Expand package.") |
| 294 | 294 | ||
| 295 | (defvar expand-pos nil | 295 | (defvar expand-pos nil |
| 296 | "If non-nil, stores a vector containing markers to positions defined by the last expansion. | 296 | "If non-nil, stores a vector containing markers to positions defined by the last expansion.") |
| 297 | This variable is local to a buffer.") | ||
| 298 | (make-variable-buffer-local 'expand-pos) | 297 | (make-variable-buffer-local 'expand-pos) |
| 299 | 298 | ||
| 300 | (defvar expand-index 0 | 299 | (defvar expand-index 0 |
| 301 | "Index of the last marker used in `expand-pos'. | 300 | "Index of the last marker used in `expand-pos'.") |
| 302 | This variable is local to a buffer.") | ||
| 303 | (make-variable-buffer-local 'expand-index) | 301 | (make-variable-buffer-local 'expand-index) |
| 304 | 302 | ||
| 305 | (defvar expand-point nil | 303 | (defvar expand-point nil |
| 306 | "End of the expanded region. | 304 | "End of the expanded region.") |
| 307 | This variable is local to a buffer.") | ||
| 308 | (make-variable-buffer-local 'expand-point) | 305 | (make-variable-buffer-local 'expand-point) |
| 309 | 306 | ||
| 310 | (defun expand-add-abbrev (table abbrev expansion arg) | 307 | (defun expand-add-abbrev (table abbrev expansion arg) |
diff --git a/lisp/ezimage.el b/lisp/ezimage.el index e8680b65d96..a3562944039 100644 --- a/lisp/ezimage.el +++ b/lisp/ezimage.el | |||
| @@ -59,7 +59,7 @@ IMAGESPEC is the image data, and DOCSTRING is documentation for the image." | |||
| 59 | (defimage ,variable ,imagespec ,docstring) | 59 | (defimage ,variable ,imagespec ,docstring) |
| 60 | (put (quote ,variable) 'ezimage t))) | 60 | (put (quote ,variable) 'ezimage t))) |
| 61 | 61 | ||
| 62 | ;; This hack is for the ezimage install which has an icons direcory for | 62 | ;; This hack is for the ezimage install which has an icons directory for |
| 63 | ;; the default icons to be used. | 63 | ;; the default icons to be used. |
| 64 | ;; (add-to-list 'load-path | 64 | ;; (add-to-list 'load-path |
| 65 | ;; (concat (file-name-directory | 65 | ;; (concat (file-name-directory |
diff --git a/lisp/faces.el b/lisp/faces.el index 45173eb35da..7bc103ca699 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -2457,7 +2457,7 @@ It is used for characters of no fonts too." | |||
| 2457 | ;;; Manipulating font names. | 2457 | ;;; Manipulating font names. |
| 2458 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 2458 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 2459 | 2459 | ||
| 2460 | ;; This is here for compatibilty with Emacs 20.2. For example, | 2460 | ;; This is here for compatibility with Emacs 20.2. For example, |
| 2461 | ;; international/fontset.el uses x-resolve-font-name. The following | 2461 | ;; international/fontset.el uses x-resolve-font-name. The following |
| 2462 | ;; functions are not used in the face implementation itself. | 2462 | ;; functions are not used in the face implementation itself. |
| 2463 | 2463 | ||
diff --git a/lisp/ffap.el b/lisp/ffap.el index 97105ed422b..74df9883324 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el | |||
| @@ -523,7 +523,7 @@ The optional NOMODIFY argument suppresses the extra search." | |||
| 523 | ;; (ffap-file-remote-p "/ffap.el:80") | 523 | ;; (ffap-file-remote-p "/ffap.el:80") |
| 524 | (or (and ffap-ftp-regexp | 524 | (or (and ffap-ftp-regexp |
| 525 | (string-match ffap-ftp-regexp filename) | 525 | (string-match ffap-ftp-regexp filename) |
| 526 | ;; Convert "/host.com://dir" to "/host:/dir", to handle a dieing | 526 | ;; Convert "/host.com://dir" to "/host:/dir", to handle a dying |
| 527 | ;; practice of advertising ftp files as "host.dom://filename". | 527 | ;; practice of advertising ftp files as "host.dom://filename". |
| 528 | (if (string-match "//" filename) | 528 | (if (string-match "//" filename) |
| 529 | ;; (replace-match "/" nil nil filename) | 529 | ;; (replace-match "/" nil nil filename) |
diff --git a/lisp/files-x.el b/lisp/files-x.el index a6320b32e50..ca847097184 100644 --- a/lisp/files-x.el +++ b/lisp/files-x.el | |||
| @@ -149,7 +149,7 @@ from the Local Variables list ignoring the input argument VALUE." | |||
| 149 | 149 | ||
| 150 | (goto-char (point-max)) | 150 | (goto-char (point-max)) |
| 151 | (let ((comment-style 'plain) | 151 | (let ((comment-style 'plain) |
| 152 | (comment-start (or comment-start ";;; "))) | 152 | (comment-start (or comment-start ";; "))) |
| 153 | (comment-region | 153 | (comment-region |
| 154 | (prog1 (setq beg (point)) | 154 | (prog1 (setq beg (point)) |
| 155 | (insert "\nLocal Variables:\nEnd:\n")) | 155 | (insert "\nLocal Variables:\nEnd:\n")) |
diff --git a/lisp/files.el b/lisp/files.el index aac415c1a96..0f167ce3ffa 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -2603,7 +2603,7 @@ we don't actually set it to the same mode the buffer already has." | |||
| 2603 | (if (looking-at auto-mode-interpreter-regexp) | 2603 | (if (looking-at auto-mode-interpreter-regexp) |
| 2604 | (match-string 2) | 2604 | (match-string 2) |
| 2605 | "")) | 2605 | "")) |
| 2606 | ;; Map interpreter name to a mode, signalling we're done at the | 2606 | ;; Map interpreter name to a mode, signaling we're done at the |
| 2607 | ;; same time. | 2607 | ;; same time. |
| 2608 | done (assoc (file-name-nondirectory mode) | 2608 | done (assoc (file-name-nondirectory mode) |
| 2609 | interpreter-mode-alist)) | 2609 | interpreter-mode-alist)) |
| @@ -5790,7 +5790,7 @@ returns nil." | |||
| 5790 | 5790 | ||
| 5791 | ;; vc dired listings provide the state or blanks between file | 5791 | ;; vc dired listings provide the state or blanks between file |
| 5792 | ;; permissions and date. The state is always surrounded by | 5792 | ;; permissions and date. The state is always surrounded by |
| 5793 | ;; parantheses: | 5793 | ;; parentheses: |
| 5794 | ;; -rw-r--r-- (modified) 2005-10-22 21:25 files.el | 5794 | ;; -rw-r--r-- (modified) 2005-10-22 21:25 files.el |
| 5795 | ;; This is not supported yet. | 5795 | ;; This is not supported yet. |
| 5796 | (purecopy (concat "\\([0-9][BkKMGTPEZY]? " iso | 5796 | (purecopy (concat "\\([0-9][BkKMGTPEZY]? " iso |
| @@ -6500,7 +6500,7 @@ Otherwise, trash FILENAME using the freedesktop.org conventions, | |||
| 6500 | (setq tries 0 success t)) | 6500 | (setq tries 0 success t)) |
| 6501 | (file-already-exists nil)) | 6501 | (file-already-exists nil)) |
| 6502 | (setq tries (1- tries)) | 6502 | (setq tries (1- tries)) |
| 6503 | ;; Uniqify new-fn. (Some file managers do not | 6503 | ;; Uniquify new-fn. (Some file managers do not |
| 6504 | ;; like Emacs-style backup file names---e.g. bug | 6504 | ;; like Emacs-style backup file names---e.g. bug |
| 6505 | ;; 170956 in Konqueror bug tracker.) | 6505 | ;; 170956 in Konqueror bug tracker.) |
| 6506 | (setq new-fn (make-temp-name (concat base-fn "_"))))) | 6506 | (setq new-fn (make-temp-name (concat base-fn "_"))))) |
diff --git a/lisp/foldout.el b/lisp/foldout.el index b0eaf753d60..4f93b4205b2 100644 --- a/lisp/foldout.el +++ b/lisp/foldout.el | |||
| @@ -111,9 +111,9 @@ | |||
| 111 | ;; setup a lot easier. | 111 | ;; setup a lot easier. |
| 112 | ;; | 112 | ;; |
| 113 | ;; folding.el by Jamie Lokier <u90jl@ecs.ox.ac.uk> supports folding by | 113 | ;; folding.el by Jamie Lokier <u90jl@ecs.ox.ac.uk> supports folding by |
| 114 | ;; recognising special marker text in you file. | 114 | ;; recognizing special marker text in you file. |
| 115 | ;; | 115 | ;; |
| 116 | ;; c-outline.el (by me) provides outline-mode support to recognise `C' | 116 | ;; c-outline.el (by me) provides outline-mode support to recognize `C' |
| 117 | ;; statements as outline headings, so with foldout you can have a folding `C' | 117 | ;; statements as outline headings, so with foldout you can have a folding `C' |
| 118 | ;; code editor without having to put in start- and end-of-fold markers. This | 118 | ;; code editor without having to put in start- and end-of-fold markers. This |
| 119 | ;; is a real winner! | 119 | ;; is a real winner! |
diff --git a/lisp/follow.el b/lisp/follow.el index b387427a47f..7375b15ad16 100644 --- a/lisp/follow.el +++ b/lisp/follow.el | |||
| @@ -87,7 +87,7 @@ | |||
| 87 | ;; to turn it off. | 87 | ;; to turn it off. |
| 88 | 88 | ||
| 89 | 89 | ||
| 90 | ;; The command `follow-delete-other-windows-and-split' maximises the | 90 | ;; The command `follow-delete-other-windows-and-split' maximizes the |
| 91 | ;; visible area of the current buffer. | 91 | ;; visible area of the current buffer. |
| 92 | ;; | 92 | ;; |
| 93 | ;; I recommend adding it, and `follow-mode', to hotkeys in the global | 93 | ;; I recommend adding it, and `follow-mode', to hotkeys in the global |
| @@ -118,7 +118,7 @@ | |||
| 118 | ;; (setq pixel-vertical-clip-threshold 30) | 118 | ;; (setq pixel-vertical-clip-threshold 30) |
| 119 | 119 | ||
| 120 | 120 | ||
| 121 | ;; The correct way to configurate Follow mode, or any other mode for | 121 | ;; The correct way to configure Follow mode, or any other mode for |
| 122 | ;; that matter, is to create one or more functions that do | 122 | ;; that matter, is to create one or more functions that do |
| 123 | ;; whatever you would like to do. These functions are then added to | 123 | ;; whatever you would like to do. These functions are then added to |
| 124 | ;; a hook. | 124 | ;; a hook. |
| @@ -560,7 +560,7 @@ Keys specific to Follow mode: | |||
| 560 | 560 | ||
| 561 | ;; `scroll-up' and `-down', but for windows in Follow mode. | 561 | ;; `scroll-up' and `-down', but for windows in Follow mode. |
| 562 | ;; | 562 | ;; |
| 563 | ;; Almost like the real thing, excpet when the cursor ends up outside | 563 | ;; Almost like the real thing, except when the cursor ends up outside |
| 564 | ;; the top or bottom... In our case however, we end up outside the | 564 | ;; the top or bottom... In our case however, we end up outside the |
| 565 | ;; window and hence we are recenterd. Should we let `recenter' handle | 565 | ;; window and hence we are recenterd. Should we let `recenter' handle |
| 566 | ;; the point position we would never leave the selected window. To do | 566 | ;; the point position we would never leave the selected window. To do |
| @@ -652,7 +652,7 @@ the rightmost is selected. If ARG is nil, the leftmost window is | |||
| 652 | selected if the original window is the first one in the frame. | 652 | selected if the original window is the first one in the frame. |
| 653 | 653 | ||
| 654 | To bind this command to a hotkey, place the following line | 654 | To bind this command to a hotkey, place the following line |
| 655 | in your `~/.emacs' file, replacing [f7] by your favourite key: | 655 | in your `~/.emacs' file, replacing [f7] by your favorite key: |
| 656 | (global-set-key [f7] 'follow-delete-other-windows-and-split)" | 656 | (global-set-key [f7] 'follow-delete-other-windows-and-split)" |
| 657 | (interactive "P") | 657 | (interactive "P") |
| 658 | (let ((other (or (and (null arg) | 658 | (let ((other (or (and (null arg) |
| @@ -894,7 +894,7 @@ Returns (end-pos end-of-buffer-p)" | |||
| 894 | (save-restriction | 894 | (save-restriction |
| 895 | ;; Fix a mis-feature in `vertical-motion': | 895 | ;; Fix a mis-feature in `vertical-motion': |
| 896 | ;; The start of the window is assumed to | 896 | ;; The start of the window is assumed to |
| 897 | ;; coinside with the start of a line. | 897 | ;; coincide with the start of a line. |
| 898 | (narrow-to-region (point) (point-max)) | 898 | (narrow-to-region (point) (point-max)) |
| 899 | (not (= height (vertical-motion height)))))) | 899 | (not (= height (vertical-motion height)))))) |
| 900 | (list (point) buffer-end-p)))))) | 900 | (list (point) buffer-end-p)))))) |
| @@ -1064,7 +1064,7 @@ Return the selected window." | |||
| 1064 | ;; it wasn't just moved here. (I.e. M-> shall not unconditionally place | 1064 | ;; it wasn't just moved here. (I.e. M-> shall not unconditionally place |
| 1065 | ;; the point in the selected window.) | 1065 | ;; the point in the selected window.) |
| 1066 | ;; | 1066 | ;; |
| 1067 | ;; (Compatibility cludge: in Emacs `window-end' is equal to `point-max'; | 1067 | ;; (Compatibility kludge: in Emacs `window-end' is equal to `point-max'; |
| 1068 | ;; in XEmacs, it is equal to `point-max + 1'. Should I really bother | 1068 | ;; in XEmacs, it is equal to `point-max + 1'. Should I really bother |
| 1069 | ;; checking `window-end' now when I check `end-of-buffer' explicitly?) | 1069 | ;; checking `window-end' now when I check `end-of-buffer' explicitly?) |
| 1070 | 1070 | ||
diff --git a/lisp/font-core.el b/lisp/font-core.el index 0db17efd7b7..a5de29520f7 100644 --- a/lisp/font-core.el +++ b/lisp/font-core.el | |||
| @@ -210,7 +210,7 @@ this function onto `change-major-mode-hook'." | |||
| 210 | ;; A few people have hassled in the past for a way to make it easier to turn on | 210 | ;; A few people have hassled in the past for a way to make it easier to turn on |
| 211 | ;; Font Lock mode, without the user needing to know for which modes s/he has to | 211 | ;; Font Lock mode, without the user needing to know for which modes s/he has to |
| 212 | ;; turn it on, perhaps the same way hilit19.el/hl319.el does. I've always | 212 | ;; turn it on, perhaps the same way hilit19.el/hl319.el does. I've always |
| 213 | ;; balked at that way, as I see it as just re-moulding the same problem in | 213 | ;; balked at that way, as I see it as just re-molding the same problem in |
| 214 | ;; another form. That is; some person would still have to keep track of which | 214 | ;; another form. That is; some person would still have to keep track of which |
| 215 | ;; modes (which may not even be distributed with Emacs) support Font Lock mode. | 215 | ;; modes (which may not even be distributed with Emacs) support Font Lock mode. |
| 216 | ;; The list would always be out of date. And that person might have to be me. | 216 | ;; The list would always be out of date. And that person might have to be me. |
diff --git a/lisp/forms.el b/lisp/forms.el index ef6d9b023b4..215f3ce88f7 100644 --- a/lisp/forms.el +++ b/lisp/forms.el | |||
| @@ -1295,7 +1295,7 @@ Commands: Equivalent keys in read-only mode: | |||
| 1295 | ) | 1295 | ) |
| 1296 | 1296 | ||
| 1297 | (defun forms--mode-menu-ro (map) | 1297 | (defun forms--mode-menu-ro (map) |
| 1298 | ;;; Menu initialisation | 1298 | ;;; Menu initialization |
| 1299 | ; (define-key map [menu-bar] (make-sparse-keymap)) | 1299 | ; (define-key map [menu-bar] (make-sparse-keymap)) |
| 1300 | (define-key map [menu-bar forms] | 1300 | (define-key map [menu-bar forms] |
| 1301 | (cons "Forms" (make-sparse-keymap "Forms"))) | 1301 | (cons "Forms" (make-sparse-keymap "Forms"))) |
| @@ -1341,7 +1341,7 @@ Commands: Equivalent keys in read-only mode: | |||
| 1341 | (put 'forms-delete-record 'menu-enable '(not forms-read-only)) | 1341 | (put 'forms-delete-record 'menu-enable '(not forms-read-only)) |
| 1342 | ) | 1342 | ) |
| 1343 | (defun forms--mode-menu-edit (map) | 1343 | (defun forms--mode-menu-edit (map) |
| 1344 | ;;; Menu initialisation | 1344 | ;;; Menu initialization |
| 1345 | ; (define-key map [menu-bar] (make-sparse-keymap)) | 1345 | ; (define-key map [menu-bar] (make-sparse-keymap)) |
| 1346 | (define-key map [menu-bar forms] | 1346 | (define-key map [menu-bar forms] |
| 1347 | (cons "Forms" (make-sparse-keymap "Forms"))) | 1347 | (cons "Forms" (make-sparse-keymap "Forms"))) |
diff --git a/lisp/frame.el b/lisp/frame.el index 8359fed14a4..f63179de1f1 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -1299,7 +1299,7 @@ Each element of the alist has the form (display . (width . height)), | |||
| 1299 | e.g. (\":0.0\" . (287 . 215)). | 1299 | e.g. (\":0.0\" . (287 . 215)). |
| 1300 | 1300 | ||
| 1301 | If `display' equals t, it specifies dimensions for all graphical | 1301 | If `display' equals t, it specifies dimensions for all graphical |
| 1302 | displays not explicitely specified." | 1302 | displays not explicitly specified." |
| 1303 | :version "22.1" | 1303 | :version "22.1" |
| 1304 | :type '(alist :key-type (choice (string :tag "Display name") | 1304 | :type '(alist :key-type (choice (string :tag "Display name") |
| 1305 | (const :tag "Default" t)) | 1305 | (const :tag "Default" t)) |
diff --git a/lisp/generic-x.el b/lisp/generic-x.el index 2c00229c76e..b0ef0439404 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el | |||
| @@ -1446,7 +1446,7 @@ like an INI file. You can add this hook to `find-file-hook'." | |||
| 1446 | "REGDB_STRING" | 1446 | "REGDB_STRING" |
| 1447 | "REGDB_UNINSTALL_NAME" | 1447 | "REGDB_UNINSTALL_NAME" |
| 1448 | "REMOTE_DRIVE" | 1448 | "REMOTE_DRIVE" |
| 1449 | "REMOVALE_DRIVE" | 1449 | "REMOVEABLE_DRIVE" |
| 1450 | "REPLACE_ITEM" | 1450 | "REPLACE_ITEM" |
| 1451 | "REPLACE" | 1451 | "REPLACE" |
| 1452 | "RESET" | 1452 | "RESET" |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index fbbf3bad5a8..a9db3c23fef 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2011-11-16 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * gnus-sum.el (gnus-summary-make-menu-bar): | ||
| 4 | * gnus-uu.el (gnus-uu-decode-postscript) | ||
| 5 | (gnus-uu-decode-postscript-and-save): | ||
| 6 | * mailcap.el (mailcap-print-command): | ||
| 7 | * registry.el (registry-lookup, registry-lookup-breaks-before-lexbind): | ||
| 8 | Fix typos. | ||
| 9 | |||
| 10 | 2011-11-15 Juanma Barranquero <lekktu@gmail.com> | ||
| 11 | |||
| 12 | * gnus-art.el (gnus-article-part-wrapper): | ||
| 13 | * shr-color.el (shr-color-visible-distance-min) | ||
| 14 | (shr-color-relative-to-absolute, set-minimum-interval) | ||
| 15 | (shr-color-visible): Fix typos. | ||
| 16 | |||
| 1 | 2011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org> | 17 | 2011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 18 | ||
| 3 | * gnus-sum.el (gnus-articles-to-read): Change wording in prompt to be | 19 | * gnus-sum.el (gnus-articles-to-read): Change wording in prompt to be |
| @@ -316,7 +332,7 @@ | |||
| 316 | decoding nnimap groups. | 332 | decoding nnimap groups. |
| 317 | 333 | ||
| 318 | * gnus.el (gnus-variable-list): Don't save `gnus-format-specs' in the | 334 | * gnus.el (gnus-variable-list): Don't save `gnus-format-specs' in the |
| 319 | newsrc file. It doesn't seem like an important optimisation any more. | 335 | newsrc file. It doesn't seem like an important optimization any more. |
| 320 | 336 | ||
| 321 | 2011-09-10 Dave Abrahams <dave@boostpro.com> (tiny change) | 337 | 2011-09-10 Dave Abrahams <dave@boostpro.com> (tiny change) |
| 322 | 338 | ||
| @@ -969,7 +985,7 @@ | |||
| 969 | * nnimap.el (nnimap-process-expiry-targets): Say what target we're | 985 | * nnimap.el (nnimap-process-expiry-targets): Say what target we're |
| 970 | expiring articles to. | 986 | expiring articles to. |
| 971 | 987 | ||
| 972 | * mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4 | 988 | * mm-util.el (mm-charset-to-coding-system): Recognize all ANSI.x3.4 |
| 973 | variations as ASCII (bug#5458). | 989 | variations as ASCII (bug#5458). |
| 974 | 990 | ||
| 975 | 2011-06-30 Katsumi Yamaoka <yamaoka@jpl.org> | 991 | 2011-06-30 Katsumi Yamaoka <yamaoka@jpl.org> |
| @@ -1820,7 +1836,7 @@ | |||
| 1820 | 1836 | ||
| 1821 | 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1837 | 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 1822 | 1838 | ||
| 1823 | * gnus-sum.el (gnus-articles-to-read): Revert back to old behaviour if | 1839 | * gnus-sum.el (gnus-articles-to-read): Revert back to old behavior if |
| 1824 | we're selecting a group with unread articles. | 1840 | we're selecting a group with unread articles. |
| 1825 | 1841 | ||
| 1826 | * nnimap.el (nnimap-open-connection-1): Allow `network-only', too. | 1842 | * nnimap.el (nnimap-open-connection-1): Allow `network-only', too. |
| @@ -2559,7 +2575,7 @@ | |||
| 2559 | * gnus-sum.el (gnus-user-date): Rename back from | 2575 | * gnus-sum.el (gnus-user-date): Rename back from |
| 2560 | gnus-summary-user-date since user code refers to it. | 2576 | gnus-summary-user-date since user code refers to it. |
| 2561 | 2577 | ||
| 2562 | * shr.el (shr-render-td): Store the actual background colour used. | 2578 | * shr.el (shr-render-td): Store the actual background color used. |
| 2563 | 2579 | ||
| 2564 | * message.el (message-setup-1): Don't bind the constant | 2580 | * message.el (message-setup-1): Don't bind the constant |
| 2565 | -forbidden-properties. | 2581 | -forbidden-properties. |
| @@ -2647,9 +2663,9 @@ | |||
| 2647 | 2663 | ||
| 2648 | 2011-02-01 Lars Ingebrigtsen <larsi@gnus.org> | 2664 | 2011-02-01 Lars Ingebrigtsen <larsi@gnus.org> |
| 2649 | 2665 | ||
| 2650 | * shr.el (shr-render-td): Only do colours at the final rendering. | 2666 | * shr.el (shr-render-td): Only do colors at the final rendering. |
| 2651 | Should be slightly faster. | 2667 | Should be slightly faster. |
| 2652 | (shr-insert-table): Fix up TD background colours when doing the | 2668 | (shr-insert-table): Fix up TD background colors when doing the |
| 2653 | vertical padding. | 2669 | vertical padding. |
| 2654 | 2670 | ||
| 2655 | * gnus-art.el (article-date-ut): Protect against articles with no Date | 2671 | * gnus-art.el (article-date-ut): Protect against articles with no Date |
| @@ -2777,7 +2793,7 @@ | |||
| 2777 | 2793 | ||
| 2778 | 2011-01-27 Lars Ingebrigtsen <larsi@gnus.org> | 2794 | 2011-01-27 Lars Ingebrigtsen <larsi@gnus.org> |
| 2779 | 2795 | ||
| 2780 | * shr.el (shr-put-color): Special-case background colours: Do put them | 2796 | * shr.el (shr-put-color): Special-case background colors: Do put them |
| 2781 | at the blank parts at the front of the lines. | 2797 | at the blank parts at the front of the lines. |
| 2782 | 2798 | ||
| 2783 | * gnus-draft.el (gnus-draft-clear-marks): New function to be run as an | 2799 | * gnus-draft.el (gnus-draft-clear-marks): New function to be run as an |
| @@ -3782,7 +3798,7 @@ | |||
| 3782 | 3798 | ||
| 3783 | 2010-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org> | 3799 | 2010-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 3784 | 3800 | ||
| 3785 | * shr-color.el (shr-color-visible): Don't bug out if the colour names | 3801 | * shr-color.el (shr-color-visible): Don't bug out if the color names |
| 3786 | don't exist. | 3802 | don't exist. |
| 3787 | 3803 | ||
| 3788 | 2010-11-25 Katsumi Yamaoka <yamaoka@jpl.org> | 3804 | 2010-11-25 Katsumi Yamaoka <yamaoka@jpl.org> |
| @@ -3854,7 +3870,7 @@ | |||
| 3854 | 3870 | ||
| 3855 | 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org> | 3871 | 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 3856 | 3872 | ||
| 3857 | * shr.el (shr-color-check): Protect against non-existent colour names. | 3873 | * shr.el (shr-color-check): Protect against non-existent color names. |
| 3858 | 3874 | ||
| 3859 | 2010-11-24 Julien Danjou <julien@danjou.info> | 3875 | 2010-11-24 Julien Danjou <julien@danjou.info> |
| 3860 | 3876 | ||
| @@ -3880,7 +3896,7 @@ | |||
| 3880 | 2010-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org> | 3896 | 2010-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 3881 | 3897 | ||
| 3882 | * shr.el (shr-insert-color-overlay): Split stuff like | 3898 | * shr.el (shr-insert-color-overlay): Split stuff like |
| 3883 | "#444444 !important" to find the real colour. | 3899 | "#444444 !important" to find the real color. |
| 3884 | (shr-tag-font): Resurrect shr-tag-font again, since it's needed to | 3900 | (shr-tag-font): Resurrect shr-tag-font again, since it's needed to |
| 3885 | parse <font color="red"> entries. | 3901 | parse <font color="red"> entries. |
| 3886 | 3902 | ||
| @@ -4422,7 +4438,7 @@ | |||
| 4422 | gnus-original-article-buffer is alive. | 4438 | gnus-original-article-buffer is alive. |
| 4423 | 4439 | ||
| 4424 | * nndoc.el (nndoc-dissect-buffer): Reverse the order of the articles to | 4440 | * nndoc.el (nndoc-dissect-buffer): Reverse the order of the articles to |
| 4425 | reflect the order they're in in the digest. | 4441 | reflect the order they are in the digest. |
| 4426 | 4442 | ||
| 4427 | * gnus.el (gnus-group-startup-message): Move point to the start of the | 4443 | * gnus.el (gnus-group-startup-message): Move point to the start of the |
| 4428 | buffer. | 4444 | buffer. |
| @@ -4488,7 +4504,7 @@ | |||
| 4488 | 4504 | ||
| 4489 | 2010-10-30 Lars Magne Ingebrigtsen <larsi@gnus.org> | 4505 | 2010-10-30 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 4490 | 4506 | ||
| 4491 | * shr.el (shr-tag-span): Drop colorisation of regions since we don't | 4507 | * shr.el (shr-tag-span): Drop colorization of regions since we don't |
| 4492 | control the background color. | 4508 | control the background color. |
| 4493 | (shr-tag-img): Ignore very small web bug type images. | 4509 | (shr-tag-img): Ignore very small web bug type images. |
| 4494 | (shr-put-image): Add help-echo alt texts to the images. | 4510 | (shr-put-image): Add help-echo alt texts to the images. |
| @@ -4557,7 +4573,7 @@ | |||
| 4557 | 4573 | ||
| 4558 | * shr.el (shr-put-image): Use point even if only inserting text. | 4574 | * shr.el (shr-put-image): Use point even if only inserting text. |
| 4559 | (shr-put-image): Save excursion when inserting alt text on non-graphic | 4575 | (shr-put-image): Save excursion when inserting alt text on non-graphic |
| 4560 | display, so the behaviour is the same when we are on a graphic display. | 4576 | display, so the behavior is the same when we are on a graphic display. |
| 4561 | 4577 | ||
| 4562 | * nnir.el (nnir-run-swish-e): Remove hyrex support. | 4578 | * nnir.el (nnir-run-swish-e): Remove hyrex support. |
| 4563 | 4579 | ||
| @@ -5178,7 +5194,7 @@ | |||
| 5178 | bidning gnus-agent variables. | 5194 | bidning gnus-agent variables. |
| 5179 | 5195 | ||
| 5180 | * shr.el (shr-render-td): Use a cache for the table rendering function | 5196 | * shr.el (shr-render-td): Use a cache for the table rendering function |
| 5181 | to avoid getting an exponential rendering behaviour in nested tables. | 5197 | to avoid getting an exponential rendering behavior in nested tables. |
| 5182 | (shr-insert): Rework the line-breaking algorithm. | 5198 | (shr-insert): Rework the line-breaking algorithm. |
| 5183 | (shr-insert): Don't leave trailing spaces. | 5199 | (shr-insert): Don't leave trailing spaces. |
| 5184 | (shr-insert-table): Also insert empty TDs. | 5200 | (shr-insert-table): Also insert empty TDs. |
| @@ -5991,15 +6007,15 @@ | |||
| 5991 | highlight again, so that the highlight is correct. | 6007 | highlight again, so that the highlight is correct. |
| 5992 | 6008 | ||
| 5993 | * gnus-picon.el (gnus-picon): Remove again. | 6009 | * gnus-picon.el (gnus-picon): Remove again. |
| 5994 | (gnus-picon-create-glyph): Set the background XPM colour explicitly. | 6010 | (gnus-picon-create-glyph): Set the background XPM color explicitly. |
| 5995 | 6011 | ||
| 5996 | * gnus-art.el (gnus-treatment-function-alist): Insert picons after | 6012 | * gnus-art.el (gnus-treatment-function-alist): Insert picons after |
| 5997 | doing the header highlightling, so that the background colour of the | 6013 | doing the header highlightling, so that the background color of the |
| 5998 | picon is correct. | 6014 | picon is correct. |
| 5999 | 6015 | ||
| 6000 | * gnus-picon.el (gnus-picon-xbm): Remove obsolete face. | 6016 | * gnus-picon.el (gnus-picon-xbm): Remove obsolete face. |
| 6001 | (gnus-picon): Ditto. | 6017 | (gnus-picon): Ditto. |
| 6002 | (gnus-picon): Reinstate. The background colour for picons is white. | 6018 | (gnus-picon): Reinstate. The background color for picons is white. |
| 6003 | (gnus-picon-insert-glyph): Make the background white. | 6019 | (gnus-picon-insert-glyph): Make the background white. |
| 6004 | 6020 | ||
| 6005 | * nnml.el (nnml-open-nov): Don't return dead buffers. | 6021 | * nnml.el (nnml-open-nov): Don't return dead buffers. |
| @@ -6783,7 +6799,7 @@ | |||
| 6783 | 6799 | ||
| 6784 | * gnus-start.el (gnus-get-unread-articles): Allow the backends to | 6800 | * gnus-start.el (gnus-get-unread-articles): Allow the backends to |
| 6785 | update the group info. This makes the nndraft groups, for instance, go | 6801 | update the group info. This makes the nndraft groups, for instance, go |
| 6786 | back to their old behaviour. | 6802 | back to their old behavior. |
| 6787 | 6803 | ||
| 6788 | * gnus-sum.el (gnus-select-newsgroup): Indent. | 6804 | * gnus-sum.el (gnus-select-newsgroup): Indent. |
| 6789 | 6805 | ||
| @@ -7175,7 +7191,7 @@ | |||
| 7175 | 7191 | ||
| 7176 | * gnus-agent.el (gnus-agent-auto-agentize-methods): Change the default | 7192 | * gnus-agent.el (gnus-agent-auto-agentize-methods): Change the default |
| 7177 | so that nnimap methods aren't agentized by default. There's apparently | 7193 | so that nnimap methods aren't agentized by default. There's apparently |
| 7178 | many problems related to agent/imap behaviour. | 7194 | many problems related to agent/imap behavior. |
| 7179 | 7195 | ||
| 7180 | * gnus-art.el (gnus-article-copy-string): New command and key binding. | 7196 | * gnus-art.el (gnus-article-copy-string): New command and key binding. |
| 7181 | 7197 | ||
| @@ -7220,7 +7236,7 @@ | |||
| 7220 | storage than before. | 7236 | storage than before. |
| 7221 | 7237 | ||
| 7222 | * gnus.el (gnus-refer-article-method): Change default to 'current. | 7238 | * gnus.el (gnus-refer-article-method): Change default to 'current. |
| 7223 | When referring an article, the common behaviour is to refer it from the | 7239 | When referring an article, the common behavior is to refer it from the |
| 7224 | current select method, not the native select method. The chances of | 7240 | current select method, not the native select method. The chances of |
| 7225 | the native select method having the message in question is rather slim | 7241 | the native select method having the message in question is rather slim |
| 7226 | these days. | 7242 | these days. |
| @@ -7236,7 +7252,7 @@ | |||
| 7236 | * gnus-sum.el (gnus-summary-goto-unread): Change default to nil, so | 7252 | * gnus-sum.el (gnus-summary-goto-unread): Change default to nil, so |
| 7237 | that commands like `d' (and the like) go to the next line in the | 7253 | that commands like `d' (and the like) go to the next line in the |
| 7238 | buffer, instead of the next unread article. I think this is the | 7254 | buffer, instead of the next unread article. I think this is the |
| 7239 | behaviour that is most natural for most users. | 7255 | behavior that is most natural for most users. |
| 7240 | (gnus-single-article-buffer): Change default to nil, so that people can | 7256 | (gnus-single-article-buffer): Change default to nil, so that people can |
| 7241 | have as many article buffers open as they have summary buffer. I think | 7257 | have as many article buffers open as they have summary buffer. I think |
| 7242 | this is the most natural way for the groups to behave. | 7258 | this is the most natural way for the groups to behave. |
| @@ -7411,7 +7427,7 @@ | |||
| 7411 | UTF-8. This seems to fix problems with some German web feeds. | 7427 | UTF-8. This seems to fix problems with some German web feeds. |
| 7412 | 7428 | ||
| 7413 | * gnus.el (gnus-group-startup-message): Put the xpm version of the logo | 7429 | * gnus.el (gnus-group-startup-message): Put the xpm version of the logo |
| 7414 | at the top so that the proper colours are applied. | 7430 | at the top so that the proper colors are applied. |
| 7415 | 7431 | ||
| 7416 | * gnus-art.el (gnus-article-view-part): Doc fix. | 7432 | * gnus-art.el (gnus-article-view-part): Doc fix. |
| 7417 | 7433 | ||
| @@ -11844,7 +11860,7 @@ | |||
| 11844 | 11860 | ||
| 11845 | * message.el (message-font-lock-keywords): Use message-header-xheader | 11861 | * message.el (message-font-lock-keywords): Use message-header-xheader |
| 11846 | face for "X-Foo", its apparent intended purpose. Move "X-" pattern | 11862 | face for "X-Foo", its apparent intended purpose. Move "X-" pattern |
| 11847 | ahead of the anything pattern, to get it recognised. | 11863 | ahead of the anything pattern, to get it recognized. |
| 11848 | 11864 | ||
| 11849 | 2007-05-12 Michaël Cadilhac <michael@cadilhac.name> | 11865 | 2007-05-12 Michaël Cadilhac <michael@cadilhac.name> |
| 11850 | 11866 | ||
| @@ -14889,7 +14905,7 @@ | |||
| 14889 | (nnweb-request-list): Don't list bogus groups. There can only be one. | 14905 | (nnweb-request-list): Don't list bogus groups. There can only be one. |
| 14890 | (nnweb-request-create-group): Don't use ARGS. | 14906 | (nnweb-request-create-group): Don't use ARGS. |
| 14891 | (nnweb-possibly-change-server, nnweb-request-group): Remove some | 14907 | (nnweb-possibly-change-server, nnweb-request-group): Remove some |
| 14892 | initialisations. Let nnoo do the work. | 14908 | initializations. Let nnoo do the work. |
| 14893 | 14909 | ||
| 14894 | 2006-01-31 Katsumi Yamaoka <yamaoka@jpl.org> | 14910 | 2006-01-31 Katsumi Yamaoka <yamaoka@jpl.org> |
| 14895 | 14911 | ||
| @@ -16517,7 +16533,7 @@ | |||
| 16517 | 2005-06-16 Arne Jørgensen <arne@arnested.dk> | 16533 | 2005-06-16 Arne Jørgensen <arne@arnested.dk> |
| 16518 | 16534 | ||
| 16519 | * smime.el (smime-cert-by-ldap-1): Detect PEM format without | 16535 | * smime.el (smime-cert-by-ldap-1): Detect PEM format without |
| 16520 | header by looking for magic "MII" at the beginnig. | 16536 | header by looking for magic "MII" at the beginning. |
| 16521 | 16537 | ||
| 16522 | 2005-06-16 Miles Bader <miles@gnu.org> | 16538 | 2005-06-16 Miles Bader <miles@gnu.org> |
| 16523 | 16539 | ||
| @@ -20046,7 +20062,7 @@ | |||
| 20046 | * mail-source.el (mail-source-delete-crash-box): Refactor. | 20062 | * mail-source.el (mail-source-delete-crash-box): Refactor. |
| 20047 | (mail-source-fetch): Use it. | 20063 | (mail-source-fetch): Use it. |
| 20048 | (mail-source-fetch-file): Ditto. | 20064 | (mail-source-fetch-file): Ditto. |
| 20049 | (mail-source-fetch-directory): Run postscript in loop. | 20065 | (mail-source-fetch-directory): Run PostScript in loop. |
| 20050 | (mail-source-fetch-pop): Delete. | 20066 | (mail-source-fetch-pop): Delete. |
| 20051 | (mail-source-fetch-maildir): Ditto. | 20067 | (mail-source-fetch-maildir): Ditto. |
| 20052 | (mail-source-fetch-imap): Ditto. | 20068 | (mail-source-fetch-imap): Ditto. |
diff --git a/lisp/gnus/ChangeLog.1 b/lisp/gnus/ChangeLog.1 index 7448808b20f..86c4eea59ab 100644 --- a/lisp/gnus/ChangeLog.1 +++ b/lisp/gnus/ChangeLog.1 | |||
| @@ -1336,7 +1336,7 @@ | |||
| 1336 | 1336 | ||
| 1337 | 1998-05-07 Hrvoje Niksic <hniksic@srce.hr> | 1337 | 1998-05-07 Hrvoje Niksic <hniksic@srce.hr> |
| 1338 | 1338 | ||
| 1339 | * nnmail.el: (nnmail-get-split-group): Use `regexp-quote' | 1339 | * nnmail.el (nnmail-get-split-group): Use `regexp-quote' |
| 1340 | when file name is a part of pattern. | 1340 | when file name is a part of pattern. |
| 1341 | 1341 | ||
| 1342 | * nnmail.el (nnmail-crosspost-link-function): Ditto. | 1342 | * nnmail.el (nnmail-crosspost-link-function): Ditto. |
| @@ -2540,7 +2540,7 @@ | |||
| 2540 | `gnus-simplify-ignored-prefixes'. | 2540 | `gnus-simplify-ignored-prefixes'. |
| 2541 | (gnus-summary-set-display-table): Keep TAB. | 2541 | (gnus-summary-set-display-table): Keep TAB. |
| 2542 | 2542 | ||
| 2543 | 1998-01-15 <Use-Author-Address-Header@[127.1]> | 2543 | 1998-01-15 Lars Magne Ingebrigtsen <larsi@ifi.uio.no> |
| 2544 | 2544 | ||
| 2545 | * gnus-art.el (gnus-request-article-this-buffer): Put it into the | 2545 | * gnus-art.el (gnus-request-article-this-buffer): Put it into the |
| 2546 | backlog. | 2546 | backlog. |
diff --git a/lisp/gnus/ChangeLog.2 b/lisp/gnus/ChangeLog.2 index 779c84296f4..dcdf1c2934b 100644 --- a/lisp/gnus/ChangeLog.2 +++ b/lisp/gnus/ChangeLog.2 | |||
| @@ -5562,7 +5562,7 @@ | |||
| 5562 | 5562 | ||
| 5563 | 2003-01-14 Kevin Greiner <kgreiner@xpediantsolutions.com> | 5563 | 2003-01-14 Kevin Greiner <kgreiner@xpediantsolutions.com> |
| 5564 | * gnus-agent.el (gnus-agent-get-undownloaded-list): Include the | 5564 | * gnus-agent.el (gnus-agent-get-undownloaded-list): Include the |
| 5565 | fictious headers generated by nnagent (ie. Undownloaded Article | 5565 | fictitious headers generated by nnagent (ie. Undownloaded Article |
| 5566 | ####) in the list of articles that have not been downloaded. | 5566 | ####) in the list of articles that have not been downloaded. |
| 5567 | 5567 | ||
| 5568 | * gnus-int.el (): Added require declarations to resolve | 5568 | * gnus-int.el (): Added require declarations to resolve |
| @@ -10428,7 +10428,7 @@ | |||
| 10428 | * mml-sec.el (mml-secure-message-encrypt-smime): New. | 10428 | * mml-sec.el (mml-secure-message-encrypt-smime): New. |
| 10429 | * mml-sec.el (mml-secure-message-encrypt-pgp): New. | 10429 | * mml-sec.el (mml-secure-message-encrypt-pgp): New. |
| 10430 | * mml-sec.el (mml-secure-message-encrypt-pgpmime): New. | 10430 | * mml-sec.el (mml-secure-message-encrypt-pgpmime): New. |
| 10431 | * mml.el (mml-parse-1): Added code to recognise the secure tag and | 10431 | * mml.el (mml-parse-1): Added code to recognize the secure tag and |
| 10432 | convert it to either a part or multipart depending on if there are | 10432 | convert it to either a part or multipart depending on if there are |
| 10433 | other parts in the message. | 10433 | other parts in the message. |
| 10434 | * mml.el (mml-mode-map): Changed default sign/encrypt keybindings | 10434 | * mml.el (mml-mode-map): Changed default sign/encrypt keybindings |
diff --git a/lisp/gnus/gmm-utils.el b/lisp/gnus/gmm-utils.el index 8deb27379a3..f913ddb5378 100644 --- a/lisp/gnus/gmm-utils.el +++ b/lisp/gnus/gmm-utils.el | |||
| @@ -140,7 +140,7 @@ This is a copy of the `lazy' widget in Emacs 22.1 provided for compatibility." | |||
| 140 | ;; :mouse-2 command-on-mouse-2-press | 140 | ;; :mouse-2 command-on-mouse-2-press |
| 141 | ;; :mouse-3 command-on-mouse-3-press) ;; typically a menu of related commands | 141 | ;; :mouse-3 command-on-mouse-3-press) ;; typically a menu of related commands |
| 142 | ;; | 142 | ;; |
| 143 | ;; Combinations of mouse-[23] plus shift and/or controll might be overkill. | 143 | ;; Combinations of mouse-[23] plus shift and/or control might be overkill. |
| 144 | ;; | 144 | ;; |
| 145 | ;; Then use (plist-get rs-command :none), (plist-get rs-command :shift) | 145 | ;; Then use (plist-get rs-command :none), (plist-get rs-command :shift) |
| 146 | 146 | ||
diff --git a/lisp/gnus/gnus-agent.el b/lisp/gnus/gnus-agent.el index 669f9675536..bf7f31e6392 100644 --- a/lisp/gnus/gnus-agent.el +++ b/lisp/gnus/gnus-agent.el | |||
| @@ -1130,7 +1130,7 @@ article's mark is toggled." | |||
| 1130 | (setq alist (cdr alist))) | 1130 | (setq alist (cdr alist))) |
| 1131 | ((> a h) | 1131 | ((> a h) |
| 1132 | ;; Headers that are not in the alist should be | 1132 | ;; Headers that are not in the alist should be |
| 1133 | ;; fictious (see nnagent-retrieve-headers); they | 1133 | ;; fictitious (see nnagent-retrieve-headers); they |
| 1134 | ;; imply that this article isn't in the agent. | 1134 | ;; imply that this article isn't in the agent. |
| 1135 | (gnus-agent-append-to-list tail-undownloaded h) | 1135 | (gnus-agent-append-to-list tail-undownloaded h) |
| 1136 | (gnus-agent-append-to-list tail-unfetched h) | 1136 | (gnus-agent-append-to-list tail-unfetched h) |
| @@ -1368,7 +1368,7 @@ downloaded into the agent." | |||
| 1368 | ;; disable the set read each time this server is opened. | 1368 | ;; disable the set read each time this server is opened. |
| 1369 | ;; NOTE: Opening this group will restore the valid local | 1369 | ;; NOTE: Opening this group will restore the valid local |
| 1370 | ;; range but it will also expand the local range to | 1370 | ;; range but it will also expand the local range to |
| 1371 | ;; incompass the new active range. | 1371 | ;; encompass the new active range. |
| 1372 | (gnus-agent-set-local group agent-min (1- active-min))))))) | 1372 | (gnus-agent-set-local group agent-min (1- active-min))))))) |
| 1373 | 1373 | ||
| 1374 | (defun gnus-agent-save-group-info (method group active) | 1374 | (defun gnus-agent-save-group-info (method group active) |
| @@ -3232,7 +3232,7 @@ FORCE is equivalent to setting the expiration predicates to true." | |||
| 3232 | 3232 | ||
| 3233 | ;; Convert the keep lists to elements that look like (article# | 3233 | ;; Convert the keep lists to elements that look like (article# |
| 3234 | ;; nil keep_flag nil) then append it to the expanded dlist | 3234 | ;; nil keep_flag nil) then append it to the expanded dlist |
| 3235 | ;; These statements are sorted by ascending precidence of the | 3235 | ;; These statements are sorted by ascending precedence of the |
| 3236 | ;; keep_flag. | 3236 | ;; keep_flag. |
| 3237 | (setq dlist (nconc dlist | 3237 | (setq dlist (nconc dlist |
| 3238 | (mapcar (lambda (e) | 3238 | (mapcar (lambda (e) |
| @@ -3613,7 +3613,7 @@ articles in every agentized group? ")) | |||
| 3613 | (setq r d | 3613 | (setq r d |
| 3614 | d (directory-file-name d))) | 3614 | d (directory-file-name d))) |
| 3615 | ;; if ANY ancestor was NOT in keep hash and | 3615 | ;; if ANY ancestor was NOT in keep hash and |
| 3616 | ;; it it's already in to-remove, add it to | 3616 | ;; it's already in to-remove, add it to |
| 3617 | ;; to-remove. | 3617 | ;; to-remove. |
| 3618 | (if (and r | 3618 | (if (and r |
| 3619 | (not (member r to-remove))) | 3619 | (not (member r to-remove))) |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 0068fbad6e2..dd41947a2af 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -535,7 +535,7 @@ that the symbol of the saver function, which is specified by | |||
| 535 | 535 | ||
| 536 | ;; Note that "Rmail format" is mbox since Emacs 23, but Babyl before. | 536 | ;; Note that "Rmail format" is mbox since Emacs 23, but Babyl before. |
| 537 | (defcustom gnus-default-article-saver 'gnus-summary-save-in-rmail | 537 | (defcustom gnus-default-article-saver 'gnus-summary-save-in-rmail |
| 538 | "A function to save articles in your favourite format. | 538 | "A function to save articles in your favorite format. |
| 539 | The function will be called by way of the `gnus-summary-save-article' | 539 | The function will be called by way of the `gnus-summary-save-article' |
| 540 | command, and friends such as `gnus-summary-save-article-rmail'. | 540 | command, and friends such as `gnus-summary-save-article-rmail'. |
| 541 | 541 | ||
| @@ -1559,7 +1559,7 @@ node `(gnus)Gravatars' for details." | |||
| 1559 | gnus-treat-from-picon | 1559 | gnus-treat-from-picon |
| 1560 | gnus-treat-from-gravatar | 1560 | gnus-treat-from-gravatar |
| 1561 | gnus-treat-mail-gravatar) | 1561 | gnus-treat-mail-gravatar) |
| 1562 | ;; If there's much decoration, the user might prefer a boundery. | 1562 | ;; If there's much decoration, the user might prefer a boundary. |
| 1563 | 'head | 1563 | 'head |
| 1564 | nil) | 1564 | nil) |
| 1565 | "Draw a boundary at the end of the headers. | 1565 | "Draw a boundary at the end of the headers. |
| @@ -5418,8 +5418,8 @@ If no internal viewer is available, use an external viewer." | |||
| 5418 | 5418 | ||
| 5419 | (defun gnus-article-part-wrapper (n function &optional no-handle interactive) | 5419 | (defun gnus-article-part-wrapper (n function &optional no-handle interactive) |
| 5420 | "Call FUNCTION on MIME part N. | 5420 | "Call FUNCTION on MIME part N. |
| 5421 | Unless NO-HANDLE, call FUNCTION with N-th MIME handle as it's only argument. | 5421 | Unless NO-HANDLE, call FUNCTION with N-th MIME handle as its only argument. |
| 5422 | If INTERACTIVE, call FUNCTION interactivly." | 5422 | If INTERACTIVE, call FUNCTION interactively." |
| 5423 | (let (window frame) | 5423 | (let (window frame) |
| 5424 | ;; Check whether the article is displayed. | 5424 | ;; Check whether the article is displayed. |
| 5425 | (unless (and (gnus-buffer-live-p gnus-article-buffer) | 5425 | (unless (and (gnus-buffer-live-p gnus-article-buffer) |
diff --git a/lisp/gnus/gnus-diary.el b/lisp/gnus/gnus-diary.el index 0b5a7ebf1f9..9f86e74bd99 100644 --- a/lisp/gnus/gnus-diary.el +++ b/lisp/gnus/gnus-diary.el | |||
| @@ -157,7 +157,7 @@ There are currently two built-in format functions: | |||
| 157 | ;; I just ignore it. | 157 | ;; I just ignore it. |
| 158 | ;;;###autoload | 158 | ;;;###autoload |
| 159 | (defun gnus-user-format-function-d (header) | 159 | (defun gnus-user-format-function-d (header) |
| 160 | ;; Returns an aproximative delay string for the next occurrence of this | 160 | ;; Return an approximate delay string for the next occurrence of this |
| 161 | ;; message. The delay is given only in the first non zero unit. | 161 | ;; message. The delay is given only in the first non zero unit. |
| 162 | ;; Code partly stolen from article-make-date-line | 162 | ;; Code partly stolen from article-make-date-line |
| 163 | (let* ((extras (mail-header-extra header)) | 163 | (let* ((extras (mail-header-extra header)) |
diff --git a/lisp/gnus/gnus-dired.el b/lisp/gnus/gnus-dired.el index c38b0cd3606..b4d23ff579c 100644 --- a/lisp/gnus/gnus-dired.el +++ b/lisp/gnus/gnus-dired.el | |||
| @@ -251,7 +251,7 @@ file to save in." | |||
| 251 | (if (eq gnus-dired-mail-mode 'gnus-user-agent) | 251 | (if (eq gnus-dired-mail-mode 'gnus-user-agent) |
| 252 | (gnus-print-buffer) | 252 | (gnus-print-buffer) |
| 253 | ;; FIXME: | 253 | ;; FIXME: |
| 254 | (error "MIME print only implemeted via Gnus"))) | 254 | (error "MIME print only implemented via Gnus"))) |
| 255 | (ps-despool print-to)))) | 255 | (ps-despool print-to)))) |
| 256 | ((file-symlink-p file-name) | 256 | ((file-symlink-p file-name) |
| 257 | (error "File is a symlink to a nonexistent target")) | 257 | (error "File is a symlink to a nonexistent target")) |
diff --git a/lisp/gnus/gnus-srvr.el b/lisp/gnus/gnus-srvr.el index ec98b2ff749..2d8587ace3f 100644 --- a/lisp/gnus/gnus-srvr.el +++ b/lisp/gnus/gnus-srvr.el | |||
| @@ -553,7 +553,7 @@ The following commands are available: | |||
| 553 | (gnus-server-list-servers)) | 553 | (gnus-server-list-servers)) |
| 554 | 554 | ||
| 555 | (defun gnus-server-copy-server (from to) | 555 | (defun gnus-server-copy-server (from to) |
| 556 | "Copy a server definiton to a new name." | 556 | "Copy a server definition to a new name." |
| 557 | (interactive | 557 | (interactive |
| 558 | (list | 558 | (list |
| 559 | (or (gnus-server-server-name) | 559 | (or (gnus-server-server-name) |
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index 7c63d5e2653..b18b78df063 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el | |||
| @@ -1678,7 +1678,7 @@ If SCAN, request a scan of that group as well." | |||
| 1678 | 1678 | ||
| 1679 | ;; Sort the methods based so that the primary and secondary | 1679 | ;; Sort the methods based so that the primary and secondary |
| 1680 | ;; methods come first. This is done for legacy reasons to try to | 1680 | ;; methods come first. This is done for legacy reasons to try to |
| 1681 | ;; ensure that side-effect behaviour doesn't change from previous | 1681 | ;; ensure that side-effect behavior doesn't change from previous |
| 1682 | ;; Gnus versions. | 1682 | ;; Gnus versions. |
| 1683 | (setq type-cache | 1683 | (setq type-cache |
| 1684 | (sort (nreverse type-cache) | 1684 | (sort (nreverse type-cache) |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 6ffc5d9e821..5380595eadb 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -364,7 +364,7 @@ newsgroups, set the variable to nil in `gnus-select-group-hook'." | |||
| 364 | This variable can either be the symbols `first' (place point on the | 364 | This variable can either be the symbols `first' (place point on the |
| 365 | first subject), `unread' (place point on the subject line of the first | 365 | first subject), `unread' (place point on the subject line of the first |
| 366 | unread article), `best' (place point on the subject line of the | 366 | unread article), `best' (place point on the subject line of the |
| 367 | higest-scored article), `unseen' (place point on the subject line of | 367 | highest-scored article), `unseen' (place point on the subject line of |
| 368 | the first unseen article), `unseen-or-unread' (place point on the subject | 368 | the first unseen article), `unseen-or-unread' (place point on the subject |
| 369 | line of the first unseen article or, if all articles have been seen, on the | 369 | line of the first unseen article or, if all articles have been seen, on the |
| 370 | subject line of the first unread article), or a function to be called to | 370 | subject line of the first unread article), or a function to be called to |
| @@ -2529,7 +2529,7 @@ gnus-summary-show-article-from-menu-as-charset-%s" cs)))) | |||
| 2529 | ["Unshar and save" gnus-uu-decode-unshar-and-save t] | 2529 | ["Unshar and save" gnus-uu-decode-unshar-and-save t] |
| 2530 | ["Save" gnus-uu-decode-save t] | 2530 | ["Save" gnus-uu-decode-save t] |
| 2531 | ["Binhex" gnus-uu-decode-binhex t] | 2531 | ["Binhex" gnus-uu-decode-binhex t] |
| 2532 | ["Postscript" gnus-uu-decode-postscript t] | 2532 | ["PostScript" gnus-uu-decode-postscript t] |
| 2533 | ["All MIME parts" gnus-summary-save-parts t]) | 2533 | ["All MIME parts" gnus-summary-save-parts t]) |
| 2534 | ("Cache" | 2534 | ("Cache" |
| 2535 | ["Enter article" gnus-cache-enter-article t] | 2535 | ["Enter article" gnus-cache-enter-article t] |
diff --git a/lisp/gnus/gnus-topic.el b/lisp/gnus/gnus-topic.el index f1a2ed43e26..17af1a38333 100644 --- a/lisp/gnus/gnus-topic.el +++ b/lisp/gnus/gnus-topic.el | |||
| @@ -430,7 +430,7 @@ inheritance." | |||
| 430 | regexp list-topic topic-level) | 430 | regexp list-topic topic-level) |
| 431 | "List all newsgroups with unread articles of level LEVEL or lower. | 431 | "List all newsgroups with unread articles of level LEVEL or lower. |
| 432 | Use the `gnus-group-topics' to sort the groups. | 432 | Use the `gnus-group-topics' to sort the groups. |
| 433 | If PREDICTE is a function, list groups that the function returns non-nil; | 433 | If PREDICATE is a function, list groups that the function returns non-nil; |
| 434 | if it is t, list groups that have no unread articles. | 434 | if it is t, list groups that have no unread articles. |
| 435 | If LOWEST is non-nil, list all newsgroups of level LOWEST or higher." | 435 | If LOWEST is non-nil, list all newsgroups of level LOWEST or higher." |
| 436 | (set-buffer gnus-group-buffer) | 436 | (set-buffer gnus-group-buffer) |
diff --git a/lisp/gnus/gnus-uu.el b/lisp/gnus/gnus-uu.el index 15c3d41bece..50a33809946 100644 --- a/lisp/gnus/gnus-uu.el +++ b/lisp/gnus/gnus-uu.el | |||
| @@ -41,7 +41,7 @@ | |||
| 41 | :group 'gnus) | 41 | :group 'gnus) |
| 42 | 42 | ||
| 43 | (defgroup gnus-extract-view nil | 43 | (defgroup gnus-extract-view nil |
| 44 | "Viewwing extracted files." | 44 | "Viewing extracted files." |
| 45 | :group 'gnus-extract) | 45 | :group 'gnus-extract) |
| 46 | 46 | ||
| 47 | (defgroup gnus-extract-archive nil | 47 | (defgroup gnus-extract-archive nil |
| @@ -727,7 +727,7 @@ When called interactively, prompt for REGEXP." | |||
| 727 | ;; All PostScript functions written by Erik Selberg <speed@cs.washington.edu>. | 727 | ;; All PostScript functions written by Erik Selberg <speed@cs.washington.edu>. |
| 728 | 728 | ||
| 729 | (defun gnus-uu-decode-postscript (&optional n) | 729 | (defun gnus-uu-decode-postscript (&optional n) |
| 730 | "Gets postscript of the current article." | 730 | "Gets PostScript of the current article." |
| 731 | (interactive "P") | 731 | (interactive "P") |
| 732 | (gnus-uu-decode-with-method 'gnus-uu-decode-postscript-article n)) | 732 | (gnus-uu-decode-with-method 'gnus-uu-decode-postscript-article n)) |
| 733 | 733 | ||
| @@ -738,7 +738,7 @@ When called interactively, prompt for REGEXP." | |||
| 738 | (gnus-uu-decode-postscript n))) | 738 | (gnus-uu-decode-postscript n))) |
| 739 | 739 | ||
| 740 | (defun gnus-uu-decode-postscript-and-save (n dir) | 740 | (defun gnus-uu-decode-postscript-and-save (n dir) |
| 741 | "Extracts postscript and saves the current article." | 741 | "Extracts PostScript and saves the current article." |
| 742 | (interactive | 742 | (interactive |
| 743 | (list current-prefix-arg | 743 | (list current-prefix-arg |
| 744 | (file-name-as-directory | 744 | (file-name-as-directory |
diff --git a/lisp/gnus/gnus-win.el b/lisp/gnus/gnus-win.el index a1a8abc3086..ecd5b3b525b 100644 --- a/lisp/gnus/gnus-win.el +++ b/lisp/gnus/gnus-win.el | |||
| @@ -54,7 +54,7 @@ | |||
| 54 | :type 'boolean) | 54 | :type 'boolean) |
| 55 | 55 | ||
| 56 | (defcustom gnus-use-frames-on-any-display nil | 56 | (defcustom gnus-use-frames-on-any-display nil |
| 57 | "*If non-nil, frames on all displays will be considered useable by Gnus. | 57 | "*If non-nil, frames on all displays will be considered usable by Gnus. |
| 58 | When nil, only frames on the same display as the selected frame will be | 58 | When nil, only frames on the same display as the selected frame will be |
| 59 | used to display Gnus windows." | 59 | used to display Gnus windows." |
| 60 | :version "22.1" | 60 | :version "22.1" |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 924d974eb3c..5f385ec1054 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -3582,7 +3582,7 @@ that that variable is buffer-local to the summary buffers." | |||
| 3582 | (equal (nth 1 m1) (nth 1 m2))))))) | 3582 | (equal (nth 1 m1) (nth 1 m2))))))) |
| 3583 | 3583 | ||
| 3584 | (defsubst gnus-sloppily-equal-method-parameters (m1 m2) | 3584 | (defsubst gnus-sloppily-equal-method-parameters (m1 m2) |
| 3585 | ;; Check parameters for sloppy equalness. | 3585 | ;; Check parameters for sloppy equality. |
| 3586 | (let ((p1 (copy-sequence (cddr m1))) | 3586 | (let ((p1 (copy-sequence (cddr m1))) |
| 3587 | (p2 (copy-sequence (cddr m2))) | 3587 | (p2 (copy-sequence (cddr m2))) |
| 3588 | e1 e2) | 3588 | e1 e2) |
diff --git a/lisp/gnus/html2text.el b/lisp/gnus/html2text.el index 8cfd9b9f903..dade86ab174 100644 --- a/lisp/gnus/html2text.el +++ b/lisp/gnus/html2text.el | |||
| @@ -123,7 +123,7 @@ If this list contains the element \"font\".") | |||
| 123 | This is an alist where each dotted pair consists of a tag, and then | 123 | This is an alist where each dotted pair consists of a tag, and then |
| 124 | the name of a function to be called when this tag is found. The | 124 | the name of a function to be called when this tag is found. The |
| 125 | function is called with the arguments p1, p2, p3 and p4. These are | 125 | function is called with the arguments p1, p2, p3 and p4. These are |
| 126 | demontrated below: | 126 | demonstrated below: |
| 127 | 127 | ||
| 128 | \"<b> This is bold text </b>\" | 128 | \"<b> This is bold text </b>\" |
| 129 | ^ ^ ^ ^ | 129 | ^ ^ ^ ^ |
| @@ -410,7 +410,7 @@ fashion, quite close to pure guess-work. It does work in some cases though." | |||
| 410 | (while (re-search-forward "^<br>$" nil t) | 410 | (while (re-search-forward "^<br>$" nil t) |
| 411 | (delete-region (match-beginning 0) (match-end 0))) | 411 | (delete-region (match-beginning 0) (match-end 0))) |
| 412 | ;; Removing lonely <br> on a single line, if they are left intact we | 412 | ;; Removing lonely <br> on a single line, if they are left intact we |
| 413 | ;; dont have any paragraphs at all. | 413 | ;; don't have any paragraphs at all. |
| 414 | (goto-char (point-min)) | 414 | (goto-char (point-min)) |
| 415 | (while (not (eobp)) | 415 | (while (not (eobp)) |
| 416 | (let ((p1 (point))) | 416 | (let ((p1 (point))) |
diff --git a/lisp/gnus/mail-parse.el b/lisp/gnus/mail-parse.el index 06aac776486..0fcc206cf71 100644 --- a/lisp/gnus/mail-parse.el +++ b/lisp/gnus/mail-parse.el | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | 22 | ||
| 23 | ;; This file contains wrapper functions for a wide range of mail | 23 | ;; This file contains wrapper functions for a wide range of mail |
| 24 | ;; parsing functions. The idea is that there are low-level libraries | 24 | ;; parsing functions. The idea is that there are low-level libraries |
| 25 | ;; that impement according to various specs (RFC2231, DRUMS, USEFOR), | 25 | ;; that implement according to various specs (RFC2231, DRUMS, USEFOR), |
| 26 | ;; but that programmers that want to parse some header (say, | 26 | ;; but that programmers that want to parse some header (say, |
| 27 | ;; Content-Type) will want to use the latest spec. | 27 | ;; Content-Type) will want to use the latest spec. |
| 28 | ;; | 28 | ;; |
diff --git a/lisp/gnus/mailcap.el b/lisp/gnus/mailcap.el index 7959104d646..cbfa05bb87d 100644 --- a/lisp/gnus/mailcap.el +++ b/lisp/gnus/mailcap.el | |||
| @@ -82,7 +82,7 @@ This is a compatibility function for different Emacsen." | |||
| 82 | (list lpr-switches) | 82 | (list lpr-switches) |
| 83 | lpr-switches))) | 83 | lpr-switches))) |
| 84 | " ") | 84 | " ") |
| 85 | "Shell command (including switches) used to print Postscript files.") | 85 | "Shell command (including switches) used to print PostScript files.") |
| 86 | 86 | ||
| 87 | ;; Postpone using defcustom for this as it's so big and we essentially | 87 | ;; Postpone using defcustom for this as it's so big and we essentially |
| 88 | ;; have to have two copies of the data around then. Perhaps just | 88 | ;; have to have two copies of the data around then. Perhaps just |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 1d0830afd28..176857633e1 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -2503,7 +2503,7 @@ Return the number of headers removed." | |||
| 2503 | (point-max))) | 2503 | (point-max))) |
| 2504 | (goto-char (point-min))) | 2504 | (goto-char (point-min))) |
| 2505 | 2505 | ||
| 2506 | ;; FIXME: clarify diffference: message-narrow-to-head, | 2506 | ;; FIXME: clarify difference: message-narrow-to-head, |
| 2507 | ;; message-narrow-to-headers-or-head, message-narrow-to-headers | 2507 | ;; message-narrow-to-headers-or-head, message-narrow-to-headers |
| 2508 | (defun message-narrow-to-head () | 2508 | (defun message-narrow-to-head () |
| 2509 | "Narrow the buffer to the head of the message. | 2509 | "Narrow the buffer to the head of the message. |
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index 37ee59e9b4b..36c56e0921b 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el | |||
| @@ -1494,7 +1494,7 @@ be determined." | |||
| 1494 | (or (not image) | 1494 | (or (not image) |
| 1495 | (if (featurep 'xemacs) | 1495 | (if (featurep 'xemacs) |
| 1496 | ;; XEmacs' glyphs can actually tell us about their width, so | 1496 | ;; XEmacs' glyphs can actually tell us about their width, so |
| 1497 | ;; lets be nice and smart about them. | 1497 | ;; let's be nice and smart about them. |
| 1498 | (or mm-inline-large-images | 1498 | (or mm-inline-large-images |
| 1499 | (and (<= (glyph-width image) (window-pixel-width)) | 1499 | (and (<= (glyph-width image) (window-pixel-width)) |
| 1500 | (<= (glyph-height image) (window-pixel-height)))) | 1500 | (<= (glyph-height image) (window-pixel-height)))) |
diff --git a/lisp/gnus/nndiary.el b/lisp/gnus/nndiary.el index db7ac1b44f8..043356ca841 100644 --- a/lisp/gnus/nndiary.el +++ b/lisp/gnus/nndiary.el | |||
| @@ -55,7 +55,7 @@ | |||
| 55 | 55 | ||
| 56 | ;; * nnoo. NNDiary is very similar to nnml. This makes the idea of using nnoo | 56 | ;; * nnoo. NNDiary is very similar to nnml. This makes the idea of using nnoo |
| 57 | ;; (to derive nndiary from nnml) natural. However, my experience with nnoo | 57 | ;; (to derive nndiary from nnml) natural. However, my experience with nnoo |
| 58 | ;; is that for reasonably complex back ends like this one, noo is a burden | 58 | ;; is that for reasonably complex back ends like this one, nnoo is a burden |
| 59 | ;; rather than an help. It's tricky to use, not everything can be inherited, | 59 | ;; rather than an help. It's tricky to use, not everything can be inherited, |
| 60 | ;; what can be inherited and when is not very clear, and you've got to be | 60 | ;; what can be inherited and when is not very clear, and you've got to be |
| 61 | ;; very careful because a little mistake can fuck up your other back ends, | 61 | ;; very careful because a little mistake can fuck up your other back ends, |
| @@ -72,7 +72,7 @@ | |||
| 72 | ;; * nndiary-get-new-mail, nndiary-mail-source and nndiary-split-methods: | 72 | ;; * nndiary-get-new-mail, nndiary-mail-source and nndiary-split-methods: |
| 73 | ;; NNDiary has some experimental parts, in the sense Gnus normally uses only | 73 | ;; NNDiary has some experimental parts, in the sense Gnus normally uses only |
| 74 | ;; one mail back ends for mail retreival and splitting. This back end is | 74 | ;; one mail back ends for mail retreival and splitting. This back end is |
| 75 | ;; also an attempt to make it behave differently. For Gnus developpers: as | 75 | ;; also an attempt to make it behave differently. For Gnus developers: as |
| 76 | ;; you can see if you snarf into the code, that was not a very difficult | 76 | ;; you can see if you snarf into the code, that was not a very difficult |
| 77 | ;; thing to do. Something should be done about the respooling breakage | 77 | ;; thing to do. Something should be done about the respooling breakage |
| 78 | ;; though. | 78 | ;; though. |
| @@ -1320,7 +1320,7 @@ all. This may very well take some time.") | |||
| 1320 | (or minute (setq minute 59)) | 1320 | (or minute (setq minute 59)) |
| 1321 | (or hour (setq hour 23)) | 1321 | (or hour (setq hour 23)) |
| 1322 | ;; I'll just compute all possible values and test them by decreasing | 1322 | ;; I'll just compute all possible values and test them by decreasing |
| 1323 | ;; order until one succeeds. This is probably quide rude, but I got | 1323 | ;; order until one succeeds. This is probably quite rude, but I got |
| 1324 | ;; bored in finding a good algorithm for doing that ;-) | 1324 | ;; bored in finding a good algorithm for doing that ;-) |
| 1325 | ;; ### FIXME: remove identical entries. | 1325 | ;; ### FIXME: remove identical entries. |
| 1326 | (let ((dom-list (nth 2 sched)) | 1326 | (let ((dom-list (nth 2 sched)) |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index cda17ba57c6..b4e6e31fae4 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -1035,7 +1035,7 @@ textual parts.") | |||
| 1035 | ((eq action 'set) "")) | 1035 | ((eq action 'set) "")) |
| 1036 | (mapconcat #'identity flags " "))))))) | 1036 | (mapconcat #'identity flags " "))))))) |
| 1037 | ;; Wait for the last command to complete to avoid later | 1037 | ;; Wait for the last command to complete to avoid later |
| 1038 | ;; syncronisation problems with the stream. | 1038 | ;; synchronization problems with the stream. |
| 1039 | (when sequence | 1039 | (when sequence |
| 1040 | (nnimap-wait-for-response sequence)))))) | 1040 | (nnimap-wait-for-response sequence)))))) |
| 1041 | 1041 | ||
diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el index d83467a1ed5..93e8544b633 100644 --- a/lisp/gnus/nnmail.el +++ b/lisp/gnus/nnmail.el | |||
| @@ -1799,7 +1799,7 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details." | |||
| 1799 | (i 0) | 1799 | (i 0) |
| 1800 | (new 0) | 1800 | (new 0) |
| 1801 | (total 0) | 1801 | (total 0) |
| 1802 | incoming incomings source) | 1802 | source) |
| 1803 | (when (and (nnmail-get-value "%s-get-new-mail" method) | 1803 | (when (and (nnmail-get-value "%s-get-new-mail" method) |
| 1804 | sources) | 1804 | sources) |
| 1805 | (while (setq source (pop sources)) | 1805 | (while (setq source (pop sources)) |
diff --git a/lisp/gnus/nnmairix.el b/lisp/gnus/nnmairix.el index 66ed90be823..4ad9d11f906 100644 --- a/lisp/gnus/nnmairix.el +++ b/lisp/gnus/nnmairix.el | |||
| @@ -204,7 +204,7 @@ | |||
| 204 | (add-hook 'gnus-summary-mode-hook 'nnmairix-summary-mode-hook) | 204 | (add-hook 'gnus-summary-mode-hook 'nnmairix-summary-mode-hook) |
| 205 | 205 | ||
| 206 | ;; ;;;###autoload | 206 | ;; ;;;###autoload |
| 207 | ;; (defun nnmairix-initalize (&optional force) | 207 | ;; (defun nnmairix-initialize (&optional force) |
| 208 | ;; (interactive "P") | 208 | ;; (interactive "P") |
| 209 | ;; (if (not (or (file-readable-p "~/.mairixrc") | 209 | ;; (if (not (or (file-readable-p "~/.mairixrc") |
| 210 | ;; force)) | 210 | ;; force)) |
| @@ -333,7 +333,7 @@ can happen are wrong marks in nnmairix groups." | |||
| 333 | "Use only the registry for determining original group(s). | 333 | "Use only the registry for determining original group(s). |
| 334 | If set to t, nnmairix will only use the registry for determining | 334 | If set to t, nnmairix will only use the registry for determining |
| 335 | the original group(s) of an article (which is also necessary for | 335 | the original group(s) of an article (which is also necessary for |
| 336 | propapagting marks). If set to nil, it will also try to determine | 336 | propagating marks). If set to nil, it will also try to determine |
| 337 | the group from an additional mairix search which might be slow | 337 | the group from an additional mairix search which might be slow |
| 338 | when propagating lots of marks." | 338 | when propagating lots of marks." |
| 339 | :version "23.1" | 339 | :version "23.1" |
| @@ -512,7 +512,7 @@ Other back ends might or might not work.") | |||
| 512 | ;; Everything else is an error | 512 | ;; Everything else is an error |
| 513 | (t | 513 | (t |
| 514 | (nnheader-report | 514 | (nnheader-report |
| 515 | 'nnmairix "Error running marix. See buffer %s for details" | 515 | 'nnmairix "Error running mairix. See buffer %s for details" |
| 516 | nnmairix-mairix-output-buffer) | 516 | nnmairix-mairix-output-buffer) |
| 517 | nil)))))) | 517 | nil)))))) |
| 518 | 518 | ||
| @@ -1634,7 +1634,7 @@ search in raw mode." | |||
| 1634 | (nnheader-message 3 "Couldn't find original article")))) | 1634 | (nnheader-message 3 "Couldn't find original article")))) |
| 1635 | 1635 | ||
| 1636 | (defun nnmairix-determine-original-group-from-registry (mid) | 1636 | (defun nnmairix-determine-original-group-from-registry (mid) |
| 1637 | "Try to determinale original group for message-id MID from the registry." | 1637 | "Try to determine original group for message-id MID from the registry." |
| 1638 | (when (gnus-bound-and-true-p 'gnus-registry-enabled) | 1638 | (when (gnus-bound-and-true-p 'gnus-registry-enabled) |
| 1639 | (unless (string-match "^<" mid) | 1639 | (unless (string-match "^<" mid) |
| 1640 | (set mid (concat "<" mid))) | 1640 | (set mid (concat "<" mid))) |
diff --git a/lisp/gnus/registry.el b/lisp/gnus/registry.el index 8e158f7ca0f..5fd309a5c7d 100644 --- a/lisp/gnus/registry.el +++ b/lisp/gnus/registry.el | |||
| @@ -149,7 +149,7 @@ | |||
| 149 | 149 | ||
| 150 | (defmethod registry-lookup ((db registry-db) keys) | 150 | (defmethod registry-lookup ((db registry-db) keys) |
| 151 | "Search for KEYS in the registry-db THIS. | 151 | "Search for KEYS in the registry-db THIS. |
| 152 | Returns a alist of the key followed by the entry in a list, not a cons cell." | 152 | Returns an alist of the key followed by the entry in a list, not a cons cell." |
| 153 | (let ((data (oref db :data))) | 153 | (let ((data (oref db :data))) |
| 154 | (delq nil | 154 | (delq nil |
| 155 | (mapcar | 155 | (mapcar |
| @@ -160,7 +160,7 @@ Returns a alist of the key followed by the entry in a list, not a cons cell." | |||
| 160 | 160 | ||
| 161 | (defmethod registry-lookup-breaks-before-lexbind ((db registry-db) keys) | 161 | (defmethod registry-lookup-breaks-before-lexbind ((db registry-db) keys) |
| 162 | "Search for KEYS in the registry-db THIS. | 162 | "Search for KEYS in the registry-db THIS. |
| 163 | Returns a alist of the key followed by the entry in a list, not a cons cell." | 163 | Returns an alist of the key followed by the entry in a list, not a cons cell." |
| 164 | (let ((data (oref db :data))) | 164 | (let ((data (oref db :data))) |
| 165 | (delq nil | 165 | (delq nil |
| 166 | (loop for key in keys | 166 | (loop for key in keys |
diff --git a/lisp/gnus/rfc2047.el b/lisp/gnus/rfc2047.el index e82192b91d6..feed078034c 100644 --- a/lisp/gnus/rfc2047.el +++ b/lisp/gnus/rfc2047.el | |||
| @@ -285,11 +285,11 @@ Should be called narrowed to the head of the message." | |||
| 285 | mail-parse-charset) | 285 | mail-parse-charset) |
| 286 | (mm-encode-coding-region (point) (point-max) | 286 | (mm-encode-coding-region (point) (point-max) |
| 287 | mail-parse-charset))) | 287 | mail-parse-charset))) |
| 288 | ;; We get this when CC'ing messsages to newsgroups with | 288 | ;; We get this when CC'ing messages to newsgroups with |
| 289 | ;; 8-bit names. The group name mail copy just got | 289 | ;; 8-bit names. The group name mail copy just got |
| 290 | ;; unconditionally encoded. Previously, it would ask | 290 | ;; unconditionally encoded. Previously, it would ask |
| 291 | ;; whether to encode, which was quite confusing for the | 291 | ;; whether to encode, which was quite confusing for the |
| 292 | ;; user. If the new behavior is wrong, tell me. I have | 292 | ;; user. If the new behavior is wrong, tell me. I have |
| 293 | ;; left the old code commented out below. | 293 | ;; left the old code commented out below. |
| 294 | ;; -- Per Abrahamsen <abraham@dina.kvl.dk> Date: 2001-10-07. | 294 | ;; -- Per Abrahamsen <abraham@dina.kvl.dk> Date: 2001-10-07. |
| 295 | ;; Modified by Dave Love, with the commented-out code changed | 295 | ;; Modified by Dave Love, with the commented-out code changed |
diff --git a/lisp/gnus/shr-color.el b/lisp/gnus/shr-color.el index 36dd65f4a2d..4fd35659e08 100644 --- a/lisp/gnus/shr-color.el +++ b/lisp/gnus/shr-color.el | |||
| @@ -41,7 +41,7 @@ Must be between 0 and 100." | |||
| 41 | 41 | ||
| 42 | (defcustom shr-color-visible-distance-min 5 | 42 | (defcustom shr-color-visible-distance-min 5 |
| 43 | "Minimum color distance between two colors to be considered visible. | 43 | "Minimum color distance between two colors to be considered visible. |
| 44 | This value is used to compare result for `ciede2000'. Its an | 44 | This value is used to compare result for `ciede2000'. It's an |
| 45 | absolute value without any unit." | 45 | absolute value without any unit." |
| 46 | :group 'shr | 46 | :group 'shr |
| 47 | :type 'integer) | 47 | :type 'integer) |
| @@ -198,7 +198,8 @@ absolute value without any unit." | |||
| 198 | Each entry should have the form (COLOR-NAME . HEXADECIMAL-COLOR).") | 198 | Each entry should have the form (COLOR-NAME . HEXADECIMAL-COLOR).") |
| 199 | 199 | ||
| 200 | (defun shr-color-relative-to-absolute (number) | 200 | (defun shr-color-relative-to-absolute (number) |
| 201 | "Convert a relative NUMBER to absolute. If NUMBER is absolute, return NUMBER. | 201 | "Convert a relative NUMBER to absolute. |
| 202 | If NUMBER is absolute, return NUMBER. | ||
| 202 | This will convert \"80 %\" to 204, \"100 %\" to 255 but \"123\" to \"123\"." | 203 | This will convert \"80 %\" to 204, \"100 %\" to 255 but \"123\" to \"123\"." |
| 203 | (let ((string-length (- (length number) 1))) | 204 | (let ((string-length (- (length number) 1))) |
| 204 | ;; Is this a number with %? | 205 | ;; Is this a number with %? |
| @@ -269,7 +270,7 @@ Like rgb() or hsl()." | |||
| 269 | (defun set-minimum-interval (val1 val2 min max interval &optional fixed) | 270 | (defun set-minimum-interval (val1 val2 min max interval &optional fixed) |
| 270 | "Set minimum interval between VAL1 and VAL2 to INTERVAL. | 271 | "Set minimum interval between VAL1 and VAL2 to INTERVAL. |
| 271 | The values are bound by MIN and MAX. | 272 | The values are bound by MIN and MAX. |
| 272 | If FIXED is t, then val1 will not be touched." | 273 | If FIXED is t, then VAL1 will not be touched." |
| 273 | (let ((diff (abs (- val1 val2)))) | 274 | (let ((diff (abs (- val1 val2)))) |
| 274 | (unless (>= diff interval) | 275 | (unless (>= diff interval) |
| 275 | (if fixed | 276 | (if fixed |
| @@ -319,10 +320,10 @@ If FIXED is t, then val1 will not be touched." | |||
| 319 | 320 | ||
| 320 | (defun shr-color-visible (bg fg &optional fixed-background) | 321 | (defun shr-color-visible (bg fg &optional fixed-background) |
| 321 | "Check that BG and FG colors are visible if they are drawn on each other. | 322 | "Check that BG and FG colors are visible if they are drawn on each other. |
| 322 | Return (bg fg) if they are. If they are too similar, two new | 323 | Return (bg fg) if they are. If they are too similar, two new |
| 323 | colors are returned instead. | 324 | colors are returned instead. |
| 324 | If FIXED-BACKGROUND is set, and if the color are not visible, a | 325 | If FIXED-BACKGROUND is set, and if the color are not visible, a |
| 325 | new background color will not be computed. Only the foreground | 326 | new background color will not be computed. Only the foreground |
| 326 | color will be adapted to be visible on BG." | 327 | color will be adapted to be visible on BG." |
| 327 | ;; Convert fg and bg to CIE Lab | 328 | ;; Convert fg and bg to CIE Lab |
| 328 | (let ((fg-norm (color-name-to-rgb fg)) | 329 | (let ((fg-norm (color-name-to-rgb fg)) |
| @@ -334,7 +335,7 @@ color will be adapted to be visible on BG." | |||
| 334 | (bg-lab (apply 'color-srgb-to-lab bg-norm)) | 335 | (bg-lab (apply 'color-srgb-to-lab bg-norm)) |
| 335 | ;; Compute color distance using CIE DE 2000 | 336 | ;; Compute color distance using CIE DE 2000 |
| 336 | (fg-bg-distance (color-cie-de2000 fg-lab bg-lab)) | 337 | (fg-bg-distance (color-cie-de2000 fg-lab bg-lab)) |
| 337 | ;; Compute luminance distance (substract L component) | 338 | ;; Compute luminance distance (subtract L component) |
| 338 | (luminance-distance (abs (- (car fg-lab) (car bg-lab))))) | 339 | (luminance-distance (abs (- (car fg-lab) (car bg-lab))))) |
| 339 | (if (and (>= fg-bg-distance shr-color-visible-distance-min) | 340 | (if (and (>= fg-bg-distance shr-color-visible-distance-min) |
| 340 | (>= luminance-distance shr-color-visible-luminance-min)) | 341 | (>= luminance-distance shr-color-visible-luminance-min)) |
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index 7b9af3302af..e8db24c3561 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el | |||
| @@ -53,17 +53,17 @@ fit these criteria." | |||
| 53 | :group 'shr | 53 | :group 'shr |
| 54 | :type 'regexp) | 54 | :type 'regexp) |
| 55 | 55 | ||
| 56 | (defcustom shr-table-horizontal-line ? | 56 | (defcustom shr-table-horizontal-line ? |
| 57 | "Character used to draw horizontal table lines." | 57 | "Character used to draw horizontal table lines." |
| 58 | :group 'shr | 58 | :group 'shr |
| 59 | :type 'character) | 59 | :type 'character) |
| 60 | 60 | ||
| 61 | (defcustom shr-table-vertical-line ? | 61 | (defcustom shr-table-vertical-line ? |
| 62 | "Character used to draw vertical table lines." | 62 | "Character used to draw vertical table lines." |
| 63 | :group 'shr | 63 | :group 'shr |
| 64 | :type 'character) | 64 | :type 'character) |
| 65 | 65 | ||
| 66 | (defcustom shr-table-corner ? | 66 | (defcustom shr-table-corner ? |
| 67 | "Character used to draw table corners." | 67 | "Character used to draw table corners." |
| 68 | :group 'shr | 68 | :group 'shr |
| 69 | :type 'character) | 69 | :type 'character) |
| @@ -583,7 +583,7 @@ Return a string with image data." | |||
| 583 | "Return a function to display an image. | 583 | "Return a function to display an image. |
| 584 | CONTENT-FUNCTION is a function to retrieve an image for a cid url that | 584 | CONTENT-FUNCTION is a function to retrieve an image for a cid url that |
| 585 | is an argument. The function to be returned takes three arguments URL, | 585 | is an argument. The function to be returned takes three arguments URL, |
| 586 | START, and END. Note that START and END should be merkers." | 586 | START, and END. Note that START and END should be markers." |
| 587 | `(lambda (url start end) | 587 | `(lambda (url start end) |
| 588 | (when url | 588 | (when url |
| 589 | (if (string-match "\\`cid:" url) | 589 | (if (string-match "\\`cid:" url) |
diff --git a/lisp/gnus/sieve-manage.el b/lisp/gnus/sieve-manage.el index 5c2e775a211..a0c1d4f108b 100644 --- a/lisp/gnus/sieve-manage.el +++ b/lisp/gnus/sieve-manage.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; sieve-manage.el --- Implementation of the managesive protocol in elisp | 1 | ;;; sieve-manage.el --- Implementation of the managesieve protocol in elisp |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2001-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2001-2011 Free Software Foundation, Inc. |
| 4 | 4 | ||
diff --git a/lisp/gnus/sieve.el b/lisp/gnus/sieve.el index 2111d34eac5..a44a03b6913 100644 --- a/lisp/gnus/sieve.el +++ b/lisp/gnus/sieve.el | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | 21 | ||
| 22 | ;;; Commentary: | 22 | ;;; Commentary: |
| 23 | 23 | ||
| 24 | ;; This file contain utilities to facilate upload, download and | 24 | ;; This file contain utilities to facilitate upload, download and |
| 25 | ;; general management of sieve scripts. Currently only the | 25 | ;; general management of sieve scripts. Currently only the |
| 26 | ;; Managesieve protocol is supported (using sieve-manage.el), but when | 26 | ;; Managesieve protocol is supported (using sieve-manage.el), but when |
| 27 | ;; (useful) alternatives become available, they might be supported as | 27 | ;; (useful) alternatives become available, they might be supported as |
diff --git a/lisp/gnus/smime.el b/lisp/gnus/smime.el index f0951b7b803..128bda6f516 100644 --- a/lisp/gnus/smime.el +++ b/lisp/gnus/smime.el | |||
| @@ -588,7 +588,7 @@ A string or a list of strings is returned." | |||
| 588 | (filter &optional host attributes attrsonly withdn)) | 588 | (filter &optional host attributes attrsonly withdn)) |
| 589 | 589 | ||
| 590 | (defun smime-cert-by-ldap-1 (mail host) | 590 | (defun smime-cert-by-ldap-1 (mail host) |
| 591 | "Get cetificate for MAIL from the ldap server at HOST." | 591 | "Get certificate for MAIL from the ldap server at HOST." |
| 592 | (let ((ldapresult | 592 | (let ((ldapresult |
| 593 | (funcall | 593 | (funcall |
| 594 | (if (featurep 'xemacs) | 594 | (if (featurep 'xemacs) |
diff --git a/lisp/gnus/spam-report.el b/lisp/gnus/spam-report.el index 95b5fb578f4..6c94dbdd2c4 100644 --- a/lisp/gnus/spam-report.el +++ b/lisp/gnus/spam-report.el | |||
| @@ -102,7 +102,7 @@ Reports is as ham when HAM is set." | |||
| 102 | (customize-set-variable | 102 | (customize-set-variable |
| 103 | spam-report-resend-to | 103 | spam-report-resend-to |
| 104 | (read-from-minibuffer "email address to resend SPAM/HAM to? "))) | 104 | (read-from-minibuffer "email address to resend SPAM/HAM to? "))) |
| 105 | ;; This is ganked from the `gnus-summary-resend-message' function. | 105 | ;; This is yanked from the `gnus-summary-resend-message' function. |
| 106 | ;; It involves rendering the SPAM, which is undesirable, but there does | 106 | ;; It involves rendering the SPAM, which is undesirable, but there does |
| 107 | ;; not seem to be a nicer way to achieve this. | 107 | ;; not seem to be a nicer way to achieve this. |
| 108 | ;; select this particular article | 108 | ;; select this particular article |
diff --git a/lisp/gnus/spam.el b/lisp/gnus/spam.el index fa152f688c4..869dbc9bc0e 100644 --- a/lisp/gnus/spam.el +++ b/lisp/gnus/spam.el | |||
| @@ -156,7 +156,7 @@ last rule in your split configuration." | |||
| 156 | :group 'spam) | 156 | :group 'spam) |
| 157 | 157 | ||
| 158 | (defcustom spam-autodetect-recheck-messages nil | 158 | (defcustom spam-autodetect-recheck-messages nil |
| 159 | "Should spam.el recheck all meessages when autodetecting? | 159 | "Should spam.el recheck all messages when autodetecting? |
| 160 | Normally this is nil, so only unseen messages will be checked." | 160 | Normally this is nil, so only unseen messages will be checked." |
| 161 | :type 'boolean | 161 | :type 'boolean |
| 162 | :group 'spam) | 162 | :group 'spam) |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 5e034b14fde..efdc237d11f 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -256,7 +256,7 @@ if the variable `help-downcase-arguments' is non-nil." | |||
| 256 | ;; so let's skip over it | 256 | ;; so let's skip over it |
| 257 | (search-backward "(") | 257 | (search-backward "(") |
| 258 | (goto-char (scan-sexps (point) 1))))) | 258 | (goto-char (scan-sexps (point) 1))))) |
| 259 | ;; Highlight aguments in the USAGE string | 259 | ;; Highlight arguments in the USAGE string |
| 260 | (setq usage (help-do-arg-highlight (buffer-string) args)) | 260 | (setq usage (help-do-arg-highlight (buffer-string) args)) |
| 261 | ;; Highlight arguments in the DOC string | 261 | ;; Highlight arguments in the DOC string |
| 262 | (setq doc (and doc (help-do-arg-highlight doc args)))))) | 262 | (setq doc (and doc (help-do-arg-highlight doc args)))))) |
diff --git a/lisp/help-mode.el b/lisp/help-mode.el index 5d67a6c4f4c..5906683071b 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el | |||
| @@ -141,7 +141,7 @@ The format is (FUNCTION ARGS...).") | |||
| 141 | 'help-function 'describe-character-set | 141 | 'help-function 'describe-character-set |
| 142 | 'help-echo (purecopy "mouse-2, RET: describe this character set")) | 142 | 'help-echo (purecopy "mouse-2, RET: describe this character set")) |
| 143 | 143 | ||
| 144 | ;; make some more ideosyncratic button types | 144 | ;; Make some more idiosyncratic button types. |
| 145 | 145 | ||
| 146 | (define-button-type 'help-symbol | 146 | (define-button-type 'help-symbol |
| 147 | :supertype 'help-xref | 147 | :supertype 'help-xref |
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el index 46db4280688..0dee4157d78 100644 --- a/lisp/hilit-chg.el +++ b/lisp/hilit-chg.el | |||
| @@ -480,7 +480,7 @@ This is the opposite of `hilit-chg-hide-changes'." | |||
| 480 | (defun hilit-chg-make-ov (prop start end) | 480 | (defun hilit-chg-make-ov (prop start end) |
| 481 | (or prop | 481 | (or prop |
| 482 | (error "hilit-chg-make-ov: prop is nil")) | 482 | (error "hilit-chg-make-ov: prop is nil")) |
| 483 | ;; For the region create overlays with a distincive face | 483 | ;; For the region create overlays with a distinctive face |
| 484 | ;; and the text property 'hilit-chg. | 484 | ;; and the text property 'hilit-chg. |
| 485 | (let ((ov (make-overlay start end)) | 485 | (let ((ov (make-overlay start end)) |
| 486 | (face (if (eq prop 'hilit-chg-delete) | 486 | (face (if (eq prop 'hilit-chg-delete) |
diff --git a/lisp/hippie-exp.el b/lisp/hippie-exp.el index 75bc1f9743c..69da8fc6110 100644 --- a/lisp/hippie-exp.el +++ b/lisp/hippie-exp.el | |||
| @@ -391,7 +391,7 @@ undoes the expansion." | |||
| 391 | lst))) | 391 | lst))) |
| 392 | 392 | ||
| 393 | ;; Check if current buffer matches any atom or regexp in LST. | 393 | ;; Check if current buffer matches any atom or regexp in LST. |
| 394 | ;; Atoms are interpreted as major modes, strings as regexps mathing the name. | 394 | ;; Atoms are interpreted as major modes, strings as regexps matching the name. |
| 395 | (defun he-buffer-member (lst) | 395 | (defun he-buffer-member (lst) |
| 396 | (or (memq major-mode lst) | 396 | (or (memq major-mode lst) |
| 397 | (progn | 397 | (progn |
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el index ffef8cdf7b7..056115f57b7 100644 --- a/lisp/htmlfontify.el +++ b/lisp/htmlfontify.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; htmlfontify.el --- htmlise a buffer/source tree with optional hyperlinks | 1 | ;;; htmlfontify.el --- htmlize a buffer/source tree with optional hyperlinks |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2002-2003, 2009-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2002-2003, 2009-2011 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -10,7 +10,7 @@ | |||
| 10 | ;; Author: Vivek Dasmohapatra <vivek@etla.org> | 10 | ;; Author: Vivek Dasmohapatra <vivek@etla.org> |
| 11 | ;; Maintainer: Vivek Dasmohapatra <vivek@etla.org> | 11 | ;; Maintainer: Vivek Dasmohapatra <vivek@etla.org> |
| 12 | ;; Created: 2002-01-05 | 12 | ;; Created: 2002-01-05 |
| 13 | ;; Description: htmlise a buffer/source tree with optional hyperlinks | 13 | ;; Description: htmlize a buffer/source tree with optional hyperlinks |
| 14 | ;; URL: http://rtfm.etla.org/emacs/htmlfontify/ | 14 | ;; URL: http://rtfm.etla.org/emacs/htmlfontify/ |
| 15 | ;; Compatibility: Emacs23, Emacs22 | 15 | ;; Compatibility: Emacs23, Emacs22 |
| 16 | ;; Incompatibility: Emacs19, Emacs20, Emacs21 | 16 | ;; Incompatibility: Emacs19, Emacs20, Emacs21 |
| @@ -360,7 +360,7 @@ commands in `hfy-etags-cmd-alist'." | |||
| 360 | :type '(repeat symbol)) | 360 | :type '(repeat symbol)) |
| 361 | 361 | ||
| 362 | (defun hfy-which-etags () | 362 | (defun hfy-which-etags () |
| 363 | "Return a string indicating which flavour of etags we are using." | 363 | "Return a string indicating which flavor of etags we are using." |
| 364 | (let ((v (shell-command-to-string (concat hfy-etags-bin " --version")))) | 364 | (let ((v (shell-command-to-string (concat hfy-etags-bin " --version")))) |
| 365 | (cond ((string-match "exube" v) "exuberant ctags") | 365 | (cond ((string-match "exube" v) "exuberant ctags") |
| 366 | ((string-match "GNU E" v) "emacs etags" )) )) | 366 | ((string-match "GNU E" v) "emacs etags" )) )) |
| @@ -586,7 +586,7 @@ If a window system is unavailable, calls `hfy-fallback-colour-values'." | |||
| 586 | (defvar hfy-cperl-mode-kludged-p nil) | 586 | (defvar hfy-cperl-mode-kludged-p nil) |
| 587 | 587 | ||
| 588 | (defun hfy-kludge-cperl-mode () | 588 | (defun hfy-kludge-cperl-mode () |
| 589 | "CPerl mode does its damndest not to do some of its fontification when not | 589 | "CPerl mode does its damnedest not to do some of its fontification when not |
| 590 | in a windowing system - try to trick it..." | 590 | in a windowing system - try to trick it..." |
| 591 | (if (not hfy-cperl-mode-kludged-p) | 591 | (if (not hfy-cperl-mode-kludged-p) |
| 592 | (progn (if (not window-system) | 592 | (progn (if (not window-system) |
| @@ -1576,7 +1576,7 @@ FILE, if set, is the file name." | |||
| 1576 | (delete-overlay rovl)) | 1576 | (delete-overlay rovl)) |
| 1577 | (copy-to-buffer html-buffer (point-min) (point-max)) | 1577 | (copy-to-buffer html-buffer (point-min) (point-max)) |
| 1578 | (set-buffer html-buffer) | 1578 | (set-buffer html-buffer) |
| 1579 | ;; rip out props that could interfere with our htmlisation of the buffer: | 1579 | ;; rip out props that could interfere with our htmlization of the buffer: |
| 1580 | (remove-text-properties (point-min) (point-max) hfy-ignored-properties) | 1580 | (remove-text-properties (point-min) (point-max) hfy-ignored-properties) |
| 1581 | ;; Apply overlay invisible spec | 1581 | ;; Apply overlay invisible spec |
| 1582 | (setq orig-ovls | 1582 | (setq orig-ovls |
| @@ -1768,13 +1768,13 @@ hyperlinks as appropriate." | |||
| 1768 | "Return a list of files under DIRECTORY. | 1768 | "Return a list of files under DIRECTORY. |
| 1769 | Strips any leading \"./\" from each filename." | 1769 | Strips any leading \"./\" from each filename." |
| 1770 | ;;(message "hfy-list-files");;DBUG | 1770 | ;;(message "hfy-list-files");;DBUG |
| 1771 | ;; FIXME: this changes the dir of the currrent buffer. Is that right?? | 1771 | ;; FIXME: this changes the dir of the current buffer. Is that right?? |
| 1772 | (cd directory) | 1772 | (cd directory) |
| 1773 | (mapcar (lambda (F) (if (string-match "^./\\(.*\\)" F) (match-string 1 F) F)) | 1773 | (mapcar (lambda (F) (if (string-match "^./\\(.*\\)" F) (match-string 1 F) F)) |
| 1774 | (split-string (shell-command-to-string hfy-find-cmd))) ) | 1774 | (split-string (shell-command-to-string hfy-find-cmd))) ) |
| 1775 | 1775 | ||
| 1776 | ;; strip the filename off, return a directiry name | 1776 | ;; strip the filename off, return a directory name |
| 1777 | ;; not a particularly thorough implementaion, but it will be | 1777 | ;; not a particularly thorough implementation, but it will be |
| 1778 | ;; fed pretty carefully, so it should be Ok: | 1778 | ;; fed pretty carefully, so it should be Ok: |
| 1779 | (defun hfy-dirname (file) | 1779 | (defun hfy-dirname (file) |
| 1780 | "Return everything preceding the last \"/\" from a relative filename FILE, | 1780 | "Return everything preceding the last \"/\" from a relative filename FILE, |
| @@ -2026,13 +2026,13 @@ FILE is the specific file we are rendering." | |||
| 2026 | (hash-entry nil) (tag-string nil) (tag-line nil) | 2026 | (hash-entry nil) (tag-string nil) (tag-line nil) |
| 2027 | (tag-point nil) (new-entry nil) (etags-file nil)) | 2027 | (tag-point nil) (new-entry nil) (etags-file nil)) |
| 2028 | 2028 | ||
| 2029 | ;; (re)initialise the tag reverse map: | 2029 | ;; (re)initialize the tag reverse map: |
| 2030 | (if trmap-cache (setq trmap-hash (cadr trmap-cache)) | 2030 | (if trmap-cache (setq trmap-hash (cadr trmap-cache)) |
| 2031 | (setq trmap-hash (make-hash-table :test 'equal)) | 2031 | (setq trmap-hash (make-hash-table :test 'equal)) |
| 2032 | (setq hfy-tags-rmap (list (list srcdir trmap-hash) hfy-tags-rmap))) | 2032 | (setq hfy-tags-rmap (list (list srcdir trmap-hash) hfy-tags-rmap))) |
| 2033 | (clrhash trmap-hash) | 2033 | (clrhash trmap-hash) |
| 2034 | 2034 | ||
| 2035 | ;; (re)initialise the tag cache: | 2035 | ;; (re)initialize the tag cache: |
| 2036 | (if cache-entry (setq cache-hash (cadr cache-entry)) | 2036 | (if cache-entry (setq cache-hash (cadr cache-entry)) |
| 2037 | (setq cache-hash (make-hash-table :test 'equal)) | 2037 | (setq cache-hash (make-hash-table :test 'equal)) |
| 2038 | (setq hfy-tags-cache (list (list srcdir cache-hash) hfy-tags-cache))) | 2038 | (setq hfy-tags-cache (list (list srcdir cache-hash) hfy-tags-cache))) |
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 17ddddbd17a..3f3b0b7a843 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -2504,7 +2504,7 @@ Other commands: | |||
| 2504 | 2504 | ||
| 2505 | ** Information on Filtering: | 2505 | ** Information on Filtering: |
| 2506 | 2506 | ||
| 2507 | You can filter your ibuffer view via different critera. Each Ibuffer | 2507 | You can filter your ibuffer view via different criteria. Each Ibuffer |
| 2508 | buffer has its own stack of active filters. For example, suppose you | 2508 | buffer has its own stack of active filters. For example, suppose you |
| 2509 | are working on an Emacs Lisp project. You can create an Ibuffer | 2509 | are working on an Emacs Lisp project. You can create an Ibuffer |
| 2510 | buffer displays buffers in just `emacs-lisp' modes via | 2510 | buffer displays buffers in just `emacs-lisp' modes via |
diff --git a/lisp/ido.el b/lisp/ido.el index fda4c0316f7..f425fd5fc63 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -258,7 +258,7 @@ | |||
| 258 | ;; The highlighting of matching items is controlled via ido-use-faces. | 258 | ;; The highlighting of matching items is controlled via ido-use-faces. |
| 259 | ;; The faces used are ido-first-match, ido-only-match and | 259 | ;; The faces used are ido-first-match, ido-only-match and |
| 260 | ;; ido-subdir. | 260 | ;; ido-subdir. |
| 261 | ;; Colouring of the matching item was suggested by | 261 | ;; Coloring of the matching item was suggested by |
| 262 | ;; Carsten Dominik (dominik@strw.leidenuniv.nl). | 262 | ;; Carsten Dominik (dominik@strw.leidenuniv.nl). |
| 263 | 263 | ||
| 264 | ;; Replacement for read-buffer and read-file-name | 264 | ;; Replacement for read-buffer and read-file-name |
| @@ -770,7 +770,7 @@ can be completed using TAB, | |||
| 770 | (defcustom ido-use-virtual-buffers nil | 770 | (defcustom ido-use-virtual-buffers nil |
| 771 | "If non-nil, refer to past buffers as well as existing ones. | 771 | "If non-nil, refer to past buffers as well as existing ones. |
| 772 | Essentially it works as follows: Say you are visiting a file and | 772 | Essentially it works as follows: Say you are visiting a file and |
| 773 | the buffer gets cleaned up by mignight.el. Later, you want to | 773 | the buffer gets cleaned up by midnight.el. Later, you want to |
| 774 | switch to that buffer, but find it's no longer open. With | 774 | switch to that buffer, but find it's no longer open. With |
| 775 | virtual buffers enabled, the buffer name stays in the buffer | 775 | virtual buffers enabled, the buffer name stays in the buffer |
| 776 | list (using the `ido-virtual' face, and always at the end), and if | 776 | list (using the `ido-virtual' face, and always at the end), and if |
| @@ -3152,7 +3152,7 @@ for first matching file." | |||
| 3152 | ;;; CREATE LIST OF ALL CURRENT FILES | 3152 | ;;; CREATE LIST OF ALL CURRENT FILES |
| 3153 | 3153 | ||
| 3154 | (defun ido-all-completions () | 3154 | (defun ido-all-completions () |
| 3155 | ;; Return unsorted list of all competions. | 3155 | ;; Return unsorted list of all completions. |
| 3156 | (let ((ido-process-ignore-lists nil) | 3156 | (let ((ido-process-ignore-lists nil) |
| 3157 | (ido-directory-too-big nil)) | 3157 | (ido-directory-too-big nil)) |
| 3158 | (cond | 3158 | (cond |
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 30223e69ae0..f3e7caab174 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el | |||
| @@ -638,7 +638,7 @@ These properties are determined by the Image mode variables | |||
| 638 | `image-transform-resize' and `image-transform-rotation'. The | 638 | `image-transform-resize' and `image-transform-rotation'. The |
| 639 | return value is suitable for appending to an image spec. | 639 | return value is suitable for appending to an image spec. |
| 640 | 640 | ||
| 641 | Recaling and rotation properties only take effect if Emacs is | 641 | Rescaling and rotation properties only take effect if Emacs is |
| 642 | compiled with ImageMagick support." | 642 | compiled with ImageMagick support." |
| 643 | (when (or image-transform-resize | 643 | (when (or image-transform-resize |
| 644 | (not (equal image-transform-rotation 0.0))) | 644 | (not (equal image-transform-rotation 0.0))) |
diff --git a/lisp/info-xref.el b/lisp/info-xref.el index 41da9d12c99..8a5cca18496 100644 --- a/lisp/info-xref.el +++ b/lisp/info-xref.el | |||
| @@ -313,7 +313,7 @@ should be harmless." | |||
| 313 | (interactive) | 313 | (interactive) |
| 314 | (info-xref-check-list (info-xref-all-info-files))) | 314 | (info-xref-check-list (info-xref-all-info-files))) |
| 315 | 315 | ||
| 316 | ;; An alternative for geting only top-level files here would be to simply | 316 | ;; An alternative for getting only top-level files here would be to simply |
| 317 | ;; return all files and have info-xref-check-list not follow "Indirect:". | 317 | ;; return all files and have info-xref-check-list not follow "Indirect:". |
| 318 | ;; The current way seems better because it (potentially) gets the proper | 318 | ;; The current way seems better because it (potentially) gets the proper |
| 319 | ;; top-level filename into the error messages, and suppresses duplicate "not | 319 | ;; top-level filename into the error messages, and suppresses duplicate "not |
diff --git a/lisp/info.el b/lisp/info.el index b8deb3c9c7f..4f2f33d017c 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -231,6 +231,12 @@ want to set `Info-refill-paragraphs'." | |||
| 231 | (const :tag "Replace tag and hide reference" t) | 231 | (const :tag "Replace tag and hide reference" t) |
| 232 | (const :tag "Hide tag and reference" hide) | 232 | (const :tag "Hide tag and reference" hide) |
| 233 | (other :tag "Only replace tag" tag)) | 233 | (other :tag "Only replace tag" tag)) |
| 234 | :set (lambda (sym val) | ||
| 235 | (set sym val) | ||
| 236 | (dolist (buffer (buffer-list)) | ||
| 237 | (with-current-buffer buffer | ||
| 238 | (when (eq major-mode 'Info-mode) | ||
| 239 | (revert-buffer t t))))) | ||
| 234 | :group 'info) | 240 | :group 'info) |
| 235 | 241 | ||
| 236 | (defcustom Info-refill-paragraphs nil | 242 | (defcustom Info-refill-paragraphs nil |
| @@ -264,7 +270,7 @@ Before leaving the initial Info node, where isearch was started, | |||
| 264 | it fails once with the error message [initial node], and with | 270 | it fails once with the error message [initial node], and with |
| 265 | subsequent C-s/C-r continues through other nodes without failing | 271 | subsequent C-s/C-r continues through other nodes without failing |
| 266 | with this error message in other nodes. When isearch fails for | 272 | with this error message in other nodes. When isearch fails for |
| 267 | the rest of the manual, it wraps aroung the whole manual and | 273 | the rest of the manual, it wraps around the whole manual and |
| 268 | restarts the search from the top/final node depending on | 274 | restarts the search from the top/final node depending on |
| 269 | search direction. | 275 | search direction. |
| 270 | 276 | ||
| @@ -811,10 +817,6 @@ otherwise, that defaults to `Top'." | |||
| 811 | (concat default-directory (buffer-name)))) | 817 | (concat default-directory (buffer-name)))) |
| 812 | (Info-find-node-2 nil nodename)) | 818 | (Info-find-node-2 nil nodename)) |
| 813 | 819 | ||
| 814 | ;; It's perhaps a bit nasty to kill the *info* buffer to force a re-read, | ||
| 815 | ;; but at least it keeps this routine (which is for makeinfo-buffer and | ||
| 816 | ;; Info-revert-buffer-function) out of the way of normal operations. | ||
| 817 | ;; | ||
| 818 | (defun Info-revert-find-node (filename nodename) | 820 | (defun Info-revert-find-node (filename nodename) |
| 819 | "Go to an Info node FILENAME and NODENAME, re-reading disk contents. | 821 | "Go to an Info node FILENAME and NODENAME, re-reading disk contents. |
| 820 | When *info* is already displaying FILENAME and NODENAME, the window position | 822 | When *info* is already displaying FILENAME and NODENAME, the window position |
| @@ -822,27 +824,23 @@ is preserved, if possible." | |||
| 822 | (or (eq major-mode 'Info-mode) (switch-to-buffer "*info*")) | 824 | (or (eq major-mode 'Info-mode) (switch-to-buffer "*info*")) |
| 823 | (let ((old-filename Info-current-file) | 825 | (let ((old-filename Info-current-file) |
| 824 | (old-nodename Info-current-node) | 826 | (old-nodename Info-current-node) |
| 825 | (old-buffer-name (buffer-name)) | 827 | (window-selected (eq (selected-window) (get-buffer-window))) |
| 826 | (pcolumn (current-column)) | 828 | (pcolumn (current-column)) |
| 827 | (pline (count-lines (point-min) (line-beginning-position))) | 829 | (pline (count-lines (point-min) (line-beginning-position))) |
| 828 | (wline (count-lines (point-min) (window-start))) | 830 | (wline (count-lines (point-min) (window-start))) |
| 829 | (old-history-forward Info-history-forward) | ||
| 830 | (old-history Info-history) | ||
| 831 | (new-history (and Info-current-file | 831 | (new-history (and Info-current-file |
| 832 | (list Info-current-file Info-current-node (point))))) | 832 | (list Info-current-file Info-current-node (point))))) |
| 833 | (kill-buffer (current-buffer)) | 833 | ;; When `Info-current-file' is nil, `Info-find-node-2' rereads the file. |
| 834 | (switch-to-buffer (or old-buffer-name "*info*")) | 834 | (setq Info-current-file nil) |
| 835 | (Info-mode) | ||
| 836 | (Info-find-node filename nodename) | 835 | (Info-find-node filename nodename) |
| 837 | (setq Info-history-forward old-history-forward) | ||
| 838 | (setq Info-history old-history) | ||
| 839 | (if (and (equal old-filename Info-current-file) | 836 | (if (and (equal old-filename Info-current-file) |
| 840 | (equal old-nodename Info-current-node)) | 837 | (equal old-nodename Info-current-node)) |
| 841 | (progn | 838 | (progn |
| 842 | ;; note goto-line is no good, we want to measure from point-min | 839 | ;; note goto-line is no good, we want to measure from point-min |
| 843 | (goto-char (point-min)) | 840 | (when window-selected |
| 844 | (forward-line wline) | 841 | (goto-char (point-min)) |
| 845 | (set-window-start (selected-window) (point)) | 842 | (forward-line wline) |
| 843 | (set-window-start (selected-window) (point))) | ||
| 846 | (goto-char (point-min)) | 844 | (goto-char (point-min)) |
| 847 | (forward-line pline) | 845 | (forward-line pline) |
| 848 | (move-to-column pcolumn)) | 846 | (move-to-column pcolumn)) |
| @@ -1087,7 +1085,7 @@ a case-insensitive match is tried." | |||
| 1087 | ;; Add anchors to the history too | 1085 | ;; Add anchors to the history too |
| 1088 | (setq Info-history-list | 1086 | (setq Info-history-list |
| 1089 | (cons new-history | 1087 | (cons new-history |
| 1090 | (delete new-history Info-history-list)))) | 1088 | (remove new-history Info-history-list)))) |
| 1091 | (goto-char anchorpos)) | 1089 | (goto-char anchorpos)) |
| 1092 | ((numberp Info-point-loc) | 1090 | ((numberp Info-point-loc) |
| 1093 | (forward-line (- Info-point-loc 2)) | 1091 | (forward-line (- Info-point-loc 2)) |
| @@ -1514,7 +1512,7 @@ escaped (\\\",\\\\)." | |||
| 1514 | ;; Add a new unique history item to full history list | 1512 | ;; Add a new unique history item to full history list |
| 1515 | (let ((new-history (list Info-current-file Info-current-node))) | 1513 | (let ((new-history (list Info-current-file Info-current-node))) |
| 1516 | (setq Info-history-list | 1514 | (setq Info-history-list |
| 1517 | (cons new-history (delete new-history Info-history-list))) | 1515 | (cons new-history (remove new-history Info-history-list))) |
| 1518 | (setq Info-history-forward nil)) | 1516 | (setq Info-history-forward nil)) |
| 1519 | (if (not (eq Info-fontify-maximum-menu-size nil)) | 1517 | (if (not (eq Info-fontify-maximum-menu-size nil)) |
| 1520 | (Info-fontify-node)) | 1518 | (Info-fontify-node)) |
| @@ -1846,7 +1844,9 @@ If DIRECTION is `backward', search in the reverse direction." | |||
| 1846 | (setq list nil))) | 1844 | (setq list nil))) |
| 1847 | (if found | 1845 | (if found |
| 1848 | (message "") | 1846 | (message "") |
| 1849 | (signal 'search-failed (list regexp)))) | 1847 | (signal 'search-failed (if isearch-mode |
| 1848 | (list regexp "end of the manual") | ||
| 1849 | (list regexp))))) | ||
| 1850 | (if (not found) | 1850 | (if (not found) |
| 1851 | (progn (Info-read-subfile osubfile) | 1851 | (progn (Info-read-subfile osubfile) |
| 1852 | (goto-char opoint) | 1852 | (goto-char opoint) |
| @@ -2153,7 +2153,7 @@ If SAME-FILE is non-nil, do not move to a different Info file." | |||
| 2153 | (insert "Recently Visited Nodes\n") | 2153 | (insert "Recently Visited Nodes\n") |
| 2154 | (insert "**********************\n\n") | 2154 | (insert "**********************\n\n") |
| 2155 | (insert "* Menu:\n\n") | 2155 | (insert "* Menu:\n\n") |
| 2156 | (let ((hl (delete '("*History*" "Top") Info-history-list))) | 2156 | (let ((hl (remove '("*History*" "Top") Info-history-list))) |
| 2157 | (while hl | 2157 | (while hl |
| 2158 | (let ((file (nth 0 (car hl))) | 2158 | (let ((file (nth 0 (car hl))) |
| 2159 | (node (nth 1 (car hl)))) | 2159 | (node (nth 1 (car hl)))) |
| @@ -3328,7 +3328,7 @@ Return a list of matches where each element is in the format | |||
| 3328 | (Info-directory) | 3328 | (Info-directory) |
| 3329 | ;; current-node and current-file are nil when they invoke info-apropos | 3329 | ;; current-node and current-file are nil when they invoke info-apropos |
| 3330 | ;; as the first Info command, i.e. info-apropos loads info.el. In that | 3330 | ;; as the first Info command, i.e. info-apropos loads info.el. In that |
| 3331 | ;; case, we use (DIR)Top instead, to avoid signalling an error after | 3331 | ;; case, we use (DIR)Top instead, to avoid signaling an error after |
| 3332 | ;; the search is complete. | 3332 | ;; the search is complete. |
| 3333 | (when (null current-node) | 3333 | (when (null current-node) |
| 3334 | (setq current-file Info-current-file) | 3334 | (setq current-file Info-current-file) |
| @@ -3403,7 +3403,7 @@ Build a menu of the possible matches." | |||
| 3403 | (declare-function finder-unknown-keywords "finder" ()) | 3403 | (declare-function finder-unknown-keywords "finder" ()) |
| 3404 | (declare-function lm-commentary "lisp-mnt" (&optional file)) | 3404 | (declare-function lm-commentary "lisp-mnt" (&optional file)) |
| 3405 | (defvar finder-keywords-hash) | 3405 | (defvar finder-keywords-hash) |
| 3406 | (defvar package-alist) ; finder requires package | 3406 | (defvar package--builtins) ; finder requires package |
| 3407 | 3407 | ||
| 3408 | (defun Info-finder-find-node (_filename nodename &optional _no-going-back) | 3408 | (defun Info-finder-find-node (_filename nodename &optional _no-going-back) |
| 3409 | "Finder-specific implementation of `Info-find-node-2'." | 3409 | "Finder-specific implementation of `Info-find-node-2'." |
| @@ -3417,14 +3417,14 @@ Build a menu of the possible matches." | |||
| 3417 | (insert "***************\n\n") | 3417 | (insert "***************\n\n") |
| 3418 | (insert "* Menu:\n\n") | 3418 | (insert "* Menu:\n\n") |
| 3419 | (dolist (assoc (append '((all . "All package info") | 3419 | (dolist (assoc (append '((all . "All package info") |
| 3420 | (unknown . "unknown keywords")) | 3420 | (unknown . "Unknown keywords")) |
| 3421 | finder-known-keywords)) | 3421 | finder-known-keywords)) |
| 3422 | (let ((keyword (car assoc))) | 3422 | (let ((keyword (car assoc))) |
| 3423 | (insert (format "* %s %s.\n" | 3423 | (insert (format "* %s %s.\n" |
| 3424 | (concat (symbol-name keyword) ": " | 3424 | (concat (symbol-name keyword) ": " |
| 3425 | "kw:" (symbol-name keyword) ".") | 3425 | "Keyword " (symbol-name keyword) ".") |
| 3426 | (cdr assoc)))))) | 3426 | (cdr assoc)))))) |
| 3427 | ((equal nodename "unknown") | 3427 | ((equal nodename "Keyword unknown") |
| 3428 | ;; Display unknown keywords | 3428 | ;; Display unknown keywords |
| 3429 | (insert (format "\n\^_\nFile: %s, Node: %s, Up: Top\n\n" | 3429 | (insert (format "\n\^_\nFile: %s, Node: %s, Up: Top\n\n" |
| 3430 | Info-finder-file nodename)) | 3430 | Info-finder-file nodename)) |
| @@ -3434,24 +3434,29 @@ Build a menu of the possible matches." | |||
| 3434 | (mapc | 3434 | (mapc |
| 3435 | (lambda (assoc) | 3435 | (lambda (assoc) |
| 3436 | (insert (format "* %-14s %s.\n" | 3436 | (insert (format "* %-14s %s.\n" |
| 3437 | (concat (symbol-name (car assoc)) "::") | 3437 | (concat (symbol-name (car assoc)) ": " |
| 3438 | "Keyword " (symbol-name (car assoc)) ".") | ||
| 3438 | (cdr assoc)))) | 3439 | (cdr assoc)))) |
| 3439 | (finder-unknown-keywords))) | 3440 | (finder-unknown-keywords))) |
| 3440 | ((equal nodename "all") | 3441 | ((equal nodename "Keyword all") |
| 3441 | ;; Display all package info. | 3442 | ;; Display all package info. |
| 3442 | (insert (format "\n\^_\nFile: %s, Node: %s, Up: Top\n\n" | 3443 | (insert (format "\n\^_\nFile: %s, Node: %s, Up: Top\n\n" |
| 3443 | Info-finder-file nodename)) | 3444 | Info-finder-file nodename)) |
| 3444 | (insert "Finder Package Info\n") | 3445 | (insert "Finder Package Info\n") |
| 3445 | (insert "*******************\n\n") | 3446 | (insert "*******************\n\n") |
| 3446 | (dolist (package package-alist) | 3447 | (insert "* Menu:\n\n") |
| 3447 | (insert (format "%s - %s\n" | 3448 | (let (desc) |
| 3448 | (format "*Note %s::" (nth 0 package)) | 3449 | (dolist (package package--builtins) |
| 3449 | (nth 1 package))))) | 3450 | (setq desc (cdr-safe package)) |
| 3450 | ((string-match "\\`kw:" nodename) | 3451 | (when (vectorp desc) |
| 3452 | (insert (format "* %-16s %s.\n" | ||
| 3453 | (concat (symbol-name (car package)) "::") | ||
| 3454 | (aref desc 2))))))) | ||
| 3455 | ((string-match "\\`Keyword " nodename) | ||
| 3451 | (setq nodename (substring nodename (match-end 0))) | 3456 | (setq nodename (substring nodename (match-end 0))) |
| 3452 | ;; Display packages that match the keyword | 3457 | ;; Display packages that match the keyword |
| 3453 | ;; or the list of keywords separated by comma. | 3458 | ;; or the list of keywords separated by comma. |
| 3454 | (insert (format "\n\^_\nFile: %s, Node: kw:%s, Up: Top\n\n" | 3459 | (insert (format "\n\^_\nFile: %s, Node: Keyword %s, Up: Top\n\n" |
| 3455 | Info-finder-file nodename)) | 3460 | Info-finder-file nodename)) |
| 3456 | (insert "Finder Packages\n") | 3461 | (insert "Finder Packages\n") |
| 3457 | (insert "***************\n\n") | 3462 | (insert "***************\n\n") |
| @@ -3463,11 +3468,11 @@ Build a menu of the possible matches." | |||
| 3463 | (split-string nodename ",[ \t\n]*" t) | 3468 | (split-string nodename ",[ \t\n]*" t) |
| 3464 | (list nodename)))) | 3469 | (list nodename)))) |
| 3465 | hits desc) | 3470 | hits desc) |
| 3466 | (dolist (kw keywords) | 3471 | (dolist (keyword keywords) |
| 3467 | (push (copy-tree (gethash kw finder-keywords-hash)) hits)) | 3472 | (push (copy-tree (gethash keyword finder-keywords-hash)) hits)) |
| 3468 | (setq hits (delete-dups (apply 'append hits))) | 3473 | (setq hits (delete-dups (apply 'append hits))) |
| 3469 | (dolist (package hits) | 3474 | (dolist (package hits) |
| 3470 | (setq desc (cdr-safe (assq package package-alist))) | 3475 | (setq desc (cdr-safe (assq package package--builtins))) |
| 3471 | (when (vectorp desc) | 3476 | (when (vectorp desc) |
| 3472 | (insert (format "* %-16s %s.\n" | 3477 | (insert (format "* %-16s %s.\n" |
| 3473 | (concat (symbol-name package) "::") | 3478 | (concat (symbol-name package) "::") |
diff --git a/lisp/international/characters.el b/lisp/international/characters.el index 47426784e51..55aee4d53db 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el | |||
| @@ -410,7 +410,7 @@ with L, LRE, or LRO Unicode bidi character type.") | |||
| 410 | ("à¾-ྐྵྺྻྼ" "w" ?0) ; | 410 | ("à¾-ྐྵྺྻྼ" "w" ?0) ; |
| 411 | ("ིེཻོཽྀ" "w" ?2) ; upper vowel | 411 | ("ིེཻོཽྀ" "w" ?2) ; upper vowel |
| 412 | ("ཾྂྃ྆྇ྈྉྊྋ" "w" ?2) ; upper modifier | 412 | ("ཾྂྃ྆྇ྈྉྊྋ" "w" ?2) ; upper modifier |
| 413 | ("྄ཱུ༙༵༷" "w" ?3) ; lowel vowel/modifier | 413 | ("྄ཱུ༙༵༷" "w" ?3) ; lower vowel/modifier |
| 414 | ("཰" "w" ?3) ; invisible vowel a | 414 | ("཰" "w" ?3) ; invisible vowel a |
| 415 | ("༠-༩༪-༳" "w" ?6) ; digit | 415 | ("༠-༩༪-༳" "w" ?6) ; digit |
| 416 | ("་à¼-༒༔ཿ" "." ?|) ; line-break char | 416 | ("་à¼-༒༔ཿ" "." ?|) ; line-break char |
| @@ -466,7 +466,7 @@ with L, LRE, or LRO Unicode bidi character type.") | |||
| 466 | 466 | ||
| 467 | ;; Tai Viet | 467 | ;; Tai Viet |
| 468 | (let ((deflist '(;; chars syntax category | 468 | (let ((deflist '(;; chars syntax category |
| 469 | ((?ꪀ. ?ꪯ) "w" ?0) ; cosonant | 469 | ((?ꪀ. ?ꪯ) "w" ?0) ; consonant |
| 470 | ("ꪱꪵꪶ" "w" ?1) ; vowel base | 470 | ("ꪱꪵꪶ" "w" ?1) ; vowel base |
| 471 | ((?ꪹ . ?ꪽ) "w" ?1) ; vowel base | 471 | ((?ꪹ . ?ꪽ) "w" ?1) ; vowel base |
| 472 | ("ꪰꪲꪳꪷꪸꪾ" "w" ?2) ; vowel upper | 472 | ("ꪰꪲꪳꪷꪸꪾ" "w" ?2) ; vowel upper |
| @@ -512,7 +512,7 @@ with L, LRE, or LRO Unicode bidi character type.") | |||
| 512 | ;; relating Unicode categories to Emacs syntax codes. | 512 | ;; relating Unicode categories to Emacs syntax codes. |
| 513 | 513 | ||
| 514 | ;; NBSP isn't semantically interchangeable with other whitespace chars, | 514 | ;; NBSP isn't semantically interchangeable with other whitespace chars, |
| 515 | ;; so it's more like punctation. | 515 | ;; so it's more like punctuation. |
| 516 | (set-case-syntax ? "." tbl) | 516 | (set-case-syntax ? "." tbl) |
| 517 | (set-case-syntax ?¡ "." tbl) | 517 | (set-case-syntax ?¡ "." tbl) |
| 518 | (set-case-syntax ?¦ "_" tbl) | 518 | (set-case-syntax ?¦ "_" tbl) |
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 777779e5ec5..9f6520c7238 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el | |||
| @@ -700,7 +700,7 @@ Internal use only. Should be called at startup time." | |||
| 700 | ;; HPHEBREW8 8-bit character set | 700 | ;; HPHEBREW8 8-bit character set |
| 701 | ;; "HP-Japanese15" [36] | 701 | ;; "HP-Japanese15" [36] |
| 702 | ;; HPJAPAN15 15-bit character set, | 702 | ;; HPJAPAN15 15-bit character set, |
| 703 | ;; modified from industry defacto | 703 | ;; modified from industry de facto |
| 704 | ;; standard Shift-JIS | 704 | ;; standard Shift-JIS |
| 705 | ;; "HP-Kana8" [36] | 705 | ;; "HP-Kana8" [36] |
| 706 | ;; HPKANA8 8-bit character set | 706 | ;; HPKANA8 8-bit character set |
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index cccf65b8051..efb910a3ef6 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el | |||
| @@ -958,7 +958,7 @@ the current buffer." | |||
| 958 | (insert "\n ---<fallback to the default of the default fontset>---") | 958 | (insert "\n ---<fallback to the default of the default fontset>---") |
| 959 | (put-text-property (line-beginning-position) (point) 'face 'highlight))) | 959 | (put-text-property (line-beginning-position) (point) 'face 'highlight))) |
| 960 | (if (and start1 end2) | 960 | (if (and start1 end2) |
| 961 | ;; Reoder the printed information to match with the font | 961 | ;; Reorder the printed information to match with the font |
| 962 | ;; searching strategy; i.e. FONTSET, the default fontset, | 962 | ;; searching strategy; i.e. FONTSET, the default fontset, |
| 963 | ;; default of FONTSET, default of the default fontset. | 963 | ;; default of FONTSET, default of the default fontset. |
| 964 | (transpose-regions start1 end1 start2 end2)) | 964 | (transpose-regions start1 end1 start2 end2)) |
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index cac37b3b8c5..6888056704d 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -120,14 +120,14 @@ MAX-N is the maximum byte value of that. | |||
| 120 | 120 | ||
| 121 | `:min-code' | 121 | `:min-code' |
| 122 | 122 | ||
| 123 | VALUE must be an integer specifying the mininum code point of the | 123 | VALUE must be an integer specifying the minimum code point of the |
| 124 | charset. If omitted, it is calculated from `:code-space'. VALUE may | 124 | charset. If omitted, it is calculated from `:code-space'. VALUE may |
| 125 | be a cons (HIGH . LOW), where HIGH is the most significant 16 bits of | 125 | be a cons (HIGH . LOW), where HIGH is the most significant 16 bits of |
| 126 | the code point and LOW is the least significant 16 bits. | 126 | the code point and LOW is the least significant 16 bits. |
| 127 | 127 | ||
| 128 | `:max-code' | 128 | `:max-code' |
| 129 | 129 | ||
| 130 | VALUE must be an integer specifying the maxinum code point of the | 130 | VALUE must be an integer specifying the maximum code point of the |
| 131 | charset. If omitted, it is calculated from `:code-space'. VALUE may | 131 | charset. If omitted, it is calculated from `:code-space'. VALUE may |
| 132 | be a cons (HIGH . LOW), where HIGH is the most significant 16 bits of | 132 | be a cons (HIGH . LOW), where HIGH is the most significant 16 bits of |
| 133 | the code point and LOW is the least significant 16 bits. | 133 | the code point and LOW is the least significant 16 bits. |
| @@ -1566,7 +1566,7 @@ of `ctext-non-standard-encodings-alist'.") | |||
| 1566 | 1566 | ||
| 1567 | ;; Return an alist of CHARSET vs CTEXT-USAGE-INFO generated from | 1567 | ;; Return an alist of CHARSET vs CTEXT-USAGE-INFO generated from |
| 1568 | ;; `ctext-non-standard-encodings' and a list specified by the key | 1568 | ;; `ctext-non-standard-encodings' and a list specified by the key |
| 1569 | ;; `ctext-non-standard-encodings' for the currrent language | 1569 | ;; `ctext-non-standard-encodings' for the current language |
| 1570 | ;; environment. CTEXT-USAGE-INFO is one of the element of | 1570 | ;; environment. CTEXT-USAGE-INFO is one of the element of |
| 1571 | ;; `ctext-non-standard-encodings-alist' or nil. In the former case, a | 1571 | ;; `ctext-non-standard-encodings-alist' or nil. In the former case, a |
| 1572 | ;; character in CHARSET is encoded using extended segment. In the | 1572 | ;; character in CHARSET is encoded using extended segment. In the |
diff --git a/lisp/international/ogonek.el b/lisp/international/ogonek.el index 0da6cc614fd..cc8d1e25c66 100644 --- a/lisp/international/ogonek.el +++ b/lisp/international/ogonek.el | |||
| @@ -284,11 +284,11 @@ The functions come in the following groups. | |||
| 284 | :type 'character | 284 | :type 'character |
| 285 | :group 'ogonek) | 285 | :group 'ogonek) |
| 286 | (defcustom ogonek-prefix-from-encoding "iso8859-2" | 286 | (defcustom ogonek-prefix-from-encoding "iso8859-2" |
| 287 | "Encoding in the source file subject to prefixifation." | 287 | "Encoding in the source file subject to prefixation." |
| 288 | :type ogonek-encoding-choices | 288 | :type ogonek-encoding-choices |
| 289 | :group 'ogonek) | 289 | :group 'ogonek) |
| 290 | (defcustom ogonek-prefix-to-encoding "iso8859-2" | 290 | (defcustom ogonek-prefix-to-encoding "iso8859-2" |
| 291 | "Encoding in the target file subject to deprefixifation." | 291 | "Encoding in the target file subject to deprefixation." |
| 292 | :type ogonek-encoding-choices | 292 | :type ogonek-encoding-choices |
| 293 | :group 'ogonek) | 293 | :group 'ogonek) |
| 294 | 294 | ||
diff --git a/lisp/international/quail.el b/lisp/international/quail.el index 3f83841f60d..a29b729dcf0 100644 --- a/lisp/international/quail.el +++ b/lisp/international/quail.el | |||
| @@ -2011,7 +2011,7 @@ minibuffer and the selected frame has no other windows)." | |||
| 2011 | (set-window-dedicated-p win t)) | 2011 | (set-window-dedicated-p win t)) |
| 2012 | (quail-minibuffer-message | 2012 | (quail-minibuffer-message |
| 2013 | (format " [%s]" current-input-method-title))) | 2013 | (format " [%s]" current-input-method-title))) |
| 2014 | ;; Show the guidance in the next line of the currrent | 2014 | ;; Show the guidance in the next line of the current |
| 2015 | ;; minibuffer. | 2015 | ;; minibuffer. |
| 2016 | (quail-minibuffer-message | 2016 | (quail-minibuffer-message |
| 2017 | (format " [%s]\n%s" | 2017 | (format " [%s]\n%s" |
| @@ -2701,7 +2701,7 @@ KEY BINDINGS FOR CONVERSION | |||
| 2701 | 2701 | ||
| 2702 | (put 'quail-decode-map 'char-table-extra-slots 0) | 2702 | (put 'quail-decode-map 'char-table-extra-slots 0) |
| 2703 | 2703 | ||
| 2704 | ;; Generate a halfly-cooked decode map (char-table) for the current | 2704 | ;; Generate a half-cooked decode map (char-table) for the current |
| 2705 | ;; Quail map. An element for a character C is a key string or a list | 2705 | ;; Quail map. An element for a character C is a key string or a list |
| 2706 | ;; of a key strings to type to input C. The lenth of key string is at | 2706 | ;; of a key strings to type to input C. The lenth of key string is at |
| 2707 | ;; most 2. If it is 2, more keys may be required to input C. | 2707 | ;; most 2. If it is 2, more keys may be required to input C. |
| @@ -2974,7 +2974,7 @@ of each directory." | |||
| 2974 | (if (not (re-search-forward leim-list-entry-regexp nil t)) | 2974 | (if (not (re-search-forward leim-list-entry-regexp nil t)) |
| 2975 | nil | 2975 | nil |
| 2976 | 2976 | ||
| 2977 | ;; Remove garbages after the header. | 2977 | ;; Remove garbage after the header. |
| 2978 | (goto-char (match-beginning 0)) | 2978 | (goto-char (match-beginning 0)) |
| 2979 | (if (< pos (point)) | 2979 | (if (< pos (point)) |
| 2980 | (delete-region pos (point))) | 2980 | (delete-region pos (point))) |
diff --git a/lisp/international/titdic-cnv.el b/lisp/international/titdic-cnv.el index e68dc8bdc17..757322aa0ce 100644 --- a/lisp/international/titdic-cnv.el +++ b/lisp/international/titdic-cnv.el | |||
| @@ -305,7 +305,7 @@ SPC, 6, 3, 4, or 7 specifing a tone (SPC:$(0?v(N(B, 6:$(0Dm(N(B, 3:$(0&9Vy | |||
| 305 | (cond ((looking-at "PROMPT:[ \t]*") | 305 | (cond ((looking-at "PROMPT:[ \t]*") |
| 306 | (goto-char (match-end 0)) | 306 | (goto-char (match-end 0)) |
| 307 | (setq tit-prompt (tit-read-key-value)) | 307 | (setq tit-prompt (tit-read-key-value)) |
| 308 | ;; Some TIT dictionaies that are encoded by | 308 | ;; Some TIT dictionaries that are encoded by |
| 309 | ;; euc-china contains invalid character at the tail. | 309 | ;; euc-china contains invalid character at the tail. |
| 310 | (let* ((last (aref tit-prompt (1- (length tit-prompt)))) | 310 | (let* ((last (aref tit-prompt (1- (length tit-prompt)))) |
| 311 | (split (split-char last))) | 311 | (split (split-char last))) |
| @@ -734,7 +734,7 @@ To get complete usage, invoke \"emacs -batch -f batch-titdic-convert -h\"." | |||
| 734 | ;; dictionary in the buffer DICBUF. The input method name of the | 734 | ;; dictionary in the buffer DICBUF. The input method name of the |
| 735 | ;; Quail package is NAME, and the title string is TITLE. | 735 | ;; Quail package is NAME, and the title string is TITLE. |
| 736 | 736 | ||
| 737 | ;; TSANG-P is non-nil, genereate $(06AQo(B input method. Otherwise | 737 | ;; TSANG-P is non-nil, generate $(06AQo(B input method. Otherwise |
| 738 | ;; generate $(0X|/y(B (simple version of $(06AQo(B). If BIG5-P is non-nil, the | 738 | ;; generate $(0X|/y(B (simple version of $(06AQo(B). If BIG5-P is non-nil, the |
| 739 | ;; input method is for inputting Big5 characters. Otherwise the input | 739 | ;; input method is for inputting Big5 characters. Otherwise the input |
| 740 | ;; method is for inputting CNS characters. | 740 | ;; method is for inputting CNS characters. |
diff --git a/lisp/isearch.el b/lisp/isearch.el index 3ffe6e8a656..39ed7adc9c4 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -542,8 +542,8 @@ Each set is a vector of the form: | |||
| 542 | (defvar isearch-string "") ; The current search string. | 542 | (defvar isearch-string "") ; The current search string. |
| 543 | (defvar isearch-message "") ; text-char-description version of isearch-string | 543 | (defvar isearch-message "") ; text-char-description version of isearch-string |
| 544 | 544 | ||
| 545 | (defvar isearch-message-prefix-add nil) ; Additonal text for the message prefix | 545 | (defvar isearch-message-prefix-add nil) ; Additional text for the message prefix |
| 546 | (defvar isearch-message-suffix-add nil) ; Additonal text for the message suffix | 546 | (defvar isearch-message-suffix-add nil) ; Additional text for the message suffix |
| 547 | 547 | ||
| 548 | (defvar isearch-success t) ; Searching is currently successful. | 548 | (defvar isearch-success t) ; Searching is currently successful. |
| 549 | (defvar isearch-error nil) ; Error message for failed search. | 549 | (defvar isearch-error nil) ; Error message for failed search. |
| @@ -1162,11 +1162,10 @@ The following additional command keys are active while editing. | |||
| 1162 | 1162 | ||
| 1163 | (unwind-protect | 1163 | (unwind-protect |
| 1164 | (let* ((message-log-max nil) | 1164 | (let* ((message-log-max nil) |
| 1165 | ;; Protect global value of search rings from updating | 1165 | ;; Don't add a new search string to the search ring here |
| 1166 | ;; by `read-from-minibuffer'. It should be updated only | 1166 | ;; in `read-from-minibuffer'. It should be added only |
| 1167 | ;; by `isearch-update-ring' in `isearch-done', not here. | 1167 | ;; by `isearch-update-ring' called from `isearch-done'. |
| 1168 | (search-ring search-ring) | 1168 | (history-add-new-input nil) |
| 1169 | (regexp-search-ring regexp-search-ring) | ||
| 1170 | ;; Binding minibuffer-history-symbol to nil is a work-around | 1169 | ;; Binding minibuffer-history-symbol to nil is a work-around |
| 1171 | ;; for some incompatibility with gmhist. | 1170 | ;; for some incompatibility with gmhist. |
| 1172 | (minibuffer-history-symbol)) | 1171 | (minibuffer-history-symbol)) |
| @@ -2243,7 +2242,7 @@ If there is no completion possible, say so and continue searching." | |||
| 2243 | ;; Searching | 2242 | ;; Searching |
| 2244 | 2243 | ||
| 2245 | (defvar isearch-search-fun-function nil | 2244 | (defvar isearch-search-fun-function nil |
| 2246 | "Overrides the default `isearch-search-fun' behaviour. | 2245 | "Overrides the default `isearch-search-fun' behavior. |
| 2247 | This variable's value should be a function, which will be called | 2246 | This variable's value should be a function, which will be called |
| 2248 | with no arguments, and should return a function that takes three | 2247 | with no arguments, and should return a function that takes three |
| 2249 | arguments: STRING, BOUND, and NOERROR. | 2248 | arguments: STRING, BOUND, and NOERROR. |
| @@ -2674,25 +2673,27 @@ by other Emacs features." | |||
| 2674 | ;; something important did indeed change | 2673 | ;; something important did indeed change |
| 2675 | (lazy-highlight-cleanup t) ;kill old loop & remove overlays | 2674 | (lazy-highlight-cleanup t) ;kill old loop & remove overlays |
| 2676 | (setq isearch-lazy-highlight-error isearch-error) | 2675 | (setq isearch-lazy-highlight-error isearch-error) |
| 2677 | (when (not isearch-error) | 2676 | ;; It used to check for `(not isearch-error)' here, but actually |
| 2678 | (setq isearch-lazy-highlight-start-limit beg | 2677 | ;; lazy-highlighting might find matches to highlight even when |
| 2679 | isearch-lazy-highlight-end-limit end) | 2678 | ;; `isearch-error' is non-nil. (Bug#9918) |
| 2680 | (setq isearch-lazy-highlight-window (selected-window) | 2679 | (setq isearch-lazy-highlight-start-limit beg |
| 2681 | isearch-lazy-highlight-window-start (window-start) | 2680 | isearch-lazy-highlight-end-limit end) |
| 2682 | isearch-lazy-highlight-window-end (window-end) | 2681 | (setq isearch-lazy-highlight-window (selected-window) |
| 2683 | isearch-lazy-highlight-start (point) | 2682 | isearch-lazy-highlight-window-start (window-start) |
| 2684 | isearch-lazy-highlight-end (point) | 2683 | isearch-lazy-highlight-window-end (window-end) |
| 2685 | isearch-lazy-highlight-wrapped nil | 2684 | isearch-lazy-highlight-start (point) |
| 2686 | isearch-lazy-highlight-last-string isearch-string | 2685 | isearch-lazy-highlight-end (point) |
| 2687 | isearch-lazy-highlight-case-fold-search isearch-case-fold-search | 2686 | isearch-lazy-highlight-wrapped nil |
| 2688 | isearch-lazy-highlight-regexp isearch-regexp | 2687 | isearch-lazy-highlight-last-string isearch-string |
| 2689 | isearch-lazy-highlight-space-regexp search-whitespace-regexp | 2688 | isearch-lazy-highlight-case-fold-search isearch-case-fold-search |
| 2690 | isearch-lazy-highlight-word isearch-word | 2689 | isearch-lazy-highlight-regexp isearch-regexp |
| 2691 | isearch-lazy-highlight-forward isearch-forward) | 2690 | isearch-lazy-highlight-space-regexp search-whitespace-regexp |
| 2691 | isearch-lazy-highlight-word isearch-word | ||
| 2692 | isearch-lazy-highlight-forward isearch-forward) | ||
| 2692 | (unless (equal isearch-string "") | 2693 | (unless (equal isearch-string "") |
| 2693 | (setq isearch-lazy-highlight-timer | 2694 | (setq isearch-lazy-highlight-timer |
| 2694 | (run-with-idle-timer lazy-highlight-initial-delay nil | 2695 | (run-with-idle-timer lazy-highlight-initial-delay nil |
| 2695 | 'isearch-lazy-highlight-update)))))) | 2696 | 'isearch-lazy-highlight-update))))) |
| 2696 | 2697 | ||
| 2697 | (defun isearch-lazy-highlight-search () | 2698 | (defun isearch-lazy-highlight-search () |
| 2698 | "Search ahead for the next or previous match, for lazy highlighting. | 2699 | "Search ahead for the next or previous match, for lazy highlighting. |
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el index a7d3328526a..21201c6cff5 100644 --- a/lisp/iswitchb.el +++ b/lisp/iswitchb.el | |||
| @@ -122,7 +122,7 @@ | |||
| 122 | ;; t IN | INBOX | 122 | ;; t IN | INBOX |
| 123 | ;; t In | [No match] | 123 | ;; t In | [No match] |
| 124 | 124 | ||
| 125 | ;;; Customisation | 125 | ;;; Customization |
| 126 | 126 | ||
| 127 | ;; See the User Variables section below for easy ways to change the | 127 | ;; See the User Variables section below for easy ways to change the |
| 128 | ;; functionality of the program. These are accessible using the | 128 | ;; functionality of the program. These are accessible using the |
| @@ -163,7 +163,7 @@ | |||
| 163 | ;; Font-Lock | 163 | ;; Font-Lock |
| 164 | 164 | ||
| 165 | ;; font-lock is used to highlight the first matching buffer. To | 165 | ;; font-lock is used to highlight the first matching buffer. To |
| 166 | ;; switch this off, set (setq iswitchb-use-faces nil). Colouring of | 166 | ;; switch this off, set (setq iswitchb-use-faces nil). Coloring of |
| 167 | ;; the matching buffer name was suggested by Carsten Dominik | 167 | ;; the matching buffer name was suggested by Carsten Dominik |
| 168 | ;; (dominik@strw.leidenuniv.nl) | 168 | ;; (dominik@strw.leidenuniv.nl) |
| 169 | 169 | ||
| @@ -1110,7 +1110,7 @@ Return the modified list with the last element prepended to it." | |||
| 1110 | (if (fboundp 'set-buffer-major-mode) | 1110 | (if (fboundp 'set-buffer-major-mode) |
| 1111 | (set-buffer-major-mode newbufcreated)) | 1111 | (set-buffer-major-mode newbufcreated)) |
| 1112 | (iswitchb-visit-buffer newbufcreated)) | 1112 | (iswitchb-visit-buffer newbufcreated)) |
| 1113 | ;; else wont create new buffer | 1113 | ;; else won't create new buffer |
| 1114 | (message "no buffer matching `%s'" buf)))) | 1114 | (message "no buffer matching `%s'" buf)))) |
| 1115 | 1115 | ||
| 1116 | (defun iswitchb-window-buffer-p (buffer) | 1116 | (defun iswitchb-window-buffer-p (buffer) |
diff --git a/lisp/kmacro.el b/lisp/kmacro.el index e47f571db71..eea3009faf4 100644 --- a/lisp/kmacro.el +++ b/lisp/kmacro.el | |||
| @@ -1020,7 +1020,7 @@ following additional answers: `insert', `insert-1', `replace', `replace-1', | |||
| 1020 | (setq executing-kbd-macro-index (- executing-kbd-macro-index (length unread-command-events)) | 1020 | (setq executing-kbd-macro-index (- executing-kbd-macro-index (length unread-command-events)) |
| 1021 | next-index executing-kbd-macro-index))))) | 1021 | next-index executing-kbd-macro-index))))) |
| 1022 | 1022 | ||
| 1023 | ;; Query the user; stop macro exection temporarily | 1023 | ;; Query the user; stop macro execution temporarily. |
| 1024 | (let ((macro executing-kbd-macro) | 1024 | (let ((macro executing-kbd-macro) |
| 1025 | (executing-kbd-macro nil) | 1025 | (executing-kbd-macro nil) |
| 1026 | (defining-kbd-macro nil)) | 1026 | (defining-kbd-macro nil)) |
diff --git a/lisp/language/ethio-util.el b/lisp/language/ethio-util.el index bb242a50acc..444f4d519da 100644 --- a/lisp/language/ethio-util.el +++ b/lisp/language/ethio-util.el | |||
| @@ -582,7 +582,7 @@ See also the descriptions of the variables | |||
| 582 | (narrow-to-region p (point)) | 582 | (narrow-to-region p (point)) |
| 583 | (robin-invert-region (point-min) (point-max) "ethiopic-sera") | 583 | (robin-invert-region (point-min) (point-max) "ethiopic-sera") |
| 584 | 584 | ||
| 585 | ;; ethio-quote-vowel-alwyas | 585 | ;; ethio-quote-vowel-always |
| 586 | (goto-char (point-min)) | 586 | (goto-char (point-min)) |
| 587 | (while (re-search-forward "'[eauio]" nil t) | 587 | (while (re-search-forward "'[eauio]" nil t) |
| 588 | (save-excursion | 588 | (save-excursion |
diff --git a/lisp/language/ethiopic.el b/lisp/language/ethiopic.el index 22ccd56dab3..13a645a9975 100644 --- a/lisp/language/ethiopic.el +++ b/lisp/language/ethiopic.el | |||
| @@ -61,7 +61,7 @@ | |||
| 61 | (features ethio-util) | 61 | (features ethio-util) |
| 62 | (sample-text . "áŠá‹°áˆ") | 62 | (sample-text . "áŠá‹°áˆ") |
| 63 | (documentation . | 63 | (documentation . |
| 64 | "This language envrironment provides these function key bindings: | 64 | "This language environment provides these function key bindings: |
| 65 | [f3] ethio-fidel-to-sera-buffer | 65 | [f3] ethio-fidel-to-sera-buffer |
| 66 | [S-f3] ethio-fidel-to-sera-region | 66 | [S-f3] ethio-fidel-to-sera-region |
| 67 | [C-f3] ethio-fidel-to-sera-marker | 67 | [C-f3] ethio-fidel-to-sera-marker |
diff --git a/lisp/language/european.el b/lisp/language/european.el index 6dfc03d0f5f..3c2cb083ff6 100644 --- a/lisp/language/european.el +++ b/lisp/language/european.el | |||
| @@ -146,8 +146,8 @@ These languages are supported with the Latin-3 (ISO-8859-3) character set: | |||
| 146 | (input-method . "latin-4-postfix") | 146 | (input-method . "latin-4-postfix") |
| 147 | (documentation . "\ | 147 | (documentation . "\ |
| 148 | These languages are supported with the Latin-4 (ISO-8859-4) character set: | 148 | These languages are supported with the Latin-4 (ISO-8859-4) character set: |
| 149 | Danish, English, Estonian, Finnish, German, Greenlandic, Lappish, | 149 | Danish, English, Estonian, Finnish, German, Greenlandic, Latvian, |
| 150 | Latvian, Lithuanian, and Norwegian.")) | 150 | Lithuanian, Norwegian, and Sami.")) |
| 151 | '("European")) | 151 | '("European")) |
| 152 | 152 | ||
| 153 | 153 | ||
| @@ -226,7 +226,7 @@ See also the Turkish environment.")) | |||
| 226 | "ISO 2022 based 8-bit encoding for Latin-8 (MIME:ISO-8859-14)." | 226 | "ISO 2022 based 8-bit encoding for Latin-8 (MIME:ISO-8859-14)." |
| 227 | :coding-type 'charset | 227 | :coding-type 'charset |
| 228 | ;; `W' for `Welsh', since `C' for `Celtic' is taken. | 228 | ;; `W' for `Welsh', since `C' for `Celtic' is taken. |
| 229 | :mnemonic ?W | 229 | :mnemonic ?W |
| 230 | :charset-list '(iso-8859-14) | 230 | :charset-list '(iso-8859-14) |
| 231 | :mime-charset 'iso-8859-14) | 231 | :mime-charset 'iso-8859-14) |
| 232 | 232 | ||
| @@ -610,9 +610,10 @@ method and applying Turkish case rules for the characters i, I, $(D)E(B, $(D* | |||
| 610 | (define-coding-system 'mac-roman | 610 | (define-coding-system 'mac-roman |
| 611 | "Mac Roman Encoding (MIME:MACINTOSH)." | 611 | "Mac Roman Encoding (MIME:MACINTOSH)." |
| 612 | :coding-type 'charset | 612 | :coding-type 'charset |
| 613 | :mnemonic ?M | 613 | :mnemonic ?M |
| 614 | :charset-list '(mac-roman) | 614 | :charset-list '(mac-roman) |
| 615 | :mime-charset 'macintosh) | 615 | :mime-charset 'macintosh) |
| 616 | (define-coding-system-alias 'macintosh 'mac-roman) | ||
| 616 | 617 | ||
| 617 | (define-coding-system 'next | 618 | (define-coding-system 'next |
| 618 | "NeXTstep encoding" | 619 | "NeXTstep encoding" |
diff --git a/lisp/language/lao-util.el b/lisp/language/lao-util.el index 81c5577fa57..008eb92dbbc 100644 --- a/lisp/language/lao-util.el +++ b/lisp/language/lao-util.el | |||
| @@ -371,8 +371,8 @@ consonant. It is a list vowel characters or 0. The element 0 | |||
| 371 | indicate the place to embed a consonant. | 371 | indicate the place to embed a consonant. |
| 372 | 372 | ||
| 373 | Optional WITH-MAA-SAKOD-RULE is a rule to re-order and modify VOWEL | 373 | Optional WITH-MAA-SAKOD-RULE is a rule to re-order and modify VOWEL |
| 374 | follwoing a consonant and preceding a maa-sakod character. If it is | 374 | following a consonant and preceding a maa-sakod character. If it is |
| 375 | nil, NO-MAA-SAKOD-RULE is used. The maa-sakod character is alwasy | 375 | nil, NO-MAA-SAKOD-RULE is used. The maa-sakod character is always |
| 376 | appended at the tail. | 376 | appended at the tail. |
| 377 | 377 | ||
| 378 | For instance, rule `(\"(1`WM(B\" (?(1`(B t ?(1W(B ?(1M(B))' tells that this vowel | 378 | For instance, rule `(\"(1`WM(B\" (?(1`(B t ?(1W(B ?(1M(B))' tells that this vowel |
diff --git a/lisp/language/romanian.el b/lisp/language/romanian.el index b9c250fd700..25a10633a28 100644 --- a/lisp/language/romanian.el +++ b/lisp/language/romanian.el | |||
| @@ -35,7 +35,7 @@ | |||
| 35 | (unibyte-display . iso-8859-2) | 35 | (unibyte-display . iso-8859-2) |
| 36 | (tutorial . "TUTORIAL.ro") | 36 | (tutorial . "TUTORIAL.ro") |
| 37 | (sample-text . "Bunã ziua, bine aþi venit!") | 37 | (sample-text . "Bunã ziua, bine aþi venit!") |
| 38 | (documentation . "Rmoanian environment using Latin-2 encoding. | 38 | (documentation . "Romanian environment using Latin-2 encoding. |
| 39 | An environment for generic Latin-10 encoding is also available.")) | 39 | An environment for generic Latin-10 encoding is also available.")) |
| 40 | '("European")) | 40 | '("European")) |
| 41 | 41 | ||
diff --git a/lisp/language/vietnamese.el b/lisp/language/vietnamese.el index 97d5037f3c5..4034566afca 100644 --- a/lisp/language/vietnamese.el +++ b/lisp/language/vietnamese.el | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | ;;; Commentary: | 29 | ;;; Commentary: |
| 30 | 30 | ||
| 31 | ;; For Vietnames, the character sets VISCII, VSCII and TCVN-5712 are | 31 | ;; For Vietnamese, the character sets VISCII, VSCII and TCVN-5712 are |
| 32 | ;; supported. | 32 | ;; supported. |
| 33 | 33 | ||
| 34 | ;;; Code: | 34 | ;;; Code: |
| @@ -84,7 +84,7 @@ | |||
| 84 | (documentation . "\ | 84 | (documentation . "\ |
| 85 | For Vietnamese, Emacs uses special charsets internally. | 85 | For Vietnamese, Emacs uses special charsets internally. |
| 86 | They can be decoded from and encoded to VISCII, VSCII, TCVN-5712, VIQR | 86 | They can be decoded from and encoded to VISCII, VSCII, TCVN-5712, VIQR |
| 87 | and windows-1258. VSCII is deprecated in favour of TCVN-5712. The | 87 | and windows-1258. VSCII is deprecated in favor of TCVN-5712. The |
| 88 | Current setting gives higher priority to the coding system VISCII than | 88 | Current setting gives higher priority to the coding system VISCII than |
| 89 | TCVN-5712. If you prefer TCVN-5712, please do: (prefer-coding-system | 89 | TCVN-5712. If you prefer TCVN-5712, please do: (prefer-coding-system |
| 90 | 'vietnamese-tcvn). There are two Vietnamese input methods: VIQR and | 90 | 'vietnamese-tcvn). There are two Vietnamese input methods: VIQR and |
diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el index 0ce53fcb9a3..7f595db4814 100644 --- a/lisp/ldefs-boot.el +++ b/lisp/ldefs-boot.el | |||
| @@ -11099,7 +11099,7 @@ the rightmost is selected. If ARG is nil, the leftmost window is | |||
| 11099 | selected if the original window is the first one in the frame. | 11099 | selected if the original window is the first one in the frame. |
| 11100 | 11100 | ||
| 11101 | To bind this command to a hotkey, place the following line | 11101 | To bind this command to a hotkey, place the following line |
| 11102 | in your `~/.emacs' file, replacing [f7] by your favourite key: | 11102 | in your `~/.emacs' file, replacing [f7] by your favorite key: |
| 11103 | (global-set-key [f7] 'follow-delete-other-windows-and-split) | 11103 | (global-set-key [f7] 'follow-delete-other-windows-and-split) |
| 11104 | 11104 | ||
| 11105 | \(fn &optional ARG)" t nil) | 11105 | \(fn &optional ARG)" t nil) |
| @@ -20621,7 +20621,7 @@ normalized footnotes towards the end of the pre-processing buffer. | |||
| 20621 | Some exporters like docbook, odt, etc. expect that footnote | 20621 | Some exporters like docbook, odt, etc. expect that footnote |
| 20622 | definitions be available before any references to them. Such | 20622 | definitions be available before any references to them. Such |
| 20623 | exporters can let bind `org-footnote-insert-pos-for-preprocessor' to | 20623 | exporters can let bind `org-footnote-insert-pos-for-preprocessor' to |
| 20624 | symbol 'point-min to achieve the desired behaviour. | 20624 | symbol 'point-min to achieve the desired behavior. |
| 20625 | 20625 | ||
| 20626 | Additional note on `org-footnote-insert-pos-for-preprocessor': | 20626 | Additional note on `org-footnote-insert-pos-for-preprocessor': |
| 20627 | 1. This variable has not effect when FOR-PREPROCESSOR is nil. | 20627 | 1. This variable has not effect when FOR-PREPROCESSOR is nil. |
| @@ -26109,7 +26109,7 @@ That's all. Here's the board after two moves: | |||
| 26109 | 26109 | ||
| 26110 | o o o | 26110 | o o o |
| 26111 | 26111 | ||
| 26112 | Pick your favourite shortcuts: | 26112 | Pick your favorite shortcuts: |
| 26113 | 26113 | ||
| 26114 | \\{solitaire-mode-map} | 26114 | \\{solitaire-mode-map} |
| 26115 | 26115 | ||
| @@ -27789,7 +27789,7 @@ This mode is usually not used directly; instead, other major | |||
| 27789 | modes are derived from it, using `define-derived-mode'. | 27789 | modes are derived from it, using `define-derived-mode'. |
| 27790 | 27790 | ||
| 27791 | In this major mode, the buffer is divided into multiple columns, | 27791 | In this major mode, the buffer is divided into multiple columns, |
| 27792 | which are labelled using the header line. Each non-empty line | 27792 | which are labeled using the header line. Each non-empty line |
| 27793 | belongs to one \"entry\", and the entries can be sorted according | 27793 | belongs to one \"entry\", and the entries can be sorted according |
| 27794 | to their column values. | 27794 | to their column values. |
| 27795 | 27795 | ||
diff --git a/lisp/loadhist.el b/lisp/loadhist.el index 0b569199935..da20e4cb7ca 100644 --- a/lisp/loadhist.el +++ b/lisp/loadhist.el | |||
| @@ -144,7 +144,7 @@ These are symbols with hooklike values whose names don't end in | |||
| 144 | pertinent symbols.") | 144 | pertinent symbols.") |
| 145 | 145 | ||
| 146 | (defvar unload-function-defs-list nil | 146 | (defvar unload-function-defs-list nil |
| 147 | "List of defintions in the Lisp library being unloaded. | 147 | "List of definitions in the Lisp library being unloaded. |
| 148 | 148 | ||
| 149 | This is meant to be used by `FEATURE-unload-function'; see the | 149 | This is meant to be used by `FEATURE-unload-function'; see the |
| 150 | documentation of `unload-feature' for details.") | 150 | documentation of `unload-feature' for details.") |
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el index f4b29958aab..eaac5c17cd3 100644 --- a/lisp/mail/feedmail.el +++ b/lisp/mail/feedmail.el | |||
| @@ -83,7 +83,7 @@ | |||
| 83 | ;; work properly. If you don't know what custom is all about and want | 83 | ;; work properly. If you don't know what custom is all about and want |
| 84 | ;; to edit your user option elisp variables the old fashioned way, | 84 | ;; to edit your user option elisp variables the old fashioned way, |
| 85 | ;; just imagine that all the "defcustom" stuff you see below is really | 85 | ;; just imagine that all the "defcustom" stuff you see below is really |
| 86 | ;; "defvar", and ignore everthing else. For info about custom, see | 86 | ;; "defvar", and ignore everything else. For info about custom, see |
| 87 | ;; <URL:http://www.dina.kvl.dk/~abraham/custom/>. | 87 | ;; <URL:http://www.dina.kvl.dk/~abraham/custom/>. |
| 88 | ;; | 88 | ;; |
| 89 | ;; This code does in elisp a superset of the stuff that used to be done | 89 | ;; This code does in elisp a superset of the stuff that used to be done |
| @@ -336,7 +336,7 @@ | |||
| 336 | ;; for FQM files if you're a VM user | 336 | ;; for FQM files if you're a VM user |
| 337 | ;; change buffer-substring calls to buffer-substring-no-properties for | 337 | ;; change buffer-substring calls to buffer-substring-no-properties for |
| 338 | ;; speed-up (suggested by Howard Melman <howard@silverstream.com>) | 338 | ;; speed-up (suggested by Howard Melman <howard@silverstream.com>) |
| 339 | ;; feedmail-sendmail-f-doesnt-sell-me-out to contol "-f" in call to sendmail | 339 | ;; feedmail-sendmail-f-doesnt-sell-me-out to control "-f" in call to sendmail |
| 340 | ;; in feedmail-buffer-to-sendmail | 340 | ;; in feedmail-buffer-to-sendmail |
| 341 | ;; better trapping of odd conditions during the running of the queue; | 341 | ;; better trapping of odd conditions during the running of the queue; |
| 342 | ;; thanks to Yigal Hochberg for helping me test much of this by remote | 342 | ;; thanks to Yigal Hochberg for helping me test much of this by remote |
| @@ -1356,7 +1356,7 @@ for you. Add this function to `mail-send-hook' with something like this: | |||
| 1356 | (add-hook 'mail-send-hook 'feedmail-mail-send-hook-splitter) | 1356 | (add-hook 'mail-send-hook 'feedmail-mail-send-hook-splitter) |
| 1357 | 1357 | ||
| 1358 | Then add the functions you want called to either `feedmail-mail-send-hook-queued' | 1358 | Then add the functions you want called to either `feedmail-mail-send-hook-queued' |
| 1359 | or `feedmail-mail-send-hook', as apprpriate. The distinction is that | 1359 | or `feedmail-mail-send-hook', as appropriate. The distinction is that |
| 1360 | `feedmail-mail-send-hook' will be called when you send mail from a composition | 1360 | `feedmail-mail-send-hook' will be called when you send mail from a composition |
| 1361 | buffer (typically by typing C-c C-c), whether the message is sent immediately | 1361 | buffer (typically by typing C-c C-c), whether the message is sent immediately |
| 1362 | or placed in the queue or drafts directory. `feedmail-mail-send-hook-queued' is | 1362 | or placed in the queue or drafts directory. `feedmail-mail-send-hook-queued' is |
| @@ -2188,7 +2188,7 @@ you can set `feedmail-queue-reminder-alist' to nil." | |||
| 2188 | (if (or (eq user-sez ?\C-m) (eq user-sez ?\C-j) (eq user-sez ?y)) | 2188 | (if (or (eq user-sez ?\C-m) (eq user-sez ?\C-j) (eq user-sez ?y)) |
| 2189 | (setq user-sez d-char)) | 2189 | (setq user-sez d-char)) |
| 2190 | ;; these char-to-int things are because of some | 2190 | ;; these char-to-int things are because of some |
| 2191 | ;; incomprensible difference between the two in | 2191 | ;; incomprehensible difference between the two in |
| 2192 | ;; byte-compiled stuff between Emacs and XEmacs | 2192 | ;; byte-compiled stuff between Emacs and XEmacs |
| 2193 | ;; (well, I'm sure someone could comprehend it, | 2193 | ;; (well, I'm sure someone could comprehend it, |
| 2194 | ;; but I say 'uncle') | 2194 | ;; but I say 'uncle') |
| @@ -2410,7 +2410,7 @@ mapped to mostly alphanumerics for safety." | |||
| 2410 | (a-re-dtcb "^\\(To\\|Cc\\|Bcc\\):") | 2410 | (a-re-dtcb "^\\(To\\|Cc\\|Bcc\\):") |
| 2411 | (a-re-dtc "^\\(To\\|Cc\\):") | 2411 | (a-re-dtc "^\\(To\\|Cc\\):") |
| 2412 | (a-re-db "^Bcc:") | 2412 | (a-re-db "^Bcc:") |
| 2413 | ;; to get a temporary changable copy | 2413 | ;; to get a temporary changeable copy |
| 2414 | (mail-header-separator mail-header-separator) | 2414 | (mail-header-separator mail-header-separator) |
| 2415 | ) | 2415 | ) |
| 2416 | (unwind-protect | 2416 | (unwind-protect |
diff --git a/lisp/mail/mail-extr.el b/lisp/mail/mail-extr.el index c3a7da41823..12826001d86 100644 --- a/lisp/mail/mail-extr.el +++ b/lisp/mail/mail-extr.el | |||
| @@ -1961,7 +1961,7 @@ place. It affects how `mail-extract-address-components' works." | |||
| 1961 | ("gw" "Guinea-Bissau") | 1961 | ("gw" "Guinea-Bissau") |
| 1962 | ("gy" "Guyana") | 1962 | ("gy" "Guyana") |
| 1963 | ("hk" "Hong Kong") | 1963 | ("hk" "Hong Kong") |
| 1964 | ("hm" "Heard Island and Mcdonald Islands") | 1964 | ("hm" "Heard Island and McDonald Islands") |
| 1965 | ("hn" "Honduras") | 1965 | ("hn" "Honduras") |
| 1966 | ("hr" "Croatia" "Croatia (Hrvatska)") | 1966 | ("hr" "Croatia" "Croatia (Hrvatska)") |
| 1967 | ("ht" "Haiti") | 1967 | ("ht" "Haiti") |
diff --git a/lisp/mail/metamail.el b/lisp/mail/metamail.el index 9269a24c4cb..fcc334ea30b 100644 --- a/lisp/mail/metamail.el +++ b/lisp/mail/metamail.el | |||
| @@ -165,7 +165,7 @@ redisplayed as output is inserted." | |||
| 165 | (list (format "EMACS_VIEW_MODE=%d" | 165 | (list (format "EMACS_VIEW_MODE=%d" |
| 166 | (if (numberp viewmode) viewmode 1))))) | 166 | (if (numberp viewmode) viewmode 1))))) |
| 167 | (save-excursion | 167 | (save-excursion |
| 168 | ;; Gee! Metamail does not ouput to stdout if input comes from | 168 | ;; Gee! Metamail does not output to stdout if input comes from |
| 169 | ;; stdin. | 169 | ;; stdin. |
| 170 | (let ((selective-display nil)) ;Disable ^M to nl translation. | 170 | (let ((selective-display nil)) ;Disable ^M to nl translation. |
| 171 | (write-region beg end metafile nil 'nomessage)) | 171 | (write-region beg end metafile nil 'nomessage)) |
diff --git a/lisp/mail/rmail-spam-filter.el b/lisp/mail/rmail-spam-filter.el index 70226b26965..14a76746797 100644 --- a/lisp/mail/rmail-spam-filter.el +++ b/lisp/mail/rmail-spam-filter.el | |||
| @@ -317,7 +317,7 @@ it from rmail file. Called for each new message retrieved by | |||
| 317 | ;; that this email is spam, output the email to the spam | 317 | ;; that this email is spam, output the email to the spam |
| 318 | ;; rmail file, mark the email for deletion, leave the | 318 | ;; rmail file, mark the email for deletion, leave the |
| 319 | ;; while loop and return nil so that an rmail summary line | 319 | ;; while loop and return nil so that an rmail summary line |
| 320 | ;; wont be displayed for this message: (FIXME ?) | 320 | ;; won't be displayed for this message: (FIXME ?) |
| 321 | (if (and (car maybe-spam) (cdr maybe-spam)) | 321 | (if (and (car maybe-spam) (cdr maybe-spam)) |
| 322 | (setq exit-while-loop t) | 322 | (setq exit-while-loop t) |
| 323 | ;; Else, spam was not yet found, proceed to next element | 323 | ;; Else, spam was not yet found, proceed to next element |
| @@ -554,4 +554,4 @@ checks to see if the old format is used, and updates it if necessary." | |||
| 554 | 554 | ||
| 555 | (provide 'rmail-spam-filter) | 555 | (provide 'rmail-spam-filter) |
| 556 | 556 | ||
| 557 | ;;; rmail-spam-fitler ends here | 557 | ;;; rmail-spam-filter ends here |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 76c9b87f881..a8efe10ec76 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -631,33 +631,29 @@ Element N specifies the summary line for message N+1.") | |||
| 631 | This is set to nil by default.") | 631 | This is set to nil by default.") |
| 632 | 632 | ||
| 633 | (defcustom rmail-enable-mime t | 633 | (defcustom rmail-enable-mime t |
| 634 | "If non-nil, RMAIL uses MIME features. | 634 | "If non-nil, RMAIL automatically displays decoded MIME messages. |
| 635 | If the value is t, RMAIL automatically shows MIME decoded message. | 635 | For this to work, the feature specified by `rmail-mime-feature' must |
| 636 | If the value is neither t nor nil, RMAIL does not show MIME decoded message | 636 | be available." |
| 637 | until a user explicitly requires it. | 637 | :type 'boolean |
| 638 | |||
| 639 | Even if the value is non-nil, you can't use MIME features | ||
| 640 | unless the feature specified by `rmail-mime-feature' is available." | ||
| 641 | :type '(choice (const :tag "on" t) | ||
| 642 | (const :tag "off" nil) | ||
| 643 | (other :tag "when asked" ask)) | ||
| 644 | :version "23.3" | 638 | :version "23.3" |
| 645 | :group 'rmail) | 639 | :group 'rmail) |
| 646 | 640 | ||
| 647 | (defvar rmail-enable-mime-composing t | 641 | (defcustom rmail-enable-mime-composing t |
| 648 | "*If non-nil, RMAIL uses `rmail-insert-mime-forwarded-message-function' to forward.") | 642 | "If non-nil, use `rmail-insert-mime-forwarded-message-function' to forward." |
| 643 | :type 'boolean | ||
| 644 | :version "24.1" ; nil -> t | ||
| 645 | :group 'rmail) | ||
| 649 | 646 | ||
| 650 | ;; FIXME unused. | ||
| 651 | (defvar rmail-show-mime-function nil | 647 | (defvar rmail-show-mime-function nil |
| 652 | "Function to show MIME decoded message of RMAIL file. | 648 | "Function of no argument called to show a decoded MIME message. |
| 653 | This function is called when `rmail-enable-mime' is non-nil. | 649 | This function is called when `rmail-enable-mime' is non-nil. |
| 654 | It is called with no argument.") | 650 | The package providing MIME support should set this.") |
| 655 | 651 | ||
| 656 | ;;;###autoload | 652 | ;;;###autoload |
| 657 | (defvar rmail-insert-mime-forwarded-message-function nil | 653 | (defvar rmail-insert-mime-forwarded-message-function nil |
| 658 | "Function to insert a message in MIME format so it can be forwarded. | 654 | "Function to insert a message in MIME format so it can be forwarded. |
| 659 | This function is called if `rmail-enable-mime' or | 655 | This function is called if `rmail-enable-mime' and |
| 660 | `rmail-enable-mime-composing' is non-nil. | 656 | `rmail-enable-mime-composing' are non-nil. |
| 661 | It is called with one argument FORWARD-BUFFER, which is a | 657 | It is called with one argument FORWARD-BUFFER, which is a |
| 662 | buffer containing the message to forward. The current buffer | 658 | buffer containing the message to forward. The current buffer |
| 663 | is the outgoing mail buffer.") | 659 | is the outgoing mail buffer.") |
| @@ -687,13 +683,18 @@ where MSG is the message number, REGEXP is the regular | |||
| 687 | expression, LIMIT is the position specifying the end of header.") | 683 | expression, LIMIT is the position specifying the end of header.") |
| 688 | 684 | ||
| 689 | (defvar rmail-mime-feature 'rmailmm | 685 | (defvar rmail-mime-feature 'rmailmm |
| 690 | "Feature to require to load MIME support in Rmail. | 686 | "Feature to require for MIME support in Rmail. |
| 691 | When starting Rmail, if `rmail-enable-mime' is non-nil, | 687 | When starting Rmail, if `rmail-enable-mime' is non-nil, this |
| 692 | this feature is required with `require'. | 688 | feature is loaded with `require'. The default value is `rmailmm'. |
| 693 | 689 | ||
| 694 | The default value is `rmailmm'") | 690 | The library should set the variable `rmail-show-mime-function' |
| 695 | 691 | to an appropriate value, and optionally also set | |
| 696 | ;; FIXME this is unused. | 692 | `rmail-search-mime-message-function', |
| 693 | `rmail-search-mime-header-function', | ||
| 694 | `rmail-insert-mime-forwarded-message-function', and | ||
| 695 | `rmail-insert-mime-resent-message-function'.") | ||
| 696 | |||
| 697 | ;; FIXME this is unused since 23.1. | ||
| 697 | (defvar rmail-decode-mime-charset t | 698 | (defvar rmail-decode-mime-charset t |
| 698 | "*Non-nil means a message is decoded by MIME's charset specification. | 699 | "*Non-nil means a message is decoded by MIME's charset specification. |
| 699 | If this variable is nil, or the message has not MIME specification, | 700 | If this variable is nil, or the message has not MIME specification, |
| @@ -703,6 +704,9 @@ If the variable `rmail-enable-mime' is non-nil, this variable is | |||
| 703 | ignored, and all the decoding work is done by a feature specified by | 704 | ignored, and all the decoding work is done by a feature specified by |
| 704 | the variable `rmail-mime-feature'.") | 705 | the variable `rmail-mime-feature'.") |
| 705 | 706 | ||
| 707 | (make-obsolete-variable 'rmail-decode-mime-charset | ||
| 708 | "it does nothing." "23.1") | ||
| 709 | |||
| 706 | (defvar rmail-mime-charset-pattern | 710 | (defvar rmail-mime-charset-pattern |
| 707 | (concat "^content-type:[ \t]*text/plain;" | 711 | (concat "^content-type:[ \t]*text/plain;" |
| 708 | "\\(?:[ \t\n]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*" | 712 | "\\(?:[ \t\n]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*" |
| @@ -837,10 +841,10 @@ isn't provided." | |||
| 837 | (display-warning | 841 | (display-warning |
| 838 | 'rmail | 842 | 'rmail |
| 839 | (format "Although MIME support is requested | 843 | (format "Although MIME support is requested |
| 840 | by setting `rmail-enable-mime' to non-nil, the required feature | 844 | through `rmail-enable-mime' being non-nil, the required feature |
| 841 | `%s' (the value of `rmail-mime-feature') | 845 | `%s' (the value of `rmail-mime-feature') |
| 842 | is not available in the current session. | 846 | is not available in the current session. |
| 843 | So, the MIME support is turned off for the moment." | 847 | So, MIME support is turned off for the moment." |
| 844 | rmail-mime-feature) | 848 | rmail-mime-feature) |
| 845 | :warning) | 849 | :warning) |
| 846 | (setq rmail-enable-mime nil))))) | 850 | (setq rmail-enable-mime nil))))) |
| @@ -2071,7 +2075,7 @@ Call with point at the end of the message." | |||
| 2071 | (defun rmail-add-mbox-headers () | 2075 | (defun rmail-add-mbox-headers () |
| 2072 | "Validate the RFC2822 format for the new messages. | 2076 | "Validate the RFC2822 format for the new messages. |
| 2073 | Point should be at the first new message. | 2077 | Point should be at the first new message. |
| 2074 | An error is signalled if the new messages are not RFC2822 | 2078 | An error is signaled if the new messages are not RFC2822 |
| 2075 | compliant. | 2079 | compliant. |
| 2076 | Unless an Rmail attribute header already exists, add it to the | 2080 | Unless an Rmail attribute header already exists, add it to the |
| 2077 | new messages. Return the number of new messages." | 2081 | new messages. Return the number of new messages." |
| @@ -2440,7 +2444,7 @@ Output a helpful message unless NOMSG is non-nil." | |||
| 2440 | ;; the entry for message N+1, which marks | 2444 | ;; the entry for message N+1, which marks |
| 2441 | ;; the end of message N. (N = number of messages). | 2445 | ;; the end of message N. (N = number of messages). |
| 2442 | (setq messages-head (list (point-marker))) | 2446 | (setq messages-head (list (point-marker))) |
| 2443 | (setq messages-after-point | 2447 | (setq messages-after-point |
| 2444 | (or (rmail-set-message-counters-counter (min (point) point-save)) | 2448 | (or (rmail-set-message-counters-counter (min (point) point-save)) |
| 2445 | 0)) | 2449 | 0)) |
| 2446 | 2450 | ||
| @@ -2700,6 +2704,7 @@ The current mail message becomes the message displayed." | |||
| 2700 | ;; inspect this value to determine how to toggle. | 2704 | ;; inspect this value to determine how to toggle. |
| 2701 | (set (make-local-variable 'rmail-header-style) header-style)) | 2705 | (set (make-local-variable 'rmail-header-style) header-style)) |
| 2702 | (if (and rmail-enable-mime | 2706 | (if (and rmail-enable-mime |
| 2707 | rmail-show-mime-function | ||
| 2703 | (re-search-forward "mime-version: 1.0" nil t)) | 2708 | (re-search-forward "mime-version: 1.0" nil t)) |
| 2704 | (let ((rmail-buffer mbox-buf) | 2709 | (let ((rmail-buffer mbox-buf) |
| 2705 | (rmail-view-buffer view-buf)) | 2710 | (rmail-view-buffer view-buf)) |
| @@ -3096,7 +3101,7 @@ but probably is garbage." | |||
| 3096 | ;; correspond to the lines in the inbox file. | 3101 | ;; correspond to the lines in the inbox file. |
| 3097 | (goto-char (point-min)) | 3102 | (goto-char (point-min)) |
| 3098 | (if header-field | 3103 | (if header-field |
| 3099 | (progn | 3104 | (progn |
| 3100 | (re-search-forward (concat "^" (regexp-quote header-field)) nil t) | 3105 | (re-search-forward (concat "^" (regexp-quote header-field)) nil t) |
| 3101 | (forward-line line-number-within)) | 3106 | (forward-line line-number-within)) |
| 3102 | (search-forward "\n\n" nil t) | 3107 | (search-forward "\n\n" nil t) |
| @@ -3134,10 +3139,9 @@ but probably is garbage." | |||
| 3134 | ;; This is adequate because its only caller, rmail-search, | 3139 | ;; This is adequate because its only caller, rmail-search, |
| 3135 | ;; unswaps the buffers. | 3140 | ;; unswaps the buffers. |
| 3136 | (goto-char (rmail-msgbeg msg)) | 3141 | (goto-char (rmail-msgbeg msg)) |
| 3137 | (if rmail-enable-mime | 3142 | (if (and rmail-enable-mime |
| 3138 | (if rmail-search-mime-message-function | 3143 | rmail-search-mime-message-function) |
| 3139 | (funcall rmail-search-mime-message-function msg regexp) | 3144 | (funcall rmail-search-mime-message-function msg regexp) |
| 3140 | (error "You must set `rmail-search-mime-message-function'")) | ||
| 3141 | (re-search-forward regexp (rmail-msgend msg) t))) | 3145 | (re-search-forward regexp (rmail-msgend msg) t))) |
| 3142 | 3146 | ||
| 3143 | (defvar rmail-search-last-regexp nil) | 3147 | (defvar rmail-search-last-regexp nil) |
| @@ -3804,7 +3808,8 @@ see the documentation of `rmail-resend'." | |||
| 3804 | ;; Insert after header separator--before signature if any. | 3808 | ;; Insert after header separator--before signature if any. |
| 3805 | (rfc822-goto-eoh) | 3809 | (rfc822-goto-eoh) |
| 3806 | (forward-line 1) | 3810 | (forward-line 1) |
| 3807 | (if (and rmail-enable-mime rmail-enable-mime-composing) | 3811 | (if (and rmail-enable-mime rmail-enable-mime-composing |
| 3812 | rmail-insert-mime-forwarded-message-function) | ||
| 3808 | (prog1 | 3813 | (prog1 |
| 3809 | (funcall rmail-insert-mime-forwarded-message-function | 3814 | (funcall rmail-insert-mime-forwarded-message-function |
| 3810 | forward-buffer) | 3815 | forward-buffer) |
| @@ -3860,10 +3865,9 @@ typically for purposes of moderating a list." | |||
| 3860 | (unwind-protect | 3865 | (unwind-protect |
| 3861 | (with-current-buffer tembuf | 3866 | (with-current-buffer tembuf |
| 3862 | ;;>> Copy message into temp buffer | 3867 | ;;>> Copy message into temp buffer |
| 3863 | (if rmail-enable-mime | 3868 | (if (and rmail-enable-mime |
| 3864 | (if rmail-insert-mime-resent-message-function | 3869 | rmail-insert-mime-resent-message-function) |
| 3865 | (funcall rmail-insert-mime-resent-message-function mailbuf) | 3870 | (funcall rmail-insert-mime-resent-message-function mailbuf) |
| 3866 | (error "You must set `rmail-insert-mime-resent-message-function'")) | ||
| 3867 | (insert-buffer-substring mailbuf)) | 3871 | (insert-buffer-substring mailbuf)) |
| 3868 | (goto-char (point-min)) | 3872 | (goto-char (point-min)) |
| 3869 | ;; Delete any Sender field, since that's not specifiable. | 3873 | ;; Delete any Sender field, since that's not specifiable. |
| @@ -4445,7 +4449,7 @@ encoded string (and the same mask) will decode the string." | |||
| 4445 | ;;; Start of automatically extracted autoloads. | 4449 | ;;; Start of automatically extracted autoloads. |
| 4446 | 4450 | ||
| 4447 | ;;;### (autoloads (rmail-edit-current-message) "rmailedit" "rmailedit.el" | 4451 | ;;;### (autoloads (rmail-edit-current-message) "rmailedit" "rmailedit.el" |
| 4448 | ;;;;;; "090ad9432c3bf9a6098bb9c3d7c71baf") | 4452 | ;;;;;; "7f9bff22ed0bbac561c97fd1e3ab503d") |
| 4449 | ;;; Generated autoloads from rmailedit.el | 4453 | ;;; Generated autoloads from rmailedit.el |
| 4450 | 4454 | ||
| 4451 | (autoload 'rmail-edit-current-message "rmailedit" "\ | 4455 | (autoload 'rmail-edit-current-message "rmailedit" "\ |
| @@ -4500,28 +4504,29 @@ With prefix argument N moves forward N messages with these labels. | |||
| 4500 | 4504 | ||
| 4501 | ;;;*** | 4505 | ;;;*** |
| 4502 | 4506 | ||
| 4503 | ;;;### (autoloads (rmail-mime) "rmailmm" "rmailmm.el" "2c8675d7c069c68bc36a4003b15448d1") | 4507 | ;;;### (autoloads (rmail-mime) "rmailmm" "rmailmm.el" "6296f0170a37670c49a88a1b92d78187") |
| 4504 | ;;; Generated autoloads from rmailmm.el | 4508 | ;;; Generated autoloads from rmailmm.el |
| 4505 | 4509 | ||
| 4506 | (autoload 'rmail-mime "rmailmm" "\ | 4510 | (autoload 'rmail-mime "rmailmm" "\ |
| 4507 | Toggle displaying of a MIME message. | 4511 | Toggle the display of a MIME message. |
| 4508 | |||
| 4509 | The actualy behavior depends on the value of `rmail-enable-mime'. | ||
| 4510 | 4512 | ||
| 4511 | If `rmail-enable-mime' is t (default), this command change the | 4513 | The actual behavior depends on the value of `rmail-enable-mime'. |
| 4512 | displaying of a MIME message between decoded presentation form | ||
| 4513 | and raw data. | ||
| 4514 | 4514 | ||
| 4515 | With ARG, toggle the displaying of the current MIME entity only. | 4515 | If `rmail-enable-mime' is non-nil (the default), this command toggles |
| 4516 | the display of a MIME message between decoded presentation form and | ||
| 4517 | raw data. With optional prefix argument ARG, it toggles the display only | ||
| 4518 | of the MIME entity at point, if there is one. The optional argument | ||
| 4519 | STATE forces a particular display state, rather than toggling. | ||
| 4520 | `raw' forces raw mode, any other non-nil value forces decoded mode. | ||
| 4516 | 4521 | ||
| 4517 | If `rmail-enable-mime' is nil, this creates a temporary | 4522 | If `rmail-enable-mime' is nil, this creates a temporary \"*RMAIL*\" |
| 4518 | \"*RMAIL*\" buffer holding a decoded copy of the message. Inline | 4523 | buffer holding a decoded copy of the message. Inline content-types are |
| 4519 | content-types are handled according to | 4524 | handled according to `rmail-mime-media-type-handlers-alist'. |
| 4520 | `rmail-mime-media-type-handlers-alist'. By default, this | 4525 | By default, this displays text and multipart messages, and offers to |
| 4521 | displays text and multipart messages, and offers to download | 4526 | download attachments as specified by `rmail-mime-attachment-dirs-alist'. |
| 4522 | attachments as specfied by `rmail-mime-attachment-dirs-alist'. | 4527 | The arguments ARG and STATE have no effect in this case. |
| 4523 | 4528 | ||
| 4524 | \(fn &optional ARG)" t nil) | 4529 | \(fn &optional ARG STATE)" t nil) |
| 4525 | 4530 | ||
| 4526 | ;;;*** | 4531 | ;;;*** |
| 4527 | 4532 | ||
| @@ -4601,7 +4606,7 @@ If prefix argument REVERSE is non-nil, sorts in reverse order. | |||
| 4601 | 4606 | ||
| 4602 | ;;;### (autoloads (rmail-summary-by-senders rmail-summary-by-topic | 4607 | ;;;### (autoloads (rmail-summary-by-senders rmail-summary-by-topic |
| 4603 | ;;;;;; rmail-summary-by-regexp rmail-summary-by-recipients rmail-summary-by-labels | 4608 | ;;;;;; rmail-summary-by-regexp rmail-summary-by-recipients rmail-summary-by-labels |
| 4604 | ;;;;;; rmail-summary) "rmailsum" "rmailsum.el" "3817e21639db697abe5832d3223ecfc2") | 4609 | ;;;;;; rmail-summary) "rmailsum" "rmailsum.el" "35e07b0a5ea8e41971f31a8780eba6bb") |
| 4605 | ;;; Generated autoloads from rmailsum.el | 4610 | ;;; Generated autoloads from rmailsum.el |
| 4606 | 4611 | ||
| 4607 | (autoload 'rmail-summary "rmailsum" "\ | 4612 | (autoload 'rmail-summary "rmailsum" "\ |
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el index 868ca15923f..7e70f66ef11 100644 --- a/lisp/mail/rmailedit.el +++ b/lisp/mail/rmailedit.el | |||
| @@ -78,6 +78,7 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'. | |||
| 78 | 78 | ||
| 79 | 79 | ||
| 80 | (defvar rmail-old-text) | 80 | (defvar rmail-old-text) |
| 81 | (defvar rmail-old-mime-state) | ||
| 81 | (defvar rmail-old-pruned nil | 82 | (defvar rmail-old-pruned nil |
| 82 | "Non-nil means the message being edited originally had pruned headers.") | 83 | "Non-nil means the message being edited originally had pruned headers.") |
| 83 | (put 'rmail-old-pruned 'permanent-local t) | 84 | (put 'rmail-old-pruned 'permanent-local t) |
| @@ -86,6 +87,10 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'. | |||
| 86 | "Holds the headers of this message before editing started.") | 87 | "Holds the headers of this message before editing started.") |
| 87 | (put 'rmail-old-headers 'permanent-local t) | 88 | (put 'rmail-old-headers 'permanent-local t) |
| 88 | 89 | ||
| 90 | ;; Everything we use from here is a defsubst. | ||
| 91 | (eval-when-compile | ||
| 92 | (require 'rmailmm)) | ||
| 93 | |||
| 89 | ;;;###autoload | 94 | ;;;###autoload |
| 90 | (defun rmail-edit-current-message () | 95 | (defun rmail-edit-current-message () |
| 91 | "Edit the contents of this message." | 96 | "Edit the contents of this message." |
| @@ -96,6 +101,28 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'. | |||
| 96 | (make-local-variable 'rmail-old-pruned) | 101 | (make-local-variable 'rmail-old-pruned) |
| 97 | (setq rmail-old-pruned (rmail-msg-is-pruned)) | 102 | (setq rmail-old-pruned (rmail-msg-is-pruned)) |
| 98 | (rmail-edit-mode) | 103 | (rmail-edit-mode) |
| 104 | (set (make-local-variable 'rmail-old-mime-state) | ||
| 105 | (and rmail-enable-mime | ||
| 106 | ;; If you use something else, you are on your own. | ||
| 107 | (eq rmail-mime-feature 'rmailmm) | ||
| 108 | (rmail-mime-message-p) | ||
| 109 | (let ((entity (get-text-property (point-min) 'rmail-mime-entity))) | ||
| 110 | ;; rmailmm has got its hands on the message. | ||
| 111 | ;; Even if the message is in `raw' state, boundaries etc | ||
| 112 | ;; are still missing. All we can do is insert the real | ||
| 113 | ;; raw message. (Bug#9840) | ||
| 114 | (when (and entity | ||
| 115 | (not (equal "text/plain" | ||
| 116 | (car (rmail-mime-entity-type entity))))) | ||
| 117 | (let ((inhibit-read-only t)) | ||
| 118 | (erase-buffer) | ||
| 119 | (insert-buffer-substring | ||
| 120 | rmail-view-buffer | ||
| 121 | (aref (rmail-mime-entity-header entity) 0) | ||
| 122 | (aref (rmail-mime-entity-body entity) 1))) | ||
| 123 | (goto-char (point-min)) | ||
| 124 | ;; t = decoded; raw = raw. | ||
| 125 | (aref (aref (rmail-mime-entity-display entity) 0) 0))))) | ||
| 99 | (make-local-variable 'rmail-old-text) | 126 | (make-local-variable 'rmail-old-text) |
| 100 | (setq rmail-old-text | 127 | (setq rmail-old-text |
| 101 | (save-restriction | 128 | (save-restriction |
| @@ -134,7 +161,10 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'. | |||
| 134 | (error "There must be a blank line at the end of the headers")) | 161 | (error "There must be a blank line at the end of the headers")) |
| 135 | ;; Disguise any "From " lines so they don't start a new message. | 162 | ;; Disguise any "From " lines so they don't start a new message. |
| 136 | (goto-char (point-min)) | 163 | (goto-char (point-min)) |
| 137 | (or rmail-old-pruned (forward-line 1)) | 164 | ;; This tries to skip the mbox From. FIXME less fragile to go to EOH? |
| 165 | (if (or rmail-old-mime-state | ||
| 166 | (not rmail-old-pruned)) | ||
| 167 | (forward-line 1)) | ||
| 138 | (while (re-search-forward "^>*From " nil t) | 168 | (while (re-search-forward "^>*From " nil t) |
| 139 | (beginning-of-line) | 169 | (beginning-of-line) |
| 140 | (insert ">") | 170 | (insert ">") |
| @@ -145,6 +175,7 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'. | |||
| 145 | (rmail-ensure-blank-line) | 175 | (rmail-ensure-blank-line) |
| 146 | (let ((old rmail-old-text) | 176 | (let ((old rmail-old-text) |
| 147 | (pruned rmail-old-pruned) | 177 | (pruned rmail-old-pruned) |
| 178 | (mime-state rmail-old-mime-state) | ||
| 148 | ;; People who know what they are doing might have modified the | 179 | ;; People who know what they are doing might have modified the |
| 149 | ;; buffer's encoding if editing the message included inserting | 180 | ;; buffer's encoding if editing the message included inserting |
| 150 | ;; characters that were unencodable by the original message's | 181 | ;; characters that were unencodable by the original message's |
| @@ -256,7 +287,9 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'. | |||
| 256 | ;;; (if (boundp 'rmail-summary-vector) | 287 | ;;; (if (boundp 'rmail-summary-vector) |
| 257 | ;;; (aset rmail-summary-vector (1- rmail-current-message) nil)) | 288 | ;;; (aset rmail-summary-vector (1- rmail-current-message) nil)) |
| 258 | (rmail-show-message) | 289 | (rmail-show-message) |
| 259 | (rmail-toggle-header (if pruned 1 0))) | 290 | (rmail-toggle-header (if pruned 1 0)) |
| 291 | ;; Restore mime display state. | ||
| 292 | (and mime-state (rmail-mime nil mime-state))) | ||
| 260 | (run-hooks 'rmail-mode-hook)) | 293 | (run-hooks 'rmail-mode-hook)) |
| 261 | 294 | ||
| 262 | (defun rmail-abort-edit () | 295 | (defun rmail-abort-edit () |
diff --git a/lisp/mail/rmailmm.el b/lisp/mail/rmailmm.el index d3351255583..31e34cd098f 100644 --- a/lisp/mail/rmailmm.el +++ b/lisp/mail/rmailmm.el | |||
| @@ -155,7 +155,7 @@ MIME entities.") | |||
| 155 | (defun rmail-mime-entity (type disposition transfer-encoding | 155 | (defun rmail-mime-entity (type disposition transfer-encoding |
| 156 | display header tagline body children handler | 156 | display header tagline body children handler |
| 157 | &optional truncated) | 157 | &optional truncated) |
| 158 | "Retrun a newly created MIME-entity object from arguments. | 158 | "Return a newly created MIME-entity object from arguments. |
| 159 | 159 | ||
| 160 | A MIME-entity is a vector of 10 elements: | 160 | A MIME-entity is a vector of 10 elements: |
| 161 | 161 | ||
| @@ -180,16 +180,16 @@ The corresponding TYPE argument must be: | |||
| 180 | \(\"boundary\" . \"----=_NextPart_000_0104_01C617E4.BDEC4C40\")) | 180 | \(\"boundary\" . \"----=_NextPart_000_0104_01C617E4.BDEC4C40\")) |
| 181 | 181 | ||
| 182 | TRANSFER-ENCODING corresponds to MIME header | 182 | TRANSFER-ENCODING corresponds to MIME header |
| 183 | Content-Transfer-Encoding, and is a lowercased string. | 183 | Content-Transfer-Encoding, and is a lower-case string. |
| 184 | 184 | ||
| 185 | DISPLAY is a vector [CURRENT NEW], where CURRENT indicates how | 185 | DISPLAY is a vector [CURRENT NEW], where CURRENT indicates how |
| 186 | the header, tagline, and body of the entity are displayed now, | 186 | the header, tag line, and body of the entity are displayed now, |
| 187 | and NEW indicates how their displaying should be updated. | 187 | and NEW indicates how their display should be updated. |
| 188 | Both elements are vector [HEADER-DISPLAY TAGLINE-DISPLAY BODY-DISPLAY], | 188 | Both elements are vectors [HEADER-DISPLAY TAGLINE-DISPLAY BODY-DISPLAY], |
| 189 | where each element is a symbol for the corresponding item that | 189 | where each constituent element is a symbol for the corresponding |
| 190 | has these values: | 190 | item with these values: |
| 191 | nil: not displayed | 191 | nil: not displayed |
| 192 | t: displayed by the decoded presentation form | 192 | t: displayed by the decoded presentation form |
| 193 | raw: displayed by the raw MIME data (for the header and body only) | 193 | raw: displayed by the raw MIME data (for the header and body only) |
| 194 | 194 | ||
| 195 | HEADER and BODY are vectors [BEG END DISPLAY-FLAG], where BEG and | 195 | HEADER and BODY are vectors [BEG END DISPLAY-FLAG], where BEG and |
| @@ -201,11 +201,11 @@ presentation form. | |||
| 201 | TAGLINE is a vector [TAG BULK-DATA DISPLAY-FLAG], where TAG is a | 201 | TAGLINE is a vector [TAG BULK-DATA DISPLAY-FLAG], where TAG is a |
| 202 | string indicating the depth and index number of the entity, | 202 | string indicating the depth and index number of the entity, |
| 203 | BULK-DATA is a cons (SIZE . TYPE) indicating the size and type of | 203 | BULK-DATA is a cons (SIZE . TYPE) indicating the size and type of |
| 204 | an attached data, DISPLAY-FLAG non-nil means that the tagline is, | 204 | an attached data, DISPLAY-FLAG non-nil means that the tag line is |
| 205 | by default, displayed. | 205 | displayed by default. |
| 206 | 206 | ||
| 207 | CHILDREN is a list of child MIME-entities. A \"multipart/*\" | 207 | CHILDREN is a list of child MIME-entities. A \"multipart/*\" |
| 208 | entity have one or more children. A \"message/rfc822\" entity | 208 | entity has one or more children. A \"message/rfc822\" entity |
| 209 | has just one child. Any other entity has no child. | 209 | has just one child. Any other entity has no child. |
| 210 | 210 | ||
| 211 | HANDLER is a function to insert the entity according to DISPLAY. | 211 | HANDLER is a function to insert the entity according to DISPLAY. |
| @@ -281,13 +281,20 @@ TRUNCATED is non-nil if the text of this entity was truncated." | |||
| 281 | 281 | ||
| 282 | (define-button-type 'rmail-mime-save 'action 'rmail-mime-save) | 282 | (define-button-type 'rmail-mime-save 'action 'rmail-mime-save) |
| 283 | 283 | ||
| 284 | ;; Display options returned by rmail-mime-entity-display. | ||
| 285 | ;; Value is on of nil, t, raw. | ||
| 286 | (defsubst rmail-mime-display-header (disp) (aref disp 0)) | ||
| 287 | (defsubst rmail-mime-display-tagline (disp) (aref disp 1)) | ||
| 288 | (defsubst rmail-mime-display-body (disp) (aref disp 2)) | ||
| 289 | |||
| 284 | (defun rmail-mime-entity-segment (pos &optional entity) | 290 | (defun rmail-mime-entity-segment (pos &optional entity) |
| 285 | "Return a vector describing the displayed region of a MIME-entity at POS. | 291 | "Return a vector describing the displayed region of a MIME-entity at POS. |
| 286 | Optional 2nd argument ENTITY is the MIME-entity at POS. | 292 | Optional 2nd argument ENTITY is the MIME-entity at POS. |
| 287 | The value is a vector [ INDEX HEADER TAGLINE BODY END], where | 293 | The value is a vector [INDEX HEADER TAGLINE BODY END], where |
| 288 | INDEX: index into the returned vector indicating where POS is (1..3). | 294 | INDEX: index into the returned vector indicating where POS is (1..3) |
| 289 | HEADER: the position of the beginning of a header | 295 | HEADER: the position of the beginning of a header |
| 290 | TAGLINE: the position of the beginning of a tagline | 296 | TAGLINE: the position of the beginning of a tag line, including |
| 297 | the newline that precedes it | ||
| 291 | BODY: the position of the beginning of a body | 298 | BODY: the position of the beginning of a body |
| 292 | END: the position of the end of the entity." | 299 | END: the position of the end of the entity." |
| 293 | (save-excursion | 300 | (save-excursion |
| @@ -305,21 +312,32 @@ The value is a vector [ INDEX HEADER TAGLINE BODY END], where | |||
| 305 | (index 1) | 312 | (index 1) |
| 306 | tagline-beg body-beg end) | 313 | tagline-beg body-beg end) |
| 307 | (goto-char beg) | 314 | (goto-char beg) |
| 308 | (if (aref current 0) | 315 | ;; If the header is displayed, get past it to the tagline. |
| 316 | (if (rmail-mime-display-header current) | ||
| 309 | (search-forward "\n\n" nil t)) | 317 | (search-forward "\n\n" nil t)) |
| 310 | (setq tagline-beg (point)) | 318 | (setq tagline-beg (point)) |
| 311 | (if (>= pos tagline-beg) | 319 | (if (>= pos tagline-beg) |
| 312 | (setq index 2)) | 320 | (setq index 2)) |
| 313 | (if (aref current 1) | 321 | ;; If the tagline is displayed, get past it to the body. |
| 314 | (forward-line 1)) | 322 | (if (rmail-mime-display-tagline current) |
| 323 | ;; The next foward-line call must be in sync with how | ||
| 324 | ;; `rmail-mime-insert-tagline' formats the tagline. The | ||
| 325 | ;; body begins after the empty line that ends the tagline. | ||
| 326 | (forward-line 3)) | ||
| 315 | (setq body-beg (point)) | 327 | (setq body-beg (point)) |
| 316 | (if (>= pos body-beg) | 328 | (if (>= pos body-beg) |
| 317 | (setq index 3)) | 329 | (setq index 3)) |
| 318 | (if (aref current 2) | 330 | ;; If the body is displayed, find its end. |
| 331 | (if (rmail-mime-display-body current) | ||
| 319 | (let ((tag (aref (rmail-mime-entity-tagline entity) 0)) | 332 | (let ((tag (aref (rmail-mime-entity-tagline entity) 0)) |
| 320 | tag2) | 333 | tag2) |
| 321 | (setq end (next-single-property-change beg 'rmail-mime-entity | 334 | (setq end (next-single-property-change beg 'rmail-mime-entity |
| 322 | nil (point-max))) | 335 | nil (point-max))) |
| 336 | ;; `tag' is either an empty string or "/n" where n is | ||
| 337 | ;; the number of the part of the multipart MIME message. | ||
| 338 | ;; The loop below finds the next location whose | ||
| 339 | ;; `rmail-mime-entity' property specifies a tag of a | ||
| 340 | ;; different value. | ||
| 323 | (while (and (< end (point-max)) | 341 | (while (and (< end (point-max)) |
| 324 | (setq entity (get-text-property end 'rmail-mime-entity) | 342 | (setq entity (get-text-property end 'rmail-mime-entity) |
| 325 | tag2 (aref (rmail-mime-entity-tagline entity) 0)) | 343 | tag2 (aref (rmail-mime-entity-tagline entity) 0)) |
| @@ -331,7 +349,7 @@ The value is a vector [ INDEX HEADER TAGLINE BODY END], where | |||
| 331 | (vector index beg tagline-beg body-beg end))))) | 349 | (vector index beg tagline-beg body-beg end))))) |
| 332 | 350 | ||
| 333 | (defun rmail-mime-shown-mode (entity) | 351 | (defun rmail-mime-shown-mode (entity) |
| 334 | "Make MIME-entity ENTITY displayed by the default way." | 352 | "Make MIME-entity ENTITY display in the default way." |
| 335 | (let ((new (aref (rmail-mime-entity-display entity) 1))) | 353 | (let ((new (aref (rmail-mime-entity-display entity) 1))) |
| 336 | (aset new 0 (aref (rmail-mime-entity-header entity) 2)) | 354 | (aset new 0 (aref (rmail-mime-entity-header entity) 2)) |
| 337 | (aset new 1 (aref (rmail-mime-entity-tagline entity) 2)) | 355 | (aset new 1 (aref (rmail-mime-entity-tagline entity) 2)) |
| @@ -340,7 +358,7 @@ The value is a vector [ INDEX HEADER TAGLINE BODY END], where | |||
| 340 | (rmail-mime-shown-mode child))) | 358 | (rmail-mime-shown-mode child))) |
| 341 | 359 | ||
| 342 | (defun rmail-mime-hidden-mode (entity) | 360 | (defun rmail-mime-hidden-mode (entity) |
| 343 | "Make MIME-entity ENTITY displayed in the hidden mode." | 361 | "Make MIME-entity ENTITY display in hidden mode." |
| 344 | (let ((new (aref (rmail-mime-entity-display entity) 1))) | 362 | (let ((new (aref (rmail-mime-entity-display entity) 1))) |
| 345 | (aset new 0 nil) | 363 | (aset new 0 nil) |
| 346 | (aset new 1 t) | 364 | (aset new 1 t) |
| @@ -349,7 +367,7 @@ The value is a vector [ INDEX HEADER TAGLINE BODY END], where | |||
| 349 | (rmail-mime-hidden-mode child))) | 367 | (rmail-mime-hidden-mode child))) |
| 350 | 368 | ||
| 351 | (defun rmail-mime-raw-mode (entity) | 369 | (defun rmail-mime-raw-mode (entity) |
| 352 | "Make MIME-entity ENTITY displayed in the raw mode." | 370 | "Make MIME-entity ENTITY display in raw mode." |
| 353 | (let ((new (aref (rmail-mime-entity-display entity) 1))) | 371 | (let ((new (aref (rmail-mime-entity-display entity) 1))) |
| 354 | (aset new 0 'raw) | 372 | (aset new 0 'raw) |
| 355 | (aset new 1 nil) | 373 | (aset new 1 nil) |
| @@ -357,13 +375,17 @@ The value is a vector [ INDEX HEADER TAGLINE BODY END], where | |||
| 357 | (dolist (child (rmail-mime-entity-children entity)) | 375 | (dolist (child (rmail-mime-entity-children entity)) |
| 358 | (rmail-mime-raw-mode child))) | 376 | (rmail-mime-raw-mode child))) |
| 359 | 377 | ||
| 360 | (defun rmail-mime-toggle-raw (entity) | 378 | (defun rmail-mime-toggle-raw (&optional state) |
| 361 | "Toggle on and off the raw display mode of MIME-entity ENTITY." | 379 | "Toggle on and off the raw display mode of MIME-entity at point. |
| 380 | With optional argument STATE, force the specified display mode. | ||
| 381 | Use `raw' for raw mode, and any other non-nil value for decoded mode." | ||
| 362 | (let* ((pos (if (eobp) (1- (point-max)) (point))) | 382 | (let* ((pos (if (eobp) (1- (point-max)) (point))) |
| 363 | (entity (get-text-property pos 'rmail-mime-entity)) | 383 | (entity (get-text-property pos 'rmail-mime-entity)) |
| 364 | (current (aref (rmail-mime-entity-display entity) 0)) | 384 | (current (aref (rmail-mime-entity-display entity) 0)) |
| 365 | (segment (rmail-mime-entity-segment pos entity))) | 385 | (segment (rmail-mime-entity-segment pos entity))) |
| 366 | (if (not (eq (aref current 0) 'raw)) | 386 | (if (or (eq state 'raw) |
| 387 | (and (not state) | ||
| 388 | (not (eq (rmail-mime-display-header current) 'raw)))) | ||
| 367 | ;; Enter the raw mode. | 389 | ;; Enter the raw mode. |
| 368 | (rmail-mime-raw-mode entity) | 390 | (rmail-mime-raw-mode entity) |
| 369 | ;; Enter the shown mode. | 391 | ;; Enter the shown mode. |
| @@ -376,7 +398,7 @@ The value is a vector [ INDEX HEADER TAGLINE BODY END], where | |||
| 376 | (restore-buffer-modified-p modified))))) | 398 | (restore-buffer-modified-p modified))))) |
| 377 | 399 | ||
| 378 | (defun rmail-mime-toggle-hidden () | 400 | (defun rmail-mime-toggle-hidden () |
| 379 | "Hide or show the body of MIME-entity at point." | 401 | "Hide or show the body of the MIME-entity at point." |
| 380 | (interactive) | 402 | (interactive) |
| 381 | (when (rmail-mime-message-p) | 403 | (when (rmail-mime-message-p) |
| 382 | (let* ((rmail-mime-mbox-buffer rmail-view-buffer) | 404 | (let* ((rmail-mime-mbox-buffer rmail-view-buffer) |
| @@ -385,7 +407,7 @@ The value is a vector [ INDEX HEADER TAGLINE BODY END], where | |||
| 385 | (entity (get-text-property pos 'rmail-mime-entity)) | 407 | (entity (get-text-property pos 'rmail-mime-entity)) |
| 386 | (current (aref (rmail-mime-entity-display entity) 0)) | 408 | (current (aref (rmail-mime-entity-display entity) 0)) |
| 387 | (segment (rmail-mime-entity-segment pos entity))) | 409 | (segment (rmail-mime-entity-segment pos entity))) |
| 388 | (if (aref current 2) | 410 | (if (rmail-mime-display-body current) |
| 389 | ;; Enter the hidden mode. | 411 | ;; Enter the hidden mode. |
| 390 | (progn | 412 | (progn |
| 391 | ;; If point is in the body part, move it to the tagline | 413 | ;; If point is in the body part, move it to the tagline |
| @@ -424,14 +446,17 @@ The value is a vector [ INDEX HEADER TAGLINE BODY END], where | |||
| 424 | 446 | ||
| 425 | (defun rmail-mime-insert-tagline (entity &rest item-list) | 447 | (defun rmail-mime-insert-tagline (entity &rest item-list) |
| 426 | "Insert a tag line for MIME-entity ENTITY. | 448 | "Insert a tag line for MIME-entity ENTITY. |
| 427 | ITEM-LIST is a list of strings or button-elements (list) to be added | 449 | ITEM-LIST is a list of strings or button-elements (list) to add |
| 428 | to the tag line." | 450 | to the tag line." |
| 451 | ;; Precede the tagline by an empty line to make it a separate | ||
| 452 | ;; paragraph, so that it is aligned to the left margin of the window | ||
| 453 | ;; even if preceded by a right-to-left paragraph. | ||
| 429 | (insert "\n[") | 454 | (insert "\n[") |
| 430 | (let ((tag (aref (rmail-mime-entity-tagline entity) 0))) | 455 | (let ((tag (aref (rmail-mime-entity-tagline entity) 0))) |
| 431 | (if (> (length tag) 0) (insert (substring tag 1) ":"))) | 456 | (if (> (length tag) 0) (insert (substring tag 1) ":"))) |
| 432 | (insert (car (rmail-mime-entity-type entity)) " ") | 457 | (insert (car (rmail-mime-entity-type entity)) " ") |
| 433 | (insert-button (let ((new (aref (rmail-mime-entity-display entity) 1))) | 458 | (insert-button (let ((new (aref (rmail-mime-entity-display entity) 1))) |
| 434 | (if (aref new 2) "Hide" "Show")) | 459 | (if (rmail-mime-display-body new) "Hide" "Show")) |
| 435 | :type 'rmail-mime-toggle | 460 | :type 'rmail-mime-toggle |
| 436 | 'help-echo "mouse-2, RET: Toggle show/hide") | 461 | 'help-echo "mouse-2, RET: Toggle show/hide") |
| 437 | (dolist (item item-list) | 462 | (dolist (item item-list) |
| @@ -439,6 +464,9 @@ to the tag line." | |||
| 439 | (if (stringp item) | 464 | (if (stringp item) |
| 440 | (insert item) | 465 | (insert item) |
| 441 | (apply 'insert-button item)))) | 466 | (apply 'insert-button item)))) |
| 467 | ;; Follow the tagline by an empty line to make it a separate | ||
| 468 | ;; paragraph, so that the paragraph direction of the following text | ||
| 469 | ;; is determined based on that text. | ||
| 442 | (insert "]\n\n")) | 470 | (insert "]\n\n")) |
| 443 | 471 | ||
| 444 | (defun rmail-mime-update-tagline (entity) | 472 | (defun rmail-mime-update-tagline (entity) |
| @@ -459,12 +487,14 @@ to the tag line." | |||
| 459 | (delete-region (button-start button) (point)) | 487 | (delete-region (button-start button) (point)) |
| 460 | (put-text-property (point) (button-end button) 'rmail-mime-entity entity) | 488 | (put-text-property (point) (button-end button) 'rmail-mime-entity entity) |
| 461 | (restore-buffer-modified-p modified) | 489 | (restore-buffer-modified-p modified) |
| 462 | (forward-line 1))) | 490 | ;; The following call to forward-line must be in sync with how |
| 491 | ;; rmail-mime-insert-tagline formats the tagline. | ||
| 492 | (forward-line 2))) | ||
| 463 | 493 | ||
| 464 | (defun rmail-mime-insert-header (header) | 494 | (defun rmail-mime-insert-header (header) |
| 465 | "Decode and insert a MIME-entity header HEADER in the current buffer. | 495 | "Decode and insert a MIME-entity header HEADER in the current buffer. |
| 466 | HEADER is a vector [BEG END DEFAULT-STATUS]. | 496 | HEADER is a vector [BEG END DEFAULT-STATUS]. |
| 467 | See `rmail-mime-entity' for the detail." | 497 | See `rmail-mime-entity' for details." |
| 468 | (let ((pos (point)) | 498 | (let ((pos (point)) |
| 469 | (last-coding-system-used nil)) | 499 | (last-coding-system-used nil)) |
| 470 | (save-restriction | 500 | (save-restriction |
| @@ -484,7 +514,7 @@ See `rmail-mime-entity' for the detail." | |||
| 484 | (insert "\n")))) | 514 | (insert "\n")))) |
| 485 | 515 | ||
| 486 | (defun rmail-mime-find-header-encoding (header) | 516 | (defun rmail-mime-find-header-encoding (header) |
| 487 | "Retun the last coding system used to decode HEADER. | 517 | "Return the last coding system used to decode HEADER. |
| 488 | HEADER is a header component of a MIME-entity object (see | 518 | HEADER is a header component of a MIME-entity object (see |
| 489 | `rmail-mime-entity')." | 519 | `rmail-mime-entity')." |
| 490 | (with-temp-buffer | 520 | (with-temp-buffer |
| @@ -553,28 +583,32 @@ HEADER is a header component of a MIME-entity object (see | |||
| 553 | (delete-region (point-min) (point-max)))) | 583 | (delete-region (point-min) (point-max)))) |
| 554 | 584 | ||
| 555 | ;; header | 585 | ;; header |
| 556 | (if (eq (aref current 0) (aref new 0)) | 586 | (if (eq (rmail-mime-display-header current) |
| 587 | (rmail-mime-display-header new)) | ||
| 557 | (goto-char (aref segment 2)) | 588 | (goto-char (aref segment 2)) |
| 558 | (if (aref current 0) | 589 | (if (rmail-mime-display-header current) |
| 559 | (delete-char (- (aref segment 2) (aref segment 1)))) | 590 | (delete-char (- (aref segment 2) (aref segment 1)))) |
| 560 | (if (aref new 0) | 591 | (if (rmail-mime-display-header new) |
| 561 | (rmail-mime-insert-header header))) | 592 | (rmail-mime-insert-header header))) |
| 562 | ;; tagline | 593 | ;; tagline |
| 563 | (if (eq (aref current 1) (aref new 1)) | 594 | (if (eq (rmail-mime-display-tagline current) |
| 564 | (if (or (not (aref current 1)) | 595 | (rmail-mime-display-tagline new)) |
| 565 | (eq (aref current 2) (aref new 2))) | 596 | (if (or (not (rmail-mime-display-tagline current)) |
| 597 | (eq (rmail-mime-display-body current) | ||
| 598 | (rmail-mime-display-body new))) | ||
| 566 | (forward-char (- (aref segment 3) (aref segment 2))) | 599 | (forward-char (- (aref segment 3) (aref segment 2))) |
| 567 | (rmail-mime-update-tagline entity)) | 600 | (rmail-mime-update-tagline entity)) |
| 568 | (if (aref current 1) | 601 | (if (rmail-mime-display-tagline current) |
| 569 | (delete-char (- (aref segment 3) (aref segment 2)))) | 602 | (delete-char (- (aref segment 3) (aref segment 2)))) |
| 570 | (if (aref new 1) | 603 | (if (rmail-mime-display-tagline new) |
| 571 | (rmail-mime-insert-tagline entity))) | 604 | (rmail-mime-insert-tagline entity))) |
| 572 | ;; body | 605 | ;; body |
| 573 | (if (eq (aref current 2) (aref new 2)) | 606 | (if (eq (rmail-mime-display-body current) |
| 607 | (rmail-mime-display-body new)) | ||
| 574 | (forward-char (- (aref segment 4) (aref segment 3))) | 608 | (forward-char (- (aref segment 4) (aref segment 3))) |
| 575 | (if (aref current 2) | 609 | (if (rmail-mime-display-body current) |
| 576 | (delete-char (- (aref segment 4) (aref segment 3)))) | 610 | (delete-char (- (aref segment 4) (aref segment 3)))) |
| 577 | (if (aref new 2) | 611 | (if (rmail-mime-display-body new) |
| 578 | (rmail-mime-insert-decoded-text entity))) | 612 | (rmail-mime-insert-decoded-text entity))) |
| 579 | (put-text-property beg (point) 'rmail-mime-entity entity))) | 613 | (put-text-property beg (point) 'rmail-mime-entity entity))) |
| 580 | 614 | ||
| @@ -722,22 +756,25 @@ directly." | |||
| 722 | (setq beg (point)) | 756 | (setq beg (point)) |
| 723 | 757 | ||
| 724 | ;; header | 758 | ;; header |
| 725 | (if (eq (aref current 0) (aref new 0)) | 759 | (if (eq (rmail-mime-display-header current) |
| 760 | (rmail-mime-display-header new)) | ||
| 726 | (goto-char (aref segment 2)) | 761 | (goto-char (aref segment 2)) |
| 727 | (if (aref current 0) | 762 | (if (rmail-mime-display-header current) |
| 728 | (delete-char (- (aref segment 2) (aref segment 1)))) | 763 | (delete-char (- (aref segment 2) (aref segment 1)))) |
| 729 | (if (aref new 0) | 764 | (if (rmail-mime-display-header new) |
| 730 | (rmail-mime-insert-header header))) | 765 | (rmail-mime-insert-header header))) |
| 731 | 766 | ||
| 732 | ;; tagline | 767 | ;; tagline |
| 733 | (if (eq (aref current 1) (aref new 1)) | 768 | (if (eq (rmail-mime-display-tagline current) |
| 734 | (if (or (not (aref current 1)) | 769 | (rmail-mime-display-tagline new)) |
| 735 | (eq (aref current 2) (aref new 2))) | 770 | (if (or (not (rmail-mime-display-tagline current)) |
| 771 | (eq (rmail-mime-display-body current) | ||
| 772 | (rmail-mime-display-body new))) | ||
| 736 | (forward-char (- (aref segment 3) (aref segment 2))) | 773 | (forward-char (- (aref segment 3) (aref segment 2))) |
| 737 | (rmail-mime-update-tagline entity)) | 774 | (rmail-mime-update-tagline entity)) |
| 738 | (if (aref current 1) | 775 | (if (rmail-mime-display-tagline current) |
| 739 | (delete-char (- (aref segment 3) (aref segment 2)))) | 776 | (delete-char (- (aref segment 3) (aref segment 2)))) |
| 740 | (if (aref new 1) | 777 | (if (rmail-mime-display-tagline new) |
| 741 | (rmail-mime-insert-tagline | 778 | (rmail-mime-insert-tagline |
| 742 | entity | 779 | entity |
| 743 | " Save:" | 780 | " Save:" |
| @@ -760,11 +797,12 @@ directly." | |||
| 760 | ;; 'image-data data)) | 797 | ;; 'image-data data)) |
| 761 | ))) | 798 | ))) |
| 762 | ;; body | 799 | ;; body |
| 763 | (if (eq (aref current 2) (aref new 2)) | 800 | (if (eq (rmail-mime-display-body current) |
| 801 | (rmail-mime-display-body new)) | ||
| 764 | (forward-char (- (aref segment 4) (aref segment 3))) | 802 | (forward-char (- (aref segment 4) (aref segment 3))) |
| 765 | (if (aref current 2) | 803 | (if (rmail-mime-display-body current) |
| 766 | (delete-char (- (aref segment 4) (aref segment 3)))) | 804 | (delete-char (- (aref segment 4) (aref segment 3)))) |
| 767 | (if (aref new 2) | 805 | (if (rmail-mime-display-body new) |
| 768 | (cond ((eq (cdr bulk-data) 'text) | 806 | (cond ((eq (cdr bulk-data) 'text) |
| 769 | (rmail-mime-insert-decoded-text entity)) | 807 | (rmail-mime-insert-decoded-text entity)) |
| 770 | ((cdr bulk-data) | 808 | ((cdr bulk-data) |
| @@ -882,7 +920,7 @@ The other arguments are the same as `rmail-mime-multipart-handler'." | |||
| 882 | ;; We're handling what's left of a truncated message. | 920 | ;; We're handling what's left of a truncated message. |
| 883 | (setq next (point-max-marker))) | 921 | (setq next (point-max-marker))) |
| 884 | (t | 922 | (t |
| 885 | ;; The original code signalled an error as below, but | 923 | ;; The original code signaled an error as below, but |
| 886 | ;; this line may be a boundary of nested multipart. So, | 924 | ;; this line may be a boundary of nested multipart. So, |
| 887 | ;; we just set `next' to nil to skip this line | 925 | ;; we just set `next' to nil to skip this line |
| 888 | ;; (rmail-mm-get-boundary-error-message | 926 | ;; (rmail-mm-get-boundary-error-message |
| @@ -974,27 +1012,31 @@ This is the epilogue. It is also to be ignored.")) | |||
| 974 | (beg (point)) | 1012 | (beg (point)) |
| 975 | (segment (rmail-mime-entity-segment (point) entity))) | 1013 | (segment (rmail-mime-entity-segment (point) entity))) |
| 976 | ;; header | 1014 | ;; header |
| 977 | (if (eq (aref current 0) (aref new 0)) | 1015 | (if (eq (rmail-mime-display-header current) |
| 1016 | (rmail-mime-display-header new)) | ||
| 978 | (goto-char (aref segment 2)) | 1017 | (goto-char (aref segment 2)) |
| 979 | (if (aref current 0) | 1018 | (if (rmail-mime-display-header current) |
| 980 | (delete-char (- (aref segment 2) (aref segment 1)))) | 1019 | (delete-char (- (aref segment 2) (aref segment 1)))) |
| 981 | (if (aref new 0) | 1020 | (if (rmail-mime-display-header new) |
| 982 | (rmail-mime-insert-header header))) | 1021 | (rmail-mime-insert-header header))) |
| 983 | ;; tagline | 1022 | ;; tagline |
| 984 | (if (eq (aref current 1) (aref new 1)) | 1023 | (if (eq (rmail-mime-display-tagline current) |
| 985 | (if (or (not (aref current 1)) | 1024 | (rmail-mime-display-tagline new)) |
| 986 | (eq (aref current 2) (aref new 2))) | 1025 | (if (or (not (rmail-mime-display-tagline current)) |
| 1026 | (eq (rmail-mime-display-body current) | ||
| 1027 | (rmail-mime-display-body new))) | ||
| 987 | (forward-char (- (aref segment 3) (aref segment 2))) | 1028 | (forward-char (- (aref segment 3) (aref segment 2))) |
| 988 | (rmail-mime-update-tagline entity)) | 1029 | (rmail-mime-update-tagline entity)) |
| 989 | (if (aref current 1) | 1030 | (if (rmail-mime-display-tagline current) |
| 990 | (delete-char (- (aref segment 3) (aref segment 2)))) | 1031 | (delete-char (- (aref segment 3) (aref segment 2)))) |
| 991 | (if (aref new 1) | 1032 | (if (rmail-mime-display-tagline new) |
| 992 | (rmail-mime-insert-tagline entity))) | 1033 | (rmail-mime-insert-tagline entity))) |
| 993 | 1034 | ||
| 994 | (put-text-property beg (point) 'rmail-mime-entity entity) | 1035 | (put-text-property beg (point) 'rmail-mime-entity entity) |
| 995 | 1036 | ||
| 996 | ;; body | 1037 | ;; body |
| 997 | (if (eq (aref current 2) (aref new 2)) | 1038 | (if (eq (rmail-mime-display-body current) |
| 1039 | (rmail-mime-display-body new)) | ||
| 998 | (forward-char (- (aref segment 4) (aref segment 3))) | 1040 | (forward-char (- (aref segment 4) (aref segment 3))) |
| 999 | (dolist (child (rmail-mime-entity-children entity)) | 1041 | (dolist (child (rmail-mime-entity-children entity)) |
| 1000 | (rmail-mime-insert child))) | 1042 | (rmail-mime-insert child))) |
| @@ -1011,7 +1053,7 @@ point should be at the beginning of the body. | |||
| 1011 | 1053 | ||
| 1012 | CONTENT-TYPE, CONTENT-DISPOSITION, and CONTENT-TRANSFER-ENCODING | 1054 | CONTENT-TYPE, CONTENT-DISPOSITION, and CONTENT-TRANSFER-ENCODING |
| 1013 | are the values of the respective parsed headers. The latter should | 1055 | are the values of the respective parsed headers. The latter should |
| 1014 | be downcased. The parsed headers for CONTENT-TYPE and CONTENT-DISPOSITION | 1056 | be lower-case. The parsed headers for CONTENT-TYPE and CONTENT-DISPOSITION |
| 1015 | have the form | 1057 | have the form |
| 1016 | 1058 | ||
| 1017 | \(VALUE . ALIST) | 1059 | \(VALUE . ALIST) |
| @@ -1196,7 +1238,7 @@ modified." | |||
| 1196 | 1238 | ||
| 1197 | (defun rmail-mime-parse () | 1239 | (defun rmail-mime-parse () |
| 1198 | "Parse the current Rmail message as a MIME message. | 1240 | "Parse the current Rmail message as a MIME message. |
| 1199 | The value is a MIME-entiy object (see `rmail-mime-entity'). | 1241 | The value is a MIME-entity object (see `rmail-mime-entity'). |
| 1200 | If an error occurs, return an error message string." | 1242 | If an error occurs, return an error message string." |
| 1201 | (let ((rmail-mime-mbox-buffer (if (rmail-buffers-swapped-p) | 1243 | (let ((rmail-mime-mbox-buffer (if (rmail-buffers-swapped-p) |
| 1202 | rmail-view-buffer | 1244 | rmail-view-buffer |
| @@ -1224,7 +1266,7 @@ This function will be called recursively if multiple parts are | |||
| 1224 | available." | 1266 | available." |
| 1225 | (let ((current (aref (rmail-mime-entity-display entity) 0)) | 1267 | (let ((current (aref (rmail-mime-entity-display entity) 0)) |
| 1226 | (new (aref (rmail-mime-entity-display entity) 1))) | 1268 | (new (aref (rmail-mime-entity-display entity) 1))) |
| 1227 | (if (not (eq (aref new 0) 'raw)) | 1269 | (if (not (eq (rmail-mime-display-header new) 'raw)) |
| 1228 | ;; Not a raw-mode. Each handler should handle it. | 1270 | ;; Not a raw-mode. Each handler should handle it. |
| 1229 | (funcall (rmail-mime-entity-handler entity) entity) | 1271 | (funcall (rmail-mime-entity-handler entity) entity) |
| 1230 | (let ((header (rmail-mime-entity-header entity)) | 1272 | (let ((header (rmail-mime-entity-header entity)) |
| @@ -1233,14 +1275,15 @@ available." | |||
| 1233 | (beg (point)) | 1275 | (beg (point)) |
| 1234 | (segment (rmail-mime-entity-segment (point) entity))) | 1276 | (segment (rmail-mime-entity-segment (point) entity))) |
| 1235 | ;; header | 1277 | ;; header |
| 1236 | (if (eq (aref current 0) (aref new 0)) | 1278 | (if (eq (rmail-mime-display-header current) |
| 1279 | (rmail-mime-display-header new)) | ||
| 1237 | (goto-char (aref segment 2)) | 1280 | (goto-char (aref segment 2)) |
| 1238 | (if (aref current 0) | 1281 | (if (rmail-mime-display-header current) |
| 1239 | (delete-char (- (aref segment 2) (aref segment 1)))) | 1282 | (delete-char (- (aref segment 2) (aref segment 1)))) |
| 1240 | (insert-buffer-substring rmail-mime-mbox-buffer | 1283 | (insert-buffer-substring rmail-mime-mbox-buffer |
| 1241 | (aref header 0) (aref header 1))) | 1284 | (aref header 0) (aref header 1))) |
| 1242 | ;; tagline | 1285 | ;; tagline |
| 1243 | (if (aref current 1) | 1286 | (if (rmail-mime-display-tagline current) |
| 1244 | (delete-char (- (aref segment 3) (aref segment 2)))) | 1287 | (delete-char (- (aref segment 3) (aref segment 2)))) |
| 1245 | ;; body | 1288 | ;; body |
| 1246 | (let ((children (rmail-mime-entity-children entity))) | 1289 | (let ((children (rmail-mime-entity-children entity))) |
| @@ -1249,9 +1292,10 @@ available." | |||
| 1249 | (put-text-property beg (point) 'rmail-mime-entity entity) | 1292 | (put-text-property beg (point) 'rmail-mime-entity entity) |
| 1250 | (dolist (child children) | 1293 | (dolist (child children) |
| 1251 | (rmail-mime-insert child))) | 1294 | (rmail-mime-insert child))) |
| 1252 | (if (eq (aref current 2) (aref new 2)) | 1295 | (if (eq (rmail-mime-display-body current) |
| 1296 | (rmail-mime-display-body new)) | ||
| 1253 | (forward-char (- (aref segment 4) (aref segment 3))) | 1297 | (forward-char (- (aref segment 4) (aref segment 3))) |
| 1254 | (if (aref current 2) | 1298 | (if (rmail-mime-display-body current) |
| 1255 | (delete-char (- (aref segment 4) (aref segment 3)))) | 1299 | (delete-char (- (aref segment 4) (aref segment 3)))) |
| 1256 | (insert-buffer-substring rmail-mime-mbox-buffer | 1300 | (insert-buffer-substring rmail-mime-mbox-buffer |
| 1257 | (aref body 0) (aref body 1)) | 1301 | (aref body 0) (aref body 1)) |
| @@ -1265,36 +1309,35 @@ available." | |||
| 1265 | (setq font-lock-defaults '(rmail-font-lock-keywords t t nil nil))) | 1309 | (setq font-lock-defaults '(rmail-font-lock-keywords t t nil nil))) |
| 1266 | 1310 | ||
| 1267 | ;;;###autoload | 1311 | ;;;###autoload |
| 1268 | (defun rmail-mime (&optional arg) | 1312 | (defun rmail-mime (&optional arg state) |
| 1269 | "Toggle displaying of a MIME message. | 1313 | "Toggle the display of a MIME message. |
| 1270 | 1314 | ||
| 1271 | The actualy behavior depends on the value of `rmail-enable-mime'. | 1315 | The actual behavior depends on the value of `rmail-enable-mime'. |
| 1272 | 1316 | ||
| 1273 | If `rmail-enable-mime' is t (default), this command change the | 1317 | If `rmail-enable-mime' is non-nil (the default), this command toggles |
| 1274 | displaying of a MIME message between decoded presentation form | 1318 | the display of a MIME message between decoded presentation form and |
| 1275 | and raw data. | 1319 | raw data. With optional prefix argument ARG, it toggles the display only |
| 1276 | 1320 | of the MIME entity at point, if there is one. The optional argument | |
| 1277 | With ARG, toggle the displaying of the current MIME entity only. | 1321 | STATE forces a particular display state, rather than toggling. |
| 1278 | 1322 | `raw' forces raw mode, any other non-nil value forces decoded mode. | |
| 1279 | If `rmail-enable-mime' is nil, this creates a temporary | 1323 | |
| 1280 | \"*RMAIL*\" buffer holding a decoded copy of the message. Inline | 1324 | If `rmail-enable-mime' is nil, this creates a temporary \"*RMAIL*\" |
| 1281 | content-types are handled according to | 1325 | buffer holding a decoded copy of the message. Inline content-types are |
| 1282 | `rmail-mime-media-type-handlers-alist'. By default, this | 1326 | handled according to `rmail-mime-media-type-handlers-alist'. |
| 1283 | displays text and multipart messages, and offers to download | 1327 | By default, this displays text and multipart messages, and offers to |
| 1284 | attachments as specfied by `rmail-mime-attachment-dirs-alist'." | 1328 | download attachments as specified by `rmail-mime-attachment-dirs-alist'. |
| 1285 | (interactive "P") | 1329 | The arguments ARG and STATE have no effect in this case." |
| 1330 | (interactive (list current-prefix-arg nil)) | ||
| 1286 | (if rmail-enable-mime | 1331 | (if rmail-enable-mime |
| 1287 | (with-current-buffer rmail-buffer | 1332 | (with-current-buffer rmail-buffer |
| 1288 | (if (rmail-mime-message-p) | 1333 | (if (rmail-mime-message-p) |
| 1289 | (let ((rmail-mime-mbox-buffer rmail-view-buffer) | 1334 | (let ((rmail-mime-mbox-buffer rmail-view-buffer) |
| 1290 | (rmail-mime-view-buffer rmail-buffer) | 1335 | (rmail-mime-view-buffer rmail-buffer) |
| 1291 | (entity (get-text-property (point) 'rmail-mime-entity))) | 1336 | (entity (get-text-property |
| 1292 | (if arg | 1337 | (progn |
| 1293 | (if entity | 1338 | (or arg (goto-char (point-min))) |
| 1294 | (rmail-mime-toggle-raw entity)) | 1339 | (point)) 'rmail-mime-entity))) |
| 1295 | (goto-char (point-min)) | 1340 | (if (or (not arg) entity) (rmail-mime-toggle-raw state))) |
| 1296 | (rmail-mime-toggle-raw | ||
| 1297 | (get-text-property (point) 'rmail-mime-entity)))) | ||
| 1298 | (message "Not a MIME message"))) | 1341 | (message "Not a MIME message"))) |
| 1299 | (let* ((data (rmail-apply-in-message rmail-current-message 'buffer-string)) | 1342 | (let* ((data (rmail-apply-in-message rmail-current-message 'buffer-string)) |
| 1300 | (buf (get-buffer-create "*RMAIL*")) | 1343 | (buf (get-buffer-create "*RMAIL*")) |
| @@ -1315,12 +1358,12 @@ attachments as specfied by `rmail-mime-attachment-dirs-alist'." | |||
| 1315 | (view-buffer buf)))) | 1358 | (view-buffer buf)))) |
| 1316 | 1359 | ||
| 1317 | (defun rmail-mm-get-boundary-error-message (message type disposition encoding) | 1360 | (defun rmail-mm-get-boundary-error-message (message type disposition encoding) |
| 1318 | "Return MESSAGE with more information on the main mime components." | 1361 | "Return MESSAGE with more information on the main MIME components." |
| 1319 | (error "%s; type: %s; disposition: %s; encoding: %s" | 1362 | (error "%s; type: %s; disposition: %s; encoding: %s" |
| 1320 | message type disposition encoding)) | 1363 | message type disposition encoding)) |
| 1321 | 1364 | ||
| 1322 | (defun rmail-show-mime () | 1365 | (defun rmail-show-mime () |
| 1323 | "Function to set in `rmail-show-mime-function' (which see)." | 1366 | "Function to use for the value of `rmail-show-mime-function'." |
| 1324 | (let ((entity (rmail-mime-parse)) | 1367 | (let ((entity (rmail-mime-parse)) |
| 1325 | (rmail-mime-mbox-buffer rmail-buffer) | 1368 | (rmail-mime-mbox-buffer rmail-buffer) |
| 1326 | (rmail-mime-view-buffer rmail-view-buffer) | 1369 | (rmail-mime-view-buffer rmail-view-buffer) |
| @@ -1332,7 +1375,7 @@ attachments as specfied by `rmail-mime-attachment-dirs-alist'." | |||
| 1332 | (if (consp rmail-mime-coding-system) | 1375 | (if (consp rmail-mime-coding-system) |
| 1333 | ;; Decoding is done by rfc2047-decode-region only for a | 1376 | ;; Decoding is done by rfc2047-decode-region only for a |
| 1334 | ;; header. But, as the used coding system may have been | 1377 | ;; header. But, as the used coding system may have been |
| 1335 | ;; overriden by mm-charset-override-alist, we can't | 1378 | ;; overridden by mm-charset-override-alist, we can't |
| 1336 | ;; trust (car rmail-mime-coding-system). So, here we | 1379 | ;; trust (car rmail-mime-coding-system). So, here we |
| 1337 | ;; try the decoding again with mm-charset-override-alist | 1380 | ;; try the decoding again with mm-charset-override-alist |
| 1338 | ;; bound to nil. | 1381 | ;; bound to nil. |
diff --git a/lisp/mail/rmailout.el b/lisp/mail/rmailout.el index 3926b426a67..c168ca9d8f5 100644 --- a/lisp/mail/rmailout.el +++ b/lisp/mail/rmailout.el | |||
| @@ -377,11 +377,12 @@ display message number MSG." | |||
| 377 | (rmail-maybe-set-message-counters) | 377 | (rmail-maybe-set-message-counters) |
| 378 | ;; Insert the new message after the last old message. | 378 | ;; Insert the new message after the last old message. |
| 379 | (widen) | 379 | (widen) |
| 380 | ;; Make sure the last old message ends with a blank line. | 380 | (unless (zerop (buffer-size)) |
| 381 | (goto-char (point-max)) | 381 | ;; Make sure the last old message ends with a blank line. |
| 382 | (rmail-ensure-blank-line) | 382 | (goto-char (point-max)) |
| 383 | ;; Insert the new message at the end. | 383 | (rmail-ensure-blank-line) |
| 384 | (narrow-to-region (point-max) (point-max)) | 384 | ;; Insert the new message at the end. |
| 385 | (narrow-to-region (point-max) (point-max))) | ||
| 385 | (insert-buffer-substring tembuf) | 386 | (insert-buffer-substring tembuf) |
| 386 | (rmail-count-new-messages t) | 387 | (rmail-count-new-messages t) |
| 387 | ;; FIXME should re-use existing windows. | 388 | ;; FIXME should re-use existing windows. |
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index b95651d3b69..e6a0a34f33b 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el | |||
| @@ -268,10 +268,7 @@ Setting this option to nil might speed up the generation of summaries." | |||
| 268 | (defun rmail-summary () | 268 | (defun rmail-summary () |
| 269 | "Display a summary of all messages, one line per message." | 269 | "Display a summary of all messages, one line per message." |
| 270 | (interactive) | 270 | (interactive) |
| 271 | (rmail-new-summary "All" '(rmail-summary) nil) | 271 | (rmail-new-summary "All" '(rmail-summary) nil)) |
| 272 | (unless (or (zerop (buffer-size)) ; empty summary | ||
| 273 | (get-buffer-window rmail-buffer)) | ||
| 274 | (rmail-summary-beginning-of-message))) | ||
| 275 | 272 | ||
| 276 | ;;;###autoload | 273 | ;;;###autoload |
| 277 | (defun rmail-summary-by-labels (labels) | 274 | (defun rmail-summary-by-labels (labels) |
| @@ -345,10 +342,9 @@ Emacs will list the message in the summary." | |||
| 345 | (defun rmail-message-regexp-p-1 (msg regexp) | 342 | (defun rmail-message-regexp-p-1 (msg regexp) |
| 346 | ;; Search functions can expect to start from the beginning. | 343 | ;; Search functions can expect to start from the beginning. |
| 347 | (narrow-to-region (point) (save-excursion (search-forward "\n\n") (point))) | 344 | (narrow-to-region (point) (save-excursion (search-forward "\n\n") (point))) |
| 348 | (if rmail-enable-mime | 345 | (if (and rmail-enable-mime |
| 349 | (if rmail-search-mime-header-function | 346 | rmail-search-mime-header-function) |
| 350 | (funcall rmail-search-mime-header-function msg regexp (point)) | 347 | (funcall rmail-search-mime-header-function msg regexp (point)) |
| 351 | (error "You must set `rmail-search-mime-header-function'")) | ||
| 352 | (re-search-forward regexp nil t))) | 348 | (re-search-forward regexp nil t))) |
| 353 | 349 | ||
| 354 | ;;;###autoload | 350 | ;;;###autoload |
| @@ -411,7 +407,8 @@ nil for FUNCTION means all messages." | |||
| 411 | (with-current-buffer rmail-buffer | 407 | (with-current-buffer rmail-buffer |
| 412 | (setq rmail-summary-buffer (rmail-new-summary-1 desc redo func args) | 408 | (setq rmail-summary-buffer (rmail-new-summary-1 desc redo func args) |
| 413 | ;; r-s-b is buffer-local. | 409 | ;; r-s-b is buffer-local. |
| 414 | sumbuf rmail-summary-buffer)) | 410 | sumbuf rmail-summary-buffer |
| 411 | mesg rmail-current-message)) | ||
| 415 | ;; Now display the summary buffer and go to the right place in it. | 412 | ;; Now display the summary buffer and go to the right place in it. |
| 416 | (unless was-in-summary | 413 | (unless was-in-summary |
| 417 | (if (and (one-window-p) | 414 | (if (and (one-window-p) |
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 23947795112..9c020ffadab 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -116,21 +116,21 @@ | |||
| 116 | menu-bar-separator) | 116 | menu-bar-separator) |
| 117 | 117 | ||
| 118 | (define-key menu [ps-print-region] | 118 | (define-key menu [ps-print-region] |
| 119 | `(menu-item ,(purecopy "Postscript Print Region (B+W)") ps-print-region | 119 | `(menu-item ,(purecopy "PostScript Print Region (B+W)") ps-print-region |
| 120 | :enable mark-active | 120 | :enable mark-active |
| 121 | :help ,(purecopy "Pretty-print marked region in black and white to PostScript printer"))) | 121 | :help ,(purecopy "Pretty-print marked region in black and white to PostScript printer"))) |
| 122 | (define-key menu [ps-print-buffer] | 122 | (define-key menu [ps-print-buffer] |
| 123 | `(menu-item ,(purecopy "Postscript Print Buffer (B+W)") ps-print-buffer | 123 | `(menu-item ,(purecopy "PostScript Print Buffer (B+W)") ps-print-buffer |
| 124 | :enable (menu-bar-menu-frame-live-and-visible-p) | 124 | :enable (menu-bar-menu-frame-live-and-visible-p) |
| 125 | :help ,(purecopy "Pretty-print current buffer in black and white to PostScript printer"))) | 125 | :help ,(purecopy "Pretty-print current buffer in black and white to PostScript printer"))) |
| 126 | (define-key menu [ps-print-region-faces] | 126 | (define-key menu [ps-print-region-faces] |
| 127 | `(menu-item ,(purecopy "Postscript Print Region") | 127 | `(menu-item ,(purecopy "PostScript Print Region") |
| 128 | ps-print-region-with-faces | 128 | ps-print-region-with-faces |
| 129 | :enable mark-active | 129 | :enable mark-active |
| 130 | :help ,(purecopy | 130 | :help ,(purecopy |
| 131 | "Pretty-print marked region to PostScript printer"))) | 131 | "Pretty-print marked region to PostScript printer"))) |
| 132 | (define-key menu [ps-print-buffer-faces] | 132 | (define-key menu [ps-print-buffer-faces] |
| 133 | `(menu-item ,(purecopy "Postscript Print Buffer") | 133 | `(menu-item ,(purecopy "PostScript Print Buffer") |
| 134 | ps-print-buffer-with-faces | 134 | ps-print-buffer-with-faces |
| 135 | :enable (menu-bar-menu-frame-live-and-visible-p) | 135 | :enable (menu-bar-menu-frame-live-and-visible-p) |
| 136 | :help ,(purecopy "Pretty-print current buffer to PostScript printer"))) | 136 | :help ,(purecopy "Pretty-print current buffer to PostScript printer"))) |
| @@ -445,7 +445,7 @@ | |||
| 445 | (define-key menu [props] | 445 | (define-key menu [props] |
| 446 | `(menu-item ,(purecopy "Text Properties") facemenu-menu)) | 446 | `(menu-item ,(purecopy "Text Properties") facemenu-menu)) |
| 447 | 447 | ||
| 448 | ;; ns-win.el said: Add spell for platorm consistency. | 448 | ;; ns-win.el said: Add spell for platform consistency. |
| 449 | (if (featurep 'ns) | 449 | (if (featurep 'ns) |
| 450 | (define-key menu [spell] | 450 | (define-key menu [spell] |
| 451 | `(menu-item ,(purecopy "Spell") ispell-menu-map))) | 451 | `(menu-item ,(purecopy "Spell") ispell-menu-map))) |
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog index ee9c9fca2b5..ca179a78b61 100644 --- a/lisp/mh-e/ChangeLog +++ b/lisp/mh-e/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-11-16 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * mh-search.el (mh-pick-parse-search-buffer): Fix typo. | ||
| 4 | |||
| 1 | 2011-09-20 Bill Wohler <wohler@newt.com> | 5 | 2011-09-20 Bill Wohler <wohler@newt.com> |
| 2 | 6 | ||
| 3 | Release MH-E version 8.3. | 7 | Release MH-E version 8.3. |
| @@ -40,7 +44,7 @@ | |||
| 40 | switch-to-buffer. The previous change which used pop-to-buffer | 44 | switch-to-buffer. The previous change which used pop-to-buffer |
| 41 | produced the wrong behavior. | 45 | produced the wrong behavior. |
| 42 | 46 | ||
| 43 | 2011-07-12 Henrique Martins <henrique@martins.cc> (tiny change) | 47 | 2011-07-12 Henrique Martins <henrique@martins.cc> (tiny change) |
| 44 | 48 | ||
| 45 | * mh-xface.el (mh-picon-get-image): Remove quote from block | 49 | * mh-xface.el (mh-picon-get-image): Remove quote from block |
| 46 | argument. | 50 | argument. |
diff --git a/lisp/mh-e/ChangeLog.1 b/lisp/mh-e/ChangeLog.1 index 69ca927d5e7..b12c47e7f1f 100644 --- a/lisp/mh-e/ChangeLog.1 +++ b/lisp/mh-e/ChangeLog.1 | |||
| @@ -610,7 +610,7 @@ | |||
| 610 | 'utils) (mh-require-cl) calls: | 610 | 'utils) (mh-require-cl) calls: |
| 611 | 611 | ||
| 612 | (eval-when-compile (require 'mh-acros)) | 612 | (eval-when-compile (require 'mh-acros)) |
| 613 | (mh-require-cl) | 613 | (mh-require-cl) |
| 614 | 614 | ||
| 615 | 2004-08-10 Bill Wohler <wohler@newt.com> | 615 | 2004-08-10 Bill Wohler <wohler@newt.com> |
| 616 | 616 | ||
| @@ -691,7 +691,7 @@ | |||
| 691 | variable `mh-scan-date-regexp'. | 691 | variable `mh-scan-date-regexp'. |
| 692 | 692 | ||
| 693 | * mh-customize.el (mh-auto-fields-prompt-flag): Made reference to | 693 | * mh-customize.el (mh-auto-fields-prompt-flag): Made reference to |
| 694 | `mh-auto-fileds-lists'. | 694 | `mh-auto-fields-lists'. |
| 695 | (mh-forward-hook): Fixed docstring typo. | 695 | (mh-forward-hook): Fixed docstring typo. |
| 696 | 696 | ||
| 697 | 2004-08-07 Bill Wohler <wohler@newt.com> | 697 | 2004-08-07 Bill Wohler <wohler@newt.com> |
| @@ -832,7 +832,7 @@ | |||
| 832 | and byte-compiles all the source files with a single instance of | 832 | and byte-compiles all the source files with a single instance of |
| 833 | XEmacs. | 833 | XEmacs. |
| 834 | (dist): Added $(MH-E-XEMACS-SRC) to tarball. | 834 | (dist): Added $(MH-E-XEMACS-SRC) to tarball. |
| 835 | (AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and | 835 | (AUTO_PRELOADS): Removed, in favor of 'AUTOLOAD_PACKAGE_NAME' and |
| 836 | 'AUTOLOAD_FILE'. | 836 | 'AUTOLOAD_FILE'. |
| 837 | (AUTOLOAD_PACKAGE_NAME): New. | 837 | (AUTOLOAD_PACKAGE_NAME): New. |
| 838 | (AUTOLOAD_FILE): New. | 838 | (AUTOLOAD_FILE): New. |
| @@ -1257,7 +1257,7 @@ | |||
| 1257 | 1257 | ||
| 1258 | * Makefile (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner | 1258 | * Makefile (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner |
| 1259 | build environment. | 1259 | build environment. |
| 1260 | (AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and | 1260 | (AUTO_PRELOADS): Removed, in favor of 'AUTOLOAD_PACKAGE_NAME' and |
| 1261 | 'AUTOLOAD_FILE'. | 1261 | 'AUTOLOAD_FILE'. |
| 1262 | (AUTOLOAD_PACKAGE_NAME): New. | 1262 | (AUTOLOAD_PACKAGE_NAME): New. |
| 1263 | (AUTOLOAD_FILE): New. | 1263 | (AUTOLOAD_FILE): New. |
| @@ -1469,7 +1469,7 @@ | |||
| 1469 | 1469 | ||
| 1470 | * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Add an optional | 1470 | * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Add an optional |
| 1471 | dontsign argument to remove an existing secure message directive. | 1471 | dontsign argument to remove an existing secure message directive. |
| 1472 | Update the docstring -- this fuction does not allow for | 1472 | Update the docstring -- this function does not allow for |
| 1473 | encrypt/sign, just sign directives. | 1473 | encrypt/sign, just sign directives. |
| 1474 | 1474 | ||
| 1475 | * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Use | 1475 | * mh-mime.el (mh-mml-secure-message-sign-pgpmime): Use |
| @@ -1484,7 +1484,7 @@ | |||
| 1484 | * mh-alias.el (Commentary): Removed as it is now in the manual. | 1484 | * mh-alias.el (Commentary): Removed as it is now in the manual. |
| 1485 | (mh-alias-system-aliases): Moved here from mh-customize.el. By | 1485 | (mh-alias-system-aliases): Moved here from mh-customize.el. By |
| 1486 | definition, "system" definitions are not user-visible, and user | 1486 | definition, "system" definitions are not user-visible, and user |
| 1487 | filenames are in the the Aliasfile: profile component, so this | 1487 | filenames are in the Aliasfile: profile component, so this |
| 1488 | variable really shouldn't be a defcustom. | 1488 | variable really shouldn't be a defcustom. |
| 1489 | (mh-alias-tstamp, mh-alias-filenames, mh-alias-reload) | 1489 | (mh-alias-tstamp, mh-alias-filenames, mh-alias-reload) |
| 1490 | (mh-alias-add-alias, mh-alias-grab-from-field) | 1490 | (mh-alias-add-alias, mh-alias-grab-from-field) |
| @@ -1960,8 +1960,8 @@ | |||
| 1960 | switch between available variants. | 1960 | switch between available variants. |
| 1961 | (mh-variants): Available MH variants are described in this variable. | 1961 | (mh-variants): Available MH variants are described in this variable. |
| 1962 | (mh-variant-in-use, mh-variant-p): Developers may check which | 1962 | (mh-variant-in-use, mh-variant-p): Developers may check which |
| 1963 | variant is currently in use with the variable `mh-variant-in-use' | 1963 | variant is currently in use with the variable `mh-variant-in-use' |
| 1964 | or the function `mh-variant-p'. | 1964 | or the function `mh-variant-p'. |
| 1965 | 1965 | ||
| 1966 | 2003-08-15 Bill Wohler <wohler@newt.com> | 1966 | 2003-08-15 Bill Wohler <wohler@newt.com> |
| 1967 | 1967 | ||
| @@ -3289,7 +3289,7 @@ | |||
| 3289 | (mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick): | 3289 | (mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick): |
| 3290 | These functions aren't needed any more, since overlays aren't used | 3290 | These functions aren't needed any more, since overlays aren't used |
| 3291 | any more. Also overlays aren't portable to XEmacs, so nasty | 3291 | any more. Also overlays aren't portable to XEmacs, so nasty |
| 3292 | conditional code that used overlays in Emacs and extents in Xemacs | 3292 | conditional code that used overlays in Emacs and extents in XEmacs |
| 3293 | have been eliminated. | 3293 | have been eliminated. |
| 3294 | (mh-toggle-tick): Generalize it to work on a range of messages | 3294 | (mh-toggle-tick): Generalize it to work on a range of messages |
| 3295 | like the other interactive messages. | 3295 | like the other interactive messages. |
| @@ -4533,7 +4533,7 @@ | |||
| 4533 | 4533 | ||
| 4534 | * mh-xemacs-toolbar.el: Remove the code since that gets generated | 4534 | * mh-xemacs-toolbar.el: Remove the code since that gets generated |
| 4535 | when mh-tool-bar-define is expanded. | 4535 | when mh-tool-bar-define is expanded. |
| 4536 | (mh-xemacs-icon-map): A alist to map GNU Emacs icon names to the | 4536 | (mh-xemacs-icon-map): An alist to map GNU Emacs icon names to the |
| 4537 | actual icons to be used in XEmacs. This is used in | 4537 | actual icons to be used in XEmacs. This is used in |
| 4538 | mh-tool-bar-define. | 4538 | mh-tool-bar-define. |
| 4539 | 4539 | ||
| @@ -5022,7 +5022,7 @@ | |||
| 5022 | * mh-utils.el (mh-truncate-log-buffer): Modify the function to | 5022 | * mh-utils.el (mh-truncate-log-buffer): Modify the function to |
| 5023 | return the current size of mh-log-buffer. Also we are now a bit | 5023 | return the current size of mh-log-buffer. Also we are now a bit |
| 5024 | more careful in adding separators between consecutive messages. | 5024 | more careful in adding separators between consecutive messages. |
| 5025 | (mh-exec-cmd): Fix a bug where the the log buffer would be | 5025 | (mh-exec-cmd): Fix a bug where the log buffer would be |
| 5026 | displayed even if no error happened in the current command but | 5026 | displayed even if no error happened in the current command but |
| 5027 | the log buffer had messages from a previous error. | 5027 | the log buffer had messages from a previous error. |
| 5028 | 5028 | ||
| @@ -5130,7 +5130,7 @@ | |||
| 5130 | 5130 | ||
| 5131 | * mh-utils.el (mh-face-display-function): Fix bug that was | 5131 | * mh-utils.el (mh-face-display-function): Fix bug that was |
| 5132 | corrupting xface images when displayed with XEmacs' internal | 5132 | corrupting xface images when displayed with XEmacs' internal |
| 5133 | xface image support. Also make XEmacs honour 'mh-show-xface-face' | 5133 | xface image support. Also make XEmacs honor 'mh-show-xface-face' |
| 5134 | when using internal xface image support. | 5134 | when using internal xface image support. |
| 5135 | 5135 | ||
| 5136 | 2003-02-12 Peter S Galbraith <psg@debian.org> | 5136 | 2003-02-12 Peter S Galbraith <psg@debian.org> |
| @@ -5959,7 +5959,7 @@ | |||
| 5959 | to allow the user a customizable variable which will turn off | 5959 | to allow the user a customizable variable which will turn off |
| 5960 | folders based completion. | 5960 | folders based completion. |
| 5961 | (mh-prompt-for-folder): Use mh-folder-completing-read to read in | 5961 | (mh-prompt-for-folder): Use mh-folder-completing-read to read in |
| 5962 | the folder name with hierachical completion (closes SF #664821). | 5962 | the folder name with hierarchical completion (closes SF #664821). |
| 5963 | 5963 | ||
| 5964 | * mh-speed.el (mh-speed-folders, mh-speed-folders-cache) | 5964 | * mh-speed.el (mh-speed-folders, mh-speed-folders-cache) |
| 5965 | (mh-speed-folders-actual): Moved to mh-utils.el as mh-sub-folders, | 5965 | (mh-speed-folders-actual): Moved to mh-utils.el as mh-sub-folders, |
| @@ -8048,7 +8048,7 @@ | |||
| 8048 | 2002-10-26 Peter S Galbraith <psg@debia.org> | 8048 | 2002-10-26 Peter S Galbraith <psg@debia.org> |
| 8049 | 8049 | ||
| 8050 | * mh-comp.el (mh-search-addr-regexp, mh-re-search-to-cc): Remove | 8050 | * mh-comp.el (mh-search-addr-regexp, mh-re-search-to-cc): Remove |
| 8051 | `mh-re-search-to-cc' in favour of more generalized new function | 8051 | `mh-re-search-to-cc' in favor of more generalized new function |
| 8052 | `mh-search-addr-regexp'. | 8052 | `mh-search-addr-regexp'. |
| 8053 | (mh-insert-mail-followup-to): Use it. | 8053 | (mh-insert-mail-followup-to): Use it. |
| 8054 | 8054 | ||
| @@ -8162,7 +8162,7 @@ | |||
| 8162 | 8162 | ||
| 8163 | 2002-10-24 Bill Wohler <wohler@newt.com> | 8163 | 2002-10-24 Bill Wohler <wohler@newt.com> |
| 8164 | 8164 | ||
| 8165 | * mh-e is completely checkdoc clean now. | 8165 | * mh-e is completely checkdoc clean now. |
| 8166 | 8166 | ||
| 8167 | * mh-utils.el (mh-clean-message-header-flag): Renamed from | 8167 | * mh-utils.el (mh-clean-message-header-flag): Renamed from |
| 8168 | mh-clean-message-header. | 8168 | mh-clean-message-header. |
| @@ -8594,7 +8594,7 @@ | |||
| 8594 | mail-header-separator. | 8594 | mail-header-separator. |
| 8595 | (mh-send-letter): The default BCC encapsulation will make a MIME | 8595 | (mh-send-letter): The default BCC encapsulation will make a MIME |
| 8596 | message unreadable. If we are running nmh and the letter contains | 8596 | message unreadable. If we are running nmh and the letter contains |
| 8597 | a Bcc: and a Content-Type: field, add the -mime switch to to the | 8597 | a Bcc: and a Content-Type: field, add the -mime switch to the |
| 8598 | arguments to send. | 8598 | arguments to send. |
| 8599 | 8599 | ||
| 8600 | 2002-10-21 Peter S Galbraith <psg@debian.org> | 8600 | 2002-10-21 Peter S Galbraith <psg@debian.org> |
| @@ -9213,7 +9213,7 @@ | |||
| 9213 | font, you may set this variable to expand the single reply | 9213 | font, you may set this variable to expand the single reply |
| 9214 | button into three buttons that won't lead to minibuffer prompt | 9214 | button into three buttons that won't lead to minibuffer prompt |
| 9215 | about who to reply to. | 9215 | about who to reply to. |
| 9216 | (mh-folder-tool-bar-map): Use mh-tool-bar-reply-3-buttons to | 9216 | (mh-folder-tool-bar-map): Use mh-tool-bar-reply-3-buttons to |
| 9217 | decide how many buttons to use for replying. | 9217 | decide how many buttons to use for replying. |
| 9218 | 9218 | ||
| 9219 | * mh-mime.el (mh-file-mime-type-substitutions) | 9219 | * mh-mime.el (mh-file-mime-type-substitutions) |
| @@ -9445,7 +9445,7 @@ | |||
| 9445 | Non-fatal depencencies on the mm-decode, mm-uu and mm-view | 9445 | Non-fatal depencencies on the mm-decode, mm-uu and mm-view |
| 9446 | libraries. | 9446 | libraries. |
| 9447 | 9447 | ||
| 9448 | 2002-07-15 Satyaki Das <satyaki@theforce.stanford.edu> | 9448 | 2002-07-15 Satyaki Das <satyaki@theforce.stanford.edu> |
| 9449 | 9449 | ||
| 9450 | * mh-utils.el (mh-require, mh-autoload): Remove these macros. | 9450 | * mh-utils.el (mh-require, mh-autoload): Remove these macros. |
| 9451 | (mh-decode-mime): Initialized to t iff the mm-decode library is | 9451 | (mh-decode-mime): Initialized to t iff the mm-decode library is |
| @@ -9455,8 +9455,8 @@ | |||
| 9455 | 2002-07-15 Mark D Baushke <mdb@gnu.org> | 9455 | 2002-07-15 Mark D Baushke <mdb@gnu.org> |
| 9456 | 9456 | ||
| 9457 | * mh-utils.el (mh-update-scan-format): Rewrite for compatibility | 9457 | * mh-utils.el (mh-update-scan-format): Rewrite for compatibility |
| 9458 | with Xemacs as replace-match appears not to have identical | 9458 | with XEmacs as replace-match appears not to have identical |
| 9459 | functionality with FSF emacs. | 9459 | functionality with GNU Emacs. |
| 9460 | (mh-scan-msg-format-regexp): Deleted. This regexp is now hardcoded | 9460 | (mh-scan-msg-format-regexp): Deleted. This regexp is now hardcoded |
| 9461 | into the mh-update-scan-format function. | 9461 | into the mh-update-scan-format function. |
| 9462 | 9462 | ||
| @@ -9610,7 +9610,7 @@ | |||
| 9610 | 2002-06-27 Satyaki Das <satyaki@theforce.stanford.edu> | 9610 | 2002-06-27 Satyaki Das <satyaki@theforce.stanford.edu> |
| 9611 | 9611 | ||
| 9612 | * mh-e.el (mh-next-undeleted-msg): Get rid of optional arg | 9612 | * mh-e.el (mh-next-undeleted-msg): Get rid of optional arg |
| 9613 | reverse-p. If there are no more undeleted messages the the point | 9613 | reverse-p. If there are no more undeleted messages the point |
| 9614 | remains at its original position and a message is produced (closes | 9614 | remains at its original position and a message is produced (closes |
| 9615 | SF #494304). | 9615 | SF #494304). |
| 9616 | (mh-previous-undeleted-msg): Change similar to | 9616 | (mh-previous-undeleted-msg): Change similar to |
| @@ -10337,7 +10337,7 @@ | |||
| 10337 | arguments in XEmacs. | 10337 | arguments in XEmacs. |
| 10338 | (mh-send-letter): sendmail-coding-system not bound in XEmacs. | 10338 | (mh-send-letter): sendmail-coding-system not bound in XEmacs. |
| 10339 | (mh-send-letter): default-buffer-file-coding-system not bound in | 10339 | (mh-send-letter): default-buffer-file-coding-system not bound in |
| 10340 | Xemacs. | 10340 | XEmacs. |
| 10341 | 10341 | ||
| 10342 | * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): | 10342 | * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): |
| 10343 | transient-mark-mode not bound in XEmacs. The feature of | 10343 | transient-mark-mode not bound in XEmacs. The feature of |
| @@ -10456,10 +10456,10 @@ | |||
| 10456 | 10456 | ||
| 10457 | 2001-12-04 Eric Ding <ericding@alum.mit.edu> | 10457 | 2001-12-04 Eric Ding <ericding@alum.mit.edu> |
| 10458 | 10458 | ||
| 10459 | * mh-e.el: changes to face colors on dark backgrounds. | 10459 | * mh-e.el: changes to face colors on dark backgrounds. |
| 10460 | (mh-folder-followup-face): change to LightGoldenRod. | 10460 | (mh-folder-followup-face): change to LightGoldenRod. |
| 10461 | (mh-folder-date-face): change to snow3. | 10461 | (mh-folder-date-face): change to snow3. |
| 10462 | (mh-folder-msg-number-face): change to snow4. | 10462 | (mh-folder-msg-number-face): change to snow4. |
| 10463 | 10463 | ||
| 10464 | 2001-12-04 Bill Wohler <wohler@newt.com> | 10464 | 2001-12-04 Bill Wohler <wohler@newt.com> |
| 10465 | 10465 | ||
| @@ -11049,7 +11049,7 @@ | |||
| 11049 | line, starting with Re: | 11049 | line, starting with Re: |
| 11050 | (mh-scan-body-regexp): | 11050 | (mh-scan-body-regexp): |
| 11051 | Regexp matching the message body beginning displayed in scan lines. | 11051 | Regexp matching the message body beginning displayed in scan lines. |
| 11052 | (mh-scan.font-lock-regexp): Regexp matching output of the the | 11052 | (mh-scan.font-lock-regexp): Regexp matching output of the |
| 11053 | optional scan.font-lock format file. | 11053 | optional scan.font-lock format file. |
| 11054 | (mh-folder-font-lock-keywords): New font-lock for folder-mode that | 11054 | (mh-folder-font-lock-keywords): New font-lock for folder-mode that |
| 11055 | uses the above regexps. | 11055 | uses the above regexps. |
| @@ -11336,7 +11336,7 @@ | |||
| 11336 | typically have 70 lines in my Emacs frame, so having a default of | 11336 | typically have 70 lines in my Emacs frame, so having a default of |
| 11337 | 4 was silly for my case. | 11337 | 4 was silly for my case. |
| 11338 | * mh-e.el (mh-update-sequences): Check for nil value of | 11338 | * mh-e.el (mh-update-sequences): Check for nil value of |
| 11339 | mh-current-folder, which happens if mh-summary-height < 4 | 11339 | mh-current-folder, which happens if mh-summary-height < 4 |
| 11340 | although I haven't tracked doen why that happens. | 11340 | although I haven't tracked doen why that happens. |
| 11341 | 11341 | ||
| 11342 | 2001-10-22 Peter S Galbraith <psg@debian.org> | 11342 | 2001-10-22 Peter S Galbraith <psg@debian.org> |
diff --git a/lisp/mh-e/mh-alias.el b/lisp/mh-e/mh-alias.el index d1b3ccebf46..c6d60b3b2e2 100644 --- a/lisp/mh-e/mh-alias.el +++ b/lisp/mh-e/mh-alias.el | |||
| @@ -272,7 +272,7 @@ Blind aliases or users from /etc/passwd are not expanded." | |||
| 272 | (completing-read prompt mh-alias-alist nil nil) ","))))) | 272 | (completing-read prompt mh-alias-alist nil nil) ","))))) |
| 273 | (if (not mh-alias-expand-aliases-flag) | 273 | (if (not mh-alias-expand-aliases-flag) |
| 274 | (mapconcat 'identity the-answer ", ") | 274 | (mapconcat 'identity the-answer ", ") |
| 275 | ;; Loop over all elements, checking if in passwd aliast or blind first | 275 | ;; Loop over all elements, checking if in passwd alias or blind first |
| 276 | (mapconcat 'mh-alias-expand the-answer ",\n "))))) | 276 | (mapconcat 'mh-alias-expand the-answer ",\n "))))) |
| 277 | 277 | ||
| 278 | ;;;###mh-autoload | 278 | ;;;###mh-autoload |
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el index 882a8771e28..eceb7a5fe3a 100644 --- a/lisp/mh-e/mh-comp.el +++ b/lisp/mh-e/mh-comp.el | |||
| @@ -504,7 +504,7 @@ See also `mh-compose-forward-as-mime-flag', | |||
| 504 | folder msg) | 504 | folder msg) |
| 505 | ;; Was inserted before us, move to end of file to preserve order | 505 | ;; Was inserted before us, move to end of file to preserve order |
| 506 | (goto-char (point-max))))))) | 506 | (goto-char (point-max))))))) |
| 507 | ;; Postition just before forwarded message | 507 | ;; Position just before forwarded message. |
| 508 | (if (re-search-forward "^------- Forwarded Message" nil t) | 508 | (if (re-search-forward "^------- Forwarded Message" nil t) |
| 509 | (forward-line -1) | 509 | (forward-line -1) |
| 510 | (goto-char (mh-mail-header-end)) | 510 | (goto-char (mh-mail-header-end)) |
diff --git a/lisp/mh-e/mh-compat.el b/lisp/mh-e/mh-compat.el index 07c558f60cc..88a6ed84055 100644 --- a/lisp/mh-e/mh-compat.el +++ b/lisp/mh-e/mh-compat.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; mh-compat.el --- make MH-E compatibile with various versions of Emacs | 1 | ;;; mh-compat.el --- make MH-E compatible with various versions of Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2006-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2006-2011 Free Software Foundation, Inc. |
| 4 | 4 | ||
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el index 458993ca8f1..b614cdb7991 100644 --- a/lisp/mh-e/mh-e.el +++ b/lisp/mh-e/mh-e.el | |||
| @@ -2478,7 +2478,7 @@ of citations entirely, choose \"None\"." | |||
| 2478 | "Original-NNTP-" ; mail to news | 2478 | "Original-NNTP-" ; mail to news |
| 2479 | "Original-Path:" ; mail to news | 2479 | "Original-Path:" ; mail to news |
| 2480 | "Original-Received:" ; mail to news | 2480 | "Original-Received:" ; mail to news |
| 2481 | "Original-Recipt:" ; RFC 2298 | 2481 | "Original-Recipient:" ; RFC 2298 |
| 2482 | "Original-To:" ; mail to news | 2482 | "Original-To:" ; mail to news |
| 2483 | "Original-X-" ; mail to news | 2483 | "Original-X-" ; mail to news |
| 2484 | "Origination-Client:" ; http://people.dsv.su.se/~jpalme/ietf/mail-headers/ | 2484 | "Origination-Client:" ; http://people.dsv.su.se/~jpalme/ietf/mail-headers/ |
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el index 0327b64a33f..a97185e1496 100644 --- a/lisp/mh-e/mh-mime.el +++ b/lisp/mh-e/mh-mime.el | |||
| @@ -1399,7 +1399,7 @@ See also \\[mh-mh-to-mime]." | |||
| 1399 | ("mailto") ; RFC1738 Electronic mail address | 1399 | ("mailto") ; RFC1738 Electronic mail address |
| 1400 | ("news") ; RFC1738 Usenet news | 1400 | ("news") ; RFC1738 Usenet news |
| 1401 | ("nntp") ; RFC1738 Usenet news using NNTP access | 1401 | ("nntp") ; RFC1738 Usenet news using NNTP access |
| 1402 | ("propspero") ; RFC1738 Prospero Directory Service | 1402 | ("prospero") ; RFC1738 Prospero Directory Service |
| 1403 | ("telnet") ; RFC1738 Telnet | 1403 | ("telnet") ; RFC1738 Telnet |
| 1404 | ("tftp") ; RFC2046 Trivial File Transfer Protocol | 1404 | ("tftp") ; RFC2046 Trivial File Transfer Protocol |
| 1405 | ("url") ; RFC2017 URL scheme MIME access-type Protocol | 1405 | ("url") ; RFC2017 URL scheme MIME access-type Protocol |
diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el index a547dd8d80a..c06bc6649a5 100644 --- a/lisp/mh-e/mh-search.el +++ b/lisp/mh-e/mh-search.el | |||
| @@ -646,7 +646,7 @@ Uses the pick method described in `mh-pick-execute-search'." | |||
| 646 | 646 | ||
| 647 | (defun mh-pick-parse-search-buffer () | 647 | (defun mh-pick-parse-search-buffer () |
| 648 | "Parse the search buffer contents. | 648 | "Parse the search buffer contents. |
| 649 | The function returns a alist. The car of each element is either | 649 | The function returns an alist. The car of each element is either |
| 650 | the header name to search in or nil to search the whole message. | 650 | the header name to search in or nil to search the whole message. |
| 651 | The cdr of the element is the pattern to search." | 651 | The cdr of the element is the pattern to search." |
| 652 | (save-excursion | 652 | (save-excursion |
| @@ -1791,7 +1791,7 @@ PROC is used to convert the value to actual data." | |||
| 1791 | ;; To add support for your favorite checksum program add a clause to | 1791 | ;; To add support for your favorite checksum program add a clause to |
| 1792 | ;; the cond statement in mh-checksum-choose. This should set the | 1792 | ;; the cond statement in mh-checksum-choose. This should set the |
| 1793 | ;; variable mh-checksum-cmd to the command line needed to run the | 1793 | ;; variable mh-checksum-cmd to the command line needed to run the |
| 1794 | ;; checsum program and should set mh-checksum-parser to a function | 1794 | ;; checksum program and should set mh-checksum-parser to a function |
| 1795 | ;; which returns a cons cell containing the message number and | 1795 | ;; which returns a cons cell containing the message number and |
| 1796 | ;; checksum string. | 1796 | ;; checksum string. |
| 1797 | 1797 | ||
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 38785fc48e8..11e195d4f7f 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el | |||
| @@ -51,7 +51,7 @@ | |||
| 51 | ;; - choose-completion doesn't know how to quote the text it inserts. | 51 | ;; - choose-completion doesn't know how to quote the text it inserts. |
| 52 | ;; E.g. it fails to double the dollars in file-name completion, or | 52 | ;; E.g. it fails to double the dollars in file-name completion, or |
| 53 | ;; to backslash-escape spaces and other chars in comint completion. | 53 | ;; to backslash-escape spaces and other chars in comint completion. |
| 54 | ;; - when completing ~/tmp/fo$$o, the highligting in *Completions* | 54 | ;; - when completing ~/tmp/fo$$o, the highlighting in *Completions* |
| 55 | ;; is off by one position. | 55 | ;; is off by one position. |
| 56 | ;; - all code like PCM which relies on all-completions to match | 56 | ;; - all code like PCM which relies on all-completions to match |
| 57 | ;; its argument gets confused because all-completions returns unquoted | 57 | ;; its argument gets confused because all-completions returns unquoted |
| @@ -2427,7 +2427,7 @@ PATTERN is as returned by `completion-pcm--string->pattern'." | |||
| 2427 | "Find all completions for STRING at POINT in TABLE, satisfying PRED. | 2427 | "Find all completions for STRING at POINT in TABLE, satisfying PRED. |
| 2428 | POINT is a position inside STRING. | 2428 | POINT is a position inside STRING. |
| 2429 | FILTER is a function applied to the return value, that can be used, e.g. to | 2429 | FILTER is a function applied to the return value, that can be used, e.g. to |
| 2430 | filter out additional entries (because TABLE migth not obey PRED)." | 2430 | filter out additional entries (because TABLE might not obey PRED)." |
| 2431 | (unless filter (setq filter 'identity)) | 2431 | (unless filter (setq filter 'identity)) |
| 2432 | (let* ((beforepoint (substring string 0 point)) | 2432 | (let* ((beforepoint (substring string 0 point)) |
| 2433 | (afterpoint (substring string point)) | 2433 | (afterpoint (substring string point)) |
diff --git a/lisp/misearch.el b/lisp/misearch.el index c533562f073..de1a32ff7d5 100644 --- a/lisp/misearch.el +++ b/lisp/misearch.el | |||
| @@ -142,7 +142,7 @@ Intended to be added to `isearch-mode-hook'." | |||
| 142 | ;; 1. First try searching in the initial buffer | 142 | ;; 1. First try searching in the initial buffer |
| 143 | (let ((res (funcall search-fun string bound noerror))) | 143 | (let ((res (funcall search-fun string bound noerror))) |
| 144 | ;; Reset wrapping for all-buffers pause after successful search | 144 | ;; Reset wrapping for all-buffers pause after successful search |
| 145 | (if (and res (eq multi-isearch-pause t)) | 145 | (if (and res (not bound) (eq multi-isearch-pause t)) |
| 146 | (setq multi-isearch-current-buffer nil)) | 146 | (setq multi-isearch-current-buffer nil)) |
| 147 | res) | 147 | res) |
| 148 | ;; 2. If the above search fails, start visiting next/prev buffers | 148 | ;; 2. If the above search fails, start visiting next/prev buffers |
| @@ -173,8 +173,8 @@ Intended to be added to `isearch-mode-hook'." | |||
| 173 | found) | 173 | found) |
| 174 | ;; Return nil when multi-isearch-next-buffer-current-function fails | 174 | ;; Return nil when multi-isearch-next-buffer-current-function fails |
| 175 | ;; (`with-current-buffer' raises an error for nil returned from it). | 175 | ;; (`with-current-buffer' raises an error for nil returned from it). |
| 176 | (error nil)) | 176 | (error (signal 'search-failed (list string "end of multi")))) |
| 177 | (signal 'search-failed (list string "Repeat for next buffer")))))))) | 177 | (signal 'search-failed (list string "repeat for next buffer")))))))) |
| 178 | 178 | ||
| 179 | (defun multi-isearch-wrap () | 179 | (defun multi-isearch-wrap () |
| 180 | "Wrap the multiple buffers search when search is failed. | 180 | "Wrap the multiple buffers search when search is failed. |
diff --git a/lisp/mouse-sel.el b/lisp/mouse-sel.el index bcf1749e13f..7f04cac96fe 100644 --- a/lisp/mouse-sel.el +++ b/lisp/mouse-sel.el | |||
| @@ -60,7 +60,7 @@ | |||
| 60 | ;; | 60 | ;; |
| 61 | ;; Thanks to KevinB@bartley.demon.co.uk for his useful input. | 61 | ;; Thanks to KevinB@bartley.demon.co.uk for his useful input. |
| 62 | ;; | 62 | ;; |
| 63 | ;;--- Customisation ------------------------------------------------------- | 63 | ;;--- Customization ------------------------------------------------------- |
| 64 | ;; | 64 | ;; |
| 65 | ;; * You may want to use none or more of following: | 65 | ;; * You may want to use none or more of following: |
| 66 | ;; | 66 | ;; |
diff --git a/lisp/mpc.el b/lisp/mpc.el index 40ccb456400..238e8ad68ae 100644 --- a/lisp/mpc.el +++ b/lisp/mpc.el | |||
| @@ -2358,7 +2358,7 @@ This is used so that they can be compared with `eq', which is needed for | |||
| 2358 | (let* ((currenttime (float-time)) | 2358 | (let* ((currenttime (float-time)) |
| 2359 | (last-time (- currenttime (car mpc-last-seek-time)))) | 2359 | (last-time (- currenttime (car mpc-last-seek-time)))) |
| 2360 | (if (< last-time (* 0.9 repeat-delay)) | 2360 | (if (< last-time (* 0.9 repeat-delay)) |
| 2361 | nil ;; Trottle | 2361 | nil ;; Throttle |
| 2362 | (let* ((status (if (< last-time 1.0) | 2362 | (let* ((status (if (< last-time 1.0) |
| 2363 | mpc-status (mpc-cmd-status))) | 2363 | mpc-status (mpc-cmd-status))) |
| 2364 | (songid (cdr (assq 'songid status))) | 2364 | (songid (cdr (assq 'songid status))) |
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index 488a4fdb976..f6a5b53ae7f 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el | |||
| @@ -46,7 +46,7 @@ | |||
| 46 | ;; Extended filename syntax: | 46 | ;; Extended filename syntax: |
| 47 | ;; | 47 | ;; |
| 48 | ;; The default extended filename syntax is '/user@host:name', where the | 48 | ;; The default extended filename syntax is '/user@host:name', where the |
| 49 | ;; 'user@' part may be omitted. This syntax can be customised to a certain | 49 | ;; 'user@' part may be omitted. This syntax can be customized to a certain |
| 50 | ;; extent by changing ange-ftp-name-format. There are limitations. | 50 | ;; extent by changing ange-ftp-name-format. There are limitations. |
| 51 | ;; The `host' part has an optional suffix `#port' which may be used to | 51 | ;; The `host' part has an optional suffix `#port' which may be used to |
| 52 | ;; specify a non-default port number for the connexion. | 52 | ;; specify a non-default port number for the connexion. |
| @@ -721,7 +721,7 @@ parenthesized expressions in REGEXP for the components (in that order)." | |||
| 721 | "^local:\\|^Trying\\|^125 \\|^550-\\|^221 .*oodbye\\|" | 721 | "^local:\\|^Trying\\|^125 \\|^550-\\|^221 .*oodbye\\|" |
| 722 | "^500 .*AUTH\\|^KERBEROS\\|" | 722 | "^500 .*AUTH\\|^KERBEROS\\|" |
| 723 | "^504 Unknown security mechanism\\|" | 723 | "^504 Unknown security mechanism\\|" |
| 724 | "^530 Please login with USER and PASS\\|" ; non kerberised vsFTPd | 724 | "^530 Please login with USER and PASS\\|" ; non kerberized vsFTPd |
| 725 | "^534 Kerberos Authentication not enabled\\|" | 725 | "^534 Kerberos Authentication not enabled\\|" |
| 726 | "^22[789] .*[Pp]assive\\|^200 EPRT\\|^500 .*EPRT") | 726 | "^22[789] .*[Pp]assive\\|^200 EPRT\\|^500 .*EPRT") |
| 727 | "Regular expression matching FTP messages that can be ignored." | 727 | "Regular expression matching FTP messages that can be ignored." |
| @@ -1665,7 +1665,7 @@ good, skip, fatal, or unknown." | |||
| 1665 | (ange-ftp-process-handle-line line proc) | 1665 | (ange-ftp-process-handle-line line proc) |
| 1666 | ;; If we've seen a potential error message and it | 1666 | ;; If we've seen a potential error message and it |
| 1667 | ;; hasn't been cancelled by a good message before | 1667 | ;; hasn't been cancelled by a good message before |
| 1668 | ;; seeing a propt, then the error was real. | 1668 | ;; seeing a prompt, then the error was real. |
| 1669 | (delete-process proc) | 1669 | (delete-process proc) |
| 1670 | (setq ange-ftp-process-busy nil | 1670 | (setq ange-ftp-process-busy nil |
| 1671 | ange-ftp-process-result-line ange-ftp-pending-error-line)))) | 1671 | ange-ftp-process-result-line ange-ftp-pending-error-line)))) |
| @@ -4027,7 +4027,7 @@ E.g., | |||
| 4027 | (concat bestmatch "/") | 4027 | (concat bestmatch "/") |
| 4028 | bestmatch))))) | 4028 | bestmatch))))) |
| 4029 | 4029 | ||
| 4030 | ;; Put these lines uncommmented in your .emacs if you want C-r to refresh | 4030 | ;; Put these lines uncommented in your .emacs if you want C-r to refresh |
| 4031 | ;; ange-ftp's cache whilst doing filename completion. | 4031 | ;; ange-ftp's cache whilst doing filename completion. |
| 4032 | ;; | 4032 | ;; |
| 4033 | ;;(define-key minibuffer-local-completion-map "\C-r" 'ange-ftp-re-read-dir) | 4033 | ;;(define-key minibuffer-local-completion-map "\C-r" 'ange-ftp-re-read-dir) |
| @@ -4507,7 +4507,7 @@ NEWNAME should be the name to give the new compressed or uncompressed file.") | |||
| 4507 | ;; We used to follow symlinks on `file' here. Apparently it was done | 4507 | ;; We used to follow symlinks on `file' here. Apparently it was done |
| 4508 | ;; because some FTP servers react to "ls foo" by listing the symlink foo | 4508 | ;; because some FTP servers react to "ls foo" by listing the symlink foo |
| 4509 | ;; rather than the directory it points to. Now that ange-ftp-ls uses | 4509 | ;; rather than the directory it points to. Now that ange-ftp-ls uses |
| 4510 | ;; "cd foo; ls" instead, this is not necesssary any more. | 4510 | ;; "cd foo; ls" instead, this is not necessary any more. |
| 4511 | (let ((beg (point)) | 4511 | (let ((beg (point)) |
| 4512 | (end (point-marker))) | 4512 | (end (point-marker))) |
| 4513 | (set-marker-insertion-type end t) | 4513 | (set-marker-insertion-type end t) |
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 10a1fa5afc5..3ab1a345470 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el | |||
| @@ -100,7 +100,7 @@ | |||
| 100 | ;; <URL:ftp://ftp.lysator.liu.se/pub/sgml>; hm--html-menus can be used | 100 | ;; <URL:ftp://ftp.lysator.liu.se/pub/sgml>; hm--html-menus can be used |
| 101 | ;; with this. | 101 | ;; with this. |
| 102 | 102 | ||
| 103 | ;; This package generalises function html-previewer-process in Marc | 103 | ;; This package generalizes function html-previewer-process in Marc |
| 104 | ;; Andreessen's html-mode (LCD modes/html-mode.el.Z). See also the | 104 | ;; Andreessen's html-mode (LCD modes/html-mode.el.Z). See also the |
| 105 | ;; ffap.el package. The huge hyperbole package also contains similar | 105 | ;; ffap.el package. The huge hyperbole package also contains similar |
| 106 | ;; functions. | 106 | ;; functions. |
| @@ -138,7 +138,7 @@ | |||
| 138 | ;; M-x browse-url-of-dired-file RET | 138 | ;; M-x browse-url-of-dired-file RET |
| 139 | 139 | ||
| 140 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 140 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 141 | ;; Customisation (~/.emacs) | 141 | ;; Customization (~/.emacs) |
| 142 | 142 | ||
| 143 | ;; To see what variables are available for customization, type | 143 | ;; To see what variables are available for customization, type |
| 144 | ;; `M-x set-variable browse-url TAB'. Better, use | 144 | ;; `M-x set-variable browse-url TAB'. Better, use |
| @@ -190,7 +190,7 @@ | |||
| 190 | ;; | 190 | ;; |
| 191 | ;; (add-hook 'browse-url-of-file-hook 'browse-url-netscape-reload) | 191 | ;; (add-hook 'browse-url-of-file-hook 'browse-url-netscape-reload) |
| 192 | 192 | ||
| 193 | ;; You may also want to customise browse-url-netscape-arguments, e.g. | 193 | ;; You may also want to customize browse-url-netscape-arguments, e.g. |
| 194 | ;; (setq browse-url-netscape-arguments '("-install")) | 194 | ;; (setq browse-url-netscape-arguments '("-install")) |
| 195 | ;; | 195 | ;; |
| 196 | ;; or similarly for the other browsers. | 196 | ;; or similarly for the other browsers. |
| @@ -389,7 +389,7 @@ Defaults to the value of `browse-url-epiphany-arguments' at the time | |||
| 389 | :type '(repeat (string :tag "Argument")) | 389 | :type '(repeat (string :tag "Argument")) |
| 390 | :group 'browse-url) | 390 | :group 'browse-url) |
| 391 | 391 | ||
| 392 | ;; GNOME means of invoking either Mozilla or Netrape. | 392 | ;; GNOME means of invoking either Mozilla or Netscape. |
| 393 | (defvar browse-url-gnome-moz-program "gnome-moz-remote") | 393 | (defvar browse-url-gnome-moz-program "gnome-moz-remote") |
| 394 | 394 | ||
| 395 | (defcustom browse-url-gnome-moz-arguments '() | 395 | (defcustom browse-url-gnome-moz-arguments '() |
diff --git a/lisp/net/dbus.el b/lisp/net/dbus.el index e5eb2015418..03b84a45ea3 100644 --- a/lisp/net/dbus.el +++ b/lisp/net/dbus.el | |||
| @@ -505,7 +505,7 @@ not well formed." | |||
| 505 | 505 | ||
| 506 | (defun dbus-event-member-name (event) | 506 | (defun dbus-event-member-name (event) |
| 507 | "Return the member name the event is coming from. | 507 | "Return the member name the event is coming from. |
| 508 | It is either a signal name or a method name. The result is is a | 508 | It is either a signal name or a method name. The result is a |
| 509 | string. EVENT is a D-Bus event, see `dbus-check-event'. This | 509 | string. EVENT is a D-Bus event, see `dbus-check-event'. This |
| 510 | function raises a `dbus-error' signal in case the event is not | 510 | function raises a `dbus-error' signal in case the event is not |
| 511 | well formed." | 511 | well formed." |
diff --git a/lisp/net/eudc-hotlist.el b/lisp/net/eudc-hotlist.el index 64b2d34af9c..1f6c4464808 100644 --- a/lisp/net/eudc-hotlist.el +++ b/lisp/net/eudc-hotlist.el | |||
| @@ -53,7 +53,7 @@ These are the special commands of this mode: | |||
| 53 | s -- Select the server at point. | 53 | s -- Select the server at point. |
| 54 | t -- Transpose the server at point and the previous one | 54 | t -- Transpose the server at point and the previous one |
| 55 | q -- Commit the changes and quit. | 55 | q -- Commit the changes and quit. |
| 56 | x -- Quit without commiting the changes." | 56 | x -- Quit without committing the changes." |
| 57 | (interactive) | 57 | (interactive) |
| 58 | (kill-all-local-variables) | 58 | (kill-all-local-variables) |
| 59 | (setq major-mode 'eudc-hotlist-mode) | 59 | (setq major-mode 'eudc-hotlist-mode) |
diff --git a/lisp/net/mairix.el b/lisp/net/mairix.el index 8c4bbb4a785..68a0a6a85d4 100644 --- a/lisp/net/mairix.el +++ b/lisp/net/mairix.el | |||
| @@ -51,7 +51,7 @@ | |||
| 51 | ;; Currently, RMail, Gnus (with mbox files), and VM are supported as | 51 | ;; Currently, RMail, Gnus (with mbox files), and VM are supported as |
| 52 | ;; mail programs, but it is pretty easy to interface it with other | 52 | ;; mail programs, but it is pretty easy to interface it with other |
| 53 | ;; ones as well. Please see the docs and the source for details. | 53 | ;; ones as well. Please see the docs and the source for details. |
| 54 | ;; In a nutshell: include your favourite mail program in | 54 | ;; In a nutshell: include your favorite mail program in |
| 55 | ;; `mairix-mail-program' and write functions for | 55 | ;; `mairix-mail-program' and write functions for |
| 56 | ;; `mairix-display-functions' and `mairix-get-mail-header-functions'. | 56 | ;; `mairix-display-functions' and `mairix-get-mail-header-functions'. |
| 57 | ;; If you have written such functions for your Emacs mail program of | 57 | ;; If you have written such functions for your Emacs mail program of |
| @@ -945,4 +945,3 @@ Use cursor keys or C-n,C-p to select next/previous search.\n\n") | |||
| 945 | (provide 'mairix) | 945 | (provide 'mairix) |
| 946 | 946 | ||
| 947 | ;;; mairix.el ends here | 947 | ;;; mairix.el ends here |
| 948 | |||
diff --git a/lisp/net/newst-plainview.el b/lisp/net/newst-plainview.el index 906044079cd..f1b3ce7fd05 100644 --- a/lisp/net/newst-plainview.el +++ b/lisp/net/newst-plainview.el | |||
| @@ -783,11 +783,11 @@ Return new buffer position." | |||
| 783 | (newsticker--buffer-set-uptodate nil) | 783 | (newsticker--buffer-set-uptodate nil) |
| 784 | (newsticker--ticker-text-setup) | 784 | (newsticker--ticker-text-setup) |
| 785 | (newsticker-buffer-update) | 785 | (newsticker-buffer-update) |
| 786 | ;; go back to where we came frome | 786 | ;; Go back to where we came from. |
| 787 | (goto-char pos) | 787 | (goto-char pos) |
| 788 | (end-of-line) | 788 | (end-of-line) |
| 789 | (newsticker--buffer-goto '(feed) nil t)))) | 789 | (newsticker--buffer-goto '(feed) nil t)))) |
| 790 | 790 | ||
| 791 | (defun newsticker-mark-all-items-at-point-as-read () | 791 | (defun newsticker-mark-all-items-at-point-as-read () |
| 792 | "Mark all items as read and clear ticker contents." | 792 | "Mark all items as read and clear ticker contents." |
| 793 | (interactive) | 793 | (interactive) |
| @@ -1574,7 +1574,7 @@ property to '(<nt-type>-<nt-age> <nt-type> <nt-age>)." | |||
| 1574 | (while (and (setq pos2 (next-single-property-change pos1 'nt-type)) | 1574 | (while (and (setq pos2 (next-single-property-change pos1 'nt-type)) |
| 1575 | (<= pos2 end) | 1575 | (<= pos2 end) |
| 1576 | (> pos2 pos1)) | 1576 | (> pos2 pos1)) |
| 1577 | ;; must shift one char to the left in order to handle inivisible | 1577 | ;; must shift one char to the left in order to handle invisible |
| 1578 | ;; newlines, motion in invisible text areas and all that correctly | 1578 | ;; newlines, motion in invisible text areas and all that correctly |
| 1579 | (put-text-property (1- pos1) (1- pos2) | 1579 | (put-text-property (1- pos1) (1- pos2) |
| 1580 | 'invisible | 1580 | 'invisible |
diff --git a/lisp/net/newst-treeview.el b/lisp/net/newst-treeview.el index 5e38a905ad5..8ff74a94eb0 100644 --- a/lisp/net/newst-treeview.el +++ b/lisp/net/newst-treeview.el | |||
| @@ -227,7 +227,7 @@ their id stays constant." | |||
| 227 | (string= (widget-get node1 :tag) (widget-get node2 :tag))))) | 227 | (string= (widget-get node1 :tag) (widget-get node2 :tag))))) |
| 228 | 228 | ||
| 229 | (defun newsticker--treeview-do-get-node-of-feed (feed-name startnode) | 229 | (defun newsticker--treeview-do-get-node-of-feed (feed-name startnode) |
| 230 | "Recursivly search node for feed FEED-NAME starting from STARTNODE." | 230 | "Recursively search node for feed FEED-NAME starting from STARTNODE." |
| 231 | ;;(message "%s/%s" feed-name (widget-get startnode :nt-feed)) | 231 | ;;(message "%s/%s" feed-name (widget-get startnode :nt-feed)) |
| 232 | (if (string= feed-name (or (widget-get startnode :nt-feed) | 232 | (if (string= feed-name (or (widget-get startnode :nt-feed) |
| 233 | (widget-get startnode :nt-vfeed))) | 233 | (widget-get startnode :nt-vfeed))) |
| @@ -245,7 +245,7 @@ their id stays constant." | |||
| 245 | newsticker--treeview-vfeed-tree))) | 245 | newsticker--treeview-vfeed-tree))) |
| 246 | 246 | ||
| 247 | (defun newsticker--treeview-do-get-node (id startnode) | 247 | (defun newsticker--treeview-do-get-node (id startnode) |
| 248 | "Recursivly search node with ID starting from STARTNODE." | 248 | "Recursively search node with ID starting from STARTNODE." |
| 249 | (if (newsticker--treeview-ids-eq id (widget-get startnode :nt-id)) | 249 | (if (newsticker--treeview-ids-eq id (widget-get startnode :nt-id)) |
| 250 | (throw 'found startnode) | 250 | (throw 'found startnode) |
| 251 | (let ((children (widget-get startnode :children))) | 251 | (let ((children (widget-get startnode :children))) |
| @@ -1793,7 +1793,7 @@ Update teeview afterwards unless NO-UPDATE is non-nil." | |||
| 1793 | result)) | 1793 | result)) |
| 1794 | 1794 | ||
| 1795 | (defun newsticker--group-remove-obsolete-feeds (group) | 1795 | (defun newsticker--group-remove-obsolete-feeds (group) |
| 1796 | "Recursively remove obselete feeds from GROUP." | 1796 | "Recursively remove obsolete feeds from GROUP." |
| 1797 | (let ((result nil) | 1797 | (let ((result nil) |
| 1798 | (urls (append newsticker-url-list newsticker-url-list-defaults))) | 1798 | (urls (append newsticker-url-list newsticker-url-list-defaults))) |
| 1799 | (mapc (lambda (g) | 1799 | (mapc (lambda (g) |
diff --git a/lisp/net/newsticker.el b/lisp/net/newsticker.el index 3a2cf3f04f7..0a1e07e63f1 100644 --- a/lisp/net/newsticker.el +++ b/lisp/net/newsticker.el | |||
| @@ -106,7 +106,7 @@ | |||
| 106 | ;; asynchronous download of headlines. The modeline in the `*newsticker*' | 106 | ;; asynchronous download of headlines. The modeline in the `*newsticker*' |
| 107 | ;; buffer informs whenever new headlines have arrived. Clicking | 107 | ;; buffer informs whenever new headlines have arrived. Clicking |
| 108 | ;; mouse-button 2 or pressing RET in this buffer on a headline will call | 108 | ;; mouse-button 2 or pressing RET in this buffer on a headline will call |
| 109 | ;; browse-url to load the corresponding news story in your favourite web | 109 | ;; browse-url to load the corresponding news story in your favorite web |
| 110 | ;; browser. | 110 | ;; browser. |
| 111 | 111 | ||
| 112 | ;; The scrolling, or flashing of headlines in the echo area, can be started | 112 | ;; The scrolling, or flashing of headlines in the echo area, can be started |
diff --git a/lisp/net/quickurl.el b/lisp/net/quickurl.el index 3f1437f0799..a31ec496c16 100644 --- a/lisp/net/quickurl.el +++ b/lisp/net/quickurl.el | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | ;; | 26 | ;; |
| 27 | ;; This package provides a simple method of inserting a URL based on the | 27 | ;; This package provides a simple method of inserting a URL based on the |
| 28 | ;; text at point in the current buffer. This is part of an on-going effort | 28 | ;; text at point in the current buffer. This is part of an on-going effort |
| 29 | ;; to increase the information I provide people while reducing the ammount | 29 | ;; to increase the information I provide people while reducing the amount |
| 30 | ;; of typing I need to do. No-doubt there are undiscovered Emacs packages | 30 | ;; of typing I need to do. No-doubt there are undiscovered Emacs packages |
| 31 | ;; out there that do all of this and do it better, feel free to point me to | 31 | ;; out there that do all of this and do it better, feel free to point me to |
| 32 | ;; them, in the mean time I'm having fun playing with Emacs Lisp. | 32 | ;; them, in the mean time I'm having fun playing with Emacs Lisp. |
| @@ -189,7 +189,7 @@ in your ~/.emacs (after loading/requiring quickurl).") | |||
| 189 | "Local keymap for a `quickurl-list-mode' buffer.") | 189 | "Local keymap for a `quickurl-list-mode' buffer.") |
| 190 | 190 | ||
| 191 | (defvar quickurl-list-buffer-name "*quickurl-list*" | 191 | (defvar quickurl-list-buffer-name "*quickurl-list*" |
| 192 | "Name for the URL listinig buffer.") | 192 | "Name for the URL listing buffer.") |
| 193 | 193 | ||
| 194 | (defvar quickurl-list-last-buffer nil | 194 | (defvar quickurl-list-last-buffer nil |
| 195 | "`current-buffer' when `quickurl-list' was called.") | 195 | "`current-buffer' when `quickurl-list' was called.") |
| @@ -201,7 +201,7 @@ in your ~/.emacs (after loading/requiring quickurl).") | |||
| 201 | (listp (cdr url))) | 201 | (listp (cdr url))) |
| 202 | 202 | ||
| 203 | (defun quickurl-make-url (keyword url &optional comment) | 203 | (defun quickurl-make-url (keyword url &optional comment) |
| 204 | "Create a URL from KEYWORD, URL and (optionaly) COMMENT." | 204 | "Create a URL from KEYWORD, URL and (optionally) COMMENT." |
| 205 | (if (and comment (not (zerop (length comment)))) | 205 | (if (and comment (not (zerop (length comment)))) |
| 206 | (list keyword url comment) | 206 | (list keyword url comment) |
| 207 | (cons keyword url))) | 207 | (cons keyword url))) |
diff --git a/lisp/net/secrets.el b/lisp/net/secrets.el index 9fa5eb32d43..7e0eaff1dce 100644 --- a/lisp/net/secrets.el +++ b/lisp/net/secrets.el | |||
| @@ -78,7 +78,7 @@ | |||
| 78 | ;; (secrets-create-collection "my collection") | 78 | ;; (secrets-create-collection "my collection") |
| 79 | 79 | ||
| 80 | ;; There exists a special collection called "session", which has the | 80 | ;; There exists a special collection called "session", which has the |
| 81 | ;; lifetime of the corrresponding client session (aka Emacs' | 81 | ;; lifetime of the corresponding client session (aka Emacs' |
| 82 | ;; lifetime). It is created automatically when Emacs uses the Secret | 82 | ;; lifetime). It is created automatically when Emacs uses the Secret |
| 83 | ;; Service interface, and it is deleted when Emacs is killed. | 83 | ;; Service interface, and it is deleted when Emacs is killed. |
| 84 | ;; Therefore, it can be used to store and retrieve secret items | 84 | ;; Therefore, it can be used to store and retrieve secret items |
| @@ -379,7 +379,7 @@ returned, and it will be stored in `secrets-session-path'." | |||
| 379 | (defun secrets-prompt-handler (&rest args) | 379 | (defun secrets-prompt-handler (&rest args) |
| 380 | "Handler for signals emitted by `secrets-interface-prompt'." | 380 | "Handler for signals emitted by `secrets-interface-prompt'." |
| 381 | ;; An empty object path is always identified as `secrets-empty-path' | 381 | ;; An empty object path is always identified as `secrets-empty-path' |
| 382 | ;; or `nil'. Either we set it explicitely, or it is returned by the | 382 | ;; or `nil'. Either we set it explicitly, or it is returned by the |
| 383 | ;; "Completed" signal. | 383 | ;; "Completed" signal. |
| 384 | (if (car args) ;; dismissed | 384 | (if (car args) ;; dismissed |
| 385 | (setq secrets-prompt-signal (list secrets-empty-path)) | 385 | (setq secrets-prompt-signal (list secrets-empty-path)) |
| @@ -431,7 +431,7 @@ returned, and it will be stored in `secrets-session-path'." | |||
| 431 | (secrets-get-collections))) | 431 | (secrets-get-collections))) |
| 432 | 432 | ||
| 433 | (defun secrets-collection-path (collection) | 433 | (defun secrets-collection-path (collection) |
| 434 | "Return the object path of collection labelled COLLECTION. | 434 | "Return the object path of collection labeled COLLECTION. |
| 435 | If COLLECTION is nil, return the session collection path. | 435 | If COLLECTION is nil, return the session collection path. |
| 436 | If there is no such COLLECTION, return nil." | 436 | If there is no such COLLECTION, return nil." |
| 437 | (or | 437 | (or |
| @@ -454,7 +454,7 @@ If there is no such COLLECTION, return nil." | |||
| 454 | (throw 'collection-found collection-path)))))) | 454 | (throw 'collection-found collection-path)))))) |
| 455 | 455 | ||
| 456 | (defun secrets-create-collection (collection) | 456 | (defun secrets-create-collection (collection) |
| 457 | "Create collection labelled COLLECTION if it doesn't exist. | 457 | "Create collection labeled COLLECTION if it doesn't exist. |
| 458 | Return the D-Bus object path for collection." | 458 | Return the D-Bus object path for collection." |
| 459 | (let ((collection-path (secrets-collection-path collection))) | 459 | (let ((collection-path (secrets-collection-path collection))) |
| 460 | ;; Create the collection. | 460 | ;; Create the collection. |
| @@ -480,7 +480,7 @@ For the time being, only the alias \"default\" is supported." | |||
| 480 | "Label")) | 480 | "Label")) |
| 481 | 481 | ||
| 482 | (defun secrets-set-alias (collection alias) | 482 | (defun secrets-set-alias (collection alias) |
| 483 | "Set ALIAS as alias of collection labelled COLLECTION. | 483 | "Set ALIAS as alias of collection labeled COLLECTION. |
| 484 | For the time being, only the alias \"default\" is supported." | 484 | For the time being, only the alias \"default\" is supported." |
| 485 | (let ((collection-path (secrets-collection-path collection))) | 485 | (let ((collection-path (secrets-collection-path collection))) |
| 486 | (unless (secrets-empty-path collection-path) | 486 | (unless (secrets-empty-path collection-path) |
| @@ -497,7 +497,7 @@ For the time being, only the alias \"default\" is supported." | |||
| 497 | alias :object-path secrets-empty-path)) | 497 | alias :object-path secrets-empty-path)) |
| 498 | 498 | ||
| 499 | (defun secrets-unlock-collection (collection) | 499 | (defun secrets-unlock-collection (collection) |
| 500 | "Unlock collection labelled COLLECTION. | 500 | "Unlock collection labeled COLLECTION. |
| 501 | If successful, return the object path of the collection." | 501 | If successful, return the object path of the collection." |
| 502 | (let ((collection-path (secrets-collection-path collection))) | 502 | (let ((collection-path (secrets-collection-path collection))) |
| 503 | (unless (secrets-empty-path collection-path) | 503 | (unless (secrets-empty-path collection-path) |
| @@ -509,7 +509,7 @@ If successful, return the object path of the collection." | |||
| 509 | collection-path)) | 509 | collection-path)) |
| 510 | 510 | ||
| 511 | (defun secrets-delete-collection (collection) | 511 | (defun secrets-delete-collection (collection) |
| 512 | "Delete collection labelled COLLECTION." | 512 | "Delete collection labeled COLLECTION." |
| 513 | (let ((collection-path (secrets-collection-path collection))) | 513 | (let ((collection-path (secrets-collection-path collection))) |
| 514 | (unless (secrets-empty-path collection-path) | 514 | (unless (secrets-empty-path collection-path) |
| 515 | (secrets-prompt | 515 | (secrets-prompt |
| @@ -636,7 +636,7 @@ The object path of the created item is returned." | |||
| 636 | (car result))))) | 636 | (car result))))) |
| 637 | 637 | ||
| 638 | (defun secrets-item-path (collection item) | 638 | (defun secrets-item-path (collection item) |
| 639 | "Return the object path of item labelled ITEM in COLLECTION. | 639 | "Return the object path of item labeled ITEM in COLLECTION. |
| 640 | If there is no such item, return nil." | 640 | If there is no such item, return nil." |
| 641 | (let ((collection-path (secrets-unlock-collection collection))) | 641 | (let ((collection-path (secrets-unlock-collection collection))) |
| 642 | (catch 'item-found | 642 | (catch 'item-found |
| @@ -645,7 +645,7 @@ If there is no such item, return nil." | |||
| 645 | (throw 'item-found item-path)))))) | 645 | (throw 'item-found item-path)))))) |
| 646 | 646 | ||
| 647 | (defun secrets-get-secret (collection item) | 647 | (defun secrets-get-secret (collection item) |
| 648 | "Return the secret of item labelled ITEM in COLLECTION. | 648 | "Return the secret of item labeled ITEM in COLLECTION. |
| 649 | If there is no such item, return nil." | 649 | If there is no such item, return nil." |
| 650 | (let ((item-path (secrets-item-path collection item))) | 650 | (let ((item-path (secrets-item-path collection item))) |
| 651 | (unless (secrets-empty-path item-path) | 651 | (unless (secrets-empty-path item-path) |
| @@ -656,7 +656,7 @@ If there is no such item, return nil." | |||
| 656 | "GetSecret" :object-path secrets-session-path)))))) | 656 | "GetSecret" :object-path secrets-session-path)))))) |
| 657 | 657 | ||
| 658 | (defun secrets-get-attributes (collection item) | 658 | (defun secrets-get-attributes (collection item) |
| 659 | "Return the lookup attributes of item labelled ITEM in COLLECTION. | 659 | "Return the lookup attributes of item labeled ITEM in COLLECTION. |
| 660 | If there is no such item, or the item has no attributes, return nil." | 660 | If there is no such item, or the item has no attributes, return nil." |
| 661 | (unless (stringp collection) (setq collection "default")) | 661 | (unless (stringp collection) (setq collection "default")) |
| 662 | (let ((item-path (secrets-item-path collection item))) | 662 | (let ((item-path (secrets-item-path collection item))) |
| @@ -669,7 +669,7 @@ If there is no such item, or the item has no attributes, return nil." | |||
| 669 | secrets-interface-item "Attributes"))))) | 669 | secrets-interface-item "Attributes"))))) |
| 670 | 670 | ||
| 671 | (defun secrets-get-attribute (collection item attribute) | 671 | (defun secrets-get-attribute (collection item attribute) |
| 672 | "Return the value of ATTRIBUTE of item labelled ITEM in COLLECTION. | 672 | "Return the value of ATTRIBUTE of item labeled ITEM in COLLECTION. |
| 673 | If there is no such item, or the item doesn't own this attribute, return nil." | 673 | If there is no such item, or the item doesn't own this attribute, return nil." |
| 674 | (cdr (assoc attribute (secrets-get-attributes collection item)))) | 674 | (cdr (assoc attribute (secrets-get-attributes collection item)))) |
| 675 | 675 | ||
diff --git a/lisp/net/snmp-mode.el b/lisp/net/snmp-mode.el index e9783d46ba8..8112ed5b177 100644 --- a/lisp/net/snmp-mode.el +++ b/lisp/net/snmp-mode.el | |||
| @@ -676,7 +676,7 @@ controls whether case is significant." | |||
| 676 | ;; v2 SMI TEXTUAL-CONVENTION macro template | 676 | ;; v2 SMI TEXTUAL-CONVENTION macro template |
| 677 | ;; | 677 | ;; |
| 678 | (tempo-define-template "snmpv2-textual-convention" | 678 | (tempo-define-template "snmpv2-textual-convention" |
| 679 | '(> (P "Texual Convention Type: ") " ::= TEXTUAL-CONVENTION" n> | 679 | '(> (P "Textual Convention Type: ") " ::= TEXTUAL-CONVENTION" n> |
| 680 | "STATUS " | 680 | "STATUS " |
| 681 | (if tempo-interactive | 681 | (if tempo-interactive |
| 682 | (snmp-completing-read "Status: " snmp-mode-status-list nil t) | 682 | (snmp-completing-read "Status: " snmp-mode-status-list nil t) |
diff --git a/lisp/net/soap-client.el b/lisp/net/soap-client.el index d6949e4d250..74f51d148ef 100644 --- a/lisp/net/soap-client.el +++ b/lisp/net/soap-client.el | |||
| @@ -373,7 +373,7 @@ binding) but the same name." | |||
| 373 | 373 | ||
| 374 | (defstruct (soap-sequence-type (:include soap-element)) | 374 | (defstruct (soap-sequence-type (:include soap-element)) |
| 375 | parent ; OPTIONAL WSDL-TYPE name | 375 | parent ; OPTIONAL WSDL-TYPE name |
| 376 | elements ; LIST of SOAP-SEQUCENCE-ELEMENT | 376 | elements ; LIST of SOAP-SEQUENCE-ELEMENT |
| 377 | ) | 377 | ) |
| 378 | 378 | ||
| 379 | (defstruct (soap-array-type (:include soap-element)) | 379 | (defstruct (soap-array-type (:include soap-element)) |
diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el index b35ca3bbd18..56087a3aef6 100644 --- a/lisp/net/tramp-cache.el +++ b/lisp/net/tramp-cache.el | |||
| @@ -162,6 +162,11 @@ FILE must be a local file name on a connection identified via VEC." | |||
| 162 | ;;;###tramp-autoload | 162 | ;;;###tramp-autoload |
| 163 | (defun tramp-flush-file-property (vec file) | 163 | (defun tramp-flush-file-property (vec file) |
| 164 | "Remove all properties of FILE in the cache context of VEC." | 164 | "Remove all properties of FILE in the cache context of VEC." |
| 165 | ;; Remove file property of symlinks. | ||
| 166 | (let ((truename (tramp-get-file-property vec file "file-truename" nil))) | ||
| 167 | (when (and (stringp truename) | ||
| 168 | (not (string-equal file truename))) | ||
| 169 | (tramp-flush-file-property vec truename))) | ||
| 165 | ;; Unify localname. | 170 | ;; Unify localname. |
| 166 | (setq vec (copy-sequence vec)) | 171 | (setq vec (copy-sequence vec)) |
| 167 | (aset vec 3 (tramp-run-real-handler 'directory-file-name (list file))) | 172 | (aset vec 3 (tramp-run-real-handler 'directory-file-name (list file))) |
diff --git a/lisp/net/tramp-compat.el b/lisp/net/tramp-compat.el index 5054f1d232d..89c7db241d8 100644 --- a/lisp/net/tramp-compat.el +++ b/lisp/net/tramp-compat.el | |||
| @@ -412,7 +412,7 @@ element is not omitted." | |||
| 412 | (program &optional infile destination display &rest args) | 412 | (program &optional infile destination display &rest args) |
| 413 | "Calls `call-process' on the local host. | 413 | "Calls `call-process' on the local host. |
| 414 | This is needed because for some Emacs flavors Tramp has | 414 | This is needed because for some Emacs flavors Tramp has |
| 415 | defadviced `call-process' to behave like `process-file'. The | 415 | defadvised `call-process' to behave like `process-file'. The |
| 416 | Lisp error raised when PROGRAM is nil is trapped also, returning 1." | 416 | Lisp error raised when PROGRAM is nil is trapped also, returning 1." |
| 417 | (let ((default-directory | 417 | (let ((default-directory |
| 418 | (if (file-remote-p default-directory) | 418 | (if (file-remote-p default-directory) |
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index 269b47be20c..fda88351253 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el | |||
| @@ -39,7 +39,7 @@ | |||
| 39 | ;; Consequently, GNU Emacs 23.1 with enabled D-Bus bindings is a | 39 | ;; Consequently, GNU Emacs 23.1 with enabled D-Bus bindings is a |
| 40 | ;; precondition. | 40 | ;; precondition. |
| 41 | 41 | ||
| 42 | ;; The GVFS D-Bus interface is said to be instable. There are even no | 42 | ;; The GVFS D-Bus interface is said to be unstable. There are even no |
| 43 | ;; introspection data. The interface, as discovered during | 43 | ;; introspection data. The interface, as discovered during |
| 44 | ;; development time, is given in respective comments. | 44 | ;; development time, is given in respective comments. |
| 45 | 45 | ||
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 55732194bc8..51fc6e295f0 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -549,7 +549,7 @@ as given in your `~/.profile'." | |||
| 549 | "*List of environment variables to be set on the remote host. | 549 | "*List of environment variables to be set on the remote host. |
| 550 | 550 | ||
| 551 | Each element should be a string of the form ENVVARNAME=VALUE. An | 551 | Each element should be a string of the form ENVVARNAME=VALUE. An |
| 552 | entry ENVVARNAME= diables the corresponding environment variable, | 552 | entry ENVVARNAME= disables the corresponding environment variable, |
| 553 | which might have been set in the init files like ~/.profile. | 553 | which might have been set in the init files like ~/.profile. |
| 554 | 554 | ||
| 555 | Special handling is applied to the PATH environment, which should | 555 | Special handling is applied to the PATH environment, which should |
| @@ -1058,106 +1058,110 @@ target of the symlink differ." | |||
| 1058 | (defun tramp-sh-handle-file-truename (filename &optional counter prev-dirs) | 1058 | (defun tramp-sh-handle-file-truename (filename &optional counter prev-dirs) |
| 1059 | "Like `file-truename' for Tramp files." | 1059 | "Like `file-truename' for Tramp files." |
| 1060 | (with-parsed-tramp-file-name (expand-file-name filename) nil | 1060 | (with-parsed-tramp-file-name (expand-file-name filename) nil |
| 1061 | (with-file-property v localname "file-truename" | 1061 | (tramp-make-tramp-file-name method user host |
| 1062 | (let ((result nil)) ; result steps in reverse order | 1062 | (with-file-property v localname "file-truename" |
| 1063 | (tramp-message v 4 "Finding true name for `%s'" filename) | 1063 | (let ((result nil)) ; result steps in reverse order |
| 1064 | (cond | 1064 | (tramp-message v 4 "Finding true name for `%s'" filename) |
| 1065 | ;; Use GNU readlink --canonicalize-missing where available. | 1065 | (cond |
| 1066 | ((tramp-get-remote-readlink v) | 1066 | ;; Use GNU readlink --canonicalize-missing where available. |
| 1067 | (setq result | 1067 | ((tramp-get-remote-readlink v) |
| 1068 | (tramp-send-command-and-read | 1068 | (setq result |
| 1069 | v | 1069 | (tramp-send-command-and-read |
| 1070 | (format "echo \"\\\"`%s --canonicalize-missing %s`\\\"\"" | 1070 | v |
| 1071 | (tramp-get-remote-readlink v) | 1071 | (format "echo \"\\\"`%s --canonicalize-missing %s`\\\"\"" |
| 1072 | (tramp-shell-quote-argument localname))))) | 1072 | (tramp-get-remote-readlink v) |
| 1073 | 1073 | (tramp-shell-quote-argument localname))))) | |
| 1074 | ;; Use Perl implementation. | 1074 | |
| 1075 | ((and (tramp-get-remote-perl v) | 1075 | ;; Use Perl implementation. |
| 1076 | (tramp-get-connection-property v "perl-file-spec" nil) | 1076 | ((and (tramp-get-remote-perl v) |
| 1077 | (tramp-get-connection-property v "perl-cwd-realpath" nil)) | 1077 | (tramp-get-connection-property v "perl-file-spec" nil) |
| 1078 | (tramp-maybe-send-script | 1078 | (tramp-get-connection-property v "perl-cwd-realpath" nil)) |
| 1079 | v tramp-perl-file-truename "tramp_perl_file_truename") | 1079 | (tramp-maybe-send-script |
| 1080 | (setq result | 1080 | v tramp-perl-file-truename "tramp_perl_file_truename") |
| 1081 | (tramp-send-command-and-read | 1081 | (setq result |
| 1082 | v | 1082 | (tramp-send-command-and-read |
| 1083 | (format "tramp_perl_file_truename %s" | 1083 | v |
| 1084 | (tramp-shell-quote-argument localname))))) | 1084 | (format "tramp_perl_file_truename %s" |
| 1085 | 1085 | (tramp-shell-quote-argument localname))))) | |
| 1086 | ;; Do it yourself. We bind `directory-sep-char' here for | 1086 | |
| 1087 | ;; XEmacs on Windows, which would otherwise use backslash. | 1087 | ;; Do it yourself. We bind `directory-sep-char' here for |
| 1088 | (t (let* ((directory-sep-char ?/) | 1088 | ;; XEmacs on Windows, which would otherwise use backslash. |
| 1089 | (steps (tramp-compat-split-string localname "/")) | 1089 | (t (let* ((directory-sep-char ?/) |
| 1090 | (localnamedir (tramp-run-real-handler | 1090 | (steps (tramp-compat-split-string localname "/")) |
| 1091 | 'file-name-as-directory (list localname))) | 1091 | (localnamedir (tramp-run-real-handler |
| 1092 | (is-dir (string= localname localnamedir)) | 1092 | 'file-name-as-directory (list localname))) |
| 1093 | (thisstep nil) | 1093 | (is-dir (string= localname localnamedir)) |
| 1094 | (numchase 0) | 1094 | (thisstep nil) |
| 1095 | ;; Don't make the following value larger than | 1095 | (numchase 0) |
| 1096 | ;; necessary. People expect an error message in a | 1096 | ;; Don't make the following value larger than |
| 1097 | ;; timely fashion when something is wrong; | 1097 | ;; necessary. People expect an error message in |
| 1098 | ;; otherwise they might think that Emacs is hung. | 1098 | ;; a timely fashion when something is wrong; |
| 1099 | ;; Of course, correctness has to come first. | 1099 | ;; otherwise they might think that Emacs is hung. |
| 1100 | (numchase-limit 20) | 1100 | ;; Of course, correctness has to come first. |
| 1101 | symlink-target) | 1101 | (numchase-limit 20) |
| 1102 | (while (and steps (< numchase numchase-limit)) | 1102 | symlink-target) |
| 1103 | (setq thisstep (pop steps)) | 1103 | (while (and steps (< numchase numchase-limit)) |
| 1104 | (tramp-message | 1104 | (setq thisstep (pop steps)) |
| 1105 | v 5 "Check %s" | 1105 | (tramp-message |
| 1106 | (mapconcat 'identity | 1106 | v 5 "Check %s" |
| 1107 | (append '("") (reverse result) (list thisstep)) | 1107 | (mapconcat 'identity |
| 1108 | "/")) | 1108 | (append '("") (reverse result) (list thisstep)) |
| 1109 | (setq symlink-target | 1109 | "/")) |
| 1110 | (nth 0 (file-attributes | 1110 | (setq symlink-target |
| 1111 | (tramp-make-tramp-file-name | 1111 | (nth 0 (file-attributes |
| 1112 | method user host | 1112 | (tramp-make-tramp-file-name |
| 1113 | (mapconcat 'identity | 1113 | method user host |
| 1114 | (append '("") | 1114 | (mapconcat 'identity |
| 1115 | (reverse result) | 1115 | (append '("") |
| 1116 | (list thisstep)) | 1116 | (reverse result) |
| 1117 | "/"))))) | 1117 | (list thisstep)) |
| 1118 | (cond ((string= "." thisstep) | 1118 | "/"))))) |
| 1119 | (tramp-message v 5 "Ignoring step `.'")) | 1119 | (cond ((string= "." thisstep) |
| 1120 | ((string= ".." thisstep) | 1120 | (tramp-message v 5 "Ignoring step `.'")) |
| 1121 | (tramp-message v 5 "Processing step `..'") | 1121 | ((string= ".." thisstep) |
| 1122 | (pop result)) | 1122 | (tramp-message v 5 "Processing step `..'") |
| 1123 | ((stringp symlink-target) | 1123 | (pop result)) |
| 1124 | ;; It's a symlink, follow it. | 1124 | ((stringp symlink-target) |
| 1125 | (tramp-message v 5 "Follow symlink to %s" symlink-target) | 1125 | ;; It's a symlink, follow it. |
| 1126 | (setq numchase (1+ numchase)) | 1126 | (tramp-message |
| 1127 | (when (file-name-absolute-p symlink-target) | 1127 | v 5 "Follow symlink to %s" symlink-target) |
| 1128 | (setq result nil)) | 1128 | (setq numchase (1+ numchase)) |
| 1129 | ;; If the symlink was absolute, we'll get a string like | 1129 | (when (file-name-absolute-p symlink-target) |
| 1130 | ;; "/user@host:/some/target"; extract the | 1130 | (setq result nil)) |
| 1131 | ;; "/some/target" part from it. | 1131 | ;; If the symlink was absolute, we'll get a |
| 1132 | (when (tramp-tramp-file-p symlink-target) | 1132 | ;; string like "/user@host:/some/target"; |
| 1133 | (unless (tramp-equal-remote filename symlink-target) | 1133 | ;; extract the "/some/target" part from it. |
| 1134 | (tramp-error | 1134 | (when (tramp-tramp-file-p symlink-target) |
| 1135 | v 'file-error | 1135 | (unless (tramp-equal-remote filename symlink-target) |
| 1136 | "Symlink target `%s' on wrong host" symlink-target)) | 1136 | (tramp-error |
| 1137 | (setq symlink-target localname)) | 1137 | v 'file-error |
| 1138 | (setq steps | 1138 | "Symlink target `%s' on wrong host" |
| 1139 | (append (tramp-compat-split-string | 1139 | symlink-target)) |
| 1140 | symlink-target "/") | 1140 | (setq symlink-target localname)) |
| 1141 | steps))) | 1141 | (setq steps |
| 1142 | (t | 1142 | (append (tramp-compat-split-string |
| 1143 | ;; It's a file. | 1143 | symlink-target "/") |
| 1144 | (setq result (cons thisstep result))))) | 1144 | steps))) |
| 1145 | (when (>= numchase numchase-limit) | 1145 | (t |
| 1146 | (tramp-error | 1146 | ;; It's a file. |
| 1147 | v 'file-error | 1147 | (setq result (cons thisstep result))))) |
| 1148 | "Maximum number (%d) of symlinks exceeded" numchase-limit)) | 1148 | (when (>= numchase numchase-limit) |
| 1149 | (setq result (reverse result)) | 1149 | (tramp-error |
| 1150 | ;; Combine list to form string. | 1150 | v 'file-error |
| 1151 | (setq result | 1151 | "Maximum number (%d) of symlinks exceeded" numchase-limit)) |
| 1152 | (if result | 1152 | (setq result (reverse result)) |
| 1153 | (mapconcat 'identity (cons "" result) "/") | 1153 | ;; Combine list to form string. |
| 1154 | "/")) | 1154 | (setq result |
| 1155 | (when (and is-dir (or (string= "" result) | 1155 | (if result |
| 1156 | (not (string= (substring result -1) "/")))) | 1156 | (mapconcat 'identity (cons "" result) "/") |
| 1157 | (setq result (concat result "/")))))) | 1157 | "/")) |
| 1158 | 1158 | (when (and is-dir | |
| 1159 | (tramp-message v 4 "True name of `%s' is `%s'" filename result) | 1159 | (or (string= "" result) |
| 1160 | (tramp-make-tramp-file-name method user host result))))) | 1160 | (not (string= (substring result -1) "/")))) |
| 1161 | (setq result (concat result "/")))))) | ||
| 1162 | |||
| 1163 | (tramp-message v 4 "True name of `%s' is `%s'" localname result) | ||
| 1164 | result))))) | ||
| 1161 | 1165 | ||
| 1162 | ;; Basic functions. | 1166 | ;; Basic functions. |
| 1163 | 1167 | ||
| @@ -4307,7 +4311,7 @@ connection if a previous connection has died for some reason." | |||
| 4307 | (tramp-compat-temporary-file-directory))))) | 4311 | (tramp-compat-temporary-file-directory))))) |
| 4308 | spec) | 4312 | spec) |
| 4309 | 4313 | ||
| 4310 | ;; Add arguments for asynchrononous processes. | 4314 | ;; Add arguments for asynchronous processes. |
| 4311 | (when (and process-name async-args) | 4315 | (when (and process-name async-args) |
| 4312 | (setq login-args (append async-args login-args))) | 4316 | (setq login-args (append async-args login-args))) |
| 4313 | 4317 | ||
| @@ -5029,11 +5033,11 @@ function cell is returned to be applied on a buffer." | |||
| 5029 | ;; until the last but one hop via `start-file-process'. Apply it | 5033 | ;; until the last but one hop via `start-file-process'. Apply it |
| 5030 | ;; also for ftp and smb. | 5034 | ;; also for ftp and smb. |
| 5031 | ;; * WIBNI if we had a command "trampclient"? If I was editing in | 5035 | ;; * WIBNI if we had a command "trampclient"? If I was editing in |
| 5032 | ;; some shell with root priviledges, it would be nice if I could | 5036 | ;; some shell with root privileges, it would be nice if I could |
| 5033 | ;; just call | 5037 | ;; just call |
| 5034 | ;; trampclient filename.c | 5038 | ;; trampclient filename.c |
| 5035 | ;; as an editor, and the _current_ shell would connect to an Emacs | 5039 | ;; as an editor, and the _current_ shell would connect to an Emacs |
| 5036 | ;; server and would be used in an existing non-priviledged Emacs | 5040 | ;; server and would be used in an existing non-privileged Emacs |
| 5037 | ;; session for doing the editing in question. | 5041 | ;; session for doing the editing in question. |
| 5038 | ;; That way, I need not tell Emacs my password again and be afraid | 5042 | ;; That way, I need not tell Emacs my password again and be afraid |
| 5039 | ;; that it makes it into core dumps or other ugly stuff (I had Emacs | 5043 | ;; that it makes it into core dumps or other ugly stuff (I had Emacs |
diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el index 150ef18be52..73b9339e25a 100644 --- a/lisp/net/tramp-smb.el +++ b/lisp/net/tramp-smb.el | |||
| @@ -480,7 +480,7 @@ PRESERVE-UID-GID and PRESERVE-SELINUX-CONTEXT are completely ignored." | |||
| 480 | ;; Dissect NAME. | 480 | ;; Dissect NAME. |
| 481 | (with-parsed-tramp-file-name name nil | 481 | (with-parsed-tramp-file-name name nil |
| 482 | ;; Tilde expansion if necessary. We use the user name as share, | 482 | ;; Tilde expansion if necessary. We use the user name as share, |
| 483 | ;; which is offen the case in domains. | 483 | ;; which is often the case in domains. |
| 484 | (when (string-match "\\`/?~\\([^/]*\\)" localname) | 484 | (when (string-match "\\`/?~\\([^/]*\\)" localname) |
| 485 | (setq localname | 485 | (setq localname |
| 486 | (replace-match | 486 | (replace-match |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 5fca1018095..0ee6ad8dea4 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -152,7 +152,7 @@ local host, so if you want to use `~' in those commands, you should | |||
| 152 | choose a shell here which groks tilde expansion. `/bin/sh' normally | 152 | choose a shell here which groks tilde expansion. `/bin/sh' normally |
| 153 | does not understand tilde expansion. | 153 | does not understand tilde expansion. |
| 154 | 154 | ||
| 155 | For encoding and deocding, commands like the following are executed: | 155 | For encoding and decoding, commands like the following are executed: |
| 156 | 156 | ||
| 157 | /bin/sh -c COMMAND < INPUT > OUTPUT | 157 | /bin/sh -c COMMAND < INPUT > OUTPUT |
| 158 | 158 | ||
| @@ -3851,7 +3851,7 @@ Only works for Bourne-like shells." | |||
| 3851 | ;; expects English? Or just to set LC_MESSAGES to "C" if Tramp | 3851 | ;; expects English? Or just to set LC_MESSAGES to "C" if Tramp |
| 3852 | ;; expects only English messages? (Juri Linkov) | 3852 | ;; expects only English messages? (Juri Linkov) |
| 3853 | ;; * Make shadowfile.el grok Tramp filenames. (Bug#4526, Bug#4846) | 3853 | ;; * Make shadowfile.el grok Tramp filenames. (Bug#4526, Bug#4846) |
| 3854 | ;; * I was wondering it it would be possible to use tramp even if I'm | 3854 | ;; * I was wondering if it would be possible to use tramp even if I'm |
| 3855 | ;; actually using sshfs. But when I launch a command I would like | 3855 | ;; actually using sshfs. But when I launch a command I would like |
| 3856 | ;; to get it executed on the remote machine where the files really | 3856 | ;; to get it executed on the remote machine where the files really |
| 3857 | ;; are. (Andrea Crotti) | 3857 | ;; are. (Andrea Crotti) |
diff --git a/lisp/net/xesam.el b/lisp/net/xesam.el index 56e9cb68c61..ea4a887898e 100644 --- a/lisp/net/xesam.el +++ b/lisp/net/xesam.el | |||
| @@ -88,7 +88,7 @@ | |||
| 88 | ;; | 88 | ;; |
| 89 | ;; (setq xesam-query-type 'fulltext-query) | 89 | ;; (setq xesam-query-type 'fulltext-query) |
| 90 | ;; | 90 | ;; |
| 91 | ;; Another option to be customised is the number of hits to be | 91 | ;; Another option to be customized is the number of hits to be |
| 92 | ;; presented at once. | 92 | ;; presented at once. |
| 93 | ;; | 93 | ;; |
| 94 | ;; (setq xesam-hits-per-page 50) | 94 | ;; (setq xesam-hits-per-page 50) |
| @@ -409,7 +409,7 @@ If there is no registered search engine at all, the function returns `nil'." | |||
| 409 | (setq vendor-id (xesam-get-property engine "vendor.id") | 409 | (setq vendor-id (xesam-get-property engine "vendor.id") |
| 410 | hit-fields (xesam-get-property engine "hit.fields")) | 410 | hit-fields (xesam-get-property engine "hit.fields")) |
| 411 | 411 | ||
| 412 | ;; Ususally, `hit.fields' shall describe supported fields. | 412 | ;; Usually, `hit.fields' shall describe supported fields. |
| 413 | ;; That is not the case now, so we set it ourselves. | 413 | ;; That is not the case now, so we set it ourselves. |
| 414 | ;; Hopefully, this will change later. | 414 | ;; Hopefully, this will change later. |
| 415 | (setq hit-fields | 415 | (setq hit-fields |
diff --git a/lisp/net/zeroconf.el b/lisp/net/zeroconf.el index d801a4c094c..cc538c224dc 100644 --- a/lisp/net/zeroconf.el +++ b/lisp/net/zeroconf.el | |||
| @@ -249,7 +249,7 @@ qualified name, i.e., it contains DOMAIN. | |||
| 249 | APROTOCOL stands for the network protocol family ADDRESS is | 249 | APROTOCOL stands for the network protocol family ADDRESS is |
| 250 | encoded (`zeroconf-avahi-protocol-inet4' means INET4, | 250 | encoded (`zeroconf-avahi-protocol-inet4' means INET4, |
| 251 | `zeroconf-avahi-protocol-inet6' means INET6). It can be | 251 | `zeroconf-avahi-protocol-inet6' means INET6). It can be |
| 252 | different from PROTOCOL, when an adrress resolution has been | 252 | different from PROTOCOL, when an address resolution has been |
| 253 | requested for another protocol family but the default one. | 253 | requested for another protocol family but the default one. |
| 254 | 254 | ||
| 255 | ADDRESS is the service address, encoded according to the | 255 | ADDRESS is the service address, encoded according to the |
| @@ -486,7 +486,7 @@ TYPE. The resulting list has the format | |||
| 486 | (nth 9 (zeroconf-resolve-service service))) | 486 | (nth 9 (zeroconf-resolve-service service))) |
| 487 | 487 | ||
| 488 | 488 | ||
| 489 | ;;; Services signalling. | 489 | ;;; Services signaling. |
| 490 | 490 | ||
| 491 | ;; Register for the service type browser. Service registrations will | 491 | ;; Register for the service type browser. Service registrations will |
| 492 | ;; happen in `zeroconf-service-type-browser-handler', when there is an | 492 | ;; happen in `zeroconf-service-type-browser-handler', when there is an |
diff --git a/lisp/nxml/nxml-outln.el b/lisp/nxml/nxml-outln.el index 6a2a9daf7e4..53d2cabc2e5 100644 --- a/lisp/nxml/nxml-outln.el +++ b/lisp/nxml/nxml-outln.el | |||
| @@ -60,7 +60,7 @@ | |||
| 60 | ;; form. Single-line form is used when the outline state is hide-children | 60 | ;; form. Single-line form is used when the outline state is hide-children |
| 61 | ;; or there are no child sections; multi-line form is used otherwise. | 61 | ;; or there are no child sections; multi-line form is used otherwise. |
| 62 | ;; There are two flavors of single-line form: with children and without. | 62 | ;; There are two flavors of single-line form: with children and without. |
| 63 | ;; The with-childen flavor is used when there are child sections. | 63 | ;; The with-children flavor is used when there are child sections. |
| 64 | ;; Single line with children looks like | 64 | ;; Single line with children looks like |
| 65 | ;; <+section>A section title...</> | 65 | ;; <+section>A section title...</> |
| 66 | ;; Single line without children looks like | 66 | ;; Single line without children looks like |
diff --git a/lisp/obsolete/iso-acc.el b/lisp/obsolete/iso-acc.el index cb06091dfcf..347db281f1a 100644 --- a/lisp/obsolete/iso-acc.el +++ b/lisp/obsolete/iso-acc.el | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | ;; In `iso-accents-mode', pseudo accent characters are used to | 32 | ;; In `iso-accents-mode', pseudo accent characters are used to |
| 33 | ;; introduce accented keys. The pseudo-accent characters are: | 33 | ;; introduce accented keys. The pseudo-accent characters are: |
| 34 | ;; | 34 | ;; |
| 35 | ;; ' (minute) -> actue accent | 35 | ;; ' (minute) -> acute accent |
| 36 | ;; ` (backtick) -> grave accent | 36 | ;; ` (backtick) -> grave accent |
| 37 | ;; " (second) -> diaeresis | 37 | ;; " (second) -> diaeresis |
| 38 | ;; ^ (caret) -> circumflex | 38 | ;; ^ (caret) -> circumflex |
diff --git a/lisp/obsolete/pgg-gpg.el b/lisp/obsolete/pgg-gpg.el index 064985f4566..2eafc631e98 100644 --- a/lisp/obsolete/pgg-gpg.el +++ b/lisp/obsolete/pgg-gpg.el | |||
| @@ -384,7 +384,7 @@ passphrase cache or user." | |||
| 384 | (pgg-process-when-success))) | 384 | (pgg-process-when-success))) |
| 385 | 385 | ||
| 386 | (defun pgg-gpg-update-agent () | 386 | (defun pgg-gpg-update-agent () |
| 387 | "Try to connet to gpg-agent and send UPDATESTARTUPTTY." | 387 | "Try to connect to gpg-agent and send UPDATESTARTUPTTY." |
| 388 | (if (fboundp 'make-network-process) | 388 | (if (fboundp 'make-network-process) |
| 389 | (let* ((agent-info (getenv "GPG_AGENT_INFO")) | 389 | (let* ((agent-info (getenv "GPG_AGENT_INFO")) |
| 390 | (socket (and agent-info | 390 | (socket (and agent-info |
diff --git a/lisp/obsolete/s-region.el b/lisp/obsolete/s-region.el index b06861c0efc..8fb6703aa25 100644 --- a/lisp/obsolete/s-region.el +++ b/lisp/obsolete/s-region.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Morten Welinder <terra@diku.dk> | 5 | ;; Author: Morten Welinder <terra@diku.dk> |
| 6 | ;; Keywords: terminals | 6 | ;; Keywords: terminals |
| 7 | ;; Favourite-brand-of-beer: None, I hate beer. | 7 | ;; Favorite-brand-of-beer: None, I hate beer. |
| 8 | ;; Obsolete-since: 24.1 | 8 | ;; Obsolete-since: 24.1 |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index f6bd1ffa2d4..477daf75534 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2011-11-16 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * org-agenda.el (org-agenda-add-entry-text-descriptive-links) | ||
| 4 | (org-agenda-custom-commands, org-write-agenda, org-check-for-org-mode) | ||
| 5 | (org-search-syntax-table, org-modify-diary-entry-string) | ||
| 6 | (org-write-agenda): | ||
| 7 | * org-bbdb.el (org-bbdb-anniv-export-ical): | ||
| 8 | * org-bibtex.el (org-bibtex-fields): | ||
| 9 | * org-icalendar.el (org-icalendar-date-time-format): | ||
| 10 | * org-latex.el (org-export-latex-inline-image-extensions): | ||
| 11 | * org-list.el (org-list-insert-item): Fix typos. | ||
| 12 | |||
| 1 | 2011-11-11 Juanma Barranquero <lekktu@gmail.com> | 13 | 2011-11-11 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 14 | ||
| 3 | * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring. | 15 | * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring. |
| @@ -55,7 +67,7 @@ | |||
| 55 | 67 | ||
| 56 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 68 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 57 | 69 | ||
| 58 | * org-publish.el (org-publish-index-generate-theindex): rename | 70 | * org-publish.el (org-publish-index-generate-theindex): Rename |
| 59 | from `org-publish-index-generate-theindex.inc'. Use the file | 71 | from `org-publish-index-generate-theindex.inc'. Use the file |
| 60 | theindex.org directly instead of including theindex.inc. | 72 | theindex.org directly instead of including theindex.inc. |
| 61 | (org-publish-projects): Don't delete .orgx files. | 73 | (org-publish-projects): Don't delete .orgx files. |
| @@ -135,7 +147,7 @@ | |||
| 135 | 147 | ||
| 136 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 148 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 137 | 149 | ||
| 138 | * org.el (org-timestamp-change): keep point in the same category | 150 | * org.el (org-timestamp-change): Keep point in the same category |
| 139 | when updating a time-stamp. This requires to be careful, as, | 151 | when updating a time-stamp. This requires to be careful, as, |
| 140 | depending on the locale, name of day might change of length during | 152 | depending on the locale, name of day might change of length during |
| 141 | the process. | 153 | the process. |
| @@ -586,7 +598,7 @@ | |||
| 586 | 598 | ||
| 587 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 599 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 588 | 600 | ||
| 589 | * org.el (org-in-block-p): new function. | 601 | * org.el (org-in-block-p): New function. |
| 590 | 602 | ||
| 591 | * org-footnote.el (org-footnote-forbidden-blocks): New variable. | 603 | * org-footnote.el (org-footnote-forbidden-blocks): New variable. |
| 592 | (org-footnote-in-valid-context-p): New function. | 604 | (org-footnote-in-valid-context-p): New function. |
| @@ -880,131 +892,131 @@ | |||
| 880 | 892 | ||
| 881 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 893 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 882 | 894 | ||
| 883 | * org-footnote.el (org-footnote-action): offer to create | 895 | * org-footnote.el (org-footnote-action): Offer to create |
| 884 | definition when none is found. | 896 | definition when none is found. |
| 885 | 897 | ||
| 886 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 898 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 887 | 899 | ||
| 888 | * org-footnote.el (org-footnote-re): avoid matching inactive | 900 | * org-footnote.el (org-footnote-re): Avoid matching inactive |
| 889 | time-stamps or check-box cookies. | 901 | time-stamps or check-box cookies. |
| 890 | (org-footnote-next-reference-or-definition): adapt to the new regexp. | 902 | (org-footnote-next-reference-or-definition): Adapt to the new regexp. |
| 891 | 903 | ||
| 892 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 904 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 893 | 905 | ||
| 894 | * org-exp.el (org-export-preprocess-string): if the last subtree | 906 | * org-exp.el (org-export-preprocess-string): If the last subtree |
| 895 | is commented, footnotes inserted during normalizing at the end of | 907 | is commented, footnotes inserted during normalizing at the end of |
| 896 | the buffer may get deleted. This patch ensures deletion comes | 908 | the buffer may get deleted. This patch ensures deletion comes |
| 897 | first, normalization second. | 909 | first, normalization second. |
| 898 | 910 | ||
| 899 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 911 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 900 | 912 | ||
| 901 | * org-exp.el (org-export-footnotes-data): change docstring. | 913 | * org-exp.el (org-export-footnotes-data): Change docstring. |
| 902 | (org-export-footnotes-seen): renamed from | 914 | (org-export-footnotes-seen): Rename from |
| 903 | org-export-footnotes-markers. | 915 | org-export-footnotes-markers. |
| 904 | 916 | ||
| 905 | * org-ascii.el (org-export-as-ascii): apply change. | 917 | * org-ascii.el (org-export-as-ascii): Apply change. |
| 906 | 918 | ||
| 907 | * org-docbook.el (org-export-as-docbook): apply change. | 919 | * org-docbook.el (org-export-as-docbook): Apply change. |
| 908 | 920 | ||
| 909 | * org-footnote.el (org-footnote-normalize): apply change. | 921 | * org-footnote.el (org-footnote-normalize): Apply change. |
| 910 | 922 | ||
| 911 | * org-html.el (org-export-as-html): apply change. | 923 | * org-html.el (org-export-as-html): Apply change. |
| 912 | 924 | ||
| 913 | * org-latex.el (org-export-as-latex): apply change. | 925 | * org-latex.el (org-export-as-latex): Apply change. |
| 914 | 926 | ||
| 915 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 927 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 916 | 928 | ||
| 917 | * org-latex.el (org-export-latex-preprocess): rely on | 929 | * org-latex.el (org-export-latex-preprocess): Rely on |
| 918 | `org-export-footnotes-markers' to retreive definition of the | 930 | `org-export-footnotes-markers' to retreive definition of the |
| 919 | current footnote during export. | 931 | current footnote during export. |
| 920 | 932 | ||
| 921 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 933 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 922 | 934 | ||
| 923 | * org-footnote.el (org-footnote-normalize): remember footnotes | 935 | * org-footnote.el (org-footnote-normalize): Remember footnotes |
| 924 | seen so far by the exporter when choosing the new marker. | 936 | seen so far by the exporter when choosing the new marker. |
| 925 | 937 | ||
| 926 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 938 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 927 | 939 | ||
| 928 | * org-footnote.el (org-footnote-normalize): make use of | 940 | * org-footnote.el (org-footnote-normalize): Make use of |
| 929 | `org-footnote-insert-pos-for-preprocessor'. | 941 | `org-footnote-insert-pos-for-preprocessor'. |
| 930 | 942 | ||
| 931 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 943 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 932 | 944 | ||
| 933 | * org-footnote.el (org-footnote-normalize): add `org-footnote' | 945 | * org-footnote.el (org-footnote-normalize): Add `org-footnote' |
| 934 | property to footnote markers when preparing for exportation. | 946 | property to footnote markers when preparing for exportation. |
| 935 | 947 | ||
| 936 | * org-html.el (org-export-as-html): read new property to decide | 948 | * org-html.el (org-export-as-html): Read new property to decide |
| 937 | when to export a footnote. | 949 | when to export a footnote. |
| 938 | 950 | ||
| 939 | * org-docbook.el (org-export-as-docbook): read new property to | 951 | * org-docbook.el (org-export-as-docbook): Read new property to |
| 940 | decide when to export a footnote. | 952 | decide when to export a footnote. |
| 941 | 953 | ||
| 942 | * org-latex.el (org-export-latex-preprocess): ensure footnote at | 954 | * org-latex.el (org-export-latex-preprocess): Ensure footnote at |
| 943 | column 0 cannot end a list containing it by adding | 955 | column 0 cannot end a list containing it by adding |
| 944 | `original-indentation' property to it. | 956 | `original-indentation' property to it. |
| 945 | 957 | ||
| 946 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 958 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 947 | 959 | ||
| 948 | * org-exp.el (org-export-preprocess-string): normalize footnotes | 960 | * org-exp.el (org-export-preprocess-string): Normalize footnotes |
| 949 | before marking lists ending. | 961 | before marking lists ending. |
| 950 | 962 | ||
| 951 | * org-latex.el (org-export-latex-preprocess): work with labels as | 963 | * org-latex.el (org-export-latex-preprocess): Work with labels as |
| 952 | strings and not as numbers. | 964 | strings and not as numbers. |
| 953 | 965 | ||
| 954 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 966 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 955 | 967 | ||
| 956 | * org-docbook.el (org-export-docbook-footnote-separator): new | 968 | * org-docbook.el (org-export-docbook-footnote-separator): New |
| 957 | variable | 969 | variable. |
| 958 | (org-export-as-docbook): add a separator between footnotes. | 970 | (org-export-as-docbook): Add a separator between footnotes. |
| 959 | 971 | ||
| 960 | * org-html.el (org-export-html-footnote-separator): new variable. | 972 | * org-html.el (org-export-html-footnote-separator): New variable. |
| 961 | (org-export-as-html): add a separator between footnotes. | 973 | (org-export-as-html): Add a separator between footnotes. |
| 962 | 974 | ||
| 963 | * org-latex.el (org-export-latex-footnote-separator): new | 975 | * org-latex.el (org-export-latex-footnote-separator): New |
| 964 | variable. | 976 | variable. |
| 965 | (org-export-latex-preprocess): add a separator between footnotes. | 977 | (org-export-latex-preprocess): Add a separator between footnotes. |
| 966 | 978 | ||
| 967 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 979 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 968 | 980 | ||
| 969 | * org-exp.el (org-export-footnotes-markers) | 981 | * org-exp.el (org-export-footnotes-markers) |
| 970 | (org-export-footnotes-data): new variables. | 982 | (org-export-footnotes-data): New variables. |
| 971 | (org-export-preprocess-string): use a more explicit argument. | 983 | (org-export-preprocess-string): Use a more explicit argument. |
| 972 | 984 | ||
| 973 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 985 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 974 | 986 | ||
| 975 | * org-footnote.el (org-footnote-goto-definition): now, determining | 987 | * org-footnote.el (org-footnote-goto-definition): Now, determining |
| 976 | if point is at a footnote reference is entirely determined by | 988 | if point is at a footnote reference is entirely determined by |
| 977 | `org-footnote-at-reference-p'. No need to check if pattern isn't | 989 | `org-footnote-at-reference-p'. No need to check if pattern isn't |
| 978 | at beginning of the line elsewhere. | 990 | at beginning of the line elsewhere. |
| 979 | 991 | ||
| 980 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 992 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 981 | 993 | ||
| 982 | * org-footnote.el (org-footnote-next-reference-or-definition): new | 994 | * org-footnote.el (org-footnote-next-reference-or-definition): New |
| 983 | function. | 995 | function. |
| 984 | 996 | ||
| 985 | * org.el (org-activate-footnote-links): activate the whole | 997 | * org.el (org-activate-footnote-links): Activate the whole |
| 986 | footnote, but only fontify its label. | 998 | footnote, but only fontify its label. |
| 987 | 999 | ||
| 988 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 1000 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 989 | 1001 | ||
| 990 | * org-footnote.el (org-footnote-normalize): make use of changes to | 1002 | * org-footnote.el (org-footnote-normalize): Make use of changes to |
| 991 | `org-footnote-at-reference-p' and creation of various functions.. | 1003 | `org-footnote-at-reference-p' and creation of various functions.. |
| 992 | Also comment code. | 1004 | Also comment code. |
| 993 | (org-footnote-get-next-reference, org-footnote-delete-references, | 1005 | (org-footnote-get-next-reference, org-footnote-delete-references) |
| 994 | org-footnote-delete-definitions): new functions | 1006 | (org-footnote-delete-definitions): New functions. |
| 995 | (org-footnote-goto-previous-reference, org-footnote-all-labels, | 1007 | (org-footnote-goto-previous-reference, org-footnote-all-labels) |
| 996 | org-insert-footnote-reference-near-definition, org-footnote-delete): | 1008 | (org-insert-footnote-reference-near-definition, org-footnote-delete): |
| 997 | rewrite to use org-footnote-get-next-reference. | 1009 | Rewrite to use org-footnote-get-next-reference. |
| 998 | 1010 | ||
| 999 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 1011 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 1000 | 1012 | ||
| 1001 | * org-footnote.el (org-footnote-re): don't end an inline footnote | 1013 | * org-footnote.el (org-footnote-re): Don't end an inline footnote |
| 1002 | at unrelated closing square brackets. | 1014 | at unrelated closing square brackets. |
| 1003 | (org-footnote-at-reference-p): improve accuracy of the function to | 1015 | (org-footnote-at-reference-p): Improve accuracy of the function to |
| 1004 | determine if point is at a reference and to extract definition of an | 1016 | determine if point is at a reference and to extract definition of an |
| 1005 | inline footnote. | 1017 | inline footnote. |
| 1006 | (org-footnote-all-labels, org-footnote-action, org-footnote-delete, | 1018 | (org-footnote-all-labels, org-footnote-action, org-footnote-delete) |
| 1007 | org-footnote-auto-adjust-maybe): make use of previous function. | 1019 | (org-footnote-auto-adjust-maybe): Make use of previous function. |
| 1008 | 1020 | ||
| 1009 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 1021 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 1010 | 1022 | ||
| @@ -1058,14 +1070,14 @@ | |||
| 1058 | 1070 | ||
| 1059 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 1071 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 1060 | 1072 | ||
| 1061 | * org-list.el (org-cycle-item-indentation): cycling back to | 1073 | * org-list.el (org-cycle-item-indentation): Cycling back to |
| 1062 | original position deleted any additional information in the item, | 1074 | original position deleted any additional information in the item, |
| 1063 | like a counter or a tag. | 1075 | like a counter or a tag. |
| 1064 | 1076 | ||
| 1065 | 2011-07-28 Pieter Praet <pieter@praet.org> | 1077 | 2011-07-28 Pieter Praet <pieter@praet.org> |
| 1066 | 1078 | ||
| 1067 | * org-crypt.el (org-crypt-disable-auto-save): New defcustom. | 1079 | * org-crypt.el (org-crypt-disable-auto-save): New defcustom. |
| 1068 | (org-decrypt-entry): before decrypting, check whether | 1080 | (org-decrypt-entry): Before decrypting, check whether |
| 1069 | `auto-save-mode' is enabled for the current buffer, and act on it | 1081 | `auto-save-mode' is enabled for the current buffer, and act on it |
| 1070 | according to how `org-crypt-disable-auto-save' is set. Remove | 1082 | according to how `org-crypt-disable-auto-save' is set. Remove |
| 1071 | comment re "encrypt[ing] Org auto-saved buffers". Remove on-init | 1083 | comment re "encrypt[ing] Org auto-saved buffers". Remove on-init |
| @@ -1249,29 +1261,29 @@ | |||
| 1249 | 1261 | ||
| 1250 | 2011-07-28 Eric Schulte <schulte.eric@gmail.com> | 1262 | 2011-07-28 Eric Schulte <schulte.eric@gmail.com> |
| 1251 | 1263 | ||
| 1252 | * ob-C.el (ob-tangle): initialize variable from `ob-tangle'. | 1264 | * ob-C.el (ob-tangle): Initialize variable from `ob-tangle'. |
| 1253 | 1265 | ||
| 1254 | * ob-asymptote.el (ob-tangle): initialize variable from `ob-tangle'. | 1266 | * ob-asymptote.el (ob-tangle): Initialize variable from `ob-tangle'. |
| 1255 | 1267 | ||
| 1256 | * ob-awk.el (ob-tangle): initialize variable from `ob-tangle'. | 1268 | * ob-awk.el (ob-tangle): Initialize variable from `ob-tangle'. |
| 1257 | 1269 | ||
| 1258 | * ob-clojure.el (ob-tangle): initialize variable from `ob-tangle'. | 1270 | * ob-clojure.el (ob-tangle): Initialize variable from `ob-tangle'. |
| 1259 | 1271 | ||
| 1260 | * ob-haskell.el (ob-tangle): initialize variable from `ob-tangle'. | 1272 | * ob-haskell.el (ob-tangle): Initialize variable from `ob-tangle'. |
| 1261 | 1273 | ||
| 1262 | * ob-latex.el (ob-tangle): initialize variable from `ob-tangle'. | 1274 | * ob-latex.el (ob-tangle): Initialize variable from `ob-tangle'. |
| 1263 | 1275 | ||
| 1264 | * ob-lisp.el (ob-tangle): initialize variable from `ob-tangle'. | 1276 | * ob-lisp.el (ob-tangle): Initialize variable from `ob-tangle'. |
| 1265 | 1277 | ||
| 1266 | * ob-ocaml.el (ob-tangle): initialize variable from `ob-tangle'. | 1278 | * ob-ocaml.el (ob-tangle): Initialize variable from `ob-tangle'. |
| 1267 | 1279 | ||
| 1268 | * ob-perl.el (ob-tangle): initialize variable from `ob-tangle'. | 1280 | * ob-perl.el (ob-tangle): Initialize variable from `ob-tangle'. |
| 1269 | 1281 | ||
| 1270 | * ob-python.el (ob-tangle): initialize variable from `ob-tangle'. | 1282 | * ob-python.el (ob-tangle): Initialize variable from `ob-tangle'. |
| 1271 | 1283 | ||
| 1272 | * ob-ruby.el (ob-tangle): initialize variable from `ob-tangle'. | 1284 | * ob-ruby.el (ob-tangle): Initialize variable from `ob-tangle'. |
| 1273 | 1285 | ||
| 1274 | * ob-tangle.el (ob-tangle): initialize variable from `ob-tangle'. | 1286 | * ob-tangle.el (ob-tangle): Initialize variable from `ob-tangle'. |
| 1275 | 1287 | ||
| 1276 | 2011-07-28 Eric Schulte <schulte.eric@gmail.com> | 1288 | 2011-07-28 Eric Schulte <schulte.eric@gmail.com> |
| 1277 | 1289 | ||
| @@ -1294,12 +1306,12 @@ | |||
| 1294 | 1306 | ||
| 1295 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 1307 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 1296 | 1308 | ||
| 1297 | * org-list.el (org-reset-checkbox-state-subtree): make the command | 1309 | * org-list.el (org-reset-checkbox-state-subtree): Make the command |
| 1298 | more robust, and correctly update check-boxes in the whole | 1310 | more robust, and correctly update check-boxes in the whole |
| 1299 | sub-tree. | 1311 | sub-tree. |
| 1300 | (org-update-checkbox-count): fix bug accumulating count of checkboxes | 1312 | (org-update-checkbox-count): Fix bug accumulating count of checkboxes |
| 1301 | when walking a subtree. | 1313 | when walking a subtree. |
| 1302 | (org-update-checkbox-count-maybe): add an optional argument passed to | 1314 | (org-update-checkbox-count-maybe): Add an optional argument passed to |
| 1303 | org-update-checkbox-count. | 1315 | org-update-checkbox-count. |
| 1304 | 1316 | ||
| 1305 | 2011-07-28 Ted Zlatanov <tzz@lifelogs.com> | 1317 | 2011-07-28 Ted Zlatanov <tzz@lifelogs.com> |
| @@ -1325,9 +1337,9 @@ | |||
| 1325 | 1337 | ||
| 1326 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 1338 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 1327 | 1339 | ||
| 1328 | * org-list.el (org-list-parse-list): replace transitional | 1340 | * org-list.el (org-list-parse-list): Replace transitional |
| 1329 | check-boxes with "[CBTRANS]" string during parsing. | 1341 | check-boxes with "[CBTRANS]" string during parsing. |
| 1330 | (org-list-to-generic): use the new property `:cbtrans' to configure | 1342 | (org-list-to-generic): Use the new property `:cbtrans' to configure |
| 1331 | export string for transitional check-boxes. | 1343 | export string for transitional check-boxes. |
| 1332 | 1344 | ||
| 1333 | 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> | 1345 | 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> |
| @@ -2793,7 +2805,7 @@ | |||
| 2793 | 2805 | ||
| 2794 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 2806 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 2795 | 2807 | ||
| 2796 | * org-html.el (org-export-as-html): fix export of email. | 2808 | * org-html.el (org-export-as-html): Fix export of email. |
| 2797 | 2809 | ||
| 2798 | 2011-07-28 Eric Schulte <schulte.eric@gmail.com> | 2810 | 2011-07-28 Eric Schulte <schulte.eric@gmail.com> |
| 2799 | 2811 | ||
| @@ -2814,11 +2826,11 @@ | |||
| 2814 | 2826 | ||
| 2815 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 2827 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 2816 | 2828 | ||
| 2817 | * org-crypt.el: remove useless TODO in comments. | 2829 | * org-crypt.el: Remove useless TODO in comments. |
| 2818 | 2830 | ||
| 2819 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 2831 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 2820 | 2832 | ||
| 2821 | * org-html.el (org-export-as-html): the default postamble now only | 2833 | * org-html.el (org-export-as-html): The default postamble now only |
| 2822 | export a date paragraph if `org-export-time-stamp-file' is | 2834 | export a date paragraph if `org-export-time-stamp-file' is |
| 2823 | non-nil. | 2835 | non-nil. |
| 2824 | 2836 | ||
| @@ -2924,9 +2936,9 @@ | |||
| 2924 | 2936 | ||
| 2925 | 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr> | 2937 | 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr> |
| 2926 | 2938 | ||
| 2927 | * org-html.el (org-format-org-table-html): fix anchors in HTML | 2939 | * org-html.el (org-format-org-table-html): Fix anchors in HTML |
| 2928 | export (thanks to <aankhen@gmail.com>) | 2940 | export (thanks to <aankhen@gmail.com>) |
| 2929 | (org-html-protect): fix a bug that prevents some target to be | 2941 | (org-html-protect): Fix a bug that prevents some target to be |
| 2930 | rendered correctly. | 2942 | rendered correctly. |
| 2931 | 2943 | ||
| 2932 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 2944 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| @@ -3011,15 +3023,15 @@ | |||
| 3011 | 3023 | ||
| 3012 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 3024 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 3013 | 3025 | ||
| 3014 | * org-capture.el (org-capture-put-target-region-and-position): New | 3026 | * org-capture.el (org-capture-put-target-region-and-position): |
| 3015 | function to store information about the target buffer. | 3027 | New function to store information about the target buffer. |
| 3016 | (org-capture-set-target-location): Use it. | 3028 | (org-capture-set-target-location): Use it. |
| 3017 | (org-capture-finalize): restore the target buffer in its | 3029 | (org-capture-finalize): Restore the target buffer in its |
| 3018 | possibly narrowed state. Also restore the cursor position. | 3030 | possibly narrowed state. Also restore the cursor position. |
| 3019 | 3031 | ||
| 3020 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 3032 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 3021 | 3033 | ||
| 3022 | * org-crypt.el (auto-save-default): make sure entries are | 3034 | * org-crypt.el (auto-save-default): Make sure entries are |
| 3023 | encrypted before auto-saving. | 3035 | encrypted before auto-saving. |
| 3024 | 3036 | ||
| 3025 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 3037 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| @@ -3035,7 +3047,7 @@ | |||
| 3035 | 3047 | ||
| 3036 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 3048 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 3037 | 3049 | ||
| 3038 | * org.el (org-narrow-to-subtree): ensure `org-back-to-heading' | 3050 | * org.el (org-narrow-to-subtree): Ensure `org-back-to-heading' |
| 3039 | will move point to a real heading and not an inline task by | 3051 | will move point to a real heading and not an inline task by |
| 3040 | wraping function into a `org-with-limited-levels' macro. | 3052 | wraping function into a `org-with-limited-levels' macro. |
| 3041 | 3053 | ||
| @@ -3059,7 +3071,7 @@ | |||
| 3059 | 3071 | ||
| 3060 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 3072 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 3061 | 3073 | ||
| 3062 | * org-table.el (org-table-fix-formulas-confirm): new custom | 3074 | * org-table.el (org-table-fix-formulas-confirm): New custom |
| 3063 | variable. | 3075 | variable. |
| 3064 | (org-table-insert-column, org-table-delete-column) | 3076 | (org-table-insert-column, org-table-delete-column) |
| 3065 | (org-table-move-column, org-table-move-row) | 3077 | (org-table-move-column, org-table-move-row) |
| @@ -3089,14 +3101,14 @@ | |||
| 3089 | 3101 | ||
| 3090 | 2011-07-28 Lawrence Mitchell <wence@gmx.li> | 3102 | 2011-07-28 Lawrence Mitchell <wence@gmx.li> |
| 3091 | 3103 | ||
| 3092 | * org-latex.el: place \title \author \date before | 3104 | * org-latex.el: Place \title \author \date before |
| 3093 | \begin{document}. | 3105 | \begin{document}. |
| 3094 | 3106 | ||
| 3095 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 3107 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 3096 | 3108 | ||
| 3097 | * org-html.el (org-export-html-preamble) | 3109 | * org-html.el (org-export-html-preamble) |
| 3098 | (org-export-html-postamble): now default to `nil'. | 3110 | (org-export-html-postamble): Now default to `nil'. |
| 3099 | (org-export-as-html): when :html-pre/postamble is nil, fall | 3111 | (org-export-as-html): When :html-pre/postamble is nil, fall |
| 3100 | back on the default pre/postamble, which depends on the | 3112 | back on the default pre/postamble, which depends on the |
| 3101 | :author-info, :email-info, :creator-info options. | 3113 | :author-info, :email-info, :creator-info options. |
| 3102 | 3114 | ||
| @@ -3117,7 +3129,7 @@ | |||
| 3117 | 3129 | ||
| 3118 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 3130 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 3119 | 3131 | ||
| 3120 | * org.el (org-move-subtree-down): leave the cursor at the same | 3132 | * org.el (org-move-subtree-down): Leave the cursor at the same |
| 3121 | column we were at. | 3133 | column we were at. |
| 3122 | 3134 | ||
| 3123 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 3135 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| @@ -3130,7 +3142,7 @@ | |||
| 3130 | 3142 | ||
| 3131 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 3143 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 3132 | 3144 | ||
| 3133 | * org-exp.el (org-export-remove-headline-metadata): bugfix: don't | 3145 | * org-exp.el (org-export-remove-headline-metadata): Bugfix: don't |
| 3134 | case-fold-search to avoid mixing TODO keywords with real headline | 3146 | case-fold-search to avoid mixing TODO keywords with real headline |
| 3135 | words. | 3147 | words. |
| 3136 | 3148 | ||
| @@ -3156,7 +3168,7 @@ | |||
| 3156 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 3168 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 3157 | 3169 | ||
| 3158 | * org-html.el (org-export-html-postamble-format) | 3170 | * org-html.el (org-export-html-postamble-format) |
| 3159 | (org-export-html-preamble-format): explain how to escape the | 3171 | (org-export-html-preamble-format): Explain how to escape the |
| 3160 | `%' character. | 3172 | `%' character. |
| 3161 | 3173 | ||
| 3162 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 3174 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| @@ -3333,14 +3345,14 @@ | |||
| 3333 | 2011-07-28 Eric Schulte <schulte.eric@gmail.com> | 3345 | 2011-07-28 Eric Schulte <schulte.eric@gmail.com> |
| 3334 | 3346 | ||
| 3335 | * ob-latex.el (org-babel-execute:latex): Add imagemagick options, | 3347 | * ob-latex.el (org-babel-execute:latex): Add imagemagick options, |
| 3336 | and for file types other than png and pdf it uses imagemagick to | 3348 | and for file types other than png and PDF it uses imagemagick to |
| 3337 | convert a compiled pdf file to the desired file type. | 3349 | convert a compiled PDF file to the desired file type. |
| 3338 | (convert-pdf): Convert a pdf file to a new file type using | 3350 | (convert-pdf): Convert a PDF file to a new file type using |
| 3339 | imagemagick. | 3351 | imagemagick. |
| 3340 | 3352 | ||
| 3341 | 2011-07-28 Puneeth Chaganti <punchagan@gmail.com> | 3353 | 2011-07-28 Puneeth Chaganti <punchagan@gmail.com> |
| 3342 | 3354 | ||
| 3343 | * org-capture.el (org-capture-fill-template): fix bug with the | 3355 | * org-capture.el (org-capture-fill-template): Fix bug with the |
| 3344 | display of interactive prompt in templates expansion. | 3356 | display of interactive prompt in templates expansion. |
| 3345 | 3357 | ||
| 3346 | 2011-07-28 Reiner Steib <reiner.steib@gmx.de> | 3358 | 2011-07-28 Reiner Steib <reiner.steib@gmx.de> |
| @@ -3499,7 +3511,7 @@ | |||
| 3499 | * org.el (org-set-autofill-regexps): Use `org-item-re' in | 3511 | * org.el (org-set-autofill-regexps): Use `org-item-re' in |
| 3500 | `paragraph-start' to recognize alphabetical lists. | 3512 | `paragraph-start' to recognize alphabetical lists. |
| 3501 | (org-fill-paragraph): Enforce a pre-computed fill-prefix before | 3513 | (org-fill-paragraph): Enforce a pre-computed fill-prefix before |
| 3502 | calling `fill-paragraph' when point in in an item. Also prevent | 3514 | calling `fill-paragraph' when point is in an item. Also prevent |
| 3503 | paragraphs getting merged into an adjacent list upon filling. | 3515 | paragraphs getting merged into an adjacent list upon filling. |
| 3504 | (org-adaptive-fill-function): Make sure to determine real | 3516 | (org-adaptive-fill-function): Make sure to determine real |
| 3505 | fill-prefix for auto-fill. | 3517 | fill-prefix for auto-fill. |
| @@ -3597,7 +3609,7 @@ | |||
| 3597 | 3609 | ||
| 3598 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 3610 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 3599 | 3611 | ||
| 3600 | * org-list.el (org-list-struct): when a line has org-example | 3612 | * org-list.el (org-list-struct): When a line has org-example |
| 3601 | property, skip the entire block. This is needed during export, | 3613 | property, skip the entire block. This is needed during export, |
| 3602 | for example when src blocks in org markup contain lists, and are | 3614 | for example when src blocks in org markup contain lists, and are |
| 3603 | returned verbatim because org isn't in the list of interpreted | 3615 | returned verbatim because org isn't in the list of interpreted |
| @@ -3706,7 +3718,7 @@ | |||
| 3706 | * org-capture.el (org-capture-place-item): Reflect changes to | 3718 | * org-capture.el (org-capture-place-item): Reflect changes to |
| 3707 | `org-item-beginning-re'. | 3719 | `org-item-beginning-re'. |
| 3708 | 3720 | ||
| 3709 | * org-docbook.el (org-export-docbook-list-line): handle New type | 3721 | * org-docbook.el (org-export-docbook-list-line): Handle New type |
| 3710 | of items. | 3722 | of items. |
| 3711 | 3723 | ||
| 3712 | * org-exp.el (org-export-mark-list-end) | 3724 | * org-exp.el (org-export-mark-list-end) |
| @@ -4165,7 +4177,7 @@ | |||
| 4165 | 4177 | ||
| 4166 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 4178 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 4167 | 4179 | ||
| 4168 | * org-html.el (org-export-as-html): expand the HTML title. | 4180 | * org-html.el (org-export-as-html): Expand the HTML title. |
| 4169 | 4181 | ||
| 4170 | 2011-07-28 Bastien Guerry <bzg@gnu.org> | 4182 | 2011-07-28 Bastien Guerry <bzg@gnu.org> |
| 4171 | 4183 | ||
| @@ -4945,7 +4957,7 @@ | |||
| 4945 | 4957 | ||
| 4946 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 4958 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 4947 | 4959 | ||
| 4948 | * org-exp.el (org-export-mark-list-ending): insert additional | 4960 | * org-exp.el (org-export-mark-list-ending): Insert additional |
| 4949 | newline characters if end-list-marker is at a wrong position. | 4961 | newline characters if end-list-marker is at a wrong position. |
| 4950 | 4962 | ||
| 4951 | 2011-07-28 Eric Schulte <schulte.eric@gmail.com> | 4963 | 2011-07-28 Eric Schulte <schulte.eric@gmail.com> |
| @@ -5020,7 +5032,7 @@ | |||
| 5020 | with code implementing the writing of graohical output to file. | 5032 | with code implementing the writing of graohical output to file. |
| 5021 | (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to | 5033 | (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to |
| 5022 | determine whether R is taking responsibility for writing output to | 5034 | determine whether R is taking responsibility for writing output to |
| 5023 | file; if so, this is signalled to ob.el by returning a nil result. | 5035 | file; if so, this is signaled to ob.el by returning a nil result. |
| 5024 | 5036 | ||
| 5025 | 2011-07-28 Dan Davison <dandavison7@gmail.com> | 5037 | 2011-07-28 Dan Davison <dandavison7@gmail.com> |
| 5026 | 5038 | ||
| @@ -5786,7 +5798,7 @@ | |||
| 5786 | 5798 | ||
| 5787 | 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com> | 5799 | 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com> |
| 5788 | 5800 | ||
| 5789 | * org-exp.el (org-export-preprocess-string): delaying code block | 5801 | * org-exp.el (org-export-preprocess-string): Delay code block |
| 5790 | processing a bit to allow correct list parsing in the export string. | 5802 | processing a bit to allow correct list parsing in the export string. |
| 5791 | 5803 | ||
| 5792 | 2010-12-11 Christopher Allan Webber <cwebber@dustycloud.org> | 5804 | 2010-12-11 Christopher Allan Webber <cwebber@dustycloud.org> |
| @@ -5843,7 +5855,7 @@ | |||
| 5843 | 5855 | ||
| 5844 | 2010-12-11 Eric Schulte <schulte.eric@gmail.com> | 5856 | 2010-12-11 Eric Schulte <schulte.eric@gmail.com> |
| 5845 | 5857 | ||
| 5846 | * ob-lob.el (org-babel-lob-get-info): including pass-through | 5858 | * ob-lob.el (org-babel-lob-get-info): Include pass-through |
| 5847 | header arguments in results variable header argument string. | 5859 | header arguments in results variable header argument string. |
| 5848 | 5860 | ||
| 5849 | 2010-12-11 David Maus <dmaus@ictsoc.de> | 5861 | 2010-12-11 David Maus <dmaus@ictsoc.de> |
| @@ -5867,7 +5879,7 @@ | |||
| 5867 | 5879 | ||
| 5868 | 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com> | 5880 | 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com> |
| 5869 | 5881 | ||
| 5870 | * org.el (org-indent-line-function): simplify code and remove bug that | 5882 | * org.el (org-indent-line-function): Simplify code and remove bug that |
| 5871 | would insert a tab at the beginning of the line when trying to | 5883 | would insert a tab at the beginning of the line when trying to |
| 5872 | indent the item. | 5884 | indent the item. |
| 5873 | 5885 | ||
| @@ -5891,7 +5903,7 @@ | |||
| 5891 | 5903 | ||
| 5892 | 2010-12-11 Eric Schulte <schulte.eric@gmail.com> | 5904 | 2010-12-11 Eric Schulte <schulte.eric@gmail.com> |
| 5893 | 5905 | ||
| 5894 | * ob-calc.el (org-babel-execute:calc): support for variables -- | 5906 | * ob-calc.el (org-babel-execute:calc): Support for variables -- |
| 5895 | converts :var variables in calc variables. | 5907 | converts :var variables in calc variables. |
| 5896 | 5908 | ||
| 5897 | 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com> | 5909 | 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com> |
| @@ -7163,7 +7175,7 @@ | |||
| 7163 | src blocks. | 7175 | src blocks. |
| 7164 | (org-speed-command-default-hook): The default hook for | 7176 | (org-speed-command-default-hook): The default hook for |
| 7165 | org-speed-command-hook. Factored out from org-self-insert-command | 7177 | org-speed-command-hook. Factored out from org-self-insert-command |
| 7166 | and mimics existing behaviour. | 7178 | and mimics existing behavior. |
| 7167 | (org-self-insert-command): Modified to use org-speed-command-hook. | 7179 | (org-self-insert-command): Modified to use org-speed-command-hook. |
| 7168 | 7180 | ||
| 7169 | 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com> | 7181 | 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com> |
| @@ -7469,7 +7481,7 @@ | |||
| 7469 | 7481 | ||
| 7470 | 2010-11-11 Eric Schulte <schulte.eric@gmail.com> | 7482 | 2010-11-11 Eric Schulte <schulte.eric@gmail.com> |
| 7471 | 7483 | ||
| 7472 | * ob-tangle.el: autoload org-babel-tangle-lang-exts from ob-tangle. | 7484 | * ob-tangle.el: Autoload org-babel-tangle-lang-exts from ob-tangle. |
| 7473 | 7485 | ||
| 7474 | 2010-11-11 Dan Davison <davison@stats.ox.ac.uk> | 7486 | 2010-11-11 Dan Davison <davison@stats.ox.ac.uk> |
| 7475 | 7487 | ||
| @@ -8062,7 +8074,7 @@ | |||
| 8062 | 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com> | 8074 | 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com> |
| 8063 | 8075 | ||
| 8064 | * org-list.el (org-insert-item-internal): Guessing of blank lines | 8076 | * org-list.el (org-insert-item-internal): Guessing of blank lines |
| 8065 | number is made by looking at neighbours items, if any. | 8077 | number is made by looking at neighboring items, if any. |
| 8066 | 8078 | ||
| 8067 | 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com> | 8079 | 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com> |
| 8068 | 8080 | ||
| @@ -8431,7 +8443,7 @@ | |||
| 8431 | 8443 | ||
| 8432 | 2010-11-11 Eric Schulte <schulte.eric@gmail.com> | 8444 | 2010-11-11 Eric Schulte <schulte.eric@gmail.com> |
| 8433 | 8445 | ||
| 8434 | * ob-scheme.el: very preliminary support for evaluating scheme | 8446 | * ob-scheme.el: Very preliminary support for evaluating scheme |
| 8435 | code blocks. | 8447 | code blocks. |
| 8436 | 8448 | ||
| 8437 | * org.el (org-babel-load-languages): Adding scheme. | 8449 | * org.el (org-babel-load-languages): Adding scheme. |
| @@ -8541,7 +8553,7 @@ | |||
| 8541 | 8553 | ||
| 8542 | * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and | 8554 | * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and |
| 8543 | ":border" header arguments which both use the "preview" latex | 8555 | ":border" header arguments which both use the "preview" latex |
| 8544 | package to fit the resulting pdf image to the figure. | 8556 | package to fit the resulting PDF image to the figure. |
| 8545 | 8557 | ||
| 8546 | 2010-11-11 David Maus <dmaus@ictsoc.de> | 8558 | 2010-11-11 David Maus <dmaus@ictsoc.de> |
| 8547 | 8559 | ||
| @@ -8600,8 +8612,8 @@ | |||
| 8600 | 8612 | ||
| 8601 | 2010-11-11 David Maus <dmaus@ictsoc.de> | 8613 | 2010-11-11 David Maus <dmaus@ictsoc.de> |
| 8602 | 8614 | ||
| 8603 | * org-agenda.el (org-write-agenda): Delete postscript file after | 8615 | * org-agenda.el (org-write-agenda): Delete PostScript file after |
| 8604 | creating conversion to pdf. | 8616 | creating conversion to PDF. |
| 8605 | 8617 | ||
| 8606 | 2010-11-11 David Maus <dmaus@ictsoc.de> | 8618 | 2010-11-11 David Maus <dmaus@ictsoc.de> |
| 8607 | 8619 | ||
| @@ -10577,7 +10589,7 @@ | |||
| 10577 | a list of symbols specifying which of the special keywords #+DATE, | 10589 | a list of symbols specifying which of the special keywords #+DATE, |
| 10578 | #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock. | 10590 | #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock. |
| 10579 | (org-fontify-meta-lines-and-blocks): Changes to font-lock code | 10591 | (org-fontify-meta-lines-and-blocks): Changes to font-lock code |
| 10580 | implementing new faces and hiding behaviour. | 10592 | implementing new faces and hiding behavior. |
| 10581 | 10593 | ||
| 10582 | * org-faces.el (org-document-title): New face for #+TITLE lines. | 10594 | * org-faces.el (org-document-title): New face for #+TITLE lines. |
| 10583 | (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines. | 10595 | (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines. |
| @@ -11440,7 +11452,7 @@ | |||
| 11440 | package. | 11452 | package. |
| 11441 | 11453 | ||
| 11442 | * org-latex.el (org-export-latex-tables): Only add a caption when | 11454 | * org-latex.el (org-export-latex-tables): Only add a caption when |
| 11443 | macro in in longtable environments if one has been defined. | 11455 | macro is in longtable environments if one has been defined. |
| 11444 | 11456 | ||
| 11445 | * org-html.el (org-export-as-html): Only take title from buffer if | 11457 | * org-html.el (org-export-as-html): Only take title from buffer if |
| 11446 | not exporting body-only. | 11458 | not exporting body-only. |
| @@ -13808,7 +13820,7 @@ | |||
| 13808 | 13820 | ||
| 13809 | 2009-08-06 Bastien Guerry <bzg@altern.org> | 13821 | 2009-08-06 Bastien Guerry <bzg@altern.org> |
| 13810 | 13822 | ||
| 13811 | * org.el (org-special-ctrl-a/e): Explicitely bind the value | 13823 | * org.el (org-special-ctrl-a/e): Explicitly bind the value |
| 13812 | 'reversed for this option to the "true line boundary first" | 13824 | 'reversed for this option to the "true line boundary first" |
| 13813 | behavior. | 13825 | behavior. |
| 13814 | (org-tags-match-list-sublevels): Document the 'indented value for | 13826 | (org-tags-match-list-sublevels): Document the 'indented value for |
| @@ -14727,7 +14739,7 @@ | |||
| 14727 | 14739 | ||
| 14728 | 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com> | 14740 | 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com> |
| 14729 | 14741 | ||
| 14730 | * org.el (org-sort-entries-or-items): Match TODO keywrds | 14742 | * org.el (org-sort-entries-or-items): Match TODO keywords |
| 14731 | case-sensitively, when sorting. | 14743 | case-sensitively, when sorting. |
| 14732 | (org-priority): Do not match TODO keywords with wrong case. | 14744 | (org-priority): Do not match TODO keywords with wrong case. |
| 14733 | 14745 | ||
| @@ -15559,7 +15571,7 @@ | |||
| 15559 | * org.el (org-agenda-tags-todo-honor-ignore-options): | 15571 | * org.el (org-agenda-tags-todo-honor-ignore-options): |
| 15560 | Declare variable. | 15572 | Declare variable. |
| 15561 | 15573 | ||
| 15562 | * org-table.el (org-table-insert-hline): Fix typo in fuction call | 15574 | * org-table.el (org-table-insert-hline): Fix typo in function call |
| 15563 | to `backward-char'. | 15575 | to `backward-char'. |
| 15564 | 15576 | ||
| 15565 | * org-exp.el (org-export-as-html): Remove the initial space from | 15577 | * org-exp.el (org-export-as-html): Remove the initial space from |
| @@ -16482,14 +16494,14 @@ | |||
| 16482 | 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com> | 16494 | 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com> |
| 16483 | 16495 | ||
| 16484 | * org-export-latex.el (org-export-latex-subcontent): | 16496 | * org-export-latex.el (org-export-latex-subcontent): |
| 16485 | Interprete target aliases as additonal labels. | 16497 | Interpret target aliases as additional labels. |
| 16486 | 16498 | ||
| 16487 | * org-exp.el (org-export-target-aliases): New variable. | 16499 | * org-exp.el (org-export-target-aliases): New variable. |
| 16488 | (org-export-preprocess-string) | 16500 | (org-export-preprocess-string) |
| 16489 | (org-export-handle-invisible-targets): Fill the alias alist. | 16501 | (org-export-handle-invisible-targets): Fill the alias alist. |
| 16490 | (org-export-as-html): Remove the from the anchor, and also | 16502 | (org-export-as-html): Remove the from the anchor, and also |
| 16491 | assign an id. | 16503 | assign an id. |
| 16492 | (org-html-level-start): Insert the target aliases as additonal | 16504 | (org-html-level-start): Insert the target aliases as additional |
| 16493 | anchors. | 16505 | anchors. |
| 16494 | 16506 | ||
| 16495 | * org.el (org-edit-fixed-width-region): Fix bug when starting a new | 16507 | * org.el (org-edit-fixed-width-region): Fix bug when starting a new |
| @@ -17052,7 +17064,7 @@ | |||
| 17052 | * org.el (org-entry-get-multivalued-property) | 17064 | * org.el (org-entry-get-multivalued-property) |
| 17053 | (org-entry-protect-space, org-entry-restore-space): | 17065 | (org-entry-protect-space, org-entry-restore-space): |
| 17054 | New functions. | 17066 | New functions. |
| 17055 | (org-file-apps-defaults-macosx): Let postscript files be opened by | 17067 | (org-file-apps-defaults-macosx): Let PostScript files be opened by |
| 17056 | preview. | 17068 | preview. |
| 17057 | (org-time-stamp-inactive): Call `org-time-stamp'. | 17069 | (org-time-stamp-inactive): Call `org-time-stamp'. |
| 17058 | (org-time-stamp): New argument `inactive'. Also edit inacive | 17070 | (org-time-stamp): New argument `inactive'. Also edit inacive |
| @@ -17290,7 +17302,7 @@ | |||
| 17290 | (org-edit-fixed-width-region): Also try | 17302 | (org-edit-fixed-width-region): Also try |
| 17291 | `org-edit-fixed-width-region'. | 17303 | `org-edit-fixed-width-region'. |
| 17292 | (org-edit-fixed-width-region-mode): New option. | 17304 | (org-edit-fixed-width-region-mode): New option. |
| 17293 | (org-activate-code): Only interprete lines starting with colon | 17305 | (org-activate-code): Only interpret lines starting with colon |
| 17294 | plus a space as example lines. | 17306 | plus a space as example lines. |
| 17295 | 17307 | ||
| 17296 | * org-remember.el (org-remember-templates): Add nil instead of | 17308 | * org-remember.el (org-remember-templates): Add nil instead of |
| @@ -18037,4 +18049,3 @@ | |||
| 18037 | 18049 | ||
| 18038 | You should have received a copy of the GNU General Public License | 18050 | You should have received a copy of the GNU General Public License |
| 18039 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 18051 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 18040 | |||
diff --git a/lisp/org/ob-haskell.el b/lisp/org/ob-haskell.el index cae07036c57..236dbba28f1 100644 --- a/lisp/org/ob-haskell.el +++ b/lisp/org/ob-haskell.el | |||
| @@ -29,7 +29,7 @@ | |||
| 29 | ;; they can be run, but haskell code can also be run through an | 29 | ;; they can be run, but haskell code can also be run through an |
| 30 | ;; interactive interpreter. | 30 | ;; interactive interpreter. |
| 31 | ;; | 31 | ;; |
| 32 | ;; For now lets only allow evaluation using the haskell interpreter. | 32 | ;; For now let's only allow evaluation using the haskell interpreter. |
| 33 | 33 | ||
| 34 | ;;; Requirements: | 34 | ;;; Requirements: |
| 35 | 35 | ||
| @@ -80,7 +80,7 @@ | |||
| 80 | (cdr (member org-babel-haskell-eoe | 80 | (cdr (member org-babel-haskell-eoe |
| 81 | (reverse (mapcar #'org-babel-trim raw))))))) | 81 | (reverse (mapcar #'org-babel-trim raw))))))) |
| 82 | (org-babel-reassemble-table | 82 | (org-babel-reassemble-table |
| 83 | (cond | 83 | (cond |
| 84 | ((equal result-type 'output) | 84 | ((equal result-type 'output) |
| 85 | (mapconcat #'identity (reverse (cdr results)) "\n")) | 85 | (mapconcat #'identity (reverse (cdr results)) "\n")) |
| 86 | ((equal result-type 'value) | 86 | ((equal result-type 'value) |
diff --git a/lisp/org/ob-ledger.el b/lisp/org/ob-ledger.el index a5bdcbf2f73..4fe61451982 100644 --- a/lisp/org/ob-ledger.el +++ b/lisp/org/ob-ledger.el | |||
| @@ -30,7 +30,7 @@ | |||
| 30 | ;; | 30 | ;; |
| 31 | ;; 1) there is no such thing as a "session" in ledger | 31 | ;; 1) there is no such thing as a "session" in ledger |
| 32 | ;; | 32 | ;; |
| 33 | ;; 2) we are generally only going to return output from the leger program | 33 | ;; 2) we are generally only going to return output from the ledger program |
| 34 | ;; | 34 | ;; |
| 35 | ;; 3) we are adding the "cmdline" header argument | 35 | ;; 3) we are adding the "cmdline" header argument |
| 36 | ;; | 36 | ;; |
diff --git a/lisp/org/ob-ocaml.el b/lisp/org/ob-ocaml.el index ee7a7cc212c..78d309b9e13 100644 --- a/lisp/org/ob-ocaml.el +++ b/lisp/org/ob-ocaml.el | |||
| @@ -29,7 +29,7 @@ | |||
| 29 | ;; they can be run, but ocaml code can also be run through an | 29 | ;; they can be run, but ocaml code can also be run through an |
| 30 | ;; interactive interpreter. | 30 | ;; interactive interpreter. |
| 31 | ;; | 31 | ;; |
| 32 | ;; For now lets only allow evaluation using the ocaml interpreter. | 32 | ;; For now let's only allow evaluation using the ocaml interpreter. |
| 33 | 33 | ||
| 34 | ;;; Requirements: | 34 | ;;; Requirements: |
| 35 | 35 | ||
| @@ -99,7 +99,7 @@ | |||
| 99 | (lambda (pair) (format "let %s = %s;;" (car pair) | 99 | (lambda (pair) (format "let %s = %s;;" (car pair) |
| 100 | (org-babel-ocaml-elisp-to-ocaml (cdr pair)))) | 100 | (org-babel-ocaml-elisp-to-ocaml (cdr pair)))) |
| 101 | (mapcar #'cdr (org-babel-get-header params :var)))) | 101 | (mapcar #'cdr (org-babel-get-header params :var)))) |
| 102 | 102 | ||
| 103 | (defun org-babel-ocaml-elisp-to-ocaml (val) | 103 | (defun org-babel-ocaml-elisp-to-ocaml (val) |
| 104 | "Return a string of ocaml code which evaluates to VAL." | 104 | "Return a string of ocaml code which evaluates to VAL." |
| 105 | (if (listp val) | 105 | (if (listp val) |
diff --git a/lisp/org/ob-sql.el b/lisp/org/ob-sql.el index 9274438c18e..7a5c7c8a46a 100644 --- a/lisp/org/ob-sql.el +++ b/lisp/org/ob-sql.el | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | ;; | 32 | ;; |
| 33 | ;; Also SQL evaluation generally takes place inside of a database. | 33 | ;; Also SQL evaluation generally takes place inside of a database. |
| 34 | ;; | 34 | ;; |
| 35 | ;; For now lets just allow a generic ':cmdline' header argument. | 35 | ;; For now let's just allow a generic ':cmdline' header argument. |
| 36 | ;; | 36 | ;; |
| 37 | ;; TODO: | 37 | ;; TODO: |
| 38 | ;; | 38 | ;; |
| @@ -40,7 +40,7 @@ | |||
| 40 | ;; - add more useful header arguments (user, passwd, database, etc...) | 40 | ;; - add more useful header arguments (user, passwd, database, etc...) |
| 41 | ;; - support for more engines (currently only supports mysql) | 41 | ;; - support for more engines (currently only supports mysql) |
| 42 | ;; - what's a reasonable way to drop table data into SQL? | 42 | ;; - what's a reasonable way to drop table data into SQL? |
| 43 | ;; | 43 | ;; |
| 44 | 44 | ||
| 45 | ;;; Code: | 45 | ;;; Code: |
| 46 | (require 'ob) | 46 | (require 'ob) |
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index 53a0c5587a2..50761ede7cb 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el | |||
| @@ -156,7 +156,7 @@ and `org-agenda-entry-text-maxlines'." | |||
| 156 | "Non-nil means export org-links as descriptive links in agenda added text. | 156 | "Non-nil means export org-links as descriptive links in agenda added text. |
| 157 | This variable applies to the text added to the agenda when | 157 | This variable applies to the text added to the agenda when |
| 158 | `org-agenda-add-entry-text-maxlines' is larger than 0. | 158 | `org-agenda-add-entry-text-maxlines' is larger than 0. |
| 159 | When this variable nil, the URL will (also) be shown." | 159 | When this variable is nil, the URL will (also) be shown." |
| 160 | :group 'org-agenda | 160 | :group 'org-agenda |
| 161 | :type 'boolean) | 161 | :type 'boolean) |
| 162 | 162 | ||
| @@ -339,7 +339,7 @@ agenda dispatcher \\[org-agenda]. Each entry is a list like this: | |||
| 339 | 339 | ||
| 340 | key The key (one or more characters as a string) to be associated | 340 | key The key (one or more characters as a string) to be associated |
| 341 | with the command. | 341 | with the command. |
| 342 | desc A description of the command, when omitted or nil, a default | 342 | desc A description of the command; when omitted or nil, a default |
| 343 | description is built using MATCH. | 343 | description is built using MATCH. |
| 344 | type The command type, any of the following symbols: | 344 | type The command type, any of the following symbols: |
| 345 | agenda The daily/weekly agenda. | 345 | agenda The daily/weekly agenda. |
| @@ -354,7 +354,7 @@ type The command type, any of the following symbols: | |||
| 354 | match What to search for: | 354 | match What to search for: |
| 355 | - a single keyword for TODO keyword searches | 355 | - a single keyword for TODO keyword searches |
| 356 | - a tags match expression for tags searches | 356 | - a tags match expression for tags searches |
| 357 | - a word search expression for text searches. | 357 | - a word search expression for text searches |
| 358 | - a regular expression for occur searches | 358 | - a regular expression for occur searches |
| 359 | For all other commands, this should be the empty string. | 359 | For all other commands, this should be the empty string. |
| 360 | settings A list of option settings, similar to that in a let form, so like | 360 | settings A list of option settings, similar to that in a let form, so like |
| @@ -363,7 +363,7 @@ settings A list of option settings, similar to that in a let form, so like | |||
| 363 | files A list of files file to write the produced agenda buffer to | 363 | files A list of files file to write the produced agenda buffer to |
| 364 | with the command `org-store-agenda-views'. | 364 | with the command `org-store-agenda-views'. |
| 365 | If a file name ends in \".html\", an HTML version of the buffer | 365 | If a file name ends in \".html\", an HTML version of the buffer |
| 366 | is written out. If it ends in \".ps\", a postscript version is | 366 | is written out. If it ends in \".ps\", a PostScript version is |
| 367 | produced. Otherwise, only the plain text is written to the file. | 367 | produced. Otherwise, only the plain text is written to the file. |
| 368 | 368 | ||
| 369 | You can also define a set of commands, to create a composite agenda buffer. | 369 | You can also define a set of commands, to create a composite agenda buffer. |
| @@ -1619,7 +1619,7 @@ Where CATEGORY-REGEXP is a regexp matching the categories where | |||
| 1619 | the icon should be displayed. | 1619 | the icon should be displayed. |
| 1620 | FILE-OR-DATA either a file path or a string containing image data. | 1620 | FILE-OR-DATA either a file path or a string containing image data. |
| 1621 | 1621 | ||
| 1622 | The other fields can be omited safely if not needed: | 1622 | The other fields can be omitted safely if not needed: |
| 1623 | TYPE indicates the image type. | 1623 | TYPE indicates the image type. |
| 1624 | DATA-P is a boolean indicating whether the FILE-OR-DATA string is | 1624 | DATA-P is a boolean indicating whether the FILE-OR-DATA string is |
| 1625 | image data. | 1625 | image data. |
| @@ -2744,8 +2744,8 @@ This ensures the export commands can easily use it." | |||
| 2744 | (defun org-write-agenda (file &optional open nosettings) | 2744 | (defun org-write-agenda (file &optional open nosettings) |
| 2745 | "Write the current buffer (an agenda view) as a file. | 2745 | "Write the current buffer (an agenda view) as a file. |
| 2746 | Depending on the extension of the file name, plain text (.txt), | 2746 | Depending on the extension of the file name, plain text (.txt), |
| 2747 | HTML (.html or .htm) or Postscript (.ps) is produced. | 2747 | HTML (.html or .htm) or PostScript (.ps) is produced. |
| 2748 | If the extension is .ics, run icalendar export over all files used | 2748 | If the extension is .ics, run iCalendar export over all files used |
| 2749 | to construct the agenda and limit the export to entries listed in the | 2749 | to construct the agenda and limit the export to entries listed in the |
| 2750 | agenda now. | 2750 | agenda now. |
| 2751 | With prefix argument OPEN, open the new file immediately. | 2751 | With prefix argument OPEN, open the new file immediately. |
| @@ -2793,7 +2793,7 @@ higher priority settings." | |||
| 2793 | ((string-match "\\.ps\\'" file) | 2793 | ((string-match "\\.ps\\'" file) |
| 2794 | (require 'ps-print) | 2794 | (require 'ps-print) |
| 2795 | (ps-print-buffer-with-faces file) | 2795 | (ps-print-buffer-with-faces file) |
| 2796 | (message "Postscript written to %s" file)) | 2796 | (message "PostScript written to %s" file)) |
| 2797 | ((string-match "\\.pdf\\'" file) | 2797 | ((string-match "\\.pdf\\'" file) |
| 2798 | (require 'ps-print) | 2798 | (require 'ps-print) |
| 2799 | (ps-print-buffer-with-faces | 2799 | (ps-print-buffer-with-faces |
| @@ -2972,7 +2972,7 @@ removed from the entry content. Currently only `planning' is allowed here." | |||
| 2972 | (nreverse markers))) | 2972 | (nreverse markers))) |
| 2973 | 2973 | ||
| 2974 | (defun org-create-marker-find-array (marker-list) | 2974 | (defun org-create-marker-find-array (marker-list) |
| 2975 | "Create a alist of files names with all marker positions in that file." | 2975 | "Create an alist of files names with all marker positions in that file." |
| 2976 | (let (f tbl m a p) | 2976 | (let (f tbl m a p) |
| 2977 | (while (setq m (pop marker-list)) | 2977 | (while (setq m (pop marker-list)) |
| 2978 | (setq p (marker-position m) | 2978 | (setq p (marker-position m) |
| @@ -2997,7 +2997,7 @@ removed from the entry content. Currently only `planning' is allowed here." | |||
| 2997 | (member (point) (cdr a))))))) | 2997 | (member (point) (cdr a))))))) |
| 2998 | 2998 | ||
| 2999 | (defun org-check-for-org-mode () | 2999 | (defun org-check-for-org-mode () |
| 3000 | "Make sure current buffer is in org-mode. Error if not." | 3000 | "Make sure current buffer is in Org-mode. Error if not." |
| 3001 | (or (org-mode-p) | 3001 | (or (org-mode-p) |
| 3002 | (error "Cannot execute org-mode agenda command on buffer in %s" | 3002 | (error "Cannot execute org-mode agenda command on buffer in %s" |
| 3003 | major-mode))) | 3003 | major-mode))) |
| @@ -3715,9 +3715,9 @@ given in `org-agenda-start-on-weekday'." | |||
| 3715 | (defvar org-todo-only nil) | 3715 | (defvar org-todo-only nil) |
| 3716 | 3716 | ||
| 3717 | (defvar org-search-syntax-table nil | 3717 | (defvar org-search-syntax-table nil |
| 3718 | "Special syntax table for org-mode search. | 3718 | "Special syntax table for Org-mode search. |
| 3719 | In this table, we have single quotes not as word constituents, to | 3719 | In this table, we have single quotes not as word constituents, so |
| 3720 | that when \"+Ameli\" is searched as a work, it will also match \"Ameli's\"") | 3720 | that when \"+Ameli\" is searched as a word, it will also match \"Ameli's\"") |
| 3721 | 3721 | ||
| 3722 | (defun org-search-syntax-table () | 3722 | (defun org-search-syntax-table () |
| 3723 | (unless org-search-syntax-table | 3723 | (unless org-search-syntax-table |
| @@ -4425,7 +4425,7 @@ date. It also removes lines that contain only whitespace." | |||
| 4425 | (setq string (org-modify-diary-entry-string string)))))) | 4425 | (setq string (org-modify-diary-entry-string string)))))) |
| 4426 | 4426 | ||
| 4427 | (defun org-modify-diary-entry-string (string) | 4427 | (defun org-modify-diary-entry-string (string) |
| 4428 | "Add text properties to string, allowing org-mode to act on it." | 4428 | "Add text properties to string, allowing Org-mode to act on it." |
| 4429 | (org-add-props string nil | 4429 | (org-add-props string nil |
| 4430 | 'mouse-face 'highlight | 4430 | 'mouse-face 'highlight |
| 4431 | 'help-echo (if buffer-file-name | 4431 | 'help-echo (if buffer-file-name |
| @@ -5059,7 +5059,7 @@ See also the user option `org-agenda-clock-consistency-checks'." | |||
| 5059 | (/ (- tlend ts) 60)) | 5059 | (/ (- tlend ts) 60)) |
| 5060 | face (or (plist-get pl :overlap-face) face))) | 5060 | face (or (plist-get pl :overlap-face) face))) |
| 5061 | ((and (> tlend 0) (> ts (+ tlend (* 60 maxgap)))) | 5061 | ((and (> tlend 0) (> ts (+ tlend (* 60 maxgap)))) |
| 5062 | ;; There is a gap, lets see if we need to report it | 5062 | ;; There is a gap, let's see if we need to report it |
| 5063 | (unless (org-agenda-check-clock-gap tlend ts gapok) | 5063 | (unless (org-agenda-check-clock-gap tlend ts gapok) |
| 5064 | (setq issue (format "Clocking gap: %d minutes" | 5064 | (setq issue (format "Clocking gap: %d minutes" |
| 5065 | (/ (- ts tlend) 60)) | 5065 | (/ (- ts tlend) 60)) |
diff --git a/lisp/org/org-bbdb.el b/lisp/org/org-bbdb.el index a7b6efae836..8401196c81a 100644 --- a/lisp/org/org-bbdb.el +++ b/lisp/org/org-bbdb.el | |||
| @@ -357,7 +357,7 @@ This is used by Org to re-create the anniversary hash table." | |||
| 357 | (bbdb-record-name (car (bbdb-completing-read-record "Name: "))))) | 357 | (bbdb-record-name (car (bbdb-completing-read-record "Name: "))))) |
| 358 | 358 | ||
| 359 | (defun org-bbdb-anniv-export-ical () | 359 | (defun org-bbdb-anniv-export-ical () |
| 360 | "Extract anniversaries from BBDB and convert them to icalendar format." | 360 | "Extract anniversaries from BBDB and convert them to iCalendar format." |
| 361 | (require 'bbdb) | 361 | (require 'bbdb) |
| 362 | (require 'diary-lib) | 362 | (require 'diary-lib) |
| 363 | (unless (hash-table-p org-bbdb-anniv-hash) | 363 | (unless (hash-table-p org-bbdb-anniv-hash) |
diff --git a/lisp/org/org-beamer.el b/lisp/org/org-beamer.el index 5cebe50efd1..d5f9beea337 100644 --- a/lisp/org/org-beamer.el +++ b/lisp/org/org-beamer.el | |||
| @@ -411,7 +411,7 @@ the value will be inserted right after the documentclass statement." | |||
| 411 | 411 | ||
| 412 | 412 | ||
| 413 | ;; Functions to initialize and post-process | 413 | ;; Functions to initialize and post-process |
| 414 | ;; These fuctions will be hooked into various places in the export process | 414 | ;; These functions will be hooked into various places in the export process |
| 415 | 415 | ||
| 416 | (defun org-beamer-initialize-open-trackers () | 416 | (defun org-beamer-initialize-open-trackers () |
| 417 | "Reset variables that track if certain environments are open during export." | 417 | "Reset variables that track if certain environments are open during export." |
| @@ -451,7 +451,7 @@ The effect is that these values will be accessible during export." | |||
| 451 | ((stringp org-beamer-frame-level-now) | 451 | ((stringp org-beamer-frame-level-now) |
| 452 | (setq org-beamer-frame-level-now | 452 | (setq org-beamer-frame-level-now |
| 453 | (string-to-number org-beamer-frame-level-now)))) | 453 | (string-to-number org-beamer-frame-level-now)))) |
| 454 | ;; Find the header additons, most likely theme commands | 454 | ;; Find the header additions, most likely theme commands |
| 455 | (setq org-beamer-header-extra | 455 | (setq org-beamer-header-extra |
| 456 | (or (and (org-region-active-p) | 456 | (or (and (org-region-active-p) |
| 457 | (save-excursion | 457 | (save-excursion |
diff --git a/lisp/org/org-bibtex.el b/lisp/org/org-bibtex.el index 5c9b37b2341..138d99a36d9 100644 --- a/lisp/org/org-bibtex.el +++ b/lisp/org/org-bibtex.el | |||
| @@ -204,7 +204,7 @@ | |||
| 204 | (:pages . "One or more page numbers or range of numbers, such as 42-111 or 7,41,73-97 or 43+ (the ‘+’ in this last example indicates pages following that don’t form simple range). BibTEX requires double dashes for page ranges (--).") | 204 | (:pages . "One or more page numbers or range of numbers, such as 42-111 or 7,41,73-97 or 43+ (the ‘+’ in this last example indicates pages following that don’t form simple range). BibTEX requires double dashes for page ranges (--).") |
| 205 | (:publisher . "The publisher’s name.") | 205 | (:publisher . "The publisher’s name.") |
| 206 | (:school . "The name of the school where a thesis was written.") | 206 | (:school . "The name of the school where a thesis was written.") |
| 207 | (:series . "The name of a series or set of books. When citing an entire book, the 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 | (: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.") |
| 208 | (:title . "The work’s title, typed as explained in the LaTeX book.") | 208 | (:title . "The work’s title, typed as explained in the LaTeX book.") |
| 209 | (:type . "The type of a technical report for example, 'Research Note'.") | 209 | (:type . "The type of a technical report for example, 'Research Note'.") |
| 210 | (:volume . "The volume of a journal or multi-volume book.") | 210 | (:volume . "The volume of a journal or multi-volume book.") |
| @@ -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 | :type 'string) | 226 | :type 'string) |
| 227 | 227 | ||
diff --git a/lisp/org/org-capture.el b/lisp/org/org-capture.el index 05cca0e311e..24aea5d7eae 100644 --- a/lisp/org/org-capture.el +++ b/lisp/org/org-capture.el | |||
| @@ -372,7 +372,7 @@ to avoid conflicts with other active capture processes." | |||
| 372 | (plist-get (if local org-capture-current-plist org-capture-plist) prop)) | 372 | (plist-get (if local org-capture-current-plist org-capture-plist) prop)) |
| 373 | 373 | ||
| 374 | (defun org-capture-member (prop &optional local) | 374 | (defun org-capture-member (prop &optional local) |
| 375 | "Is PROP a preperty in `org-capture-plist'. | 375 | "Is PROP a property in `org-capture-plist'. |
| 376 | When LOCAL is set, use the local variable `org-capture-current-plist', | 376 | When LOCAL is set, use the local variable `org-capture-current-plist', |
| 377 | this is necessary after initialization of the capture process, | 377 | this is necessary after initialization of the capture process, |
| 378 | to avoid conflicts with other active capture processes." | 378 | to avoid conflicts with other active capture processes." |
diff --git a/lisp/org/org-clock.el b/lisp/org/org-clock.el index de5087e163c..6279ed3df0d 100644 --- a/lisp/org/org-clock.el +++ b/lisp/org/org-clock.el | |||
| @@ -1261,7 +1261,7 @@ line and position cursor in that line." | |||
| 1261 | (and (re-search-forward org-property-end-re nil t) | 1261 | (and (re-search-forward org-property-end-re nil t) |
| 1262 | (goto-char (match-beginning 0)))) | 1262 | (goto-char (match-beginning 0)))) |
| 1263 | (throw 'exit t)) | 1263 | (throw 'exit t)) |
| 1264 | ;; Lets count the CLOCK lines | 1264 | ;; Let's count the CLOCK lines |
| 1265 | (goto-char beg) | 1265 | (goto-char beg) |
| 1266 | (while (re-search-forward re end t) | 1266 | (while (re-search-forward re end t) |
| 1267 | (setq first (or first (match-beginning 0)) | 1267 | (setq first (or first (match-beginning 0)) |
| @@ -2125,7 +2125,7 @@ the currently selected interval size." | |||
| 2125 | "Write out a clock table at position IPOS in the current buffer. | 2125 | "Write out a clock table at position IPOS in the current buffer. |
| 2126 | TABLES is a list of tables with clocking data as produced by | 2126 | TABLES is a list of tables with clocking data as produced by |
| 2127 | `org-clock-get-table-data'. PARAMS is the parameter property list obtained | 2127 | `org-clock-get-table-data'. PARAMS is the parameter property list obtained |
| 2128 | from the dynamic block defintion." | 2128 | from the dynamic block definition." |
| 2129 | ;; This function looks quite complicated, mainly because there are a | 2129 | ;; This function looks quite complicated, mainly because there are a |
| 2130 | ;; lot of options which can add or remove columns. I have massively | 2130 | ;; lot of options which can add or remove columns. I have massively |
| 2131 | ;; commented this function, the I hope it is understandable. If | 2131 | ;; commented this function, the I hope it is understandable. If |
| @@ -2641,4 +2641,3 @@ The details of what will be saved are regulated by the variable | |||
| 2641 | 2641 | ||
| 2642 | 2642 | ||
| 2643 | ;;; org-clock.el ends here | 2643 | ;;; org-clock.el ends here |
| 2644 | |||
diff --git a/lisp/org/org-compat.el b/lisp/org/org-compat.el index 896acc5aeae..5e4935caa7e 100644 --- a/lisp/org/org-compat.el +++ b/lisp/org/org-compat.el | |||
| @@ -272,7 +272,7 @@ Works on both Emacs and XEmacs." | |||
| 272 | nil)) | 272 | nil)) |
| 273 | 273 | ||
| 274 | (defmacro org-xemacs-without-invisibility (&rest body) | 274 | (defmacro org-xemacs-without-invisibility (&rest body) |
| 275 | "Turn off exents with invisibility while executing BODY." | 275 | "Turn off extents with invisibility while executing BODY." |
| 276 | `(let ((ext-inv (extent-list nil (point-at-bol) (point-at-eol) | 276 | `(let ((ext-inv (extent-list nil (point-at-bol) (point-at-eol) |
| 277 | 'all-extents-closed-open 'invisible)) | 277 | 'all-extents-closed-open 'invisible)) |
| 278 | ext-inv-specs) | 278 | ext-inv-specs) |
diff --git a/lisp/org/org-ctags.el b/lisp/org/org-ctags.el index 48eced9ea08..d567b929056 100644 --- a/lisp/org/org-ctags.el +++ b/lisp/org/org-ctags.el | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | ;; links to these 'tagged' destinations, allowing seamless navigation between | 36 | ;; links to these 'tagged' destinations, allowing seamless navigation between |
| 37 | ;; multiple org-mode files. Topics can be created in any org mode file and | 37 | ;; multiple org-mode files. Topics can be created in any org mode file and |
| 38 | ;; will always be found by plain links from other files. Other file types | 38 | ;; will always be found by plain links from other files. Other file types |
| 39 | ;; recognised by ctags (source code files, latex files, etc) will also be | 39 | ;; recognized by ctags (source code files, latex files, etc) will also be |
| 40 | ;; available as destinations for plain links, and similarly, org-mode links | 40 | ;; available as destinations for plain links, and similarly, org-mode links |
| 41 | ;; will be available as tags from source files. Finally, the function | 41 | ;; will be available as tags from source files. Finally, the function |
| 42 | ;; `org-ctags-find-tag-interactive' lets you choose any known tag, using | 42 | ;; `org-ctags-find-tag-interactive' lets you choose any known tag, using |
| @@ -64,19 +64,19 @@ | |||
| 64 | ;; with the same name as the link; then, if unsuccessful, ask the user if | 64 | ;; with the same name as the link; then, if unsuccessful, ask the user if |
| 65 | ;; he/she wants to rebuild the 'TAGS' database and try again; then ask if | 65 | ;; he/she wants to rebuild the 'TAGS' database and try again; then ask if |
| 66 | ;; the user wishes to append 'tag' as a new toplevel heading at the end of | 66 | ;; the user wishes to append 'tag' as a new toplevel heading at the end of |
| 67 | ;; the buffer; and finally, defer to org's default behaviour which is to | 67 | ;; the buffer; and finally, defer to org's default behavior which is to |
| 68 | ;; search the entire text of the current buffer for 'tag'. | 68 | ;; search the entire text of the current buffer for 'tag'. |
| 69 | ;; | 69 | ;; |
| 70 | ;; This behaviour can be modified by changing the value of | 70 | ;; This behavior can be modified by changing the value of |
| 71 | ;; ORG-CTAGS-OPEN-LINK-FUNCTIONS. For example I have the following in my | 71 | ;; ORG-CTAGS-OPEN-LINK-FUNCTIONS. For example I have the following in my |
| 72 | ;; .emacs, which describes the same behaviour as the above paragraph with | 72 | ;; .emacs, which describes the same behavior as the above paragraph with |
| 73 | ;; one difference: | 73 | ;; one difference: |
| 74 | ;; | 74 | ;; |
| 75 | ;; (setq org-ctags-open-link-functions | 75 | ;; (setq org-ctags-open-link-functions |
| 76 | ;; '(org-ctags-find-tag | 76 | ;; '(org-ctags-find-tag |
| 77 | ;; org-ctags-ask-rebuild-tags-file-then-find-tag | 77 | ;; org-ctags-ask-rebuild-tags-file-then-find-tag |
| 78 | ;; org-ctags-ask-append-topic | 78 | ;; org-ctags-ask-append-topic |
| 79 | ;; org-ctags-fail-silently)) ; <-- prevents org default behaviour | 79 | ;; org-ctags-fail-silently)) ; <-- prevents org default behavior |
| 80 | ;; | 80 | ;; |
| 81 | ;; | 81 | ;; |
| 82 | ;; Usage | 82 | ;; Usage |
diff --git a/lisp/org/org-exp.el b/lisp/org/org-exp.el index ee8e6027706..35a51649452 100644 --- a/lisp/org/org-exp.el +++ b/lisp/org/org-exp.el | |||
| @@ -2922,7 +2922,7 @@ to the value of `temporary-file-directory'." | |||
| 2922 | (org-load-modules-maybe) | 2922 | (org-load-modules-maybe) |
| 2923 | (unless org-local-vars | 2923 | (unless org-local-vars |
| 2924 | (setq org-local-vars (org-get-local-variables))) | 2924 | (setq org-local-vars (org-get-local-variables))) |
| 2925 | (eval ;; convert to fmt -- mimicing `org-run-like-in-org-mode' | 2925 | (eval ;; convert to fmt -- mimicking `org-run-like-in-org-mode' |
| 2926 | (list 'let org-local-vars | 2926 | (list 'let org-local-vars |
| 2927 | (list (intern (format "org-export-as-%s" fmt)) | 2927 | (list (intern (format "org-export-as-%s" fmt)) |
| 2928 | nil nil nil ''string t)))) | 2928 | nil nil nil ''string t)))) |
diff --git a/lisp/org/org-footnote.el b/lisp/org/org-footnote.el index 223d2573fdb..0d47132d2f8 100644 --- a/lisp/org/org-footnote.el +++ b/lisp/org/org-footnote.el | |||
| @@ -574,7 +574,7 @@ normalized footnotes towards the end of the pre-processing buffer. | |||
| 574 | Some exporters like docbook, odt, etc. expect that footnote | 574 | Some exporters like docbook, odt, etc. expect that footnote |
| 575 | definitions be available before any references to them. Such | 575 | definitions be available before any references to them. Such |
| 576 | exporters can let bind `org-footnote-insert-pos-for-preprocessor' to | 576 | exporters can let bind `org-footnote-insert-pos-for-preprocessor' to |
| 577 | symbol 'point-min to achieve the desired behaviour. | 577 | symbol 'point-min to achieve the desired behavior. |
| 578 | 578 | ||
| 579 | Additional note on `org-footnote-insert-pos-for-preprocessor': | 579 | Additional note on `org-footnote-insert-pos-for-preprocessor': |
| 580 | 1. This variable has not effect when FOR-PREPROCESSOR is nil. | 580 | 1. This variable has not effect when FOR-PREPROCESSOR is nil. |
diff --git a/lisp/org/org-icalendar.el b/lisp/org/org-icalendar.el index dd64fc2f783..8a2d66306f3 100644 --- a/lisp/org/org-icalendar.el +++ b/lisp/org/org-icalendar.el | |||
| @@ -204,7 +204,7 @@ When nil of the empty string, use the abbreviation retrieved from Emacs." | |||
| 204 | (if org-icalendar-use-UTC-date-time | 204 | (if org-icalendar-use-UTC-date-time |
| 205 | ":%Y%m%dT%H%M%SZ" | 205 | ":%Y%m%dT%H%M%SZ" |
| 206 | ":%Y%m%dT%H%M%S") | 206 | ":%Y%m%dT%H%M%S") |
| 207 | "Format-string for exporting icalendar DATE-TIME. | 207 | "Format-string for exporting iCalendar DATE-TIME. |
| 208 | See `format-time-string' for a full documentation. The only | 208 | See `format-time-string' for a full documentation. The only |
| 209 | difference is that `org-icalendar-timezone' is used for %Z. | 209 | difference is that `org-icalendar-timezone' is used for %Z. |
| 210 | 210 | ||
diff --git a/lisp/org/org-latex.el b/lisp/org/org-latex.el index 0402b2da964..7abf85a7092 100644 --- a/lisp/org/org-latex.el +++ b/lisp/org/org-latex.el | |||
| @@ -304,8 +304,8 @@ markup defined, the first one in the association list will be used." | |||
| 304 | 304 | ||
| 305 | (defcustom org-export-latex-href-format "\\href{%s}{%s}" | 305 | (defcustom org-export-latex-href-format "\\href{%s}{%s}" |
| 306 | "A printf format string to be applied to href links. | 306 | "A printf format string to be applied to href links. |
| 307 | The format must contain either two %s instances or just one. | 307 | The format must contain either two %s instances or just one. |
| 308 | If it contains two %s instances, the first will be filled with | 308 | If it contains two %s instances, the first will be filled with |
| 309 | the link, the second with the link description. If it contains | 309 | the link, the second with the link description. If it contains |
| 310 | only one, the %s will be filled with the link." | 310 | only one, the %s will be filled with the link." |
| 311 | :group 'org-export-latex | 311 | :group 'org-export-latex |
| @@ -594,7 +594,7 @@ and `org-export-with-tags' instead." | |||
| 594 | "Extensions of image files that can be inlined into LaTeX. | 594 | "Extensions of image files that can be inlined into LaTeX. |
| 595 | Note that the image extension *actually* allowed depend on the way the | 595 | Note that the image extension *actually* allowed depend on the way the |
| 596 | LaTeX file is processed. When used with pdflatex, pdf, jpg and png images | 596 | LaTeX file is processed. When used with pdflatex, pdf, jpg and png images |
| 597 | are OK. When processing through dvi to Postscript, only ps and eps are | 597 | are OK. When processing through dvi to PostScript, only ps and eps are |
| 598 | allowed. The default we use here encompasses both." | 598 | allowed. The default we use here encompasses both." |
| 599 | :group 'org-export-latex | 599 | :group 'org-export-latex |
| 600 | :type '(repeat (string :tag "Extension"))) | 600 | :type '(repeat (string :tag "Extension"))) |
| @@ -2203,7 +2203,7 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER." | |||
| 2203 | ;; a LaTeX issue, but we here implement a work-around anyway. | 2203 | ;; a LaTeX issue, but we here implement a work-around anyway. |
| 2204 | (setq path (org-export-latex-protect-amp path) | 2204 | (setq path (org-export-latex-protect-amp path) |
| 2205 | desc (org-export-latex-protect-amp desc))) | 2205 | desc (org-export-latex-protect-amp desc))) |
| 2206 | (insert | 2206 | (insert |
| 2207 | (if (string-match "%s.*%s" org-export-latex-href-format) | 2207 | (if (string-match "%s.*%s" org-export-latex-href-format) |
| 2208 | (format org-export-latex-href-format path desc) | 2208 | (format org-export-latex-href-format path desc) |
| 2209 | (format org-export-latex-href-format path)))) | 2209 | (format org-export-latex-href-format path)))) |
diff --git a/lisp/org/org-list.el b/lisp/org/org-list.el index 866176e4e8f..9184f0c3d54 100644 --- a/lisp/org/org-list.el +++ b/lisp/org/org-list.el | |||
| @@ -681,7 +681,7 @@ Assume point is at an item." | |||
| 681 | (cond | 681 | (cond |
| 682 | ((<= (point) lim-up) | 682 | ((<= (point) lim-up) |
| 683 | ;; At upward limit: if we ended at an item, store it, | 683 | ;; At upward limit: if we ended at an item, store it, |
| 684 | ;; else dimiss useless data recorded above BEG-CELL. | 684 | ;; else dismiss useless data recorded above BEG-CELL. |
| 685 | ;; Jump to part 2. | 685 | ;; Jump to part 2. |
| 686 | (throw 'exit | 686 | (throw 'exit |
| 687 | (setq itm-lst | 687 | (setq itm-lst |
| @@ -1177,7 +1177,7 @@ some heuristics to guess the result." | |||
| 1177 | ;; When `org-blank-before-new-entry' says so, it is 1. | 1177 | ;; When `org-blank-before-new-entry' says so, it is 1. |
| 1178 | ((eq insert-blank-p t) 1) | 1178 | ((eq insert-blank-p t) 1) |
| 1179 | ;; `plain-list-item' is 'auto. Count blank lines separating | 1179 | ;; `plain-list-item' is 'auto. Count blank lines separating |
| 1180 | ;; neighbours items in list. | 1180 | ;; neighboring items in list. |
| 1181 | (t (let ((next-p (org-list-get-next-item item struct prevs))) | 1181 | (t (let ((next-p (org-list-get-next-item item struct prevs))) |
| 1182 | (cond | 1182 | (cond |
| 1183 | ;; Is there a next item? | 1183 | ;; Is there a next item? |
| @@ -1207,7 +1207,7 @@ some heuristics to guess the result." | |||
| 1207 | If POS is before first character after bullet of the item, the | 1207 | If POS is before first character after bullet of the item, the |
| 1208 | new item will be created before the current one. | 1208 | new item will be created before the current one. |
| 1209 | 1209 | ||
| 1210 | STRUCT is the list structure. PREVS is the the alist of previous | 1210 | STRUCT is the list structure. PREVS is the alist of previous |
| 1211 | items, as returned by `org-list-prevs-alist'. | 1211 | items, as returned by `org-list-prevs-alist'. |
| 1212 | 1212 | ||
| 1213 | Insert a checkbox if CHECKBOX is non-nil, and string AFTER-BULLET | 1213 | Insert a checkbox if CHECKBOX is non-nil, and string AFTER-BULLET |
| @@ -2642,7 +2642,7 @@ If a region is active, all items inside will be moved." | |||
| 2642 | (defvar org-tab-ind-state) | 2642 | (defvar org-tab-ind-state) |
| 2643 | (defun org-cycle-item-indentation () | 2643 | (defun org-cycle-item-indentation () |
| 2644 | "Cycle levels of indentation of an empty item. | 2644 | "Cycle levels of indentation of an empty item. |
| 2645 | The first run indents the item, if applicable. Subsequents runs | 2645 | The first run indents the item, if applicable. Subsequent runs |
| 2646 | outdent it at meaningful levels in the list. When done, item is | 2646 | outdent it at meaningful levels in the list. When done, item is |
| 2647 | put back at its original position with its original bullet. | 2647 | put back at its original position with its original bullet. |
| 2648 | 2648 | ||
diff --git a/lisp/org/org-publish.el b/lisp/org/org-publish.el index ddb3cf7b63a..0c924cd9f07 100644 --- a/lisp/org/org-publish.el +++ b/lisp/org/org-publish.el | |||
| @@ -191,7 +191,7 @@ sitemap of files or summary page for a given project. | |||
| 191 | display folders first or last, respectively. | 191 | display folders first or last, respectively. |
| 192 | Any other value will mix files and folders. | 192 | Any other value will mix files and folders. |
| 193 | :sitemap-sort-files The site map is normally sorted alphabetically. | 193 | :sitemap-sort-files The site map is normally sorted alphabetically. |
| 194 | You can change this behaviour setting this to | 194 | You can change this behavior setting this to |
| 195 | `chronologically', `anti-chronologically' or nil. | 195 | `chronologically', `anti-chronologically' or nil. |
| 196 | :sitemap-ignore-case Should sorting be case-sensitive? Default nil. | 196 | :sitemap-ignore-case Should sorting be case-sensitive? Default nil. |
| 197 | 197 | ||
| @@ -1114,7 +1114,7 @@ so that the file including them will be republished as well." | |||
| 1114 | (let ((ctime (org-publish-cache-ctime-of-src filename))) | 1114 | (let ((ctime (org-publish-cache-ctime-of-src filename))) |
| 1115 | (or (< pstamp ctime) | 1115 | (or (< pstamp ctime) |
| 1116 | (when included-files-ctime | 1116 | (when included-files-ctime |
| 1117 | (not (null (delq nil (mapcar (lambda(ct) (< ctime ct)) | 1117 | (not (null (delq nil (mapcar (lambda(ct) (< ctime ct)) |
| 1118 | included-files-ctime)))))))))) | 1118 | included-files-ctime)))))))))) |
| 1119 | 1119 | ||
| 1120 | (defun org-publish-cache-set-file-property (filename property value &optional project-name) | 1120 | (defun org-publish-cache-set-file-property (filename property value &optional project-name) |
diff --git a/lisp/org/org-remember.el b/lisp/org/org-remember.el index 2bc5ef92ae7..8819f416f1d 100644 --- a/lisp/org/org-remember.el +++ b/lisp/org/org-remember.el | |||
| @@ -63,7 +63,7 @@ and `org-remember-default-headline'. To force prompting anyway, use | |||
| 63 | \\[universal-argument] \\[org-remember-finalize] to file the note. | 63 | \\[universal-argument] \\[org-remember-finalize] to file the note. |
| 64 | 64 | ||
| 65 | When this variable is nil, \\[org-remember-finalize] gives you the prompts, and | 65 | When this variable is nil, \\[org-remember-finalize] gives you the prompts, and |
| 66 | \\[universal-argument] \\[org-remember-finalize] triggers the fasttrack." | 66 | \\[universal-argument] \\[org-remember-finalize] triggers the fast track." |
| 67 | :group 'org-remember | 67 | :group 'org-remember |
| 68 | :type 'boolean) | 68 | :type 'boolean) |
| 69 | 69 | ||
| @@ -1122,7 +1122,7 @@ See also the variable `org-reverse-note-order'." | |||
| 1122 | (condition-case nil | 1122 | (condition-case nil |
| 1123 | (require 'remember) | 1123 | (require 'remember) |
| 1124 | (error | 1124 | (error |
| 1125 | ;; Lets install our own micro version of remember | 1125 | ;; Let's install our own micro version of remember |
| 1126 | (defvar remember-register ?R) | 1126 | (defvar remember-register ?R) |
| 1127 | (defvar remember-mode-hook nil) | 1127 | (defvar remember-mode-hook nil) |
| 1128 | (defvar remember-handler-functions nil) | 1128 | (defvar remember-handler-functions nil) |
| @@ -1153,4 +1153,3 @@ See also the variable `org-reverse-note-order'." | |||
| 1153 | 1153 | ||
| 1154 | 1154 | ||
| 1155 | ;;; org-remember.el ends here | 1155 | ;;; org-remember.el ends here |
| 1156 | |||
diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el index 7f49b3236ee..72723845426 100644 --- a/lisp/org/org-table.el +++ b/lisp/org/org-table.el | |||
| @@ -51,7 +51,7 @@ | |||
| 51 | (defvar orgtbl-after-send-table-hook nil | 51 | (defvar orgtbl-after-send-table-hook nil |
| 52 | "Hook for functions attaching to `C-c C-c', if the table is sent. | 52 | "Hook for functions attaching to `C-c C-c', if the table is sent. |
| 53 | This can be used to add additional functionality after the table is sent | 53 | This can be used to add additional functionality after the table is sent |
| 54 | to the receiver position, othewise, if table is not sent, the functions | 54 | to the receiver position, otherwise, if table is not sent, the functions |
| 55 | are not run.") | 55 | are not run.") |
| 56 | 56 | ||
| 57 | (defcustom orgtbl-optimized (eq org-enable-table-editor 'optimized) | 57 | (defcustom orgtbl-optimized (eq org-enable-table-editor 'optimized) |
| @@ -1302,7 +1302,7 @@ However, when FORCE is non-nil, create new columns if necessary." | |||
| 1302 | (defun org-table-line-to-dline (line &optional above) | 1302 | (defun org-table-line-to-dline (line &optional above) |
| 1303 | "Turn a buffer line number into a data line number. | 1303 | "Turn a buffer line number into a data line number. |
| 1304 | If there is no data line in this line, return nil. | 1304 | If there is no data line in this line, return nil. |
| 1305 | If there is no matchin dline (most likely te refrence was a hline), the | 1305 | If there is no matching dline (most likely te refrence was a hline), the |
| 1306 | first dline below it is used. When ABOVE is non-nil, the one above is used." | 1306 | first dline below it is used. When ABOVE is non-nil, the one above is used." |
| 1307 | (catch 'exit | 1307 | (catch 'exit |
| 1308 | (let ((ll (length org-table-dlines)) | 1308 | (let ((ll (length org-table-dlines)) |
| @@ -2204,7 +2204,7 @@ For all numbers larger than LIMIT, shift them by DELTA." | |||
| 2204 | (string-match "^[a-zA-Z][a-zA-Z0-9]*$" field)) | 2204 | (string-match "^[a-zA-Z][a-zA-Z0-9]*$" field)) |
| 2205 | (push (cons field v) org-table-local-parameters) | 2205 | (push (cons field v) org-table-local-parameters) |
| 2206 | (push (list field line col) org-table-named-field-locations)))) | 2206 | (push (list field line col) org-table-named-field-locations)))) |
| 2207 | ;; Analyse the line types | 2207 | ;; Analyze the line types |
| 2208 | (goto-char beg) | 2208 | (goto-char beg) |
| 2209 | (setq org-table-current-begin-line (org-current-line) | 2209 | (setq org-table-current-begin-line (org-current-line) |
| 2210 | org-table-current-begin-pos (point) | 2210 | org-table-current-begin-pos (point) |
| @@ -2432,7 +2432,7 @@ not overwrite the stored one." | |||
| 2432 | duration-output-format nil | 2432 | duration-output-format nil |
| 2433 | fmt (replace-match "" t t fmt))) | 2433 | fmt (replace-match "" t t fmt))) |
| 2434 | (if (string-match "t" fmt) | 2434 | (if (string-match "t" fmt) |
| 2435 | (setq duration t | 2435 | (setq duration t |
| 2436 | duration-output-format org-table-duration-custom-format | 2436 | duration-output-format org-table-duration-custom-format |
| 2437 | numbers t | 2437 | numbers t |
| 2438 | fmt (replace-match "" t t fmt))) | 2438 | fmt (replace-match "" t t fmt))) |
| @@ -2500,7 +2500,7 @@ not overwrite the stored one." | |||
| 2500 | ;; Insert complex ranges | 2500 | ;; Insert complex ranges |
| 2501 | (while (and (string-match org-table-range-regexp form) | 2501 | (while (and (string-match org-table-range-regexp form) |
| 2502 | (> (length (match-string 0 form)) 1)) | 2502 | (> (length (match-string 0 form)) 1)) |
| 2503 | (setq formrg (save-match-data | 2503 | (setq formrg (save-match-data |
| 2504 | (org-table-get-range (match-string 0 form) nil n0))) | 2504 | (org-table-get-range (match-string 0 form) nil n0))) |
| 2505 | (setq formrpl | 2505 | (setq formrpl |
| 2506 | (save-match-data | 2506 | (save-match-data |
| @@ -2901,7 +2901,7 @@ known that the table will be realigned a little later anyway." | |||
| 2901 | 2901 | ||
| 2902 | (defun org-table-iterate (&optional arg) | 2902 | (defun org-table-iterate (&optional arg) |
| 2903 | "Recalculate the table until it does not change anymore. | 2903 | "Recalculate the table until it does not change anymore. |
| 2904 | The maximun number of iterations is 10, but you can chose a different value | 2904 | The maximum number of iterations is 10, but you can chose a different value |
| 2905 | with the prefix ARG." | 2905 | with the prefix ARG." |
| 2906 | (interactive "P") | 2906 | (interactive "P") |
| 2907 | (let ((imax (if arg (prefix-numeric-value arg) 10)) | 2907 | (let ((imax (if arg (prefix-numeric-value arg) 10)) |
| @@ -4723,4 +4723,3 @@ list of the fields in the rectangle ." | |||
| 4723 | 4723 | ||
| 4724 | 4724 | ||
| 4725 | ;;; org-table.el ends here | 4725 | ;;; org-table.el ends here |
| 4726 | |||
diff --git a/lisp/org/org-taskjuggler.el b/lisp/org/org-taskjuggler.el index 0d9516a389e..1fb3114bf3f 100644 --- a/lisp/org/org-taskjuggler.el +++ b/lisp/org/org-taskjuggler.el | |||
| @@ -70,7 +70,7 @@ | |||
| 70 | ;; "taskjuggler_project" (or whatever you customized | 70 | ;; "taskjuggler_project" (or whatever you customized |
| 71 | ;; `org-export-taskjuggler-project-tag' to). You are now ready to | 71 | ;; `org-export-taskjuggler-project-tag' to). You are now ready to |
| 72 | ;; export the project plan with `org-export-as-taskjuggler-and-open' | 72 | ;; export the project plan with `org-export-as-taskjuggler-and-open' |
| 73 | ;; which will export the project plan and open a gant chart in | 73 | ;; which will export the project plan and open a Gantt chart in |
| 74 | ;; TaskJugglerUI. | 74 | ;; TaskJugglerUI. |
| 75 | ;; | 75 | ;; |
| 76 | ;; * Resources | 76 | ;; * Resources |
| @@ -354,8 +354,8 @@ information, all the properties, etc." | |||
| 354 | (let* ((props (org-entry-properties)) | 354 | (let* ((props (org-entry-properties)) |
| 355 | (components (org-heading-components)) | 355 | (components (org-heading-components)) |
| 356 | (level (nth 1 components)) | 356 | (level (nth 1 components)) |
| 357 | (headline | 357 | (headline |
| 358 | (replace-regexp-in-string | 358 | (replace-regexp-in-string |
| 359 | "\"" "\\\"" (nth 4 components) t t)) ; quote double quotes in headlines | 359 | "\"" "\\\"" (nth 4 components) t t)) ; quote double quotes in headlines |
| 360 | (parent-ordered (org-taskjuggler-parent-is-ordered-p))) | 360 | (parent-ordered (org-taskjuggler-parent-is-ordered-p))) |
| 361 | (push (cons "level" level) props) | 361 | (push (cons "level" level) props) |
| @@ -405,10 +405,10 @@ deeper), then it's not a leaf." | |||
| 405 | (successor (car (cdr tasks)))) | 405 | (successor (car (cdr tasks)))) |
| 406 | (cond | 406 | (cond |
| 407 | ;; if a task has no successors it is a leaf | 407 | ;; if a task has no successors it is a leaf |
| 408 | ((null successor) | 408 | ((null successor) |
| 409 | (push (cons (cons "leaf-node" t) task) new-list)) | 409 | (push (cons (cons "leaf-node" t) task) new-list)) |
| 410 | ;; if the successor has a lower level than task it is a leaf | 410 | ;; if the successor has a lower level than task it is a leaf |
| 411 | ((<= (cdr (assoc "level" successor)) (cdr (assoc "level" task))) | 411 | ((<= (cdr (assoc "level" successor)) (cdr (assoc "level" task))) |
| 412 | (push (cons (cons "leaf-node" t) task) new-list)) | 412 | (push (cons (cons "leaf-node" t) task) new-list)) |
| 413 | ;; otherwise examine the rest of the tasks | 413 | ;; otherwise examine the rest of the tasks |
| 414 | (t (push task new-list)))) | 414 | (t (push task new-list)))) |
diff --git a/lisp/org/org.el b/lisp/org/org.el index da39aa189ba..25bfb8a78e8 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -1480,9 +1480,9 @@ When nil, the link search tries to match a phrase with all words | |||
| 1480 | in the search text." | 1480 | in the search text." |
| 1481 | :group 'org-link-follow | 1481 | :group 'org-link-follow |
| 1482 | :type '(choice | 1482 | :type '(choice |
| 1483 | (const :tag "Use fuzy text search" nil) | 1483 | (const :tag "Use fuzzy text search" nil) |
| 1484 | (const :tag "Match only exact headline" t) | 1484 | (const :tag "Match only exact headline" t) |
| 1485 | (const :tag "Match extact headline or query to create it" | 1485 | (const :tag "Match exact headline or query to create it" |
| 1486 | query-to-create))) | 1486 | query-to-create))) |
| 1487 | 1487 | ||
| 1488 | (defcustom org-link-frame-setup | 1488 | (defcustom org-link-frame-setup |
| @@ -2681,7 +2681,7 @@ When this variable is set to t, the date/time prompt will not let | |||
| 2681 | you specify dates outside the 1970-2037 range, so it is certain that | 2681 | you specify dates outside the 1970-2037 range, so it is certain that |
| 2682 | these dates will work in whatever version of Emacs you are | 2682 | these dates will work in whatever version of Emacs you are |
| 2683 | running, and also that you can move a file from one Emacs implementation | 2683 | running, and also that you can move a file from one Emacs implementation |
| 2684 | to another. WHenever Org is forcing the year for you, it will display | 2684 | to another. Whenever Org is forcing the year for you, it will display |
| 2685 | a message and beep. | 2685 | a message and beep. |
| 2686 | 2686 | ||
| 2687 | When this variable is nil, Org will check if the date is | 2687 | When this variable is nil, Org will check if the date is |
| @@ -2924,7 +2924,7 @@ is better to limit inheritance to certain tags using the variables | |||
| 2924 | (const :tag "List them, indented with leading dots" indented))) | 2924 | (const :tag "List them, indented with leading dots" indented))) |
| 2925 | 2925 | ||
| 2926 | (defcustom org-tags-sort-function nil | 2926 | (defcustom org-tags-sort-function nil |
| 2927 | "When set, tags are sorted using this function as a comparator." | 2927 | "When set, tags are sorted using this comparison function." |
| 2928 | :group 'org-tags | 2928 | :group 'org-tags |
| 2929 | :type '(choice | 2929 | :type '(choice |
| 2930 | (const :tag "No sorting" nil) | 2930 | (const :tag "No sorting" nil) |
| @@ -5052,7 +5052,7 @@ The time stamps may be either active or inactive.") | |||
| 5052 | (defvar org-emph-face nil) | 5052 | (defvar org-emph-face nil) |
| 5053 | 5053 | ||
| 5054 | (defun org-do-emphasis-faces (limit) | 5054 | (defun org-do-emphasis-faces (limit) |
| 5055 | "Run through the buffer and add overlays to emphasised strings." | 5055 | "Run through the buffer and add overlays to emphasized strings." |
| 5056 | (let (rtn a) | 5056 | (let (rtn a) |
| 5057 | (while (and (not rtn) (re-search-forward org-emph-re limit t)) | 5057 | (while (and (not rtn) (re-search-forward org-emph-re limit t)) |
| 5058 | (if (not (= (char-after (match-beginning 3)) | 5058 | (if (not (= (char-after (match-beginning 3)) |
| @@ -5549,7 +5549,7 @@ Use `org-reduced-level' to remove the effect of `org-odd-levels'." | |||
| 5549 | 5549 | ||
| 5550 | (defvar org-font-lock-set-keywords-hook nil | 5550 | (defvar org-font-lock-set-keywords-hook nil |
| 5551 | "Functions that can manipulate `org-font-lock-extra-keywords'. | 5551 | "Functions that can manipulate `org-font-lock-extra-keywords'. |
| 5552 | This is calles after `org-font-lock-extra-keywords' is defined, but before | 5552 | This is called after `org-font-lock-extra-keywords' is defined, but before |
| 5553 | it is installed to be used by font lock. This can be useful if something | 5553 | it is installed to be used by font lock. This can be useful if something |
| 5554 | needs to be inserted at a specific position in the font-lock sequence.") | 5554 | needs to be inserted at a specific position in the font-lock sequence.") |
| 5555 | 5555 | ||
| @@ -11217,7 +11217,7 @@ changes. Such blocking occurs when: | |||
| 11217 | (forward-line 1) | 11217 | (forward-line 1) |
| 11218 | (re-search-forward org-not-done-heading-regexp pos t)) | 11218 | (re-search-forward org-not-done-heading-regexp pos t)) |
| 11219 | (throw 'dont-block nil)) ; block, there is an older sibling not done. | 11219 | (throw 'dont-block nil)) ; block, there is an older sibling not done. |
| 11220 | ;; Search further up the hierarchy, to see if an anchestor is blocked | 11220 | ;; Search further up the hierarchy, to see if an ancestor is blocked |
| 11221 | (while t | 11221 | (while t |
| 11222 | (goto-char parent-pos) | 11222 | (goto-char parent-pos) |
| 11223 | (if (not (looking-at org-not-done-heading-regexp)) | 11223 | (if (not (looking-at org-not-done-heading-regexp)) |
| @@ -14835,7 +14835,7 @@ user." | |||
| 14835 | (setq ans (replace-match (format "%04d-%02d-%02d\\5" year month day) | 14835 | (setq ans (replace-match (format "%04d-%02d-%02d\\5" year month day) |
| 14836 | t nil ans))) | 14836 | t nil ans))) |
| 14837 | 14837 | ||
| 14838 | ;; Help matching dottet european dates | 14838 | ;; Help matching dotted european dates |
| 14839 | (when (string-match | 14839 | (when (string-match |
| 14840 | "^ *\\(3[01]\\|0?[1-9]\\|[12][0-9]\\)\\. ?\\(0?[1-9]\\|1[012]\\)\\. ?\\([1-9][0-9][0-9][0-9]\\)?" ans) | 14840 | "^ *\\(3[01]\\|0?[1-9]\\|[12][0-9]\\)\\. ?\\(0?[1-9]\\|1[012]\\)\\. ?\\([1-9][0-9][0-9][0-9]\\)?" ans) |
| 14841 | (setq year (if (match-end 3) | 14841 | (setq year (if (match-end 3) |
diff --git a/lisp/outline.el b/lisp/outline.el index 34d30fc4591..b5bf8296455 100644 --- a/lisp/outline.el +++ b/lisp/outline.el | |||
| @@ -144,10 +144,10 @@ in the file it applies to." | |||
| 144 | :help "Promote headings higher up the tree")) | 144 | :help "Promote headings higher up the tree")) |
| 145 | (define-key map [headings move-subtree-down] | 145 | (define-key map [headings move-subtree-down] |
| 146 | '(menu-item "Move Subtree Down" outline-move-subtree-down | 146 | '(menu-item "Move Subtree Down" outline-move-subtree-down |
| 147 | :help "Move the currrent subtree down past arg headlines of the same level")) | 147 | :help "Move the current subtree down past arg headlines of the same level")) |
| 148 | (define-key map [headings move-subtree-up] | 148 | (define-key map [headings move-subtree-up] |
| 149 | '(menu-item "Move Subtree Up" outline-move-subtree-up | 149 | '(menu-item "Move Subtree Up" outline-move-subtree-up |
| 150 | :help "Move the currrent subtree up past arg headlines of the same level")) | 150 | :help "Move the current subtree up past arg headlines of the same level")) |
| 151 | (define-key map [headings copy] | 151 | (define-key map [headings copy] |
| 152 | '(menu-item "Copy to Kill Ring" outline-headers-as-kill | 152 | '(menu-item "Copy to Kill Ring" outline-headers-as-kill |
| 153 | :enable mark-active | 153 | :enable mark-active |
| @@ -642,12 +642,12 @@ the match data is set appropriately." | |||
| 642 | ;; Vertical tree motion | 642 | ;; Vertical tree motion |
| 643 | 643 | ||
| 644 | (defun outline-move-subtree-up (&optional arg) | 644 | (defun outline-move-subtree-up (&optional arg) |
| 645 | "Move the currrent subtree up past ARG headlines of the same level." | 645 | "Move the current subtree up past ARG headlines of the same level." |
| 646 | (interactive "p") | 646 | (interactive "p") |
| 647 | (outline-move-subtree-down (- arg))) | 647 | (outline-move-subtree-down (- arg))) |
| 648 | 648 | ||
| 649 | (defun outline-move-subtree-down (&optional arg) | 649 | (defun outline-move-subtree-down (&optional arg) |
| 650 | "Move the currrent subtree down past ARG headlines of the same level." | 650 | "Move the current subtree down past ARG headlines of the same level." |
| 651 | (interactive "p") | 651 | (interactive "p") |
| 652 | (let ((movfunc (if (> arg 0) 'outline-get-next-sibling | 652 | (let ((movfunc (if (> arg 0) 'outline-get-next-sibling |
| 653 | 'outline-get-last-sibling)) | 653 | 'outline-get-last-sibling)) |
diff --git a/lisp/play/5x5.el b/lisp/play/5x5.el index 86e6b4abb6c..e111e743608 100644 --- a/lisp/play/5x5.el +++ b/lisp/play/5x5.el | |||
| @@ -151,7 +151,7 @@ | |||
| 151 | "Local keymap for the 5x5 game.") | 151 | "Local keymap for the 5x5 game.") |
| 152 | 152 | ||
| 153 | (5x5-defvar-local 5x5-solver-output nil | 153 | (5x5-defvar-local 5x5-solver-output nil |
| 154 | "List that is is the output of artihmetic solver. | 154 | "List that is the output of an arithmetic solver. |
| 155 | 155 | ||
| 156 | This list L is such that | 156 | This list L is such that |
| 157 | 157 | ||
| @@ -162,8 +162,8 @@ M is the move count when the solve output was stored. | |||
| 162 | S_1 ... S_N are all the solutions ordered from least to greatest | 162 | S_1 ... S_N are all the solutions ordered from least to greatest |
| 163 | number of strokes. S_1 is the solution to be displayed. | 163 | number of strokes. S_1 is the solution to be displayed. |
| 164 | 164 | ||
| 165 | Each solution S_1, ..., S_N is a a list (STROKE-COUNT GRID) where | 165 | Each solution S_1, ..., S_N is a list (STROKE-COUNT GRID) where |
| 166 | STROKE-COUNT is to number of strokes to achieve the solution and | 166 | STROKE-COUNT is the number of strokes to achieve the solution and |
| 167 | GRID is the grid of positions to click.") | 167 | GRID is the grid of positions to click.") |
| 168 | 168 | ||
| 169 | 169 | ||
| @@ -579,7 +579,7 @@ Solutions are sorted from least to greatest Hamming weight." | |||
| 579 | (let* (calc-command-flags | 579 | (let* (calc-command-flags |
| 580 | (grid-size-squared (* 5x5-grid-size 5x5-grid-size)) | 580 | (grid-size-squared (* 5x5-grid-size 5x5-grid-size)) |
| 581 | 581 | ||
| 582 | ;; targetv is the vector the origine of which is org="current | 582 | ;; targetv is the vector the origin of which is org="current |
| 583 | ;; grid" and the end of which is dest="all ones". | 583 | ;; grid" and the end of which is dest="all ones". |
| 584 | (targetv | 584 | (targetv |
| 585 | (5x5-log | 585 | (5x5-log |
| @@ -649,7 +649,7 @@ Solutions are sorted from least to greatest Hamming weight." | |||
| 649 | ;; 23x25 is a diagonal of 1, and the two last columns are a | 649 | ;; 23x25 is a diagonal of 1, and the two last columns are a |
| 650 | ;; base of kernel of transferm. | 650 | ;; base of kernel of transferm. |
| 651 | ;; | 651 | ;; |
| 652 | ;; base-change must be by construction inversible. | 652 | ;; base-change must be by construction invertible. |
| 653 | (base-change | 653 | (base-change |
| 654 | (5x5-log | 654 | (5x5-log |
| 655 | "p" | 655 | "p" |
| @@ -816,9 +816,8 @@ solution that is presented is the one that needs least number of | |||
| 816 | strokes --- other solutions can be viewed by rotating through the | 816 | strokes --- other solutions can be viewed by rotating through the |
| 817 | list. The list of solution is ordered by number of strokes, so | 817 | list. The list of solution is ordered by number of strokes, so |
| 818 | rotating left just after calling `5x5-solve-suggest' will show | 818 | rotating left just after calling `5x5-solve-suggest' will show |
| 819 | the the solution with second least number of strokes, while | 819 | the solution with second least number of strokes, while rotating |
| 820 | rotating right will show the solution with greatest number of | 820 | right will show the solution with greatest number of strokes." |
| 821 | strokes." | ||
| 822 | (interactive "P") | 821 | (interactive "P") |
| 823 | (let ((len (length 5x5-solver-output))) | 822 | (let ((len (length 5x5-solver-output))) |
| 824 | (when (>= len 3) | 823 | (when (>= len 3) |
diff --git a/lisp/play/animate.el b/lisp/play/animate.el index facdfa2f347..ec0cacc4a68 100644 --- a/lisp/play/animate.el +++ b/lisp/play/animate.el | |||
| @@ -93,7 +93,7 @@ | |||
| 93 | 93 | ||
| 94 | (defvar animation-buffer-name nil | 94 | (defvar animation-buffer-name nil |
| 95 | "*String naming the default buffer for animations. | 95 | "*String naming the default buffer for animations. |
| 96 | When nil animations dipslayed in the buffer named *Animation*.") | 96 | When nil animations displayed in the buffer named *Animation*.") |
| 97 | 97 | ||
| 98 | ;;;###autoload | 98 | ;;;###autoload |
| 99 | (defun animate-string (string vpos &optional hpos) | 99 | (defun animate-string (string vpos &optional hpos) |
diff --git a/lisp/play/bruce.el b/lisp/play/bruce.el index 168d528ecb1..a41d5a3d3d1 100644 --- a/lisp/play/bruce.el +++ b/lisp/play/bruce.el | |||
| @@ -110,7 +110,7 @@ | |||
| 110 | :group 'games) | 110 | :group 'games) |
| 111 | 111 | ||
| 112 | (defcustom bruce-phrases-file "~/bruce.lines" | 112 | (defcustom bruce-phrases-file "~/bruce.lines" |
| 113 | "Keep your favourite phrases here." | 113 | "Keep your favorite phrases here." |
| 114 | :type 'file | 114 | :type 'file |
| 115 | :group 'bruce) | 115 | :group 'bruce) |
| 116 | 116 | ||
diff --git a/lisp/play/bubbles.el b/lisp/play/bubbles.el index f2b7294e2d0..62d486ffca5 100644 --- a/lisp/play/bubbles.el +++ b/lisp/play/bubbles.el | |||
| @@ -55,7 +55,7 @@ | |||
| 55 | 55 | ||
| 56 | ;; 0.3 (2007-03-11) | 56 | ;; 0.3 (2007-03-11) |
| 57 | ;; - Renamed shift modes and thus names of score files. All | 57 | ;; - Renamed shift modes and thus names of score files. All |
| 58 | ;; highscores are lost, unless you rename the score files from | 58 | ;; high scores are lost, unless you rename the score files from |
| 59 | ;; bubbles-shift-... to bubbles-...! | 59 | ;; bubbles-shift-... to bubbles-...! |
| 60 | ;; - Bugfixes: Check for successful image creation. | 60 | ;; - Bugfixes: Check for successful image creation. |
| 61 | ;; Disable menus and counter when game is over. | 61 | ;; Disable menus and counter when game is over. |
diff --git a/lisp/play/decipher.el b/lisp/play/decipher.el index b9ce669533a..4d4ea71cd7a 100644 --- a/lisp/play/decipher.el +++ b/lisp/play/decipher.el | |||
| @@ -672,7 +672,7 @@ X: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z * 11 14 9% | |||
| 672 | 1 1 1 2 1 1 2 5 7 | 672 | 1 1 1 2 1 1 2 5 7 |
| 673 | This says that X comes before D once, and after B once. X begins 5 | 673 | This says that X comes before D once, and after B once. X begins 5 |
| 674 | words, and ends 3 words (`*' represents a space). X comes before 8 | 674 | words, and ends 3 words (`*' represents a space). X comes before 8 |
| 675 | different letters, after 7 differerent letters, and is next to a total | 675 | different letters, after 7 different letters, and is next to a total |
| 676 | of 11 different letters. It occurs 14 times, making up 9% of the | 676 | of 11 different letters. It occurs 14 times, making up 9% of the |
| 677 | ciphertext." | 677 | ciphertext." |
| 678 | (interactive (list (upcase (following-char)))) | 678 | (interactive (list (upcase (following-char)))) |
diff --git a/lisp/play/fortune.el b/lisp/play/fortune.el index 55b0a564fef..a46c2ba8171 100644 --- a/lisp/play/fortune.el +++ b/lisp/play/fortune.el | |||
| @@ -52,7 +52,7 @@ | |||
| 52 | ;; (lambda () | 52 | ;; (lambda () |
| 53 | ;; (define-key gnus-article-mode-map "i" 'fortune-from-region))) | 53 | ;; (define-key gnus-article-mode-map "i" 'fortune-from-region))) |
| 54 | ;; which allows marking a region and then pressing "i" so that the marked | 54 | ;; which allows marking a region and then pressing "i" so that the marked |
| 55 | ;; region will be automatically added to my favourite fortune-file. | 55 | ;; region will be automatically added to my favorite fortune-file. |
| 56 | 56 | ||
| 57 | ;;; Code: | 57 | ;;; Code: |
| 58 | 58 | ||
diff --git a/lisp/play/landmark.el b/lisp/play/landmark.el index f0e6670fe58..8629baf35d3 100644 --- a/lisp/play/landmark.el +++ b/lisp/play/landmark.el | |||
| @@ -1584,7 +1584,7 @@ If the game is finished, this command requests for another game." | |||
| 1584 | 1584 | ||
| 1585 | ;;;_ - something which doesn't work | 1585 | ;;;_ - something which doesn't work |
| 1586 | ; no-a-worka!! | 1586 | ; no-a-worka!! |
| 1587 | ;(defum landmark-sum-list (list) | 1587 | ;(defun landmark-sum-list (list) |
| 1588 | ; (if (> (length list) 0) | 1588 | ; (if (> (length list) 0) |
| 1589 | ; (+ (car list) (landmark-sum-list (cdr list))) | 1589 | ; (+ (car list) (landmark-sum-list (cdr list))) |
| 1590 | ; 0)) | 1590 | ; 0)) |
diff --git a/lisp/play/solitaire.el b/lisp/play/solitaire.el index 722c3b43033..b52ade6fdb7 100644 --- a/lisp/play/solitaire.el +++ b/lisp/play/solitaire.el | |||
| @@ -190,7 +190,7 @@ That's all. Here's the board after two moves: | |||
| 190 | 190 | ||
| 191 | o o o | 191 | o o o |
| 192 | 192 | ||
| 193 | Pick your favourite shortcuts: | 193 | Pick your favorite shortcuts: |
| 194 | 194 | ||
| 195 | \\{solitaire-mode-map}" | 195 | \\{solitaire-mode-map}" |
| 196 | 196 | ||
diff --git a/lisp/printing.el b/lisp/printing.el index 9f98c2b6e29..d6c67cc68a6 100644 --- a/lisp/printing.el +++ b/lisp/printing.el | |||
| @@ -3692,7 +3692,7 @@ VI. Customization: | |||
| 3692 | "\n\n | 3692 | "\n\n |
| 3693 | The printing interface buffer has the same functionality as the printing menu. | 3693 | The printing interface buffer has the same functionality as the printing menu. |
| 3694 | The major difference is that the states (like sending PostScript generated to a | 3694 | The major difference is that the states (like sending PostScript generated to a |
| 3695 | file, n-up printing, etc.) are set and saved between priting buffer | 3695 | file, n-up printing, etc.) are set and saved between printing buffer |
| 3696 | activation. Also, the landscape, duplex and tumble values are the same for | 3696 | activation. Also, the landscape, duplex and tumble values are the same for |
| 3697 | PostScript file and directory/buffer/region/mode processing; using menu, there | 3697 | PostScript file and directory/buffer/region/mode processing; using menu, there |
| 3698 | are different value sets for PostScript file and directory/buffer/region/mode | 3698 | are different value sets for PostScript file and directory/buffer/region/mode |
| @@ -4667,7 +4667,7 @@ bottom." | |||
| 4667 | "Interactively select a PostScript utility." | 4667 | "Interactively select a PostScript utility." |
| 4668 | (interactive) | 4668 | (interactive) |
| 4669 | (pr-menu-set-utility-title | 4669 | (pr-menu-set-utility-title |
| 4670 | (pr-complete-alist "Postscript utility" | 4670 | (pr-complete-alist "PostScript utility" |
| 4671 | pr-ps-utility-alist pr-ps-utility))) | 4671 | pr-ps-utility-alist pr-ps-utility))) |
| 4672 | 4672 | ||
| 4673 | 4673 | ||
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index 89a37307506..b8bf62d90b4 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el | |||
| @@ -105,8 +105,8 @@ | |||
| 105 | ;; should be loaded before the ada-mode, which will then setup some variables | 105 | ;; should be loaded before the ada-mode, which will then setup some variables |
| 106 | ;; to improve the support for Ada code. | 106 | ;; to improve the support for Ada code. |
| 107 | ;; Here is the list of these modes: | 107 | ;; Here is the list of these modes: |
| 108 | ;; `which-function-mode': Display the name of the subprogram the cursor is | 108 | ;; `which-function-mode': Display in the modeline the name of the subprogram |
| 109 | ;; in in the mode line. | 109 | ;; the cursor is in. |
| 110 | ;; `outline-mode': Provides the capability to collapse or expand the code | 110 | ;; `outline-mode': Provides the capability to collapse or expand the code |
| 111 | ;; for specific language constructs, for instance if you want to hide the | 111 | ;; for specific language constructs, for instance if you want to hide the |
| 112 | ;; code corresponding to a subprogram | 112 | ;; code corresponding to a subprogram |
| @@ -826,7 +826,7 @@ the 4 file locations can be clicked on and jumped to." | |||
| 826 | ;; to be considered as part of a word or not. | 826 | ;; to be considered as part of a word or not. |
| 827 | ;; Some characters may have multiple meanings depending on the context: | 827 | ;; Some characters may have multiple meanings depending on the context: |
| 828 | ;; - ' is either the beginning of a constant character or an attribute | 828 | ;; - ' is either the beginning of a constant character or an attribute |
| 829 | ;; - # is either part of a based litteral or a gnatprep statement. | 829 | ;; - # is either part of a based literal or a gnatprep statement. |
| 830 | ;; - " starts a string, but not if inside a constant character. | 830 | ;; - " starts a string, but not if inside a constant character. |
| 831 | ;; - ( and ) should be ignored if inside a constant character. | 831 | ;; - ( and ) should be ignored if inside a constant character. |
| 832 | ;; Thus their syntax property is changed automatically, and we can still use | 832 | ;; Thus their syntax property is changed automatically, and we can still use |
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el index 4a57a1eef67..0cfdab23702 100644 --- a/lisp/progmodes/ada-xref.el +++ b/lisp/progmodes/ada-xref.el | |||
| @@ -1163,7 +1163,8 @@ If OTHER-FRAME is non-nil, display the cross-reference in another frame." | |||
| 1163 | 1163 | ||
| 1164 | (defun ada-goto-declaration-other-frame (pos) | 1164 | (defun ada-goto-declaration-other-frame (pos) |
| 1165 | "Display the declaration of the identifier around POS. | 1165 | "Display the declaration of the identifier around POS. |
| 1166 | The declation is shown in another frame if `ada-xref-other-buffer' is non-nil." | 1166 | The declaration is shown in another frame if `ada-xref-other-buffer' is |
| 1167 | non-nil." | ||
| 1167 | (interactive "d") | 1168 | (interactive "d") |
| 1168 | (ada-goto-declaration pos t)) | 1169 | (ada-goto-declaration pos t)) |
| 1169 | 1170 | ||
| @@ -1747,7 +1748,7 @@ Information is extracted from the ali file." | |||
| 1747 | 1748 | ||
| 1748 | (unless declaration-found | 1749 | (unless declaration-found |
| 1749 | 1750 | ||
| 1750 | ;; Since we alread know the number of the file, search for a direct | 1751 | ;; Since we already know the number of the file, search for a direct |
| 1751 | ;; reference to it | 1752 | ;; reference to it |
| 1752 | (goto-char (point-min)) | 1753 | (goto-char (point-min)) |
| 1753 | (set 'declaration-found t) | 1754 | (set 'declaration-found t) |
diff --git a/lisp/progmodes/autoconf.el b/lisp/progmodes/autoconf.el index 3aa9a6cfb87..fce725c3b3c 100644 --- a/lisp/progmodes/autoconf.el +++ b/lisp/progmodes/autoconf.el | |||
| @@ -83,7 +83,8 @@ searching backwards at another AC_... command." | |||
| 83 | (set (make-local-variable 'defun-prompt-regexp) | 83 | (set (make-local-variable 'defun-prompt-regexp) |
| 84 | "^[ \t]*A[CM]_\\(\\sw\\|\\s_\\)+") | 84 | "^[ \t]*A[CM]_\\(\\sw\\|\\s_\\)+") |
| 85 | (set (make-local-variable 'comment-start) "dnl ") | 85 | (set (make-local-variable 'comment-start) "dnl ") |
| 86 | (set (make-local-variable 'comment-start-skip) "\\(?:\\<dnl\\|#\\) +") | 86 | (set (make-local-variable 'comment-start-skip) |
| 87 | "\\(?:\\(\\W\\|\\`\\)dnl\\|#\\) +") | ||
| 87 | (set (make-local-variable 'syntax-propertize-function) | 88 | (set (make-local-variable 'syntax-propertize-function) |
| 88 | (syntax-propertize-rules ("\\<dnl\\>" (0 "<")))) | 89 | (syntax-propertize-rules ("\\<dnl\\>" (0 "<")))) |
| 89 | (set (make-local-variable 'font-lock-defaults) | 90 | (set (make-local-variable 'font-lock-defaults) |
diff --git a/lisp/progmodes/cc-awk.el b/lisp/progmodes/cc-awk.el index d19ba47aa3f..8213a83461b 100644 --- a/lisp/progmodes/cc-awk.el +++ b/lisp/progmodes/cc-awk.el | |||
| @@ -71,7 +71,7 @@ | |||
| 71 | ;; / can delimit regexes or be a division operator. By default we assume | 71 | ;; / can delimit regexes or be a division operator. By default we assume |
| 72 | ;; that it is a division sign, and fix the regexp operator cases with | 72 | ;; that it is a division sign, and fix the regexp operator cases with |
| 73 | ;; `font-lock-syntactic-keywords'. | 73 | ;; `font-lock-syntactic-keywords'. |
| 74 | (modify-syntax-entry ?/ "." st) ; ACM 2002/4/27. | 74 | (modify-syntax-entry ?/ "." st) ; ACM 2002/4/27. |
| 75 | (modify-syntax-entry ?* "." st) | 75 | (modify-syntax-entry ?* "." st) |
| 76 | (modify-syntax-entry ?+ "." st) | 76 | (modify-syntax-entry ?+ "." st) |
| 77 | (modify-syntax-entry ?- "." st) | 77 | (modify-syntax-entry ?- "." st) |
| @@ -128,7 +128,7 @@ | |||
| 128 | ;; REGEXPS FOR "HARMLESS" STRINGS/LINES. | 128 | ;; REGEXPS FOR "HARMLESS" STRINGS/LINES. |
| 129 | (defconst c-awk-harmless-char-re "[^_#/\"\\\\\n\r]") | 129 | (defconst c-awk-harmless-char-re "[^_#/\"\\\\\n\r]") |
| 130 | ;; Matches any character but a _, #, /, ", \, or newline. N.B. _" starts a | 130 | ;; Matches any character but a _, #, /, ", \, or newline. N.B. _" starts a |
| 131 | ;; localisation string in gawk 3.1 | 131 | ;; localization string in gawk 3.1 |
| 132 | (defconst c-awk-harmless-_ "_\\([^\"]\\|\\'\\)") | 132 | (defconst c-awk-harmless-_ "_\\([^\"]\\|\\'\\)") |
| 133 | ;; Matches an underline NOT followed by ". | 133 | ;; Matches an underline NOT followed by ". |
| 134 | (defconst c-awk-harmless-string*-re | 134 | (defconst c-awk-harmless-string*-re |
| @@ -160,7 +160,7 @@ | |||
| 160 | (defconst c-awk-string-without-end-here-re | 160 | (defconst c-awk-string-without-end-here-re |
| 161 | (concat "\\=_?\"" c-awk-string-innards-re)) | 161 | (concat "\\=_?\"" c-awk-string-innards-re)) |
| 162 | ;; Matches an AWK string at point up to, but not including, any terminator. | 162 | ;; Matches an AWK string at point up to, but not including, any terminator. |
| 163 | ;; A gawk 3.1+ string may look like _"localisable string". | 163 | ;; A gawk 3.1+ string may look like _"localizable string". |
| 164 | (defconst c-awk-one-line-possibly-open-string-re | 164 | (defconst c-awk-one-line-possibly-open-string-re |
| 165 | (concat "\"\\(" c-awk-string-ch-re "\\|" c-awk-non-eol-esc-pair-re "\\)*" | 165 | (concat "\"\\(" c-awk-string-ch-re "\\|" c-awk-non-eol-esc-pair-re "\\)*" |
| 166 | "\\(\"\\|\\\\?$\\|\\'\\)")) | 166 | "\\(\"\\|\\\\?$\\|\\'\\)")) |
| @@ -195,7 +195,7 @@ | |||
| 195 | ;; Matches the inside of an AWK regexp (i.e. without the enclosing /s) | 195 | ;; Matches the inside of an AWK regexp (i.e. without the enclosing /s) |
| 196 | (defconst c-awk-regexp-without-end-re | 196 | (defconst c-awk-regexp-without-end-re |
| 197 | (concat "/" c-awk-regexp-innards-re)) | 197 | (concat "/" c-awk-regexp-innards-re)) |
| 198 | ;; Matches an AWK regexp up to, but not including, any terminating /. | 198 | ;; Matches an AWK regexp up to, but not including, any terminating /. |
| 199 | (defconst c-awk-one-line-possibly-open-regexp-re | 199 | (defconst c-awk-one-line-possibly-open-regexp-re |
| 200 | (concat "/\\(" c-awk-non-eol-esc-pair-re | 200 | (concat "/\\(" c-awk-non-eol-esc-pair-re |
| 201 | "\\|" c-awk-regexp-one-line-possibly-open-char-list-re | 201 | "\\|" c-awk-regexp-one-line-possibly-open-char-list-re |
| @@ -231,7 +231,7 @@ | |||
| 231 | ;; to foul things up. | 231 | ;; to foul things up. |
| 232 | (defconst c-awk-non-arith-op-bra-re | 232 | (defconst c-awk-non-arith-op-bra-re |
| 233 | "[[\(&=:!><,?;'~|]") | 233 | "[[\(&=:!><,?;'~|]") |
| 234 | ;; Matches an openeing BRAcket ,round or square, or any operator character | 234 | ;; Matches an opening BRAcket, round or square, or any operator character |
| 235 | ;; apart from +,-,/,*,%. For the purpose at hand (detecting a / which is a | 235 | ;; apart from +,-,/,*,%. For the purpose at hand (detecting a / which is a |
| 236 | ;; regexp bracket) these arith ops are unnecessary and a pain, because of "++" | 236 | ;; regexp bracket) these arith ops are unnecessary and a pain, because of "++" |
| 237 | ;; and "--". | 237 | ;; and "--". |
| @@ -256,7 +256,7 @@ | |||
| 256 | 256 | ||
| 257 | 257 | ||
| 258 | ;; ACM, 2002/5/29: | 258 | ;; ACM, 2002/5/29: |
| 259 | ;; | 259 | ;; |
| 260 | ;; The next section of code is about determining whether or not an AWK | 260 | ;; The next section of code is about determining whether or not an AWK |
| 261 | ;; statement is complete or not. We use this to indent the following line. | 261 | ;; statement is complete or not. We use this to indent the following line. |
| 262 | ;; The determination is pretty straightforward in C, where a statement ends | 262 | ;; The determination is pretty straightforward in C, where a statement ends |
| @@ -382,7 +382,7 @@ | |||
| 382 | ;; Kludge: If c-backward-syntactic-ws gets stuck at a BOL, it is likely | 382 | ;; Kludge: If c-backward-syntactic-ws gets stuck at a BOL, it is likely |
| 383 | ;; that the previous line contains an unterminated string (without \). In | 383 | ;; that the previous line contains an unterminated string (without \). In |
| 384 | ;; this case, assume that the previous line's c-awk-NL-prop is a $. | 384 | ;; this case, assume that the previous line's c-awk-NL-prop is a $. |
| 385 | ;; | 385 | ;; |
| 386 | ;; POINT MUST BE AT THE START OF A LINE when calling this function. This | 386 | ;; POINT MUST BE AT THE START OF A LINE when calling this function. This |
| 387 | ;; is to ensure that the various backward-comment functions will work | 387 | ;; is to ensure that the various backward-comment functions will work |
| 388 | ;; properly. | 388 | ;; properly. |
| @@ -425,13 +425,13 @@ | |||
| 425 | ;; Calculate and set the value of the c-awk-NL-prop on the immediately | 425 | ;; Calculate and set the value of the c-awk-NL-prop on the immediately |
| 426 | ;; preceding EOL. This may also involve doing the same for several | 426 | ;; preceding EOL. This may also involve doing the same for several |
| 427 | ;; preceding EOLs. | 427 | ;; preceding EOLs. |
| 428 | ;; | 428 | ;; |
| 429 | ;; NOTE that if the property was already set, we return it without | 429 | ;; NOTE that if the property was already set, we return it without |
| 430 | ;; recalculation. (This is by accident rather than design.) | 430 | ;; recalculation. (This is by accident rather than design.) |
| 431 | ;; | 431 | ;; |
| 432 | ;; Return the property which got set (or was already set) on the previous | 432 | ;; Return the property which got set (or was already set) on the previous |
| 433 | ;; line. Return nil if we hit BOB. | 433 | ;; line. Return nil if we hit BOB. |
| 434 | ;; | 434 | ;; |
| 435 | ;; See c-awk-after-if-for-while-condition-p for a description of DO-LIM. | 435 | ;; See c-awk-after-if-for-while-condition-p for a description of DO-LIM. |
| 436 | ;; | 436 | ;; |
| 437 | ;; This function might do hidden buffer changes. | 437 | ;; This function might do hidden buffer changes. |
| @@ -492,7 +492,7 @@ | |||
| 492 | ;; if necessary. (As a special case, the property doesn't get set on an | 492 | ;; if necessary. (As a special case, the property doesn't get set on an |
| 493 | ;; empty line at EOB (there's no position to set the property on), but the | 493 | ;; empty line at EOB (there's no position to set the property on), but the |
| 494 | ;; function returns the property value an EOL would have got.) | 494 | ;; function returns the property value an EOL would have got.) |
| 495 | ;; | 495 | ;; |
| 496 | ;; See c-awk-after-if-for-while-condition-p for a description of DO-LIM. | 496 | ;; See c-awk-after-if-for-while-condition-p for a description of DO-LIM. |
| 497 | ;; | 497 | ;; |
| 498 | ;; This function might do hidden buffer changes. | 498 | ;; This function might do hidden buffer changes. |
| @@ -566,7 +566,7 @@ | |||
| 566 | ;; this, a new newline inserted after an old newline (e.g. by C-j) would | 566 | ;; this, a new newline inserted after an old newline (e.g. by C-j) would |
| 567 | ;; inherit any c-awk-NL-prop from the old newline. This would be a Bad | 567 | ;; inherit any c-awk-NL-prop from the old newline. This would be a Bad |
| 568 | ;; Thing. This function's action is required by c-put-char-property. | 568 | ;; Thing. This function's action is required by c-put-char-property. |
| 569 | (if (and (boundp 'text-property-default-nonsticky) ; doesn't exist in Xemacs | 569 | (if (and (boundp 'text-property-default-nonsticky) ; doesn't exist in XEmacs |
| 570 | (not (assoc 'c-awk-NL-prop text-property-default-nonsticky))) | 570 | (not (assoc 'c-awk-NL-prop text-property-default-nonsticky))) |
| 571 | (setq text-property-default-nonsticky | 571 | (setq text-property-default-nonsticky |
| 572 | (cons '(c-awk-NL-prop . t) text-property-default-nonsticky)))) | 572 | (cons '(c-awk-NL-prop . t) text-property-default-nonsticky)))) |
| @@ -611,7 +611,7 @@ | |||
| 611 | ;; Go back to the start of the (apparent) current line (or the start of the | 611 | ;; Go back to the start of the (apparent) current line (or the start of the |
| 612 | ;; line containing POS), returning the buffer position of that point. I.e., | 612 | ;; line containing POS), returning the buffer position of that point. I.e., |
| 613 | ;; go back to the last line which doesn't have an escaped EOL before it. | 613 | ;; go back to the last line which doesn't have an escaped EOL before it. |
| 614 | ;; | 614 | ;; |
| 615 | ;; This is guaranteed to be "safe" for syntactic analysis, i.e. outwith any | 615 | ;; This is guaranteed to be "safe" for syntactic analysis, i.e. outwith any |
| 616 | ;; comment, string or regexp. IT MAY WELL BE that this function should not be | 616 | ;; comment, string or regexp. IT MAY WELL BE that this function should not be |
| 617 | ;; executed on a narrowed buffer. | 617 | ;; executed on a narrowed buffer. |
| @@ -718,7 +718,7 @@ | |||
| 718 | ;; This function does hidden buffer changes. | 718 | ;; This function does hidden buffer changes. |
| 719 | (let ((/point (point))) | 719 | (let ((/point (point))) |
| 720 | (goto-char anchor) | 720 | (goto-char anchor) |
| 721 | ;; Analyse the line to find out what the / is. | 721 | ;; Analyze the line to find out what the / is. |
| 722 | (if (if anchor-state-/div | 722 | (if (if anchor-state-/div |
| 723 | (not (search-forward-regexp c-awk-regexp-sign-re (1+ /point) t)) | 723 | (not (search-forward-regexp c-awk-regexp-sign-re (1+ /point) t)) |
| 724 | (search-forward-regexp c-awk-div-sign-re (1+ /point) t)) | 724 | (search-forward-regexp c-awk-div-sign-re (1+ /point) t)) |
| @@ -776,7 +776,7 @@ | |||
| 776 | (setq anchor (point)) | 776 | (setq anchor (point)) |
| 777 | (search-forward-regexp c-awk-harmless-string*-here-re nil t) | 777 | (search-forward-regexp c-awk-harmless-string*-here-re nil t) |
| 778 | ;; We are now looking at either a " or a /. | 778 | ;; We are now looking at either a " or a /. |
| 779 | ;; Do our thing on the string, regexp or divsion sign. | 779 | ;; Do our thing on the string, regexp or division sign. |
| 780 | (setq anchor-state-/div | 780 | (setq anchor-state-/div |
| 781 | (if (looking-at "_?\"") | 781 | (if (looking-at "_?\"") |
| 782 | (c-awk-syntax-tablify-string) | 782 | (c-awk-syntax-tablify-string) |
| @@ -823,14 +823,14 @@ | |||
| 823 | ;; Don't overlook the possibility of the buffer change being the "recapturing" | 823 | ;; Don't overlook the possibility of the buffer change being the "recapturing" |
| 824 | ;; of a previously escaped newline. | 824 | ;; of a previously escaped newline. |
| 825 | 825 | ||
| 826 | ;; ACM 2008-02-05: | 826 | ;; ACM 2008-02-05: |
| 827 | (defun c-awk-extend-and-syntax-tablify-region (beg end old-len) | 827 | (defun c-awk-extend-and-syntax-tablify-region (beg end old-len) |
| 828 | ;; Expand the region (BEG END) as needed to (c-new-BEG c-new-END) then put | 828 | ;; Expand the region (BEG END) as needed to (c-new-BEG c-new-END) then put |
| 829 | ;; `syntax-table' properties on this region. | 829 | ;; `syntax-table' properties on this region. |
| 830 | ;; | 830 | ;; |
| 831 | ;; This function is called from an after-change function, BEG END and | 831 | ;; This function is called from an after-change function, BEG END and |
| 832 | ;; OLD-LEN being the standard parameters. | 832 | ;; OLD-LEN being the standard parameters. |
| 833 | ;; | 833 | ;; |
| 834 | ;; Point is undefined both before and after this function call, the buffer | 834 | ;; Point is undefined both before and after this function call, the buffer |
| 835 | ;; has been widened, and match-data saved. The return value is ignored. | 835 | ;; has been widened, and match-data saved. The return value is ignored. |
| 836 | ;; | 836 | ;; |
| @@ -847,8 +847,8 @@ | |||
| 847 | 847 | ||
| 848 | ;; Awk regexps written with help from Peter Galbraith | 848 | ;; Awk regexps written with help from Peter Galbraith |
| 849 | ;; <galbraith@mixing.qc.dfo.ca>. | 849 | ;; <galbraith@mixing.qc.dfo.ca>. |
| 850 | ;; Take GNU Emacs's 'words out of the following regexp-opts. They dont work | 850 | ;; Take GNU Emacs's 'words out of the following regexp-opts. They don't work |
| 851 | ;; in Xemacs 21.4.4. acm 2002/9/19. | 851 | ;; in XEmacs 21.4.4. acm 2002/9/19. |
| 852 | (defconst awk-font-lock-keywords | 852 | (defconst awk-font-lock-keywords |
| 853 | (eval-when-compile | 853 | (eval-when-compile |
| 854 | (list | 854 | (list |
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el index e59fdc16af7..1eaf8910d14 100644 --- a/lisp/progmodes/cc-cmds.el +++ b/lisp/progmodes/cc-cmds.el | |||
| @@ -1042,7 +1042,7 @@ reindented unless `c-syntactic-indentation' is nil. | |||
| 1042 | (setcar (car elem) 'label)) | 1042 | (setcar (car elem) 'label)) |
| 1043 | (setq elem (cdr elem))) | 1043 | (setq elem (cdr elem))) |
| 1044 | ;; some language elements can only be determined by checking | 1044 | ;; some language elements can only be determined by checking |
| 1045 | ;; the following line. Lets first look for ones that can be | 1045 | ;; the following line. Let's first look for ones that can be |
| 1046 | ;; found when looking on the line with the colon | 1046 | ;; found when looking on the line with the colon |
| 1047 | (setq newlines | 1047 | (setq newlines |
| 1048 | (and c-auto-newline | 1048 | (and c-auto-newline |
| @@ -2178,7 +2178,7 @@ function does not require the declaration to contain a brace block." | |||
| 2178 | (end (1- (cdr range))) | 2178 | (end (1- (cdr range))) |
| 2179 | (here-filler ; matches WS and escaped newlines at point. | 2179 | (here-filler ; matches WS and escaped newlines at point. |
| 2180 | "\\=\\([ \t\n\r\f]\\|\\\\[\n\r]\\)*") | 2180 | "\\=\\([ \t\n\r\f]\\|\\\\[\n\r]\\)*") |
| 2181 | ;; Enhance paragraph-start and paragraph-separate also to recognise | 2181 | ;; Enhance paragraph-start and paragraph-separate also to recognize |
| 2182 | ;; blank lines terminated by escaped EOLs. IT MAY WELL BE that | 2182 | ;; blank lines terminated by escaped EOLs. IT MAY WELL BE that |
| 2183 | ;; these values should be customizable user options, or something. | 2183 | ;; these values should be customizable user options, or something. |
| 2184 | (paragraph-start c-string-par-start) | 2184 | (paragraph-start c-string-par-start) |
| @@ -2234,7 +2234,7 @@ function does not require the declaration to contain a brace block." | |||
| 2234 | (save-match-data | 2234 | (save-match-data |
| 2235 | (let* ((here (point)) | 2235 | (let* ((here (point)) |
| 2236 | last | 2236 | last |
| 2237 | ;; Enhance paragraph-start and paragraph-separate to recognise | 2237 | ;; Enhance paragraph-start and paragraph-separate to recognize |
| 2238 | ;; blank lines terminated by escaped EOLs. | 2238 | ;; blank lines terminated by escaped EOLs. |
| 2239 | (paragraph-start c-string-par-start) | 2239 | (paragraph-start c-string-par-start) |
| 2240 | (paragraph-separate c-string-par-separate) | 2240 | (paragraph-separate c-string-par-separate) |
| @@ -2969,7 +2969,7 @@ A prefix argument acts as a repeat count. With a negative argument, | |||
| 2969 | move backward across a preprocessor conditional. | 2969 | move backward across a preprocessor conditional. |
| 2970 | 2970 | ||
| 2971 | If there aren't enough conditionals after \(or before) point, an | 2971 | If there aren't enough conditionals after \(or before) point, an |
| 2972 | error is signalled. | 2972 | error is signaled. |
| 2973 | 2973 | ||
| 2974 | \"#elif\" is treated like \"#else\" followed by \"#if\", except that | 2974 | \"#elif\" is treated like \"#else\" followed by \"#if\", except that |
| 2975 | the nesting level isn't changed when tracking subconditionals. | 2975 | the nesting level isn't changed when tracking subconditionals. |
| @@ -4094,7 +4094,7 @@ command to conveniently insert and align the necessary backslashes." | |||
| 4094 | ; (or (<= (- (cdr c-lit-limits) 2) (point)) | 4094 | ; (or (<= (- (cdr c-lit-limits) 2) (point)) |
| 4095 | ; 2010-10-17 Construct removed. | 4095 | ; 2010-10-17 Construct removed. |
| 4096 | ; (or (< (- (cdr c-lit-limits) 2) (point)) | 4096 | ; (or (< (- (cdr c-lit-limits) 2) (point)) |
| 4097 | (and | 4097 | (and |
| 4098 | (search-forward-regexp | 4098 | (search-forward-regexp |
| 4099 | (concat "\\=[ \t]*\\(" c-current-comment-prefix "\\)") | 4099 | (concat "\\=[ \t]*\\(" c-current-comment-prefix "\\)") |
| 4100 | (- (cdr c-lit-limits) 2) t) | 4100 | (- (cdr c-lit-limits) 2) t) |
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index 8632807f2b8..c91fe13543a 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el | |||
| @@ -555,7 +555,7 @@ certain situations." | |||
| 555 | `(c-forward-sexp ,(if (numberp count) (- count) `(- ,count)))) | 555 | `(c-forward-sexp ,(if (numberp count) (- count) `(- ,count)))) |
| 556 | 556 | ||
| 557 | (defmacro c-safe-scan-lists (from count depth &optional limit) | 557 | (defmacro c-safe-scan-lists (from count depth &optional limit) |
| 558 | "Like `scan-lists' but returns nil instead of signalling errors | 558 | "Like `scan-lists' but returns nil instead of signaling errors |
| 559 | for unbalanced parens. | 559 | for unbalanced parens. |
| 560 | 560 | ||
| 561 | A limit for the search may be given. FROM is assumed to be on the | 561 | A limit for the search may be given. FROM is assumed to be on the |
| @@ -760,7 +760,7 @@ be after it." | |||
| 760 | ;; non-nil if point (or the optional parameter POS) is at a VS, nil otherwise. | 760 | ;; non-nil if point (or the optional parameter POS) is at a VS, nil otherwise. |
| 761 | ;; | 761 | ;; |
| 762 | ;; The language specific function might well do extensive analysis of the | 762 | ;; The language specific function might well do extensive analysis of the |
| 763 | ;; source text, and may use a cacheing scheme to speed up repeated calls. | 763 | ;; source text, and may use a caching scheme to speed up repeated calls. |
| 764 | ;; | 764 | ;; |
| 765 | ;; The "virtual semicolon" lies just after the last non-ws token on the line. | 765 | ;; The "virtual semicolon" lies just after the last non-ws token on the line. |
| 766 | ;; Like POINT, it is considered to lie between two characters. For example, | 766 | ;; Like POINT, it is considered to lie between two characters. For example, |
| @@ -774,7 +774,7 @@ be after it." | |||
| 774 | ;; In addition to `c-at-vsemi-p-fn', a mode may need to supply a function for | 774 | ;; In addition to `c-at-vsemi-p-fn', a mode may need to supply a function for |
| 775 | ;; `c-vsemi-status-unknown-p-fn'. The macro `c-vsemi-status-unknown-p' is a | 775 | ;; `c-vsemi-status-unknown-p-fn'. The macro `c-vsemi-status-unknown-p' is a |
| 776 | ;; rather recondite kludge. It exists because the function | 776 | ;; rather recondite kludge. It exists because the function |
| 777 | ;; `c-beginning-of-statement-1' sometimes tests for VSs as an optimisation, | 777 | ;; `c-beginning-of-statement-1' sometimes tests for VSs as an optimization, |
| 778 | ;; but `c-at-vsemi-p' might well need to call `c-beginning-of-statement-1' in | 778 | ;; but `c-at-vsemi-p' might well need to call `c-beginning-of-statement-1' in |
| 779 | ;; its calculations, thus potentially leading to infinite recursion. | 779 | ;; its calculations, thus potentially leading to infinite recursion. |
| 780 | ;; | 780 | ;; |
| @@ -784,7 +784,7 @@ be after it." | |||
| 784 | ;; `c-beginning-of-statement-1'. `c-vsemi-status-unknown-p' may not itself | 784 | ;; `c-beginning-of-statement-1'. `c-vsemi-status-unknown-p' may not itself |
| 785 | ;; call `c-beginning-of-statement-1'. | 785 | ;; call `c-beginning-of-statement-1'. |
| 786 | ;; | 786 | ;; |
| 787 | ;; The macro `c-vsemi-status-unknown-p' will typically check the cacheing | 787 | ;; The macro `c-vsemi-status-unknown-p' will typically check the caching |
| 788 | ;; scheme used by the `c-at-vsemi-p-fn', hence the name - the status is | 788 | ;; scheme used by the `c-at-vsemi-p-fn', hence the name - the status is |
| 789 | ;; "unknown" if there is no cache entry current for the line. | 789 | ;; "unknown" if there is no cache entry current for the line. |
| 790 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 790 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| @@ -1249,7 +1249,7 @@ been put there by c-put-char-property. POINT remains unchanged." | |||
| 1249 | ;; which introduces a CPP construct and every EOL (or EOB, or character | 1249 | ;; which introduces a CPP construct and every EOL (or EOB, or character |
| 1250 | ;; preceding //, etc.) which terminates it. We can instantly "comment | 1250 | ;; preceding //, etc.) which terminates it. We can instantly "comment |
| 1251 | ;; out" all CPP constructs by giving `c-cpp-delimiter' a syntax-table | 1251 | ;; out" all CPP constructs by giving `c-cpp-delimiter' a syntax-table |
| 1252 | ;; propery '(14) (generic comment delimiter). | 1252 | ;; property '(14) (generic comment delimiter). |
| 1253 | (defmacro c-set-cpp-delimiters (beg end) | 1253 | (defmacro c-set-cpp-delimiters (beg end) |
| 1254 | ;; This macro does a hidden buffer change. | 1254 | ;; This macro does a hidden buffer change. |
| 1255 | `(progn | 1255 | `(progn |
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index ea0a8f2d3b3..5ec0ab04f7f 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -988,7 +988,7 @@ comment at the start of cc-engine.el for more info." | |||
| 988 | ;; Just gone back over an ordinary symbol of some sort? | 988 | ;; Just gone back over an ordinary symbol of some sort? |
| 989 | (t (c-crosses-statement-barrier-p | 989 | (t (c-crosses-statement-barrier-p |
| 990 | (point) maybe-after-boundary-pos)))) | 990 | (point) maybe-after-boundary-pos)))) |
| 991 | 991 | ||
| 992 | (when boundary-pos | 992 | (when boundary-pos |
| 993 | (setq pptok ptok | 993 | (setq pptok ptok |
| 994 | ptok tok | 994 | ptok tok |
| @@ -1065,7 +1065,7 @@ comment at the start of cc-engine.el for more info." | |||
| 1065 | pos tok) ; always non-nil | 1065 | pos tok) ; always non-nil |
| 1066 | ) ; end of (catch loop ....) | 1066 | ) ; end of (catch loop ....) |
| 1067 | ) ; end of sexp-at-a-time (while ....) | 1067 | ) ; end of sexp-at-a-time (while ....) |
| 1068 | 1068 | ||
| 1069 | ;; If the stack isn't empty there might be errors to report. | 1069 | ;; If the stack isn't empty there might be errors to report. |
| 1070 | (while stack | 1070 | (while stack |
| 1071 | (if (and (vectorp saved-pos) (eq (length saved-pos) 3)) | 1071 | (if (and (vectorp saved-pos) (eq (length saved-pos) 3)) |
| @@ -1795,7 +1795,7 @@ comment at the start of cc-engine.el for more info." | |||
| 1795 | rung-is-marked simple-ws-beg cmt-skip-pos) | 1795 | rung-is-marked simple-ws-beg cmt-skip-pos) |
| 1796 | 1796 | ||
| 1797 | ;; Skip simple horizontal ws and do a quick check on the preceding | 1797 | ;; Skip simple horizontal ws and do a quick check on the preceding |
| 1798 | ;; character to see if it's anying that can't end syntactic ws, so we can | 1798 | ;; character to see if it's anything that can't end syntactic ws, so we can |
| 1799 | ;; bail out early in the majority of cases when there just are a few ws | 1799 | ;; bail out early in the majority of cases when there just are a few ws |
| 1800 | ;; chars. Newlines are complicated in the backward direction, so we can't | 1800 | ;; chars. Newlines are complicated in the backward direction, so we can't |
| 1801 | ;; skip over them. | 1801 | ;; skip over them. |
| @@ -2032,7 +2032,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2032 | (defconst c-state-cache-too-far 5000) | 2032 | (defconst c-state-cache-too-far 5000) |
| 2033 | ;; A maximum comfortable scanning distance, e.g. between | 2033 | ;; A maximum comfortable scanning distance, e.g. between |
| 2034 | ;; `c-state-cache-good-pos' and "HERE" (where we call c-parse-state). When | 2034 | ;; `c-state-cache-good-pos' and "HERE" (where we call c-parse-state). When |
| 2035 | ;; this distance is exceeded, we take "emergency meausures", e.g. by clearing | 2035 | ;; this distance is exceeded, we take "emergency measures", e.g. by clearing |
| 2036 | ;; the cache and starting again from point-min or a beginning of defun. This | 2036 | ;; the cache and starting again from point-min or a beginning of defun. This |
| 2037 | ;; value can be tuned for efficiency or set to a lower value for testing. | 2037 | ;; value can be tuned for efficiency or set to a lower value for testing. |
| 2038 | 2038 | ||
| @@ -2302,7 +2302,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2302 | ;; `c-parse-state', or nil. | 2302 | ;; `c-parse-state', or nil. |
| 2303 | 2303 | ||
| 2304 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 2304 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 2305 | ;; Defuns which analyse the buffer, yet don't change `c-state-cache'. | 2305 | ;; Defuns which analyze the buffer, yet don't change `c-state-cache'. |
| 2306 | (defun c-get-fallback-scan-pos (here) | 2306 | (defun c-get-fallback-scan-pos (here) |
| 2307 | ;; Return a start position for building `c-state-cache' from | 2307 | ;; Return a start position for building `c-state-cache' from |
| 2308 | ;; scratch. This will be at the top level, 2 defuns back. | 2308 | ;; scratch. This will be at the top level, 2 defuns back. |
| @@ -2331,7 +2331,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2331 | ;; | 2331 | ;; |
| 2332 | ;; If there aren't enough opening paren/brace/brackets, return the position | 2332 | ;; If there aren't enough opening paren/brace/brackets, return the position |
| 2333 | ;; of the outermost one found, or HERE- if there are none. If there are no | 2333 | ;; of the outermost one found, or HERE- if there are none. If there are no |
| 2334 | ;; closeing p/b/bs between HERE+ and TOP, return HERE-. HERE-/+ and TOP | 2334 | ;; closing p/b/bs between HERE+ and TOP, return HERE-. HERE-/+ and TOP |
| 2335 | ;; must not be inside literals. Only the accessible portion of the buffer | 2335 | ;; must not be inside literals. Only the accessible portion of the buffer |
| 2336 | ;; will be scanned. | 2336 | ;; will be scanned. |
| 2337 | 2337 | ||
| @@ -2364,7 +2364,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2364 | 2364 | ||
| 2365 | (defun c-parse-state-get-strategy (here good-pos) | 2365 | (defun c-parse-state-get-strategy (here good-pos) |
| 2366 | ;; Determine the scanning strategy for adjusting `c-parse-state', attempting | 2366 | ;; Determine the scanning strategy for adjusting `c-parse-state', attempting |
| 2367 | ;; to minimise the amount of scanning. HERE is the pertinent position in | 2367 | ;; to minimize the amount of scanning. HERE is the pertinent position in |
| 2368 | ;; the buffer, GOOD-POS is a position where `c-state-cache' (possibly with | 2368 | ;; the buffer, GOOD-POS is a position where `c-state-cache' (possibly with |
| 2369 | ;; its head trimmed) is known to be good, or nil if there is no such | 2369 | ;; its head trimmed) is known to be good, or nil if there is no such |
| 2370 | ;; position. | 2370 | ;; position. |
| @@ -2548,7 +2548,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2548 | c-state-cache))) | 2548 | c-state-cache))) |
| 2549 | ;; N.B. This defsubst codes one method for the simple, normal case, | 2549 | ;; N.B. This defsubst codes one method for the simple, normal case, |
| 2550 | ;; and a more sophisticated, slower way for the general case. Don't | 2550 | ;; and a more sophisticated, slower way for the general case. Don't |
| 2551 | ;; eliminate this defsubst - it's a speed optimisation. | 2551 | ;; eliminate this defsubst - it's a speed optimization. |
| 2552 | (c-append-lower-brace-pair-to-state-cache (1- bra+1))))) | 2552 | (c-append-lower-brace-pair-to-state-cache (1- bra+1))))) |
| 2553 | 2553 | ||
| 2554 | (defun c-append-to-state-cache (from) | 2554 | (defun c-append-to-state-cache (from) |
| @@ -2788,7 +2788,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2788 | ;; | 2788 | ;; |
| 2789 | ;; This function must only be called only when (> `c-state-cache-good-pos' | 2789 | ;; This function must only be called only when (> `c-state-cache-good-pos' |
| 2790 | ;; HERE). Usually the gap between CACHE-POS and HERE is large. It is thus | 2790 | ;; HERE). Usually the gap between CACHE-POS and HERE is large. It is thus |
| 2791 | ;; optimised to eliminate (or minimise) scanning between these two | 2791 | ;; optimized to eliminate (or minimize) scanning between these two |
| 2792 | ;; positions. | 2792 | ;; positions. |
| 2793 | ;; | 2793 | ;; |
| 2794 | ;; Return a three element list (GOOD-POS SCAN-BACK-POS FWD-FLAG), where: | 2794 | ;; Return a three element list (GOOD-POS SCAN-BACK-POS FWD-FLAG), where: |
| @@ -2820,7 +2820,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2820 | ; or `here' itself. | 2820 | ; or `here' itself. |
| 2821 | here- here+ ; start/end of macro around HERE, or HERE | 2821 | here- here+ ; start/end of macro around HERE, or HERE |
| 2822 | (here-bol (c-point 'bol here)) | 2822 | (here-bol (c-point 'bol here)) |
| 2823 | (too-far-back (max (- here c-state-cache-too-far) 1))) | 2823 | (too-far-back (max (- here c-state-cache-too-far) (point-min)))) |
| 2824 | 2824 | ||
| 2825 | ;; Remove completely irrelevant entries from `c-state-cache'. | 2825 | ;; Remove completely irrelevant entries from `c-state-cache'. |
| 2826 | (while (and c-state-cache | 2826 | (while (and c-state-cache |
| @@ -2964,9 +2964,9 @@ comment at the start of cc-engine.el for more info." | |||
| 2964 | c-state-cache-good-pos nil | 2964 | c-state-cache-good-pos nil |
| 2965 | c-state-min-scan-pos nil) | 2965 | c-state-min-scan-pos nil) |
| 2966 | 2966 | ||
| 2967 | ;;; Truncate `c-state-cache' and set `c-state-cache-good-pos' to a value below | 2967 | ;; Truncate `c-state-cache' and set `c-state-cache-good-pos' to a value |
| 2968 | ;;; `here'. To maintain its consistency, we may need to insert a new brace | 2968 | ;; below `here'. To maintain its consistency, we may need to insert a new |
| 2969 | ;;; pair. | 2969 | ;; brace pair. |
| 2970 | (let ((here-bol (c-point 'bol here)) | 2970 | (let ((here-bol (c-point 'bol here)) |
| 2971 | too-high-pa ; recorded {/(/[ next above here, or nil. | 2971 | too-high-pa ; recorded {/(/[ next above here, or nil. |
| 2972 | dropped-cons ; was the last removed element a brace pair? | 2972 | dropped-cons ; was the last removed element a brace pair? |
| @@ -4051,7 +4051,7 @@ comment at the start of cc-engine.el for more info." | |||
| 4051 | ;; a relevant match. | 4051 | ;; a relevant match. |
| 4052 | (goto-char pos) | 4052 | (goto-char pos) |
| 4053 | nil)))))) | 4053 | nil)))))) |
| 4054 | 4054 | ||
| 4055 | (> (point) | 4055 | (> (point) |
| 4056 | (progn | 4056 | (progn |
| 4057 | ;; Skip syntactic ws afterwards so that we don't stop at the | 4057 | ;; Skip syntactic ws afterwards so that we don't stop at the |
| @@ -4219,9 +4219,9 @@ comment at the start of cc-engine.el for more info." | |||
| 4219 | ;; complicated anyway. In this case, lim is only used to detect | 4219 | ;; complicated anyway. In this case, lim is only used to detect |
| 4220 | ;; cpp directives. | 4220 | ;; cpp directives. |
| 4221 | ;; | 4221 | ;; |
| 4222 | ;; Note that there is a bug in Xemacs's buffer-syntactic-context when used in | 4222 | ;; Note that there is a bug in XEmacs's buffer-syntactic-context when used in |
| 4223 | ;; conjunction with syntax-table-properties. The bug is present in, e.g., | 4223 | ;; conjunction with syntax-table-properties. The bug is present in, e.g., |
| 4224 | ;; Xemacs 21.4.4. It manifested itself thus: | 4224 | ;; XEmacs 21.4.4. It manifested itself thus: |
| 4225 | ;; | 4225 | ;; |
| 4226 | ;; Starting with an empty AWK Mode buffer, type | 4226 | ;; Starting with an empty AWK Mode buffer, type |
| 4227 | ;; /regexp/ {<C-j> | 4227 | ;; /regexp/ {<C-j> |
| @@ -4233,9 +4233,9 @@ comment at the start of cc-engine.el for more info." | |||
| 4233 | ;; fails to take account of the change of the s-t property on the opening / to | 4233 | ;; fails to take account of the change of the s-t property on the opening / to |
| 4234 | ;; "string", and reports that the { is within a string started by the second /. | 4234 | ;; "string", and reports that the { is within a string started by the second /. |
| 4235 | ;; | 4235 | ;; |
| 4236 | ;; The workaround for this is for the AWK Mode initialisation to switch the | 4236 | ;; The workaround for this is for the AWK Mode initialization to switch the |
| 4237 | ;; defalias for c-in-literal to c-slow-in-literal. This will slow down other | 4237 | ;; defalias for c-in-literal to c-slow-in-literal. This will slow down other |
| 4238 | ;; cc-modes in Xemacs whenever an awk-buffer has been initialised. | 4238 | ;; cc-modes in XEmacs whenever an awk-buffer has been initialized. |
| 4239 | ;; | 4239 | ;; |
| 4240 | ;; (Alan Mackenzie, 2003/4/30). | 4240 | ;; (Alan Mackenzie, 2003/4/30). |
| 4241 | 4241 | ||
| @@ -4904,7 +4904,7 @@ comment at the start of cc-engine.el for more info." | |||
| 4904 | (setq cfd-prop-match nil)) | 4904 | (setq cfd-prop-match nil)) |
| 4905 | 4905 | ||
| 4906 | (when (/= cfd-macro-end 0) | 4906 | (when (/= cfd-macro-end 0) |
| 4907 | ;; Restore limits if we did macro narrowment above. | 4907 | ;; Restore limits if we did macro narrowing above. |
| 4908 | (narrow-to-region (point-min) cfd-buffer-end))) | 4908 | (narrow-to-region (point-min) cfd-buffer-end))) |
| 4909 | 4909 | ||
| 4910 | (goto-char cfd-continue-pos) | 4910 | (goto-char cfd-continue-pos) |
| @@ -5052,7 +5052,7 @@ comment at the start of cc-engine.el for more info." | |||
| 5052 | ;; The strategy now (2010-01) adopted is to mark and unmark < and | 5052 | ;; The strategy now (2010-01) adopted is to mark and unmark < and |
| 5053 | ;; > IN MATCHING PAIRS ONLY. [Previously, they were marked | 5053 | ;; > IN MATCHING PAIRS ONLY. [Previously, they were marked |
| 5054 | ;; individually when their context so indicated. This gave rise to | 5054 | ;; individually when their context so indicated. This gave rise to |
| 5055 | ;; intractible problems when one of a matching pair was deleted, or | 5055 | ;; intractable problems when one of a matching pair was deleted, or |
| 5056 | ;; pulled into a literal.] | 5056 | ;; pulled into a literal.] |
| 5057 | ;; | 5057 | ;; |
| 5058 | ;; At each buffer change, the syntax-table properties are removed in a | 5058 | ;; At each buffer change, the syntax-table properties are removed in a |
| @@ -5965,7 +5965,7 @@ comment at the start of cc-engine.el for more info." | |||
| 5965 | ;; `*-font-lock-extra-types'); | 5965 | ;; `*-font-lock-extra-types'); |
| 5966 | ;; o - 'prefix if it's a known prefix of a type; | 5966 | ;; o - 'prefix if it's a known prefix of a type; |
| 5967 | ;; o - 'found if it's a type that matches one in `c-found-types'; | 5967 | ;; o - 'found if it's a type that matches one in `c-found-types'; |
| 5968 | ;; o - 'maybe if it's an identfier that might be a type; or | 5968 | ;; o - 'maybe if it's an identifier that might be a type; or |
| 5969 | ;; o - nil if it can't be a type (the point isn't moved then). | 5969 | ;; o - nil if it can't be a type (the point isn't moved then). |
| 5970 | ;; | 5970 | ;; |
| 5971 | ;; The point is assumed to be at the beginning of a token. | 5971 | ;; The point is assumed to be at the beginning of a token. |
| @@ -6277,7 +6277,7 @@ comment at the start of cc-engine.el for more info." | |||
| 6277 | ;; car ^ ^ point | 6277 | ;; car ^ ^ point |
| 6278 | ;; Foo::Foo (int b) : Base (b) {} | 6278 | ;; Foo::Foo (int b) : Base (b) {} |
| 6279 | ;; car ^ ^ point | 6279 | ;; car ^ ^ point |
| 6280 | ;; | 6280 | ;; |
| 6281 | ;; The cdr of the return value is non-nil when a | 6281 | ;; The cdr of the return value is non-nil when a |
| 6282 | ;; `c-typedef-decl-kwds' specifier is found in the declaration. | 6282 | ;; `c-typedef-decl-kwds' specifier is found in the declaration. |
| 6283 | ;; Specifically it is a dotted pair (A . B) where B is t when a | 6283 | ;; Specifically it is a dotted pair (A . B) where B is t when a |
| @@ -6285,7 +6285,7 @@ comment at the start of cc-engine.el for more info." | |||
| 6285 | ;; other `c-typedef-decl-kwds' (e.g. class, struct, enum) | 6285 | ;; other `c-typedef-decl-kwds' (e.g. class, struct, enum) |
| 6286 | ;; specifier is present. I.e., (some of) the declared | 6286 | ;; specifier is present. I.e., (some of) the declared |
| 6287 | ;; identifier(s) are types. | 6287 | ;; identifier(s) are types. |
| 6288 | ;; | 6288 | ;; |
| 6289 | ;; If a cast is parsed: | 6289 | ;; If a cast is parsed: |
| 6290 | ;; | 6290 | ;; |
| 6291 | ;; The point is left at the first token after the closing paren of | 6291 | ;; The point is left at the first token after the closing paren of |
| @@ -7100,7 +7100,7 @@ comment at the start of cc-engine.el for more info." | |||
| 7100 | ;; colon). Currently (2006-03), this applies only to Objective C's | 7100 | ;; colon). Currently (2006-03), this applies only to Objective C's |
| 7101 | ;; keywords "@private", "@protected", and "@public". Returns t. | 7101 | ;; keywords "@private", "@protected", and "@public". Returns t. |
| 7102 | ;; | 7102 | ;; |
| 7103 | ;; One of the things which will NOT be recognised as a label is a bit-field | 7103 | ;; One of the things which will NOT be recognized as a label is a bit-field |
| 7104 | ;; element of a struct, something like "int foo:5". | 7104 | ;; element of a struct, something like "int foo:5". |
| 7105 | ;; | 7105 | ;; |
| 7106 | ;; The end of the label is taken to be just after the colon, or the end of | 7106 | ;; The end of the label is taken to be just after the colon, or the end of |
| @@ -8461,7 +8461,7 @@ comment at the start of cc-engine.el for more info." | |||
| 8461 | nil) | 8461 | nil) |
| 8462 | (t nil)))) | 8462 | (t nil)))) |
| 8463 | (eolp)) | 8463 | (eolp)) |
| 8464 | 8464 | ||
| 8465 | (goto-char pos) | 8465 | (goto-char pos) |
| 8466 | (progn (c-backward-syntactic-ws) | 8466 | (progn (c-backward-syntactic-ws) |
| 8467 | (eq (point) pos)) | 8467 | (eq (point) pos)) |
| @@ -8832,7 +8832,7 @@ comment at the start of cc-engine.el for more info." | |||
| 8832 | ;; CASE B.4: Continued statement with block open. The most | 8832 | ;; CASE B.4: Continued statement with block open. The most |
| 8833 | ;; accurate analysis is perhaps `statement-cont' together with | 8833 | ;; accurate analysis is perhaps `statement-cont' together with |
| 8834 | ;; `block-open' but we play DWIM and use `substatement-open' | 8834 | ;; `block-open' but we play DWIM and use `substatement-open' |
| 8835 | ;; instead. The rationaly is that this typically is a macro | 8835 | ;; instead. The rationale is that this typically is a macro |
| 8836 | ;; followed by a block which makes it very similar to a | 8836 | ;; followed by a block which makes it very similar to a |
| 8837 | ;; statement with a substatement block. | 8837 | ;; statement with a substatement block. |
| 8838 | (t | 8838 | (t |
| @@ -8922,7 +8922,7 @@ comment at the start of cc-engine.el for more info." | |||
| 8922 | ;; FIXME: Should use c-add-stmt-syntax, but it's not yet | 8922 | ;; FIXME: Should use c-add-stmt-syntax, but it's not yet |
| 8923 | ;; template aware. | 8923 | ;; template aware. |
| 8924 | (c-add-syntax 'template-args-cont (point) placeholder)) | 8924 | (c-add-syntax 'template-args-cont (point) placeholder)) |
| 8925 | 8925 | ||
| 8926 | ;; CASE D: continued statement. | 8926 | ;; CASE D: continued statement. |
| 8927 | (t | 8927 | (t |
| 8928 | (c-beginning-of-statement-1 containing-sexp) | 8928 | (c-beginning-of-statement-1 containing-sexp) |
| @@ -9582,7 +9582,7 @@ comment at the start of cc-engine.el for more info." | |||
| 9582 | (c-add-syntax 'inher-cont (c-point 'boi))) | 9582 | (c-add-syntax 'inher-cont (c-point 'boi))) |
| 9583 | 9583 | ||
| 9584 | ;; CASE 5D.5: Continuation of the "expression part" of a | 9584 | ;; CASE 5D.5: Continuation of the "expression part" of a |
| 9585 | ;; top level construct. Or, perhaps, an unrecognised construct. | 9585 | ;; top level construct. Or, perhaps, an unrecognized construct. |
| 9586 | (t | 9586 | (t |
| 9587 | (while (and (setq placeholder (point)) | 9587 | (while (and (setq placeholder (point)) |
| 9588 | (eq (car (c-beginning-of-decl-1 containing-sexp)) | 9588 | (eq (car (c-beginning-of-decl-1 containing-sexp)) |
| @@ -9593,7 +9593,7 @@ comment at the start of cc-engine.el for more info." | |||
| 9593 | (< (point) placeholder))) | 9593 | (< (point) placeholder))) |
| 9594 | (c-add-stmt-syntax | 9594 | (c-add-stmt-syntax |
| 9595 | (cond | 9595 | (cond |
| 9596 | ((eq (point) placeholder) 'statement) ; unrecognised construct | 9596 | ((eq (point) placeholder) 'statement) ; unrecognized construct |
| 9597 | ;; A preceding comma at the top level means that a | 9597 | ;; A preceding comma at the top level means that a |
| 9598 | ;; new variable declaration starts here. Use | 9598 | ;; new variable declaration starts here. Use |
| 9599 | ;; topmost-intro-cont for it, for consistency with | 9599 | ;; topmost-intro-cont for it, for consistency with |
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el index 2028a7c4675..a31de35f3ba 100644 --- a/lisp/progmodes/cc-fonts.el +++ b/lisp/progmodes/cc-fonts.el | |||
| @@ -1040,7 +1040,7 @@ casts and declarations are fontified. Used on level 2 and higher." | |||
| 1040 | ;; Inside the following "condition form", we move forward over the | 1040 | ;; Inside the following "condition form", we move forward over the |
| 1041 | ;; declarator's identifier up as far as any opening bracket (for array | 1041 | ;; declarator's identifier up as far as any opening bracket (for array |
| 1042 | ;; size) or paren (for parameters of function-type) or brace (for | 1042 | ;; size) or paren (for parameters of function-type) or brace (for |
| 1043 | ;; array/struct initialisation) or "=" or terminating delimiter | 1043 | ;; array/struct initialization) or "=" or terminating delimiter |
| 1044 | ;; (e.g. "," or ";" or "}"). | 1044 | ;; (e.g. "," or ";" or "}"). |
| 1045 | (and | 1045 | (and |
| 1046 | pos | 1046 | pos |
| @@ -1103,7 +1103,7 @@ casts and declarations are fontified. Used on level 2 and higher." | |||
| 1103 | (<= (point) limit)) | 1103 | (<= (point) limit)) |
| 1104 | 1104 | ||
| 1105 | ;; Search syntactically to the end of the declarator (";", | 1105 | ;; Search syntactically to the end of the declarator (";", |
| 1106 | ;; ",", a closen paren, eob etc) or to the beginning of an | 1106 | ;; ",", a closing paren, eob etc) or to the beginning of an |
| 1107 | ;; initializer or function prototype ("=" or "\\s\("). | 1107 | ;; initializer or function prototype ("=" or "\\s\("). |
| 1108 | ;; Note that the open paren will match array specs in | 1108 | ;; Note that the open paren will match array specs in |
| 1109 | ;; square brackets, and we treat them as initializers too. | 1109 | ;; square brackets, and we treat them as initializers too. |
| @@ -1122,7 +1122,7 @@ casts and declarations are fontified. Used on level 2 and higher." | |||
| 1122 | (char-after (match-beginning 1)))) | 1122 | (char-after (match-beginning 1)))) |
| 1123 | 1123 | ||
| 1124 | (if types | 1124 | (if types |
| 1125 | ;; Register and fontify the identifer as a type. | 1125 | ;; Register and fontify the identifier as a type. |
| 1126 | (let ((c-promote-possible-types t)) | 1126 | (let ((c-promote-possible-types t)) |
| 1127 | (goto-char id-start) | 1127 | (goto-char id-start) |
| 1128 | (c-forward-type)) | 1128 | (c-forward-type)) |
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index e1fb69c30c8..76dfb3c7a28 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el | |||
| @@ -772,7 +772,7 @@ literal are multiline." | |||
| 772 | "Regexp matching the prefix of a cpp directive in the languages that | 772 | "Regexp matching the prefix of a cpp directive in the languages that |
| 773 | normally use that macro preprocessor. Tested at bol or at boi. | 773 | normally use that macro preprocessor. Tested at bol or at boi. |
| 774 | Assumed to not contain any submatches or \\| operators." | 774 | Assumed to not contain any submatches or \\| operators." |
| 775 | ;; TODO (ACM, 2005-04-01). Amend the following to recognise escaped NLs; | 775 | ;; TODO (ACM, 2005-04-01). Amend the following to recognize escaped NLs; |
| 776 | ;; amend all uses of c-opt-cpp-prefix which count regexp-depth. | 776 | ;; amend all uses of c-opt-cpp-prefix which count regexp-depth. |
| 777 | t "\\s *#\\s *" | 777 | t "\\s *#\\s *" |
| 778 | (java awk) nil) | 778 | (java awk) nil) |
| @@ -1520,7 +1520,7 @@ properly." | |||
| 1520 | ;; end-of-defun-function will be set so that commands like | 1520 | ;; end-of-defun-function will be set so that commands like |
| 1521 | ;; `mark-defun' and `narrow-to-defun' work right. The key sequences | 1521 | ;; `mark-defun' and `narrow-to-defun' work right. The key sequences |
| 1522 | ;; C-M-a and C-M-e are, however, bound directly to the CC Mode | 1522 | ;; C-M-a and C-M-e are, however, bound directly to the CC Mode |
| 1523 | ;; functions, allowing optimisation for large n. | 1523 | ;; functions, allowing optimization for large n. |
| 1524 | (c-lang-defconst beginning-of-defun-function | 1524 | (c-lang-defconst beginning-of-defun-function |
| 1525 | "Function to which beginning-of-defun-function will be set." | 1525 | "Function to which beginning-of-defun-function will be set." |
| 1526 | t 'c-beginning-of-defun | 1526 | t 'c-beginning-of-defun |
| @@ -2530,7 +2530,7 @@ Note that Java specific rules are currently applied to tell this from | |||
| 2530 | "\\.?[0-9]" | 2530 | "\\.?[0-9]" |
| 2531 | 2531 | ||
| 2532 | "\\|" | 2532 | "\\|" |
| 2533 | ;; The nonambiguous operators from `prefix-ops'. | 2533 | ;; The unambiguous operators from `prefix-ops'. |
| 2534 | (c-make-keywords-re nil | 2534 | (c-make-keywords-re nil |
| 2535 | (set-difference nonkeyword-prefix-ops in-or-postfix-ops | 2535 | (set-difference nonkeyword-prefix-ops in-or-postfix-ops |
| 2536 | :test 'string-equal)) | 2536 | :test 'string-equal)) |
| @@ -2681,7 +2681,7 @@ possible for good performance." | |||
| 2681 | pos (match-end 0))) | 2681 | pos (match-end 0))) |
| 2682 | res)))) | 2682 | res)))) |
| 2683 | 2683 | ||
| 2684 | ;; Allow cpp operatios (where applicable). | 2684 | ;; Allow cpp operations (where applicable). |
| 2685 | t (if (c-lang-const c-opt-cpp-prefix) | 2685 | t (if (c-lang-const c-opt-cpp-prefix) |
| 2686 | (set-difference (c-lang-const c-block-prefix-disallowed-chars) | 2686 | (set-difference (c-lang-const c-block-prefix-disallowed-chars) |
| 2687 | '(?#)) | 2687 | '(?#)) |
diff --git a/lisp/progmodes/cc-menus.el b/lisp/progmodes/cc-menus.el index 4e9350de425..942303b1096 100644 --- a/lisp/progmodes/cc-menus.el +++ b/lisp/progmodes/cc-menus.el | |||
| @@ -66,7 +66,7 @@ A sample value might look like: `\\(_P\\|_PROTO\\)'.") | |||
| 66 | (defvar cc-imenu-c++-generic-expression | 66 | (defvar cc-imenu-c++-generic-expression |
| 67 | `( | 67 | `( |
| 68 | ;; Try to match ::operator definitions first. Otherwise `X::operator new ()' | 68 | ;; Try to match ::operator definitions first. Otherwise `X::operator new ()' |
| 69 | ;; will be incorrectly recognised as function `new ()' because the regexps | 69 | ;; will be incorrectly recognized as function `new ()' because the regexps |
| 70 | ;; work by backtracking from the end of the definition. | 70 | ;; work by backtracking from the end of the definition. |
| 71 | (nil | 71 | (nil |
| 72 | ,(concat | 72 | ,(concat |
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index a6bf241f0db..cc5a5236255 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el | |||
| @@ -293,7 +293,7 @@ control). See \"cc-mode.el\" for more info." | |||
| 293 | ;; replaces `fill-paragraph' and does the adaption before calling | 293 | ;; replaces `fill-paragraph' and does the adaption before calling |
| 294 | ;; `fill-paragraph-function', and we have to mask comments etc | 294 | ;; `fill-paragraph-function', and we have to mask comments etc |
| 295 | ;; before that. Also, `c-fill-paragraph' chains on to | 295 | ;; before that. Also, `c-fill-paragraph' chains on to |
| 296 | ;; `fill-paragraph' and the value on `fill-parapgraph-function' to | 296 | ;; `fill-paragraph' and the value on `fill-paragraph-function' to |
| 297 | ;; do the actual filling work. | 297 | ;; do the actual filling work. |
| 298 | (substitute-key-definition 'fill-paragraph 'c-fill-paragraph | 298 | (substitute-key-definition 'fill-paragraph 'c-fill-paragraph |
| 299 | c-mode-base-map global-map) | 299 | c-mode-base-map global-map) |
| @@ -484,7 +484,7 @@ that requires a literal mode spec at compile time." | |||
| 484 | (make-local-variable 'comment-start) | 484 | (make-local-variable 'comment-start) |
| 485 | (make-local-variable 'comment-end) | 485 | (make-local-variable 'comment-end) |
| 486 | (make-local-variable 'comment-start-skip) | 486 | (make-local-variable 'comment-start-skip) |
| 487 | 487 | ||
| 488 | (make-local-variable 'paragraph-start) | 488 | (make-local-variable 'paragraph-start) |
| 489 | (make-local-variable 'paragraph-separate) | 489 | (make-local-variable 'paragraph-separate) |
| 490 | (make-local-variable 'paragraph-ignore-fill-prefix) | 490 | (make-local-variable 'paragraph-ignore-fill-prefix) |
| @@ -505,7 +505,7 @@ that requires a literal mode spec at compile time." | |||
| 505 | ;; doesn't work with filladapt but it's better than nothing. | 505 | ;; doesn't work with filladapt but it's better than nothing. |
| 506 | (set (make-local-variable 'fill-paragraph-function) 'c-fill-paragraph) | 506 | (set (make-local-variable 'fill-paragraph-function) 'c-fill-paragraph) |
| 507 | 507 | ||
| 508 | ;; Initialise the cache of brace pairs, and opening braces/brackets/parens. | 508 | ;; Initialize the cache of brace pairs, and opening braces/brackets/parens. |
| 509 | (c-state-cache-init) | 509 | (c-state-cache-init) |
| 510 | 510 | ||
| 511 | (when (or c-recognize-<>-arglists | 511 | (when (or c-recognize-<>-arglists |
| @@ -587,7 +587,7 @@ that requires a literal mode spec at compile time." | |||
| 587 | (add-hook 'after-change-functions 'c-after-change nil t) | 587 | (add-hook 'after-change-functions 'c-after-change nil t) |
| 588 | (set (make-local-variable 'font-lock-extend-after-change-region-function) | 588 | (set (make-local-variable 'font-lock-extend-after-change-region-function) |
| 589 | 'c-extend-after-change-region)) ; Currently (2009-05) used by all | 589 | 'c-extend-after-change-region)) ; Currently (2009-05) used by all |
| 590 | ; lanaguages with #define (C, C++,; ObjC), and by AWK. | 590 | ; languages with #define (C, C++,; ObjC), and by AWK. |
| 591 | 591 | ||
| 592 | (defun c-setup-doc-comment-style () | 592 | (defun c-setup-doc-comment-style () |
| 593 | "Initialize the variables that depend on the value of `c-doc-comment-style'." | 593 | "Initialize the variables that depend on the value of `c-doc-comment-style'." |
| @@ -660,7 +660,7 @@ compatible with old code; callers should always specify it." | |||
| 660 | (when (eq (car elt) 'c-file-style) | 660 | (when (eq (car elt) 'c-file-style) |
| 661 | (setq cownt (1+ cownt)))) | 661 | (setq cownt (1+ cownt)))) |
| 662 | cownt)) | 662 | cownt)) |
| 663 | 663 | ||
| 664 | (defun c-before-hack-hook () | 664 | (defun c-before-hack-hook () |
| 665 | "Set the CC Mode style and \"offsets\" when in the buffer's local variables. | 665 | "Set the CC Mode style and \"offsets\" when in the buffer's local variables. |
| 666 | They are set only when, respectively, the pseudo variables | 666 | They are set only when, respectively, the pseudo variables |
| @@ -860,7 +860,7 @@ Note that the style variables are always made local to the buffer." | |||
| 860 | ;; (i) Extend the font lock region to cover all changed preprocessor | 860 | ;; (i) Extend the font lock region to cover all changed preprocessor |
| 861 | ;; regions; it does this by setting the variables `c-new-BEG' and | 861 | ;; regions; it does this by setting the variables `c-new-BEG' and |
| 862 | ;; `c-new-END' to the new boundaries. | 862 | ;; `c-new-END' to the new boundaries. |
| 863 | ;; | 863 | ;; |
| 864 | ;; (ii) "Neutralize" every preprocessor line wholly or partially in the | 864 | ;; (ii) "Neutralize" every preprocessor line wholly or partially in the |
| 865 | ;; extended changed region. "Restore" lines which were CPP lines before the | 865 | ;; extended changed region. "Restore" lines which were CPP lines before the |
| 866 | ;; change and are no longer so; these can be located from the Buffer local | 866 | ;; change and are no longer so; these can be located from the Buffer local |
| @@ -1562,7 +1562,7 @@ Key bindings: | |||
| 1562 | (c-common-init 'awk-mode) | 1562 | (c-common-init 'awk-mode) |
| 1563 | (c-awk-unstick-NL-prop) | 1563 | (c-awk-unstick-NL-prop) |
| 1564 | 1564 | ||
| 1565 | ;; Prevent Xemacs's buffer-syntactic-context being used. See the comment | 1565 | ;; Prevent XEmacs's buffer-syntactic-context being used. See the comment |
| 1566 | ;; in cc-engine.el, just before (defun c-fast-in-literal ... | 1566 | ;; in cc-engine.el, just before (defun c-fast-in-literal ... |
| 1567 | (defalias 'c-in-literal 'c-slow-in-literal) | 1567 | (defalias 'c-in-literal 'c-slow-in-literal) |
| 1568 | 1568 | ||
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el index 24361e3667a..549f94387d2 100644 --- a/lisp/progmodes/cc-vars.el +++ b/lisp/progmodes/cc-vars.el | |||
| @@ -420,7 +420,7 @@ If a LINE-TYPE is missing, then \\[indent-for-comment] indents the comment | |||
| 420 | according to `comment-column'. | 420 | according to `comment-column'. |
| 421 | 421 | ||
| 422 | Note that a non-nil value on `c-indent-comments-syntactically-p' | 422 | Note that a non-nil value on `c-indent-comments-syntactically-p' |
| 423 | overrides this variable, so empty lines are indentented syntactically | 423 | overrides this variable, so empty lines are indented syntactically |
| 424 | in that case, i.e. as if \\[c-indent-command] was used instead." | 424 | in that case, i.e. as if \\[c-indent-command] was used instead." |
| 425 | :type | 425 | :type |
| 426 | (let ((space '(cons :tag "space" | 426 | (let ((space '(cons :tag "space" |
| @@ -963,7 +963,7 @@ this is `c-lineup-ObjC-method-call', which would align it like: | |||
| 963 | [foo blahBlahBlah: fred | 963 | [foo blahBlahBlah: fred |
| 964 | thisIsTooDamnLong: barney | 964 | thisIsTooDamnLong: barney |
| 965 | 965 | ||
| 966 | This behaviour can be overridden by customizing the indentation of | 966 | This behavior can be overridden by customizing the indentation of |
| 967 | `objc-method-call-cont' in the \"objc\" style." | 967 | `objc-method-call-cont' in the \"objc\" style." |
| 968 | :type 'integer | 968 | :type 'integer |
| 969 | :group 'c) | 969 | :group 'c) |
| @@ -1327,7 +1327,7 @@ Here is the current list of valid syntactic element symbols: | |||
| 1327 | statement-case-open -- The first line in a case block starting with brace. | 1327 | statement-case-open -- The first line in a case block starting with brace. |
| 1328 | substatement -- The first line after an if/while/for/do/else. | 1328 | substatement -- The first line after an if/while/for/do/else. |
| 1329 | substatement-open -- The brace that opens a substatement block. | 1329 | substatement-open -- The brace that opens a substatement block. |
| 1330 | substatement-label -- Labelled line after an if/while/for/do/else. | 1330 | substatement-label -- Labeled line after an if/while/for/do/else. |
| 1331 | case-label -- A \"case\" or \"default\" label. | 1331 | case-label -- A \"case\" or \"default\" label. |
| 1332 | access-label -- C++ private/protected/public access label. | 1332 | access-label -- C++ private/protected/public access label. |
| 1333 | label -- Any ordinary label. | 1333 | label -- Any ordinary label. |
| @@ -1625,7 +1625,7 @@ names).")) | |||
| 1625 | (defvar c-macro-with-semi-re nil | 1625 | (defvar c-macro-with-semi-re nil |
| 1626 | ;; Regular expression which matches a (#define'd) symbol whose expansion | 1626 | ;; Regular expression which matches a (#define'd) symbol whose expansion |
| 1627 | ;; ends with a semicolon. | 1627 | ;; ends with a semicolon. |
| 1628 | ;; | 1628 | ;; |
| 1629 | ;; This variable should be set by `c-make-macros-with-semi-re' rather than | 1629 | ;; This variable should be set by `c-make-macros-with-semi-re' rather than |
| 1630 | ;; directly. | 1630 | ;; directly. |
| 1631 | ) | 1631 | ) |
| @@ -1651,7 +1651,7 @@ names).")) | |||
| 1651 | (t (error "c-make-macro-with-semi-re: invalid \ | 1651 | (t (error "c-make-macro-with-semi-re: invalid \ |
| 1652 | c-macro-names-with-semicolon: %s" | 1652 | c-macro-names-with-semicolon: %s" |
| 1653 | c-macro-names-with-semicolon)))))) | 1653 | c-macro-names-with-semicolon)))))) |
| 1654 | 1654 | ||
| 1655 | (defvar c-macro-names-with-semicolon | 1655 | (defvar c-macro-names-with-semicolon |
| 1656 | '("Q_OBJECT" "Q_PROPERTY" "Q_DECLARE" "Q_ENUMS") | 1656 | '("Q_OBJECT" "Q_PROPERTY" "Q_DECLARE" "Q_ENUMS") |
| 1657 | "List of #defined symbols whose expansion ends with a semicolon. | 1657 | "List of #defined symbols whose expansion ends with a semicolon. |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 3dba1af515a..73e990e2755 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -1013,11 +1013,11 @@ POS and RES.") | |||
| 1013 | (setq col (funcall col)) | 1013 | (setq col (funcall col)) |
| 1014 | (and | 1014 | (and |
| 1015 | (setq col (match-string-no-properties col)) | 1015 | (setq col (match-string-no-properties col)) |
| 1016 | (setq col (- (string-to-number col) compilation-first-column))))) | 1016 | (setq col (string-to-number col))))) |
| 1017 | (if (and end-col (functionp end-col)) | 1017 | (if (and end-col (functionp end-col)) |
| 1018 | (setq end-col (funcall end-col)) | 1018 | (setq end-col (funcall end-col)) |
| 1019 | (if (and end-col (setq end-col (match-string-no-properties end-col))) | 1019 | (if (and end-col (setq end-col (match-string-no-properties end-col))) |
| 1020 | (setq end-col (- (string-to-number end-col) compilation-first-column -1)) | 1020 | (setq end-col (- (string-to-number end-col) -1)) |
| 1021 | (if end-line (setq end-col -1)))) | 1021 | (if end-line (setq end-col -1)))) |
| 1022 | (if (consp type) ; not a static type, check what it is. | 1022 | (if (consp type) ; not a static type, check what it is. |
| 1023 | (setq type (or (and (car type) (match-end (car type)) 1) | 1023 | (setq type (or (and (car type) (match-end (car type)) 1) |
| @@ -1037,6 +1037,7 @@ POS and RES.") | |||
| 1037 | "Go to column COL on the current line. | 1037 | "Go to column COL on the current line. |
| 1038 | If SCREEN is non-nil, columns are screen columns, otherwise, they are | 1038 | If SCREEN is non-nil, columns are screen columns, otherwise, they are |
| 1039 | just char-counts." | 1039 | just char-counts." |
| 1040 | (setq col (- col compilation-first-column)) | ||
| 1040 | (if screen | 1041 | (if screen |
| 1041 | (move-to-column (max col 0)) | 1042 | (move-to-column (max col 0)) |
| 1042 | (goto-char (min (+ (line-beginning-position) col) (line-end-position))))) | 1043 | (goto-char (min (+ (line-beginning-position) col) (line-end-position))))) |
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index a79d1a2c064..88193d4d3fb 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -839,7 +839,7 @@ voice); | |||
| 839 | b) Can lineup vertically \"middles\" of rows, like `=' in | 839 | b) Can lineup vertically \"middles\" of rows, like `=' in |
| 840 | a = b; | 840 | a = b; |
| 841 | cc = d; | 841 | cc = d; |
| 842 | c) Can insert spaces where this impoves readability (in one | 842 | c) Can insert spaces where this improves readability (in one |
| 843 | interactive sweep over the buffer); | 843 | interactive sweep over the buffer); |
| 844 | d) Has support for imenu, including: | 844 | d) Has support for imenu, including: |
| 845 | 1) Separate unordered list of \"interesting places\"; | 845 | 1) Separate unordered list of \"interesting places\"; |
| @@ -902,7 +902,7 @@ the settings present before the switch. | |||
| 902 | 9) When doing indentation of control constructs, may correct | 902 | 9) When doing indentation of control constructs, may correct |
| 903 | line-breaks/spacing between elements of the construct. | 903 | line-breaks/spacing between elements of the construct. |
| 904 | 904 | ||
| 905 | 10) Uses a linear-time algorith for indentation of regions (on Emaxen with | 905 | 10) Uses a linear-time algorithm for indentation of regions (on Emaxen with |
| 906 | capable syntax engines). | 906 | capable syntax engines). |
| 907 | 907 | ||
| 908 | 11) Syntax-highlight, indentation, sexp-recognition inside regular expressions. | 908 | 11) Syntax-highlight, indentation, sexp-recognition inside regular expressions. |
| @@ -927,7 +927,7 @@ syntax-parsing routines, and marks them up so that either | |||
| 927 | 927 | ||
| 928 | A1) CPerl may work around these deficiencies (for big chunks, mostly | 928 | A1) CPerl may work around these deficiencies (for big chunks, mostly |
| 929 | PODs and HERE-documents), or | 929 | PODs and HERE-documents), or |
| 930 | A2) On capable Emaxen CPerl will use improved syntax-handlings | 930 | A2) On capable Emaxen CPerl will use improved syntax-handling |
| 931 | which reads mark-up hints directly. | 931 | which reads mark-up hints directly. |
| 932 | 932 | ||
| 933 | The scan in case A2 is much more comprehensive, thus may be slower. | 933 | The scan in case A2 is much more comprehensive, thus may be slower. |
| @@ -1304,7 +1304,7 @@ versions of Emacs." | |||
| 1304 | (get-text-property (point) 'syntax-type)) | 1304 | (get-text-property (point) 'syntax-type)) |
| 1305 | '(here-doc pod))] | 1305 | '(here-doc pod))] |
| 1306 | "----" | 1306 | "----" |
| 1307 | ["CPerl pretty print (exprmntl)" cperl-ps-print | 1307 | ["CPerl pretty print (experimental)" cperl-ps-print |
| 1308 | (fboundp 'ps-extend-face-list)] | 1308 | (fboundp 'ps-extend-face-list)] |
| 1309 | "----" | 1309 | "----" |
| 1310 | ["Syntaxify region" cperl-find-pods-heres-region | 1310 | ["Syntaxify region" cperl-find-pods-heres-region |
| @@ -1512,7 +1512,7 @@ the last)." | |||
| 1512 | (defvar cperl-font-locking nil) | 1512 | (defvar cperl-font-locking nil) |
| 1513 | 1513 | ||
| 1514 | ;; NB as it stands the code in cperl-mode assumes this only has one | 1514 | ;; NB as it stands the code in cperl-mode assumes this only has one |
| 1515 | ;; element. If Xemacs 19 support were dropped, this could all be simplified. | 1515 | ;; element. If XEmacs 19 support were dropped, this could all be simplified. |
| 1516 | (defvar cperl-compilation-error-regexp-alist | 1516 | (defvar cperl-compilation-error-regexp-alist |
| 1517 | ;; This look like a paranoiac regexp: could anybody find a better one? (which WORKS). | 1517 | ;; This look like a paranoiac regexp: could anybody find a better one? (which WORKS). |
| 1518 | '(("^[^\n]* \\(file\\|at\\) \\([^ \t\n]+\\) [^\n]*line \\([0-9]+\\)[\\., \n]" | 1518 | '(("^[^\n]* \\(file\\|at\\) \\([^ \t\n]+\\) [^\n]*line \\([0-9]+\\)[\\., \n]" |
| @@ -2801,7 +2801,7 @@ Will not look before LIM." | |||
| 2801 | (skip-chars-forward " \t") | 2801 | (skip-chars-forward " \t") |
| 2802 | (if (memq (char-after (point)) | 2802 | (if (memq (char-after (point)) |
| 2803 | (append "#\n" nil)) | 2803 | (append "#\n" nil)) |
| 2804 | nil ; Can't use intentation of this line... | 2804 | nil ; Can't use indentation of this line... |
| 2805 | (point))) | 2805 | (point))) |
| 2806 | (skip-chars-forward " \t") | 2806 | (skip-chars-forward " \t") |
| 2807 | (point))) | 2807 | (point))) |
| @@ -4540,7 +4540,7 @@ the sections using `cperl-pod-head-face', `cperl-pod-face', | |||
| 4540 | (forward-char 2)) | 4540 | (forward-char 2)) |
| 4541 | (and (eq (following-char) ?\] ) | 4541 | (and (eq (following-char) ?\] ) |
| 4542 | (forward-char 1))) | 4542 | (forward-char 1))) |
| 4543 | (setq REx-subgr-end qtag) ;EndOf smart-highlighed | 4543 | (setq REx-subgr-end qtag) ;End smart-highlighted |
| 4544 | ;; Apparently, I can't put \] into a charclass | 4544 | ;; Apparently, I can't put \] into a charclass |
| 4545 | ;; in m]]: m][\\\]\]] produces [\\]] | 4545 | ;; in m]]: m][\\\]\]] produces [\\]] |
| 4546 | ;;; POSIX? [:word:] [:^word:] only inside [] | 4546 | ;;; POSIX? [:word:] [:^word:] only inside [] |
| @@ -5793,7 +5793,7 @@ indentation and initial hashes. Behaves usually outside of comment." | |||
| 5793 | ;; "\\|") | 5793 | ;; "\\|") |
| 5794 | '("-[rwxoRWXOezsfdlpSbctugkTBMAC]\\>\\([ \t]+_\\>\\)?" 0 | 5794 | '("-[rwxoRWXOezsfdlpSbctugkTBMAC]\\>\\([ \t]+_\\>\\)?" 0 |
| 5795 | font-lock-function-name-face keep) ; Not very good, triggers at "[a-z]" | 5795 | font-lock-function-name-face keep) ; Not very good, triggers at "[a-z]" |
| 5796 | ;; This highlights declarations and definitions differenty. | 5796 | ;; This highlights declarations and definitions differently. |
| 5797 | ;; We do not try to highlight in the case of attributes: | 5797 | ;; We do not try to highlight in the case of attributes: |
| 5798 | ;; it is already done by `cperl-find-pods-heres' | 5798 | ;; it is already done by `cperl-find-pods-heres' |
| 5799 | (list (concat "\\<sub" | 5799 | (list (concat "\\<sub" |
| @@ -8946,7 +8946,7 @@ do extra unwind via `cperl-unwind-to-safe'." | |||
| 8946 | ;; Called when any modification is made to buffer text. | 8946 | ;; Called when any modification is made to buffer text. |
| 8947 | (defun cperl-after-change-function (beg end old-len) | 8947 | (defun cperl-after-change-function (beg end old-len) |
| 8948 | ;; We should have been informed about changes by `font-lock'. Since it | 8948 | ;; We should have been informed about changes by `font-lock'. Since it |
| 8949 | ;; does not inform as which calls are defered, do it ourselves | 8949 | ;; does not inform as which calls are deferred, do it ourselves |
| 8950 | (if cperl-syntax-done-to | 8950 | (if cperl-syntax-done-to |
| 8951 | (setq cperl-syntax-done-to (min cperl-syntax-done-to beg)))) | 8951 | (setq cperl-syntax-done-to (min cperl-syntax-done-to beg)))) |
| 8952 | 8952 | ||
diff --git a/lisp/progmodes/dcl-mode.el b/lisp/progmodes/dcl-mode.el index b4094914d61..d855861d552 100644 --- a/lisp/progmodes/dcl-mode.el +++ b/lisp/progmodes/dcl-mode.el | |||
| @@ -512,7 +512,7 @@ Variables controlling indentation style and extra features: | |||
| 512 | dcl-block-begin-regexp | 512 | dcl-block-begin-regexp |
| 513 | dcl-block-end-regexp | 513 | dcl-block-end-regexp |
| 514 | Regexps that match command lines that begin and end, respectively, | 514 | Regexps that match command lines that begin and end, respectively, |
| 515 | a block of commmand lines that will be given extra indentation. | 515 | a block of command lines that will be given extra indentation. |
| 516 | Command lines between THEN-ELSE-ENDIF are always indented; these variables | 516 | Command lines between THEN-ELSE-ENDIF are always indented; these variables |
| 517 | make it possible to define other places to indent. | 517 | make it possible to define other places to indent. |
| 518 | Set to nil to disable this feature. | 518 | Set to nil to disable this feature. |
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el index c027b2b7454..d9adff6c8b8 100644 --- a/lisp/progmodes/ebnf2ps.el +++ b/lisp/progmodes/ebnf2ps.el | |||
| @@ -2084,7 +2084,7 @@ special." | |||
| 2084 | "*Specify extra width for arrow shape drawing. | 2084 | "*Specify extra width for arrow shape drawing. |
| 2085 | 2085 | ||
| 2086 | The extra width is used to avoid that the arrowhead and the terminal border | 2086 | The extra width is used to avoid that the arrowhead and the terminal border |
| 2087 | overlap. It depens on `ebnf-arrow-shape' and `ebnf-line-width'." | 2087 | overlap. It depends on `ebnf-arrow-shape' and `ebnf-line-width'." |
| 2088 | :type 'number | 2088 | :type 'number |
| 2089 | :version "22" | 2089 | :version "22" |
| 2090 | :group 'ebnf-shape) | 2090 | :group 'ebnf-shape) |
| @@ -5037,7 +5037,7 @@ killed after process termination." | |||
| 5037 | (when gen-func | 5037 | (when gen-func |
| 5038 | (setq error-msg "EMPTY RULES" | 5038 | (setq error-msg "EMPTY RULES" |
| 5039 | tree (ebnf-eliminate-empty-rules tree)) | 5039 | tree (ebnf-eliminate-empty-rules tree)) |
| 5040 | (setq error-msg "OPTMIZE" | 5040 | (setq error-msg "OPTIMIZE" |
| 5041 | tree (ebnf-optimize tree)) | 5041 | tree (ebnf-optimize tree)) |
| 5042 | (setq error-msg "DIMENSIONS" | 5042 | (setq error-msg "DIMENSIONS" |
| 5043 | tree (ebnf-dimensions tree)) | 5043 | tree (ebnf-dimensions tree)) |
| @@ -6069,7 +6069,7 @@ killed after process termination." | |||
| 6069 | 6069 | ||
| 6070 | 6070 | ||
| 6071 | (defun ebnf-make-terminal1 (name gen-func dim-func) | 6071 | (defun ebnf-make-terminal1 (name gen-func dim-func) |
| 6072 | (vector gen-func ; 0 generatore | 6072 | (vector gen-func ; 0 generator |
| 6073 | 'ignore ; 1 width fun | 6073 | 'ignore ; 1 width fun |
| 6074 | dim-func ; 2 dimension fun | 6074 | dim-func ; 2 dimension fun |
| 6075 | 0.0 ; 3 entry | 6075 | 0.0 ; 3 entry |
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index d321e9c1388..2d0b18f3dae 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -1144,7 +1144,7 @@ error message." | |||
| 1144 | (setq order tag-order)) | 1144 | (setq order tag-order)) |
| 1145 | ;; We throw out on match, so only get here if there were no matches. | 1145 | ;; We throw out on match, so only get here if there were no matches. |
| 1146 | ;; Clear out the markers we use to avoid duplicate matches so they | 1146 | ;; Clear out the markers we use to avoid duplicate matches so they |
| 1147 | ;; don't slow down editting and are immediately available for GC. | 1147 | ;; don't slow down editing and are immediately available for GC. |
| 1148 | (while tag-lines-already-matched | 1148 | (while tag-lines-already-matched |
| 1149 | (set-marker (car tag-lines-already-matched) nil nil) | 1149 | (set-marker (car tag-lines-already-matched) nil nil) |
| 1150 | (setq tag-lines-already-matched (cdr tag-lines-already-matched))) | 1150 | (setq tag-lines-already-matched (cdr tag-lines-already-matched))) |
| @@ -1191,7 +1191,7 @@ error message." | |||
| 1191 | ;; Note: there is a small inefficiency in find-buffer-visiting : | 1191 | ;; Note: there is a small inefficiency in find-buffer-visiting : |
| 1192 | ;; truename is computed even if not needed. Not too sure about this | 1192 | ;; truename is computed even if not needed. Not too sure about this |
| 1193 | ;; but I suspect truename computation accesses the disk. | 1193 | ;; but I suspect truename computation accesses the disk. |
| 1194 | ;; It is maybe a good idea to optimise this find-buffer-visiting. | 1194 | ;; It is maybe a good idea to optimize this find-buffer-visiting. |
| 1195 | ;; An alternative would be to use only get-file-buffer | 1195 | ;; An alternative would be to use only get-file-buffer |
| 1196 | ;; but this looks less "sure" to find the buffer for the file. | 1196 | ;; but this looks less "sure" to find the buffer for the file. |
| 1197 | (while (and (not the-buffer) buffer-search-extensions) | 1197 | (while (and (not the-buffer) buffer-search-extensions) |
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index 007203a8b21..ce04d8b390e 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el | |||
| @@ -1837,7 +1837,7 @@ after indenting." | |||
| 1837 | (and (< (point) pos) | 1837 | (and (< (point) pos) |
| 1838 | (goto-char pos)) | 1838 | (goto-char pos)) |
| 1839 | (if auto-fill-function | 1839 | (if auto-fill-function |
| 1840 | ;; GM NO-UPDATE not honoured, since this calls f90-update-line. | 1840 | ;; GM NO-UPDATE not honored, since this calls f90-update-line. |
| 1841 | (f90-do-auto-fill) | 1841 | (f90-do-auto-fill) |
| 1842 | (or no-update (f90-update-line))) | 1842 | (or no-update (f90-update-line))) |
| 1843 | (set-marker pos nil))) | 1843 | (set-marker pos nil))) |
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index fd3d42685f0..e98ca58f3e0 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el | |||
| @@ -29,7 +29,7 @@ | |||
| 29 | ;; form. For editing Fortran 90 free format source, use `f90-mode' | 29 | ;; form. For editing Fortran 90 free format source, use `f90-mode' |
| 30 | ;; (f90.el). It is meant to support the GNU Fortran language | 30 | ;; (f90.el). It is meant to support the GNU Fortran language |
| 31 | ;; implemented by g77 (its extensions to Fortran77 and | 31 | ;; implemented by g77 (its extensions to Fortran77 and |
| 32 | ;; interpretations, e.g. of blackslash in strings). | 32 | ;; interpretations, e.g. of backslash in strings). |
| 33 | 33 | ||
| 34 | ;;; History: | 34 | ;;; History: |
| 35 | 35 | ||
| @@ -571,7 +571,7 @@ in the Fortran entry in `hs-special-modes-alist'.") | |||
| 571 | ;; An alternative is to match on THEN at a line end, eg: | 571 | ;; An alternative is to match on THEN at a line end, eg: |
| 572 | ;; ".*)[ \t]*then[ \t]*\\($\\|!\\)" | 572 | ;; ".*)[ \t]*then[ \t]*\\($\\|!\\)" |
| 573 | ;; This would also match ELSE branches, though. This does not seem | 573 | ;; This would also match ELSE branches, though. This does not seem |
| 574 | ;; right to me, because then one has neighbouring blocks that are | 574 | ;; right to me, because then one has neighboring blocks that are |
| 575 | ;; not nested in each other. | 575 | ;; not nested in each other. |
| 576 | "\\(if[ \t]*(\\(.*\\|" | 576 | "\\(if[ \t]*(\\(.*\\|" |
| 577 | ".*\n\\([^if]*\\([^i].\\|.[^f]\\|.\\>\\)\\)\\)\\<then\\|" | 577 | ".*\n\\([^if]*\\([^i].\\|.[^f]\\|.\\>\\)\\)\\)\\<then\\|" |
| @@ -1462,7 +1462,7 @@ Return point or nil." | |||
| 1462 | 1462 | ||
| 1463 | (defun fortran-beginning-do () | 1463 | (defun fortran-beginning-do () |
| 1464 | "Search backwards for first unmatched DO [WHILE]. | 1464 | "Search backwards for first unmatched DO [WHILE]. |
| 1465 | Return point or nil. Ignores labelled DO loops (ie DO 10 ... 10 CONTINUE)." | 1465 | Return point or nil. Ignores labeled DO loops (ie DO 10 ... 10 CONTINUE)." |
| 1466 | (let ((case-fold-search t) | 1466 | (let ((case-fold-search t) |
| 1467 | (dostart-re "\\(\\(\\sw\\|\\s_\\)+:[ \t]*\\)?do[ \t]+[^0-9]")) | 1467 | (dostart-re "\\(\\(\\sw\\|\\s_\\)+:[ \t]*\\)?do[ \t]+[^0-9]")) |
| 1468 | (if (save-excursion | 1468 | (if (save-excursion |
| @@ -1482,7 +1482,7 @@ Return point or nil. Ignores labelled DO loops (ie DO 10 ... 10 CONTINUE)." | |||
| 1482 | (skip-chars-forward " \t0-9") | 1482 | (skip-chars-forward " \t0-9") |
| 1483 | (cond ((looking-at dostart-re) | 1483 | (cond ((looking-at dostart-re) |
| 1484 | (setq count (1- count))) | 1484 | (setq count (1- count))) |
| 1485 | ;; Note labelled loop ends not considered. | 1485 | ;; Note labeled loop ends not considered. |
| 1486 | ((looking-at "end[ \t]*do\\b") | 1486 | ((looking-at "end[ \t]*do\\b") |
| 1487 | (setq count (1+ count))))) | 1487 | (setq count (1+ count))))) |
| 1488 | (and (zerop count) | 1488 | (and (zerop count) |
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index e47ba3c92f3..a3ca87ec94a 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | ;;; Credits: | 26 | ;;; Credits: |
| 27 | 27 | ||
| 28 | ;; This file was written by by Nick Roberts following the general design | 28 | ;; This file was written by Nick Roberts following the general design |
| 29 | ;; used in gdb-ui.el for Emacs 22.1 - 23.1. It is currently being developed | 29 | ;; used in gdb-ui.el for Emacs 22.1 - 23.1. It is currently being developed |
| 30 | ;; by Dmitry Dzhus <dima@sphinx.net.ru> as part of the Google Summer | 30 | ;; by Dmitry Dzhus <dima@sphinx.net.ru> as part of the Google Summer |
| 31 | ;; of Code 2009 Project "Emacs GDB/MI migration". | 31 | ;; of Code 2009 Project "Emacs GDB/MI migration". |
| @@ -350,7 +350,7 @@ automatically. | |||
| 350 | 350 | ||
| 351 | This setting is used in non-stop mode only. In all-stop mode, | 351 | This setting is used in non-stop mode only. In all-stop mode, |
| 352 | Emacs always switches to the thread which caused the stop." | 352 | Emacs always switches to the thread which caused the stop." |
| 353 | ;; exited, exited-normally and exited-signalled are not | 353 | ;; exited, exited-normally and exited-signaled are not |
| 354 | ;; thread-specific stop reasons and therefore are not included in | 354 | ;; thread-specific stop reasons and therefore are not included in |
| 355 | ;; this list | 355 | ;; this list |
| 356 | :type '(choice | 356 | :type '(choice |
| @@ -823,7 +823,7 @@ detailed description of this mode. | |||
| 823 | (run-hooks 'gdb-mode-hook)) | 823 | (run-hooks 'gdb-mode-hook)) |
| 824 | 824 | ||
| 825 | (defun gdb-init-1 () | 825 | (defun gdb-init-1 () |
| 826 | ;; (re-)initialise | 826 | ;; (re-)initialize |
| 827 | (setq gdb-selected-frame nil | 827 | (setq gdb-selected-frame nil |
| 828 | gdb-frame-number nil | 828 | gdb-frame-number nil |
| 829 | gdb-thread-number nil | 829 | gdb-thread-number nil |
| @@ -2217,7 +2217,7 @@ Return position where LINE begins." | |||
| 2217 | (defun gdb-mapcar* (function &rest seqs) | 2217 | (defun gdb-mapcar* (function &rest seqs) |
| 2218 | "Apply FUNCTION to each element of SEQS, and make a list of the results. | 2218 | "Apply FUNCTION to each element of SEQS, and make a list of the results. |
| 2219 | If there are several SEQS, FUNCTION is called with that many | 2219 | If there are several SEQS, FUNCTION is called with that many |
| 2220 | arugments, and mapping stops as sson as the shortest list runs | 2220 | arguments, and mapping stops as soon as the shortest list runs |
| 2221 | out." | 2221 | out." |
| 2222 | (let ((shortest (apply #'min (mapcar #'length seqs)))) | 2222 | (let ((shortest (apply #'min (mapcar #'length seqs)))) |
| 2223 | (mapcar (lambda (i) | 2223 | (mapcar (lambda (i) |
| @@ -3428,7 +3428,7 @@ breakpoints buffer." | |||
| 3428 | (error "Not recognized as break/watchpoint line"))))) | 3428 | (error "Not recognized as break/watchpoint line"))))) |
| 3429 | 3429 | ||
| 3430 | 3430 | ||
| 3431 | ;; Frames buffer. This displays a perpetually correct bactrack trace. | 3431 | ;; Frames buffer. This displays a perpetually correct backtrack trace. |
| 3432 | ;; | 3432 | ;; |
| 3433 | (def-gdb-trigger-and-handler | 3433 | (def-gdb-trigger-and-handler |
| 3434 | gdb-invalidate-frames (gdb-current-context-command "-stack-list-frames") | 3434 | gdb-invalidate-frames (gdb-current-context-command "-stack-list-frames") |
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index ff192d5678e..dbffbc266e7 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el | |||
| @@ -339,7 +339,7 @@ See `compilation-error-screen-columns'" | |||
| 339 | "The most recent grep buffer. | 339 | "The most recent grep buffer. |
| 340 | A grep buffer becomes most recent when you select Grep mode in it. | 340 | A grep buffer becomes most recent when you select Grep mode in it. |
| 341 | Notice that using \\[next-error] or \\[compile-goto-error] modifies | 341 | Notice that using \\[next-error] or \\[compile-goto-error] modifies |
| 342 | `complation-last-buffer' rather than `grep-last-buffer'.") | 342 | `compilation-last-buffer' rather than `grep-last-buffer'.") |
| 343 | 343 | ||
| 344 | ;;;###autoload | 344 | ;;;###autoload |
| 345 | (defconst grep-regexp-alist | 345 | (defconst grep-regexp-alist |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 543539421fe..527bc51eef8 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -1168,7 +1168,7 @@ containing the executable being debugged." | |||
| 1168 | ;; appears to indicate a breakpoint. Then we prod the dbx sub-process | 1168 | ;; appears to indicate a breakpoint. Then we prod the dbx sub-process |
| 1169 | ;; to output the information we want with a combination of the | 1169 | ;; to output the information we want with a combination of the |
| 1170 | ;; `printf' and `file' commands as a pseudo marker which we can | 1170 | ;; `printf' and `file' commands as a pseudo marker which we can |
| 1171 | ;; recognise next time through the marker-filter. This would be like | 1171 | ;; recognize next time through the marker-filter. This would be like |
| 1172 | ;; the gdb marker but you can't get the file name without a newline... | 1172 | ;; the gdb marker but you can't get the file name without a newline... |
| 1173 | ;; Note that gud-remove won't work since Irix dbx expects a breakpoint | 1173 | ;; Note that gud-remove won't work since Irix dbx expects a breakpoint |
| 1174 | ;; number rather than a line number etc. Maybe this could be made to | 1174 | ;; number rather than a line number etc. Maybe this could be made to |
| @@ -1689,7 +1689,7 @@ and source-file directory for your debugger." | |||
| 1689 | ;; Run jdb (like this): jdb | 1689 | ;; Run jdb (like this): jdb |
| 1690 | ;; | 1690 | ;; |
| 1691 | ;; type any jdb switches followed by the name of the class you'd like to debug. | 1691 | ;; type any jdb switches followed by the name of the class you'd like to debug. |
| 1692 | ;; Supply a fully qualfied classname (these do not have the ".class" extension) | 1692 | ;; Supply a fully qualified classname (these don't have the ".class" extension) |
| 1693 | ;; for the name of the class to debug (e.g. "COM.the-kind.ddavies.CoolClass"). | 1693 | ;; for the name of the class to debug (e.g. "COM.the-kind.ddavies.CoolClass"). |
| 1694 | ;; See the known problems section below for restrictions when specifying jdb | 1694 | ;; See the known problems section below for restrictions when specifying jdb |
| 1695 | ;; command line switches (search forward for '-classpath'). | 1695 | ;; command line switches (search forward for '-classpath'). |
| @@ -2094,7 +2094,7 @@ extension EXTN. Normally EXTN is given as the regular expression | |||
| 2094 | 2094 | ||
| 2095 | ;; By this point the current directory is all screwed up. Maybe we | 2095 | ;; By this point the current directory is all screwed up. Maybe we |
| 2096 | ;; could fix things and re-invoke gud-common-init, but for now I think | 2096 | ;; could fix things and re-invoke gud-common-init, but for now I think |
| 2097 | ;; issueing the error is good enough. | 2097 | ;; issuing the error is good enough. |
| 2098 | (if user-error | 2098 | (if user-error |
| 2099 | (progn | 2099 | (progn |
| 2100 | (kill-buffer (current-buffer)) | 2100 | (kill-buffer (current-buffer)) |
| @@ -2102,7 +2102,7 @@ extension EXTN. Normally EXTN is given as the regular expression | |||
| 2102 | massaged-args))) | 2102 | massaged-args))) |
| 2103 | 2103 | ||
| 2104 | ;; Search for an association with P, a fully qualified class name, in | 2104 | ;; Search for an association with P, a fully qualified class name, in |
| 2105 | ;; gud-jdb-class-source-alist. The asssociation gives the fully | 2105 | ;; gud-jdb-class-source-alist. The association gives the fully |
| 2106 | ;; qualified file name of the source file which produced the class. | 2106 | ;; qualified file name of the source file which produced the class. |
| 2107 | (defun gud-jdb-find-source-file (p) | 2107 | (defun gud-jdb-find-source-file (p) |
| 2108 | (cdr (assoc p gud-jdb-class-source-alist))) | 2108 | (cdr (assoc p gud-jdb-class-source-alist))) |
| @@ -3387,7 +3387,7 @@ This event can be examined by forms in `gud-tooltip-display'.") | |||
| 3387 | 3387 | ||
| 3388 | (defun gud-tooltip-dereference (&optional arg) | 3388 | (defun gud-tooltip-dereference (&optional arg) |
| 3389 | "Toggle whether tooltips should show `* expr' or `expr'. | 3389 | "Toggle whether tooltips should show `* expr' or `expr'. |
| 3390 | With arg, dereference expr if ARG is positive, otherwise do not derereference." | 3390 | With arg, dereference expr if ARG is positive, otherwise do not dereference." |
| 3391 | (interactive "P") | 3391 | (interactive "P") |
| 3392 | (setq gud-tooltip-dereference | 3392 | (setq gud-tooltip-dereference |
| 3393 | (if (null arg) | 3393 | (if (null arg) |
diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el index 8d8966ee159..0266fc17f9c 100644 --- a/lisp/progmodes/idlw-help.el +++ b/lisp/progmodes/idlw-help.el | |||
| @@ -705,7 +705,8 @@ Those words in `idlwave-completion-help-links' have links. The | |||
| 705 | ;; we kill the help frame before the return-frame is selected. | 705 | ;; we kill the help frame before the return-frame is selected. |
| 706 | ;; To protect the workings, we wait for up to one second | 706 | ;; To protect the workings, we wait for up to one second |
| 707 | ;; and check if the return-frame *is* now selected. | 707 | ;; and check if the return-frame *is* now selected. |
| 708 | ;; This is marked "eperimental" since we are not sure when its OK. | 708 | ;; This is marked "experimental" since we are not sure when |
| 709 | ;; it's OK. | ||
| 709 | (let ((maxtime 1.0) (time 0.) (step 0.1)) | 710 | (let ((maxtime 1.0) (time 0.) (step 0.1)) |
| 710 | (select-frame idlwave-help-return-frame) | 711 | (select-frame idlwave-help-return-frame) |
| 711 | (while (and (sit-for step) | 712 | (while (and (sit-for step) |
| @@ -985,12 +986,12 @@ describes the correct routine - even if the keyword description cannot | |||
| 985 | be found. TYPE is ignored. | 986 | be found. TYPE is ignored. |
| 986 | 987 | ||
| 987 | This function expects a more or less standard routine header. In | 988 | This function expects a more or less standard routine header. In |
| 988 | particlar it looks for the `NAME:' tag, either with a colon, or alone | 989 | particular it looks for the `NAME:' tag, either with a colon, or alone |
| 989 | on a line. Then `NAME:' must be followed by the routine name on the | 990 | on a line. Then `NAME:' must be followed by the routine name on the |
| 990 | same or the next line. When KEYWORD is non-nil, looks first for a | 991 | same or the next line. When KEYWORD is non-nil, looks first for a |
| 991 | `KEYWORDS' section. It is amazing how inconsisten this is through | 992 | `KEYWORDS' section. It is amazing how inconsistent this is through |
| 992 | some IDL libraries I have seen. We settle for a line containing an | 993 | some IDL libraries I have seen. We settle for a line containing an |
| 993 | upper case \"KEYWORD\" string. If this line is not fould we search | 994 | upper case \"KEYWORD\" string. If this line is not found we search |
| 994 | for the keyword anyway to increase the hit-rate | 995 | for the keyword anyway to increase the hit-rate |
| 995 | 996 | ||
| 996 | When one of these sections exists we check for a line starting with any of | 997 | When one of these sections exists we check for a line starting with any of |
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index 453badfa46b..faccbb1f0ca 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el | |||
| @@ -925,7 +925,7 @@ IDL has currently stepped.") | |||
| 925 | \\[idlwave-shell-print] or \\[idlwave-shell-mouse-print] with the | 925 | \\[idlwave-shell-print] or \\[idlwave-shell-mouse-print] with the |
| 926 | mouse, help, \\[idlwave-shell-help-expression] or | 926 | mouse, help, \\[idlwave-shell-help-expression] or |
| 927 | \\[idlwave-shell-mouse-help] with the mouse, or with a | 927 | \\[idlwave-shell-mouse-help] with the mouse, or with a |
| 928 | configureable set of custom examine commands using | 928 | configurable set of custom examine commands using |
| 929 | \\[idlwave-shell-examine-select]. The mouse examine commands can | 929 | \\[idlwave-shell-examine-select]. The mouse examine commands can |
| 930 | also work by click and drag, to select an expression for | 930 | also work by click and drag, to select an expression for |
| 931 | examination. | 931 | examination. |
| @@ -939,7 +939,7 @@ IDL has currently stepped.") | |||
| 939 | ------------------------------- | 939 | ------------------------------- |
| 940 | Info documentation for this package is available. Use \\[idlwave-info] | 940 | Info documentation for this package is available. Use \\[idlwave-info] |
| 941 | to display (complain to your sysadmin if that does not work). | 941 | to display (complain to your sysadmin if that does not work). |
| 942 | For Postscript and HTML versions of the documentation, check IDLWAVE's | 942 | For PostScript and HTML versions of the documentation, check IDLWAVE's |
| 943 | homepage at URL `http://idlwave.org'. | 943 | homepage at URL `http://idlwave.org'. |
| 944 | IDLWAVE has customize support - see the group `idlwave'. | 944 | IDLWAVE has customize support - see the group `idlwave'. |
| 945 | 945 | ||
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 95f67a6bf66..1233ee19ff6 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -605,7 +605,7 @@ The value of this variable may be nil to inhibit display, or an integer to | |||
| 605 | indicate the maximum number of classes to display. | 605 | indicate the maximum number of classes to display. |
| 606 | 606 | ||
| 607 | On XEmacs, a full list of classes will also be placed into a `help-echo' | 607 | On XEmacs, a full list of classes will also be placed into a `help-echo' |
| 608 | property on the competion items, so that the list of classes for the current | 608 | property on the completion items, so that the list of classes for the current |
| 609 | item is displayed in the echo area. If the value of this variable is a | 609 | item is displayed in the echo area. If the value of this variable is a |
| 610 | negative integer, the `help-echo' property will be suppressed." | 610 | negative integer, the `help-echo' property will be suppressed." |
| 611 | :group 'idlwave-completion | 611 | :group 'idlwave-completion |
| @@ -7206,7 +7206,7 @@ If these don't exist, a letter in the string is automatically selected." | |||
| 7206 | ;;---------------------------------------------------------------------- | 7206 | ;;---------------------------------------------------------------------- |
| 7207 | 7207 | ||
| 7208 | ;;; ------------------------------------------------------------------------ | 7208 | ;;; ------------------------------------------------------------------------ |
| 7209 | ;;; Stucture parsing code, and code to manage class info | 7209 | ;;; Structure parsing code, and code to manage class info |
| 7210 | 7210 | ||
| 7211 | ;; | 7211 | ;; |
| 7212 | ;; - Go again over the documentation how to write a completion | 7212 | ;; - Go again over the documentation how to write a completion |
diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el index 636766b36e7..1328e303d45 100644 --- a/lisp/progmodes/inf-lisp.el +++ b/lisp/progmodes/inf-lisp.el | |||
| @@ -598,7 +598,7 @@ See variable `lisp-describe-sym-command'." | |||
| 598 | (error "No Lisp subprocess; see variable `inferior-lisp-buffer'")))) | 598 | (error "No Lisp subprocess; see variable `inferior-lisp-buffer'")))) |
| 599 | 599 | ||
| 600 | 600 | ||
| 601 | ;;; Do the user's customisation... | 601 | ;;; Do the user's customization... |
| 602 | ;;;=============================== | 602 | ;;;=============================== |
| 603 | (defvar inferior-lisp-load-hook nil | 603 | (defvar inferior-lisp-load-hook nil |
| 604 | "This hook is run when the library `inf-lisp' is loaded.") | 604 | "This hook is run when the library `inf-lisp' is loaded.") |
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 5505e8e94b2..94a9c250fee 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el | |||
| @@ -1295,7 +1295,7 @@ LIMIT defaults to point." | |||
| 1295 | ;; Like (up-list -1), but only considers lists that end nearby" | 1295 | ;; Like (up-list -1), but only considers lists that end nearby" |
| 1296 | (defun js--up-nearby-list () | 1296 | (defun js--up-nearby-list () |
| 1297 | (save-restriction | 1297 | (save-restriction |
| 1298 | ;; Look at a very small region so our compuation time doesn't | 1298 | ;; Look at a very small region so our computation time doesn't |
| 1299 | ;; explode in pathological cases. | 1299 | ;; explode in pathological cases. |
| 1300 | (narrow-to-region (max (point-min) (- (point) 500)) (point)) | 1300 | (narrow-to-region (max (point-min) (- (point) 500)) (point)) |
| 1301 | (up-list -1))) | 1301 | (up-list -1))) |
| @@ -1599,7 +1599,7 @@ will be returned." | |||
| 1599 | 1599 | ||
| 1600 | (defun js-syntactic-context () | 1600 | (defun js-syntactic-context () |
| 1601 | "Return the JavaScript syntactic context at point. | 1601 | "Return the JavaScript syntactic context at point. |
| 1602 | When called interatively, also display a message with that | 1602 | When called interactively, also display a message with that |
| 1603 | context." | 1603 | context." |
| 1604 | (interactive) | 1604 | (interactive) |
| 1605 | (let* ((syntactic-context (js--syntactic-context-from-pstate | 1605 | (let* ((syntactic-context (js--syntactic-context-from-pstate |
| @@ -3352,7 +3352,7 @@ If one hasn't been set, or if it's stale, prompt for a new one." | |||
| 3352 | ;; etc. and produce maddening "unbalanced parenthesis" errors. | 3352 | ;; etc. and produce maddening "unbalanced parenthesis" errors. |
| 3353 | ;; When we attempt to find the error and scroll to the portion of | 3353 | ;; When we attempt to find the error and scroll to the portion of |
| 3354 | ;; the buffer containing the problem, JIT-lock will apply the | 3354 | ;; the buffer containing the problem, JIT-lock will apply the |
| 3355 | ;; correct syntax to the regular expresion literal and the problem | 3355 | ;; correct syntax to the regular expression literal and the problem |
| 3356 | ;; will mysteriously disappear. | 3356 | ;; will mysteriously disappear. |
| 3357 | ;; FIXME: We should actually do this fontification lazily by adding | 3357 | ;; FIXME: We should actually do this fontification lazily by adding |
| 3358 | ;; calls to syntax-propertize wherever it's really needed. | 3358 | ;; calls to syntax-propertize wherever it's really needed. |
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 293ba49d4ae..c49519ed179 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el | |||
| @@ -532,7 +532,7 @@ not be enclosed in { } or ( )." | |||
| 532 | ;; should return an exit status of zero if the target `foo' is | 532 | ;; should return an exit status of zero if the target `foo' is |
| 533 | ;; up to date and a nonzero exit status otherwise. | 533 | ;; up to date and a nonzero exit status otherwise. |
| 534 | ;; Many makes can do this although the docs/manpages do not mention | 534 | ;; Many makes can do this although the docs/manpages do not mention |
| 535 | ;; it. Try it with your favourite one. GNU make, System V make, and | 535 | ;; it. Try it with your favorite one. GNU make, System V make, and |
| 536 | ;; Dennis Vadura's DMake have no problems. | 536 | ;; Dennis Vadura's DMake have no problems. |
| 537 | ;; Set the variable `makefile-brave-make' to the name of the | 537 | ;; Set the variable `makefile-brave-make' to the name of the |
| 538 | ;; make utility that does this on your system. | 538 | ;; make utility that does this on your system. |
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el index e15f765ea58..d0a34179cc8 100644 --- a/lisp/progmodes/meta-mode.el +++ b/lisp/progmodes/meta-mode.el | |||
| @@ -161,7 +161,7 @@ | |||
| 161 | "[ \t\f]+\\(\\sw+\\|\\s_+\\|\\s.+\\)") | 161 | "[ \t\f]+\\(\\sw+\\|\\s_+\\|\\s.+\\)") |
| 162 | '((1 font-lock-keyword-face) | 162 | '((1 font-lock-keyword-face) |
| 163 | (2 font-lock-function-name-face))) | 163 | (2 font-lock-function-name-face))) |
| 164 | ;; binary macro defintions: <leveldef> x operator y | 164 | ;; binary macro definitions: <leveldef> x operator y |
| 165 | (cons (concat "\\<" macro-keywords-2 "\\>" | 165 | (cons (concat "\\<" macro-keywords-2 "\\>" |
| 166 | "[ \t\f]+\\(\\sw+\\)" | 166 | "[ \t\f]+\\(\\sw+\\)" |
| 167 | "[ \t\f]*\\(\\sw+\\|\\s.+\\)" | 167 | "[ \t\f]*\\(\\sw+\\|\\s.+\\)" |
| @@ -700,7 +700,7 @@ If the list was changed, sort the list and remove duplicates first." | |||
| 700 | 700 | ||
| 701 | 701 | ||
| 702 | (defun meta-beginning-of-defun (&optional arg) | 702 | (defun meta-beginning-of-defun (&optional arg) |
| 703 | "Move backward to beginnning of a defun in Metafont or MetaPost code. | 703 | "Move backward to beginning of a defun in Metafont or MetaPost code. |
| 704 | With numeric argument, do it that many times. | 704 | With numeric argument, do it that many times. |
| 705 | Negative arg -N means move forward to Nth following beginning of defun. | 705 | Negative arg -N means move forward to Nth following beginning of defun. |
| 706 | Returns t unless search stops due to beginning or end of buffer." | 706 | Returns t unless search stops due to beginning or end of buffer." |
diff --git a/lisp/progmodes/mixal-mode.el b/lisp/progmodes/mixal-mode.el index 103c7be7d3c..7d1f12595ab 100644 --- a/lisp/progmodes/mixal-mode.el +++ b/lisp/progmodes/mixal-mode.el | |||
| @@ -1058,7 +1058,7 @@ EXECUTION-TIME holds info about the time it takes, number or string.") | |||
| 1058 | (list | 1058 | (list |
| 1059 | (let* ((completion-ignore-case t) | 1059 | (let* ((completion-ignore-case t) |
| 1060 | ;; we already have a list, but it is not in the right format | 1060 | ;; we already have a list, but it is not in the right format |
| 1061 | ;; transform it to a valid table so completition can use it | 1061 | ;; transform it to a valid table so completion can use it |
| 1062 | (table (mapcar (lambda (elm) (cons (symbol-name (car elm)) nil)) | 1062 | (table (mapcar (lambda (elm) (cons (symbol-name (car elm)) nil)) |
| 1063 | mixal-operation-codes-alist)) | 1063 | mixal-operation-codes-alist)) |
| 1064 | ;; prompt is different depending on we are close to a valid op-code | 1064 | ;; prompt is different depending on we are close to a valid op-code |
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el index 67e3c4a18b4..91a2e946753 100644 --- a/lisp/progmodes/pascal.el +++ b/lisp/progmodes/pascal.el | |||
| @@ -414,7 +414,7 @@ no args, if that value is non-nil." | |||
| 414 | (electric-pascal-terminate-line))) | 414 | (electric-pascal-terminate-line))) |
| 415 | 415 | ||
| 416 | (defun electric-pascal-colon () | 416 | (defun electric-pascal-colon () |
| 417 | "Insert `:' and do all indentions except line indent on this line." | 417 | "Insert `:' and do all indentations except line indent on this line." |
| 418 | (interactive) | 418 | (interactive) |
| 419 | (insert last-command-event) | 419 | (insert last-command-event) |
| 420 | ;; Do nothing if within string. | 420 | ;; Do nothing if within string. |
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 283919c131e..8b4798e1c14 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el | |||
| @@ -116,7 +116,7 @@ | |||
| 116 | ;; Version 1.22: | 116 | ;; Version 1.22: |
| 117 | ;; o Allowed both 'swipl' and 'pl' as names for the SWI Prolog | 117 | ;; o Allowed both 'swipl' and 'pl' as names for the SWI Prolog |
| 118 | ;; interpreter. | 118 | ;; interpreter. |
| 119 | ;; o Atoms that start a line are not blindly coloured as | 119 | ;; o Atoms that start a line are not blindly colored as |
| 120 | ;; predicates. Instead we check that they are followed by ( or | 120 | ;; predicates. Instead we check that they are followed by ( or |
| 121 | ;; :- first. Patch suggested by Guy Wiener. | 121 | ;; :- first. Patch suggested by Guy Wiener. |
| 122 | ;; Version 1.21: | 122 | ;; Version 1.21: |
| @@ -151,7 +151,7 @@ | |||
| 151 | ;; (`prolog-electric-dot-full-predicate-template', defaults to t | 151 | ;; (`prolog-electric-dot-full-predicate-template', defaults to t |
| 152 | ;; since it seems quicker to me to just type those commata). A | 152 | ;; since it seems quicker to me to just type those commata). A |
| 153 | ;; trivial adaptation of a patch by Markus Triska. | 153 | ;; trivial adaptation of a patch by Markus Triska. |
| 154 | ;; o Improved the behaviour of electric if-then-else to only skip | 154 | ;; o Improved the behavior of electric if-then-else to only skip |
| 155 | ;; forward if the parenthesis/semicolon is preceded by | 155 | ;; forward if the parenthesis/semicolon is preceded by |
| 156 | ;; whitespace. Once more a trivial adaptation of a patch by | 156 | ;; whitespace. Once more a trivial adaptation of a patch by |
| 157 | ;; Markus Triska. | 157 | ;; Markus Triska. |
| @@ -169,7 +169,7 @@ | |||
| 169 | ;; package requirements. | 169 | ;; package requirements. |
| 170 | ;; Version 1.13: | 170 | ;; Version 1.13: |
| 171 | ;; o Removed the use of `map-char-table' in `prolog-build-case-strings' | 171 | ;; o Removed the use of `map-char-table' in `prolog-build-case-strings' |
| 172 | ;; which appears to cause prblems in (at least) Emacs 23.0.0.1. | 172 | ;; which appears to cause problems in (at least) Emacs 23.0.0.1. |
| 173 | ;; o Added if-then-else indentation + corresponding electric | 173 | ;; o Added if-then-else indentation + corresponding electric |
| 174 | ;; characters. New customization: `prolog-electric-if-then-else-flag' | 174 | ;; characters. New customization: `prolog-electric-if-then-else-flag' |
| 175 | ;; o Align support (requires `align'). New customization: | 175 | ;; o Align support (requires `align'). New customization: |
| @@ -391,7 +391,7 @@ Otherwise indent to `prolog-indent-width'." | |||
| 391 | 391 | ||
| 392 | (defcustom prolog-left-indent-regexp "\\(;\\|\\*?->\\)" | 392 | (defcustom prolog-left-indent-regexp "\\(;\\|\\*?->\\)" |
| 393 | "*Regexp for character sequences after which next line is indented. | 393 | "*Regexp for character sequences after which next line is indented. |
| 394 | Next line after such a regexp is indented to the opening paranthesis level." | 394 | Next line after such a regexp is indented to the opening parenthesis level." |
| 395 | :group 'prolog-indentation | 395 | :group 'prolog-indentation |
| 396 | :type 'regexp) | 396 | :type 'regexp) |
| 397 | 397 | ||
| @@ -1023,7 +1023,7 @@ VERSION is of the format (Major . Minor)" | |||
| 1023 | 1023 | ||
| 1024 | 1024 | ||
| 1025 | (defvar prolog-mode-hook nil | 1025 | (defvar prolog-mode-hook nil |
| 1026 | "List of functions to call after the prolog mode has initialised.") | 1026 | "List of functions to call after the prolog mode has initialized.") |
| 1027 | 1027 | ||
| 1028 | (unless (fboundp 'prog-mode) | 1028 | (unless (fboundp 'prog-mode) |
| 1029 | (defalias 'prog-mode 'fundamental-mode)) | 1029 | (defalias 'prog-mode 'fundamental-mode)) |
| @@ -1090,7 +1090,7 @@ Actually this is just customized `prolog-mode'." | |||
| 1090 | map)) | 1090 | map)) |
| 1091 | 1091 | ||
| 1092 | (defvar prolog-inferior-mode-hook nil | 1092 | (defvar prolog-inferior-mode-hook nil |
| 1093 | "List of functions to call after the inferior prolog mode has initialised.") | 1093 | "List of functions to call after the inferior prolog mode has initialized.") |
| 1094 | 1094 | ||
| 1095 | (defvar prolog-inferior-error-regexp-alist | 1095 | (defvar prolog-inferior-error-regexp-alist |
| 1096 | '(;; GNU Prolog used to not follow the GNU standard format. | 1096 | '(;; GNU Prolog used to not follow the GNU standard format. |
diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el index 94d55ee3f61..c2adc3b801b 100644 --- a/lisp/progmodes/ps-mode.el +++ b/lisp/progmodes/ps-mode.el | |||
| @@ -267,7 +267,7 @@ If nil, use `temporary-file-directory'." | |||
| 267 | . (1 font-lock-function-name-face)) | 267 | . (1 font-lock-function-name-face)) |
| 268 | '("/\\w+" . font-lock-variable-name-face) | 268 | '("/\\w+" . font-lock-variable-name-face) |
| 269 | (cons ps-mode-operators 'font-lock-keyword-face))) | 269 | (cons ps-mode-operators 'font-lock-keyword-face))) |
| 270 | "High level highliting for PostScript mode.") | 270 | "High level highlighting for PostScript mode.") |
| 271 | 271 | ||
| 272 | (defconst ps-mode-font-lock-keywords ps-mode-font-lock-keywords-1 | 272 | (defconst ps-mode-font-lock-keywords ps-mode-font-lock-keywords-1 |
| 273 | "Default expressions to highlight in PostScript mode.") | 273 | "Default expressions to highlight in PostScript mode.") |
| @@ -713,7 +713,7 @@ defines the beginning of a group. These tokens are: { [ <<" | |||
| 713 | (ps-mode-r-balance ">>")) | 713 | (ps-mode-r-balance ">>")) |
| 714 | 714 | ||
| 715 | (defun ps-mode-r-balance (right) | 715 | (defun ps-mode-r-balance (right) |
| 716 | "Adjust indentification if point after RIGHT." | 716 | "Adjust indenting if point after RIGHT." |
| 717 | (if ps-mode-auto-indent | 717 | (if ps-mode-auto-indent |
| 718 | (save-excursion | 718 | (save-excursion |
| 719 | (when (re-search-backward (concat "^[ \t]*" (regexp-quote right) "\\=") nil t) | 719 | (when (re-search-backward (concat "^[ \t]*" (regexp-quote right) "\\=") nil t) |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 8615400bf6a..6bc4db60596 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -119,7 +119,7 @@ | |||
| 119 | (1 font-lock-type-face)) | 119 | (1 font-lock-type-face)) |
| 120 | ;; Built-ins. (The next three blocks are from | 120 | ;; Built-ins. (The next three blocks are from |
| 121 | ;; `__builtin__.__dict__.keys()' in Python 2.7) These patterns | 121 | ;; `__builtin__.__dict__.keys()' in Python 2.7) These patterns |
| 122 | ;; are debateable, but they at least help to spot possible | 122 | ;; are debatable, but they at least help to spot possible |
| 123 | ;; shadowing of builtins. | 123 | ;; shadowing of builtins. |
| 124 | (,(rx symbol-start (or | 124 | (,(rx symbol-start (or |
| 125 | ;; exceptions | 125 | ;; exceptions |
| @@ -550,7 +550,7 @@ element matches `python-python-command'." | |||
| 550 | "^> \\(.*\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_<>]+\\)()" | 550 | "^> \\(.*\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_<>]+\\)()" |
| 551 | "Regular expression pdbtrack uses to find a stack trace entry.") | 551 | "Regular expression pdbtrack uses to find a stack trace entry.") |
| 552 | 552 | ||
| 553 | (defconst python-pdbtrack-input-prompt "\n[(<]*[Pp]db[>)]+ " | 553 | (defconst python-pdbtrack-input-prompt "\n[(<]*[Ii]?[Pp]db[>)]+ " |
| 554 | "Regular expression pdbtrack uses to recognize a pdb prompt.") | 554 | "Regular expression pdbtrack uses to recognize a pdb prompt.") |
| 555 | 555 | ||
| 556 | (defconst python-pdbtrack-track-range 10000 | 556 | (defconst python-pdbtrack-track-range 10000 |
| @@ -1122,7 +1122,7 @@ don't move and return nil. Otherwise return t." | |||
| 1122 | 1122 | ||
| 1123 | ;;;; Imenu. | 1123 | ;;;; Imenu. |
| 1124 | 1124 | ||
| 1125 | ;; For possibily speeding this up, here's the top of the ELP profile | 1125 | ;; For possibly speeding this up, here's the top of the ELP profile |
| 1126 | ;; for rescanning pydoc.py (2.2k lines, 90kb): | 1126 | ;; for rescanning pydoc.py (2.2k lines, 90kb): |
| 1127 | ;; Function Name Call Count Elapsed Time Average Time | 1127 | ;; Function Name Call Count Elapsed Time Average Time |
| 1128 | ;; ==================================== ========== ============= ============ | 1128 | ;; ==================================== ========== ============= ============ |
| @@ -2553,7 +2553,7 @@ If the traceback target file path is invalid, we look for the | |||
| 2553 | most recently visited python-mode buffer which either has the | 2553 | most recently visited python-mode buffer which either has the |
| 2554 | name of the current function or class, or which defines the | 2554 | name of the current function or class, or which defines the |
| 2555 | function or class. This is to provide for scripts not in the | 2555 | function or class. This is to provide for scripts not in the |
| 2556 | local filesytem (e.g., Zope's 'Script \(Python)', but it's not | 2556 | local file system (e.g., Zope's 'Script \(Python)', but it's not |
| 2557 | Zope specific). If you put a copy of the script in a buffer | 2557 | Zope specific). If you put a copy of the script in a buffer |
| 2558 | named for the script and activate python-mode, then pdbtrack will | 2558 | named for the script and activate python-mode, then pdbtrack will |
| 2559 | find it." | 2559 | find it." |
| @@ -2583,6 +2583,7 @@ find it." | |||
| 2583 | (if (not (string-match (concat python-pdbtrack-input-prompt "$") block)) | 2583 | (if (not (string-match (concat python-pdbtrack-input-prompt "$") block)) |
| 2584 | (python-pdbtrack-overlay-arrow nil) | 2584 | (python-pdbtrack-overlay-arrow nil) |
| 2585 | 2585 | ||
| 2586 | (setq block (ansi-color-filter-apply block)) | ||
| 2586 | (setq target (python-pdbtrack-get-source-buffer block)) | 2587 | (setq target (python-pdbtrack-get-source-buffer block)) |
| 2587 | 2588 | ||
| 2588 | (if (stringp target) | 2589 | (if (stringp target) |
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 7b949134c6c..62ca2ce085f 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -567,6 +567,7 @@ This is buffer-local in every such buffer.") | |||
| 567 | '((csh . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?[ \t]*[-+*/%^]?=") | 567 | '((csh . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?[ \t]*[-+*/%^]?=") |
| 568 | ;; actually spaces are only supported in let/(( ... )) | 568 | ;; actually spaces are only supported in let/(( ... )) |
| 569 | (ksh88 . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?[ \t]*\\([-+*/%&|~^]\\|<<\\|>>\\)?=") | 569 | (ksh88 . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?[ \t]*\\([-+*/%&|~^]\\|<<\\|>>\\)?=") |
| 570 | (bash . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?\\+?=") | ||
| 570 | (rc . "\\<\\([[:alnum:]_*]+\\)[ \t]*=") | 571 | (rc . "\\<\\([[:alnum:]_*]+\\)[ \t]*=") |
| 571 | (sh . "\\<\\([[:alnum:]_]+\\)=")) | 572 | (sh . "\\<\\([[:alnum:]_]+\\)=")) |
| 572 | "Regexp for the variable name and what may follow in an assignment. | 573 | "Regexp for the variable name and what may follow in an assignment. |
| @@ -889,7 +890,7 @@ See `sh-feature'.") | |||
| 889 | font-lock-variable-name-face)) | 890 | font-lock-variable-name-face)) |
| 890 | 891 | ||
| 891 | (rc sh-append es) | 892 | (rc sh-append es) |
| 892 | (bash sh-append shell ("\\$(\\(\\sw+\\)" (1 'sh-quoted-exec t) )) | 893 | (bash sh-append sh ("\\$(\\(\\sw+\\)" (1 'sh-quoted-exec t) )) |
| 893 | (sh sh-append shell | 894 | (sh sh-append shell |
| 894 | ;; Variable names. | 895 | ;; Variable names. |
| 895 | ("\\$\\({#?\\)?\\([[:alpha:]_][[:alnum:]_]*\\|[-#?@!]\\)" 2 | 896 | ("\\$\\({#?\\)?\\([[:alpha:]_][[:alnum:]_]*\\|[-#?@!]\\)" 2 |
| @@ -985,7 +986,7 @@ Find all the unescaped \" characters within said subshell, remembering that | |||
| 985 | subshells can nest." | 986 | subshells can nest." |
| 986 | ;; FIXME: This can (and often does) match multiple lines, yet it makes no | 987 | ;; FIXME: This can (and often does) match multiple lines, yet it makes no |
| 987 | ;; effort to handle multiline cases correctly, so it ends up being | 988 | ;; effort to handle multiline cases correctly, so it ends up being |
| 988 | ;; rather flakey. | 989 | ;; rather flaky. |
| 989 | (when (eq ?\" (nth 3 (syntax-ppss))) ; Check we matched an opening quote. | 990 | (when (eq ?\" (nth 3 (syntax-ppss))) ; Check we matched an opening quote. |
| 990 | ;; bingo we have a $( or a ` inside a "" | 991 | ;; bingo we have a $( or a ` inside a "" |
| 991 | (let (;; `state' can be: double-quote, backquote, code. | 992 | (let (;; `state' can be: double-quote, backquote, code. |
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index 97a1c4605c2..af9ab537893 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -672,7 +672,7 @@ highlighted properly when you open them." | |||
| 672 | :safe 'symbolp) | 672 | :safe 'symbolp) |
| 673 | (defvaralias 'sql-dialect 'sql-product) | 673 | (defvaralias 'sql-dialect 'sql-product) |
| 674 | 674 | ||
| 675 | ;; misc customization of sql.el behaviour | 675 | ;; misc customization of sql.el behavior |
| 676 | 676 | ||
| 677 | (defcustom sql-electric-stuff nil | 677 | (defcustom sql-electric-stuff nil |
| 678 | "Treat some input as electric. | 678 | "Treat some input as electric. |
| @@ -1595,7 +1595,7 @@ to add functions and PL/SQL keywords.") | |||
| 1595 | "cast" "ceil" "chartorowid" "chr" "cluster_id" "cluster_probability" | 1595 | "cast" "ceil" "chartorowid" "chr" "cluster_id" "cluster_probability" |
| 1596 | "cluster_set" "coalesce" "collect" "compose" "concat" "convert" "corr" | 1596 | "cluster_set" "coalesce" "collect" "compose" "concat" "convert" "corr" |
| 1597 | "corr_k" "corr_s" "cos" "cosh" "count" "covar_pop" "covar_samp" | 1597 | "corr_k" "corr_s" "cos" "cosh" "count" "covar_pop" "covar_samp" |
| 1598 | "cube_table" "cume_dist" "currrent_date" "currrent_timestamp" "cv" | 1598 | "cube_table" "cume_dist" "current_date" "current_timestamp" "cv" |
| 1599 | "dataobj_to_partition" "dbtimezone" "decode" "decompose" "deletexml" | 1599 | "dataobj_to_partition" "dbtimezone" "decode" "decompose" "deletexml" |
| 1600 | "dense_rank" "depth" "deref" "dump" "empty_blob" "empty_clob" | 1600 | "dense_rank" "depth" "deref" "dump" "empty_blob" "empty_clob" |
| 1601 | "existsnode" "exp" "extract" "extractvalue" "feature_id" "feature_set" | 1601 | "existsnode" "exp" "extract" "extractvalue" "feature_id" "feature_set" |
| @@ -3600,12 +3600,12 @@ The list is maintained in SQL interactive buffers.") | |||
| 3600 | (setq has-schema (and | 3600 | (setq has-schema (and |
| 3601 | (>= (length (car names)) schema-len) | 3601 | (>= (length (car names)) schema-len) |
| 3602 | (string= schema-dot | 3602 | (string= schema-dot |
| 3603 | (downcase (substring (car names) | 3603 | (downcase (substring (car names) |
| 3604 | 0 schema-len)))) | 3604 | 0 schema-len)))) |
| 3605 | names (cdr names))) | 3605 | names (cdr names))) |
| 3606 | (unless has-schema | 3606 | (unless has-schema |
| 3607 | (sql-build-completions schema))))) | 3607 | (sql-build-completions schema))))) |
| 3608 | 3608 | ||
| 3609 | ;; Try to find the completion | 3609 | ;; Try to find the completion |
| 3610 | (cond | 3610 | (cond |
| 3611 | ((not predicate) | 3611 | ((not predicate) |
| @@ -3951,7 +3951,7 @@ is specified in the connection settings." | |||
| 3951 | ;; interactive session | 3951 | ;; interactive session |
| 3952 | (eval `(let ((sql-connection ,connection) | 3952 | (eval `(let ((sql-connection ,connection) |
| 3953 | (,param-var ',rem-params)) | 3953 | (,param-var ',rem-params)) |
| 3954 | (sql-product-interactive sql-product | 3954 | (sql-product-interactive sql-product |
| 3955 | new-name))))) | 3955 | new-name))))) |
| 3956 | 3956 | ||
| 3957 | (message "SQL Connection <%s> does not exist" connection) | 3957 | (message "SQL Connection <%s> does not exist" connection) |
| @@ -3981,16 +3981,16 @@ optionally is saved to the user's init file." | |||
| 3981 | 3981 | ||
| 3982 | (if connection | 3982 | (if connection |
| 3983 | (message "This session was started by a connection; it's already been saved.") | 3983 | (message "This session was started by a connection; it's already been saved.") |
| 3984 | 3984 | ||
| 3985 | (let ((login (sql-get-product-feature product :sqli-login)) | 3985 | (let ((login (sql-get-product-feature product :sqli-login)) |
| 3986 | (alist sql-connection-alist) | 3986 | (alist sql-connection-alist) |
| 3987 | connect) | 3987 | connect) |
| 3988 | 3988 | ||
| 3989 | ;; Remove the existing connection if the user says so | 3989 | ;; Remove the existing connection if the user says so |
| 3990 | (when (and (assoc name alist) | 3990 | (when (and (assoc name alist) |
| 3991 | (yes-or-no-p (format "Replace connection definition <%s>? " name))) | 3991 | (yes-or-no-p (format "Replace connection definition <%s>? " name))) |
| 3992 | (setq alist (assq-delete-all name alist))) | 3992 | (setq alist (assq-delete-all name alist))) |
| 3993 | 3993 | ||
| 3994 | ;; Add the new connection if it doesn't exist | 3994 | ;; Add the new connection if it doesn't exist |
| 3995 | (if (assoc name alist) | 3995 | (if (assoc name alist) |
| 3996 | (message "Connection <%s> already exists" name) | 3996 | (message "Connection <%s> already exists" name) |
| @@ -4747,8 +4747,8 @@ Try to set `comint-output-filter-functions' like this: | |||
| 4747 | (sql-redirect sqlbuf "\\t off") | 4747 | (sql-redirect sqlbuf "\\t off") |
| 4748 | (when (not (string= a "aligned")) | 4748 | (when (not (string= a "aligned")) |
| 4749 | (sql-redirect sqlbuf "\\a")) | 4749 | (sql-redirect sqlbuf "\\a")) |
| 4750 | 4750 | ||
| 4751 | ;; Return the list of table names (public schema name can be omitted) | 4751 | ;; Return the list of table names (public schema name can be omitted) |
| 4752 | (mapcar (lambda (tbl) | 4752 | (mapcar (lambda (tbl) |
| 4753 | (if (string= (car tbl) "public") | 4753 | (if (string= (car tbl) "public") |
| 4754 | (cadr tbl) | 4754 | (cadr tbl) |
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index f18ec5abe81..d0e2c5abe7d 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el | |||
| @@ -861,7 +861,7 @@ Returns nil if line starts inside a string, t if in a comment." | |||
| 861 | expr-p) | 861 | expr-p) |
| 862 | (progn | 862 | (progn |
| 863 | ;; Line is continuation line, or the sexp opener | 863 | ;; Line is continuation line, or the sexp opener |
| 864 | ;; is not a curly brace, or we are are looking at | 864 | ;; is not a curly brace, or we are looking at |
| 865 | ;; an `expr' expression (which must be split | 865 | ;; an `expr' expression (which must be split |
| 866 | ;; specially). So indentation is column of first | 866 | ;; specially). So indentation is column of first |
| 867 | ;; good spot after sexp opener (with some added | 867 | ;; good spot after sexp opener (with some added |
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index f7cb1318dc0..4cc4a133c8e 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el | |||
| @@ -292,7 +292,7 @@ STRING should be given if the last search was by `string-match' on STRING." | |||
| 292 | "Filter `easy-menu-define' MENU to support new features." | 292 | "Filter `easy-menu-define' MENU to support new features." |
| 293 | (cond ((not (featurep 'xemacs)) | 293 | (cond ((not (featurep 'xemacs)) |
| 294 | menu) ;; GNU Emacs - passthru | 294 | menu) ;; GNU Emacs - passthru |
| 295 | ;; Xemacs doesn't support :help. Strip it. | 295 | ;; XEmacs doesn't support :help. Strip it. |
| 296 | ;; Recursively filter the a submenu | 296 | ;; Recursively filter the a submenu |
| 297 | ((listp menu) | 297 | ((listp menu) |
| 298 | (mapcar 'verilog-easy-menu-filter menu)) | 298 | (mapcar 'verilog-easy-menu-filter menu)) |
| @@ -737,7 +737,7 @@ See `compilation-error-regexp-alist' for the formatting. For Emacs 22+.") | |||
| 737 | (defvar verilog-error-regexp-xemacs-alist | 737 | (defvar verilog-error-regexp-xemacs-alist |
| 738 | ;; Emacs form is '((v-tool "re" 1 2) ...) | 738 | ;; Emacs form is '((v-tool "re" 1 2) ...) |
| 739 | ;; XEmacs form is '(verilog ("re" 1 2) ...) | 739 | ;; XEmacs form is '(verilog ("re" 1 2) ...) |
| 740 | ;; So we can just map from Emacs to Xemacs | 740 | ;; So we can just map from Emacs to XEmacs |
| 741 | (cons 'verilog (mapcar 'cdr verilog-error-regexp-emacs-alist)) | 741 | (cons 'verilog (mapcar 'cdr verilog-error-regexp-emacs-alist)) |
| 742 | "List of regexps for Verilog compilers. | 742 | "List of regexps for Verilog compilers. |
| 743 | See `compilation-error-regexp-alist-alist' for the formatting. For XEmacs.") | 743 | See `compilation-error-regexp-alist-alist' for the formatting. For XEmacs.") |
| @@ -913,7 +913,7 @@ the MSB or LSB of a signal inside an AUTORESET." | |||
| 913 | (put 'verilog-assignment-delay 'safe-local-variable 'stringp) | 913 | (put 'verilog-assignment-delay 'safe-local-variable 'stringp) |
| 914 | 914 | ||
| 915 | (defcustom verilog-auto-arg-sort nil | 915 | (defcustom verilog-auto-arg-sort nil |
| 916 | "*If set, AUTOARG signal names will be sorted, not in delaration order. | 916 | "*If set, AUTOARG signal names will be sorted, not in declaration order. |
| 917 | Declaration order is advantageous with order based instantiations | 917 | Declaration order is advantageous with order based instantiations |
| 918 | and is the default for backward compatibility. Sorted order | 918 | and is the default for backward compatibility. Sorted order |
| 919 | reduces changes when declarations are moved around in a file, and | 919 | reduces changes when declarations are moved around in a file, and |
| @@ -1847,7 +1847,7 @@ find the errors." | |||
| 1847 | )) | 1847 | )) |
| 1848 | 1848 | ||
| 1849 | (defconst verilog-auto-end-comment-lines-re | 1849 | (defconst verilog-auto-end-comment-lines-re |
| 1850 | ;; Matches to names in this list cause auto-end-commentation | 1850 | ;; Matches to names in this list cause auto-end-commenting |
| 1851 | (concat "\\(" | 1851 | (concat "\\(" |
| 1852 | verilog-directive-re "\\)\\|\\(" | 1852 | verilog-directive-re "\\)\\|\\(" |
| 1853 | (eval-when-compile | 1853 | (eval-when-compile |
| @@ -2151,7 +2151,7 @@ find the errors." | |||
| 2151 | "interface" "endinterface" | 2151 | "interface" "endinterface" |
| 2152 | "module" "macromodule" "endmodule" | 2152 | "module" "macromodule" "endmodule" |
| 2153 | "package" "endpackage" | 2153 | "package" "endpackage" |
| 2154 | "primitive" "endprimative" | 2154 | "primitive" "endprimitive" |
| 2155 | "program" "endprogram" | 2155 | "program" "endprogram" |
| 2156 | "property" "endproperty" | 2156 | "property" "endproperty" |
| 2157 | "sequence" "randsequence" "endsequence" | 2157 | "sequence" "randsequence" "endsequence" |
| @@ -2622,7 +2622,7 @@ user-visible changes to the buffer must not be within a | |||
| 2622 | 2622 | ||
| 2623 | (defmacro verilog-save-no-change-functions (&rest body) | 2623 | (defmacro verilog-save-no-change-functions (&rest body) |
| 2624 | "Execute BODY forms, disabling all change hooks in BODY. | 2624 | "Execute BODY forms, disabling all change hooks in BODY. |
| 2625 | For insigificant changes, see instead `verilog-save-buffer-state'." | 2625 | For insignificant changes, see instead `verilog-save-buffer-state'." |
| 2626 | `(let* ((inhibit-point-motion-hooks t) | 2626 | `(let* ((inhibit-point-motion-hooks t) |
| 2627 | before-change-functions | 2627 | before-change-functions |
| 2628 | after-change-functions) | 2628 | after-change-functions) |
| @@ -2709,7 +2709,7 @@ either is ok to parse as a non-comment, or `verilog-insert' was used." | |||
| 2709 | (remove-text-properties (point-min) (point-max) '(v-cmt nil)) | 2709 | (remove-text-properties (point-min) (point-max) '(v-cmt nil)) |
| 2710 | (verilog-scan-region (point-min) (point-max)) | 2710 | (verilog-scan-region (point-min) (point-max)) |
| 2711 | (setq verilog-scan-cache-tick (buffer-chars-modified-tick)) | 2711 | (setq verilog-scan-cache-tick (buffer-chars-modified-tick)) |
| 2712 | (when verilog-debug (message "Scaning... done")))))) | 2712 | (when verilog-debug (message "Scanning... done")))))) |
| 2713 | 2713 | ||
| 2714 | (defun verilog-inside-comment-p () | 2714 | (defun verilog-inside-comment-p () |
| 2715 | "Check if point inside a comment. | 2715 | "Check if point inside a comment. |
| @@ -3579,7 +3579,7 @@ With ARG, first kill any existing labels." | |||
| 3579 | "Move backward to beginning of statement." | 3579 | "Move backward to beginning of statement." |
| 3580 | (interactive) | 3580 | (interactive) |
| 3581 | ;; Move back token by token until we see the end | 3581 | ;; Move back token by token until we see the end |
| 3582 | ;; of some ealier line. | 3582 | ;; of some earlier line. |
| 3583 | (let (h) | 3583 | (let (h) |
| 3584 | (while | 3584 | (while |
| 3585 | ;; If the current point does not begin a new | 3585 | ;; If the current point does not begin a new |
| @@ -3596,7 +3596,7 @@ With ARG, first kill any existing labels." | |||
| 3596 | (looking-at "\\w+\\W*:\\W*\\(coverpoint\\|cross\\|constraint\\)") | 3596 | (looking-at "\\w+\\W*:\\W*\\(coverpoint\\|cross\\|constraint\\)") |
| 3597 | ;; keep going if we are in the middle of a word | 3597 | ;; keep going if we are in the middle of a word |
| 3598 | (not (or (looking-at "\\<") (forward-word -1))) | 3598 | (not (or (looking-at "\\<") (forward-word -1))) |
| 3599 | ;; stop if we see an assertion (perhaps labled) | 3599 | ;; stop if we see an assertion (perhaps labeled) |
| 3600 | (and | 3600 | (and |
| 3601 | (looking-at "\\(\\<\\(assert\\|assume\\|cover\\)\\>\\s-+\\<property\\>\\)\\|\\(\\<assert\\>\\)") | 3601 | (looking-at "\\(\\<\\(assert\\|assume\\|cover\\)\\>\\s-+\\<property\\>\\)\\|\\(\\<assert\\>\\)") |
| 3602 | (progn | 3602 | (progn |
| @@ -5128,7 +5128,7 @@ Set point to where line starts." | |||
| 5128 | continued)) | 5128 | continued)) |
| 5129 | 5129 | ||
| 5130 | (defun verilog-backward-token () | 5130 | (defun verilog-backward-token () |
| 5131 | "Step backward token, returing true if this is a continued line." | 5131 | "Step backward token, returning true if this is a continued line." |
| 5132 | (interactive) | 5132 | (interactive) |
| 5133 | (verilog-backward-syntactic-ws) | 5133 | (verilog-backward-syntactic-ws) |
| 5134 | (cond | 5134 | (cond |
| @@ -6974,7 +6974,7 @@ Signals must be in standard (base vector) form." | |||
| 6974 | ;;(verilog-signals-not-in '(("A" "") ("B" "") ("DEL" "[2:3]")) '(("DEL" "") ("EXT" ""))) | 6974 | ;;(verilog-signals-not-in '(("A" "") ("B" "") ("DEL" "[2:3]")) '(("DEL" "") ("EXT" ""))) |
| 6975 | 6975 | ||
| 6976 | (defun verilog-signals-memory (in-list) | 6976 | (defun verilog-signals-memory (in-list) |
| 6977 | "Return list of signals in IN-LIST that are memoried (multidimensional)." | 6977 | "Return list of signals in IN-LIST that are memorized (multidimensional)." |
| 6978 | (let (out-list) | 6978 | (let (out-list) |
| 6979 | (while in-list | 6979 | (while in-list |
| 6980 | (if (nth 3 (car in-list)) | 6980 | (if (nth 3 (car in-list)) |
| @@ -11958,7 +11958,7 @@ Files are checked based on `verilog-library-flags'." | |||
| 11958 | (mouse-set-point event) | 11958 | (mouse-set-point event) |
| 11959 | (verilog-load-file-at-point t))) | 11959 | (verilog-load-file-at-point t))) |
| 11960 | 11960 | ||
| 11961 | ;; ffap isn't useable for Verilog mode. It uses library paths. | 11961 | ;; ffap isn't usable for Verilog mode. It uses library paths. |
| 11962 | ;; so define this function to do more or less the same as ffap | 11962 | ;; so define this function to do more or less the same as ffap |
| 11963 | ;; but first resolve filename... | 11963 | ;; but first resolve filename... |
| 11964 | (defun verilog-load-file-at-point (&optional warn) | 11964 | (defun verilog-load-file-at-point (&optional warn) |
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index 2f06afaa5ef..3a94601768d 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el | |||
| @@ -58,7 +58,7 @@ | |||
| 58 | ;; - Word/keyword completion | 58 | ;; - Word/keyword completion |
| 59 | ;; - Block commenting | 59 | ;; - Block commenting |
| 60 | ;; - Code fixing/alignment/beautification | 60 | ;; - Code fixing/alignment/beautification |
| 61 | ;; - Postscript printing | 61 | ;; - PostScript printing |
| 62 | ;; - VHDL'87/'93 and VHDL-AMS supported | 62 | ;; - VHDL'87/'93 and VHDL-AMS supported |
| 63 | ;; - Comprehensive menu | 63 | ;; - Comprehensive menu |
| 64 | ;; - Fully customizable | 64 | ;; - Fully customizable |
| @@ -1752,7 +1752,7 @@ NOTE: Activate the new setting in a VHDL buffer by using the menu entry | |||
| 1752 | 1752 | ||
| 1753 | (defcustom vhdl-print-two-column t | 1753 | (defcustom vhdl-print-two-column t |
| 1754 | "*Non-nil means print code in two columns and landscape format. | 1754 | "*Non-nil means print code in two columns and landscape format. |
| 1755 | Adjusts settings in a way that postscript printing (\"File\" menu, `ps-print') | 1755 | Adjusts settings in a way that PostScript printing (\"File\" menu, `ps-print') |
| 1756 | prints VHDL files in a nice two-column landscape style. | 1756 | prints VHDL files in a nice two-column landscape style. |
| 1757 | 1757 | ||
| 1758 | NOTE: Activate the new setting by restarting Emacs. | 1758 | NOTE: Activate the new setting by restarting Emacs. |
| @@ -1761,7 +1761,7 @@ NOTE: Activate the new setting by restarting Emacs. | |||
| 1761 | :group 'vhdl-print) | 1761 | :group 'vhdl-print) |
| 1762 | 1762 | ||
| 1763 | (defcustom vhdl-print-customize-faces t | 1763 | (defcustom vhdl-print-customize-faces t |
| 1764 | "*Non-nil means use an optimized set of faces for postscript printing. | 1764 | "*Non-nil means use an optimized set of faces for PostScript printing. |
| 1765 | 1765 | ||
| 1766 | NOTE: Activate the new setting by restarting Emacs. | 1766 | NOTE: Activate the new setting by restarting Emacs. |
| 1767 | Overrides `ps-print' settings locally." | 1767 | Overrides `ps-print' settings locally." |
| @@ -2131,7 +2131,7 @@ Ignore byte-compiler warnings you might see." | |||
| 2131 | (if (fboundp 'start-itimer) | 2131 | (if (fboundp 'start-itimer) |
| 2132 | (start-itimer "vhdl-mode" function secs repeat t) | 2132 | (start-itimer "vhdl-mode" function secs repeat t) |
| 2133 | ; (run-with-idle-timer secs repeat function))) | 2133 | ; (run-with-idle-timer secs repeat function))) |
| 2134 | ;; explicitely activate timer (necessary when Emacs is already idle) | 2134 | ;; explicitly activate timer (necessary when Emacs is already idle) |
| 2135 | (aset (run-with-idle-timer secs repeat function) 0 nil))) | 2135 | (aset (run-with-idle-timer secs repeat function) 0 nil))) |
| 2136 | 2136 | ||
| 2137 | (defun vhdl-warning-when-idle (&rest args) | 2137 | (defun vhdl-warning-when-idle (&rest args) |
| @@ -3117,7 +3117,7 @@ STRING are replaced by `-' and substrings are converted to lower case." | |||
| 3117 | 3117 | ||
| 3118 | 3118 | ||
| 3119 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 3119 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 3120 | ;;; Menues | 3120 | ;;; Menus |
| 3121 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 3121 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 3122 | 3122 | ||
| 3123 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 3123 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| @@ -4567,10 +4567,10 @@ Usage: | |||
| 4567 | 4567 | ||
| 4568 | 4568 | ||
| 4569 | PRINTING: | 4569 | PRINTING: |
| 4570 | Postscript printing with different faces (an optimized set of faces is | 4570 | PostScript printing with different faces (an optimized set of faces is |
| 4571 | used if `vhdl-print-customize-faces' is non-nil) or colors \(if | 4571 | used if `vhdl-print-customize-faces' is non-nil) or colors \(if |
| 4572 | `ps-print-color-p' is non-nil) is possible using the standard Emacs | 4572 | `ps-print-color-p' is non-nil) is possible using the standard Emacs |
| 4573 | postscript printing commands. Option `vhdl-print-two-column' defines | 4573 | PostScript printing commands. Option `vhdl-print-two-column' defines |
| 4574 | appropriate default settings for nice landscape two-column printing. | 4574 | appropriate default settings for nice landscape two-column printing. |
| 4575 | The paper format can be set by option `ps-paper-type'. Do not forget to | 4575 | The paper format can be set by option `ps-paper-type'. Do not forget to |
| 4576 | switch `ps-print-color-p' to nil for printing on black-and-white | 4576 | switch `ps-print-color-p' to nil for printing on black-and-white |
| @@ -12913,10 +12913,10 @@ This does background highlighting of translate-off regions.") | |||
| 12913 | (font-lock-mode t)) | 12913 | (font-lock-mode t)) |
| 12914 | 12914 | ||
| 12915 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 12915 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 12916 | ;; Initialization for postscript printing | 12916 | ;; Initialization for PostScript printing |
| 12917 | 12917 | ||
| 12918 | (defun vhdl-ps-print-settings () | 12918 | (defun vhdl-ps-print-settings () |
| 12919 | "Initialize custom face and page settings for postscript printing." | 12919 | "Initialize custom face and page settings for PostScript printing." |
| 12920 | ;; define custom face settings | 12920 | ;; define custom face settings |
| 12921 | (unless (or (not vhdl-print-customize-faces) | 12921 | (unless (or (not vhdl-print-customize-faces) |
| 12922 | ps-print-color-p) | 12922 | ps-print-color-p) |
| @@ -12951,7 +12951,7 @@ This does background highlighting of translate-off regions.") | |||
| 12951 | (set (make-local-variable 'ps-right-margin) 40.0)))) | 12951 | (set (make-local-variable 'ps-right-margin) 40.0)))) |
| 12952 | 12952 | ||
| 12953 | (defun vhdl-ps-print-init () | 12953 | (defun vhdl-ps-print-init () |
| 12954 | "Initialize postscript printing." | 12954 | "Initialize PostScript printing." |
| 12955 | (if (featurep 'xemacs) | 12955 | (if (featurep 'xemacs) |
| 12956 | (when (boundp 'ps-print-color-p) | 12956 | (when (boundp 'ps-print-color-p) |
| 12957 | (vhdl-ps-print-settings)) | 12957 | (vhdl-ps-print-settings)) |
| @@ -16857,7 +16857,7 @@ User Options | |||
| 16857 | `vhdl-configuration-file-name': (new) | 16857 | `vhdl-configuration-file-name': (new) |
| 16858 | Specify how the configuration file name is obtained. | 16858 | Specify how the configuration file name is obtained. |
| 16859 | `vhdl-compose-configuration-name': (new) | 16859 | `vhdl-compose-configuration-name': (new) |
| 16860 | Specify how the configuration name is optained. | 16860 | Specify how the configuration name is obtained. |
| 16861 | `vhdl-compose-configuration-create-file': (new) | 16861 | `vhdl-compose-configuration-create-file': (new) |
| 16862 | Specify whether a new file should be created for a configuration. | 16862 | Specify whether a new file should be created for a configuration. |
| 16863 | `vhdl-compose-configuration-hierarchical': (new) | 16863 | `vhdl-compose-configuration-hierarchical': (new) |
diff --git a/lisp/ps-mule.el b/lisp/ps-mule.el index c0e4d68107b..65cdb600d74 100644 --- a/lisp/ps-mule.el +++ b/lisp/ps-mule.el | |||
| @@ -1010,7 +1010,7 @@ the sequence." | |||
| 1010 | ps-mule-external-libraries)) | 1010 | ps-mule-external-libraries)) |
| 1011 | 1011 | ||
| 1012 | (defun ps-mule-encode-header-string (string fonttag) | 1012 | (defun ps-mule-encode-header-string (string fonttag) |
| 1013 | "Generate PostScript code for ploting STRING by font FONTTAG. | 1013 | "Generate PostScript code for plotting STRING by font FONTTAG. |
| 1014 | FONTTAG should be a string \"/h0\", \"/h1\", \"/L0\", or \"/H0\". | 1014 | FONTTAG should be a string \"/h0\", \"/h1\", \"/L0\", or \"/H0\". |
| 1015 | Any other value is treated as \"/H0\"." | 1015 | Any other value is treated as \"/H0\"." |
| 1016 | (with-temp-buffer | 1016 | (with-temp-buffer |
diff --git a/lisp/ps-samp.el b/lisp/ps-samp.el index 8b652b26082..bfdcd91d26a 100644 --- a/lisp/ps-samp.el +++ b/lisp/ps-samp.el | |||
| @@ -237,7 +237,7 @@ | |||
| 237 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 237 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 238 | 238 | ||
| 239 | ;; If zeroconf is enabled, all CUPS printers can be detected. The | 239 | ;; If zeroconf is enabled, all CUPS printers can be detected. The |
| 240 | ;; "Postscript printer" menu will be modified dynamically, as printers | 240 | ;; "PostScript printer" menu will be modified dynamically, as printers |
| 241 | ;; are added or removed. | 241 | ;; are added or removed. |
| 242 | 242 | ||
| 243 | ;; Preconditions: | 243 | ;; Preconditions: |
| @@ -257,7 +257,7 @@ | |||
| 257 | (require 'printing) | 257 | (require 'printing) |
| 258 | (require 'zeroconf) | 258 | (require 'zeroconf) |
| 259 | 259 | ||
| 260 | ;; Add a Postscript printer to the "Postscript printer" menu. | 260 | ;; Add a PostScript printer to the "PostScript printer" menu. |
| 261 | (defun ps-add-printer (service) | 261 | (defun ps-add-printer (service) |
| 262 | (let ((name (zeroconf-service-name service)) | 262 | (let ((name (zeroconf-service-name service)) |
| 263 | (text (zeroconf-service-txt service)) | 263 | (text (zeroconf-service-txt service)) |
| @@ -267,7 +267,7 @@ | |||
| 267 | ;; `text' is an array of key=value strings like ("Duplex=T" "Copies=T"). | 267 | ;; `text' is an array of key=value strings like ("Duplex=T" "Copies=T"). |
| 268 | (dolist (string text) | 268 | (dolist (string text) |
| 269 | (let ((split (split-string string "=" t))) | 269 | (let ((split (split-string string "=" t))) |
| 270 | ;; If it is a Postscript printer, there must be a string like | 270 | ;; If it is a PostScript printer, there must be a string like |
| 271 | ;; "pdl=application/postscript,application/vnd.hp-PCL,...". | 271 | ;; "pdl=application/postscript,application/vnd.hp-PCL,...". |
| 272 | (when (and (string-equal "pdl" (car split)) | 272 | (when (and (string-equal "pdl" (car split)) |
| 273 | (string-match "application/postscript" (cadr split))) | 273 | (string-match "application/postscript" (cadr split))) |
| @@ -288,7 +288,7 @@ | |||
| 288 | "-H" (format "%s:%s" addr port)))) | 288 | "-H" (format "%s:%s" addr port)))) |
| 289 | (pr-update-menus t)))) | 289 | (pr-update-menus t)))) |
| 290 | 290 | ||
| 291 | ;; Remove a printer from the "Postscript printer" menu. | 291 | ;; Remove a printer from the "PostScript printer" menu. |
| 292 | (defun ps-remove-printer (service) | 292 | (defun ps-remove-printer (service) |
| 293 | (setq pr-ps-printer-alist | 293 | (setq pr-ps-printer-alist |
| 294 | (delete (assoc (intern (zeroconf-service-name service)) | 294 | (delete (assoc (intern (zeroconf-service-name service)) |
diff --git a/lisp/recentf.el b/lisp/recentf.el index 79f4eb437d9..2dac870afd5 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el | |||
| @@ -567,7 +567,7 @@ menu-elements (no sub-menu)." | |||
| 567 | (if (and l (functionp filter)) | 567 | (if (and l (functionp filter)) |
| 568 | (let ((case-fold-search recentf-case-fold-search) | 568 | (let ((case-fold-search recentf-case-fold-search) |
| 569 | elts others) | 569 | elts others) |
| 570 | ;; split L into two sub-listes, one of sub-menus elements and | 570 | ;; split L into two sub-lists, one of sub-menus elements and |
| 571 | ;; another of single menu elements. | 571 | ;; another of single menu elements. |
| 572 | (dolist (elt l) | 572 | (dolist (elt l) |
| 573 | (if (recentf-sub-menu-element-p elt) | 573 | (if (recentf-sub-menu-element-p elt) |
diff --git a/lisp/repeat.el b/lisp/repeat.el index 8bab8691b4f..8ddc8d41429 100644 --- a/lisp/repeat.el +++ b/lisp/repeat.el | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | 26 | ||
| 27 | ;; Sometimes the fastest way to get something done is just to lean on a key; | 27 | ;; Sometimes the fastest way to get something done is just to lean on a key; |
| 28 | ;; moving forward through a series of words by leaning on M-f is an example. | 28 | ;; moving forward through a series of words by leaning on M-f is an example. |
| 29 | ;; But 'forward-page is orthodoxily bound to C-x ], so moving forward through | 29 | ;; But 'forward-page is orthodoxly bound to C-x ], so moving forward through |
| 30 | ;; several pages requires | 30 | ;; several pages requires |
| 31 | ;; Loop until desired page is reached: | 31 | ;; Loop until desired page is reached: |
| 32 | ;; Hold down control key with left pinkie. | 32 | ;; Hold down control key with left pinkie. |
diff --git a/lisp/replace.el b/lisp/replace.el index bf6425f4099..4ea3f747caa 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -1225,7 +1225,7 @@ See also `multi-occur'." | |||
| 1225 | 1225 | ||
| 1226 | (with-current-buffer occur-buf | 1226 | (with-current-buffer occur-buf |
| 1227 | (if (stringp nlines) | 1227 | (if (stringp nlines) |
| 1228 | (fundamental-mode) ;; This is for collect opeartion. | 1228 | (fundamental-mode) ;; This is for collect operation. |
| 1229 | (occur-mode)) | 1229 | (occur-mode)) |
| 1230 | (let ((inhibit-read-only t) | 1230 | (let ((inhibit-read-only t) |
| 1231 | ;; Don't generate undo entries for creation of the initial contents. | 1231 | ;; Don't generate undo entries for creation of the initial contents. |
diff --git a/lisp/ses.el b/lisp/ses.el index b1d7d7bfb9e..cdc58e12d00 100644 --- a/lisp/ses.el +++ b/lisp/ses.el | |||
| @@ -980,7 +980,7 @@ if the cell's value is unchanged and FORCE is nil." | |||
| 980 | (error "Circular references: %s" ses--deferred-recalc)) | 980 | (error "Circular references: %s" ses--deferred-recalc)) |
| 981 | (message " ")) | 981 | (message " ")) |
| 982 | ;; Can't use save-excursion here: if the cell under point is updated, | 982 | ;; Can't use save-excursion here: if the cell under point is updated, |
| 983 | ;; save-excusion's marker will move past the cell. | 983 | ;; save-excursion's marker will move past the cell. |
| 984 | (goto-char pos))) | 984 | (goto-char pos))) |
| 985 | 985 | ||
| 986 | 986 | ||
| @@ -1315,7 +1315,7 @@ Newlines in the data are escaped." | |||
| 1315 | (setq formula (cadr formula))) | 1315 | (setq formula (cadr formula))) |
| 1316 | (if (eq (car-safe printer) 'ses-safe-printer) | 1316 | (if (eq (car-safe printer) 'ses-safe-printer) |
| 1317 | (setq printer (cadr printer))) | 1317 | (setq printer (cadr printer))) |
| 1318 | ;; This is noticably faster than (format "%S %S %S %S %S") | 1318 | ;; This is noticeably faster than (format "%S %S %S %S %S") |
| 1319 | (setq text (concat "(ses-cell " | 1319 | (setq text (concat "(ses-cell " |
| 1320 | (symbol-name sym) | 1320 | (symbol-name sym) |
| 1321 | " " | 1321 | " " |
| @@ -2720,7 +2720,7 @@ When inserting cells, the formulas are usually relocated to keep the same | |||
| 2720 | relative references to neighboring cells. This is best if the formulas | 2720 | relative references to neighboring cells. This is best if the formulas |
| 2721 | generally refer to other cells within the yanked text. You can use the C-u | 2721 | generally refer to other cells within the yanked text. You can use the C-u |
| 2722 | prefix to specify insertion without relocation, which is best when the | 2722 | prefix to specify insertion without relocation, which is best when the |
| 2723 | formulas refer to cells outsite the yanked text. | 2723 | formulas refer to cells outside the yanked text. |
| 2724 | 2724 | ||
| 2725 | When inserting formulas, the text is treated as a string constant if it doesn't | 2725 | When inserting formulas, the text is treated as a string constant if it doesn't |
| 2726 | make sense as a sexp or would otherwise be considered a symbol. Use 'sym to | 2726 | make sense as a sexp or would otherwise be considered a symbol. Use 'sym to |
| @@ -3204,7 +3204,7 @@ By passing in REST some flags one can configure the way the range | |||
| 3204 | is read and how it is formatted. | 3204 | is read and how it is formatted. |
| 3205 | 3205 | ||
| 3206 | In the sequel we assume that cells A1, B1, A2 B2 have respective values | 3206 | In the sequel we assume that cells A1, B1, A2 B2 have respective values |
| 3207 | 1 2 3 and 4 for examplication. | 3207 | 1 2 3 and 4. |
| 3208 | 3208 | ||
| 3209 | Readout direction is specified by a `>v', '`>^', `<v', `<^', | 3209 | Readout direction is specified by a `>v', '`>^', `<v', `<^', |
| 3210 | `v>', `v<', `^>', `^<' flag. For historical reasons, in absence | 3210 | `v>', `v<', `^>', `^<' flag. For historical reasons, in absence |
| @@ -3230,7 +3230,7 @@ vector or a matrix depending on the number of rows, `*1' will | |||
| 3230 | flatten the result to a one row vector, and `*2' will make a | 3230 | flatten the result to a one row vector, and `*2' will make a |
| 3231 | matrix whatever the number of rows. | 3231 | matrix whatever the number of rows. |
| 3232 | 3232 | ||
| 3233 | Warning: interaction with Calc is expermimental and may produce | 3233 | Warning: interaction with Calc is experimental and may produce |
| 3234 | confusing results if you are not aware of Calc data format. Use | 3234 | confusing results if you are not aware of Calc data format. Use |
| 3235 | `math-format-value' as a printer for Calc objects." | 3235 | `math-format-value' as a printer for Calc objects." |
| 3236 | (let (result-row | 3236 | (let (result-row |
diff --git a/lisp/shell.el b/lisp/shell.el index c75594ddbe4..47119e6769c 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -89,7 +89,7 @@ | |||
| 89 | ;; comint-strip-ctrl-m Remove trailing ^Ms from output | 89 | ;; comint-strip-ctrl-m Remove trailing ^Ms from output |
| 90 | ;; | 90 | ;; |
| 91 | ;; The shell mode hook is shell-mode-hook | 91 | ;; The shell mode hook is shell-mode-hook |
| 92 | ;; comint-prompt-regexp is initialised to shell-prompt-pattern, for backwards | 92 | ;; comint-prompt-regexp is initialized to shell-prompt-pattern, for backwards |
| 93 | ;; compatibility. | 93 | ;; compatibility. |
| 94 | 94 | ||
| 95 | ;; Read the rest of this file for more information. | 95 | ;; Read the rest of this file for more information. |
| @@ -293,7 +293,7 @@ Value is a list of strings, which may be nil." | |||
| 293 | (getenv "ESHELL") shell-file-name)) | 293 | (getenv "ESHELL") shell-file-name)) |
| 294 | (name (file-name-nondirectory prog))) | 294 | (name (file-name-nondirectory prog))) |
| 295 | ;; Tell bash not to use readline, except for bash 1.x which | 295 | ;; Tell bash not to use readline, except for bash 1.x which |
| 296 | ;; doesn't grook --noediting. Bash 1.x has -nolineediting, but | 296 | ;; doesn't grok --noediting. Bash 1.x has -nolineediting, but |
| 297 | ;; process-send-eof cannot terminate bash if we use it. | 297 | ;; process-send-eof cannot terminate bash if we use it. |
| 298 | (if (and (not purify-flag) | 298 | (if (and (not purify-flag) |
| 299 | (equal name "bash") | 299 | (equal name "bash") |
diff --git a/lisp/simple.el b/lisp/simple.el index 90d22c817b0..1dc866cf64d 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -878,6 +878,7 @@ KILLFLAG is set if N was explicitly specified." | |||
| 878 | 878 | ||
| 879 | (defun mark-whole-buffer () | 879 | (defun mark-whole-buffer () |
| 880 | "Put point at beginning and mark at end of buffer. | 880 | "Put point at beginning and mark at end of buffer. |
| 881 | If narrowing is in effect, only uses the accessible part of the buffer. | ||
| 881 | You probably should not use this function in Lisp programs; | 882 | You probably should not use this function in Lisp programs; |
| 882 | it is usually a mistake for a Lisp function to use any subroutine | 883 | it is usually a mistake for a Lisp function to use any subroutine |
| 883 | that uses or sets the mark." | 884 | that uses or sets the mark." |
| @@ -2408,7 +2409,7 @@ and only used if a buffer is displayed." | |||
| 2408 | 1)) | 2409 | 1)) |
| 2409 | 1))) | 2410 | 1))) |
| 2410 | ;; Don't use the echo area if the output buffer is | 2411 | ;; Don't use the echo area if the output buffer is |
| 2411 | ;; already dispayed in the selected frame. | 2412 | ;; already displayed in the selected frame. |
| 2412 | (not (get-buffer-window (current-buffer)))) | 2413 | (not (get-buffer-window (current-buffer)))) |
| 2413 | ;; Echo area | 2414 | ;; Echo area |
| 2414 | (goto-char (point-max)) | 2415 | (goto-char (point-max)) |
| @@ -2657,7 +2658,7 @@ value passed." | |||
| 2657 | Per default, this variable is always set to `t', meaning that a | 2658 | Per default, this variable is always set to `t', meaning that a |
| 2658 | call of `process-file' could potentially change any file on a | 2659 | call of `process-file' could potentially change any file on a |
| 2659 | remote host. When set to `nil', a file handler could optimize | 2660 | remote host. When set to `nil', a file handler could optimize |
| 2660 | its behaviour with respect to remote file attributes caching. | 2661 | its behavior with respect to remote file attributes caching. |
| 2661 | 2662 | ||
| 2662 | This variable should never be changed by `setq'. Instead of, it | 2663 | This variable should never be changed by `setq'. Instead of, it |
| 2663 | shall be set only by let-binding.") | 2664 | shall be set only by let-binding.") |
| @@ -4276,8 +4277,8 @@ into account variable-width characters and line continuation. | |||
| 4276 | If nil, `line-move' moves point by logical lines. | 4277 | If nil, `line-move' moves point by logical lines. |
| 4277 | A non-nil setting of `goal-column' overrides the value of this variable | 4278 | A non-nil setting of `goal-column' overrides the value of this variable |
| 4278 | and forces movement by logical lines. | 4279 | and forces movement by logical lines. |
| 4279 | Disabling `auto-hscroll-mode' also overrides forces movement by logical | 4280 | A window that is horizontally scrolled also forces movement by logical |
| 4280 | lines when the window is horizontally scrolled." | 4281 | lines." |
| 4281 | :type 'boolean | 4282 | :type 'boolean |
| 4282 | :group 'editing-basics | 4283 | :group 'editing-basics |
| 4283 | :version "23.1") | 4284 | :version "23.1") |
| @@ -4323,7 +4324,7 @@ lines when the window is horizontally scrolled." | |||
| 4323 | (when (> rbot 0) | 4324 | (when (> rbot 0) |
| 4324 | (set-window-vscroll nil (+ vs (min rbot (frame-char-height))) t))) | 4325 | (set-window-vscroll nil (+ vs (min rbot (frame-char-height))) t))) |
| 4325 | ;; If cursor just entered the bottom scroll margin, move forward, | 4326 | ;; If cursor just entered the bottom scroll margin, move forward, |
| 4326 | ;; but also vscroll one line so redisplay wont recenter. | 4327 | ;; but also vscroll one line so redisplay won't recenter. |
| 4327 | ((and (> vpos 0) | 4328 | ((and (> vpos 0) |
| 4328 | (= py (min (- (window-text-height) scroll-margin 1) | 4329 | (= py (min (- (window-text-height) scroll-margin 1) |
| 4329 | (1- vpos)))) | 4330 | (1- vpos)))) |
| @@ -4357,12 +4358,10 @@ lines when the window is horizontally scrolled." | |||
| 4357 | (if (and line-move-visual | 4358 | (if (and line-move-visual |
| 4358 | ;; Display-based column are incompatible with goal-column. | 4359 | ;; Display-based column are incompatible with goal-column. |
| 4359 | (not goal-column) | 4360 | (not goal-column) |
| 4360 | ;; When auto-hscroll-mode is turned off and the text in | 4361 | ;; When the text in the window is scrolled to the left, |
| 4361 | ;; the window is scrolled to the left, display-based | 4362 | ;; display-based motion doesn't make sense (because each |
| 4362 | ;; motion doesn't make sense (because each logical line | 4363 | ;; logical line occupies exactly one screen line). |
| 4363 | ;; occupies exactly one screen line). | 4364 | (not (> (window-hscroll) 0))) |
| 4364 | (not (and (null auto-hscroll-mode) | ||
| 4365 | (> (window-hscroll) 0)))) | ||
| 4366 | (line-move-visual arg noerror) | 4365 | (line-move-visual arg noerror) |
| 4367 | (line-move-1 arg noerror to-end)))) | 4366 | (line-move-1 arg noerror to-end)))) |
| 4368 | 4367 | ||
diff --git a/lisp/speedbar.el b/lisp/speedbar.el index 3e707ff3832..30642e8f2f7 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el | |||
| @@ -35,7 +35,7 @@ this version is not backward compatible to 0.14 or earlier.") | |||
| 35 | ;; | 35 | ;; |
| 36 | ;;; Customizing and Developing for speedbar | 36 | ;;; Customizing and Developing for speedbar |
| 37 | ;; | 37 | ;; |
| 38 | ;; Please see the speedbar manual for informaion. | 38 | ;; Please see the speedbar manual for information. |
| 39 | ;; | 39 | ;; |
| 40 | ;;; Notes: | 40 | ;;; Notes: |
| 41 | ;; | 41 | ;; |
| @@ -471,7 +471,7 @@ Possible values are: | |||
| 471 | 'trim - trim large directories to only show the last few. | 471 | 'trim - trim large directories to only show the last few. |
| 472 | nil - no trimming." | 472 | nil - no trimming." |
| 473 | :group 'speedbar | 473 | :group 'speedbar |
| 474 | :type '(radio (const :tag "Span large directories over mutiple lines." | 474 | :type '(radio (const :tag "Span large directories over multiple lines." |
| 475 | span) | 475 | span) |
| 476 | (const :tag "Trim large directories to only show the last few." | 476 | (const :tag "Trim large directories to only show the last few." |
| 477 | trim) | 477 | trim) |
| @@ -631,8 +631,8 @@ with `.' followed by extensions, followed by full-filenames." | |||
| 631 | (substring (car extlist) 1))) | 631 | (substring (car extlist) 1))) |
| 632 | (setq regex2 (concat regex2 (if regex2 "\\|" "") (car extlist)))) | 632 | (setq regex2 (concat regex2 (if regex2 "\\|" "") (car extlist)))) |
| 633 | (setq extlist (cdr extlist))) | 633 | (setq extlist (cdr extlist))) |
| 634 | ;; concat all the sub-exressions together, making sure all types | 634 | ;; Concatenate all the subexpressions together, making sure all types |
| 635 | ;; of parts exist during concatination. | 635 | ;; of parts exist during concatenation. |
| 636 | (concat "\\(" | 636 | (concat "\\(" |
| 637 | (if regex1 (concat "\\(\\.\\(" regex1 "\\)\\)") "") | 637 | (if regex1 (concat "\\(\\.\\(" regex1 "\\)\\)") "") |
| 638 | (if (and regex1 regex2) "\\|" "") | 638 | (if (and regex1 regex2) "\\|" "") |
| @@ -1004,7 +1004,7 @@ supported at a time. | |||
| 1004 | #'speedbar-frame-mode | 1004 | #'speedbar-frame-mode |
| 1005 | (if (featurep 'xemacs) | 1005 | (if (featurep 'xemacs) |
| 1006 | (append speedbar-frame-plist | 1006 | (append speedbar-frame-plist |
| 1007 | ;; This is a hack to get speedbar to iconfiy | 1007 | ;; This is a hack to get speedbar to iconify |
| 1008 | ;; with the selected frame. | 1008 | ;; with the selected frame. |
| 1009 | (list 'parent (selected-frame))) | 1009 | (list 'parent (selected-frame))) |
| 1010 | speedbar-frame-parameters) | 1010 | speedbar-frame-parameters) |
| @@ -2100,12 +2100,12 @@ cell of the form ( 'DIRLIST . 'FILELIST )." | |||
| 2100 | (if (= index 0) | 2100 | (if (= index 0) |
| 2101 | ;; If the shown files variable has extra directories, then | 2101 | ;; If the shown files variable has extra directories, then |
| 2102 | ;; it is our responsibility to redraw them all | 2102 | ;; it is our responsibility to redraw them all |
| 2103 | ;; Luckilly, the nature of inserting items into this list means | 2103 | ;; Luckily, the nature of inserting items into this list means |
| 2104 | ;; that by reversing it, we can easilly go in the right order | 2104 | ;; that by reversing it, we can easilly go in the right order |
| 2105 | (let ((sf (cdr (reverse speedbar-shown-directories)))) | 2105 | (let ((sf (cdr (reverse speedbar-shown-directories)))) |
| 2106 | (setq speedbar-shown-directories | 2106 | (setq speedbar-shown-directories |
| 2107 | (list (expand-file-name default-directory))) | 2107 | (list (expand-file-name default-directory))) |
| 2108 | ;; exand them all as we find them | 2108 | ;; Expand them all as we find them. |
| 2109 | (while sf | 2109 | (while sf |
| 2110 | (if (speedbar-goto-this-file (car sf)) | 2110 | (if (speedbar-goto-this-file (car sf)) |
| 2111 | (progn | 2111 | (progn |
| @@ -2219,7 +2219,7 @@ passes some tests." | |||
| 2219 | ;; Go through all our bins Stick singles into our | 2219 | ;; Go through all our bins Stick singles into our |
| 2220 | ;; junk-list, everything else as sublsts in work-list. | 2220 | ;; junk-list, everything else as sublsts in work-list. |
| 2221 | ;; If two neighboring lists are both small, make a grouped | 2221 | ;; If two neighboring lists are both small, make a grouped |
| 2222 | ;; group combinding those two sub-lists. | 2222 | ;; group combining those two sub-lists. |
| 2223 | (setq diff-idx 0) | 2223 | (setq diff-idx 0) |
| 2224 | (while (> 256 diff-idx) | 2224 | (while (> 256 diff-idx) |
| 2225 | ;; The bins contents are currently in forward order. | 2225 | ;; The bins contents are currently in forward order. |
| @@ -3292,7 +3292,7 @@ With universal argument ARG, flush cached data." | |||
| 3292 | Optional argument ARG indicates that any cache should be flushed." | 3292 | Optional argument ARG indicates that any cache should be flushed." |
| 3293 | (interactive "P") | 3293 | (interactive "P") |
| 3294 | (speedbar-expand-line arg) | 3294 | (speedbar-expand-line arg) |
| 3295 | ;; Now, inside the area expaded here, expand all subnodes of | 3295 | ;; Now, inside the area expanded here, expand all subnodes of |
| 3296 | ;; the same descendant type. | 3296 | ;; the same descendant type. |
| 3297 | (save-excursion | 3297 | (save-excursion |
| 3298 | (speedbar-next 1) ;; Move into the list. | 3298 | (speedbar-next 1) ;; Move into the list. |
| @@ -3327,7 +3327,7 @@ current indentation level." | |||
| 3327 | (speedbar-find-file-in-frame (concat cdd text)) | 3327 | (speedbar-find-file-in-frame (concat cdd text)) |
| 3328 | (speedbar-stealthy-updates) | 3328 | (speedbar-stealthy-updates) |
| 3329 | (run-hooks 'speedbar-visiting-file-hook) | 3329 | (run-hooks 'speedbar-visiting-file-hook) |
| 3330 | ;; Reset the timer with a new timeout when cliking a file | 3330 | ;; Reset the timer with a new timeout when clicking a file |
| 3331 | ;; in case the user was navigating directories, we can cancel | 3331 | ;; in case the user was navigating directories, we can cancel |
| 3332 | ;; that other timer. | 3332 | ;; that other timer. |
| 3333 | (speedbar-set-timer dframe-update-speed)) | 3333 | (speedbar-set-timer dframe-update-speed)) |
| @@ -3447,7 +3447,7 @@ INDENT is the current indentation level." | |||
| 3447 | (select-frame f)) | 3447 | (select-frame f)) |
| 3448 | (speedbar-find-file-in-frame file) | 3448 | (speedbar-find-file-in-frame file) |
| 3449 | (save-excursion (speedbar-stealthy-updates)) | 3449 | (save-excursion (speedbar-stealthy-updates)) |
| 3450 | ;; Reset the timer with a new timeout when cliking a file | 3450 | ;; Reset the timer with a new timeout when clicking a file |
| 3451 | ;; in case the user was navigating directories, we can cancel | 3451 | ;; in case the user was navigating directories, we can cancel |
| 3452 | ;; that other timer. | 3452 | ;; that other timer. |
| 3453 | (speedbar-set-timer dframe-update-speed) | 3453 | (speedbar-set-timer dframe-update-speed) |
diff --git a/lisp/startup.el b/lisp/startup.el index 842548577c5..877ba1987f6 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1132,7 +1132,7 @@ the `--debug-init' option to view a complete error backtrace." | |||
| 1132 | (eq orig-enable-multibyte (default-value | 1132 | (eq orig-enable-multibyte (default-value |
| 1133 | 'enable-multibyte-characters))) | 1133 | 'enable-multibyte-characters))) |
| 1134 | ;; Init file changed to unibyte. Reset existing multibyte | 1134 | ;; Init file changed to unibyte. Reset existing multibyte |
| 1135 | ;; buffers (probably *scratch*, *Messages*, *Minibuff-0*). | 1135 | ;; buffers (probably *scratch*, *Messages*, *Minibuf-0*). |
| 1136 | ;; Arguably this should only be done if they're free of | 1136 | ;; Arguably this should only be done if they're free of |
| 1137 | ;; multibyte characters. | 1137 | ;; multibyte characters. |
| 1138 | (mapc (lambda (buffer) | 1138 | (mapc (lambda (buffer) |
diff --git a/lisp/subr.el b/lisp/subr.el index 1cd6598eeb5..6d652f55b29 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; subr.el --- basic lisp subroutines for Emacs | 1 | ;;; subr.el --- basic lisp subroutines for Emacs -*- coding: utf-8 -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985-1986, 1992, 1994-1995, 1999-2011 | 3 | ;; Copyright (C) 1985-1986, 1992, 1994-1995, 1999-2011 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index cfa406c2b48..ff528fcc9df 100644 --- a/lisp/tar-mode.el +++ b/lisp/tar-mode.el | |||
| @@ -142,7 +142,7 @@ This information is useful, but it takes screen space away from file names." | |||
| 142 | 142 | ||
| 143 | ;; The Tar data is made up of bytes and better manipulated as bytes | 143 | ;; The Tar data is made up of bytes and better manipulated as bytes |
| 144 | ;; and can be very large, so insert/delete can be costly. The summary we | 144 | ;; and can be very large, so insert/delete can be costly. The summary we |
| 145 | ;; want to display may contain non-ascci chars, of course, so we'd like it | 145 | ;; want to display may contain non-ascii chars, of course, so we'd like it |
| 146 | ;; to be multibyte. We used to keep both in the same buffer and switch | 146 | ;; to be multibyte. We used to keep both in the same buffer and switch |
| 147 | ;; from/to uni/multibyte. But this had several downsides: | 147 | ;; from/to uni/multibyte. But this had several downsides: |
| 148 | ;; - set-buffer-multibyte has an O(N^2) worst case that tends to be triggered | 148 | ;; - set-buffer-multibyte has an O(N^2) worst case that tends to be triggered |
diff --git a/lisp/term.el b/lisp/term.el index 87e5a734701..dc5ae29ffd2 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -294,7 +294,7 @@ | |||
| 294 | ;; # Notice that the ^[ character is an ESC, not two chars. You can | 294 | ;; # Notice that the ^[ character is an ESC, not two chars. You can |
| 295 | ;; # get it in various ways, for example by typing | 295 | ;; # get it in various ways, for example by typing |
| 296 | ;; # echo -e '\033' > escape.file | 296 | ;; # echo -e '\033' > escape.file |
| 297 | ;; # or by using your favourite editor | 297 | ;; # or by using your favorite editor |
| 298 | ;; | 298 | ;; |
| 299 | ;; foreach temp (cd pushd) | 299 | ;; foreach temp (cd pushd) |
| 300 | ;; alias $temp "$temp \!* ; echo 'AnSiTc' $cwd_hack" | 300 | ;; alias $temp "$temp \!* ; echo 'AnSiTc' $cwd_hack" |
| @@ -2122,7 +2122,7 @@ If this takes us past the end of the current line, don't skip at all." | |||
| 2122 | "Is point after the process output marker?" | 2122 | "Is point after the process output marker?" |
| 2123 | ;; Since output could come into the buffer after we looked at the point | 2123 | ;; Since output could come into the buffer after we looked at the point |
| 2124 | ;; but before we looked at the process marker's value, we explicitly | 2124 | ;; but before we looked at the process marker's value, we explicitly |
| 2125 | ;; serialise. This is just because I don't know whether or not Emacs | 2125 | ;; serialize. This is just because I don't know whether or not Emacs |
| 2126 | ;; services input during execution of lisp commands. | 2126 | ;; services input during execution of lisp commands. |
| 2127 | (let ((proc-pos (marker-position | 2127 | (let ((proc-pos (marker-position |
| 2128 | (process-mark (get-buffer-process (current-buffer)))))) | 2128 | (process-mark (get-buffer-process (current-buffer)))))) |
| @@ -3890,7 +3890,7 @@ if KIND is 1, erase from home to point; else erase from home to point-max." | |||
| 3890 | (goto-char (point-max)) | 3890 | (goto-char (point-max)) |
| 3891 | (recenter -1)) | 3891 | (recenter -1)) |
| 3892 | 3892 | ||
| 3893 | ;;; Do the user's customisation... | 3893 | ;;; Do the user's customization... |
| 3894 | 3894 | ||
| 3895 | (defvar term-load-hook nil | 3895 | (defvar term-load-hook nil |
| 3896 | "This hook is run when term is loaded in. | 3896 | "This hook is run when term is loaded in. |
diff --git a/lisp/term/internal.el b/lisp/term/internal.el index 43b799df1c9..a43864e36d6 100644 --- a/lisp/term/internal.el +++ b/lisp/term/internal.el | |||
| @@ -68,7 +68,7 @@ | |||
| 68 | ;; MULE charset, Emacs can display a single MULE charset with the | 68 | ;; MULE charset, Emacs can display a single MULE charset with the |
| 69 | ;; glyphs of the current codepage. When Emacs starts on DOS, it | 69 | ;; glyphs of the current codepage. When Emacs starts on DOS, it |
| 70 | ;; automatically sets its default coding systems for file I/O and | 70 | ;; automatically sets its default coding systems for file I/O and |
| 71 | ;; terminal output according to the currend DOS codepage, given by | 71 | ;; terminal output according to the current DOS codepage, given by |
| 72 | ;; the `dos-codepage' variable. | 72 | ;; the `dos-codepage' variable. |
| 73 | ;; | 73 | ;; |
| 74 | ;; This leaves us with the problem of displaying character sets | 74 | ;; This leaves us with the problem of displaying character sets |
diff --git a/lisp/term/iris-ansi.el b/lisp/term/iris-ansi.el index 490c06148a9..574b8389818 100644 --- a/lisp/term/iris-ansi.el +++ b/lisp/term/iris-ansi.el | |||
| @@ -136,7 +136,7 @@ | |||
| 136 | 136 | ||
| 137 | (define-key map "\e[Z" [?\S-\t]) | 137 | (define-key map "\e[Z" [?\S-\t]) |
| 138 | (define-key map "\e[072q" [?\C-\t]) | 138 | (define-key map "\e[072q" [?\C-\t]) |
| 139 | ;; This only works if you remove the M-TAB keybing from the system.4Dwmrc | 139 | ;; This only works if you remove the M-TAB keyring from the system.4Dwmrc |
| 140 | ;; our your ~/.4Dwmrc, if you use the 4Dwm window manager. | 140 | ;; our your ~/.4Dwmrc, if you use the 4Dwm window manager. |
| 141 | (define-key map "\e[073q" [?\M-\t]) | 141 | (define-key map "\e[073q" [?\M-\t]) |
| 142 | 142 | ||
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index 646b65abc60..db826f1db8a 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el | |||
| @@ -513,9 +513,6 @@ unless the current buffer is a scratch buffer." | |||
| 513 | 513 | ||
| 514 | ;;;; Frame-related functions. | 514 | ;;;; Frame-related functions. |
| 515 | 515 | ||
| 516 | ;; Don't show the frame name; that's redundant with Nextstep. | ||
| 517 | (setq-default mode-line-frame-identification '(" ")) | ||
| 518 | |||
| 519 | ;; nsterm.m | 516 | ;; nsterm.m |
| 520 | (defvar ns-alternate-modifier) | 517 | (defvar ns-alternate-modifier) |
| 521 | (defvar ns-right-alternate-modifier) | 518 | (defvar ns-right-alternate-modifier) |
diff --git a/lisp/term/pc-win.el b/lisp/term/pc-win.el index 4cb88f6bd23..284c164150d 100644 --- a/lisp/term/pc-win.el +++ b/lisp/term/pc-win.el | |||
| @@ -134,7 +134,7 @@ | |||
| 134 | ;; terminal-initialization function. Also, our handling of reverse | 134 | ;; terminal-initialization function. Also, our handling of reverse |
| 135 | ;; video is slightly different. | 135 | ;; video is slightly different. |
| 136 | (defun msdos-create-frame-with-faces (&optional parameters) | 136 | (defun msdos-create-frame-with-faces (&optional parameters) |
| 137 | "Create an frame on MS-DOS display. | 137 | "Create a frame on MS-DOS display. |
| 138 | Optional frame parameters PARAMETERS specify the frame parameters. | 138 | Optional frame parameters PARAMETERS specify the frame parameters. |
| 139 | Parameters not specified by PARAMETERS are taken from | 139 | Parameters not specified by PARAMETERS are taken from |
| 140 | `default-frame-alist'. If either PARAMETERS or `default-frame-alist' | 140 | `default-frame-alist'. If either PARAMETERS or `default-frame-alist' |
diff --git a/lisp/term/rxvt.el b/lisp/term/rxvt.el index 0e9de519c8c..14c4ce1c8b7 100644 --- a/lisp/term/rxvt.el +++ b/lisp/term/rxvt.el | |||
| @@ -114,11 +114,11 @@ | |||
| 114 | 114 | ||
| 115 | (defvar rxvt-alternatives-map | 115 | (defvar rxvt-alternatives-map |
| 116 | (let ((map (make-sparse-keymap))) | 116 | (let ((map (make-sparse-keymap))) |
| 117 | ;; The terminal intialization C code file might have initialized | 117 | ;; The terminal initialization C code file might have initialized |
| 118 | ;; function keys F11->F42 from the termcap/terminfo information. On | 118 | ;; function keys F11->F42 from the termcap/terminfo information. On |
| 119 | ;; a PC-style keyboard these keys correspond to | 119 | ;; a PC-style keyboard these keys correspond to |
| 120 | ;; MODIFIER-FUNCTION_KEY, where modifier is S-, C-, C-S-. The | 120 | ;; MODIFIER-FUNCTION_KEY, where modifier is S-, C-, C-S-. The |
| 121 | ;; code here subsitutes the corresponding defintions in | 121 | ;; code here subsitutes the corresponding definitions in |
| 122 | ;; function-key-map. This substitution is needed because if a key | 122 | ;; function-key-map. This substitution is needed because if a key |
| 123 | ;; definition if found in function-key-map, there are no further | 123 | ;; definition if found in function-key-map, there are no further |
| 124 | ;; lookups in other keymaps. | 124 | ;; lookups in other keymaps. |
diff --git a/lisp/term/tty-colors.el b/lisp/term/tty-colors.el index 9a900916830..d62db664d21 100644 --- a/lisp/term/tty-colors.el +++ b/lisp/term/tty-colors.el | |||
| @@ -76,7 +76,7 @@ | |||
| 76 | ;; defined for the MS-DOS and MS-Windows consoles, because the users | 76 | ;; defined for the MS-DOS and MS-Windows consoles, because the users |
| 77 | ;; on those systems expect these colors to be available. | 77 | ;; on those systems expect these colors to be available. |
| 78 | ;; | 78 | ;; |
| 79 | ;; For these reasons, package maintaners are advised NOT to use color | 79 | ;; For these reasons, package maintainers are advised NOT to use color |
| 80 | ;; names such as "lightred" or "lightblue", because they will have | 80 | ;; names such as "lightred" or "lightblue", because they will have |
| 81 | ;; different effect on different displays. Instead, use "red1" and | 81 | ;; different effect on different displays. Instead, use "red1" and |
| 82 | ;; "blue1", respectively. | 82 | ;; "blue1", respectively. |
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index e3c42626a3f..05e18ed24a0 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el | |||
| @@ -1226,7 +1226,7 @@ The value nil is the same as the list (UTF8_STRING COMPOUND_TEXT STRING)." | |||
| 1226 | (if (string= clip-text "") (setq clip-text nil)) | 1226 | (if (string= clip-text "") (setq clip-text nil)) |
| 1227 | 1227 | ||
| 1228 | ;; Check the CLIPBOARD selection for 'newness', is it different | 1228 | ;; Check the CLIPBOARD selection for 'newness', is it different |
| 1229 | ;; from what we remebered them to be last time we did a | 1229 | ;; from what we remembered them to be last time we did a |
| 1230 | ;; cut/paste operation. | 1230 | ;; cut/paste operation. |
| 1231 | (setq clip-text | 1231 | (setq clip-text |
| 1232 | (cond ;; check clipboard | 1232 | (cond ;; check clipboard |
| @@ -1243,7 +1243,7 @@ The value nil is the same as the list (UTF8_STRING COMPOUND_TEXT STRING)." | |||
| 1243 | (when x-select-enable-primary | 1243 | (when x-select-enable-primary |
| 1244 | (setq primary-text (x-selection-value-internal 'PRIMARY)) | 1244 | (setq primary-text (x-selection-value-internal 'PRIMARY)) |
| 1245 | ;; Check the PRIMARY selection for 'newness', is it different | 1245 | ;; Check the PRIMARY selection for 'newness', is it different |
| 1246 | ;; from what we remebered them to be last time we did a | 1246 | ;; from what we remembered them to be last time we did a |
| 1247 | ;; cut/paste operation. | 1247 | ;; cut/paste operation. |
| 1248 | (setq primary-text | 1248 | (setq primary-text |
| 1249 | (cond ;; check primary selection | 1249 | (cond ;; check primary selection |
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index 47da0bf4de5..c2856660ea8 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el | |||
| @@ -460,7 +460,7 @@ features. Set to nil to skip the checks." | |||
| 460 | "Terminal initialization function for xterm." | 460 | "Terminal initialization function for xterm." |
| 461 | ;; rxvt terminals sometimes set the TERM variable to "xterm", but | 461 | ;; rxvt terminals sometimes set the TERM variable to "xterm", but |
| 462 | ;; rxvt's keybindings are incompatible with xterm's. It is | 462 | ;; rxvt's keybindings are incompatible with xterm's. It is |
| 463 | ;; better in that case to use rxvt's initializion function. | 463 | ;; better in that case to use rxvt's initialization function. |
| 464 | (if (and (getenv "COLORTERM" (selected-frame)) | 464 | (if (and (getenv "COLORTERM" (selected-frame)) |
| 465 | (string-match "\\`rxvt" (getenv "COLORTERM" (selected-frame)))) | 465 | (string-match "\\`rxvt" (getenv "COLORTERM" (selected-frame)))) |
| 466 | (tty-run-terminal-initialization (selected-frame) "rxvt") | 466 | (tty-run-terminal-initialization (selected-frame) "rxvt") |
diff --git a/lisp/terminal.el b/lisp/terminal.el index 6fdaecf9c9c..99f652f7df4 100644 --- a/lisp/terminal.el +++ b/lisp/terminal.el | |||
| @@ -1285,7 +1285,7 @@ in the directory specified by `te-terminfo-directory'." | |||
| 1285 | ;; Rename it to the desired name. | 1285 | ;; Rename it to the desired name. |
| 1286 | ;; We use this roundabout approach | 1286 | ;; We use this roundabout approach |
| 1287 | ;; to avoid any risk of writing a name that | 1287 | ;; to avoid any risk of writing a name that |
| 1288 | ;; was michievouslyt set up as a symlink. | 1288 | ;; was mischievously set up as a symlink. |
| 1289 | (rename-file temp-file file-name)) | 1289 | (rename-file temp-file file-name)) |
| 1290 | ;; Now compile that source to make the binary that the | 1290 | ;; Now compile that source to make the binary that the |
| 1291 | ;; programs actually use. | 1291 | ;; programs actually use. |
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index 2325d7b26ff..d13437f4c7c 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el | |||
| @@ -2263,7 +2263,7 @@ Returns a DIRECTION, a number 0--7, coded as follows: | |||
| 2263 | 2263 | ||
| 2264 | 2264 | ||
| 2265 | ;; Things for drawing lines in all directions. | 2265 | ;; Things for drawing lines in all directions. |
| 2266 | ;; The line drawing engine is the eight-point alrogithm. | 2266 | ;; The line drawing engine is the eight-point algorithm. |
| 2267 | ;; | 2267 | ;; |
| 2268 | ;; A line is here a list of (x y saved-char new-char)s. | 2268 | ;; A line is here a list of (x y saved-char new-char)s. |
| 2269 | ;; | 2269 | ;; |
| @@ -2437,7 +2437,7 @@ in the coord." | |||
| 2437 | point-list)) | 2437 | point-list)) |
| 2438 | 2438 | ||
| 2439 | ;; artist-save-chars-under-point-list | 2439 | ;; artist-save-chars-under-point-list |
| 2440 | ;; Remebers the chars that were there before we did draw the line. | 2440 | ;; Remembers the chars that were there before we did draw the line. |
| 2441 | ;; Returns point-list. | 2441 | ;; Returns point-list. |
| 2442 | ;; | 2442 | ;; |
| 2443 | (defun artist-save-chars-under-point-list (point-list) | 2443 | (defun artist-save-chars-under-point-list (point-list) |
| @@ -2514,7 +2514,7 @@ This function returns a point-list." | |||
| 2514 | 2514 | ||
| 2515 | 2515 | ||
| 2516 | ;; | 2516 | ;; |
| 2517 | ;; functions for accessing endoints and elements in object requiring | 2517 | ;; functions for accessing endpoints and elements in object requiring |
| 2518 | ;; 2 endpoints | 2518 | ;; 2 endpoints |
| 2519 | ;; | 2519 | ;; |
| 2520 | 2520 | ||
| @@ -3582,7 +3582,7 @@ FILL-INFO is a list of vectors on the form [X Y ELLIPSE-WIDTH-ON-THIS-LINE]." | |||
| 3582 | (width (abs (- x2 x1))) | 3582 | (width (abs (- x2 x1))) |
| 3583 | (height (abs (- y2 y1))) | 3583 | (height (abs (- y2 y1))) |
| 3584 | ;; When drawing our circle, we want it to through the cursor | 3584 | ;; When drawing our circle, we want it to through the cursor |
| 3585 | ;; just as when drawing the ellispe, but we have to take | 3585 | ;; just as when drawing the ellipse, but we have to take |
| 3586 | ;; care for the aspect-ratio. | 3586 | ;; care for the aspect-ratio. |
| 3587 | ;; The equation for the ellipse (where a is the x-radius and | 3587 | ;; The equation for the ellipse (where a is the x-radius and |
| 3588 | ;; b is the y-radius): | 3588 | ;; b is the y-radius): |
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 741b6cd904c..c9b1c44eb91 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el | |||
| @@ -3595,7 +3595,7 @@ If optional arg CONTENT is non-nil extract content of text fields." | |||
| 3595 | (defun bibtex-autofill-entry () | 3595 | (defun bibtex-autofill-entry () |
| 3596 | "Try to fill fields of current BibTeX entry based on neighboring entries. | 3596 | "Try to fill fields of current BibTeX entry based on neighboring entries. |
| 3597 | The current entry must have a key. Determine the neighboring entry | 3597 | The current entry must have a key. Determine the neighboring entry |
| 3598 | \(previouse or next\) whose key is more similar to the key of the current | 3598 | \(previous or next\) whose key is more similar to the key of the current |
| 3599 | entry. For all empty fields of the current entry insert the corresponding | 3599 | entry. For all empty fields of the current entry insert the corresponding |
| 3600 | field contents of the neighboring entry. Finally try to update the text | 3600 | field contents of the neighboring entry. Finally try to update the text |
| 3601 | based on the difference between the keys of the neighboring and the current | 3601 | based on the difference between the keys of the neighboring and the current |
| @@ -3941,7 +3941,7 @@ If `bibtex-files' is non-nil, search all these files. | |||
| 3941 | Otherwise the search is limited to the current buffer. | 3941 | Otherwise the search is limited to the current buffer. |
| 3942 | Return position of entry if CROSSREF-KEY is found or nil otherwise. | 3942 | Return position of entry if CROSSREF-KEY is found or nil otherwise. |
| 3943 | If CROSSREF-KEY is in the same buffer like current entry but before it | 3943 | If CROSSREF-KEY is in the same buffer like current entry but before it |
| 3944 | an error is signaled. If NOERRER is non-nil this error is suppressed. | 3944 | an error is signaled. If NOERROR is non-nil this error is suppressed. |
| 3945 | Optional arg PNT is the position of the referencing entry. It defaults | 3945 | Optional arg PNT is the position of the referencing entry. It defaults |
| 3946 | to position of point. If optional arg SPLIT is non-nil, split window | 3946 | to position of point. If optional arg SPLIT is non-nil, split window |
| 3947 | so that both the referencing and the crossrefed entry are displayed. | 3947 | so that both the referencing and the crossrefed entry are displayed. |
diff --git a/lisp/textmodes/conf-mode.el b/lisp/textmodes/conf-mode.el index 5cc5ba45e13..1127e6a5d20 100644 --- a/lisp/textmodes/conf-mode.el +++ b/lisp/textmodes/conf-mode.el | |||
| @@ -155,7 +155,7 @@ not align (only setting space according to `conf-assignment-space')." | |||
| 155 | (modify-syntax-entry ?/ ". 124" table) | 155 | (modify-syntax-entry ?/ ". 124" table) |
| 156 | (modify-syntax-entry ?* ". 23b" table) | 156 | (modify-syntax-entry ?* ". 23b" table) |
| 157 | table) | 157 | table) |
| 158 | "Syntax table in use in Java prperties buffers.") | 158 | "Syntax table in use in Java properties buffers.") |
| 159 | 159 | ||
| 160 | (defvar conf-ppd-mode-syntax-table | 160 | (defvar conf-ppd-mode-syntax-table |
| 161 | (let ((table (make-syntax-table conf-mode-syntax-table))) | 161 | (let ((table (make-syntax-table conf-mode-syntax-table))) |
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index a5099311307..d54debcec4c 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -715,7 +715,7 @@ not the very same deplacement command." | |||
| 715 | (remove-hook 'after-change-functions 'flyspell-after-change-function t) | 715 | (remove-hook 'after-change-functions 'flyspell-after-change-function t) |
| 716 | (remove-hook 'hack-local-variables-hook | 716 | (remove-hook 'hack-local-variables-hook |
| 717 | (function flyspell-hack-local-variables-hook) t) | 717 | (function flyspell-hack-local-variables-hook) t) |
| 718 | ;; we remove all the flyspell hilightings | 718 | ;; we remove all the flyspell highlightings |
| 719 | (flyspell-delete-all-overlays) | 719 | (flyspell-delete-all-overlays) |
| 720 | ;; we have to erase pre cache variables | 720 | ;; we have to erase pre cache variables |
| 721 | (setq flyspell-pre-buffer nil) | 721 | (setq flyspell-pre-buffer nil) |
| @@ -1446,7 +1446,7 @@ The buffer to mark them in is `flyspell-large-region-buffer'." | |||
| 1446 | ;; is used, string is a TeX command | 1446 | ;; is used, string is a TeX command |
| 1447 | ;; (char before beginning of word is | 1447 | ;; (char before beginning of word is |
| 1448 | ;; backslash) and none of the previous | 1448 | ;; backslash) and none of the previous |
| 1449 | ;; contitions match | 1449 | ;; conditions match. |
| 1450 | (and (not ispell-really-aspell) | 1450 | (and (not ispell-really-aspell) |
| 1451 | (save-excursion | 1451 | (save-excursion |
| 1452 | (goto-char (- (nth 1 found-list) 1)) | 1452 | (goto-char (- (nth 1 found-list) 1)) |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index d22346b518b..704fad4fb3b 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -2284,7 +2284,7 @@ Otherwise the variable `ispell-grep-command' contains the command used to | |||
| 2284 | search for the words (usually egrep). | 2284 | search for the words (usually egrep). |
| 2285 | 2285 | ||
| 2286 | Optional second argument contains the dictionary to use; the default is | 2286 | Optional second argument contains the dictionary to use; the default is |
| 2287 | `ispell-alternate-dictionary', overriden by `ispell-complete-word-dict' | 2287 | `ispell-alternate-dictionary', overridden by `ispell-complete-word-dict' |
| 2288 | if defined." | 2288 | if defined." |
| 2289 | ;; We don't use the filter for this function, rather the result is written | 2289 | ;; We don't use the filter for this function, rather the result is written |
| 2290 | ;; into a buffer. Hence there is no need to save the filter values. | 2290 | ;; into a buffer. Hence there is no need to save the filter values. |
| @@ -3503,7 +3503,7 @@ Don't read buffer-local settings or word lists." | |||
| 3503 | '( | 3503 | '( |
| 3504 | ;; Don't spell check signatures | 3504 | ;; Don't spell check signatures |
| 3505 | "^-- $" | 3505 | "^-- $" |
| 3506 | ;; Matches postscript files. | 3506 | ;; Matches PostScript files. |
| 3507 | ;;"^%!PS-Adobe-[123].0" | 3507 | ;;"^%!PS-Adobe-[123].0" |
| 3508 | ;; Matches uuencoded text | 3508 | ;; Matches uuencoded text |
| 3509 | ;;"^begin [0-9][0-9][0-9] .*\nM.*\nM.*\nM" | 3509 | ;;"^begin [0-9][0-9][0-9] .*\nM.*\nM.*\nM" |
diff --git a/lisp/textmodes/page-ext.el b/lisp/textmodes/page-ext.el index 6e73fda662b..91f6624e7a3 100644 --- a/lisp/textmodes/page-ext.el +++ b/lisp/textmodes/page-ext.el | |||
| @@ -435,7 +435,7 @@ REVERSE (non-nil means reverse order), BEG and END (region to sort)." | |||
| 435 | (skip-chars-forward " \t\n") | 435 | (skip-chars-forward " \t\n") |
| 436 | )) | 436 | )) |
| 437 | 437 | ||
| 438 | ;; ENDRECFUN is is called with point within the record. | 438 | ;; ENDRECFUN is called with point within the record. |
| 439 | ;; It should move point to the end of the record. | 439 | ;; It should move point to the end of the record. |
| 440 | (function (lambda () | 440 | (function (lambda () |
| 441 | (if (re-search-forward | 441 | (if (re-search-forward |
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el index 78d80da41ac..eb0e734080e 100644 --- a/lisp/textmodes/reftex-cite.el +++ b/lisp/textmodes/reftex-cite.el | |||
| @@ -69,7 +69,7 @@ | |||
| 69 | (unless (eq (get 'reftex-default-bibliography :reftex-raw) | 69 | (unless (eq (get 'reftex-default-bibliography :reftex-raw) |
| 70 | reftex-default-bibliography) | 70 | reftex-default-bibliography) |
| 71 | (put 'reftex-default-bibliography :reftex-expanded | 71 | (put 'reftex-default-bibliography :reftex-expanded |
| 72 | (reftex-locate-bibliography-files | 72 | (reftex-locate-bibliography-files |
| 73 | default-directory reftex-default-bibliography)) | 73 | default-directory reftex-default-bibliography)) |
| 74 | (put 'reftex-default-bibliography :reftex-raw | 74 | (put 'reftex-default-bibliography :reftex-raw |
| 75 | reftex-default-bibliography)) | 75 | reftex-default-bibliography)) |
| @@ -128,7 +128,7 @@ | |||
| 128 | ;; If RETURN is non-nil, just return the entry and restore point. | 128 | ;; If RETURN is non-nil, just return the entry and restore point. |
| 129 | 129 | ||
| 130 | (let* ((re | 130 | (let* ((re |
| 131 | (if item | 131 | (if item |
| 132 | (concat "\\\\bibitem\\(\\[[^]]*\\]\\)?{" (regexp-quote key) "}") | 132 | (concat "\\\\bibitem\\(\\[[^]]*\\]\\)?{" (regexp-quote key) "}") |
| 133 | (concat "@[a-zA-Z]+[ \t\n\r]*[{(][ \t\n\r]*" (regexp-quote key) | 133 | (concat "@[a-zA-Z]+[ \t\n\r]*[{(][ \t\n\r]*" (regexp-quote key) |
| 134 | "[, \t\r\n}]"))) | 134 | "[, \t\r\n}]"))) |
| @@ -152,7 +152,7 @@ | |||
| 152 | (when return | 152 | (when return |
| 153 | ;; Just return the relevant entry | 153 | ;; Just return the relevant entry |
| 154 | (if item (goto-char (match-end 0))) | 154 | (if item (goto-char (match-end 0))) |
| 155 | (setq return (buffer-substring | 155 | (setq return (buffer-substring |
| 156 | (point) (reftex-end-of-bib-entry item))) | 156 | (point) (reftex-end-of-bib-entry item))) |
| 157 | (goto-char oldpos) ;; restore point. | 157 | (goto-char oldpos) ;; restore point. |
| 158 | (set-buffer buffer-conf) | 158 | (set-buffer buffer-conf) |
| @@ -169,9 +169,9 @@ | |||
| 169 | (error "No BibTeX entry with citation key %s" key))))) | 169 | (error "No BibTeX entry with citation key %s" key))))) |
| 170 | 170 | ||
| 171 | (defun reftex-end-of-bib-entry (item) | 171 | (defun reftex-end-of-bib-entry (item) |
| 172 | (save-excursion | 172 | (save-excursion |
| 173 | (condition-case nil | 173 | (condition-case nil |
| 174 | (if item | 174 | (if item |
| 175 | (progn (end-of-line) | 175 | (progn (end-of-line) |
| 176 | (re-search-forward | 176 | (re-search-forward |
| 177 | "\\\\bibitem\\|\\end{thebibliography}") | 177 | "\\\\bibitem\\|\\end{thebibliography}") |
| @@ -192,16 +192,16 @@ | |||
| 192 | 192 | ||
| 193 | ;; Read a regexp, completing on known citation keys. | 193 | ;; Read a regexp, completing on known citation keys. |
| 194 | (setq default (regexp-quote (reftex-get-bibkey-default))) | 194 | (setq default (regexp-quote (reftex-get-bibkey-default))) |
| 195 | (setq re-list | 195 | (setq re-list |
| 196 | (split-string | 196 | (split-string |
| 197 | (completing-read | 197 | (completing-read |
| 198 | (concat | 198 | (concat |
| 199 | "Regex { && Regex...}: " | 199 | "Regex { && Regex...}: " |
| 200 | "[" default "]: ") | 200 | "[" default "]: ") |
| 201 | (if reftex-mode | 201 | (if reftex-mode |
| 202 | (if (fboundp 'LaTeX-bibitem-list) | 202 | (if (fboundp 'LaTeX-bibitem-list) |
| 203 | (LaTeX-bibitem-list) | 203 | (LaTeX-bibitem-list) |
| 204 | (cdr (assoc 'bibview-cache | 204 | (cdr (assoc 'bibview-cache |
| 205 | (symbol-value reftex-docstruct-symbol)))) | 205 | (symbol-value reftex-docstruct-symbol)))) |
| 206 | nil) | 206 | nil) |
| 207 | nil nil nil 'reftex-cite-regexp-hist) | 207 | nil nil nil 'reftex-cite-regexp-hist) |
| @@ -248,7 +248,7 @@ | |||
| 248 | (error (goto-char key-point) | 248 | (error (goto-char key-point) |
| 249 | (throw 'search-again nil))) | 249 | (throw 'search-again nil))) |
| 250 | (setq end-point (point)) | 250 | (setq end-point (point)) |
| 251 | 251 | ||
| 252 | ;; Ignore @string, @comment and @c entries or things | 252 | ;; Ignore @string, @comment and @c entries or things |
| 253 | ;; outside entries | 253 | ;; outside entries |
| 254 | (when (or (string= (downcase (match-string 2)) "string") | 254 | (when (or (string= (downcase (match-string 2)) "string") |
| @@ -257,12 +257,12 @@ | |||
| 257 | (< (point) key-point)) ; this means match not in {} | 257 | (< (point) key-point)) ; this means match not in {} |
| 258 | (goto-char key-point) | 258 | (goto-char key-point) |
| 259 | (throw 'search-again nil)) | 259 | (throw 'search-again nil)) |
| 260 | 260 | ||
| 261 | ;; Well, we have got a match | 261 | ;; Well, we have got a match |
| 262 | ;;(setq entry (concat | 262 | ;;(setq entry (concat |
| 263 | ;; (buffer-substring start-point (point)) "\n")) | 263 | ;; (buffer-substring start-point (point)) "\n")) |
| 264 | (setq entry (buffer-substring start-point (point))) | 264 | (setq entry (buffer-substring start-point (point))) |
| 265 | 265 | ||
| 266 | ;; Check if other regexp match as well | 266 | ;; Check if other regexp match as well |
| 267 | (setq re-list rest-re) | 267 | (setq re-list rest-re) |
| 268 | (while re-list | 268 | (while re-list |
| @@ -270,24 +270,24 @@ | |||
| 270 | ;; nope - move on | 270 | ;; nope - move on |
| 271 | (throw 'search-again nil)) | 271 | (throw 'search-again nil)) |
| 272 | (pop re-list)) | 272 | (pop re-list)) |
| 273 | 273 | ||
| 274 | (setq alist (reftex-parse-bibtex-entry | 274 | (setq alist (reftex-parse-bibtex-entry |
| 275 | nil start-point end-point)) | 275 | nil start-point end-point)) |
| 276 | (push (cons "&entry" entry) alist) | 276 | (push (cons "&entry" entry) alist) |
| 277 | 277 | ||
| 278 | ;; check for crossref entries | 278 | ;; check for crossref entries |
| 279 | (if (assoc "crossref" alist) | 279 | (if (assoc "crossref" alist) |
| 280 | (setq alist | 280 | (setq alist |
| 281 | (append | 281 | (append |
| 282 | alist (reftex-get-crossref-alist alist)))) | 282 | alist (reftex-get-crossref-alist alist)))) |
| 283 | 283 | ||
| 284 | ;; format the entry | 284 | ;; format the entry |
| 285 | (push (cons "&formatted" (reftex-format-bib-entry alist)) | 285 | (push (cons "&formatted" (reftex-format-bib-entry alist)) |
| 286 | alist) | 286 | alist) |
| 287 | 287 | ||
| 288 | ;; make key the first element | 288 | ;; make key the first element |
| 289 | (push (reftex-get-bib-field "&key" alist) alist) | 289 | (push (reftex-get-bib-field "&key" alist) alist) |
| 290 | 290 | ||
| 291 | ;; add it to the list | 291 | ;; add it to the list |
| 292 | (push alist found-list))))) | 292 | (push alist found-list))))) |
| 293 | (reftex-kill-temporary-buffers)))) | 293 | (reftex-kill-temporary-buffers)))) |
| @@ -350,7 +350,7 @@ | |||
| 350 | (unless files | 350 | (unless files |
| 351 | (error "Need file name to find thebibliography environment")) | 351 | (error "Need file name to find thebibliography environment")) |
| 352 | (while (setq file (pop files)) | 352 | (while (setq file (pop files)) |
| 353 | (setq buf (reftex-get-file-buffer-force | 353 | (setq buf (reftex-get-file-buffer-force |
| 354 | file (not reftex-keep-temporary-buffers))) | 354 | file (not reftex-keep-temporary-buffers))) |
| 355 | (unless buf | 355 | (unless buf |
| 356 | (error "No such file %s" file)) | 356 | (error "No such file %s" file)) |
| @@ -386,16 +386,16 @@ | |||
| 386 | 386 | ||
| 387 | ;; Read a regexp, completing on known citation keys. | 387 | ;; Read a regexp, completing on known citation keys. |
| 388 | (setq default (regexp-quote (reftex-get-bibkey-default))) | 388 | (setq default (regexp-quote (reftex-get-bibkey-default))) |
| 389 | (setq re-list | 389 | (setq re-list |
| 390 | (split-string | 390 | (split-string |
| 391 | (completing-read | 391 | (completing-read |
| 392 | (concat | 392 | (concat |
| 393 | "Regex { && Regex...}: " | 393 | "Regex { && Regex...}: " |
| 394 | "[" default "]: ") | 394 | "[" default "]: ") |
| 395 | (if reftex-mode | 395 | (if reftex-mode |
| 396 | (if (fboundp 'LaTeX-bibitem-list) | 396 | (if (fboundp 'LaTeX-bibitem-list) |
| 397 | (LaTeX-bibitem-list) | 397 | (LaTeX-bibitem-list) |
| 398 | (cdr (assoc 'bibview-cache | 398 | (cdr (assoc 'bibview-cache |
| 399 | (symbol-value reftex-docstruct-symbol)))) | 399 | (symbol-value reftex-docstruct-symbol)))) |
| 400 | nil) | 400 | nil) |
| 401 | nil nil nil 'reftex-cite-regexp-hist) | 401 | nil nil nil 'reftex-cite-regexp-hist) |
| @@ -408,14 +408,14 @@ | |||
| 408 | (error "Empty regular expression")) | 408 | (error "Empty regular expression")) |
| 409 | 409 | ||
| 410 | (while (and (setq re (pop re-list)) entries) | 410 | (while (and (setq re (pop re-list)) entries) |
| 411 | (setq entries | 411 | (setq entries |
| 412 | (delq nil (mapcar | 412 | (delq nil (mapcar |
| 413 | (lambda (x) | 413 | (lambda (x) |
| 414 | (if (string-match re (cdr (assoc "&entry" x))) | 414 | (if (string-match re (cdr (assoc "&entry" x))) |
| 415 | x nil)) | 415 | x nil)) |
| 416 | entries)))) | 416 | entries)))) |
| 417 | (setq entries | 417 | (setq entries |
| 418 | (mapcar | 418 | (mapcar |
| 419 | (lambda (x) | 419 | (lambda (x) |
| 420 | (push (cons "&formatted" (reftex-format-bibitem x)) x) | 420 | (push (cons "&formatted" (reftex-format-bibitem x)) x) |
| 421 | (push (reftex-get-bib-field "&key" x) x) | 421 | (push (reftex-get-bib-field "&key" x) x) |
| @@ -655,12 +655,12 @@ While entering the regexp, completion on knows citation keys is possible. | |||
| 655 | 655 | ||
| 656 | (when (eq (car selected-entries) 'concat) | 656 | (when (eq (car selected-entries) 'concat) |
| 657 | ;; All keys go into a single command - we need to trick a little | 657 | ;; All keys go into a single command - we need to trick a little |
| 658 | ;; FIXME: Unfortunately, this meens that commenting does not work right. | 658 | ;; FIXME: Unfortunately, this means that commenting does not work right. |
| 659 | (pop selected-entries) | 659 | (pop selected-entries) |
| 660 | (let ((concat-keys (mapconcat 'car selected-entries ","))) | 660 | (let ((concat-keys (mapconcat 'car selected-entries ","))) |
| 661 | (setq insert-entries | 661 | (setq insert-entries |
| 662 | (list (list concat-keys (cons "&key" concat-keys)))))) | 662 | (list (list concat-keys (cons "&key" concat-keys)))))) |
| 663 | 663 | ||
| 664 | (unless no-insert | 664 | (unless no-insert |
| 665 | 665 | ||
| 666 | ;; We shall insert this into the buffer... | 666 | ;; We shall insert this into the buffer... |
diff --git a/lisp/textmodes/reftex-dcr.el b/lisp/textmodes/reftex-dcr.el index 9b924ba7ad9..7de15c66cec 100644 --- a/lisp/textmodes/reftex-dcr.el +++ b/lisp/textmodes/reftex-dcr.el | |||
| @@ -59,7 +59,7 @@ to the functions `reftex-view-cr-cite' and `reftex-view-cr-ref'." | |||
| 59 | (error "Not on a crossref macro argument")) | 59 | (error "Not on a crossref macro argument")) |
| 60 | 60 | ||
| 61 | (setq reftex-call-back-to-this-buffer (current-buffer)) | 61 | (setq reftex-call-back-to-this-buffer (current-buffer)) |
| 62 | 62 | ||
| 63 | (cond | 63 | (cond |
| 64 | ((string-match "\\`\\\\cite\\|cite\\*?\\'\\|bibentry" macro) | 64 | ((string-match "\\`\\\\cite\\|cite\\*?\\'\\|bibentry" macro) |
| 65 | ;; A citation macro: search for bibitems or BibTeX entries | 65 | ;; A citation macro: search for bibitems or BibTeX entries |
| @@ -87,7 +87,7 @@ to the functions `reftex-view-cr-cite' and `reftex-view-cr-ref'." | |||
| 87 | (format reftex-find-index-entry-regexp-format | 87 | (format reftex-find-index-entry-regexp-format |
| 88 | (regexp-quote key)) | 88 | (regexp-quote key)) |
| 89 | 3 nil nil))) | 89 | 3 nil nil))) |
| 90 | (t | 90 | (t |
| 91 | (reftex-access-scan-info arg) | 91 | (reftex-access-scan-info arg) |
| 92 | (catch 'exit | 92 | (catch 'exit |
| 93 | (let ((list reftex-view-crossref-extra) | 93 | (let ((list reftex-view-crossref-extra) |
| @@ -97,14 +97,14 @@ to the functions `reftex-view-cr-cite' and `reftex-view-cr-ref'." | |||
| 97 | action (nth 1 entry) | 97 | action (nth 1 entry) |
| 98 | group (nth 2 entry)) | 98 | group (nth 2 entry)) |
| 99 | (when (string-match mre macro) | 99 | (when (string-match mre macro) |
| 100 | (setq dw (reftex-view-regexp-match | 100 | (setq dw (reftex-view-regexp-match |
| 101 | (format action key) group nil nil)) | 101 | (format action key) group nil nil)) |
| 102 | (throw 'exit t)))) | 102 | (throw 'exit t)))) |
| 103 | (error "Not on a crossref macro argument")))) | 103 | (error "Not on a crossref macro argument")))) |
| 104 | (if (and (eq arg 2) (windowp dw)) (select-window dw))))) | 104 | (if (and (eq arg 2) (windowp dw)) (select-window dw))))) |
| 105 | 105 | ||
| 106 | (defun reftex-view-cr-cite (arg key how) | 106 | (defun reftex-view-cr-cite (arg key how) |
| 107 | ;; View crossreference of a ref cite. HOW can have the values | 107 | ;; View crossreference of a ref cite. HOW can have the values |
| 108 | ;; nil: Show in another window. | 108 | ;; nil: Show in another window. |
| 109 | ;; echo: Show one-line info in echo area. | 109 | ;; echo: Show one-line info in echo area. |
| 110 | ;; tmp-window: Show in small window and arrange for window to disappear. | 110 | ;; tmp-window: Show in small window and arrange for window to disappear. |
| @@ -114,7 +114,7 @@ to the functions `reftex-view-cr-cite' and `reftex-view-cr-ref'." | |||
| 114 | 114 | ||
| 115 | (if (eq how 'tmp-window) | 115 | (if (eq how 'tmp-window) |
| 116 | ;; Remember the window configuration | 116 | ;; Remember the window configuration |
| 117 | (put 'reftex-auto-view-crossref 'last-window-conf | 117 | (put 'reftex-auto-view-crossref 'last-window-conf |
| 118 | (current-window-configuration))) | 118 | (current-window-configuration))) |
| 119 | 119 | ||
| 120 | (let (files size item (pos (point)) (win (selected-window)) pop-win | 120 | (let (files size item (pos (point)) (win (selected-window)) pop-win |
| @@ -130,7 +130,7 @@ to the functions `reftex-view-cr-cite' and `reftex-view-cr-ref'." | |||
| 130 | (setq item t | 130 | (setq item t |
| 131 | files (reftex-uniquify | 131 | files (reftex-uniquify |
| 132 | (mapcar 'cdr | 132 | (mapcar 'cdr |
| 133 | (reftex-all-assq | 133 | (reftex-all-assq |
| 134 | 'thebib (symbol-value reftex-docstruct-symbol)))))) | 134 | 'thebib (symbol-value reftex-docstruct-symbol)))))) |
| 135 | (reftex-default-bibliography | 135 | (reftex-default-bibliography |
| 136 | (setq item nil | 136 | (setq item nil |
| @@ -169,17 +169,17 @@ to the functions `reftex-view-cr-cite' and `reftex-view-cr-ref'." | |||
| 169 | (select-window pop-win))))) | 169 | (select-window pop-win))))) |
| 170 | 170 | ||
| 171 | (defun reftex-view-cr-ref (arg label how) | 171 | (defun reftex-view-cr-ref (arg label how) |
| 172 | ;; View crossreference of a ref macro. HOW can have the values | 172 | ;; View crossreference of a ref macro. HOW can have the values |
| 173 | ;; nil: Show in another window. | 173 | ;; nil: Show in another window. |
| 174 | ;; echo: Show one-line info in echo area. | 174 | ;; echo: Show one-line info in echo area. |
| 175 | ;; tmp-window: Show in small window and arrange for window to disappear. | 175 | ;; tmp-window: Show in small window and arrange for window to disappear. |
| 176 | 176 | ||
| 177 | ;; Ensure access to scanning info | 177 | ;; Ensure access to scanning info |
| 178 | (reftex-access-scan-info (or arg current-prefix-arg)) | 178 | (reftex-access-scan-info (or arg current-prefix-arg)) |
| 179 | 179 | ||
| 180 | (if (eq how 'tmp-window) | 180 | (if (eq how 'tmp-window) |
| 181 | ;; Remember the window configuration | 181 | ;; Remember the window configuration |
| 182 | (put 'reftex-auto-view-crossref 'last-window-conf | 182 | (put 'reftex-auto-view-crossref 'last-window-conf |
| 183 | (current-window-configuration))) | 183 | (current-window-configuration))) |
| 184 | 184 | ||
| 185 | (let* ((xr-data (assoc 'xr (symbol-value reftex-docstruct-symbol))) | 185 | (let* ((xr-data (assoc 'xr (symbol-value reftex-docstruct-symbol))) |
| @@ -191,14 +191,14 @@ to the functions `reftex-view-cr-cite' and `reftex-view-cr-ref'." | |||
| 191 | ;; Label is defined in external document | 191 | ;; Label is defined in external document |
| 192 | (save-excursion | 192 | (save-excursion |
| 193 | (save-match-data | 193 | (save-match-data |
| 194 | (set-buffer | 194 | (set-buffer |
| 195 | (or (reftex-get-file-buffer-force | 195 | (or (reftex-get-file-buffer-force |
| 196 | (cdr (assoc (match-string 1 label) (nth 1 | 196 | (cdr (assoc (match-string 1 label) (nth 1 |
| 197 | xr-data)))) | 197 | xr-data)))) |
| 198 | (error "Problem with external label %s" label)))) | 198 | (error "Problem with external label %s" label)))) |
| 199 | (setq label (substring label (match-end 1))) | 199 | (setq label (substring label (match-end 1))) |
| 200 | (reftex-access-scan-info) | 200 | (reftex-access-scan-info) |
| 201 | (setq entry | 201 | (setq entry |
| 202 | (assoc label (symbol-value reftex-docstruct-symbol))))) | 202 | (assoc label (symbol-value reftex-docstruct-symbol))))) |
| 203 | (if (eq how 'echo) | 203 | (if (eq how 'echo) |
| 204 | ;; Display in echo area | 204 | ;; Display in echo area |
| @@ -234,7 +234,7 @@ With argument, actually select the window showing the cross reference." | |||
| 234 | 234 | ||
| 235 | (defun reftex-view-crossref-when-idle () | 235 | (defun reftex-view-crossref-when-idle () |
| 236 | ;; Display info about crossref at point in echo area or a window. | 236 | ;; Display info about crossref at point in echo area or a window. |
| 237 | ;; This function was desigend to work with an idle timer. | 237 | ;; This function was designed to work with an idle timer. |
| 238 | ;; We try to get out of here as quickly as possible if the call is useless. | 238 | ;; We try to get out of here as quickly as possible if the call is useless. |
| 239 | (and reftex-mode | 239 | (and reftex-mode |
| 240 | ;; Make sure message area is free if we need it. | 240 | ;; Make sure message area is free if we need it. |
| @@ -244,7 +244,7 @@ With argument, actually select the window showing the cross reference." | |||
| 244 | reftex-mouse-view-crossref))) | 244 | reftex-mouse-view-crossref))) |
| 245 | ;; Quick precheck if this might be a relevant spot | 245 | ;; Quick precheck if this might be a relevant spot |
| 246 | ;; `reftex-view-crossref' will do a more thorough check. | 246 | ;; `reftex-view-crossref' will do a more thorough check. |
| 247 | (save-excursion | 247 | (save-excursion |
| 248 | (search-backward "\\" nil t) | 248 | (search-backward "\\" nil t) |
| 249 | (looking-at "\\\\[a-zA-Z]*\\(cite\\|ref\\|bibentry\\)")) | 249 | (looking-at "\\\\[a-zA-Z]*\\(cite\\|ref\\|bibentry\\)")) |
| 250 | 250 | ||
| @@ -262,12 +262,12 @@ With argument, actually select the window showing the cross reference." | |||
| 262 | (set-window-configuration (get 'reftex-auto-view-crossref 'last-window-conf)) | 262 | (set-window-configuration (get 'reftex-auto-view-crossref 'last-window-conf)) |
| 263 | (put 'reftex-auto-view-crossref 'last-window-conf nil) | 263 | (put 'reftex-auto-view-crossref 'last-window-conf nil) |
| 264 | (remove-hook 'pre-command-hook 'reftex-restore-window-conf)) | 264 | (remove-hook 'pre-command-hook 'reftex-restore-window-conf)) |
| 265 | 265 | ||
| 266 | (defun reftex-echo-ref (label entry docstruct) | 266 | (defun reftex-echo-ref (label entry docstruct) |
| 267 | ;; Display crossref info in echo area. | 267 | ;; Display crossref info in echo area. |
| 268 | (cond | 268 | (cond |
| 269 | ((null docstruct) | 269 | ((null docstruct) |
| 270 | (message "%s" | 270 | (message "%s" |
| 271 | (substitute-command-keys (format reftex-no-info-message "ref")))) | 271 | (substitute-command-keys (format reftex-no-info-message "ref")))) |
| 272 | ((null entry) | 272 | ((null entry) |
| 273 | (message "ref: unknown label: %s" label)) | 273 | (message "ref: unknown label: %s" label)) |
| @@ -293,14 +293,14 @@ With argument, actually select the window showing the cross reference." | |||
| 293 | (unless reftex-revisit-to-echo | 293 | (unless reftex-revisit-to-echo |
| 294 | (setq files (reftex-visited-files files))) | 294 | (setq files (reftex-visited-files files))) |
| 295 | 295 | ||
| 296 | (setq entry | 296 | (setq entry |
| 297 | (condition-case nil | 297 | (condition-case nil |
| 298 | (save-excursion | 298 | (save-excursion |
| 299 | (reftex-pop-to-bibtex-entry key files nil nil item t)) | 299 | (reftex-pop-to-bibtex-entry key files nil nil item t)) |
| 300 | (error | 300 | (error |
| 301 | (if (and files (= (length all-files) (length files))) | 301 | (if (and files (= (length all-files) (length files))) |
| 302 | (message "cite: no such database entry: %s" key) | 302 | (message "cite: no such database entry: %s" key) |
| 303 | (message "%s" (substitute-command-keys | 303 | (message "%s" (substitute-command-keys |
| 304 | (format reftex-no-info-message "cite")))) | 304 | (format reftex-no-info-message "cite")))) |
| 305 | nil))) | 305 | nil))) |
| 306 | (when entry | 306 | (when entry |
| @@ -337,7 +337,7 @@ will display info in the echo area." | |||
| 337 | (if (featurep 'xemacs) | 337 | (if (featurep 'xemacs) |
| 338 | (if reftex-use-itimer-in-xemacs | 338 | (if reftex-use-itimer-in-xemacs |
| 339 | (start-itimer "RefTeX Idle Timer" | 339 | (start-itimer "RefTeX Idle Timer" |
| 340 | 'reftex-view-crossref-when-idle | 340 | 'reftex-view-crossref-when-idle |
| 341 | reftex-idle-time reftex-idle-time t) | 341 | reftex-idle-time reftex-idle-time t) |
| 342 | (add-hook 'post-command-hook 'reftex-start-itimer-once) | 342 | (add-hook 'post-command-hook 'reftex-start-itimer-once) |
| 343 | t) | 343 | t) |
| @@ -352,7 +352,7 @@ will display info in the echo area." | |||
| 352 | (not (itimer-live-p reftex-auto-view-crossref-timer)) | 352 | (not (itimer-live-p reftex-auto-view-crossref-timer)) |
| 353 | (setq reftex-auto-view-crossref-timer | 353 | (setq reftex-auto-view-crossref-timer |
| 354 | (start-itimer "RefTeX Idle Timer" | 354 | (start-itimer "RefTeX Idle Timer" |
| 355 | 'reftex-view-crossref-when-idle | 355 | 'reftex-view-crossref-when-idle |
| 356 | reftex-idle-time nil t)))) | 356 | reftex-idle-time nil t)))) |
| 357 | 357 | ||
| 358 | (declare-function bibtex-beginning-of-entry "bibtex" ()) | 358 | (declare-function bibtex-beginning-of-entry "bibtex" ()) |
| @@ -364,7 +364,7 @@ prompts upon first use for a buffer in RefTeX mode. To reset this | |||
| 364 | link to a document, call the function with with a prefix arg. | 364 | link to a document, call the function with with a prefix arg. |
| 365 | Calling this function several times find successive citation locations." | 365 | Calling this function several times find successive citation locations." |
| 366 | (interactive "P") | 366 | (interactive "P") |
| 367 | (when arg | 367 | (when arg |
| 368 | ;; Break connection to reference buffer | 368 | ;; Break connection to reference buffer |
| 369 | (put 'reftex-bibtex-view-cite-locations :ref-buffer nil)) | 369 | (put 'reftex-bibtex-view-cite-locations :ref-buffer nil)) |
| 370 | (let ((ref-buffer (get 'reftex-bibtex-view-cite-locations :ref-buffer))) | 370 | (let ((ref-buffer (get 'reftex-bibtex-view-cite-locations :ref-buffer))) |
| @@ -372,10 +372,10 @@ Calling this function several times find successive citation locations." | |||
| 372 | (unless ref-buffer | 372 | (unless ref-buffer |
| 373 | (setq ref-buffer | 373 | (setq ref-buffer |
| 374 | (save-current-buffer | 374 | (save-current-buffer |
| 375 | (completing-read | 375 | (completing-read |
| 376 | "Reference buffer: " | 376 | "Reference buffer: " |
| 377 | (delq nil | 377 | (delq nil |
| 378 | (mapcar | 378 | (mapcar |
| 379 | (lambda (b) | 379 | (lambda (b) |
| 380 | (set-buffer b) | 380 | (set-buffer b) |
| 381 | (if reftex-mode (list (buffer-name b)) nil)) | 381 | (if reftex-mode (list (buffer-name b)) nil)) |
diff --git a/lisp/textmodes/reftex-global.el b/lisp/textmodes/reftex-global.el index ccdab49750b..bf46635c479 100644 --- a/lisp/textmodes/reftex-global.el +++ b/lisp/textmodes/reftex-global.el | |||
| @@ -139,7 +139,7 @@ No active TAGS table is required." | |||
| 139 | (set (make-local-variable 'TeX-master) master) | 139 | (set (make-local-variable 'TeX-master) master) |
| 140 | (erase-buffer) | 140 | (erase-buffer) |
| 141 | (insert " MULTIPLE LABELS IN CURRENT DOCUMENT:\n") | 141 | (insert " MULTIPLE LABELS IN CURRENT DOCUMENT:\n") |
| 142 | (insert | 142 | (insert |
| 143 | " Move point to label and type `r' to run a query-replace on the label\n" | 143 | " Move point to label and type `r' to run a query-replace on the label\n" |
| 144 | " and its references. Type `q' to exit this buffer.\n\n") | 144 | " and its references. Type `q' to exit this buffer.\n\n") |
| 145 | (insert " LABEL FILE\n") | 145 | (insert " LABEL FILE\n") |
| @@ -190,15 +190,15 @@ This command should be used with care, in particular in multifile | |||
| 190 | documents. You should not use it if another document refers to this | 190 | documents. You should not use it if another document refers to this |
| 191 | one with the `xr' package." | 191 | one with the `xr' package." |
| 192 | (interactive) | 192 | (interactive) |
| 193 | ;; Resan the entire document | 193 | ;; Rescan the entire document |
| 194 | (reftex-access-scan-info 1) | 194 | (reftex-access-scan-info 1) |
| 195 | ;; Get some insurance | 195 | ;; Get some insurance |
| 196 | (if (and (reftex-is-multi) | 196 | (if (and (reftex-is-multi) |
| 197 | (not (yes-or-no-p "Replacing all simple labels in multiple files is risky. Continue? "))) | 197 | (not (yes-or-no-p "Replacing all simple labels in multiple files is risky. Continue? "))) |
| 198 | (error "Abort")) | 198 | (error "Abort")) |
| 199 | ;; Make the translation list | 199 | ;; Make the translation list |
| 200 | (let* ((re-core (concat "\\(" | 200 | (let* ((re-core (concat "\\(" |
| 201 | (mapconcat 'cdr reftex-typekey-to-prefix-alist "\\|") | 201 | (mapconcat 'cdr reftex-typekey-to-prefix-alist "\\|") |
| 202 | "\\)")) | 202 | "\\)")) |
| 203 | (label-re (concat "\\`" re-core "\\([0-9]+\\)\\'")) | 203 | (label-re (concat "\\`" re-core "\\([0-9]+\\)\\'")) |
| 204 | (search-re (concat "[{,]\\(" re-core "\\([0-9]+\\)\\)[,}]")) | 204 | (search-re (concat "[{,]\\(" re-core "\\([0-9]+\\)\\)[,}]")) |
| @@ -230,12 +230,12 @@ one with the `xr' package." | |||
| 230 | ;; Save all document buffers before this operation | 230 | ;; Save all document buffers before this operation |
| 231 | (reftex-save-all-document-buffers) | 231 | (reftex-save-all-document-buffers) |
| 232 | 232 | ||
| 233 | ;; First test to check for erros | 233 | ;; First test to check for errors. |
| 234 | (setq n (reftex-translate | 234 | (setq n (reftex-translate |
| 235 | files search-re translate-alist error-fmt 'test)) | 235 | files search-re translate-alist error-fmt 'test)) |
| 236 | 236 | ||
| 237 | ;; Now the real thing. | 237 | ;; Now the real thing. |
| 238 | (if (yes-or-no-p | 238 | (if (yes-or-no-p |
| 239 | (format "Replace %d items at %d places in %d files? " | 239 | (format "Replace %d items at %d places in %d files? " |
| 240 | (length translate-alist) n (length files))) | 240 | (length translate-alist) n (length files))) |
| 241 | (progn | 241 | (progn |
| @@ -253,9 +253,9 @@ one with the `xr' package." | |||
| 253 | 253 | ||
| 254 | (defun reftex-translate (files search-re translate-alist error-fmt test) | 254 | (defun reftex-translate (files search-re translate-alist error-fmt test) |
| 255 | ;; In FILES, look for SEARCH-RE and replace match 1 of it with | 255 | ;; In FILES, look for SEARCH-RE and replace match 1 of it with |
| 256 | ;; its association in TRANSLATE-ALSIT. | 256 | ;; its association in TRANSLATE-ALIST. |
| 257 | ;; If we do not find an association and TEST is non-nil, query | 257 | ;; If we do not find an association and TEST is non-nil, query |
| 258 | ;; to ignore the problematic string. | 258 | ;; to ignore the problematic string. |
| 259 | ;; If TEST is nil, it is ignored without query. | 259 | ;; If TEST is nil, it is ignored without query. |
| 260 | ;; Return the number of replacements. | 260 | ;; Return the number of replacements. |
| 261 | (let ((n 0) file label match-data buf macro pos cell) | 261 | (let ((n 0) file label match-data buf macro pos cell) |
| @@ -281,7 +281,7 @@ one with the `xr' package." | |||
| 281 | (or (looking-at "\\\\ref") | 281 | (or (looking-at "\\\\ref") |
| 282 | (looking-at "\\\\[a-zA-Z]*ref\\(range\\)?[^a-zA-Z]") | 282 | (looking-at "\\\\[a-zA-Z]*ref\\(range\\)?[^a-zA-Z]") |
| 283 | (looking-at "\\\\ref[a-zA-Z]*[^a-zA-Z]") | 283 | (looking-at "\\\\ref[a-zA-Z]*[^a-zA-Z]") |
| 284 | (looking-at (format | 284 | (looking-at (format |
| 285 | reftex-find-label-regexp-format | 285 | reftex-find-label-regexp-format |
| 286 | (regexp-quote label))))) | 286 | (regexp-quote label))))) |
| 287 | ;; OK, we should replace it. | 287 | ;; OK, we should replace it. |
| @@ -351,7 +351,7 @@ Also checks if buffers visiting the files are in read-only mode." | |||
| 351 | 351 | ||
| 352 | (defun reftex-isearch-wrap-function () | 352 | (defun reftex-isearch-wrap-function () |
| 353 | (if (not isearch-word) | 353 | (if (not isearch-word) |
| 354 | (switch-to-buffer | 354 | (switch-to-buffer |
| 355 | (funcall isearch-next-buffer-function (current-buffer) t))) | 355 | (funcall isearch-next-buffer-function (current-buffer) t))) |
| 356 | (goto-char (if isearch-forward (point-min) (point-max)))) | 356 | (goto-char (if isearch-forward (point-min) (point-max)))) |
| 357 | 357 | ||
| @@ -435,7 +435,7 @@ With no argument, this command toggles | |||
| 435 | `reftex-isearch-minor-mode' on if ARG is positive, otherwise turn it off." | 435 | `reftex-isearch-minor-mode' on if ARG is positive, otherwise turn it off." |
| 436 | (interactive "P") | 436 | (interactive "P") |
| 437 | (let ((old-reftex-isearch-minor-mode reftex-isearch-minor-mode)) | 437 | (let ((old-reftex-isearch-minor-mode reftex-isearch-minor-mode)) |
| 438 | (setq reftex-isearch-minor-mode | 438 | (setq reftex-isearch-minor-mode |
| 439 | (not (or (and (null arg) reftex-isearch-minor-mode) | 439 | (not (or (and (null arg) reftex-isearch-minor-mode) |
| 440 | (<= (prefix-numeric-value arg) 0)))) | 440 | (<= (prefix-numeric-value arg) 0)))) |
| 441 | (unless (eq reftex-isearch-minor-mode old-reftex-isearch-minor-mode) | 441 | (unless (eq reftex-isearch-minor-mode old-reftex-isearch-minor-mode) |
| @@ -471,7 +471,7 @@ With no argument, this command toggles | |||
| 471 | ;; Force modeline redisplay. | 471 | ;; Force modeline redisplay. |
| 472 | (set-buffer-modified-p (buffer-modified-p)))) | 472 | (set-buffer-modified-p (buffer-modified-p)))) |
| 473 | 473 | ||
| 474 | (add-minor-mode 'reftex-isearch-minor-mode "/I" nil nil | 474 | (add-minor-mode 'reftex-isearch-minor-mode "/I" nil nil |
| 475 | 'reftex-isearch-minor-mode) | 475 | 'reftex-isearch-minor-mode) |
| 476 | 476 | ||
| 477 | ;;; reftex-global.el ends here | 477 | ;;; reftex-global.el ends here |
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el index 79df6135806..f0ceaa74d26 100644 --- a/lisp/textmodes/reftex-index.el +++ b/lisp/textmodes/reftex-index.el | |||
| @@ -663,7 +663,7 @@ SPC=view TAB=goto RET=goto+hide [e]dit [q]uit [r]escan [f]ollow [?]Help | |||
| 663 | (insert "\n"))) | 663 | (insert "\n"))) |
| 664 | 664 | ||
| 665 | (defun reftex-get-restriction (arg docstruct) | 665 | (defun reftex-get-restriction (arg docstruct) |
| 666 | ;; Interprete the prefix ARG and derive index restriction specs. | 666 | ;; Interpret the prefix ARG and derive index restriction specs. |
| 667 | (let* ((beg (min (point) (or (condition-case nil (mark) (error nil)) | 667 | (let* ((beg (min (point) (or (condition-case nil (mark) (error nil)) |
| 668 | (point-max)))) | 668 | (point-max)))) |
| 669 | (end (max (point) (or (condition-case nil (mark) (error nil)) | 669 | (end (max (point) (or (condition-case nil (mark) (error nil)) |
diff --git a/lisp/textmodes/reftex-parse.el b/lisp/textmodes/reftex-parse.el index 4d6b5e5fb83..1a0f7ec5836 100644 --- a/lisp/textmodes/reftex-parse.el +++ b/lisp/textmodes/reftex-parse.el | |||
| @@ -711,7 +711,7 @@ of master file." | |||
| 711 | context) | 711 | context) |
| 712 | (when (and (not appendix) | 712 | (when (and (not appendix) |
| 713 | (>= (string-to-char (match-string 2)) ?A)) | 713 | (>= (string-to-char (match-string 2)) ?A)) |
| 714 | ;; Just entered the appendex. Get out. | 714 | ;; Just entered the appendix. Get out. |
| 715 | (throw 'exit nil)) | 715 | (throw 'exit nil)) |
| 716 | 716 | ||
| 717 | ;; Change the section number. | 717 | ;; Change the section number. |
diff --git a/lisp/textmodes/reftex-ref.el b/lisp/textmodes/reftex-ref.el index b47f2f6c2e9..d622603236e 100644 --- a/lisp/textmodes/reftex-ref.el +++ b/lisp/textmodes/reftex-ref.el | |||
| @@ -206,7 +206,7 @@ This function is controlled by the settings of reftex-insert-label-flags." | |||
| 206 | (if naked "Naked Label: " "Label: ") | 206 | (if naked "Naked Label: " "Label: ") |
| 207 | default)) | 207 | default)) |
| 208 | 208 | ||
| 209 | ;; Lets make sure that this is a valid label | 209 | ;; Let's make sure that this is a valid label |
| 210 | (cond | 210 | (cond |
| 211 | 211 | ||
| 212 | ((string-match (concat "\\`\\(" (regexp-quote prefix) | 212 | ((string-match (concat "\\`\\(" (regexp-quote prefix) |
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index 37983d17931..25be64a3af2 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | 33 | ||
| 34 | (defvar reftex-toc-mode-map | 34 | (defvar reftex-toc-mode-map |
| 35 | (let ((map (make-sparse-keymap))) | 35 | (let ((map (make-sparse-keymap))) |
| 36 | 36 | ||
| 37 | (define-key map (if (featurep 'xemacs) [(button2)] [(mouse-2)]) | 37 | (define-key map (if (featurep 'xemacs) [(button2)] [(mouse-2)]) |
| 38 | 'reftex-toc-mouse-goto-line-and-hide) | 38 | 'reftex-toc-mouse-goto-line-and-hide) |
| 39 | (define-key map [follow-link] 'mouse-face) | 39 | (define-key map [follow-link] 'mouse-face) |
| @@ -170,15 +170,15 @@ Here are all local bindings. | |||
| 170 | 170 | ||
| 171 | 171 | ||
| 172 | (defvar reftex-toc-return-marker (make-marker) | 172 | (defvar reftex-toc-return-marker (make-marker) |
| 173 | "Marker which makes it possible to return from toc to old position.") | 173 | "Marker which makes it possible to return from TOC to old position.") |
| 174 | 174 | ||
| 175 | (defconst reftex-toc-help | 175 | (defconst reftex-toc-help |
| 176 | " AVAILABLE KEYS IN TOC BUFFER | 176 | " AVAILABLE KEYS IN TOC BUFFER |
| 177 | ============================ | 177 | ============================ |
| 178 | n / p next-line / previous-line | 178 | n / p next-line / previous-line |
| 179 | SPC Show the corresponding location of the LaTeX document. | 179 | SPC Show the corresponding location of the LaTeX document. |
| 180 | TAB Goto the location and keep the *toc* window. | 180 | TAB Goto the location and keep the TOC window. |
| 181 | RET Goto the location and hide the *toc* window (also on mouse-2). | 181 | RET Goto the location and hide the TOC window (also on mouse-2). |
| 182 | < / > Promote / Demote section, or all sections in region. | 182 | < / > Promote / Demote section, or all sections in region. |
| 183 | C-c > Display Index. With prefix arg, restrict index to current section. | 183 | C-c > Display Index. With prefix arg, restrict index to current section. |
| 184 | q / k Hide/Kill *toc* buffer, return to position of reftex-toc command. | 184 | q / k Hide/Kill *toc* buffer, return to position of reftex-toc command. |
| @@ -287,7 +287,7 @@ SPC=view TAB=goto RET=goto+hide [q]uit [r]escan [l]abels [f]ollow [x]r [?]Help | |||
| 287 | (setq offset | 287 | (setq offset |
| 288 | (reftex-insert-docstruct | 288 | (reftex-insert-docstruct |
| 289 | this-buf | 289 | this-buf |
| 290 | t ; include toc | 290 | t ; include TOC |
| 291 | reftex-toc-include-labels | 291 | reftex-toc-include-labels |
| 292 | reftex-toc-include-index-entries | 292 | reftex-toc-include-index-entries |
| 293 | reftex-toc-include-file-boundaries | 293 | reftex-toc-include-file-boundaries |
| @@ -296,7 +296,7 @@ SPC=view TAB=goto RET=goto+hide [q]uit [r]escan [l]abels [f]ollow [x]r [?]Help | |||
| 296 | nil ; commented | 296 | nil ; commented |
| 297 | here-I-am | 297 | here-I-am |
| 298 | "" ; xr-prefix | 298 | "" ; xr-prefix |
| 299 | t ; a toc buffer | 299 | t ; a TOC buffer |
| 300 | )) | 300 | )) |
| 301 | 301 | ||
| 302 | (run-hooks 'reftex-display-copied-context-hook) | 302 | (run-hooks 'reftex-display-copied-context-hook) |
| @@ -391,7 +391,7 @@ SPC=view TAB=goto RET=goto+hide [q]uit [r]escan [l]abels [f]ollow [x]r [?]Help | |||
| 391 | (frame-parameter frame 'name)) | 391 | (frame-parameter frame 'name)) |
| 392 | "RefTeX TOC Frame"))) | 392 | "RefTeX TOC Frame"))) |
| 393 | (if (and res error) | 393 | (if (and res error) |
| 394 | (error "This frame is view-only. Use `C-c =' to create toc window for commands")) | 394 | (error "This frame is view-only. Use `C-c =' to create TOC window for commands")) |
| 395 | res)) | 395 | res)) |
| 396 | 396 | ||
| 397 | (defun reftex-toc-show-help () | 397 | (defun reftex-toc-show-help () |
| @@ -421,14 +421,14 @@ SPC=view TAB=goto RET=goto+hide [q]uit [r]escan [l]abels [f]ollow [x]r [?]Help | |||
| 421 | (goto-char (or (previous-single-property-change (point) :data) | 421 | (goto-char (or (previous-single-property-change (point) :data) |
| 422 | (point)))) | 422 | (point)))) |
| 423 | (defun reftex-toc-next-heading (&optional arg) | 423 | (defun reftex-toc-next-heading (&optional arg) |
| 424 | "Move to next table of contentes line." | 424 | "Move to next table of contents line." |
| 425 | (interactive "p") | 425 | (interactive "p") |
| 426 | (when (featurep 'xemacs) (setq zmacs-region-stays t)) | 426 | (when (featurep 'xemacs) (setq zmacs-region-stays t)) |
| 427 | (end-of-line) | 427 | (end-of-line) |
| 428 | (re-search-forward "^ " nil t arg) | 428 | (re-search-forward "^ " nil t arg) |
| 429 | (beginning-of-line)) | 429 | (beginning-of-line)) |
| 430 | (defun reftex-toc-previous-heading (&optional arg) | 430 | (defun reftex-toc-previous-heading (&optional arg) |
| 431 | "Move to previous table of contentes line." | 431 | "Move to previous table of contents line." |
| 432 | (interactive "p") | 432 | (interactive "p") |
| 433 | (when (featurep 'xemacs) (setq zmacs-region-stays t)) | 433 | (when (featurep 'xemacs) (setq zmacs-region-stays t)) |
| 434 | (re-search-backward "^ " nil t arg)) | 434 | (re-search-backward "^ " nil t arg)) |
| @@ -468,9 +468,9 @@ Label context is only displayed when the labels are there as well." | |||
| 468 | (setq reftex-toc-include-context (not reftex-toc-include-context)) | 468 | (setq reftex-toc-include-context (not reftex-toc-include-context)) |
| 469 | (reftex-toc-revert)) | 469 | (reftex-toc-revert)) |
| 470 | (defun reftex-toc-max-level (arg) | 470 | (defun reftex-toc-max-level (arg) |
| 471 | "Set the maximum level of toc lines in this buffer to value of prefix ARG. | 471 | "Set the maximum level of TOC lines in this buffer to value of prefix ARG. |
| 472 | When no prefix is given, set the max level to a large number, so that all | 472 | When no prefix is given, set the max level to a large number, so that all |
| 473 | levels are shown. For eaxample, to set the level to 3, type `3 m'." | 473 | levels are shown. For example, to set the level to 3, type `3 m'." |
| 474 | (interactive "P") | 474 | (interactive "P") |
| 475 | (setq reftex-toc-max-level (if arg | 475 | (setq reftex-toc-max-level (if arg |
| 476 | (prefix-numeric-value arg) | 476 | (prefix-numeric-value arg) |
| @@ -484,23 +484,23 @@ levels are shown. For eaxample, to set the level to 3, type `3 m'." | |||
| 484 | (reftex-toc-dframe-p nil 'error) | 484 | (reftex-toc-dframe-p nil 'error) |
| 485 | (reftex-toc-visit-location)) | 485 | (reftex-toc-visit-location)) |
| 486 | (defun reftex-toc-goto-line-and-hide () | 486 | (defun reftex-toc-goto-line-and-hide () |
| 487 | "Go to document location in other window. Hide the *toc* window." | 487 | "Go to document location in other window. Hide the TOC window." |
| 488 | (interactive) | 488 | (interactive) |
| 489 | (reftex-toc-dframe-p nil 'error) | 489 | (reftex-toc-dframe-p nil 'error) |
| 490 | (reftex-toc-visit-location 'hide)) | 490 | (reftex-toc-visit-location 'hide)) |
| 491 | (defun reftex-toc-goto-line () | 491 | (defun reftex-toc-goto-line () |
| 492 | "Go to document location in other window. *toc* window stays." | 492 | "Go to document location in other window. TOC window stays." |
| 493 | (interactive) | 493 | (interactive) |
| 494 | (reftex-toc-dframe-p nil 'error) | 494 | (reftex-toc-dframe-p nil 'error) |
| 495 | (reftex-toc-visit-location t)) | 495 | (reftex-toc-visit-location t)) |
| 496 | (defun reftex-toc-mouse-goto-line-and-hide (ev) | 496 | (defun reftex-toc-mouse-goto-line-and-hide (ev) |
| 497 | "Go to document location in other window. Hide the *toc* window." | 497 | "Go to document location in other window. Hide the TOC window." |
| 498 | (interactive "e") | 498 | (interactive "e") |
| 499 | (mouse-set-point ev) | 499 | (mouse-set-point ev) |
| 500 | (reftex-toc-dframe-p nil 'error) | 500 | (reftex-toc-dframe-p nil 'error) |
| 501 | (reftex-toc-visit-location 'hide)) | 501 | (reftex-toc-visit-location 'hide)) |
| 502 | (defun reftex-toc-show-calling-point () | 502 | (defun reftex-toc-show-calling-point () |
| 503 | "Show point where reftex-toc was called from." | 503 | "Show point where `reftex-toc' was called from." |
| 504 | (interactive) | 504 | (interactive) |
| 505 | (reftex-toc-dframe-p nil 'error) | 505 | (reftex-toc-dframe-p nil 'error) |
| 506 | (let ((this-window (selected-window))) | 506 | (let ((this-window (selected-window))) |
| @@ -512,8 +512,8 @@ levels are shown. For eaxample, to set the level to 3, type `3 m'." | |||
| 512 | (recenter '(4))) | 512 | (recenter '(4))) |
| 513 | (select-window this-window)))) | 513 | (select-window this-window)))) |
| 514 | (defun reftex-toc-quit () | 514 | (defun reftex-toc-quit () |
| 515 | "Hide the *toc* window and do not move point. | 515 | "Hide the TOC window and do not move point. |
| 516 | If the toc window is the only window on the dedicated TOC frame, the frame | 516 | If the TOC window is the only window on the dedicated TOC frame, the frame |
| 517 | is destroyed." | 517 | is destroyed." |
| 518 | (interactive) | 518 | (interactive) |
| 519 | (if (and (one-window-p) | 519 | (if (and (one-window-p) |
| @@ -584,7 +584,7 @@ With prefix arg 1, restrict index to the section at point." | |||
| 584 | (reftex-toc))) | 584 | (reftex-toc))) |
| 585 | 585 | ||
| 586 | (defun reftex-toc-revert (&rest ignore) | 586 | (defun reftex-toc-revert (&rest ignore) |
| 587 | "Regenerate the *toc* from the internal lists." | 587 | "Regenerate the TOC from the internal lists." |
| 588 | (interactive) | 588 | (interactive) |
| 589 | (let ((unsplittable | 589 | (let ((unsplittable |
| 590 | (if (fboundp 'frame-property) | 590 | (if (fboundp 'frame-property) |
| @@ -618,7 +618,7 @@ With prefix arg 1, restrict index to the section at point." | |||
| 618 | 618 | ||
| 619 | (defun reftex-toc-jump (arg) | 619 | (defun reftex-toc-jump (arg) |
| 620 | "Jump to a specific section. E.g. '3 z' jumps to section 3. | 620 | "Jump to a specific section. E.g. '3 z' jumps to section 3. |
| 621 | Useful for large TOC's." | 621 | Useful for large TOCs." |
| 622 | (interactive "P") | 622 | (interactive "P") |
| 623 | (goto-char (point-min)) | 623 | (goto-char (point-min)) |
| 624 | (re-search-forward | 624 | (re-search-forward |
| @@ -642,7 +642,7 @@ Useful for large TOC's." | |||
| 642 | (interactive "p") | 642 | (interactive "p") |
| 643 | (reftex-toc-do-promote -1)) | 643 | (reftex-toc-do-promote -1)) |
| 644 | (defun reftex-toc-do-promote (delta) | 644 | (defun reftex-toc-do-promote (delta) |
| 645 | "Workhorse for reftex-toc-promote and reftex-to-demote. | 645 | "Workhorse for `reftex-toc-promote' and `reftex-toc-demote'. |
| 646 | Changes the level of sections in the current region, or just the section at | 646 | Changes the level of sections in the current region, or just the section at |
| 647 | point." | 647 | point." |
| 648 | ;; We should not do anything unless we are sure this is going to work for | 648 | ;; We should not do anything unless we are sure this is going to work for |
| @@ -660,7 +660,7 @@ point." | |||
| 660 | (setq msg | 660 | (setq msg |
| 661 | (catch 'exit | 661 | (catch 'exit |
| 662 | (if (reftex-region-active-p) | 662 | (if (reftex-region-active-p) |
| 663 | ;; A region is dangerous, check if we have a brandnew scan, | 663 | ;; A region is dangerous, check if we have a brand new scan, |
| 664 | ;; to make sure we are not missing any section statements. | 664 | ;; to make sure we are not missing any section statements. |
| 665 | (if (not (reftex-toc-check-docstruct)) | 665 | (if (not (reftex-toc-check-docstruct)) |
| 666 | (reftex-toc-load-all-files-for-promotion) ;; exits | 666 | (reftex-toc-load-all-files-for-promotion) ;; exits |
| @@ -728,8 +728,8 @@ point." | |||
| 728 | deactivate-mark nil))))) | 728 | deactivate-mark nil))))) |
| 729 | 729 | ||
| 730 | (defun reftex-toc-promote-prepare (x delta) | 730 | (defun reftex-toc-promote-prepare (x delta) |
| 731 | "Look at a toc entry and see if we could pro/demote it. | 731 | "Look at a TOC entry and see if we could pro/demote it. |
| 732 | This function prepares everything for the changes, but does not do it. | 732 | This function prepares everything for the change, but does not do it. |
| 733 | The return value is a list with information needed when doing the | 733 | The return value is a list with information needed when doing the |
| 734 | promotion/demotion later. DELTA is the level change." | 734 | promotion/demotion later. DELTA is the level change." |
| 735 | (let* ((data (car x)) | 735 | (let* ((data (car x)) |
| @@ -779,7 +779,7 @@ promotion/demotion later. DELTA is the level change." | |||
| 779 | (error "Cannot %smote \\%s" pro-or-de name)))) | 779 | (error "Cannot %smote \\%s" pro-or-de name)))) |
| 780 | 780 | ||
| 781 | (defun reftex-toc-promote-action (x) | 781 | (defun reftex-toc-promote-action (x) |
| 782 | "Change the level of a toc entry. | 782 | "Change the level of a TOC entry. |
| 783 | PRO-OR-DE is assumed to be dynamically scoped into this function." | 783 | PRO-OR-DE is assumed to be dynamically scoped into this function." |
| 784 | (let* ((data (car x)) | 784 | (let* ((data (car x)) |
| 785 | (name (nth 1 x)) | 785 | (name (nth 1 x)) |
| @@ -792,7 +792,7 @@ PRO-OR-DE is assumed to be dynamically scoped into this function." | |||
| 792 | (error "Fatal error during %smotion" pro-or-de))))) | 792 | (error "Fatal error during %smotion" pro-or-de))))) |
| 793 | 793 | ||
| 794 | (defun reftex-toc-extract-section-number (entry) | 794 | (defun reftex-toc-extract-section-number (entry) |
| 795 | "Get the numbering of a toc entry, for message purposes." | 795 | "Get the numbering of a TOC entry, for message purposes." |
| 796 | (if (string-match "\\s-*\\(\\S-+\\)" (nth 2 (car entry))) | 796 | (if (string-match "\\s-*\\(\\S-+\\)" (nth 2 (car entry))) |
| 797 | (match-string 1 (nth 2 (car entry))) | 797 | (match-string 1 (nth 2 (car entry))) |
| 798 | "?")) | 798 | "?")) |
| @@ -838,7 +838,7 @@ if these sets are sorted blocks in the alist." | |||
| 838 | (defun reftex-toc-load-all-files-for-promotion () | 838 | (defun reftex-toc-load-all-files-for-promotion () |
| 839 | "Make sure all files of the document are being visited by buffers, | 839 | "Make sure all files of the document are being visited by buffers, |
| 840 | and that the scanning info is absolutely up to date. | 840 | and that the scanning info is absolutely up to date. |
| 841 | We do this by rescanning with reftex-keep-temporary-buffers bound to t. | 841 | We do this by rescanning with `reftex-keep-temporary-buffers' bound to t. |
| 842 | The variable PRO-OR-DE is assumed to be dynamically scoped into this function. | 842 | The variable PRO-OR-DE is assumed to be dynamically scoped into this function. |
| 843 | When finished, we exit with an error message." | 843 | When finished, we exit with an error message." |
| 844 | (let ((reftex-keep-temporary-buffers t)) | 844 | (let ((reftex-keep-temporary-buffers t)) |
| @@ -848,9 +848,9 @@ When finished, we exit with an error message." | |||
| 848 | "TOC had to be updated first. Please check selection and repeat the command."))) | 848 | "TOC had to be updated first. Please check selection and repeat the command."))) |
| 849 | 849 | ||
| 850 | (defun reftex-toc-rename-label () | 850 | (defun reftex-toc-rename-label () |
| 851 | "Rename the currently selected label in the *TOC* buffer. | 851 | "Rename the currently selected label in the *toc* buffer. |
| 852 | This launches a global search and replace in order to rename a label. | 852 | This launches a global search and replace in order to rename a label. |
| 853 | Renaming a label is hardly ever necessary - the only exeption is after | 853 | Renaming a label is hardly ever necessary - the only exception is after |
| 854 | promotion/demotion in connection with a package like fancyref, where the | 854 | promotion/demotion in connection with a package like fancyref, where the |
| 855 | label prefix determines the wording of a reference." | 855 | label prefix determines the wording of a reference." |
| 856 | (interactive) | 856 | (interactive) |
| @@ -861,7 +861,7 @@ label prefix determines the wording of a reference." | |||
| 861 | (setq newlabel (read-string (format "Rename label \"%s\" to:" label))) | 861 | (setq newlabel (read-string (format "Rename label \"%s\" to:" label))) |
| 862 | (if (assoc newlabel (symbol-value reftex-docstruct-symbol)) | 862 | (if (assoc newlabel (symbol-value reftex-docstruct-symbol)) |
| 863 | (if (not (y-or-n-p | 863 | (if (not (y-or-n-p |
| 864 | (format "Label '%s' exists. Use anyway? " label))) | 864 | (format "Label '%s' exists. Use anyway? " label))) |
| 865 | (error "Abort"))) | 865 | (error "Abort"))) |
| 866 | (save-excursion | 866 | (save-excursion |
| 867 | (save-window-excursion | 867 | (save-window-excursion |
| @@ -875,10 +875,10 @@ label prefix determines the wording of a reference." | |||
| 875 | 875 | ||
| 876 | 876 | ||
| 877 | (defun reftex-toc-visit-location (&optional final no-revisit) | 877 | (defun reftex-toc-visit-location (&optional final no-revisit) |
| 878 | ;; Visit the tex file corresponding to the toc entry on the current line. | 878 | ;; Visit the tex file corresponding to the TOC entry on the current line. |
| 879 | ;; If FINAL is t, stay there | 879 | ;; If FINAL is t, stay there |
| 880 | ;; If FINAL is 'hide, hide the *toc* window. | 880 | ;; If FINAL is 'hide, hide the TOC window. |
| 881 | ;; Otherwise, move cursor back into *toc* window. | 881 | ;; Otherwise, move cursor back into TOC window. |
| 882 | ;; NO-REVISIT means don't visit files, just use live buffers. | 882 | ;; NO-REVISIT means don't visit files, just use live buffers. |
| 883 | ;; This function is pretty clever about finding back a section heading, | 883 | ;; This function is pretty clever about finding back a section heading, |
| 884 | ;; even if the buffer is not live, or things like outline, x-symbol etc. | 884 | ;; even if the buffer is not live, or things like outline, x-symbol etc. |
| @@ -888,7 +888,7 @@ label prefix determines the wording of a reference." | |||
| 888 | (toc-window (selected-window)) | 888 | (toc-window (selected-window)) |
| 889 | show-window show-buffer match) | 889 | show-window show-buffer match) |
| 890 | 890 | ||
| 891 | (unless toc (error "Don't know which toc line to visit")) | 891 | (unless toc (error "Don't know which TOC line to visit")) |
| 892 | 892 | ||
| 893 | (cond | 893 | (cond |
| 894 | 894 | ||
| @@ -1012,8 +1012,8 @@ label prefix determines the wording of a reference." | |||
| 1012 | (reftex-toc-recenter)))) | 1012 | (reftex-toc-recenter)))) |
| 1013 | 1013 | ||
| 1014 | (defun reftex-toggle-auto-toc-recenter () | 1014 | (defun reftex-toggle-auto-toc-recenter () |
| 1015 | "Toggle the automatic recentering of the toc window. | 1015 | "Toggle the automatic recentering of the TOC window. |
| 1016 | When active, leaving point idle will make the toc window jump to the correct | 1016 | When active, leaving point idle will make the TOC window jump to the correct |
| 1017 | section." | 1017 | section." |
| 1018 | (interactive) | 1018 | (interactive) |
| 1019 | (if reftex-toc-auto-recenter-timer | 1019 | (if reftex-toc-auto-recenter-timer |
| @@ -1022,7 +1022,7 @@ section." | |||
| 1022 | (delete-itimer reftex-toc-auto-recenter-timer) | 1022 | (delete-itimer reftex-toc-auto-recenter-timer) |
| 1023 | (cancel-timer reftex-toc-auto-recenter-timer)) | 1023 | (cancel-timer reftex-toc-auto-recenter-timer)) |
| 1024 | (setq reftex-toc-auto-recenter-timer nil) | 1024 | (setq reftex-toc-auto-recenter-timer nil) |
| 1025 | (message "Automatic recentering of toc windwo was turned off")) | 1025 | (message "Automatic recentering of TOC window was turned off")) |
| 1026 | (setq reftex-toc-auto-recenter-timer | 1026 | (setq reftex-toc-auto-recenter-timer |
| 1027 | (if (featurep 'xemacs) | 1027 | (if (featurep 'xemacs) |
| 1028 | (start-itimer "RefTeX Idle Timer for recenter" | 1028 | (start-itimer "RefTeX Idle Timer for recenter" |
| @@ -1030,7 +1030,7 @@ section." | |||
| 1030 | reftex-idle-time reftex-idle-time t) | 1030 | reftex-idle-time reftex-idle-time t) |
| 1031 | (run-with-idle-timer | 1031 | (run-with-idle-timer |
| 1032 | reftex-idle-time t 'reftex-recenter-toc-when-idle))) | 1032 | reftex-idle-time t 'reftex-recenter-toc-when-idle))) |
| 1033 | (message "Automatic recentering of toc window was turned on"))) | 1033 | (message "Automatic recentering of TOC window was turned on"))) |
| 1034 | 1034 | ||
| 1035 | (defun reftex-toc-toggle-dedicated-frame () | 1035 | (defun reftex-toc-toggle-dedicated-frame () |
| 1036 | "Toggle the display of a separate frame for the TOC. | 1036 | "Toggle the display of a separate frame for the TOC. |
| @@ -1052,7 +1052,7 @@ always show the current section in connection with the option | |||
| 1052 | (reftex-make-separate-toc-frame)))) | 1052 | (reftex-make-separate-toc-frame)))) |
| 1053 | 1053 | ||
| 1054 | (defun reftex-make-separate-toc-frame () | 1054 | (defun reftex-make-separate-toc-frame () |
| 1055 | ;; Create a new fame showing only the toc buffer. | 1055 | ;; Create a new fame showing only the TOC buffer. |
| 1056 | (let ((current-frame (selected-frame)) | 1056 | (let ((current-frame (selected-frame)) |
| 1057 | (current-window (selected-window)) | 1057 | (current-window (selected-window)) |
| 1058 | (current-toc-window (get-buffer-window "*toc*" 'visible)) | 1058 | (current-toc-window (get-buffer-window "*toc*" 'visible)) |
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index cef8a3d1548..b73056a803b 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -42,7 +42,7 @@ | |||
| 42 | ;; - For XEmacs 21.x, you need to install the RefTeX plug-in package | 42 | ;; - For XEmacs 21.x, you need to install the RefTeX plug-in package |
| 43 | ;; available from the XEmacs distribution sites. | 43 | ;; available from the XEmacs distribution sites. |
| 44 | ;; - If you have downloaded this file from the maintainers webpage, follow | 44 | ;; - If you have downloaded this file from the maintainers webpage, follow |
| 45 | ;; the instructions in the INSTALL file of the distrubution. | 45 | ;; the instructions in the INSTALL file of the distribution. |
| 46 | ;; | 46 | ;; |
| 47 | ;; To turn RefTeX Mode on and off in a buffer, use `M-x reftex-mode'. | 47 | ;; To turn RefTeX Mode on and off in a buffer, use `M-x reftex-mode'. |
| 48 | ;; | 48 | ;; |
| @@ -688,7 +688,7 @@ on the menu bar. | |||
| 688 | (TeX-master-file t) | 688 | (TeX-master-file t) |
| 689 | (error (buffer-file-name)))) | 689 | (error (buffer-file-name)))) |
| 690 | ((fboundp 'tex-main-file) (tex-main-file)) ; Emacs LaTeX mode | 690 | ((fboundp 'tex-main-file) (tex-main-file)) ; Emacs LaTeX mode |
| 691 | ((boundp 'TeX-master) ; The variable is defined - lets use it. | 691 | ((boundp 'TeX-master) ; The variable is defined - let's use it. |
| 692 | (cond | 692 | (cond |
| 693 | ((eq TeX-master t) | 693 | ((eq TeX-master t) |
| 694 | (buffer-file-name)) | 694 | (buffer-file-name)) |
| @@ -1568,7 +1568,7 @@ Valid actions are: readable, restore, read, kill, write." | |||
| 1568 | ;;; Finding files | 1568 | ;;; Finding files |
| 1569 | 1569 | ||
| 1570 | (defun reftex-locate-file (file type master-dir &optional die) | 1570 | (defun reftex-locate-file (file type master-dir &optional die) |
| 1571 | "Find FILE of type TYPE in MASTER-DIR or on the path associcted with TYPE. | 1571 | "Find FILE of type TYPE in MASTER-DIR or on the path associated with TYPE. |
| 1572 | If the file does not have any of the valid extensions for TYPE, | 1572 | If the file does not have any of the valid extensions for TYPE, |
| 1573 | try first the default extension and only then the naked file name. | 1573 | try first the default extension and only then the naked file name. |
| 1574 | When DIE is non-nil, throw an error if file not found." | 1574 | When DIE is non-nil, throw an error if file not found." |
| @@ -1612,7 +1612,7 @@ When DIE is non-nil, throw an error if file not found." | |||
| 1612 | (defun reftex-find-file-externally (file type &optional master-dir) | 1612 | (defun reftex-find-file-externally (file type &optional master-dir) |
| 1613 | ;; Use external program to find FILE. | 1613 | ;; Use external program to find FILE. |
| 1614 | ;; The program is taken from `reftex-external-file-finders'. | 1614 | ;; The program is taken from `reftex-external-file-finders'. |
| 1615 | ;; Interprete relative path definitions starting from MASTER-DIR. | 1615 | ;; Interpret relative path definitions starting from MASTER-DIR. |
| 1616 | (let ((default-directory (or master-dir default-directory)) | 1616 | (let ((default-directory (or master-dir default-directory)) |
| 1617 | (prg (cdr (assoc type reftex-external-file-finders))) | 1617 | (prg (cdr (assoc type reftex-external-file-finders))) |
| 1618 | out) | 1618 | out) |
| @@ -2058,7 +2058,7 @@ When DIE is non-nil, throw an error if file not found." | |||
| 2058 | (with-current-buffer buf | 2058 | (with-current-buffer buf |
| 2059 | (run-hooks 'reftex-initialize-temporary-buffers)))) | 2059 | (run-hooks 'reftex-initialize-temporary-buffers)))) |
| 2060 | 2060 | ||
| 2061 | ;; Lets see if we got a license to kill :-| | 2061 | ;; Let's see if we got a license to kill :-| |
| 2062 | (and mark-to-kill | 2062 | (and mark-to-kill |
| 2063 | (add-to-list 'reftex-buffers-to-kill buf)) | 2063 | (add-to-list 'reftex-buffers-to-kill buf)) |
| 2064 | 2064 | ||
| @@ -2254,7 +2254,7 @@ IGNORE-WORDS List of words which should be removed from the string." | |||
| 2254 | (defvar font-lock-defaults-computed) | 2254 | (defvar font-lock-defaults-computed) |
| 2255 | (defun reftex-fontify-select-label-buffer (parent-buffer) | 2255 | (defun reftex-fontify-select-label-buffer (parent-buffer) |
| 2256 | ;; Fontify the `*RefTeX Select*' buffer. Buffer is temporarily renamed to | 2256 | ;; Fontify the `*RefTeX Select*' buffer. Buffer is temporarily renamed to |
| 2257 | ;; start with none-SPC char, beacuse Font-Lock otherwise refuses operation. | 2257 | ;; start with none-SPC char, because Font-Lock otherwise refuses operation. |
| 2258 | (run-hook-with-args 'reftex-pre-refontification-functions | 2258 | (run-hook-with-args 'reftex-pre-refontification-functions |
| 2259 | parent-buffer 'reftex-ref) | 2259 | parent-buffer 'reftex-ref) |
| 2260 | (let* ((oldname (buffer-name)) | 2260 | (let* ((oldname (buffer-name)) |
diff --git a/lisp/textmodes/remember.el b/lisp/textmodes/remember.el index 1923ab692d8..07a4fae9c30 100644 --- a/lisp/textmodes/remember.el +++ b/lisp/textmodes/remember.el | |||
| @@ -113,7 +113,7 @@ | |||
| 113 | ;; - Allowing particular views of the initially amorphous data pool | 113 | ;; - Allowing particular views of the initially amorphous data pool |
| 114 | ;; (ala the Xanadu concept). | 114 | ;; (ala the Xanadu concept). |
| 115 | ;; | 115 | ;; |
| 116 | ;; - Storage of the data in a manner most appopriate to that data, | 116 | ;; - Storage of the data in a manner most appropriate to that data, |
| 117 | ;; such as keeping address-book type information in BBDB, etc. | 117 | ;; such as keeping address-book type information in BBDB, etc. |
| 118 | ;; | 118 | ;; |
| 119 | ;; * Using "remember" | 119 | ;; * Using "remember" |
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index 0ce71c25ad7..81e92487eb0 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el | |||
| @@ -1534,7 +1534,7 @@ is a regular expression for matching the lines with items." | |||
| 1534 | 1534 | ||
| 1535 | (defvar rst-preferred-bullets | 1535 | (defvar rst-preferred-bullets |
| 1536 | '(?- ?* ?+) | 1536 | '(?- ?* ?+) |
| 1537 | "List of favourite bullets to set for straightening bullets.") | 1537 | "List of favorite bullets to set for straightening bullets.") |
| 1538 | 1538 | ||
| 1539 | (defun rst-straighten-bullets-region (beg end) | 1539 | (defun rst-straighten-bullets-region (beg end) |
| 1540 | "Make all the bulleted list items in the region consistent. | 1540 | "Make all the bulleted list items in the region consistent. |
| @@ -2323,7 +2323,7 @@ of (COLUMN-NUMBER . LINE) pairs." | |||
| 2323 | (indent-rigidly | 2323 | (indent-rigidly |
| 2324 | mbeg mend | 2324 | mbeg mend |
| 2325 | 2325 | ||
| 2326 | ;; Find the next tab after the leftmost columnt. | 2326 | ;; Find the next tab after the leftmost column. |
| 2327 | (let ((tab (funcall find-next-fun tabs leftmostcol))) | 2327 | (let ((tab (funcall find-next-fun tabs leftmostcol))) |
| 2328 | 2328 | ||
| 2329 | (if tab | 2329 | (if tab |
| @@ -2475,7 +2475,7 @@ first of a paragraph." | |||
| 2475 | ;;------------------------------------------------------------------------------ | 2475 | ;;------------------------------------------------------------------------------ |
| 2476 | 2476 | ||
| 2477 | ;; FIXME: these next functions should become part of a larger effort to redo the | 2477 | ;; FIXME: these next functions should become part of a larger effort to redo the |
| 2478 | ;; bullets in bulletted lists. The enumerate would just be one of the possible | 2478 | ;; bullets in bulleted lists. The enumerate would just be one of the possible |
| 2479 | ;; outputs. | 2479 | ;; outputs. |
| 2480 | ;; | 2480 | ;; |
| 2481 | ;; FIXME: TODO we need to do the enumeration removal as well. | 2481 | ;; FIXME: TODO we need to do the enumeration removal as well. |
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 871701b7303..f9e3283b783 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el | |||
| @@ -847,7 +847,7 @@ and disable it otherwise. If called from Lisp, enable the mode | |||
| 847 | if ARG is omitted or nil. | 847 | if ARG is omitted or nil. |
| 848 | 848 | ||
| 849 | SGML Electric Tag Pair mode is a buffer-local minor mode for use | 849 | SGML Electric Tag Pair mode is a buffer-local minor mode for use |
| 850 | with `sgml-mode' and related maor modes. When enabled, editing | 850 | with `sgml-mode' and related major modes. When enabled, editing |
| 851 | an opening markup tag automatically updates the closing tag." | 851 | an opening markup tag automatically updates the closing tag." |
| 852 | :lighter "/e" | 852 | :lighter "/e" |
| 853 | (if sgml-electric-tag-pair-mode | 853 | (if sgml-electric-tag-pair-mode |
| @@ -1558,7 +1558,7 @@ LCON is the lexical context, if any." | |||
| 1558 | 1558 | ||
| 1559 | (defun sgml-guess-indent () | 1559 | (defun sgml-guess-indent () |
| 1560 | "Guess an appropriate value for `sgml-basic-offset'. | 1560 | "Guess an appropriate value for `sgml-basic-offset'. |
| 1561 | Base the guessed identation level on the first indented tag in the buffer. | 1561 | Base the guessed indentation level on the first indented tag in the buffer. |
| 1562 | Add this to `sgml-mode-hook' for convenience." | 1562 | Add this to `sgml-mode-hook' for convenience." |
| 1563 | (interactive) | 1563 | (interactive) |
| 1564 | (save-excursion | 1564 | (save-excursion |
diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el index 2dc4e4a88b1..08a45b6b302 100644 --- a/lisp/textmodes/table.el +++ b/lisp/textmodes/table.el | |||
| @@ -1482,7 +1482,7 @@ the last cache point coordinate." | |||
| 1482 | (cons (cons command func-symbol) | 1482 | (cons (cons command func-symbol) |
| 1483 | table-command-remap-alist)))) | 1483 | table-command-remap-alist)))) |
| 1484 | '(center-line | 1484 | '(center-line |
| 1485 | conter-region | 1485 | center-region |
| 1486 | center-paragraph | 1486 | center-paragraph |
| 1487 | fill-paragraph)) | 1487 | fill-paragraph)) |
| 1488 | 1488 | ||
| @@ -5535,7 +5535,7 @@ When COORDINATE is omitted or nil the point in current buffer is assumed in plac | |||
| 5535 | table-cell-info-lu-coordinate)) | 5535 | table-cell-info-lu-coordinate)) |
| 5536 | 5536 | ||
| 5537 | (defun table--offset-coordinate (coordinate offset &optional negative) | 5537 | (defun table--offset-coordinate (coordinate offset &optional negative) |
| 5538 | "Return the offseted COORDINATE by OFFSET. | 5538 | "Return the offset COORDINATE by OFFSET. |
| 5539 | When optional NEGATIVE is non-nil offsetting direction is negative." | 5539 | When optional NEGATIVE is non-nil offsetting direction is negative." |
| 5540 | (cons (if negative (- (car coordinate) (car offset)) | 5540 | (cons (if negative (- (car coordinate) (car offset)) |
| 5541 | (+ (car coordinate) (car offset))) | 5541 | (+ (car coordinate) (car offset))) |
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index deb92fc0243..c4892ce572c 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -1871,7 +1871,7 @@ Mark is left at original location." | |||
| 1871 | tex-old-error-file-name 2 nil 1 1 | 1871 | tex-old-error-file-name 2 nil 1 1 |
| 1872 | (2 compilation-warning-face)) | 1872 | (2 compilation-warning-face)) |
| 1873 | ;; Included files get output as (<file> ...). | 1873 | ;; Included files get output as (<file> ...). |
| 1874 | ;; FIXME: there tend to be a crapload of them at the beginning of the | 1874 | ;; FIXME: there tend to be a boatload of them at the beginning of the |
| 1875 | ;; output which aren't that interesting. Maybe we should filter out | 1875 | ;; output which aren't that interesting. Maybe we should filter out |
| 1876 | ;; all the file name that start with /usr/share? | 1876 | ;; all the file name that start with /usr/share? |
| 1877 | ;; ("(\\.?/\\([^() \n]+\\)" 1 nil nil 0) | 1877 | ;; ("(\\.?/\\([^() \n]+\\)" 1 nil nil 0) |
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index d33cbb97dd8..094885bb0d0 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el | |||
| @@ -620,7 +620,7 @@ if large. You can use `Info-split' to do this manually." | |||
| 620 | "var{\\|" | 620 | "var{\\|" |
| 621 | "w{\\|" | 621 | "w{\\|" |
| 622 | "xref{\\|" | 622 | "xref{\\|" |
| 623 | "@-\\|" ; @- is a descretionary hyphen (not an accent) (a noop). | 623 | "@-\\|" ; @- is a discretionary hyphen (not an accent) (a noop). |
| 624 | texinfo-accent-commands | 624 | texinfo-accent-commands |
| 625 | "\\)" | 625 | "\\)" |
| 626 | ) | 626 | ) |
| @@ -2194,7 +2194,7 @@ This command is executed when texinfmt sees @item inside @multitable." | |||
| 2194 | 2194 | ||
| 2195 | (put 'image 'texinfo-format 'texinfo-format-image) | 2195 | (put 'image 'texinfo-format 'texinfo-format-image) |
| 2196 | (defun texinfo-format-image () | 2196 | (defun texinfo-format-image () |
| 2197 | "Insert an image from an an file ending in .txt. | 2197 | "Insert an image from a file ending in .txt. |
| 2198 | Use only the FILENAME arg; for Info, ignore the other arguments to @image." | 2198 | Use only the FILENAME arg; for Info, ignore the other arguments to @image." |
| 2199 | (let ((args (texinfo-format-parse-args)) | 2199 | (let ((args (texinfo-format-parse-args)) |
| 2200 | filename) | 2200 | filename) |
| @@ -3909,11 +3909,11 @@ Default is to leave paragraph indentation as is." | |||
| 3909 | ;;; @set, @clear, @ifset, @ifclear | 3909 | ;;; @set, @clear, @ifset, @ifclear |
| 3910 | 3910 | ||
| 3911 | ;; If a flag is set with @set FLAG, then text between @ifset and @end | 3911 | ;; If a flag is set with @set FLAG, then text between @ifset and @end |
| 3912 | ;; ifset is formatted normally, but if the flag is is cleared with | 3912 | ;; ifset is formatted normally, but if the flag is cleared with |
| 3913 | ;; @clear FLAG, then the text is not formatted; it is ignored. | 3913 | ;; @clear FLAG, then the text is not formatted; it is ignored. |
| 3914 | 3914 | ||
| 3915 | ;; If a flag is cleared with @clear FLAG, then text between @ifclear | 3915 | ;; If a flag is cleared with @clear FLAG, then text between @ifclear |
| 3916 | ;; and @end ifclear is formatted normally, but if the flag is is set with | 3916 | ;; and @end ifclear is formatted normally, but if the flag is set with |
| 3917 | ;; @set FLAG, then the text is not formatted; it is ignored. @ifclear | 3917 | ;; @set FLAG, then the text is not formatted; it is ignored. @ifclear |
| 3918 | ;; is the opposite of @ifset. | 3918 | ;; is the opposite of @ifset. |
| 3919 | 3919 | ||
diff --git a/lisp/thumbs.el b/lisp/thumbs.el index 7a505758408..dad4731122e 100644 --- a/lisp/thumbs.el +++ b/lisp/thumbs.el | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | ;; This package create two new modes: thumbs-mode and thumbs-view-image-mode. | 26 | ;; This package create two new modes: thumbs-mode and thumbs-view-image-mode. |
| 27 | ;; It is used for basic browsing and viewing of images from within Emacs. | 27 | ;; It is used for basic browsing and viewing of images from within Emacs. |
| 28 | ;; Minimal image manipulation functions are also available via external | 28 | ;; Minimal image manipulation functions are also available via external |
| 29 | ;; programs. If you want to do more complex tasks like categorise and tag | 29 | ;; programs. If you want to do more complex tasks like categorize and tag |
| 30 | ;; your images, use image-dired.el | 30 | ;; your images, use image-dired.el |
| 31 | ;; | 31 | ;; |
| 32 | ;; The 'convert' program from 'ImageMagick' | 32 | ;; The 'convert' program from 'ImageMagick' |
| @@ -92,7 +92,7 @@ When it reaches that size (in bytes), a warning is sent." | |||
| 92 | :group 'thumbs) | 92 | :group 'thumbs) |
| 93 | 93 | ||
| 94 | ;; Unfortunately Windows XP has a program called CONVERT.EXE in | 94 | ;; Unfortunately Windows XP has a program called CONVERT.EXE in |
| 95 | ;; C:/WINDOWS/SYSTEM32/ for partioning NTFS system. So Emacs | 95 | ;; C:/WINDOWS/SYSTEM32/ for partitioning NTFS systems. So Emacs |
| 96 | ;; can find the one in your ImageMagick directory, you need to | 96 | ;; can find the one in your ImageMagick directory, you need to |
| 97 | ;; customize this value to the absolute filename. | 97 | ;; customize this value to the absolute filename. |
| 98 | (defcustom thumbs-conversion-program | 98 | (defcustom thumbs-conversion-program |
diff --git a/lisp/tmm.el b/lisp/tmm.el index 52704e70a55..5722c2c8f79 100644 --- a/lisp/tmm.el +++ b/lisp/tmm.el | |||
| @@ -37,7 +37,6 @@ | |||
| 37 | ;;; The following will be localized, added only to pacify the compiler. | 37 | ;;; The following will be localized, added only to pacify the compiler. |
| 38 | (defvar tmm-short-cuts) | 38 | (defvar tmm-short-cuts) |
| 39 | (defvar tmm-old-mb-map nil) | 39 | (defvar tmm-old-mb-map nil) |
| 40 | (defvar tmm-old-comp-map) | ||
| 41 | (defvar tmm-c-prompt nil) | 40 | (defvar tmm-c-prompt nil) |
| 42 | (defvar tmm-km-list) | 41 | (defvar tmm-km-list) |
| 43 | (defvar tmm-next-shortcut-digit) | 42 | (defvar tmm-next-shortcut-digit) |
| @@ -98,7 +97,7 @@ See the documentation for `tmm-prompt'." | |||
| 98 | 97 | ||
| 99 | (defcustom tmm-mid-prompt "==>" | 98 | (defcustom tmm-mid-prompt "==>" |
| 100 | "String to insert between shortcut and menu item. | 99 | "String to insert between shortcut and menu item. |
| 101 | If nil, there will be no shortcuts. It should not consist only of spaces, | 100 | If nil, there will be no shortcuts. It should not consist only of spaces, |
| 102 | or else the correct item might not be found in the `*Completions*' buffer." | 101 | or else the correct item might not be found in the `*Completions*' buffer." |
| 103 | :type 'string | 102 | :type 'string |
| 104 | :group 'tmm) | 103 | :group 'tmm) |
| @@ -158,7 +157,7 @@ Its value should be an event that has a binding in MENU." | |||
| 158 | (let ((gl-str "Menu bar") ;; The menu bar itself is not a menu keymap | 157 | (let ((gl-str "Menu bar") ;; The menu bar itself is not a menu keymap |
| 159 | ; so it doesn't have a name. | 158 | ; so it doesn't have a name. |
| 160 | tmm-km-list out history history-len tmm-table-undef tmm-c-prompt | 159 | tmm-km-list out history history-len tmm-table-undef tmm-c-prompt |
| 161 | tmm-old-mb-map tmm-old-comp-map tmm-short-cuts | 160 | tmm-old-mb-map tmm-short-cuts |
| 162 | chosen-string choice | 161 | chosen-string choice |
| 163 | (not-menu (not (keymapp menu)))) | 162 | (not-menu (not (keymapp menu)))) |
| 164 | (run-hooks 'activate-menubar-hook) | 163 | (run-hooks 'activate-menubar-hook) |
| @@ -219,23 +218,16 @@ Its value should be an event that has a binding in MENU." | |||
| 219 | (setq history-len (length history)) | 218 | (setq history-len (length history)) |
| 220 | (setq history (append history history history history)) | 219 | (setq history (append history history history history)) |
| 221 | (setq tmm-c-prompt (nth (- history-len 1 index-of-default) history)) | 220 | (setq tmm-c-prompt (nth (- history-len 1 index-of-default) history)) |
| 222 | (add-hook 'minibuffer-setup-hook 'tmm-add-prompt) | 221 | (setq out |
| 223 | (if default-item | 222 | (if default-item |
| 224 | (setq out (car (nth index-of-default tmm-km-list))) | 223 | (car (nth index-of-default tmm-km-list)) |
| 225 | (save-excursion | 224 | (minibuffer-with-setup-hook #'tmm-add-prompt |
| 226 | (unwind-protect | 225 | (completing-read |
| 227 | (setq out | 226 | (concat gl-str |
| 228 | (completing-read | 227 | " (up/down to change, PgUp to menu): ") |
| 229 | (concat gl-str | 228 | tmm-km-list nil t nil |
| 230 | " (up/down to change, PgUp to menu): ") | 229 | (cons 'history |
| 231 | tmm-km-list nil t nil | 230 | (- (* 2 history-len) index-of-default)))))))) |
| 232 | (cons 'history | ||
| 233 | (- (* 2 history-len) index-of-default)))) | ||
| 234 | (remove-hook 'minibuffer-setup-hook 'tmm-add-prompt) | ||
| 235 | (if (get-buffer "*Completions*") | ||
| 236 | (with-current-buffer "*Completions*" | ||
| 237 | (use-local-map tmm-old-comp-map) | ||
| 238 | (bury-buffer (current-buffer))))))))) | ||
| 239 | (setq choice (cdr (assoc out tmm-km-list))) | 231 | (setq choice (cdr (assoc out tmm-km-list))) |
| 240 | (and (null choice) | 232 | (and (null choice) |
| 241 | (> (length out) (length tmm-c-prompt)) | 233 | (> (length out) (length tmm-c-prompt)) |
| @@ -270,7 +262,7 @@ Its value should be an event that has a binding in MENU." | |||
| 270 | choice))))) | 262 | choice))))) |
| 271 | 263 | ||
| 272 | (defun tmm-add-shortcuts (list) | 264 | (defun tmm-add-shortcuts (list) |
| 273 | "Adds shortcuts to cars of elements of the list. | 265 | "Add shortcuts to cars of elements of the list. |
| 274 | Takes a list of lists with a string as car, returns list with | 266 | Takes a list of lists with a string as car, returns list with |
| 275 | shortcuts added to these cars. | 267 | shortcuts added to these cars. |
| 276 | Stores a list of all the shortcuts in the free variable `tmm-short-cuts'." | 268 | Stores a list of all the shortcuts in the free variable `tmm-short-cuts'." |
| @@ -362,7 +354,6 @@ Stores a list of all the shortcuts in the free variable `tmm-short-cuts'." | |||
| 362 | (set-buffer-modified-p nil))) | 354 | (set-buffer-modified-p nil))) |
| 363 | 355 | ||
| 364 | (defun tmm-add-prompt () | 356 | (defun tmm-add-prompt () |
| 365 | (remove-hook 'minibuffer-setup-hook 'tmm-add-prompt) | ||
| 366 | (add-hook 'minibuffer-exit-hook 'tmm-delete-map nil t) | 357 | (add-hook 'minibuffer-exit-hook 'tmm-delete-map nil t) |
| 367 | (unless tmm-c-prompt | 358 | (unless tmm-c-prompt |
| 368 | (error "No active menu entries")) | 359 | (error "No active menu entries")) |
| @@ -387,9 +378,7 @@ Stores a list of all the shortcuts in the free variable `tmm-short-cuts'." | |||
| 387 | (save-selected-window | 378 | (save-selected-window |
| 388 | (other-window 1) ; Electric-pop-up-window does | 379 | (other-window 1) ; Electric-pop-up-window does |
| 389 | ; not work in minibuffer | 380 | ; not work in minibuffer |
| 390 | (Electric-pop-up-window "*Completions*") | 381 | (Electric-pop-up-window "*Completions*")) |
| 391 | (with-current-buffer "*Completions*" | ||
| 392 | (setq tmm-old-comp-map (tmm-define-keys nil)))) | ||
| 393 | (insert tmm-c-prompt)) | 382 | (insert tmm-c-prompt)) |
| 394 | 383 | ||
| 395 | (defun tmm-delete-map () | 384 | (defun tmm-delete-map () |
| @@ -424,16 +413,18 @@ Stores a list of all the shortcuts in the free variable `tmm-short-cuts'." | |||
| 424 | (exit-minibuffer))))) | 413 | (exit-minibuffer))))) |
| 425 | 414 | ||
| 426 | (defun tmm-goto-completions () | 415 | (defun tmm-goto-completions () |
| 416 | "Jump to the completions buffer." | ||
| 427 | (interactive) | 417 | (interactive) |
| 428 | (let ((prompt-end (minibuffer-prompt-end))) | 418 | (let ((prompt-end (minibuffer-prompt-end))) |
| 429 | (setq tmm-c-prompt (buffer-substring prompt-end (point-max))) | 419 | (setq tmm-c-prompt (buffer-substring prompt-end (point-max))) |
| 420 | ;; FIXME: Why? | ||
| 430 | (delete-region prompt-end (point-max))) | 421 | (delete-region prompt-end (point-max))) |
| 431 | (switch-to-buffer-other-window "*Completions*") | 422 | (switch-to-buffer-other-window "*Completions*") |
| 432 | (search-forward tmm-c-prompt) | 423 | (search-forward tmm-c-prompt) |
| 433 | (search-backward tmm-c-prompt)) | 424 | (search-backward tmm-c-prompt)) |
| 434 | 425 | ||
| 435 | (defun tmm-get-keymap (elt &optional in-x-menu) | 426 | (defun tmm-get-keymap (elt &optional in-x-menu) |
| 436 | "Prepends (DOCSTRING EVENT BINDING) to free variable `tmm-km-list'. | 427 | "Prepend (DOCSTRING EVENT BINDING) to free variable `tmm-km-list'. |
| 437 | The values are deduced from the argument ELT, that should be an | 428 | The values are deduced from the argument ELT, that should be an |
| 438 | element of keymap, an `x-popup-menu' argument, or an element of | 429 | element of keymap, an `x-popup-menu' argument, or an element of |
| 439 | `x-popup-menu' argument (when IN-X-MENU is not-nil). | 430 | `x-popup-menu' argument (when IN-X-MENU is not-nil). |
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index a2a1b451258..47f006eebda 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2011-11-15 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * url-dav.el (url-dav-delete-file): Fix typo. | ||
| 4 | |||
| 5 | 2011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 6 | |||
| 7 | * url-http.el (url-http-async-sentinel): If the server hangs up | ||
| 8 | while we're talking to it, just `message' the error instead of | ||
| 9 | throwing an error. | ||
| 10 | |||
| 1 | 2011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org> | 11 | 2011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 12 | ||
| 3 | * url-cookie.el (url-cookie-expired-p): Protect against | 13 | * url-cookie.el (url-cookie-expired-p): Protect against |
diff --git a/lisp/url/url-dav.el b/lisp/url/url-dav.el index 3d1f6afcb0e..0e3713c9fcc 100644 --- a/lisp/url/url-dav.el +++ b/lisp/url/url-dav.el | |||
| @@ -117,7 +117,7 @@ | |||
| 117 | ;; We need to populate 'time' with | 117 | ;; We need to populate 'time' with |
| 118 | ;; (SEC MIN HOUR DAY MON YEAR DOW DST TZ) | 118 | ;; (SEC MIN HOUR DAY MON YEAR DOW DST TZ) |
| 119 | 119 | ||
| 120 | ;; Nobody else handles iso8601 correctly, lets do it ourselves. | 120 | ;; Nobody else handles iso8601 correctly, let's do it ourselves. |
| 121 | (when (string-match date-re date-string re-start) | 121 | (when (string-match date-re date-string re-start) |
| 122 | (setq year (string-to-number (match-string 1 date-string)) | 122 | (setq year (string-to-number (match-string 1 date-string)) |
| 123 | month (string-to-number (match-string 2 date-string)) | 123 | month (string-to-number (match-string 2 date-string)) |
| @@ -417,7 +417,7 @@ XML document." | |||
| 417 | Automatically creates an XML request body if TAG is non-nil. | 417 | Automatically creates an XML request body if TAG is non-nil. |
| 418 | BODY is the XML document fragment to be enclosed by <TAG></TAG>. | 418 | BODY is the XML document fragment to be enclosed by <TAG></TAG>. |
| 419 | 419 | ||
| 420 | DEPTH is how deep the request should propogate. Default is 0, meaning | 420 | DEPTH is how deep the request should propagate. Default is 0, meaning |
| 421 | it should apply only to URL. A negative number means to use | 421 | it should apply only to URL. A negative number means to use |
| 422 | `Infinity' for the depth. Not all WebDAV servers support this depth | 422 | `Infinity' for the depth. Not all WebDAV servers support this depth |
| 423 | though. | 423 | though. |
| @@ -430,7 +430,7 @@ added to this list, so most requests can just pass in nil." | |||
| 430 | ;; Take care of the default value for depth... | 430 | ;; Take care of the default value for depth... |
| 431 | (setq depth (or depth 0)) | 431 | (setq depth (or depth 0)) |
| 432 | 432 | ||
| 433 | ;; Now lets translate it into something webdav can understand. | 433 | ;; Now let's translate it into something webdav can understand. |
| 434 | (if (< depth 0) | 434 | (if (< depth 0) |
| 435 | (setq depth "Infinity") | 435 | (setq depth "Infinity") |
| 436 | (setq depth (int-to-string depth))) | 436 | (setq depth (int-to-string depth))) |
| @@ -762,7 +762,7 @@ files in the collection as well." | |||
| 762 | (setq status (plist-get (cdr result) 'DAV:status)) | 762 | (setq status (plist-get (cdr result) 'DAV:status)) |
| 763 | (if (not (url-dav-http-success-p status)) | 763 | (if (not (url-dav-http-success-p status)) |
| 764 | (signal 'file-error (list "Removing old name" | 764 | (signal 'file-error (list "Removing old name" |
| 765 | "Errror removing" | 765 | "Error removing" |
| 766 | (car result) status)))) | 766 | (car result) status)))) |
| 767 | props)) | 767 | props)) |
| 768 | nil) | 768 | nil) |
| @@ -909,7 +909,7 @@ Returns nil if URL contains no name starting with FILE." | |||
| 909 | ;; Only one file and FILE matches it exactly... | 909 | ;; Only one file and FILE matches it exactly... |
| 910 | t) | 910 | t) |
| 911 | (t | 911 | (t |
| 912 | ;; Need to figure out the longest string that they have in commmon | 912 | ;; Need to figure out the longest string that they have in common |
| 913 | (setq matches (sort matches (lambda (a b) (> (length a) (length b))))) | 913 | (setq matches (sort matches (lambda (a b) (> (length a) (length b))))) |
| 914 | (let ((n (length file)) | 914 | (let ((n (length file)) |
| 915 | (searching t) | 915 | (searching t) |
diff --git a/lisp/url/url-future.el b/lisp/url/url-future.el index ac85a3cec47..8a2c112715c 100644 --- a/lisp/url/url-future.el +++ b/lisp/url/url-future.el | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | ;; So, to get the value: | 36 | ;; So, to get the value: |
| 37 | ;; (when (url-future-completed-p future) (url-future-value future)) | 37 | ;; (when (url-future-completed-p future) (url-future-value future)) |
| 38 | 38 | ||
| 39 | ;; See the ERT tests and the code for futher details. | 39 | ;; See the ERT tests and the code for further details. |
| 40 | 40 | ||
| 41 | ;;; Code: | 41 | ;;; Code: |
| 42 | 42 | ||
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 6e192cd5aae..a9ff042d681 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el | |||
| @@ -702,7 +702,7 @@ should be shown to the user." | |||
| 702 | (not-acceptable ; 406 | 702 | (not-acceptable ; 406 |
| 703 | ;; The resource identified by the request is only capable of | 703 | ;; The resource identified by the request is only capable of |
| 704 | ;; generating response entities which have content | 704 | ;; generating response entities which have content |
| 705 | ;; characteristics nota cceptable according to the accept | 705 | ;; characteristics not acceptable according to the accept |
| 706 | ;; headers sent in the request. | 706 | ;; headers sent in the request. |
| 707 | (setq success t)) | 707 | (setq success t)) |
| 708 | (proxy-authentication-required ; 407 | 708 | (proxy-authentication-required ; 407 |
| @@ -721,7 +721,7 @@ should be shown to the user." | |||
| 721 | ;; The request could not be completed due to a conflict with | 721 | ;; The request could not be completed due to a conflict with |
| 722 | ;; the current state of the resource. This code is only | 722 | ;; the current state of the resource. This code is only |
| 723 | ;; allowed in situations where it is expected that the user | 723 | ;; allowed in situations where it is expected that the user |
| 724 | ;; mioght be able to resolve the conflict and resubmit the | 724 | ;; might be able to resolve the conflict and resubmit the |
| 725 | ;; request. The response body SHOULD include enough | 725 | ;; request. The response body SHOULD include enough |
| 726 | ;; information for the user to recognize the source of the | 726 | ;; information for the user to recognize the source of the |
| 727 | ;; conflict. | 727 | ;; conflict. |
| @@ -1092,7 +1092,7 @@ the end of the document." | |||
| 1092 | (url-http-activate-callback))) | 1092 | (url-http-activate-callback))) |
| 1093 | ((string= "CONNECT" url-http-method) | 1093 | ((string= "CONNECT" url-http-method) |
| 1094 | ;; A CONNECT request is finished, but we cannot stick this | 1094 | ;; A CONNECT request is finished, but we cannot stick this |
| 1095 | ;; back on the free connectin list | 1095 | ;; back on the free connection list |
| 1096 | (url-http-debug "CONNECT request must have headers only.") | 1096 | (url-http-debug "CONNECT request must have headers only.") |
| 1097 | (when (url-http-parse-headers) | 1097 | (when (url-http-parse-headers) |
| 1098 | (url-http-activate-callback))) | 1098 | (url-http-activate-callback))) |
| @@ -1255,7 +1255,11 @@ CBARGS as the arguments." | |||
| 1255 | (url-http-end-of-document-sentinel proc why)) | 1255 | (url-http-end-of-document-sentinel proc why)) |
| 1256 | ((string= (substring why 0 4) "open") | 1256 | ((string= (substring why 0 4) "open") |
| 1257 | (setq url-http-connection-opened t) | 1257 | (setq url-http-connection-opened t) |
| 1258 | (process-send-string proc (url-http-create-request))) | 1258 | (condition-case error |
| 1259 | (process-send-string proc (url-http-create-request)) | ||
| 1260 | (file-error | ||
| 1261 | (setq url-http-connection-opened nil) | ||
| 1262 | (message "HTTP error: %s" error)))) | ||
| 1259 | (t | 1263 | (t |
| 1260 | (setf (car url-callback-arguments) | 1264 | (setf (car url-callback-arguments) |
| 1261 | (nconc (list :error (list 'error 'connection-failed why | 1265 | (nconc (list :error (list 'error 'connection-failed why |
diff --git a/lisp/url/url-ldap.el b/lisp/url/url-ldap.el index bb937a44423..8a7bb76160b 100644 --- a/lisp/url/url-ldap.el +++ b/lisp/url/url-ldap.el | |||
| @@ -173,7 +173,7 @@ URL can be a URL string, or a URL vector of the type returned by | |||
| 173 | (if attributes | 173 | (if attributes |
| 174 | (setq attributes (mapcar 'url-unhex-string (split-string attributes ",")))) | 174 | (setq attributes (mapcar 'url-unhex-string (split-string attributes ",")))) |
| 175 | 175 | ||
| 176 | ;; Parse out the exentions | 176 | ;; Parse out the extensions. |
| 177 | (if extensions | 177 | (if extensions |
| 178 | (setq extensions (mapcar (lambda (ext) | 178 | (setq extensions (mapcar (lambda (ext) |
| 179 | (if (string-match "\\([^=]*\\)=\\(.*\\)" ext) | 179 | (if (string-match "\\([^=]*\\)=\\(.*\\)" ext) |
diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el index 42d33553e14..cfb98c6937e 100644 --- a/lisp/url/url-vars.el +++ b/lisp/url/url-vars.el | |||
| @@ -335,7 +335,7 @@ Currently supported methods: | |||
| 335 | `socks': Connect through a socks server; | 335 | `socks': Connect through a socks server; |
| 336 | `tls': Connect with TLS; | 336 | `tls': Connect with TLS; |
| 337 | `ssl': Connect with SSL (deprecated, use `tls' instead); | 337 | `ssl': Connect with SSL (deprecated, use `tls' instead); |
| 338 | `native': Connect directy." | 338 | `native': Connect directly." |
| 339 | :type '(radio (const :tag "Telnet to gateway host" :value telnet) | 339 | :type '(radio (const :tag "Telnet to gateway host" :value telnet) |
| 340 | (const :tag "Rlogin to gateway host" :value rlogin) | 340 | (const :tag "Rlogin to gateway host" :value rlogin) |
| 341 | (const :tag "Use SOCKS proxy" :value socks) | 341 | (const :tag "Use SOCKS proxy" :value socks) |
diff --git a/lisp/url/url.el b/lisp/url/url.el index 7136b6023ce..c95b61c43fb 100644 --- a/lisp/url/url.el +++ b/lisp/url/url.el | |||
| @@ -252,7 +252,7 @@ no further processing). URL is either a string or a parsed URL." | |||
| 252 | ;; interrupt it before it got a chance to handle process input. | 252 | ;; interrupt it before it got a chance to handle process input. |
| 253 | ;; `sleep-for' was tried but it lead to other forms of | 253 | ;; `sleep-for' was tried but it lead to other forms of |
| 254 | ;; hanging. --Stef | 254 | ;; hanging. --Stef |
| 255 | (unless (or (with-local-quit | 255 | (unless (or (with-local-quit |
| 256 | (accept-process-output proc)) | 256 | (accept-process-output proc)) |
| 257 | (null proc)) | 257 | (null proc)) |
| 258 | ;; accept-process-output returned nil, maybe because the process | 258 | ;; accept-process-output returned nil, maybe because the process |
| @@ -290,7 +290,7 @@ no further processing). URL is either a string or a parsed URL." | |||
| 290 | ;; These requires could advantageously be moved to url-mm-callback or | 290 | ;; These requires could advantageously be moved to url-mm-callback or |
| 291 | ;; turned into autoloads, but I suspect that it would introduce some bugs | 291 | ;; turned into autoloads, but I suspect that it would introduce some bugs |
| 292 | ;; because loading those files from a process sentinel or filter may | 292 | ;; because loading those files from a process sentinel or filter may |
| 293 | ;; result in some undesirable carner cases. | 293 | ;; result in some undesirable corner cases. |
| 294 | (require 'mm-decode) | 294 | (require 'mm-decode) |
| 295 | (require 'mm-view) | 295 | (require 'mm-view) |
| 296 | (url-retrieve url 'url-mm-callback nil)) | 296 | (url-retrieve url 'url-mm-callback nil)) |
diff --git a/lisp/vc/ediff-init.el b/lisp/vc/ediff-init.el index eeaa2cfa927..787a8b7c0f1 100644 --- a/lisp/vc/ediff-init.el +++ b/lisp/vc/ediff-init.el | |||
| @@ -81,7 +81,7 @@ that Ediff doesn't know about.") | |||
| 81 | ;; so that `kill-all-local-variables' (called by major-mode setting | 81 | ;; so that `kill-all-local-variables' (called by major-mode setting |
| 82 | ;; commands) won't destroy Ediff control variables. | 82 | ;; commands) won't destroy Ediff control variables. |
| 83 | ;; | 83 | ;; |
| 84 | ;; Plagiarised from `emerge-defvar-local' for XEmacs. | 84 | ;; Plagiarized from `emerge-defvar-local' for XEmacs. |
| 85 | (defmacro ediff-defvar-local (var value doc) | 85 | (defmacro ediff-defvar-local (var value doc) |
| 86 | "Defines VAR as a local variable." | 86 | "Defines VAR as a local variable." |
| 87 | (declare (indent defun)) | 87 | (declare (indent defun)) |
diff --git a/lisp/vc/ediff-ptch.el b/lisp/vc/ediff-ptch.el index d930a1bec69..ef273c610fe 100644 --- a/lisp/vc/ediff-ptch.el +++ b/lisp/vc/ediff-ptch.el | |||
| @@ -635,7 +635,7 @@ optional argument, then use it." | |||
| 635 | ;; Traditional patch has weird return codes. | 635 | ;; Traditional patch has weird return codes. |
| 636 | ;; GNU and Posix return 1 if some hanks failed and 2 in case of trouble. | 636 | ;; GNU and Posix return 1 if some hanks failed and 2 in case of trouble. |
| 637 | ;; 0 is a good code in all cases. | 637 | ;; 0 is a good code in all cases. |
| 638 | ;; We'll do the concervative thing. | 638 | ;; We'll do the conservative thing. |
| 639 | (defun ediff-patch-return-code-ok (code) | 639 | (defun ediff-patch-return-code-ok (code) |
| 640 | (eq code 0)) | 640 | (eq code 0)) |
| 641 | ;;; (if (eq (ediff-test-patch-utility) 'traditional) | 641 | ;;; (if (eq (ediff-test-patch-utility) 'traditional) |
diff --git a/lisp/vc/ediff-wind.el b/lisp/vc/ediff-wind.el index 5a7fa0bf950..9bf75fa7f55 100644 --- a/lisp/vc/ediff-wind.el +++ b/lisp/vc/ediff-wind.el | |||
| @@ -1127,7 +1127,7 @@ It assumes that it is called from within the control buffer." | |||
| 1127 | 1127 | ||
| 1128 | ;; Revise the mode line to display which difference we have selected | 1128 | ;; Revise the mode line to display which difference we have selected |
| 1129 | ;; Also resets modelines of buffers A/B, since they may be clobbered by | 1129 | ;; Also resets modelines of buffers A/B, since they may be clobbered by |
| 1130 | ;; anothe invocations of Ediff. | 1130 | ;; other invocations of Ediff. |
| 1131 | (defun ediff-refresh-mode-lines () | 1131 | (defun ediff-refresh-mode-lines () |
| 1132 | (let (buf-A-state-diff buf-B-state-diff buf-C-state-diff buf-C-state-merge) | 1132 | (let (buf-A-state-diff buf-B-state-diff buf-C-state-diff buf-C-state-merge) |
| 1133 | 1133 | ||
diff --git a/lisp/vc/pcvs-defs.el b/lisp/vc/pcvs-defs.el index 46b95130ca0..f6340392dc2 100644 --- a/lisp/vc/pcvs-defs.el +++ b/lisp/vc/pcvs-defs.el | |||
| @@ -502,7 +502,7 @@ It is expected to call the function.") | |||
| 502 | (if (or (null cvs-version) | 502 | (if (or (null cvs-version) |
| 503 | (or (>= (cdr cvs-version) 10) (> (car cvs-version) 1))) | 503 | (or (>= (cdr cvs-version) 10) (> (car cvs-version) 1))) |
| 504 | ;; Supposedly some recent versions of CVS output some directory info | 504 | ;; Supposedly some recent versions of CVS output some directory info |
| 505 | ;; as they recurse downthe tree, but it's not good enough in the case | 505 | ;; as they recurse down the tree, but it's not good enough in the case |
| 506 | ;; where we run "cvs status foo bar/foo". | 506 | ;; where we run "cvs status foo bar/foo". |
| 507 | '("status") | 507 | '("status") |
| 508 | t) | 508 | t) |
diff --git a/lisp/vc/pcvs-parse.el b/lisp/vc/pcvs-parse.el index c514026b1f1..43292ed14e4 100644 --- a/lisp/vc/pcvs-parse.el +++ b/lisp/vc/pcvs-parse.el | |||
| @@ -430,7 +430,7 @@ The remaining KEYS are passed directly to `cvs-create-fileinfo'." | |||
| 430 | ;; Conflict | 430 | ;; Conflict |
| 431 | (and | 431 | (and |
| 432 | (cvs-match (concat "C \\(.*" qfile "\\)$") (path 1) (type 'CONFLICT)) | 432 | (cvs-match (concat "C \\(.*" qfile "\\)$") (path 1) (type 'CONFLICT)) |
| 433 | ;; C might be followed by a "suprious" U for non-mergeable files | 433 | ;; C might be followed by a "spurious" U for non-mergable files |
| 434 | (cvs-or (cvs-match (concat "U \\(.*" qfile "\\)$")) t)) | 434 | (cvs-or (cvs-match (concat "U \\(.*" qfile "\\)$")) t)) |
| 435 | ;; Successful merge | 435 | ;; Successful merge |
| 436 | (cvs-match (concat "M \\(.*" qfile "\\)$") (path 1)) | 436 | (cvs-match (concat "M \\(.*" qfile "\\)$") (path 1)) |
diff --git a/lisp/vc/pcvs-util.el b/lisp/vc/pcvs-util.el index 311841d37a0..4915cb9bf7f 100644 --- a/lisp/vc/pcvs-util.el +++ b/lisp/vc/pcvs-util.el | |||
| @@ -307,7 +307,7 @@ If it is \\[universal-argument] \\[universal-argument], behave just | |||
| 307 | See `cvs-prefix-set' for further description of the behavior.")) | 307 | See `cvs-prefix-set' for further description of the behavior.")) |
| 308 | (defvar ,cps | 308 | (defvar ,cps |
| 309 | (let ((defaults ,defaults)) | 309 | (let ((defaults ,defaults)) |
| 310 | ;; sanity ensurance | 310 | ;; sanity insurance |
| 311 | (unless (>= (length defaults) cvs-prefix-number) | 311 | (unless (>= (length defaults) cvs-prefix-number) |
| 312 | (setq defaults (append defaults | 312 | (setq defaults (append defaults |
| 313 | (make-list (1- cvs-prefix-number) | 313 | (make-list (1- cvs-prefix-number) |
diff --git a/lisp/vc/pcvs.el b/lisp/vc/pcvs.el index 5595dc0b03f..256719d4c84 100644 --- a/lisp/vc/pcvs.el +++ b/lisp/vc/pcvs.el | |||
| @@ -620,7 +620,7 @@ If non-nil, NEW means to create a new buffer no matter what." | |||
| 620 | (str (car hf)) | 620 | (str (car hf)) |
| 621 | (done "") | 621 | (done "") |
| 622 | (tin (ewoc-nth cvs-cookies 0))) | 622 | (tin (ewoc-nth cvs-cookies 0))) |
| 623 | ;; look for the first *real* fileinfo (to determine emptyness) | 623 | ;; look for the first *real* fileinfo (to determine emptiness) |
| 624 | (while | 624 | (while |
| 625 | (and tin | 625 | (and tin |
| 626 | (memq (cvs-fileinfo->type (ewoc-data tin)) | 626 | (memq (cvs-fileinfo->type (ewoc-data tin)) |
diff --git a/lisp/vc/vc-arch.el b/lisp/vc/vc-arch.el index eeac55ac0f8..a20a49a4c39 100644 --- a/lisp/vc/vc-arch.el +++ b/lisp/vc/vc-arch.el | |||
| @@ -398,7 +398,7 @@ CALLBACK expects (ENTRIES &optional MORE-TO-COME); see | |||
| 398 | (with-temp-buffer | 398 | (with-temp-buffer |
| 399 | (insert-file-contents rej) | 399 | (insert-file-contents rej) |
| 400 | (goto-char (point-min)) | 400 | (goto-char (point-min)) |
| 401 | (looking-at "Conflicts occured, diff3 conflict markers left in file\\."))))) | 401 | (looking-at "Conflicts occurred, diff3 conflict markers left in file\\."))))) |
| 402 | 402 | ||
| 403 | (defun vc-arch-delete-rej-if-obsolete () | 403 | (defun vc-arch-delete-rej-if-obsolete () |
| 404 | "For use in `after-save-hook'." | 404 | "For use in `after-save-hook'." |
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el index 82eb8783a74..d4b631a1d1b 100644 --- a/lisp/vc/vc-dir.el +++ b/lisp/vc/vc-dir.el | |||
| @@ -1021,7 +1021,7 @@ specific headers." | |||
| 1021 | (lambda (info) | 1021 | (lambda (info) |
| 1022 | ;; The state for directory entries might | 1022 | ;; The state for directory entries might |
| 1023 | ;; have been changed to 'up-to-date, | 1023 | ;; have been changed to 'up-to-date, |
| 1024 | ;; reset it, othewise it will be removed when doing 'x' | 1024 | ;; reset it, otherwise it will be removed when doing 'x' |
| 1025 | ;; next time. | 1025 | ;; next time. |
| 1026 | ;; FIXME: There should be a more elegant way to do this. | 1026 | ;; FIXME: There should be a more elegant way to do this. |
| 1027 | (when (and (vc-dir-fileinfo->directory info) | 1027 | (when (and (vc-dir-fileinfo->directory info) |
diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index 35fa11c2e5e..148f6cde930 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el | |||
| @@ -72,7 +72,7 @@ An empty list disables VC altogether." | |||
| 72 | :group 'vc) | 72 | :group 'vc) |
| 73 | 73 | ||
| 74 | ;; Note: we don't actually have a darcs back end yet. | 74 | ;; Note: we don't actually have a darcs back end yet. |
| 75 | ;; Also, Meta-CVS (corresponsding to MCVS) is unsupported. | 75 | ;; Also, Meta-CVS (corresponding to MCVS) is unsupported. |
| 76 | (defcustom vc-directory-exclusion-list (purecopy '("SCCS" "RCS" "CVS" "MCVS" | 76 | (defcustom vc-directory-exclusion-list (purecopy '("SCCS" "RCS" "CVS" "MCVS" |
| 77 | ".svn" ".git" ".hg" ".bzr" | 77 | ".svn" ".git" ".hg" ".bzr" |
| 78 | "_MTN" "_darcs" "{arch}")) | 78 | "_MTN" "_darcs" "{arch}")) |
| @@ -456,8 +456,8 @@ For registered files, the value returned is one of: | |||
| 456 | 'edited The working file has been edited by the user. If | 456 | 'edited The working file has been edited by the user. If |
| 457 | locking is used for the file, this state means that | 457 | locking is used for the file, this state means that |
| 458 | the current version is locked by the calling user. | 458 | the current version is locked by the calling user. |
| 459 | This status should *not* be reported for files | 459 | This status should *not* be reported for files |
| 460 | which have a changed mtime but the same content | 460 | which have a changed mtime but the same content |
| 461 | as the repo copy. | 461 | as the repo copy. |
| 462 | 462 | ||
| 463 | USER The current version of the working file is locked by | 463 | USER The current version of the working file is locked by |
diff --git a/lisp/vc/vc-rcs.el b/lisp/vc/vc-rcs.el index 8051009a983..39c583b8a0d 100644 --- a/lisp/vc/vc-rcs.el +++ b/lisp/vc/vc-rcs.el | |||
| @@ -1399,7 +1399,7 @@ The `:insn' key is a keyword to distinguish it as a vc-rcs.el extension." | |||
| 1399 | ;; `incg' or `buffer-substring-no-properties'. (This is | 1399 | ;; `incg' or `buffer-substring-no-properties'. (This is |
| 1400 | ;; for speed; strictly speaking, it is sufficient to use | 1400 | ;; for speed; strictly speaking, it is sufficient to use |
| 1401 | ;; only the former since it behaves identically to the | 1401 | ;; only the former since it behaves identically to the |
| 1402 | ;; latter in the absense of "@@".) | 1402 | ;; latter in the absence of "@@".) |
| 1403 | sub) | 1403 | sub) |
| 1404 | (flet ((incg (beg end) (let ((b beg) (e end) @-holes) | 1404 | (flet ((incg (beg end) (let ((b beg) (e end) @-holes) |
| 1405 | (while (and asc (< (car asc) e)) | 1405 | (while (and asc (< (car asc) e)) |
diff --git a/lisp/vc/vc-svn.el b/lisp/vc/vc-svn.el index dc4e179e060..d014c4da135 100644 --- a/lisp/vc/vc-svn.el +++ b/lisp/vc/vc-svn.el | |||
| @@ -706,7 +706,7 @@ information about FILENAME and return its status." | |||
| 706 | (vc-svn-command buf 'async file "annotate" (if rev (concat "-r" rev)))) | 706 | (vc-svn-command buf 'async file "annotate" (if rev (concat "-r" rev)))) |
| 707 | 707 | ||
| 708 | (defun vc-svn-annotate-time-of-rev (rev) | 708 | (defun vc-svn-annotate-time-of-rev (rev) |
| 709 | ;; Arbitrarily assume 10 commmits per day. | 709 | ;; Arbitrarily assume 10 commits per day. |
| 710 | (/ (string-to-number rev) 10.0)) | 710 | (/ (string-to-number rev) 10.0)) |
| 711 | 711 | ||
| 712 | (defvar vc-annotate-parent-rev) | 712 | (defvar vc-annotate-parent-rev) |
diff --git a/lisp/view.el b/lisp/view.el index ef865007332..6955fbdfad8 100644 --- a/lisp/view.el +++ b/lisp/view.el | |||
| @@ -925,7 +925,7 @@ for highlighting the match that is found." | |||
| 925 | 925 | ||
| 926 | (defun view-search (times regexp) | 926 | (defun view-search (times regexp) |
| 927 | ;; This function does the job for all the View-search- commands. | 927 | ;; This function does the job for all the View-search- commands. |
| 928 | ;; Search for the TIMESt match for REGEXP. If TIMES is negative | 928 | ;; Search for the TIMESth match for REGEXP. If TIMES is negative |
| 929 | ;; search backwards. If REGEXP is nil use `view-last-regexp'. | 929 | ;; search backwards. If REGEXP is nil use `view-last-regexp'. |
| 930 | ;; Characters "!" and "@" have a special meaning at the beginning of | 930 | ;; Characters "!" and "@" have a special meaning at the beginning of |
| 931 | ;; REGEXP and are removed from REGEXP before the search "!" means | 931 | ;; REGEXP and are removed from REGEXP before the search "!" means |
diff --git a/lisp/whitespace.el b/lisp/whitespace.el index f50386b1827..53a35b4f0b3 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el | |||
| @@ -525,7 +525,7 @@ evaluated instead of indentation::space value. | |||
| 525 | 525 | ||
| 526 | One reason for not visualize spaces via faces (if `face' is not | 526 | One reason for not visualize spaces via faces (if `face' is not |
| 527 | included in `whitespace-style') is to use exclusively for | 527 | included in `whitespace-style') is to use exclusively for |
| 528 | cleanning up a buffer. See `whitespace-cleanup' and | 528 | cleaning up a buffer. See `whitespace-cleanup' and |
| 529 | `whitespace-cleanup-region' for documentation. | 529 | `whitespace-cleanup-region' for documentation. |
| 530 | 530 | ||
| 531 | See also `whitespace-display-mappings' for documentation." | 531 | See also `whitespace-display-mappings' for documentation." |
| @@ -2573,7 +2573,7 @@ Also refontify when necessary." | |||
| 2573 | (setq whitespace-display-table-was-local t | 2573 | (setq whitespace-display-table-was-local t |
| 2574 | whitespace-display-table | 2574 | whitespace-display-table |
| 2575 | (copy-sequence buffer-display-table)) | 2575 | (copy-sequence buffer-display-table)) |
| 2576 | ;; asure `buffer-display-table' is unique | 2576 | ;; Assure `buffer-display-table' is unique |
| 2577 | ;; when two or more windows are visible. | 2577 | ;; when two or more windows are visible. |
| 2578 | (setq buffer-display-table | 2578 | (setq buffer-display-table |
| 2579 | (copy-sequence buffer-display-table))) | 2579 | (copy-sequence buffer-display-table))) |
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index b0d00242f2a..8c4df9fc9cf 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el | |||
| @@ -2363,7 +2363,7 @@ Return an alist of (TYPE MATCH)." | |||
| 2363 | result)) | 2363 | result)) |
| 2364 | 2364 | ||
| 2365 | (defun widget-checklist-validate (widget) | 2365 | (defun widget-checklist-validate (widget) |
| 2366 | ;; Ticked chilren must be valid. | 2366 | ;; Ticked children must be valid. |
| 2367 | (let ((children (widget-get widget :children)) | 2367 | (let ((children (widget-get widget :children)) |
| 2368 | child button found) | 2368 | child button found) |
| 2369 | (while (and children (not found)) | 2369 | (while (and children (not found)) |
diff --git a/lisp/windmove.el b/lisp/windmove.el index 2aef37dd4c8..1deaa44c7dd 100644 --- a/lisp/windmove.el +++ b/lisp/windmove.el | |||
| @@ -245,7 +245,7 @@ placement bugs in old versions of Emacs." | |||
| 245 | ;; Actually, the whole subject of the minibuffer edge of the frame is | 245 | ;; Actually, the whole subject of the minibuffer edge of the frame is |
| 246 | ;; rather messy. It turns out that with a sufficiently large delta, | 246 | ;; rather messy. It turns out that with a sufficiently large delta, |
| 247 | ;; we can fly off the bottom edge of the frame and miss the minibuffer | 247 | ;; we can fly off the bottom edge of the frame and miss the minibuffer |
| 248 | ;; altogther. This, I think, is never right: if there's a minibuffer | 248 | ;; altogether. This, I think, is never right: if there's a minibuffer |
| 249 | ;; and you're not in it, and you move down, the minibuffer should be | 249 | ;; and you're not in it, and you move down, the minibuffer should be |
| 250 | ;; in your way. | 250 | ;; in your way. |
| 251 | ;; | 251 | ;; |
diff --git a/lisp/window.el b/lisp/window.el index 7b16d6b886f..477211672cf 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -246,51 +246,51 @@ windows horizontally arranged within WINDOW." | |||
| 246 | (setq child (window-right child))) | 246 | (setq child (window-right child))) |
| 247 | count)))) | 247 | count)))) |
| 248 | 248 | ||
| 249 | (defun walk-window-tree-1 (proc walk-window-tree-window any &optional sub-only) | 249 | (defun walk-window-tree-1 (fun walk-window-tree-window any &optional sub-only) |
| 250 | "Helper function for `walk-window-tree' and `walk-window-subtree'." | 250 | "Helper function for `walk-window-tree' and `walk-window-subtree'." |
| 251 | (let (walk-window-tree-buffer) | 251 | (let (walk-window-tree-buffer) |
| 252 | (while walk-window-tree-window | 252 | (while walk-window-tree-window |
| 253 | (setq walk-window-tree-buffer | 253 | (setq walk-window-tree-buffer |
| 254 | (window-buffer walk-window-tree-window)) | 254 | (window-buffer walk-window-tree-window)) |
| 255 | (when (or walk-window-tree-buffer any) | 255 | (when (or walk-window-tree-buffer any) |
| 256 | (funcall proc walk-window-tree-window)) | 256 | (funcall fun walk-window-tree-window)) |
| 257 | (unless walk-window-tree-buffer | 257 | (unless walk-window-tree-buffer |
| 258 | (walk-window-tree-1 | 258 | (walk-window-tree-1 |
| 259 | proc (window-left-child walk-window-tree-window) any) | 259 | fun (window-left-child walk-window-tree-window) any) |
| 260 | (walk-window-tree-1 | 260 | (walk-window-tree-1 |
| 261 | proc (window-top-child walk-window-tree-window) any)) | 261 | fun (window-top-child walk-window-tree-window) any)) |
| 262 | (if sub-only | 262 | (if sub-only |
| 263 | (setq walk-window-tree-window nil) | 263 | (setq walk-window-tree-window nil) |
| 264 | (setq walk-window-tree-window | 264 | (setq walk-window-tree-window |
| 265 | (window-right walk-window-tree-window)))))) | 265 | (window-right walk-window-tree-window)))))) |
| 266 | 266 | ||
| 267 | (defun walk-window-tree (proc &optional frame any) | 267 | (defun walk-window-tree (fun &optional frame any) |
| 268 | "Run function PROC on each live window of FRAME. | 268 | "Run function FUN on each live window of FRAME. |
| 269 | PROC must be a function with one argument - a window. FRAME must | 269 | FUN must be a function with one argument - a window. FRAME must |
| 270 | be a live frame and defaults to the selected one. ANY, if | 270 | be a live frame and defaults to the selected one. ANY, if |
| 271 | non-nil means to run PROC on all live and internal windows of | 271 | non-nil means to run FUN on all live and internal windows of |
| 272 | FRAME. | 272 | FRAME. |
| 273 | 273 | ||
| 274 | This function performs a pre-order, depth-first traversal of the | 274 | This function performs a pre-order, depth-first traversal of the |
| 275 | window tree. If PROC changes the window tree, the result is | 275 | window tree. If FUN changes the window tree, the result is |
| 276 | unpredictable." | 276 | unpredictable." |
| 277 | (let ((walk-window-tree-frame (window-normalize-frame frame))) | 277 | (let ((walk-window-tree-frame (window-normalize-frame frame))) |
| 278 | (walk-window-tree-1 | 278 | (walk-window-tree-1 |
| 279 | proc (frame-root-window walk-window-tree-frame) any))) | 279 | fun (frame-root-window walk-window-tree-frame) any))) |
| 280 | 280 | ||
| 281 | (defun walk-window-subtree (proc &optional window any) | 281 | (defun walk-window-subtree (fun &optional window any) |
| 282 | "Run function PROC on the subtree of windows rooted at WINDOW. | 282 | "Run function FUN on the subtree of windows rooted at WINDOW. |
| 283 | WINDOW defaults to the selected window. PROC must be a function | 283 | WINDOW defaults to the selected window. FUN must be a function |
| 284 | with one argument - a window. By default, run PROC only on live | 284 | with one argument - a window. By default, run FUN only on live |
| 285 | windows of the subtree. If the optional argument ANY is non-nil, | 285 | windows of the subtree. If the optional argument ANY is non-nil, |
| 286 | run PROC on all live and internal windows of the subtree. If | 286 | run FUN on all live and internal windows of the subtree. If |
| 287 | WINDOW is live, run PROC on WINDOW only. | 287 | WINDOW is live, run FUN on WINDOW only. |
| 288 | 288 | ||
| 289 | This function performs a pre-order, depth-first traversal of the | 289 | This function performs a pre-order, depth-first traversal of the |
| 290 | subtree rooted at WINDOW. If PROC changes that tree, the result | 290 | subtree rooted at WINDOW. If FUN changes that tree, the result |
| 291 | is unpredictable." | 291 | is unpredictable." |
| 292 | (setq window (window-normalize-window window)) | 292 | (setq window (window-normalize-window window)) |
| 293 | (walk-window-tree-1 proc window any t)) | 293 | (walk-window-tree-1 fun window any t)) |
| 294 | 294 | ||
| 295 | (defun window-with-parameter (parameter &optional value frame any) | 295 | (defun window-with-parameter (parameter &optional value frame any) |
| 296 | "Return first window on FRAME with PARAMETER non-nil. | 296 | "Return first window on FRAME with PARAMETER non-nil. |
| @@ -524,10 +524,10 @@ imposed by fixed size windows, `window-min-height' or | |||
| 524 | windows may get as small as `window-safe-min-height' lines and | 524 | windows may get as small as `window-safe-min-height' lines and |
| 525 | `window-safe-min-width' columns. IGNORE a window means ignore | 525 | `window-safe-min-width' columns. IGNORE a window means ignore |
| 526 | restrictions for that window only." | 526 | restrictions for that window only." |
| 527 | (window-min-size-1 | 527 | (window--min-size-1 |
| 528 | (window-normalize-window window) horizontal ignore)) | 528 | (window-normalize-window window) horizontal ignore)) |
| 529 | 529 | ||
| 530 | (defun window-min-size-1 (window horizontal ignore) | 530 | (defun window--min-size-1 (window horizontal ignore) |
| 531 | "Internal function of `window-min-size'." | 531 | "Internal function of `window-min-size'." |
| 532 | (let ((sub (window-child window))) | 532 | (let ((sub (window-child window))) |
| 533 | (if sub | 533 | (if sub |
| @@ -538,13 +538,13 @@ restrictions for that window only." | |||
| 538 | ;; the minimum sizes of its child windows. | 538 | ;; the minimum sizes of its child windows. |
| 539 | (while sub | 539 | (while sub |
| 540 | (setq value (+ value | 540 | (setq value (+ value |
| 541 | (window-min-size-1 sub horizontal ignore))) | 541 | (window--min-size-1 sub horizontal ignore))) |
| 542 | (setq sub (window-right sub))) | 542 | (setq sub (window-right sub))) |
| 543 | ;; The minimum size of an ortho-combination is the maximum of | 543 | ;; The minimum size of an ortho-combination is the maximum of |
| 544 | ;; the minimum sizes of its child windows. | 544 | ;; the minimum sizes of its child windows. |
| 545 | (while sub | 545 | (while sub |
| 546 | (setq value (max value | 546 | (setq value (max value |
| 547 | (window-min-size-1 sub horizontal ignore))) | 547 | (window--min-size-1 sub horizontal ignore))) |
| 548 | (setq sub (window-right sub)))) | 548 | (setq sub (window-right sub)))) |
| 549 | value) | 549 | value) |
| 550 | (with-current-buffer (window-buffer window) | 550 | (with-current-buffer (window-buffer window) |
| @@ -687,7 +687,7 @@ WINDOW can be resized in the desired direction. The function | |||
| 687 | (window--size-fixed-1 | 687 | (window--size-fixed-1 |
| 688 | (window-normalize-window window) horizontal)) | 688 | (window-normalize-window window) horizontal)) |
| 689 | 689 | ||
| 690 | (defun window-min-delta-1 (window delta &optional horizontal ignore trail noup) | 690 | (defun window--min-delta-1 (window delta &optional horizontal ignore trail noup) |
| 691 | "Internal function for `window-min-delta'." | 691 | "Internal function for `window-min-delta'." |
| 692 | (if (not (window-parent window)) | 692 | (if (not (window-parent window)) |
| 693 | ;; If we can't go up, return zero. | 693 | ;; If we can't go up, return zero. |
| @@ -723,7 +723,7 @@ WINDOW can be resized in the desired direction. The function | |||
| 723 | (setq sub (window-right sub)))) | 723 | (setq sub (window-right sub)))) |
| 724 | (if noup | 724 | (if noup |
| 725 | delta | 725 | delta |
| 726 | (window-min-delta-1 parent delta horizontal ignore trail)))))) | 726 | (window--min-delta-1 parent delta horizontal ignore trail)))))) |
| 727 | 727 | ||
| 728 | (defun window-min-delta (&optional window horizontal ignore trail noup nodown) | 728 | (defun window-min-delta (&optional window horizontal ignore trail noup nodown) |
| 729 | "Return number of lines by which WINDOW can be shrunk. | 729 | "Return number of lines by which WINDOW can be shrunk. |
| @@ -757,7 +757,7 @@ at least one other window can be enlarged appropriately." | |||
| 757 | (cond | 757 | (cond |
| 758 | (nodown | 758 | (nodown |
| 759 | ;; If NODOWN is t, try to recover the entire size of WINDOW. | 759 | ;; If NODOWN is t, try to recover the entire size of WINDOW. |
| 760 | (window-min-delta-1 window size horizontal ignore trail noup)) | 760 | (window--min-delta-1 window size horizontal ignore trail noup)) |
| 761 | ((= size minimum) | 761 | ((= size minimum) |
| 762 | ;; If NODOWN is nil and WINDOW's size is already at its minimum, | 762 | ;; If NODOWN is nil and WINDOW's size is already at its minimum, |
| 763 | ;; there's nothing to recover. | 763 | ;; there's nothing to recover. |
| @@ -765,10 +765,10 @@ at least one other window can be enlarged appropriately." | |||
| 765 | (t | 765 | (t |
| 766 | ;; Otherwise, try to recover whatever WINDOW is larger than its | 766 | ;; Otherwise, try to recover whatever WINDOW is larger than its |
| 767 | ;; minimum size. | 767 | ;; minimum size. |
| 768 | (window-min-delta-1 | 768 | (window--min-delta-1 |
| 769 | window (- size minimum) horizontal ignore trail noup))))) | 769 | window (- size minimum) horizontal ignore trail noup))))) |
| 770 | 770 | ||
| 771 | (defun window-max-delta-1 (window delta &optional horizontal ignore trail noup) | 771 | (defun window--max-delta-1 (window delta &optional horizontal ignore trail noup) |
| 772 | "Internal function of `window-max-delta'." | 772 | "Internal function of `window-max-delta'." |
| 773 | (if (not (window-parent window)) | 773 | (if (not (window-parent window)) |
| 774 | ;; Can't go up. Return DELTA. | 774 | ;; Can't go up. Return DELTA. |
| @@ -804,7 +804,7 @@ at least one other window can be enlarged appropriately." | |||
| 804 | delta | 804 | delta |
| 805 | ;; Else try with parent of WINDOW, passing the DELTA we | 805 | ;; Else try with parent of WINDOW, passing the DELTA we |
| 806 | ;; recovered so far. | 806 | ;; recovered so far. |
| 807 | (window-max-delta-1 parent delta horizontal ignore trail)))))) | 807 | (window--max-delta-1 parent delta horizontal ignore trail)))))) |
| 808 | 808 | ||
| 809 | (defun window-max-delta (&optional window horizontal ignore trail noup nodown) | 809 | (defun window-max-delta (&optional window horizontal ignore trail noup nodown) |
| 810 | "Return maximum number of lines WINDOW by which WINDOW can be enlarged. | 810 | "Return maximum number of lines WINDOW by which WINDOW can be enlarged. |
| @@ -840,7 +840,7 @@ only whether other windows can be shrunk appropriately." | |||
| 840 | ;; size. | 840 | ;; size. |
| 841 | 0 | 841 | 0 |
| 842 | ;; WINDOW has no fixed size. | 842 | ;; WINDOW has no fixed size. |
| 843 | (window-max-delta-1 window 0 horizontal ignore trail noup))) | 843 | (window--max-delta-1 window 0 horizontal ignore trail noup))) |
| 844 | 844 | ||
| 845 | ;; Make NOUP also inhibit the min-size check. | 845 | ;; Make NOUP also inhibit the min-size check. |
| 846 | (defun window--resizable (window delta &optional horizontal ignore trail noup nodown) | 846 | (defun window--resizable (window delta &optional horizontal ignore trail noup nodown) |
| @@ -997,9 +997,9 @@ taken into account." | |||
| 997 | (setq hor (cdr fcsb))))) | 997 | (setq hor (cdr fcsb))))) |
| 998 | (cons vert hor))) | 998 | (cons vert hor))) |
| 999 | 999 | ||
| 1000 | (defun walk-windows (proc &optional minibuf all-frames) | 1000 | (defun walk-windows (fun &optional minibuf all-frames) |
| 1001 | "Cycle through all live windows, calling PROC for each one. | 1001 | "Cycle through all live windows, calling FUN for each one. |
| 1002 | PROC must specify a function with a window as its sole argument. | 1002 | FUN must specify a function with a window as its sole argument. |
| 1003 | The optional arguments MINIBUF and ALL-FRAMES specify the set of | 1003 | The optional arguments MINIBUF and ALL-FRAMES specify the set of |
| 1004 | windows to include in the walk. | 1004 | windows to include in the walk. |
| 1005 | 1005 | ||
| @@ -1041,7 +1041,7 @@ windows nor the buffer list." | |||
| 1041 | (when (framep all-frames) | 1041 | (when (framep all-frames) |
| 1042 | (select-window (frame-first-window all-frames) 'norecord)) | 1042 | (select-window (frame-first-window all-frames) 'norecord)) |
| 1043 | (dolist (walk-windows-window (window-list-1 nil minibuf all-frames)) | 1043 | (dolist (walk-windows-window (window-list-1 nil minibuf all-frames)) |
| 1044 | (funcall proc walk-windows-window)))) | 1044 | (funcall fun walk-windows-window)))) |
| 1045 | 1045 | ||
| 1046 | (defun window-point-1 (&optional window) | 1046 | (defun window-point-1 (&optional window) |
| 1047 | "Return value of WINDOW's point. | 1047 | "Return value of WINDOW's point. |
| @@ -1482,11 +1482,11 @@ instead." | |||
| 1482 | ((window--resizable-p window delta horizontal ignore) | 1482 | ((window--resizable-p window delta horizontal ignore) |
| 1483 | (window--resize-reset frame horizontal) | 1483 | (window--resize-reset frame horizontal) |
| 1484 | (window--resize-this-window window delta horizontal ignore t) | 1484 | (window--resize-this-window window delta horizontal ignore t) |
| 1485 | (if (and (not window-splits) | 1485 | (if (and (not window-combination-resize) |
| 1486 | (window-combined-p window horizontal) | 1486 | (window-combined-p window horizontal) |
| 1487 | (setq sibling (or (window-right window) (window-left window))) | 1487 | (setq sibling (or (window-right window) (window-left window))) |
| 1488 | (window-sizable-p sibling (- delta) horizontal ignore)) | 1488 | (window-sizable-p sibling (- delta) horizontal ignore)) |
| 1489 | ;; If window-splits is nil, WINDOW is part of an | 1489 | ;; If window-combination-resize is nil, WINDOW is part of an |
| 1490 | ;; iso-combination, and WINDOW's neighboring right or left | 1490 | ;; iso-combination, and WINDOW's neighboring right or left |
| 1491 | ;; sibling can be resized as requested, resize that sibling. | 1491 | ;; sibling can be resized as requested, resize that sibling. |
| 1492 | (let ((normal-delta | 1492 | (let ((normal-delta |
| @@ -2039,8 +2039,8 @@ move it as far as possible in the desired direction." | |||
| 2039 | ;; two windows we want to resize. | 2039 | ;; two windows we want to resize. |
| 2040 | (cond | 2040 | (cond |
| 2041 | ((> delta 0) | 2041 | ((> delta 0) |
| 2042 | (setq max-delta (window-max-delta-1 left 0 horizontal nil 'after)) | 2042 | (setq max-delta (window--max-delta-1 left 0 horizontal nil 'after)) |
| 2043 | (setq min-delta (window-min-delta-1 right (- delta) horizontal nil 'before)) | 2043 | (setq min-delta (window--min-delta-1 right (- delta) horizontal nil 'before)) |
| 2044 | (when (or (< max-delta delta) (> min-delta (- delta))) | 2044 | (when (or (< max-delta delta) (> min-delta (- delta))) |
| 2045 | ;; We can't get the whole DELTA - move as far as possible. | 2045 | ;; We can't get the whole DELTA - move as far as possible. |
| 2046 | (setq delta (min max-delta (- min-delta)))) | 2046 | (setq delta (min max-delta (- min-delta)))) |
| @@ -2062,8 +2062,8 @@ move it as far as possible in the desired direction." | |||
| 2062 | (window-left-column right) | 2062 | (window-left-column right) |
| 2063 | (window-top-line right))))) | 2063 | (window-top-line right))))) |
| 2064 | ((< delta 0) | 2064 | ((< delta 0) |
| 2065 | (setq max-delta (window-max-delta-1 right 0 horizontal nil 'before)) | 2065 | (setq max-delta (window--max-delta-1 right 0 horizontal nil 'before)) |
| 2066 | (setq min-delta (window-min-delta-1 left delta horizontal nil 'after)) | 2066 | (setq min-delta (window--min-delta-1 left delta horizontal nil 'after)) |
| 2067 | (when (or (< max-delta (- delta)) (> min-delta delta)) | 2067 | (when (or (< max-delta (- delta)) (> min-delta delta)) |
| 2068 | ;; We can't get the whole DELTA - move as far as possible. | 2068 | ;; We can't get the whole DELTA - move as far as possible. |
| 2069 | (setq delta (max (- max-delta) min-delta))) | 2069 | (setq delta (max (- max-delta) min-delta))) |
| @@ -2389,7 +2389,8 @@ non-side window, signal an error." | |||
| 2389 | (sibling (or (window-left window) (window-right window)))) | 2389 | (sibling (or (window-left window) (window-right window)))) |
| 2390 | (window--resize-reset frame horizontal) | 2390 | (window--resize-reset frame horizontal) |
| 2391 | (cond | 2391 | (cond |
| 2392 | ((and (not window-splits) sibling (window-sizable-p sibling size)) | 2392 | ((and (not window-combination-resize) |
| 2393 | sibling (window-sizable-p sibling size)) | ||
| 2393 | ;; Resize WINDOW's sibling. | 2394 | ;; Resize WINDOW's sibling. |
| 2394 | (window--resize-this-window sibling size horizontal nil t) | 2395 | (window--resize-this-window sibling size horizontal nil t) |
| 2395 | (set-window-new-normal | 2396 | (set-window-new-normal |
| @@ -3083,9 +3084,9 @@ frame. The selected window is not changed by this function." | |||
| 3083 | (parent (window-parent window)) | 3084 | (parent (window-parent window)) |
| 3084 | (function (window-parameter window 'split-window)) | 3085 | (function (window-parameter window 'split-window)) |
| 3085 | (window-side (window-parameter window 'window-side)) | 3086 | (window-side (window-parameter window 'window-side)) |
| 3086 | ;; Rebind `window-nest' since in some cases we may have to | 3087 | ;; Rebind `window-combination-limit' since in some cases we may |
| 3087 | ;; override its value. | 3088 | ;; have to override its value. |
| 3088 | (window-nest window-nest) | 3089 | (window-combination-limit window-combination-limit) |
| 3089 | atom-root) | 3090 | atom-root) |
| 3090 | 3091 | ||
| 3091 | (window--check frame) | 3092 | (window--check frame) |
| @@ -3109,15 +3110,15 @@ frame. The selected window is not changed by this function." | |||
| 3109 | (or (not parent) | 3110 | (or (not parent) |
| 3110 | (not (window-parameter parent 'window-side)))) | 3111 | (not (window-parameter parent 'window-side)))) |
| 3111 | ;; WINDOW is a side root window. To make sure that a new parent | 3112 | ;; WINDOW is a side root window. To make sure that a new parent |
| 3112 | ;; window gets created set `window-nest' to t. | 3113 | ;; window gets created set `window-combination-limit' to t. |
| 3113 | (setq window-nest t)) | 3114 | (setq window-combination-limit t)) |
| 3114 | 3115 | ||
| 3115 | (when (and window-splits size (> size 0)) | 3116 | (when (and window-combination-resize size (> size 0)) |
| 3116 | ;; If `window-splits' is non-nil and SIZE is a non-negative | 3117 | ;; If `window-combination-resize' is non-nil and SIZE is a |
| 3117 | ;; integer, we cannot reasonably resize other windows. Rather | 3118 | ;; non-negative integer, we cannot reasonably resize other |
| 3118 | ;; bind `window-nest' to t to make sure that subsequent window | 3119 | ;; windows. Rather bind `window-combination-limit' to t to make |
| 3119 | ;; deletions are handled correctly. | 3120 | ;; sure that subsequent window deletions are handled correctly. |
| 3120 | (setq window-nest t)) | 3121 | (setq window-combination-limit t)) |
| 3121 | 3122 | ||
| 3122 | (let* ((parent-size | 3123 | (let* ((parent-size |
| 3123 | ;; `parent-size' is the size of WINDOW's parent, provided | 3124 | ;; `parent-size' is the size of WINDOW's parent, provided |
| @@ -3126,7 +3127,7 @@ frame. The selected window is not changed by this function." | |||
| 3126 | ;; `resize' non-nil means we are supposed to resize other | 3127 | ;; `resize' non-nil means we are supposed to resize other |
| 3127 | ;; windows in WINDOW's combination. | 3128 | ;; windows in WINDOW's combination. |
| 3128 | (resize | 3129 | (resize |
| 3129 | (and window-splits (not window-nest) | 3130 | (and window-combination-resize (not window-combination-limit) |
| 3130 | ;; Resize makes sense in iso-combinations only. | 3131 | ;; Resize makes sense in iso-combinations only. |
| 3131 | (window-combined-p window horizontal))) | 3132 | (window-combined-p window horizontal))) |
| 3132 | ;; `old-size' is the current size of WINDOW. | 3133 | ;; `old-size' is the current size of WINDOW. |
| @@ -3206,7 +3207,8 @@ frame. The selected window is not changed by this function." | |||
| 3206 | ;; Make new-parent non-nil if we need a new parent window; | 3207 | ;; Make new-parent non-nil if we need a new parent window; |
| 3207 | ;; either because we want to nest or because WINDOW is not | 3208 | ;; either because we want to nest or because WINDOW is not |
| 3208 | ;; iso-combined. | 3209 | ;; iso-combined. |
| 3209 | (or window-nest (not (window-combined-p window horizontal)))) | 3210 | (or window-combination-limit |
| 3211 | (not (window-combined-p window horizontal)))) | ||
| 3210 | (setq new-normal | 3212 | (setq new-normal |
| 3211 | ;; Make new-normal the normal size of the new window. | 3213 | ;; Make new-normal the normal size of the new window. |
| 3212 | (cond | 3214 | (cond |
| @@ -3431,7 +3433,7 @@ is non-nil." | |||
| 3431 | "Balance the sizes of windows of WINDOW-OR-FRAME. | 3433 | "Balance the sizes of windows of WINDOW-OR-FRAME. |
| 3432 | WINDOW-OR-FRAME is optional and defaults to the selected frame. | 3434 | WINDOW-OR-FRAME is optional and defaults to the selected frame. |
| 3433 | If WINDOW-OR-FRAME denotes a frame, balance the sizes of all | 3435 | If WINDOW-OR-FRAME denotes a frame, balance the sizes of all |
| 3434 | windows of that frame. If WINDOW-OR-FRAME denots a window, | 3436 | windows of that frame. If WINDOW-OR-FRAME denotes a window, |
| 3435 | recursively balance the sizes of all child windows of that | 3437 | recursively balance the sizes of all child windows of that |
| 3436 | window." | 3438 | window." |
| 3437 | (interactive) | 3439 | (interactive) |
| @@ -3568,7 +3570,7 @@ specific buffers." | |||
| 3568 | (defvar window-state-ignored-parameters '(quit-restore) | 3570 | (defvar window-state-ignored-parameters '(quit-restore) |
| 3569 | "List of window parameters ignored by `window-state-get'.") | 3571 | "List of window parameters ignored by `window-state-get'.") |
| 3570 | 3572 | ||
| 3571 | (defun window-state-get-1 (window &optional markers) | 3573 | (defun window--state-get-1 (window &optional markers) |
| 3572 | "Helper function for `window-state-get'." | 3574 | "Helper function for `window-state-get'." |
| 3573 | (let* ((type | 3575 | (let* ((type |
| 3574 | (cond | 3576 | (cond |
| @@ -3584,7 +3586,7 @@ specific buffers." | |||
| 3584 | (total-width . ,(window-total-size window t)) | 3586 | (total-width . ,(window-total-size window t)) |
| 3585 | (normal-height . ,(window-normal-size window)) | 3587 | (normal-height . ,(window-normal-size window)) |
| 3586 | (normal-width . ,(window-normal-size window t)) | 3588 | (normal-width . ,(window-normal-size window t)) |
| 3587 | (nest . ,(window-nest window)) | 3589 | (combination-limit . ,(window-combination-limit window)) |
| 3588 | ,@(let (list) | 3590 | ,@(let (list) |
| 3589 | (dolist (parameter (window-parameters window)) | 3591 | (dolist (parameter (window-parameters window)) |
| 3590 | (unless (memq (car parameter) | 3592 | (unless (memq (car parameter) |
| @@ -3623,7 +3625,7 @@ specific buffers." | |||
| 3623 | (let (list) | 3625 | (let (list) |
| 3624 | (setq window (window-child window)) | 3626 | (setq window (window-child window)) |
| 3625 | (while window | 3627 | (while window |
| 3626 | (setq list (cons (window-state-get-1 window markers) list)) | 3628 | (setq list (cons (window--state-get-1 window markers) list)) |
| 3627 | (setq window (window-right window))) | 3629 | (setq window (window-right window))) |
| 3628 | (nreverse list))))) | 3630 | (nreverse list))))) |
| 3629 | (append head tail))) | 3631 | (append head tail))) |
| @@ -3662,12 +3664,12 @@ value can be also stored on disk and read back in a new session." | |||
| 3662 | ;; These are probably not needed. | 3664 | ;; These are probably not needed. |
| 3663 | ,@(when (window-size-fixed-p window) `((fixed-height . t))) | 3665 | ,@(when (window-size-fixed-p window) `((fixed-height . t))) |
| 3664 | ,@(when (window-size-fixed-p window t) `((fixed-width . t)))) | 3666 | ,@(when (window-size-fixed-p window t) `((fixed-width . t)))) |
| 3665 | (window-state-get-1 window markers))) | 3667 | (window--state-get-1 window markers))) |
| 3666 | 3668 | ||
| 3667 | (defvar window-state-put-list nil | 3669 | (defvar window-state-put-list nil |
| 3668 | "Helper variable for `window-state-put'.") | 3670 | "Helper variable for `window-state-put'.") |
| 3669 | 3671 | ||
| 3670 | (defun window-state-put-1 (state &optional window ignore totals) | 3672 | (defun window--state-put-1 (state &optional window ignore totals) |
| 3671 | "Helper function for `window-state-put'." | 3673 | "Helper function for `window-state-put'." |
| 3672 | (let ((type (car state))) | 3674 | (let ((type (car state))) |
| 3673 | (setq state (cdr state)) | 3675 | (setq state (cdr state)) |
| @@ -3675,8 +3677,7 @@ value can be also stored on disk and read back in a new session." | |||
| 3675 | ((eq type 'leaf) | 3677 | ((eq type 'leaf) |
| 3676 | ;; For a leaf window just add unprocessed entries to | 3678 | ;; For a leaf window just add unprocessed entries to |
| 3677 | ;; `window-state-put-list'. | 3679 | ;; `window-state-put-list'. |
| 3678 | (setq window-state-put-list | 3680 | (push (cons window state) window-state-put-list)) |
| 3679 | (cons (cons window state) window-state-put-list))) | ||
| 3680 | ((memq type '(vc hc)) | 3681 | ((memq type '(vc hc)) |
| 3681 | (let* ((horizontal (eq type 'hc)) | 3682 | (let* ((horizontal (eq type 'hc)) |
| 3682 | (total (window-total-size window horizontal)) | 3683 | (total (window-total-size window horizontal)) |
| @@ -3687,7 +3688,7 @@ value can be also stored on disk and read back in a new session." | |||
| 3687 | ;; real window that we want to fill with what we find here. | 3688 | ;; real window that we want to fill with what we find here. |
| 3688 | (when (memq (car item) '(leaf vc hc)) | 3689 | (when (memq (car item) '(leaf vc hc)) |
| 3689 | (if (assq 'last item) | 3690 | (if (assq 'last item) |
| 3690 | ;; The last child window. Below `window-state-put-1' | 3691 | ;; The last child window. Below `window--state-put-1' |
| 3691 | ;; will put into it whatever ITEM has in store. | 3692 | ;; will put into it whatever ITEM has in store. |
| 3692 | (setq new nil) | 3693 | (setq new nil) |
| 3693 | ;; Not the last child window, prepare for splitting | 3694 | ;; Not the last child window, prepare for splitting |
| @@ -3709,9 +3710,11 @@ value can be also stored on disk and read back in a new session." | |||
| 3709 | window-safe-min-width))) | 3710 | window-safe-min-width))) |
| 3710 | 3711 | ||
| 3711 | (if (window-sizable-p window (- size) horizontal 'safe) | 3712 | (if (window-sizable-p window (- size) horizontal 'safe) |
| 3712 | (let* ((window-nest (assq 'nest item))) | 3713 | (let* ((window-combination-limit |
| 3713 | ;; We must inherit the nesting, otherwise we might mess | 3714 | (assq 'combination-limit item))) |
| 3714 | ;; up handling of atomic and side window. | 3715 | ;; We must inherit the combiantion limit, otherwise |
| 3716 | ;; we might mess up handling of atomic and side | ||
| 3717 | ;; window. | ||
| 3715 | (setq new (split-window window size horizontal))) | 3718 | (setq new (split-window window size horizontal))) |
| 3716 | ;; Give up if we can't resize window down to safe sizes. | 3719 | ;; Give up if we can't resize window down to safe sizes. |
| 3717 | (error "Cannot resize window %s" window)) | 3720 | (error "Cannot resize window %s" window)) |
| @@ -3726,19 +3729,20 @@ value can be also stored on disk and read back in a new session." | |||
| 3726 | 3729 | ||
| 3727 | ;; Now process the current window (either the one we've just | 3730 | ;; Now process the current window (either the one we've just |
| 3728 | ;; split or the last child of its parent). | 3731 | ;; split or the last child of its parent). |
| 3729 | (window-state-put-1 item window ignore totals) | 3732 | (window--state-put-1 item window ignore totals) |
| 3730 | ;; Continue with the last window split off. | 3733 | ;; Continue with the last window split off. |
| 3731 | (setq window new)))))))) | 3734 | (setq window new)))))))) |
| 3732 | 3735 | ||
| 3733 | (defun window-state-put-2 (ignore) | 3736 | (defun window--state-put-2 (ignore) |
| 3734 | "Helper function for `window-state-put'." | 3737 | "Helper function for `window-state-put'." |
| 3735 | (dolist (item window-state-put-list) | 3738 | (dolist (item window-state-put-list) |
| 3736 | (let ((window (car item)) | 3739 | (let ((window (car item)) |
| 3737 | (splits (cdr (assq 'splits item))) | 3740 | (splits (cdr (assq 'splits item))) |
| 3738 | (nest (cdr (assq 'nest item))) | 3741 | (combination-limit (cdr (assq 'combination-limit item))) |
| 3739 | (parameters (cdr (assq 'parameters item))) | 3742 | (parameters (cdr (assq 'parameters item))) |
| 3740 | (state (cdr (assq 'buffer item)))) | 3743 | (state (cdr (assq 'buffer item)))) |
| 3741 | (when nest (set-window-nest window nest)) | 3744 | (when combination-limit |
| 3745 | (set-window-combination-limit window combination-limit)) | ||
| 3742 | ;; Process parameters. | 3746 | ;; Process parameters. |
| 3743 | (when parameters | 3747 | (when parameters |
| 3744 | (dolist (parameter parameters) | 3748 | (dolist (parameter parameters) |
| @@ -3855,11 +3859,11 @@ windows can get as small as `window-safe-min-height' and | |||
| 3855 | ;; Work on the windows of a temporary buffer to make sure that | 3859 | ;; Work on the windows of a temporary buffer to make sure that |
| 3856 | ;; splitting proceeds regardless of any buffer local values of | 3860 | ;; splitting proceeds regardless of any buffer local values of |
| 3857 | ;; `window-size-fixed'. Release that buffer after the buffers of | 3861 | ;; `window-size-fixed'. Release that buffer after the buffers of |
| 3858 | ;; all live windows have been set by `window-state-put-2'. | 3862 | ;; all live windows have been set by `window--state-put-2'. |
| 3859 | (with-temp-buffer | 3863 | (with-temp-buffer |
| 3860 | (set-window-buffer window (current-buffer)) | 3864 | (set-window-buffer window (current-buffer)) |
| 3861 | (window-state-put-1 state window nil totals) | 3865 | (window--state-put-1 state window nil totals) |
| 3862 | (window-state-put-2 ignore)) | 3866 | (window--state-put-2 ignore)) |
| 3863 | (window--check frame)))) | 3867 | (window--check frame)))) |
| 3864 | 3868 | ||
| 3865 | (defun display-buffer-record-window (type window buffer) | 3869 | (defun display-buffer-record-window (type window buffer) |
| @@ -4946,7 +4950,7 @@ the list of recently selected ones." | |||
| 4946 | 4950 | ||
| 4947 | (defun read-buffer-to-switch (prompt) | 4951 | (defun read-buffer-to-switch (prompt) |
| 4948 | "Read the name of a buffer to switch to, prompting with PROMPT. | 4952 | "Read the name of a buffer to switch to, prompting with PROMPT. |
| 4949 | Return the neame of the buffer as a string. | 4953 | Return the name of the buffer as a string. |
| 4950 | 4954 | ||
| 4951 | This function is intended for the `switch-to-buffer' family of | 4955 | This function is intended for the `switch-to-buffer' family of |
| 4952 | commands since these need to omit the name of the current buffer | 4956 | commands since these need to omit the name of the current buffer |
| @@ -5409,7 +5413,7 @@ by `recenter-positions'." | |||
| 5409 | ;;; of buffer). | 5413 | ;;; of buffer). |
| 5410 | 5414 | ||
| 5411 | (defcustom scroll-error-top-bottom nil | 5415 | (defcustom scroll-error-top-bottom nil |
| 5412 | "Move point to top/bottom of buffer before signalling a scrolling error. | 5416 | "Move point to top/bottom of buffer before signaling a scrolling error. |
| 5413 | A value of nil means just signal an error if no more scrolling possible. | 5417 | A value of nil means just signal an error if no more scrolling possible. |
| 5414 | A value of t means point moves to the beginning or the end of the buffer | 5418 | A value of t means point moves to the beginning or the end of the buffer |
| 5415 | \(depending on scrolling direction) when no more scrolling possible. | 5419 | \(depending on scrolling direction) when no more scrolling possible. |
diff --git a/lisp/woman.el b/lisp/woman.el index 078acfc0362..243196a5302 100644 --- a/lisp/woman.el +++ b/lisp/woman.el | |||
| @@ -1439,7 +1439,7 @@ The cdr of each alist element is the path-index / filename." | |||
| 1439 | (push (woman-topic-all-completions-1 dir path-index) | 1439 | (push (woman-topic-all-completions-1 dir path-index) |
| 1440 | files)) | 1440 | files)) |
| 1441 | (setq path-index (1+ path-index))) | 1441 | (setq path-index (1+ path-index))) |
| 1442 | ;; Uniquefy topics: | 1442 | ;; Uniquify topics: |
| 1443 | ;; Concatenate all lists with a single nconc call to | 1443 | ;; Concatenate all lists with a single nconc call to |
| 1444 | ;; avoid retraversing the first lists repeatedly -- dak | 1444 | ;; avoid retraversing the first lists repeatedly -- dak |
| 1445 | (woman-topic-all-completions-merge | 1445 | (woman-topic-all-completions-merge |
| @@ -2023,7 +2023,7 @@ Optional argument REDRAW, if non-nil, forces mode line to be updated." | |||
| 2023 | ;; Both advices are disabled because "a file in Emacs should not put | 2023 | ;; Both advices are disabled because "a file in Emacs should not put |
| 2024 | ;; advice on a function in Emacs" (see Info node "(elisp)Advising | 2024 | ;; advice on a function in Emacs" (see Info node "(elisp)Advising |
| 2025 | ;; Functions"). Counting the formatting time is useful for | 2025 | ;; Functions"). Counting the formatting time is useful for |
| 2026 | ;; developping, but less applicable for daily use. The advice for | 2026 | ;; developing, but less applicable for daily use. The advice for |
| 2027 | ;; `Man-getpage-in-background' can be discarded, because the | 2027 | ;; `Man-getpage-in-background' can be discarded, because the |
| 2028 | ;; key-binding in `woman-mode-map' has been remapped to call `woman' | 2028 | ;; key-binding in `woman-mode-map' has been remapped to call `woman' |
| 2029 | ;; but `man'. Michael Albinus <michael.albinus@gmx.de> | 2029 | ;; but `man'. Michael Albinus <michael.albinus@gmx.de> |
| @@ -2558,7 +2558,7 @@ REQUEST is the invoking directive without the leading dot." | |||
| 2558 | ;; ((looking-at "[te]") (setq c nil)) ; reject t(roff) and e(ven page) | 2558 | ;; ((looking-at "[te]") (setq c nil)) ; reject t(roff) and e(ven page) |
| 2559 | ((looking-at "[ntoe]") | 2559 | ((looking-at "[ntoe]") |
| 2560 | (setq c (memq (following-char) woman-if-conditions-true))) | 2560 | (setq c (memq (following-char) woman-if-conditions-true))) |
| 2561 | ;; Unrecognised letter so reject: | 2561 | ;; Unrecognized letter so reject: |
| 2562 | ((looking-at "[A-Za-z]") (setq c nil) | 2562 | ((looking-at "[A-Za-z]") (setq c nil) |
| 2563 | (WoMan-warn "%s %s -- unrecognized condition name rejected!" | 2563 | (WoMan-warn "%s %s -- unrecognized condition name rejected!" |
| 2564 | request (match-string 0))) | 2564 | request (match-string 0))) |
| @@ -3697,7 +3697,7 @@ expression in parentheses. Leaves point after the value." | |||
| 3697 | (setq woman-request (match-string 1))))) | 3697 | (setq woman-request (match-string 1))))) |
| 3698 | ;; Delete request or macro name: | 3698 | ;; Delete request or macro name: |
| 3699 | (woman-delete-match 0)) | 3699 | (woman-delete-match 0)) |
| 3700 | ;; Unrecognised request: | 3700 | ;; Unrecognized request: |
| 3701 | ((prog1 nil | 3701 | ((prog1 nil |
| 3702 | ;; (WoMan-warn ".%s request ignored!" woman-request) | 3702 | ;; (WoMan-warn ".%s request ignored!" woman-request) |
| 3703 | (WoMan-warn-ignored woman-request "ignored!") | 3703 | (WoMan-warn-ignored woman-request "ignored!") |
diff --git a/lisp/x-dnd.el b/lisp/x-dnd.el index 04b759a8116..fbb76da1b91 100644 --- a/lisp/x-dnd.el +++ b/lisp/x-dnd.el | |||
| @@ -410,7 +410,7 @@ otherwise return the frame width/height." | |||
| 410 | "Return the x/y coordinates to be sent in a XDndStatus message. | 410 | "Return the x/y coordinates to be sent in a XDndStatus message. |
| 411 | Coordinates are required to be absolute. | 411 | Coordinates are required to be absolute. |
| 412 | FRAME is the frame and W is the window where the drop happened. | 412 | FRAME is the frame and W is the window where the drop happened. |
| 413 | If W is a window, return its absolute corrdinates, | 413 | If W is a window, return its absolute coordinates, |
| 414 | otherwise return the frame coordinates." | 414 | otherwise return the frame coordinates." |
| 415 | (let* ((frame-left (frame-parameter frame 'left)) | 415 | (let* ((frame-left (frame-parameter frame 'left)) |
| 416 | ;; If the frame is outside the display, frame-left looks like | 416 | ;; If the frame is outside the display, frame-left looks like |
| @@ -444,7 +444,7 @@ otherwise return the frame coordinates." | |||
| 444 | (if (consp flags) | 444 | (if (consp flags) |
| 445 | (logand (cdr flags) 1) | 445 | (logand (cdr flags) 1) |
| 446 | (logand flags 1))) | 446 | (logand flags 1))) |
| 447 | 447 | ||
| 448 | (defun x-dnd-handle-xdnd (event frame window message _format data) | 448 | (defun x-dnd-handle-xdnd (event frame window message _format data) |
| 449 | "Receive one XDND event (client message) and send the appropriate reply. | 449 | "Receive one XDND event (client message) and send the appropriate reply. |
| 450 | EVENT is the client message. FRAME is where the mouse is now. | 450 | EVENT is the client message. FRAME is where the mouse is now. |
diff --git a/lisp/xml.el b/lisp/xml.el index 52bb0de7ea0..68aa5f4db6f 100644 --- a/lisp/xml.el +++ b/lisp/xml.el | |||
| @@ -540,7 +540,7 @@ Leave point at the first non-blank character after the tag." | |||
| 540 | (replace-regexp-in-string "\\s-\\{2,\\}" " " string) | 540 | (replace-regexp-in-string "\\s-\\{2,\\}" " " string) |
| 541 | (let ((expansion (xml-substitute-special string))) | 541 | (let ((expansion (xml-substitute-special string))) |
| 542 | (unless (stringp expansion) | 542 | (unless (stringp expansion) |
| 543 | ; We say this is the constraint. It is acctually that | 543 | ; We say this is the constraint. It is actually that neither |
| 544 | ; external entities nor "<" can be in an attribute value. | 544 | ; external entities nor "<" can be in an attribute value. |
| 545 | (error "XML: (Not Well-Formed) Entities in attributes cannot expand into elements")) | 545 | (error "XML: (Not Well-Formed) Entities in attributes cannot expand into elements")) |
| 546 | (push (cons name expansion) attlist))) | 546 | (push (cons name expansion) attlist))) |