diff options
| author | Karoly Lorentey | 2006-07-14 05:56:32 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-07-14 05:56:32 +0000 |
| commit | 99715bbc447eb633e45ffa23b87284771ce3ac74 (patch) | |
| tree | 3a8a53dfe3dbdd9f8e36965e9f043eae522d3c0e /lisp | |
| parent | 556b89447234f15d1784a23dadbfe429464463a8 (diff) | |
| parent | 763bb2d43615bc3ae816422f965d76d5e1ae4bdd (diff) | |
| download | emacs-99715bbc447eb633e45ffa23b87284771ce3ac74.tar.gz emacs-99715bbc447eb633e45ffa23b87284771ce3ac74.zip | |
Merged from emacs@sv.gnu.org.
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-331
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-332
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-333
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-334
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-335
Add note about "link" button-class to etc/TODO
* emacs@sv.gnu.org/emacs--devo--0--patch-336
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-337
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-338
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-339
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-340
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-341
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-342
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-343
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-344
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-345
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-346
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-347
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-348
Update for ERC 5.1.3.
* emacs@sv.gnu.org/emacs--devo--0--patch-349
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-350
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/gnus--rel--5.10--patch-111
Update from CVS: texi/gnus.texi (Summary Buffer Lines): Fix typo.
* emacs@sv.gnu.org/gnus--rel--5.10--patch-112
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-113
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-114
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-572
Diffstat (limited to 'lisp')
89 files changed, 3075 insertions, 1731 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dea9cbc97a6..54e81f850e7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,416 @@ | |||
| 1 | 2006-07-14 Nick Roberts <nickrob@snap.net.nz> | ||
| 2 | |||
| 3 | * progmodes/gdb-ui.el (gdb-display-buffer): Check for | ||
| 4 | gdb-source-window. Add dedicated argument. | ||
| 5 | (gdb-display-separate-io-buffer, gdb-append-to-inferior-io) | ||
| 6 | (gdb-display-breakpoints-buffer, gdb-display-stack-buffer) | ||
| 7 | (gdb-display-threads-buffer, gdb-display-memory-buffer) | ||
| 8 | (gdb-display-locals-buffer): Use it. | ||
| 9 | |||
| 10 | * progmodes/gud.el (gud-display-line): Use gdb-display-buffer. | ||
| 11 | Set gdb-source-window. | ||
| 12 | |||
| 13 | 2006-07-13 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 14 | |||
| 15 | * emacs-lisp/autoload.el (make-autoload): Remove special handling of | ||
| 16 | minor modes, redundant with the custom-autoload line above. | ||
| 17 | |||
| 18 | 2006-07-12 Chong Yidong <cyd@stupidchicken.com> | ||
| 19 | |||
| 20 | * longlines.el (longlines-post-command-function): Handle open-line too. | ||
| 21 | |||
| 22 | 2006-07-12 Richard Stallman <rms@gnu.org> | ||
| 23 | |||
| 24 | * progmodes/grep.el (grep-last-buffer): Doc fix. | ||
| 25 | |||
| 26 | * info.el (Info-try-follow-nearest-node): Doc fix. | ||
| 27 | |||
| 28 | * emacs-lisp/edebug.el (edebug-instrument-function): | ||
| 29 | Err if find-function-noselect gives no position. | ||
| 30 | |||
| 31 | * emacs-lisp/find-func.el (find-function-search-for-symbol): | ||
| 32 | If can't find definition, return nil for position. | ||
| 33 | (find-function-do-it): Handle new return value | ||
| 34 | of find-definition-noselect. | ||
| 35 | (find-definition-noselect, find-variable-noselect): Doc fix. | ||
| 36 | (find-function-noselect): Doc fix. | ||
| 37 | |||
| 38 | * help-mode.el (help-variable-def): Handle find-variable-noselect | ||
| 39 | returning no position. | ||
| 40 | (help-function-def): Likewise for find-function-search-for-symbol. | ||
| 41 | (help-face-def): Likewise. | ||
| 42 | |||
| 43 | * help-fns.el (describe-variable): Handle find-variable-noselect | ||
| 44 | returning no position. | ||
| 45 | |||
| 46 | * files.el (locate-file-completion): Avoid duplicates in result. | ||
| 47 | |||
| 48 | * cus-edit.el (custom-no-edit): New command. | ||
| 49 | (custom-mode-map): Remap to custom-no-edit instead of | ||
| 50 | using suppress-keymap. | ||
| 51 | |||
| 52 | 2006-07-12 Nick Roberts <nickrob@snap.net.nz> | ||
| 53 | |||
| 54 | * tumme.el (tumme-create-thumb) | ||
| 55 | (tumme-thumbnail-display-external, tumme-display-image) | ||
| 56 | (tumme-rotate-thumbnail, tumme-rotate-original) | ||
| 57 | (tumme-set-exif-data, tumme-get-exif-data): Use shell-command-switch. | ||
| 58 | |||
| 59 | * thumbs.el (thumbs-call-convert): Use shell-command-switch. | ||
| 60 | |||
| 61 | 2006-07-11 Kim F. Storm <storm@cua.dk> | ||
| 62 | |||
| 63 | * ido.el (ido-copy-current-file-name): Use buffer-name if | ||
| 64 | buffer-file-name is nil. | ||
| 65 | |||
| 66 | 2006-07-11 Chong Yidong <cyd@stupidchicken.com> | ||
| 67 | |||
| 68 | * simple.el (undo-ask-before-discard): Set to nil. | ||
| 69 | |||
| 70 | * vc.el (vc-exec-after): Don't delete process manually. | ||
| 71 | (vc-print-log): Run log-view-mode in process sentinel inside | ||
| 72 | inhibit-read-only. Don't shrink window due to timing issues. | ||
| 73 | |||
| 74 | * progmodes/ebrowse.el (ebrowse-display-member-buffer): | ||
| 75 | Avoid using with-output-to-temp-buffer, which clobbers local vars. | ||
| 76 | |||
| 77 | 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 78 | |||
| 79 | * progmodes/compile.el (compilation-error-regexp-alist-alist): | ||
| 80 | Fix ambiguity introduced by last change. | ||
| 81 | (compilation-find-file): Move save-excursion to where it may | ||
| 82 | make sense. Fix a left over `find-file'. | ||
| 83 | |||
| 84 | 2006-07-11 Robert J. Chassell <bob@rattlesnake.com> | ||
| 85 | |||
| 86 | * textmodes/texinfmt.el (texinfo-format-separate-node): | ||
| 87 | Insert a string before point, which fits documentation, not after. | ||
| 88 | (texinfo-multitable-item): In a multitable row, insert any | ||
| 89 | additional needed @tabs and spaces. | ||
| 90 | |||
| 91 | 2006-07-11 Nick Roberts <nickrob@snap.net.nz> | ||
| 92 | |||
| 93 | * tumme.el (tumme-create-thumb) | ||
| 94 | (tumme-thumbnail-display-external, tumme-display-image) | ||
| 95 | (tumme-rotate-thumbnail, tumme-rotate-original) | ||
| 96 | (tumme-set-exif-data, tumme-get-exif-data): Use call-process | ||
| 97 | instead of shell-command. | ||
| 98 | (tumme-create-thumbnail-buffer) | ||
| 99 | (tumme-create-display-image-buffer, tumme-display-thumbs) | ||
| 100 | (tumme-modify-mark-on-thumb-original-file, tumme-display-image) | ||
| 101 | (tumme-get-exif-data): Use with-current-buffer. | ||
| 102 | (tumme-display-properties-format) | ||
| 103 | (tumme-dired-insert-marked-thumbs, tumme-rotate-original) | ||
| 104 | (tumme-get-exif-file-name) | ||
| 105 | (tumme-thumbnail-set-image-description, tumme-gallery-generate): | ||
| 106 | Fit to 80 columns. | ||
| 107 | |||
| 108 | 2006-07-11 Kim F. Storm <storm@cua.dk> | ||
| 109 | |||
| 110 | * subr.el (sit-for): Doc fix. Specify normal arg list using fn-form. | ||
| 111 | Remove special case for seconds < 0. Use (redisplay t) instead. | ||
| 112 | |||
| 113 | 2006-07-10 Chong Yidong <cyd@stupidchicken.com> | ||
| 114 | |||
| 115 | * progmodes/cc-awk.el (defconst): Use eval-and-compile to avoid | ||
| 116 | compilation error. | ||
| 117 | |||
| 118 | * subr.el (sit-for): New function. | ||
| 119 | |||
| 120 | * play/hanoi.el (hanoi-sit-for): Check sit-for return value. | ||
| 121 | |||
| 122 | 2006-07-10 Richard Stallman <rms@gnu.org> | ||
| 123 | |||
| 124 | * ldefs-boot.el (edebug): Update page. | ||
| 125 | |||
| 126 | 2006-07-10 Kim F. Storm <storm@cua.dk> | ||
| 127 | |||
| 128 | * emacs-lisp/authors.el (authors-ignored-files): Ignore changes | ||
| 129 | to FOR-RELEASE and TODO. | ||
| 130 | |||
| 131 | 2006-07-10 Romain Francoise <romain@orebokech.com> | ||
| 132 | |||
| 133 | * emacs-lisp/authors.el (authors-aliases): Update. | ||
| 134 | |||
| 135 | 2006-07-10 Alan Mackenzie <acm@muc.de> | ||
| 136 | |||
| 137 | * progmodes/cc-awk.el, cc-defs.el, cc-fonts.el, cc-langs.el: | ||
| 138 | * cc-mode.el: Changes to eradicate eval-after-load. | ||
| 139 | |||
| 140 | 2006-07-09 Chong Yidong <cyd@stupidchicken.com> | ||
| 141 | |||
| 142 | * emacs-lisp/helper.el (Helper-help-scroller): Don't signal error | ||
| 143 | on non-char events. | ||
| 144 | |||
| 145 | 2006-07-09 Romain Francoise <romain@orebokech.com> | ||
| 146 | |||
| 147 | * progmodes/compile.el (compilation-mode-font-lock-keywords): | ||
| 148 | Don't highlight start/end markers as compilation messages. | ||
| 149 | |||
| 150 | * isearch.el (isearch-yank-line): Let-bind `inhibit-field-text-motion' | ||
| 151 | to t. | ||
| 152 | |||
| 153 | 2006-07-09 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 154 | |||
| 155 | * textmodes/fill.el (fill-region-as-paragraph): Refine last change. | ||
| 156 | |||
| 157 | 2006-07-08 Richard Stallman <rms@gnu.org> | ||
| 158 | |||
| 159 | * term/x-win.el (x-handle-display): Add doc string. | ||
| 160 | |||
| 161 | * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. | ||
| 162 | |||
| 163 | * subr.el (def-edebug-spec): Move here. | ||
| 164 | * emacs-lisp/edebug.el (def-edebug-spec): Move to subr.el. | ||
| 165 | |||
| 166 | * imenu.el (imenu-choose-buffer-index): Doc fix. | ||
| 167 | |||
| 168 | 2006-07-08 Romain Francoise <romain@orebokech.com> | ||
| 169 | |||
| 170 | * term/x-win.el (x-display-name): Fix typo. | ||
| 171 | |||
| 172 | 2006-07-08 Eli Zaretskii <eliz@gnu.org> | ||
| 173 | |||
| 174 | * hexl.el (hexl-find-file): Doc fix. | ||
| 175 | |||
| 176 | * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. | ||
| 177 | |||
| 178 | 2006-07-07 Chong Yidong <cyd@stupidchicken.com> | ||
| 179 | |||
| 180 | * term/x-win.el (x-display-name): Doc fix. | ||
| 181 | |||
| 182 | 2006-07-07 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 183 | |||
| 184 | * textmodes/fill.el (fill-delete-prefix): Don't ignore excessively | ||
| 185 | long prefixes. | ||
| 186 | (fill-region-as-paragraph): Don't round up to a whole line. | ||
| 187 | (fill-comment-paragraph): Don't include the code-before-the-comment | ||
| 188 | when calling fill-region-as-paragraph. | ||
| 189 | |||
| 190 | * international/mule.el (make-char): Remove redundancy. | ||
| 191 | |||
| 192 | * emacs-lisp/bytecomp.el (byte-compile-form): The `byte-compile' | ||
| 193 | property may contain an anonymous function rather than a symbol. | ||
| 194 | |||
| 195 | * pcvs-defs.el (cvs-temp-buffer-name): Fix non-hiddenness. | ||
| 196 | |||
| 197 | * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>: | ||
| 198 | Use shy regexp. Fix incorrect backref to potentially unmatched group. | ||
| 199 | |||
| 200 | * dirtrack.el (dirtrack-default-directory-function): Remove. | ||
| 201 | (dirtrack-directory-function): Use file-name-as-directory. | ||
| 202 | (dirtrack-windows-directory-function): Simplify. | ||
| 203 | (dirtrack-forward-slash, dirtrack-backward-slash) | ||
| 204 | (dirtrack-replace-slash): Remove. | ||
| 205 | (dirtrack-toggle): Adjust comint-preoutput-filter-functions as well. | ||
| 206 | (dirtrack): Fix wrong parenthesizing; use match-string. | ||
| 207 | |||
| 208 | * progmodes/octave-inf.el: Remove spurious * in docstrings. | ||
| 209 | (inferior-octave-mode): Only change the buffer-local value of | ||
| 210 | comint-dynamic-complete-functions. | ||
| 211 | (inferior-octave-mode-map, inferior-octave-mode-syntax-table): | ||
| 212 | Move the initialization to the declaration. | ||
| 213 | (inferior-octave-complete): Remove unused var `filter'. | ||
| 214 | |||
| 215 | * shell.el (shell-mode): Only change the buffer-local value of | ||
| 216 | comint-dynamic-complete-functions. | ||
| 217 | |||
| 218 | 2006-07-07 Carsten Dominik <dominik@science.uva.nl> | ||
| 219 | |||
| 220 | * textmodes/org.el (org-agenda-get-todos): Skip subtree also if | ||
| 221 | entry is skipped because it has been scheduled. | ||
| 222 | (org-prepare-agenda-buffers): Don't mark buffers as modified when | ||
| 223 | changing `:org-archived' and `:org-comment' properties. | ||
| 224 | |||
| 225 | 2006-07-06 Chong Yidong <cyd@stupidchicken.com> | ||
| 226 | |||
| 227 | * server.el (server-select-display): Don't make the temp frame | ||
| 228 | minibuffer-only, in case it's not a temp frame. | ||
| 229 | (server-process-filter): Don't delete the temp frame if it's the | ||
| 230 | only one we have on that display. | ||
| 231 | |||
| 232 | * files.el (find-alternate-file): Doc fix. | ||
| 233 | |||
| 234 | 2006-07-05 Richard Stallman <rms@gnu.org> | ||
| 235 | |||
| 236 | * files.el (abbreviate-file-name): Add save-match-data. | ||
| 237 | |||
| 238 | 2006-07-03 Richard Stallman <rms@gnu.org> | ||
| 239 | |||
| 240 | * faces.el (read-face-name): Doc fix. | ||
| 241 | |||
| 242 | 2006-07-05 Chong Yidong <cyd@stupidchicken.com> | ||
| 243 | |||
| 244 | * net/goto-addr.el (goto-address): Mark as safe for local evals. | ||
| 245 | |||
| 246 | 2006-07-05 Andre Spiegel <spiegel@gnu.org> | ||
| 247 | |||
| 248 | * vc.el (vc-diff-internal): Fix prev change. | ||
| 249 | |||
| 250 | 2006-07-05 Thien-Thi Nguyen <ttn@gnu.org> | ||
| 251 | |||
| 252 | * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Use eval-buffer. | ||
| 253 | * play/dunnet.el (dun-load-d, dun-eval): Likewise. | ||
| 254 | |||
| 255 | 2006-07-04 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 256 | |||
| 257 | * thingatpt.el (symbol-at-point): Don't use `form-at-point' which | ||
| 258 | fails if the symbol contains chars like ( or '. | ||
| 259 | (bounds-of-thing-at-point): Remove unused vars `end' and `beg'. | ||
| 260 | (thing-at-point-bounds-of-url-at-point): Remove unused vars `url' and | ||
| 261 | `short'. | ||
| 262 | |||
| 263 | 2006-07-04 Kenichi Handa <handa@m17n.org> | ||
| 264 | |||
| 265 | * international/mule-cmds.el (set-language-info): If LANG-ENV is | ||
| 266 | the current one, don't call set-language-environment, but call one | ||
| 267 | of set-language-environment-XXX to make INFO effective now. | ||
| 268 | (set-language-environment): Call set-language-environment-XXX | ||
| 269 | functions instead of doing the various setups directly. | ||
| 270 | (set-language-environment-coding-systems): Delete argument eol-type. | ||
| 271 | (set-language-environment-input-method) | ||
| 272 | (set-language-environment-nonascii-translation) | ||
| 273 | (set-language-environment-charset) | ||
| 274 | (set-language-environment-fontset) | ||
| 275 | (set-language-environment-unibyte): New functions. | ||
| 276 | |||
| 277 | 2006-07-03 Luc Teirlinck <teirllm@auburn.edu> | ||
| 278 | |||
| 279 | * locate.el (locate-update-when-revert): New option. | ||
| 280 | (locate-update-path): New option (suggested by Michael Albinus). | ||
| 281 | (locate-prompt-for-command): Whitespace change. | ||
| 282 | (locate-update): No longer offer to update the locate database by | ||
| 283 | default. Implement the two new options. | ||
| 284 | |||
| 285 | 2006-07-04 Nick Roberts <nickrob@snap.net.nz> | ||
| 286 | |||
| 287 | * tooltip.el: Move comment about track-mouse... | ||
| 288 | |||
| 289 | * progmodes/gud.el: ...to here. | ||
| 290 | |||
| 291 | 2006-07-03 Chong Yidong <cyd@stupidchicken.com> | ||
| 292 | |||
| 293 | * facemenu.el (facemenu-listed-faces): New var. | ||
| 294 | (facemenu-unlisted-faces): Variable deleted. | ||
| 295 | (facemenu-add-new-face): Use facemenu-listed-faces. | ||
| 296 | |||
| 297 | * emulation/viper-init.el, calendar/calendar.el: | ||
| 298 | * progmodes/make-mode.el: Delete calls to facemenu-unlisted-faces. | ||
| 299 | |||
| 300 | 2006-07-03 Carsten Dominik <dominik@science.uva.nl> | ||
| 301 | |||
| 302 | * textmodes/org.el (org-mode): Remove no invalid settings for | ||
| 303 | calc embedded mode. | ||
| 304 | (org-mode-p): New defsubst. | ||
| 305 | (org-save-all-org-buffers): New function. | ||
| 306 | (org-first-headline-recenter): Enclose outline-regexp in group | ||
| 307 | delimiters. | ||
| 308 | (org-set-tags): Keep single space after stars. | ||
| 309 | |||
| 310 | 2006-07-02 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 311 | |||
| 312 | * window.el (set-window-text-height): Only set window-min-height to | ||
| 313 | 1 if that's the requested size. | ||
| 314 | |||
| 315 | * diff-mode.el (diff-find-file-name): Obey cvs-pcl-cvs-dirchange-re. | ||
| 316 | (diff-unified->context, diff-context->unified) | ||
| 317 | (diff-reverse-direction): Make sure the end marker stays at the end. | ||
| 318 | (diff-mode): Add the keymap table at the end of docstring. | ||
| 319 | Use lexical-let rather than constructing a closure manually. | ||
| 320 | |||
| 321 | * files.el (find-file-noselect-1): Remove unused var assignment. | ||
| 322 | (hack-local-variables-confirm): Print lists of strings as lists of | ||
| 323 | strings rather than lists of symbols. | ||
| 324 | (abbreviate-file-name, hack-local-variables-prop-line): | ||
| 325 | Use match-string. | ||
| 326 | (hack-one-local-variable): Move `make-local-variable' nearer its use. | ||
| 327 | (recover-session-finish): Use line-end-position. | ||
| 328 | |||
| 329 | 2006-07-02 Michael Albinus <michael.albinus@gmx.de> | ||
| 330 | |||
| 331 | * net/tramp.el (tramp-handle-shell-command): Preserve current-buffer. | ||
| 332 | |||
| 333 | 2006-07-02 Daniel Pfeiffer <occitan@esperanto.org> | ||
| 334 | |||
| 335 | * progmodes/make-mode.el (makefile-macroassign-regex): | ||
| 336 | Accept preceding keyword. | ||
| 337 | (makefile-gmake-statements): Reorganize, now that makepp has | ||
| 338 | "override" and also handle forgotten "override define". | ||
| 339 | (makefile-makepp-statements): Add new "global", "override export" | ||
| 340 | and "override global". | ||
| 341 | |||
| 342 | 2006-06-30 Juanma Barranquero <lekktu@gmail.com> | ||
| 343 | |||
| 344 | * progmodes/ada-mode.el (ada-which-compiler, ada-mode-menu) | ||
| 345 | (ada-compile-mouse-goto-error, ada-deactivate-properties) | ||
| 346 | (ada-no-auto-case): Fix typos in docstrings. | ||
| 347 | |||
| 348 | 2006-06-30 Nick Roberts <nickrob@snap.net.nz> | ||
| 349 | |||
| 350 | * info.el (Info-find-node-2): Search for makeinfo version more | ||
| 351 | carefully. | ||
| 352 | |||
| 353 | 2006-06-29 Carsten Dominik <dominik@science.uva.nl> | ||
| 354 | |||
| 355 | * textmodes/org.el (org-prepare-agenda-buffers): | ||
| 356 | Use `invisible-OK' argument for `org-end-of-subtree'. | ||
| 357 | (org-export-cleanup-toc-line): Rename from `org-html-cleanup-toc-line'. | ||
| 358 | (org-beginning-of-item): Fix bug in regular expression for white line. | ||
| 359 | (org-export-as-html): Enforce space after bullet in plain list items. | ||
| 360 | (org-set-autofill-regexps): Require space after plain list bullet | ||
| 361 | for paragraph-start. | ||
| 362 | (org-ts-regexp3): New constant. | ||
| 363 | (org-at-timestamp-p): New optional argument ALSO-INACTIVE. | ||
| 364 | (org-timestamp-up-day, org-timestamp-down-day) | ||
| 365 | (org-timestamp-change): Work with inactive timestamps. | ||
| 366 | (org-ts-regexp1): Don't allow brackets in time stamps. | ||
| 367 | |||
| 368 | 2006-06-29 Nick Roberts <nickrob@snap.net.nz> | ||
| 369 | |||
| 370 | * help-mode.el (help-xref-symbol-regexp): Add property as a keyword | ||
| 371 | for ignoring links. | ||
| 372 | |||
| 373 | * faces.el (read-face-name): Use it. | ||
| 374 | |||
| 375 | 2006-06-28 Juri Linkov <juri@jurta.org> | ||
| 376 | |||
| 377 | * buff-menu.el (list-buffers-noselect): Compare Info file | ||
| 378 | with the string "dir" to detect Info directory. | ||
| 379 | |||
| 380 | * complete.el (partial-completion-mode): In lambda for | ||
| 381 | `choose-completion-string-functions' use full function signature | ||
| 382 | with 4 args, and move point to the end of the minibuffer only if arg | ||
| 383 | `mini-p' is non-nil. | ||
| 384 | |||
| 385 | 2006-06-28 John Paul Wallington <jpw@pobox.com> | ||
| 386 | |||
| 387 | * ibuffer.el (ibuffer-mode): Doc fix. | ||
| 388 | |||
| 389 | 2006-06-28 Carsten Dominik <dominik@science.uva.nl> | ||
| 390 | |||
| 391 | * textmodes/org.el (org-context): New contexts :item-bullet, | ||
| 392 | :latex-fragment, :latex-preview. | ||
| 393 | (org-overlays-at, org-overlay-start, org-overlay-end): | ||
| 394 | New compatibility functions. | ||
| 395 | (org-inside-LaTeX-fragment-p): More accurate matching, using the | ||
| 396 | exact regexp that will be used during export. | ||
| 397 | (org-latex-regexps): New variable. | ||
| 398 | (org-cdlatex-mode): Improve advice for `texmathp'. | ||
| 399 | (turn-on-org-cdlatex): New function. | ||
| 400 | |||
| 401 | 2006-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 402 | |||
| 403 | * term/mac-win.el (mac-handle-font-selection): Change keys of | ||
| 404 | mac-atsu-font-table from strings to numbers. | ||
| 405 | (mac-ts-caret-position): Use also when cursor-type is nil. | ||
| 406 | (mac-ts-update-active-input-area): Add Mac OS Classic support. | ||
| 407 | Relax condition for using overlay strings. | ||
| 408 | Use mac-ts-caret-position face when cursor-type is nil. | ||
| 409 | |||
| 410 | 2006-06-26 Kim F. Storm <storm@cua.dk> | ||
| 411 | |||
| 412 | * help.el (view-emacs-news): Declare `res' in the right let* form. | ||
| 413 | |||
| 1 | 2006-06-25 Michael Albinus <michael.albinus@gmx.de> | 414 | 2006-06-25 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 415 | ||
| 3 | * net/rcompile.el (remote-compile): Replace ange-ftp based | 416 | * net/rcompile.el (remote-compile): Replace ange-ftp based |
| @@ -11,7 +424,7 @@ | |||
| 11 | * international/fontset.el (setup-default-fontset): Fix a typo in | 424 | * international/fontset.el (setup-default-fontset): Fix a typo in |
| 12 | the "Oriya-Akruti" registry name. | 425 | the "Oriya-Akruti" registry name. |
| 13 | 426 | ||
| 14 | 2006-06-23 Lars Hansen <larsh@soem.dk> | 427 | 2006-06-23 Lars Hansen <larsh@soem.dk> |
| 15 | 428 | ||
| 16 | * desktop.el (desktop-full-file-name): New function. | 429 | * desktop.el (desktop-full-file-name): New function. |
| 17 | (desktop-kill, desktop-save, desktop-remove, desktop-read) | 430 | (desktop-kill, desktop-save, desktop-remove, desktop-read) |
| @@ -30,13 +443,13 @@ | |||
| 30 | (org-inside-LaTeX-fragment-p, org-try-cdlatex-tab): New functions. | 443 | (org-inside-LaTeX-fragment-p, org-try-cdlatex-tab): New functions. |
| 31 | (org-cdlatex-underscore-caret, org-cdlatex-math-modify): New commands. | 444 | (org-cdlatex-underscore-caret, org-cdlatex-math-modify): New commands. |
| 32 | (org-export-with-archived-trees): New option. | 445 | (org-export-with-archived-trees): New option. |
| 33 | (org-open-file): Removed the call to `convert-standard-filename'. | 446 | (org-open-file): Remove the call to `convert-standard-filename'. |
| 34 | (org-archive-tag, org-agenda-skip-archived-trees) | 447 | (org-archive-tag, org-agenda-skip-archived-trees) |
| 35 | (org-cycle-open-archived-trees) | 448 | (org-cycle-open-archived-trees) |
| 36 | (org-sparse-tree-open-archived-trees): New options. | 449 | (org-sparse-tree-open-archived-trees): New options. |
| 37 | (org-cycle-hide-archived-subtrees, org-hide-archived-subtrees) | 450 | (org-cycle-hide-archived-subtrees, org-hide-archived-subtrees) |
| 38 | (org-toggle-tag, org-prepare-agenda-buffers, org-agenda-skip): New | 451 | (org-toggle-tag, org-prepare-agenda-buffers, org-agenda-skip): |
| 39 | functions. | 452 | New functions. |
| 40 | (org-agenda-toggle-archive-tag, org-toggle-archive-tag): New commands. | 453 | (org-agenda-toggle-archive-tag, org-toggle-archive-tag): New commands. |
| 41 | (org-agenda-mode-map): Add binding of `org-agenda-toggle-archive-tag'. | 454 | (org-agenda-mode-map): Add binding of `org-agenda-toggle-archive-tag'. |
| 42 | (org-mode-map): Add binding for `org-toggle-archive-tag'. | 455 | (org-mode-map): Add binding for `org-toggle-archive-tag'. |
| @@ -152,14 +565,14 @@ | |||
| 152 | (org-update-all-dblocks, org-find-dblock): New functions. | 565 | (org-update-all-dblocks, org-find-dblock): New functions. |
| 153 | (org-collect-clock-time-entries): New function. | 566 | (org-collect-clock-time-entries): New function. |
| 154 | (org-html-handle-time-stamps): Never export CLOCK timeranges. | 567 | (org-html-handle-time-stamps): Never export CLOCK timeranges. |
| 155 | (org-fixup-indentation): Modified to deadl correctly with lines | 568 | (org-fixup-indentation): Modify to deal correctly with lines |
| 156 | starting with TAB. Only one argument DIFF now. | 569 | starting with TAB. Only one argument DIFF now. |
| 157 | (org-demote, org-promote): Call `org-fixup-indentation' with just | 570 | (org-demote, org-promote): Call `org-fixup-indentation' with just |
| 158 | one argument, DIFF. | 571 | one argument, DIFF. |
| 159 | (org-mode): Don't mark buffer as modified when aligning tables. | 572 | (org-mode): Don't mark buffer as modified when aligning tables. |
| 160 | (org-clock-sum): Don't mark buffer modified when adding time sum | 573 | (org-clock-sum): Don't mark buffer modified when adding time sum |
| 161 | properties. | 574 | properties. |
| 162 | (org-export-as-html): Added support for a link validation function. | 575 | (org-export-as-html): Add support for a link validation function. |
| 163 | (org-archive-all-done): New function. | 576 | (org-archive-all-done): New function. |
| 164 | (org-archive-subtree): New prefix argument. When set, archive all | 577 | (org-archive-subtree): New prefix argument. When set, archive all |
| 165 | done subtrees in this buffer. | 578 | done subtrees in this buffer. |
| @@ -210,9 +623,9 @@ | |||
| 210 | 623 | ||
| 211 | 2006-06-18 Ralf Angeli <angeli@caeruleus.net> | 624 | 2006-06-18 Ralf Angeli <angeli@caeruleus.net> |
| 212 | 625 | ||
| 213 | * textmodes/tex-mode.el (tex-font-lock-match-suscript): Remove | 626 | * textmodes/tex-mode.el (tex-font-lock-match-suscript): |
| 214 | superfluous part of regexp for brace matching which is handled by | 627 | Remove superfluous part of regexp for brace matching which is handled |
| 215 | `scan-lists' call. | 628 | by `scan-lists' call. |
| 216 | 629 | ||
| 217 | 2006-06-16 Richard Stallman <rms@gnu.org> | 630 | 2006-06-16 Richard Stallman <rms@gnu.org> |
| 218 | 631 | ||
| @@ -285,7 +698,7 @@ | |||
| 285 | 698 | ||
| 286 | 2006-06-10 Carsten Dominik <dominik@science.uva.nl> | 699 | 2006-06-10 Carsten Dominik <dominik@science.uva.nl> |
| 287 | 700 | ||
| 288 | * textmodes/org.el: (org-agenda-mode-map): Add bindings for | 701 | * textmodes/org.el (org-agenda-mode-map): Add bindings for |
| 289 | clocking functions. | 702 | clocking functions. |
| 290 | 703 | ||
| 291 | (org-agenda-clock-in, org-check-running-clock) | 704 | (org-agenda-clock-in, org-check-running-clock) |
| @@ -362,7 +775,7 @@ | |||
| 362 | 2006-06-06 Chong Yidong <cyd@stupidchicken.com> | 775 | 2006-06-06 Chong Yidong <cyd@stupidchicken.com> |
| 363 | 776 | ||
| 364 | * diff-mode.el (diff-mode): Set buffer-read-only to t when | 777 | * diff-mode.el (diff-mode): Set buffer-read-only to t when |
| 365 | diff-default-read-only is non-nill. | 778 | diff-default-read-only is non-nil. |
| 366 | (diff-hunk-kill, diff-file-kill, diff-split-hunk) | 779 | (diff-hunk-kill, diff-file-kill, diff-split-hunk) |
| 367 | (diff-refine-hunk): Set inhibit-read-only to t. | 780 | (diff-refine-hunk): Set inhibit-read-only to t. |
| 368 | 781 | ||
| @@ -373,7 +786,7 @@ | |||
| 373 | 786 | ||
| 374 | 2006-06-06 Carsten Dominik <dominik@science.uva.nl> | 787 | 2006-06-06 Carsten Dominik <dominik@science.uva.nl> |
| 375 | 788 | ||
| 376 | * textmodes/org.el: (org-archive-subtree): Use end-of-subtree as | 789 | * textmodes/org.el (org-archive-subtree): Use end-of-subtree as |
| 377 | insertion point and control the number of empty lines. | 790 | insertion point and control the number of empty lines. |
| 378 | (org-paste-subtree): Limit the number of empty lines at the end of | 791 | (org-paste-subtree): Limit the number of empty lines at the end of |
| 379 | the inserted tree. | 792 | the inserted tree. |
| @@ -439,9 +852,9 @@ | |||
| 439 | (authors-canonical-file-name): Don't report error for wildcards. | 852 | (authors-canonical-file-name): Don't report error for wildcards. |
| 440 | 853 | ||
| 441 | * help.el (view-emacs-news): Rewrite to support new NEWS, | 854 | * help.el (view-emacs-news): Rewrite to support new NEWS, |
| 442 | NEWS.major, and NEWS.1-17 file naming. Add more intelligense, | 855 | NEWS.major, and NEWS.1-17 file naming. Add more intelligence, |
| 443 | e.g. version 10 matches 1.10, and don't be confused by version 1.1 | 856 | e.g. version 10 matches 1.10, and don't be confused by version 1.1 |
| 444 | begin a prefix of 1.12 (etc). A numeric prefix arg also works. | 857 | being a prefix of 1.12 (etc). A numeric prefix arg also works. |
| 445 | 858 | ||
| 446 | 2006-06-03 Vivek Dasmohapatra <vivek@etla.org> | 859 | 2006-06-03 Vivek Dasmohapatra <vivek@etla.org> |
| 447 | 860 | ||
| @@ -515,7 +928,7 @@ | |||
| 515 | 2006-06-02 Masatake YAMATO <jet@gyve.org> | 928 | 2006-06-02 Masatake YAMATO <jet@gyve.org> |
| 516 | 929 | ||
| 517 | * progmodes/compile.el (compilation-error-regexp-alist-alist::gcov-*): | 930 | * progmodes/compile.el (compilation-error-regexp-alist-alist::gcov-*): |
| 518 | Almost rewrite. Underlines over all lines of gcov output are too | 931 | Almost rewrite. Underlines over all lines of gcov output are too |
| 519 | uncomfortable to read. Suggested by Dan Nicolaescu. | 932 | uncomfortable to read. Suggested by Dan Nicolaescu. |
| 520 | 933 | ||
| 521 | 2006-06-01 Luc Teirlinck <teirllm@auburn.edu> | 934 | 2006-06-01 Luc Teirlinck <teirllm@auburn.edu> |
| @@ -559,7 +972,7 @@ | |||
| 559 | 2006-05-31 Nick Roberts <nickrob@snap.net.nz> | 972 | 2006-05-31 Nick Roberts <nickrob@snap.net.nz> |
| 560 | 973 | ||
| 561 | * progmodes/gud.el (gud-query-cmdline, gud-common-init): | 974 | * progmodes/gud.el (gud-query-cmdline, gud-common-init): |
| 562 | Revert inadvertant changes made with last commit. | 975 | Revert inadvertent changes made with last commit. |
| 563 | 976 | ||
| 564 | 2006-05-30 Reiner Steib <Reiner.Steib@gmx.de> | 977 | 2006-05-30 Reiner Steib <Reiner.Steib@gmx.de> |
| 565 | 978 | ||
| @@ -570,7 +983,7 @@ | |||
| 570 | 983 | ||
| 571 | 2006-05-30 Carsten Dominik <dominik@science.uva.nl> | 984 | 2006-05-30 Carsten Dominik <dominik@science.uva.nl> |
| 572 | 985 | ||
| 573 | * textmodes/org.el: (org-agenda-highlight-todo): Make sure regexp | 986 | * textmodes/org.el (org-agenda-highlight-todo): Make sure regexp |
| 574 | only matches in the right place. | 987 | only matches in the right place. |
| 575 | (org-upcoming-deadline): New face. | 988 | (org-upcoming-deadline): New face. |
| 576 | (org-agenda-get-deadlines): Use new face `org-upcoming-deadline'. | 989 | (org-agenda-get-deadlines): Use new face `org-upcoming-deadline'. |
| @@ -580,9 +993,10 @@ | |||
| 580 | (org-export-as-html): Many changes to emit valid XHTML. | 993 | (org-export-as-html): Many changes to emit valid XHTML. |
| 581 | (org-par-open): New variable. | 994 | (org-par-open): New variable. |
| 582 | (org-open-par, org-close-par-maybe, org-close-li-maybe): New functions. | 995 | (org-open-par, org-close-par-maybe, org-close-li-maybe): New functions. |
| 583 | (org-html-do-expand, org-section-number): Fixedcase in `replace-match'. | 996 | (org-html-do-expand, org-section-number): Fix case in `replace-match'. |
| 584 | (org-timeline): Pass `org-timeline-show-empty-dates' to | 997 | (org-timeline): Pass `org-timeline-show-empty-dates' to |
| 585 | `org-get-all-dates'. Interpret empty dates returned by `org-get-all-dates'. | 998 | `org-get-all-dates'. Interpret empty dates returned by |
| 999 | `org-get-all-dates'. | ||
| 586 | (org-get-all-dates): New argument EMPTY. Add dates without | 1000 | (org-get-all-dates): New argument EMPTY. Add dates without |
| 587 | entries to the list, mark large ranges of empty dates. | 1001 | entries to the list, mark large ranges of empty dates. |
| 588 | (org-point-in-group, org-context): New functions. | 1002 | (org-point-in-group, org-context): New functions. |
| @@ -808,7 +1222,7 @@ | |||
| 808 | 1222 | ||
| 809 | 2006-05-26 Carsten Dominik <dominik@science.uva.nl> | 1223 | 2006-05-26 Carsten Dominik <dominik@science.uva.nl> |
| 810 | 1224 | ||
| 811 | * textmodes/org.el: (org-next-item, org-previous-item): Emit more | 1225 | * textmodes/org.el (org-next-item, org-previous-item): Emit more |
| 812 | compact error message. | 1226 | compact error message. |
| 813 | (org-tags-view): Refresh category table in each file. | 1227 | (org-tags-view): Refresh category table in each file. |
| 814 | (org-table-justify-field-maybe): Remove superfluous arguments to | 1228 | (org-table-justify-field-maybe): Remove superfluous arguments to |
| @@ -930,7 +1344,7 @@ | |||
| 930 | 1344 | ||
| 931 | 2006-05-24 Carsten Dominik <dominik@science.uva.nl> | 1345 | 2006-05-24 Carsten Dominik <dominik@science.uva.nl> |
| 932 | 1346 | ||
| 933 | * textmodes/org.el: (org-open-at-point): Use renamed variable | 1347 | * textmodes/org.el (org-open-at-point): Use renamed variable |
| 934 | `org-confirm-shell-link-function'. | 1348 | `org-confirm-shell-link-function'. |
| 935 | (org-confirm-shell-link-function): Rename from | 1349 | (org-confirm-shell-link-function): Rename from |
| 936 | `org-confirm-shell-links'. | 1350 | `org-confirm-shell-links'. |
| @@ -1006,7 +1420,6 @@ | |||
| 1006 | make command. | 1420 | make command. |
| 1007 | (org-shiftup, org-shiftdown): Accommodate the item-navigation commands. | 1421 | (org-shiftup, org-shiftdown): Accommodate the item-navigation commands. |
| 1008 | 1422 | ||
| 1009 | |||
| 1010 | 2006-05-23 Thien-Thi Nguyen <ttn@gnu.org> | 1423 | 2006-05-23 Thien-Thi Nguyen <ttn@gnu.org> |
| 1011 | 1424 | ||
| 1012 | * emacs-lisp/ewoc.el (ewoc-delete): New function. | 1425 | * emacs-lisp/ewoc.el (ewoc-delete): New function. |
| @@ -1333,7 +1746,7 @@ | |||
| 1333 | 1746 | ||
| 1334 | 2006-05-12 Ken Manheimer <ken.manheimer@gmail.com> | 1747 | 2006-05-12 Ken Manheimer <ken.manheimer@gmail.com> |
| 1335 | 1748 | ||
| 1336 | * allout.el: (allout-view-change-hook): Mark as being deprecated, | 1749 | * allout.el (allout-view-change-hook): Mark as being deprecated, |
| 1337 | to be replaced by `allout-exposure-change-hook'. | 1750 | to be replaced by `allout-exposure-change-hook'. |
| 1338 | (allout-exposure-change-hook): New, replacing | 1751 | (allout-exposure-change-hook): New, replacing |
| 1339 | `allout-view-change-hook'. | 1752 | `allout-view-change-hook'. |
| @@ -1609,7 +2022,7 @@ | |||
| 1609 | 2022 | ||
| 1610 | 2006-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2023 | 2006-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 1611 | 2024 | ||
| 1612 | * term/mac-win.el: (mac-utxt-to-string): Don't make adjustment for | 2025 | * term/mac-win.el (mac-utxt-to-string): Don't make adjustment for |
| 1613 | MacJapanese if text is ASCII-only. | 2026 | MacJapanese if text is ASCII-only. |
| 1614 | 2027 | ||
| 1615 | 2006-05-06 Nick Roberts <nickrob@snap.net.nz> | 2028 | 2006-05-06 Nick Roberts <nickrob@snap.net.nz> |
| @@ -1696,7 +2109,7 @@ | |||
| 1696 | 2109 | ||
| 1697 | * cus-start.el (all): Add mac-dnd-known-types. | 2110 | * cus-start.el (all): Add mac-dnd-known-types. |
| 1698 | 2111 | ||
| 1699 | * term/mac-win.el: (mac-utxt-to-string, mac-string-to-utxt) | 2112 | * term/mac-win.el (mac-utxt-to-string, mac-string-to-utxt) |
| 1700 | (mac-TEXT-to-string, mac-string-to-TEXT, mac-furl-to-string) | 2113 | (mac-TEXT-to-string, mac-string-to-TEXT, mac-furl-to-string) |
| 1701 | (mac-TIFF-to-string): New functions. | 2114 | (mac-TIFF-to-string): New functions. |
| 1702 | (x-get-selection, x-selection-value) | 2115 | (x-get-selection, x-selection-value) |
| @@ -1741,7 +2154,7 @@ | |||
| 1741 | 2006-05-03 Dan Nicolaescu <dann@ics.uci.edu> | 2154 | 2006-05-03 Dan Nicolaescu <dann@ics.uci.edu> |
| 1742 | 2155 | ||
| 1743 | * isearch.el (isearch-update-ring): Take history-delete-duplicates | 2156 | * isearch.el (isearch-update-ring): Take history-delete-duplicates |
| 1744 | into consideration. Replace one arm ifs with whens. | 2157 | into consideration. Replace one arm ifs with whens. |
| 1745 | 2158 | ||
| 1746 | 2006-05-03 Nick Roberts <nickrob@snap.net.nz> | 2159 | 2006-05-03 Nick Roberts <nickrob@snap.net.nz> |
| 1747 | 2160 | ||
| @@ -1754,7 +2167,7 @@ | |||
| 1754 | 2167 | ||
| 1755 | 2006-05-02 Jay Belanger <belanger@truman.edu> | 2168 | 2006-05-02 Jay Belanger <belanger@truman.edu> |
| 1756 | 2169 | ||
| 1757 | * calc/calc-embed.el: (calc-override-minor-modes-map) | 2170 | * calc/calc-embed.el (calc-override-minor-modes-map) |
| 1758 | (calc-override-minor-modes): New variables. | 2171 | (calc-override-minor-modes): New variables. |
| 1759 | (calc-do-embedded): Make sure that Calc keystrokes aren't | 2172 | (calc-do-embedded): Make sure that Calc keystrokes aren't |
| 1760 | overwritten by minor modes. | 2173 | overwritten by minor modes. |
| @@ -2737,7 +3150,7 @@ | |||
| 2737 | (Man-abstract-xref-man-page): If Man-target-string is a function, | 3150 | (Man-abstract-xref-man-page): If Man-target-string is a function, |
| 2738 | call it. | 3151 | call it. |
| 2739 | (Man-highlight-references): Use Man-default-man-entry to get the | 3152 | (Man-highlight-references): Use Man-default-man-entry to get the |
| 2740 | target. Deal with xrefs too. | 3153 | target. Deal with xrefs too. |
| 2741 | (Man-highlight-references0): Don't call the target function. | 3154 | (Man-highlight-references0): Don't call the target function. |
| 2742 | 3155 | ||
| 2743 | * woman.el (WoMan-xref-man-page): Strip the section number, woman | 3156 | * woman.el (WoMan-xref-man-page): Strip the section number, woman |
diff --git a/lisp/allout.el b/lisp/allout.el index d6955c52cdf..2fbef5b2cd8 100644 --- a/lisp/allout.el +++ b/lisp/allout.el | |||
| @@ -37,7 +37,7 @@ | |||
| 37 | ;; - Incremental search with dynamic exposure and reconcealment of text | 37 | ;; - Incremental search with dynamic exposure and reconcealment of text |
| 38 | ;; - Customizable bullet format - enables programming-language specific | 38 | ;; - Customizable bullet format - enables programming-language specific |
| 39 | ;; outlining, for code-folding editing. (Allout code itself is to try it; | 39 | ;; outlining, for code-folding editing. (Allout code itself is to try it; |
| 40 | ;; formatted as an outline - do ESC-x eval-current-buffer in allout.el; but | 40 | ;; formatted as an outline - do ESC-x eval-buffer in allout.el; but |
| 41 | ;; emacs local file variables need to be enabled when the | 41 | ;; emacs local file variables need to be enabled when the |
| 42 | ;; file was visited - see `enable-local-variables'.) | 42 | ;; file was visited - see `enable-local-variables'.) |
| 43 | ;; - Configurable per-file initial exposure settings | 43 | ;; - Configurable per-file initial exposure settings |
| @@ -72,7 +72,7 @@ | |||
| 72 | ;; 3.x, for those of you that depend on the old method.) | 72 | ;; 3.x, for those of you that depend on the old method.) |
| 73 | ;; | 73 | ;; |
| 74 | ;; Note - the lines beginning with `;;;_' are outline topic headers. | 74 | ;; Note - the lines beginning with `;;;_' are outline topic headers. |
| 75 | ;; Just `ESC-x eval-current-buffer' to give it a whirl. | 75 | ;; Just `ESC-x eval-buffer' to give it a whirl. |
| 76 | 76 | ||
| 77 | ;; ken manheimer (ken dot manheimer at gmail dot com) | 77 | ;; ken manheimer (ken dot manheimer at gmail dot com) |
| 78 | 78 | ||
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index 4998c1edf07..e9e7e9a2bb8 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el | |||
| @@ -777,7 +777,7 @@ For more information, see the function `buffer-menu'." | |||
| 777 | ((eq major-mode 'Info-mode) | 777 | ((eq major-mode 'Info-mode) |
| 778 | (setq file Info-current-file) | 778 | (setq file Info-current-file) |
| 779 | (cond | 779 | (cond |
| 780 | ((eq file t) | 780 | ((equal file "dir") |
| 781 | (setq file "*Info Directory*")) | 781 | (setq file "*Info Directory*")) |
| 782 | ((eq file 'apropos) | 782 | ((eq file 'apropos) |
| 783 | (setq file "*Info Apropos*")) | 783 | (setq file "*Info Apropos*")) |
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 6abcb74a3e2..38bcc887ec0 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -213,12 +213,6 @@ If nil, make an icon of the frame. If non-nil, delete the frame." | |||
| 213 | ;; backward-compatibility alias | 213 | ;; backward-compatibility alias |
| 214 | (put 'holiday-face 'face-alias 'holiday) | 214 | (put 'holiday-face 'face-alias 'holiday) |
| 215 | 215 | ||
| 216 | (eval-after-load "facemenu" | ||
| 217 | '(progn | ||
| 218 | (add-to-list 'facemenu-unlisted-faces 'diary) | ||
| 219 | (add-to-list 'facemenu-unlisted-faces 'calendar-today) | ||
| 220 | (add-to-list 'facemenu-unlisted-faces 'holiday))) | ||
| 221 | |||
| 222 | (defcustom diary-entry-marker | 216 | (defcustom diary-entry-marker |
| 223 | (if (not (display-color-p)) | 217 | (if (not (display-color-p)) |
| 224 | "+" | 218 | "+" |
diff --git a/lisp/complete.el b/lisp/complete.el index df1bc2bfd8b..ca6231893c3 100644 --- a/lisp/complete.el +++ b/lisp/complete.el | |||
| @@ -234,7 +234,9 @@ second TAB brings up the `*Completions*' buffer." | |||
| 234 | (funcall | 234 | (funcall |
| 235 | (if partial-completion-mode 'add-hook 'remove-hook) | 235 | (if partial-completion-mode 'add-hook 'remove-hook) |
| 236 | 'choose-completion-string-functions | 236 | 'choose-completion-string-functions |
| 237 | (lambda (&rest x) (goto-char (point-max)) nil)) | 237 | (lambda (choice buffer mini-p base-size) |
| 238 | (if mini-p (goto-char (point-max))) | ||
| 239 | nil)) | ||
| 238 | ;; Build the env-completion and mapping table. | 240 | ;; Build the env-completion and mapping table. |
| 239 | (when (and partial-completion-mode (null PC-env-vars-alist)) | 241 | (when (and partial-completion-mode (null PC-env-vars-alist)) |
| 240 | (setq PC-env-vars-alist | 242 | (setq PC-env-vars-alist |
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index d7ffab4bc5b..15efbc5ab91 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -4419,7 +4419,9 @@ The format is suitable for use with `easy-menu-define'." | |||
| 4419 | ;; Actually, this misfeature of dense keymaps was fixed on 2001-11-26. | 4419 | ;; Actually, this misfeature of dense keymaps was fixed on 2001-11-26. |
| 4420 | (let ((map (make-keymap))) | 4420 | (let ((map (make-keymap))) |
| 4421 | (set-keymap-parent map widget-keymap) | 4421 | (set-keymap-parent map widget-keymap) |
| 4422 | (suppress-keymap map) | 4422 | (define-key map [remap self-insert-command] |
| 4423 | 'custom-no-edit) | ||
| 4424 | (define-key map "\^m" 'custom-no-edit) | ||
| 4423 | (define-key map " " 'scroll-up) | 4425 | (define-key map " " 'scroll-up) |
| 4424 | (define-key map "\177" 'scroll-down) | 4426 | (define-key map "\177" 'scroll-down) |
| 4425 | (define-key map "\C-c\C-c" 'Custom-set) | 4427 | (define-key map "\C-c\C-c" 'Custom-set) |
| @@ -4431,6 +4433,11 @@ The format is suitable for use with `easy-menu-define'." | |||
| 4431 | map) | 4433 | map) |
| 4432 | "Keymap for `custom-mode'.") | 4434 | "Keymap for `custom-mode'.") |
| 4433 | 4435 | ||
| 4436 | (defun custom-no-edit () | ||
| 4437 | "Refuse to allow editing of Custom buffer." | ||
| 4438 | (interactive) | ||
| 4439 | (error "You can't edit this part of the Custom buffer")) | ||
| 4440 | |||
| 4434 | (easy-menu-define Custom-mode-menu | 4441 | (easy-menu-define Custom-mode-menu |
| 4435 | custom-mode-map | 4442 | custom-mode-map |
| 4436 | "Menu used in customization buffers." | 4443 | "Menu used in customization buffers." |
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index 7ea02352b0b..16bdaf152f7 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el | |||
| @@ -46,13 +46,15 @@ | |||
| 46 | ;; of a hunk. Show then the changes between <file> and <hunk> and make it | 46 | ;; of a hunk. Show then the changes between <file> and <hunk> and make it |
| 47 | ;; possible to apply them to <file>, <hunk-src>, or <hunk-dst>. | 47 | ;; possible to apply them to <file>, <hunk-src>, or <hunk-dst>. |
| 48 | ;; Or maybe just make it into a ".rej to diff3-markers converter". | 48 | ;; Or maybe just make it into a ".rej to diff3-markers converter". |
| 49 | ;; Maybe just use `wiggle' (by Neil Brown) to do it for us. | ||
| 49 | ;; | 50 | ;; |
| 50 | ;; - Refine hunk on a word-by-word basis. | 51 | ;; - Refine hunk on a word-by-word basis. |
| 51 | ;; | 52 | ;; |
| 53 | ;; - in diff-apply-hunk, strip context in replace-match to better | ||
| 54 | ;; preserve markers and spacing. | ||
| 52 | ;; - Handle `diff -b' output in context->unified. | 55 | ;; - Handle `diff -b' output in context->unified. |
| 53 | 56 | ||
| 54 | ;;; Code: | 57 | ;;; Code: |
| 55 | |||
| 56 | (eval-when-compile (require 'cl)) | 58 | (eval-when-compile (require 'cl)) |
| 57 | 59 | ||
| 58 | (defvar add-log-buffer-file-name-function) | 60 | (defvar add-log-buffer-file-name-function) |
| @@ -128,14 +130,14 @@ when editing big diffs)." | |||
| 128 | ;;("h" . diff-show-header) | 130 | ;;("h" . diff-show-header) |
| 129 | ;;("j" . diff-show-difference) ;jump to Nth diff | 131 | ;;("j" . diff-show-difference) ;jump to Nth diff |
| 130 | ;;("q" . diff-quit) | 132 | ;;("q" . diff-quit) |
| 131 | ;; Not useful if you have to metafy them. | 133 | ;; Not useful if you have to metafy them. |
| 132 | ;; (" " . scroll-up) | 134 | ;;(" " . scroll-up) |
| 133 | ;; ("\177" . scroll-down) | 135 | ;;("\177" . scroll-down) |
| 134 | ;; Standard M-a is useful, so don't change M-A. | 136 | ;; Standard M-a is useful, so don't change M-A. |
| 135 | ;; ("A" . diff-ediff-patch) | 137 | ;;("A" . diff-ediff-patch) |
| 136 | ;; Standard M-r is useful, so don't change M-r or M-R. | 138 | ;; Standard M-r is useful, so don't change M-r or M-R. |
| 137 | ;; ("r" . diff-restrict-view) | 139 | ;;("r" . diff-restrict-view) |
| 138 | ;; ("R" . diff-reverse-direction) | 140 | ;;("R" . diff-reverse-direction) |
| 139 | ("q" . quit-window)) | 141 | ("q" . quit-window)) |
| 140 | "Basic keymap for `diff-mode', bound to various prefix keys.") | 142 | "Basic keymap for `diff-mode', bound to various prefix keys.") |
| 141 | 143 | ||
| @@ -581,14 +583,16 @@ If the OLD prefix arg is passed, tell the file NAME of the old file." | |||
| 581 | (list (if old (match-string 2) (match-string 4)) | 583 | (list (if old (match-string 2) (match-string 4)) |
| 582 | (if old (match-string 4) (match-string 2))))))))) | 584 | (if old (match-string 4) (match-string 2))))))))) |
| 583 | 585 | ||
| 584 | (defun diff-find-file-name (&optional old) | 586 | (defun diff-find-file-name (&optional old prefix) |
| 585 | "Return the file corresponding to the current patch. | 587 | "Return the file corresponding to the current patch. |
| 586 | Non-nil OLD means that we want the old file." | 588 | Non-nil OLD means that we want the old file. |
| 589 | PREFIX is only used internally: don't use it." | ||
| 587 | (save-excursion | 590 | (save-excursion |
| 588 | (unless (looking-at diff-file-header-re) | 591 | (unless (looking-at diff-file-header-re) |
| 589 | (or (ignore-errors (diff-beginning-of-file)) | 592 | (or (ignore-errors (diff-beginning-of-file)) |
| 590 | (re-search-forward diff-file-header-re nil t))) | 593 | (re-search-forward diff-file-header-re nil t))) |
| 591 | (let ((fs (diff-hunk-file-names old))) | 594 | (let ((fs (diff-hunk-file-names old))) |
| 595 | (if prefix (setq fs (mapcar (lambda (f) (concat prefix f)) fs))) | ||
| 592 | (or | 596 | (or |
| 593 | ;; use any previously used preference | 597 | ;; use any previously used preference |
| 594 | (cdr (assoc fs diff-remembered-files-alist)) | 598 | (cdr (assoc fs diff-remembered-files-alist)) |
| @@ -610,6 +614,13 @@ Non-nil OLD means that we want the old file." | |||
| 610 | (and (string-match "\\.rej\\'" (or buffer-file-name "")) | 614 | (and (string-match "\\.rej\\'" (or buffer-file-name "")) |
| 611 | (let ((file (substring buffer-file-name 0 (match-beginning 0)))) | 615 | (let ((file (substring buffer-file-name 0 (match-beginning 0)))) |
| 612 | (when (file-exists-p file) file))) | 616 | (when (file-exists-p file) file))) |
| 617 | ;; If we haven't found the file, maybe it's because we haven't paid | ||
| 618 | ;; attention to the PCL-CVS hint. | ||
| 619 | (and (not prefix) | ||
| 620 | (boundp 'cvs-pcl-cvs-dirchange-re) | ||
| 621 | (save-excursion | ||
| 622 | (re-search-backward cvs-pcl-cvs-dirchange-re nil t)) | ||
| 623 | (diff-find-file-name old (match-string 1))) | ||
| 613 | ;; if all else fails, ask the user | 624 | ;; if all else fails, ask the user |
| 614 | (let ((file (read-file-name (format "Use file %s: " (or (first fs) "")) | 625 | (let ((file (read-file-name (format "Use file %s: " (or (first fs) "")) |
| 615 | nil (first fs) t (first fs)))) | 626 | nil (first fs) t (first fs)))) |
| @@ -639,7 +650,7 @@ else cover the whole bufer." | |||
| 639 | (interactive (if (or current-prefix-arg (and transient-mark-mode mark-active)) | 650 | (interactive (if (or current-prefix-arg (and transient-mark-mode mark-active)) |
| 640 | (list (region-beginning) (region-end)) | 651 | (list (region-beginning) (region-end)) |
| 641 | (list (point-min) (point-max)))) | 652 | (list (point-min) (point-max)))) |
| 642 | (unless (markerp end) (setq end (copy-marker end))) | 653 | (unless (markerp end) (setq end (copy-marker end t))) |
| 643 | (let (;;(diff-inhibit-after-change t) | 654 | (let (;;(diff-inhibit-after-change t) |
| 644 | (inhibit-read-only t)) | 655 | (inhibit-read-only t)) |
| 645 | (save-excursion | 656 | (save-excursion |
| @@ -729,7 +740,7 @@ With a prefix argument, convert unified format to context format." | |||
| 729 | (list (point-min) (point-max) current-prefix-arg))) | 740 | (list (point-min) (point-max) current-prefix-arg))) |
| 730 | (if to-context | 741 | (if to-context |
| 731 | (diff-unified->context start end) | 742 | (diff-unified->context start end) |
| 732 | (unless (markerp end) (setq end (copy-marker end))) | 743 | (unless (markerp end) (setq end (copy-marker end t))) |
| 733 | (let ( ;;(diff-inhibit-after-change t) | 744 | (let ( ;;(diff-inhibit-after-change t) |
| 734 | (inhibit-read-only t)) | 745 | (inhibit-read-only t)) |
| 735 | (save-excursion | 746 | (save-excursion |
| @@ -801,7 +812,7 @@ else cover the whole bufer." | |||
| 801 | (interactive (if (or current-prefix-arg (and transient-mark-mode mark-active)) | 812 | (interactive (if (or current-prefix-arg (and transient-mark-mode mark-active)) |
| 802 | (list (region-beginning) (region-end)) | 813 | (list (region-beginning) (region-end)) |
| 803 | (list (point-min) (point-max)))) | 814 | (list (point-min) (point-max)))) |
| 804 | (unless (markerp end) (setq end (copy-marker end))) | 815 | (unless (markerp end) (setq end (copy-marker end t))) |
| 805 | (let (;;(diff-inhibit-after-change t) | 816 | (let (;;(diff-inhibit-after-change t) |
| 806 | (inhibit-read-only t)) | 817 | (inhibit-read-only t)) |
| 807 | (save-excursion | 818 | (save-excursion |
| @@ -979,7 +990,8 @@ headers for you on-the-fly. | |||
| 979 | 990 | ||
| 980 | You can also switch between context diff and unified diff with \\[diff-context->unified], | 991 | You can also switch between context diff and unified diff with \\[diff-context->unified], |
| 981 | or vice versa with \\[diff-unified->context] and you can also reverse the direction of | 992 | or vice versa with \\[diff-unified->context] and you can also reverse the direction of |
| 982 | a diff with \\[diff-reverse-direction]." | 993 | a diff with \\[diff-reverse-direction]. |
| 994 | \\{diff-mode-map}" | ||
| 983 | (set (make-local-variable 'font-lock-defaults) diff-font-lock-defaults) | 995 | (set (make-local-variable 'font-lock-defaults) diff-font-lock-defaults) |
| 984 | (set (make-local-variable 'outline-regexp) diff-outline-regexp) | 996 | (set (make-local-variable 'outline-regexp) diff-outline-regexp) |
| 985 | (set (make-local-variable 'imenu-generic-expression) | 997 | (set (make-local-variable 'imenu-generic-expression) |
| @@ -1004,13 +1016,13 @@ a diff with \\[diff-reverse-direction]." | |||
| 1004 | (add-hook 'after-change-functions 'diff-after-change-function nil t) | 1016 | (add-hook 'after-change-functions 'diff-after-change-function nil t) |
| 1005 | (add-hook 'post-command-hook 'diff-post-command-hook nil t)) | 1017 | (add-hook 'post-command-hook 'diff-post-command-hook nil t)) |
| 1006 | ;; Neat trick from Dave Love to add more bindings in read-only mode: | 1018 | ;; Neat trick from Dave Love to add more bindings in read-only mode: |
| 1007 | (let ((ro-bind (cons 'buffer-read-only diff-mode-shared-map))) | 1019 | (lexical-let ((ro-bind (cons 'buffer-read-only diff-mode-shared-map))) |
| 1008 | (add-to-list 'minor-mode-overriding-map-alist ro-bind) | 1020 | (add-to-list 'minor-mode-overriding-map-alist ro-bind) |
| 1009 | ;; Turn off this little trick in case the buffer is put in view-mode. | 1021 | ;; Turn off this little trick in case the buffer is put in view-mode. |
| 1010 | (add-hook 'view-mode-hook | 1022 | (add-hook 'view-mode-hook |
| 1011 | `(lambda () | 1023 | (lambda () |
| 1012 | (setq minor-mode-overriding-map-alist | 1024 | (setq minor-mode-overriding-map-alist |
| 1013 | (delq ',ro-bind minor-mode-overriding-map-alist))) | 1025 | (delq ro-bind minor-mode-overriding-map-alist))) |
| 1014 | nil t)) | 1026 | nil t)) |
| 1015 | ;; add-log support | 1027 | ;; add-log support |
| 1016 | (set (make-local-variable 'add-log-current-defun-function) | 1028 | (set (make-local-variable 'add-log-current-defun-function) |
| @@ -1031,7 +1043,7 @@ a diff with \\[diff-reverse-direction]." | |||
| 1031 | (add-hook 'after-change-functions 'diff-after-change-function nil t) | 1043 | (add-hook 'after-change-functions 'diff-after-change-function nil t) |
| 1032 | (add-hook 'post-command-hook 'diff-post-command-hook nil t))) | 1044 | (add-hook 'post-command-hook 'diff-post-command-hook nil t))) |
| 1033 | 1045 | ||
| 1034 | ;;; Handy hook functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 1046 | ;;; Handy hook functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 1035 | 1047 | ||
| 1036 | (defun diff-delete-if-empty () | 1048 | (defun diff-delete-if-empty () |
| 1037 | ;; An empty diff file means there's no more diffs to integrate, so we | 1049 | ;; An empty diff file means there's no more diffs to integrate, so we |
diff --git a/lisp/dirtrack.el b/lisp/dirtrack.el index 30ef3570ad2..0744cc52964 100644 --- a/lisp/dirtrack.el +++ b/lisp/dirtrack.el | |||
| @@ -29,12 +29,12 @@ | |||
| 29 | ;; Shell directory tracking by watching the prompt. | 29 | ;; Shell directory tracking by watching the prompt. |
| 30 | ;; | 30 | ;; |
| 31 | ;; This is yet another attempt at a directory-tracking package for | 31 | ;; This is yet another attempt at a directory-tracking package for |
| 32 | ;; Emacs shell-mode. However, this package makes one strong assumption: | 32 | ;; Emacs shell-mode. However, this package makes one strong assumption: |
| 33 | ;; that you can customize your shell's prompt to contain the | 33 | ;; that you can customize your shell's prompt to contain the |
| 34 | ;; current working directory. Most shells do support this, including | 34 | ;; current working directory. Most shells do support this, including |
| 35 | ;; almost every type of Bourne and C shell on Unix, the native shells on | 35 | ;; almost every type of Bourne and C shell on Unix, the native shells on |
| 36 | ;; Windows95 (COMMAND.COM) and Windows NT (CMD.EXE), and most 3rd party | 36 | ;; Windows95 (COMMAND.COM) and Windows NT (CMD.EXE), and most 3rd party |
| 37 | ;; Windows shells. If you cannot do this, or do not wish to, this package | 37 | ;; Windows shells. If you cannot do this, or do not wish to, this package |
| 38 | ;; will be useless to you. | 38 | ;; will be useless to you. |
| 39 | ;; | 39 | ;; |
| 40 | ;; Installation: | 40 | ;; Installation: |
| @@ -45,30 +45,27 @@ | |||
| 45 | ;; | 45 | ;; |
| 46 | ;; Note that directory tracking is done by matching regular expressions, | 46 | ;; Note that directory tracking is done by matching regular expressions, |
| 47 | ;; therefore it is *VERY IMPORTANT* for your prompt to be easily | 47 | ;; therefore it is *VERY IMPORTANT* for your prompt to be easily |
| 48 | ;; distinguishable from other output. If your prompt regexp is too general, | 48 | ;; distinguishable from other output. If your prompt regexp is too general, |
| 49 | ;; you will see error messages from the dirtrack filter as it attempts to cd | 49 | ;; you will see error messages from the dirtrack filter as it attempts to cd |
| 50 | ;; to non-existent directories. | 50 | ;; to non-existent directories. |
| 51 | ;; | 51 | ;; |
| 52 | ;; 2) Set the variable `dirtrack-list' to an appropriate value. This | 52 | ;; 2) Set the variable `dirtrack-list' to an appropriate value. This |
| 53 | ;; should be a list of two elements: the first is a regular expression | 53 | ;; should be a list of two elements: the first is a regular expression |
| 54 | ;; which matches your prompt up to and including the pathname part. | 54 | ;; which matches your prompt up to and including the pathname part. |
| 55 | ;; The second is a number which tells which regular expression group to | 55 | ;; The second is a number which tells which regular expression group to |
| 56 | ;; match to extract only the pathname. If you use a multi-line prompt, | 56 | ;; match to extract only the pathname. If you use a multi-line prompt, |
| 57 | ;; add 't' as a third element. Note that some of the functions in | 57 | ;; add 't' as a third element. Note that some of the functions in |
| 58 | ;; 'comint.el' assume a single-line prompt (eg, comint-bol). | 58 | ;; 'comint.el' assume a single-line prompt (eg, comint-bol). |
| 59 | ;; | 59 | ;; |
| 60 | ;; Determining this information may take some experimentation. Setting | 60 | ;; Determining this information may take some experimentation. Setting |
| 61 | ;; the variable `dirtrack-debug' may help; it causes the directory-tracking | 61 | ;; the variable `dirtrack-debug' may help; it causes the directory-tracking |
| 62 | ;; filter to log messages to the buffer `dirtrack-debug-buffer'. You can easily | 62 | ;; filter to log messages to the buffer `dirtrack-debug-buffer'. You can easily |
| 63 | ;; toggle this setting with the `dirtrack-debug-toggle' function. | 63 | ;; toggle this setting with the `dirtrack-debug-toggle' function. |
| 64 | ;; | 64 | ;; |
| 65 | ;; 3) Add a hook to shell-mode to enable the directory tracking: | 65 | ;; 3) Add a hook to shell-mode to enable the directory tracking: |
| 66 | ;; | 66 | ;; |
| 67 | ;; (add-hook 'shell-mode-hook | 67 | ;; (add-hook 'shell-mode-hook |
| 68 | ;; (function (lambda () | 68 | ;; (lambda () (add-hook 'comint-preoutput-filter-functions 'dirtrack nil t))) |
| 69 | ;; (setq comint-preoutput-filter-functions | ||
| 70 | ;; (append (list 'dirtrack) | ||
| 71 | ;; comint-preoutput-filter-functions))))) | ||
| 72 | ;; | 69 | ;; |
| 73 | ;; You may wish to turn ordinary shell tracking off by calling | 70 | ;; You may wish to turn ordinary shell tracking off by calling |
| 74 | ;; `shell-dirtrack-toggle' or setting `shell-dirtrackp'. | 71 | ;; `shell-dirtrack-toggle' or setting `shell-dirtrackp'. |
| @@ -107,13 +104,13 @@ | |||
| 107 | ;; (eg, when logged in as myself, I'll run a root shell in the same Emacs). | 104 | ;; (eg, when logged in as myself, I'll run a root shell in the same Emacs). |
| 108 | ;; If you do this, and the shell prompt contains a ~, Emacs will interpret | 105 | ;; If you do this, and the shell prompt contains a ~, Emacs will interpret |
| 109 | ;; this relative to the user which owns the Emacs process, not the user | 106 | ;; this relative to the user which owns the Emacs process, not the user |
| 110 | ;; who owns the shell buffer. This may cause dirtrack to behave strangely | 107 | ;; who owns the shell buffer. This may cause dirtrack to behave strangely |
| 111 | ;; (typically it reports that it is unable to cd to a directory | 108 | ;; (typically it reports that it is unable to cd to a directory |
| 112 | ;; with a ~ in it). | 109 | ;; with a ~ in it). |
| 113 | ;; | 110 | ;; |
| 114 | ;; The same behavior can occur if you use dirtrack with remote filesystems | 111 | ;; The same behavior can occur if you use dirtrack with remote filesystems |
| 115 | ;; (using telnet, rlogin, etc) as Emacs will be checking the local | 112 | ;; (using telnet, rlogin, etc) as Emacs will be checking the local |
| 116 | ;; filesystem, not the remote one. This problem is not specific to dirtrack, | 113 | ;; filesystem, not the remote one. This problem is not specific to dirtrack, |
| 117 | ;; but also affects file completion, etc. | 114 | ;; but also affects file completion, etc. |
| 118 | 115 | ||
| 119 | ;;; Code: | 116 | ;;; Code: |
| @@ -132,7 +129,7 @@ | |||
| 132 | :group 'shell) | 129 | :group 'shell) |
| 133 | 130 | ||
| 134 | (defcustom dirtrack-list (list "^emacs \\([a-zA-Z]:.*\\)>" 1) | 131 | (defcustom dirtrack-list (list "^emacs \\([a-zA-Z]:.*\\)>" 1) |
| 135 | "*List for directory tracking. | 132 | "List for directory tracking. |
| 136 | First item is a regexp that describes where to find the path in a prompt. | 133 | First item is a regexp that describes where to find the path in a prompt. |
| 137 | Second is a number, the regexp group to match. Optional third item is | 134 | Second is a number, the regexp group to match. Optional third item is |
| 138 | whether the prompt is multi-line. If nil or omitted, prompt is assumed to | 135 | whether the prompt is multi-line. If nil or omitted, prompt is assumed to |
| @@ -140,77 +137,58 @@ be on a single line." | |||
| 140 | :group 'dirtrack | 137 | :group 'dirtrack |
| 141 | :type '(sexp (regexp :tag "Prompt Expression") | 138 | :type '(sexp (regexp :tag "Prompt Expression") |
| 142 | (integer :tag "Regexp Group") | 139 | (integer :tag "Regexp Group") |
| 143 | (boolean :tag "Multiline Prompt") | 140 | (boolean :tag "Multiline Prompt"))) |
| 144 | ) | ||
| 145 | ) | ||
| 146 | 141 | ||
| 147 | (make-variable-buffer-local 'dirtrack-list) | 142 | (make-variable-buffer-local 'dirtrack-list) |
| 148 | 143 | ||
| 149 | (defcustom dirtrack-debug nil | 144 | (defcustom dirtrack-debug nil |
| 150 | "*If non-nil, the function `dirtrack' will report debugging info." | 145 | "If non-nil, the function `dirtrack' will report debugging info." |
| 151 | :group 'dirtrack | 146 | :group 'dirtrack |
| 152 | :type 'boolean | 147 | :type 'boolean) |
| 153 | ) | ||
| 154 | 148 | ||
| 155 | (defcustom dirtrack-debug-buffer "*Directory Tracking Log*" | 149 | (defcustom dirtrack-debug-buffer "*Directory Tracking Log*" |
| 156 | "Buffer to write directory tracking debug information." | 150 | "Buffer to write directory tracking debug information." |
| 157 | :group 'dirtrack | 151 | :group 'dirtrack |
| 158 | :type 'string | 152 | :type 'string) |
| 159 | ) | ||
| 160 | 153 | ||
| 161 | (defcustom dirtrackp t | 154 | (defcustom dirtrackp t |
| 162 | "*If non-nil, directory tracking via `dirtrack' is enabled." | 155 | "If non-nil, directory tracking via `dirtrack' is enabled." |
| 163 | :group 'dirtrack | 156 | :group 'dirtrack |
| 164 | :type 'boolean | 157 | :type 'boolean) |
| 165 | ) | ||
| 166 | 158 | ||
| 167 | (make-variable-buffer-local 'dirtrackp) | 159 | (make-variable-buffer-local 'dirtrackp) |
| 168 | 160 | ||
| 169 | (defcustom dirtrack-directory-function | 161 | (defcustom dirtrack-directory-function |
| 170 | (if (memq system-type (list 'ms-dos 'windows-nt 'cygwin)) | 162 | (if (memq system-type (list 'ms-dos 'windows-nt 'cygwin)) |
| 171 | 'dirtrack-windows-directory-function | 163 | 'dirtrack-windows-directory-function |
| 172 | 'dirtrack-default-directory-function) | 164 | 'file-name-as-directory) |
| 173 | "*Function to apply to the prompt directory for comparison purposes." | 165 | "Function to apply to the prompt directory for comparison purposes." |
| 174 | :group 'dirtrack | 166 | :group 'dirtrack |
| 175 | :type 'function | 167 | :type 'function) |
| 176 | ) | ||
| 177 | 168 | ||
| 178 | (defcustom dirtrack-canonicalize-function | 169 | (defcustom dirtrack-canonicalize-function |
| 179 | (if (memq system-type (list 'ms-dos 'windows-nt 'cygwin)) | 170 | (if (memq system-type (list 'ms-dos 'windows-nt 'cygwin)) |
| 180 | 'downcase 'identity) | 171 | 'downcase 'identity) |
| 181 | "*Function to apply to the default directory for comparison purposes." | 172 | "Function to apply to the default directory for comparison purposes." |
| 182 | :group 'dirtrack | 173 | :group 'dirtrack |
| 183 | :type 'function | 174 | :type 'function) |
| 184 | ) | ||
| 185 | 175 | ||
| 186 | (defcustom dirtrack-directory-change-hook nil | 176 | (defcustom dirtrack-directory-change-hook nil |
| 187 | "Hook that is called when a directory change is made." | 177 | "Hook that is called when a directory change is made." |
| 188 | :group 'dirtrack | 178 | :group 'dirtrack |
| 189 | :type 'hook | 179 | :type 'hook) |
| 190 | ) | ||
| 191 | 180 | ||
| 192 | 181 | ||
| 193 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 182 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 194 | ;; Functions | 183 | ;; Functions |
| 195 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 184 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 196 | 185 | ||
| 197 | (defun dirtrack-default-directory-function (dir) | ||
| 198 | "Return a canonical directory for comparison purposes. | ||
| 199 | Such a directory ends with a forward slash." | ||
| 200 | (let ((directory dir)) | ||
| 201 | (if (not (char-equal ?/ (string-to-char (substring directory -1)))) | ||
| 202 | (concat directory "/") | ||
| 203 | directory))) | ||
| 204 | 186 | ||
| 205 | (defun dirtrack-windows-directory-function (dir) | 187 | (defun dirtrack-windows-directory-function (dir) |
| 206 | "Return a canonical directory for comparison purposes. | 188 | "Return a canonical directory for comparison purposes. |
| 207 | Such a directory is all lowercase, has forward-slashes as delimiters, | 189 | Such a directory is all lowercase, has forward-slashes as delimiters, |
| 208 | and ends with a forward slash." | 190 | and ends with a forward slash." |
| 209 | (let ((directory dir)) | 191 | (file-name-as-directory (downcase (subst-char-in-string ?\\ ?/ dir)))) |
| 210 | (setq directory (downcase (dirtrack-replace-slash directory t))) | ||
| 211 | (if (not (char-equal ?/ (string-to-char (substring directory -1)))) | ||
| 212 | (concat directory "/") | ||
| 213 | directory))) | ||
| 214 | 192 | ||
| 215 | (defun dirtrack-cygwin-directory-function (dir) | 193 | (defun dirtrack-cygwin-directory-function (dir) |
| 216 | "Return a canonical directory taken from a Cygwin path for comparison purposes." | 194 | "Return a canonical directory taken from a Cygwin path for comparison purposes." |
| @@ -218,30 +196,13 @@ and ends with a forward slash." | |||
| 218 | (concat (match-string 1 dir) ":" (match-string 2 dir)) | 196 | (concat (match-string 1 dir) ":" (match-string 2 dir)) |
| 219 | dir)) | 197 | dir)) |
| 220 | 198 | ||
| 221 | (defconst dirtrack-forward-slash (regexp-quote "/")) | ||
| 222 | (defconst dirtrack-backward-slash (regexp-quote "\\")) | ||
| 223 | |||
| 224 | (defun dirtrack-replace-slash (string &optional opposite) | ||
| 225 | "Replace forward slashes with backwards ones. | ||
| 226 | If additional argument is non-nil, replace backwards slashes with | ||
| 227 | forward ones." | ||
| 228 | (let ((orig (if opposite | ||
| 229 | dirtrack-backward-slash | ||
| 230 | dirtrack-forward-slash)) | ||
| 231 | (replace (if opposite | ||
| 232 | dirtrack-forward-slash | ||
| 233 | dirtrack-backward-slash)) | ||
| 234 | (newstring string) | ||
| 235 | ) | ||
| 236 | (while (string-match orig newstring) | ||
| 237 | (setq newstring (replace-match replace nil t newstring))) | ||
| 238 | newstring)) | ||
| 239 | |||
| 240 | ;; Copied from shell.el | 199 | ;; Copied from shell.el |
| 241 | (defun dirtrack-toggle () | 200 | (defun dirtrack-toggle () |
| 242 | "Enable or disable Dirtrack directory tracking in a shell buffer." | 201 | "Enable or disable Dirtrack directory tracking in a shell buffer." |
| 243 | (interactive) | 202 | (interactive) |
| 244 | (setq dirtrackp (not dirtrackp)) | 203 | (if (setq dirtrackp (not dirtrackp)) |
| 204 | (add-hook 'comint-preoutput-filter-functions 'dirtrack nil t) | ||
| 205 | (remove-hook 'comint-preoutput-filter-functions 'dirtrack t)) | ||
| 245 | (message "Directory tracking %s" (if dirtrackp "ON" "OFF"))) | 206 | (message "Directory tracking %s" (if dirtrackp "ON" "OFF"))) |
| 246 | 207 | ||
| 247 | (defun dirtrack-debug-toggle () | 208 | (defun dirtrack-debug-toggle () |
| @@ -273,67 +234,60 @@ If directory tracking does not seem to be working, you can use the | |||
| 273 | function `dirtrack-debug-toggle' to turn on debugging output. | 234 | function `dirtrack-debug-toggle' to turn on debugging output. |
| 274 | 235 | ||
| 275 | You can enable directory tracking by adding this function to | 236 | You can enable directory tracking by adding this function to |
| 276 | `comint-output-filter-functions'. | 237 | `comint-output-filter-functions'." |
| 277 | " | 238 | (if (or (null dirtrackp) |
| 278 | (if (null dirtrackp) | 239 | ;; No output? |
| 240 | (eq (point) (point-min))) | ||
| 279 | nil | 241 | nil |
| 280 | (let (prompt-path | 242 | (let (prompt-path |
| 281 | matched | ||
| 282 | (current-dir default-directory) | 243 | (current-dir default-directory) |
| 283 | (dirtrack-regexp (nth 0 dirtrack-list)) | 244 | (dirtrack-regexp (nth 0 dirtrack-list)) |
| 284 | (match-num (nth 1 dirtrack-list)) | 245 | (match-num (nth 1 dirtrack-list)) |
| 285 | (multi-line (nth 2 dirtrack-list)) | 246 | ;; Currently unimplemented, it seems. --Stef |
| 286 | ) | 247 | (multi-line (nth 2 dirtrack-list))) |
| 287 | ;; No output? | 248 | (save-excursion |
| 288 | (if (eq (point) (point-min)) | 249 | ;; No match |
| 289 | nil | 250 | (if (null (string-match dirtrack-regexp input)) |
| 290 | (save-excursion | 251 | (and dirtrack-debug |
| 291 | (setq matched (string-match dirtrack-regexp input))) | 252 | (dirtrack-debug-message |
| 292 | ;; No match | 253 | (format |
| 293 | (if (null matched) | 254 | "Input `%s' failed to match `dirtrack-regexp'" input))) |
| 294 | (and dirtrack-debug | 255 | (setq prompt-path (match-string match-num input)) |
| 295 | (dirtrack-debug-message | 256 | ;; Empty string |
| 296 | (format | 257 | (if (not (> (length prompt-path) 0)) |
| 297 | "Input `%s' failed to match regexp: %s" | 258 | (and dirtrack-debug |
| 298 | input dirtrack-regexp))) | 259 | (dirtrack-debug-message "Match is empty string")) |
| 299 | (setq prompt-path | 260 | ;; Transform prompts into canonical forms |
| 300 | (substring input | 261 | (setq prompt-path (funcall dirtrack-directory-function |
| 301 | (match-beginning match-num) (match-end match-num))) | 262 | prompt-path)) |
| 302 | ;; Empty string | 263 | (setq current-dir (funcall dirtrack-canonicalize-function |
| 303 | (if (not (> (length prompt-path) 0)) | 264 | current-dir)) |
| 304 | (and dirtrack-debug | 265 | (and dirtrack-debug |
| 305 | (dirtrack-debug-message "Match is empty string")) | 266 | (dirtrack-debug-message |
| 306 | ;; Transform prompts into canonical forms | 267 | (format |
| 307 | (setq prompt-path (funcall dirtrack-directory-function | 268 | "Prompt is %s\nCurrent directory is %s" |
| 308 | prompt-path)) | 269 | prompt-path current-dir))) |
| 309 | (setq current-dir (funcall dirtrack-canonicalize-function | 270 | ;; Compare them |
| 310 | current-dir)) | 271 | (if (or (string= current-dir prompt-path) |
| 311 | (and dirtrack-debug | 272 | (string= current-dir |
| 312 | (dirtrack-debug-message | 273 | (abbreviate-file-name prompt-path))) |
| 313 | (format | 274 | (and dirtrack-debug |
| 314 | "Prompt is %s\nCurrent directory is %s" | 275 | (dirtrack-debug-message |
| 315 | prompt-path current-dir))) | 276 | (format "Not changing directory"))) |
| 316 | ;; Compare them | 277 | ;; It's possible that Emacs will think the directory |
| 317 | (if (or (string= current-dir prompt-path) | 278 | ;; won't exist (eg, rlogin buffers) |
| 318 | (string= current-dir | 279 | (if (file-accessible-directory-p prompt-path) |
| 319 | (abbreviate-file-name prompt-path))) | 280 | ;; Change directory |
| 320 | (and dirtrack-debug | 281 | (and (shell-process-cd prompt-path) |
| 321 | (dirtrack-debug-message | 282 | (run-hooks 'dirtrack-directory-change-hook) |
| 322 | (format "Not changing directory"))) | 283 | dirtrack-debug |
| 323 | ;; It's possible that Emacs will think the directory | 284 | (dirtrack-debug-message |
| 324 | ;; won't exist (eg, rlogin buffers) | 285 | (format "Changing directory to %s" prompt-path))) |
| 325 | (if (file-accessible-directory-p prompt-path) | 286 | (error "Directory %s does not exist" prompt-path))) |
| 326 | ;; Change directory | 287 | ))))) |
| 327 | (and (shell-process-cd prompt-path) | ||
| 328 | (run-hooks 'dirtrack-directory-change-hook) | ||
| 329 | dirtrack-debug | ||
| 330 | (dirtrack-debug-message | ||
| 331 | (format "Changing directory to %s" prompt-path))) | ||
| 332 | (error "Directory %s does not exist" prompt-path))) | ||
| 333 | ))))) | ||
| 334 | input) | 288 | input) |
| 335 | 289 | ||
| 336 | (provide 'dirtrack) | 290 | (provide 'dirtrack) |
| 337 | 291 | ||
| 338 | ;;; arch-tag: 168de071-be88-4937-aff6-2aba9f328d5a | 292 | ;; arch-tag: 168de071-be88-4937-aff6-2aba9f328d5a |
| 339 | ;;; dirtrack.el ends here | 293 | ;;; dirtrack.el ends here |
diff --git a/lisp/emacs-lisp/authors.el b/lisp/emacs-lisp/authors.el index 7ab0101b2a5..912f6b2d77f 100644 --- a/lisp/emacs-lisp/authors.el +++ b/lisp/emacs-lisp/authors.el | |||
| @@ -118,6 +118,7 @@ files.") | |||
| 118 | ("Robert J. Chassell" "Bob Chassell") | 118 | ("Robert J. Chassell" "Bob Chassell") |
| 119 | ("Roland B. Roberts" "Roland B Roberts" "Roland Roberts") | 119 | ("Roland B. Roberts" "Roland B Roberts" "Roland Roberts") |
| 120 | ("Rui-Tao Dong" "Rui-Tao Dong ~{6-Hpln~}") | 120 | ("Rui-Tao Dong" "Rui-Tao Dong ~{6-Hpln~}") |
| 121 | ("Sacha Chua" "Sandra Jean Chua") | ||
| 121 | ("Sam Steingold" "Sam Shteingold") | 122 | ("Sam Steingold" "Sam Shteingold") |
| 122 | ("Satyaki Das" "Indexed search by Satyaki Das") | 123 | ("Satyaki Das" "Indexed search by Satyaki Das") |
| 123 | ("Stefan Monnier" "Stefan") | 124 | ("Stefan Monnier" "Stefan") |
| @@ -168,7 +169,7 @@ listed.") | |||
| 168 | '("external-lisp" | 169 | '("external-lisp" |
| 169 | "lock" "share-lib" "local-lisp" | 170 | "lock" "share-lib" "local-lisp" |
| 170 | "noleim-Makefile.in" | 171 | "noleim-Makefile.in" |
| 171 | "NEWS" "PROBLEMS" "FAQ" "AUTHORS") | 172 | "NEWS" "PROBLEMS" "FAQ" "AUTHORS" "FOR-RELEASE" "TODO") |
| 172 | "List of files and directories to ignore. | 173 | "List of files and directories to ignore. |
| 173 | Changes to files in this list are not listed.") | 174 | Changes to files in this list are not listed.") |
| 174 | 175 | ||
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 76699f10df8..4000b4da282 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el | |||
| @@ -124,17 +124,7 @@ or macro definition or a defcustom)." | |||
| 124 | ) | 124 | ) |
| 125 | `(progn | 125 | `(progn |
| 126 | (defvar ,varname ,init ,doc) | 126 | (defvar ,varname ,init ,doc) |
| 127 | (custom-autoload ',varname ,file) | 127 | (custom-autoload ',varname ,file)))) |
| 128 | ;; The use of :require in a defcustom can be annoying, especially | ||
| 129 | ;; when defcustoms are moved from one file to another between | ||
| 130 | ;; releases because the :require arg gets placed in the user's | ||
| 131 | ;; .emacs. In order for autoloaded minor modes not to need the | ||
| 132 | ;; use of :require, we arrange to store their :setter. | ||
| 133 | ,(let ((setter (condition-case nil | ||
| 134 | (cadr (memq :set form)) | ||
| 135 | (error nil)))) | ||
| 136 | (if (equal setter ''custom-set-minor-mode) | ||
| 137 | `(put ',varname 'custom-set 'custom-set-minor-mode)))))) | ||
| 138 | 128 | ||
| 139 | ((eq car 'defgroup) | 129 | ((eq car 'defgroup) |
| 140 | ;; In Emacs this is normally handled separately by cus-dep.el, but for | 130 | ;; In Emacs this is normally handled separately by cus-dep.el, but for |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index ebb2f11764a..02a88c13973 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -2791,7 +2791,7 @@ That command is designed for interactive use only" fn)) | |||
| 2791 | ;; `cl-byte-compile-compiler-macro' but if CL isn't | 2791 | ;; `cl-byte-compile-compiler-macro' but if CL isn't |
| 2792 | ;; loaded, this function doesn't exist. | 2792 | ;; loaded, this function doesn't exist. |
| 2793 | (or (not (memq handler '(cl-byte-compile-compiler-macro))) | 2793 | (or (not (memq handler '(cl-byte-compile-compiler-macro))) |
| 2794 | (fboundp handler)) | 2794 | (functionp handler)) |
| 2795 | (not (and (byte-compile-version-cond | 2795 | (not (and (byte-compile-version-cond |
| 2796 | byte-compile-compatibility) | 2796 | byte-compile-compatibility) |
| 2797 | (get (get fn 'byte-opcode) 'emacs19-opcode)))) | 2797 | (get (get fn 'byte-opcode) 'emacs19-opcode)))) |
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 5475ed530d3..d4ba8d30623 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el | |||
| @@ -101,9 +101,9 @@ Optional KEYMAP is the default (defvar) keymap bound to the mode keymap. | |||
| 101 | The above three arguments can be skipped if keyword arguments are | 101 | The above three arguments can be skipped if keyword arguments are |
| 102 | used (see below). | 102 | used (see below). |
| 103 | 103 | ||
| 104 | BODY contains code that will be executed each time the mode is (dis)activated. | 104 | BODY contains code to execute each time the mode is activated or deactivated. |
| 105 | It will be executed after any toggling but before running the hook variable | 105 | It is executed after toggling the mode, |
| 106 | `mode-HOOK'. | 106 | and before running the hook variable `mode-HOOK'. |
| 107 | Before the actual body code, you can write keyword arguments (alternating | 107 | Before the actual body code, you can write keyword arguments (alternating |
| 108 | keywords and values). These following keyword arguments are supported (other | 108 | keywords and values). These following keyword arguments are supported (other |
| 109 | keywords will be passed to `defcustom' if the minor mode is global): | 109 | keywords will be passed to `defcustom' if the minor mode is global): |
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index d0be3a02f65..8645ec5a6ed 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -235,13 +235,6 @@ If the result is non-nil, then break. Errors are ignored." | |||
| 235 | 235 | ||
| 236 | ;;; Form spec utilities. | 236 | ;;; Form spec utilities. |
| 237 | 237 | ||
| 238 | ;;;###autoload | ||
| 239 | (defmacro def-edebug-spec (symbol spec) | ||
| 240 | "Set the `edebug-form-spec' property of SYMBOL according to SPEC. | ||
| 241 | Both SYMBOL and SPEC are unevaluated. The SPEC can be 0, t, a symbol | ||
| 242 | \(naming a function), or a list." | ||
| 243 | `(put (quote ,symbol) 'edebug-form-spec (quote ,spec))) | ||
| 244 | |||
| 245 | (defmacro def-edebug-form-spec (symbol spec-form) | 238 | (defmacro def-edebug-form-spec (symbol spec-form) |
| 246 | "For compatibility with old version." | 239 | "For compatibility with old version." |
| 247 | (def-edebug-spec symbol (eval spec-form))) | 240 | (def-edebug-spec symbol (eval spec-form))) |
| @@ -3426,6 +3419,8 @@ go to the end of the last sexp, or if that is the same point, then step." | |||
| 3426 | func) | 3419 | func) |
| 3427 | (t | 3420 | (t |
| 3428 | (let ((loc (find-function-noselect func))) | 3421 | (let ((loc (find-function-noselect func))) |
| 3422 | (unless (cdr loc) | ||
| 3423 | (error "Could not find the definition in its file")) | ||
| 3429 | (with-current-buffer (car loc) | 3424 | (with-current-buffer (car loc) |
| 3430 | (goto-char (cdr loc)) | 3425 | (goto-char (cdr loc)) |
| 3431 | (edebug-eval-top-level-form) | 3426 | (edebug-eval-top-level-form) |
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el index 5d504586323..41c940f1cec 100644 --- a/lisp/emacs-lisp/find-func.el +++ b/lisp/emacs-lisp/find-func.el | |||
| @@ -205,6 +205,9 @@ TYPE should be nil to find a function, or `defvar' to find a variable." | |||
| 205 | ;;;###autoload | 205 | ;;;###autoload |
| 206 | (defun find-function-search-for-symbol (symbol type library) | 206 | (defun find-function-search-for-symbol (symbol type library) |
| 207 | "Search for SYMBOL's definition of type TYPE in LIBRARY. | 207 | "Search for SYMBOL's definition of type TYPE in LIBRARY. |
| 208 | Visit the library in a buffer, and return a cons cell (BUFFER . POSITION), | ||
| 209 | or just (BUFFER . nil) if the definition can't be found in the file. | ||
| 210 | |||
| 208 | If TYPE is nil, look for a function definition. | 211 | If TYPE is nil, look for a function definition. |
| 209 | Otherwise, TYPE specifies the kind of definition, | 212 | Otherwise, TYPE specifies the kind of definition, |
| 210 | and it is interpreted via `find-function-regexp-alist'. | 213 | and it is interpreted via `find-function-regexp-alist'. |
| @@ -244,8 +247,7 @@ The search is done in the source for library LIBRARY." | |||
| 244 | (progn | 247 | (progn |
| 245 | (beginning-of-line) | 248 | (beginning-of-line) |
| 246 | (cons (current-buffer) (point))) | 249 | (cons (current-buffer) (point))) |
| 247 | (error "Cannot find definition of `%s' in library `%s'" | 250 | (cons (current-buffer) nil)))))))) |
| 248 | symbol library)))))))) | ||
| 249 | 251 | ||
| 250 | ;;;###autoload | 252 | ;;;###autoload |
| 251 | (defun find-function-noselect (function) | 253 | (defun find-function-noselect (function) |
| @@ -253,7 +255,8 @@ The search is done in the source for library LIBRARY." | |||
| 253 | 255 | ||
| 254 | Finds the source file containing the definition of FUNCTION | 256 | Finds the source file containing the definition of FUNCTION |
| 255 | in a buffer and the point of the definition. The buffer is | 257 | in a buffer and the point of the definition. The buffer is |
| 256 | not selected. | 258 | not selected. If the function definition can't be found in |
| 259 | the buffer, returns (BUFFER). | ||
| 257 | 260 | ||
| 258 | If the file where FUNCTION is defined is not known, then it is | 261 | If the file where FUNCTION is defined is not known, then it is |
| 259 | searched for in `find-function-source-path' if non nil, otherwise | 262 | searched for in `find-function-source-path' if non nil, otherwise |
| @@ -335,7 +338,7 @@ Set mark before moving, if the buffer already existed." | |||
| 335 | (when (memq new-buf orig-buffers) | 338 | (when (memq new-buf orig-buffers) |
| 336 | (push-mark orig-point)) | 339 | (push-mark orig-point)) |
| 337 | (funcall switch-fn new-buf) | 340 | (funcall switch-fn new-buf) |
| 338 | (goto-char new-point) | 341 | (when new-point (goto-char new-point)) |
| 339 | (recenter find-function-recenter-line) | 342 | (recenter find-function-recenter-line) |
| 340 | (run-hooks 'find-function-after-hook)))) | 343 | (run-hooks 'find-function-after-hook)))) |
| 341 | 344 | ||
| @@ -376,6 +379,7 @@ See `find-function' for more details." | |||
| 376 | 379 | ||
| 377 | Finds the library containing the definition of VARIABLE in a buffer and | 380 | Finds the library containing the definition of VARIABLE in a buffer and |
| 378 | the point of the definition. The buffer is not selected. | 381 | the point of the definition. The buffer is not selected. |
| 382 | If the variable's definition can't be found in the buffer, return (BUFFER). | ||
| 379 | 383 | ||
| 380 | The library where VARIABLE is defined is searched for in FILE or | 384 | The library where VARIABLE is defined is searched for in FILE or |
| 381 | `find-function-source-path', if non nil, otherwise in `load-path'." | 385 | `find-function-source-path', if non nil, otherwise in `load-path'." |
| @@ -421,6 +425,7 @@ See `find-variable' for more details." | |||
| 421 | ;;;###autoload | 425 | ;;;###autoload |
| 422 | (defun find-definition-noselect (symbol type &optional file) | 426 | (defun find-definition-noselect (symbol type &optional file) |
| 423 | "Return a pair `(BUFFER . POINT)' pointing to the definition of SYMBOL. | 427 | "Return a pair `(BUFFER . POINT)' pointing to the definition of SYMBOL. |
| 428 | If the definition can't be found in the buffer, return (BUFFER). | ||
| 424 | TYPE says what type of definition: nil for a function, `defvar' for a | 429 | TYPE says what type of definition: nil for a function, `defvar' for a |
| 425 | variable, `defface' for a face. This function does not switch to the | 430 | variable, `defface' for a face. This function does not switch to the |
| 426 | buffer nor display it. | 431 | buffer nor display it. |
diff --git a/lisp/emacs-lisp/helper.el b/lisp/emacs-lisp/helper.el index 3b614be26f4..92eb86ce676 100644 --- a/lisp/emacs-lisp/helper.el +++ b/lisp/emacs-lisp/helper.el | |||
| @@ -77,7 +77,7 @@ | |||
| 77 | "Delete scrolls back. Other keys %s" | 77 | "Delete scrolls back. Other keys %s" |
| 78 | "Type anything to %s")) | 78 | "Type anything to %s")) |
| 79 | blurb) | 79 | blurb) |
| 80 | (setq continue (read-char)) | 80 | (setq continue (read-event)) |
| 81 | (cond ((and (memq continue '(?\s ?\C-v)) (< state 2)) | 81 | (cond ((and (memq continue '(?\s ?\C-v)) (< state 2)) |
| 82 | (scroll-up)) | 82 | (scroll-up)) |
| 83 | ((= continue ?\C-l) | 83 | ((= continue ?\C-l) |
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index d5588f3811f..a58ecb256ac 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -291,7 +291,7 @@ All commands in `lisp-mode-shared-map' are inherited by this map.") | |||
| 291 | (define-key map [byte-compile] | 291 | (define-key map [byte-compile] |
| 292 | '("Byte-compile This File" . emacs-lisp-byte-compile)) | 292 | '("Byte-compile This File" . emacs-lisp-byte-compile)) |
| 293 | (define-key map [separator-eval] '("--")) | 293 | (define-key map [separator-eval] '("--")) |
| 294 | (define-key map [eval-buffer] '("Evaluate Buffer" . eval-current-buffer)) | 294 | (define-key map [eval-buffer] '("Evaluate Buffer" . eval-buffer)) |
| 295 | (define-key map [eval-region] '("Evaluate Region" . eval-region)) | 295 | (define-key map [eval-region] '("Evaluate Region" . eval-region)) |
| 296 | (define-key map [eval-sexp] '("Evaluate Last S-expression" . eval-last-sexp)) | 296 | (define-key map [eval-sexp] '("Evaluate Last S-expression" . eval-last-sexp)) |
| 297 | (define-key map [separator-format] '("--")) | 297 | (define-key map [separator-format] '("--")) |
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el index 661fc6ede7f..80938b0282a 100644 --- a/lisp/emulation/viper-init.el +++ b/lisp/emulation/viper-init.el | |||
| @@ -854,11 +854,6 @@ Related buffers can be cycled through via :R and :P commands." | |||
| 854 | 854 | ||
| 855 | ;;; Face-saving tricks | 855 | ;;; Face-saving tricks |
| 856 | 856 | ||
| 857 | (defun viper-hide-face (face) | ||
| 858 | (if (and (viper-has-face-support-p) viper-emacs-p) | ||
| 859 | (add-to-list 'facemenu-unlisted-faces face))) | ||
| 860 | |||
| 861 | |||
| 862 | (defgroup viper-highlighting nil | 857 | (defgroup viper-highlighting nil |
| 863 | "Hilighting of replace region, search pattern, minibuffer, etc." | 858 | "Hilighting of replace region, search pattern, minibuffer, etc." |
| 864 | :prefix "viper-" | 859 | :prefix "viper-" |
| @@ -876,8 +871,6 @@ Related buffers can be cycled through via :R and :P commands." | |||
| 876 | DO NOT CHANGE this variable. Instead, use the customization widget | 871 | DO NOT CHANGE this variable. Instead, use the customization widget |
| 877 | to customize the actual face object `viper-search' | 872 | to customize the actual face object `viper-search' |
| 878 | this variable represents.") | 873 | this variable represents.") |
| 879 | (viper-hide-face viper-search-face) | ||
| 880 | |||
| 881 | 874 | ||
| 882 | (defface viper-replace-overlay | 875 | (defface viper-replace-overlay |
| 883 | '((((class color)) (:foreground "Black" :background "darkseagreen2")) | 876 | '((((class color)) (:foreground "Black" :background "darkseagreen2")) |
| @@ -890,8 +883,6 @@ this variable represents.") | |||
| 890 | DO NOT CHANGE this variable. Instead, use the customization widget | 883 | DO NOT CHANGE this variable. Instead, use the customization widget |
| 891 | to customize the actual face object `viper-replace-overlay' | 884 | to customize the actual face object `viper-replace-overlay' |
| 892 | this variable represents.") | 885 | this variable represents.") |
| 893 | (viper-hide-face viper-replace-overlay-face) | ||
| 894 | |||
| 895 | 886 | ||
| 896 | (defface viper-minibuffer-emacs | 887 | (defface viper-minibuffer-emacs |
| 897 | '((((class color)) (:foreground "Black" :background "darkseagreen2")) | 888 | '((((class color)) (:foreground "Black" :background "darkseagreen2")) |
| @@ -904,8 +895,6 @@ this variable represents.") | |||
| 904 | DO NOT CHANGE this variable. Instead, use the customization widget | 895 | DO NOT CHANGE this variable. Instead, use the customization widget |
| 905 | to customize the actual face object `viper-minibuffer-emacs' | 896 | to customize the actual face object `viper-minibuffer-emacs' |
| 906 | this variable represents.") | 897 | this variable represents.") |
| 907 | (viper-hide-face viper-minibuffer-emacs-face) | ||
| 908 | |||
| 909 | 898 | ||
| 910 | (defface viper-minibuffer-insert | 899 | (defface viper-minibuffer-insert |
| 911 | '((((class color)) (:foreground "Black" :background "pink")) | 900 | '((((class color)) (:foreground "Black" :background "pink")) |
| @@ -918,8 +907,6 @@ this variable represents.") | |||
| 918 | DO NOT CHANGE this variable. Instead, use the customization widget | 907 | DO NOT CHANGE this variable. Instead, use the customization widget |
| 919 | to customize the actual face object `viper-minibuffer-insert' | 908 | to customize the actual face object `viper-minibuffer-insert' |
| 920 | this variable represents.") | 909 | this variable represents.") |
| 921 | (viper-hide-face viper-minibuffer-insert-face) | ||
| 922 | |||
| 923 | 910 | ||
| 924 | (defface viper-minibuffer-vi | 911 | (defface viper-minibuffer-vi |
| 925 | '((((class color)) (:foreground "DarkGreen" :background "grey")) | 912 | '((((class color)) (:foreground "DarkGreen" :background "grey")) |
| @@ -932,7 +919,6 @@ this variable represents.") | |||
| 932 | DO NOT CHANGE this variable. Instead, use the customization widget | 919 | DO NOT CHANGE this variable. Instead, use the customization widget |
| 933 | to customize the actual face object `viper-minibuffer-vi' | 920 | to customize the actual face object `viper-minibuffer-vi' |
| 934 | this variable represents.") | 921 | this variable represents.") |
| 935 | (viper-hide-face viper-minibuffer-vi-face) | ||
| 936 | 922 | ||
| 937 | ;; the current face to be used in the minibuffer | 923 | ;; the current face to be used in the minibuffer |
| 938 | (viper-deflocalvar | 924 | (viper-deflocalvar |
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index 49b274b5149..216d14d0aa6 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,197 @@ | |||
| 1 | 2006-07-12 Michael Olson <mwolson@gnu.org> | ||
| 2 | |||
| 3 | * erc-match.el (erc-log-matches): Bind inhibit-read-only rather | ||
| 4 | than call toggle-read-only. | ||
| 5 | |||
| 6 | * erc.el (erc-handle-irc-url): Move here from erc-goodies.el and | ||
| 7 | add autoload cookie. | ||
| 8 | |||
| 9 | 2006-07-09 Michael Olson <mwolson@gnu.org> | ||
| 10 | |||
| 11 | * erc.el (erc-version-string): Release ERC 5.1.3. | ||
| 12 | |||
| 13 | * erc.texi: Update for the 5.1.3 release. | ||
| 14 | |||
| 15 | * erc-autoaway.el (erc-autoaway-set-back): Fix bug after returning | ||
| 16 | from being set automatically away and current buffer is not an ERC | ||
| 17 | buffer. | ||
| 18 | |||
| 19 | * erc-identd.el: Fix compiler error. | ||
| 20 | |||
| 21 | * erc.texi (Development): Use @subheading instead of @subsection. | ||
| 22 | (Advanced Usage): Add menu. | ||
| 23 | (Connecting): Fully document how to connect to an IRC server. | ||
| 24 | (Options, Tips and Tricks, Sample Configuration): New unwritten | ||
| 25 | sections. | ||
| 26 | |||
| 27 | * erc.el (erc-server, erc-port, erc-nick, erc-nick-uniquifier) | ||
| 28 | (erc-user-full-name, erc-password): Docfixes and customization | ||
| 29 | interface tweaks. | ||
| 30 | (erc-try-new-nick-p): Rename from | ||
| 31 | `erc-manual-set-nick-on-bad-nick-p' and invert meaning. | ||
| 32 | (erc-nickname-in-use): Use `erc-try-new-nick-p'. Check the length | ||
| 33 | of `erc-nick-uniquifier', in case someone wants multiple | ||
| 34 | characters. | ||
| 35 | (erc-compute-server, erc-compute-nick, erc-compute-full-name) | ||
| 36 | (erc-compute-port): Docfixes. | ||
| 37 | |||
| 38 | * erc-log.el (log): Move all add-hook calls here, rather than | ||
| 39 | executing them immediately, and also cause them to be un-hooked | ||
| 40 | when the module is removed. | ||
| 41 | (erc-save-buffer-on-part): Move next to | ||
| 42 | `erc-save-queries-on-quit'. | ||
| 43 | (erc-save-buffer-on-quit, erc-save-queries-on-quit): Default to t. | ||
| 44 | (erc-log-write-after-send, erc-log-write-after-insert): Default to | ||
| 45 | nil. This makes things fast, but reasonably failsafe, by default. | ||
| 46 | |||
| 47 | 2006-07-08 Michael Olson <mwolson@gnu.org> | ||
| 48 | |||
| 49 | * erc-log.el (erc-log-insert-log-on-open): Make this nil by | ||
| 50 | default, since most IRC clients don't do this. | ||
| 51 | (erc-log-write-after-send): New option that determines whether the | ||
| 52 | log file will be written to after every sent message. | ||
| 53 | (erc-log-write-after-insert): New option that determines whether | ||
| 54 | the log file will be written to when new text is added to a logged | ||
| 55 | ERC buffer. | ||
| 56 | (log): Use the aforementioned options. | ||
| 57 | |||
| 58 | * erc.texi (Modules): Document the "completion" module. | ||
| 59 | |||
| 60 | * erc-pcomplete.el (pcomplete-erc-nicks): Make sure that we don't | ||
| 61 | have a nil element in the list when ignore-self is non-nil. | ||
| 62 | |||
| 63 | 2006-07-05 Michael Olson <mwolson@gnu.org> | ||
| 64 | |||
| 65 | * erc.el (erc-modules): Add the `page' module to the list. | ||
| 66 | |||
| 67 | * erc.texi (Modules): Add entries for `list' and `page' modules. | ||
| 68 | Change "spell" to "spelling". | ||
| 69 | (History): Use past tense throughout. | ||
| 70 | |||
| 71 | 2006-07-02 Michael Olson <mwolson@gnu.org> | ||
| 72 | |||
| 73 | * erc-backend.el (erc-call-hooks): Fix (stringp nil) error that | ||
| 74 | can happen when doing /PART. | ||
| 75 | |||
| 76 | * erc.el (erc-quit-reason-various-alist) | ||
| 77 | (erc-part-reason-various-alist): In the example, use "^$" as an | ||
| 78 | example, since "" matches anything. | ||
| 79 | (erc-quit-reason-various, erc-part-reason-various): If no argument | ||
| 80 | is given, and no matches are found, use our default reason instead | ||
| 81 | of "nil". | ||
| 82 | |||
| 83 | 2006-06-30 Michael Olson <mwolson@gnu.org> | ||
| 84 | |||
| 85 | * erc.texi (Modules): Mention identd. | ||
| 86 | (Releases): Update mailing list address and download location. | ||
| 87 | (Development): Refactor. Provide updated directions for Arch. | ||
| 88 | Make URLs clickable. | ||
| 89 | (Keystroke Summary): Typo fix. Use more Texinfo syntax. | ||
| 90 | (Getting Started): Give simpler example. We do not need to | ||
| 91 | explicitly load every module. | ||
| 92 | (History): Update. | ||
| 93 | |||
| 94 | * erc.el (erc-version-modules): Remove, since we do not use this | ||
| 95 | function anymore. | ||
| 96 | (erc-latest-version, erc-ediff-latest-version): Remove, since this | ||
| 97 | was only useful back when ERC consisted of one file. | ||
| 98 | (erc-modules): Add line for identd. | ||
| 99 | (erc-get-channel-mode-from-keypress): Typo fix. | ||
| 100 | |||
| 101 | * erc-imenu.el: Remove unnecessary lines in header. | ||
| 102 | |||
| 103 | * erc-goodies.el (erc-handle-irc-url): Docfix. | ||
| 104 | |||
| 105 | * erc-identd.el: Define an ERC module for this. | ||
| 106 | (erc-identd-start): Don't create a process buffer if possible. | ||
| 107 | Otherwise, use conventional hidden names for process buffers. | ||
| 108 | |||
| 109 | 2006-06-29 Michael Olson <mwolson@gnu.org> | ||
| 110 | |||
| 111 | * erc-backend.el (erc-coding-system-for-target): Match | ||
| 112 | case-insensitively. Use a pattern match instead of `assoc', as | ||
| 113 | per the documentation for `erc-encoding-coding-alist'. | ||
| 114 | |||
| 115 | * erc-track.el (erc-track-shorten-aggressively): Fix typo. | ||
| 116 | |||
| 117 | 2006-06-27 Michael Olson <mwolson@gnu.org> | ||
| 118 | |||
| 119 | * erc.el: Update maintainer information and URLs. | ||
| 120 | |||
| 121 | 2006-06-14 Michael Olson <mwolson@gnu.org> | ||
| 122 | |||
| 123 | * erc.el (erc-active-buffer): If the active buffer has been | ||
| 124 | deleted, default to the server buffer. | ||
| 125 | (erc-toggle-flood-control): When the user hits C-c C-f, make flood | ||
| 126 | control really toggle, not unconditionally turn off. | ||
| 127 | |||
| 128 | 2006-06-12 Michael Olson <mwolson@gnu.org> | ||
| 129 | |||
| 130 | * NEWS: Add items since the 5.1.2 release. | ||
| 131 | |||
| 132 | * erc-autoaway.el (erc-autoaway-caused-away): New variable that | ||
| 133 | indicates whether the current away status was caused by this | ||
| 134 | module. | ||
| 135 | (erc-autoaway-set-back): Only set back if this module set the user | ||
| 136 | away. | ||
| 137 | (erc-autoaway-set-away): Update `erc-autoaway-caused-away'. | ||
| 138 | (erc-autoaway-reset-indicators): New function that resets some | ||
| 139 | indicators when the user is no longer away. | ||
| 140 | (autoaway): Add the above function to the 305 hook. | ||
| 141 | |||
| 142 | 2006-06-05 Romain Francoise <romain@orebokech.com> | ||
| 143 | |||
| 144 | * erc.texi (History): Fix various typos. | ||
| 145 | |||
| 146 | 2006-06-04 Michael Olson <mwolson@gnu.org> | ||
| 147 | |||
| 148 | * erc-autoaway.el (erc-autoaway-idle-method): Move after the | ||
| 149 | definition of the autoaway module. | ||
| 150 | (autoaway): Don't do anything if erc-autoaway-idle-method is | ||
| 151 | unbound. This prevents an error on startup. | ||
| 152 | |||
| 153 | 2006-06-03 Michael Olson <mwolson@gnu.org> | ||
| 154 | |||
| 155 | * erc-autoaway.el: Thanks to Mark Plaksin for the ideas and patch. | ||
| 156 | (erc-autoaway-idle-method): Renamed from | ||
| 157 | `erc-autoaway-use-emacs-idle'. We have more than two choices for | ||
| 158 | how to do this, so it's best to make this take symbol values. | ||
| 159 | Improve documentation. Remove warning against Emacs idle-time; | ||
| 160 | the point is moot now that we get user idle time via a different | ||
| 161 | method. Make sure we disable and re-enable the module when | ||
| 162 | changing this value. | ||
| 163 | (autoaway): Conditionalize on the above option. If using the idle | ||
| 164 | timer or user idle methods, don't add anything to the | ||
| 165 | send-completed or server-001 hooks, since it is unnecessary. | ||
| 166 | (erc-autoaway-reestablish-idletimer, erc-autoaway-message): | ||
| 167 | Docfix. | ||
| 168 | (erc-autoaway-idle-seconds): Use erc-autoaway-idle-method. | ||
| 169 | (erc-autoaway-reset-idle-irc): Renamed from | ||
| 170 | `erc-autoaway-reset-idle'. Don't pass line to | ||
| 171 | `erc-autoaway-set-away', since it is not used. | ||
| 172 | (erc-autoaway-reset-idle-user): New function that resets the idle | ||
| 173 | state for user idle time. | ||
| 174 | (erc-autoaway-set-back): Remove line argument, since it is not | ||
| 175 | used. | ||
| 176 | |||
| 177 | 2006-06-01 Michael Olson <mwolson@gnu.org> | ||
| 178 | |||
| 179 | * erc.el (erc-buffer-filter): Make sure all buffers returned from | ||
| 180 | this are live. | ||
| 181 | |||
| 182 | 2006-05-01 Edward O'Connor <ted@oconnor.cx> | ||
| 183 | |||
| 184 | * erc-goodies.el: (erc-handle-irc-url): New function, suitable as | ||
| 185 | a value for `url-irc-function'. | ||
| 186 | |||
| 187 | 2006-04-18 Diane Murray <disumu@x3y2z1.net> | ||
| 188 | |||
| 189 | * erc-pcomplete.el (pcomplete-erc-nicks): Added new optional | ||
| 190 | argument IGNORE-SELF. If this is non-nil, don't return the user's | ||
| 191 | current nickname. Doc fix. | ||
| 192 | (pcomplete/erc-mode/complete-command): Don't complete the current | ||
| 193 | nickname. | ||
| 194 | |||
| 1 | 2006-04-05 Diane Murray <disumu@x3y2z1.net> | 195 | 2006-04-05 Diane Murray <disumu@x3y2z1.net> |
| 2 | 196 | ||
| 3 | * erc.el (erc-cmd-SV): Removed the exclamation point. Show the | 197 | * erc.el (erc-cmd-SV): Removed the exclamation point. Show the |
diff --git a/lisp/erc/erc-autoaway.el b/lisp/erc/erc-autoaway.el index 56713cba8bf..4614bd70e27 100644 --- a/lisp/erc/erc-autoaway.el +++ b/lisp/erc/erc-autoaway.el | |||
| @@ -40,19 +40,6 @@ yourself back when you type something." | |||
| 40 | "The Emacs idletimer. | 40 | "The Emacs idletimer. |
| 41 | This is only used when `erc-autoaway-use-emacs-idle' is non-nil.") | 41 | This is only used when `erc-autoaway-use-emacs-idle' is non-nil.") |
| 42 | 42 | ||
| 43 | (defcustom erc-autoaway-use-emacs-idle nil | ||
| 44 | "*If non-nil, the idle time refers to idletime in Emacs. | ||
| 45 | If nil, the idle time refers to idletime on IRC only. | ||
| 46 | The time itself is specified by `erc-autoaway-idle-seconds'. | ||
| 47 | See `erc-autoaway-mode' for more information on the various | ||
| 48 | definitions of being idle. | ||
| 49 | |||
| 50 | Note that using Emacs idletime is currently broken for most versions, | ||
| 51 | since process activity (as happens all the time on IRC) makes Emacs | ||
| 52 | non-idle. Emacs idle-time and user idle-time are just not the same." | ||
| 53 | :group 'erc-autoaway | ||
| 54 | :type 'boolean) | ||
| 55 | |||
| 56 | ;;;###autoload (autoload 'erc-autoaway-mode "erc-autoaway") | 43 | ;;;###autoload (autoload 'erc-autoaway-mode "erc-autoaway") |
| 57 | (define-erc-module autoaway nil | 44 | (define-erc-module autoaway nil |
| 58 | "In ERC autoaway mode, you can be set away automatically. | 45 | "In ERC autoaway mode, you can be set away automatically. |
| @@ -61,35 +48,65 @@ the number of seconds specified in `erc-autoaway-idle-seconds'. | |||
| 61 | 48 | ||
| 62 | There are several kinds of being idle: | 49 | There are several kinds of being idle: |
| 63 | 50 | ||
| 64 | IRC idle time measures how long since you last sent something (see | 51 | User idle time measures how long you have not been sending any |
| 65 | `erc-autoaway-last-sent-time'). This is the default. | 52 | commands to Emacs. This is the default. |
| 66 | 53 | ||
| 67 | Emacs idle time measures how long Emacs has been idle. This is | 54 | Emacs idle time measures how long Emacs has been idle. This is |
| 68 | currently not useful, since Emacs is non-idle when it handles | 55 | currently not useful, since Emacs is non-idle when it handles |
| 69 | ping-pong with IRC servers. See `erc-autoaway-use-emacs-idle' for | 56 | ping-pong with IRC servers. See `erc-autoaway-idle-method' |
| 70 | more information. | 57 | for more information. |
| 71 | 58 | ||
| 72 | User idle time measures how long you have not been sending any | 59 | IRC idle time measures how long since you last sent something (see |
| 73 | commands to Emacs, or to your system. Emacs currently provides no way | 60 | `erc-autoaway-last-sent-time'). |
| 74 | to measure user idle time. | ||
| 75 | 61 | ||
| 76 | If `erc-auto-discard-away' is set, then typing anything, will | 62 | If `erc-auto-discard-away' is set, then typing anything, will |
| 77 | set you no longer away. | 63 | set you no longer away. |
| 78 | 64 | ||
| 79 | Related variables: `erc-public-away-p' and `erc-away-nickname'." | 65 | Related variables: `erc-public-away-p' and `erc-away-nickname'." |
| 80 | ;; Enable: | 66 | ;; Enable: |
| 81 | ((add-hook 'erc-send-completed-hook 'erc-autoaway-reset-idletime) | 67 | ((when (boundp 'erc-autoaway-idle-method) |
| 82 | (add-hook 'erc-server-001-functions 'erc-autoaway-reset-idletime) | 68 | (cond |
| 83 | (add-hook 'erc-timer-hook 'erc-autoaway-possibly-set-away) | 69 | ((eq erc-autoaway-idle-method 'irc) |
| 84 | (when erc-autoaway-use-emacs-idle | 70 | (add-hook 'erc-send-completed-hook 'erc-autoaway-reset-idle-irc) |
| 85 | (erc-autoaway-reestablish-idletimer))) | 71 | (add-hook 'erc-server-001-functions 'erc-autoaway-reset-idle-irc)) |
| 72 | ((eq erc-autoaway-idle-method 'user) | ||
| 73 | (add-hook 'post-command-hook 'erc-autoaway-reset-idle-user)) | ||
| 74 | ((eq erc-autoaway-idle-method 'emacs) | ||
| 75 | (erc-autoaway-reestablish-idletimer))) | ||
| 76 | (add-hook 'erc-timer-hook 'erc-autoaway-possibly-set-away) | ||
| 77 | (add-hook 'erc-server-305-functions 'erc-autoaway-reset-indicators))) | ||
| 86 | ;; Disable: | 78 | ;; Disable: |
| 87 | ((remove-hook 'erc-send-completed-hook 'erc-autoaway-reset-idletime) | 79 | ((when (boundp 'erc-autoaway-idle-method) |
| 88 | (remove-hook 'erc-server-001-functions 'erc-autoaway-reset-idletime) | 80 | (cond |
| 89 | (remove-hook 'erc-timer-hook 'erc-autoaway-possibly-set-away) | 81 | ((eq erc-autoaway-idle-method 'irc) |
| 90 | (when erc-autoaway-idletimer | 82 | (remove-hook 'erc-send-completed-hook 'erc-autoaway-reset-idle-irc) |
| 91 | (erc-cancel-timer erc-autoaway-idletimer) | 83 | (remove-hook 'erc-server-001-functions 'erc-autoaway-reset-idle-irc)) |
| 92 | (setq erc-autoaway-idletimer nil)))) | 84 | ((eq erc-autoaway-idle-method 'user) |
| 85 | (remove-hook 'post-command-hook 'erc-autoaway-reset-idle-user)) | ||
| 86 | ((eq erc-autoaway-idle-method 'emacs) | ||
| 87 | (erc-cancel-timer erc-autoaway-idletimer) | ||
| 88 | (setq erc-autoaway-idletimer nil))) | ||
| 89 | (remove-hook 'erc-timer-hook 'erc-autoaway-possibly-set-away) | ||
| 90 | (remove-hook 'erc-server-305-functions 'erc-autoaway-reset-indicators)))) | ||
| 91 | |||
| 92 | (defcustom erc-autoaway-idle-method 'user | ||
| 93 | "*The method used to determine how long you have been idle. | ||
| 94 | If 'user, the time of the last command sent to Emacs is used. | ||
| 95 | If 'emacs, the idle time in Emacs is used. | ||
| 96 | If 'irc, the time of the last IRC command is used. | ||
| 97 | |||
| 98 | The time itself is specified by `erc-autoaway-idle-seconds'. | ||
| 99 | |||
| 100 | See `erc-autoaway-mode' for more information on the various | ||
| 101 | definitions of being idle." | ||
| 102 | :group 'erc-autoaway | ||
| 103 | :type '(choice (const :tag "User idle time" user) | ||
| 104 | (const :tag "Emacs idle time" emacs) | ||
| 105 | (const :tag "Last IRC action" irc)) | ||
| 106 | :set (lambda (sym val) | ||
| 107 | (erc-autoaway-disable) | ||
| 108 | (set-default sym val) | ||
| 109 | (erc-autoaway-enable))) | ||
| 93 | 110 | ||
| 94 | (defcustom erc-auto-set-away t | 111 | (defcustom erc-auto-set-away t |
| 95 | "*If non-nil, set away after `erc-autoaway-idle-seconds' seconds of idling. | 112 | "*If non-nil, set away after `erc-autoaway-idle-seconds' seconds of idling. |
| @@ -120,8 +137,8 @@ See `erc-auto-discard-away'." | |||
| 120 | 137 | ||
| 121 | (defun erc-autoaway-reestablish-idletimer () | 138 | (defun erc-autoaway-reestablish-idletimer () |
| 122 | "Reestablish the emacs idletimer. | 139 | "Reestablish the emacs idletimer. |
| 123 | You have to call this function each time you change | 140 | If `erc-autoaway-idle-method' is 'emacs, you must call this |
| 124 | `erc-autoaway-idle-seconds', if `erc-autoaway-use-emacs-idle' is set." | 141 | function each time you change `erc-autoaway-idle-seconds'." |
| 125 | (interactive) | 142 | (interactive) |
| 126 | (when erc-autoaway-idletimer | 143 | (when erc-autoaway-idletimer |
| 127 | (erc-cancel-timer erc-autoaway-idletimer)) | 144 | (erc-cancel-timer erc-autoaway-idletimer)) |
| @@ -138,36 +155,49 @@ you have to run `erc-autoaway-reestablish-idletimer' afterwards." | |||
| 138 | :group 'erc-autoaway | 155 | :group 'erc-autoaway |
| 139 | :set (lambda (sym val) | 156 | :set (lambda (sym val) |
| 140 | (set-default sym val) | 157 | (set-default sym val) |
| 141 | (when erc-autoaway-use-emacs-idle | 158 | (when (eq erc-autoaway-idle-method 'emacs) |
| 142 | (erc-autoaway-reestablish-idletimer))) | 159 | (erc-autoaway-reestablish-idletimer))) |
| 143 | :type 'number) | 160 | :type 'number) |
| 144 | 161 | ||
| 145 | (defcustom erc-autoaway-message | 162 | (defcustom erc-autoaway-message |
| 146 | "I'm gone (autoaway after %i seconds of idletime)" | 163 | "I'm gone (autoaway after %i seconds of idletime)" |
| 147 | "*Message ERC will use when he sets you automatically away. | 164 | "*Message ERC will use when setting you automatically away. |
| 148 | It is used as a `format' string with the argument of the idletime in | 165 | It is used as a `format' string with the argument of the idletime |
| 149 | seconds." | 166 | in seconds." |
| 150 | :group 'erc-autoaway | 167 | :group 'erc-autoaway |
| 151 | :type 'string) | 168 | :type 'string) |
| 152 | 169 | ||
| 153 | (defvar erc-autoaway-last-sent-time (erc-current-time) | 170 | (defvar erc-autoaway-last-sent-time (erc-current-time) |
| 154 | "The last time the user sent something.") | 171 | "The last time the user sent something.") |
| 155 | 172 | ||
| 156 | (defun erc-autoaway-reset-idletime (line &rest stuff) | 173 | (defvar erc-autoaway-caused-away nil |
| 157 | "Reset the stored idletime for the user. | 174 | "Indicates whether this module was responsible for setting the |
| 158 | This is one global variable since a user talking on one net can talk | 175 | user's away status.") |
| 159 | on another net too." | 176 | |
| 177 | (defun erc-autoaway-reset-idle-user (&rest stuff) | ||
| 178 | "Reset the stored user idle time. | ||
| 179 | This is one global variable since a user talking on one net can | ||
| 180 | talk on another net too." | ||
| 181 | (when erc-auto-discard-away | ||
| 182 | (erc-autoaway-set-back)) | ||
| 183 | (setq erc-autoaway-last-sent-time (erc-current-time))) | ||
| 184 | |||
| 185 | (defun erc-autoaway-reset-idle-irc (line &rest stuff) | ||
| 186 | "Reset the stored IRC idle time. | ||
| 187 | This is one global variable since a user talking on one net can | ||
| 188 | talk on another net too." | ||
| 160 | (when (and erc-auto-discard-away | 189 | (when (and erc-auto-discard-away |
| 161 | (stringp line) | 190 | (stringp line) |
| 162 | (not (string-match erc-autoaway-no-auto-discard-regexp line))) | 191 | (not (string-match erc-autoaway-no-auto-discard-regexp line))) |
| 163 | (erc-autoaway-set-back line)) | 192 | (erc-autoaway-set-back)) |
| 164 | (setq erc-autoaway-last-sent-time (erc-current-time))) | 193 | (setq erc-autoaway-last-sent-time (erc-current-time))) |
| 165 | 194 | ||
| 166 | (defun erc-autoaway-set-back (line) | 195 | (defun erc-autoaway-set-back () |
| 167 | "Discard the away state globally." | 196 | "Discard the away state globally." |
| 168 | (when (erc-away-p) | 197 | (let ((server-buffer (car (erc-buffer-list #'erc-server-buffer-p)))) |
| 169 | (setq erc-autoaway-last-sent-time (erc-current-time)) | 198 | (when (and erc-autoaway-caused-away |
| 170 | (erc-cmd-GAWAY ""))) | 199 | (with-current-buffer server-buffer (erc-away-p))) |
| 200 | (erc-cmd-GAWAY "")))) | ||
| 171 | 201 | ||
| 172 | (defun erc-autoaway-possibly-set-away (current-time) | 202 | (defun erc-autoaway-possibly-set-away (current-time) |
| 173 | "Set autoaway when `erc-auto-set-away' is true and the idletime is | 203 | "Set autoaway when `erc-auto-set-away' is true and the idletime is |
| @@ -193,8 +223,14 @@ exceeds `erc-autoaway-idle-seconds'." | |||
| 193 | ;; existing process. | 223 | ;; existing process. |
| 194 | (when (and (erc-server-process-alive) | 224 | (when (and (erc-server-process-alive) |
| 195 | (not (erc-away-p))) | 225 | (not (erc-away-p))) |
| 226 | (setq erc-autoaway-caused-away t) | ||
| 196 | (erc-cmd-GAWAY (format erc-autoaway-message idle-time)))) | 227 | (erc-cmd-GAWAY (format erc-autoaway-message idle-time)))) |
| 197 | 228 | ||
| 229 | (defun erc-autoaway-reset-indicators (&rest stuff) | ||
| 230 | "Reset indicators used by the erc-autoaway module." | ||
| 231 | (setq erc-autoaway-last-sent-time (erc-current-time)) | ||
| 232 | (setq erc-autoaway-caused-away nil)) | ||
| 233 | |||
| 198 | (provide 'erc-autoaway) | 234 | (provide 'erc-autoaway) |
| 199 | 235 | ||
| 200 | ;;; erc-autoaway.el ends here | 236 | ;;; erc-autoaway.el ends here |
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index 3ea0f74eed7..7dce9e4bf01 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el | |||
| @@ -563,7 +563,11 @@ action." | |||
| 563 | "Return the coding system or cons cell appropriate for TARGET. | 563 | "Return the coding system or cons cell appropriate for TARGET. |
| 564 | This is determined via `erc-encoding-coding-alist' or | 564 | This is determined via `erc-encoding-coding-alist' or |
| 565 | `erc-server-coding-system'." | 565 | `erc-server-coding-system'." |
| 566 | (or (cdr (assoc target erc-encoding-coding-alist)) | 566 | (or (let ((case-fold-search t)) |
| 567 | (catch 'match | ||
| 568 | (dolist (pat erc-encoding-coding-alist) | ||
| 569 | (when (string-match (car pat) target) | ||
| 570 | (throw 'match (cdr pat)))))) | ||
| 567 | (and (functionp erc-server-coding-system) | 571 | (and (functionp erc-server-coding-system) |
| 568 | (funcall erc-server-coding-system)) | 572 | (funcall erc-server-coding-system)) |
| 569 | erc-server-coding-system)) | 573 | erc-server-coding-system)) |
| @@ -849,8 +853,10 @@ Finds hooks by looking in the `erc-server-responses' hashtable." | |||
| 849 | (let ((hook (or (erc-get-hook (erc-response.command message)) | 853 | (let ((hook (or (erc-get-hook (erc-response.command message)) |
| 850 | 'erc-default-server-functions))) | 854 | 'erc-default-server-functions))) |
| 851 | (run-hook-with-args-until-success hook process message) | 855 | (run-hook-with-args-until-success hook process message) |
| 852 | (with-current-buffer (erc-server-buffer) | 856 | (let ((server-buffer (erc-server-buffer))) |
| 853 | (run-hook-with-args 'erc-timer-hook (erc-current-time))))) | 857 | (when (buffer-live-p server-buffer) |
| 858 | (with-current-buffer server-buffer | ||
| 859 | (run-hook-with-args 'erc-timer-hook (erc-current-time))))))) | ||
| 854 | 860 | ||
| 855 | (add-hook 'erc-default-server-functions 'erc-handle-unknown-server-response) | 861 | (add-hook 'erc-default-server-functions 'erc-handle-unknown-server-response) |
| 856 | 862 | ||
diff --git a/lisp/erc/erc-identd.el b/lisp/erc/erc-identd.el index 0f70aab0fbd..f30c40d4792 100644 --- a/lisp/erc/erc-identd.el +++ b/lisp/erc/erc-identd.el | |||
| @@ -24,16 +24,32 @@ | |||
| 24 | 24 | ||
| 25 | ;;; Commentary: | 25 | ;;; Commentary: |
| 26 | 26 | ||
| 27 | ;; You can have a local identd server (running on port 8113; I use DNAT | 27 | ;; This module allows you to run a local identd server on port 8113. |
| 28 | ;; to bind 113->8113) if you add this to .emacs.el: | 28 | ;; You will need to set up DNAT to bind 113->8113, or use a proxy. |
| 29 | 29 | ||
| 30 | ;; (add-hook 'erc-connect-pre-hook 'erc-identd-start) | 30 | ;; To use this module, add identd to `erc-modules' and run |
| 31 | ;; (add-hook 'erc-disconnected-hook 'erc-identd-stop) | 31 | ;; `erc-update-modules'. |
| 32 | |||
| 33 | ;; Here is an example /etc/inetd.conf rule that forwards identd | ||
| 34 | ;; traffic to port 8113. You will need simpleproxy installed for it | ||
| 35 | ;; to work. | ||
| 36 | |||
| 37 | ;; 113 stream tcp nowait nobody /usr/sbin/tcpd /usr/bin/simpleproxy simpleproxy -i -R 127.0.0.1:8113 | ||
| 32 | 38 | ||
| 33 | ;;; Code: | 39 | ;;; Code: |
| 34 | 40 | ||
| 41 | (require 'erc) | ||
| 42 | |||
| 35 | (defvar erc-identd-process nil) | 43 | (defvar erc-identd-process nil) |
| 36 | 44 | ||
| 45 | ;;;###autoload (autoload 'erc-identd-mode "erc-identd") | ||
| 46 | (define-erc-module identd nil | ||
| 47 | "This mode launches an identd server on port 8113." | ||
| 48 | ((add-hook 'erc-connect-pre-hook 'erc-identd-start) | ||
| 49 | (add-hook 'erc-disconnected-hook 'erc-identd-stop)) | ||
| 50 | ((remove-hook 'erc-connect-pre-hook 'erc-identd-start) | ||
| 51 | (remove-hook 'erc-disconnected-hook 'erc-identd-stop))) | ||
| 52 | |||
| 37 | (defun erc-identd-filter (proc string) | 53 | (defun erc-identd-filter (proc string) |
| 38 | "This filter implements RFC1413 (identd authentication protocol)." | 54 | "This filter implements RFC1413 (identd authentication protocol)." |
| 39 | (let ((erc-identd-process proc)) | 55 | (let ((erc-identd-process proc)) |
| @@ -63,10 +79,11 @@ system." | |||
| 63 | (delete-process erc-identd-process)) | 79 | (delete-process erc-identd-process)) |
| 64 | (setq erc-identd-process | 80 | (setq erc-identd-process |
| 65 | (make-network-process :name "identd" | 81 | (make-network-process :name "identd" |
| 66 | :buffer (generate-new-buffer "identd") | 82 | :buffer nil |
| 67 | :host 'local :service port | 83 | :host 'local :service port |
| 68 | :server t :noquery t | 84 | :server t :noquery t :nowait t |
| 69 | :filter 'erc-identd-filter))) | 85 | :filter 'erc-identd-filter)) |
| 86 | (set-process-query-on-exit-flag erc-identd-process nil)) | ||
| 70 | 87 | ||
| 71 | ;;;###autoload | 88 | ;;;###autoload |
| 72 | (defun erc-identd-stop (&rest ignore) | 89 | (defun erc-identd-stop (&rest ignore) |
diff --git a/lisp/erc/erc-imenu.el b/lisp/erc/erc-imenu.el index 88de1cedf6e..e897a9d8a0c 100644 --- a/lisp/erc/erc-imenu.el +++ b/lisp/erc/erc-imenu.el | |||
| @@ -31,11 +31,6 @@ | |||
| 31 | 31 | ||
| 32 | ;;; Code: | 32 | ;;; Code: |
| 33 | 33 | ||
| 34 | |||
| 35 | ;; Author: Mario Lang <mlang@delysid.org> | ||
| 36 | |||
| 37 | ;; This file is not part of GNU Emacs. But the same license applies. | ||
| 38 | |||
| 39 | ;;; Commentary: | 34 | ;;; Commentary: |
| 40 | 35 | ||
| 41 | ;; This package defines the function `erc-create-imenu-index'. ERC | 36 | ;; This package defines the function `erc-create-imenu-index'. ERC |
diff --git a/lisp/erc/erc-log.el b/lisp/erc/erc-log.el index db60e5629bf..b316a8588bd 100644 --- a/lisp/erc/erc-log.el +++ b/lisp/erc/erc-log.el | |||
| @@ -115,11 +115,6 @@ SERVER and PORT are the parameters used to connect BUFFERs | |||
| 115 | (const erc-generate-log-file-name-with-date) | 115 | (const erc-generate-log-file-name-with-date) |
| 116 | (symbol))) | 116 | (symbol))) |
| 117 | 117 | ||
| 118 | (defcustom erc-save-buffer-on-part nil | ||
| 119 | "*Save the channel buffer content using `erc-save-buffer-in-logs' on PART." | ||
| 120 | :group 'erc-log | ||
| 121 | :type 'boolean) | ||
| 122 | |||
| 123 | (defcustom erc-truncate-buffer-on-save nil | 118 | (defcustom erc-truncate-buffer-on-save nil |
| 124 | "Truncate any ERC (channel, query, server) buffer when it is saved." | 119 | "Truncate any ERC (channel, query, server) buffer when it is saved." |
| 125 | :group 'erc-log | 120 | :group 'erc-log |
| @@ -150,14 +145,41 @@ directory should not end with a trailing slash." | |||
| 150 | :type '(choice directory | 145 | :type '(choice directory |
| 151 | (const nil))) | 146 | (const nil))) |
| 152 | 147 | ||
| 153 | (defcustom erc-log-insert-log-on-open t | 148 | (defcustom erc-log-insert-log-on-open nil |
| 154 | "*Insert log file contents into the buffer if a log file exists." | 149 | "*Insert log file contents into the buffer if a log file exists." |
| 155 | :group 'erc-log | 150 | :group 'erc-log |
| 156 | :type 'boolean) | 151 | :type 'boolean) |
| 157 | 152 | ||
| 158 | (defcustom erc-save-queries-on-quit nil | 153 | (defcustom erc-save-buffer-on-part t |
| 159 | "Save all query (also channel) buffers of the server on QUIT. | 154 | "*Save the channel buffer content using `erc-save-buffer-in-logs' on PART. |
| 160 | See the variable `erc-save-buffer-on-part' for details." | 155 | |
| 156 | If you set this to nil, you may want to enable both | ||
| 157 | `erc-log-write-after-send' and `erc-log-write-after-insert'." | ||
| 158 | :group 'erc-log | ||
| 159 | :type 'boolean) | ||
| 160 | |||
| 161 | (defcustom erc-save-queries-on-quit t | ||
| 162 | "*Save all query (also channel) buffers of the server on QUIT. | ||
| 163 | |||
| 164 | If you set this to nil, you may want to enable both | ||
| 165 | `erc-log-write-after-send' and `erc-log-write-after-insert'." | ||
| 166 | :group 'erc-log | ||
| 167 | :type 'boolean) | ||
| 168 | |||
| 169 | (defcustom erc-log-write-after-send nil | ||
| 170 | "*If non-nil, write to log file after every message you send. | ||
| 171 | |||
| 172 | If you set this to nil, you may want to enable both | ||
| 173 | `erc-save-buffer-on-part' and `erc-save-queries-on-quit'." | ||
| 174 | :group 'erc-log | ||
| 175 | :type 'boolean) | ||
| 176 | |||
| 177 | (defcustom erc-log-write-after-insert nil | ||
| 178 | "*If non-nil, write to log file when new text is added to a | ||
| 179 | logged ERC buffer. | ||
| 180 | |||
| 181 | If you set this to nil, you may want to enable both | ||
| 182 | `erc-save-buffer-on-part' and `erc-save-queries-on-quit'." | ||
| 161 | :group 'erc-log | 183 | :group 'erc-log |
| 162 | :type 'boolean) | 184 | :type 'boolean) |
| 163 | 185 | ||
| @@ -187,29 +209,28 @@ also be a predicate function. To only log when you are not set away, use: | |||
| 187 | (with-current-buffer buffer | 209 | (with-current-buffer buffer |
| 188 | (not erc-away))))" | 210 | (not erc-away))))" |
| 189 | ;; enable | 211 | ;; enable |
| 190 | ((add-hook 'erc-insert-post-hook | 212 | ((when erc-log-write-after-insert |
| 191 | 'erc-save-buffer-in-logs) | 213 | (add-hook 'erc-insert-post-hook 'erc-save-buffer-in-logs)) |
| 192 | (add-hook 'erc-send-post-hook | 214 | (when erc-log-write-after-send |
| 193 | 'erc-save-buffer-in-logs)) | 215 | (add-hook 'erc-send-post-hook 'erc-save-buffer-in-logs)) |
| 216 | (add-hook 'erc-kill-buffer-hook 'erc-save-buffer-in-logs) | ||
| 217 | (add-hook 'erc-kill-channel-hook 'erc-save-buffer-in-logs) | ||
| 218 | (add-hook 'erc-quit-hook 'erc-conditional-save-queries) | ||
| 219 | (add-hook 'erc-part-hook 'erc-conditional-save-buffer) | ||
| 220 | ;; append, so that 'erc-initialize-log-marker runs first | ||
| 221 | (add-hook 'erc-connect-pre-hook 'erc-log-setup-logging 'append)) | ||
| 194 | ;; disable | 222 | ;; disable |
| 195 | ((remove-hook 'erc-insert-post-hook | 223 | ((remove-hook 'erc-insert-post-hook 'erc-save-buffer-in-logs) |
| 196 | 'erc-save-buffer-in-logs) | 224 | (remove-hook 'erc-send-post-hook 'erc-save-buffer-in-logs) |
| 197 | (remove-hook 'erc-send-post-hook | 225 | (remove-hook 'erc-kill-buffer-hook 'erc-save-buffer-in-logs) |
| 198 | 'erc-save-buffer-in-logs))) | 226 | (remove-hook 'erc-kill-channel-hook 'erc-save-buffer-in-logs) |
| 199 | 227 | (remove-hook 'erc-quit-hook 'erc-conditional-save-queries) | |
| 200 | (when erc-enable-logging | 228 | (remove-hook 'erc-part-hook 'erc-conditional-save-buffer) |
| 201 | (add-hook 'erc-kill-buffer-hook | 229 | (remove-hook 'erc-connect-pre-hook 'erc-log-setup-logging))) |
| 202 | 'erc-save-buffer-in-logs) | ||
| 203 | (add-hook 'erc-kill-channel-hook | ||
| 204 | 'erc-save-buffer-in-logs) | ||
| 205 | (add-hook 'erc-quit-hook | ||
| 206 | 'erc-conditional-save-queries) | ||
| 207 | (add-hook 'erc-part-hook | ||
| 208 | 'erc-conditional-save-buffer)) | ||
| 209 | 230 | ||
| 210 | (define-key erc-mode-map "\C-c\C-l" 'erc-save-buffer-in-logs) | 231 | (define-key erc-mode-map "\C-c\C-l" 'erc-save-buffer-in-logs) |
| 211 | 232 | ||
| 212 | ;;;functionality referenced from erc.el | 233 | ;;; functionality referenced from erc.el |
| 213 | (defun erc-log-setup-logging () | 234 | (defun erc-log-setup-logging () |
| 214 | "Setup the buffer-local logging variables in the current buffer. | 235 | "Setup the buffer-local logging variables in the current buffer. |
| 215 | This function is destined to be run from `erc-connect-pre-hook'." | 236 | This function is destined to be run from `erc-connect-pre-hook'." |
| @@ -224,9 +245,6 @@ This function is destined to be run from `erc-connect-pre-hook'." | |||
| 224 | (move-marker erc-last-saved-position | 245 | (move-marker erc-last-saved-position |
| 225 | (1- (point-max))))))) | 246 | (1- (point-max))))))) |
| 226 | 247 | ||
| 227 | ;;; Append, so that 'erc-initialize-log-marker keeps running first. | ||
| 228 | (add-hook 'erc-connect-pre-hook 'erc-log-setup-logging 'append) | ||
| 229 | |||
| 230 | (defun erc-log-all-but-server-buffers (buffer) | 248 | (defun erc-log-all-but-server-buffers (buffer) |
| 231 | "Returns t if logging should be enabled in BUFFER. | 249 | "Returns t if logging should be enabled in BUFFER. |
| 232 | Returns nil iff `erc-server-buffer-p' returns t." | 250 | Returns nil iff `erc-server-buffer-p' returns t." |
diff --git a/lisp/erc/erc-match.el b/lisp/erc/erc-match.el index 88c6d4c425d..ffbc7482aae 100644 --- a/lisp/erc/erc-match.el +++ b/lisp/erc/erc-match.el | |||
| @@ -553,10 +553,9 @@ deactivate/activate match logging in the latter. See | |||
| 553 | ?m message | 553 | ?m message |
| 554 | ?u nickuserhost)))) | 554 | ?u nickuserhost)))) |
| 555 | (with-current-buffer (erc-log-matches-make-buffer match-buffer-name) | 555 | (with-current-buffer (erc-log-matches-make-buffer match-buffer-name) |
| 556 | (toggle-read-only -1) | 556 | (let ((inhibit-read-only t)) |
| 557 | (point-max) | 557 | (goto-char (point-max)) |
| 558 | (insert line) | 558 | (insert line))))))) |
| 559 | (toggle-read-only 1)))))) | ||
| 560 | 559 | ||
| 561 | (defun erc-log-matches-make-buffer (name) | 560 | (defun erc-log-matches-make-buffer (name) |
| 562 | "Create or get a log-matches buffer named NAME and return it." | 561 | "Create or get a log-matches buffer named NAME and return it." |
diff --git a/lisp/erc/erc-pcomplete.el b/lisp/erc/erc-pcomplete.el index d6d4dfdd3b3..33231ee2590 100644 --- a/lisp/erc/erc-pcomplete.el +++ b/lisp/erc/erc-pcomplete.el | |||
| @@ -106,7 +106,7 @@ the most recent speakers are listed first." | |||
| 106 | (pcomplete-here | 106 | (pcomplete-here |
| 107 | (append | 107 | (append |
| 108 | (pcomplete-erc-commands) | 108 | (pcomplete-erc-commands) |
| 109 | (pcomplete-erc-nicks erc-pcomplete-nick-postfix)))) | 109 | (pcomplete-erc-nicks erc-pcomplete-nick-postfix t)))) |
| 110 | 110 | ||
| 111 | (defvar erc-pcomplete-ctcp-commands | 111 | (defvar erc-pcomplete-ctcp-commands |
| 112 | '("ACTION" "CLIENTINFO" "ECHO" "FINGER" "PING" "TIME" "USERINFO" "VERSION")) | 112 | '("ACTION" "CLIENTINFO" "ECHO" "FINGER" "PING" "TIME" "USERINFO" "VERSION")) |
| @@ -212,14 +212,23 @@ the most recent speakers are listed first." | |||
| 212 | not-ops)) | 212 | not-ops)) |
| 213 | 213 | ||
| 214 | 214 | ||
| 215 | (defun pcomplete-erc-nicks (&optional postfix) | 215 | (defun pcomplete-erc-nicks (&optional postfix ignore-self) |
| 216 | "Returns a list of nicks in the current channel." | 216 | "Returns a list of nicks in the current channel. |
| 217 | (let ((users (erc-get-channel-user-list))) | 217 | Optional argument POSTFIX is something to append to the nickname. |
| 218 | (if erc-pcomplete-order-nickname-completions | 218 | If optional argument IGNORE-SELF is non-nil, don't return the current nick." |
| 219 | (setq users (erc-sort-channel-users-by-activity users))) | 219 | (let ((users (if erc-pcomplete-order-nickname-completions |
| 220 | (mapcar (lambda (x) | 220 | (erc-sort-channel-users-by-activity |
| 221 | (concat (erc-server-user-nickname (car x)) postfix)) | 221 | (erc-get-channel-user-list)) |
| 222 | users))) | 222 | (erc-get-channel-user-list))) |
| 223 | (nicks nil)) | ||
| 224 | (dolist (user users) | ||
| 225 | (unless (and ignore-self | ||
| 226 | (string= (erc-server-user-nickname (car user)) | ||
| 227 | (erc-current-nick))) | ||
| 228 | (setq nicks (cons (concat (erc-server-user-nickname (car user)) | ||
| 229 | postfix) | ||
| 230 | nicks)))) | ||
| 231 | (nreverse nicks))) | ||
| 223 | 232 | ||
| 224 | (defun pcomplete-erc-all-nicks (&optional postfix) | 233 | (defun pcomplete-erc-all-nicks (&optional postfix) |
| 225 | "Returns a list of all nicks on the current server." | 234 | "Returns a list of all nicks on the current server." |
diff --git a/lisp/erc/erc-track.el b/lisp/erc/erc-track.el index 63005678613..b045fb24999 100644 --- a/lisp/erc/erc-track.el +++ b/lisp/erc/erc-track.el | |||
| @@ -108,7 +108,7 @@ If this variable is set to `max', then channel names will be shortened | |||
| 108 | to the max. Usually, shortened channel names will remain unique for a | 108 | to the max. Usually, shortened channel names will remain unique for a |
| 109 | given set of existing channels. When shortening to the max, the shortened | 109 | given set of existing channels. When shortening to the max, the shortened |
| 110 | channel names will be unique for the set of active channels only. | 110 | channel names will be unique for the set of active channels only. |
| 111 | Example: If there are tow active channels #emacs and #vi, and two inactive | 111 | Example: If there are two active channels #emacs and #vi, and two inactive |
| 112 | channels #electronica and #folk, then usually the active channels are | 112 | channels #electronica and #folk, then usually the active channels are |
| 113 | shortened to #em and #v. When shortening to the max, however, #emacs is | 113 | shortened to #em and #v. When shortening to the max, however, #emacs is |
| 114 | not compared to #electronica -- only to #vi, therefore it can be shortened | 114 | not compared to #electronica -- only to #vi, therefore it can be shortened |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 1baede01259..fd5a49eae4b 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | ;; Andreas Fuchs (afs@void.at) | 11 | ;; Andreas Fuchs (afs@void.at) |
| 12 | ;; Gergely Nagy (algernon@midgard.debian.net) | 12 | ;; Gergely Nagy (algernon@midgard.debian.net) |
| 13 | ;; David Edmondson (dme@dme.org) | 13 | ;; David Edmondson (dme@dme.org) |
| 14 | ;; Maintainer: Mario Lang (mlang@delysid.org) | 14 | ;; Maintainer: Michael Olson (mwolson@gnu.org) |
| 15 | ;; Keywords: IRC, chat, client, Internet | 15 | ;; Keywords: IRC, chat, client, Internet |
| 16 | 16 | ||
| 17 | ;; This file is part of GNU Emacs. | 17 | ;; This file is part of GNU Emacs. |
| @@ -36,12 +36,13 @@ | |||
| 36 | ;; ERC is an IRC client for Emacs. | 36 | ;; ERC is an IRC client for Emacs. |
| 37 | 37 | ||
| 38 | ;; For more information, see the following URLs: | 38 | ;; For more information, see the following URLs: |
| 39 | ;; * http://sf.net/projects/erc/ | 39 | ;; * http://sv.gnu.org/projects/erc/ |
| 40 | ;; * http://www.emacswiki.org/cgi-bin/wiki.pl?EmacsIRCClient | 40 | ;; * http://www.emacswiki.org/cgi-bin/wiki.pl?EmacsIRCClient |
| 41 | 41 | ||
| 42 | ;; Jul-26-2001. erc.el is now in CVS on SourceForge. I invite everyone | 42 | ;; As of 2006-06-13, ERC development is now hosted on Savannah |
| 43 | ;; who wants to hack it to contact me <mlang@delysid.org> in order to | 43 | ;; (http://sv.gnu.org/projects/erc). I invite everyone who wants to |
| 44 | ;; get write access on the CVS. | 44 | ;; hack on it to contact me <mwolson@gnu.org> in order to get write |
| 45 | ;; access to the shared Arch archive. | ||
| 45 | 46 | ||
| 46 | ;; Installation: | 47 | ;; Installation: |
| 47 | 48 | ||
| @@ -66,7 +67,7 @@ | |||
| 66 | 67 | ||
| 67 | ;;; Code: | 68 | ;;; Code: |
| 68 | 69 | ||
| 69 | (defconst erc-version-string "Version 5.1.2" | 70 | (defconst erc-version-string "Version 5.1.3" |
| 70 | "ERC version. This is used by function `erc-version'.") | 71 | "ERC version. This is used by function `erc-version'.") |
| 71 | 72 | ||
| 72 | (eval-when-compile (require 'cl)) | 73 | (eval-when-compile (require 'cl)) |
| @@ -77,12 +78,12 @@ | |||
| 77 | (require 'erc-menu) | 78 | (require 'erc-menu) |
| 78 | 79 | ||
| 79 | (defvar erc-official-location | 80 | (defvar erc-official-location |
| 80 | "http://erc.sf.net (comments mailto://mlang@delysid.org)" | 81 | "http://emacswiki.org/cgi-bin/wiki/ERC (mailing list: erc-discuss@gnu.org)" |
| 81 | "Location of the ERC client on the Internet.") | 82 | "Location of the ERC client on the Internet.") |
| 82 | 83 | ||
| 83 | (defgroup erc nil | 84 | (defgroup erc nil |
| 84 | "Emacs Internet Relay Chat client." | 85 | "Emacs Internet Relay Chat client." |
| 85 | :link '(url-link "http://www.emacswiki.org/cgi-bin/wiki.pl?EmacsIRCClient") | 86 | :link '(url-link "http://www.emacswiki.org/cgi-bin/wiki/ERC") |
| 86 | :prefix "erc-" | 87 | :prefix "erc-" |
| 87 | :group 'applications) | 88 | :group 'applications) |
| 88 | 89 | ||
| @@ -143,57 +144,69 @@ | |||
| 143 | ;; tunable connection and authentication parameters | 144 | ;; tunable connection and authentication parameters |
| 144 | 145 | ||
| 145 | (defcustom erc-server nil | 146 | (defcustom erc-server nil |
| 146 | "IRC server to use. | 147 | "IRC server to use if one is not provided. |
| 147 | See function `erc-compute-server' for more details on connection | 148 | See function `erc-compute-server' for more details on connection |
| 148 | parameters and authentication." | 149 | parameters and authentication." |
| 149 | :group 'erc | 150 | :group 'erc |
| 150 | :type '(choice (const nil) string)) | 151 | :type '(choice (const :tag "None" nil) |
| 152 | (string :tag "Server"))) | ||
| 151 | 153 | ||
| 152 | (defcustom erc-port nil | 154 | (defcustom erc-port nil |
| 153 | "IRC port to use." | 155 | "IRC port to use if not specified. |
| 156 | |||
| 157 | This can be either a string or a number." | ||
| 154 | :group 'erc | 158 | :group 'erc |
| 155 | :type '(choice (const nil) number string)) | 159 | :type '(choice (const :tag "None" nil) |
| 160 | (const :tag "Port number" number) | ||
| 161 | (const :tag "Port string" string))) | ||
| 156 | 162 | ||
| 157 | (defcustom erc-nick nil | 163 | (defcustom erc-nick nil |
| 158 | "Nickname to use. | 164 | "Nickname to use if one is not provided. |
| 159 | 165 | ||
| 160 | Can be either a string, or a list of strings. | 166 | This can be either a string, or a list of strings. |
| 161 | In the latter case, if the first nick in the list is already in use, | 167 | In the latter case, if the first nick in the list is already in use, |
| 162 | other nicks are tried in the list order. | 168 | other nicks are tried in the list order. |
| 163 | 169 | ||
| 164 | See function `erc-compute-nick' for more details on connection | 170 | See function `erc-compute-nick' for more details on connection |
| 165 | parameters and authentication." | 171 | parameters and authentication." |
| 166 | :group 'erc | 172 | :group 'erc |
| 167 | :type '(choice (const nil) | 173 | :type '(choice (const :tag "None" nil) |
| 168 | (string :tag "Nickname") | 174 | (string :tag "Nickname") |
| 169 | (repeat string))) | 175 | (repeat (string :tag "Nickname")))) |
| 170 | 176 | ||
| 171 | (defcustom erc-nick-uniquifier "`" | 177 | (defcustom erc-nick-uniquifier "`" |
| 172 | "The character to append to the nick if it is already in use." | 178 | "The string to append to the nick if it is already in use." |
| 173 | :group 'erc | 179 | :group 'erc |
| 174 | :type 'string) | 180 | :type 'string) |
| 175 | 181 | ||
| 176 | (defcustom erc-manual-set-nick-on-bad-nick-p nil | 182 | (defcustom erc-try-new-nick-p t |
| 177 | "If the nickname you chose isn't available, ERC should not automatically | 183 | "If the nickname you chose isn't available, and this option is non-nil, |
| 178 | attempt to set another nickname. You can manually set another nickname with | 184 | ERC should automatically attempt to connect with another nickname. |
| 179 | the /NICK command." | 185 | |
| 186 | You can manually set another nickname with the /NICK command." | ||
| 180 | :group 'erc | 187 | :group 'erc |
| 181 | :type 'boolean) | 188 | :type 'boolean) |
| 182 | 189 | ||
| 183 | (defcustom erc-user-full-name nil | 190 | (defcustom erc-user-full-name nil |
| 184 | "User full name. | 191 | "User full name. |
| 185 | 192 | ||
| 193 | This can be either a string or a function to call. | ||
| 194 | |||
| 186 | See function `erc-compute-full-name' for more details on connection | 195 | See function `erc-compute-full-name' for more details on connection |
| 187 | parameters and authentication." | 196 | parameters and authentication." |
| 188 | :group 'erc | 197 | :group 'erc |
| 189 | :type '(choice (const nil) string function) | 198 | :type '(choice (const :tag "No name" nil) |
| 199 | (string :tag "Name") | ||
| 200 | (function :tag "Get from function")) | ||
| 190 | :set (lambda (sym val) | 201 | :set (lambda (sym val) |
| 191 | (if (functionp val) | 202 | (if (functionp val) |
| 192 | (set sym (funcall val)) | 203 | (set sym (funcall val)) |
| 193 | (set sym val)))) | 204 | (set sym val)))) |
| 194 | 205 | ||
| 195 | (defvar erc-password nil | 206 | (defvar erc-password nil |
| 196 | "ERC password to use in authentication (not necessary).") | 207 | "Password to use when authenticating to an IRC server. |
| 208 | It is not strictly necessary to provide this, since ERC will | ||
| 209 | prompt you for it.") | ||
| 197 | 210 | ||
| 198 | (defcustom erc-user-mode nil | 211 | (defcustom erc-user-mode nil |
| 199 | "Initial user modes to be set after a connection is established." | 212 | "Initial user modes to be set after a connection is established." |
| @@ -871,7 +884,7 @@ As an example: | |||
| 871 | (\"xmms\" dme:now-playing) | 884 | (\"xmms\" dme:now-playing) |
| 872 | (\"version\" erc-quit-reason-normal) | 885 | (\"version\" erc-quit-reason-normal) |
| 873 | (\"home\" \"Gone home !\") | 886 | (\"home\" \"Gone home !\") |
| 874 | (\"\" \"Default Reason\"))) | 887 | (\"^$\" \"Default Reason\"))) |
| 875 | If the user types \"/quit zippy\", then a Zippy the Pinhead quotation | 888 | If the user types \"/quit zippy\", then a Zippy the Pinhead quotation |
| 876 | will be used as the quit message." | 889 | will be used as the quit message." |
| 877 | :group 'erc-quit-and-part | 890 | :group 'erc-quit-and-part |
| @@ -895,7 +908,7 @@ As an example: | |||
| 895 | (\"xmms\" dme:now-playing) | 908 | (\"xmms\" dme:now-playing) |
| 896 | (\"version\" erc-part-reason-normal) | 909 | (\"version\" erc-part-reason-normal) |
| 897 | (\"home\" \"Gone home !\") | 910 | (\"home\" \"Gone home !\") |
| 898 | (\"\" \"Default Reason\"))) | 911 | (\"^$\" \"Default Reason\"))) |
| 899 | If the user types \"/part zippy\", then a Zippy the Pinhead quotation | 912 | If the user types \"/part zippy\", then a Zippy the Pinhead quotation |
| 900 | will be used as the part message." | 913 | will be used as the part message." |
| 901 | :group 'erc-quit-and-part | 914 | :group 'erc-quit-and-part |
| @@ -1373,7 +1386,10 @@ server buffer") | |||
| 1373 | (defun erc-active-buffer () | 1386 | (defun erc-active-buffer () |
| 1374 | "Return the value of `erc-active-buffer' for the current server. | 1387 | "Return the value of `erc-active-buffer' for the current server. |
| 1375 | Defaults to the server buffer." | 1388 | Defaults to the server buffer." |
| 1376 | (with-current-buffer (erc-server-buffer) erc-active-buffer)) | 1389 | (with-current-buffer (erc-server-buffer) |
| 1390 | (if (buffer-live-p erc-active-buffer) | ||
| 1391 | erc-active-buffer) | ||
| 1392 | (setq erc-active-buffer (current-buffer)))) | ||
| 1377 | 1393 | ||
| 1378 | (defun erc-set-active-buffer (buffer) | 1394 | (defun erc-set-active-buffer (buffer) |
| 1379 | "Set the value of `erc-active-buffer' to BUFFER." | 1395 | "Set the value of `erc-active-buffer' to BUFFER." |
| @@ -1595,12 +1611,13 @@ server connection, or nil which means all open connections." | |||
| 1595 | (delq | 1611 | (delq |
| 1596 | nil | 1612 | nil |
| 1597 | (mapcar (lambda (buf) | 1613 | (mapcar (lambda (buf) |
| 1598 | (with-current-buffer buf | 1614 | (when (buffer-live-p buf) |
| 1599 | (and (eq major-mode 'erc-mode) | 1615 | (with-current-buffer buf |
| 1600 | (or (not proc) | 1616 | (and (eq major-mode 'erc-mode) |
| 1601 | (eq proc erc-server-process)) | 1617 | (or (not proc) |
| 1602 | (funcall predicate) | 1618 | (eq proc erc-server-process)) |
| 1603 | buf))) | 1619 | (funcall predicate) |
| 1620 | buf)))) | ||
| 1604 | (buffer-list))))) | 1621 | (buffer-list))))) |
| 1605 | 1622 | ||
| 1606 | (defun erc-buffer-list (&optional predicate proc) | 1623 | (defun erc-buffer-list (&optional predicate proc) |
| @@ -1760,11 +1777,12 @@ removed from the list will be disabled." | |||
| 1760 | :greedy t | 1777 | :greedy t |
| 1761 | (const :tag "Set away status automatically" autoaway) | 1778 | (const :tag "Set away status automatically" autoaway) |
| 1762 | (const :tag "Join channels automatically" autojoin) | 1779 | (const :tag "Join channels automatically" autojoin) |
| 1763 | (const :tag "Integrate with Big Brother Database" bbdb) | ||
| 1764 | (const :tag "Buttonize URLs, nicknames, and other text" button) | 1780 | (const :tag "Buttonize URLs, nicknames, and other text" button) |
| 1765 | (const :tag "Wrap long lines" fill) | 1781 | (const :tag "Wrap long lines" fill) |
| 1782 | (const :tag "Launch an identd server on port 8113" identd) | ||
| 1766 | (const :tag "Highlight or remove IRC control characters" | 1783 | (const :tag "Highlight or remove IRC control characters" |
| 1767 | irccontrols) | 1784 | irccontrols) |
| 1785 | (const :tag "List channels in a separate buffer" list) | ||
| 1768 | (const :tag "Save buffers in logs" log) | 1786 | (const :tag "Save buffers in logs" log) |
| 1769 | (const :tag "Highlight pals, fools, and other keywords" match) | 1787 | (const :tag "Highlight pals, fools, and other keywords" match) |
| 1770 | (const :tag "Detect netsplits" netsplit) | 1788 | (const :tag "Detect netsplits" netsplit) |
| @@ -1776,6 +1794,7 @@ removed from the list will be disabled." | |||
| 1776 | (const :tag "Complete nicknames and commands (programmable)" | 1794 | (const :tag "Complete nicknames and commands (programmable)" |
| 1777 | completion) | 1795 | completion) |
| 1778 | (const :tag "Complete nicknames and commands (old)" hecomplete) | 1796 | (const :tag "Complete nicknames and commands (old)" hecomplete) |
| 1797 | (const :tag "Process CTCP PAGE requests from IRC" page) | ||
| 1779 | (const :tag "Make displayed lines read-only" readonly) | 1798 | (const :tag "Make displayed lines read-only" readonly) |
| 1780 | (const :tag "Replace text in messages" replace) | 1799 | (const :tag "Replace text in messages" replace) |
| 1781 | (const :tag "Enable an input history" ring) | 1800 | (const :tag "Enable an input history" ring) |
| @@ -2063,10 +2082,12 @@ Non-interactively, it takes keyword arguments | |||
| 2063 | (full-name (erc-compute-full-name))) | 2082 | (full-name (erc-compute-full-name))) |
| 2064 | 2083 | ||
| 2065 | That is, if called with | 2084 | That is, if called with |
| 2085 | |||
| 2066 | (erc-select :server \"irc.freenode.net\" :full-name \"Harry S Truman\") | 2086 | (erc-select :server \"irc.freenode.net\" :full-name \"Harry S Truman\") |
| 2087 | |||
| 2067 | server and full-name will be set to those values, whereas | 2088 | server and full-name will be set to those values, whereas |
| 2068 | erc-compute-port, erc-compute-nick and erc-compute-full-name will | 2089 | `erc-compute-port', `erc-compute-nick' and `erc-compute-full-name' will |
| 2069 | be invoked for those parameters' values" | 2090 | be invoked for the values of the other parameters." |
| 2070 | (interactive (erc-select-read-args)) | 2091 | (interactive (erc-select-read-args)) |
| 2071 | 2092 | ||
| 2072 | (run-hook-with-args 'erc-before-connect server port nick) | 2093 | (run-hook-with-args 'erc-before-connect server port nick) |
| @@ -3047,8 +3068,8 @@ If S is non-nil, it will be used as the quit reason." | |||
| 3047 | (cond | 3068 | (cond |
| 3048 | ((functionp res) (funcall res)) | 3069 | ((functionp res) (funcall res)) |
| 3049 | ((stringp res) res) | 3070 | ((stringp res) res) |
| 3050 | ;; hopefully never reached | 3071 | (s s) |
| 3051 | (s)))) | 3072 | (t (erc-quit-reason-normal))))) |
| 3052 | 3073 | ||
| 3053 | (defun erc-part-reason-normal (&optional s) | 3074 | (defun erc-part-reason-normal (&optional s) |
| 3054 | "Normal part message. | 3075 | "Normal part message. |
| @@ -3074,7 +3095,8 @@ If S is non-nil, it will be used as the quit reason." | |||
| 3074 | (cond | 3095 | (cond |
| 3075 | ((functionp res) (funcall res)) | 3096 | ((functionp res) (funcall res)) |
| 3076 | ((stringp res) res) | 3097 | ((stringp res) res) |
| 3077 | (s)))) | 3098 | (s s) |
| 3099 | (t (erc-part-reason-normal))))) | ||
| 3078 | 3100 | ||
| 3079 | (defun erc-cmd-QUIT (reason) | 3101 | (defun erc-cmd-QUIT (reason) |
| 3080 | "Disconnect from the current server. | 3102 | "Disconnect from the current server. |
| @@ -3713,7 +3735,7 @@ E.g. \"Read error to Nick [user@some.host]: 110\" would be shortened to | |||
| 3713 | "If NICK is unavailable, tell the user the REASON. | 3735 | "If NICK is unavailable, tell the user the REASON. |
| 3714 | 3736 | ||
| 3715 | See also `erc-display-error-notice'." | 3737 | See also `erc-display-error-notice'." |
| 3716 | (if (or erc-manual-set-nick-on-bad-nick-p | 3738 | (if (or (not erc-try-new-nick-p) |
| 3717 | ;; how many default-nicks are left + one more try... | 3739 | ;; how many default-nicks are left + one more try... |
| 3718 | (eq erc-nick-change-attempt-count | 3740 | (eq erc-nick-change-attempt-count |
| 3719 | (if (consp erc-nick) | 3741 | (if (consp erc-nick) |
| @@ -3735,12 +3757,13 @@ See also `erc-display-error-notice'." | |||
| 3735 | (setq newnick (concat (truncate-string-to-width | 3757 | (setq newnick (concat (truncate-string-to-width |
| 3736 | nick | 3758 | nick |
| 3737 | (if (and erc-server-connected nicklen) | 3759 | (if (and erc-server-connected nicklen) |
| 3738 | (- (string-to-number nicklen) 1) | 3760 | (- (string-to-number nicklen) |
| 3761 | (length erc-nick-uniquifier)) | ||
| 3739 | ;; rfc2812 max nick length = 9 | 3762 | ;; rfc2812 max nick length = 9 |
| 3740 | ;; we must assume this is the | 3763 | ;; we must assume this is the |
| 3741 | ;; server's setting if we haven't | 3764 | ;; server's setting if we haven't |
| 3742 | ;; established a connection yet | 3765 | ;; established a connection yet |
| 3743 | 8)) | 3766 | (- 9 (length erc-nick-uniquifier)))) |
| 3744 | erc-nick-uniquifier))) | 3767 | erc-nick-uniquifier))) |
| 3745 | (erc-cmd-NICK newnick) | 3768 | (erc-cmd-NICK newnick) |
| 3746 | (erc-display-error-notice | 3769 | (erc-display-error-notice |
| @@ -5098,13 +5121,16 @@ If ARG is non-nil and not positive, turns CTCP replies off." | |||
| 5098 | (defun erc-toggle-flood-control (&optional arg) | 5121 | (defun erc-toggle-flood-control (&optional arg) |
| 5099 | "Toggle use of flood control on sent messages. | 5122 | "Toggle use of flood control on sent messages. |
| 5100 | 5123 | ||
| 5101 | If ARG is non-nil, use flood control. | 5124 | If ARG is positive, use flood control. |
| 5102 | If ARG is nil, do not use flood control. | 5125 | If ARG is non-nil and not positive, do not use flood control. |
| 5103 | 5126 | ||
| 5104 | See `erc-server-flood-margin' for an explanation of the available | 5127 | See `erc-server-flood-margin' for an explanation of the available |
| 5105 | flood control parameters." | 5128 | flood control parameters." |
| 5106 | (interactive "P") | 5129 | (interactive "P") |
| 5107 | (setq erc-flood-protect arg) | 5130 | (cond ((and (numberp arg) (> arg 0)) |
| 5131 | (setq erc-flood-protect t)) | ||
| 5132 | (arg (setq erc-flood-protect nil)) | ||
| 5133 | (t (setq erc-flood-protect (not erc-flood-protect)))) | ||
| 5108 | (message "ERC flood control is %s" | 5134 | (message "ERC flood control is %s" |
| 5109 | (cond (erc-flood-protect "ON") | 5135 | (cond (erc-flood-protect "ON") |
| 5110 | (t "OFF")))) | 5136 | (t "OFF")))) |
| @@ -5130,10 +5156,10 @@ This command is sent even if excess flood is detected." | |||
| 5130 | 5156 | ||
| 5131 | (defun erc-get-channel-mode-from-keypress (key) | 5157 | (defun erc-get-channel-mode-from-keypress (key) |
| 5132 | "Read a key sequence and call the corresponding channel mode function. | 5158 | "Read a key sequence and call the corresponding channel mode function. |
| 5133 | After doing C-c C-o type in a channel mode letter. | 5159 | After doing C-c C-o, type in a channel mode letter. |
| 5134 | 5160 | ||
| 5135 | C-g means quit. | 5161 | C-g means quit. |
| 5136 | RET let's you type more than one mode at a time. | 5162 | RET lets you type more than one mode at a time. |
| 5137 | If \"l\" is pressed, `erc-set-channel-limit' gets called. | 5163 | If \"l\" is pressed, `erc-set-channel-limit' gets called. |
| 5138 | If \"k\" is pressed, `erc-set-channel-key' gets called. | 5164 | If \"k\" is pressed, `erc-set-channel-key' gets called. |
| 5139 | Anything else will be sent to `erc-toggle-channel-mode'." | 5165 | Anything else will be sent to `erc-toggle-channel-mode'." |
| @@ -5384,28 +5410,28 @@ Sets the buffer local variables: | |||
| 5384 | (defun erc-compute-server (&optional server) | 5410 | (defun erc-compute-server (&optional server) |
| 5385 | "Return an IRC server name. | 5411 | "Return an IRC server name. |
| 5386 | 5412 | ||
| 5387 | Tries a number of increasingly more default methods until a non-nil value is | 5413 | This tries a number of increasingly more default methods until a |
| 5388 | found: | 5414 | non-nil value is found. |
| 5389 | 5415 | ||
| 5390 | - SERVER | 5416 | - SERVER (the argument passwd to this function) |
| 5391 | - `erc-server' | 5417 | - The `erc-server' option |
| 5392 | - The value of the IRCSERVER environment variable | 5418 | - The value of the IRCSERVER environment variable |
| 5393 | - `erc-default-server'." | 5419 | - The `erc-default-server' variable" |
| 5394 | (or server | 5420 | (or server |
| 5395 | erc-server | 5421 | erc-server |
| 5396 | (getenv "IRCSERVER") | 5422 | (getenv "IRCSERVER") |
| 5397 | erc-default-server)) | 5423 | erc-default-server)) |
| 5398 | 5424 | ||
| 5399 | (defun erc-compute-nick (&optional nick) | 5425 | (defun erc-compute-nick (&optional nick) |
| 5400 | "Return user's NICK. | 5426 | "Return user's IRC nick. |
| 5401 | 5427 | ||
| 5402 | Tries a number of increasingly more default methods until a non-nil value is | 5428 | This tries a number of increasingly more default methods until a |
| 5403 | found: | 5429 | non-nil value is found. |
| 5404 | 5430 | ||
| 5405 | - NICK | 5431 | - NICK (the argument passed to this function) |
| 5406 | - `erc-nick' | 5432 | - The `erc-nick' option |
| 5407 | - The value of the IRCNICK environment variable | 5433 | - The value of the IRCNICK environment variable |
| 5408 | - via the function `user-login-name'." | 5434 | - The result from the `user-login-name' function" |
| 5409 | (or nick | 5435 | (or nick |
| 5410 | (if (consp erc-nick) (car erc-nick) erc-nick) | 5436 | (if (consp erc-nick) (car erc-nick) erc-nick) |
| 5411 | (getenv "IRCNICK") | 5437 | (getenv "IRCNICK") |
| @@ -5413,15 +5439,15 @@ found: | |||
| 5413 | 5439 | ||
| 5414 | 5440 | ||
| 5415 | (defun erc-compute-full-name (&optional full-name) | 5441 | (defun erc-compute-full-name (&optional full-name) |
| 5416 | "Return user's FULL-NAME. | 5442 | "Return user's full name. |
| 5417 | 5443 | ||
| 5418 | Tries a number of increasingly more default methods until a non-nil value is | 5444 | This tries a number of increasingly more default methods until a |
| 5419 | found: | 5445 | non-nil value is found. |
| 5420 | 5446 | ||
| 5421 | - FULL-NAME | 5447 | - FULL-NAME (the argument passed to this function) |
| 5422 | - `erc-user-full-name' | 5448 | - The `erc-user-full-name' option |
| 5423 | - The value of the IRCNAME environment variable | 5449 | - The value of the IRCNAME environment variable |
| 5424 | - via the function `user-full-name'." | 5450 | - The result from the `user-full-name' function" |
| 5425 | (or full-name | 5451 | (or full-name |
| 5426 | erc-user-full-name | 5452 | erc-user-full-name |
| 5427 | (getenv "IRCNAME") | 5453 | (getenv "IRCNAME") |
| @@ -5431,12 +5457,13 @@ found: | |||
| 5431 | (defun erc-compute-port (&optional port) | 5457 | (defun erc-compute-port (&optional port) |
| 5432 | "Return a port for an IRC server. | 5458 | "Return a port for an IRC server. |
| 5433 | 5459 | ||
| 5434 | Tries a number of increasingly more default methods until a non-nil | 5460 | This tries a number of increasingly more default methods until a |
| 5435 | value is found: | 5461 | non-nil value is found. |
| 5436 | 5462 | ||
| 5437 | - PORT | 5463 | - PORT (the argument passed to this function) |
| 5438 | - \"ircd\"." | 5464 | - The `erc-port' option |
| 5439 | (or port erc-port "ircd")) | 5465 | - The `erc-default-port' variable" |
| 5466 | (or port erc-port erc-default-port)) | ||
| 5440 | 5467 | ||
| 5441 | ;; time routines | 5468 | ;; time routines |
| 5442 | 5469 | ||
| @@ -5818,26 +5845,6 @@ If optional argument HERE is non-nil, insert version number at point." | |||
| 5818 | (message "%s" version-string) | 5845 | (message "%s" version-string) |
| 5819 | version-string)))) | 5846 | version-string)))) |
| 5820 | 5847 | ||
| 5821 | (defun erc-version-modules (&optional here) | ||
| 5822 | "Show the version numbers of all loaded ERC modules in the minibuffer. | ||
| 5823 | If optional argument HERE is non-nil, insert version number at point." | ||
| 5824 | (interactive "P") | ||
| 5825 | (let ((version-string | ||
| 5826 | (mapconcat 'identity | ||
| 5827 | (let (versions (case-fold-search nil)) | ||
| 5828 | (dolist (var (apropos-internal "^erc-.*version$")) | ||
| 5829 | (when (and (boundp var) | ||
| 5830 | (stringp (symbol-value var))) | ||
| 5831 | (setq versions (cons (format "%S: %s" | ||
| 5832 | var (symbol-value var)) | ||
| 5833 | versions)))) | ||
| 5834 | versions) ", "))) | ||
| 5835 | (if here | ||
| 5836 | (insert version-string) | ||
| 5837 | (if (interactive-p) | ||
| 5838 | (message "%s" version-string) | ||
| 5839 | version-string)))) | ||
| 5840 | |||
| 5841 | (defun erc-modes (&optional here) | 5848 | (defun erc-modes (&optional here) |
| 5842 | "Show the active ERC modes in the minibuffer. | 5849 | "Show the active ERC modes in the minibuffer. |
| 5843 | If optional argument HERE is non-nil, insert version number at point." | 5850 | If optional argument HERE is non-nil, insert version number at point." |
| @@ -5858,32 +5865,6 @@ If optional argument HERE is non-nil, insert version number at point." | |||
| 5858 | (message "%s" string) | 5865 | (message "%s" string) |
| 5859 | string)))) | 5866 | string)))) |
| 5860 | 5867 | ||
| 5861 | (defun erc-latest-version () | ||
| 5862 | "Retrieve the latest erc.el version from CVS." | ||
| 5863 | (interactive) | ||
| 5864 | (if (ignore-errors (require 'url)) | ||
| 5865 | (progn | ||
| 5866 | (switch-to-buffer (get-buffer-create "*erc.el latest version*")) | ||
| 5867 | (delete-region (point-min) (point-max)) | ||
| 5868 | (kill-all-local-variables) | ||
| 5869 | (url-insert-file-contents (concat | ||
| 5870 | "http://cvs.sourceforge.net/viewcvs.py/" | ||
| 5871 | "*checkout*/erc/erc/erc.el?content-type" | ||
| 5872 | "=text%2Fplain&rev=HEAD")) | ||
| 5873 | (emacs-lisp-mode) | ||
| 5874 | (current-buffer)) | ||
| 5875 | (error "URL needs to be installed"))) | ||
| 5876 | |||
| 5877 | (defun erc-ediff-latest-version () | ||
| 5878 | "Ediff your installed erc.el with the latest CVS version. | ||
| 5879 | See also `erc-latest-version'." | ||
| 5880 | (interactive) | ||
| 5881 | (let ((current (locate-library "erc.el"))) | ||
| 5882 | (if current | ||
| 5883 | (ediff-buffers (find-file current) | ||
| 5884 | (erc-latest-version)) | ||
| 5885 | (error "You do not appear to have the uncompiled erc.el file")))) | ||
| 5886 | |||
| 5887 | (defun erc-trim-string (s) | 5868 | (defun erc-trim-string (s) |
| 5888 | "Trim leading and trailing spaces off S." | 5869 | "Trim leading and trailing spaces off S." |
| 5889 | (cond | 5870 | (cond |
| @@ -6184,6 +6165,29 @@ This function should be on `erc-kill-channel-hook'." | |||
| 6184 | (and vect | 6165 | (and vect |
| 6185 | (erc-response.command vect))) | 6166 | (erc-response.command vect))) |
| 6186 | 6167 | ||
| 6168 | ;; Teach url.el how to open irc:// URLs with ERC. | ||
| 6169 | ;; To activate, customize `url-irc-function' to `url-irc-erc'. | ||
| 6170 | |||
| 6171 | ;;;###autoload | ||
| 6172 | (defun erc-handle-irc-url (host port channel user password) | ||
| 6173 | "Use ERC to IRC on HOST:PORT in CHANNEL as USER with PASSWORD. | ||
| 6174 | If ERC is already connected to HOST:PORT, simply /join CHANNEL. | ||
| 6175 | Otherwise, connect to HOST:PORT as USER and /join CHANNEL." | ||
| 6176 | (let ((server-buffer | ||
| 6177 | (car (erc-buffer-filter | ||
| 6178 | (lambda () | ||
| 6179 | (and (string-equal erc-session-server host) | ||
| 6180 | (= erc-session-port port) | ||
| 6181 | erc-server-connected | ||
| 6182 | (eq (erc-server-buffer) (current-buffer)))))))) | ||
| 6183 | (with-current-buffer (or server-buffer (current-buffer)) | ||
| 6184 | (if (and server-buffer channel) | ||
| 6185 | (erc-cmd-JOIN channel) | ||
| 6186 | (erc host port (or user (erc-compute-nick)) (erc-compute-full-name) | ||
| 6187 | (not server-buffer) password nil channel | ||
| 6188 | (when server-buffer | ||
| 6189 | (get-buffer-process server-buffer))))))) | ||
| 6190 | |||
| 6187 | (provide 'erc) | 6191 | (provide 'erc) |
| 6188 | 6192 | ||
| 6189 | ;;; Deprecated. We might eventually stop requiring the goodies automatically. | 6193 | ;;; Deprecated. We might eventually stop requiring the goodies automatically. |
diff --git a/lisp/facemenu.el b/lisp/facemenu.el index 5478cf12b8c..a8d8ea9a4b5 100644 --- a/lisp/facemenu.el +++ b/lisp/facemenu.el | |||
| @@ -67,8 +67,8 @@ | |||
| 67 | ;; | 67 | ;; |
| 68 | ;; The order of the faces that appear in the menu and their keybindings can be | 68 | ;; The order of the faces that appear in the menu and their keybindings can be |
| 69 | ;; controlled by setting the variables `facemenu-keybindings' and | 69 | ;; controlled by setting the variables `facemenu-keybindings' and |
| 70 | ;; `facemenu-new-faces-at-end'. List faces that you don't use in documents | 70 | ;; `facemenu-new-faces-at-end'. List faces that you want to use in documents |
| 71 | ;; (eg, `region') in `facemenu-unlisted-faces'. | 71 | ;; in `facemenu-listed-faces'. |
| 72 | 72 | ||
| 73 | ;;; Known Problems: | 73 | ;;; Known Problems: |
| 74 | ;; Bold and Italic do not combine to create bold-italic if you select them | 74 | ;; Bold and Italic do not combine to create bold-italic if you select them |
| @@ -116,9 +116,9 @@ the next element is the key to use as a keyboard equivalent of the menu item; | |||
| 116 | the binding is made in `facemenu-keymap'. | 116 | the binding is made in `facemenu-keymap'. |
| 117 | 117 | ||
| 118 | The faces specifically mentioned in this list are put at the top of | 118 | The faces specifically mentioned in this list are put at the top of |
| 119 | the menu, in the order specified. All other faces which are defined, | 119 | the menu, in the order specified. All other faces which are defined |
| 120 | except for those in `facemenu-unlisted-faces', are listed after them, | 120 | in `facemenu-listed-faces' are listed after them, but get no |
| 121 | but get no keyboard equivalents. | 121 | keyboard equivalents. |
| 122 | 122 | ||
| 123 | If you change this variable after loading facemenu.el, you will need to call | 123 | If you change this variable after loading facemenu.el, you will need to call |
| 124 | `facemenu-update' to make it take effect." | 124 | `facemenu-update' to make it take effect." |
| @@ -132,28 +132,25 @@ just before \"Other\" at the end." | |||
| 132 | :type 'boolean | 132 | :type 'boolean |
| 133 | :group 'facemenu) | 133 | :group 'facemenu) |
| 134 | 134 | ||
| 135 | (defcustom facemenu-unlisted-faces | 135 | (defcustom facemenu-listed-faces nil |
| 136 | `(modeline region secondary-selection highlight scratch-face | 136 | "*List of faces to include in the Face menu. |
| 137 | ,(purecopy "^font-lock-") ,(purecopy "^gnus-") ,(purecopy "^message-") | 137 | Each element should be a symbol, which is the name of a face. |
| 138 | ,(purecopy "^ediff-") ,(purecopy "^term-") ,(purecopy "^vc-") | 138 | The \"basic \" faces in `facemenu-keybindings' are automatically |
| 139 | ,(purecopy "^widget-") ,(purecopy "^custom-") ,(purecopy "^vm-")) | 139 | added to the Face menu, and are not included in this list. |
| 140 | "*List of faces not to include in the Face menu. | ||
| 141 | Each element may be either a symbol, which is the name of a face, or a string, | ||
| 142 | which is a regular expression to be matched against face names. Matching | ||
| 143 | faces will not be added to the menu. | ||
| 144 | 140 | ||
| 145 | You can set this list before loading facemenu.el, or add a face to it before | 141 | You can set this list before loading facemenu.el, or add a face to it before |
| 146 | creating that face if you do not want it to be listed. If you change the | 142 | creating that face if you want it to be listed. If you change the |
| 147 | variable so as to eliminate faces that have already been added to the menu, | 143 | variable so as to eliminate faces that have already been added to the menu, |
| 148 | call `facemenu-update' to recalculate the menu contents. | 144 | call `facemenu-update' to recalculate the menu contents. |
| 149 | 145 | ||
| 150 | If this variable is t, no faces will be added to the menu. This is useful for | 146 | If this variable is t, all faces will be added to the menu. This |
| 151 | temporarily turning off the feature that automatically adds faces to the menu | 147 | is useful for setting temporarily if you want to add faces to the |
| 152 | when they are created." | 148 | menu when they are created." |
| 153 | :type '(choice (const :tag "Don't add faces" t) | 149 | :type '(choice (const :tag "List all faces" t) |
| 154 | (const :tag "None (do add any face)" nil) | 150 | (const :tag "None" nil) |
| 155 | (repeat (choice symbol regexp))) | 151 | (repeat symbol)) |
| 156 | :group 'facemenu) | 152 | :group 'facemenu |
| 153 | :version "22.1") | ||
| 157 | 154 | ||
| 158 | ;;;###autoload | 155 | ;;;###autoload |
| 159 | (defvar facemenu-face-menu | 156 | (defvar facemenu-face-menu |
| @@ -675,18 +672,13 @@ This is called whenever you create a new face." | |||
| 675 | (setq docstring | 672 | (setq docstring |
| 676 | (format "Select face `%s' for subsequent insertion." | 673 | (format "Select face `%s' for subsequent insertion." |
| 677 | name)) | 674 | name)) |
| 678 | (cond ((eq t facemenu-unlisted-faces)) | 675 | (cond ((facemenu-iterate ; check if equivalent face is already in the menu |
| 679 | ((memq symbol facemenu-unlisted-faces)) | 676 | (lambda (m) (and (listp m) |
| 680 | ;; test against regexps in facemenu-unlisted-faces | 677 | (symbolp (car m)) |
| 681 | ((let ((unlisted facemenu-unlisted-faces) | 678 | (face-equal (car m) symbol))) |
| 682 | (matched nil)) | 679 | (cdr (symbol-function menu)))) |
| 683 | (while (and unlisted (not matched)) | 680 | ;; Faces with a keyboard equivalent. These go at the front. |
| 684 | (if (and (stringp (car unlisted)) | 681 | (key |
| 685 | (string-match (car unlisted) name)) | ||
| 686 | (setq matched t) | ||
| 687 | (setq unlisted (cdr unlisted)))) | ||
| 688 | matched)) | ||
| 689 | (key ; has a keyboard equivalent. These go at the front. | ||
| 690 | (setq function (intern (concat "facemenu-set-" name))) | 682 | (setq function (intern (concat "facemenu-set-" name))) |
| 691 | (fset function | 683 | (fset function |
| 692 | `(lambda () | 684 | `(lambda () |
| @@ -700,17 +692,14 @@ This is called whenever you create a new face." | |||
| 700 | (region-end))))) | 692 | (region-end))))) |
| 701 | (define-key 'facemenu-keymap key (cons name function)) | 693 | (define-key 'facemenu-keymap key (cons name function)) |
| 702 | (define-key menu key (cons name function))) | 694 | (define-key menu key (cons name function))) |
| 703 | ((facemenu-iterate ; check if equivalent face is already in the menu | 695 | ;; Faces with no keyboard equivalent. Figure out where to put it: |
| 704 | (lambda (m) (and (listp m) | 696 | ((or (eq t facemenu-listed-faces) |
| 705 | (symbolp (car m)) | 697 | (memq symbol facemenu-listed-faces)) |
| 706 | (face-equal (car m) symbol))) | ||
| 707 | (cdr (symbol-function menu)))) | ||
| 708 | (t ; No keyboard equivalent. Figure out where to put it: | ||
| 709 | (setq key (vector symbol) | 698 | (setq key (vector symbol) |
| 710 | function 'facemenu-set-face-from-menu | 699 | function 'facemenu-set-face-from-menu |
| 711 | menu-val (symbol-function menu)) | 700 | menu-val (symbol-function menu)) |
| 712 | (if (and facemenu-new-faces-at-end | 701 | (if (and facemenu-new-faces-at-end |
| 713 | (> (length menu-val) 3)) | 702 | (> (length menu-val) 3)) |
| 714 | (define-key-after menu-val key (cons name function) | 703 | (define-key-after menu-val key (cons name function) |
| 715 | (car (nth (- (length menu-val) 3) menu-val))) | 704 | (car (nth (- (length menu-val) 3) menu-val))) |
| 716 | (define-key menu key (cons name function)))))) | 705 | (define-key menu key (cons name function)))))) |
diff --git a/lisp/faces.el b/lisp/faces.el index 9c6cff294b9..f501e0054d1 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -859,10 +859,11 @@ of the default face. Value is FACE." | |||
| 859 | 859 | ||
| 860 | (defun read-face-name (prompt &optional string-describing-default multiple) | 860 | (defun read-face-name (prompt &optional string-describing-default multiple) |
| 861 | "Read a face, defaulting to the face or faces on the char after point. | 861 | "Read a face, defaulting to the face or faces on the char after point. |
| 862 | If it has a `read-face-name' property, that overrides the `face' property. | 862 | If it has the property `read-face-name', that overrides the `face' property. |
| 863 | PROMPT describes what you will do with the face (don't end in a space). | 863 | PROMPT should be a string that describes what the caller will do with the face; |
| 864 | STRING-DESCRIBING-DEFAULT describes what default you will use | 864 | it should not end in a space. |
| 865 | if this function returns nil. | 865 | STRING-DESCRIBING-DEFAULT should describe what default the caller will use if |
| 866 | the user just types RET; you can omit it. | ||
| 866 | If MULTIPLE is non-nil, return a list of faces (possibly only one). | 867 | If MULTIPLE is non-nil, return a list of faces (possibly only one). |
| 867 | Otherwise, return a single face." | 868 | Otherwise, return a single face." |
| 868 | (let ((faceprop (or (get-char-property (point) 'read-face-name) | 869 | (let ((faceprop (or (get-char-property (point) 'read-face-name) |
diff --git a/lisp/files.el b/lisp/files.el index 8940b687246..315c11de529 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -488,7 +488,7 @@ This variable does not affect the use of major modes | |||
| 488 | specified in a -*- line.") | 488 | specified in a -*- line.") |
| 489 | 489 | ||
| 490 | (defcustom enable-local-eval 'maybe | 490 | (defcustom enable-local-eval 'maybe |
| 491 | "*Control processing of the \"variable\" `eval' in a file's local variables. | 491 | "Control processing of the \"variable\" `eval' in a file's local variables. |
| 492 | The value can be t, nil or something else. | 492 | The value can be t, nil or something else. |
| 493 | A value of t means obey `eval' variables; | 493 | A value of t means obey `eval' variables; |
| 494 | nil means ignore them; anything else means query." | 494 | nil means ignore them; anything else means query." |
| @@ -691,7 +691,7 @@ PATH-AND-SUFFIXES is a pair of lists, (DIRECTORIES . SUFFIXES)." | |||
| 691 | (when (file-directory-p dir) | 691 | (when (file-directory-p dir) |
| 692 | (dolist (file (file-name-all-completions | 692 | (dolist (file (file-name-all-completions |
| 693 | (file-name-nondirectory string) dir)) | 693 | (file-name-nondirectory string) dir)) |
| 694 | (push (if string-dir (concat string-dir file) file) names) | 694 | (add-to-list 'names (if string-dir (concat string-dir file) file)) |
| 695 | (when (string-match suffix file) | 695 | (when (string-match suffix file) |
| 696 | (setq file (substring file 0 (match-beginning 0))) | 696 | (setq file (substring file 0 (match-beginning 0))) |
| 697 | (push (if string-dir (concat string-dir file) file) names))))) | 697 | (push (if string-dir (concat string-dir file) file) names))))) |
| @@ -1192,7 +1192,11 @@ If the current buffer now contains an empty file that you just visited | |||
| 1192 | \(presumably by mistake), use this command to visit the file you really want. | 1192 | \(presumably by mistake), use this command to visit the file you really want. |
| 1193 | 1193 | ||
| 1194 | Interactively, or if WILDCARDS is non-nil in a call from Lisp, | 1194 | Interactively, or if WILDCARDS is non-nil in a call from Lisp, |
| 1195 | expand wildcards (if any) and replace the file with multiple files." | 1195 | expand wildcards (if any) and replace the file with multiple files. |
| 1196 | |||
| 1197 | If the current buffer is an indirect buffer, or the base buffer | ||
| 1198 | for one or more indirect buffers, the other buffer(s) are not | ||
| 1199 | killed." | ||
| 1196 | (interactive | 1200 | (interactive |
| 1197 | (let ((file buffer-file-name) | 1201 | (let ((file buffer-file-name) |
| 1198 | (file-name nil) | 1202 | (file-name nil) |
| @@ -1275,48 +1279,49 @@ Choose the buffer's name using `generate-new-buffer-name'." | |||
| 1275 | This also substitutes \"~\" for the user's home directory and | 1279 | This also substitutes \"~\" for the user's home directory and |
| 1276 | removes automounter prefixes (see the variable `automount-dir-prefix')." | 1280 | removes automounter prefixes (see the variable `automount-dir-prefix')." |
| 1277 | ;; Get rid of the prefixes added by the automounter. | 1281 | ;; Get rid of the prefixes added by the automounter. |
| 1278 | (if (and automount-dir-prefix | 1282 | (save-match-data |
| 1279 | (string-match automount-dir-prefix filename) | 1283 | (if (and automount-dir-prefix |
| 1280 | (file-exists-p (file-name-directory | 1284 | (string-match automount-dir-prefix filename) |
| 1281 | (substring filename (1- (match-end 0)))))) | 1285 | (file-exists-p (file-name-directory |
| 1282 | (setq filename (substring filename (1- (match-end 0))))) | 1286 | (substring filename (1- (match-end 0)))))) |
| 1283 | (let ((tail directory-abbrev-alist)) | 1287 | (setq filename (substring filename (1- (match-end 0))))) |
| 1284 | ;; If any elt of directory-abbrev-alist matches this name, | 1288 | (let ((tail directory-abbrev-alist)) |
| 1285 | ;; abbreviate accordingly. | 1289 | ;; If any elt of directory-abbrev-alist matches this name, |
| 1286 | (while tail | 1290 | ;; abbreviate accordingly. |
| 1287 | (if (string-match (car (car tail)) filename) | 1291 | (while tail |
| 1292 | (if (string-match (car (car tail)) filename) | ||
| 1293 | (setq filename | ||
| 1294 | (concat (cdr (car tail)) (substring filename (match-end 0))))) | ||
| 1295 | (setq tail (cdr tail))) | ||
| 1296 | ;; Compute and save the abbreviated homedir name. | ||
| 1297 | ;; We defer computing this until the first time it's needed, to | ||
| 1298 | ;; give time for directory-abbrev-alist to be set properly. | ||
| 1299 | ;; We include a slash at the end, to avoid spurious matches | ||
| 1300 | ;; such as `/usr/foobar' when the home dir is `/usr/foo'. | ||
| 1301 | (or abbreviated-home-dir | ||
| 1302 | (setq abbreviated-home-dir | ||
| 1303 | (let ((abbreviated-home-dir "$foo")) | ||
| 1304 | (concat "^" (abbreviate-file-name (expand-file-name "~")) | ||
| 1305 | "\\(/\\|$\\)")))) | ||
| 1306 | |||
| 1307 | ;; If FILENAME starts with the abbreviated homedir, | ||
| 1308 | ;; make it start with `~' instead. | ||
| 1309 | (if (and (string-match abbreviated-home-dir filename) | ||
| 1310 | ;; If the home dir is just /, don't change it. | ||
| 1311 | (not (and (= (match-end 0) 1) | ||
| 1312 | (= (aref filename 0) ?/))) | ||
| 1313 | ;; MS-DOS root directories can come with a drive letter; | ||
| 1314 | ;; Novell Netware allows drive letters beyond `Z:'. | ||
| 1315 | (not (and (or (eq system-type 'ms-dos) | ||
| 1316 | (eq system-type 'cygwin) | ||
| 1317 | (eq system-type 'windows-nt)) | ||
| 1318 | (save-match-data | ||
| 1319 | (string-match "^[a-zA-`]:/$" filename))))) | ||
| 1288 | (setq filename | 1320 | (setq filename |
| 1289 | (concat (cdr (car tail)) (substring filename (match-end 0))))) | 1321 | (concat "~" |
| 1290 | (setq tail (cdr tail))) | 1322 | (match-string 1 filename) |
| 1291 | ;; Compute and save the abbreviated homedir name. | 1323 | (substring filename (match-end 0))))) |
| 1292 | ;; We defer computing this until the first time it's needed, to | 1324 | filename))) |
| 1293 | ;; give time for directory-abbrev-alist to be set properly. | ||
| 1294 | ;; We include a slash at the end, to avoid spurious matches | ||
| 1295 | ;; such as `/usr/foobar' when the home dir is `/usr/foo'. | ||
| 1296 | (or abbreviated-home-dir | ||
| 1297 | (setq abbreviated-home-dir | ||
| 1298 | (let ((abbreviated-home-dir "$foo")) | ||
| 1299 | (concat "^" (abbreviate-file-name (expand-file-name "~")) | ||
| 1300 | "\\(/\\|$\\)")))) | ||
| 1301 | |||
| 1302 | ;; If FILENAME starts with the abbreviated homedir, | ||
| 1303 | ;; make it start with `~' instead. | ||
| 1304 | (if (and (string-match abbreviated-home-dir filename) | ||
| 1305 | ;; If the home dir is just /, don't change it. | ||
| 1306 | (not (and (= (match-end 0) 1) | ||
| 1307 | (= (aref filename 0) ?/))) | ||
| 1308 | ;; MS-DOS root directories can come with a drive letter; | ||
| 1309 | ;; Novell Netware allows drive letters beyond `Z:'. | ||
| 1310 | (not (and (or (eq system-type 'ms-dos) | ||
| 1311 | (eq system-type 'cygwin) | ||
| 1312 | (eq system-type 'windows-nt)) | ||
| 1313 | (save-match-data | ||
| 1314 | (string-match "^[a-zA-`]:/$" filename))))) | ||
| 1315 | (setq filename | ||
| 1316 | (concat "~" | ||
| 1317 | (substring filename (match-beginning 1) (match-end 1)) | ||
| 1318 | (substring filename (match-end 0))))) | ||
| 1319 | filename)) | ||
| 1320 | 1325 | ||
| 1321 | (defcustom find-file-not-true-dirname-list nil | 1326 | (defcustom find-file-not-true-dirname-list nil |
| 1322 | "*List of logical names for which visiting shouldn't save the true dirname. | 1327 | "*List of logical names for which visiting shouldn't save the true dirname. |
| @@ -1627,9 +1632,7 @@ Do you want to revisit the file normally now? ") | |||
| 1627 | (not (member logical find-file-not-true-dirname-list))) | 1632 | (not (member logical find-file-not-true-dirname-list))) |
| 1628 | (setq buffer-file-name buffer-file-truename)) | 1633 | (setq buffer-file-name buffer-file-truename)) |
| 1629 | (if find-file-visit-truename | 1634 | (if find-file-visit-truename |
| 1630 | (setq buffer-file-name | 1635 | (setq buffer-file-name (expand-file-name buffer-file-truename))) |
| 1631 | (setq filename | ||
| 1632 | (expand-file-name buffer-file-truename)))) | ||
| 1633 | ;; Set buffer's default directory to that of the file. | 1636 | ;; Set buffer's default directory to that of the file. |
| 1634 | (setq default-directory (file-name-directory buffer-file-name)) | 1637 | (setq default-directory (file-name-directory buffer-file-name)) |
| 1635 | ;; Turn off backup files for certain file names. Since | 1638 | ;; Turn off backup files for certain file names. Since |
| @@ -2437,11 +2440,9 @@ n -- to ignore the local variables list.") | |||
| 2437 | (insert " "))) | 2440 | (insert " "))) |
| 2438 | (princ (car elt) buf) | 2441 | (princ (car elt) buf) |
| 2439 | (insert " : ") | 2442 | (insert " : ") |
| 2440 | (if (stringp (cdr elt)) | 2443 | ;; Make strings with embedded whitespace easier to read. |
| 2441 | ;; Make strings with embedded whitespace easier to read. | 2444 | (let ((print-escape-newlines t)) |
| 2442 | (let ((print-escape-newlines t)) | 2445 | (prin1 (cdr elt) buf)) |
| 2443 | (prin1 (cdr elt) buf)) | ||
| 2444 | (princ (cdr elt) buf)) | ||
| 2445 | (insert "\n")) | 2446 | (insert "\n")) |
| 2446 | (setq prompt | 2447 | (setq prompt |
| 2447 | (format "Please type %s%s: " | 2448 | (format "Please type %s%s: " |
| @@ -2512,9 +2513,7 @@ and VAL is the specified value." | |||
| 2512 | ;; There used to be a downcase here, | 2513 | ;; There used to be a downcase here, |
| 2513 | ;; but the manual didn't say so, | 2514 | ;; but the manual didn't say so, |
| 2514 | ;; and people want to set var names that aren't all lc. | 2515 | ;; and people want to set var names that aren't all lc. |
| 2515 | (let ((key (intern (buffer-substring | 2516 | (let ((key (intern (match-string 1))) |
| 2516 | (match-beginning 1) | ||
| 2517 | (match-end 1)))) | ||
| 2518 | (val (save-restriction | 2517 | (val (save-restriction |
| 2519 | (narrow-to-region (point) end) | 2518 | (narrow-to-region (point) end) |
| 2520 | (read (current-buffer))))) | 2519 | (read (current-buffer))))) |
| @@ -2753,17 +2752,16 @@ It is dangerous if either of these conditions are met: | |||
| 2753 | (defun hack-one-local-variable (var val) | 2752 | (defun hack-one-local-variable (var val) |
| 2754 | "Set local variable VAR with value VAL." | 2753 | "Set local variable VAR with value VAL." |
| 2755 | (cond ((eq var 'mode) | 2754 | (cond ((eq var 'mode) |
| 2756 | (funcall (intern (concat (downcase (symbol-name val)) | 2755 | (funcall (intern (concat (downcase (symbol-name val)) "-mode")))) |
| 2757 | "-mode")))) | ||
| 2758 | ((eq var 'eval) | 2756 | ((eq var 'eval) |
| 2759 | (save-excursion (eval val))) | 2757 | (save-excursion (eval val))) |
| 2760 | (t (make-local-variable var) | 2758 | (t |
| 2761 | ;; Make sure the string has no text properties. | 2759 | ;; Make sure the string has no text properties. |
| 2762 | ;; Some text properties can get evaluated in various ways, | 2760 | ;; Some text properties can get evaluated in various ways, |
| 2763 | ;; so it is risky to put them on with a local variable list. | 2761 | ;; so it is risky to put them on with a local variable list. |
| 2764 | (if (stringp val) | 2762 | (if (stringp val) |
| 2765 | (set-text-properties 0 (length val) nil val)) | 2763 | (set-text-properties 0 (length val) nil val)) |
| 2766 | (set var val)))) | 2764 | (set (make-local-variable var) val)))) |
| 2767 | 2765 | ||
| 2768 | 2766 | ||
| 2769 | (defcustom change-major-mode-with-file-name t | 2767 | (defcustom change-major-mode-with-file-name t |
| @@ -4221,9 +4219,7 @@ This command is used in the special Dired buffer created by | |||
| 4221 | (setq autofile | 4219 | (setq autofile |
| 4222 | (buffer-substring-no-properties | 4220 | (buffer-substring-no-properties |
| 4223 | (point) | 4221 | (point) |
| 4224 | (save-excursion | 4222 | (line-end-position))) |
| 4225 | (end-of-line) | ||
| 4226 | (point)))) | ||
| 4227 | (setq thisfile | 4223 | (setq thisfile |
| 4228 | (expand-file-name | 4224 | (expand-file-name |
| 4229 | (substring | 4225 | (substring |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 1eec8b26fdf..825a8bce003 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2006-07-14 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> | ||
| 2 | |||
| 3 | * gnus-start.el (gnus-subscribe-options-newsgroup-method): Doc fix. | ||
| 4 | |||
| 5 | 2006-06-26 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 6 | |||
| 7 | * gnus-diary.el (gnus-user-format-function-d) | ||
| 8 | (gnus-user-format-function-D): Autoload. | ||
| 9 | |||
| 10 | 2006-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 11 | |||
| 12 | * gnus-group.el (gnus-group-select-group): Doc fix. | ||
| 13 | [ See 2004-05-19 change on the trunk. ] | ||
| 14 | |||
| 1 | 2006-06-20 Katsumi Yamaoka <yamaoka@jpl.org> | 15 | 2006-06-20 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 16 | ||
| 3 | * rfc2231.el (rfc2231-parse-string): Allow `*'s in parameter values. | 17 | * rfc2231.el (rfc2231-parse-string): Allow `*'s in parameter values. |
| @@ -165,8 +179,8 @@ | |||
| 165 | 179 | ||
| 166 | * mml.el (mml-mode, mml-dnd-protocol-alist) | 180 | * mml.el (mml-mode, mml-dnd-protocol-alist) |
| 167 | (mml-dnd-attach-options, mml-dnd-attach-file) | 181 | (mml-dnd-attach-options, mml-dnd-attach-file) |
| 168 | (mml-attach-file, mml-attach-buffer, mml-attach-external): Sync | 182 | (mml-attach-file, mml-attach-buffer, mml-attach-external): |
| 169 | DND support and use of message-in-body-p from the trunk. | 183 | Sync DND support and use of message-in-body-p from the trunk. |
| 170 | 184 | ||
| 171 | 2006-04-26 Katsumi Yamaoka <yamaoka@jpl.org> | 185 | 2006-04-26 Katsumi Yamaoka <yamaoka@jpl.org> |
| 172 | 186 | ||
| @@ -182,8 +196,7 @@ | |||
| 182 | 196 | ||
| 183 | 2006-04-25 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> | 197 | 2006-04-25 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> |
| 184 | 198 | ||
| 185 | * nnweb.el (nnweb-google-wash-article): Sync up to new Google | 199 | * nnweb.el (nnweb-google-wash-article): Sync up to new Google HTML. |
| 186 | HTML. | ||
| 187 | 200 | ||
| 188 | 2006-04-25 Katsumi Yamaoka <yamaoka@jpl.org> | 201 | 2006-04-25 Katsumi Yamaoka <yamaoka@jpl.org> |
| 189 | 202 | ||
| @@ -295,16 +308,14 @@ | |||
| 295 | * rfc2047.el (rfc2047-decode-encoded-words): Don't message about | 308 | * rfc2047.el (rfc2047-decode-encoded-words): Don't message about |
| 296 | unknown charset. | 309 | unknown charset. |
| 297 | 310 | ||
| 298 | * message.el (message-header-synonyms): Add Original-To to the | 311 | * message.el (message-header-synonyms): Add Original-To to the default. |
| 299 | default. | ||
| 300 | 312 | ||
| 301 | * gnus-sum.el (gnus-get-newsgroup-headers-xover): group is an | 313 | * gnus-sum.el (gnus-get-newsgroup-headers-xover): Group is an |
| 302 | optional parameter. | 314 | optional parameter. |
| 303 | 315 | ||
| 304 | 2006-04-07 Reiner Steib <Reiner.Steib@gmx.de> | 316 | 2006-04-07 Reiner Steib <Reiner.Steib@gmx.de> |
| 305 | 317 | ||
| 306 | * pgg-gpg.el: Revert to revision 7.15 to allow the use of | 318 | * pgg-gpg.el: Revert to revision 7.15 to allow the use of gpg-agent. |
| 307 | gpg-agent. | ||
| 308 | 319 | ||
| 309 | 2006-04-06 Reiner Steib <Reiner.Steib@gmx.de> | 320 | 2006-04-06 Reiner Steib <Reiner.Steib@gmx.de> |
| 310 | 321 | ||
| @@ -312,14 +323,13 @@ | |||
| 312 | 323 | ||
| 313 | 2006-04-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> | 324 | 2006-04-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> |
| 314 | 325 | ||
| 315 | * nnweb.el (nnweb-google-create-mapping): Update regexp. Some | 326 | * nnweb.el (nnweb-google-create-mapping): Update regexp. |
| 316 | whitespace was matched into the url, which broke browsing hits | 327 | Some whitespace was matched into the url, which broke browsing hits |
| 317 | > 100 when mm-url-use-external was nil. | 328 | > 100 when mm-url-use-external was nil. |
| 318 | 329 | ||
| 319 | 2006-03-31 Reiner Steib <Reiner.Steib@gmx.de> | 330 | 2006-03-31 Reiner Steib <Reiner.Steib@gmx.de> |
| 320 | 331 | ||
| 321 | * gnus-group.el (gnus-group-update-tool-bar): Add :initialize and | 332 | * gnus-group.el (gnus-group-update-tool-bar): Add :initialize and :set. |
| 322 | :set. | ||
| 323 | 333 | ||
| 324 | 2006-03-23 Katsumi Yamaoka <yamaoka@jpl.org> | 334 | 2006-03-23 Katsumi Yamaoka <yamaoka@jpl.org> |
| 325 | 335 | ||
| @@ -390,8 +400,8 @@ | |||
| 390 | 400 | ||
| 391 | 2006-03-15 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> | 401 | 2006-03-15 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> |
| 392 | 402 | ||
| 393 | * gnus-art.el (gnus-article-only-boring-p): Bind | 403 | * gnus-art.el (gnus-article-only-boring-p): |
| 394 | inhibit-point-motion-hooks to avoid infinite loop when entering | 404 | Bind inhibit-point-motion-hooks to avoid infinite loop when entering |
| 395 | intangible text. Reported by Ralf Wachinger | 405 | intangible text. Reported by Ralf Wachinger |
| 396 | <rwnewsmampfer@geekmail.de>. | 406 | <rwnewsmampfer@geekmail.de>. |
| 397 | 407 | ||
| @@ -462,8 +472,7 @@ | |||
| 462 | 472 | ||
| 463 | 2006-03-03 Katsumi Yamaoka <yamaoka@jpl.org> | 473 | 2006-03-03 Katsumi Yamaoka <yamaoka@jpl.org> |
| 464 | 474 | ||
| 465 | * mm-decode.el (mm-get-part): Don't use | 475 | * mm-decode.el (mm-get-part): Don't use mm-with-unibyte-current-buffer. |
| 466 | mm-with-unibyte-current-buffer. | ||
| 467 | 476 | ||
| 468 | * gnus-sum.el (gnus-summary-set-display-table): Don't nix out | 477 | * gnus-sum.el (gnus-summary-set-display-table): Don't nix out |
| 469 | characters 160 through 255 in Emacs 23. | 478 | characters 160 through 255 in Emacs 23. |
| @@ -483,8 +492,8 @@ | |||
| 483 | 492 | ||
| 484 | 2006-02-28 Reiner Steib <Reiner.Steib@gmx.de> | 493 | 2006-02-28 Reiner Steib <Reiner.Steib@gmx.de> |
| 485 | 494 | ||
| 486 | * nnweb.el (nnweb-type-definition, nnweb-gmane-search): Use new | 495 | * nnweb.el (nnweb-type-definition, nnweb-gmane-search): |
| 487 | nov.php. | 496 | Use new nov.php. |
| 488 | 497 | ||
| 489 | 2006-02-28 Andreas Seltenreich <uwi7@stud.uni-karlsruhe.de> | 498 | 2006-02-28 Andreas Seltenreich <uwi7@stud.uni-karlsruhe.de> |
| 490 | 499 | ||
| @@ -676,8 +685,8 @@ | |||
| 676 | 685 | ||
| 677 | 2006-02-06 Reiner Steib <Reiner.Steib@gmx.de> | 686 | 2006-02-06 Reiner Steib <Reiner.Steib@gmx.de> |
| 678 | 687 | ||
| 679 | * spam-report.el (spam-report-gmane-use-article-number): Improve | 688 | * spam-report.el (spam-report-gmane-use-article-number): |
| 680 | doc string. | 689 | Improve doc string. |
| 681 | (spam-report-gmane-internal): Check if a suitable header was found | 690 | (spam-report-gmane-internal): Check if a suitable header was found |
| 682 | in the article. | 691 | in the article. |
| 683 | 692 | ||
| @@ -716,12 +725,10 @@ | |||
| 716 | * nnweb.el (nnweb-group-alist): Use defvar instead of defvoo, | 725 | * nnweb.el (nnweb-group-alist): Use defvar instead of defvoo, |
| 717 | there's only one active file for all servers. | 726 | there's only one active file for all servers. |
| 718 | (nnweb-request-scan): Make sure nnweb-articles is initialized on | 727 | (nnweb-request-scan): Make sure nnweb-articles is initialized on |
| 719 | solid groups. Gnus might have used a FAST request to select the | 728 | solid groups. Gnus might have used a FAST request to select the group. |
| 720 | group. | ||
| 721 | (nnweb-request-group, nnweb-google-parse-1): Don't keep nnweb-type | 729 | (nnweb-request-group, nnweb-google-parse-1): Don't keep nnweb-type |
| 722 | and nnweb-search redundantly in the active file. | 730 | and nnweb-search redundantly in the active file. |
| 723 | (nnweb-request-list): Don't list bogus groups. There can only be | 731 | (nnweb-request-list): Don't list bogus groups. There can only be one. |
| 724 | one. | ||
| 725 | (nnweb-request-create-group): Don't use ARGS. | 732 | (nnweb-request-create-group): Don't use ARGS. |
| 726 | (nnweb-possibly-change-server, nnweb-request-group): Remove some | 733 | (nnweb-possibly-change-server, nnweb-request-group): Remove some |
| 727 | initialisations. Let nnoo do the work. | 734 | initialisations. Let nnoo do the work. |
| @@ -732,14 +739,13 @@ | |||
| 732 | (message-setup-1): Call `message-use-alternative-email-as-from' | 739 | (message-setup-1): Call `message-use-alternative-email-as-from' |
| 733 | after `message-setup-hook' to give it precedence over posting | 740 | after `message-setup-hook' to give it precedence over posting |
| 734 | styles, etc. | 741 | styles, etc. |
| 735 | (message-use-alternative-email-as-from): Add docstring. Remove | 742 | (message-use-alternative-email-as-from): Add docstring. |
| 736 | the original From header if present. | 743 | Remove the original From header if present. |
| 737 | 744 | ||
| 738 | 2006-01-31 Katsumi Yamaoka <yamaoka@jpl.org> | 745 | 2006-01-31 Katsumi Yamaoka <yamaoka@jpl.org> |
| 739 | 746 | ||
| 740 | * mm-uu.el (mm-uu-emacs-sources-extract): Say the part has been | 747 | * mm-uu.el (mm-uu-emacs-sources-extract, mm-uu-diff-extract): |
| 741 | decoded. | 748 | Say the part has been decoded. |
| 742 | (mm-uu-diff-extract): Ditto. | ||
| 743 | 749 | ||
| 744 | 2006-01-31 Kevin Ryde <user42@zip.com.au> | 750 | 2006-01-31 Kevin Ryde <user42@zip.com.au> |
| 745 | 751 | ||
diff --git a/lisp/gnus/gnus-diary.el b/lisp/gnus/gnus-diary.el index 5dfbd56af24..e4834131aa7 100644 --- a/lisp/gnus/gnus-diary.el +++ b/lisp/gnus/gnus-diary.el | |||
| @@ -213,6 +213,7 @@ There are currently two built-in format functions: | |||
| 213 | ;; #### NOTE: Gnus sometimes gives me a HEADER not corresponding to any | 213 | ;; #### NOTE: Gnus sometimes gives me a HEADER not corresponding to any |
| 214 | ;; message, with all fields set to nil here. I don't know what it is for, and | 214 | ;; message, with all fields set to nil here. I don't know what it is for, and |
| 215 | ;; I just ignore it. | 215 | ;; I just ignore it. |
| 216 | ;;;###autoload | ||
| 216 | (defun gnus-user-format-function-d (header) | 217 | (defun gnus-user-format-function-d (header) |
| 217 | ;; Returns an aproximative delay string for the next occurence of this | 218 | ;; Returns an aproximative delay string for the next occurence of this |
| 218 | ;; message. The delay is given only in the first non zero unit. | 219 | ;; message. The delay is given only in the first non zero unit. |
| @@ -249,6 +250,7 @@ There are currently two built-in format functions: | |||
| 249 | ;; #### NOTE: Gnus sometimes gives me a HEADER not corresponding to any | 250 | ;; #### NOTE: Gnus sometimes gives me a HEADER not corresponding to any |
| 250 | ;; message, with all fields set to nil here. I don't know what it is for, and | 251 | ;; message, with all fields set to nil here. I don't know what it is for, and |
| 251 | ;; I just ignore it. | 252 | ;; I just ignore it. |
| 253 | ;;;###autoload | ||
| 252 | (defun gnus-user-format-function-D (header) | 254 | (defun gnus-user-format-function-D (header) |
| 253 | ;; Returns a formatted time string for the next occurence of this message. | 255 | ;; Returns a formatted time string for the next occurence of this message. |
| 254 | (let* ((extras (mail-header-extra header)) | 256 | (let* ((extras (mail-header-extra header)) |
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index f3ca6248811..c34e339c5b1 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -2039,7 +2039,10 @@ group." | |||
| 2039 | No article is selected automatically. | 2039 | No article is selected automatically. |
| 2040 | If the group is opened, just switch the summary buffer. | 2040 | If the group is opened, just switch the summary buffer. |
| 2041 | If ALL is non-nil, already read articles become readable. | 2041 | If ALL is non-nil, already read articles become readable. |
| 2042 | If ALL is a number, fetch this number of articles." | 2042 | If ALL is a positive number, fetch this number of the latest |
| 2043 | articles in the group. | ||
| 2044 | If ALL is a negative number, fetch this number of the earliest | ||
| 2045 | articles in the group." | ||
| 2043 | (interactive "P") | 2046 | (interactive "P") |
| 2044 | (when (and (eobp) (not (gnus-group-group-name))) | 2047 | (when (and (eobp) (not (gnus-group-group-name))) |
| 2045 | (forward-line -1)) | 2048 | (forward-line -1)) |
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index 00defe58943..134078638c6 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el | |||
| @@ -313,8 +313,8 @@ If, for instance, you want to subscribe to all newsgroups in the | |||
| 313 | 313 | ||
| 314 | options -n no.all alt.all | 314 | options -n no.all alt.all |
| 315 | 315 | ||
| 316 | Gnus will the subscribe all new newsgroups in these hierarchies with | 316 | Gnus will then subscribe all new newsgroups in these hierarchies |
| 317 | the subscription method in this variable." | 317 | with the subscription method in this variable." |
| 318 | :group 'gnus-group-new | 318 | :group 'gnus-group-new |
| 319 | :type '(radio (function-item gnus-subscribe-randomly) | 319 | :type '(radio (function-item gnus-subscribe-randomly) |
| 320 | (function-item gnus-subscribe-alphabetically) | 320 | (function-item gnus-subscribe-alphabetically) |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 857157b75f7..d4146b19d60 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -540,7 +540,8 @@ it is displayed along with the global value." | |||
| 540 | (error nil)))) | 540 | (error nil)))) |
| 541 | (when location | 541 | (when location |
| 542 | (with-current-buffer (car location) | 542 | (with-current-buffer (car location) |
| 543 | (goto-char (cdr location)) | 543 | (when (cdr location) |
| 544 | (goto-char (cdr location))) | ||
| 544 | (when (re-search-backward | 545 | (when (re-search-backward |
| 545 | "^;;; Generated autoloads from \\(.*\\)" nil t) | 546 | "^;;; Generated autoloads from \\(.*\\)" nil t) |
| 546 | (setq file-name (match-string 1))))))) | 547 | (setq file-name (match-string 1))))))) |
diff --git a/lisp/help-mode.el b/lisp/help-mode.el index 0c6e0f47453..7cdf78fbe13 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el | |||
| @@ -157,7 +157,8 @@ The format is (FUNCTION ARGS...).") | |||
| 157 | (let ((location | 157 | (let ((location |
| 158 | (find-function-search-for-symbol fun nil file))) | 158 | (find-function-search-for-symbol fun nil file))) |
| 159 | (pop-to-buffer (car location)) | 159 | (pop-to-buffer (car location)) |
| 160 | (goto-char (cdr location)))) | 160 | (when (cdr location) |
| 161 | (goto-char (cdr location))))) | ||
| 161 | 'help-echo (purecopy "mouse-2, RET: find function's definition")) | 162 | 'help-echo (purecopy "mouse-2, RET: find function's definition")) |
| 162 | 163 | ||
| 163 | (define-button-type 'help-variable-def | 164 | (define-button-type 'help-variable-def |
| @@ -167,8 +168,9 @@ The format is (FUNCTION ARGS...).") | |||
| 167 | (setq file (help-C-file-name var 'var))) | 168 | (setq file (help-C-file-name var 'var))) |
| 168 | (let ((location (find-variable-noselect var file))) | 169 | (let ((location (find-variable-noselect var file))) |
| 169 | (pop-to-buffer (car location)) | 170 | (pop-to-buffer (car location)) |
| 170 | (goto-char (cdr location)))) | 171 | (when (cdr location) |
| 171 | 'help-echo (purecopy"mouse-2, RET: find variable's definition")) | 172 | (goto-char (cdr location))))) |
| 173 | 'help-echo (purecopy "mouse-2, RET: find variable's definition")) | ||
| 172 | 174 | ||
| 173 | (define-button-type 'help-face-def | 175 | (define-button-type 'help-face-def |
| 174 | :supertype 'help-xref | 176 | :supertype 'help-xref |
| @@ -179,7 +181,8 @@ The format is (FUNCTION ARGS...).") | |||
| 179 | (let ((location | 181 | (let ((location |
| 180 | (find-function-search-for-symbol fun 'defface file))) | 182 | (find-function-search-for-symbol fun 'defface file))) |
| 181 | (pop-to-buffer (car location)) | 183 | (pop-to-buffer (car location)) |
| 182 | (goto-char (cdr location)))) | 184 | (when (cdr location) |
| 185 | (goto-char (cdr location))))) | ||
| 183 | 'help-echo (purecopy "mouse-2, RET: find face's definition")) | 186 | 'help-echo (purecopy "mouse-2, RET: find face's definition")) |
| 184 | 187 | ||
| 185 | 188 | ||
| @@ -238,9 +241,9 @@ Commands: | |||
| 238 | 241 | ||
| 239 | (defconst help-xref-symbol-regexp | 242 | (defconst help-xref-symbol-regexp |
| 240 | (purecopy (concat "\\(\\<\\(\\(variable\\|option\\)\\|" ; Link to var | 243 | (purecopy (concat "\\(\\<\\(\\(variable\\|option\\)\\|" ; Link to var |
| 241 | "\\(function\\|command\\)\\|" ; Link to function | 244 | "\\(function\\|command\\)\\|" ; Link to function |
| 242 | "\\(face\\)\\|" ; Link to face | 245 | "\\(face\\)\\|" ; Link to face |
| 243 | "\\(symbol\\|program\\)\\|" ; Don't link | 246 | "\\(symbol\\|program\\|property\\)\\|" ; Don't link |
| 244 | "\\(source \\(?:code \\)?\\(?:of\\|for\\)\\)\\)" | 247 | "\\(source \\(?:code \\)?\\(?:of\\|for\\)\\)\\)" |
| 245 | "[ \t\n]+\\)?" | 248 | "[ \t\n]+\\)?" |
| 246 | ;; Note starting with word-syntax character: | 249 | ;; Note starting with word-syntax character: |
diff --git a/lisp/help.el b/lisp/help.el index 0caf018c2e9..4d92f69cebd 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -346,8 +346,7 @@ With argument, display info only for the selected version." | |||
| 346 | (directory-files data-directory nil | 346 | (directory-files data-directory nil |
| 347 | "^NEWS\\.[0-9][-0-9]*$" nil))) | 347 | "^NEWS\\.[0-9][-0-9]*$" nil))) |
| 348 | (sort (delete-dups res) (lambda (a b) (string< b a))))) | 348 | (sort (delete-dups res) (lambda (a b) (string< b a))))) |
| 349 | (current (car all-versions)) | 349 | (current (car all-versions))) |
| 350 | res) | ||
| 351 | (setq version (completing-read | 350 | (setq version (completing-read |
| 352 | (format "Read NEWS for the version (default %s): " current) | 351 | (format "Read NEWS for the version (default %s): " current) |
| 353 | all-versions nil nil nil nil current)) | 352 | all-versions nil nil nil nil current)) |
| @@ -369,7 +368,8 @@ With argument, display info only for the selected version." | |||
| 369 | (file (cond | 368 | (file (cond |
| 370 | ((>= vn emacs-major-version) "NEWS") | 369 | ((>= vn emacs-major-version) "NEWS") |
| 371 | ((< vn 18) "NEWS.1-17") | 370 | ((< vn 18) "NEWS.1-17") |
| 372 | (t (format "NEWS.%d" vn))))) | 371 | (t (format "NEWS.%d" vn)))) |
| 372 | res) | ||
| 373 | (view-file (expand-file-name file data-directory)) | 373 | (view-file (expand-file-name file data-directory)) |
| 374 | (widen) | 374 | (widen) |
| 375 | (goto-char (point-min)) | 375 | (goto-char (point-min)) |
diff --git a/lisp/hexl.el b/lisp/hexl.el index e2078fceecb..d753fc83017 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el | |||
| @@ -351,8 +351,9 @@ You can use \\[hexl-find-file] to visit a file in Hexl mode. | |||
| 351 | 351 | ||
| 352 | ;;;###autoload | 352 | ;;;###autoload |
| 353 | (defun hexl-find-file (filename) | 353 | (defun hexl-find-file (filename) |
| 354 | "Edit file FILENAME in `hexl-mode'. | 354 | "Edit file FILENAME as a binary file in hex dump format. |
| 355 | Switch to a buffer visiting file FILENAME, creating one in none exists." | 355 | Switch to a buffer visiting file FILENAME, creating one if none exists, |
| 356 | and edit the file in `hexl-mode'." | ||
| 356 | (interactive | 357 | (interactive |
| 357 | (list | 358 | (list |
| 358 | (let ((completion-ignored-extensions nil)) | 359 | (let ((completion-ignored-extensions nil)) |
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 6264d2e56b5..b5f9c4f1bcf 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -2457,10 +2457,13 @@ Sorting commands: | |||
| 2457 | 2457 | ||
| 2458 | Other commands: | 2458 | Other commands: |
| 2459 | 2459 | ||
| 2460 | '\\[ibuffer-update]' - Regenerate the list of all buffers. | ||
| 2461 | Prefix arg means to toggle whether buffers that match | ||
| 2462 | `ibuffer-maybe-show-predicates' should be displayed. | ||
| 2463 | |||
| 2460 | '\\[ibuffer-switch-format]' - Change the current display format. | 2464 | '\\[ibuffer-switch-format]' - Change the current display format. |
| 2461 | '\\[forward-line]' - Move point to the next line. | 2465 | '\\[forward-line]' - Move point to the next line. |
| 2462 | '\\[previous-line]' - Move point to the previous line. | 2466 | '\\[previous-line]' - Move point to the previous line. |
| 2463 | '\\[ibuffer-update]' - As above, but add new buffers to the list. | ||
| 2464 | '\\[ibuffer-quit]' - Bury the Ibuffer buffer. | 2467 | '\\[ibuffer-quit]' - Bury the Ibuffer buffer. |
| 2465 | '\\[describe-mode]' - This help. | 2468 | '\\[describe-mode]' - This help. |
| 2466 | '\\[ibuffer-diff-with-file]' - View the differences between this buffer | 2469 | '\\[ibuffer-diff-with-file]' - View the differences between this buffer |
diff --git a/lisp/ido.el b/lisp/ido.el index a4c26b52c98..be1cba62f27 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -2895,7 +2895,8 @@ With \\[universal-argument], pop all element." | |||
| 2895 | "Insert file name of current buffer. | 2895 | "Insert file name of current buffer. |
| 2896 | If repeated, insert text from buffer instead." | 2896 | If repeated, insert text from buffer instead." |
| 2897 | (interactive "P") | 2897 | (interactive "P") |
| 2898 | (let* ((bfname (buffer-file-name ido-entry-buffer)) | 2898 | (let* ((bfname (or (buffer-file-name ido-entry-buffer) |
| 2899 | (buffer-name ido-entry-buffer))) | ||
| 2899 | (name (and bfname (file-name-nondirectory bfname)))) | 2900 | (name (and bfname (file-name-nondirectory bfname)))) |
| 2900 | (when name | 2901 | (when name |
| 2901 | (setq ido-text-init | 2902 | (setq ido-text-init |
diff --git a/lisp/imenu.el b/lisp/imenu.el index a609bcbadf9..d9c75c5fdd4 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el | |||
| @@ -910,9 +910,8 @@ select from ALIST. | |||
| 910 | With no index alist ALIST, it calls `imenu--make-index-alist' to | 910 | With no index alist ALIST, it calls `imenu--make-index-alist' to |
| 911 | create the index alist. | 911 | create the index alist. |
| 912 | 912 | ||
| 913 | If `imenu-use-popup-menu' is non-nil, then the | 913 | If `imenu-use-popup-menu' is nil, then the completion buffer |
| 914 | completion buffer is always used, no matter if the mouse was used or | 914 | is always used, no matter if the mouse was used or not. |
| 915 | not. | ||
| 916 | 915 | ||
| 917 | The returned value is of the form (INDEX-NAME . INDEX-POSITION)." | 916 | The returned value is of the form (INDEX-NAME . INDEX-POSITION)." |
| 918 | (let (index-alist | 917 | (let (index-alist |
diff --git a/lisp/info.el b/lisp/info.el index 2669b709316..87327d8656b 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -844,7 +844,7 @@ a case-insensitive match is tried." | |||
| 844 | (goto-char (point-min)) | 844 | (goto-char (point-min)) |
| 845 | (condition-case () | 845 | (condition-case () |
| 846 | (if (and (re-search-forward | 846 | (if (and (re-search-forward |
| 847 | "makeinfo version \\([0-9]+.[0-9]+\\)" | 847 | "makeinfo[ \n]version[ \n]\\([0-9]+.[0-9]+\\)" |
| 848 | (line-beginning-position 3) t) | 848 | (line-beginning-position 3) t) |
| 849 | (not (version< (match-string 1) "4.7"))) | 849 | (not (version< (match-string 1) "4.7"))) |
| 850 | (setq found t)) | 850 | (setq found t)) |
| @@ -3077,7 +3077,8 @@ If FORK is a string, it is the name to use for the new buffer." | |||
| 3077 | 3077 | ||
| 3078 | ;; Common subroutine. | 3078 | ;; Common subroutine. |
| 3079 | (defun Info-try-follow-nearest-node (&optional fork) | 3079 | (defun Info-try-follow-nearest-node (&optional fork) |
| 3080 | "Follow a node reference near point. Return non-nil if successful." | 3080 | "Follow a node reference near point. Return non-nil if successful. |
| 3081 | If FORK is non-nil, it i spassed to `Info-goto-node'." | ||
| 3081 | (let (node) | 3082 | (let (node) |
| 3082 | (cond | 3083 | (cond |
| 3083 | ((Info-get-token (point) "[hf]t?tp://" "[hf]t?tp://\\([^ \t\n\"`({<>})']+\\)") | 3084 | ((Info-get-token (point) "[hf]t?tp://" "[hf]t?tp://\\([^ \t\n\"`({<>})']+\\)") |
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index c50afd2de74..1cd077413c3 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -1128,7 +1128,19 @@ see `language-info-alist'." | |||
| 1128 | (setq lang-env (symbol-name lang-env))) | 1128 | (setq lang-env (symbol-name lang-env))) |
| 1129 | (set-language-info-internal lang-env key info) | 1129 | (set-language-info-internal lang-env key info) |
| 1130 | (if (equal lang-env current-language-environment) | 1130 | (if (equal lang-env current-language-environment) |
| 1131 | (set-language-environment lang-env))) | 1131 | (cond ((eq key 'coding-priority) |
| 1132 | (set-language-environment-coding-systems lang-env)) | ||
| 1133 | ((eq key 'input-method) | ||
| 1134 | (set-language-environment-input-method lang-env)) | ||
| 1135 | ((eq key 'nonascii-translation) | ||
| 1136 | (set-language-environment-nonascii-translation lang-env)) | ||
| 1137 | ((eq key 'charset) | ||
| 1138 | (set-language-environment-charset lang-env)) | ||
| 1139 | ((eq key 'overriding-fontspec) | ||
| 1140 | (set-language-environment-fontset lang-env)) | ||
| 1141 | ((and (not default-enable-multibyte-characters) | ||
| 1142 | (or (eq key 'unibyte-syntax) (eq key 'unibyte-display))) | ||
| 1143 | (set-language-environment-unibyte lang-env))))) | ||
| 1132 | 1144 | ||
| 1133 | (defun set-language-info-internal (lang-env key info) | 1145 | (defun set-language-info-internal (lang-env key info) |
| 1134 | "Internal use only. | 1146 | "Internal use only. |
| @@ -1835,92 +1847,29 @@ specifies the character set for the major languages of Western Europe." | |||
| 1835 | 'exit-function))) | 1847 | 'exit-function))) |
| 1836 | (run-hooks 'exit-language-environment-hook) | 1848 | (run-hooks 'exit-language-environment-hook) |
| 1837 | (if (functionp func) (funcall func)))) | 1849 | (if (functionp func) (funcall func)))) |
| 1838 | (let ((default-eol-type (coding-system-eol-type | ||
| 1839 | default-buffer-file-coding-system))) | ||
| 1840 | (reset-language-environment) | ||
| 1841 | |||
| 1842 | ;; The features might set up coding systems. | ||
| 1843 | (let ((required-features (get-language-info language-name 'features))) | ||
| 1844 | (while required-features | ||
| 1845 | (require (car required-features)) | ||
| 1846 | (setq required-features (cdr required-features)))) | ||
| 1847 | |||
| 1848 | (setq current-language-environment language-name) | ||
| 1849 | (set-language-environment-coding-systems language-name default-eol-type)) | ||
| 1850 | (let ((input-method (get-language-info language-name 'input-method))) | ||
| 1851 | (when input-method | ||
| 1852 | (setq default-input-method input-method) | ||
| 1853 | (if input-method-history | ||
| 1854 | (setq input-method-history | ||
| 1855 | (cons input-method | ||
| 1856 | (delete input-method input-method-history)))))) | ||
| 1857 | (let ((nonascii (get-language-info language-name 'nonascii-translation)) | ||
| 1858 | (dos-table | ||
| 1859 | (if (eq window-system 'pc) | ||
| 1860 | (intern | ||
| 1861 | (format "cp%d-nonascii-translation-table" dos-codepage))))) | ||
| 1862 | (cond | ||
| 1863 | ((char-table-p nonascii) | ||
| 1864 | (setq nonascii-translation-table nonascii)) | ||
| 1865 | ((and (eq window-system 'pc) (boundp dos-table)) | ||
| 1866 | ;; DOS terminals' default is to use a special non-ASCII translation | ||
| 1867 | ;; table as appropriate for the installed codepage. | ||
| 1868 | (setq nonascii-translation-table (symbol-value dos-table))) | ||
| 1869 | ((charsetp nonascii) | ||
| 1870 | (setq nonascii-insert-offset (- (make-char nonascii) 128))))) | ||
| 1871 | |||
| 1872 | ;; Unibyte setups if necessary. | ||
| 1873 | (unless default-enable-multibyte-characters | ||
| 1874 | ;; Syntax and case table. | ||
| 1875 | (let ((syntax (get-language-info language-name 'unibyte-syntax))) | ||
| 1876 | (if syntax | ||
| 1877 | (let ((set-case-syntax-set-multibyte nil)) | ||
| 1878 | (load syntax nil t)) | ||
| 1879 | ;; No information for syntax and case. Reset to the defaults. | ||
| 1880 | (let ((syntax-table (standard-syntax-table)) | ||
| 1881 | (standard-table (standard-case-table)) | ||
| 1882 | (case-table (make-char-table 'case-table)) | ||
| 1883 | (ch (if (eq window-system 'pc) 128 160))) | ||
| 1884 | (while (< ch 256) | ||
| 1885 | (modify-syntax-entry ch " " syntax-table) | ||
| 1886 | (setq ch (1+ ch))) | ||
| 1887 | (dotimes (i 128) | ||
| 1888 | (aset case-table i (aref standard-table i))) | ||
| 1889 | (set-char-table-extra-slot case-table 0 nil) | ||
| 1890 | (set-char-table-extra-slot case-table 1 nil) | ||
| 1891 | (set-char-table-extra-slot case-table 2 nil) | ||
| 1892 | (set-standard-case-table case-table)) | ||
| 1893 | (let ((list (buffer-list))) | ||
| 1894 | (while list | ||
| 1895 | (with-current-buffer (car list) | ||
| 1896 | (set-case-table (standard-case-table))) | ||
| 1897 | (setq list (cdr list)))))) | ||
| 1898 | (set-display-table-and-terminal-coding-system language-name)) | ||
| 1899 | 1850 | ||
| 1851 | (reset-language-environment) | ||
| 1852 | ;; The features might set up coding systems. | ||
| 1900 | (let ((required-features (get-language-info language-name 'features))) | 1853 | (let ((required-features (get-language-info language-name 'features))) |
| 1901 | (while required-features | 1854 | (while required-features |
| 1902 | (require (car required-features)) | 1855 | (require (car required-features)) |
| 1903 | (setq required-features (cdr required-features)))) | 1856 | (setq required-features (cdr required-features)))) |
| 1904 | 1857 | ||
| 1905 | ;; Don't invoke fontset-related functions if fontsets aren't | 1858 | (setq current-language-environment language-name) |
| 1906 | ;; supported in this build of Emacs. | 1859 | |
| 1907 | (when (fboundp 'fontset-list) | 1860 | (set-language-environment-coding-systems language-name) |
| 1908 | (let ((overriding-fontspec (get-language-info language-name | 1861 | (set-language-environment-input-method language-name) |
| 1909 | 'overriding-fontspec))) | 1862 | (set-language-environment-nonascii-translation language-name) |
| 1910 | (if overriding-fontspec | 1863 | (set-language-environment-charset language-name) |
| 1911 | (set-overriding-fontspec-internal overriding-fontspec)))) | 1864 | (set-language-environment-fontset language-name) |
| 1865 | ;; Unibyte setups if necessary. | ||
| 1866 | (unless default-enable-multibyte-characters | ||
| 1867 | (set-language-environment-unibyte language-name)) | ||
| 1912 | 1868 | ||
| 1913 | (let ((func (get-language-info language-name 'setup-function))) | 1869 | (let ((func (get-language-info language-name 'setup-function))) |
| 1914 | (if (functionp func) | 1870 | (if (functionp func) |
| 1915 | (funcall func))) | 1871 | (funcall func))) |
| 1916 | (if (and utf-translate-cjk-mode | 1872 | |
| 1917 | (not (eq utf-translate-cjk-lang-env language-name)) | ||
| 1918 | (catch 'tag | ||
| 1919 | (dolist (charset (get-language-info language-name 'charset)) | ||
| 1920 | (if (memq charset utf-translate-cjk-charsets) | ||
| 1921 | (throw 'tag t))) | ||
| 1922 | nil)) | ||
| 1923 | (utf-translate-cjk-load-tables)) | ||
| 1924 | (run-hooks 'set-language-environment-hook) | 1873 | (run-hooks 'set-language-environment-hook) |
| 1925 | (force-mode-line-update t)) | 1874 | (force-mode-line-update t)) |
| 1926 | 1875 | ||
| @@ -1949,14 +1898,11 @@ specifies the character set for the major languages of Western Europe." | |||
| 1949 | ;; proper windows-1252 coding system. --fx] | 1898 | ;; proper windows-1252 coding system. --fx] |
| 1950 | (aset standard-display-table 146 [39])))) | 1899 | (aset standard-display-table 146 [39])))) |
| 1951 | 1900 | ||
| 1952 | (defun set-language-environment-coding-systems (language-name | 1901 | (defun set-language-environment-coding-systems (language-name) |
| 1953 | &optional eol-type) | 1902 | "Do various coding system setups for language environment LANGUAGE-NAME." |
| 1954 | "Do various coding system setups for language environment LANGUAGE-NAME. | ||
| 1955 | |||
| 1956 | The optional arg EOL-TYPE specifies the eol-type of the default value | ||
| 1957 | of `buffer-file-coding-system' set by this function." | ||
| 1958 | (let* ((priority (get-language-info language-name 'coding-priority)) | 1903 | (let* ((priority (get-language-info language-name 'coding-priority)) |
| 1959 | (default-coding (car priority))) | 1904 | (default-coding (car priority)) |
| 1905 | (eol-type (coding-system-eol-type default-buffer-file-coding-system))) | ||
| 1960 | (if priority | 1906 | (if priority |
| 1961 | (let ((categories (mapcar 'coding-system-category priority))) | 1907 | (let ((categories (mapcar 'coding-system-category priority))) |
| 1962 | (set-default-coding-systems | 1908 | (set-default-coding-systems |
| @@ -1971,6 +1917,80 @@ of `buffer-file-coding-system' set by this function." | |||
| 1971 | ;; Changing the binding of a coding category requires this call. | 1917 | ;; Changing the binding of a coding category requires this call. |
| 1972 | (update-coding-systems-internal))))) | 1918 | (update-coding-systems-internal))))) |
| 1973 | 1919 | ||
| 1920 | (defun set-language-environment-input-method (language-name) | ||
| 1921 | "Do various input method setups for language environment LANGUAGE-NAME." | ||
| 1922 | (let ((input-method (get-language-info language-name 'input-method))) | ||
| 1923 | (when input-method | ||
| 1924 | (setq default-input-method input-method) | ||
| 1925 | (if input-method-history | ||
| 1926 | (setq input-method-history | ||
| 1927 | (cons input-method | ||
| 1928 | (delete input-method input-method-history))))))) | ||
| 1929 | |||
| 1930 | (defun set-language-environment-nonascii-translation (language-name) | ||
| 1931 | "Do unibyte/multibyte translation setup for language environment LANGUAGE-NAME." | ||
| 1932 | (let ((nonascii (get-language-info language-name 'nonascii-translation)) | ||
| 1933 | (dos-table | ||
| 1934 | (if (eq window-system 'pc) | ||
| 1935 | (intern | ||
| 1936 | (format "cp%d-nonascii-translation-table" dos-codepage))))) | ||
| 1937 | (cond | ||
| 1938 | ((char-table-p nonascii) | ||
| 1939 | (setq nonascii-translation-table nonascii)) | ||
| 1940 | ((and (eq window-system 'pc) (boundp dos-table)) | ||
| 1941 | ;; DOS terminals' default is to use a special non-ASCII translation | ||
| 1942 | ;; table as appropriate for the installed codepage. | ||
| 1943 | (setq nonascii-translation-table (symbol-value dos-table))) | ||
| 1944 | ((charsetp nonascii) | ||
| 1945 | (setq nonascii-insert-offset (- (make-char nonascii) 128)))))) | ||
| 1946 | |||
| 1947 | (defun set-language-environment-charset (language-name) | ||
| 1948 | "Do various charset setups for language environment LANGUAGE-NAME." | ||
| 1949 | (if (and utf-translate-cjk-mode | ||
| 1950 | (not (eq utf-translate-cjk-lang-env language-name)) | ||
| 1951 | (catch 'tag | ||
| 1952 | (dolist (charset (get-language-info language-name 'charset)) | ||
| 1953 | (if (memq charset utf-translate-cjk-charsets) | ||
| 1954 | (throw 'tag t))) | ||
| 1955 | nil)) | ||
| 1956 | (utf-translate-cjk-load-tables))) | ||
| 1957 | |||
| 1958 | (defun set-language-environment-fontset (language-name) | ||
| 1959 | "Do various fontset setups for language environment LANGUAGE-NAME." | ||
| 1960 | ;; Don't invoke fontset-related functions if fontsets aren't | ||
| 1961 | ;; supported in this build of Emacs. | ||
| 1962 | (if (fboundp 'fontset-list) | ||
| 1963 | (set-overriding-fontspec-internal | ||
| 1964 | (get-language-info language-name 'overriding-fontspec)))) | ||
| 1965 | |||
| 1966 | (defun set-language-environment-unibyte (language-name) | ||
| 1967 | "Do various unibyte-mode setups for language environment LANGUAGE-NAME." | ||
| 1968 | ;; Syntax and case table. | ||
| 1969 | (let ((syntax (get-language-info language-name 'unibyte-syntax))) | ||
| 1970 | (if syntax | ||
| 1971 | (let ((set-case-syntax-set-multibyte nil)) | ||
| 1972 | (load syntax nil t)) | ||
| 1973 | ;; No information for syntax and case. Reset to the defaults. | ||
| 1974 | (let ((syntax-table (standard-syntax-table)) | ||
| 1975 | (standard-table (standard-case-table)) | ||
| 1976 | (case-table (make-char-table 'case-table)) | ||
| 1977 | (ch (if (eq window-system 'pc) 128 160))) | ||
| 1978 | (while (< ch 256) | ||
| 1979 | (modify-syntax-entry ch " " syntax-table) | ||
| 1980 | (setq ch (1+ ch))) | ||
| 1981 | (dotimes (i 128) | ||
| 1982 | (aset case-table i (aref standard-table i))) | ||
| 1983 | (set-char-table-extra-slot case-table 0 nil) | ||
| 1984 | (set-char-table-extra-slot case-table 1 nil) | ||
| 1985 | (set-char-table-extra-slot case-table 2 nil) | ||
| 1986 | (set-standard-case-table case-table)) | ||
| 1987 | (let ((list (buffer-list))) | ||
| 1988 | (while list | ||
| 1989 | (with-current-buffer (car list) | ||
| 1990 | (set-case-table (standard-case-table))) | ||
| 1991 | (setq list (cdr list)))))) | ||
| 1992 | (set-display-table-and-terminal-coding-system language-name)) | ||
| 1993 | |||
| 1974 | (defsubst princ-list (&rest args) | 1994 | (defsubst princ-list (&rest args) |
| 1975 | "Print all arguments with `princ', then print \"\n\"." | 1995 | "Print all arguments with `princ', then print \"\n\"." |
| 1976 | (while args (princ (car args)) (setq args (cdr args))) | 1996 | (while args (princ (car args)) (setq args (cdr args))) |
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index 4d2d22c51c0..1cce13c76a3 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mule.el --- basic commands for mulitilingual environment | 1 | ;;; mule.el --- basic commands for mulitilingual environment |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 3 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | ;; Copyright (C) 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 5 | ;; Copyright (C) 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
| 6 | ;; National Institute of Advanced Industrial Science and Technology (AIST) | 6 | ;; National Institute of Advanced Industrial Science and Technology (AIST) |
| @@ -283,16 +283,14 @@ would need to index the corresponding Emacs charset." | |||
| 283 | (make-char-internal (charset-id charset) code1 code2)) | 283 | (make-char-internal (charset-id charset) code1 code2)) |
| 284 | 284 | ||
| 285 | (put 'make-char 'byte-compile | 285 | (put 'make-char 'byte-compile |
| 286 | (function | 286 | (lambda (form) |
| 287 | (lambda (form) | 287 | (let ((charset (nth 1 form))) |
| 288 | (let ((charset (nth 1 form))) | 288 | (byte-compile-normal-call |
| 289 | (if (charset-quoted-standard-p charset) | 289 | (cons 'make-char-internal |
| 290 | (byte-compile-normal-call | 290 | (cons (if (charset-quoted-standard-p charset) |
| 291 | (cons 'make-char-internal | 291 | (charset-id (nth 1 charset)) |
| 292 | (cons (charset-id (nth 1 charset)) (nthcdr 2 form)))) | 292 | (list 'charset-id charset)) |
| 293 | (byte-compile-normal-call | 293 | (nthcdr 2 form))))))) |
| 294 | (cons 'make-char-internal | ||
| 295 | (cons (list 'charset-id charset) (nthcdr 2 form))))))))) | ||
| 296 | 294 | ||
| 297 | (defun charset-list () | 295 | (defun charset-list () |
| 298 | "Return list of charsets ever defined. | 296 | "Return list of charsets ever defined. |
| @@ -2308,5 +2306,5 @@ This function is intended to be added to `auto-coding-functions'." | |||
| 2308 | ;;; | 2306 | ;;; |
| 2309 | (provide 'mule) | 2307 | (provide 'mule) |
| 2310 | 2308 | ||
| 2311 | ;;; arch-tag: 9aebaa6e-0e8a-40a9-b857-cb5d04a39e7c | 2309 | ;; arch-tag: 9aebaa6e-0e8a-40a9-b857-cb5d04a39e7c |
| 2312 | ;;; mule.el ends here | 2310 | ;;; mule.el ends here |
diff --git a/lisp/isearch.el b/lisp/isearch.el index 840af2a9b81..7039dbd6812 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -1357,7 +1357,8 @@ might return the position of the end of the line." | |||
| 1357 | "Pull rest of line from buffer into search string." | 1357 | "Pull rest of line from buffer into search string." |
| 1358 | (interactive) | 1358 | (interactive) |
| 1359 | (isearch-yank-internal | 1359 | (isearch-yank-internal |
| 1360 | (lambda () (line-end-position (if (eolp) 2 1))))) | 1360 | (lambda () (let ((inhibit-field-text-motion t)) |
| 1361 | (line-end-position (if (eolp) 2 1)))))) | ||
| 1361 | 1362 | ||
| 1362 | (defun isearch-search-and-update () | 1363 | (defun isearch-search-and-update () |
| 1363 | ;; Do the search and update the display. | 1364 | ;; Do the search and update the display. |
diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el index 6d6c03823d3..bdd87c0c13d 100644 --- a/lisp/ldefs-boot.el +++ b/lisp/ldefs-boot.el | |||
| @@ -63,6 +63,12 @@ should return a grid vector array that is the new solution. | |||
| 63 | 63 | ||
| 64 | ;;;*** | 64 | ;;;*** |
| 65 | 65 | ||
| 66 | ;;;### (autoloads nil "abbrev" "abbrev.el" (17496 38721)) | ||
| 67 | ;;; Generated autoloads from abbrev.el | ||
| 68 | (put 'abbrev-mode 'safe-local-variable 'booleanp) | ||
| 69 | |||
| 70 | ;;;*** | ||
| 71 | |||
| 66 | ;;;### (autoloads (list-one-abbrev-table) "abbrevlist" "abbrevlist.el" | 72 | ;;;### (autoloads (list-one-abbrev-table) "abbrevlist" "abbrevlist.el" |
| 67 | ;;;;;; (17405 10313)) | 73 | ;;;;;; (17405 10313)) |
| 68 | ;;; Generated autoloads from abbrevlist.el | 74 | ;;; Generated autoloads from abbrevlist.el |
| @@ -75,7 +81,7 @@ Display alphabetical listing of ABBREV-TABLE in buffer OUTPUT-BUFFER. | |||
| 75 | ;;;*** | 81 | ;;;*** |
| 76 | 82 | ||
| 77 | ;;;### (autoloads (ada-mode ada-add-extensions) "ada-mode" "progmodes/ada-mode.el" | 83 | ;;;### (autoloads (ada-mode ada-add-extensions) "ada-mode" "progmodes/ada-mode.el" |
| 78 | ;;;;;; (17390 27404)) | 84 | ;;;;;; (17591 9287)) |
| 79 | ;;; Generated autoloads from progmodes/ada-mode.el | 85 | ;;; Generated autoloads from progmodes/ada-mode.el |
| 80 | 86 | ||
| 81 | (autoload (quote ada-add-extensions) "ada-mode" "\ | 87 | (autoload (quote ada-add-extensions) "ada-mode" "\ |
| @@ -162,7 +168,7 @@ Completion is available. | |||
| 162 | ;;;;;; change-log-mode add-change-log-entry-other-window add-change-log-entry | 168 | ;;;;;; change-log-mode add-change-log-entry-other-window add-change-log-entry |
| 163 | ;;;;;; find-change-log prompt-for-change-log-name add-log-mailing-address | 169 | ;;;;;; find-change-log prompt-for-change-log-name add-log-mailing-address |
| 164 | ;;;;;; add-log-full-name add-log-current-defun-function) "add-log" | 170 | ;;;;;; add-log-full-name add-log-current-defun-function) "add-log" |
| 165 | ;;;;;; "add-log.el" (17356 16192)) | 171 | ;;;;;; "add-log.el" (17505 62421)) |
| 166 | ;;; Generated autoloads from add-log.el | 172 | ;;; Generated autoloads from add-log.el |
| 167 | 173 | ||
| 168 | (defvar add-log-current-defun-function nil "\ | 174 | (defvar add-log-current-defun-function nil "\ |
| @@ -179,7 +185,7 @@ This defaults to the value returned by the function `user-full-name'.") | |||
| 179 | (custom-autoload (quote add-log-full-name) "add-log") | 185 | (custom-autoload (quote add-log-full-name) "add-log") |
| 180 | 186 | ||
| 181 | (defvar add-log-mailing-address nil "\ | 187 | (defvar add-log-mailing-address nil "\ |
| 182 | *Email addresses of user, for inclusion in ChangeLog headers. | 188 | Email addresses of user, for inclusion in ChangeLog headers. |
| 183 | This defaults to the value of `user-mail-address'. In addition to | 189 | This defaults to the value of `user-mail-address'. In addition to |
| 184 | being a simple string, this value can also be a list. All elements | 190 | being a simple string, this value can also be a list. All elements |
| 185 | will be recognized as referring to the same user; when creating a new | 191 | will be recognized as referring to the same user; when creating a new |
| @@ -232,7 +238,7 @@ The change log file can start with a copyright notice and a copying | |||
| 232 | permission notice. The first blank line indicates the end of these | 238 | permission notice. The first blank line indicates the end of these |
| 233 | notices. | 239 | notices. |
| 234 | 240 | ||
| 235 | Today's date is calculated according to `change-log-time-zone-rule' if | 241 | Today's date is calculated according to `add-log-time-zone-rule' if |
| 236 | non-nil, otherwise in local time. | 242 | non-nil, otherwise in local time. |
| 237 | 243 | ||
| 238 | \(fn &optional WHOAMI FILE-NAME OTHER-WINDOW NEW-ENTRY)" t nil) | 244 | \(fn &optional WHOAMI FILE-NAME OTHER-WINDOW NEW-ENTRY)" t nil) |
| @@ -298,9 +304,9 @@ Fix any old-style date entries in the current log file to default format. | |||
| 298 | 304 | ||
| 299 | ;;;*** | 305 | ;;;*** |
| 300 | 306 | ||
| 301 | ;;;### (autoloads (defadvice ad-add-advice ad-default-compilation-action | 307 | ;;;### (autoloads (defadvice ad-activate ad-add-advice ad-disable-advice |
| 302 | ;;;;;; ad-redefinition-action) "advice" "emacs-lisp/advice.el" (17390 | 308 | ;;;;;; ad-enable-advice ad-default-compilation-action ad-redefinition-action) |
| 303 | ;;;;;; 26937)) | 309 | ;;;;;; "advice" "emacs-lisp/advice.el" (17549 4607)) |
| 304 | ;;; Generated autoloads from emacs-lisp/advice.el | 310 | ;;; Generated autoloads from emacs-lisp/advice.el |
| 305 | 311 | ||
| 306 | (defvar ad-redefinition-action (quote warn) "\ | 312 | (defvar ad-redefinition-action (quote warn) "\ |
| @@ -327,6 +333,16 @@ COMPILE argument of `ad-activate' was supplied as nil.") | |||
| 327 | 333 | ||
| 328 | (custom-autoload (quote ad-default-compilation-action) "advice") | 334 | (custom-autoload (quote ad-default-compilation-action) "advice") |
| 329 | 335 | ||
| 336 | (autoload (quote ad-enable-advice) "advice" "\ | ||
| 337 | Enables the advice of FUNCTION with CLASS and NAME. | ||
| 338 | |||
| 339 | \(fn FUNCTION CLASS NAME)" t nil) | ||
| 340 | |||
| 341 | (autoload (quote ad-disable-advice) "advice" "\ | ||
| 342 | Disable the advice of FUNCTION with CLASS and NAME. | ||
| 343 | |||
| 344 | \(fn FUNCTION CLASS NAME)" t nil) | ||
| 345 | |||
| 330 | (autoload (quote ad-add-advice) "advice" "\ | 346 | (autoload (quote ad-add-advice) "advice" "\ |
| 331 | Add a piece of ADVICE to FUNCTION's list of advices in CLASS. | 347 | Add a piece of ADVICE to FUNCTION's list of advices in CLASS. |
| 332 | If FUNCTION already has one or more pieces of advice of the specified | 348 | If FUNCTION already has one or more pieces of advice of the specified |
| @@ -342,6 +358,25 @@ will clear the cache. | |||
| 342 | 358 | ||
| 343 | \(fn FUNCTION ADVICE CLASS POSITION)" nil nil) | 359 | \(fn FUNCTION ADVICE CLASS POSITION)" nil nil) |
| 344 | 360 | ||
| 361 | (autoload (quote ad-activate) "advice" "\ | ||
| 362 | Activate all the advice information of an advised FUNCTION. | ||
| 363 | If FUNCTION has a proper original definition then an advised | ||
| 364 | definition will be generated from FUNCTION's advice info and the | ||
| 365 | definition of FUNCTION will be replaced with it. If a previously | ||
| 366 | cached advised definition was available, it will be used. | ||
| 367 | The optional COMPILE argument determines whether the resulting function | ||
| 368 | or a compilable cached definition will be compiled. If it is negative | ||
| 369 | no compilation will be performed, if it is positive or otherwise non-nil | ||
| 370 | the resulting function will be compiled, if it is nil the behavior depends | ||
| 371 | on the value of `ad-default-compilation-action' (which see). | ||
| 372 | Activation of an advised function that has an advice info but no actual | ||
| 373 | pieces of advice is equivalent to a call to `ad-unadvise'. Activation of | ||
| 374 | an advised function that has actual pieces of advice but none of them are | ||
| 375 | enabled is equivalent to a call to `ad-deactivate'. The current advised | ||
| 376 | definition will always be cached for later usage. | ||
| 377 | |||
| 378 | \(fn FUNCTION &optional COMPILE)" t nil) | ||
| 379 | |||
| 345 | (autoload (quote defadvice) "advice" "\ | 380 | (autoload (quote defadvice) "advice" "\ |
| 346 | Define a piece of advice for FUNCTION (a symbol). | 381 | Define a piece of advice for FUNCTION (a symbol). |
| 347 | The syntax of `defadvice' is as follows: | 382 | The syntax of `defadvice' is as follows: |
| @@ -489,9 +524,41 @@ A replacement function for `newline-and-indent', aligning as it goes. | |||
| 489 | ;;;*** | 524 | ;;;*** |
| 490 | 525 | ||
| 491 | ;;;### (autoloads (outlineify-sticky allout-mode) "allout" "allout.el" | 526 | ;;;### (autoloads (outlineify-sticky allout-mode) "allout" "allout.el" |
| 492 | ;;;;;; (17432 19375)) | 527 | ;;;;;; (17591 9444)) |
| 493 | ;;; Generated autoloads from allout.el | 528 | ;;; Generated autoloads from allout.el |
| 494 | 529 | ||
| 530 | (put (quote allout-show-bodies) (quote safe-local-variable) (if (fboundp (quote booleanp)) (quote booleanp) (quote (lambda (x) (member x (quote (t nil))))))) | ||
| 531 | |||
| 532 | (put (quote allout-header-prefix) (quote safe-local-variable) (quote stringp)) | ||
| 533 | |||
| 534 | (put (quote allout-primary-bullet) (quote safe-local-variable) (quote stringp)) | ||
| 535 | |||
| 536 | (put (quote allout-plain-bullets-string) (quote safe-local-variable) (quote stringp)) | ||
| 537 | |||
| 538 | (put (quote allout-distinctive-bullets-string) (quote safe-local-variable) (quote stringp)) | ||
| 539 | |||
| 540 | (put (quote allout-use-mode-specific-leader) (quote safe-local-variable) (quote (lambda (x) (or (memq x (quote (t nil allout-mode-leaders comment-start))) (stringp x))))) | ||
| 541 | |||
| 542 | (put (quote allout-old-style-prefixes) (quote safe-local-variable) (if (fboundp (quote booleanp)) (quote booleanp) (quote (lambda (x) (member x (quote (t nil))))))) | ||
| 543 | |||
| 544 | (put (quote allout-stylish-prefixes) (quote safe-local-variable) (if (fboundp (quote booleanp)) (quote booleanp) (quote (lambda (x) (member x (quote (t nil))))))) | ||
| 545 | |||
| 546 | (put (quote allout-numbered-bullet) (quote safe-local-variable) (if (fboundp (quote string-or-null-p)) (quote string-or-null-p) (quote (lambda (x) (or (stringp x) (null x)))))) | ||
| 547 | |||
| 548 | (put (quote allout-file-xref-bullet) (quote safe-local-variable) (if (fboundp (quote string-or-null-p)) (quote string-or-null-p) (quote (lambda (x) (or (stringp x) (null x)))))) | ||
| 549 | |||
| 550 | (put (quote allout-presentation-padding) (quote safe-local-variable) (quote integerp)) | ||
| 551 | |||
| 552 | (put (quote allout-use-hanging-indents) (quote safe-local-variable) (if (fboundp (quote booleanp)) (quote booleanp) (quote (lambda (x) (member x (quote (t nil))))))) | ||
| 553 | |||
| 554 | (put (quote allout-reindent-bodies) (quote safe-local-variable) (quote (lambda (x) (memq x (quote (nil t text force)))))) | ||
| 555 | |||
| 556 | (put (quote allout-layout) (quote safe-local-variable) (quote (lambda (x) (or (numberp x) (listp x) (memq x (quote (: * + -))))))) | ||
| 557 | |||
| 558 | (put (quote allout-passphrase-verifier-string) (quote safe-local-variable) (quote stringp)) | ||
| 559 | |||
| 560 | (put (quote allout-passphrase-hint-string) (quote safe-local-variable) (quote stringp)) | ||
| 561 | |||
| 495 | (autoload (quote allout-mode) "allout" "\ | 562 | (autoload (quote allout-mode) "allout" "\ |
| 496 | Toggle minor mode for controlling exposure and editing of text outlines. | 563 | Toggle minor mode for controlling exposure and editing of text outlines. |
| 497 | \\<allout-mode-map> | 564 | \\<allout-mode-map> |
| @@ -787,7 +854,7 @@ This is a good function to put in `comint-output-filter-functions'. | |||
| 787 | ;;;*** | 854 | ;;;*** |
| 788 | 855 | ||
| 789 | ;;;### (autoloads (antlr-set-tabs antlr-mode antlr-show-makefile-rules) | 856 | ;;;### (autoloads (antlr-set-tabs antlr-mode antlr-show-makefile-rules) |
| 790 | ;;;;;; "antlr-mode" "progmodes/antlr-mode.el" (17390 27404)) | 857 | ;;;;;; "antlr-mode" "progmodes/antlr-mode.el" (17490 7905)) |
| 791 | ;;; Generated autoloads from progmodes/antlr-mode.el | 858 | ;;; Generated autoloads from progmodes/antlr-mode.el |
| 792 | 859 | ||
| 793 | (autoload (quote antlr-show-makefile-rules) "antlr-mode" "\ | 860 | (autoload (quote antlr-show-makefile-rules) "antlr-mode" "\ |
| @@ -826,7 +893,7 @@ Used in `antlr-mode'. Also a useful function in `java-mode-hook'. | |||
| 826 | ;;;### (autoloads (appt-activate appt-make-list appt-delete appt-add | 893 | ;;;### (autoloads (appt-activate appt-make-list appt-delete appt-add |
| 827 | ;;;;;; appt-display-diary appt-display-duration appt-display-mode-line | 894 | ;;;;;; appt-display-diary appt-display-duration appt-display-mode-line |
| 828 | ;;;;;; appt-msg-window appt-visible appt-audible appt-message-warning-time | 895 | ;;;;;; appt-msg-window appt-visible appt-audible appt-message-warning-time |
| 829 | ;;;;;; appt-issue-message) "appt" "calendar/appt.el" (17405 10313)) | 896 | ;;;;;; appt-issue-message) "appt" "calendar/appt.el" (17569 17797)) |
| 830 | ;;; Generated autoloads from calendar/appt.el | 897 | ;;; Generated autoloads from calendar/appt.el |
| 831 | 898 | ||
| 832 | (defvar appt-issue-message t "\ | 899 | (defvar appt-issue-message t "\ |
| @@ -892,7 +959,7 @@ Update the appointments list from today's diary buffer. | |||
| 892 | The time must be at the beginning of a line for it to be | 959 | The time must be at the beginning of a line for it to be |
| 893 | put in the appointments list (see examples in documentation of | 960 | put in the appointments list (see examples in documentation of |
| 894 | the function `appt-check'). We assume that the variables DATE and | 961 | the function `appt-check'). We assume that the variables DATE and |
| 895 | NUMBER hold the arguments that `list-diary-entries' received. | 962 | NUMBER hold the arguments that `diary-list-entries' received. |
| 896 | They specify the range of dates that the diary is being processed for. | 963 | They specify the range of dates that the diary is being processed for. |
| 897 | 964 | ||
| 898 | Any appointments made with `appt-add' are not affected by this | 965 | Any appointments made with `appt-add' are not affected by this |
| @@ -914,7 +981,7 @@ ARG is positive, otherwise off. | |||
| 914 | 981 | ||
| 915 | ;;;### (autoloads (apropos-documentation apropos-value apropos apropos-documentation-property | 982 | ;;;### (autoloads (apropos-documentation apropos-value apropos apropos-documentation-property |
| 916 | ;;;;;; apropos-command apropos-variable apropos-read-pattern) "apropos" | 983 | ;;;;;; apropos-command apropos-variable apropos-read-pattern) "apropos" |
| 917 | ;;;;;; "apropos.el" (17454 30835)) | 984 | ;;;;;; "apropos.el" (17478 25206)) |
| 918 | ;;; Generated autoloads from apropos.el | 985 | ;;; Generated autoloads from apropos.el |
| 919 | 986 | ||
| 920 | (autoload (quote apropos-read-pattern) "apropos" "\ | 987 | (autoload (quote apropos-read-pattern) "apropos" "\ |
| @@ -1010,8 +1077,8 @@ Returns list of symbols and documentation found. | |||
| 1010 | 1077 | ||
| 1011 | ;;;*** | 1078 | ;;;*** |
| 1012 | 1079 | ||
| 1013 | ;;;### (autoloads (archive-mode) "arc-mode" "arc-mode.el" (17425 | 1080 | ;;;### (autoloads (archive-mode) "arc-mode" "arc-mode.el" (17549 |
| 1014 | ;;;;;; 24466)) | 1081 | ;;;;;; 4606)) |
| 1015 | ;;; Generated autoloads from arc-mode.el | 1082 | ;;; Generated autoloads from arc-mode.el |
| 1016 | 1083 | ||
| 1017 | (autoload (quote archive-mode) "arc-mode" "\ | 1084 | (autoload (quote archive-mode) "arc-mode" "\ |
| @@ -1102,8 +1169,8 @@ Entering array mode calls the function `array-mode-hook'. | |||
| 1102 | 1169 | ||
| 1103 | ;;;*** | 1170 | ;;;*** |
| 1104 | 1171 | ||
| 1105 | ;;;### (autoloads (artist-mode) "artist" "textmodes/artist.el" (17390 | 1172 | ;;;### (autoloads (artist-mode) "artist" "textmodes/artist.el" (17524 |
| 1106 | ;;;;;; 26946)) | 1173 | ;;;;;; 8598)) |
| 1107 | ;;; Generated autoloads from textmodes/artist.el | 1174 | ;;; Generated autoloads from textmodes/artist.el |
| 1108 | 1175 | ||
| 1109 | (autoload (quote artist-mode) "artist" "\ | 1176 | (autoload (quote artist-mode) "artist" "\ |
| @@ -1308,8 +1375,8 @@ Keymap summary | |||
| 1308 | 1375 | ||
| 1309 | ;;;*** | 1376 | ;;;*** |
| 1310 | 1377 | ||
| 1311 | ;;;### (autoloads (asm-mode) "asm-mode" "progmodes/asm-mode.el" (17390 | 1378 | ;;;### (autoloads (asm-mode) "asm-mode" "progmodes/asm-mode.el" (17490 |
| 1312 | ;;;;;; 27404)) | 1379 | ;;;;;; 7930)) |
| 1313 | ;;; Generated autoloads from progmodes/asm-mode.el | 1380 | ;;; Generated autoloads from progmodes/asm-mode.el |
| 1314 | 1381 | ||
| 1315 | (autoload (quote asm-mode) "asm-mode" "\ | 1382 | (autoload (quote asm-mode) "asm-mode" "\ |
| @@ -1461,7 +1528,7 @@ insert a template for the file depending on the mode of the buffer. | |||
| 1461 | 1528 | ||
| 1462 | ;;;### (autoloads (batch-update-autoloads update-directory-autoloads | 1529 | ;;;### (autoloads (batch-update-autoloads update-directory-autoloads |
| 1463 | ;;;;;; update-file-autoloads) "autoload" "emacs-lisp/autoload.el" | 1530 | ;;;;;; update-file-autoloads) "autoload" "emacs-lisp/autoload.el" |
| 1464 | ;;;;;; (17411 12435)) | 1531 | ;;;;;; (17591 9874)) |
| 1465 | ;;; Generated autoloads from emacs-lisp/autoload.el | 1532 | ;;; Generated autoloads from emacs-lisp/autoload.el |
| 1466 | 1533 | ||
| 1467 | (autoload (quote update-file-autoloads) "autoload" "\ | 1534 | (autoload (quote update-file-autoloads) "autoload" "\ |
| @@ -1496,7 +1563,7 @@ Calls `update-directory-autoloads' on the command line arguments. | |||
| 1496 | 1563 | ||
| 1497 | ;;;### (autoloads (global-auto-revert-mode turn-on-auto-revert-tail-mode | 1564 | ;;;### (autoloads (global-auto-revert-mode turn-on-auto-revert-tail-mode |
| 1498 | ;;;;;; auto-revert-tail-mode turn-on-auto-revert-mode auto-revert-mode) | 1565 | ;;;;;; auto-revert-tail-mode turn-on-auto-revert-mode auto-revert-mode) |
| 1499 | ;;;;;; "autorevert" "autorevert.el" (17390 26935)) | 1566 | ;;;;;; "autorevert" "autorevert.el" (17505 62410)) |
| 1500 | ;;; Generated autoloads from autorevert.el | 1567 | ;;; Generated autoloads from autorevert.el |
| 1501 | 1568 | ||
| 1502 | (autoload (quote auto-revert-mode) "autorevert" "\ | 1569 | (autoload (quote auto-revert-mode) "autorevert" "\ |
| @@ -1552,8 +1619,6 @@ use either \\[customize] or the function `global-auto-revert-mode'.") | |||
| 1552 | 1619 | ||
| 1553 | (custom-autoload (quote global-auto-revert-mode) "autorevert") | 1620 | (custom-autoload (quote global-auto-revert-mode) "autorevert") |
| 1554 | 1621 | ||
| 1555 | (put (quote global-auto-revert-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 1556 | |||
| 1557 | (autoload (quote global-auto-revert-mode) "autorevert" "\ | 1622 | (autoload (quote global-auto-revert-mode) "autorevert" "\ |
| 1558 | Revert any buffer when file on disk changes. | 1623 | Revert any buffer when file on disk changes. |
| 1559 | 1624 | ||
| @@ -1566,7 +1631,7 @@ Use `auto-revert-mode' to revert a particular buffer. | |||
| 1566 | ;;;*** | 1631 | ;;;*** |
| 1567 | 1632 | ||
| 1568 | ;;;### (autoloads (mouse-avoidance-mode mouse-avoidance-mode) "avoid" | 1633 | ;;;### (autoloads (mouse-avoidance-mode mouse-avoidance-mode) "avoid" |
| 1569 | ;;;;;; "avoid.el" (17390 26935)) | 1634 | ;;;;;; "avoid.el" (17505 62395)) |
| 1570 | ;;; Generated autoloads from avoid.el | 1635 | ;;; Generated autoloads from avoid.el |
| 1571 | 1636 | ||
| 1572 | (defvar mouse-avoidance-mode nil "\ | 1637 | (defvar mouse-avoidance-mode nil "\ |
| @@ -1632,7 +1697,7 @@ Vectors work just like lists. Nested backquotes are permitted. | |||
| 1632 | ;;;*** | 1697 | ;;;*** |
| 1633 | 1698 | ||
| 1634 | ;;;### (autoloads (display-battery-mode battery) "battery" "battery.el" | 1699 | ;;;### (autoloads (display-battery-mode battery) "battery" "battery.el" |
| 1635 | ;;;;;; (17427 42815)) | 1700 | ;;;;;; (17505 62422)) |
| 1636 | ;;; Generated autoloads from battery.el | 1701 | ;;; Generated autoloads from battery.el |
| 1637 | (put 'battery-mode-line-string 'risky-local-variable t) | 1702 | (put 'battery-mode-line-string 'risky-local-variable t) |
| 1638 | 1703 | ||
| @@ -1651,8 +1716,6 @@ use either \\[customize] or the function `display-battery-mode'.") | |||
| 1651 | 1716 | ||
| 1652 | (custom-autoload (quote display-battery-mode) "battery") | 1717 | (custom-autoload (quote display-battery-mode) "battery") |
| 1653 | 1718 | ||
| 1654 | (put (quote display-battery-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 1655 | |||
| 1656 | (autoload (quote display-battery-mode) "battery" "\ | 1719 | (autoload (quote display-battery-mode) "battery" "\ |
| 1657 | Display battery status information in the mode line. | 1720 | Display battery status information in the mode line. |
| 1658 | The text being displayed in the mode line is controlled by the variables | 1721 | The text being displayed in the mode line is controlled by the variables |
| @@ -1697,8 +1760,8 @@ non-interactive use see also `benchmark-run' and | |||
| 1697 | 1760 | ||
| 1698 | ;;;*** | 1761 | ;;;*** |
| 1699 | 1762 | ||
| 1700 | ;;;### (autoloads (bibtex-mode) "bibtex" "textmodes/bibtex.el" (17441 | 1763 | ;;;### (autoloads (bibtex-mode) "bibtex" "textmodes/bibtex.el" (17549 |
| 1701 | ;;;;;; 26667)) | 1764 | ;;;;;; 4608)) |
| 1702 | ;;; Generated autoloads from textmodes/bibtex.el | 1765 | ;;; Generated autoloads from textmodes/bibtex.el |
| 1703 | 1766 | ||
| 1704 | (autoload (quote bibtex-mode) "bibtex" "\ | 1767 | (autoload (quote bibtex-mode) "bibtex" "\ |
| @@ -2096,7 +2159,7 @@ deletion, or > if it is flagged for displaying. | |||
| 2096 | ;;;;;; browse-url browse-url-of-region browse-url-of-dired-file | 2159 | ;;;;;; browse-url browse-url-of-region browse-url-of-dired-file |
| 2097 | ;;;;;; browse-url-of-buffer browse-url-of-file browse-url-url-at-point | 2160 | ;;;;;; browse-url-of-buffer browse-url-of-file browse-url-url-at-point |
| 2098 | ;;;;;; browse-url-galeon-program browse-url-firefox-program browse-url-browser-function) | 2161 | ;;;;;; browse-url-galeon-program browse-url-firefox-program browse-url-browser-function) |
| 2099 | ;;;;;; "browse-url" "net/browse-url.el" (17390 26944)) | 2162 | ;;;;;; "browse-url" "net/browse-url.el" (17524 8597)) |
| 2100 | ;;; Generated autoloads from net/browse-url.el | 2163 | ;;; Generated autoloads from net/browse-url.el |
| 2101 | 2164 | ||
| 2102 | (defvar browse-url-browser-function (cond ((memq system-type (quote (windows-nt ms-dos cygwin))) (quote browse-url-default-windows-browser)) ((memq system-type (quote (darwin))) (quote browse-url-default-macosx-browser)) (t (quote browse-url-default-browser))) "\ | 2165 | (defvar browse-url-browser-function (cond ((memq system-type (quote (windows-nt ms-dos cygwin))) (quote browse-url-default-windows-browser)) ((memq system-type (quote (darwin))) (quote browse-url-default-macosx-browser)) (t (quote browse-url-default-browser))) "\ |
| @@ -2573,9 +2636,16 @@ Also see `make-text-button'. | |||
| 2573 | ;;;### (autoloads (batch-byte-recompile-directory batch-byte-compile | 2636 | ;;;### (autoloads (batch-byte-recompile-directory batch-byte-compile |
| 2574 | ;;;;;; batch-byte-compile-if-not-done display-call-tree byte-compile | 2637 | ;;;;;; batch-byte-compile-if-not-done display-call-tree byte-compile |
| 2575 | ;;;;;; compile-defun byte-compile-file byte-recompile-directory | 2638 | ;;;;;; compile-defun byte-compile-file byte-recompile-directory |
| 2576 | ;;;;;; byte-force-recompile) "bytecomp" "emacs-lisp/bytecomp.el" | 2639 | ;;;;;; byte-force-recompile byte-compile-warnings-safe-p) "bytecomp" |
| 2577 | ;;;;;; (17356 16192)) | 2640 | ;;;;;; "emacs-lisp/bytecomp.el" (17591 9570)) |
| 2578 | ;;; Generated autoloads from emacs-lisp/bytecomp.el | 2641 | ;;; Generated autoloads from emacs-lisp/bytecomp.el |
| 2642 | (put 'byte-compile-dynamic 'safe-local-variable 'booleanp) | ||
| 2643 | (put 'byte-compile-dynamic-docstrings 'safe-local-variable 'booleanp) | ||
| 2644 | |||
| 2645 | (autoload (quote byte-compile-warnings-safe-p) "bytecomp" "\ | ||
| 2646 | Not documented | ||
| 2647 | |||
| 2648 | \(fn X)" nil nil) | ||
| 2579 | 2649 | ||
| 2580 | (autoload (quote byte-force-recompile) "bytecomp" "\ | 2650 | (autoload (quote byte-force-recompile) "bytecomp" "\ |
| 2581 | Recompile every `.el' file in DIRECTORY that already has a `.elc' file. | 2651 | Recompile every `.el' file in DIRECTORY that already has a `.elc' file. |
| @@ -2600,6 +2670,7 @@ If the third argument FORCE is non-nil, | |||
| 2600 | recompile every `.el' file that already has a `.elc' file. | 2670 | recompile every `.el' file that already has a `.elc' file. |
| 2601 | 2671 | ||
| 2602 | \(fn DIRECTORY &optional ARG FORCE)" t nil) | 2672 | \(fn DIRECTORY &optional ARG FORCE)" t nil) |
| 2673 | (put 'no-byte-compile 'safe-local-variable 'booleanp) | ||
| 2603 | 2674 | ||
| 2604 | (autoload (quote byte-compile-file) "bytecomp" "\ | 2675 | (autoload (quote byte-compile-file) "bytecomp" "\ |
| 2605 | Compile a file of Lisp code named FILENAME into a file of byte code. | 2676 | Compile a file of Lisp code named FILENAME into a file of byte code. |
| @@ -2802,7 +2873,7 @@ See the documentation for `calculator-mode' for more information. | |||
| 2802 | ;;;;;; mark-holidays-in-calendar view-calendar-holidays-initially | 2873 | ;;;;;; mark-holidays-in-calendar view-calendar-holidays-initially |
| 2803 | ;;;;;; calendar-remove-frame-by-deleting mark-diary-entries-in-calendar | 2874 | ;;;;;; calendar-remove-frame-by-deleting mark-diary-entries-in-calendar |
| 2804 | ;;;;;; view-diary-entries-initially calendar-offset) "calendar" | 2875 | ;;;;;; view-diary-entries-initially calendar-offset) "calendar" |
| 2805 | ;;;;;; "calendar/calendar.el" (17427 41284)) | 2876 | ;;;;;; "calendar/calendar.el" (17591 9293)) |
| 2806 | ;;; Generated autoloads from calendar/calendar.el | 2877 | ;;; Generated autoloads from calendar/calendar.el |
| 2807 | 2878 | ||
| 2808 | (defvar calendar-offset 0 "\ | 2879 | (defvar calendar-offset 0 "\ |
| @@ -3390,6 +3461,13 @@ it fails. | |||
| 3390 | 3461 | ||
| 3391 | ;;;*** | 3462 | ;;;*** |
| 3392 | 3463 | ||
| 3464 | ;;;### (autoloads nil "cc-compat" "progmodes/cc-compat.el" (17515 | ||
| 3465 | ;;;;;; 24859)) | ||
| 3466 | ;;; Generated autoloads from progmodes/cc-compat.el | ||
| 3467 | (put 'c-indent-level 'safe-local-variable 'integerp) | ||
| 3468 | |||
| 3469 | ;;;*** | ||
| 3470 | |||
| 3393 | ;;;### (autoloads (c-guess-basic-syntax) "cc-engine" "progmodes/cc-engine.el" | 3471 | ;;;### (autoloads (c-guess-basic-syntax) "cc-engine" "progmodes/cc-engine.el" |
| 3394 | ;;;;;; (17411 11765)) | 3472 | ;;;;;; (17411 11765)) |
| 3395 | ;;; Generated autoloads from progmodes/cc-engine.el | 3473 | ;;; Generated autoloads from progmodes/cc-engine.el |
| @@ -3403,7 +3481,7 @@ Return the syntactic context of the current line. | |||
| 3403 | 3481 | ||
| 3404 | ;;;### (autoloads (pike-mode idl-mode java-mode objc-mode c++-mode | 3482 | ;;;### (autoloads (pike-mode idl-mode java-mode objc-mode c++-mode |
| 3405 | ;;;;;; c-mode c-initialize-cc-mode) "cc-mode" "progmodes/cc-mode.el" | 3483 | ;;;;;; c-mode c-initialize-cc-mode) "cc-mode" "progmodes/cc-mode.el" |
| 3406 | ;;;;;; (17411 11765)) | 3484 | ;;;;;; (17591 9622)) |
| 3407 | ;;; Generated autoloads from progmodes/cc-mode.el | 3485 | ;;; Generated autoloads from progmodes/cc-mode.el |
| 3408 | 3486 | ||
| 3409 | (autoload (quote c-initialize-cc-mode) "cc-mode" "\ | 3487 | (autoload (quote c-initialize-cc-mode) "cc-mode" "\ |
| @@ -3561,7 +3639,7 @@ Key bindings: | |||
| 3561 | ;;;*** | 3639 | ;;;*** |
| 3562 | 3640 | ||
| 3563 | ;;;### (autoloads (c-set-offset c-add-style c-set-style) "cc-styles" | 3641 | ;;;### (autoloads (c-set-offset c-add-style c-set-style) "cc-styles" |
| 3564 | ;;;;;; "progmodes/cc-styles.el" (17411 11765)) | 3642 | ;;;;;; "progmodes/cc-styles.el" (17524 8597)) |
| 3565 | ;;; Generated autoloads from progmodes/cc-styles.el | 3643 | ;;; Generated autoloads from progmodes/cc-styles.el |
| 3566 | 3644 | ||
| 3567 | (autoload (quote c-set-style) "cc-styles" "\ | 3645 | (autoload (quote c-set-style) "cc-styles" "\ |
| @@ -3612,13 +3690,21 @@ and exists only for compatibility reasons. | |||
| 3612 | 3690 | ||
| 3613 | ;;;*** | 3691 | ;;;*** |
| 3614 | 3692 | ||
| 3615 | ;;;### (autoloads nil "cc-subword" "progmodes/cc-subword.el" (17390 | 3693 | ;;;### (autoloads nil "cc-subword" "progmodes/cc-subword.el" (17515 |
| 3616 | ;;;;;; 27407)) | 3694 | ;;;;;; 24933)) |
| 3617 | ;;; Generated autoloads from progmodes/cc-subword.el | 3695 | ;;; Generated autoloads from progmodes/cc-subword.el |
| 3618 | (autoload 'c-subword-mode "cc-subword" "Mode enabling subword movement and editing keys." t) | 3696 | (autoload 'c-subword-mode "cc-subword" "Mode enabling subword movement and editing keys." t) |
| 3619 | 3697 | ||
| 3620 | ;;;*** | 3698 | ;;;*** |
| 3621 | 3699 | ||
| 3700 | ;;;### (autoloads nil "cc-vars" "progmodes/cc-vars.el" (17524 8597)) | ||
| 3701 | ;;; Generated autoloads from progmodes/cc-vars.el | ||
| 3702 | (put 'c-basic-offset 'safe-local-variable 'integerp) | ||
| 3703 | (put 'c-backslash-column 'safe-local-variable 'integerp) | ||
| 3704 | (put 'c-file-style 'safe-local-variable 'string-or-null-p) | ||
| 3705 | |||
| 3706 | ;;;*** | ||
| 3707 | |||
| 3622 | ;;;### (autoloads (ccl-execute-with-args check-ccl-program define-ccl-program | 3708 | ;;;### (autoloads (ccl-execute-with-args check-ccl-program define-ccl-program |
| 3623 | ;;;;;; declare-ccl-program ccl-dump ccl-compile) "ccl" "international/ccl.el" | 3709 | ;;;;;; declare-ccl-program ccl-dump ccl-compile) "ccl" "international/ccl.el" |
| 3624 | ;;;;;; (17279 27079)) | 3710 | ;;;;;; (17279 27079)) |
| @@ -4222,7 +4308,7 @@ is run). | |||
| 4222 | ;;;*** | 4308 | ;;;*** |
| 4223 | 4309 | ||
| 4224 | ;;;### (autoloads (cp-make-coding-system) "code-pages" "international/code-pages.el" | 4310 | ;;;### (autoloads (cp-make-coding-system) "code-pages" "international/code-pages.el" |
| 4225 | ;;;;;; (17357 6508)) | 4311 | ;;;;;; (17518 54396)) |
| 4226 | ;;; Generated autoloads from international/code-pages.el | 4312 | ;;; Generated autoloads from international/code-pages.el |
| 4227 | 4313 | ||
| 4228 | (autoload (quote cp-make-coding-system) "code-pages" "\ | 4314 | (autoload (quote cp-make-coding-system) "code-pages" "\ |
| @@ -4341,7 +4427,7 @@ read/written by MS-DOS software, or for display on the MS-DOS terminal. | |||
| 4341 | ;;;### (autoloads (comint-redirect-results-list-from-process comint-redirect-results-list | 4427 | ;;;### (autoloads (comint-redirect-results-list-from-process comint-redirect-results-list |
| 4342 | ;;;;;; comint-redirect-send-command-to-process comint-redirect-send-command | 4428 | ;;;;;; comint-redirect-send-command-to-process comint-redirect-send-command |
| 4343 | ;;;;;; comint-run make-comint make-comint-in-buffer) "comint" "comint.el" | 4429 | ;;;;;; comint-run make-comint make-comint-in-buffer) "comint" "comint.el" |
| 4344 | ;;;;;; (17454 30950)) | 4430 | ;;;;;; (17549 4606)) |
| 4345 | ;;; Generated autoloads from comint.el | 4431 | ;;; Generated autoloads from comint.el |
| 4346 | 4432 | ||
| 4347 | (defvar comint-output-filter-functions (quote (comint-postoutput-scroll-to-bottom comint-watch-for-password-prompt)) "\ | 4433 | (defvar comint-output-filter-functions (quote (comint-postoutput-scroll-to-bottom comint-watch-for-password-prompt)) "\ |
| @@ -4469,7 +4555,7 @@ on third call it again advances points to the next difference and so on. | |||
| 4469 | ;;;;;; compilation-shell-minor-mode compilation-mode compilation-start | 4555 | ;;;;;; compilation-shell-minor-mode compilation-mode compilation-start |
| 4470 | ;;;;;; compile compilation-disable-input compile-command compilation-search-path | 4556 | ;;;;;; compile compilation-disable-input compile-command compilation-search-path |
| 4471 | ;;;;;; compilation-ask-about-save compilation-window-height compilation-mode-hook) | 4557 | ;;;;;; compilation-ask-about-save compilation-window-height compilation-mode-hook) |
| 4472 | ;;;;;; "compile" "progmodes/compile.el" (17390 27407)) | 4558 | ;;;;;; "compile" "progmodes/compile.el" (17591 9719)) |
| 4473 | ;;; Generated autoloads from progmodes/compile.el | 4559 | ;;; Generated autoloads from progmodes/compile.el |
| 4474 | 4560 | ||
| 4475 | (defvar compilation-mode-hook nil "\ | 4561 | (defvar compilation-mode-hook nil "\ |
| @@ -4534,6 +4620,7 @@ You might also use mode hooks to specify it in certain modes, like this: | |||
| 4534 | (file-name-sans-extension buffer-file-name))))))") | 4620 | (file-name-sans-extension buffer-file-name))))))") |
| 4535 | 4621 | ||
| 4536 | (custom-autoload (quote compile-command) "compile") | 4622 | (custom-autoload (quote compile-command) "compile") |
| 4623 | (put 'compile-command 'safe-local-variable 'stringp) | ||
| 4537 | 4624 | ||
| 4538 | (defvar compilation-disable-input nil "\ | 4625 | (defvar compilation-disable-input nil "\ |
| 4539 | *If non-nil, send end-of-file as compilation process input. | 4626 | *If non-nil, send end-of-file as compilation process input. |
| @@ -4630,7 +4717,7 @@ This is the value of `next-error-function' in Compilation buffers. | |||
| 4630 | ;;;*** | 4717 | ;;;*** |
| 4631 | 4718 | ||
| 4632 | ;;;### (autoloads (partial-completion-mode) "complete" "complete.el" | 4719 | ;;;### (autoloads (partial-completion-mode) "complete" "complete.el" |
| 4633 | ;;;;;; (17425 24465)) | 4720 | ;;;;;; (17591 9281)) |
| 4634 | ;;; Generated autoloads from complete.el | 4721 | ;;; Generated autoloads from complete.el |
| 4635 | 4722 | ||
| 4636 | (defvar partial-completion-mode nil "\ | 4723 | (defvar partial-completion-mode nil "\ |
| @@ -4641,8 +4728,6 @@ use either \\[customize] or the function `partial-completion-mode'.") | |||
| 4641 | 4728 | ||
| 4642 | (custom-autoload (quote partial-completion-mode) "complete") | 4729 | (custom-autoload (quote partial-completion-mode) "complete") |
| 4643 | 4730 | ||
| 4644 | (put (quote partial-completion-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 4645 | |||
| 4646 | (autoload (quote partial-completion-mode) "complete" "\ | 4731 | (autoload (quote partial-completion-mode) "complete" "\ |
| 4647 | Toggle Partial Completion mode. | 4732 | Toggle Partial Completion mode. |
| 4648 | With prefix ARG, turn Partial Completion mode on if ARG is positive. | 4733 | With prefix ARG, turn Partial Completion mode on if ARG is positive. |
| @@ -4655,7 +4740,7 @@ as much as possible and `*' characters are treated likewise in file names. | |||
| 4655 | For example, M-x p-c-m expands to M-x partial-completion-mode since no other | 4740 | For example, M-x p-c-m expands to M-x partial-completion-mode since no other |
| 4656 | command begins with that sequence of characters, and | 4741 | command begins with that sequence of characters, and |
| 4657 | \\[find-file] f_b.c TAB might complete to foo_bar.c if that file existed and no | 4742 | \\[find-file] f_b.c TAB might complete to foo_bar.c if that file existed and no |
| 4658 | other file in that directory begin with that sequence of characters. | 4743 | other file in that directory begins with that sequence of characters. |
| 4659 | 4744 | ||
| 4660 | Unless `PC-disable-includes' is non-nil, the `<...>' sequence is interpreted | 4745 | Unless `PC-disable-includes' is non-nil, the `<...>' sequence is interpreted |
| 4661 | specially in \\[find-file]. For example, | 4746 | specially in \\[find-file]. For example, |
| @@ -5066,7 +5151,7 @@ For details see `conf-mode'. Example: | |||
| 5066 | ;;;*** | 5151 | ;;;*** |
| 5067 | 5152 | ||
| 5068 | ;;;### (autoloads (shuffle-vector cookie-snarf cookie-insert cookie) | 5153 | ;;;### (autoloads (shuffle-vector cookie-snarf cookie-insert cookie) |
| 5069 | ;;;;;; "cookie1" "play/cookie1.el" (17383 38807)) | 5154 | ;;;;;; "cookie1" "play/cookie1.el" (17569 17996)) |
| 5070 | ;;; Generated autoloads from play/cookie1.el | 5155 | ;;; Generated autoloads from play/cookie1.el |
| 5071 | 5156 | ||
| 5072 | (autoload (quote cookie) "cookie1" "\ | 5157 | (autoload (quote cookie) "cookie1" "\ |
| @@ -5126,7 +5211,7 @@ Insert a copyright by $ORGANIZATION notice at cursor. | |||
| 5126 | ;;;*** | 5211 | ;;;*** |
| 5127 | 5212 | ||
| 5128 | ;;;### (autoloads (cperl-mode) "cperl-mode" "progmodes/cperl-mode.el" | 5213 | ;;;### (autoloads (cperl-mode) "cperl-mode" "progmodes/cperl-mode.el" |
| 5129 | ;;;;;; (17390 27408)) | 5214 | ;;;;;; (17549 5053)) |
| 5130 | ;;; Generated autoloads from progmodes/cperl-mode.el | 5215 | ;;; Generated autoloads from progmodes/cperl-mode.el |
| 5131 | 5216 | ||
| 5132 | (autoload (quote cperl-mode) "cperl-mode" "\ | 5217 | (autoload (quote cperl-mode) "cperl-mode" "\ |
| @@ -5342,7 +5427,7 @@ With ARG, turn CRiSP mode on if ARG is positive, off otherwise. | |||
| 5342 | ;;;*** | 5427 | ;;;*** |
| 5343 | 5428 | ||
| 5344 | ;;;### (autoloads (completing-read-multiple) "crm" "emacs-lisp/crm.el" | 5429 | ;;;### (autoloads (completing-read-multiple) "crm" "emacs-lisp/crm.el" |
| 5345 | ;;;;;; (17390 26938)) | 5430 | ;;;;;; (17515 24857)) |
| 5346 | ;;; Generated autoloads from emacs-lisp/crm.el | 5431 | ;;; Generated autoloads from emacs-lisp/crm.el |
| 5347 | 5432 | ||
| 5348 | (autoload (quote completing-read-multiple) "crm" "\ | 5433 | (autoload (quote completing-read-multiple) "crm" "\ |
| @@ -5378,7 +5463,7 @@ INHERIT-INPUT-METHOD. | |||
| 5378 | ;;;*** | 5463 | ;;;*** |
| 5379 | 5464 | ||
| 5380 | ;;;### (autoloads (cua-selection-mode cua-mode) "cua-base" "emulation/cua-base.el" | 5465 | ;;;### (autoloads (cua-selection-mode cua-mode) "cua-base" "emulation/cua-base.el" |
| 5381 | ;;;;;; (17454 30835)) | 5466 | ;;;;;; (17524 8597)) |
| 5382 | ;;; Generated autoloads from emulation/cua-base.el | 5467 | ;;; Generated autoloads from emulation/cua-base.el |
| 5383 | 5468 | ||
| 5384 | (defvar cua-mode nil "\ | 5469 | (defvar cua-mode nil "\ |
| @@ -5389,8 +5474,6 @@ use either \\[customize] or the function `cua-mode'.") | |||
| 5389 | 5474 | ||
| 5390 | (custom-autoload (quote cua-mode) "cua-base") | 5475 | (custom-autoload (quote cua-mode) "cua-base") |
| 5391 | 5476 | ||
| 5392 | (put (quote cua-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 5393 | |||
| 5394 | (autoload (quote cua-mode) "cua-base" "\ | 5477 | (autoload (quote cua-mode) "cua-base" "\ |
| 5395 | Toggle CUA key-binding mode. | 5478 | Toggle CUA key-binding mode. |
| 5396 | When enabled, using shifted movement keys will activate the | 5479 | When enabled, using shifted movement keys will activate the |
| @@ -5427,8 +5510,8 @@ Enable CUA selection mode without the C-z/C-x/C-c/C-v bindings. | |||
| 5427 | \(fn ARG)" t nil) | 5510 | \(fn ARG)" t nil) |
| 5428 | (eval-after-load 'CUA-mode | 5511 | (eval-after-load 'CUA-mode |
| 5429 | '(error (concat "\n\n" | 5512 | '(error (concat "\n\n" |
| 5430 | "CUA-mode is now part of the standard GNU Emacs distribution,\n" | 5513 | "CUA-mode is now part of the standard GNU Emacs distribution, so you may\n" |
| 5431 | "so you may now enable and customize CUA via the Options menu.\n\n" | 5514 | "now enable CUA via the Options menu or by customizing option `cua-mode'.\n\n" |
| 5432 | "You have loaded an older version of CUA-mode which does\n" | 5515 | "You have loaded an older version of CUA-mode which does\n" |
| 5433 | "not work correctly with this version of GNU Emacs.\n\n" | 5516 | "not work correctly with this version of GNU Emacs.\n\n" |
| 5434 | (if user-init-file (concat | 5517 | (if user-init-file (concat |
| @@ -5445,7 +5528,7 @@ Enable CUA selection mode without the C-z/C-x/C-c/C-v bindings. | |||
| 5445 | ;;;;;; customize-face customize-changed-options customize-option-other-window | 5528 | ;;;;;; customize-face customize-changed-options customize-option-other-window |
| 5446 | ;;;;;; customize-option customize-group-other-window customize-group | 5529 | ;;;;;; customize-option customize-group-other-window customize-group |
| 5447 | ;;;;;; customize-mode customize customize-save-variable customize-set-variable | 5530 | ;;;;;; customize-mode customize customize-save-variable customize-set-variable |
| 5448 | ;;;;;; customize-set-value) "cus-edit" "cus-edit.el" (17441 26677)) | 5531 | ;;;;;; customize-set-value) "cus-edit" "cus-edit.el" (17591 9719)) |
| 5449 | ;;; Generated autoloads from cus-edit.el | 5532 | ;;; Generated autoloads from cus-edit.el |
| 5450 | (add-hook 'same-window-regexps "\\`\\*Customiz.*\\*\\'") | 5533 | (add-hook 'same-window-regexps "\\`\\*Customiz.*\\*\\'") |
| 5451 | 5534 | ||
| @@ -5542,6 +5625,31 @@ Show the buffer in another window, but don't select it. | |||
| 5542 | 5625 | ||
| 5543 | \(fn SYMBOL)" t nil) | 5626 | \(fn SYMBOL)" t nil) |
| 5544 | 5627 | ||
| 5628 | (defvar customize-package-emacs-version-alist nil "\ | ||
| 5629 | Alist mapping versions of Emacs to versions of a package. | ||
| 5630 | These package versions are listed in the :package-version | ||
| 5631 | keyword used in `defcustom', `defgroup', and `defface'. Its | ||
| 5632 | elements look like this: | ||
| 5633 | |||
| 5634 | (PACKAGE (PVERSION . EVERSION)...) | ||
| 5635 | |||
| 5636 | For each PACKAGE, which is a symbol, there are one or more | ||
| 5637 | elements that contain a package version PVERSION with an | ||
| 5638 | associated Emacs version EVERSION. These versions are strings. | ||
| 5639 | For example, the MH-E package updates this alist with the | ||
| 5640 | following: | ||
| 5641 | |||
| 5642 | (add-to-list 'customize-package-emacs-version-alist | ||
| 5643 | '(MH-E (\"6.0\" . \"22.1\") (\"6.1\" . \"22.1\") | ||
| 5644 | (\"7.0\" . \"22.1\") (\"7.1\" . \"22.1\") | ||
| 5645 | (\"7.2\" . \"22.1\") (\"7.3\" . \"22.1\") | ||
| 5646 | (\"7.4\" . \"22.1\") (\"8.0\" . \"22.1\"))) | ||
| 5647 | |||
| 5648 | The value of PACKAGE needs to be unique and it needs to match the | ||
| 5649 | PACKAGE value appearing in the :package-version keyword. Since | ||
| 5650 | the user might see the value in a error message, a good choice is | ||
| 5651 | the official name of the package, such as MH-E or Gnus.") | ||
| 5652 | |||
| 5545 | (defalias (quote customize-changed) (quote customize-changed-options)) | 5653 | (defalias (quote customize-changed) (quote customize-changed-options)) |
| 5546 | 5654 | ||
| 5547 | (autoload (quote customize-changed-options) "cus-edit" "\ | 5655 | (autoload (quote customize-changed-options) "cus-edit" "\ |
| @@ -5784,7 +5892,7 @@ Create a custom theme. | |||
| 5784 | ;;;*** | 5892 | ;;;*** |
| 5785 | 5893 | ||
| 5786 | ;;;### (autoloads (cvs-status-mode) "cvs-status" "cvs-status.el" | 5894 | ;;;### (autoloads (cvs-status-mode) "cvs-status" "cvs-status.el" |
| 5787 | ;;;;;; (17390 26936)) | 5895 | ;;;;;; (17496 38723)) |
| 5788 | ;;; Generated autoloads from cvs-status.el | 5896 | ;;; Generated autoloads from cvs-status.el |
| 5789 | 5897 | ||
| 5790 | (autoload (quote cvs-status-mode) "cvs-status" "\ | 5898 | (autoload (quote cvs-status-mode) "cvs-status" "\ |
| @@ -6309,8 +6417,9 @@ as well as widgets, buttons, overlays, and text properties. | |||
| 6309 | ;;;*** | 6417 | ;;;*** |
| 6310 | 6418 | ||
| 6311 | ;;;### (autoloads (desktop-revert desktop-save-in-desktop-dir desktop-change-dir | 6419 | ;;;### (autoloads (desktop-revert desktop-save-in-desktop-dir desktop-change-dir |
| 6312 | ;;;;;; desktop-load-default desktop-read desktop-locals-to-save | 6420 | ;;;;;; desktop-load-default desktop-read desktop-remove desktop-save |
| 6313 | ;;;;;; desktop-save-mode) "desktop" "desktop.el" (17390 27404)) | 6421 | ;;;;;; desktop-clear desktop-locals-to-save desktop-save-mode) "desktop" |
| 6422 | ;;;;;; "desktop.el" (17569 18001)) | ||
| 6314 | ;;; Generated autoloads from desktop.el | 6423 | ;;; Generated autoloads from desktop.el |
| 6315 | 6424 | ||
| 6316 | (defvar desktop-save-mode nil "\ | 6425 | (defvar desktop-save-mode nil "\ |
| @@ -6319,17 +6428,16 @@ See the command `desktop-save-mode' for a description of this minor-mode.") | |||
| 6319 | 6428 | ||
| 6320 | (custom-autoload (quote desktop-save-mode) "desktop") | 6429 | (custom-autoload (quote desktop-save-mode) "desktop") |
| 6321 | 6430 | ||
| 6322 | (put (quote desktop-save-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 6323 | |||
| 6324 | (autoload (quote desktop-save-mode) "desktop" "\ | 6431 | (autoload (quote desktop-save-mode) "desktop" "\ |
| 6325 | Toggle desktop saving mode. | 6432 | Toggle desktop saving mode. |
| 6326 | With numeric ARG, turn desktop saving on if ARG is positive, off | 6433 | With numeric ARG, turn desktop saving on if ARG is positive, off |
| 6327 | otherwise. See variable `desktop-save' for a description of when the | 6434 | otherwise. If desktop saving is turned on, the state of Emacs is |
| 6328 | desktop is saved. | 6435 | saved from one session to another. See variable `desktop-save' |
| 6436 | and function `desktop-read' for details. | ||
| 6329 | 6437 | ||
| 6330 | \(fn &optional ARG)" t nil) | 6438 | \(fn &optional ARG)" t nil) |
| 6331 | 6439 | ||
| 6332 | (defvar desktop-locals-to-save (quote (desktop-locals-to-save truncate-lines case-fold-search case-replace fill-column overwrite-mode change-log-default-name line-number-mode column-number-mode size-indication-mode buffer-file-coding-system indent-tabs-mode indicate-buffer-boundaries indicate-empty-lines show-trailing-whitespace)) "\ | 6440 | (defvar desktop-locals-to-save (quote (desktop-locals-to-save truncate-lines case-fold-search case-replace fill-column overwrite-mode change-log-default-name line-number-mode column-number-mode size-indication-mode buffer-file-coding-system indent-tabs-mode tab-width indicate-buffer-boundaries indicate-empty-lines show-trailing-whitespace)) "\ |
| 6333 | List of local variables to save for each buffer. | 6441 | List of local variables to save for each buffer. |
| 6334 | The variables are saved only when they really are local. Conventional minor | 6442 | The variables are saved only when they really are local. Conventional minor |
| 6335 | modes are restored automatically; they should not be listed here.") | 6443 | modes are restored automatically; they should not be listed here.") |
| @@ -6434,6 +6542,27 @@ See also `desktop-minor-mode-table'.") | |||
| 6434 | 6542 | ||
| 6435 | (put (quote desktop-minor-mode-handlers) (quote risky-local-variable) t) | 6543 | (put (quote desktop-minor-mode-handlers) (quote risky-local-variable) t) |
| 6436 | 6544 | ||
| 6545 | (autoload (quote desktop-clear) "desktop" "\ | ||
| 6546 | Empty the Desktop. | ||
| 6547 | This kills all buffers except for internal ones and those with names matched by | ||
| 6548 | a regular expression in the list `desktop-clear-preserve-buffers'. | ||
| 6549 | Furthermore, it clears the variables listed in `desktop-globals-to-clear'. | ||
| 6550 | |||
| 6551 | \(fn)" t nil) | ||
| 6552 | |||
| 6553 | (autoload (quote desktop-save) "desktop" "\ | ||
| 6554 | Save the desktop in a desktop file. | ||
| 6555 | Parameter DIRNAME specifies where to save the desktop file. | ||
| 6556 | See also `desktop-base-file-name'. | ||
| 6557 | |||
| 6558 | \(fn DIRNAME)" t nil) | ||
| 6559 | |||
| 6560 | (autoload (quote desktop-remove) "desktop" "\ | ||
| 6561 | Delete desktop file in `desktop-dirname'. | ||
| 6562 | This function also sets `desktop-dirname' to nil. | ||
| 6563 | |||
| 6564 | \(fn)" t nil) | ||
| 6565 | |||
| 6437 | (autoload (quote desktop-read) "desktop" "\ | 6566 | (autoload (quote desktop-read) "desktop" "\ |
| 6438 | Read and process the desktop file in directory DIRNAME. | 6567 | Read and process the desktop file in directory DIRNAME. |
| 6439 | Look for a desktop file in DIRNAME, or if DIRNAME is omitted, look in | 6568 | Look for a desktop file in DIRNAME, or if DIRNAME is omitted, look in |
| @@ -6472,28 +6601,10 @@ Revert to the last loaded desktop. | |||
| 6472 | ;;;*** | 6601 | ;;;*** |
| 6473 | 6602 | ||
| 6474 | ;;;### (autoloads (gnus-article-outlook-deuglify-article gnus-outlook-deuglify-article | 6603 | ;;;### (autoloads (gnus-article-outlook-deuglify-article gnus-outlook-deuglify-article |
| 6475 | ;;;;;; gnus-article-outlook-repair-attribution gnus-article-outlook-unwrap-lines | 6604 | ;;;;;; gnus-article-outlook-repair-attribution gnus-article-outlook-unwrap-lines) |
| 6476 | ;;;;;; gnus-outlook-display-hook gnus-outlook-deuglify-unwrap-max | 6605 | ;;;;;; "deuglify" "gnus/deuglify.el" (17490 7932)) |
| 6477 | ;;;;;; gnus-outlook-deuglify-unwrap-min) "deuglify" "gnus/deuglify.el" | ||
| 6478 | ;;;;;; (17383 38804)) | ||
| 6479 | ;;; Generated autoloads from gnus/deuglify.el | 6606 | ;;; Generated autoloads from gnus/deuglify.el |
| 6480 | 6607 | ||
| 6481 | (defvar gnus-outlook-deuglify-unwrap-min 45 "\ | ||
| 6482 | Minimum length of the cited line above the (possibly) wrapped line.") | ||
| 6483 | |||
| 6484 | (custom-autoload (quote gnus-outlook-deuglify-unwrap-min) "deuglify") | ||
| 6485 | |||
| 6486 | (defvar gnus-outlook-deuglify-unwrap-max 95 "\ | ||
| 6487 | Maximum length of the cited line after unwrapping.") | ||
| 6488 | |||
| 6489 | (custom-autoload (quote gnus-outlook-deuglify-unwrap-max) "deuglify") | ||
| 6490 | |||
| 6491 | (defvar gnus-outlook-display-hook nil "\ | ||
| 6492 | A hook called after an deuglified article has been prepared. | ||
| 6493 | It is run after `gnus-article-prepare-hook'.") | ||
| 6494 | |||
| 6495 | (custom-autoload (quote gnus-outlook-display-hook) "deuglify") | ||
| 6496 | |||
| 6497 | (autoload (quote gnus-article-outlook-unwrap-lines) "deuglify" "\ | 6608 | (autoload (quote gnus-article-outlook-unwrap-lines) "deuglify" "\ |
| 6498 | Unwrap lines that appear to be wrapped citation lines. | 6609 | Unwrap lines that appear to be wrapped citation lines. |
| 6499 | You can control what lines will be unwrapped by frobbing | 6610 | You can control what lines will be unwrapped by frobbing |
| @@ -6542,7 +6653,7 @@ Not documented | |||
| 6542 | ;;;*** | 6653 | ;;;*** |
| 6543 | 6654 | ||
| 6544 | ;;;### (autoloads (diary-mode diary-mail-entries diary) "diary-lib" | 6655 | ;;;### (autoloads (diary-mode diary-mail-entries diary) "diary-lib" |
| 6545 | ;;;;;; "calendar/diary-lib.el" (17390 27324)) | 6656 | ;;;;;; "calendar/diary-lib.el" (17518 54393)) |
| 6546 | ;;; Generated autoloads from calendar/diary-lib.el | 6657 | ;;; Generated autoloads from calendar/diary-lib.el |
| 6547 | 6658 | ||
| 6548 | (autoload (quote diary) "diary-lib" "\ | 6659 | (autoload (quote diary) "diary-lib" "\ |
| @@ -6588,7 +6699,7 @@ Major mode for editing the diary file. | |||
| 6588 | ;;;*** | 6699 | ;;;*** |
| 6589 | 6700 | ||
| 6590 | ;;;### (autoloads (diff-backup diff diff-command diff-switches) "diff" | 6701 | ;;;### (autoloads (diff-backup diff diff-command diff-switches) "diff" |
| 6591 | ;;;;;; "diff.el" (17390 26936)) | 6702 | ;;;;;; "diff.el" (17549 4607)) |
| 6592 | ;;; Generated autoloads from diff.el | 6703 | ;;; Generated autoloads from diff.el |
| 6593 | 6704 | ||
| 6594 | (defvar diff-switches "-c" "\ | 6705 | (defvar diff-switches "-c" "\ |
| @@ -6622,7 +6733,7 @@ With prefix arg, prompt for diff switches. | |||
| 6622 | ;;;*** | 6733 | ;;;*** |
| 6623 | 6734 | ||
| 6624 | ;;;### (autoloads (diff-minor-mode diff-mode) "diff-mode" "diff-mode.el" | 6735 | ;;;### (autoloads (diff-minor-mode diff-mode) "diff-mode" "diff-mode.el" |
| 6625 | ;;;;;; (17441 26677)) | 6736 | ;;;;;; (17591 9290)) |
| 6626 | ;;; Generated autoloads from diff-mode.el | 6737 | ;;; Generated autoloads from diff-mode.el |
| 6627 | 6738 | ||
| 6628 | (autoload (quote diff-mode) "diff-mode" "\ | 6739 | (autoload (quote diff-mode) "diff-mode" "\ |
| @@ -6636,6 +6747,7 @@ headers for you on-the-fly. | |||
| 6636 | You can also switch between context diff and unified diff with \\[diff-context->unified], | 6747 | You can also switch between context diff and unified diff with \\[diff-context->unified], |
| 6637 | or vice versa with \\[diff-unified->context] and you can also reverse the direction of | 6748 | or vice versa with \\[diff-unified->context] and you can also reverse the direction of |
| 6638 | a diff with \\[diff-reverse-direction]. | 6749 | a diff with \\[diff-reverse-direction]. |
| 6750 | \\{diff-mode-map} | ||
| 6639 | 6751 | ||
| 6640 | \(fn)" t nil) | 6752 | \(fn)" t nil) |
| 6641 | 6753 | ||
| @@ -6651,7 +6763,7 @@ Minor mode for viewing/editing context diffs. | |||
| 6651 | ;;;;;; dired dired-copy-preserve-time dired-dwim-target dired-keep-marker-symlink | 6763 | ;;;;;; dired dired-copy-preserve-time dired-dwim-target dired-keep-marker-symlink |
| 6652 | ;;;;;; dired-keep-marker-hardlink dired-keep-marker-copy dired-keep-marker-rename | 6764 | ;;;;;; dired-keep-marker-hardlink dired-keep-marker-copy dired-keep-marker-rename |
| 6653 | ;;;;;; dired-trivial-filenames dired-ls-F-marks-symlinks dired-listing-switches) | 6765 | ;;;;;; dired-trivial-filenames dired-ls-F-marks-symlinks dired-listing-switches) |
| 6654 | ;;;;;; "dired" "dired.el" (17396 42158)) | 6766 | ;;;;;; "dired" "dired.el" (17549 4607)) |
| 6655 | ;;; Generated autoloads from dired.el | 6767 | ;;; Generated autoloads from dired.el |
| 6656 | 6768 | ||
| 6657 | (defvar dired-listing-switches "-al" "\ | 6769 | (defvar dired-listing-switches "-al" "\ |
| @@ -6856,7 +6968,7 @@ Keybindings: | |||
| 6856 | ;;;;;; dired-run-shell-command dired-do-shell-command dired-clean-directory | 6968 | ;;;;;; dired-run-shell-command dired-do-shell-command dired-clean-directory |
| 6857 | ;;;;;; dired-do-print dired-do-touch dired-do-chown dired-do-chgrp | 6969 | ;;;;;; dired-do-print dired-do-touch dired-do-chown dired-do-chgrp |
| 6858 | ;;;;;; dired-do-chmod dired-compare-directories dired-backup-diff | 6970 | ;;;;;; dired-do-chmod dired-compare-directories dired-backup-diff |
| 6859 | ;;;;;; dired-diff) "dired-aux" "dired-aux.el" (17390 26936)) | 6971 | ;;;;;; dired-diff) "dired-aux" "dired-aux.el" (17524 8597)) |
| 6860 | ;;; Generated autoloads from dired-aux.el | 6972 | ;;; Generated autoloads from dired-aux.el |
| 6861 | 6973 | ||
| 6862 | (autoload (quote dired-diff) "dired-aux" "\ | 6974 | (autoload (quote dired-diff) "dired-aux" "\ |
| @@ -6978,7 +7090,8 @@ the Dired buffer, so output files usually are created there instead of | |||
| 6978 | in a subdir. | 7090 | in a subdir. |
| 6979 | 7091 | ||
| 6980 | In a noninteractive call (from Lisp code), you must specify | 7092 | In a noninteractive call (from Lisp code), you must specify |
| 6981 | the list of file names explicitly with the FILE-LIST argument. | 7093 | the list of file names explicitly with the FILE-LIST argument, which |
| 7094 | can be produced by `dired-get-marked-files', for example. | ||
| 6982 | 7095 | ||
| 6983 | \(fn COMMAND &optional ARG FILE-LIST)" t nil) | 7096 | \(fn COMMAND &optional ARG FILE-LIST)" t nil) |
| 6984 | 7097 | ||
| @@ -7264,7 +7377,7 @@ true then the type of the file linked to by FILE is printed instead. | |||
| 7264 | 7377 | ||
| 7265 | ;;;*** | 7378 | ;;;*** |
| 7266 | 7379 | ||
| 7267 | ;;;### (autoloads (dired-jump) "dired-x" "dired-x.el" (17390 27370)) | 7380 | ;;;### (autoloads (dired-jump) "dired-x" "dired-x.el" (17524 8597)) |
| 7268 | ;;; Generated autoloads from dired-x.el | 7381 | ;;; Generated autoloads from dired-x.el |
| 7269 | 7382 | ||
| 7270 | (autoload (quote dired-jump) "dired-x" "\ | 7383 | (autoload (quote dired-jump) "dired-x" "\ |
| @@ -7278,7 +7391,7 @@ buffer and try again. | |||
| 7278 | 7391 | ||
| 7279 | ;;;*** | 7392 | ;;;*** |
| 7280 | 7393 | ||
| 7281 | ;;;### (autoloads (dirtrack) "dirtrack" "dirtrack.el" (17390 26937)) | 7394 | ;;;### (autoloads (dirtrack) "dirtrack" "dirtrack.el" (17591 9569)) |
| 7282 | ;;; Generated autoloads from dirtrack.el | 7395 | ;;; Generated autoloads from dirtrack.el |
| 7283 | 7396 | ||
| 7284 | (autoload (quote dirtrack) "dirtrack" "\ | 7397 | (autoload (quote dirtrack) "dirtrack" "\ |
| @@ -7433,7 +7546,7 @@ Default is 2. | |||
| 7433 | 7546 | ||
| 7434 | ;;;*** | 7547 | ;;;*** |
| 7435 | 7548 | ||
| 7436 | ;;;### (autoloads (dnd-protocol-alist) "dnd" "dnd.el" (17390 26937)) | 7549 | ;;;### (autoloads (dnd-protocol-alist) "dnd" "dnd.el" (17524 8597)) |
| 7437 | ;;; Generated autoloads from dnd.el | 7550 | ;;; Generated autoloads from dnd.el |
| 7438 | 7551 | ||
| 7439 | (defvar dnd-protocol-alist (quote (("^file:///" . dnd-open-local-file) ("^file://" . dnd-open-file) ("^file:" . dnd-open-local-file))) "\ | 7552 | (defvar dnd-protocol-alist (quote (("^file:///" . dnd-open-local-file) ("^file://" . dnd-open-file) ("^file:" . dnd-open-local-file))) "\ |
| @@ -7509,7 +7622,7 @@ when pressed twice. See variable `double-map' for details. | |||
| 7509 | 7622 | ||
| 7510 | ;;;*** | 7623 | ;;;*** |
| 7511 | 7624 | ||
| 7512 | ;;;### (autoloads (dunnet) "dunnet" "play/dunnet.el" (17383 38807)) | 7625 | ;;;### (autoloads (dunnet) "dunnet" "play/dunnet.el" (17591 9445)) |
| 7513 | ;;; Generated autoloads from play/dunnet.el | 7626 | ;;; Generated autoloads from play/dunnet.el |
| 7514 | 7627 | ||
| 7515 | (autoload (quote dunnet) "dunnet" "\ | 7628 | (autoload (quote dunnet) "dunnet" "\ |
| @@ -7532,7 +7645,7 @@ Play sounds in message buffers. | |||
| 7532 | 7645 | ||
| 7533 | ;;;### (autoloads (easy-mmode-defsyntax easy-mmode-defmap easy-mmode-define-keymap | 7646 | ;;;### (autoloads (easy-mmode-defsyntax easy-mmode-defmap easy-mmode-define-keymap |
| 7534 | ;;;;;; define-global-minor-mode define-minor-mode) "easy-mmode" | 7647 | ;;;;;; define-global-minor-mode define-minor-mode) "easy-mmode" |
| 7535 | ;;;;;; "emacs-lisp/easy-mmode.el" (17390 26938)) | 7648 | ;;;;;; "emacs-lisp/easy-mmode.el" (17591 9619)) |
| 7536 | ;;; Generated autoloads from emacs-lisp/easy-mmode.el | 7649 | ;;; Generated autoloads from emacs-lisp/easy-mmode.el |
| 7537 | 7650 | ||
| 7538 | (defalias (quote easy-mmode-define-minor-mode) (quote define-minor-mode)) | 7651 | (defalias (quote easy-mmode-define-minor-mode) (quote define-minor-mode)) |
| @@ -7552,9 +7665,9 @@ Optional KEYMAP is the default (defvar) keymap bound to the mode keymap. | |||
| 7552 | The above three arguments can be skipped if keyword arguments are | 7665 | The above three arguments can be skipped if keyword arguments are |
| 7553 | used (see below). | 7666 | used (see below). |
| 7554 | 7667 | ||
| 7555 | BODY contains code that will be executed each time the mode is (dis)activated. | 7668 | BODY contains code to execute each time the mode is activated or deactivated. |
| 7556 | It will be executed after any toggling but before running the hook variable | 7669 | It is executed after toggling the mode, |
| 7557 | `mode-HOOK'. | 7670 | and before running the hook variable `mode-HOOK'. |
| 7558 | Before the actual body code, you can write keyword arguments (alternating | 7671 | Before the actual body code, you can write keyword arguments (alternating |
| 7559 | keywords and values). These following keyword arguments are supported (other | 7672 | keywords and values). These following keyword arguments are supported (other |
| 7560 | keywords will be passed to `defcustom' if the minor mode is global): | 7673 | keywords will be passed to `defcustom' if the minor mode is global): |
| @@ -8029,8 +8142,8 @@ See `ebnf-style-database' documentation. | |||
| 8029 | ;;;;;; ebrowse-tags-find-declaration-other-window ebrowse-tags-find-definition | 8142 | ;;;;;; ebrowse-tags-find-declaration-other-window ebrowse-tags-find-definition |
| 8030 | ;;;;;; ebrowse-tags-view-definition ebrowse-tags-find-declaration | 8143 | ;;;;;; ebrowse-tags-view-definition ebrowse-tags-find-declaration |
| 8031 | ;;;;;; ebrowse-tags-view-declaration ebrowse-member-mode ebrowse-electric-choose-tree | 8144 | ;;;;;; ebrowse-tags-view-declaration ebrowse-member-mode ebrowse-electric-choose-tree |
| 8032 | ;;;;;; ebrowse-tree-mode) "ebrowse" "progmodes/ebrowse.el" (17396 | 8145 | ;;;;;; ebrowse-tree-mode) "ebrowse" "progmodes/ebrowse.el" (17591 |
| 8033 | ;;;;;; 42159)) | 8146 | ;;;;;; 9719)) |
| 8034 | ;;; Generated autoloads from progmodes/ebrowse.el | 8147 | ;;; Generated autoloads from progmodes/ebrowse.el |
| 8035 | 8148 | ||
| 8036 | (autoload (quote ebrowse-tree-mode) "ebrowse" "\ | 8149 | (autoload (quote ebrowse-tree-mode) "ebrowse" "\ |
| @@ -8218,8 +8331,8 @@ With prefix arg NOCONFIRM, execute current line as-is without editing. | |||
| 8218 | ;;;*** | 8331 | ;;;*** |
| 8219 | 8332 | ||
| 8220 | ;;;### (autoloads (edebug-all-forms edebug-all-defs edebug-eval-top-level-form | 8333 | ;;;### (autoloads (edebug-all-forms edebug-all-defs edebug-eval-top-level-form |
| 8221 | ;;;;;; def-edebug-spec edebug-all-forms edebug-all-defs) "edebug" | 8334 | ;;;;;; edebug-basic-spec edebug-all-forms edebug-all-defs) "edebug" |
| 8222 | ;;;;;; "emacs-lisp/edebug.el" (17418 6751)) | 8335 | ;;;;;; "emacs-lisp/edebug.el" (17591 11774)) |
| 8223 | ;;; Generated autoloads from emacs-lisp/edebug.el | 8336 | ;;; Generated autoloads from emacs-lisp/edebug.el |
| 8224 | 8337 | ||
| 8225 | (defvar edebug-all-defs nil "\ | 8338 | (defvar edebug-all-defs nil "\ |
| @@ -8242,12 +8355,12 @@ Use the command `edebug-all-forms' to toggle the value of this option.") | |||
| 8242 | 8355 | ||
| 8243 | (custom-autoload (quote edebug-all-forms) "edebug") | 8356 | (custom-autoload (quote edebug-all-forms) "edebug") |
| 8244 | 8357 | ||
| 8245 | (autoload (quote def-edebug-spec) "edebug" "\ | 8358 | (autoload (quote edebug-basic-spec) "edebug" "\ |
| 8246 | Set the `edebug-form-spec' property of SYMBOL according to SPEC. | 8359 | Return t if SPEC uses only extant spec symbols. |
| 8247 | Both SYMBOL and SPEC are unevaluated. The SPEC can be 0, t, a symbol | 8360 | An extant spec symbol is a symbol that is not a function and has a |
| 8248 | \(naming a function), or a list. | 8361 | `edebug-form-spec' property. |
| 8249 | 8362 | ||
| 8250 | \(fn SYMBOL SPEC)" nil (quote macro)) | 8363 | \(fn SPEC)" nil nil) |
| 8251 | 8364 | ||
| 8252 | (defalias (quote edebug-defun) (quote edebug-eval-top-level-form)) | 8365 | (defalias (quote edebug-defun) (quote edebug-eval-top-level-form)) |
| 8253 | 8366 | ||
| @@ -8292,7 +8405,7 @@ Toggle edebugging of all forms. | |||
| 8292 | ;;;;;; ediff-merge-directory-revisions ediff-merge-directories-with-ancestor | 8405 | ;;;;;; ediff-merge-directory-revisions ediff-merge-directories-with-ancestor |
| 8293 | ;;;;;; ediff-merge-directories ediff-directories3 ediff-directory-revisions | 8406 | ;;;;;; ediff-merge-directories ediff-directories3 ediff-directory-revisions |
| 8294 | ;;;;;; ediff-directories ediff-buffers3 ediff-buffers ediff-backup | 8407 | ;;;;;; ediff-directories ediff-buffers3 ediff-buffers ediff-backup |
| 8295 | ;;;;;; ediff-files3 ediff-files) "ediff" "ediff.el" (17401 60343)) | 8408 | ;;;;;; ediff-files3 ediff-files) "ediff" "ediff.el" (17569 17781)) |
| 8296 | ;;; Generated autoloads from ediff.el | 8409 | ;;; Generated autoloads from ediff.el |
| 8297 | 8410 | ||
| 8298 | (autoload (quote ediff-files) "ediff" "\ | 8411 | (autoload (quote ediff-files) "ediff" "\ |
| @@ -8553,7 +8666,7 @@ Not documented | |||
| 8553 | ;;;*** | 8666 | ;;;*** |
| 8554 | 8667 | ||
| 8555 | ;;;### (autoloads (ediff-show-registry) "ediff-mult" "ediff-mult.el" | 8668 | ;;;### (autoloads (ediff-show-registry) "ediff-mult" "ediff-mult.el" |
| 8556 | ;;;;;; (17401 60342)) | 8669 | ;;;;;; (17569 17781)) |
| 8557 | ;;; Generated autoloads from ediff-mult.el | 8670 | ;;; Generated autoloads from ediff-mult.el |
| 8558 | 8671 | ||
| 8559 | (autoload (quote ediff-show-registry) "ediff-mult" "\ | 8672 | (autoload (quote ediff-show-registry) "ediff-mult" "\ |
| @@ -8933,8 +9046,8 @@ Not documented | |||
| 8933 | 9046 | ||
| 8934 | ;;;*** | 9047 | ;;;*** |
| 8935 | 9048 | ||
| 8936 | ;;;### (autoloads (erc-select erc-select-read-args) "erc" "erc/erc.el" | 9049 | ;;;### (autoloads (erc-handle-irc-url erc-select erc-select-read-args) |
| 8937 | ;;;;;; (17454 30949)) | 9050 | ;;;;;; "erc" "erc/erc.el" (17591 9873)) |
| 8938 | ;;; Generated autoloads from erc/erc.el | 9051 | ;;; Generated autoloads from erc/erc.el |
| 8939 | 9052 | ||
| 8940 | (autoload (quote erc-select-read-args) "erc" "\ | 9053 | (autoload (quote erc-select-read-args) "erc" "\ |
| @@ -8952,17 +9065,26 @@ Non-interactively, it takes keyword arguments | |||
| 8952 | (full-name (erc-compute-full-name))) | 9065 | (full-name (erc-compute-full-name))) |
| 8953 | 9066 | ||
| 8954 | That is, if called with | 9067 | That is, if called with |
| 9068 | |||
| 8955 | (erc-select :server \"irc.freenode.net\" :full-name \"Harry S Truman\") | 9069 | (erc-select :server \"irc.freenode.net\" :full-name \"Harry S Truman\") |
| 9070 | |||
| 8956 | server and full-name will be set to those values, whereas | 9071 | server and full-name will be set to those values, whereas |
| 8957 | erc-compute-port, erc-compute-nick and erc-compute-full-name will | 9072 | `erc-compute-port', `erc-compute-nick' and `erc-compute-full-name' will |
| 8958 | be invoked for those parameters' values | 9073 | be invoked for the values of the other parameters. |
| 8959 | 9074 | ||
| 8960 | \(fn &key (SERVER (erc-compute-server)) (PORT (erc-compute-port)) (NICK (erc-compute-nick)) PASSWORD (FULL-NAME (erc-compute-full-name)))" t nil) | 9075 | \(fn &key (SERVER (erc-compute-server)) (PORT (erc-compute-port)) (NICK (erc-compute-nick)) PASSWORD (FULL-NAME (erc-compute-full-name)))" t nil) |
| 8961 | 9076 | ||
| 9077 | (autoload (quote erc-handle-irc-url) "erc" "\ | ||
| 9078 | Use ERC to IRC on HOST:PORT in CHANNEL as USER with PASSWORD. | ||
| 9079 | If ERC is already connected to HOST:PORT, simply /join CHANNEL. | ||
| 9080 | Otherwise, connect to HOST:PORT as USER and /join CHANNEL. | ||
| 9081 | |||
| 9082 | \(fn HOST PORT CHANNEL USER PASSWORD)" nil nil) | ||
| 9083 | |||
| 8962 | ;;;*** | 9084 | ;;;*** |
| 8963 | 9085 | ||
| 8964 | ;;;### (autoloads nil "erc-autoaway" "erc/erc-autoaway.el" (17396 | 9086 | ;;;### (autoloads nil "erc-autoaway" "erc/erc-autoaway.el" (17591 |
| 8965 | ;;;;;; 42158)) | 9087 | ;;;;;; 9873)) |
| 8966 | ;;; Generated autoloads from erc/erc-autoaway.el | 9088 | ;;; Generated autoloads from erc/erc-autoaway.el |
| 8967 | (autoload 'erc-autoaway-mode "erc-autoaway") | 9089 | (autoload 'erc-autoaway-mode "erc-autoaway") |
| 8968 | 9090 | ||
| @@ -9013,7 +9135,7 @@ that subcommand. | |||
| 9013 | ;;;;;; erc-ezb-add-session erc-ezb-end-of-session-list erc-ezb-init-session-list | 9135 | ;;;;;; erc-ezb-add-session erc-ezb-end-of-session-list erc-ezb-init-session-list |
| 9014 | ;;;;;; erc-ezb-identify erc-ezb-notice-autodetect erc-ezb-lookup-action | 9136 | ;;;;;; erc-ezb-identify erc-ezb-notice-autodetect erc-ezb-lookup-action |
| 9015 | ;;;;;; erc-ezb-get-login erc-cmd-ezb) "erc-ezbounce" "erc/erc-ezbounce.el" | 9137 | ;;;;;; erc-ezb-get-login erc-cmd-ezb) "erc-ezbounce" "erc/erc-ezbounce.el" |
| 9016 | ;;;;;; (17396 42158)) | 9138 | ;;;;;; (17469 12056)) |
| 9017 | ;;; Generated autoloads from erc/erc-ezbounce.el | 9139 | ;;; Generated autoloads from erc/erc-ezbounce.el |
| 9018 | 9140 | ||
| 9019 | (autoload (quote erc-cmd-ezb) "erc-ezbounce" "\ | 9141 | (autoload (quote erc-cmd-ezb) "erc-ezbounce" "\ |
| @@ -9096,8 +9218,9 @@ You can put this on `erc-insert-modify-hook' and/or `erc-send-modify-hook'. | |||
| 9096 | ;;;*** | 9218 | ;;;*** |
| 9097 | 9219 | ||
| 9098 | ;;;### (autoloads (erc-identd-stop erc-identd-start) "erc-identd" | 9220 | ;;;### (autoloads (erc-identd-stop erc-identd-start) "erc-identd" |
| 9099 | ;;;;;; "erc/erc-identd.el" (17454 30949)) | 9221 | ;;;;;; "erc/erc-identd.el" (17591 9873)) |
| 9100 | ;;; Generated autoloads from erc/erc-identd.el | 9222 | ;;; Generated autoloads from erc/erc-identd.el |
| 9223 | (autoload 'erc-identd-mode "erc-identd") | ||
| 9101 | 9224 | ||
| 9102 | (autoload (quote erc-identd-start) "erc-identd" "\ | 9225 | (autoload (quote erc-identd-start) "erc-identd" "\ |
| 9103 | Start an identd server listening to port 8113. | 9226 | Start an identd server listening to port 8113. |
| @@ -9117,7 +9240,7 @@ Not documented | |||
| 9117 | ;;;*** | 9240 | ;;;*** |
| 9118 | 9241 | ||
| 9119 | ;;;### (autoloads (erc-create-imenu-index) "erc-imenu" "erc/erc-imenu.el" | 9242 | ;;;### (autoloads (erc-create-imenu-index) "erc-imenu" "erc/erc-imenu.el" |
| 9120 | ;;;;;; (17396 42158)) | 9243 | ;;;;;; (17591 9873)) |
| 9121 | ;;; Generated autoloads from erc/erc-imenu.el | 9244 | ;;; Generated autoloads from erc/erc-imenu.el |
| 9122 | 9245 | ||
| 9123 | (autoload (quote erc-create-imenu-index) "erc-imenu" "\ | 9246 | (autoload (quote erc-create-imenu-index) "erc-imenu" "\ |
| @@ -9127,7 +9250,7 @@ Not documented | |||
| 9127 | 9250 | ||
| 9128 | ;;;*** | 9251 | ;;;*** |
| 9129 | 9252 | ||
| 9130 | ;;;### (autoloads nil "erc-join" "erc/erc-join.el" (17396 42158)) | 9253 | ;;;### (autoloads nil "erc-join" "erc/erc-join.el" (17469 12056)) |
| 9131 | ;;; Generated autoloads from erc/erc-join.el | 9254 | ;;; Generated autoloads from erc/erc-join.el |
| 9132 | (autoload 'erc-autojoin-mode "erc-join" nil t) | 9255 | (autoload 'erc-autojoin-mode "erc-join" nil t) |
| 9133 | 9256 | ||
| @@ -9155,7 +9278,7 @@ to RFC and send the LIST header (#321) at start of list transmission. | |||
| 9155 | ;;;*** | 9278 | ;;;*** |
| 9156 | 9279 | ||
| 9157 | ;;;### (autoloads (erc-save-buffer-in-logs erc-logging-enabled) "erc-log" | 9280 | ;;;### (autoloads (erc-save-buffer-in-logs erc-logging-enabled) "erc-log" |
| 9158 | ;;;;;; "erc/erc-log.el" (17396 42158)) | 9281 | ;;;;;; "erc/erc-log.el" (17591 9873)) |
| 9159 | ;;; Generated autoloads from erc/erc-log.el | 9282 | ;;; Generated autoloads from erc/erc-log.el |
| 9160 | (autoload 'erc-log-mode "erc-log" nil t) | 9283 | (autoload 'erc-log-mode "erc-log" nil t) |
| 9161 | 9284 | ||
| @@ -9187,7 +9310,7 @@ You can save every individual message by putting this function on | |||
| 9187 | ;;;### (autoloads (erc-delete-dangerous-host erc-add-dangerous-host | 9310 | ;;;### (autoloads (erc-delete-dangerous-host erc-add-dangerous-host |
| 9188 | ;;;;;; erc-delete-keyword erc-add-keyword erc-delete-fool erc-add-fool | 9311 | ;;;;;; erc-delete-keyword erc-add-keyword erc-delete-fool erc-add-fool |
| 9189 | ;;;;;; erc-delete-pal erc-add-pal) "erc-match" "erc/erc-match.el" | 9312 | ;;;;;; erc-delete-pal erc-add-pal) "erc-match" "erc/erc-match.el" |
| 9190 | ;;;;;; (17396 42158)) | 9313 | ;;;;;; (17591 9873)) |
| 9191 | ;;; Generated autoloads from erc/erc-match.el | 9314 | ;;; Generated autoloads from erc/erc-match.el |
| 9192 | (autoload 'erc-match-mode "erc-match") | 9315 | (autoload 'erc-match-mode "erc-match") |
| 9193 | 9316 | ||
| @@ -9234,7 +9357,7 @@ Delete dangerous-host interactively to `erc-dangerous-hosts'. | |||
| 9234 | ;;;*** | 9357 | ;;;*** |
| 9235 | 9358 | ||
| 9236 | ;;;### (autoloads (erc-cmd-WHOLEFT) "erc-netsplit" "erc/erc-netsplit.el" | 9359 | ;;;### (autoloads (erc-cmd-WHOLEFT) "erc-netsplit" "erc/erc-netsplit.el" |
| 9237 | ;;;;;; (17396 42158)) | 9360 | ;;;;;; (17469 12056)) |
| 9238 | ;;; Generated autoloads from erc/erc-netsplit.el | 9361 | ;;; Generated autoloads from erc/erc-netsplit.el |
| 9239 | (autoload 'erc-netsplit-mode "erc-netsplit") | 9362 | (autoload 'erc-netsplit-mode "erc-netsplit") |
| 9240 | 9363 | ||
| @@ -9288,8 +9411,8 @@ Not documented | |||
| 9288 | 9411 | ||
| 9289 | ;;;*** | 9412 | ;;;*** |
| 9290 | 9413 | ||
| 9291 | ;;;### (autoloads nil "erc-pcomplete" "erc/erc-pcomplete.el" (17396 | 9414 | ;;;### (autoloads nil "erc-pcomplete" "erc/erc-pcomplete.el" (17591 |
| 9292 | ;;;;;; 42158)) | 9415 | ;;;;;; 9873)) |
| 9293 | ;;; Generated autoloads from erc/erc-pcomplete.el | 9416 | ;;; Generated autoloads from erc/erc-pcomplete.el |
| 9294 | (autoload 'erc-completion-mode "erc-pcomplete" nil t) | 9417 | (autoload 'erc-completion-mode "erc-pcomplete" nil t) |
| 9295 | 9418 | ||
| @@ -9356,7 +9479,7 @@ This will add a speedbar major display mode. | |||
| 9356 | 9479 | ||
| 9357 | ;;;*** | 9480 | ;;;*** |
| 9358 | 9481 | ||
| 9359 | ;;;### (autoloads nil "erc-track" "erc/erc-track.el" (17396 42158)) | 9482 | ;;;### (autoloads nil "erc-track" "erc/erc-track.el" (17591 9873)) |
| 9360 | ;;; Generated autoloads from erc/erc-track.el | 9483 | ;;; Generated autoloads from erc/erc-track.el |
| 9361 | (autoload 'erc-track-mode "erc-track" nil t) | 9484 | (autoload 'erc-track-mode "erc-track" nil t) |
| 9362 | (autoload 'erc-track-when-inactive-mode "erc-track" nil t) | 9485 | (autoload 'erc-track-when-inactive-mode "erc-track" nil t) |
| @@ -9767,7 +9890,7 @@ for \\[find-tag] (which see). | |||
| 9767 | ;;;;;; ethio-fidel-to-sera-buffer ethio-fidel-to-sera-region ethio-sera-to-fidel-marker | 9890 | ;;;;;; ethio-fidel-to-sera-buffer ethio-fidel-to-sera-region ethio-sera-to-fidel-marker |
| 9768 | ;;;;;; ethio-sera-to-fidel-mail ethio-sera-to-fidel-mail-or-marker | 9891 | ;;;;;; ethio-sera-to-fidel-mail ethio-sera-to-fidel-mail-or-marker |
| 9769 | ;;;;;; ethio-sera-to-fidel-buffer ethio-sera-to-fidel-region setup-ethiopic-environment-internal) | 9892 | ;;;;;; ethio-sera-to-fidel-buffer ethio-sera-to-fidel-region setup-ethiopic-environment-internal) |
| 9770 | ;;;;;; "ethio-util" "language/ethio-util.el" (17327 23539)) | 9893 | ;;;;;; "ethio-util" "language/ethio-util.el" (17549 5052)) |
| 9771 | ;;; Generated autoloads from language/ethio-util.el | 9894 | ;;; Generated autoloads from language/ethio-util.el |
| 9772 | 9895 | ||
| 9773 | (autoload (quote setup-ethiopic-environment-internal) "ethio-util" "\ | 9896 | (autoload (quote setup-ethiopic-environment-internal) "ethio-util" "\ |
| @@ -9935,7 +10058,7 @@ Convert fidel-tex commands in the current buffer into fidel chars. | |||
| 9935 | (autoload (quote ethio-fidel-to-java-buffer) "ethio-util" "\ | 10058 | (autoload (quote ethio-fidel-to-java-buffer) "ethio-util" "\ |
| 9936 | Convert Ethiopic characters into the Java escape sequences. | 10059 | Convert Ethiopic characters into the Java escape sequences. |
| 9937 | 10060 | ||
| 9938 | Each escape sequence is of the form uXXXX, where XXXX is the | 10061 | Each escape sequence is of the form \\uXXXX, where XXXX is the |
| 9939 | character's codepoint (in hex) in Unicode. | 10062 | character's codepoint (in hex) in Unicode. |
| 9940 | 10063 | ||
| 9941 | If `ethio-java-save-lowercase' is non-nil, use [0-9a-f]. | 10064 | If `ethio-java-save-lowercase' is non-nil, use [0-9a-f]. |
| @@ -10081,6 +10204,33 @@ Edit the hotlist of directory servers in a specialized buffer. | |||
| 10081 | 10204 | ||
| 10082 | ;;;*** | 10205 | ;;;*** |
| 10083 | 10206 | ||
| 10207 | ;;;### (autoloads (ewoc-create) "ewoc" "emacs-lisp/ewoc.el" (17549 | ||
| 10208 | ;;;;;; 4607)) | ||
| 10209 | ;;; Generated autoloads from emacs-lisp/ewoc.el | ||
| 10210 | |||
| 10211 | (autoload (quote ewoc-create) "ewoc" "\ | ||
| 10212 | Create an empty ewoc. | ||
| 10213 | |||
| 10214 | The ewoc will be inserted in the current buffer at the current position. | ||
| 10215 | |||
| 10216 | PRETTY-PRINTER should be a function that takes one argument, an | ||
| 10217 | element, and inserts a string representing it in the buffer (at | ||
| 10218 | point). The string PRETTY-PRINTER inserts may be empty or span | ||
| 10219 | several lines. The PRETTY-PRINTER should use `insert', and not | ||
| 10220 | `insert-before-markers'. | ||
| 10221 | |||
| 10222 | Optional second and third arguments HEADER and FOOTER are strings, | ||
| 10223 | possibly empty, that will always be present at the top and bottom, | ||
| 10224 | respectively, of the ewoc. | ||
| 10225 | |||
| 10226 | Normally, a newline is automatically inserted after the header, | ||
| 10227 | the footer and every node's printed representation. Optional | ||
| 10228 | fourth arg NOSEP non-nil inhibits this. | ||
| 10229 | |||
| 10230 | \(fn PRETTY-PRINTER &optional HEADER FOOTER NOSEP)" nil nil) | ||
| 10231 | |||
| 10232 | ;;;*** | ||
| 10233 | |||
| 10084 | ;;;### (autoloads (executable-make-buffer-file-executable-if-script-p | 10234 | ;;;### (autoloads (executable-make-buffer-file-executable-if-script-p |
| 10085 | ;;;;;; executable-self-display executable-set-magic executable-interpret | 10235 | ;;;;;; executable-self-display executable-set-magic executable-interpret |
| 10086 | ;;;;;; executable-command-find-posix-p) "executable" "progmodes/executable.el" | 10236 | ;;;;;; executable-command-find-posix-p) "executable" "progmodes/executable.el" |
| @@ -10236,7 +10386,7 @@ with no args, if that value is non-nil. | |||
| 10236 | ;;;;;; facemenu-remove-all facemenu-remove-face-props facemenu-set-read-only | 10386 | ;;;;;; facemenu-remove-all facemenu-remove-face-props facemenu-set-read-only |
| 10237 | ;;;;;; facemenu-set-intangible facemenu-set-invisible facemenu-set-face-from-menu | 10387 | ;;;;;; facemenu-set-intangible facemenu-set-invisible facemenu-set-face-from-menu |
| 10238 | ;;;;;; facemenu-set-background facemenu-set-foreground facemenu-set-face) | 10388 | ;;;;;; facemenu-set-background facemenu-set-foreground facemenu-set-face) |
| 10239 | ;;;;;; "facemenu" "facemenu.el" (17390 26939)) | 10389 | ;;;;;; "facemenu" "facemenu.el" (17591 9293)) |
| 10240 | ;;; Generated autoloads from facemenu.el | 10390 | ;;; Generated autoloads from facemenu.el |
| 10241 | (define-key global-map "\M-o" 'facemenu-keymap) | 10391 | (define-key global-map "\M-o" 'facemenu-keymap) |
| 10242 | (autoload 'facemenu-keymap "facemenu" "Keymap for face-changing commands." t 'keymap) | 10392 | (autoload 'facemenu-keymap "facemenu" "Keymap for face-changing commands." t 'keymap) |
| @@ -10581,6 +10731,12 @@ Set up hooks, load the cache file -- if existing -- and build the menu. | |||
| 10581 | 10731 | ||
| 10582 | ;;;*** | 10732 | ;;;*** |
| 10583 | 10733 | ||
| 10734 | ;;;### (autoloads nil "fill" "textmodes/fill.el" (17591 9619)) | ||
| 10735 | ;;; Generated autoloads from textmodes/fill.el | ||
| 10736 | (put 'colon-double-space 'safe-local-variable 'booleanp) | ||
| 10737 | |||
| 10738 | ;;;*** | ||
| 10739 | |||
| 10584 | ;;;### (autoloads (find-grep-dired find-name-dired find-dired find-grep-options | 10740 | ;;;### (autoloads (find-grep-dired find-name-dired find-dired find-grep-options |
| 10585 | ;;;;;; find-ls-subdir-switches find-ls-option) "find-dired" "find-dired.el" | 10741 | ;;;;;; find-ls-subdir-switches find-ls-option) "find-dired" "find-dired.el" |
| 10586 | ;;;;;; (17390 26939)) | 10742 | ;;;;;; (17390 26939)) |
| @@ -10736,7 +10892,7 @@ Visit the file you click on in another window. | |||
| 10736 | ;;;;;; find-variable find-variable-noselect find-function-other-frame | 10892 | ;;;;;; find-variable find-variable-noselect find-function-other-frame |
| 10737 | ;;;;;; find-function-other-window find-function find-function-noselect | 10893 | ;;;;;; find-function-other-window find-function find-function-noselect |
| 10738 | ;;;;;; find-function-search-for-symbol find-library) "find-func" | 10894 | ;;;;;; find-function-search-for-symbol find-library) "find-func" |
| 10739 | ;;;;;; "emacs-lisp/find-func.el" (17411 12435)) | 10895 | ;;;;;; "emacs-lisp/find-func.el" (17591 9719)) |
| 10740 | ;;; Generated autoloads from emacs-lisp/find-func.el | 10896 | ;;; Generated autoloads from emacs-lisp/find-func.el |
| 10741 | 10897 | ||
| 10742 | (autoload (quote find-library) "find-func" "\ | 10898 | (autoload (quote find-library) "find-func" "\ |
| @@ -10746,6 +10902,9 @@ Find the elisp source of LIBRARY. | |||
| 10746 | 10902 | ||
| 10747 | (autoload (quote find-function-search-for-symbol) "find-func" "\ | 10903 | (autoload (quote find-function-search-for-symbol) "find-func" "\ |
| 10748 | Search for SYMBOL's definition of type TYPE in LIBRARY. | 10904 | Search for SYMBOL's definition of type TYPE in LIBRARY. |
| 10905 | Visit the library in a buffer, and return a cons cell (BUFFER . POSITION), | ||
| 10906 | or just (BUFFER . nil) if the definition can't be found in the file. | ||
| 10907 | |||
| 10749 | If TYPE is nil, look for a function definition. | 10908 | If TYPE is nil, look for a function definition. |
| 10750 | Otherwise, TYPE specifies the kind of definition, | 10909 | Otherwise, TYPE specifies the kind of definition, |
| 10751 | and it is interpreted via `find-function-regexp-alist'. | 10910 | and it is interpreted via `find-function-regexp-alist'. |
| @@ -10758,7 +10917,8 @@ Return a pair (BUFFER . POINT) pointing to the definition of FUNCTION. | |||
| 10758 | 10917 | ||
| 10759 | Finds the source file containing the definition of FUNCTION | 10918 | Finds the source file containing the definition of FUNCTION |
| 10760 | in a buffer and the point of the definition. The buffer is | 10919 | in a buffer and the point of the definition. The buffer is |
| 10761 | not selected. | 10920 | not selected. If the function definition can't be found in |
| 10921 | the buffer, returns (BUFFER). | ||
| 10762 | 10922 | ||
| 10763 | If the file where FUNCTION is defined is not known, then it is | 10923 | If the file where FUNCTION is defined is not known, then it is |
| 10764 | searched for in `find-function-source-path' if non nil, otherwise | 10924 | searched for in `find-function-source-path' if non nil, otherwise |
| @@ -10799,6 +10959,7 @@ Return a pair `(BUFFER . POINT)' pointing to the definition of VARIABLE. | |||
| 10799 | 10959 | ||
| 10800 | Finds the library containing the definition of VARIABLE in a buffer and | 10960 | Finds the library containing the definition of VARIABLE in a buffer and |
| 10801 | the point of the definition. The buffer is not selected. | 10961 | the point of the definition. The buffer is not selected. |
| 10962 | If the variable's definition can't be found in the buffer, return (BUFFER). | ||
| 10802 | 10963 | ||
| 10803 | The library where VARIABLE is defined is searched for in FILE or | 10964 | The library where VARIABLE is defined is searched for in FILE or |
| 10804 | `find-function-source-path', if non nil, otherwise in `load-path'. | 10965 | `find-function-source-path', if non nil, otherwise in `load-path'. |
| @@ -10836,6 +10997,7 @@ See `find-variable' for more details. | |||
| 10836 | 10997 | ||
| 10837 | (autoload (quote find-definition-noselect) "find-func" "\ | 10998 | (autoload (quote find-definition-noselect) "find-func" "\ |
| 10838 | Return a pair `(BUFFER . POINT)' pointing to the definition of SYMBOL. | 10999 | Return a pair `(BUFFER . POINT)' pointing to the definition of SYMBOL. |
| 11000 | If the definition can't be found in the buffer, return (BUFFER). | ||
| 10839 | TYPE says what type of definition: nil for a function, `defvar' for a | 11001 | TYPE says what type of definition: nil for a function, `defvar' for a |
| 10840 | variable, `defface' for a face. This function does not switch to the | 11002 | variable, `defface' for a face. This function does not switch to the |
| 10841 | buffer nor display it. | 11003 | buffer nor display it. |
| @@ -10905,7 +11067,7 @@ Change the filter on a find-lisp-find-dired buffer to REGEXP. | |||
| 10905 | ;;;*** | 11067 | ;;;*** |
| 10906 | 11068 | ||
| 10907 | ;;;### (autoloads (finder-by-keyword finder-commentary finder-list-keywords) | 11069 | ;;;### (autoloads (finder-by-keyword finder-commentary finder-list-keywords) |
| 10908 | ;;;;;; "finder" "finder.el" (17390 26939)) | 11070 | ;;;;;; "finder" "finder.el" (17469 12047)) |
| 10909 | ;;; Generated autoloads from finder.el | 11071 | ;;; Generated autoloads from finder.el |
| 10910 | 11072 | ||
| 10911 | (autoload (quote finder-list-keywords) "finder" "\ | 11073 | (autoload (quote finder-list-keywords) "finder" "\ |
| @@ -10949,7 +11111,7 @@ to get the effect of a C-q. | |||
| 10949 | ;;;*** | 11111 | ;;;*** |
| 10950 | 11112 | ||
| 10951 | ;;;### (autoloads (fill-flowed fill-flowed-encode) "flow-fill" "gnus/flow-fill.el" | 11113 | ;;;### (autoloads (fill-flowed fill-flowed-encode) "flow-fill" "gnus/flow-fill.el" |
| 10952 | ;;;;;; (17412 30474)) | 11114 | ;;;;;; (17478 25198)) |
| 10953 | ;;; Generated autoloads from gnus/flow-fill.el | 11115 | ;;; Generated autoloads from gnus/flow-fill.el |
| 10954 | 11116 | ||
| 10955 | (autoload (quote fill-flowed-encode) "flow-fill" "\ | 11117 | (autoload (quote fill-flowed-encode) "flow-fill" "\ |
| @@ -10988,8 +11150,8 @@ Turn flymake mode off. | |||
| 10988 | ;;;*** | 11150 | ;;;*** |
| 10989 | 11151 | ||
| 10990 | ;;;### (autoloads (flyspell-buffer flyspell-region flyspell-mode-off | 11152 | ;;;### (autoloads (flyspell-buffer flyspell-region flyspell-mode-off |
| 10991 | ;;;;;; flyspell-mode flyspell-prog-mode) "flyspell" "textmodes/flyspell.el" | 11153 | ;;;;;; turn-off-flyspell turn-on-flyspell flyspell-mode flyspell-prog-mode) |
| 10992 | ;;;;;; (17427 42815)) | 11154 | ;;;;;; "flyspell" "textmodes/flyspell.el" (17549 4608)) |
| 10993 | ;;; Generated autoloads from textmodes/flyspell.el | 11155 | ;;; Generated autoloads from textmodes/flyspell.el |
| 10994 | 11156 | ||
| 10995 | (autoload (quote flyspell-prog-mode) "flyspell" "\ | 11157 | (autoload (quote flyspell-prog-mode) "flyspell" "\ |
| @@ -11029,6 +11191,16 @@ in your .emacs file. | |||
| 11029 | 11191 | ||
| 11030 | \(fn &optional ARG)" t nil) | 11192 | \(fn &optional ARG)" t nil) |
| 11031 | 11193 | ||
| 11194 | (autoload (quote turn-on-flyspell) "flyspell" "\ | ||
| 11195 | Unconditionally turn on Flyspell mode. | ||
| 11196 | |||
| 11197 | \(fn)" nil nil) | ||
| 11198 | |||
| 11199 | (autoload (quote turn-off-flyspell) "flyspell" "\ | ||
| 11200 | Unconditionally turn off Flyspell mode. | ||
| 11201 | |||
| 11202 | \(fn)" nil nil) | ||
| 11203 | |||
| 11032 | (autoload (quote flyspell-mode-off) "flyspell" "\ | 11204 | (autoload (quote flyspell-mode-off) "flyspell" "\ |
| 11033 | Turn Flyspell mode off. | 11205 | Turn Flyspell mode off. |
| 11034 | 11206 | ||
| @@ -11048,16 +11220,16 @@ Flyspell whole buffer. | |||
| 11048 | 11220 | ||
| 11049 | ;;;### (autoloads (follow-delete-other-windows-and-split follow-mode | 11221 | ;;;### (autoloads (follow-delete-other-windows-and-split follow-mode |
| 11050 | ;;;;;; turn-off-follow-mode turn-on-follow-mode) "follow" "follow.el" | 11222 | ;;;;;; turn-off-follow-mode turn-on-follow-mode) "follow" "follow.el" |
| 11051 | ;;;;;; (17390 26939)) | 11223 | ;;;;;; (17490 7930)) |
| 11052 | ;;; Generated autoloads from follow.el | 11224 | ;;; Generated autoloads from follow.el |
| 11053 | 11225 | ||
| 11054 | (autoload (quote turn-on-follow-mode) "follow" "\ | 11226 | (autoload (quote turn-on-follow-mode) "follow" "\ |
| 11055 | Turn on Follow mode. Please see the function `follow-mode'. | 11227 | Turn on Follow mode. Please see the function `follow-mode'. |
| 11056 | 11228 | ||
| 11057 | \(fn)" t nil) | 11229 | \(fn)" t nil) |
| 11058 | 11230 | ||
| 11059 | (autoload (quote turn-off-follow-mode) "follow" "\ | 11231 | (autoload (quote turn-off-follow-mode) "follow" "\ |
| 11060 | Turn off Follow mode. Please see the function `follow-mode'. | 11232 | Turn off Follow mode. Please see the function `follow-mode'. |
| 11061 | 11233 | ||
| 11062 | \(fn)" t nil) | 11234 | \(fn)" t nil) |
| 11063 | 11235 | ||
| @@ -11098,7 +11270,7 @@ is called. When turned off, `follow-mode-off-hook' is called. | |||
| 11098 | Keys specific to Follow mode: | 11270 | Keys specific to Follow mode: |
| 11099 | \\{follow-mode-map} | 11271 | \\{follow-mode-map} |
| 11100 | 11272 | ||
| 11101 | \(fn ARG)" t nil) | 11273 | \(fn &optional ARG)" t nil) |
| 11102 | 11274 | ||
| 11103 | (autoload (quote follow-delete-other-windows-and-split) "follow" "\ | 11275 | (autoload (quote follow-delete-other-windows-and-split) "follow" "\ |
| 11104 | Create two side by side windows and enter Follow Mode. | 11276 | Create two side by side windows and enter Follow Mode. |
| @@ -11317,7 +11489,7 @@ and choose the directory as the fortune-file. | |||
| 11317 | ;;;*** | 11489 | ;;;*** |
| 11318 | 11490 | ||
| 11319 | ;;;### (autoloads (gdb-enable-debug gdba) "gdb-ui" "progmodes/gdb-ui.el" | 11491 | ;;;### (autoloads (gdb-enable-debug gdba) "gdb-ui" "progmodes/gdb-ui.el" |
| 11320 | ;;;;;; (17454 30835)) | 11492 | ;;;;;; (17591 9876)) |
| 11321 | ;;; Generated autoloads from progmodes/gdb-ui.el | 11493 | ;;; Generated autoloads from progmodes/gdb-ui.el |
| 11322 | 11494 | ||
| 11323 | (autoload (quote gdba) "gdb-ui" "\ | 11495 | (autoload (quote gdba) "gdb-ui" "\ |
| @@ -11468,6 +11640,53 @@ at places they belong to. | |||
| 11468 | 11640 | ||
| 11469 | ;;;*** | 11641 | ;;;*** |
| 11470 | 11642 | ||
| 11643 | ;;;### (autoloads (gmm-tool-bar-from-list gmm-widget-p gmm-error | ||
| 11644 | ;;;;;; gmm-message) "gmm-utils" "gnus/gmm-utils.el" (17518 54377)) | ||
| 11645 | ;;; Generated autoloads from gnus/gmm-utils.el | ||
| 11646 | |||
| 11647 | (autoload (quote gmm-message) "gmm-utils" "\ | ||
| 11648 | If LEVEL is lower than `gmm-verbose' print ARGS using `message'. | ||
| 11649 | |||
| 11650 | Guideline for numbers: | ||
| 11651 | 1 - error messages, 3 - non-serious error messages, 5 - messages for things | ||
| 11652 | that take a long time, 7 - not very important messages on stuff, 9 - messages | ||
| 11653 | inside loops. | ||
| 11654 | |||
| 11655 | \(fn LEVEL &rest ARGS)" nil nil) | ||
| 11656 | |||
| 11657 | (autoload (quote gmm-error) "gmm-utils" "\ | ||
| 11658 | Beep an error if LEVEL is equal to or less than `gmm-verbose'. | ||
| 11659 | ARGS are passed to `message'. | ||
| 11660 | |||
| 11661 | \(fn LEVEL &rest ARGS)" nil nil) | ||
| 11662 | |||
| 11663 | (autoload (quote gmm-widget-p) "gmm-utils" "\ | ||
| 11664 | Non-nil iff SYMBOL is a widget. | ||
| 11665 | |||
| 11666 | \(fn SYMBOL)" nil nil) | ||
| 11667 | |||
| 11668 | (autoload (quote gmm-tool-bar-from-list) "gmm-utils" "\ | ||
| 11669 | Make a tool bar from ICON-LIST. | ||
| 11670 | |||
| 11671 | Within each entry of ICON-LIST, the first element is a menu | ||
| 11672 | command, the second element is an icon file name and the third | ||
| 11673 | element is a test function. You can use \\[describe-key] | ||
| 11674 | <menu-entry> to find out the name of a menu command. The fourth | ||
| 11675 | and all following elements are passed a the PROPS argument to the | ||
| 11676 | function `tool-bar-local-item'. | ||
| 11677 | |||
| 11678 | If ZAP-LIST is a list, remove those item from the default | ||
| 11679 | `tool-bar-map'. If it is t, start with a new sparse map. You | ||
| 11680 | can use \\[describe-key] <icon> to find out the name of an icon | ||
| 11681 | item. When \\[describe-key] <icon> shows \"<tool-bar> <new-file> | ||
| 11682 | runs the command find-file\", then use `new-file' in ZAP-LIST. | ||
| 11683 | |||
| 11684 | DEFAULT-MAP specifies the default key map for ICON-LIST. | ||
| 11685 | |||
| 11686 | \(fn ICON-LIST ZAP-LIST DEFAULT-MAP)" nil nil) | ||
| 11687 | |||
| 11688 | ;;;*** | ||
| 11689 | |||
| 11471 | ;;;### (autoloads (gnus gnus-other-frame gnus-slave gnus-no-server | 11690 | ;;;### (autoloads (gnus gnus-other-frame gnus-slave gnus-no-server |
| 11472 | ;;;;;; gnus-slave-no-server) "gnus" "gnus/gnus.el" (17427 41288)) | 11691 | ;;;;;; gnus-slave-no-server) "gnus" "gnus/gnus.el" (17427 41288)) |
| 11473 | ;;; Generated autoloads from gnus/gnus.el | 11692 | ;;; Generated autoloads from gnus/gnus.el |
| @@ -11520,7 +11739,7 @@ prompt the user for the name of an NNTP server to use. | |||
| 11520 | ;;;;;; gnus-agent-get-undownloaded-list gnus-agent-delete-group | 11739 | ;;;;;; gnus-agent-get-undownloaded-list gnus-agent-delete-group |
| 11521 | ;;;;;; gnus-agent-rename-group gnus-agent-possibly-save-gcc gnus-agentize | 11740 | ;;;;;; gnus-agent-rename-group gnus-agent-possibly-save-gcc gnus-agentize |
| 11522 | ;;;;;; gnus-slave-unplugged gnus-plugged gnus-unplugged) "gnus-agent" | 11741 | ;;;;;; gnus-slave-unplugged gnus-plugged gnus-unplugged) "gnus-agent" |
| 11523 | ;;;;;; "gnus/gnus-agent.el" (17441 26811)) | 11742 | ;;;;;; "gnus/gnus-agent.el" (17549 5046)) |
| 11524 | ;;; Generated autoloads from gnus/gnus-agent.el | 11743 | ;;; Generated autoloads from gnus/gnus-agent.el |
| 11525 | 11744 | ||
| 11526 | (autoload (quote gnus-unplugged) "gnus-agent" "\ | 11745 | (autoload (quote gnus-unplugged) "gnus-agent" "\ |
| @@ -11611,7 +11830,7 @@ If CLEAN, obsolete (ignore). | |||
| 11611 | ;;;*** | 11830 | ;;;*** |
| 11612 | 11831 | ||
| 11613 | ;;;### (autoloads (gnus-article-prepare-display) "gnus-art" "gnus/gnus-art.el" | 11832 | ;;;### (autoloads (gnus-article-prepare-display) "gnus-art" "gnus/gnus-art.el" |
| 11614 | ;;;;;; (17441 26663)) | 11833 | ;;;;;; (17569 17778)) |
| 11615 | ;;; Generated autoloads from gnus/gnus-art.el | 11834 | ;;; Generated autoloads from gnus/gnus-art.el |
| 11616 | 11835 | ||
| 11617 | (autoload (quote gnus-article-prepare-display) "gnus-art" "\ | 11836 | (autoload (quote gnus-article-prepare-display) "gnus-art" "\ |
| @@ -11712,6 +11931,22 @@ Checking delayed messages is skipped if optional arg NO-CHECK is non-nil. | |||
| 11712 | 11931 | ||
| 11713 | ;;;*** | 11932 | ;;;*** |
| 11714 | 11933 | ||
| 11934 | ;;;### (autoloads (gnus-user-format-function-D gnus-user-format-function-d) | ||
| 11935 | ;;;;;; "gnus-diary" "gnus/gnus-diary.el" (17591 9282)) | ||
| 11936 | ;;; Generated autoloads from gnus/gnus-diary.el | ||
| 11937 | |||
| 11938 | (autoload (quote gnus-user-format-function-d) "gnus-diary" "\ | ||
| 11939 | Not documented | ||
| 11940 | |||
| 11941 | \(fn HEADER)" nil nil) | ||
| 11942 | |||
| 11943 | (autoload (quote gnus-user-format-function-D) "gnus-diary" "\ | ||
| 11944 | Not documented | ||
| 11945 | |||
| 11946 | \(fn HEADER)" nil nil) | ||
| 11947 | |||
| 11948 | ;;;*** | ||
| 11949 | |||
| 11715 | ;;;### (autoloads (turn-on-gnus-dired-mode) "gnus-dired" "gnus/gnus-dired.el" | 11950 | ;;;### (autoloads (turn-on-gnus-dired-mode) "gnus-dired" "gnus/gnus-dired.el" |
| 11716 | ;;;;;; (17383 38805)) | 11951 | ;;;;;; (17383 38805)) |
| 11717 | ;;; Generated autoloads from gnus/gnus-dired.el | 11952 | ;;; Generated autoloads from gnus/gnus-dired.el |
| @@ -11736,8 +11971,8 @@ Reminder user if there are unsent drafts. | |||
| 11736 | 11971 | ||
| 11737 | ;;;### (autoloads (gnus-convert-png-to-face gnus-convert-face-to-png | 11972 | ;;;### (autoloads (gnus-convert-png-to-face gnus-convert-face-to-png |
| 11738 | ;;;;;; gnus-face-from-file gnus-x-face-from-file gnus-insert-random-x-face-header | 11973 | ;;;;;; gnus-face-from-file gnus-x-face-from-file gnus-insert-random-x-face-header |
| 11739 | ;;;;;; gnus-random-x-face) "gnus-fun" "gnus/gnus-fun.el" (17383 | 11974 | ;;;;;; gnus-random-x-face) "gnus-fun" "gnus/gnus-fun.el" (17466 |
| 11740 | ;;;;;; 38805)) | 11975 | ;;;;;; 28574)) |
| 11741 | ;;; Generated autoloads from gnus/gnus-fun.el | 11976 | ;;; Generated autoloads from gnus/gnus-fun.el |
| 11742 | 11977 | ||
| 11743 | (autoload (quote gnus-random-x-face) "gnus-fun" "\ | 11978 | (autoload (quote gnus-random-x-face) "gnus-fun" "\ |
| @@ -11776,7 +12011,7 @@ FILE should be a PNG file that's 48x48 and smaller than or equal to | |||
| 11776 | ;;;*** | 12011 | ;;;*** |
| 11777 | 12012 | ||
| 11778 | ;;;### (autoloads (gnus-fetch-group-other-frame gnus-fetch-group) | 12013 | ;;;### (autoloads (gnus-fetch-group-other-frame gnus-fetch-group) |
| 11779 | ;;;;;; "gnus-group" "gnus/gnus-group.el" (17427 41288)) | 12014 | ;;;;;; "gnus-group" "gnus/gnus-group.el" (17591 9282)) |
| 11780 | ;;; Generated autoloads from gnus/gnus-group.el | 12015 | ;;; Generated autoloads from gnus/gnus-group.el |
| 11781 | 12016 | ||
| 11782 | (autoload (quote gnus-fetch-group) "gnus-group" "\ | 12017 | (autoload (quote gnus-fetch-group) "gnus-group" "\ |
| @@ -11808,7 +12043,7 @@ Usage: emacs -batch -l ~/.emacs -l gnus -f gnus-batch-score | |||
| 11808 | 12043 | ||
| 11809 | ;;;### (autoloads (gnus-mailing-list-mode gnus-mailing-list-insinuate | 12044 | ;;;### (autoloads (gnus-mailing-list-mode gnus-mailing-list-insinuate |
| 11810 | ;;;;;; turn-on-gnus-mailing-list-mode) "gnus-ml" "gnus/gnus-ml.el" | 12045 | ;;;;;; turn-on-gnus-mailing-list-mode) "gnus-ml" "gnus/gnus-ml.el" |
| 11811 | ;;;;;; (17383 38805)) | 12046 | ;;;;;; (17549 5046)) |
| 11812 | ;;; Generated autoloads from gnus/gnus-ml.el | 12047 | ;;; Generated autoloads from gnus/gnus-ml.el |
| 11813 | 12048 | ||
| 11814 | (autoload (quote turn-on-gnus-mailing-list-mode) "gnus-ml" "\ | 12049 | (autoload (quote turn-on-gnus-mailing-list-mode) "gnus-ml" "\ |
| @@ -12099,8 +12334,8 @@ Install the registry hooks. | |||
| 12099 | ;;;*** | 12334 | ;;;*** |
| 12100 | 12335 | ||
| 12101 | ;;;### (autoloads (gnus-sieve-article-add-rule gnus-sieve-generate | 12336 | ;;;### (autoloads (gnus-sieve-article-add-rule gnus-sieve-generate |
| 12102 | ;;;;;; gnus-sieve-update) "gnus-sieve" "gnus/gnus-sieve.el" (17383 | 12337 | ;;;;;; gnus-sieve-update) "gnus-sieve" "gnus/gnus-sieve.el" (17469 |
| 12103 | ;;;;;; 38805)) | 12338 | ;;;;;; 13458)) |
| 12104 | ;;; Generated autoloads from gnus/gnus-sieve.el | 12339 | ;;; Generated autoloads from gnus/gnus-sieve.el |
| 12105 | 12340 | ||
| 12106 | (autoload (quote gnus-sieve-update) "gnus-sieve" "\ | 12341 | (autoload (quote gnus-sieve-update) "gnus-sieve" "\ |
| @@ -12159,8 +12394,8 @@ Update the format specification near point. | |||
| 12159 | ;;;*** | 12394 | ;;;*** |
| 12160 | 12395 | ||
| 12161 | ;;;### (autoloads (gnus-fixup-nnimap-unread-after-getting-new-news | 12396 | ;;;### (autoloads (gnus-fixup-nnimap-unread-after-getting-new-news |
| 12162 | ;;;;;; gnus-declare-backend) "gnus-start" "gnus/gnus-start.el" (17427 | 12397 | ;;;;;; gnus-declare-backend) "gnus-start" "gnus/gnus-start.el" (17591 |
| 12163 | ;;;;;; 41288)) | 12398 | ;;;;;; 9890)) |
| 12164 | ;;; Generated autoloads from gnus/gnus-start.el | 12399 | ;;; Generated autoloads from gnus/gnus-start.el |
| 12165 | 12400 | ||
| 12166 | (autoload (quote gnus-declare-backend) "gnus-start" "\ | 12401 | (autoload (quote gnus-declare-backend) "gnus-start" "\ |
| @@ -12213,7 +12448,7 @@ Use \\[describe-mode] for more info. | |||
| 12213 | ;;;*** | 12448 | ;;;*** |
| 12214 | 12449 | ||
| 12215 | ;;;### (autoloads (goto-address goto-address-at-point) "goto-addr" | 12450 | ;;;### (autoloads (goto-address goto-address-at-point) "goto-addr" |
| 12216 | ;;;;;; "net/goto-addr.el" (17390 26944)) | 12451 | ;;;;;; "net/goto-addr.el" (17591 9445)) |
| 12217 | ;;; Generated autoloads from net/goto-addr.el | 12452 | ;;; Generated autoloads from net/goto-addr.el |
| 12218 | 12453 | ||
| 12219 | (define-obsolete-function-alias (quote goto-address-at-mouse) (quote goto-address-at-point) "22.1") | 12454 | (define-obsolete-function-alias (quote goto-address-at-mouse) (quote goto-address-at-point) "22.1") |
| @@ -12237,12 +12472,13 @@ Also fontifies the buffer appropriately (see `goto-address-fontify-p' and | |||
| 12237 | `goto-address-highlight-p' for more information). | 12472 | `goto-address-highlight-p' for more information). |
| 12238 | 12473 | ||
| 12239 | \(fn)" t nil) | 12474 | \(fn)" t nil) |
| 12475 | (put 'goto-address 'safe-local-eval-function t) | ||
| 12240 | 12476 | ||
| 12241 | ;;;*** | 12477 | ;;;*** |
| 12242 | 12478 | ||
| 12243 | ;;;### (autoloads (grep-tree grep-find grep-mode grep grep-compute-defaults | 12479 | ;;;### (autoloads (rgrep lgrep grep-find grep grep-mode grep-compute-defaults |
| 12244 | ;;;;;; grep-process-setup grep-setup-hook grep-find-command grep-command | 12480 | ;;;;;; grep-process-setup grep-setup-hook grep-find-command grep-command |
| 12245 | ;;;;;; grep-window-height) "grep" "progmodes/grep.el" (17441 26652)) | 12481 | ;;;;;; grep-window-height) "grep" "progmodes/grep.el" (17591 9719)) |
| 12246 | ;;; Generated autoloads from progmodes/grep.el | 12482 | ;;; Generated autoloads from progmodes/grep.el |
| 12247 | 12483 | ||
| 12248 | (defvar grep-window-height nil "\ | 12484 | (defvar grep-window-height nil "\ |
| @@ -12307,6 +12543,11 @@ Not documented | |||
| 12307 | 12543 | ||
| 12308 | \(fn)" nil nil) | 12544 | \(fn)" nil nil) |
| 12309 | 12545 | ||
| 12546 | (autoload (quote grep-mode) "grep" "\ | ||
| 12547 | Sets `grep-last-buffer' and `compilation-window-height'. | ||
| 12548 | |||
| 12549 | \(fn)" nil nil) | ||
| 12550 | |||
| 12310 | (autoload (quote grep) "grep" "\ | 12551 | (autoload (quote grep) "grep" "\ |
| 12311 | Run grep, with user-specified args, and collect output in a buffer. | 12552 | Run grep, with user-specified args, and collect output in a buffer. |
| 12312 | While grep runs asynchronously, you can use \\[next-error] (M-x next-error), | 12553 | While grep runs asynchronously, you can use \\[next-error] (M-x next-error), |
| @@ -12321,15 +12562,7 @@ tag the cursor is over, substituting it into the last grep command | |||
| 12321 | in the grep command history (or into `grep-command' | 12562 | in the grep command history (or into `grep-command' |
| 12322 | if that history list is empty). | 12563 | if that history list is empty). |
| 12323 | 12564 | ||
| 12324 | If specified, optional second arg HIGHLIGHT-REGEXP is the regexp to | 12565 | \(fn COMMAND-ARGS)" t nil) |
| 12325 | temporarily highlight in visited source lines. | ||
| 12326 | |||
| 12327 | \(fn COMMAND-ARGS &optional HIGHLIGHT-REGEXP)" t nil) | ||
| 12328 | |||
| 12329 | (autoload (quote grep-mode) "grep" "\ | ||
| 12330 | Sets `grep-last-buffer' and `compilation-window-height'. | ||
| 12331 | |||
| 12332 | \(fn)" nil nil) | ||
| 12333 | 12566 | ||
| 12334 | (autoload (quote grep-find) "grep" "\ | 12567 | (autoload (quote grep-find) "grep" "\ |
| 12335 | Run grep via find, with user-specified args COMMAND-ARGS. | 12568 | Run grep via find, with user-specified args COMMAND-ARGS. |
| @@ -12344,25 +12577,41 @@ easily repeat a find command. | |||
| 12344 | 12577 | ||
| 12345 | (defalias (quote find-grep) (quote grep-find)) | 12578 | (defalias (quote find-grep) (quote grep-find)) |
| 12346 | 12579 | ||
| 12347 | (autoload (quote grep-tree) "grep" "\ | 12580 | (autoload (quote lgrep) "grep" "\ |
| 12348 | Grep for REGEXP in FILES in directory tree rooted at DIR. | 12581 | Run grep, searching for REGEXP in FILES in current directory. |
| 12349 | Collect output in a buffer. | ||
| 12350 | Interactively, prompt separately for each search parameter. | ||
| 12351 | With prefix arg, reuse previous REGEXP. | ||
| 12352 | The search is limited to file names matching shell pattern FILES. | 12582 | The search is limited to file names matching shell pattern FILES. |
| 12353 | FILES may use abbreviations defined in `grep-tree-files-aliases', e.g. | 12583 | FILES may use abbreviations defined in `grep-files-aliases', e.g. |
| 12354 | entering `ch' is equivalent to `*.[ch]'. | 12584 | entering `ch' is equivalent to `*.[ch]'. |
| 12355 | 12585 | ||
| 12356 | While find runs asynchronously, you can use the \\[next-error] command | 12586 | With \\[universal-argument] prefix, you can edit the constructed shell command line |
| 12357 | to find the text that grep hits refer to. | 12587 | before it is executed. |
| 12588 | With two \\[universal-argument] prefixes, directly edit and run `grep-command'. | ||
| 12358 | 12589 | ||
| 12359 | This command uses a special history list for its arguments, so you can | 12590 | Collect output in a buffer. While grep runs asynchronously, you |
| 12360 | easily repeat a find command. | 12591 | can use \\[next-error] (M-x next-error), or \\<grep-mode-map>\\[compile-goto-error] |
| 12592 | in the grep output buffer, to go to the lines where grep found matches. | ||
| 12593 | |||
| 12594 | This command shares argument histories with \\[rgrep] and \\[grep]. | ||
| 12595 | |||
| 12596 | \(fn REGEXP &optional FILES)" t nil) | ||
| 12597 | |||
| 12598 | (autoload (quote rgrep) "grep" "\ | ||
| 12599 | Recursively grep for REGEXP in FILES in directory tree rooted at DIR. | ||
| 12600 | The search is limited to file names matching shell pattern FILES. | ||
| 12601 | FILES may use abbreviations defined in `grep-files-aliases', e.g. | ||
| 12602 | entering `ch' is equivalent to `*.[ch]'. | ||
| 12603 | |||
| 12604 | With \\[universal-argument] prefix, you can edit the constructed shell command line | ||
| 12605 | before it is executed. | ||
| 12606 | With two \\[universal-argument] prefixes, directly edit and run `grep-find-command'. | ||
| 12361 | 12607 | ||
| 12362 | When used non-interactively, optional arg SUBDIRS limits the search to | 12608 | Collect output in a buffer. While find runs asynchronously, you |
| 12363 | those sub directories of DIR. | 12609 | can use \\[next-error] (M-x next-error), or \\<grep-mode-map>\\[compile-goto-error] |
| 12610 | in the grep output buffer, to go to the lines where grep found matches. | ||
| 12364 | 12611 | ||
| 12365 | \(fn REGEXP FILES DIR &optional SUBDIRS)" t nil) | 12612 | This command shares argument histories with \\[lgrep] and \\[grep-find]. |
| 12613 | |||
| 12614 | \(fn REGEXP &optional FILES DIR)" t nil) | ||
| 12366 | 12615 | ||
| 12367 | ;;;*** | 12616 | ;;;*** |
| 12368 | 12617 | ||
| @@ -12380,7 +12629,7 @@ the form \"WINDOW-ID PIXMAP-ID\". Value is non-nil if successful. | |||
| 12380 | ;;;*** | 12629 | ;;;*** |
| 12381 | 12630 | ||
| 12382 | ;;;### (autoloads (gdb-script-mode bashdb jdb pdb perldb xdb dbx | 12631 | ;;;### (autoloads (gdb-script-mode bashdb jdb pdb perldb xdb dbx |
| 12383 | ;;;;;; sdb gdb) "gud" "progmodes/gud.el" (17454 30835)) | 12632 | ;;;;;; sdb gdb) "gud" "progmodes/gud.el" (17591 9876)) |
| 12384 | ;;; Generated autoloads from progmodes/gud.el | 12633 | ;;; Generated autoloads from progmodes/gud.el |
| 12385 | 12634 | ||
| 12386 | (autoload (quote gdb) "gud" "\ | 12635 | (autoload (quote gdb) "gud" "\ |
| @@ -12485,7 +12734,7 @@ Variables: handwrite-linespace (default 12) | |||
| 12485 | ;;;*** | 12734 | ;;;*** |
| 12486 | 12735 | ||
| 12487 | ;;;### (autoloads (hanoi-unix-64 hanoi-unix hanoi) "hanoi" "play/hanoi.el" | 12736 | ;;;### (autoloads (hanoi-unix-64 hanoi-unix hanoi) "hanoi" "play/hanoi.el" |
| 12488 | ;;;;;; (17279 27079)) | 12737 | ;;;;;; (17591 9622)) |
| 12489 | ;;; Generated autoloads from play/hanoi.el | 12738 | ;;; Generated autoloads from play/hanoi.el |
| 12490 | 12739 | ||
| 12491 | (autoload (quote hanoi) "hanoi" "\ | 12740 | (autoload (quote hanoi) "hanoi" "\ |
| @@ -12645,7 +12894,7 @@ different regions. With numeric argument ARG, behaves like | |||
| 12645 | ;;;### (autoloads (describe-categories describe-syntax describe-variable | 12894 | ;;;### (autoloads (describe-categories describe-syntax describe-variable |
| 12646 | ;;;;;; variable-at-point describe-function-1 describe-simplify-lib-file-name | 12895 | ;;;;;; variable-at-point describe-function-1 describe-simplify-lib-file-name |
| 12647 | ;;;;;; help-C-file-name describe-function help-with-tutorial) "help-fns" | 12896 | ;;;;;; help-C-file-name describe-function help-with-tutorial) "help-fns" |
| 12648 | ;;;;;; "help-fns.el" (17401 60341)) | 12897 | ;;;;;; "help-fns.el" (17591 9719)) |
| 12649 | ;;; Generated autoloads from help-fns.el | 12898 | ;;; Generated autoloads from help-fns.el |
| 12650 | 12899 | ||
| 12651 | (autoload (quote help-with-tutorial) "help-fns" "\ | 12900 | (autoload (quote help-with-tutorial) "help-fns" "\ |
| @@ -12728,7 +12977,7 @@ A value of nil means skip the middle step, so that | |||
| 12728 | 12977 | ||
| 12729 | ;;;### (autoloads (help-xref-on-pp help-insert-xref-button help-xref-button | 12978 | ;;;### (autoloads (help-xref-on-pp help-insert-xref-button help-xref-button |
| 12730 | ;;;;;; help-make-xrefs help-setup-xref help-mode-finish help-mode-setup | 12979 | ;;;;;; help-make-xrefs help-setup-xref help-mode-finish help-mode-setup |
| 12731 | ;;;;;; help-mode) "help-mode" "help-mode.el" (17441 26668)) | 12980 | ;;;;;; help-mode) "help-mode" "help-mode.el" (17591 9719)) |
| 12732 | ;;; Generated autoloads from help-mode.el | 12981 | ;;; Generated autoloads from help-mode.el |
| 12733 | 12982 | ||
| 12734 | (autoload (quote help-mode) "help-mode" "\ | 12983 | (autoload (quote help-mode) "help-mode" "\ |
| @@ -12811,7 +13060,7 @@ Add xrefs for symbols in `pp's output between FROM and TO. | |||
| 12811 | ;;;*** | 13060 | ;;;*** |
| 12812 | 13061 | ||
| 12813 | ;;;### (autoloads (Helper-help Helper-describe-bindings) "helper" | 13062 | ;;;### (autoloads (Helper-help Helper-describe-bindings) "helper" |
| 12814 | ;;;;;; "emacs-lisp/helper.el" (17390 26938)) | 13063 | ;;;;;; "emacs-lisp/helper.el" (17591 9619)) |
| 12815 | ;;; Generated autoloads from emacs-lisp/helper.el | 13064 | ;;; Generated autoloads from emacs-lisp/helper.el |
| 12816 | 13065 | ||
| 12817 | (autoload (quote Helper-describe-bindings) "helper" "\ | 13066 | (autoload (quote Helper-describe-bindings) "helper" "\ |
| @@ -12827,7 +13076,7 @@ Provide help for current mode. | |||
| 12827 | ;;;*** | 13076 | ;;;*** |
| 12828 | 13077 | ||
| 12829 | ;;;### (autoloads (hexlify-buffer hexl-find-file hexl-mode) "hexl" | 13078 | ;;;### (autoloads (hexlify-buffer hexl-find-file hexl-mode) "hexl" |
| 12830 | ;;;;;; "hexl.el" (17390 26939)) | 13079 | ;;;;;; "hexl.el" (17591 9619)) |
| 12831 | ;;; Generated autoloads from hexl.el | 13080 | ;;; Generated autoloads from hexl.el |
| 12832 | 13081 | ||
| 12833 | (autoload (quote hexl-mode) "hexl" "\ | 13082 | (autoload (quote hexl-mode) "hexl" "\ |
| @@ -12907,8 +13156,9 @@ You can use \\[hexl-find-file] to visit a file in Hexl mode. | |||
| 12907 | \(fn &optional ARG)" t nil) | 13156 | \(fn &optional ARG)" t nil) |
| 12908 | 13157 | ||
| 12909 | (autoload (quote hexl-find-file) "hexl" "\ | 13158 | (autoload (quote hexl-find-file) "hexl" "\ |
| 12910 | Edit file FILENAME in hexl-mode. | 13159 | Edit file FILENAME as a binary file in hex dump format. |
| 12911 | Switch to a buffer visiting file FILENAME, creating one in none exists. | 13160 | Switch to a buffer visiting file FILENAME, creating one if none exists, |
| 13161 | and edit the file in `hexl-mode'. | ||
| 12912 | 13162 | ||
| 12913 | \(fn FILENAME)" t nil) | 13163 | \(fn FILENAME)" t nil) |
| 12914 | 13164 | ||
| @@ -13049,7 +13299,7 @@ be found in variable `hi-lock-interactive-patterns'. | |||
| 13049 | ;;;*** | 13299 | ;;;*** |
| 13050 | 13300 | ||
| 13051 | ;;;### (autoloads (hide-ifdef-lines hide-ifdef-read-only hide-ifdef-initially | 13301 | ;;;### (autoloads (hide-ifdef-lines hide-ifdef-read-only hide-ifdef-initially |
| 13052 | ;;;;;; hide-ifdef-mode) "hideif" "progmodes/hideif.el" (17390 27408)) | 13302 | ;;;;;; hide-ifdef-mode) "hideif" "progmodes/hideif.el" (17524 8597)) |
| 13053 | ;;; Generated autoloads from progmodes/hideif.el | 13303 | ;;; Generated autoloads from progmodes/hideif.el |
| 13054 | 13304 | ||
| 13055 | (autoload (quote hide-ifdef-mode) "hideif" "\ | 13305 | (autoload (quote hide-ifdef-mode) "hideif" "\ |
| @@ -13869,8 +14119,8 @@ defaults to one. | |||
| 13869 | ;;;*** | 14119 | ;;;*** |
| 13870 | 14120 | ||
| 13871 | ;;;### (autoloads (define-ibuffer-filter define-ibuffer-op define-ibuffer-sorter | 14121 | ;;;### (autoloads (define-ibuffer-filter define-ibuffer-op define-ibuffer-sorter |
| 13872 | ;;;;;; define-ibuffer-column) "ibuf-macs" "ibuf-macs.el" (17390 | 14122 | ;;;;;; define-ibuffer-column) "ibuf-macs" "ibuf-macs.el" (17466 |
| 13873 | ;;;;;; 26939)) | 14123 | ;;;;;; 28164)) |
| 13874 | ;;; Generated autoloads from ibuf-macs.el | 14124 | ;;; Generated autoloads from ibuf-macs.el |
| 13875 | 14125 | ||
| 13876 | (autoload (quote define-ibuffer-column) "ibuf-macs" "\ | 14126 | (autoload (quote define-ibuffer-column) "ibuf-macs" "\ |
| @@ -13887,6 +14137,9 @@ the text, such as `mouse-face'. And SUMMARIZER, if given, is a | |||
| 13887 | function which will be passed a list of all the strings in its column; | 14137 | function which will be passed a list of all the strings in its column; |
| 13888 | it should return a string to display at the bottom. | 14138 | it should return a string to display at the bottom. |
| 13889 | 14139 | ||
| 14140 | If HEADER-MOUSE-MAP is given, it will be used as a keymap for the | ||
| 14141 | title of the column. | ||
| 14142 | |||
| 13890 | Note that this macro expands into a `defun' for a function named | 14143 | Note that this macro expands into a `defun' for a function named |
| 13891 | ibuffer-make-column-NAME. If INLINE is non-nil, then the form will be | 14144 | ibuffer-make-column-NAME. If INLINE is non-nil, then the form will be |
| 13892 | inlined into the compiled format versions. This means that if you | 14145 | inlined into the compiled format versions. This means that if you |
| @@ -13956,7 +14209,7 @@ bound to the current value of the filter. | |||
| 13956 | ;;;*** | 14209 | ;;;*** |
| 13957 | 14210 | ||
| 13958 | ;;;### (autoloads (ibuffer ibuffer-other-window ibuffer-list-buffers) | 14211 | ;;;### (autoloads (ibuffer ibuffer-other-window ibuffer-list-buffers) |
| 13959 | ;;;;;; "ibuffer" "ibuffer.el" (17379 30025)) | 14212 | ;;;;;; "ibuffer" "ibuffer.el" (17591 9281)) |
| 13960 | ;;; Generated autoloads from ibuffer.el | 14213 | ;;; Generated autoloads from ibuffer.el |
| 13961 | 14214 | ||
| 13962 | (autoload (quote ibuffer-list-buffers) "ibuffer" "\ | 14215 | (autoload (quote ibuffer-list-buffers) "ibuffer" "\ |
| @@ -14112,7 +14365,7 @@ with no args, if that value is non-nil. | |||
| 14112 | ;;;*** | 14365 | ;;;*** |
| 14113 | 14366 | ||
| 14114 | ;;;### (autoloads (idlwave-shell) "idlw-shell" "progmodes/idlw-shell.el" | 14367 | ;;;### (autoloads (idlwave-shell) "idlw-shell" "progmodes/idlw-shell.el" |
| 14115 | ;;;;;; (17390 27408)) | 14368 | ;;;;;; (17515 24857)) |
| 14116 | ;;; Generated autoloads from progmodes/idlw-shell.el | 14369 | ;;; Generated autoloads from progmodes/idlw-shell.el |
| 14117 | 14370 | ||
| 14118 | (autoload (quote idlwave-shell) "idlw-shell" "\ | 14371 | (autoload (quote idlwave-shell) "idlw-shell" "\ |
| @@ -14138,11 +14391,11 @@ See also the variable `idlwave-shell-prompt-pattern'. | |||
| 14138 | ;;;*** | 14391 | ;;;*** |
| 14139 | 14392 | ||
| 14140 | ;;;### (autoloads (idlwave-mode) "idlwave" "progmodes/idlwave.el" | 14393 | ;;;### (autoloads (idlwave-mode) "idlwave" "progmodes/idlwave.el" |
| 14141 | ;;;;;; (17390 27408)) | 14394 | ;;;;;; (17515 24857)) |
| 14142 | ;;; Generated autoloads from progmodes/idlwave.el | 14395 | ;;; Generated autoloads from progmodes/idlwave.el |
| 14143 | 14396 | ||
| 14144 | (autoload (quote idlwave-mode) "idlwave" "\ | 14397 | (autoload (quote idlwave-mode) "idlwave" "\ |
| 14145 | Major mode for editing IDL source files (version 5.7_22). | 14398 | Major mode for editing IDL source files (version 6.0_em22). |
| 14146 | 14399 | ||
| 14147 | The main features of this mode are | 14400 | The main features of this mode are |
| 14148 | 14401 | ||
| @@ -14191,11 +14444,10 @@ The main features of this mode are | |||
| 14191 | 14444 | ||
| 14192 | 3. Online IDL Help | 14445 | 3. Online IDL Help |
| 14193 | --------------- | 14446 | --------------- |
| 14447 | |||
| 14194 | \\[idlwave-context-help] displays the IDL documentation relevant | 14448 | \\[idlwave-context-help] displays the IDL documentation relevant |
| 14195 | for the system variable, keyword, or routine at point. A single | 14449 | for the system variable, keyword, or routines at point. A single |
| 14196 | key stroke gets you directly to the right place in the docs. The | 14450 | key stroke gets you directly to the right place in the docs. See |
| 14197 | HTML help files package must be installed for this to work -- check | ||
| 14198 | the IDLWAVE webpage for the correct package for your version. See | ||
| 14199 | the manual to configure where and how the HTML help is displayed. | 14451 | the manual to configure where and how the HTML help is displayed. |
| 14200 | 14452 | ||
| 14201 | 4. Completion | 14453 | 4. Completion |
| @@ -14222,7 +14474,7 @@ The main features of this mode are | |||
| 14222 | \\i IF statement template | 14474 | \\i IF statement template |
| 14223 | \\elif IF-ELSE statement template | 14475 | \\elif IF-ELSE statement template |
| 14224 | \\b BEGIN | 14476 | \\b BEGIN |
| 14225 | 14477 | ||
| 14226 | For a full list, use \\[idlwave-list-abbrevs]. Some templates also | 14478 | For a full list, use \\[idlwave-list-abbrevs]. Some templates also |
| 14227 | have direct keybindings - see the list of keybindings below. | 14479 | have direct keybindings - see the list of keybindings below. |
| 14228 | 14480 | ||
| @@ -14263,7 +14515,7 @@ The main features of this mode are | |||
| 14263 | \\{idlwave-mode-map} | 14515 | \\{idlwave-mode-map} |
| 14264 | 14516 | ||
| 14265 | \(fn)" t nil) | 14517 | \(fn)" t nil) |
| 14266 | (add-to-list 'auto-mode-alist '("\\.[Pp][Rr][Oo]\\'" . idlwave-mode)) | 14518 | (add-to-list 'auto-mode-alist '("\\.[Pp][Rr][Oo]\\'" . idlwave-mode)) |
| 14267 | 14519 | ||
| 14268 | ;;;*** | 14520 | ;;;*** |
| 14269 | 14521 | ||
| @@ -14274,8 +14526,8 @@ The main features of this mode are | |||
| 14274 | ;;;;;; ido-find-alternate-file ido-find-file-other-window ido-find-file | 14526 | ;;;;;; ido-find-alternate-file ido-find-file-other-window ido-find-file |
| 14275 | ;;;;;; ido-find-file-in-dir ido-switch-buffer-other-frame ido-insert-buffer | 14527 | ;;;;;; ido-find-file-in-dir ido-switch-buffer-other-frame ido-insert-buffer |
| 14276 | ;;;;;; ido-kill-buffer ido-display-buffer ido-switch-buffer-other-window | 14528 | ;;;;;; ido-kill-buffer ido-display-buffer ido-switch-buffer-other-window |
| 14277 | ;;;;;; ido-switch-buffer ido-mode ido-mode) "ido" "ido.el" (17441 | 14529 | ;;;;;; ido-switch-buffer ido-mode ido-mode) "ido" "ido.el" (17591 |
| 14278 | ;;;;;; 26659)) | 14530 | ;;;;;; 9719)) |
| 14279 | ;;; Generated autoloads from ido.el | 14531 | ;;; Generated autoloads from ido.el |
| 14280 | 14532 | ||
| 14281 | (defvar ido-mode nil "\ | 14533 | (defvar ido-mode nil "\ |
| @@ -14311,7 +14563,7 @@ default is to show it in the same window, unless it is already visible | |||
| 14311 | in another frame. | 14563 | in another frame. |
| 14312 | 14564 | ||
| 14313 | As you type in a string, all of the buffers matching the string are | 14565 | As you type in a string, all of the buffers matching the string are |
| 14314 | displayed if substring-matching is used (default). Look at | 14566 | displayed if substring-matching is used (default). Look at |
| 14315 | `ido-enable-prefix' and `ido-toggle-prefix'. When you have found the | 14567 | `ido-enable-prefix' and `ido-toggle-prefix'. When you have found the |
| 14316 | buffer you want, it can then be selected. As you type, most keys have | 14568 | buffer you want, it can then be selected. As you type, most keys have |
| 14317 | their normal keybindings, except for the following: \\<ido-buffer-completion-map> | 14569 | their normal keybindings, except for the following: \\<ido-buffer-completion-map> |
| @@ -14334,7 +14586,7 @@ in a separate window. | |||
| 14334 | \\[ido-toggle-prefix] Toggle between substring and prefix matching. | 14586 | \\[ido-toggle-prefix] Toggle between substring and prefix matching. |
| 14335 | \\[ido-toggle-case] Toggle case-sensitive searching of buffer names. | 14587 | \\[ido-toggle-case] Toggle case-sensitive searching of buffer names. |
| 14336 | \\[ido-completion-help] Show list of matching buffers in separate window. | 14588 | \\[ido-completion-help] Show list of matching buffers in separate window. |
| 14337 | \\[ido-enter-find-file] Drop into ido-find-file. | 14589 | \\[ido-enter-find-file] Drop into `ido-find-file'. |
| 14338 | \\[ido-kill-buffer-at-head] Kill buffer at head of buffer list. | 14590 | \\[ido-kill-buffer-at-head] Kill buffer at head of buffer list. |
| 14339 | \\[ido-toggle-ignore] Toggle ignoring buffers listed in `ido-ignore-buffers'. | 14591 | \\[ido-toggle-ignore] Toggle ignoring buffers listed in `ido-ignore-buffers'. |
| 14340 | 14592 | ||
| @@ -14566,8 +14818,9 @@ Toggle inline image minor mode. | |||
| 14566 | 14818 | ||
| 14567 | ;;;### (autoloads (defimage find-image remove-images insert-sliced-image | 14819 | ;;;### (autoloads (defimage find-image remove-images insert-sliced-image |
| 14568 | ;;;;;; insert-image put-image create-image image-type-available-p | 14820 | ;;;;;; insert-image put-image create-image image-type-available-p |
| 14569 | ;;;;;; image-type-from-file-name image-type-from-file-header image-type-from-buffer | 14821 | ;;;;;; image-type image-type-from-file-name image-type-from-file-header |
| 14570 | ;;;;;; image-type-from-data) "image" "image.el" (17441 26666)) | 14822 | ;;;;;; image-type-from-buffer image-type-from-data) "image" "image.el" |
| 14823 | ;;;;;; (17490 7905)) | ||
| 14571 | ;;; Generated autoloads from image.el | 14824 | ;;; Generated autoloads from image.el |
| 14572 | 14825 | ||
| 14573 | (autoload (quote image-type-from-data) "image" "\ | 14826 | (autoload (quote image-type-from-data) "image" "\ |
| @@ -14598,6 +14851,17 @@ be determined. | |||
| 14598 | 14851 | ||
| 14599 | \(fn FILE)" nil nil) | 14852 | \(fn FILE)" nil nil) |
| 14600 | 14853 | ||
| 14854 | (autoload (quote image-type) "image" "\ | ||
| 14855 | Determine and return image type. | ||
| 14856 | FILE-OR-DATA is an image file name or image data. | ||
| 14857 | Optional TYPE is a symbol describing the image type. If TYPE is omitted | ||
| 14858 | or nil, try to determine the image type from its first few bytes | ||
| 14859 | of image data. If that doesn't work, and FILE-OR-DATA is a file name, | ||
| 14860 | use its file extension as image type. | ||
| 14861 | Optional DATA-P non-nil means FILE-OR-DATA is a string containing image data. | ||
| 14862 | |||
| 14863 | \(fn FILE-OR-DATA &optional TYPE DATA-P)" nil nil) | ||
| 14864 | |||
| 14601 | (autoload (quote image-type-available-p) "image" "\ | 14865 | (autoload (quote image-type-available-p) "image" "\ |
| 14602 | Return non-nil if image type TYPE is available. | 14866 | Return non-nil if image type TYPE is available. |
| 14603 | Image types are symbols like `xbm' or `jpeg'. | 14867 | Image types are symbols like `xbm' or `jpeg'. |
| @@ -14781,7 +15045,7 @@ Image files are those whose name has an extension in | |||
| 14781 | ;;;*** | 15045 | ;;;*** |
| 14782 | 15046 | ||
| 14783 | ;;;### (autoloads (image-mode-maybe image-minor-mode image-mode) | 15047 | ;;;### (autoloads (image-mode-maybe image-minor-mode image-mode) |
| 14784 | ;;;;;; "image-mode" "image-mode.el" (17390 27370)) | 15048 | ;;;;;; "image-mode" "image-mode.el" (17549 4607)) |
| 14785 | ;;; Generated autoloads from image-mode.el | 15049 | ;;; Generated autoloads from image-mode.el |
| 14786 | (push '("\\.jpe?g\\'" . image-mode) auto-mode-alist) | 15050 | (push '("\\.jpe?g\\'" . image-mode) auto-mode-alist) |
| 14787 | (push '("\\.png\\'" . image-mode) auto-mode-alist) | 15051 | (push '("\\.png\\'" . image-mode) auto-mode-alist) |
| @@ -14819,7 +15083,7 @@ information on these modes. | |||
| 14819 | ;;;*** | 15083 | ;;;*** |
| 14820 | 15084 | ||
| 14821 | ;;;### (autoloads (imenu imenu-add-menubar-index imenu-add-to-menubar | 15085 | ;;;### (autoloads (imenu imenu-add-menubar-index imenu-add-to-menubar |
| 14822 | ;;;;;; imenu-sort-function) "imenu" "imenu.el" (17390 26940)) | 15086 | ;;;;;; imenu-sort-function) "imenu" "imenu.el" (17591 9619)) |
| 14823 | ;;; Generated autoloads from imenu.el | 15087 | ;;; Generated autoloads from imenu.el |
| 14824 | 15088 | ||
| 14825 | (defvar imenu-sort-function nil "\ | 15089 | (defvar imenu-sort-function nil "\ |
| @@ -14854,18 +15118,13 @@ during matching.") | |||
| 14854 | (make-variable-buffer-local (quote imenu-generic-expression)) | 15118 | (make-variable-buffer-local (quote imenu-generic-expression)) |
| 14855 | 15119 | ||
| 14856 | (defvar imenu-create-index-function (quote imenu-default-create-index-function) "\ | 15120 | (defvar imenu-create-index-function (quote imenu-default-create-index-function) "\ |
| 14857 | The function to use for creating a buffer index. | 15121 | The function to use for creating an index alist of the current buffer. |
| 14858 | 15122 | ||
| 14859 | It should be a function that takes no arguments and returns an index | 15123 | It should be a function that takes no arguments and returns |
| 14860 | of the current buffer as an alist. | 15124 | an index alist of the current buffer. The function is |
| 15125 | called within a `save-excursion'. | ||
| 14861 | 15126 | ||
| 14862 | Simple elements in the alist look like (INDEX-NAME . INDEX-POSITION). | 15127 | See `imenu--index-alist' for the format of the buffer index alist.") |
| 14863 | Special elements look like (INDEX-NAME INDEX-POSITION FUNCTION ARGUMENTS...). | ||
| 14864 | A nested sub-alist element looks like (INDEX-NAME SUB-ALIST). | ||
| 14865 | The function `imenu--subalist-p' tests an element and returns t | ||
| 14866 | if it is a sub-alist. | ||
| 14867 | |||
| 14868 | This function is called within a `save-excursion'.") | ||
| 14869 | 15128 | ||
| 14870 | (make-variable-buffer-local (quote imenu-create-index-function)) | 15129 | (make-variable-buffer-local (quote imenu-create-index-function)) |
| 14871 | 15130 | ||
| @@ -14982,7 +15241,7 @@ See also the function `indian-glyph-char'. | |||
| 14982 | 15241 | ||
| 14983 | ;;;### (autoloads (inferior-lisp inferior-lisp-prompt inferior-lisp-load-command | 15242 | ;;;### (autoloads (inferior-lisp inferior-lisp-prompt inferior-lisp-load-command |
| 14984 | ;;;;;; inferior-lisp-program inferior-lisp-filter-regexp) "inf-lisp" | 15243 | ;;;;;; inferior-lisp-program inferior-lisp-filter-regexp) "inf-lisp" |
| 14985 | ;;;;;; "progmodes/inf-lisp.el" (17390 27408)) | 15244 | ;;;;;; "progmodes/inf-lisp.el" (17549 4607)) |
| 14986 | ;;; Generated autoloads from progmodes/inf-lisp.el | 15245 | ;;; Generated autoloads from progmodes/inf-lisp.el |
| 14987 | 15246 | ||
| 14988 | (defvar inferior-lisp-filter-regexp "\\`\\s *\\(:\\(\\w\\|\\s_\\)\\)?\\s *\\'" "\ | 15247 | (defvar inferior-lisp-filter-regexp "\\`\\s *\\(:\\(\\w\\|\\s_\\)\\)?\\s *\\'" "\ |
| @@ -15049,7 +15308,7 @@ of `inferior-lisp-program'). Runs the hooks from | |||
| 15049 | ;;;### (autoloads (Info-speedbar-browser Info-goto-emacs-key-command-node | 15308 | ;;;### (autoloads (Info-speedbar-browser Info-goto-emacs-key-command-node |
| 15050 | ;;;;;; Info-goto-emacs-command-node Info-mode info-apropos Info-index | 15309 | ;;;;;; Info-goto-emacs-command-node Info-mode info-apropos Info-index |
| 15051 | ;;;;;; Info-directory Info-on-current-buffer info-standalone info-emacs-manual | 15310 | ;;;;;; Info-directory Info-on-current-buffer info-standalone info-emacs-manual |
| 15052 | ;;;;;; info info-other-window) "info" "info.el" (17427 42815)) | 15311 | ;;;;;; info info-other-window) "info" "info.el" (17591 9719)) |
| 15053 | ;;; Generated autoloads from info.el | 15312 | ;;; Generated autoloads from info.el |
| 15054 | 15313 | ||
| 15055 | (autoload (quote info-other-window) "info" "\ | 15314 | (autoload (quote info-other-window) "info" "\ |
| @@ -15263,7 +15522,7 @@ Perform completion on file preceding point. | |||
| 15263 | ;;;*** | 15522 | ;;;*** |
| 15264 | 15523 | ||
| 15265 | ;;;### (autoloads (info-xref-check-all-custom info-xref-check-all | 15524 | ;;;### (autoloads (info-xref-check-all-custom info-xref-check-all |
| 15266 | ;;;;;; info-xref-check) "info-xref" "info-xref.el" (17390 26940)) | 15525 | ;;;;;; info-xref-check) "info-xref" "info-xref.el" (17524 8597)) |
| 15267 | ;;; Generated autoloads from info-xref.el | 15526 | ;;; Generated autoloads from info-xref.el |
| 15268 | 15527 | ||
| 15269 | (autoload (quote info-xref-check) "info-xref" "\ | 15528 | (autoload (quote info-xref-check) "info-xref" "\ |
| @@ -15496,8 +15755,9 @@ Add submenus to the File menu, to convert to and from various formats. | |||
| 15496 | ;;;;;; ispell-region ispell-change-dictionary ispell-kill-ispell | 15755 | ;;;;;; ispell-region ispell-change-dictionary ispell-kill-ispell |
| 15497 | ;;;;;; ispell-help ispell-pdict-save ispell-word ispell-local-dictionary-alist | 15756 | ;;;;;; ispell-help ispell-pdict-save ispell-word ispell-local-dictionary-alist |
| 15498 | ;;;;;; ispell-personal-dictionary) "ispell" "textmodes/ispell.el" | 15757 | ;;;;;; ispell-personal-dictionary) "ispell" "textmodes/ispell.el" |
| 15499 | ;;;;;; (17441 26660)) | 15758 | ;;;;;; (17549 5052)) |
| 15500 | ;;; Generated autoloads from textmodes/ispell.el | 15759 | ;;; Generated autoloads from textmodes/ispell.el |
| 15760 | (put 'ispell-check-comments 'safe-local-variable (lambda (a) (memq a '(nil t exclusive)))) | ||
| 15501 | 15761 | ||
| 15502 | (defvar ispell-personal-dictionary nil "\ | 15762 | (defvar ispell-personal-dictionary nil "\ |
| 15503 | *File name of your personal spelling dictionary, or nil. | 15763 | *File name of your personal spelling dictionary, or nil. |
| @@ -15505,6 +15765,7 @@ If nil, the default personal dictionary, \"~/.ispell_DICTNAME\" is used, | |||
| 15505 | where DICTNAME is the name of your default dictionary.") | 15765 | where DICTNAME is the name of your default dictionary.") |
| 15506 | 15766 | ||
| 15507 | (custom-autoload (quote ispell-personal-dictionary) "ispell") | 15767 | (custom-autoload (quote ispell-personal-dictionary) "ispell") |
| 15768 | (put 'ispell-local-dictionary 'safe-local-variable 'string-or-null-p) | ||
| 15508 | 15769 | ||
| 15509 | (defvar ispell-local-dictionary-alist nil "\ | 15770 | (defvar ispell-local-dictionary-alist nil "\ |
| 15510 | *List of local or customized dictionary definitions. | 15771 | *List of local or customized dictionary definitions. |
| @@ -16015,7 +16276,7 @@ and the return value is the length of the conversion. | |||
| 16015 | ;;;### (autoloads (kmacro-end-call-mouse kmacro-end-and-call-macro | 16276 | ;;;### (autoloads (kmacro-end-call-mouse kmacro-end-and-call-macro |
| 16016 | ;;;;;; kmacro-end-or-call-macro kmacro-start-macro-or-insert-counter | 16277 | ;;;;;; kmacro-end-or-call-macro kmacro-start-macro-or-insert-counter |
| 16017 | ;;;;;; kmacro-call-macro kmacro-end-macro kmacro-start-macro) "kmacro" | 16278 | ;;;;;; kmacro-call-macro kmacro-end-macro kmacro-start-macro) "kmacro" |
| 16018 | ;;;;;; "kmacro.el" (17390 26941)) | 16279 | ;;;;;; "kmacro.el" (17505 62414)) |
| 16019 | ;;; Generated autoloads from kmacro.el | 16280 | ;;; Generated autoloads from kmacro.el |
| 16020 | (global-set-key "\C-x(" 'kmacro-start-macro) | 16281 | (global-set-key "\C-x(" 'kmacro-start-macro) |
| 16021 | (global-set-key "\C-x)" 'kmacro-end-macro) | 16282 | (global-set-key "\C-x)" 'kmacro-end-macro) |
| @@ -16160,7 +16421,7 @@ Not documented | |||
| 16160 | ;;;*** | 16421 | ;;;*** |
| 16161 | 16422 | ||
| 16162 | ;;;### (autoloads (lm lm-test-run) "landmark" "play/landmark.el" | 16423 | ;;;### (autoloads (lm lm-test-run) "landmark" "play/landmark.el" |
| 16163 | ;;;;;; (17396 42165)) | 16424 | ;;;;;; (17591 9445)) |
| 16164 | ;;; Generated autoloads from play/landmark.el | 16425 | ;;; Generated autoloads from play/landmark.el |
| 16165 | 16426 | ||
| 16166 | (defalias (quote landmark-repeat) (quote lm-test-run)) | 16427 | (defalias (quote landmark-repeat) (quote lm-test-run)) |
| @@ -16450,8 +16711,8 @@ generations (this defaults to 1). | |||
| 16450 | 16711 | ||
| 16451 | ;;;*** | 16712 | ;;;*** |
| 16452 | 16713 | ||
| 16453 | ;;;### (autoloads (unload-feature) "loadhist" "loadhist.el" (17411 | 16714 | ;;;### (autoloads (unload-feature) "loadhist" "loadhist.el" (17469 |
| 16454 | ;;;;;; 12435)) | 16715 | ;;;;;; 12066)) |
| 16455 | ;;; Generated autoloads from loadhist.el | 16716 | ;;; Generated autoloads from loadhist.el |
| 16456 | 16717 | ||
| 16457 | (autoload (quote unload-feature) "loadhist" "\ | 16718 | (autoload (quote unload-feature) "loadhist" "\ |
| @@ -16474,7 +16735,7 @@ such as redefining an Emacs function. | |||
| 16474 | ;;;*** | 16735 | ;;;*** |
| 16475 | 16736 | ||
| 16476 | ;;;### (autoloads (locate-with-filter locate locate-ls-subdir-switches) | 16737 | ;;;### (autoloads (locate-with-filter locate locate-ls-subdir-switches) |
| 16477 | ;;;;;; "locate" "locate.el" (17441 26651)) | 16738 | ;;;;;; "locate" "locate.el" (17591 9293)) |
| 16478 | ;;; Generated autoloads from locate.el | 16739 | ;;; Generated autoloads from locate.el |
| 16479 | 16740 | ||
| 16480 | (defvar locate-ls-subdir-switches "-al" "\ | 16741 | (defvar locate-ls-subdir-switches "-al" "\ |
| @@ -16521,7 +16782,7 @@ except that FILTER is not optional. | |||
| 16521 | 16782 | ||
| 16522 | ;;;*** | 16783 | ;;;*** |
| 16523 | 16784 | ||
| 16524 | ;;;### (autoloads (log-edit) "log-edit" "log-edit.el" (17390 26942)) | 16785 | ;;;### (autoloads (log-edit) "log-edit" "log-edit.el" (17496 38723)) |
| 16525 | ;;; Generated autoloads from log-edit.el | 16786 | ;;; Generated autoloads from log-edit.el |
| 16526 | 16787 | ||
| 16527 | (autoload (quote log-edit) "log-edit" "\ | 16788 | (autoload (quote log-edit) "log-edit" "\ |
| @@ -16542,8 +16803,8 @@ If BUFFER is non-nil `log-edit' will jump to that buffer, use it to edit the | |||
| 16542 | 16803 | ||
| 16543 | ;;;*** | 16804 | ;;;*** |
| 16544 | 16805 | ||
| 16545 | ;;;### (autoloads (log-view-mode) "log-view" "log-view.el" (17390 | 16806 | ;;;### (autoloads (log-view-mode) "log-view" "log-view.el" (17496 |
| 16546 | ;;;;;; 26942)) | 16807 | ;;;;;; 38723)) |
| 16547 | ;;; Generated autoloads from log-view.el | 16808 | ;;; Generated autoloads from log-view.el |
| 16548 | 16809 | ||
| 16549 | (autoload (quote log-view-mode) "log-view" "\ | 16810 | (autoload (quote log-view-mode) "log-view" "\ |
| @@ -16553,8 +16814,8 @@ Major mode for browsing CVS log output. | |||
| 16553 | 16814 | ||
| 16554 | ;;;*** | 16815 | ;;;*** |
| 16555 | 16816 | ||
| 16556 | ;;;### (autoloads (longlines-mode) "longlines" "longlines.el" (17390 | 16817 | ;;;### (autoloads (longlines-mode) "longlines" "longlines.el" (17591 |
| 16557 | ;;;;;; 26942)) | 16818 | ;;;;;; 9876)) |
| 16558 | ;;; Generated autoloads from longlines.el | 16819 | ;;; Generated autoloads from longlines.el |
| 16559 | 16820 | ||
| 16560 | (autoload (quote longlines-mode) "longlines" "\ | 16821 | (autoload (quote longlines-mode) "longlines" "\ |
| @@ -17011,7 +17272,7 @@ The mail client is taken to be the handler of mailto URLs. | |||
| 17011 | 17272 | ||
| 17012 | ;;;### (autoloads (makefile-imake-mode makefile-bsdmake-mode makefile-makepp-mode | 17273 | ;;;### (autoloads (makefile-imake-mode makefile-bsdmake-mode makefile-makepp-mode |
| 17013 | ;;;;;; makefile-gmake-mode makefile-automake-mode makefile-mode) | 17274 | ;;;;;; makefile-gmake-mode makefile-automake-mode makefile-mode) |
| 17014 | ;;;;;; "make-mode" "progmodes/make-mode.el" (17390 27408)) | 17275 | ;;;;;; "make-mode" "progmodes/make-mode.el" (17591 9293)) |
| 17015 | ;;; Generated autoloads from progmodes/make-mode.el | 17276 | ;;; Generated autoloads from progmodes/make-mode.el |
| 17016 | 17277 | ||
| 17017 | (autoload (quote makefile-mode) "make-mode" "\ | 17278 | (autoload (quote makefile-mode) "make-mode" "\ |
| @@ -17019,11 +17280,10 @@ Major mode for editing standard Makefiles. | |||
| 17019 | 17280 | ||
| 17020 | If you are editing a file for a different make, try one of the | 17281 | If you are editing a file for a different make, try one of the |
| 17021 | variants `makefile-automake-mode', `makefile-gmake-mode', | 17282 | variants `makefile-automake-mode', `makefile-gmake-mode', |
| 17022 | `makefile-makepp-mode', `makefile-bsdmake-mode' or, | 17283 | `makefile-makepp-mode', `makefile-bsdmake-mode' or, |
| 17023 | `makefile-imake-mode'All but the | 17284 | `makefile-imake-mode'. All but the last should be correctly |
| 17024 | last should be correctly chosen based on the file name, except if | 17285 | chosen based on the file name, except if it is *.mk. This |
| 17025 | it is *.mk. This function ends by invoking the function(s) | 17286 | function ends by invoking the function(s) `makefile-mode-hook'. |
| 17026 | `makefile-mode-hook'. | ||
| 17027 | 17287 | ||
| 17028 | It is strongly recommended to use `font-lock-mode', because that | 17288 | It is strongly recommended to use `font-lock-mode', because that |
| 17029 | provides additional parsing information. This is used for | 17289 | provides additional parsing information. This is used for |
| @@ -17141,7 +17401,7 @@ Previous contents of that buffer are killed first. | |||
| 17141 | 17401 | ||
| 17142 | ;;;*** | 17402 | ;;;*** |
| 17143 | 17403 | ||
| 17144 | ;;;### (autoloads (man-follow man) "man" "man.el" (17390 26943)) | 17404 | ;;;### (autoloads (man-follow man) "man" "man.el" (17466 28474)) |
| 17145 | ;;; Generated autoloads from man.el | 17405 | ;;; Generated autoloads from man.el |
| 17146 | 17406 | ||
| 17147 | (defalias (quote manual-entry) (quote man)) | 17407 | (defalias (quote manual-entry) (quote man)) |
| @@ -17190,8 +17450,8 @@ yourself the value of `master-of' by calling `master-show-slave'. | |||
| 17190 | 17450 | ||
| 17191 | ;;;*** | 17451 | ;;;*** |
| 17192 | 17452 | ||
| 17193 | ;;;### (autoloads (menu-bar-mode) "menu-bar" "menu-bar.el" (17446 | 17453 | ;;;### (autoloads (menu-bar-mode) "menu-bar" "menu-bar.el" (17549 |
| 17194 | ;;;;;; 41075)) | 17454 | ;;;;;; 4607)) |
| 17195 | ;;; Generated autoloads from menu-bar.el | 17455 | ;;; Generated autoloads from menu-bar.el |
| 17196 | 17456 | ||
| 17197 | (put (quote menu-bar-mode) (quote standard-value) (quote (t))) | 17457 | (put (quote menu-bar-mode) (quote standard-value) (quote (t))) |
| @@ -17204,8 +17464,6 @@ use either \\[customize] or the function `menu-bar-mode'.") | |||
| 17204 | 17464 | ||
| 17205 | (custom-autoload (quote menu-bar-mode) "menu-bar") | 17465 | (custom-autoload (quote menu-bar-mode) "menu-bar") |
| 17206 | 17466 | ||
| 17207 | (put (quote menu-bar-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 17208 | |||
| 17209 | (autoload (quote menu-bar-mode) "menu-bar" "\ | 17467 | (autoload (quote menu-bar-mode) "menu-bar" "\ |
| 17210 | Toggle display of a menu bar on each frame. | 17468 | Toggle display of a menu bar on each frame. |
| 17211 | This command applies to all frames that exist and frames to be | 17469 | This command applies to all frames that exist and frames to be |
| @@ -17227,7 +17485,7 @@ turn on menu bars; otherwise, turn off menu bars. | |||
| 17227 | ;;;;;; message-cite-function message-yank-prefix message-citation-line-function | 17485 | ;;;;;; message-cite-function message-yank-prefix message-citation-line-function |
| 17228 | ;;;;;; message-send-mail-function message-user-organization-file | 17486 | ;;;;;; message-send-mail-function message-user-organization-file |
| 17229 | ;;;;;; message-signature-separator message-from-style) "message" | 17487 | ;;;;;; message-signature-separator message-from-style) "message" |
| 17230 | ;;;;;; "gnus/message.el" (17441 26663)) | 17488 | ;;;;;; "gnus/message.el" (17569 17789)) |
| 17231 | ;;; Generated autoloads from gnus/message.el | 17489 | ;;; Generated autoloads from gnus/message.el |
| 17232 | 17490 | ||
| 17233 | (defvar message-from-style (quote default) "\ | 17491 | (defvar message-from-style (quote default) "\ |
| @@ -17553,7 +17811,7 @@ redisplayed as output is inserted. | |||
| 17553 | 17811 | ||
| 17554 | ;;;### (autoloads (mh-fully-kill-draft mh-send-letter mh-user-agent-compose | 17812 | ;;;### (autoloads (mh-fully-kill-draft mh-send-letter mh-user-agent-compose |
| 17555 | ;;;;;; mh-smail-batch mh-smail-other-window mh-smail) "mh-comp" | 17813 | ;;;;;; mh-smail-batch mh-smail-other-window mh-smail) "mh-comp" |
| 17556 | ;;;;;; "mh-e/mh-comp.el" (17441 26667)) | 17814 | ;;;;;; "mh-e/mh-comp.el" (17569 17774)) |
| 17557 | ;;; Generated autoloads from mh-e/mh-comp.el | 17815 | ;;; Generated autoloads from mh-e/mh-comp.el |
| 17558 | 17816 | ||
| 17559 | (autoload (quote mh-smail) "mh-comp" "\ | 17817 | (autoload (quote mh-smail) "mh-comp" "\ |
| @@ -17640,8 +17898,7 @@ delete the draft message. | |||
| 17640 | 17898 | ||
| 17641 | ;;;*** | 17899 | ;;;*** |
| 17642 | 17900 | ||
| 17643 | ;;;### (autoloads (mh-strip-package-version mh-version) "mh-e" "mh-e/mh-e.el" | 17901 | ;;;### (autoloads (mh-version) "mh-e" "mh-e/mh-e.el" (17591 9293)) |
| 17644 | ;;;;;; (17454 45382)) | ||
| 17645 | ;;; Generated autoloads from mh-e/mh-e.el | 17902 | ;;; Generated autoloads from mh-e/mh-e.el |
| 17646 | 17903 | ||
| 17647 | (put (quote mh-progs) (quote risky-local-variable) t) | 17904 | (put (quote mh-progs) (quote risky-local-variable) t) |
| @@ -17655,17 +17912,10 @@ Display version information about MH-E and the MH mail handling system. | |||
| 17655 | 17912 | ||
| 17656 | \(fn)" t nil) | 17913 | \(fn)" t nil) |
| 17657 | 17914 | ||
| 17658 | (autoload (quote mh-strip-package-version) "mh-e" "\ | ||
| 17659 | Strip :package-version keyword and its value from ARGS. | ||
| 17660 | In Emacs versions that support the :package-version keyword, | ||
| 17661 | ARGS is returned unchanged. | ||
| 17662 | |||
| 17663 | \(fn ARGS)" nil nil) | ||
| 17664 | |||
| 17665 | ;;;*** | 17915 | ;;;*** |
| 17666 | 17916 | ||
| 17667 | ;;;### (autoloads (mh-folder-mode mh-nmail mh-rmail) "mh-folder" | 17917 | ;;;### (autoloads (mh-folder-mode mh-nmail mh-rmail) "mh-folder" |
| 17668 | ;;;;;; "mh-e/mh-folder.el" (17454 30993)) | 17918 | ;;;;;; "mh-e/mh-folder.el" (17490 7902)) |
| 17669 | ;;; Generated autoloads from mh-e/mh-folder.el | 17919 | ;;; Generated autoloads from mh-e/mh-folder.el |
| 17670 | 17920 | ||
| 17671 | (autoload (quote mh-rmail) "mh-folder" "\ | 17921 | (autoload (quote mh-rmail) "mh-folder" "\ |
| @@ -17841,7 +18091,7 @@ PATTERN regexp. | |||
| 17841 | ;;;*** | 18091 | ;;;*** |
| 17842 | 18092 | ||
| 17843 | ;;;### (autoloads (mm-inline-external-body mm-extern-cache-contents) | 18093 | ;;;### (autoloads (mm-inline-external-body mm-extern-cache-contents) |
| 17844 | ;;;;;; "mm-extern" "gnus/mm-extern.el" (17441 26663)) | 18094 | ;;;;;; "mm-extern" "gnus/mm-extern.el" (17469 13462)) |
| 17845 | ;;; Generated autoloads from gnus/mm-extern.el | 18095 | ;;; Generated autoloads from gnus/mm-extern.el |
| 17846 | 18096 | ||
| 17847 | (autoload (quote mm-extern-cache-contents) "mm-extern" "\ | 18097 | (autoload (quote mm-extern-cache-contents) "mm-extern" "\ |
| @@ -17891,7 +18141,7 @@ Insert file contents of URL using `mm-url-program'. | |||
| 17891 | ;;;*** | 18141 | ;;;*** |
| 17892 | 18142 | ||
| 17893 | ;;;### (autoloads (mm-uu-dissect-text-parts mm-uu-dissect) "mm-uu" | 18143 | ;;;### (autoloads (mm-uu-dissect-text-parts mm-uu-dissect) "mm-uu" |
| 17894 | ;;;;;; "gnus/mm-uu.el" (17441 26664)) | 18144 | ;;;;;; "gnus/mm-uu.el" (17496 39167)) |
| 17895 | ;;; Generated autoloads from gnus/mm-uu.el | 18145 | ;;; Generated autoloads from gnus/mm-uu.el |
| 17896 | 18146 | ||
| 17897 | (autoload (quote mm-uu-dissect) "mm-uu" "\ | 18147 | (autoload (quote mm-uu-dissect) "mm-uu" "\ |
| @@ -17911,7 +18161,7 @@ Assume text has been decoded if DECODED is non-nil. | |||
| 17911 | ;;;*** | 18161 | ;;;*** |
| 17912 | 18162 | ||
| 17913 | ;;;### (autoloads (mml1991-sign mml1991-encrypt) "mml1991" "gnus/mml1991.el" | 18163 | ;;;### (autoloads (mml1991-sign mml1991-encrypt) "mml1991" "gnus/mml1991.el" |
| 17914 | ;;;;;; (17390 27386)) | 18164 | ;;;;;; (17496 38719)) |
| 17915 | ;;; Generated autoloads from gnus/mml1991.el | 18165 | ;;; Generated autoloads from gnus/mml1991.el |
| 17916 | 18166 | ||
| 17917 | (autoload (quote mml1991-encrypt) "mml1991" "\ | 18167 | (autoload (quote mml1991-encrypt) "mml1991" "\ |
| @@ -17928,7 +18178,7 @@ Not documented | |||
| 17928 | 18178 | ||
| 17929 | ;;;### (autoloads (mml2015-self-encrypt mml2015-sign mml2015-encrypt | 18179 | ;;;### (autoloads (mml2015-self-encrypt mml2015-sign mml2015-encrypt |
| 17930 | ;;;;;; mml2015-verify-test mml2015-verify mml2015-decrypt-test mml2015-decrypt) | 18180 | ;;;;;; mml2015-verify-test mml2015-verify mml2015-decrypt-test mml2015-decrypt) |
| 17931 | ;;;;;; "mml2015" "gnus/mml2015.el" (17390 27386)) | 18181 | ;;;;;; "mml2015" "gnus/mml2015.el" (17496 39167)) |
| 17932 | ;;; Generated autoloads from gnus/mml2015.el | 18182 | ;;; Generated autoloads from gnus/mml2015.el |
| 17933 | 18183 | ||
| 17934 | (autoload (quote mml2015-decrypt) "mml2015" "\ | 18184 | (autoload (quote mml2015-decrypt) "mml2015" "\ |
| @@ -18080,7 +18330,7 @@ Multiplication puzzle with GNU Emacs. | |||
| 18080 | 18330 | ||
| 18081 | ;;;*** | 18331 | ;;;*** |
| 18082 | 18332 | ||
| 18083 | ;;;### (autoloads (msb-mode) "msb" "msb.el" (17390 26943)) | 18333 | ;;;### (autoloads (msb-mode) "msb" "msb.el" (17569 17797)) |
| 18084 | ;;; Generated autoloads from msb.el | 18334 | ;;; Generated autoloads from msb.el |
| 18085 | 18335 | ||
| 18086 | (defvar msb-mode nil "\ | 18336 | (defvar msb-mode nil "\ |
| @@ -18091,8 +18341,6 @@ use either \\[customize] or the function `msb-mode'.") | |||
| 18091 | 18341 | ||
| 18092 | (custom-autoload (quote msb-mode) "msb") | 18342 | (custom-autoload (quote msb-mode) "msb") |
| 18093 | 18343 | ||
| 18094 | (put (quote msb-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 18095 | |||
| 18096 | (autoload (quote msb-mode) "msb" "\ | 18344 | (autoload (quote msb-mode) "msb" "\ |
| 18097 | Toggle Msb mode. | 18345 | Toggle Msb mode. |
| 18098 | With arg, turn Msb mode on if and only if arg is positive. | 18346 | With arg, turn Msb mode on if and only if arg is positive. |
| @@ -18410,7 +18658,7 @@ basis, this may not be accurate. | |||
| 18410 | ;;;*** | 18658 | ;;;*** |
| 18411 | 18659 | ||
| 18412 | ;;;### (autoloads (mwheel-install mouse-wheel-mode) "mwheel" "mwheel.el" | 18660 | ;;;### (autoloads (mwheel-install mouse-wheel-mode) "mwheel" "mwheel.el" |
| 18413 | ;;;;;; (17396 42167)) | 18661 | ;;;;;; (17505 62425)) |
| 18414 | ;;; Generated autoloads from mwheel.el | 18662 | ;;; Generated autoloads from mwheel.el |
| 18415 | 18663 | ||
| 18416 | (defvar mouse-wheel-mode nil "\ | 18664 | (defvar mouse-wheel-mode nil "\ |
| @@ -18421,8 +18669,6 @@ use either \\[customize] or the function `mouse-wheel-mode'.") | |||
| 18421 | 18669 | ||
| 18422 | (custom-autoload (quote mouse-wheel-mode) "mwheel") | 18670 | (custom-autoload (quote mouse-wheel-mode) "mwheel") |
| 18423 | 18671 | ||
| 18424 | (put (quote mouse-wheel-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 18425 | |||
| 18426 | (autoload (quote mouse-wheel-mode) "mwheel" "\ | 18672 | (autoload (quote mouse-wheel-mode) "mwheel" "\ |
| 18427 | Toggle mouse wheel support. | 18673 | Toggle mouse wheel support. |
| 18428 | With prefix argument ARG, turn on if positive, otherwise off. | 18674 | With prefix argument ARG, turn on if positive, otherwise off. |
| @@ -18536,7 +18782,7 @@ Open a network connection to HOST on PORT. | |||
| 18536 | ;;;;;; comment-kill comment-set-column comment-indent comment-indent-default | 18782 | ;;;;;; comment-kill comment-set-column comment-indent comment-indent-default |
| 18537 | ;;;;;; comment-normalize-vars comment-multi-line comment-padding | 18783 | ;;;;;; comment-normalize-vars comment-multi-line comment-padding |
| 18538 | ;;;;;; comment-style comment-column) "newcomment" "newcomment.el" | 18784 | ;;;;;; comment-style comment-column) "newcomment" "newcomment.el" |
| 18539 | ;;;;;; (17383 37889)) | 18785 | ;;;;;; (17515 24859)) |
| 18540 | ;;; Generated autoloads from newcomment.el | 18786 | ;;; Generated autoloads from newcomment.el |
| 18541 | 18787 | ||
| 18542 | (defalias (quote indent-for-comment) (quote comment-indent)) | 18788 | (defalias (quote indent-for-comment) (quote comment-indent)) |
| @@ -18562,21 +18808,26 @@ Comments might be indented to a value smaller than this in order | |||
| 18562 | not to go beyond `comment-fill-column'.") | 18808 | not to go beyond `comment-fill-column'.") |
| 18563 | 18809 | ||
| 18564 | (custom-autoload (quote comment-column) "newcomment") | 18810 | (custom-autoload (quote comment-column) "newcomment") |
| 18811 | (put 'comment-column 'safe-local-variable 'integerp) | ||
| 18565 | 18812 | ||
| 18566 | (defvar comment-start nil "\ | 18813 | (defvar comment-start nil "\ |
| 18567 | *String to insert to start a new comment, or nil if no comment syntax.") | 18814 | *String to insert to start a new comment, or nil if no comment syntax.") |
| 18815 | (put 'comment-start 'safe-local-variable 'string-or-null-p) | ||
| 18568 | 18816 | ||
| 18569 | (defvar comment-start-skip nil "\ | 18817 | (defvar comment-start-skip nil "\ |
| 18570 | *Regexp to match the start of a comment plus everything up to its body. | 18818 | *Regexp to match the start of a comment plus everything up to its body. |
| 18571 | If there are any \\(...\\) pairs, the comment delimiter text is held to begin | 18819 | If there are any \\(...\\) pairs, the comment delimiter text is held to begin |
| 18572 | at the place matched by the close of the first pair.") | 18820 | at the place matched by the close of the first pair.") |
| 18821 | (put 'comment-start-skip 'safe-local-variable 'string-or-null-p) | ||
| 18573 | 18822 | ||
| 18574 | (defvar comment-end-skip nil "\ | 18823 | (defvar comment-end-skip nil "\ |
| 18575 | Regexp to match the end of a comment plus everything up to its body.") | 18824 | Regexp to match the end of a comment plus everything up to its body.") |
| 18825 | (put 'comment-end-skip 'safe-local-variable 'string-or-null-p) | ||
| 18576 | 18826 | ||
| 18577 | (defvar comment-end "" "\ | 18827 | (defvar comment-end "" "\ |
| 18578 | *String to insert to end a new comment. | 18828 | *String to insert to end a new comment. |
| 18579 | Should be an empty string if comments are terminated by end-of-line.") | 18829 | Should be an empty string if comments are terminated by end-of-line.") |
| 18830 | (put 'comment-end 'safe-local-variable 'string-or-null-p) | ||
| 18580 | 18831 | ||
| 18581 | (defvar comment-indent-function (quote comment-indent-default) "\ | 18832 | (defvar comment-indent-function (quote comment-indent-default) "\ |
| 18582 | Function to compute desired indentation for a comment. | 18833 | Function to compute desired indentation for a comment. |
| @@ -18906,7 +19157,7 @@ If KEY is not a string, prompt for it with completion. | |||
| 18906 | ;;;*** | 19157 | ;;;*** |
| 18907 | 19158 | ||
| 18908 | ;;;### (autoloads (inferior-octave) "octave-inf" "progmodes/octave-inf.el" | 19159 | ;;;### (autoloads (inferior-octave) "octave-inf" "progmodes/octave-inf.el" |
| 18909 | ;;;;;; (17390 27409)) | 19160 | ;;;;;; (17591 9570)) |
| 18910 | ;;; Generated autoloads from progmodes/octave-inf.el | 19161 | ;;; Generated autoloads from progmodes/octave-inf.el |
| 18911 | 19162 | ||
| 18912 | (autoload (quote inferior-octave) "octave-inf" "\ | 19163 | (autoload (quote inferior-octave) "octave-inf" "\ |
| @@ -19028,7 +19279,7 @@ including a reproducible test case and send the message. | |||
| 19028 | ;;;*** | 19279 | ;;;*** |
| 19029 | 19280 | ||
| 19030 | ;;;### (autoloads (edit-options list-options) "options" "obsolete/options.el" | 19281 | ;;;### (autoloads (edit-options list-options) "options" "obsolete/options.el" |
| 19031 | ;;;;;; (17383 38807)) | 19282 | ;;;;;; (17569 17776)) |
| 19032 | ;;; Generated autoloads from obsolete/options.el | 19283 | ;;; Generated autoloads from obsolete/options.el |
| 19033 | 19284 | ||
| 19034 | (autoload (quote list-options) "options" "\ | 19285 | (autoload (quote list-options) "options" "\ |
| @@ -19050,10 +19301,11 @@ The Custom feature is intended to make this obsolete. | |||
| 19050 | ;;;*** | 19301 | ;;;*** |
| 19051 | 19302 | ||
| 19052 | ;;;### (autoloads (org-export-icalendar-combine-agenda-files org-export-icalendar-all-agenda-files | 19303 | ;;;### (autoloads (org-export-icalendar-combine-agenda-files org-export-icalendar-all-agenda-files |
| 19053 | ;;;;;; orgtbl-mode turn-on-orgtbl org-remember-handler org-remember-annotation | 19304 | ;;;;;; org-export-icalendar-this-file orgtbl-mode turn-on-orgtbl |
| 19305 | ;;;;;; org-remember-handler org-remember-apply-template org-remember-annotation | ||
| 19054 | ;;;;;; org-store-link org-tags-view org-diary org-todo-list org-agenda-list | 19306 | ;;;;;; org-store-link org-tags-view org-diary org-todo-list org-agenda-list |
| 19055 | ;;;;;; org-agenda org-agenda-mode org-mode) "org" "textmodes/org.el" | 19307 | ;;;;;; org-agenda org-global-cycle org-cycle org-mode) "org" "textmodes/org.el" |
| 19056 | ;;;;;; (17454 30950)) | 19308 | ;;;;;; (17591 9570)) |
| 19057 | ;;; Generated autoloads from textmodes/org.el | 19309 | ;;; Generated autoloads from textmodes/org.el |
| 19058 | 19310 | ||
| 19059 | (autoload (quote org-mode) "org" "\ | 19311 | (autoload (quote org-mode) "org" "\ |
| @@ -19077,14 +19329,40 @@ The following commands are available: | |||
| 19077 | 19329 | ||
| 19078 | \(fn)" t nil) | 19330 | \(fn)" t nil) |
| 19079 | 19331 | ||
| 19080 | (autoload (quote org-agenda-mode) "org" "\ | 19332 | (autoload (quote org-cycle) "org" "\ |
| 19081 | Mode for time-sorted view on action items in Org-mode files. | 19333 | Visibility cycling for Org-mode. |
| 19082 | 19334 | ||
| 19083 | The following commands are available: | 19335 | - When this function is called with a prefix argument, rotate the entire |
| 19336 | buffer through 3 states (global cycling) | ||
| 19337 | 1. OVERVIEW: Show only top-level headlines. | ||
| 19338 | 2. CONTENTS: Show all headlines of all levels, but no body text. | ||
| 19339 | 3. SHOW ALL: Show everything. | ||
| 19084 | 19340 | ||
| 19085 | \\{org-agenda-mode-map} | 19341 | - When point is at the beginning of a headline, rotate the subtree started |
| 19342 | by this line through 3 different states (local cycling) | ||
| 19343 | 1. FOLDED: Only the main headline is shown. | ||
| 19344 | 2. CHILDREN: The main headline and the direct children are shown. | ||
| 19345 | From this state, you can move to one of the children | ||
| 19346 | and zoom in further. | ||
| 19347 | 3. SUBTREE: Show the entire subtree, including body text. | ||
| 19086 | 19348 | ||
| 19087 | \(fn)" t nil) | 19349 | - When there is a numeric prefix, go up to a heading with level ARG, do |
| 19350 | a `show-subtree' and return to the previous cursor position. If ARG | ||
| 19351 | is negative, go up that many levels. | ||
| 19352 | |||
| 19353 | - When point is not at the beginning of a headline, execute | ||
| 19354 | `indent-relative', like TAB normally does. See the option | ||
| 19355 | `org-cycle-emulate-tab' for details. | ||
| 19356 | |||
| 19357 | - Special case: if point is the the beginning of the buffer and there is | ||
| 19358 | no headline in line 1, this function will act as if called with prefix arg. | ||
| 19359 | |||
| 19360 | \(fn &optional ARG)" t nil) | ||
| 19361 | |||
| 19362 | (autoload (quote org-global-cycle) "org" "\ | ||
| 19363 | Cycle the global visibility. For details see `org-cycle'. | ||
| 19364 | |||
| 19365 | \(fn &optional ARG)" t nil) | ||
| 19088 | 19366 | ||
| 19089 | (autoload (quote org-agenda) "org" "\ | 19367 | (autoload (quote org-agenda) "org" "\ |
| 19090 | Dispatch agenda commands to collect entries to the agenda buffer. | 19368 | Dispatch agenda commands to collect entries to the agenda buffer. |
| @@ -19203,6 +19481,13 @@ conventions in Org-mode. This function returns such a link. | |||
| 19203 | 19481 | ||
| 19204 | \(fn)" nil nil) | 19482 | \(fn)" nil nil) |
| 19205 | 19483 | ||
| 19484 | (autoload (quote org-remember-apply-template) "org" "\ | ||
| 19485 | Initialize *remember* buffer with template, invoke `org-mode'. | ||
| 19486 | This function should be placed into `remember-mode-hook' and in fact requires | ||
| 19487 | to be run from that hook to fucntion properly. | ||
| 19488 | |||
| 19489 | \(fn)" nil nil) | ||
| 19490 | |||
| 19206 | (autoload (quote org-remember-handler) "org" "\ | 19491 | (autoload (quote org-remember-handler) "org" "\ |
| 19207 | Store stuff from remember.el into an org file. | 19492 | Store stuff from remember.el into an org file. |
| 19208 | First prompts for an org file. If the user just presses return, the value | 19493 | First prompts for an org file. If the user just presses return, the value |
| @@ -19249,6 +19534,13 @@ The `org-mode' table editor as a minor mode for use in other modes. | |||
| 19249 | 19534 | ||
| 19250 | \(fn &optional ARG)" t nil) | 19535 | \(fn &optional ARG)" t nil) |
| 19251 | 19536 | ||
| 19537 | (autoload (quote org-export-icalendar-this-file) "org" "\ | ||
| 19538 | Export current file as an iCalendar file. | ||
| 19539 | The iCalendar file will be located in the same directory as the Org-mode | ||
| 19540 | file, but with extension `.ics'. | ||
| 19541 | |||
| 19542 | \(fn)" t nil) | ||
| 19543 | |||
| 19252 | (autoload (quote org-export-icalendar-all-agenda-files) "org" "\ | 19544 | (autoload (quote org-export-icalendar-all-agenda-files) "org" "\ |
| 19253 | Export all files in `org-agenda-files' to iCalendar .ics files. | 19545 | Export all files in `org-agenda-files' to iCalendar .ics files. |
| 19254 | Each iCalendar file will be located in the same directory as the Org-mode | 19546 | Each iCalendar file will be located in the same directory as the Org-mode |
| @@ -19265,8 +19557,9 @@ The file is stored under the name `org-combined-agenda-icalendar-file'. | |||
| 19265 | ;;;*** | 19557 | ;;;*** |
| 19266 | 19558 | ||
| 19267 | ;;;### (autoloads (outline-minor-mode outline-mode) "outline" "outline.el" | 19559 | ;;;### (autoloads (outline-minor-mode outline-mode) "outline" "outline.el" |
| 19268 | ;;;;;; (17425 24463)) | 19560 | ;;;;;; (17515 24859)) |
| 19269 | ;;; Generated autoloads from outline.el | 19561 | ;;; Generated autoloads from outline.el |
| 19562 | (put 'outline-regexp 'safe-local-variable 'string-or-null-p) | ||
| 19270 | 19563 | ||
| 19271 | (autoload (quote outline-mode) "outline" "\ | 19564 | (autoload (quote outline-mode) "outline" "\ |
| 19272 | Set major mode for editing outlines with selective display. | 19565 | Set major mode for editing outlines with selective display. |
| @@ -19320,6 +19613,21 @@ See the command `outline-mode' for more information on this mode. | |||
| 19320 | 19613 | ||
| 19321 | ;;;*** | 19614 | ;;;*** |
| 19322 | 19615 | ||
| 19616 | ;;;### (autoloads nil "paragraphs" "textmodes/paragraphs.el" (17496 | ||
| 19617 | ;;;;;; 38721)) | ||
| 19618 | ;;; Generated autoloads from textmodes/paragraphs.el | ||
| 19619 | (put 'paragraph-start 'safe-local-variable 'stringp) | ||
| 19620 | (put 'paragraph-separate 'safe-local-variable 'stringp) | ||
| 19621 | (put 'sentence-end-double-space 'safe-local-variable 'booleanp) | ||
| 19622 | (put 'sentence-end-without-period 'safe-local-variable 'booleanp) | ||
| 19623 | (put 'sentence-end-without-space 'safe-local-variable 'stringp) | ||
| 19624 | (put 'sentence-end 'safe-local-variable 'string-or-null-p) | ||
| 19625 | (put 'sentence-end-base 'safe-local-variable 'stringp) | ||
| 19626 | (put 'page-delimiter 'safe-local-variable 'stringp) | ||
| 19627 | (put 'paragraph-ignore-fill-prefix 'safe-local-variable 'booleanp) | ||
| 19628 | |||
| 19629 | ;;;*** | ||
| 19630 | |||
| 19323 | ;;;### (autoloads (show-paren-mode) "paren" "paren.el" (17390 26944)) | 19631 | ;;;### (autoloads (show-paren-mode) "paren" "paren.el" (17390 26944)) |
| 19324 | ;;; Generated autoloads from paren.el | 19632 | ;;; Generated autoloads from paren.el |
| 19325 | 19633 | ||
| @@ -19630,8 +19938,8 @@ Completion for the `chgrp' command. | |||
| 19630 | 19938 | ||
| 19631 | ;;;### (autoloads (pcomplete-shell-setup pcomplete-comint-setup pcomplete-list | 19939 | ;;;### (autoloads (pcomplete-shell-setup pcomplete-comint-setup pcomplete-list |
| 19632 | ;;;;;; pcomplete-help pcomplete-expand pcomplete-continue pcomplete-expand-and-complete | 19940 | ;;;;;; pcomplete-help pcomplete-expand pcomplete-continue pcomplete-expand-and-complete |
| 19633 | ;;;;;; pcomplete-reverse pcomplete) "pcomplete" "pcomplete.el" (17390 | 19941 | ;;;;;; pcomplete-reverse pcomplete) "pcomplete" "pcomplete.el" (17466 |
| 19634 | ;;;;;; 26944)) | 19942 | ;;;;;; 27845)) |
| 19635 | ;;; Generated autoloads from pcomplete.el | 19943 | ;;; Generated autoloads from pcomplete.el |
| 19636 | 19944 | ||
| 19637 | (autoload (quote pcomplete) "pcomplete" "\ | 19945 | (autoload (quote pcomplete) "pcomplete" "\ |
| @@ -19690,7 +19998,7 @@ Setup shell-mode to use pcomplete. | |||
| 19690 | 19998 | ||
| 19691 | ;;;### (autoloads (cvs-dired-use-hook cvs-dired-action cvs-status | 19999 | ;;;### (autoloads (cvs-dired-use-hook cvs-dired-action cvs-status |
| 19692 | ;;;;;; cvs-update cvs-examine cvs-quickdir cvs-checkout) "pcvs" | 20000 | ;;;;;; cvs-update cvs-examine cvs-quickdir cvs-checkout) "pcvs" |
| 19693 | ;;;;;; "pcvs.el" (17390 26944)) | 20001 | ;;;;;; "pcvs.el" (17569 17772)) |
| 19694 | ;;; Generated autoloads from pcvs.el | 20002 | ;;; Generated autoloads from pcvs.el |
| 19695 | 20003 | ||
| 19696 | (autoload (quote cvs-checkout) "pcvs" "\ | 20004 | (autoload (quote cvs-checkout) "pcvs" "\ |
| @@ -19767,7 +20075,7 @@ The exact behavior is determined also by `cvs-dired-use-hook'." (when (stringp d | |||
| 19767 | 20075 | ||
| 19768 | ;;;*** | 20076 | ;;;*** |
| 19769 | 20077 | ||
| 19770 | ;;;### (autoloads nil "pcvs-defs" "pcvs-defs.el" (17390 26944)) | 20078 | ;;;### (autoloads nil "pcvs-defs" "pcvs-defs.el" (17591 9570)) |
| 19771 | ;;; Generated autoloads from pcvs-defs.el | 20079 | ;;; Generated autoloads from pcvs-defs.el |
| 19772 | 20080 | ||
| 19773 | (defvar cvs-global-menu (let ((m (make-sparse-keymap "PCL-CVS"))) (define-key m [status] (quote (menu-item "Directory Status" cvs-status :help "A more verbose status of a workarea"))) (define-key m [checkout] (quote (menu-item "Checkout Module" cvs-checkout :help "Check out a module from the repository"))) (define-key m [update] (quote (menu-item "Update Directory" cvs-update :help "Fetch updates from the repository"))) (define-key m [examine] (quote (menu-item "Examine Directory" cvs-examine :help "Examine the current state of a workarea"))) (fset (quote cvs-global-menu) m))) | 20081 | (defvar cvs-global-menu (let ((m (make-sparse-keymap "PCL-CVS"))) (define-key m [status] (quote (menu-item "Directory Status" cvs-status :help "A more verbose status of a workarea"))) (define-key m [checkout] (quote (menu-item "Checkout Module" cvs-checkout :help "Check out a module from the repository"))) (define-key m [update] (quote (menu-item "Update Directory" cvs-update :help "Fetch updates from the repository"))) (define-key m [examine] (quote (menu-item "Examine Directory" cvs-examine :help "Examine the current state of a workarea"))) (fset (quote cvs-global-menu) m))) |
| @@ -19775,7 +20083,7 @@ The exact behavior is determined also by `cvs-dired-use-hook'." (when (stringp d | |||
| 19775 | ;;;*** | 20083 | ;;;*** |
| 19776 | 20084 | ||
| 19777 | ;;;### (autoloads (perl-mode) "perl-mode" "progmodes/perl-mode.el" | 20085 | ;;;### (autoloads (perl-mode) "perl-mode" "progmodes/perl-mode.el" |
| 19778 | ;;;;;; (17390 27409)) | 20086 | ;;;;;; (17499 10453)) |
| 19779 | ;;; Generated autoloads from progmodes/perl-mode.el | 20087 | ;;; Generated autoloads from progmodes/perl-mode.el |
| 19780 | 20088 | ||
| 19781 | (autoload (quote perl-mode) "perl-mode" "\ | 20089 | (autoload (quote perl-mode) "perl-mode" "\ |
| @@ -19966,8 +20274,19 @@ Import public keys in the current buffer. | |||
| 19966 | 20274 | ||
| 19967 | ;;;*** | 20275 | ;;;*** |
| 19968 | 20276 | ||
| 20277 | ;;;### (autoloads (pgg-gpg-symmetric-key-p) "pgg-gpg" "pgg-gpg.el" | ||
| 20278 | ;;;;;; (17466 28572)) | ||
| 20279 | ;;; Generated autoloads from pgg-gpg.el | ||
| 20280 | |||
| 20281 | (autoload (quote pgg-gpg-symmetric-key-p) "pgg-gpg" "\ | ||
| 20282 | True if decoded armor MESSAGE-KEYS has symmetric encryption indicator. | ||
| 20283 | |||
| 20284 | \(fn MESSAGE-KEYS)" nil nil) | ||
| 20285 | |||
| 20286 | ;;;*** | ||
| 20287 | |||
| 19969 | ;;;### (autoloads (picture-mode) "picture" "textmodes/picture.el" | 20288 | ;;;### (autoloads (picture-mode) "picture" "textmodes/picture.el" |
| 19970 | ;;;;;; (17390 26946)) | 20289 | ;;;;;; (17466 28579)) |
| 19971 | ;;; Generated autoloads from textmodes/picture.el | 20290 | ;;; Generated autoloads from textmodes/picture.el |
| 19972 | 20291 | ||
| 19973 | (autoload (quote picture-mode) "picture" "\ | 20292 | (autoload (quote picture-mode) "picture" "\ |
| @@ -20048,7 +20367,7 @@ they are not defaultly assigned to keys. | |||
| 20048 | ;;;*** | 20367 | ;;;*** |
| 20049 | 20368 | ||
| 20050 | ;;;### (autoloads (po-find-file-coding-system) "po" "textmodes/po.el" | 20369 | ;;;### (autoloads (po-find-file-coding-system) "po" "textmodes/po.el" |
| 20051 | ;;;;;; (17390 26946)) | 20370 | ;;;;;; (17549 4608)) |
| 20052 | ;;; Generated autoloads from textmodes/po.el | 20371 | ;;; Generated autoloads from textmodes/po.el |
| 20053 | 20372 | ||
| 20054 | (autoload (quote po-find-file-coding-system) "po" "\ | 20373 | (autoload (quote po-find-file-coding-system) "po" "\ |
| @@ -20059,7 +20378,7 @@ Called through `file-coding-system-alist', before the file is visited for real. | |||
| 20059 | 20378 | ||
| 20060 | ;;;*** | 20379 | ;;;*** |
| 20061 | 20380 | ||
| 20062 | ;;;### (autoloads (pong) "pong" "play/pong.el" (17383 38807)) | 20381 | ;;;### (autoloads (pong) "pong" "play/pong.el" (17549 5052)) |
| 20063 | ;;; Generated autoloads from play/pong.el | 20382 | ;;; Generated autoloads from play/pong.el |
| 20064 | 20383 | ||
| 20065 | (autoload (quote pong) "pong" "\ | 20384 | (autoload (quote pong) "pong" "\ |
| @@ -21120,7 +21439,7 @@ If EXTENSION is any other symbol, it is ignored. | |||
| 21120 | ;;;*** | 21439 | ;;;*** |
| 21121 | 21440 | ||
| 21122 | ;;;### (autoloads (jython-mode python-mode run-python) "python" "progmodes/python.el" | 21441 | ;;;### (autoloads (jython-mode python-mode run-python) "python" "progmodes/python.el" |
| 21123 | ;;;;;; (17390 27409)) | 21442 | ;;;;;; (17490 7930)) |
| 21124 | ;;; Generated autoloads from progmodes/python.el | 21443 | ;;; Generated autoloads from progmodes/python.el |
| 21125 | 21444 | ||
| 21126 | (add-to-list (quote interpreter-mode-alist) (quote ("jython" . jython-mode))) | 21445 | (add-to-list (quote interpreter-mode-alist) (quote ("jython" . jython-mode))) |
| @@ -21511,7 +21830,7 @@ Display `quickurl-list' as a formatted list using `quickurl-list-mode'. | |||
| 21511 | ;;;*** | 21830 | ;;;*** |
| 21512 | 21831 | ||
| 21513 | ;;;### (autoloads (rcirc-track-minor-mode rcirc-connect rcirc) "rcirc" | 21832 | ;;;### (autoloads (rcirc-track-minor-mode rcirc-connect rcirc) "rcirc" |
| 21514 | ;;;;;; "net/rcirc.el" (17454 30953)) | 21833 | ;;;;;; "net/rcirc.el" (17569 18000)) |
| 21515 | ;;; Generated autoloads from net/rcirc.el | 21834 | ;;; Generated autoloads from net/rcirc.el |
| 21516 | 21835 | ||
| 21517 | (autoload (quote rcirc) "rcirc" "\ | 21836 | (autoload (quote rcirc) "rcirc" "\ |
| @@ -21535,8 +21854,6 @@ use either \\[customize] or the function `rcirc-track-minor-mode'.") | |||
| 21535 | 21854 | ||
| 21536 | (custom-autoload (quote rcirc-track-minor-mode) "rcirc") | 21855 | (custom-autoload (quote rcirc-track-minor-mode) "rcirc") |
| 21537 | 21856 | ||
| 21538 | (put (quote rcirc-track-minor-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 21539 | |||
| 21540 | (autoload (quote rcirc-track-minor-mode) "rcirc" "\ | 21857 | (autoload (quote rcirc-track-minor-mode) "rcirc" "\ |
| 21541 | Global minor mode for tracking activity in rcirc buffers. | 21858 | Global minor mode for tracking activity in rcirc buffers. |
| 21542 | 21859 | ||
| @@ -21544,8 +21861,8 @@ Global minor mode for tracking activity in rcirc buffers. | |||
| 21544 | 21861 | ||
| 21545 | ;;;*** | 21862 | ;;;*** |
| 21546 | 21863 | ||
| 21547 | ;;;### (autoloads (remote-compile) "rcompile" "net/rcompile.el" (17390 | 21864 | ;;;### (autoloads (remote-compile) "rcompile" "net/rcompile.el" (17569 |
| 21548 | ;;;;;; 26944)) | 21865 | ;;;;;; 18006)) |
| 21549 | ;;; Generated autoloads from net/rcompile.el | 21866 | ;;; Generated autoloads from net/rcompile.el |
| 21550 | 21867 | ||
| 21551 | (autoload (quote remote-compile) "rcompile" "\ | 21868 | (autoload (quote remote-compile) "rcompile" "\ |
| @@ -21557,7 +21874,7 @@ See \\[compile]. | |||
| 21557 | ;;;*** | 21874 | ;;;*** |
| 21558 | 21875 | ||
| 21559 | ;;;### (autoloads (re-builder) "re-builder" "emacs-lisp/re-builder.el" | 21876 | ;;;### (autoloads (re-builder) "re-builder" "emacs-lisp/re-builder.el" |
| 21560 | ;;;;;; (17390 26938)) | 21877 | ;;;;;; (17505 62391)) |
| 21561 | ;;; Generated autoloads from emacs-lisp/re-builder.el | 21878 | ;;; Generated autoloads from emacs-lisp/re-builder.el |
| 21562 | 21879 | ||
| 21563 | (defalias (quote regexp-builder) (quote re-builder)) | 21880 | (defalias (quote regexp-builder) (quote re-builder)) |
| @@ -21569,7 +21886,7 @@ Construct a regexp interactively. | |||
| 21569 | 21886 | ||
| 21570 | ;;;*** | 21887 | ;;;*** |
| 21571 | 21888 | ||
| 21572 | ;;;### (autoloads (recentf-mode) "recentf" "recentf.el" (17390 26945)) | 21889 | ;;;### (autoloads (recentf-mode) "recentf" "recentf.el" (17466 28165)) |
| 21573 | ;;; Generated autoloads from recentf.el | 21890 | ;;; Generated autoloads from recentf.el |
| 21574 | 21891 | ||
| 21575 | (defvar recentf-mode nil "\ | 21892 | (defvar recentf-mode nil "\ |
| @@ -21580,8 +21897,6 @@ use either \\[customize] or the function `recentf-mode'.") | |||
| 21580 | 21897 | ||
| 21581 | (custom-autoload (quote recentf-mode) "recentf") | 21898 | (custom-autoload (quote recentf-mode) "recentf") |
| 21582 | 21899 | ||
| 21583 | (put (quote recentf-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 21584 | |||
| 21585 | (autoload (quote recentf-mode) "recentf" "\ | 21900 | (autoload (quote recentf-mode) "recentf" "\ |
| 21586 | Toggle recentf mode. | 21901 | Toggle recentf mode. |
| 21587 | With prefix argument ARG, turn on if positive, otherwise off. | 21902 | With prefix argument ARG, turn on if positive, otherwise off. |
| @@ -21599,8 +21914,8 @@ that were operated on recently. | |||
| 21599 | ;;;### (autoloads (clear-rectangle string-insert-rectangle string-rectangle | 21914 | ;;;### (autoloads (clear-rectangle string-insert-rectangle string-rectangle |
| 21600 | ;;;;;; delete-whitespace-rectangle open-rectangle insert-rectangle | 21915 | ;;;;;; delete-whitespace-rectangle open-rectangle insert-rectangle |
| 21601 | ;;;;;; yank-rectangle kill-rectangle extract-rectangle delete-extract-rectangle | 21916 | ;;;;;; yank-rectangle kill-rectangle extract-rectangle delete-extract-rectangle |
| 21602 | ;;;;;; delete-rectangle move-to-column-force) "rect" "rect.el" (17390 | 21917 | ;;;;;; delete-rectangle move-to-column-force) "rect" "rect.el" (17466 |
| 21603 | ;;;;;; 26945)) | 21918 | ;;;;;; 28573)) |
| 21604 | ;;; Generated autoloads from rect.el | 21919 | ;;; Generated autoloads from rect.el |
| 21605 | 21920 | ||
| 21606 | (autoload (quote move-to-column-force) "rect" "\ | 21921 | (autoload (quote move-to-column-force) "rect" "\ |
| @@ -21649,6 +21964,12 @@ You might prefer to use `delete-extract-rectangle' from a program. | |||
| 21649 | With a prefix (or a FILL) argument, also fill lines where nothing has to be | 21964 | With a prefix (or a FILL) argument, also fill lines where nothing has to be |
| 21650 | deleted. | 21965 | deleted. |
| 21651 | 21966 | ||
| 21967 | If the buffer is read-only, Emacs will beep and refrain from deleting | ||
| 21968 | the rectangle, but put it in the kill ring anyway. This means that | ||
| 21969 | you can use this command to copy text from a read-only buffer. | ||
| 21970 | \(If the variable `kill-read-only-ok' is non-nil, then this won't | ||
| 21971 | even beep.) | ||
| 21972 | |||
| 21652 | \(fn START END &optional FILL)" t nil) | 21973 | \(fn START END &optional FILL)" t nil) |
| 21653 | 21974 | ||
| 21654 | (autoload (quote yank-rectangle) "rect" "\ | 21975 | (autoload (quote yank-rectangle) "rect" "\ |
| @@ -21881,6 +22202,16 @@ of master file. | |||
| 21881 | 22202 | ||
| 21882 | ;;;*** | 22203 | ;;;*** |
| 21883 | 22204 | ||
| 22205 | ;;;### (autoloads nil "reftex-vars" "textmodes/reftex-vars.el" (17496 | ||
| 22206 | ;;;;;; 38721)) | ||
| 22207 | ;;; Generated autoloads from textmodes/reftex-vars.el | ||
| 22208 | (put 'reftex-vref-is-default 'safe-local-variable (lambda (x) (or (stringp x) (symbolp x)))) | ||
| 22209 | (put 'reftex-fref-is-default 'safe-local-variable (lambda (x) (or (stringp x) (symbolp x)))) | ||
| 22210 | (put 'reftex-level-indent 'safe-local-variable 'integerp) | ||
| 22211 | (put 'reftex-guess-label-type 'safe-local-variable (lambda (x) (memq x '(nil t)))) | ||
| 22212 | |||
| 22213 | ;;;*** | ||
| 22214 | |||
| 21884 | ;;;### (autoloads (regexp-opt-depth regexp-opt) "regexp-opt" "emacs-lisp/regexp-opt.el" | 22215 | ;;;### (autoloads (regexp-opt-depth regexp-opt) "regexp-opt" "emacs-lisp/regexp-opt.el" |
| 21885 | ;;;;;; (17390 26938)) | 22216 | ;;;;;; (17390 26938)) |
| 21886 | ;;; Generated autoloads from emacs-lisp/regexp-opt.el | 22217 | ;;; Generated autoloads from emacs-lisp/regexp-opt.el |
| @@ -21998,7 +22329,7 @@ Clear out the file used for transmitting args when Emacs resumes. | |||
| 21998 | ;;;*** | 22329 | ;;;*** |
| 21999 | 22330 | ||
| 22000 | ;;;### (autoloads (global-reveal-mode reveal-mode) "reveal" "reveal.el" | 22331 | ;;;### (autoloads (global-reveal-mode reveal-mode) "reveal" "reveal.el" |
| 22001 | ;;;;;; (17356 16046)) | 22332 | ;;;;;; (17496 38723)) |
| 22002 | ;;; Generated autoloads from reveal.el | 22333 | ;;; Generated autoloads from reveal.el |
| 22003 | 22334 | ||
| 22004 | (autoload (quote reveal-mode) "reveal" "\ | 22335 | (autoload (quote reveal-mode) "reveal" "\ |
| @@ -22019,8 +22350,6 @@ use either \\[customize] or the function `global-reveal-mode'.") | |||
| 22019 | 22350 | ||
| 22020 | (custom-autoload (quote global-reveal-mode) "reveal") | 22351 | (custom-autoload (quote global-reveal-mode) "reveal") |
| 22021 | 22352 | ||
| 22022 | (put (quote global-reveal-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 22023 | |||
| 22024 | (autoload (quote global-reveal-mode) "reveal" "\ | 22353 | (autoload (quote global-reveal-mode) "reveal" "\ |
| 22025 | Toggle Reveal mode in all buffers on or off. | 22354 | Toggle Reveal mode in all buffers on or off. |
| 22026 | Reveal mode renders invisible text around point visible again. | 22355 | Reveal mode renders invisible text around point visible again. |
| @@ -22100,8 +22429,8 @@ variable. | |||
| 22100 | ;;;;;; rmail-mail-new-frame rmail-primary-inbox-list rmail-delete-after-output | 22429 | ;;;;;; rmail-mail-new-frame rmail-primary-inbox-list rmail-delete-after-output |
| 22101 | ;;;;;; rmail-highlight-face rmail-highlighted-headers rmail-retry-ignored-headers | 22430 | ;;;;;; rmail-highlight-face rmail-highlighted-headers rmail-retry-ignored-headers |
| 22102 | ;;;;;; rmail-displayed-headers rmail-ignored-headers rmail-dont-reply-to-names | 22431 | ;;;;;; rmail-displayed-headers rmail-ignored-headers rmail-dont-reply-to-names |
| 22103 | ;;;;;; rmail-movemail-variant-p) "rmail" "mail/rmail.el" (17454 | 22432 | ;;;;;; rmail-movemail-variant-p) "rmail" "mail/rmail.el" (17524 |
| 22104 | ;;;;;; 30835)) | 22433 | ;;;;;; 8597)) |
| 22105 | ;;; Generated autoloads from mail/rmail.el | 22434 | ;;; Generated autoloads from mail/rmail.el |
| 22106 | 22435 | ||
| 22107 | (autoload (quote rmail-movemail-variant-p) "rmail" "\ | 22436 | (autoload (quote rmail-movemail-variant-p) "rmail" "\ |
| @@ -22282,7 +22611,7 @@ If the variable `rmail-enable-mime' is non-nil, this variables is | |||
| 22282 | ignored, and all the decoding work is done by a feature specified by | 22611 | ignored, and all the decoding work is done by a feature specified by |
| 22283 | the variable `rmail-mime-feature'.") | 22612 | the variable `rmail-mime-feature'.") |
| 22284 | 22613 | ||
| 22285 | (defvar rmail-mime-charset-pattern "^content-type:[ ]*text/plain;[ \n]*charset=\"?\\([^ \n\";]+\\)\"?" "\ | 22614 | (defvar rmail-mime-charset-pattern (concat "^content-type:[ ]*text/plain;" "\\(?:[ \n]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*" "[ \n]*charset=\"?\\([^ \n\";]+\\)\"?") "\ |
| 22286 | Regexp to match MIME-charset specification in a header of message. | 22615 | Regexp to match MIME-charset specification in a header of message. |
| 22287 | The first parenthesized expression should match the MIME-charset name.") | 22616 | The first parenthesized expression should match the MIME-charset name.") |
| 22288 | 22617 | ||
| @@ -23047,7 +23376,7 @@ enclosed in `(and ...)'. | |||
| 23047 | ;;;*** | 23376 | ;;;*** |
| 23048 | 23377 | ||
| 23049 | ;;;### (autoloads (savehist-mode savehist-mode) "savehist" "savehist.el" | 23378 | ;;;### (autoloads (savehist-mode savehist-mode) "savehist" "savehist.el" |
| 23050 | ;;;;;; (17390 26945)) | 23379 | ;;;;;; (17466 28165)) |
| 23051 | ;;; Generated autoloads from savehist.el | 23380 | ;;; Generated autoloads from savehist.el |
| 23052 | 23381 | ||
| 23053 | (defvar savehist-mode nil "\ | 23382 | (defvar savehist-mode nil "\ |
| @@ -23200,7 +23529,7 @@ during scrolling. | |||
| 23200 | ;;;;;; mail-alias-file mail-default-reply-to mail-archive-file-name | 23529 | ;;;;;; mail-alias-file mail-default-reply-to mail-archive-file-name |
| 23201 | ;;;;;; mail-header-separator send-mail-function mail-interactive | 23530 | ;;;;;; mail-header-separator send-mail-function mail-interactive |
| 23202 | ;;;;;; mail-self-blind mail-specify-envelope-from mail-from-style) | 23531 | ;;;;;; mail-self-blind mail-specify-envelope-from mail-from-style) |
| 23203 | ;;;;;; "sendmail" "mail/sendmail.el" (17390 26943)) | 23532 | ;;;;;; "sendmail" "mail/sendmail.el" (17569 17773)) |
| 23204 | ;;; Generated autoloads from mail/sendmail.el | 23533 | ;;; Generated autoloads from mail/sendmail.el |
| 23205 | 23534 | ||
| 23206 | (defvar mail-from-style (quote angles) "\ | 23535 | (defvar mail-from-style (quote angles) "\ |
| @@ -23501,7 +23830,7 @@ Like `mail' command, but display mail buffer in another frame. | |||
| 23501 | ;;;*** | 23830 | ;;;*** |
| 23502 | 23831 | ||
| 23503 | ;;;### (autoloads (server-save-buffers-kill-terminal server-mode | 23832 | ;;;### (autoloads (server-save-buffers-kill-terminal server-mode |
| 23504 | ;;;;;; server-start) "server" "server.el" (17446 49713)) | 23833 | ;;;;;; server-start) "server" "server.el" (17591 9480)) |
| 23505 | ;;; Generated autoloads from server.el | 23834 | ;;; Generated autoloads from server.el |
| 23506 | 23835 | ||
| 23507 | (autoload (quote server-start) "server" "\ | 23836 | (autoload (quote server-start) "server" "\ |
| @@ -23524,8 +23853,6 @@ use either \\[customize] or the function `server-mode'.") | |||
| 23524 | 23853 | ||
| 23525 | (custom-autoload (quote server-mode) "server") | 23854 | (custom-autoload (quote server-mode) "server") |
| 23526 | 23855 | ||
| 23527 | (put (quote server-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 23528 | |||
| 23529 | (autoload (quote server-mode) "server" "\ | 23856 | (autoload (quote server-mode) "server" "\ |
| 23530 | Toggle Server mode. | 23857 | Toggle Server mode. |
| 23531 | With ARG, turn Server mode on if ARG is positive, off otherwise. | 23858 | With ARG, turn Server mode on if ARG is positive, off otherwise. |
| @@ -23546,7 +23873,7 @@ only these files will be asked to be saved. | |||
| 23546 | 23873 | ||
| 23547 | ;;;*** | 23874 | ;;;*** |
| 23548 | 23875 | ||
| 23549 | ;;;### (autoloads (ses-mode) "ses" "ses.el" (17374 21531)) | 23876 | ;;;### (autoloads (ses-mode) "ses" "ses.el" (17549 4607)) |
| 23550 | ;;; Generated autoloads from ses.el | 23877 | ;;; Generated autoloads from ses.el |
| 23551 | 23878 | ||
| 23552 | (autoload (quote ses-mode) "ses" "\ | 23879 | (autoload (quote ses-mode) "ses" "\ |
| @@ -23565,7 +23892,7 @@ These are active only in the minibuffer, when entering or editing a formula: | |||
| 23565 | ;;;*** | 23892 | ;;;*** |
| 23566 | 23893 | ||
| 23567 | ;;;### (autoloads (html-mode sgml-mode) "sgml-mode" "textmodes/sgml-mode.el" | 23894 | ;;;### (autoloads (html-mode sgml-mode) "sgml-mode" "textmodes/sgml-mode.el" |
| 23568 | ;;;;;; (17390 26946)) | 23895 | ;;;;;; (17524 8650)) |
| 23569 | ;;; Generated autoloads from textmodes/sgml-mode.el | 23896 | ;;; Generated autoloads from textmodes/sgml-mode.el |
| 23570 | 23897 | ||
| 23571 | (autoload (quote sgml-mode) "sgml-mode" "\ | 23898 | (autoload (quote sgml-mode) "sgml-mode" "\ |
| @@ -23578,8 +23905,8 @@ An argument of N to a tag-inserting command means to wrap it around | |||
| 23578 | the next N words. In Transient Mark mode, when the mark is active, | 23905 | the next N words. In Transient Mark mode, when the mark is active, |
| 23579 | N defaults to -1, which means to wrap it around the current region. | 23906 | N defaults to -1, which means to wrap it around the current region. |
| 23580 | 23907 | ||
| 23581 | If you like upcased tags, put (setq sgml-transformation 'upcase) in | 23908 | If you like upcased tags, put (setq sgml-transformation-function 'upcase) |
| 23582 | your `.emacs' file. | 23909 | in your `.emacs' file. |
| 23583 | 23910 | ||
| 23584 | Use \\[sgml-validate] to validate your document with an SGML parser. | 23911 | Use \\[sgml-validate] to validate your document with an SGML parser. |
| 23585 | 23912 | ||
| @@ -23633,8 +23960,9 @@ To work around that, do: | |||
| 23633 | ;;;*** | 23960 | ;;;*** |
| 23634 | 23961 | ||
| 23635 | ;;;### (autoloads (sh-mode) "sh-script" "progmodes/sh-script.el" | 23962 | ;;;### (autoloads (sh-mode) "sh-script" "progmodes/sh-script.el" |
| 23636 | ;;;;;; (17411 11766)) | 23963 | ;;;;;; (17549 4607)) |
| 23637 | ;;; Generated autoloads from progmodes/sh-script.el | 23964 | ;;; Generated autoloads from progmodes/sh-script.el |
| 23965 | (put 'sh-shell 'safe-local-variable 'symbolp) | ||
| 23638 | 23966 | ||
| 23639 | (autoload (quote sh-mode) "sh-script" "\ | 23967 | (autoload (quote sh-mode) "sh-script" "\ |
| 23640 | Major mode for editing shell scripts. | 23968 | Major mode for editing shell scripts. |
| @@ -23798,7 +24126,7 @@ Set up file shadowing. | |||
| 23798 | ;;;*** | 24126 | ;;;*** |
| 23799 | 24127 | ||
| 23800 | ;;;### (autoloads (shell shell-dumb-shell-regexp) "shell" "shell.el" | 24128 | ;;;### (autoloads (shell shell-dumb-shell-regexp) "shell" "shell.el" |
| 23801 | ;;;;;; (17390 26945)) | 24129 | ;;;;;; (17591 9570)) |
| 23802 | ;;; Generated autoloads from shell.el | 24130 | ;;; Generated autoloads from shell.el |
| 23803 | 24131 | ||
| 23804 | (defvar shell-dumb-shell-regexp "cmd\\(proxy\\)?\\.exe" "\ | 24132 | (defvar shell-dumb-shell-regexp "cmd\\(proxy\\)?\\.exe" "\ |
| @@ -23881,6 +24209,12 @@ Turning on Sieve mode runs `sieve-mode-hook'. | |||
| 23881 | 24209 | ||
| 23882 | ;;;*** | 24210 | ;;;*** |
| 23883 | 24211 | ||
| 24212 | ;;;### (autoloads nil "simple" "simple.el" (17591 9719)) | ||
| 24213 | ;;; Generated autoloads from simple.el | ||
| 24214 | (put 'fill-prefix 'safe-local-variable 'string-or-null-p) | ||
| 24215 | |||
| 24216 | ;;;*** | ||
| 24217 | |||
| 23884 | ;;;### (autoloads (simula-mode) "simula" "progmodes/simula.el" (17390 | 24218 | ;;;### (autoloads (simula-mode) "simula" "progmodes/simula.el" (17390 |
| 23885 | ;;;;;; 27409)) | 24219 | ;;;;;; 27409)) |
| 23886 | ;;; Generated autoloads from progmodes/simula.el | 24220 | ;;; Generated autoloads from progmodes/simula.el |
| @@ -23931,10 +24265,10 @@ with no arguments, if that value is non-nil. | |||
| 23931 | ;;;*** | 24265 | ;;;*** |
| 23932 | 24266 | ||
| 23933 | ;;;### (autoloads (skeleton-pair-insert-maybe skeleton-insert skeleton-proxy-new | 24267 | ;;;### (autoloads (skeleton-pair-insert-maybe skeleton-insert skeleton-proxy-new |
| 23934 | ;;;;;; define-skeleton) "skeleton" "skeleton.el" (17390 26945)) | 24268 | ;;;;;; define-skeleton) "skeleton" "skeleton.el" (17524 8650)) |
| 23935 | ;;; Generated autoloads from skeleton.el | 24269 | ;;; Generated autoloads from skeleton.el |
| 23936 | 24270 | ||
| 23937 | (defvar skeleton-filter (quote identity) "\ | 24271 | (defvar skeleton-filter-function (quote identity) "\ |
| 23938 | Function for transforming a skeleton proxy's aliases' variable value.") | 24272 | Function for transforming a skeleton proxy's aliases' variable value.") |
| 23939 | 24273 | ||
| 23940 | (autoload (quote define-skeleton) "skeleton" "\ | 24274 | (autoload (quote define-skeleton) "skeleton" "\ |
| @@ -23978,7 +24312,7 @@ SKELETON is made up as (INTERACTOR ELEMENT ...). INTERACTOR may be nil if | |||
| 23978 | not needed, a prompt-string or an expression for complex read functions. | 24312 | not needed, a prompt-string or an expression for complex read functions. |
| 23979 | 24313 | ||
| 23980 | If ELEMENT is a string or a character it gets inserted (see also | 24314 | If ELEMENT is a string or a character it gets inserted (see also |
| 23981 | `skeleton-transformation'). Other possibilities are: | 24315 | `skeleton-transformation-function'). Other possibilities are: |
| 23982 | 24316 | ||
| 23983 | \\n go to next line and indent according to mode | 24317 | \\n go to next line and indent according to mode |
| 23984 | _ interesting point, interregion here | 24318 | _ interesting point, interregion here |
| @@ -24028,7 +24362,7 @@ Insert the character you type ARG times. | |||
| 24028 | With no ARG, if `skeleton-pair' is non-nil, pairing can occur. If the region | 24362 | With no ARG, if `skeleton-pair' is non-nil, pairing can occur. If the region |
| 24029 | is visible the pair is wrapped around it depending on `skeleton-autowrap'. | 24363 | is visible the pair is wrapped around it depending on `skeleton-autowrap'. |
| 24030 | Else, if `skeleton-pair-on-word' is non-nil or we are not before or inside a | 24364 | Else, if `skeleton-pair-on-word' is non-nil or we are not before or inside a |
| 24031 | word, and if `skeleton-pair-filter' returns nil, pairing is performed. | 24365 | word, and if `skeleton-pair-filter-function' returns nil, pairing is performed. |
| 24032 | Pairing is also prohibited if we are right after a quoting character | 24366 | Pairing is also prohibited if we are right after a quoting character |
| 24033 | such as backslash. | 24367 | such as backslash. |
| 24034 | 24368 | ||
| @@ -24041,7 +24375,7 @@ symmetrical ones, and the same character twice for the others. | |||
| 24041 | ;;;*** | 24375 | ;;;*** |
| 24042 | 24376 | ||
| 24043 | ;;;### (autoloads (smerge-mode smerge-ediff) "smerge-mode" "smerge-mode.el" | 24377 | ;;;### (autoloads (smerge-mode smerge-ediff) "smerge-mode" "smerge-mode.el" |
| 24044 | ;;;;;; (17390 26945)) | 24378 | ;;;;;; (17496 38723)) |
| 24045 | ;;; Generated autoloads from smerge-mode.el | 24379 | ;;; Generated autoloads from smerge-mode.el |
| 24046 | 24380 | ||
| 24047 | (autoload (quote smerge-ediff) "smerge-mode" "\ | 24381 | (autoload (quote smerge-ediff) "smerge-mode" "\ |
| @@ -24297,7 +24631,7 @@ Pick your favourite shortcuts: | |||
| 24297 | 24631 | ||
| 24298 | ;;;### (autoloads (reverse-region sort-columns sort-regexp-fields | 24632 | ;;;### (autoloads (reverse-region sort-columns sort-regexp-fields |
| 24299 | ;;;;;; sort-fields sort-numeric-fields sort-pages sort-paragraphs | 24633 | ;;;;;; sort-fields sort-numeric-fields sort-pages sort-paragraphs |
| 24300 | ;;;;;; sort-lines sort-subr) "sort" "sort.el" (17441 26655)) | 24634 | ;;;;;; sort-lines sort-subr) "sort" "sort.el" (17466 28166)) |
| 24301 | ;;; Generated autoloads from sort.el | 24635 | ;;; Generated autoloads from sort.el |
| 24302 | 24636 | ||
| 24303 | (autoload (quote sort-subr) "sort" "\ | 24637 | (autoload (quote sort-subr) "sort" "\ |
| @@ -24495,7 +24829,7 @@ Spam reports will be queued with the method used when | |||
| 24495 | ;;;*** | 24829 | ;;;*** |
| 24496 | 24830 | ||
| 24497 | ;;;### (autoloads (speedbar-get-focus speedbar-frame-mode) "speedbar" | 24831 | ;;;### (autoloads (speedbar-get-focus speedbar-frame-mode) "speedbar" |
| 24498 | ;;;;;; "speedbar.el" (17418 6739)) | 24832 | ;;;;;; "speedbar.el" (17549 4607)) |
| 24499 | ;;; Generated autoloads from speedbar.el | 24833 | ;;; Generated autoloads from speedbar.el |
| 24500 | 24834 | ||
| 24501 | (defalias (quote speedbar) (quote speedbar-frame-mode)) | 24835 | (defalias (quote speedbar) (quote speedbar-frame-mode)) |
| @@ -25139,7 +25473,7 @@ Studlify-case the current buffer. | |||
| 25139 | 25473 | ||
| 25140 | ;;;*** | 25474 | ;;;*** |
| 25141 | 25475 | ||
| 25142 | ;;;### (autoloads (locate-library) "subr" "subr.el" (17427 36476)) | 25476 | ;;;### (autoloads (locate-library) "subr" "subr.el" (17591 9622)) |
| 25143 | ;;; Generated autoloads from subr.el | 25477 | ;;; Generated autoloads from subr.el |
| 25144 | 25478 | ||
| 25145 | (autoload (quote locate-library) "subr" "\ | 25479 | (autoload (quote locate-library) "subr" "\ |
| @@ -25251,7 +25585,7 @@ The variable `tab-width' controls the spacing of tab stops. | |||
| 25251 | ;;;;;; table-recognize table-insert-row-column table-insert-column | 25585 | ;;;;;; table-recognize table-insert-row-column table-insert-column |
| 25252 | ;;;;;; table-insert-row table-insert table-point-left-cell-hook | 25586 | ;;;;;; table-insert-row table-insert table-point-left-cell-hook |
| 25253 | ;;;;;; table-point-entered-cell-hook table-load-hook table-cell-map-hook) | 25587 | ;;;;;; table-point-entered-cell-hook table-load-hook table-cell-map-hook) |
| 25254 | ;;;;;; "table" "textmodes/table.el" (17379 30025)) | 25588 | ;;;;;; "table" "textmodes/table.el" (17549 4608)) |
| 25255 | ;;; Generated autoloads from textmodes/table.el | 25589 | ;;; Generated autoloads from textmodes/table.el |
| 25256 | 25590 | ||
| 25257 | (defvar table-cell-map-hook nil "\ | 25591 | (defvar table-cell-map-hook nil "\ |
| @@ -25854,7 +26188,7 @@ Connect to the Emacs talk group from the current X display or tty frame. | |||
| 25854 | 26188 | ||
| 25855 | ;;;*** | 26189 | ;;;*** |
| 25856 | 26190 | ||
| 25857 | ;;;### (autoloads (tar-mode) "tar-mode" "tar-mode.el" (17390 26945)) | 26191 | ;;;### (autoloads (tar-mode) "tar-mode" "tar-mode.el" (17549 4608)) |
| 25858 | ;;; Generated autoloads from tar-mode.el | 26192 | ;;; Generated autoloads from tar-mode.el |
| 25859 | 26193 | ||
| 25860 | (autoload (quote tar-mode) "tar-mode" "\ | 26194 | (autoload (quote tar-mode) "tar-mode" "\ |
| @@ -25878,7 +26212,7 @@ See also: variables `tar-update-datestamp' and `tar-anal-blocksize'. | |||
| 25878 | ;;;*** | 26212 | ;;;*** |
| 25879 | 26213 | ||
| 25880 | ;;;### (autoloads (tcl-help-on-word inferior-tcl tcl-mode) "tcl" | 26214 | ;;;### (autoloads (tcl-help-on-word inferior-tcl tcl-mode) "tcl" |
| 25881 | ;;;;;; "progmodes/tcl.el" (17350 14840)) | 26215 | ;;;;;; "progmodes/tcl.el" (17478 25206)) |
| 25882 | ;;; Generated autoloads from progmodes/tcl.el | 26216 | ;;; Generated autoloads from progmodes/tcl.el |
| 25883 | 26217 | ||
| 25884 | (autoload (quote tcl-mode) "tcl" "\ | 26218 | (autoload (quote tcl-mode) "tcl" "\ |
| @@ -25956,8 +26290,8 @@ Normally input is edited in Emacs and sent a line at a time. | |||
| 25956 | 26290 | ||
| 25957 | ;;;*** | 26291 | ;;;*** |
| 25958 | 26292 | ||
| 25959 | ;;;### (autoloads (ansi-term term make-term) "term" "term.el" (17356 | 26293 | ;;;### (autoloads (ansi-term term make-term) "term" "term.el" (17569 |
| 25960 | ;;;;;; 16193)) | 26294 | ;;;;;; 17797)) |
| 25961 | ;;; Generated autoloads from term.el | 26295 | ;;; Generated autoloads from term.el |
| 25962 | 26296 | ||
| 25963 | (autoload (quote make-term) "term" "\ | 26297 | (autoload (quote make-term) "term" "\ |
| @@ -26064,7 +26398,7 @@ tetris-mode keybindings: | |||
| 26064 | ;;;;;; tex-start-commands tex-start-options slitex-run-command latex-run-command | 26398 | ;;;;;; tex-start-commands tex-start-options slitex-run-command latex-run-command |
| 26065 | ;;;;;; tex-run-command tex-offer-save tex-main-file tex-first-line-header-regexp | 26399 | ;;;;;; tex-run-command tex-offer-save tex-main-file tex-first-line-header-regexp |
| 26066 | ;;;;;; tex-directory tex-shell-file-name) "tex-mode" "textmodes/tex-mode.el" | 26400 | ;;;;;; tex-directory tex-shell-file-name) "tex-mode" "textmodes/tex-mode.el" |
| 26067 | ;;;;;; (17390 26946)) | 26401 | ;;;;;; (17569 17779)) |
| 26068 | ;;; Generated autoloads from textmodes/tex-mode.el | 26402 | ;;; Generated autoloads from textmodes/tex-mode.el |
| 26069 | 26403 | ||
| 26070 | (defvar tex-shell-file-name nil "\ | 26404 | (defvar tex-shell-file-name nil "\ |
| @@ -26366,7 +26700,7 @@ Major mode to edit DocTeX files. | |||
| 26366 | ;;;*** | 26700 | ;;;*** |
| 26367 | 26701 | ||
| 26368 | ;;;### (autoloads (texi2info texinfo-format-region texinfo-format-buffer) | 26702 | ;;;### (autoloads (texi2info texinfo-format-region texinfo-format-buffer) |
| 26369 | ;;;;;; "texinfmt" "textmodes/texinfmt.el" (17390 26946)) | 26703 | ;;;;;; "texinfmt" "textmodes/texinfmt.el" (17591 9719)) |
| 26370 | ;;; Generated autoloads from textmodes/texinfmt.el | 26704 | ;;; Generated autoloads from textmodes/texinfmt.el |
| 26371 | 26705 | ||
| 26372 | (autoload (quote texinfo-format-buffer) "texinfmt" "\ | 26706 | (autoload (quote texinfo-format-buffer) "texinfmt" "\ |
| @@ -26537,11 +26871,11 @@ Minor mode for automatically correct Thai character composition. | |||
| 26537 | 26871 | ||
| 26538 | ;;;### (autoloads (list-at-point number-at-point symbol-at-point | 26872 | ;;;### (autoloads (list-at-point number-at-point symbol-at-point |
| 26539 | ;;;;;; sexp-at-point thing-at-point bounds-of-thing-at-point forward-thing) | 26873 | ;;;;;; sexp-at-point thing-at-point bounds-of-thing-at-point forward-thing) |
| 26540 | ;;;;;; "thingatpt" "thingatpt.el" (17390 26946)) | 26874 | ;;;;;; "thingatpt" "thingatpt.el" (17591 9294)) |
| 26541 | ;;; Generated autoloads from thingatpt.el | 26875 | ;;; Generated autoloads from thingatpt.el |
| 26542 | 26876 | ||
| 26543 | (autoload (quote forward-thing) "thingatpt" "\ | 26877 | (autoload (quote forward-thing) "thingatpt" "\ |
| 26544 | Move forward to the end of the next THING. | 26878 | Move forward to the end of the Nth next THING. |
| 26545 | 26879 | ||
| 26546 | \(fn THING &optional N)" nil nil) | 26880 | \(fn THING &optional N)" nil nil) |
| 26547 | 26881 | ||
| @@ -26594,7 +26928,7 @@ Not documented | |||
| 26594 | 26928 | ||
| 26595 | ;;;### (autoloads (thumbs-dired-setroot thumbs-dired-show thumbs-dired-show-marked | 26929 | ;;;### (autoloads (thumbs-dired-setroot thumbs-dired-show thumbs-dired-show-marked |
| 26596 | ;;;;;; thumbs-show-from-dir thumbs-find-thumb) "thumbs" "thumbs.el" | 26930 | ;;;;;; thumbs-show-from-dir thumbs-find-thumb) "thumbs" "thumbs.el" |
| 26597 | ;;;;;; (17390 26946)) | 26931 | ;;;;;; (17591 9719)) |
| 26598 | ;;; Generated autoloads from thumbs.el | 26932 | ;;; Generated autoloads from thumbs.el |
| 26599 | 26933 | ||
| 26600 | (autoload (quote thumbs-find-thumb) "thumbs" "\ | 26934 | (autoload (quote thumbs-find-thumb) "thumbs" "\ |
| @@ -26866,8 +27200,15 @@ If DATE is malformed, return a time value of zeros. | |||
| 26866 | ;;;*** | 27200 | ;;;*** |
| 26867 | 27201 | ||
| 26868 | ;;;### (autoloads (time-stamp-toggle-active time-stamp) "time-stamp" | 27202 | ;;;### (autoloads (time-stamp-toggle-active time-stamp) "time-stamp" |
| 26869 | ;;;;;; "time-stamp.el" (17390 26947)) | 27203 | ;;;;;; "time-stamp.el" (17490 7930)) |
| 26870 | ;;; Generated autoloads from time-stamp.el | 27204 | ;;; Generated autoloads from time-stamp.el |
| 27205 | (put 'time-stamp-format 'safe-local-variable 'stringp) | ||
| 27206 | (put 'time-stamp-line-limit 'safe-local-variable 'integerp) | ||
| 27207 | (put 'time-stamp-start 'safe-local-variable 'stringp) | ||
| 27208 | (put 'time-stamp-end 'safe-local-variable 'stringp) | ||
| 27209 | (put 'time-stamp-inserts-lines 'safe-local-variable 'symbolp) | ||
| 27210 | (put 'time-stamp-count 'safe-local-variable 'integerp) | ||
| 27211 | (put 'time-stamp-pattern 'safe-local-variable 'stringp) | ||
| 26871 | 27212 | ||
| 26872 | (autoload (quote time-stamp) "time-stamp" "\ | 27213 | (autoload (quote time-stamp) "time-stamp" "\ |
| 26873 | Update the time stamp string(s) in the buffer. | 27214 | Update the time stamp string(s) in the buffer. |
| @@ -27223,7 +27564,7 @@ Show TODO list. | |||
| 27223 | 27564 | ||
| 27224 | ;;;### (autoloads (tool-bar-local-item-from-menu tool-bar-add-item-from-menu | 27565 | ;;;### (autoloads (tool-bar-local-item-from-menu tool-bar-add-item-from-menu |
| 27225 | ;;;;;; tool-bar-local-item tool-bar-add-item toggle-tool-bar-mode-from-frame) | 27566 | ;;;;;; tool-bar-local-item tool-bar-add-item toggle-tool-bar-mode-from-frame) |
| 27226 | ;;;;;; "tool-bar" "tool-bar.el" (17446 40492)) | 27567 | ;;;;;; "tool-bar" "tool-bar.el" (17496 38966)) |
| 27227 | ;;; Generated autoloads from tool-bar.el | 27568 | ;;; Generated autoloads from tool-bar.el |
| 27228 | 27569 | ||
| 27229 | (autoload (quote toggle-tool-bar-mode-from-frame) "tool-bar" "\ | 27570 | (autoload (quote toggle-tool-bar-mode-from-frame) "tool-bar" "\ |
| @@ -27344,7 +27685,7 @@ Constrain the cursor to the flow of the text. | |||
| 27344 | 27685 | ||
| 27345 | ;;;*** | 27686 | ;;;*** |
| 27346 | 27687 | ||
| 27347 | ;;;### (autoloads (tq-create) "tq" "emacs-lisp/tq.el" (17390 26938)) | 27688 | ;;;### (autoloads (tq-create) "tq" "emacs-lisp/tq.el" (17478 25158)) |
| 27348 | ;;; Generated autoloads from emacs-lisp/tq.el | 27689 | ;;; Generated autoloads from emacs-lisp/tq.el |
| 27349 | 27690 | ||
| 27350 | (autoload (quote tq-create) "tq" "\ | 27691 | (autoload (quote tq-create) "tq" "\ |
| @@ -27389,10 +27730,10 @@ the window or buffer configuration at all. | |||
| 27389 | 27730 | ||
| 27390 | ;;;*** | 27731 | ;;;*** |
| 27391 | 27732 | ||
| 27392 | ;;;### (autoloads (tramp-unload-tramp tramp-unload-file-name-handler-alist | 27733 | ;;;### (autoloads (tramp-unload-tramp tramp-completion-handle-file-name-completion |
| 27393 | ;;;;;; tramp-completion-file-name-handler tramp-file-name-handler | 27734 | ;;;;;; tramp-completion-handle-file-name-all-completions tramp-unload-file-name-handlers |
| 27394 | ;;;;;; tramp-completion-file-name-regexp tramp-file-name-regexp) | 27735 | ;;;;;; tramp-file-name-handler tramp-completion-file-name-regexp |
| 27395 | ;;;;;; "tramp" "net/tramp.el" (17396 42158)) | 27736 | ;;;;;; tramp-file-name-regexp) "tramp" "net/tramp.el" (17591 9291)) |
| 27396 | ;;; Generated autoloads from net/tramp.el | 27737 | ;;; Generated autoloads from net/tramp.el |
| 27397 | 27738 | ||
| 27398 | (defvar tramp-unified-filenames (not (featurep (quote xemacs))) "\ | 27739 | (defvar tramp-unified-filenames (not (featurep (quote xemacs))) "\ |
| @@ -27450,29 +27791,55 @@ Also see `tramp-file-name-structure'.") | |||
| 27450 | 27791 | ||
| 27451 | (custom-autoload (quote tramp-completion-file-name-regexp) "tramp") | 27792 | (custom-autoload (quote tramp-completion-file-name-regexp) "tramp") |
| 27452 | 27793 | ||
| 27794 | (defconst tramp-completion-file-name-handler-alist (quote ((file-name-all-completions . tramp-completion-handle-file-name-all-completions) (file-name-completion . tramp-completion-handle-file-name-completion))) "\ | ||
| 27795 | Alist of completion handler functions. | ||
| 27796 | Used for file names matching `tramp-file-name-regexp'. Operations not | ||
| 27797 | mentioned here will be handled by `tramp-file-name-handler-alist' or the | ||
| 27798 | normal Emacs functions.") | ||
| 27799 | |||
| 27800 | (defun tramp-run-real-handler (operation args) "\ | ||
| 27801 | Invoke normal file name handler for OPERATION. | ||
| 27802 | First arg specifies the OPERATION, second arg is a list of arguments to | ||
| 27803 | pass to the OPERATION." (let* ((inhibit-file-name-handlers (\` (tramp-file-name-handler tramp-completion-file-name-handler cygwin-mount-name-hook-function cygwin-mount-map-drive-hook-function \, (and (eq inhibit-file-name-operation operation) inhibit-file-name-handlers)))) (inhibit-file-name-operation operation)) (apply operation args))) | ||
| 27804 | |||
| 27805 | (defun tramp-completion-run-real-handler (operation args) "\ | ||
| 27806 | Invoke `tramp-file-name-handler' for OPERATION. | ||
| 27807 | First arg specifies the OPERATION, second arg is a list of arguments to | ||
| 27808 | pass to the OPERATION." (let* ((inhibit-file-name-handlers (\` (tramp-completion-file-name-handler cygwin-mount-name-hook-function cygwin-mount-map-drive-hook-function \, (and (eq inhibit-file-name-operation operation) inhibit-file-name-handlers)))) (inhibit-file-name-operation operation)) (apply operation args))) | ||
| 27809 | |||
| 27453 | (autoload (quote tramp-file-name-handler) "tramp" "\ | 27810 | (autoload (quote tramp-file-name-handler) "tramp" "\ |
| 27454 | Invoke Tramp file name handler. | 27811 | Invoke Tramp file name handler. |
| 27455 | Falls back to normal file name handler if no tramp file name handler exists. | 27812 | Falls back to normal file name handler if no tramp file name handler exists. |
| 27456 | 27813 | ||
| 27457 | \(fn OPERATION &rest ARGS)" nil nil) | 27814 | \(fn OPERATION &rest ARGS)" nil nil) |
| 27458 | 27815 | ||
| 27459 | (autoload (quote tramp-completion-file-name-handler) "tramp" "\ | 27816 | (defun tramp-completion-file-name-handler (operation &rest args) "\ |
| 27460 | Invoke tramp file name completion handler. | 27817 | Invoke tramp file name completion handler. |
| 27461 | Falls back to normal file name handler if no tramp file name handler exists. | 27818 | Falls back to normal file name handler if no tramp file name handler exists." (let ((fn (assoc operation tramp-completion-file-name-handler-alist))) (if fn (save-match-data (apply (cdr fn) args)) (tramp-completion-run-real-handler operation args)))) |
| 27462 | |||
| 27463 | \(fn OPERATION &rest ARGS)" nil nil) | ||
| 27464 | |||
| 27465 | (put (quote tramp-completion-file-name-handler) (quote safe-magic) t) | ||
| 27466 | 27819 | ||
| 27467 | (add-to-list (quote file-name-handler-alist) (cons tramp-file-name-regexp (quote tramp-file-name-handler))) | 27820 | (defsubst tramp-register-file-name-handlers nil "\ |
| 27821 | Add tramp file name handlers to `file-name-handler-alist'." (add-to-list (quote file-name-handler-alist) (cons tramp-file-name-regexp (quote tramp-file-name-handler))) (when (or partial-completion-mode (featurep (quote ido))) (add-to-list (quote file-name-handler-alist) (cons tramp-completion-file-name-regexp (quote tramp-completion-file-name-handler))) (put (quote tramp-completion-file-name-handler) (quote safe-magic) t)) (let ((jka (rassoc (quote jka-compr-handler) file-name-handler-alist))) (when jka (setq file-name-handler-alist (cons jka (delete jka file-name-handler-alist)))))) | ||
| 27822 | (add-hook | ||
| 27823 | 'after-init-hook | ||
| 27824 | '(lambda () (tramp-register-file-name-handlers))) | ||
| 27468 | 27825 | ||
| 27469 | (autoload (quote tramp-unload-file-name-handler-alist) "tramp" "\ | 27826 | (autoload (quote tramp-unload-file-name-handlers) "tramp" "\ |
| 27470 | Not documented | 27827 | Not documented |
| 27471 | 27828 | ||
| 27472 | \(fn)" nil nil) | 27829 | \(fn)" nil nil) |
| 27473 | 27830 | ||
| 27831 | (autoload (quote tramp-completion-handle-file-name-all-completions) "tramp" "\ | ||
| 27832 | Like `file-name-all-completions' for partial tramp files. | ||
| 27833 | |||
| 27834 | \(fn FILENAME DIRECTORY)" nil nil) | ||
| 27835 | |||
| 27836 | (autoload (quote tramp-completion-handle-file-name-completion) "tramp" "\ | ||
| 27837 | Like `file-name-completion' for tramp files. | ||
| 27838 | |||
| 27839 | \(fn FILENAME DIRECTORY)" nil nil) | ||
| 27840 | |||
| 27474 | (autoload (quote tramp-unload-tramp) "tramp" "\ | 27841 | (autoload (quote tramp-unload-tramp) "tramp" "\ |
| 27475 | Not documented | 27842 | Discard Tramp from loading remote files. |
| 27476 | 27843 | ||
| 27477 | \(fn)" t nil) | 27844 | \(fn)" t nil) |
| 27478 | 27845 | ||
| @@ -27490,12 +27857,12 @@ Not documented | |||
| 27490 | ;;;*** | 27857 | ;;;*** |
| 27491 | 27858 | ||
| 27492 | ;;;### (autoloads (tumme-mark-tagged-files tumme-dired-comment-files | 27859 | ;;;### (autoloads (tumme-mark-tagged-files tumme-dired-comment-files |
| 27493 | ;;;;;; tumme-display-dired-image tumme-dired-display-external tumme-display-thumb | 27860 | ;;;;;; tumme-dired-display-image tumme-dired-display-external tumme-display-thumb |
| 27494 | ;;;;;; tumme-display-thumbs-append tumme-setup-dired-keybindings | 27861 | ;;;;;; tumme-display-thumbs-append tumme-setup-dired-keybindings |
| 27495 | ;;;;;; tumme-jump-thumbnail-buffer tumme-tag-remove tumme-tag-files | 27862 | ;;;;;; tumme-jump-thumbnail-buffer tumme-delete-tag tumme-tag-files |
| 27496 | ;;;;;; tumme-display-thumbs tumme-dired-with-window-configuration | 27863 | ;;;;;; tumme-show-all-from-dir tumme-display-thumbs tumme-dired-with-window-configuration |
| 27497 | ;;;;;; tumme-dired-insert-marked-thumbs) "tumme" "tumme.el" (17425 | 27864 | ;;;;;; tumme-dired-insert-marked-thumbs) "tumme" "tumme.el" (17591 |
| 27498 | ;;;;;; 24462)) | 27865 | ;;;;;; 9719)) |
| 27499 | ;;; Generated autoloads from tumme.el | 27866 | ;;; Generated autoloads from tumme.el |
| 27500 | 27867 | ||
| 27501 | (autoload (quote tumme-dired-insert-marked-thumbs) "tumme" "\ | 27868 | (autoload (quote tumme-dired-insert-marked-thumbs) "tumme" "\ |
| @@ -27537,7 +27904,22 @@ you have the dired buffer in the left window and the | |||
| 27537 | With optional argument APPEND, append thumbnail to thumbnail buffer | 27904 | With optional argument APPEND, append thumbnail to thumbnail buffer |
| 27538 | instead of erasing it first. | 27905 | instead of erasing it first. |
| 27539 | 27906 | ||
| 27540 | \(fn &optional ARG APPEND)" t nil) | 27907 | Option argument DO-NOT-POP controls if `pop-to-buffer' should be |
| 27908 | used or not. If non-nil, use `display-buffer' instead of | ||
| 27909 | `pop-to-buffer'. This is used from functions like | ||
| 27910 | `tumme-next-line-and-display' and | ||
| 27911 | `tumme-previous-line-and-display' where we do not want the | ||
| 27912 | thumbnail buffer to be selected. | ||
| 27913 | |||
| 27914 | \(fn &optional ARG APPEND DO-NOT-POP)" t nil) | ||
| 27915 | |||
| 27916 | (autoload (quote tumme-show-all-from-dir) "tumme" "\ | ||
| 27917 | Make a preview buffer for all images in DIR and display it. | ||
| 27918 | If the number of files in DIR matching `image-file-name-regexp' | ||
| 27919 | exceeds `tumme-show-all-from-dir-max-files', a warning will be | ||
| 27920 | displayed. | ||
| 27921 | |||
| 27922 | \(fn DIR)" t nil) | ||
| 27541 | 27923 | ||
| 27542 | (defalias (quote tumme) (quote tumme-show-all-from-dir)) | 27924 | (defalias (quote tumme) (quote tumme-show-all-from-dir)) |
| 27543 | 27925 | ||
| @@ -27546,7 +27928,7 @@ Tag marked file(s) in dired. With prefix ARG, tag file at point. | |||
| 27546 | 27928 | ||
| 27547 | \(fn ARG)" t nil) | 27929 | \(fn ARG)" t nil) |
| 27548 | 27930 | ||
| 27549 | (autoload (quote tumme-tag-remove) "tumme" "\ | 27931 | (autoload (quote tumme-delete-tag) "tumme" "\ |
| 27550 | Remove tag for selected file(s). | 27932 | Remove tag for selected file(s). |
| 27551 | With prefix argument ARG, remove tag from file at point. | 27933 | With prefix argument ARG, remove tag from file at point. |
| 27552 | 27934 | ||
| @@ -27579,7 +27961,7 @@ Display file at point using an external viewer. | |||
| 27579 | 27961 | ||
| 27580 | \(fn)" t nil) | 27962 | \(fn)" t nil) |
| 27581 | 27963 | ||
| 27582 | (autoload (quote tumme-display-dired-image) "tumme" "\ | 27964 | (autoload (quote tumme-dired-display-image) "tumme" "\ |
| 27583 | Display current image file. | 27965 | Display current image file. |
| 27584 | See documentation for `tumme-display-image' for more information. | 27966 | See documentation for `tumme-display-image' for more information. |
| 27585 | With prefix argument ARG, display image in its original size. | 27967 | With prefix argument ARG, display image in its original size. |
| @@ -28047,7 +28429,7 @@ Handle file: and ftp: URLs. | |||
| 28047 | ;;;*** | 28429 | ;;;*** |
| 28048 | 28430 | ||
| 28049 | ;;;### (autoloads (url-open-stream url-gateway-nslookup-host) "url-gw" | 28431 | ;;;### (autoloads (url-open-stream url-gateway-nslookup-host) "url-gw" |
| 28050 | ;;;;;; "url/url-gw.el" (17383 38807)) | 28432 | ;;;;;; "url/url-gw.el" (17490 7930)) |
| 28051 | ;;; Generated autoloads from url/url-gw.el | 28433 | ;;; Generated autoloads from url/url-gw.el |
| 28052 | 28434 | ||
| 28053 | (autoload (quote url-gateway-nslookup-host) "url-gw" "\ | 28435 | (autoload (quote url-gateway-nslookup-host) "url-gw" "\ |
| @@ -28065,8 +28447,8 @@ Will not make a connection if `url-gateway-unplugged' is non-nil. | |||
| 28065 | ;;;*** | 28447 | ;;;*** |
| 28066 | 28448 | ||
| 28067 | ;;;### (autoloads (url-insert-file-contents url-file-local-copy url-copy-file | 28449 | ;;;### (autoloads (url-insert-file-contents url-file-local-copy url-copy-file |
| 28068 | ;;;;;; url-handler-mode) "url-handlers" "url/url-handlers.el" (17454 | 28450 | ;;;;;; url-handler-mode) "url-handlers" "url/url-handlers.el" (17490 |
| 28069 | ;;;;;; 30994)) | 28451 | ;;;;;; 7930)) |
| 28070 | ;;; Generated autoloads from url/url-handlers.el | 28452 | ;;; Generated autoloads from url/url-handlers.el |
| 28071 | 28453 | ||
| 28072 | (defvar url-handler-mode nil "\ | 28454 | (defvar url-handler-mode nil "\ |
| @@ -28077,8 +28459,6 @@ use either \\[customize] or the function `url-handler-mode'.") | |||
| 28077 | 28459 | ||
| 28078 | (custom-autoload (quote url-handler-mode) "url-handlers") | 28460 | (custom-autoload (quote url-handler-mode) "url-handlers") |
| 28079 | 28461 | ||
| 28080 | (put (quote url-handler-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 28081 | |||
| 28082 | (autoload (quote url-handler-mode) "url-handlers" "\ | 28462 | (autoload (quote url-handler-mode) "url-handlers" "\ |
| 28083 | Use URL to handle URL-like file names. | 28463 | Use URL to handle URL-like file names. |
| 28084 | 28464 | ||
| @@ -28111,7 +28491,7 @@ Not documented | |||
| 28111 | ;;;*** | 28491 | ;;;*** |
| 28112 | 28492 | ||
| 28113 | ;;;### (autoloads (url-http-options url-http-file-attributes url-http-file-exists-p | 28493 | ;;;### (autoloads (url-http-options url-http-file-attributes url-http-file-exists-p |
| 28114 | ;;;;;; url-http) "url-http" "url/url-http.el" (17425 24466)) | 28494 | ;;;;;; url-http) "url-http" "url/url-http.el" (17515 24863)) |
| 28115 | ;;; Generated autoloads from url/url-http.el | 28495 | ;;; Generated autoloads from url/url-http.el |
| 28116 | 28496 | ||
| 28117 | (autoload (quote url-http) "url-http" "\ | 28497 | (autoload (quote url-http) "url-http" "\ |
| @@ -28164,7 +28544,7 @@ p3p | |||
| 28164 | 28544 | ||
| 28165 | ;;;*** | 28545 | ;;;*** |
| 28166 | 28546 | ||
| 28167 | ;;;### (autoloads (url-irc) "url-irc" "url/url-irc.el" (17454 30953)) | 28547 | ;;;### (autoloads (url-irc) "url-irc" "url/url-irc.el" (17591 9873)) |
| 28168 | ;;; Generated autoloads from url/url-irc.el | 28548 | ;;; Generated autoloads from url/url-irc.el |
| 28169 | 28549 | ||
| 28170 | (autoload (quote url-irc) "url-irc" "\ | 28550 | (autoload (quote url-irc) "url-irc" "\ |
| @@ -28490,7 +28870,7 @@ The buffer in question is current when this function is called. | |||
| 28490 | 28870 | ||
| 28491 | ;;;### (autoloads (uudecode-decode-region uudecode-decode-region-internal | 28871 | ;;;### (autoloads (uudecode-decode-region uudecode-decode-region-internal |
| 28492 | ;;;;;; uudecode-decode-region-external) "uudecode" "gnus/uudecode.el" | 28872 | ;;;;;; uudecode-decode-region-external) "uudecode" "gnus/uudecode.el" |
| 28493 | ;;;;;; (17383 38805)) | 28873 | ;;;;;; (17549 5046)) |
| 28494 | ;;; Generated autoloads from gnus/uudecode.el | 28874 | ;;; Generated autoloads from gnus/uudecode.el |
| 28495 | 28875 | ||
| 28496 | (autoload (quote uudecode-decode-region-external) "uudecode" "\ | 28876 | (autoload (quote uudecode-decode-region-external) "uudecode" "\ |
| @@ -28520,7 +28900,7 @@ If FILE-NAME is non-nil, save the result to FILE-NAME. | |||
| 28520 | ;;;;;; vc-directory vc-merge vc-insert-headers vc-version-other-window | 28900 | ;;;;;; vc-directory vc-merge vc-insert-headers vc-version-other-window |
| 28521 | ;;;;;; vc-diff vc-register vc-next-action vc-do-command edit-vc-file | 28901 | ;;;;;; vc-diff vc-register vc-next-action vc-do-command edit-vc-file |
| 28522 | ;;;;;; with-vc-file vc-branch-part vc-trunk-p vc-before-checkin-hook | 28902 | ;;;;;; with-vc-file vc-branch-part vc-trunk-p vc-before-checkin-hook |
| 28523 | ;;;;;; vc-checkin-hook vc-checkout-hook) "vc" "vc.el" (17390 27226)) | 28903 | ;;;;;; vc-checkin-hook vc-checkout-hook) "vc" "vc.el" (17591 9719)) |
| 28524 | ;;; Generated autoloads from vc.el | 28904 | ;;; Generated autoloads from vc.el |
| 28525 | 28905 | ||
| 28526 | (defvar vc-checkout-hook nil "\ | 28906 | (defvar vc-checkout-hook nil "\ |
| @@ -28882,7 +29262,7 @@ find any project directory." (let ((project-dir (getenv "PROJECTDIR")) dirs dir) | |||
| 28882 | ;;;*** | 29262 | ;;;*** |
| 28883 | 29263 | ||
| 28884 | ;;;### (autoloads (vhdl-mode) "vhdl-mode" "progmodes/vhdl-mode.el" | 29264 | ;;;### (autoloads (vhdl-mode) "vhdl-mode" "progmodes/vhdl-mode.el" |
| 28885 | ;;;;;; (17390 27409)) | 29265 | ;;;;;; (17505 62397)) |
| 28886 | ;;; Generated autoloads from progmodes/vhdl-mode.el | 29266 | ;;; Generated autoloads from progmodes/vhdl-mode.el |
| 28887 | 29267 | ||
| 28888 | (autoload (quote vhdl-mode) "vhdl-mode" "\ | 29268 | (autoload (quote vhdl-mode) "vhdl-mode" "\ |
| @@ -29751,7 +30131,7 @@ Turn on VIP emulation of VI. | |||
| 29751 | ;;;*** | 30131 | ;;;*** |
| 29752 | 30132 | ||
| 29753 | ;;;### (autoloads (viper-mode toggle-viper-mode) "viper" "emulation/viper.el" | 30133 | ;;;### (autoloads (viper-mode toggle-viper-mode) "viper" "emulation/viper.el" |
| 29754 | ;;;;;; (17401 60343)) | 30134 | ;;;;;; (17569 17781)) |
| 29755 | ;;; Generated autoloads from emulation/viper.el | 30135 | ;;; Generated autoloads from emulation/viper.el |
| 29756 | 30136 | ||
| 29757 | (autoload (quote toggle-viper-mode) "viper" "\ | 30137 | (autoload (quote toggle-viper-mode) "viper" "\ |
| @@ -29768,7 +30148,7 @@ Turn on Viper emulation of Vi in Emacs. See Info node `(viper)Viper'. | |||
| 29768 | ;;;*** | 30148 | ;;;*** |
| 29769 | 30149 | ||
| 29770 | ;;;### (autoloads (warn lwarn display-warning) "warnings" "emacs-lisp/warnings.el" | 30150 | ;;;### (autoloads (warn lwarn display-warning) "warnings" "emacs-lisp/warnings.el" |
| 29771 | ;;;;;; (17390 26938)) | 30151 | ;;;;;; (17496 38727)) |
| 29772 | ;;; Generated autoloads from emacs-lisp/warnings.el | 30152 | ;;; Generated autoloads from emacs-lisp/warnings.el |
| 29773 | 30153 | ||
| 29774 | (defvar warning-prefix-function nil "\ | 30154 | (defvar warning-prefix-function nil "\ |
| @@ -29806,6 +30186,7 @@ only, and you can use whatever symbols you like.) | |||
| 29806 | 30186 | ||
| 29807 | LEVEL should be either :debug, :warning, :error, or :emergency | 30187 | LEVEL should be either :debug, :warning, :error, or :emergency |
| 29808 | \(but see `warning-minimum-level' and `warning-minimum-log-level'). | 30188 | \(but see `warning-minimum-level' and `warning-minimum-log-level'). |
| 30189 | Default is :warning. | ||
| 29809 | 30190 | ||
| 29810 | :emergency -- a problem that will seriously impair Emacs operation soon | 30191 | :emergency -- a problem that will seriously impair Emacs operation soon |
| 29811 | if you do not attend to it promptly. | 30192 | if you do not attend to it promptly. |
| @@ -29829,7 +30210,7 @@ Display a warning message made from (format MESSAGE ARGS...). | |||
| 29829 | Aside from generating the message with `format', | 30210 | Aside from generating the message with `format', |
| 29830 | this is equivalent to `display-warning'. | 30211 | this is equivalent to `display-warning'. |
| 29831 | 30212 | ||
| 29832 | TYPE is the warning type: either a custom group name (a symbol). | 30213 | TYPE is the warning type: either a custom group name (a symbol), |
| 29833 | or a list of symbols whose first element is a custom group name. | 30214 | or a list of symbols whose first element is a custom group name. |
| 29834 | \(The rest of the symbols represent subcategories and | 30215 | \(The rest of the symbols represent subcategories and |
| 29835 | can be whatever you like.) | 30216 | can be whatever you like.) |
| @@ -29923,7 +30304,7 @@ and off otherwise. | |||
| 29923 | ;;;;;; whitespace-buffer whitespace-toggle-ateol-check whitespace-toggle-spacetab-check | 30304 | ;;;;;; whitespace-buffer whitespace-toggle-ateol-check whitespace-toggle-spacetab-check |
| 29924 | ;;;;;; whitespace-toggle-indent-check whitespace-toggle-trailing-check | 30305 | ;;;;;; whitespace-toggle-indent-check whitespace-toggle-trailing-check |
| 29925 | ;;;;;; whitespace-toggle-leading-check) "whitespace" "whitespace.el" | 30306 | ;;;;;; whitespace-toggle-leading-check) "whitespace" "whitespace.el" |
| 29926 | ;;;;;; (17390 26950)) | 30307 | ;;;;;; (17549 4608)) |
| 29927 | ;;; Generated autoloads from whitespace.el | 30308 | ;;; Generated autoloads from whitespace.el |
| 29928 | 30309 | ||
| 29929 | (autoload (quote whitespace-toggle-leading-check) "whitespace" "\ | 30310 | (autoload (quote whitespace-toggle-leading-check) "whitespace" "\ |
| @@ -29993,8 +30374,6 @@ use either \\[customize] or the function `whitespace-global-mode'.") | |||
| 29993 | 30374 | ||
| 29994 | (custom-autoload (quote whitespace-global-mode) "whitespace") | 30375 | (custom-autoload (quote whitespace-global-mode) "whitespace") |
| 29995 | 30376 | ||
| 29996 | (put (quote whitespace-global-mode) (quote custom-set) (quote custom-set-minor-mode)) | ||
| 29997 | |||
| 29998 | (autoload (quote whitespace-global-mode) "whitespace" "\ | 30377 | (autoload (quote whitespace-global-mode) "whitespace" "\ |
| 29999 | Toggle using Whitespace mode in new buffers. | 30378 | Toggle using Whitespace mode in new buffers. |
| 30000 | With ARG, turn the mode on iff ARG is positive. | 30379 | With ARG, turn the mode on iff ARG is positive. |
| @@ -30158,7 +30537,7 @@ With arg, turn Winner mode on if and only if arg is positive. | |||
| 30158 | ;;;*** | 30537 | ;;;*** |
| 30159 | 30538 | ||
| 30160 | ;;;### (autoloads (woman-find-file woman-dired-find-file woman) "woman" | 30539 | ;;;### (autoloads (woman-find-file woman-dired-find-file woman) "woman" |
| 30161 | ;;;;;; "woman.el" (17390 26950)) | 30540 | ;;;;;; "woman.el" (17466 28571)) |
| 30162 | ;;; Generated autoloads from woman.el | 30541 | ;;; Generated autoloads from woman.el |
| 30163 | 30542 | ||
| 30164 | (autoload (quote woman) "woman" "\ | 30543 | (autoload (quote woman) "woman" "\ |
| @@ -30437,66 +30816,64 @@ Zone-mode does two things: | |||
| 30437 | 30816 | ||
| 30438 | ;;;*** | 30817 | ;;;*** |
| 30439 | 30818 | ||
| 30440 | ;;;### (autoloads nil nil ("abbrev.el" "bindings.el" "buff-menu.el" | 30819 | ;;;### (autoloads nil nil ("bindings.el" "buff-menu.el" "calc/calc-aent.el" |
| 30441 | ;;;;;; "calc/calc-aent.el" "calc/calc-alg.el" "calc/calc-arith.el" | 30820 | ;;;;;; "calc/calc-alg.el" "calc/calc-arith.el" "calc/calc-bin.el" |
| 30442 | ;;;;;; "calc/calc-bin.el" "calc/calc-comb.el" "calc/calc-cplx.el" | 30821 | ;;;;;; "calc/calc-comb.el" "calc/calc-cplx.el" "calc/calc-embed.el" |
| 30443 | ;;;;;; "calc/calc-embed.el" "calc/calc-ext.el" "calc/calc-fin.el" | 30822 | ;;;;;; "calc/calc-ext.el" "calc/calc-fin.el" "calc/calc-forms.el" |
| 30444 | ;;;;;; "calc/calc-forms.el" "calc/calc-frac.el" "calc/calc-funcs.el" | 30823 | ;;;;;; "calc/calc-frac.el" "calc/calc-funcs.el" "calc/calc-graph.el" |
| 30445 | ;;;;;; "calc/calc-graph.el" "calc/calc-help.el" "calc/calc-incom.el" | 30824 | ;;;;;; "calc/calc-help.el" "calc/calc-incom.el" "calc/calc-keypd.el" |
| 30446 | ;;;;;; "calc/calc-keypd.el" "calc/calc-lang.el" "calc/calc-macs.el" | 30825 | ;;;;;; "calc/calc-lang.el" "calc/calc-macs.el" "calc/calc-map.el" |
| 30447 | ;;;;;; "calc/calc-map.el" "calc/calc-math.el" "calc/calc-misc.el" | 30826 | ;;;;;; "calc/calc-math.el" "calc/calc-misc.el" "calc/calc-mode.el" |
| 30448 | ;;;;;; "calc/calc-mode.el" "calc/calc-mtx.el" "calc/calc-poly.el" | 30827 | ;;;;;; "calc/calc-mtx.el" "calc/calc-poly.el" "calc/calc-prog.el" |
| 30449 | ;;;;;; "calc/calc-prog.el" "calc/calc-rewr.el" "calc/calc-rules.el" | 30828 | ;;;;;; "calc/calc-rewr.el" "calc/calc-rules.el" "calc/calc-sel.el" |
| 30450 | ;;;;;; "calc/calc-sel.el" "calc/calc-stat.el" "calc/calc-store.el" | 30829 | ;;;;;; "calc/calc-stat.el" "calc/calc-store.el" "calc/calc-stuff.el" |
| 30451 | ;;;;;; "calc/calc-stuff.el" "calc/calc-trail.el" "calc/calc-undo.el" | 30830 | ;;;;;; "calc/calc-trail.el" "calc/calc-undo.el" "calc/calc-units.el" |
| 30452 | ;;;;;; "calc/calc-units.el" "calc/calc-vec.el" "calc/calc-yank.el" | 30831 | ;;;;;; "calc/calc-vec.el" "calc/calc-yank.el" "calc/calcalg2.el" |
| 30453 | ;;;;;; "calc/calcalg2.el" "calc/calcalg3.el" "calc/calccomp.el" | 30832 | ;;;;;; "calc/calcalg3.el" "calc/calccomp.el" "calc/calcsel2.el" |
| 30454 | ;;;;;; "calc/calcsel2.el" "calendar/cal-bahai.el" "calendar/cal-china.el" | 30833 | ;;;;;; "calendar/cal-bahai.el" "calendar/cal-china.el" "calendar/cal-coptic.el" |
| 30455 | ;;;;;; "calendar/cal-coptic.el" "calendar/cal-french.el" "calendar/cal-islam.el" | 30834 | ;;;;;; "calendar/cal-french.el" "calendar/cal-islam.el" "calendar/cal-iso.el" |
| 30456 | ;;;;;; "calendar/cal-iso.el" "calendar/cal-julian.el" "calendar/cal-mayan.el" | 30835 | ;;;;;; "calendar/cal-julian.el" "calendar/cal-mayan.el" "calendar/cal-menu.el" |
| 30457 | ;;;;;; "calendar/cal-menu.el" "calendar/cal-move.el" "calendar/cal-persia.el" | 30836 | ;;;;;; "calendar/cal-move.el" "calendar/cal-persia.el" "calendar/cal-tex.el" |
| 30458 | ;;;;;; "calendar/cal-tex.el" "calendar/cal-x.el" "case-table.el" | 30837 | ;;;;;; "calendar/cal-x.el" "case-table.el" "cdl.el" "cus-dep.el" |
| 30459 | ;;;;;; "cdl.el" "cus-dep.el" "cus-load.el" "cus-start.el" "custom.el" | 30838 | ;;;;;; "cus-load.el" "cus-start.el" "custom.el" "dframe.el" "dos-fns.el" |
| 30460 | ;;;;;; "dframe.el" "dos-fns.el" "dos-vars.el" "dos-w32.el" "ediff-diff.el" | 30839 | ;;;;;; "dos-vars.el" "dos-w32.el" "ediff-diff.el" "ediff-init.el" |
| 30461 | ;;;;;; "ediff-init.el" "ediff-merg.el" "ediff-ptch.el" "ediff-vers.el" | 30840 | ;;;;;; "ediff-merg.el" "ediff-ptch.el" "ediff-vers.el" "ediff-wind.el" |
| 30462 | ;;;;;; "ediff-wind.el" "electric.el" "emacs-lisp/assoc.el" "emacs-lisp/authors.el" | 30841 | ;;;;;; "electric.el" "emacs-lisp/assoc.el" "emacs-lisp/authors.el" |
| 30463 | ;;;;;; "emacs-lisp/bindat.el" "emacs-lisp/byte-opt.el" "emacs-lisp/byte-run.el" | 30842 | ;;;;;; "emacs-lisp/bindat.el" "emacs-lisp/byte-opt.el" "emacs-lisp/byte-run.el" |
| 30464 | ;;;;;; "emacs-lisp/cl-compat.el" "emacs-lisp/cl-extra.el" "emacs-lisp/cl-macs.el" | 30843 | ;;;;;; "emacs-lisp/cl-compat.el" "emacs-lisp/cl-extra.el" "emacs-lisp/cl-macs.el" |
| 30465 | ;;;;;; "emacs-lisp/cl-seq.el" "emacs-lisp/cl-specs.el" "emacs-lisp/cust-print.el" | 30844 | ;;;;;; "emacs-lisp/cl-seq.el" "emacs-lisp/cl-specs.el" "emacs-lisp/cust-print.el" |
| 30466 | ;;;;;; "emacs-lisp/ewoc.el" "emacs-lisp/find-gc.el" "emacs-lisp/float-sup.el" | 30845 | ;;;;;; "emacs-lisp/find-gc.el" "emacs-lisp/float-sup.el" "emacs-lisp/gulp.el" |
| 30467 | ;;;;;; "emacs-lisp/gulp.el" "emacs-lisp/levents.el" "emacs-lisp/lisp-mnt.el" | 30846 | ;;;;;; "emacs-lisp/levents.el" "emacs-lisp/lisp-mnt.el" "emacs-lisp/lisp-mode.el" |
| 30468 | ;;;;;; "emacs-lisp/lisp-mode.el" "emacs-lisp/lisp.el" "emacs-lisp/lmenu.el" | 30847 | ;;;;;; "emacs-lisp/lisp.el" "emacs-lisp/lmenu.el" "emacs-lisp/lselect.el" |
| 30469 | ;;;;;; "emacs-lisp/lselect.el" "emacs-lisp/lucid.el" "emacs-lisp/map-ynp.el" | 30848 | ;;;;;; "emacs-lisp/lucid.el" "emacs-lisp/map-ynp.el" "emacs-lisp/regi.el" |
| 30470 | ;;;;;; "emacs-lisp/regi.el" "emacs-lisp/sregex.el" "emacs-lisp/syntax.el" | 30849 | ;;;;;; "emacs-lisp/sregex.el" "emacs-lisp/syntax.el" "emacs-lisp/tcover-ses.el" |
| 30471 | ;;;;;; "emacs-lisp/tcover-ses.el" "emacs-lisp/tcover-unsafep.el" | 30850 | ;;;;;; "emacs-lisp/tcover-unsafep.el" "emacs-lock.el" "emulation/cua-gmrk.el" |
| 30472 | ;;;;;; "emacs-lock.el" "emulation/cua-gmrk.el" "emulation/cua-rect.el" | 30851 | ;;;;;; "emulation/cua-rect.el" "emulation/edt-lk201.el" "emulation/edt-mapper.el" |
| 30473 | ;;;;;; "emulation/edt-lk201.el" "emulation/edt-mapper.el" "emulation/edt-pc.el" | 30852 | ;;;;;; "emulation/edt-pc.el" "emulation/edt-vt100.el" "emulation/tpu-mapper.el" |
| 30474 | ;;;;;; "emulation/edt-vt100.el" "emulation/tpu-mapper.el" "emulation/viper-cmd.el" | 30853 | ;;;;;; "emulation/viper-cmd.el" "emulation/viper-ex.el" "emulation/viper-init.el" |
| 30475 | ;;;;;; "emulation/viper-ex.el" "emulation/viper-init.el" "emulation/viper-keym.el" | 30854 | ;;;;;; "emulation/viper-keym.el" "emulation/viper-macs.el" "emulation/viper-mous.el" |
| 30476 | ;;;;;; "emulation/viper-macs.el" "emulation/viper-mous.el" "emulation/viper-util.el" | 30855 | ;;;;;; "emulation/viper-util.el" "env.el" "erc/erc-backend.el" "erc/erc-goodies.el" |
| 30477 | ;;;;;; "env.el" "erc/erc-backend.el" "erc/erc-goodies.el" "erc/erc-ibuffer.el" | 30856 | ;;;;;; "erc/erc-ibuffer.el" "erc/erc-lang.el" "erc/erc-menu.el" |
| 30478 | ;;;;;; "erc/erc-lang.el" "erc/erc-menu.el" "erc/erc-nicklist.el" | 30857 | ;;;;;; "erc/erc-nicklist.el" "eshell/em-alias.el" "eshell/em-banner.el" |
| 30479 | ;;;;;; "eshell/em-alias.el" "eshell/em-banner.el" "eshell/em-basic.el" | 30858 | ;;;;;; "eshell/em-basic.el" "eshell/em-cmpl.el" "eshell/em-dirs.el" |
| 30480 | ;;;;;; "eshell/em-cmpl.el" "eshell/em-dirs.el" "eshell/em-glob.el" | 30859 | ;;;;;; "eshell/em-glob.el" "eshell/em-hist.el" "eshell/em-ls.el" |
| 30481 | ;;;;;; "eshell/em-hist.el" "eshell/em-ls.el" "eshell/em-pred.el" | 30860 | ;;;;;; "eshell/em-pred.el" "eshell/em-prompt.el" "eshell/em-rebind.el" |
| 30482 | ;;;;;; "eshell/em-prompt.el" "eshell/em-rebind.el" "eshell/em-script.el" | 30861 | ;;;;;; "eshell/em-script.el" "eshell/em-smart.el" "eshell/em-term.el" |
| 30483 | ;;;;;; "eshell/em-smart.el" "eshell/em-term.el" "eshell/em-unix.el" | 30862 | ;;;;;; "eshell/em-unix.el" "eshell/em-xtra.el" "eshell/esh-arg.el" |
| 30484 | ;;;;;; "eshell/em-xtra.el" "eshell/esh-arg.el" "eshell/esh-cmd.el" | 30863 | ;;;;;; "eshell/esh-cmd.el" "eshell/esh-ext.el" "eshell/esh-groups.el" |
| 30485 | ;;;;;; "eshell/esh-ext.el" "eshell/esh-groups.el" "eshell/esh-io.el" | 30864 | ;;;;;; "eshell/esh-io.el" "eshell/esh-maint.el" "eshell/esh-module.el" |
| 30486 | ;;;;;; "eshell/esh-maint.el" "eshell/esh-module.el" "eshell/esh-opt.el" | 30865 | ;;;;;; "eshell/esh-opt.el" "eshell/esh-proc.el" "eshell/esh-util.el" |
| 30487 | ;;;;;; "eshell/esh-proc.el" "eshell/esh-util.el" "eshell/esh-var.el" | 30866 | ;;;;;; "eshell/esh-var.el" "ezimage.el" "faces.el" "files.el" "finder-inf.el" |
| 30488 | ;;;;;; "ezimage.el" "faces.el" "files.el" "finder-inf.el" "foldout.el" | 30867 | ;;;;;; "foldout.el" "font-core.el" "font-lock.el" "format.el" "forms-d2.el" |
| 30489 | ;;;;;; "font-core.el" "font-lock.el" "format.el" "forms-d2.el" "forms-pass.el" | 30868 | ;;;;;; "forms-pass.el" "frame.el" "fringe.el" "generic-x.el" "gnus/compface.el" |
| 30490 | ;;;;;; "frame.el" "fringe.el" "generic-x.el" "gnus/compface.el" | ||
| 30491 | ;;;;;; "gnus/dig.el" "gnus/dns.el" "gnus/format-spec.el" "gnus/gnus-async.el" | 30869 | ;;;;;; "gnus/dig.el" "gnus/dns.el" "gnus/format-spec.el" "gnus/gnus-async.el" |
| 30492 | ;;;;;; "gnus/gnus-bcklg.el" "gnus/gnus-cite.el" "gnus/gnus-cus.el" | 30870 | ;;;;;; "gnus/gnus-bcklg.el" "gnus/gnus-cite.el" "gnus/gnus-cus.el" |
| 30493 | ;;;;;; "gnus/gnus-demon.el" "gnus/gnus-diary.el" "gnus/gnus-dup.el" | 30871 | ;;;;;; "gnus/gnus-demon.el" "gnus/gnus-dup.el" "gnus/gnus-eform.el" |
| 30494 | ;;;;;; "gnus/gnus-eform.el" "gnus/gnus-ems.el" "gnus/gnus-gl.el" | 30872 | ;;;;;; "gnus/gnus-ems.el" "gnus/gnus-gl.el" "gnus/gnus-int.el" "gnus/gnus-logic.el" |
| 30495 | ;;;;;; "gnus/gnus-int.el" "gnus/gnus-logic.el" "gnus/gnus-mh.el" | 30873 | ;;;;;; "gnus/gnus-mh.el" "gnus/gnus-salt.el" "gnus/gnus-score.el" |
| 30496 | ;;;;;; "gnus/gnus-salt.el" "gnus/gnus-score.el" "gnus/gnus-setup.el" | 30874 | ;;;;;; "gnus/gnus-setup.el" "gnus/gnus-srvr.el" "gnus/gnus-sum.el" |
| 30497 | ;;;;;; "gnus/gnus-srvr.el" "gnus/gnus-sum.el" "gnus/gnus-topic.el" | 30875 | ;;;;;; "gnus/gnus-topic.el" "gnus/gnus-undo.el" "gnus/gnus-util.el" |
| 30498 | ;;;;;; "gnus/gnus-undo.el" "gnus/gnus-util.el" "gnus/gnus-uu.el" | 30876 | ;;;;;; "gnus/gnus-uu.el" "gnus/gnus-vm.el" "gnus/hex-util.el" "gnus/ietf-drums.el" |
| 30499 | ;;;;;; "gnus/gnus-vm.el" "gnus/hex-util.el" "gnus/ietf-drums.el" | ||
| 30500 | ;;;;;; "gnus/imap.el" "gnus/legacy-gnus-agent.el" "gnus/mail-parse.el" | 30877 | ;;;;;; "gnus/imap.el" "gnus/legacy-gnus-agent.el" "gnus/mail-parse.el" |
| 30501 | ;;;;;; "gnus/mail-prsvr.el" "gnus/mail-source.el" "gnus/mailcap.el" | 30878 | ;;;;;; "gnus/mail-prsvr.el" "gnus/mail-source.el" "gnus/mailcap.el" |
| 30502 | ;;;;;; "gnus/messcompat.el" "gnus/mm-bodies.el" "gnus/mm-decode.el" | 30879 | ;;;;;; "gnus/messcompat.el" "gnus/mm-bodies.el" "gnus/mm-decode.el" |
| @@ -30552,32 +30929,30 @@ Zone-mode does two things: | |||
| 30552 | ;;;;;; "obsolete/sun-fns.el" "obsolete/swedish.el" "obsolete/uncompress.el" | 30929 | ;;;;;; "obsolete/sun-fns.el" "obsolete/swedish.el" "obsolete/uncompress.el" |
| 30553 | ;;;;;; "obsolete/x-apollo.el" "obsolete/x-menu.el" "patcomp.el" | 30930 | ;;;;;; "obsolete/x-apollo.el" "obsolete/x-menu.el" "patcomp.el" |
| 30554 | ;;;;;; "paths.el" "pcvs-info.el" "pcvs-parse.el" "pcvs-util.el" | 30931 | ;;;;;; "paths.el" "pcvs-info.el" "pcvs-parse.el" "pcvs-util.el" |
| 30555 | ;;;;;; "pgg-def.el" "pgg-gpg.el" "pgg-parse.el" "pgg-pgp.el" "pgg-pgp5.el" | 30932 | ;;;;;; "pgg-def.el" "pgg-parse.el" "pgg-pgp.el" "pgg-pgp5.el" "play/gamegrid.el" |
| 30556 | ;;;;;; "play/gamegrid.el" "play/gametree.el" "play/meese.el" "progmodes/ada-prj.el" | 30933 | ;;;;;; "play/gametree.el" "play/meese.el" "progmodes/ada-prj.el" |
| 30557 | ;;;;;; "progmodes/cc-align.el" "progmodes/cc-awk.el" "progmodes/cc-bytecomp.el" | 30934 | ;;;;;; "progmodes/cc-align.el" "progmodes/cc-awk.el" "progmodes/cc-bytecomp.el" |
| 30558 | ;;;;;; "progmodes/cc-cmds.el" "progmodes/cc-compat.el" "progmodes/cc-defs.el" | 30935 | ;;;;;; "progmodes/cc-cmds.el" "progmodes/cc-defs.el" "progmodes/cc-fonts.el" |
| 30559 | ;;;;;; "progmodes/cc-fonts.el" "progmodes/cc-langs.el" "progmodes/cc-menus.el" | 30936 | ;;;;;; "progmodes/cc-langs.el" "progmodes/cc-menus.el" "progmodes/ebnf-abn.el" |
| 30560 | ;;;;;; "progmodes/cc-vars.el" "progmodes/ebnf-abn.el" "progmodes/ebnf-bnf.el" | 30937 | ;;;;;; "progmodes/ebnf-bnf.el" "progmodes/ebnf-dtd.el" "progmodes/ebnf-ebx.el" |
| 30561 | ;;;;;; "progmodes/ebnf-dtd.el" "progmodes/ebnf-ebx.el" "progmodes/ebnf-iso.el" | 30938 | ;;;;;; "progmodes/ebnf-iso.el" "progmodes/ebnf-otz.el" "progmodes/ebnf-yac.el" |
| 30562 | ;;;;;; "progmodes/ebnf-otz.el" "progmodes/ebnf-yac.el" "progmodes/idlw-complete-structtag.el" | 30939 | ;;;;;; "progmodes/idlw-complete-structtag.el" "progmodes/idlw-help.el" |
| 30563 | ;;;;;; "progmodes/idlw-help.el" "progmodes/idlw-rinfo.el" "progmodes/idlw-toolbar.el" | 30940 | ;;;;;; "progmodes/idlw-toolbar.el" "progmodes/mantemp.el" "progmodes/xscheme.el" |
| 30564 | ;;;;;; "progmodes/mantemp.el" "progmodes/xscheme.el" "register.el" | 30941 | ;;;;;; "register.el" "replace.el" "rfn-eshadow.el" "s-region.el" |
| 30565 | ;;;;;; "replace.el" "rfn-eshadow.el" "s-region.el" "saveplace.el" | 30942 | ;;;;;; "saveplace.el" "sb-image.el" "scroll-bar.el" "select.el" |
| 30566 | ;;;;;; "sb-image.el" "scroll-bar.el" "select.el" "simple.el" "soundex.el" | 30943 | ;;;;;; "soundex.el" "startup.el" "subdirs.el" "tempo.el" "term/AT386.el" |
| 30567 | ;;;;;; "startup.el" "subdirs.el" "tempo.el" "term/AT386.el" "term/apollo.el" | 30944 | ;;;;;; "term/apollo.el" "term/bobcat.el" "term/cygwin.el" "term/internal.el" |
| 30568 | ;;;;;; "term/bobcat.el" "term/cygwin.el" "term/internal.el" "term/iris-ansi.el" | 30945 | ;;;;;; "term/iris-ansi.el" "term/linux.el" "term/lk201.el" "term/mac-win.el" |
| 30569 | ;;;;;; "term/linux.el" "term/lk201.el" "term/mac-win.el" "term/news.el" | 30946 | ;;;;;; "term/news.el" "term/pc-win.el" "term/rxvt.el" "term/sun-mouse.el" |
| 30570 | ;;;;;; "term/pc-win.el" "term/rxvt.el" "term/sun-mouse.el" "term/sun.el" | 30947 | ;;;;;; "term/sun.el" "term/sup-mouse.el" "term/tty-colors.el" "term/tvi970.el" |
| 30571 | ;;;;;; "term/sup-mouse.el" "term/tty-colors.el" "term/tvi970.el" | ||
| 30572 | ;;;;;; "term/vt100.el" "term/vt102.el" "term/vt125.el" "term/vt200.el" | 30948 | ;;;;;; "term/vt100.el" "term/vt102.el" "term/vt125.el" "term/vt200.el" |
| 30573 | ;;;;;; "term/vt201.el" "term/vt220.el" "term/vt240.el" "term/vt300.el" | 30949 | ;;;;;; "term/vt201.el" "term/vt220.el" "term/vt240.el" "term/vt300.el" |
| 30574 | ;;;;;; "term/vt320.el" "term/vt400.el" "term/vt420.el" "term/w32-win.el" | 30950 | ;;;;;; "term/vt320.el" "term/vt400.el" "term/vt420.el" "term/w32-win.el" |
| 30575 | ;;;;;; "term/wyse50.el" "term/x-win.el" "term/xterm.el" "termdev.el" | 30951 | ;;;;;; "term/wyse50.el" "term/x-win.el" "term/xterm.el" "termdev.el" |
| 30576 | ;;;;;; "textmodes/bib-mode.el" "textmodes/fill.el" "textmodes/makeinfo.el" | 30952 | ;;;;;; "textmodes/bib-mode.el" "textmodes/makeinfo.el" "textmodes/page-ext.el" |
| 30577 | ;;;;;; "textmodes/page-ext.el" "textmodes/page.el" "textmodes/paragraphs.el" | 30953 | ;;;;;; "textmodes/page.el" "textmodes/refbib.el" "textmodes/refer.el" |
| 30578 | ;;;;;; "textmodes/refbib.el" "textmodes/refer.el" "textmodes/reftex-auc.el" | 30954 | ;;;;;; "textmodes/reftex-auc.el" "textmodes/reftex-dcr.el" "textmodes/reftex-ref.el" |
| 30579 | ;;;;;; "textmodes/reftex-dcr.el" "textmodes/reftex-ref.el" "textmodes/reftex-sel.el" | 30955 | ;;;;;; "textmodes/reftex-sel.el" "textmodes/reftex-toc.el" "textmodes/texnfo-upd.el" |
| 30580 | ;;;;;; "textmodes/reftex-toc.el" "textmodes/reftex-vars.el" "textmodes/texnfo-upd.el" | ||
| 30581 | ;;;;;; "textmodes/text-mode.el" "timezone.el" "tooltip.el" "tree-widget.el" | 30956 | ;;;;;; "textmodes/text-mode.el" "timezone.el" "tooltip.el" "tree-widget.el" |
| 30582 | ;;;;;; "uniquify.el" "url/url-about.el" "url/url-cookie.el" "url/url-dired.el" | 30957 | ;;;;;; "uniquify.el" "url/url-about.el" "url/url-cookie.el" "url/url-dired.el" |
| 30583 | ;;;;;; "url/url-expand.el" "url/url-ftp.el" "url/url-history.el" | 30958 | ;;;;;; "url/url-expand.el" "url/url-ftp.el" "url/url-history.el" |
| @@ -30585,7 +30960,7 @@ Zone-mode does two things: | |||
| 30585 | ;;;;;; "url/url-nfs.el" "url/url-proxy.el" "url/url-vars.el" "url/vc-dav.el" | 30960 | ;;;;;; "url/url-nfs.el" "url/url-proxy.el" "url/url-vars.el" "url/vc-dav.el" |
| 30586 | ;;;;;; "vc-hooks.el" "vcursor.el" "version.el" "vms-patch.el" "vmsproc.el" | 30961 | ;;;;;; "vc-hooks.el" "vcursor.el" "version.el" "vms-patch.el" "vmsproc.el" |
| 30587 | ;;;;;; "vt-control.el" "vt100-led.el" "w32-fns.el" "w32-vars.el" | 30962 | ;;;;;; "vt-control.el" "vt100-led.el" "w32-fns.el" "w32-vars.el" |
| 30588 | ;;;;;; "widget.el" "window.el" "x-dnd.el") (17454 45486 164469)) | 30963 | ;;;;;; "widget.el" "window.el" "x-dnd.el") (17591 11825 253467)) |
| 30589 | 30964 | ||
| 30590 | ;;;*** | 30965 | ;;;*** |
| 30591 | 30966 | ||
diff --git a/lisp/locate.el b/lisp/locate.el index 702ae98ecd6..5df695d59b9 100644 --- a/lisp/locate.el +++ b/lisp/locate.el | |||
| @@ -191,17 +191,37 @@ This should contain the \"-l\" switch, but not the \"-F\" or \"-b\" switches." | |||
| 191 | :group 'locate | 191 | :group 'locate |
| 192 | :version "22.1") | 192 | :version "22.1") |
| 193 | 193 | ||
| 194 | (defcustom locate-update-when-revert nil | ||
| 195 | "This option affects how the *Locate* buffer gets reverted. | ||
| 196 | If non-nil, offer to update the locate database when reverting that buffer. | ||
| 197 | \(Normally, you need to have root privileges for this to work. See the | ||
| 198 | option `locate-update-path'.) | ||
| 199 | If nil, reverting does not update the locate database." | ||
| 200 | :type 'boolean | ||
| 201 | :group 'locate | ||
| 202 | :version "22.1") | ||
| 203 | |||
| 194 | (defcustom locate-update-command "updatedb" | 204 | (defcustom locate-update-command "updatedb" |
| 195 | "The executable program used to update the locate database." | 205 | "The executable program used to update the locate database." |
| 196 | :type 'string | 206 | :type 'string |
| 197 | :group 'locate) | 207 | :group 'locate) |
| 198 | 208 | ||
| 209 | (defcustom locate-update-path "/" | ||
| 210 | "The default directory from where `locate-update-command' is called. | ||
| 211 | Usually, root permissions are required to run that command. This | ||
| 212 | can be achieved by setting this option to \"/su::\" or \"/sudo::\" | ||
| 213 | \(if you have the appropriate authority). If your current user | ||
| 214 | permissions are sufficient to run the command, you can set this | ||
| 215 | option to \"/\"." | ||
| 216 | :type 'string | ||
| 217 | :group 'locate | ||
| 218 | :version "22.1") | ||
| 219 | |||
| 199 | (defcustom locate-prompt-for-command nil | 220 | (defcustom locate-prompt-for-command nil |
| 200 | "If non-nil, the `locate' command prompts for a command to run. | 221 | "If non-nil, the `locate' command prompts for a command to run. |
| 201 | Otherwise, that behavior is invoked via a prefix argument." | 222 | Otherwise, that behavior is invoked via a prefix argument." |
| 202 | :group 'locate | 223 | :group 'locate |
| 203 | :type 'boolean | 224 | :type 'boolean) |
| 204 | ) | ||
| 205 | 225 | ||
| 206 | ;; Functions | 226 | ;; Functions |
| 207 | 227 | ||
| @@ -557,12 +577,18 @@ do not work in subdirectories. | |||
| 557 | 577 | ||
| 558 | ;; From Stephen Eglen <stephen@cns.ed.ac.uk> | 578 | ;; From Stephen Eglen <stephen@cns.ed.ac.uk> |
| 559 | (defun locate-update (ignore1 ignore2) | 579 | (defun locate-update (ignore1 ignore2) |
| 560 | "Update the locate database. | 580 | "Revert the *Locate* buffer. |
| 561 | Database is updated using the shell command in `locate-update-command'." | 581 | If `locate-update-when-revert' is non-nil, offer to update the |
| 582 | locate database using the shell command in `locate-update-command'." | ||
| 562 | (let ((str (car locate-history-list))) | 583 | (let ((str (car locate-history-list))) |
| 563 | (cond ((yes-or-no-p "Update locate database (may take a few seconds)? ") | 584 | (and locate-update-when-revert |
| 564 | (shell-command locate-update-command) | 585 | (yes-or-no-p "Update locate database (may take a few seconds)? ") |
| 565 | (locate str))))) | 586 | ;; `expand-file-name' is used in order to autoload Tramp if |
| 587 | ;; necessary. It cannot be loaded when `default-directory' | ||
| 588 | ;; is remote. | ||
| 589 | (let ((default-directory (expand-file-name locate-update-path))) | ||
| 590 | (shell-command locate-update-command))) | ||
| 591 | (locate str))) | ||
| 566 | 592 | ||
| 567 | ;;; Modified three functions from `dired.el': | 593 | ;;; Modified three functions from `dired.el': |
| 568 | ;;; dired-find-directory, | 594 | ;;; dired-find-directory, |
diff --git a/lisp/longlines.el b/lisp/longlines.el index b11d4e6faba..9da3de217ab 100644 --- a/lisp/longlines.el +++ b/lisp/longlines.el | |||
| @@ -396,16 +396,11 @@ that has changed." | |||
| 396 | "Perform line wrapping on the parts of the buffer that have changed. | 396 | "Perform line wrapping on the parts of the buffer that have changed. |
| 397 | This is called by `post-command-hook' after each command." | 397 | This is called by `post-command-hook' after each command." |
| 398 | (when longlines-wrap-beg | 398 | (when longlines-wrap-beg |
| 399 | (cond ((or (eq this-command 'yank) | 399 | (if (or (eq this-command 'yank) |
| 400 | (eq this-command 'yank-pop)) | 400 | (eq this-command 'yank-pop)) |
| 401 | (longlines-decode-region (point) (mark t)) | 401 | (longlines-decode-region (point) (mark t))) |
| 402 | (if longlines-showing | 402 | (if longlines-showing |
| 403 | (longlines-show-region (point) (mark t)))) | 403 | (longlines-show-region longlines-wrap-beg longlines-wrap-end)) |
| 404 | ((and (eq this-command 'newline) longlines-showing) | ||
| 405 | (save-excursion | ||
| 406 | (if (search-backward "\n" nil t) | ||
| 407 | (longlines-show-region | ||
| 408 | (match-beginning 0) (match-end 0)))))) | ||
| 409 | (unless (or (eq this-command 'fill-paragraph) | 404 | (unless (or (eq this-command 'fill-paragraph) |
| 410 | (eq this-command 'fill-region)) | 405 | (eq this-command 'fill-region)) |
| 411 | (longlines-wrap-region longlines-wrap-beg longlines-wrap-end)) | 406 | (longlines-wrap-region longlines-wrap-beg longlines-wrap-end)) |
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog index a390589dd0f..a49e3b2a4a3 100644 --- a/lisp/mh-e/ChangeLog +++ b/lisp/mh-e/ChangeLog | |||
| @@ -1,3 +1,42 @@ | |||
| 1 | 2006-07-03 Bill Wohler <wohler@newt.com> | ||
| 2 | |||
| 3 | Release MH-E version 8.0.2. | ||
| 4 | |||
| 5 | * mh-e.el (Version, mh-version): Update for release 8.0.2. | ||
| 6 | |||
| 7 | 2006-07-03 Ted Phelps <phelps@gnusto.com> (tiny change) | ||
| 8 | |||
| 9 | * mh-tool-bar.el (mh-tool-bar-define): Fix XEmacs' vector-list so | ||
| 10 | it refers to the icons in mh-xemacs-icon-map instead of trying to | ||
| 11 | declare the icons in situ. This allows mh-tool-bar.el to be | ||
| 12 | compiled under XEmacs. Remove initial value for | ||
| 13 | mh-tool-bar-folder-buttons, mh-tool-bar-show-buttons, | ||
| 14 | mh-tool-bar-letter-buttons. The MH-E icons now appear in XEmacs. | ||
| 15 | In mh-tool-bar-init, check for mh-xemacs-use-tool-bar-flag sooner. | ||
| 16 | This allows MH-E to be used in XEmacs in a tty (closes SF | ||
| 17 | #1506846). | ||
| 18 | |||
| 19 | 2006-07-03 Bill Wohler <wohler@newt.com> | ||
| 20 | |||
| 21 | * mh-e.el: Require mh-buffers and mh-compat before mh-xemacs now | ||
| 22 | that mh-xemacs needs functions in mh-compat. | ||
| 23 | |||
| 24 | 2006-06-29 Bill Wohler <wohler@newt.com> | ||
| 25 | |||
| 26 | * mh-search.el (mh-search, mh-index-group-by-folder): Add "the" in | ||
| 27 | loop construct to be consistent with other loops, and because | ||
| 28 | edebug doesn't work without it. | ||
| 29 | |||
| 30 | 2006-06-29 Ted Phelps <phelps@gnusto.com> (tiny change) | ||
| 31 | |||
| 32 | * mh-search.el (mh-folder-exists-p): Strip + from folder to avoid | ||
| 33 | redundant +s in regexp (closes SF #1514424). | ||
| 34 | |||
| 35 | 2006-06-29 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change) | ||
| 36 | |||
| 37 | * mh-mime.el (mh-mime-save-parts): Add -store option to | ||
| 38 | mhn (closes SF #1513140). | ||
| 39 | |||
| 1 | 2006-06-20 Bill Wohler <wohler@newt.com> | 40 | 2006-06-20 Bill Wohler <wohler@newt.com> |
| 2 | 41 | ||
| 3 | Release MH-E version 8.0.1. | 42 | Release MH-E version 8.0.1. |
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el index 80f0fedeb6e..ba48a84ad99 100644 --- a/lisp/mh-e/mh-e.el +++ b/lisp/mh-e/mh-e.el | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | ;; Author: Bill Wohler <wohler@newt.com> | 7 | ;; Author: Bill Wohler <wohler@newt.com> |
| 8 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 8 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
| 9 | ;; Version: 8.0.1 | 9 | ;; Version: 8.0.2 |
| 10 | ;; Keywords: mail | 10 | ;; Keywords: mail |
| 11 | 11 | ||
| 12 | ;; This file is part of GNU Emacs. | 12 | ;; This file is part of GNU Emacs. |
| @@ -96,6 +96,9 @@ | |||
| 96 | 96 | ||
| 97 | (mh-require-cl) | 97 | (mh-require-cl) |
| 98 | 98 | ||
| 99 | (require 'mh-buffers) | ||
| 100 | (require 'mh-compat) | ||
| 101 | |||
| 99 | (eval-and-compile | 102 | (eval-and-compile |
| 100 | (defvar mh-xemacs-flag (featurep 'xemacs) | 103 | (defvar mh-xemacs-flag (featurep 'xemacs) |
| 101 | "Non-nil means the current Emacs is XEmacs.")) | 104 | "Non-nil means the current Emacs is XEmacs.")) |
| @@ -103,9 +106,6 @@ | |||
| 103 | (mh-do-in-xemacs | 106 | (mh-do-in-xemacs |
| 104 | (require 'mh-xemacs)) | 107 | (require 'mh-xemacs)) |
| 105 | 108 | ||
| 106 | (require 'mh-buffers) | ||
| 107 | (require 'mh-compat) | ||
| 108 | |||
| 109 | (mh-font-lock-add-keywords | 109 | (mh-font-lock-add-keywords |
| 110 | 'emacs-lisp-mode | 110 | 'emacs-lisp-mode |
| 111 | (eval-when-compile | 111 | (eval-when-compile |
| @@ -133,7 +133,7 @@ | |||
| 133 | ;; Try to keep variables local to a single file. Provide accessors if | 133 | ;; Try to keep variables local to a single file. Provide accessors if |
| 134 | ;; variables are shared. Use this section as a last resort. | 134 | ;; variables are shared. Use this section as a last resort. |
| 135 | 135 | ||
| 136 | (defconst mh-version "8.0.1" "Version number of MH-E.") | 136 | (defconst mh-version "8.0.2" "Version number of MH-E.") |
| 137 | 137 | ||
| 138 | ;; Variants | 138 | ;; Variants |
| 139 | 139 | ||
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el index c05e867a2b4..a66db002b6a 100644 --- a/lisp/mh-e/mh-mime.el +++ b/lisp/mh-e/mh-mime.el | |||
| @@ -415,7 +415,9 @@ do the work." | |||
| 415 | (let ((initial-size (mh-truncate-log-buffer))) | 415 | (let ((initial-size (mh-truncate-log-buffer))) |
| 416 | (apply 'call-process | 416 | (apply 'call-process |
| 417 | (expand-file-name command mh-progs) nil t nil | 417 | (expand-file-name command mh-progs) nil t nil |
| 418 | (mh-list-to-string (list folder msg "-auto"))) | 418 | (mh-list-to-string (list folder msg "-auto" |
| 419 | (if (not (mh-variant-p 'nmh)) | ||
| 420 | "-store")))) | ||
| 419 | (if (> (buffer-size) initial-size) | 421 | (if (> (buffer-size) initial-size) |
| 420 | (save-window-excursion | 422 | (save-window-excursion |
| 421 | (switch-to-buffer-other-window mh-log-buffer) | 423 | (switch-to-buffer-other-window mh-log-buffer) |
diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el index 62c130bb90f..191e42f734a 100644 --- a/lisp/mh-e/mh-search.el +++ b/lisp/mh-e/mh-search.el | |||
| @@ -318,9 +318,9 @@ folder containing the index search results." | |||
| 318 | 318 | ||
| 319 | (message "%s found %s matches in %s folders" | 319 | (message "%s found %s matches in %s folders" |
| 320 | (upcase-initials (symbol-name mh-searcher)) | 320 | (upcase-initials (symbol-name mh-searcher)) |
| 321 | (loop for msg-hash being hash-values of mh-index-data | 321 | (loop for msg-hash being the hash-values of mh-index-data |
| 322 | sum (hash-table-count msg-hash)) | 322 | sum (hash-table-count msg-hash)) |
| 323 | (loop for msg-hash being hash-values of mh-index-data | 323 | (loop for msg-hash being the hash-values of mh-index-data |
| 324 | count (> (hash-table-count msg-hash) 0))))))) | 324 | count (> (hash-table-count msg-hash) 0))))))) |
| 325 | 325 | ||
| 326 | ;; Shush compiler. | 326 | ;; Shush compiler. |
| @@ -1362,7 +1362,7 @@ being the list of messages originally from that folder." | |||
| 1362 | (save-excursion | 1362 | (save-excursion |
| 1363 | (goto-char (point-min)) | 1363 | (goto-char (point-min)) |
| 1364 | (let ((result-table (make-hash-table :test #'equal))) | 1364 | (let ((result-table (make-hash-table :test #'equal))) |
| 1365 | (loop for msg being hash-keys of mh-index-msg-checksum-map | 1365 | (loop for msg being the hash-keys of mh-index-msg-checksum-map |
| 1366 | do (push msg (gethash (car (gethash | 1366 | do (push msg (gethash (car (gethash |
| 1367 | (gethash msg mh-index-msg-checksum-map) | 1367 | (gethash msg mh-index-msg-checksum-map) |
| 1368 | mh-index-checksum-origin-map)) | 1368 | mh-index-checksum-origin-map)) |
| @@ -1524,7 +1524,8 @@ construct the base name." | |||
| 1524 | (with-temp-buffer | 1524 | (with-temp-buffer |
| 1525 | (mh-exec-cmd-output "folder" nil "-fast" "-nocreate" folder) | 1525 | (mh-exec-cmd-output "folder" nil "-fast" "-nocreate" folder) |
| 1526 | (goto-char (point-min)) | 1526 | (goto-char (point-min)) |
| 1527 | (looking-at (format "+?%s" folder)))))) | 1527 | ;; Strip + from folder; use optional + in regexp. |
| 1528 | (looking-at (format "+?%s" (substring folder 1))))))) | ||
| 1528 | 1529 | ||
| 1529 | (defun mh-msg-exists-p (msg folder) | 1530 | (defun mh-msg-exists-p (msg folder) |
| 1530 | "Check if MSG exists in FOLDER." | 1531 | "Check if MSG exists in FOLDER." |
diff --git a/lisp/mh-e/mh-tool-bar.el b/lisp/mh-e/mh-tool-bar.el index 9b18848bd12..a5131420753 100644 --- a/lisp/mh-e/mh-tool-bar.el +++ b/lisp/mh-e/mh-tool-bar.el | |||
| @@ -149,7 +149,7 @@ where, | |||
| 149 | (name-str (symbol-name name)) | 149 | (name-str (symbol-name name)) |
| 150 | (icon (nth 2 button)) | 150 | (icon (nth 2 button)) |
| 151 | (xemacs-icon (mh-do-in-xemacs | 151 | (xemacs-icon (mh-do-in-xemacs |
| 152 | (cdr (assoc (intern icon) mh-xemacs-icon-map)))) | 152 | `(cdr (assoc (quote ,(intern icon)) mh-xemacs-icon-map)))) |
| 153 | (full-doc (nth 3 button)) | 153 | (full-doc (nth 3 button)) |
| 154 | (doc (if (string-match "\\(.*\\)\n" full-doc) | 154 | (doc (if (string-match "\\(.*\\)\n" full-doc) |
| 155 | (match-string 1 full-doc) | 155 | (match-string 1 full-doc) |
| @@ -189,7 +189,7 @@ where, | |||
| 189 | (t 'folder-buttons))) | 189 | (t 'folder-buttons))) |
| 190 | (docs (cond ((eq mbuttons 'letter-buttons) 'letter-docs) | 190 | (docs (cond ((eq mbuttons 'letter-buttons) 'letter-docs) |
| 191 | ((eq mbuttons 'folder-buttons) 'folder-docs)))) | 191 | ((eq mbuttons 'folder-buttons) 'folder-docs)))) |
| 192 | (add-to-list vector-list `[,xemacs-icon ,function t ,full-doc]) | 192 | (add-to-list vector-list `(vector ,xemacs-icon ',function t ,full-doc)) |
| 193 | (add-to-list | 193 | (add-to-list |
| 194 | setter `(when (member ',name ,list) | 194 | setter `(when (member ',name ,list) |
| 195 | (mh-funcall-if-exists | 195 | (mh-funcall-if-exists |
| @@ -288,27 +288,28 @@ Use SEQUENCE-MAP if display is limited; DEFAULT-MAP otherwise." | |||
| 288 | ;; XEmacs specific code | 288 | ;; XEmacs specific code |
| 289 | (mh-do-in-xemacs | 289 | (mh-do-in-xemacs |
| 290 | (defvar mh-tool-bar-folder-vector-map | 290 | (defvar mh-tool-bar-folder-vector-map |
| 291 | ',(loop for button in folder-buttons | 291 | (list ,@(loop for button in folder-buttons |
| 292 | for vector in folder-vectors | 292 | for vector in folder-vectors |
| 293 | collect (cons button vector))) | 293 | collect `(cons ',button ,vector)))) |
| 294 | (defvar mh-tool-bar-show-vector-map | 294 | (defvar mh-tool-bar-show-vector-map |
| 295 | ',(loop for button in show-buttons | 295 | (list ,@(loop for button in show-buttons |
| 296 | for vector in show-vectors | 296 | for vector in show-vectors |
| 297 | collect (cons button vector))) | 297 | collect `(cons ',button ,vector)))) |
| 298 | (defvar mh-tool-bar-letter-vector-map | 298 | (defvar mh-tool-bar-letter-vector-map |
| 299 | ',(loop for button in letter-buttons | 299 | (list ,@(loop for button in letter-buttons |
| 300 | for vector in letter-vectors | 300 | for vector in letter-vectors |
| 301 | collect (cons button vector))) | 301 | collect `(cons ',button ,vector)))) |
| 302 | (defvar mh-tool-bar-folder-buttons nil) | 302 | (defvar mh-tool-bar-folder-buttons) |
| 303 | (defvar mh-tool-bar-show-buttons nil) | 303 | (defvar mh-tool-bar-show-buttons) |
| 304 | (defvar mh-tool-bar-letter-buttons nil) | 304 | (defvar mh-tool-bar-letter-buttons) |
| 305 | ;; Custom setter functions | 305 | ;; Custom setter functions |
| 306 | (defun mh-tool-bar-letter-buttons-set (symbol value) | 306 | (defun mh-tool-bar-letter-buttons-set (symbol value) |
| 307 | (set-default symbol value) | 307 | (set-default symbol value) |
| 308 | (when mh-xemacs-has-tool-bar-flag | 308 | (when mh-xemacs-has-tool-bar-flag |
| 309 | (setq mh-tool-bar-letter-buttons | 309 | (setq mh-tool-bar-letter-buttons |
| 310 | (loop for b in value | 310 | (loop for b in value |
| 311 | collect (cdr (assoc b mh-tool-bar-letter-vector-map)))))) | 311 | collect (cdr |
| 312 | (assoc b mh-tool-bar-letter-vector-map)))))) | ||
| 312 | (defun mh-tool-bar-folder-buttons-set (symbol value) | 313 | (defun mh-tool-bar-folder-buttons-set (symbol value) |
| 313 | (set-default symbol value) | 314 | (set-default symbol value) |
| 314 | (when mh-xemacs-has-tool-bar-flag | 315 | (when mh-xemacs-has-tool-bar-flag |
| @@ -320,13 +321,16 @@ Use SEQUENCE-MAP if display is limited; DEFAULT-MAP otherwise." | |||
| 320 | collect (cdr (assoc b mh-tool-bar-show-vector-map)))))) | 321 | collect (cdr (assoc b mh-tool-bar-show-vector-map)))))) |
| 321 | (defun mh-tool-bar-init (mode) | 322 | (defun mh-tool-bar-init (mode) |
| 322 | "Install tool bar in MODE." | 323 | "Install tool bar in MODE." |
| 323 | (let ((tool-bar (cond ((eq mode :folder) mh-tool-bar-folder-buttons) | 324 | (when mh-xemacs-use-tool-bar-flag |
| 324 | ((eq mode :letter) mh-tool-bar-letter-buttons) | 325 | (let ((tool-bar (cond ((eq mode :folder) |
| 325 | ((eq mode :show) mh-tool-bar-show-buttons))) | 326 | mh-tool-bar-folder-buttons) |
| 326 | (height 37) | 327 | ((eq mode :letter) |
| 327 | (width 40) | 328 | mh-tool-bar-letter-buttons) |
| 328 | (buffer (current-buffer))) | 329 | ((eq mode :show) |
| 329 | (when mh-xemacs-use-tool-bar-flag | 330 | mh-tool-bar-show-buttons))) |
| 331 | (height 37) | ||
| 332 | (width 40) | ||
| 333 | (buffer (current-buffer))) | ||
| 330 | (cond | 334 | (cond |
| 331 | ((eq mh-xemacs-tool-bar-position 'top) | 335 | ((eq mh-xemacs-tool-bar-position 'top) |
| 332 | (set-specifier top-toolbar tool-bar buffer) | 336 | (set-specifier top-toolbar tool-bar buffer) |
| @@ -367,8 +371,9 @@ Use SEQUENCE-MAP if display is limited; DEFAULT-MAP otherwise." | |||
| 367 | for y in letter-docs | 371 | for y in letter-docs |
| 368 | collect `(const :tag ,y ,x))) | 372 | collect `(const :tag ,y ,x))) |
| 369 | ;;:package-version '(MH-E "7.1") | 373 | ;;:package-version '(MH-E "7.1") |
| 370 | )))) | 374 | )))) |
| 371 | 375 | ||
| 376 | ;; The icon names are duplicated in the Makefile and mh-xemacs.el. | ||
| 372 | (mh-tool-bar-define | 377 | (mh-tool-bar-define |
| 373 | ((:folder mh-inc-folder mh-mime-save-parts | 378 | ((:folder mh-inc-folder mh-mime-save-parts |
| 374 | mh-previous-undeleted-msg mh-page-msg | 379 | mh-previous-undeleted-msg mh-page-msg |
diff --git a/lisp/net/goto-addr.el b/lisp/net/goto-addr.el index 89695b61b36..44970f7aaf3 100644 --- a/lisp/net/goto-addr.el +++ b/lisp/net/goto-addr.el | |||
| @@ -250,6 +250,7 @@ Also fontifies the buffer appropriately (see `goto-address-fontify-p' and | |||
| 250 | (interactive) | 250 | (interactive) |
| 251 | (if goto-address-highlight-p | 251 | (if goto-address-highlight-p |
| 252 | (goto-address-fontify))) | 252 | (goto-address-fontify))) |
| 253 | ;;;###autoload(put 'goto-address 'safe-local-eval-function t) | ||
| 253 | 254 | ||
| 254 | (provide 'goto-addr) | 255 | (provide 'goto-addr) |
| 255 | 256 | ||
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index c94ec48b76d..cb5a6d75331 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -3572,7 +3572,8 @@ This will break if COMMAND prints a newline, followed by the value of | |||
| 3572 | ;; for `find-grep-dired' and `find-name-dired' in Emacs 22. | 3572 | ;; for `find-grep-dired' and `find-name-dired' in Emacs 22. |
| 3573 | (if (tramp-tramp-file-p default-directory) | 3573 | (if (tramp-tramp-file-p default-directory) |
| 3574 | (with-parsed-tramp-file-name default-directory nil | 3574 | (with-parsed-tramp-file-name default-directory nil |
| 3575 | (let ((asynchronous (string-match "[ \t]*&[ \t]*\\'" command)) | 3575 | (let ((curbuf (current-buffer)) |
| 3576 | (asynchronous (string-match "[ \t]*&[ \t]*\\'" command)) | ||
| 3576 | status) | 3577 | status) |
| 3577 | (unless output-buffer | 3578 | (unless output-buffer |
| 3578 | (setq output-buffer | 3579 | (setq output-buffer |
| @@ -3674,6 +3675,7 @@ This will break if COMMAND prints a newline, followed by the value of | |||
| 3674 | (unless (zerop (buffer-size)) | 3675 | (unless (zerop (buffer-size)) |
| 3675 | (when tramp-display-shell-command-buffer | 3676 | (when tramp-display-shell-command-buffer |
| 3676 | (display-buffer output-buffer))) | 3677 | (display-buffer output-buffer))) |
| 3678 | (set-buffer curbuf) | ||
| 3677 | status)) | 3679 | status)) |
| 3678 | ;; The following is only executed if something strange was | 3680 | ;; The following is only executed if something strange was |
| 3679 | ;; happening. Emit a helpful message and do it anyway. | 3681 | ;; happening. Emit a helpful message and do it anyway. |
diff --git a/lisp/pcvs-defs.el b/lisp/pcvs-defs.el index 127a550b28c..e2c6396bdb2 100644 --- a/lisp/pcvs-defs.el +++ b/lisp/pcvs-defs.el | |||
| @@ -239,7 +239,10 @@ The CMD used for `cvs-mode-commit' is \"message\". For that special | |||
| 239 | This expression will be evaluated in an environment where DIR is set to | 239 | This expression will be evaluated in an environment where DIR is set to |
| 240 | the directory name of the cvs buffer.") | 240 | the directory name of the cvs buffer.") |
| 241 | 241 | ||
| 242 | (defvar cvs-temp-buffer-name '(expand-file-name " *cvs-tmp*" dir) | 242 | (defvar cvs-temp-buffer-name |
| 243 | ;; Was '(expand-file-name " *cvs-tmp*" dir), but that causes them to | ||
| 244 | ;; become non-hidden if uniquification is done `forward'. | ||
| 245 | " *cvs-tmp*" | ||
| 243 | "*Name of the cvs temporary buffer. | 246 | "*Name of the cvs temporary buffer. |
| 244 | Output from cvs is placed here for asynchronous commands.") | 247 | Output from cvs is placed here for asynchronous commands.") |
| 245 | 248 | ||
diff --git a/lisp/play/dunnet.el b/lisp/play/dunnet.el index 2c6a75da03e..ae8a62c48f1 100644 --- a/lisp/play/dunnet.el +++ b/lisp/play/dunnet.el | |||
| @@ -1304,7 +1304,7 @@ for a moment, then straighten yourself up. | |||
| 1304 | (condition-case nil | 1304 | (condition-case nil |
| 1305 | (dun-rot13) | 1305 | (dun-rot13) |
| 1306 | (error (yank))) | 1306 | (error (yank))) |
| 1307 | (eval-current-buffer) | 1307 | (eval-buffer) |
| 1308 | (kill-buffer (current-buffer))) | 1308 | (kill-buffer (current-buffer))) |
| 1309 | (switch-to-buffer old-buffer) | 1309 | (switch-to-buffer old-buffer) |
| 1310 | result)) | 1310 | result)) |
| @@ -2576,7 +2576,7 @@ treasures for points?" "4" "four") | |||
| 2576 | (insert ")") | 2576 | (insert ")") |
| 2577 | (setq eval-error nil) | 2577 | (setq eval-error nil) |
| 2578 | (condition-case nil | 2578 | (condition-case nil |
| 2579 | (eval-current-buffer) | 2579 | (eval-buffer) |
| 2580 | (error (setq eval-error t))) | 2580 | (error (setq eval-error t))) |
| 2581 | (kill-buffer (current-buffer)) | 2581 | (kill-buffer (current-buffer)) |
| 2582 | (switch-to-buffer "*dungeon*") | 2582 | (switch-to-buffer "*dungeon*") |
diff --git a/lisp/play/hanoi.el b/lisp/play/hanoi.el index 296ca82b64a..40a96f4e6c2 100644 --- a/lisp/play/hanoi.el +++ b/lisp/play/hanoi.el | |||
| @@ -399,9 +399,8 @@ BITS must be of length nrings. Start at START-TIME." | |||
| 399 | ;; update display and pause, quitting with a pithy comment if the user | 399 | ;; update display and pause, quitting with a pithy comment if the user |
| 400 | ;; hits a key. | 400 | ;; hits a key. |
| 401 | (defun hanoi-sit-for (seconds) | 401 | (defun hanoi-sit-for (seconds) |
| 402 | (sit-for seconds) | 402 | (unless (sit-for seconds) |
| 403 | (if (input-pending-p) | 403 | (signal 'quit '("I can tell you've had enough")))) |
| 404 | (signal 'quit '("I can tell you've had enough")))) | ||
| 405 | 404 | ||
| 406 | ;; move ring to a given buffer position and update ring's car. | 405 | ;; move ring to a given buffer position and update ring's car. |
| 407 | (defun hanoi-ring-to-pos (ring pos) | 406 | (defun hanoi-ring-to-pos (ring pos) |
diff --git a/lisp/play/landmark.el b/lisp/play/landmark.el index 7ec6f9bb187..1bd1c7ec48a 100644 --- a/lisp/play/landmark.el +++ b/lisp/play/landmark.el | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | ;;;_* Usage | 10 | ;;;_* Usage |
| 11 | ;;; Just type | 11 | ;;; Just type |
| 12 | ;;; M-x eval-current-buffer | 12 | ;;; M-x eval-buffer |
| 13 | ;;; M-x lm-test-run | 13 | ;;; M-x lm-test-run |
| 14 | 14 | ||
| 15 | 15 | ||
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index d7e1ecb67e1..9dc74264da8 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el | |||
| @@ -438,7 +438,7 @@ An example is: | |||
| 438 | 438 | ||
| 439 | (defcustom ada-which-compiler 'gnat | 439 | (defcustom ada-which-compiler 'gnat |
| 440 | "*Name of the compiler to use. | 440 | "*Name of the compiler to use. |
| 441 | This will determine what features are made available through the ada-mode. | 441 | This will determine what features are made available through the Ada mode. |
| 442 | The possible choices are : | 442 | The possible choices are : |
| 443 | `gnat': Use Ada Core Technologies' Gnat compiler. Add some cross-referencing | 443 | `gnat': Use Ada Core Technologies' Gnat compiler. Add some cross-referencing |
| 444 | features | 444 | features |
| @@ -460,7 +460,7 @@ The extensions should include a `.' if needed.") | |||
| 460 | The extensions should include a `.' if needed.") | 460 | The extensions should include a `.' if needed.") |
| 461 | 461 | ||
| 462 | (defvar ada-mode-menu (make-sparse-keymap "Ada") | 462 | (defvar ada-mode-menu (make-sparse-keymap "Ada") |
| 463 | "Menu for ada-mode.") | 463 | "Menu for Ada mode.") |
| 464 | 464 | ||
| 465 | (defvar ada-mode-map (make-sparse-keymap) | 465 | (defvar ada-mode-map (make-sparse-keymap) |
| 466 | "Local keymap used for Ada mode.") | 466 | "Local keymap used for Ada mode.") |
| @@ -728,7 +728,7 @@ each type of entity that can be found in an Ada file.") | |||
| 728 | ;;------------------------------------------------------------ | 728 | ;;------------------------------------------------------------ |
| 729 | 729 | ||
| 730 | (defun ada-compile-mouse-goto-error () | 730 | (defun ada-compile-mouse-goto-error () |
| 731 | "Mouse interface for ada-compile-goto-error." | 731 | "Mouse interface for `ada-compile-goto-error'." |
| 732 | (interactive) | 732 | (interactive) |
| 733 | (mouse-set-point last-input-event) | 733 | (mouse-set-point last-input-event) |
| 734 | (ada-compile-goto-error (point)) | 734 | (ada-compile-goto-error (point)) |
| @@ -906,7 +906,7 @@ declares it as a word constituent." | |||
| 906 | (setq change (cdr change))))))) | 906 | (setq change (cdr change))))))) |
| 907 | 907 | ||
| 908 | (defun ada-deactivate-properties () | 908 | (defun ada-deactivate-properties () |
| 909 | "Deactivate ada-mode's properties handling. | 909 | "Deactivate Ada mode's properties handling. |
| 910 | This would be a duplicate of font-lock if both are used at the same time." | 910 | This would be a duplicate of font-lock if both are used at the same time." |
| 911 | (remove-hook 'after-change-functions 'ada-after-change-function t)) | 911 | (remove-hook 'after-change-functions 'ada-after-change-function t)) |
| 912 | 912 | ||
| @@ -977,7 +977,7 @@ If parse-result is non-nil, use is instead of calling `parse-partial-sexp'." | |||
| 977 | 977 | ||
| 978 | ;;------------------------------------------------------------------ | 978 | ;;------------------------------------------------------------------ |
| 979 | ;; Contextual menus | 979 | ;; Contextual menus |
| 980 | ;; The Ada-mode comes with contextual menus, bound by default to the right | 980 | ;; The Ada mode comes with contextual menus, bound by default to the right |
| 981 | ;; mouse button. | 981 | ;; mouse button. |
| 982 | ;; Add items to this menu by modifying `ada-contextual-menu'. Note that the | 982 | ;; Add items to this menu by modifying `ada-contextual-menu'. Note that the |
| 983 | ;; variable `ada-contextual-menu-on-identifier' is set automatically to t | 983 | ;; variable `ada-contextual-menu-on-identifier' is set automatically to t |
| @@ -1419,7 +1419,7 @@ If you use ada-xref.el: | |||
| 1419 | 1419 | ||
| 1420 | ;;----------------------------------------------------------------- | 1420 | ;;----------------------------------------------------------------- |
| 1421 | ;; auto-casing | 1421 | ;; auto-casing |
| 1422 | ;; Since Ada is case-insensitive, the Ada-mode provides an extensive set of | 1422 | ;; Since Ada is case-insensitive, the Ada mode provides an extensive set of |
| 1423 | ;; functions to auto-case identifiers, keywords, ... | 1423 | ;; functions to auto-case identifiers, keywords, ... |
| 1424 | ;; The basic rules for autocasing are defined through the variables | 1424 | ;; The basic rules for autocasing are defined through the variables |
| 1425 | ;; `ada-case-attribute', `ada-case-keyword' and `ada-case-identifier'. These | 1425 | ;; `ada-case-attribute', `ada-case-keyword' and `ada-case-identifier'. These |
| @@ -1766,7 +1766,7 @@ ARG is ignored, and is there for compatibility with `capitalize-word' only." | |||
| 1766 | 1766 | ||
| 1767 | (defun ada-no-auto-case (&optional arg) | 1767 | (defun ada-no-auto-case (&optional arg) |
| 1768 | "Do nothing. | 1768 | "Do nothing. |
| 1769 | This function can be used for the auto-casing variables in the ada-mode, to | 1769 | This function can be used for the auto-casing variables in the Ada mode, to |
| 1770 | adapt to unusal auto-casing schemes. Since it does nothing, you can for | 1770 | adapt to unusal auto-casing schemes. Since it does nothing, you can for |
| 1771 | instance use it for `ada-case-identifier' if you don't want any special | 1771 | instance use it for `ada-case-identifier' if you don't want any special |
| 1772 | auto-casing for identifiers, whereas keywords have to be lower-cased. | 1772 | auto-casing for identifiers, whereas keywords have to be lower-cased. |
| @@ -2122,7 +2122,7 @@ Return the equivalent internal parameter list." | |||
| 2122 | ;; that are evaluated) | 2122 | ;; that are evaluated) |
| 2123 | ;; Thus the total indentation for a line is the column number of the reference | 2123 | ;; Thus the total indentation for a line is the column number of the reference |
| 2124 | ;; position plus whatever value the evaluation of the second element provides. | 2124 | ;; position plus whatever value the evaluation of the second element provides. |
| 2125 | ;; This mechanism is used so that the ada-mode can "explain" how the | 2125 | ;; This mechanism is used so that the Ada mode can "explain" how the |
| 2126 | ;; indentation was calculated, by showing which variables were used. | 2126 | ;; indentation was calculated, by showing which variables were used. |
| 2127 | ;; | 2127 | ;; |
| 2128 | ;; The indentation itself is done in only one pass: first we try to guess in | 2128 | ;; The indentation itself is done in only one pass: first we try to guess in |
| @@ -5268,7 +5268,7 @@ Use `M-x widen' to go back to the full visibility for the buffer." | |||
| 5268 | 5268 | ||
| 5269 | ;; --------------------------------------------------------- | 5269 | ;; --------------------------------------------------------- |
| 5270 | ;; Automatic generation of code | 5270 | ;; Automatic generation of code |
| 5271 | ;; The Ada-mode has a set of function to automatically generate a subprogram | 5271 | ;; The Ada mode has a set of function to automatically generate a subprogram |
| 5272 | ;; or package body from its spec. | 5272 | ;; or package body from its spec. |
| 5273 | ;; These function only use a primary and basic algorithm, this could use a | 5273 | ;; These function only use a primary and basic algorithm, this could use a |
| 5274 | ;; lot of improvement. | 5274 | ;; lot of improvement. |
| @@ -5440,7 +5440,7 @@ This function typically is to be hooked into `ff-file-created-hooks'." | |||
| 5440 | ;; Read the special cases for exceptions | 5440 | ;; Read the special cases for exceptions |
| 5441 | (ada-case-read-exceptions) | 5441 | (ada-case-read-exceptions) |
| 5442 | 5442 | ||
| 5443 | ;; Setup auto-loading of the other ada-mode files. | 5443 | ;; Setup auto-loading of the other Ada mode files. |
| 5444 | (if (equal ada-which-compiler 'gnat) | 5444 | (if (equal ada-which-compiler 'gnat) |
| 5445 | (progn | 5445 | (progn |
| 5446 | (autoload 'ada-change-prj "ada-xref" nil t) | 5446 | (autoload 'ada-change-prj "ada-xref" nil t) |
diff --git a/lisp/progmodes/cc-awk.el b/lisp/progmodes/cc-awk.el index 284a2edbe94..c93843f3f82 100644 --- a/lisp/progmodes/cc-awk.el +++ b/lisp/progmodes/cc-awk.el | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | ;; 1. The AWK Mode syntax table. | 32 | ;; 1. The AWK Mode syntax table. |
| 33 | ;; 2. Regular expressions for analysing AWK code. | 33 | ;; 2. Regular expressions for analysing AWK code. |
| 34 | ;; 3. Indentation calculation stuff ("c-awk-NL-prop text-property"). | 34 | ;; 3. Indentation calculation stuff ("c-awk-NL-prop text-property"). |
| 35 | ;; 4. Syntax-table property/font-locking stuff, but not including the | 35 | ;; 4. Syntax-table property/font-locking stuff, including the |
| 36 | ;; font-lock-keywords setting. | 36 | ;; font-lock-keywords setting. |
| 37 | ;; 5. The AWK Mode before/after-change-functions. | 37 | ;; 5. The AWK Mode before/after-change-functions. |
| 38 | ;; 6. AWK Mode specific versions of commands like beginning-of-defun. | 38 | ;; 6. AWK Mode specific versions of commands like beginning-of-defun. |
| @@ -107,7 +107,8 @@ | |||
| 107 | (eval-and-compile | 107 | (eval-and-compile |
| 108 | (defconst c-awk-escaped-nl "\\\\[\n\r]")) | 108 | (defconst c-awk-escaped-nl "\\\\[\n\r]")) |
| 109 | ;; Matches an escaped newline. | 109 | ;; Matches an escaped newline. |
| 110 | (defconst c-awk-escaped-nls* (concat "\\(" c-awk-escaped-nl "\\)*")) | 110 | (eval-and-compile |
| 111 | (defconst c-awk-escaped-nls* (concat "\\(" c-awk-escaped-nl "\\)*"))) | ||
| 111 | ;; Matches a possibly empty sequence of escaped newlines. Used in | 112 | ;; Matches a possibly empty sequence of escaped newlines. Used in |
| 112 | ;; awk-font-lock-keywords. | 113 | ;; awk-font-lock-keywords. |
| 113 | ;; (defconst c-awk-escaped-nls*-with-space* | 114 | ;; (defconst c-awk-escaped-nls*-with-space* |
| @@ -852,6 +853,96 @@ | |||
| 852 | (c-awk-advise-fl-for-awk-region lazy-lock-defer-rest-after-change) | 853 | (c-awk-advise-fl-for-awk-region lazy-lock-defer-rest-after-change) |
| 853 | (c-awk-advise-fl-for-awk-region lazy-lock-defer-line-after-change) | 854 | (c-awk-advise-fl-for-awk-region lazy-lock-defer-line-after-change) |
| 854 | 855 | ||
| 856 | ;; Awk regexps written with help from Peter Galbraith | ||
| 857 | ;; <galbraith@mixing.qc.dfo.ca>. | ||
| 858 | ;; Take GNU Emacs's 'words out of the following regexp-opts. They dont work | ||
| 859 | ;; in Xemacs 21.4.4. acm 2002/9/19. | ||
| 860 | (defconst awk-font-lock-keywords | ||
| 861 | (eval-when-compile | ||
| 862 | (list | ||
| 863 | ;; Function names. | ||
| 864 | '("^\\s *\\(func\\(tion\\)?\\)\\>\\s *\\(\\sw+\\)?" | ||
| 865 | (1 font-lock-keyword-face) (3 font-lock-function-name-face nil t)) | ||
| 866 | ;; | ||
| 867 | ;; Variable names. | ||
| 868 | (cons | ||
| 869 | (concat "\\<" | ||
| 870 | (regexp-opt | ||
| 871 | '("ARGC" "ARGIND" "ARGV" "BINMODE" "CONVFMT" "ENVIRON" | ||
| 872 | "ERRNO" "FIELDWIDTHS" "FILENAME" "FNR" "FS" "IGNORECASE" | ||
| 873 | "LINT" "NF" "NR" "OFMT" "OFS" "ORS" "PROCINFO" "RLENGTH" | ||
| 874 | "RS" "RSTART" "RT" "SUBSEP" "TEXTDOMAIN") t) "\\>") | ||
| 875 | 'font-lock-variable-name-face) | ||
| 876 | |||
| 877 | ;; Special file names. (acm, 2002/7/22) | ||
| 878 | ;; The following regexp was created by first evaluating this in GNU Emacs 21.1: | ||
| 879 | ;; (regexp-opt '("/dev/stdin" "/dev/stdout" "/dev/stderr" "/dev/fd/n" "/dev/pid" | ||
| 880 | ;; "/dev/ppid" "/dev/pgrpid" "/dev/user") 'words) | ||
| 881 | ;; , removing the "?:" from each "\\(?:" (for backward compatibility with older Emacsen) | ||
| 882 | ;; , replacing the "n" in "dev/fd/n" with "[0-9]+" | ||
| 883 | ;; , removing the unwanted \\< at the beginning, and finally filling out the | ||
| 884 | ;; regexp so that a " must come before, and either a " or heuristic stuff after. | ||
| 885 | ;; The surrounding quotes are fontified along with the filename, since, semantically, | ||
| 886 | ;; they are an indivisible unit. | ||
| 887 | '("\\(\"/dev/\\(fd/[0-9]+\\|p\\(\\(\\(gr\\)?p\\)?id\\)\\|\ | ||
| 888 | std\\(err\\|in\\|out\\)\\|user\\)\\)\\>\ | ||
| 889 | \\(\\(\"\\)\\|\\([^\"/\n\r][^\"\n\r]*\\)?$\\)" | ||
| 890 | (1 font-lock-variable-name-face t) | ||
| 891 | (8 font-lock-variable-name-face t t)) | ||
| 892 | ;; Do the same (almost) with | ||
| 893 | ;; (regexp-opt '("/inet/tcp/lport/rhost/rport" "/inet/udp/lport/rhost/rport" | ||
| 894 | ;; "/inet/raw/lport/rhost/rport") 'words) | ||
| 895 | ;; This cannot be combined with the above pattern, because the match number | ||
| 896 | ;; for the (optional) closing \" would then exceed 9. | ||
| 897 | '("\\(\"/inet/\\(\\(raw\\|\\(tc\\|ud\\)p\\)/lport/rhost/rport\\)\\)\\>\ | ||
| 898 | \\(\\(\"\\)\\|\\([^\"/\n\r][^\"\n\r]*\\)?$\\)" | ||
| 899 | (1 font-lock-variable-name-face t) | ||
| 900 | (6 font-lock-variable-name-face t t)) | ||
| 901 | |||
| 902 | ;; Keywords. | ||
| 903 | (concat "\\<" | ||
| 904 | (regexp-opt | ||
| 905 | '("BEGIN" "END" "break" "continue" "delete" "do" "else" | ||
| 906 | "exit" "for" "getline" "if" "in" "next" "nextfile" | ||
| 907 | "return" "while") | ||
| 908 | t) "\\>") | ||
| 909 | |||
| 910 | ;; Builtins. | ||
| 911 | `(eval . (list | ||
| 912 | ,(concat | ||
| 913 | "\\<" | ||
| 914 | (regexp-opt | ||
| 915 | '("adump" "and" "asort" "atan2" "bindtextdomain" "close" | ||
| 916 | "compl" "cos" "dcgettext" "exp" "extension" "fflush" | ||
| 917 | "gensub" "gsub" "index" "int" "length" "log" "lshift" | ||
| 918 | "match" "mktime" "or" "print" "printf" "rand" "rshift" | ||
| 919 | "sin" "split" "sprintf" "sqrt" "srand" "stopme" | ||
| 920 | "strftime" "strtonum" "sub" "substr" "system" | ||
| 921 | "systime" "tolower" "toupper" "xor") t) | ||
| 922 | "\\>") | ||
| 923 | 0 c-preprocessor-face-name)) | ||
| 924 | |||
| 925 | ;; gawk debugging keywords. (acm, 2002/7/21) | ||
| 926 | ;; (Removed, 2003/6/6. These functions are now fontified as built-ins) | ||
| 927 | ;; (list (concat "\\<" (regexp-opt '("adump" "stopme") t) "\\>") | ||
| 928 | ;; 0 'font-lock-warning-face) | ||
| 929 | |||
| 930 | ;; User defined functions with an apparent spurious space before the | ||
| 931 | ;; opening parenthesis. acm, 2002/5/30. | ||
| 932 | `(,(concat "\\(\\w\\|_\\)" c-awk-escaped-nls* "\\s " | ||
| 933 | c-awk-escaped-nls*-with-space* "(") | ||
| 934 | (0 'font-lock-warning-face)) | ||
| 935 | |||
| 936 | ;; Space after \ in what looks like an escaped newline. 2002/5/31 | ||
| 937 | '("\\\\\\s +$" 0 font-lock-warning-face t) | ||
| 938 | |||
| 939 | ;; Unbalanced string (") or regexp (/) delimiters. 2002/02/16. | ||
| 940 | '("\\s|" 0 font-lock-warning-face t nil) | ||
| 941 | ;; gawk 3.1 localizable strings ( _"translate me!"). 2002/5/21 | ||
| 942 | '("\\(_\\)\\s|" 1 font-lock-warning-face) | ||
| 943 | '("\\(_\\)\\s\"" 1 font-lock-string-face) ; FIXME! not for XEmacs. 2002/10/6 | ||
| 944 | )) | ||
| 945 | "Default expressions to highlight in AWK mode.") | ||
| 855 | 946 | ||
| 856 | ;; ACM 2002/9/29. Movement functions, e.g. for C-M-a and C-M-e | 947 | ;; ACM 2002/9/29. Movement functions, e.g. for C-M-a and C-M-e |
| 857 | 948 | ||
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index d39c4880dcc..ecad9174e57 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el | |||
| @@ -69,14 +69,15 @@ | |||
| 69 | (not (fboundp 'push))) | 69 | (not (fboundp 'push))) |
| 70 | (cc-load "cc-fix"))) | 70 | (cc-load "cc-fix"))) |
| 71 | 71 | ||
| 72 | (eval-after-load "font-lock" | 72 | ; (eval-after-load "font-lock" ; 2006-07-09. font-lock is now preloaded |
| 73 | '(if (and (not (featurep 'cc-fix)) ; only load the file once. | 73 | ; ' |
| 74 | (if (and (not (featurep 'cc-fix)) ; only load the file once. | ||
| 74 | (featurep 'xemacs) ; There is now (2005/12) code in GNU Emacs CVS | 75 | (featurep 'xemacs) ; There is now (2005/12) code in GNU Emacs CVS |
| 75 | ; to make the call to f-l-c-k throw an error. | 76 | ; to make the call to f-l-c-k throw an error. |
| 76 | (let (font-lock-keywords) | 77 | (let (font-lock-keywords) |
| 77 | (font-lock-compile-keywords '("\\<\\>")) | 78 | (font-lock-compile-keywords '("\\<\\>")) |
| 78 | font-lock-keywords)) ; did the previous call foul this up? | 79 | font-lock-keywords)) ; did the previous call foul this up? |
| 79 | (load "cc-fix"))) | 80 | (load "cc-fix")) ;) |
| 80 | 81 | ||
| 81 | ;; The above takes care of the delayed loading, but this is necessary | 82 | ;; The above takes care of the delayed loading, but this is necessary |
| 82 | ;; to ensure correct byte compilation. | 83 | ;; to ensure correct byte compilation. |
| @@ -1034,35 +1035,35 @@ MODE is either a mode symbol or a list of mode symbols." | |||
| 1034 | 1035 | ||
| 1035 | 1036 | ||
| 1036 | ;; Make edebug understand the macros. | 1037 | ;; Make edebug understand the macros. |
| 1037 | (eval-after-load "edebug" | 1038 | ;(eval-after-load "edebug" ; 2006-07-09: def-edebug-spec is now in subr.el. |
| 1038 | '(progn | 1039 | ; '(progn |
| 1039 | (def-edebug-spec cc-eval-when-compile t) | 1040 | (def-edebug-spec cc-eval-when-compile t) |
| 1040 | (def-edebug-spec c-point t) | 1041 | (def-edebug-spec c-point t) |
| 1041 | (def-edebug-spec c-set-region-active t) | 1042 | (def-edebug-spec c-set-region-active t) |
| 1042 | (def-edebug-spec c-safe t) | 1043 | (def-edebug-spec c-safe t) |
| 1043 | (def-edebug-spec c-save-buffer-state let*) | 1044 | (def-edebug-spec c-save-buffer-state let*) |
| 1044 | (def-edebug-spec c-tentative-buffer-changes t) | 1045 | (def-edebug-spec c-tentative-buffer-changes t) |
| 1045 | (def-edebug-spec c-forward-syntactic-ws t) | 1046 | (def-edebug-spec c-forward-syntactic-ws t) |
| 1046 | (def-edebug-spec c-backward-syntactic-ws t) | 1047 | (def-edebug-spec c-backward-syntactic-ws t) |
| 1047 | (def-edebug-spec c-forward-sexp t) | 1048 | (def-edebug-spec c-forward-sexp t) |
| 1048 | (def-edebug-spec c-backward-sexp t) | 1049 | (def-edebug-spec c-backward-sexp t) |
| 1049 | (def-edebug-spec c-up-list-forward t) | 1050 | (def-edebug-spec c-up-list-forward t) |
| 1050 | (def-edebug-spec c-up-list-backward t) | 1051 | (def-edebug-spec c-up-list-backward t) |
| 1051 | (def-edebug-spec c-down-list-forward t) | 1052 | (def-edebug-spec c-down-list-forward t) |
| 1052 | (def-edebug-spec c-down-list-backward t) | 1053 | (def-edebug-spec c-down-list-backward t) |
| 1053 | (def-edebug-spec c-add-syntax t) | 1054 | (def-edebug-spec c-add-syntax t) |
| 1054 | (def-edebug-spec c-add-class-syntax t) | 1055 | (def-edebug-spec c-add-class-syntax t) |
| 1055 | (def-edebug-spec c-benign-error t) | 1056 | (def-edebug-spec c-benign-error t) |
| 1056 | (def-edebug-spec c-with-syntax-table t) | 1057 | (def-edebug-spec c-with-syntax-table t) |
| 1057 | (def-edebug-spec c-skip-ws-forward t) | 1058 | (def-edebug-spec c-skip-ws-forward t) |
| 1058 | (def-edebug-spec c-skip-ws-backward t) | 1059 | (def-edebug-spec c-skip-ws-backward t) |
| 1059 | (def-edebug-spec c-major-mode-is t) | 1060 | (def-edebug-spec c-major-mode-is t) |
| 1060 | (def-edebug-spec c-put-char-property t) | 1061 | (def-edebug-spec c-put-char-property t) |
| 1061 | (def-edebug-spec c-get-char-property t) | 1062 | (def-edebug-spec c-get-char-property t) |
| 1062 | (def-edebug-spec c-clear-char-property t) | 1063 | (def-edebug-spec c-clear-char-property t) |
| 1063 | (def-edebug-spec c-clear-char-properties t) | 1064 | (def-edebug-spec c-clear-char-properties t) |
| 1064 | (def-edebug-spec c-put-overlay t) | 1065 | (def-edebug-spec c-put-overlay t) |
| 1065 | (def-edebug-spec c-delete-overlay t))) | 1066 | (def-edebug-spec c-delete-overlay t) ;)) |
| 1066 | 1067 | ||
| 1067 | 1068 | ||
| 1068 | ;;; Functions. | 1069 | ;;; Functions. |
| @@ -1738,9 +1739,10 @@ constant. A file is identified by its base name." | |||
| 1738 | ,@(and pre-files `(',pre-files)))))) | 1739 | ,@(and pre-files `(',pre-files)))))) |
| 1739 | 1740 | ||
| 1740 | (put 'c-lang-defconst 'lisp-indent-function 1) | 1741 | (put 'c-lang-defconst 'lisp-indent-function 1) |
| 1741 | (eval-after-load "edebug" | 1742 | ;(eval-after-load "edebug" ; 2006-07-09: def-edebug-spec is now in subr.el. |
| 1742 | '(def-edebug-spec c-lang-defconst | 1743 | ; ' |
| 1743 | (&define name [&optional stringp] [&rest sexp def-form]))) | 1744 | (def-edebug-spec c-lang-defconst |
| 1745 | (&define name [&optional stringp] [&rest sexp def-form])) | ||
| 1744 | 1746 | ||
| 1745 | (defun c-define-lang-constant (name bindings &optional pre-files) | 1747 | (defun c-define-lang-constant (name bindings &optional pre-files) |
| 1746 | ;; Used by `c-lang-defconst'. | 1748 | ;; Used by `c-lang-defconst'. |
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el index 75d631ac399..9c051506888 100644 --- a/lisp/progmodes/cc-fonts.el +++ b/lisp/progmodes/cc-fonts.el | |||
| @@ -348,15 +348,15 @@ | |||
| 348 | highlights)))) | 348 | highlights)))) |
| 349 | nil))) | 349 | nil))) |
| 350 | 350 | ||
| 351 | (eval-after-load "edebug" | 351 | ; (eval-after-load "edebug" ; 2006-07-09: def-edebug-spec is now in subr.el. |
| 352 | '(progn | 352 | ; '(progn |
| 353 | (def-edebug-spec c-fontify-types-and-refs let*) | 353 | (def-edebug-spec c-fontify-types-and-refs let*) |
| 354 | (def-edebug-spec c-make-syntactic-matcher t) | 354 | (def-edebug-spec c-make-syntactic-matcher t) |
| 355 | ;; If there are literal quoted or backquoted highlight specs in | 355 | ;; If there are literal quoted or backquoted highlight specs in |
| 356 | ;; the call to `c-make-font-lock-search-function' then let's | 356 | ;; the call to `c-make-font-lock-search-function' then let's |
| 357 | ;; instrument the forms in them. | 357 | ;; instrument the forms in them. |
| 358 | (def-edebug-spec c-make-font-lock-search-function | 358 | (def-edebug-spec c-make-font-lock-search-function |
| 359 | (form &rest &or ("quote" (&rest form)) ("`" (&rest form)) form))))) | 359 | (form &rest &or ("quote" (&rest form)) ("`" (&rest form)) form)));)) |
| 360 | 360 | ||
| 361 | (defun c-fontify-recorded-types-and-refs () | 361 | (defun c-fontify-recorded-types-and-refs () |
| 362 | ;; Convert the ranges recorded on `c-record-type-identifiers' and | 362 | ;; Convert the ranges recorded on `c-record-type-identifiers' and |
| @@ -2268,101 +2268,7 @@ need for `pike-font-lock-extra-types'.") | |||
| 2268 | autodoc-font-lock-doc-comments))))) | 2268 | autodoc-font-lock-doc-comments))))) |
| 2269 | 2269 | ||
| 2270 | 2270 | ||
| 2271 | ;; AWK. | 2271 | ;; 2006-07-10: awk-font-lock-keywords has been moved back to cc-awk.el. |
| 2272 | |||
| 2273 | ;; Awk regexps written with help from Peter Galbraith | ||
| 2274 | ;; <galbraith@mixing.qc.dfo.ca>. | ||
| 2275 | ;; Take GNU Emacs's 'words out of the following regexp-opts. They dont work | ||
| 2276 | ;; in Xemacs 21.4.4. acm 2002/9/19. | ||
| 2277 | (eval-after-load "cc-awk" ; Evaluate while loading cc-fonts | ||
| 2278 | `(defconst awk-font-lock-keywords ; Evaluate after loading cc-awk | ||
| 2279 | ',(eval-when-compile ; Evaluate while compiling cc-fonts | ||
| 2280 | (list | ||
| 2281 | ;; Function names. | ||
| 2282 | '("^\\s *\\(func\\(tion\\)?\\)\\>\\s *\\(\\sw+\\)?" | ||
| 2283 | (1 font-lock-keyword-face) (3 font-lock-function-name-face nil t)) | ||
| 2284 | ;; | ||
| 2285 | ;; Variable names. | ||
| 2286 | (cons | ||
| 2287 | (concat "\\<" | ||
| 2288 | (regexp-opt | ||
| 2289 | '("ARGC" "ARGIND" "ARGV" "BINMODE" "CONVFMT" "ENVIRON" | ||
| 2290 | "ERRNO" "FIELDWIDTHS" "FILENAME" "FNR" "FS" "IGNORECASE" | ||
| 2291 | "LINT" "NF" "NR" "OFMT" "OFS" "ORS" "PROCINFO" "RLENGTH" | ||
| 2292 | "RS" "RSTART" "RT" "SUBSEP" "TEXTDOMAIN") t) "\\>") | ||
| 2293 | 'font-lock-variable-name-face) | ||
| 2294 | |||
| 2295 | ;; Special file names. (acm, 2002/7/22) | ||
| 2296 | ;; The following regexp was created by first evaluating this in GNU Emacs 21.1: | ||
| 2297 | ;; (regexp-opt '("/dev/stdin" "/dev/stdout" "/dev/stderr" "/dev/fd/n" "/dev/pid" | ||
| 2298 | ;; "/dev/ppid" "/dev/pgrpid" "/dev/user") 'words) | ||
| 2299 | ;; , removing the "?:" from each "\\(?:" (for backward compatibility with older Emacsen) | ||
| 2300 | ;; , replacing the "n" in "dev/fd/n" with "[0-9]+" | ||
| 2301 | ;; , removing the unwanted \\< at the beginning, and finally filling out the | ||
| 2302 | ;; regexp so that a " must come before, and either a " or heuristic stuff after. | ||
| 2303 | ;; The surrounding quotes are fontified along with the filename, since, semantically, | ||
| 2304 | ;; they are an indivisible unit. | ||
| 2305 | '("\\(\"/dev/\\(fd/[0-9]+\\|p\\(\\(\\(gr\\)?p\\)?id\\)\\|\ | ||
| 2306 | std\\(err\\|in\\|out\\)\\|user\\)\\)\\>\ | ||
| 2307 | \\(\\(\"\\)\\|\\([^\"/\n\r][^\"\n\r]*\\)?$\\)" | ||
| 2308 | (1 font-lock-variable-name-face t) | ||
| 2309 | (8 font-lock-variable-name-face t t)) | ||
| 2310 | ;; Do the same (almost) with | ||
| 2311 | ;; (regexp-opt '("/inet/tcp/lport/rhost/rport" "/inet/udp/lport/rhost/rport" | ||
| 2312 | ;; "/inet/raw/lport/rhost/rport") 'words) | ||
| 2313 | ;; This cannot be combined with the above pattern, because the match number | ||
| 2314 | ;; for the (optional) closing \" would then exceed 9. | ||
| 2315 | '("\\(\"/inet/\\(\\(raw\\|\\(tc\\|ud\\)p\\)/lport/rhost/rport\\)\\)\\>\ | ||
| 2316 | \\(\\(\"\\)\\|\\([^\"/\n\r][^\"\n\r]*\\)?$\\)" | ||
| 2317 | (1 font-lock-variable-name-face t) | ||
| 2318 | (6 font-lock-variable-name-face t t)) | ||
| 2319 | |||
| 2320 | ;; Keywords. | ||
| 2321 | (concat "\\<" | ||
| 2322 | (regexp-opt | ||
| 2323 | '("BEGIN" "END" "break" "continue" "delete" "do" "else" | ||
| 2324 | "exit" "for" "getline" "if" "in" "next" "nextfile" | ||
| 2325 | "return" "while") | ||
| 2326 | t) "\\>") | ||
| 2327 | |||
| 2328 | ;; Builtins. | ||
| 2329 | `(eval . (list | ||
| 2330 | ,(concat | ||
| 2331 | "\\<" | ||
| 2332 | (regexp-opt | ||
| 2333 | '("adump" "and" "asort" "atan2" "bindtextdomain" "close" | ||
| 2334 | "compl" "cos" "dcgettext" "exp" "extension" "fflush" | ||
| 2335 | "gensub" "gsub" "index" "int" "length" "log" "lshift" | ||
| 2336 | "match" "mktime" "or" "print" "printf" "rand" "rshift" | ||
| 2337 | "sin" "split" "sprintf" "sqrt" "srand" "stopme" | ||
| 2338 | "strftime" "strtonum" "sub" "substr" "system" | ||
| 2339 | "systime" "tolower" "toupper" "xor") t) | ||
| 2340 | "\\>") | ||
| 2341 | 0 c-preprocessor-face-name)) | ||
| 2342 | |||
| 2343 | ;; gawk debugging keywords. (acm, 2002/7/21) | ||
| 2344 | ;; (Removed, 2003/6/6. These functions are now fontified as built-ins) | ||
| 2345 | ;; (list (concat "\\<" (regexp-opt '("adump" "stopme") t) "\\>") | ||
| 2346 | ;; 0 'font-lock-warning-face) | ||
| 2347 | |||
| 2348 | ;; User defined functions with an apparent spurious space before the | ||
| 2349 | ;; opening parenthesis. acm, 2002/5/30. | ||
| 2350 | `(,(concat "\\(\\w\\|_\\)" c-awk-escaped-nls* "\\s " | ||
| 2351 | c-awk-escaped-nls*-with-space* "(") | ||
| 2352 | (0 'font-lock-warning-face)) | ||
| 2353 | |||
| 2354 | ;; Space after \ in what looks like an escaped newline. 2002/5/31 | ||
| 2355 | '("\\\\\\s +$" 0 font-lock-warning-face t) | ||
| 2356 | |||
| 2357 | ;; Unbalanced string (") or regexp (/) delimiters. 2002/02/16. | ||
| 2358 | '("\\s|" 0 font-lock-warning-face t nil) | ||
| 2359 | ;; gawk 3.1 localizable strings ( _"translate me!"). 2002/5/21 | ||
| 2360 | '("\\(_\\)\\s|" 1 font-lock-warning-face) | ||
| 2361 | '("\\(_\\)\\s\"" 1 font-lock-string-face) ; FIXME! not for XEmacs. 2002/10/6 | ||
| 2362 | )) | ||
| 2363 | "Default expressions to highlight in AWK mode.")) | ||
| 2364 | |||
| 2365 | |||
| 2366 | (cc-provide 'cc-fonts) | 2272 | (cc-provide 'cc-fonts) |
| 2367 | 2273 | ||
| 2368 | ;;; arch-tag: 2f65f405-735f-4da5-8d4b-b957844c5203 | 2274 | ;;; arch-tag: 2f65f405-735f-4da5-8d4b-b957844c5203 |
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 8120094f606..e7a0d03cc55 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el | |||
| @@ -173,9 +173,10 @@ the evaluated constant value at compile time." | |||
| 173 | `',var) | 173 | `',var) |
| 174 | 174 | ||
| 175 | (put 'c-lang-defvar 'lisp-indent-function 'defun) | 175 | (put 'c-lang-defvar 'lisp-indent-function 'defun) |
| 176 | (eval-after-load "edebug" | 176 | ; (eval-after-load "edebug" ; 2006-07-09: def-edebug-spec is now in subr.el. |
| 177 | '(def-edebug-spec c-lang-defvar | 177 | ; ' |
| 178 | (&define name def-form &optional stringp))) | 178 | (def-edebug-spec c-lang-defvar |
| 179 | (&define name def-form &optional stringp)) ;) | ||
| 179 | 180 | ||
| 180 | (eval-and-compile | 181 | (eval-and-compile |
| 181 | ;; Some helper functions used when building the language constants. | 182 | ;; Some helper functions used when building the language constants. |
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index 9eebdb2bb7f..7343ec735ea 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el | |||
| @@ -114,8 +114,9 @@ | |||
| 114 | 114 | ||
| 115 | ;; Load cc-fonts first after font-lock is loaded, since it isn't | 115 | ;; Load cc-fonts first after font-lock is loaded, since it isn't |
| 116 | ;; necessary until font locking is requested. | 116 | ;; necessary until font locking is requested. |
| 117 | (eval-after-load "font-lock" | 117 | ; (eval-after-load "font-lock" ; 2006-07-09: font-lock is now preloaded. |
| 118 | '(require 'cc-fonts)) | 118 | ; ' |
| 119 | (require 'cc-fonts) ;) | ||
| 119 | 120 | ||
| 120 | ;; cc-langs isn't loaded when we're byte compiled, so add autoload | 121 | ;; cc-langs isn't loaded when we're byte compiled, so add autoload |
| 121 | ;; directives for the interface functions. | 122 | ;; directives for the interface functions. |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 5da86972ec5..3c63d5f01b1 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -223,10 +223,15 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) | |||
| 223 | \\(.+\\):\\([0-9]+\\)\\(?:\\(:\\)\\|\\(,\\)\\)?" 1 2 nil (3 . 4)) | 223 | \\(.+\\):\\([0-9]+\\)\\(?:\\(:\\)\\|\\(,\\)\\)?" 1 2 nil (3 . 4)) |
| 224 | 224 | ||
| 225 | (gnu | 225 | (gnu |
| 226 | ;; I have no idea what this first line is supposed to match, but it | ||
| 227 | ;; makes things ambiguous with output such as "foo:344:50:blabla" since | ||
| 228 | ;; the "foo" part can match this first line (in which case the file | ||
| 229 | ;; name as "344"). To avoid this, we disallow filenames exclusively | ||
| 230 | ;; composed of digits. --Stef | ||
| 226 | "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\ | 231 | "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\ |
| 227 | \\([/.]*[a-zA-Z]:?[^ \t\n:]*\\|{standard input}\\): ?\ | 232 | \\([0-9]*[^0-9\n].*?\\): ?\ |
| 228 | \\([0-9]+\\)\\([.:]?\\)\\([0-9]+\\)?\ | 233 | \\([0-9]+\\)\\(?:\\([.:]\\)\\([0-9]+\\)\\)?\ |
| 229 | \\(?:-\\(?:\\([0-9]+\\)\\3\\)?\\.?\\([0-9]+\\)?\\)?:\ | 234 | \\(?:-\\([0-9]+\\)?\\(?:\\3\\([0-9]+\\)\\)?\\)?:\ |
| 230 | \\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\ | 235 | \\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\ |
| 231 | *\\([Ii]nfo\\(?:\\>\\|rmationa?l?\\)\\|I:\\|instantiated from\\)\\)?" | 236 | *\\([Ii]nfo\\(?:\\>\\|rmationa?l?\\)\\|I:\\|instantiated from\\)\\)?" |
| 232 | 1 (2 . 5) (4 . 6) (7 . 8)) | 237 | 1 (2 . 5) (4 . 6) (7 . 8)) |
| @@ -293,7 +298,7 @@ File = \\(.+\\), Line = \\([0-9]+\\)\\(?:, Column = \\([0-9]+\\)\\)?" | |||
| 293 | \\(?:: \\(warning:\\)?\\|$\\| ),\\)" 1 2 nil (3)) | 298 | \\(?:: \\(warning:\\)?\\|$\\| ),\\)" 1 2 nil (3)) |
| 294 | 299 | ||
| 295 | (gcov-file | 300 | (gcov-file |
| 296 | "^ *-: *\\(0\\):Source:\\(.+\\)$" | 301 | "^ *-: *\\(0\\):Source:\\(.+\\)$" |
| 297 | 2 1 nil 0 nil | 302 | 2 1 nil 0 nil |
| 298 | (1 compilation-line-face prepend) (2 compilation-info-face prepend)) | 303 | (1 compilation-line-face prepend) (2 compilation-info-face prepend)) |
| 299 | (gcov-header | 304 | (gcov-header |
| @@ -312,11 +317,11 @@ File = \\(.+\\), Line = \\([0-9]+\\)\\(?:, Column = \\([0-9]+\\)\\)?" | |||
| 312 | (1 compilation-line-face prepend)) | 317 | (1 compilation-line-face prepend)) |
| 313 | (gcov-called-line | 318 | (gcov-called-line |
| 314 | "^ *\\([0-9]+\\): *\\([0-9]+\\):.*$" | 319 | "^ *\\([0-9]+\\): *\\([0-9]+\\):.*$" |
| 315 | nil 2 nil 0 nil | 320 | nil 2 nil 0 nil |
| 316 | (0 'default t) | 321 | (0 'default t) |
| 317 | (1 compilation-info-face prepend) (2 compilation-line-face prepend)) | 322 | (1 compilation-info-face prepend) (2 compilation-line-face prepend)) |
| 318 | (gcov-never-called | 323 | (gcov-never-called |
| 319 | "^ *\\(#####\\): *\\([0-9]+\\):.*$" | 324 | "^ *\\(#####\\): *\\([0-9]+\\):.*$" |
| 320 | nil 2 nil 2 nil | 325 | nil 2 nil 2 nil |
| 321 | (0 'default t) | 326 | (0 'default t) |
| 322 | (1 compilation-error-face prepend) (2 compilation-line-face prepend)) | 327 | (1 compilation-error-face prepend) (2 compilation-line-face prepend)) |
| @@ -400,7 +405,10 @@ you may also want to change `compilation-page-delimiter'.") | |||
| 400 | "Value of `page-delimiter' in Compilation mode.") | 405 | "Value of `page-delimiter' in Compilation mode.") |
| 401 | 406 | ||
| 402 | (defvar compilation-mode-font-lock-keywords | 407 | (defvar compilation-mode-font-lock-keywords |
| 403 | '(;; configure output lines. | 408 | '(;; Don't highlight this as a compilation message. |
| 409 | ("^Compilation started at.*" | ||
| 410 | (0 '(face nil message nil help-echo nil mouse-face nil) t)) | ||
| 411 | ;; configure output lines. | ||
| 404 | ("^[Cc]hecking \\(?:[Ff]or \\|[Ii]f \\|[Ww]hether \\(?:to \\)?\\)?\\(.+\\)\\.\\.\\. *\\(?:(cached) *\\)?\\(\\(yes\\(?: .+\\)?\\)\\|no\\|\\(.*\\)\\)$" | 412 | ("^[Cc]hecking \\(?:[Ff]or \\|[Ii]f \\|[Ww]hether \\(?:to \\)?\\)?\\(.+\\)\\.\\.\\. *\\(?:(cached) *\\)?\\(\\(yes\\(?: .+\\)?\\)\\|no\\|\\(.*\\)\\)$" |
| 405 | (1 font-lock-variable-name-face) | 413 | (1 font-lock-variable-name-face) |
| 406 | (2 (compilation-face '(4 . 3)))) | 414 | (2 (compilation-face '(4 . 3)))) |
| @@ -408,9 +416,11 @@ you may also want to change `compilation-page-delimiter'.") | |||
| 408 | ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:" | 416 | ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:" |
| 409 | (1 font-lock-function-name-face) (3 compilation-line-face nil t)) | 417 | (1 font-lock-function-name-face) (3 compilation-line-face nil t)) |
| 410 | (" --?o\\(?:utfile\\|utput\\)?[= ]?\\(\\S +\\)" . 1) | 418 | (" --?o\\(?:utfile\\|utput\\)?[= ]?\\(\\S +\\)" . 1) |
| 411 | ("^Compilation \\(finished\\)" | 419 | ("^Compilation \\(finished\\).*" |
| 420 | (0 '(face nil message nil help-echo nil mouse-face nil) t) | ||
| 412 | (1 compilation-info-face)) | 421 | (1 compilation-info-face)) |
| 413 | ("^Compilation \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?" | 422 | ("^Compilation \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?.*" |
| 423 | (0 '(face nil message nil help-echo nil mouse-face nil) t) | ||
| 414 | (1 compilation-error-face) | 424 | (1 compilation-error-face) |
| 415 | (2 compilation-error-face nil t))) | 425 | (2 compilation-error-face nil t))) |
| 416 | "Additional things to highlight in Compilation mode. | 426 | "Additional things to highlight in Compilation mode. |
| @@ -1791,49 +1801,51 @@ If DIRECTORY. is nil, that means use `default-directory'. | |||
| 1791 | If FILENAME is not found at all, ask the user where to find it. | 1801 | If FILENAME is not found at all, ask the user where to find it. |
| 1792 | Pop up the buffer containing MARKER and scroll to MARKER if we ask the user." | 1802 | Pop up the buffer containing MARKER and scroll to MARKER if we ask the user." |
| 1793 | (or formats (setq formats '("%s"))) | 1803 | (or formats (setq formats '("%s"))) |
| 1794 | (save-excursion | 1804 | (let ((dirs compilation-search-path) |
| 1795 | (let ((dirs compilation-search-path) | 1805 | (spec-dir (if directory |
| 1796 | (spec-dir (if directory | 1806 | (expand-file-name directory) |
| 1797 | (expand-file-name directory) | 1807 | default-directory)) |
| 1798 | default-directory)) | 1808 | buffer thisdir fmts name) |
| 1799 | buffer thisdir fmts name) | 1809 | (if (file-name-absolute-p filename) |
| 1800 | (if (file-name-absolute-p filename) | 1810 | ;; The file name is absolute. Use its explicit directory as |
| 1801 | ;; The file name is absolute. Use its explicit directory as | 1811 | ;; the first in the search path, and strip it from FILENAME. |
| 1802 | ;; the first in the search path, and strip it from FILENAME. | 1812 | (setq filename (abbreviate-file-name (expand-file-name filename)) |
| 1803 | (setq filename (abbreviate-file-name (expand-file-name filename)) | 1813 | dirs (cons (file-name-directory filename) dirs) |
| 1804 | dirs (cons (file-name-directory filename) dirs) | 1814 | filename (file-name-nondirectory filename))) |
| 1805 | filename (file-name-nondirectory filename))) | 1815 | ;; Now search the path. |
| 1806 | ;; Now search the path. | 1816 | (while (and dirs (null buffer)) |
| 1807 | (while (and dirs (null buffer)) | 1817 | (setq thisdir (or (car dirs) spec-dir) |
| 1808 | (setq thisdir (or (car dirs) spec-dir) | 1818 | fmts formats) |
| 1809 | fmts formats) | 1819 | ;; For each directory, try each format string. |
| 1810 | ;; For each directory, try each format string. | 1820 | (while (and fmts (null buffer)) |
| 1811 | (while (and fmts (null buffer)) | 1821 | (setq name (expand-file-name (format (car fmts) filename) thisdir) |
| 1812 | (setq name (expand-file-name (format (car fmts) filename) thisdir) | 1822 | buffer (and (file-exists-p name) |
| 1813 | buffer (and (file-exists-p name) | 1823 | (find-file-noselect name)) |
| 1814 | (find-file-noselect name)) | 1824 | fmts (cdr fmts))) |
| 1815 | fmts (cdr fmts))) | 1825 | (setq dirs (cdr dirs))) |
| 1816 | (setq dirs (cdr dirs))) | 1826 | (or buffer |
| 1817 | (or buffer | 1827 | ;; The file doesn't exist. Ask the user where to find it. |
| 1818 | ;; The file doesn't exist. Ask the user where to find it. | 1828 | (save-excursion ;This save-excursion is probably not right. |
| 1819 | (let ((pop-up-windows t)) | 1829 | (let ((pop-up-windows t)) |
| 1820 | (compilation-set-window (display-buffer (marker-buffer marker)) | 1830 | (compilation-set-window (display-buffer (marker-buffer marker)) |
| 1821 | marker) | 1831 | marker) |
| 1822 | (let ((name (expand-file-name | 1832 | (let ((name (expand-file-name |
| 1823 | (read-file-name | 1833 | (read-file-name |
| 1824 | (format "Find this %s in (default %s): " | 1834 | (format "Find this %s in (default %s): " |
| 1825 | compilation-error filename) | 1835 | compilation-error filename) |
| 1826 | spec-dir filename t)))) | 1836 | spec-dir filename t)))) |
| 1827 | (if (file-directory-p name) | 1837 | (if (file-directory-p name) |
| 1828 | (setq name (expand-file-name filename name))) | 1838 | (setq name (expand-file-name filename name))) |
| 1829 | (setq buffer (and (file-exists-p name) | 1839 | (setq buffer (and (file-exists-p name) |
| 1830 | (find-file name)))))) | 1840 | (find-file-noselect name))))))) |
| 1831 | ;; Make intangible overlays tangible. | 1841 | ;; Make intangible overlays tangible. |
| 1832 | (mapcar (function (lambda (ov) | 1842 | ;; This is very weird: it's not even clear which is the current buffer, |
| 1833 | (when (overlay-get ov 'intangible) | 1843 | ;; so the code below can't be expected to DTRT here. --Stef |
| 1834 | (overlay-put ov 'intangible nil)))) | 1844 | (mapcar (function (lambda (ov) |
| 1835 | (overlays-in (point-min) (point-max))) | 1845 | (when (overlay-get ov 'intangible) |
| 1836 | buffer))) | 1846 | (overlay-put ov 'intangible nil)))) |
| 1847 | (overlays-in (point-min) (point-max))) | ||
| 1848 | buffer)) | ||
| 1837 | 1849 | ||
| 1838 | (defun compilation-get-file-structure (file &optional fmt) | 1850 | (defun compilation-get-file-structure (file &optional fmt) |
| 1839 | "Retrieve FILE's file-structure or create a new one. | 1851 | "Retrieve FILE's file-structure or create a new one. |
diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el index 29f1036b1bb..f624ac5cf28 100644 --- a/lisp/progmodes/ebrowse.el +++ b/lisp/progmodes/ebrowse.el | |||
| @@ -2734,24 +2734,24 @@ means the member buffer is standalone. CLASS is its class." | |||
| 2734 | ;; is on if not specified as an argument. | 2734 | ;; is on if not specified as an argument. |
| 2735 | (unless class | 2735 | (unless class |
| 2736 | (setq class (ebrowse-tree-at-point))) | 2736 | (setq class (ebrowse-tree-at-point))) |
| 2737 | (with-output-to-temp-buffer ebrowse-member-buffer-name | 2737 | (save-selected-window |
| 2738 | (save-excursion | 2738 | (if temp-buffer |
| 2739 | (set-buffer standard-output) | 2739 | (pop-to-buffer temp-buffer) |
| 2740 | (pop-to-buffer (get-buffer-create ebrowse-member-buffer-name)) | ||
| 2740 | ;; If new buffer, set the mode and initial values of locals | 2741 | ;; If new buffer, set the mode and initial values of locals |
| 2741 | (unless temp-buffer | 2742 | (ebrowse-member-mode)) |
| 2742 | (ebrowse-member-mode)) | 2743 | ;; Set local variables |
| 2743 | ;; Set local variables | 2744 | (setq ebrowse--member-list (funcall list class) |
| 2744 | (setq ebrowse--member-list (funcall list class) | 2745 | ebrowse--displayed-class class |
| 2745 | ebrowse--displayed-class class | 2746 | ebrowse--accessor list |
| 2746 | ebrowse--accessor list | 2747 | ebrowse--tree-obarray classes |
| 2747 | ebrowse--tree-obarray classes | 2748 | ebrowse--frozen-flag stand-alone |
| 2748 | ebrowse--frozen-flag stand-alone | 2749 | ebrowse--tags-file-name tags-file-name |
| 2749 | ebrowse--tags-file-name tags-file-name | 2750 | ebrowse--header header |
| 2750 | ebrowse--header header | 2751 | ebrowse--tree tree |
| 2751 | ebrowse--tree tree | 2752 | buffer-read-only t) |
| 2752 | buffer-read-only t) | 2753 | (ebrowse-redisplay-member-buffer) |
| 2753 | (ebrowse-redisplay-member-buffer) | 2754 | (current-buffer)))) |
| 2754 | (current-buffer))))) | ||
| 2755 | 2755 | ||
| 2756 | 2756 | ||
| 2757 | (defun ebrowse-member-display-p (member) | 2757 | (defun ebrowse-member-display-p (member) |
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 684102015cc..810a7b3e973 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -1019,7 +1019,7 @@ The key should be one of the cars in `gdb-buffer-rules-assoc'." | |||
| 1019 | (interactive) | 1019 | (interactive) |
| 1020 | (if gdb-use-separate-io-buffer | 1020 | (if gdb-use-separate-io-buffer |
| 1021 | (gdb-display-buffer | 1021 | (gdb-display-buffer |
| 1022 | (gdb-get-buffer-create 'gdb-inferior-io)))) | 1022 | (gdb-get-buffer-create 'gdb-inferior-io) t))) |
| 1023 | 1023 | ||
| 1024 | (defconst gdb-frame-parameters | 1024 | (defconst gdb-frame-parameters |
| 1025 | '((height . 14) (width . 80) | 1025 | '((height . 14) (width . 80) |
| @@ -1556,7 +1556,7 @@ happens to be appropriate." | |||
| 1556 | (goto-char (point-max)) | 1556 | (goto-char (point-max)) |
| 1557 | (insert-before-markers string)) | 1557 | (insert-before-markers string)) |
| 1558 | (if (not (string-equal string "")) | 1558 | (if (not (string-equal string "")) |
| 1559 | (gdb-display-buffer (gdb-get-buffer-create 'gdb-inferior-io)))) | 1559 | (gdb-display-buffer (gdb-get-buffer-create 'gdb-inferior-io) t))) |
| 1560 | 1560 | ||
| 1561 | (defun gdb-clear-inferior-io () | 1561 | (defun gdb-clear-inferior-io () |
| 1562 | (with-current-buffer (gdb-get-buffer-create 'gdb-inferior-io) | 1562 | (with-current-buffer (gdb-get-buffer-create 'gdb-inferior-io) |
| @@ -1865,7 +1865,7 @@ static char *magick[] = { | |||
| 1865 | "Display status of user-settable breakpoints." | 1865 | "Display status of user-settable breakpoints." |
| 1866 | (interactive) | 1866 | (interactive) |
| 1867 | (gdb-display-buffer | 1867 | (gdb-display-buffer |
| 1868 | (gdb-get-buffer-create 'gdb-breakpoints-buffer))) | 1868 | (gdb-get-buffer-create 'gdb-breakpoints-buffer) t)) |
| 1869 | 1869 | ||
| 1870 | (defun gdb-frame-breakpoints-buffer () | 1870 | (defun gdb-frame-breakpoints-buffer () |
| 1871 | "Display status of user-settable breakpoints in a new frame." | 1871 | "Display status of user-settable breakpoints in a new frame." |
| @@ -2041,7 +2041,7 @@ static char *magick[] = { | |||
| 2041 | "Display backtrace of current stack." | 2041 | "Display backtrace of current stack." |
| 2042 | (interactive) | 2042 | (interactive) |
| 2043 | (gdb-display-buffer | 2043 | (gdb-display-buffer |
| 2044 | (gdb-get-buffer-create 'gdb-stack-buffer))) | 2044 | (gdb-get-buffer-create 'gdb-stack-buffer) t)) |
| 2045 | 2045 | ||
| 2046 | (defun gdb-frame-stack-buffer () | 2046 | (defun gdb-frame-stack-buffer () |
| 2047 | "Display backtrace of current stack in a new frame." | 2047 | "Display backtrace of current stack in a new frame." |
| @@ -2122,7 +2122,7 @@ static char *magick[] = { | |||
| 2122 | "Display IDs of currently known threads." | 2122 | "Display IDs of currently known threads." |
| 2123 | (interactive) | 2123 | (interactive) |
| 2124 | (gdb-display-buffer | 2124 | (gdb-display-buffer |
| 2125 | (gdb-get-buffer-create 'gdb-threads-buffer))) | 2125 | (gdb-get-buffer-create 'gdb-threads-buffer) t)) |
| 2126 | 2126 | ||
| 2127 | (defun gdb-frame-threads-buffer () | 2127 | (defun gdb-frame-threads-buffer () |
| 2128 | "Display IDs of currently known threads in a new frame." | 2128 | "Display IDs of currently known threads in a new frame." |
| @@ -2256,7 +2256,7 @@ static char *magick[] = { | |||
| 2256 | "Display integer register contents." | 2256 | "Display integer register contents." |
| 2257 | (interactive) | 2257 | (interactive) |
| 2258 | (gdb-display-buffer | 2258 | (gdb-display-buffer |
| 2259 | (gdb-get-buffer-create 'gdb-registers-buffer))) | 2259 | (gdb-get-buffer-create 'gdb-registers-buffer) t)) |
| 2260 | 2260 | ||
| 2261 | (defun gdb-frame-registers-buffer () | 2261 | (defun gdb-frame-registers-buffer () |
| 2262 | "Display integer register contents in a new frame." | 2262 | "Display integer register contents in a new frame." |
| @@ -2580,7 +2580,7 @@ corresponding to the mode line clicked." | |||
| 2580 | "Display memory contents." | 2580 | "Display memory contents." |
| 2581 | (interactive) | 2581 | (interactive) |
| 2582 | (gdb-display-buffer | 2582 | (gdb-display-buffer |
| 2583 | (gdb-get-buffer-create 'gdb-memory-buffer))) | 2583 | (gdb-get-buffer-create 'gdb-memory-buffer) t)) |
| 2584 | 2584 | ||
| 2585 | (defun gdb-frame-memory-buffer () | 2585 | (defun gdb-frame-memory-buffer () |
| 2586 | "Display memory contents in a new frame." | 2586 | "Display memory contents in a new frame." |
| @@ -2687,7 +2687,7 @@ corresponding to the mode line clicked." | |||
| 2687 | "Display local variables of current stack and their values." | 2687 | "Display local variables of current stack and their values." |
| 2688 | (interactive) | 2688 | (interactive) |
| 2689 | (gdb-display-buffer | 2689 | (gdb-display-buffer |
| 2690 | (gdb-get-buffer-create 'gdb-locals-buffer))) | 2690 | (gdb-get-buffer-create 'gdb-locals-buffer) t)) |
| 2691 | 2691 | ||
| 2692 | (defun gdb-frame-locals-buffer () | 2692 | (defun gdb-frame-locals-buffer () |
| 2693 | "Display local variables of current stack and their values in a new frame." | 2693 | "Display local variables of current stack and their values in a new frame." |
| @@ -2698,7 +2698,7 @@ corresponding to the mode line clicked." | |||
| 2698 | 2698 | ||
| 2699 | 2699 | ||
| 2700 | ;;;; Window management | 2700 | ;;;; Window management |
| 2701 | (defun gdb-display-buffer (buf &optional size) | 2701 | (defun gdb-display-buffer (buf dedicated &optional size) |
| 2702 | (let ((answer (get-buffer-window buf 0)) | 2702 | (let ((answer (get-buffer-window buf 0)) |
| 2703 | (must-split nil)) | 2703 | (must-split nil)) |
| 2704 | (if answer | 2704 | (if answer |
| @@ -2707,7 +2707,8 @@ corresponding to the mode line clicked." | |||
| 2707 | (pop-to-buffer gud-comint-buffer) ;Select the right frame. | 2707 | (pop-to-buffer gud-comint-buffer) ;Select the right frame. |
| 2708 | (let ((window (get-lru-window))) | 2708 | (let ((window (get-lru-window))) |
| 2709 | (if (and window | 2709 | (if (and window |
| 2710 | (not (eq window (get-buffer-window gud-comint-buffer)))) | 2710 | (not (memq window `(,(get-buffer-window gud-comint-buffer) |
| 2711 | ,gdb-source-window)))) | ||
| 2711 | (progn | 2712 | (progn |
| 2712 | (set-window-buffer window buf) | 2713 | (set-window-buffer window buf) |
| 2713 | (setq answer window)) | 2714 | (setq answer window)) |
| @@ -2718,7 +2719,7 @@ corresponding to the mode line clicked." | |||
| 2718 | (new-size (and size (< size cur-size) (- cur-size size)))) | 2719 | (new-size (and size (< size cur-size) (- cur-size size)))) |
| 2719 | (setq answer (split-window largest new-size)) | 2720 | (setq answer (split-window largest new-size)) |
| 2720 | (set-window-buffer answer buf) | 2721 | (set-window-buffer answer buf) |
| 2721 | (set-window-dedicated-p answer t))) | 2722 | (set-window-dedicated-p answer dedicated))) |
| 2722 | answer))) | 2723 | answer))) |
| 2723 | 2724 | ||
| 2724 | 2725 | ||
| @@ -3162,7 +3163,7 @@ BUFFER nil or omitted means use the current buffer." | |||
| 3162 | (interactive) | 3163 | (interactive) |
| 3163 | (setq gdb-previous-frame nil) | 3164 | (setq gdb-previous-frame nil) |
| 3164 | (gdb-display-buffer | 3165 | (gdb-display-buffer |
| 3165 | (gdb-get-buffer-create 'gdb-assembler-buffer))) | 3166 | (gdb-get-buffer-create 'gdb-assembler-buffer) t)) |
| 3166 | 3167 | ||
| 3167 | (defun gdb-frame-assembler-buffer () | 3168 | (defun gdb-frame-assembler-buffer () |
| 3168 | "Display disassembly view in a new frame." | 3169 | "Display disassembly view in a new frame." |
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index eb803422027..37d4952058b 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el | |||
| @@ -232,8 +232,7 @@ See `compilation-error-screen-columns'" | |||
| 232 | ;; override compilation-last-buffer | 232 | ;; override compilation-last-buffer |
| 233 | (defvar grep-last-buffer nil | 233 | (defvar grep-last-buffer nil |
| 234 | "The most recent grep buffer. | 234 | "The most recent grep buffer. |
| 235 | A grep buffer becomes most recent when its process is started | 235 | A grep buffer becomes most recent when you select Grep mode in it. |
| 236 | or when it is used with \\[grep-next-match]. | ||
| 237 | Notice that using \\[next-error] or \\[compile-goto-error] modifies | 236 | Notice that using \\[next-error] or \\[compile-goto-error] modifies |
| 238 | `complation-last-buffer' rather than `grep-last-buffer'.") | 237 | `complation-last-buffer' rather than `grep-last-buffer'.") |
| 239 | 238 | ||
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 1ce5d404a80..97e54135a6f 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -2763,7 +2763,8 @@ Obeying it means displaying in another window the specified file and line." | |||
| 2763 | (gud-find-file true-file))) | 2763 | (gud-find-file true-file))) |
| 2764 | (window (and buffer (or (get-buffer-window buffer) | 2764 | (window (and buffer (or (get-buffer-window buffer) |
| 2765 | (if (memq gud-minor-mode '(gdbmi gdba)) | 2765 | (if (memq gud-minor-mode '(gdbmi gdba)) |
| 2766 | (gdb-display-source-buffer buffer)) | 2766 | (unless (gdb-display-source-buffer buffer) |
| 2767 | (gdb-display-buffer buffer nil))) | ||
| 2767 | (display-buffer buffer)))) | 2768 | (display-buffer buffer)))) |
| 2768 | (pos)) | 2769 | (pos)) |
| 2769 | (if buffer | 2770 | (if buffer |
| @@ -2793,7 +2794,10 @@ Obeying it means displaying in another window the specified file and line." | |||
| 2793 | (cond ((or (< pos (point-min)) (> pos (point-max))) | 2794 | (cond ((or (< pos (point-min)) (> pos (point-max))) |
| 2794 | (widen) | 2795 | (widen) |
| 2795 | (goto-char pos)))) | 2796 | (goto-char pos)))) |
| 2796 | (if window (set-window-point window gud-overlay-arrow-position)))))) | 2797 | (when window |
| 2798 | (set-window-point window gud-overlay-arrow-position) | ||
| 2799 | (if (memq gud-minor-mode '(gdbmi gdba)) | ||
| 2800 | (setq gdb-source-window window))))))) | ||
| 2797 | 2801 | ||
| 2798 | ;; The gud-call function must do the right thing whether its invoking | 2802 | ;; The gud-call function must do the right thing whether its invoking |
| 2799 | ;; keystroke is from the GUD buffer itself (via major-mode binding) | 2803 | ;; keystroke is from the GUD buffer itself (via major-mode binding) |
| @@ -3366,6 +3370,12 @@ only tooltips in the buffer containing the overlay arrow." | |||
| 3366 | (defvar gud-tooltip-mouse-motions-active nil | 3370 | (defvar gud-tooltip-mouse-motions-active nil |
| 3367 | "Locally t in a buffer if tooltip processing of mouse motion is enabled.") | 3371 | "Locally t in a buffer if tooltip processing of mouse motion is enabled.") |
| 3368 | 3372 | ||
| 3373 | ;; We don't set track-mouse globally because this is a big redisplay | ||
| 3374 | ;; problem in buffers having a pre-command-hook or such installed, | ||
| 3375 | ;; which does a set-buffer, like the summary buffer of Gnus. Calling | ||
| 3376 | ;; set-buffer prevents redisplay optimizations, so every mouse motion | ||
| 3377 | ;; would be accompanied by a full redisplay. | ||
| 3378 | |||
| 3369 | (defun gud-tooltip-activate-mouse-motions (activatep) | 3379 | (defun gud-tooltip-activate-mouse-motions (activatep) |
| 3370 | "Activate/deactivate mouse motion events for the current buffer. | 3380 | "Activate/deactivate mouse motion events for the current buffer. |
| 3371 | ACTIVATEP non-nil means activate mouse motion events." | 3381 | ACTIVATEP non-nil means activate mouse motion events." |
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index a3146df3e45..109455e9e61 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el | |||
| @@ -294,7 +294,8 @@ not be enclosed in { } or ( )." | |||
| 294 | ;; We used to match not just the varname but also the whole value | 294 | ;; We used to match not just the varname but also the whole value |
| 295 | ;; (spanning potentially several lines). | 295 | ;; (spanning potentially several lines). |
| 296 | ;; "^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)\\|[*:+]?[:?]?=[ \t]*\\(\\(?:.*\\\\\n\\)*.*\\)\\)" | 296 | ;; "^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)\\|[*:+]?[:?]?=[ \t]*\\(\\(?:.*\\\\\n\\)*.*\\)\\)" |
| 297 | "^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=\\|[*:+]?[:?]?=\\)" | 297 | ;; What about the define statement? What about differentiating this for makepp? |
| 298 | "\\(?:^\\|^export\\|^override\\|:\\|: *override\\) *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=\\|[*:+]?[:?]?=\\)" | ||
| 298 | "Regex used to find macro assignment lines in a makefile.") | 299 | "Regex used to find macro assignment lines in a makefile.") |
| 299 | 300 | ||
| 300 | (defconst makefile-var-use-regex | 301 | (defconst makefile-var-use-regex |
| @@ -305,8 +306,6 @@ not be enclosed in { } or ( )." | |||
| 305 | "\\(^\\..*\\)\\|\\(.*~$\\)\\|\\(.*,v$\\)\\|\\(\\.[chy]\\)" | 306 | "\\(^\\..*\\)\\|\\(.*~$\\)\\|\\(.*,v$\\)\\|\\(\\.[chy]\\)" |
| 306 | "Regex for filenames that will NOT be included in the target list.") | 307 | "Regex for filenames that will NOT be included in the target list.") |
| 307 | 308 | ||
| 308 | (if (fboundp 'facemenu-unlisted-faces) | ||
| 309 | (add-to-list 'facemenu-unlisted-faces 'makefile-space)) | ||
| 310 | (defvar makefile-space 'makefile-space | 309 | (defvar makefile-space 'makefile-space |
| 311 | "Face to use for highlighting leading spaces in Font-Lock mode.") | 310 | "Face to use for highlighting leading spaces in Font-Lock mode.") |
| 312 | 311 | ||
| @@ -320,9 +319,9 @@ not be enclosed in { } or ( )." | |||
| 320 | "List of keywords understood by automake.") | 319 | "List of keywords understood by automake.") |
| 321 | 320 | ||
| 322 | (defconst makefile-gmake-statements | 321 | (defconst makefile-gmake-statements |
| 323 | `("-sinclude" "sinclude" "override" "vpath" | 322 | `("-sinclude" "sinclude" "vpath" ; makefile-makepp-statements takes rest |
| 324 | "ifdef" "ifndef" "ifeq" "ifneq" "-include" "define" "endef" "export" | 323 | "ifdef" "ifndef" "ifeq" "ifneq" "-include" "define" "endef" "export" |
| 325 | "unexport" | 324 | "override define" "override" "unexport" |
| 326 | ,@(cdr makefile-automake-statements)) | 325 | ,@(cdr makefile-automake-statements)) |
| 327 | "List of keywords understood by gmake.") | 326 | "List of keywords understood by gmake.") |
| 328 | 327 | ||
| @@ -331,13 +330,14 @@ not be enclosed in { } or ( )." | |||
| 331 | `("and ifdef" "and ifndef" "and ifeq" "and ifneq" "and ifperl" | 330 | `("and ifdef" "and ifndef" "and ifeq" "and ifneq" "and ifperl" |
| 332 | "and ifmakeperl" "and ifsys" "and ifnsys" "build_cache" "build_check" | 331 | "and ifmakeperl" "and ifsys" "and ifnsys" "build_cache" "build_check" |
| 333 | "else ifdef" "else ifndef" "else ifeq" "else ifneq" "else ifperl" | 332 | "else ifdef" "else ifndef" "else ifeq" "else ifneq" "else ifperl" |
| 334 | "else ifmakeperl" "else ifsys" "else ifnsys" "enddef" "load_makefile" | 333 | "else ifmakeperl" "else ifsys" "else ifnsys" "enddef" "global" |
| 335 | "ifperl" "ifmakeperl" "ifsys" "ifnsys" "_include" "makeperl" "makesub" | 334 | "load_makefile" "ifperl" "ifmakeperl" "ifsys" "ifnsys" "_include" |
| 336 | "no_implicit_load" "perl" "perl-begin" "perl_begin" "perl-end" "perl_end" | 335 | "makeperl" "makesub" "no_implicit_load" "perl" "perl-begin" "perl_begin" |
| 337 | "prebuild" "or ifdef" "or ifndef" "or ifeq" "or ifneq" "or ifperl" | 336 | "perl-end" "perl_end" "prebuild" "or ifdef" "or ifndef" "or ifeq" |
| 338 | "or ifmakeperl" "or ifsys" "or ifnsys" "register_command_parser" | 337 | "or ifneq" "or ifperl" "or ifmakeperl" "or ifsys" "or ifnsys" |
| 338 | "override export" "override global" "register_command_parser" | ||
| 339 | "register_scanner" "repository" "runtime" "signature" "sub" | 339 | "register_scanner" "repository" "runtime" "signature" "sub" |
| 340 | ,@(nthcdr 4 makefile-gmake-statements)) | 340 | ,@(nthcdr 3 makefile-gmake-statements)) |
| 341 | "List of keywords understood by gmake.") | 341 | "List of keywords understood by gmake.") |
| 342 | 342 | ||
| 343 | (defconst makefile-bsdmake-statements | 343 | (defconst makefile-bsdmake-statements |
diff --git a/lisp/progmodes/octave-inf.el b/lisp/progmodes/octave-inf.el index b6e6e4fc456..863f972086e 100644 --- a/lisp/progmodes/octave-inf.el +++ b/lisp/progmodes/octave-inf.el | |||
| @@ -37,18 +37,18 @@ | |||
| 37 | :group 'octave) | 37 | :group 'octave) |
| 38 | 38 | ||
| 39 | (defcustom inferior-octave-program "octave" | 39 | (defcustom inferior-octave-program "octave" |
| 40 | "*Program invoked by `inferior-octave'." | 40 | "Program invoked by `inferior-octave'." |
| 41 | :type 'string | 41 | :type 'string |
| 42 | :group 'octave-inferior) | 42 | :group 'octave-inferior) |
| 43 | 43 | ||
| 44 | (defcustom inferior-octave-prompt | 44 | (defcustom inferior-octave-prompt |
| 45 | "\\(^octave\\(\\|.bin\\)\\(-[.0-9]+\\)?\\(:[0-9]+\\)?\\|^debug\\|^\\)>+ " | 45 | "\\(^octave\\(\\|.bin\\)\\(-[.0-9]+\\)?\\(:[0-9]+\\)?\\|^debug\\|^\\)>+ " |
| 46 | "*Regexp to match prompts for the inferior Octave process." | 46 | "Regexp to match prompts for the inferior Octave process." |
| 47 | :type 'regexp | 47 | :type 'regexp |
| 48 | :group 'octave-inferior) | 48 | :group 'octave-inferior) |
| 49 | 49 | ||
| 50 | (defcustom inferior-octave-startup-file nil | 50 | (defcustom inferior-octave-startup-file nil |
| 51 | "*Name of the inferior Octave startup file. | 51 | "Name of the inferior Octave startup file. |
| 52 | The contents of this file are sent to the inferior Octave process on | 52 | The contents of this file are sent to the inferior Octave process on |
| 53 | startup." | 53 | startup." |
| 54 | :type '(choice (const :tag "None" nil) | 54 | :type '(choice (const :tag "None" nil) |
| @@ -56,34 +56,31 @@ startup." | |||
| 56 | :group 'octave-inferior) | 56 | :group 'octave-inferior) |
| 57 | 57 | ||
| 58 | (defcustom inferior-octave-startup-args nil | 58 | (defcustom inferior-octave-startup-args nil |
| 59 | "*List of command line arguments for the inferior Octave process. | 59 | "List of command line arguments for the inferior Octave process. |
| 60 | For example, for suppressing the startup message and using `traditional' | 60 | For example, for suppressing the startup message and using `traditional' |
| 61 | mode, set this to (\"-q\" \"--traditional\")." | 61 | mode, set this to (\"-q\" \"--traditional\")." |
| 62 | :type '(repeat string) | 62 | :type '(repeat string) |
| 63 | :group 'octave-inferior) | 63 | :group 'octave-inferior) |
| 64 | 64 | ||
| 65 | (defvar inferior-octave-mode-map nil | 65 | (defvar inferior-octave-mode-map |
| 66 | "Keymap used in Inferior Octave mode.") | 66 | (let ((map (make-sparse-keymap))) |
| 67 | (if inferior-octave-mode-map | 67 | (set-keymap-parent map comint-mode-map) |
| 68 | () | ||
| 69 | (let ((map (copy-keymap comint-mode-map))) | ||
| 70 | (define-key map "\t" 'comint-dynamic-complete) | 68 | (define-key map "\t" 'comint-dynamic-complete) |
| 71 | (define-key map "\M-?" 'comint-dynamic-list-filename-completions) | 69 | (define-key map "\M-?" 'comint-dynamic-list-filename-completions) |
| 72 | (define-key map "\C-c\C-l" 'inferior-octave-dynamic-list-input-ring) | 70 | (define-key map "\C-c\C-l" 'inferior-octave-dynamic-list-input-ring) |
| 73 | (define-key map [menu-bar inout list-history] | 71 | (define-key map [menu-bar inout list-history] |
| 74 | '("List Input History" . inferior-octave-dynamic-list-input-ring)) | 72 | '("List Input History" . inferior-octave-dynamic-list-input-ring)) |
| 75 | (define-key map "\C-c\C-h" 'octave-help) | 73 | (define-key map "\C-c\C-h" 'octave-help) |
| 76 | (setq inferior-octave-mode-map map))) | 74 | map) |
| 75 | "Keymap used in Inferior Octave mode.") | ||
| 77 | 76 | ||
| 78 | (defvar inferior-octave-mode-syntax-table nil | 77 | (defvar inferior-octave-mode-syntax-table |
| 79 | "Syntax table in use in inferior-octave-mode buffers.") | ||
| 80 | (if inferior-octave-mode-syntax-table | ||
| 81 | () | ||
| 82 | (let ((table (make-syntax-table))) | 78 | (let ((table (make-syntax-table))) |
| 83 | (modify-syntax-entry ?\` "w" table) | 79 | (modify-syntax-entry ?\` "w" table) |
| 84 | (modify-syntax-entry ?\# "<" table) | 80 | (modify-syntax-entry ?\# "<" table) |
| 85 | (modify-syntax-entry ?\n ">" table) | 81 | (modify-syntax-entry ?\n ">" table) |
| 86 | (setq inferior-octave-mode-syntax-table table))) | 82 | table) |
| 83 | "Syntax table in use in inferior-octave-mode buffers.") | ||
| 87 | 84 | ||
| 88 | (defcustom inferior-octave-mode-hook nil | 85 | (defcustom inferior-octave-mode-hook nil |
| 89 | "*Hook to be run when Inferior Octave mode is started." | 86 | "*Hook to be run when Inferior Octave mode is started." |
| @@ -154,9 +151,9 @@ Entry to this mode successively runs the hooks `comint-mode-hook' and | |||
| 154 | (setq comint-input-ring-file-name | 151 | (setq comint-input-ring-file-name |
| 155 | (or (getenv "OCTAVE_HISTFILE") "~/.octave_hist") | 152 | (or (getenv "OCTAVE_HISTFILE") "~/.octave_hist") |
| 156 | comint-input-ring-size (or (getenv "OCTAVE_HISTSIZE") 1024) | 153 | comint-input-ring-size (or (getenv "OCTAVE_HISTSIZE") 1024) |
| 157 | comint-input-filter-functions '(inferior-octave-directory-tracker) | 154 | comint-input-filter-functions '(inferior-octave-directory-tracker)) |
| 158 | comint-dynamic-complete-functions | 155 | (set (make-local-variable 'comint-dynamic-complete-functions) |
| 159 | inferior-octave-dynamic-complete-functions) | 156 | inferior-octave-dynamic-complete-functions) |
| 160 | (comint-read-input-ring t) | 157 | (comint-read-input-ring t) |
| 161 | 158 | ||
| 162 | (run-mode-hooks 'inferior-octave-mode-hook)) | 159 | (run-mode-hooks 'inferior-octave-mode-hook)) |
| @@ -272,8 +269,7 @@ is NOT available with versions of Octave prior to 2.0." | |||
| 272 | (save-excursion | 269 | (save-excursion |
| 273 | (skip-syntax-backward "w_" (comint-line-beginning-position)) | 270 | (skip-syntax-backward "w_" (comint-line-beginning-position)) |
| 274 | (buffer-substring-no-properties (point) end))) | 271 | (buffer-substring-no-properties (point) end))) |
| 275 | (proc (get-buffer-process inferior-octave-buffer)) | 272 | (proc (get-buffer-process inferior-octave-buffer))) |
| 276 | (filter (process-filter proc))) | ||
| 277 | (cond (inferior-octave-complete-impossible | 273 | (cond (inferior-octave-complete-impossible |
| 278 | (error (concat | 274 | (error (concat |
| 279 | "Your Octave does not have `completion_matches'. " | 275 | "Your Octave does not have `completion_matches'. " |
| @@ -299,7 +295,7 @@ is NOT available with versions of Octave prior to 2.0." | |||
| 299 | command inferior-octave-output-list))))) | 295 | command inferior-octave-output-list))))) |
| 300 | 296 | ||
| 301 | (defun inferior-octave-dynamic-list-input-ring () | 297 | (defun inferior-octave-dynamic-list-input-ring () |
| 302 | "List the buffer's input history in a help buffer" | 298 | "List the buffer's input history in a help buffer." |
| 303 | ;; We cannot use `comint-dynamic-list-input-ring', because it replaces | 299 | ;; We cannot use `comint-dynamic-list-input-ring', because it replaces |
| 304 | ;; "completion" by "history reference" ... | 300 | ;; "completion" by "history reference" ... |
| 305 | (interactive) | 301 | (interactive) |
| @@ -394,5 +390,5 @@ directory and makes this the current buffer's default directory." | |||
| 394 | 390 | ||
| 395 | (provide 'octave-inf) | 391 | (provide 'octave-inf) |
| 396 | 392 | ||
| 397 | ;;; arch-tag: bdce0395-24d1-4bb4-bfba-6fb1eeb1a660 | 393 | ;; arch-tag: bdce0395-24d1-4bb4-bfba-6fb1eeb1a660 |
| 398 | ;;; octave-inf.el ends here | 394 | ;;; octave-inf.el ends here |
diff --git a/lisp/shell.el b/lisp/shell.el index 6b22ac79238..6a145ae1569 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -423,7 +423,8 @@ buffer." | |||
| 423 | (setq comint-delimiter-argument-list shell-delimiter-argument-list) | 423 | (setq comint-delimiter-argument-list shell-delimiter-argument-list) |
| 424 | (setq comint-file-name-chars shell-file-name-chars) | 424 | (setq comint-file-name-chars shell-file-name-chars) |
| 425 | (setq comint-file-name-quote-list shell-file-name-quote-list) | 425 | (setq comint-file-name-quote-list shell-file-name-quote-list) |
| 426 | (setq comint-dynamic-complete-functions shell-dynamic-complete-functions) | 426 | (set (make-local-variable 'comint-dynamic-complete-functions) |
| 427 | shell-dynamic-complete-functions) | ||
| 427 | (set (make-local-variable 'paragraph-separate) "\\'") | 428 | (set (make-local-variable 'paragraph-separate) "\\'") |
| 428 | (make-local-variable 'paragraph-start) | 429 | (make-local-variable 'paragraph-start) |
| 429 | (setq paragraph-start comint-prompt-regexp) | 430 | (setq paragraph-start comint-prompt-regexp) |
diff --git a/lisp/simple.el b/lisp/simple.el index f1c1eb94118..67cd341bf1f 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -1031,7 +1031,7 @@ display the result of expression evaluation." | |||
| 1031 | (format " (#o%o, #x%x)" value value))))) | 1031 | (format " (#o%o, #x%x)" value value))))) |
| 1032 | 1032 | ||
| 1033 | ;; We define this, rather than making `eval' interactive, | 1033 | ;; We define this, rather than making `eval' interactive, |
| 1034 | ;; for the sake of completion of names like eval-region, eval-current-buffer. | 1034 | ;; for the sake of completion of names like eval-region, eval-buffer. |
| 1035 | (defun eval-expression (eval-expression-arg | 1035 | (defun eval-expression (eval-expression-arg |
| 1036 | &optional eval-expression-insert-value) | 1036 | &optional eval-expression-insert-value) |
| 1037 | "Evaluate EVAL-EXPRESSION-ARG and print value in the echo area. | 1037 | "Evaluate EVAL-EXPRESSION-ARG and print value in the echo area. |
| @@ -1657,7 +1657,7 @@ is not *inside* the region START...END." | |||
| 1657 | '(0 . 0))) | 1657 | '(0 . 0))) |
| 1658 | '(0 . 0))) | 1658 | '(0 . 0))) |
| 1659 | 1659 | ||
| 1660 | (defcustom undo-ask-before-discard t | 1660 | (defcustom undo-ask-before-discard nil |
| 1661 | "If non-nil ask about discarding undo info for the current command. | 1661 | "If non-nil ask about discarding undo info for the current command. |
| 1662 | Normally, Emacs discards the undo info for the current command if | 1662 | Normally, Emacs discards the undo info for the current command if |
| 1663 | it exceeds `undo-outer-limit'. But if you set this option | 1663 | it exceeds `undo-outer-limit'. But if you set this option |
diff --git a/lisp/subr.el b/lisp/subr.el index 313ae8dcee4..9b5d5f47ef2 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -53,6 +53,12 @@ This is the global do-nothing version. There is also `testcover-1value' | |||
| 53 | that complains if FORM ever does return differing values." | 53 | that complains if FORM ever does return differing values." |
| 54 | form) | 54 | form) |
| 55 | 55 | ||
| 56 | (defmacro def-edebug-spec (symbol spec) | ||
| 57 | "Set the `edebug-form-spec' property of SYMBOL according to SPEC. | ||
| 58 | Both SYMBOL and SPEC are unevaluated. The SPEC can be 0, t, a symbol | ||
| 59 | \(naming a function), or a list." | ||
| 60 | `(put (quote ,symbol) 'edebug-form-spec (quote ,spec))) | ||
| 61 | |||
| 56 | (defmacro lambda (&rest cdr) | 62 | (defmacro lambda (&rest cdr) |
| 57 | "Return a lambda expression. | 63 | "Return a lambda expression. |
| 58 | A call of the form (lambda ARGS DOCSTRING INTERACTIVE BODY) is | 64 | A call of the form (lambda ARGS DOCSTRING INTERACTIVE BODY) is |
| @@ -1693,6 +1699,44 @@ by doing (clear-string STRING)." | |||
| 1693 | (sit-for 1) | 1699 | (sit-for 1) |
| 1694 | t))) | 1700 | t))) |
| 1695 | n)) | 1701 | n)) |
| 1702 | |||
| 1703 | (defun sit-for (seconds &optional nodisp obsolete) | ||
| 1704 | "Perform redisplay, then wait for SECONDS seconds or until input is available. | ||
| 1705 | SECONDS may be a floating-point value. | ||
| 1706 | \(On operating systems that do not support waiting for fractions of a | ||
| 1707 | second, floating-point values are rounded down to the nearest integer.) | ||
| 1708 | |||
| 1709 | If optional arg NODISP is t, don't redisplay, just wait for input. | ||
| 1710 | Redisplay does not happen if input is available before it starts. | ||
| 1711 | |||
| 1712 | Value is t if waited the full time with no input arriving, and nil otherwise. | ||
| 1713 | |||
| 1714 | An obsolete, but still supported form is | ||
| 1715 | \(sit-for SECONDS &optional MILLISECONDS NODISP) | ||
| 1716 | where the optional arg MILLISECONDS specifies an additional wait period, | ||
| 1717 | in milliseconds; this was useful when Emacs was built without | ||
| 1718 | floating point support. | ||
| 1719 | |||
| 1720 | \(fn SECONDS &optional NODISP)" | ||
| 1721 | (when (or obsolete (numberp nodisp)) | ||
| 1722 | (setq seconds (+ seconds (* 1e-3 nodisp))) | ||
| 1723 | (setq nodisp obsolete)) | ||
| 1724 | (unless nodisp | ||
| 1725 | (redisplay)) | ||
| 1726 | (or (<= seconds 0) | ||
| 1727 | (let ((timer (timer-create)) | ||
| 1728 | (echo-keystrokes 0)) | ||
| 1729 | (if (catch 'sit-for-timeout | ||
| 1730 | (timer-set-time timer (timer-relative-time | ||
| 1731 | (current-time) seconds)) | ||
| 1732 | (timer-set-function timer 'with-timeout-handler | ||
| 1733 | '(sit-for-timeout)) | ||
| 1734 | (timer-activate timer) | ||
| 1735 | (push (read-event) unread-command-events) | ||
| 1736 | nil) | ||
| 1737 | t | ||
| 1738 | (cancel-timer timer) | ||
| 1739 | nil)))) | ||
| 1696 | 1740 | ||
| 1697 | ;;; Atomic change groups. | 1741 | ;;; Atomic change groups. |
| 1698 | 1742 | ||
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index dd821de3ba8..c66c59a0889 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el | |||
| @@ -1784,7 +1784,7 @@ With numeric ARG, display the font panel if and only if ARG is positive." | |||
| 1784 | (interactive "e") | 1784 | (interactive "e") |
| 1785 | (let* ((ae (mac-event-ae event)) | 1785 | (let* ((ae (mac-event-ae event)) |
| 1786 | (fm-font-size (mac-ae-number ae "fmsz")) | 1786 | (fm-font-size (mac-ae-number ae "fmsz")) |
| 1787 | (atsu-font-id (cdr (mac-ae-parameter ae "auid"))) | 1787 | (atsu-font-id (mac-ae-number ae "auid")) |
| 1788 | (attribute-values (gethash atsu-font-id mac-atsu-font-table))) | 1788 | (attribute-values (gethash atsu-font-id mac-atsu-font-table))) |
| 1789 | (if fm-font-size | 1789 | (if fm-font-size |
| 1790 | (setq attribute-values | 1790 | (setq attribute-values |
| @@ -1815,8 +1815,8 @@ With numeric ARG, display the font panel if and only if ARG is positive." | |||
| 1815 | (defface mac-ts-caret-position | 1815 | (defface mac-ts-caret-position |
| 1816 | '((t :inverse-video t)) | 1816 | '((t :inverse-video t)) |
| 1817 | "Face for caret position in Mac TSM active input area. | 1817 | "Face for caret position in Mac TSM active input area. |
| 1818 | This is used only when the active input area is displayed in the | 1818 | This is used when the active input area is displayed either in |
| 1819 | echo area." | 1819 | the echo area or in a buffer where the cursor is not displayed." |
| 1820 | :group 'mac) | 1820 | :group 'mac) |
| 1821 | 1821 | ||
| 1822 | (defface mac-ts-raw-text | 1822 | (defface mac-ts-raw-text |
| @@ -1963,7 +1963,10 @@ into `unread-command-events'. The unconfirmed text is displayed | |||
| 1963 | either in the current buffer or in the echo area." | 1963 | either in the current buffer or in the echo area." |
| 1964 | (interactive "e") | 1964 | (interactive "e") |
| 1965 | (let* ((ae (mac-event-ae event)) | 1965 | (let* ((ae (mac-event-ae event)) |
| 1966 | (text (or (cdr (mac-ae-parameter ae "tstx" "utxt")) "")) | 1966 | (type-text (mac-ae-parameter ae "tstx")) |
| 1967 | (text (or (cdr type-text) "")) | ||
| 1968 | (decode-fun (if (equal (car type-text) "TEXT") | ||
| 1969 | 'mac-TEXT-to-string 'mac-utxt-to-string)) | ||
| 1967 | (script-language (mac-ae-script-language ae "tssl")) | 1970 | (script-language (mac-ae-script-language ae "tssl")) |
| 1968 | (coding (or (cdr (assq (car script-language) | 1971 | (coding (or (cdr (assq (car script-language) |
| 1969 | mac-script-code-coding-systems)) | 1972 | mac-script-code-coding-systems)) |
| @@ -1985,22 +1988,27 @@ either in the current buffer or in the echo area." | |||
| 1985 | (or isearch-mode | 1988 | (or isearch-mode |
| 1986 | (and cursor-in-echo-area (current-message)) | 1989 | (and cursor-in-echo-area (current-message)) |
| 1987 | ;; Overlay strings are not shown in some cases. | 1990 | ;; Overlay strings are not shown in some cases. |
| 1988 | (get-char-property (point) 'display) | ||
| 1989 | (get-char-property (point) 'invisible) | 1991 | (get-char-property (point) 'invisible) |
| 1990 | (get-char-property (point) 'composition))) | 1992 | (and (not (bobp)) |
| 1993 | (or (and (get-char-property (point) 'display) | ||
| 1994 | (eq (get-char-property (1- (point)) 'display) | ||
| 1995 | (get-char-property (point) 'display))) | ||
| 1996 | (and (get-char-property (point) 'composition) | ||
| 1997 | (eq (get-char-property (1- (point)) 'composition) | ||
| 1998 | (get-char-property (point) 'composition))))))) | ||
| 1991 | active-input-string caret-seen) | 1999 | active-input-string caret-seen) |
| 1992 | ;; Decode the active input area text with inheriting faces and | 2000 | ;; Decode the active input area text with inheriting faces and |
| 1993 | ;; the caret position. | 2001 | ;; the caret position. |
| 1994 | (setq active-input-string | 2002 | (setq active-input-string |
| 1995 | (mapconcat | 2003 | (mapconcat |
| 1996 | (lambda (str) | 2004 | (lambda (str) |
| 1997 | (let ((decoded (mac-utxt-to-string str coding))) | 2005 | (let ((decoded (funcall decode-fun str coding))) |
| 1998 | (put-text-property 0 (length decoded) 'face | 2006 | (put-text-property 0 (length decoded) 'face |
| 1999 | (get-text-property 0 'face str) decoded) | 2007 | (get-text-property 0 'face str) decoded) |
| 2000 | (when (and (not caret-seen) | 2008 | (when (and (not caret-seen) |
| 2001 | (get-text-property 0 'cursor str)) | 2009 | (get-text-property 0 'cursor str)) |
| 2002 | (setq caret-seen t) | 2010 | (setq caret-seen t) |
| 2003 | (if use-echo-area | 2011 | (if (or use-echo-area (null cursor-type)) |
| 2004 | (put-text-property 0 1 'face 'mac-ts-caret-position | 2012 | (put-text-property 0 1 'face 'mac-ts-caret-position |
| 2005 | decoded) | 2013 | decoded) |
| 2006 | (put-text-property 0 1 'cursor t decoded))) | 2014 | (put-text-property 0 1 'cursor t decoded))) |
| @@ -2030,7 +2038,7 @@ either in the current buffer or in the echo area." | |||
| 2030 | ;; macro being defined. | 2038 | ;; macro being defined. |
| 2031 | (apply 'isearch-unread | 2039 | (apply 'isearch-unread |
| 2032 | (append (mac-replace-untranslated-utf-8-chars | 2040 | (append (mac-replace-untranslated-utf-8-chars |
| 2033 | (mac-utxt-to-string confirmed coding)) '()))) | 2041 | (funcall decode-fun confirmed coding)) '()))) |
| 2034 | ;; The event is successfully processed. Sync the sequence number. | 2042 | ;; The event is successfully processed. Sync the sequence number. |
| 2035 | (setq mac-ts-update-active-input-area-seqno (1+ seqno)))) | 2043 | (setq mac-ts-update-active-input-area-seqno (1+ seqno)))) |
| 2036 | 2044 | ||
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 99e6dede206..1c8058835d3 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el | |||
| @@ -188,9 +188,13 @@ | |||
| 188 | initial-frame-alist))) | 188 | initial-frame-alist))) |
| 189 | 189 | ||
| 190 | (defvar x-display-name nil | 190 | (defvar x-display-name nil |
| 191 | "The X display name specifying server and X frame.") | 191 | "The name of the X display on which Emacs was started. |
| 192 | |||
| 193 | For the X display name of individual frames, see the `display' | ||
| 194 | frame parameter.") | ||
| 192 | 195 | ||
| 193 | (defun x-handle-display (switch) | 196 | (defun x-handle-display (switch) |
| 197 | "Handle -display DISPLAY option." | ||
| 194 | (setq x-display-name (car x-invocation-args) | 198 | (setq x-display-name (car x-invocation-args) |
| 195 | x-invocation-args (cdr x-invocation-args)) | 199 | x-invocation-args (cdr x-invocation-args)) |
| 196 | ;; Make subshell programs see the same DISPLAY value Emacs really uses. | 200 | ;; Make subshell programs see the same DISPLAY value Emacs really uses. |
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index 9218c565c97..95f73b56952 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el | |||
| @@ -408,18 +408,19 @@ Point is moved to just past the fill prefix on the first line." | |||
| 408 | "\\)?[ \t]*") | 408 | "\\)?[ \t]*") |
| 409 | "[ \t]*"))) | 409 | "[ \t]*"))) |
| 410 | (goto-char from) | 410 | (goto-char from) |
| 411 | (if (>= (+ (current-left-margin) (length prefix)) | 411 | ;; Why signal an error here? The problem needs to be caught elsewhere. |
| 412 | (current-fill-column)) | 412 | ;; (if (>= (+ (current-left-margin) (length prefix)) |
| 413 | (error "fill-prefix too long for specified width")) | 413 | ;; (current-fill-column)) |
| 414 | ;; (error "fill-prefix too long for specified width")) | ||
| 414 | (forward-line 1) | 415 | (forward-line 1) |
| 415 | (while (< (point) to) | 416 | (while (< (point) to) |
| 416 | (if (looking-at fpre) | 417 | (if (looking-at fpre) |
| 417 | (delete-region (point) (match-end 0))) | 418 | (delete-region (point) (match-end 0))) |
| 418 | (forward-line 1)) | 419 | (forward-line 1)) |
| 419 | (goto-char from) | 420 | (goto-char from) |
| 420 | (if (looking-at fpre) | 421 | (if (looking-at fpre) |
| 421 | (goto-char (match-end 0))) | 422 | (goto-char (match-end 0))) |
| 422 | (setq from (point)))) | 423 | (point))) |
| 423 | 424 | ||
| 424 | ;; The `fill-space' property carries the string with which a newline | 425 | ;; The `fill-space' property carries the string with which a newline |
| 425 | ;; should be replaced when unbreaking a line (in fill-delete-newlines). | 426 | ;; should be replaced when unbreaking a line (in fill-delete-newlines). |
| @@ -628,7 +629,12 @@ space does not end a sentence, so don't break a line there." | |||
| 628 | (oneleft nil)) | 629 | (oneleft nil)) |
| 629 | 630 | ||
| 630 | (beginning-of-line) | 631 | (beginning-of-line) |
| 631 | (setq from (point)) | 632 | ;; We used to round up to whole line, but that prevents us from |
| 633 | ;; correctly handling filling of mixed code-and-comment where we do want | ||
| 634 | ;; to fill the comment but not the code. So only use (point) if it's | ||
| 635 | ;; further than `from', which means that `from' is followed by some | ||
| 636 | ;; number of empty lines. | ||
| 637 | (setq from (max (point) from)) | ||
| 632 | 638 | ||
| 633 | ;; Delete all but one soft newline at end of region. | 639 | ;; Delete all but one soft newline at end of region. |
| 634 | ;; And leave TO before that one. | 640 | ;; And leave TO before that one. |
| @@ -799,7 +805,7 @@ If `fill-paragraph-function' is nil, return the `fill-prefix' used for filling." | |||
| 799 | If we're not in a comment, just return nil so that the caller | 805 | If we're not in a comment, just return nil so that the caller |
| 800 | can take care of filling. JUSTIFY is used as in `fill-paragraph'." | 806 | can take care of filling. JUSTIFY is used as in `fill-paragraph'." |
| 801 | (comment-normalize-vars) | 807 | (comment-normalize-vars) |
| 802 | (let (has-code-and-comment ; Non-nil if it contains code and a comment. | 808 | (let (has-code-and-comment ; Non-nil if it contains code and a comment. |
| 803 | comin comstart) | 809 | comin comstart) |
| 804 | ;; Figure out what kind of comment we are looking at. | 810 | ;; Figure out what kind of comment we are looking at. |
| 805 | (save-excursion | 811 | (save-excursion |
| @@ -857,12 +863,13 @@ can take care of filling. JUSTIFY is used as in `fill-paragraph'." | |||
| 857 | (or (comment-search-forward (line-end-position) t) | 863 | (or (comment-search-forward (line-end-position) t) |
| 858 | (point))) | 864 | (point))) |
| 859 | (looking-at comment-re)) | 865 | (looking-at comment-re)) |
| 860 | 1 2)))) | 866 | (progn (setq comstart (point)) 1) |
| 861 | ;; Find the beginning of the first line past the region to fill. | 867 | (progn (setq comstart (point)) 2))))) |
| 862 | (save-excursion | 868 | ;; Find the beginning of the first line past the region to fill. |
| 863 | (while (progn (forward-line 1) | 869 | (save-excursion |
| 864 | (looking-at comment-re))) | 870 | (while (progn (forward-line 1) |
| 865 | (point))) | 871 | (looking-at comment-re))) |
| 872 | (point))) | ||
| 866 | ;; Obey paragraph starters and boundaries within comments. | 873 | ;; Obey paragraph starters and boundaries within comments. |
| 867 | (let* ((paragraph-separate | 874 | (let* ((paragraph-separate |
| 868 | ;; Use the default values since they correspond to | 875 | ;; Use the default values since they correspond to |
| @@ -874,7 +881,7 @@ can take care of filling. JUSTIFY is used as in `fill-paragraph'." | |||
| 874 | (concat paragraph-start "\\|[ \t]*\\(?:" | 881 | (concat paragraph-start "\\|[ \t]*\\(?:" |
| 875 | comment-start-skip "\\)\\(?:" | 882 | comment-start-skip "\\)\\(?:" |
| 876 | (default-value 'paragraph-start) "\\)")) | 883 | (default-value 'paragraph-start) "\\)")) |
| 877 | ;; We used to reply on fill-prefix to break paragraph at | 884 | ;; We used to rely on fill-prefix to break paragraph at |
| 878 | ;; comment-starter changes, but it did not work for the | 885 | ;; comment-starter changes, but it did not work for the |
| 879 | ;; first line (mixed comment&code). | 886 | ;; first line (mixed comment&code). |
| 880 | ;; We now use comment-re instead to "manually" make sure | 887 | ;; We now use comment-re instead to "manually" make sure |
| @@ -893,7 +900,7 @@ can take care of filling. JUSTIFY is used as in `fill-paragraph'." | |||
| 893 | 900 | ||
| 894 | ;; Find the fill-prefix to use. | 901 | ;; Find the fill-prefix to use. |
| 895 | (cond | 902 | (cond |
| 896 | (fill-prefix) ; Use the user-provided fill prefix. | 903 | (fill-prefix) ; Use the user-provided fill prefix. |
| 897 | ((and adaptive-fill-mode ; Try adaptive fill mode. | 904 | ((and adaptive-fill-mode ; Try adaptive fill mode. |
| 898 | (setq fill-prefix (fill-context-prefix beg end)) | 905 | (setq fill-prefix (fill-context-prefix beg end)) |
| 899 | (string-match comment-start-skip fill-prefix))) | 906 | (string-match comment-start-skip fill-prefix))) |
| @@ -903,7 +910,7 @@ can take care of filling. JUSTIFY is used as in `fill-paragraph'." | |||
| 903 | ;; Don't fill with narrowing. | 910 | ;; Don't fill with narrowing. |
| 904 | (or | 911 | (or |
| 905 | (fill-region-as-paragraph | 912 | (fill-region-as-paragraph |
| 906 | beg end justify nil | 913 | (max comstart beg) end justify nil |
| 907 | ;; Don't canonicalize spaces within the code just before | 914 | ;; Don't canonicalize spaces within the code just before |
| 908 | ;; the comment. | 915 | ;; the comment. |
| 909 | (save-excursion | 916 | (save-excursion |
diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el index b2d79c1acbb..4cda0d6b3a0 100644 --- a/lisp/textmodes/org.el +++ b/lisp/textmodes/org.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: Carsten Dominik <dominik at science dot uva dot nl> | 5 | ;; Author: Carsten Dominik <dominik at science dot uva dot nl> |
| 6 | ;; Keywords: outlines, hypermedia, calendar, wp | 6 | ;; Keywords: outlines, hypermedia, calendar, wp |
| 7 | ;; Homepage: http://www.astro.uva.nl/~dominik/Tools/org/ | 7 | ;; Homepage: http://www.astro.uva.nl/~dominik/Tools/org/ |
| 8 | ;; Version: 4.39 | 8 | ;; Version: 4.43 |
| 9 | ;; | 9 | ;; |
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 11 | ;; | 11 | ;; |
| @@ -90,6 +90,22 @@ | |||
| 90 | ;; | 90 | ;; |
| 91 | ;; Recent changes | 91 | ;; Recent changes |
| 92 | ;; -------------- | 92 | ;; -------------- |
| 93 | ;; Version 4.43 | ||
| 94 | ;; - Big fixes | ||
| 95 | ;; | ||
| 96 | ;; Version 4.42 | ||
| 97 | ;; - Bug fixes | ||
| 98 | ;; - `s' key in the agenda saves all org-mode buffers. | ||
| 99 | ;; | ||
| 100 | ;; Version 4.41 | ||
| 101 | ;; - Shift-curser keys can modify inactive time stamps (inactive time | ||
| 102 | ;; stamps are the ones in [...] brackets. | ||
| 103 | ;; - Toggle all checkboxes in a region/below a headline. | ||
| 104 | ;; - Bug fixes. | ||
| 105 | ;; | ||
| 106 | ;; Version 4.40 | ||
| 107 | ;; - Bug fixes. | ||
| 108 | ;; | ||
| 93 | ;; Version 4.39 | 109 | ;; Version 4.39 |
| 94 | ;; - Special tag ARCHIVE keeps a subtree closed and away from agenda lists. | 110 | ;; - Special tag ARCHIVE keeps a subtree closed and away from agenda lists. |
| 95 | ;; - LaTeX code in Org-mode files can be converted to images for HTML. | 111 | ;; - LaTeX code in Org-mode files can be converted to images for HTML. |
| @@ -196,7 +212,7 @@ | |||
| 196 | 212 | ||
| 197 | ;;; Customization variables | 213 | ;;; Customization variables |
| 198 | 214 | ||
| 199 | (defvar org-version "4.39" | 215 | (defvar org-version "4.43" |
| 200 | "The version number of the file org.el.") | 216 | "The version number of the file org.el.") |
| 201 | (defun org-version () | 217 | (defun org-version () |
| 202 | (interactive) | 218 | (interactive) |
| @@ -1779,10 +1795,10 @@ This is a property list with the following properties: | |||
| 1779 | :matchers a list indicating which matchers should be used to | 1795 | :matchers a list indicating which matchers should be used to |
| 1780 | find LaTeX fragments. Valid members of this list are: | 1796 | find LaTeX fragments. Valid members of this list are: |
| 1781 | \"begin\" find environments | 1797 | \"begin\" find environments |
| 1782 | \"$\" find mathc expressions surrounded by $...$ | 1798 | \"$\" find math expressions surrounded by $...$ |
| 1783 | \"$$\" find math expressions surrounded by $$....$$ | 1799 | \"$$\" find math expressions surrounded by $$....$$ |
| 1784 | \"\\(\" find math expressions surrounded by \\(...\\) | 1800 | \"\\(\" find math expressions surrounded by \\(...\\) |
| 1785 | \"\\[\" find math expressions surrounded by \\[...\\]" | 1801 | \"\\ [\" find math expressions surrounded by \\ [...\\]" |
| 1786 | :group 'org-latex | 1802 | :group 'org-latex |
| 1787 | :type 'plist) | 1803 | :type 'plist) |
| 1788 | 1804 | ||
| @@ -1902,6 +1918,11 @@ headline Only export the headline, but skip the tree below it." | |||
| 1902 | :group 'org-export | 1918 | :group 'org-export |
| 1903 | :type 'boolean) | 1919 | :type 'boolean) |
| 1904 | 1920 | ||
| 1921 | (defcustom org-export-remove-timestamps-from-toc t | ||
| 1922 | "Nil means, remove timestamps from the table of contents entries." | ||
| 1923 | :group 'org-export | ||
| 1924 | :type 'boolean) | ||
| 1925 | |||
| 1905 | (defcustom org-export-with-tags t | 1926 | (defcustom org-export-with-tags t |
| 1906 | "Nil means, do not export tags, just remove them from headlines." | 1927 | "Nil means, do not export tags, just remove them from headlines." |
| 1907 | :group 'org-export-general | 1928 | :group 'org-export-general |
| @@ -2673,9 +2694,13 @@ Also put tags into group 4 if tags are present.") | |||
| 2673 | (remove-text-properties 0 (length s) org-rm-props s) | 2694 | (remove-text-properties 0 (length s) org-rm-props s) |
| 2674 | s) | 2695 | s) |
| 2675 | 2696 | ||
| 2697 | (defsubst org-mode-p () | ||
| 2698 | "Check if the current buffer is in Org-mode." | ||
| 2699 | (eq major-mode 'org-mode)) | ||
| 2700 | |||
| 2676 | (defun org-set-regexps-and-options () | 2701 | (defun org-set-regexps-and-options () |
| 2677 | "Precompute regular expressions for current buffer." | 2702 | "Precompute regular expressions for current buffer." |
| 2678 | (when (eq major-mode 'org-mode) | 2703 | (when (org-mode-p) |
| 2679 | (let ((re (org-make-options-regexp | 2704 | (let ((re (org-make-options-regexp |
| 2680 | '("CATEGORY" "SEQ_TODO" "PRI_TODO" "TYP_TODO" | 2705 | '("CATEGORY" "SEQ_TODO" "PRI_TODO" "TYP_TODO" |
| 2681 | "STARTUP" "ARCHIVE" "TAGS"))) | 2706 | "STARTUP" "ARCHIVE" "TAGS"))) |
| @@ -2853,6 +2878,8 @@ Also put tags into group 4 if tags are present.") | |||
| 2853 | (defvar orgtbl-mode) ; defined later in this file | 2878 | (defvar orgtbl-mode) ; defined later in this file |
| 2854 | (defvar Info-current-file) ; from info.el | 2879 | (defvar Info-current-file) ; from info.el |
| 2855 | (defvar Info-current-node) ; from info.el | 2880 | (defvar Info-current-node) ; from info.el |
| 2881 | (defvar texmathp-why) ; from texmathp.el | ||
| 2882 | (defvar org-latex-regexps) | ||
| 2856 | 2883 | ||
| 2857 | ;;; Define the mode | 2884 | ;;; Define the mode |
| 2858 | 2885 | ||
| @@ -2944,9 +2971,7 @@ The following commands are available: | |||
| 2944 | ;; Paragraphs and auto-filling | 2971 | ;; Paragraphs and auto-filling |
| 2945 | (org-set-autofill-regexps) | 2972 | (org-set-autofill-regexps) |
| 2946 | (org-update-radio-target-regexp) | 2973 | (org-update-radio-target-regexp) |
| 2947 | ;; Settings for Calc embedded mode | 2974 | |
| 2948 | (set (make-local-variable 'calc-embedded-open-formula) "|\\|\n") | ||
| 2949 | (set (make-local-variable 'calc-embedded-close-formula) "|\\|\n") | ||
| 2950 | (if (and org-insert-mode-line-in-empty-file | 2975 | (if (and org-insert-mode-line-in-empty-file |
| 2951 | (interactive-p) | 2976 | (interactive-p) |
| 2952 | (= (point-min) (point-max))) | 2977 | (= (point-min) (point-max))) |
| @@ -3070,10 +3095,12 @@ that will be added to PLIST. Returns the string that was modified." | |||
| 3070 | "Regular expression for fast time stamp matching.") | 3095 | "Regular expression for fast time stamp matching.") |
| 3071 | (defconst org-ts-regexp-both "[[<]\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}[^\r\n>]*?\\)[]>]" | 3096 | (defconst org-ts-regexp-both "[[<]\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}[^\r\n>]*?\\)[]>]" |
| 3072 | "Regular expression for fast time stamp matching.") | 3097 | "Regular expression for fast time stamp matching.") |
| 3073 | (defconst org-ts-regexp1 "\\(\\([0-9]\\{4\\}\\)-\\([0-9]\\{2\\}\\)-\\([0-9]\\{2\\}\\)\\([^0-9>\r\n]*\\)\\(\\([0-9]\\{2\\}\\):\\([0-9]\\{2\\}\\)\\)?\\)" | 3098 | (defconst org-ts-regexp1 "\\(\\([0-9]\\{4\\}\\)-\\([0-9]\\{2\\}\\)-\\([0-9]\\{2\\}\\)\\([^]0-9>\r\n]*\\)\\(\\([0-9]\\{2\\}\\):\\([0-9]\\{2\\}\\)\\)?\\)" |
| 3074 | "Regular expression matching time strings for analysis.") | 3099 | "Regular expression matching time strings for analysis.") |
| 3075 | (defconst org-ts-regexp2 (concat "<" org-ts-regexp1 ">") | 3100 | (defconst org-ts-regexp2 (concat "<" org-ts-regexp1 ">") |
| 3076 | "Regular expression matching time stamps, with groups.") | 3101 | "Regular expression matching time stamps, with groups.") |
| 3102 | (defconst org-ts-regexp3 (concat "[[<]" org-ts-regexp1 "[]>]") | ||
| 3103 | "Regular expression matching time stamps (also [..]), with groups.") | ||
| 3077 | (defconst org-tr-regexp (concat org-ts-regexp "--?-?" org-ts-regexp) | 3104 | (defconst org-tr-regexp (concat org-ts-regexp "--?-?" org-ts-regexp) |
| 3078 | "Regular expression matching a time stamp range.") | 3105 | "Regular expression matching a time stamp range.") |
| 3079 | (defconst org-tsr-regexp (concat org-ts-regexp "\\(--?-?" | 3106 | (defconst org-tsr-regexp (concat org-ts-regexp "\\(--?-?" |
| @@ -3574,7 +3601,7 @@ This function is the default value of the hook `org-cycle-hook'." | |||
| 3574 | "Move cursor to the first headline and recenter the headline. | 3601 | "Move cursor to the first headline and recenter the headline. |
| 3575 | Optional argument N means, put the headline into the Nth line of the window." | 3602 | Optional argument N means, put the headline into the Nth line of the window." |
| 3576 | (goto-char (point-min)) | 3603 | (goto-char (point-min)) |
| 3577 | (when (re-search-forward (concat "^" outline-regexp) nil t) | 3604 | (when (re-search-forward (concat "^\\(" outline-regexp "\\)") nil t) |
| 3578 | (beginning-of-line) | 3605 | (beginning-of-line) |
| 3579 | (recenter (prefix-numeric-value N)))) | 3606 | (recenter (prefix-numeric-value N)))) |
| 3580 | 3607 | ||
| @@ -4152,12 +4179,31 @@ If optional TXT is given, check this string instead of the current kill." | |||
| 4152 | (skip-chars-forward " \t") | 4179 | (skip-chars-forward " \t") |
| 4153 | (looking-at "\\[[ X]\\]")))) | 4180 | (looking-at "\\[[ X]\\]")))) |
| 4154 | 4181 | ||
| 4155 | (defun org-toggle-checkbox () | 4182 | (defun org-toggle-checkbox (&optional arg) |
| 4156 | "Toggle the checkbox in the current line." | 4183 | "Toggle the checkbox in the current line." |
| 4157 | (interactive) | 4184 | (interactive "P") |
| 4158 | (save-excursion | 4185 | (catch 'exit |
| 4159 | (if (org-at-item-checkbox-p) | 4186 | (let (beg end status (firstnew 'unknown)) |
| 4160 | (replace-match (if (equal (match-string 0) "[ ]") "[X]" "[ ]") t t)))) | 4187 | (cond |
| 4188 | ((org-region-active-p) | ||
| 4189 | (setq beg (region-beginning) end (region-end))) | ||
| 4190 | ((org-on-heading-p) | ||
| 4191 | (setq beg (point) end (save-excursion (outline-next-heading) (point)))) | ||
| 4192 | ((org-at-item-checkbox-p) | ||
| 4193 | (save-excursion | ||
| 4194 | (replace-match (if (equal (match-string 0) "[ ]") "[X]" "[ ]") t t)) | ||
| 4195 | (throw 'exit t)) | ||
| 4196 | (t (error "Not at a checkbox or heading, and no active region"))) | ||
| 4197 | (save-excursion | ||
| 4198 | (goto-char beg) | ||
| 4199 | (while (< (point) end) | ||
| 4200 | (when (org-at-item-checkbox-p) | ||
| 4201 | (setq status (equal (match-string 0) "[X]")) | ||
| 4202 | (when (eq firstnew 'unknown) | ||
| 4203 | (setq firstnew (not status))) | ||
| 4204 | (replace-match | ||
| 4205 | (if (if arg (not status) firstnew) "[X]" "[ ]") t t)) | ||
| 4206 | (beginning-of-line 2)))))) | ||
| 4161 | 4207 | ||
| 4162 | (defun org-get-indentation (&optional line) | 4208 | (defun org-get-indentation (&optional line) |
| 4163 | "Get the indentation of the current line, interpreting tabs. | 4209 | "Get the indentation of the current line, interpreting tabs. |
| @@ -4211,7 +4257,7 @@ If the cursor is not in an item, throw an error." | |||
| 4211 | (while t | 4257 | (while t |
| 4212 | (beginning-of-line 0) | 4258 | (beginning-of-line 0) |
| 4213 | (if (< (point) limit) (throw 'exit nil)) | 4259 | (if (< (point) limit) (throw 'exit nil)) |
| 4214 | (unless (looking-at " \t]*$") | 4260 | (unless (looking-at "[ \t]*$") |
| 4215 | (skip-chars-forward " \t") | 4261 | (skip-chars-forward " \t") |
| 4216 | (setq ind1 (current-column)) | 4262 | (setq ind1 (current-column)) |
| 4217 | (if (< ind1 ind) | 4263 | (if (< ind1 ind) |
| @@ -4483,7 +4529,7 @@ this heading. " | |||
| 4483 | (let (this-command) (org-copy-subtree)) | 4529 | (let (this-command) (org-copy-subtree)) |
| 4484 | (set-buffer buffer) | 4530 | (set-buffer buffer) |
| 4485 | ;; Enforce org-mode for the archive buffer | 4531 | ;; Enforce org-mode for the archive buffer |
| 4486 | (if (not (eq major-mode 'org-mode)) | 4532 | (if (not (org-mode-p)) |
| 4487 | ;; Force the mode for future visits. | 4533 | ;; Force the mode for future visits. |
| 4488 | (let ((org-insert-mode-line-in-empty-file t)) | 4534 | (let ((org-insert-mode-line-in-empty-file t)) |
| 4489 | (call-interactively 'org-mode))) | 4535 | (call-interactively 'org-mode))) |
| @@ -4570,7 +4616,7 @@ When TAG is non-nil, don't move trees, but mark them with the ARCHIVE tag." | |||
| 4570 | (save-excursion | 4616 | (save-excursion |
| 4571 | (goto-char begm) | 4617 | (goto-char begm) |
| 4572 | (while (re-search-forward re1 endm t) | 4618 | (while (re-search-forward re1 endm t) |
| 4573 | beg (match-beginning 0) | 4619 | (setq beg (match-beginning 0) |
| 4574 | end (save-excursion (org-end-of-subtree t) (point))) | 4620 | end (save-excursion (org-end-of-subtree t) (point))) |
| 4575 | (goto-char beg) | 4621 | (goto-char beg) |
| 4576 | (if (re-search-forward re end t) | 4622 | (if (re-search-forward re end t) |
| @@ -4583,10 +4629,9 @@ When TAG is non-nil, don't move trees, but mark them with the ARCHIVE tag." | |||
| 4583 | (org-toggle-tag org-archive-tag 'on) | 4629 | (org-toggle-tag org-archive-tag 'on) |
| 4584 | (org-archive-subtree)) | 4630 | (org-archive-subtree)) |
| 4585 | (setq cntarch (1+ cntarch))) | 4631 | (setq cntarch (1+ cntarch))) |
| 4586 | (goto-char end)))) | 4632 | (goto-char end))))) |
| 4587 | (message "%d trees archived" cntarch))) | 4633 | (message "%d trees archived" cntarch))) |
| 4588 | 4634 | ||
| 4589 | |||
| 4590 | (defun org-cycle-hide-archived-subtrees (state) | 4635 | (defun org-cycle-hide-archived-subtrees (state) |
| 4591 | "Re-hide all archived subtrees after a visibility state change." | 4636 | "Re-hide all archived subtrees after a visibility state change." |
| 4592 | (when (and (not org-cycle-open-archived-trees) | 4637 | (when (and (not org-cycle-open-archived-trees) |
| @@ -4653,28 +4698,31 @@ the children that do not contain any open TODO items." | |||
| 4653 | 4698 | ||
| 4654 | (defun org-prepare-agenda-buffers (files) | 4699 | (defun org-prepare-agenda-buffers (files) |
| 4655 | "Create buffers for all agenda files, protect archived trees and comments." | 4700 | "Create buffers for all agenda files, protect archived trees and comments." |
| 4701 | (interactive) | ||
| 4656 | (let ((pa '(:org-archived t)) | 4702 | (let ((pa '(:org-archived t)) |
| 4657 | (pc '(:org-comment t)) | 4703 | (pc '(:org-comment t)) |
| 4658 | (pall '(:org-archived t :org-comment t)) | 4704 | (pall '(:org-archived t :org-comment t)) |
| 4659 | (rea (concat ":" org-archive-tag ":")) | 4705 | (rea (concat ":" org-archive-tag ":")) |
| 4660 | file re) | 4706 | bmp file re) |
| 4661 | (save-excursion | 4707 | (save-excursion |
| 4662 | (while (setq file (pop files)) | 4708 | (while (setq file (pop files)) |
| 4663 | (org-check-agenda-file file) | 4709 | (org-check-agenda-file file) |
| 4664 | (set-buffer (org-get-agenda-file-buffer file)) | 4710 | (set-buffer (org-get-agenda-file-buffer file)) |
| 4665 | (widen) | 4711 | (widen) |
| 4712 | (setq bmp (buffer-modified-p)) | ||
| 4666 | (save-excursion | 4713 | (save-excursion |
| 4667 | (remove-text-properties (point-min) (point-max) pall) | 4714 | (remove-text-properties (point-min) (point-max) pall) |
| 4668 | (when org-agenda-skip-archived-trees | 4715 | (when org-agenda-skip-archived-trees |
| 4669 | (goto-char (point-min)) | 4716 | (goto-char (point-min)) |
| 4670 | (while (re-search-forward rea nil t) | 4717 | (while (re-search-forward rea nil t) |
| 4671 | (if (org-on-heading-p) | 4718 | (if (org-on-heading-p) |
| 4672 | (add-text-properties (point-at-bol) (org-end-of-subtree) pa)))) | 4719 | (add-text-properties (point-at-bol) (org-end-of-subtree t) pa)))) |
| 4673 | (goto-char (point-min)) | 4720 | (goto-char (point-min)) |
| 4674 | (setq re (concat "^\\*+ +" org-comment-string "\\>")) | 4721 | (setq re (concat "^\\*+ +" org-comment-string "\\>")) |
| 4675 | (while (re-search-forward re nil t) | 4722 | (while (re-search-forward re nil t) |
| 4676 | (add-text-properties | 4723 | (add-text-properties |
| 4677 | (match-beginning 0) (org-end-of-subtree) pc))))))) | 4724 | (match-beginning 0) (org-end-of-subtree t) pc))) |
| 4725 | (set-buffer-modified-p bmp))))) | ||
| 4678 | 4726 | ||
| 4679 | (defun org-agenda-skip () | 4727 | (defun org-agenda-skip () |
| 4680 | "Throw to `:skip' in places that should be skipped." | 4728 | "Throw to `:skip' in places that should be skipped." |
| @@ -4818,7 +4866,7 @@ Error if there is no scuh block at point." | |||
| 4818 | (defun org-update-all-dblocks () | 4866 | (defun org-update-all-dblocks () |
| 4819 | "Update all dynamic blocks in the buffer. | 4867 | "Update all dynamic blocks in the buffer. |
| 4820 | This function can be used in a hook." | 4868 | This function can be used in a hook." |
| 4821 | (when (eq major-mode 'org-mode) | 4869 | (when (org-mode-p) |
| 4822 | (org-map-dblocks 'org-update-dblock))) | 4870 | (org-map-dblocks 'org-update-dblock))) |
| 4823 | 4871 | ||
| 4824 | 4872 | ||
| @@ -5208,6 +5256,12 @@ that the match should indeed be shown." | |||
| 5208 | (if (featurep 'xemacs) | 5256 | (if (featurep 'xemacs) |
| 5209 | (set-extent-property ovl prop value) | 5257 | (set-extent-property ovl prop value) |
| 5210 | (overlay-put ovl prop value))) | 5258 | (overlay-put ovl prop value))) |
| 5259 | (defun org-overlays-at (pos) | ||
| 5260 | (if (featurep 'xemacs) (extents-at pos) (overlays-at pos))) | ||
| 5261 | (defun org-overlay-start (o) | ||
| 5262 | (if (featurep 'xemacs) (extent-start-position o) (overlay-start o))) | ||
| 5263 | (defun org-overlay-end (o) | ||
| 5264 | (if (featurep 'xemacs) (extent-end-position o) (overlay-end o))) | ||
| 5211 | 5265 | ||
| 5212 | (defvar org-occur-highlights nil) | 5266 | (defvar org-occur-highlights nil) |
| 5213 | (make-variable-buffer-local 'org-occur-highlights) | 5267 | (make-variable-buffer-local 'org-occur-highlights) |
| @@ -5675,7 +5729,7 @@ With prefix ARG, change by that many units." | |||
| 5675 | "Increase the date in the time stamp by one day. | 5729 | "Increase the date in the time stamp by one day. |
| 5676 | With prefix ARG, change that many days." | 5730 | With prefix ARG, change that many days." |
| 5677 | (interactive "p") | 5731 | (interactive "p") |
| 5678 | (if (and (not (org-at-timestamp-p)) | 5732 | (if (and (not (org-at-timestamp-p t)) |
| 5679 | (org-on-heading-p)) | 5733 | (org-on-heading-p)) |
| 5680 | (org-todo 'up) | 5734 | (org-todo 'up) |
| 5681 | (org-timestamp-change (prefix-numeric-value arg) 'day))) | 5735 | (org-timestamp-change (prefix-numeric-value arg) 'day))) |
| @@ -5684,7 +5738,7 @@ With prefix ARG, change that many days." | |||
| 5684 | "Decrease the date in the time stamp by one day. | 5738 | "Decrease the date in the time stamp by one day. |
| 5685 | With prefix ARG, change that many days." | 5739 | With prefix ARG, change that many days." |
| 5686 | (interactive "p") | 5740 | (interactive "p") |
| 5687 | (if (and (not (org-at-timestamp-p)) | 5741 | (if (and (not (org-at-timestamp-p t)) |
| 5688 | (org-on-heading-p)) | 5742 | (org-on-heading-p)) |
| 5689 | (org-todo 'down) | 5743 | (org-todo 'down) |
| 5690 | (org-timestamp-change (- (prefix-numeric-value arg)) 'day))) | 5744 | (org-timestamp-change (- (prefix-numeric-value arg)) 'day))) |
| @@ -5694,14 +5748,14 @@ With prefix ARG, change that many days." | |||
| 5694 | (<= (match-beginning n) pos) | 5748 | (<= (match-beginning n) pos) |
| 5695 | (>= (match-end n) pos))) | 5749 | (>= (match-end n) pos))) |
| 5696 | 5750 | ||
| 5697 | (defun org-at-timestamp-p () | 5751 | (defun org-at-timestamp-p (&optional also-inactive) |
| 5698 | "Determine if the cursor is in or at a timestamp." | 5752 | "Determine if the cursor is in or at a timestamp." |
| 5699 | (interactive) | 5753 | (interactive) |
| 5700 | (let* ((tsr org-ts-regexp2) | 5754 | (let* ((tsr (if also-inactive org-ts-regexp3 org-ts-regexp2)) |
| 5701 | (pos (point)) | 5755 | (pos (point)) |
| 5702 | (ans (or (looking-at tsr) | 5756 | (ans (or (looking-at tsr) |
| 5703 | (save-excursion | 5757 | (save-excursion |
| 5704 | (skip-chars-backward "^<\n\r\t") | 5758 | (skip-chars-backward "^[<\n\r\t") |
| 5705 | (if (> (point) 1) (backward-char 1)) | 5759 | (if (> (point) 1) (backward-char 1)) |
| 5706 | (and (looking-at tsr) | 5760 | (and (looking-at tsr) |
| 5707 | (> (- (match-end 0) pos) -1)))))) | 5761 | (> (- (match-end 0) pos) -1)))))) |
| @@ -5726,7 +5780,7 @@ in the timestamp determines what will be changed." | |||
| 5726 | org-ts-what | 5780 | org-ts-what |
| 5727 | (pos (point)) | 5781 | (pos (point)) |
| 5728 | ts time time0) | 5782 | ts time time0) |
| 5729 | (if (not (org-at-timestamp-p)) | 5783 | (if (not (org-at-timestamp-p t)) |
| 5730 | (error "Not at a timestamp")) | 5784 | (error "Not at a timestamp")) |
| 5731 | (setq org-ts-what (or what org-ts-what)) | 5785 | (setq org-ts-what (or what org-ts-what)) |
| 5732 | (setq fmt (if (<= (abs (- (cdr org-ts-lengths) | 5786 | (setq fmt (if (<= (abs (- (cdr org-ts-lengths) |
| @@ -5734,6 +5788,8 @@ in the timestamp determines what will be changed." | |||
| 5734 | 1) | 5788 | 1) |
| 5735 | (cdr org-time-stamp-formats) | 5789 | (cdr org-time-stamp-formats) |
| 5736 | (car org-time-stamp-formats))) | 5790 | (car org-time-stamp-formats))) |
| 5791 | (if (= (char-after (match-beginning 0)) ?\[) | ||
| 5792 | (setq fmt (concat "[" (substring fmt 1 -1) "]"))) | ||
| 5737 | (setq ts (match-string 0)) | 5793 | (setq ts (match-string 0)) |
| 5738 | (replace-match "") | 5794 | (replace-match "") |
| 5739 | (setq time0 (org-parse-time-string ts)) | 5795 | (setq time0 (org-parse-time-string ts)) |
| @@ -6187,6 +6243,7 @@ The following commands are available: | |||
| 6187 | (define-key org-agenda-mode-map "r" 'org-agenda-redo) | 6243 | (define-key org-agenda-mode-map "r" 'org-agenda-redo) |
| 6188 | (define-key org-agenda-mode-map "q" 'org-agenda-quit) | 6244 | (define-key org-agenda-mode-map "q" 'org-agenda-quit) |
| 6189 | (define-key org-agenda-mode-map "x" 'org-agenda-exit) | 6245 | (define-key org-agenda-mode-map "x" 'org-agenda-exit) |
| 6246 | (define-key org-agenda-mode-map "s" 'org-save-all-org-buffers) | ||
| 6190 | (define-key org-agenda-mode-map "P" 'org-agenda-show-priority) | 6247 | (define-key org-agenda-mode-map "P" 'org-agenda-show-priority) |
| 6191 | (define-key org-agenda-mode-map "T" 'org-agenda-show-tags) | 6248 | (define-key org-agenda-mode-map "T" 'org-agenda-show-tags) |
| 6192 | (define-key org-agenda-mode-map "n" 'next-line) | 6249 | (define-key org-agenda-mode-map "n" 'next-line) |
| @@ -6203,7 +6260,6 @@ The following commands are available: | |||
| 6203 | (define-key org-agenda-mode-map "C" 'org-agenda-convert-date) | 6260 | (define-key org-agenda-mode-map "C" 'org-agenda-convert-date) |
| 6204 | (define-key org-agenda-mode-map "m" 'org-agenda-phases-of-moon) | 6261 | (define-key org-agenda-mode-map "m" 'org-agenda-phases-of-moon) |
| 6205 | (define-key org-agenda-mode-map "M" 'org-agenda-phases-of-moon) | 6262 | (define-key org-agenda-mode-map "M" 'org-agenda-phases-of-moon) |
| 6206 | (define-key org-agenda-mode-map "s" 'org-agenda-sunrise-sunset) | ||
| 6207 | (define-key org-agenda-mode-map "S" 'org-agenda-sunrise-sunset) | 6263 | (define-key org-agenda-mode-map "S" 'org-agenda-sunrise-sunset) |
| 6208 | (define-key org-agenda-mode-map "h" 'org-agenda-holidays) | 6264 | (define-key org-agenda-mode-map "h" 'org-agenda-holidays) |
| 6209 | (define-key org-agenda-mode-map "H" 'org-agenda-holidays) | 6265 | (define-key org-agenda-mode-map "H" 'org-agenda-holidays) |
| @@ -6257,6 +6313,7 @@ The following commands are available: | |||
| 6257 | "--" | 6313 | "--" |
| 6258 | ;; ["New agenda command" org-agenda t] | 6314 | ;; ["New agenda command" org-agenda t] |
| 6259 | ["Rebuild buffer" org-agenda-redo t] | 6315 | ["Rebuild buffer" org-agenda-redo t] |
| 6316 | ["Save all Org-mode Buffers" org-save-all-org-buffers t] | ||
| 6260 | "--" | 6317 | "--" |
| 6261 | ["Goto Today" org-agenda-goto-today (org-agenda-check-type nil 'agenda 'timeline)] | 6318 | ["Goto Today" org-agenda-goto-today (org-agenda-check-type nil 'agenda 'timeline)] |
| 6262 | ["Next Dates" org-agenda-later (org-agenda-check-type nil 'agenda)] | 6319 | ["Next Dates" org-agenda-later (org-agenda-check-type nil 'agenda)] |
| @@ -6310,7 +6367,7 @@ first press `1' to indicate that the agenda should be temporarily (until the | |||
| 6310 | next use of \\[org-agenda]) restricted to the current file." | 6367 | next use of \\[org-agenda]) restricted to the current file." |
| 6311 | (interactive "P") | 6368 | (interactive "P") |
| 6312 | (catch 'exit | 6369 | (catch 'exit |
| 6313 | (let ((restrict-ok (and buffer-file-name (eq major-mode 'org-mode))) | 6370 | (let ((restrict-ok (and buffer-file-name (org-mode-p))) |
| 6314 | (bfn buffer-file-name) | 6371 | (bfn buffer-file-name) |
| 6315 | (custom org-agenda-custom-commands) | 6372 | (custom org-agenda-custom-commands) |
| 6316 | c entry key type string) | 6373 | c entry key type string) |
| @@ -6385,7 +6442,7 @@ C Configure your own agenda commands") | |||
| 6385 | 6442 | ||
| 6386 | (defun org-check-for-org-mode () | 6443 | (defun org-check-for-org-mode () |
| 6387 | "Make sure current buffer is in org-mode. Error if not." | 6444 | "Make sure current buffer is in org-mode. Error if not." |
| 6388 | (or (eq major-mode 'org-mode) | 6445 | (or (org-mode-p) |
| 6389 | (error "Cannot execute org-mode agenda command on buffer in %s." | 6446 | (error "Cannot execute org-mode agenda command on buffer in %s." |
| 6390 | major-mode))) | 6447 | major-mode))) |
| 6391 | 6448 | ||
| @@ -6828,6 +6885,14 @@ Org-mode buffers visited directly by the user will not be touched." | |||
| 6828 | (setq org-agenda-new-buffers nil) | 6885 | (setq org-agenda-new-buffers nil) |
| 6829 | (org-agenda-quit)) | 6886 | (org-agenda-quit)) |
| 6830 | 6887 | ||
| 6888 | ;; FIXME: move this function. | ||
| 6889 | (defun org-save-all-org-buffers () | ||
| 6890 | "Save all Org-mode buffers without user confirmation." | ||
| 6891 | (interactive) | ||
| 6892 | (message "Saving all Org-mode buffers...") | ||
| 6893 | (save-some-buffers t 'org-mode-p) | ||
| 6894 | (message "Saving all Org-mode buffers... done")) | ||
| 6895 | |||
| 6831 | (defun org-agenda-redo () | 6896 | (defun org-agenda-redo () |
| 6832 | "Rebuild Agenda. | 6897 | "Rebuild Agenda. |
| 6833 | When this is the global TODO list, a prefix argument will be interpreted." | 6898 | When this is the global TODO list, a prefix argument will be interpreted." |
| @@ -7289,7 +7354,7 @@ the documentation of `org-diary'." | |||
| 7289 | ;; If file does not exist, make sure an error message ends up in diary | 7354 | ;; If file does not exist, make sure an error message ends up in diary |
| 7290 | (list (format "ORG-AGENDA-ERROR: No such org-file %s" file)) | 7355 | (list (format "ORG-AGENDA-ERROR: No such org-file %s" file)) |
| 7291 | (with-current-buffer buffer | 7356 | (with-current-buffer buffer |
| 7292 | (unless (eq major-mode 'org-mode) | 7357 | (unless (org-mode-p) |
| 7293 | (error "Agenda file %s is not in `org-mode'" file)) | 7358 | (error "Agenda file %s is not in `org-mode'" file)) |
| 7294 | (setq org-category-table (org-get-category-table)) | 7359 | (setq org-category-table (org-get-category-table)) |
| 7295 | (let ((case-fold-search nil)) | 7360 | (let ((case-fold-search nil)) |
| @@ -7372,9 +7437,11 @@ the documentation of `org-diary'." | |||
| 7372 | (goto-char (point-min)) | 7437 | (goto-char (point-min)) |
| 7373 | (while (re-search-forward regexp nil t) | 7438 | (while (re-search-forward regexp nil t) |
| 7374 | (catch :skip | 7439 | (catch :skip |
| 7375 | (and org-agenda-todo-ignore-scheduled | 7440 | (when (and org-agenda-todo-ignore-scheduled |
| 7376 | (looking-at sched-re) | 7441 | (looking-at sched-re)) |
| 7377 | (throw :skip nil)) | 7442 | ;; FIXME: the following test also happens below, but we need it here |
| 7443 | (or org-agenda-todo-list-sublevels (org-end-of-subtree 'invisible)) | ||
| 7444 | (throw :skip nil)) | ||
| 7378 | (org-agenda-skip) | 7445 | (org-agenda-skip) |
| 7379 | (goto-char (match-beginning 1)) | 7446 | (goto-char (match-beginning 1)) |
| 7380 | (setq marker (org-agenda-new-marker (1+ (match-beginning 0))) | 7447 | (setq marker (org-agenda-new-marker (1+ (match-beginning 0))) |
| @@ -7961,7 +8028,7 @@ and by additional input from the age of a schedules or deadline entry." | |||
| 7961 | (switch-to-buffer-other-window buffer) | 8028 | (switch-to-buffer-other-window buffer) |
| 7962 | (widen) | 8029 | (widen) |
| 7963 | (goto-char pos) | 8030 | (goto-char pos) |
| 7964 | (when (eq major-mode 'org-mode) | 8031 | (when (org-mode-p) |
| 7965 | (org-show-hidden-entry) | 8032 | (org-show-hidden-entry) |
| 7966 | (save-excursion | 8033 | (save-excursion |
| 7967 | (and (outline-next-heading) | 8034 | (and (outline-next-heading) |
| @@ -7979,7 +8046,7 @@ and by additional input from the age of a schedules or deadline entry." | |||
| 7979 | (delete-other-windows) | 8046 | (delete-other-windows) |
| 7980 | (widen) | 8047 | (widen) |
| 7981 | (goto-char pos) | 8048 | (goto-char pos) |
| 7982 | (when (eq major-mode 'org-mode) | 8049 | (when (org-mode-p) |
| 7983 | (org-show-hidden-entry) | 8050 | (org-show-hidden-entry) |
| 7984 | (save-excursion | 8051 | (save-excursion |
| 7985 | (and (outline-next-heading) | 8052 | (and (outline-next-heading) |
| @@ -8572,7 +8639,7 @@ The prefix arg TODO-ONLY limits the search to TODO entries." | |||
| 8572 | (format "ORG-AGENDA-ERROR: No such org-file %s" file)) | 8639 | (format "ORG-AGENDA-ERROR: No such org-file %s" file)) |
| 8573 | rtnall (append rtnall rtn)) | 8640 | rtnall (append rtnall rtn)) |
| 8574 | (with-current-buffer buffer | 8641 | (with-current-buffer buffer |
| 8575 | (unless (eq major-mode 'org-mode) | 8642 | (unless (org-mode-p) |
| 8576 | (error "Agenda file %s is not in `org-mode'" file)) | 8643 | (error "Agenda file %s is not in `org-mode'" file)) |
| 8577 | (setq org-category-table (org-get-category-table)) | 8644 | (setq org-category-table (org-get-category-table)) |
| 8578 | (save-excursion | 8645 | (save-excursion |
| @@ -8636,7 +8703,7 @@ With prefix ARG, realign all tags in headings in the current buffer." | |||
| 8636 | nil nil current 'org-tags-history)))) | 8703 | nil nil current 'org-tags-history)))) |
| 8637 | (while (string-match "[-+&]+" tags) | 8704 | (while (string-match "[-+&]+" tags) |
| 8638 | (setq tags (replace-match ":" t t tags)))) | 8705 | (setq tags (replace-match ":" t t tags)))) |
| 8639 | 8706 | ||
| 8640 | (unless (setq empty (string-match "\\`[\t ]*\\'" tags)) | 8707 | (unless (setq empty (string-match "\\`[\t ]*\\'" tags)) |
| 8641 | (unless (string-match ":$" tags) (setq tags (concat tags ":"))) | 8708 | (unless (string-match ":$" tags) (setq tags (concat tags ":"))) |
| 8642 | (unless (string-match "^:" tags) (setq tags (concat ":" tags)))) | 8709 | (unless (string-match "^:" tags) (setq tags (concat ":" tags)))) |
| @@ -8653,6 +8720,8 @@ With prefix ARG, realign all tags in headings in the current buffer." | |||
| 8653 | (if (equal tags "") | 8720 | (if (equal tags "") |
| 8654 | (save-excursion | 8721 | (save-excursion |
| 8655 | (beginning-of-line 1) | 8722 | (beginning-of-line 1) |
| 8723 | (skip-chars-forward "*") | ||
| 8724 | (if (= (char-after) ?\ ) (forward-char 1)) | ||
| 8656 | (and (re-search-forward "[ \t]+$" (point-at-eol) t) | 8725 | (and (re-search-forward "[ \t]+$" (point-at-eol) t) |
| 8657 | (replace-match ""))) | 8726 | (replace-match ""))) |
| 8658 | (move-to-column (max (current-column) | 8727 | (move-to-column (max (current-column) |
| @@ -9099,7 +9168,7 @@ in all files." | |||
| 9099 | ((string-match "^/\\(.*\\)/$" s) | 9168 | ((string-match "^/\\(.*\\)/$" s) |
| 9100 | ;; A regular expression | 9169 | ;; A regular expression |
| 9101 | (cond | 9170 | (cond |
| 9102 | ((eq major-mode 'org-mode) | 9171 | ((org-mode-p) |
| 9103 | (org-occur (match-string 1 s))) | 9172 | (org-occur (match-string 1 s))) |
| 9104 | ;;((eq major-mode 'dired-mode) | 9173 | ;;((eq major-mode 'dired-mode) |
| 9105 | ;; (grep (concat "grep -n -e '" (match-string 1 s) "' *"))) | 9174 | ;; (grep (concat "grep -n -e '" (match-string 1 s) "' *"))) |
| @@ -9155,7 +9224,7 @@ in all files." | |||
| 9155 | (if (search-forward s nil t) | 9224 | (if (search-forward s nil t) |
| 9156 | (goto-char (match-beginning 0)) | 9225 | (goto-char (match-beginning 0)) |
| 9157 | (error "No match")))) | 9226 | (error "No match")))) |
| 9158 | (and (eq major-mode 'org-mode) (org-show-hierarchy-above)))) | 9227 | (and (org-mode-p) (org-show-hierarchy-above)))) |
| 9159 | 9228 | ||
| 9160 | (defun org-search-not-link (&rest args) | 9229 | (defun org-search-not-link (&rest args) |
| 9161 | "Execute `re-search-forward', but only accept matches that are not a link." | 9230 | "Execute `re-search-forward', but only accept matches that are not a link." |
| @@ -9609,7 +9678,7 @@ If the file does not exist, an error is thrown." | |||
| 9609 | ((consp cmd) | 9678 | ((consp cmd) |
| 9610 | (eval cmd)) | 9679 | (eval cmd)) |
| 9611 | (t (funcall (cdr (assq 'file org-link-frame-setup)) file))) | 9680 | (t (funcall (cdr (assq 'file org-link-frame-setup)) file))) |
| 9612 | (and (eq major-mode 'org-mode) (eq old-mode 'org-mode) | 9681 | (and (org-mode-p) (eq old-mode 'org-mode) |
| 9613 | (or (not (equal old-buffer (current-buffer))) | 9682 | (or (not (equal old-buffer (current-buffer))) |
| 9614 | (not (equal old-pos (point)))) | 9683 | (not (equal old-pos (point)))) |
| 9615 | (org-mark-ring-push old-pos old-buffer)))) | 9684 | (org-mark-ring-push old-pos old-buffer)))) |
| @@ -9788,7 +9857,7 @@ For file links, arg negates `org-context-in-file-links'." | |||
| 9788 | (abbreviate-file-name buffer-file-name)) | 9857 | (abbreviate-file-name buffer-file-name)) |
| 9789 | link (org-make-link cpltxt))) | 9858 | link (org-make-link cpltxt))) |
| 9790 | 9859 | ||
| 9791 | ((eq major-mode 'org-mode) | 9860 | ((org-mode-p) |
| 9792 | ;; Just link to current headline | 9861 | ;; Just link to current headline |
| 9793 | (setq cpltxt (concat "file:" | 9862 | (setq cpltxt (concat "file:" |
| 9794 | (abbreviate-file-name buffer-file-name))) | 9863 | (abbreviate-file-name buffer-file-name))) |
| @@ -10633,7 +10702,7 @@ This is being used to correctly align a single field after TAB or RET.") | |||
| 10633 | (move-marker org-table-aligned-begin-marker (point)) | 10702 | (move-marker org-table-aligned-begin-marker (point)) |
| 10634 | (insert new) | 10703 | (insert new) |
| 10635 | (move-marker org-table-aligned-end-marker (point)) | 10704 | (move-marker org-table-aligned-end-marker (point)) |
| 10636 | (when (and orgtbl-mode (not (eq major-mode 'org-mode))) | 10705 | (when (and orgtbl-mode (not (org-mode-p))) |
| 10637 | (goto-char org-table-aligned-begin-marker) | 10706 | (goto-char org-table-aligned-begin-marker) |
| 10638 | (while (org-hide-wide-columns org-table-aligned-end-marker))) | 10707 | (while (org-hide-wide-columns org-table-aligned-end-marker))) |
| 10639 | ;; Try to move to the old location (approximately) | 10708 | ;; Try to move to the old location (approximately) |
| @@ -12073,10 +12142,10 @@ not overwrite the stored one." | |||
| 12073 | ;; Insert ranges in current column | 12142 | ;; Insert ranges in current column |
| 12074 | (while (string-match "\\&[-I0-9]+" form) | 12143 | (while (string-match "\\&[-I0-9]+" form) |
| 12075 | (setq form (replace-match | 12144 | (setq form (replace-match |
| 12076 | (save-match-data | 12145 | (save-match-data |
| 12077 | (org-table-get-vertical-vector (match-string 0 form) | 12146 | (org-table-get-vertical-vector (match-string 0 form) |
| 12078 | nil n0)) | 12147 | nil n0)) |
| 12079 | t t form))) | 12148 | t t form))) |
| 12080 | (if lispp | 12149 | (if lispp |
| 12081 | (setq ev (eval (eval (read form))) | 12150 | (setq ev (eval (eval (read form))) |
| 12082 | ev (if (numberp ev) (number-to-string ev) ev)) | 12151 | ev (if (numberp ev) (number-to-string ev) ev)) |
| @@ -12399,7 +12468,7 @@ table editor in arbitrary modes.") | |||
| 12399 | (defun orgtbl-mode (&optional arg) | 12468 | (defun orgtbl-mode (&optional arg) |
| 12400 | "The `org-mode' table editor as a minor mode for use in other modes." | 12469 | "The `org-mode' table editor as a minor mode for use in other modes." |
| 12401 | (interactive) | 12470 | (interactive) |
| 12402 | (if (eq major-mode 'org-mode) | 12471 | (if (org-mode-p) |
| 12403 | ;; Exit without error, in case some hook functions calls this | 12472 | ;; Exit without error, in case some hook functions calls this |
| 12404 | ;; by accident in org-mode. | 12473 | ;; by accident in org-mode. |
| 12405 | (message "Orgtbl-mode is not useful in org-mode, command ignored") | 12474 | (message "Orgtbl-mode is not useful in org-mode, command ignored") |
| @@ -13173,7 +13242,7 @@ translations. There is currently no way for users to extend this.") | |||
| 13173 | (file-name-nondirectory | 13242 | (file-name-nondirectory |
| 13174 | org-current-export-file))) | 13243 | org-current-export-file))) |
| 13175 | org-current-export-dir nil "Creating LaTeX image %s")) | 13244 | org-current-export-dir nil "Creating LaTeX image %s")) |
| 13176 | (message "Expriting...") | 13245 | (message "Exporting...") |
| 13177 | 13246 | ||
| 13178 | ;; Normalize links: Convert angle and plain links into bracket links | 13247 | ;; Normalize links: Convert angle and plain links into bracket links |
| 13179 | (goto-char (point-min)) | 13248 | (goto-char (point-min)) |
| @@ -13808,7 +13877,7 @@ lang=\"%s\" xml:lang=\"%s\"> | |||
| 13808 | level (org-tr-level level) | 13877 | level (org-tr-level level) |
| 13809 | txt (save-match-data | 13878 | txt (save-match-data |
| 13810 | (org-html-expand | 13879 | (org-html-expand |
| 13811 | (org-html-cleanup-toc-line | 13880 | (org-export-cleanup-toc-line |
| 13812 | (match-string 3 line)))) | 13881 | (match-string 3 line)))) |
| 13813 | todo | 13882 | todo |
| 13814 | (or (and org-export-mark-todo-in-toc | 13883 | (or (and org-export-mark-todo-in-toc |
| @@ -14044,9 +14113,9 @@ lang=\"%s\" xml:lang=\"%s\"> | |||
| 14044 | ;; Normal lines | 14113 | ;; Normal lines |
| 14045 | (when (string-match | 14114 | (when (string-match |
| 14046 | (cond | 14115 | (cond |
| 14047 | ((eq llt t) "^\\([ \t]*\\)\\(\\([-+*]\\)\\|\\([0-9]+[.)]\\) \\)?\\( *[^ \t\n\r]\\|[ \t]*$\\)") | 14116 | ((eq llt t) "^\\([ \t]*\\)\\(\\([-+*] \\)\\|\\([0-9]+[.)]\\) \\)?\\( *[^ \t\n\r]\\|[ \t]*$\\)") |
| 14048 | ((= llt ?.) "^\\([ \t]*\\)\\(\\([-+*]\\)\\|\\([0-9]+\\.\\) \\)?\\( *[^ \t\n\r]\\|[ \t]*$\\)") | 14117 | ((= llt ?.) "^\\([ \t]*\\)\\(\\([-+*] \\)\\|\\([0-9]+\\.\\) \\)?\\( *[^ \t\n\r]\\|[ \t]*$\\)") |
| 14049 | ((= llt ?\)) "^\\( \t]*\\)\\(\\([-+*]\\)\\|\\([0-9]+)\\) \\)?\\( *[^ \t\n\r]\\|[ \t]*$\\)") | 14118 | ((= llt ?\)) "^\\( \t]*\\)\\(\\([-+*] \\)\\|\\([0-9]+)\\) \\)?\\( *[^ \t\n\r]\\|[ \t]*$\\)") |
| 14050 | (t (error "Invalid value of `org-plain-list-ordered-item-terminator'"))) | 14119 | (t (error "Invalid value of `org-plain-list-ordered-item-terminator'"))) |
| 14051 | line) | 14120 | line) |
| 14052 | (setq ind (org-get-string-indentation line) | 14121 | (setq ind (org-get-string-indentation line) |
| @@ -14334,12 +14403,13 @@ But it has the disadvantage, that Org-mode's HTML conversions cannot be used." | |||
| 14334 | (setq s (replace-match ">" t t s)))) | 14403 | (setq s (replace-match ">" t t s)))) |
| 14335 | s) | 14404 | s) |
| 14336 | 14405 | ||
| 14337 | (defun org-html-cleanup-toc-line (s) | 14406 | (defun org-export-cleanup-toc-line (s) |
| 14338 | "Remove tags and time staps from lines going into the toc." | 14407 | "Remove tags and time staps from lines going into the toc." |
| 14339 | (if (string-match " +:[a-zA-Z0-9_@:]+: *$" s) | 14408 | (if (string-match " +:[a-zA-Z0-9_@:]+: *$" s) |
| 14340 | (setq s (replace-match "" t t s))) | 14409 | (setq s (replace-match "" t t s))) |
| 14341 | (while (string-match org-maybe-keyword-time-regexp s) | 14410 | (when org-export-remove-timestamps-from-toc |
| 14342 | (setq s (replace-match "" t t s))) | 14411 | (while (string-match org-maybe-keyword-time-regexp s) |
| 14412 | (setq s (replace-match "" t t s)))) | ||
| 14343 | s) | 14413 | s) |
| 14344 | 14414 | ||
| 14345 | (defun org-html-expand (string) | 14415 | (defun org-html-expand (string) |
| @@ -14816,45 +14886,78 @@ a time), or the day by one (if it does not contain a time)." | |||
| 14816 | This mode supports entering LaTeX environment and math in LaTeX fragments | 14886 | This mode supports entering LaTeX environment and math in LaTeX fragments |
| 14817 | in Org-mode. | 14887 | in Org-mode. |
| 14818 | \\{org-cdlatex-mode-map}" | 14888 | \\{org-cdlatex-mode-map}" |
| 14819 | nil " CDLtx" nil | 14889 | nil " OCDL" nil |
| 14820 | (when org-cdlatex-mode (require 'cdlatex)) | 14890 | (when org-cdlatex-mode (require 'cdlatex)) |
| 14821 | (unless org-cdlatex-texmathp-advice-is-done | 14891 | (unless org-cdlatex-texmathp-advice-is-done |
| 14822 | (setq org-cdlatex-texmathp-advice-is-done t) | 14892 | (setq org-cdlatex-texmathp-advice-is-done t) |
| 14823 | (defadvice texmathp (around org-math-always-on activate) | 14893 | (defadvice texmathp (around org-math-always-on activate) |
| 14824 | "Always return t in org-mode buffers. | 14894 | "Always return t in org-mode buffers. |
| 14825 | This is because we want to insert math symbols without dollars even outside | 14895 | This is because we want to insert math symbols without dollars even outside |
| 14826 | the LaTeX math segments. | 14896 | the LaTeX math segments. If Orgmode thinks that point is actually inside |
| 14897 | en embedded LaTeX fragement, let texmathp do its job. | ||
| 14827 | \\[org-cdlatex-mode-map]" | 14898 | \\[org-cdlatex-mode-map]" |
| 14828 | (interactive) | 14899 | (interactive) |
| 14829 | (if (or (not (eq major-mode 'org-mode)) | 14900 | (let (p) |
| 14830 | (org-inside-LaTeX-fragment-p)) | 14901 | (cond |
| 14831 | ad-do-it | 14902 | ((not (org-mode-p)) ad-do-it) |
| 14832 | (if (eq this-command 'cdlatex-math-symbol) | 14903 | ((eq this-command 'cdlatex-math-symbol) |
| 14833 | (setq ad-return-value t)))))) | 14904 | (setq ad-return-value t |
| 14905 | texmathp-why '("cdlatex-math-symbol in org-mode" . 0))) | ||
| 14906 | (t | ||
| 14907 | (let ((p (org-inside-LaTeX-fragment-p))) | ||
| 14908 | (if (and p (member (car p) (plist-get org-format-latex-options :matchers))) | ||
| 14909 | (setq ad-return-value t | ||
| 14910 | texmathp-why '("Org-mode embedded math" . 0)) | ||
| 14911 | (if p ad-do-it))))))))) | ||
| 14912 | |||
| 14913 | (defun turn-on-org-cdlatex () | ||
| 14914 | "Unconditionally turn on `org-cdlatex-mode'." | ||
| 14915 | (org-cdlatex-mode 1)) | ||
| 14834 | 14916 | ||
| 14835 | (defun org-inside-LaTeX-fragment-p () | 14917 | (defun org-inside-LaTeX-fragment-p () |
| 14836 | "Test if point is inside a LaTeX fragment. I.e. after a \\begin, \\(, \\[, $, or $$, withoout the corresponding closing | 14918 | "Test if point is inside a LaTeX fragment. |
| 14837 | sequence appearing also before point." | 14919 | I.e. after a \\begin, \\(, \\[, $, or $$, without the corresponding closing |
| 14838 | (let ((pos (point)) | 14920 | sequence appearing also before point. |
| 14839 | (lim (progn | 14921 | Even though the matchers for math are configurable, this function assumes |
| 14840 | (re-search-backward (concat "^\\(" paragraph-start "\\)") nil t) | 14922 | that \\begin, \\(, \\[, and $$ are always used. Only the single dollar |
| 14841 | (point))) | 14923 | delimiters are skipped when they have been removed by customization. |
| 14842 | dollar-on p1) | 14924 | The return value is nil, or a cons cell with the delimiter and |
| 14843 | (goto-char pos) | 14925 | and the position of this delimiter. |
| 14844 | (if (re-search-backward "\\(\\\\begin{\\|\\\\(\\|\\\\\\[\\)\\|\\(\\\\end{\\|\\\\)\\|\\\\\\]\\)\\|\\(\\$\\)" lim t) | 14926 | |
| 14845 | (progn | 14927 | This function does a reasonably good job, but can locally be fooled by |
| 14846 | (goto-char pos) | 14928 | for example currency specifications. For example it will assume being in |
| 14847 | (cond | 14929 | inline math after \"$22.34\". The LaTeX fragment formatter will only format |
| 14848 | ((match-beginning 1) (match-beginning 0)) | 14930 | fragments that are properly closed, but during editing, we have to live |
| 14849 | ((match-beginning 2) nil) | 14931 | with the uncertainty caused by missing closing delimiters. This function |
| 14850 | (t (while (re-search-backward "\\$" lim t) | 14932 | looks only before point, not after." |
| 14851 | (setq dollar-on (not dollar-on)) | 14933 | (catch 'exit |
| 14852 | (if (= (char-before) ?$) (backward-char 1)) | 14934 | (let ((pos (point)) |
| 14853 | (setq p1 (or p1 (point)))) | 14935 | (dodollar (member "$" (plist-get org-format-latex-options :matchers))) |
| 14854 | (goto-char pos) | 14936 | (lim (progn |
| 14855 | (if dollar-on p1)))) | 14937 | (re-search-backward (concat "^\\(" paragraph-start "\\)") nil t) |
| 14938 | (point))) | ||
| 14939 | dd-on str (start 0) m re) | ||
| 14856 | (goto-char pos) | 14940 | (goto-char pos) |
| 14857 | nil))) | 14941 | (when dodollar |
| 14942 | (setq str (concat (buffer-substring lim (point)) "\000 X$.") | ||
| 14943 | re (nth 1 (assoc "$" org-latex-regexps))) | ||
| 14944 | (while (string-match re str start) | ||
| 14945 | (cond | ||
| 14946 | ((= (match-end 0) (length str)) | ||
| 14947 | (throw 'exit (cons "$" (+ lim (match-beginning 0))))) | ||
| 14948 | ((= (match-end 0) (- (length str) 5)) | ||
| 14949 | (throw 'exit nil)) | ||
| 14950 | (t (setq start (match-end 0)))))) | ||
| 14951 | (when (setq m (re-search-backward "\\(\\\\begin{[^}]*}\\|\\\\(\\|\\\\\\[\\)\\|\\(\\\\end{[^}]*}\\|\\\\)\\|\\\\\\]\\)\\|\\(\\$\\$\\)" lim t)) | ||
| 14952 | (goto-char pos) | ||
| 14953 | (and (match-beginning 1) (throw 'exit (cons (match-string 1) m))) | ||
| 14954 | (and (match-beginning 2) (throw 'exit nil)) | ||
| 14955 | ;; count $$ | ||
| 14956 | (while (re-search-backward "\\$\\$" lim t) | ||
| 14957 | (setq dd-on (not dd-on))) | ||
| 14958 | (goto-char pos) | ||
| 14959 | (if dd-on (cons "$$" m)))))) | ||
| 14960 | |||
| 14858 | 14961 | ||
| 14859 | (defun org-try-cdlatex-tab () | 14962 | (defun org-try-cdlatex-tab () |
| 14860 | "Check if it makes sense to execute `cdlatex-tab', and do it if yes. | 14963 | "Check if it makes sense to execute `cdlatex-tab', and do it if yes. |
| @@ -14927,7 +15030,7 @@ The images can be removed again with \\[org-ctrl-c-ctrl-c]." | |||
| 14927 | msg "Creating images for subtree...%s")) | 15030 | msg "Creating images for subtree...%s")) |
| 14928 | (t | 15031 | (t |
| 14929 | (if (setq at (org-inside-LaTeX-fragment-p)) | 15032 | (if (setq at (org-inside-LaTeX-fragment-p)) |
| 14930 | (goto-char (max (point-min) (- at 2))) | 15033 | (goto-char (max (point-min) (- (cdr at) 2))) |
| 14931 | (org-back-to-heading)) | 15034 | (org-back-to-heading)) |
| 14932 | (setq beg (point) end (progn (outline-next-heading) (point)) | 15035 | (setq beg (point) end (progn (outline-next-heading) (point)) |
| 14933 | msg (if at "Creating image...%s" | 15036 | msg (if at "Creating image...%s" |
| @@ -14941,6 +15044,16 @@ The images can be removed again with \\[org-ctrl-c-ctrl-c]." | |||
| 14941 | default-directory 'overlays msg at) | 15044 | default-directory 'overlays msg at) |
| 14942 | (message msg "done. Use `C-c C-c' to remove images."))))) | 15045 | (message msg "done. Use `C-c C-c' to remove images."))))) |
| 14943 | 15046 | ||
| 15047 | (defvar org-latex-regexps | ||
| 15048 | '(("begin" "^[ \t]*\\(\\\\begin{\\([a-zA-Z0-9\\*]+\\)[^\000]+?\\\\end{\\2}\\)" 1 t) | ||
| 15049 | ;; ("$" "\\([ (]\\|^\\)\\(\\(\\([$]\\)\\([^ \r\n,.$].*?\\(\n.*?\\)\\{0,5\\}[^ \r\n,.$]\\)\\4\\)\\)\\([ .,?;:'\")]\\|$\\)" 2 nil) | ||
| 15050 | ;; \000 in the following regex is needed for org-inside-LaTeX-fragment-p | ||
| 15051 | ("$" "\\([^$]\\)\\(\\(\\$\\([^ \r\n,;.$][^$\n\r]*?\\(\n[^$\n\r]*?\\)\\{0,2\\}[^ \r\n,.$]\\)\\$\\)\\)\\([ .,?;:'\")\000]\\|$\\)" 2 nil) | ||
| 15052 | ("\\(" "\\\\([^\000]*?\\\\)" 0 nil) | ||
| 15053 | ("\\[" "\\\\\\[[^\000]*?\\\\\\]" 0 t) | ||
| 15054 | ("$$" "\\$\\$[^\000]*?\\$\\$" 0 t)) | ||
| 15055 | "Regular expressions for matching embedded LaTeX.") | ||
| 15056 | |||
| 14944 | (defun org-format-latex (prefix &optional dir overlays msg at) | 15057 | (defun org-format-latex (prefix &optional dir overlays msg at) |
| 14945 | "Replace LaTeX fragments with links to an image, and produce images." | 15058 | "Replace LaTeX fragments with links to an image, and produce images." |
| 14946 | (if (and overlays (fboundp 'clear-image-cache)) (clear-image-cache)) | 15059 | (if (and overlays (fboundp 'clear-image-cache)) (clear-image-cache)) |
| @@ -14949,12 +15062,7 @@ The images can be removed again with \\[org-ctrl-c-ctrl-c]." | |||
| 14949 | (todir (file-name-directory absprefix)) | 15062 | (todir (file-name-directory absprefix)) |
| 14950 | (opt org-format-latex-options) | 15063 | (opt org-format-latex-options) |
| 14951 | (matchers (plist-get opt :matchers)) | 15064 | (matchers (plist-get opt :matchers)) |
| 14952 | (re-list | 15065 | (re-list org-latex-regexps) |
| 14953 | '(("begin" "^[ \t]*\\(\\\\begin{\\([a-zA-Z0-9\\*]+\\)[^\000]+?\\\\end{\\2}\\)" 1 t) | ||
| 14954 | ("$" "\\([ (]\\|^\\)\\(\\(\\([$]\\)\\([^ \r\n,.$].*?\\(\n.*?\\)\\{0,5\\}[^ \r\n,.$]\\)\\4\\)\\)\\([ .,?;:'\")]\\|$\\)" 2 nil) | ||
| 14955 | ("\\(" "\\\\([^\000]*?\\\\)" 0 nil) | ||
| 14956 | ("\\[" "\\\\\\[[^\000]*?\\\\\\]" 0 t) | ||
| 14957 | ("$$" "\\$\\$[^\000]*?\\$\\$" 0 t))) | ||
| 14958 | (cnt 0) txt link beg end re e oldfiles | 15066 | (cnt 0) txt link beg end re e oldfiles |
| 14959 | m n block linkfile movefile ov) | 15067 | m n block linkfile movefile ov) |
| 14960 | ;; Make sure the directory exists | 15068 | ;; Make sure the directory exists |
| @@ -14971,7 +15079,7 @@ The images can be removed again with \\[org-ctrl-c-ctrl-c]." | |||
| 14971 | (when (member m matchers) | 15079 | (when (member m matchers) |
| 14972 | (goto-char (point-min)) | 15080 | (goto-char (point-min)) |
| 14973 | (while (re-search-forward re nil t) | 15081 | (while (re-search-forward re nil t) |
| 14974 | (when (or (not at) (equal at (match-beginning n))) | 15082 | (when (or (not at) (equal (cdr at) (match-beginning n))) |
| 14975 | (setq txt (match-string n) | 15083 | (setq txt (match-string n) |
| 14976 | beg (match-beginning n) end (match-end n) | 15084 | beg (match-beginning n) end (match-end n) |
| 14977 | cnt (1+ cnt) | 15085 | cnt (1+ cnt) |
| @@ -15170,6 +15278,7 @@ The images can be removed again with \\[org-ctrl-c-ctrl-c]." | |||
| 15170 | (define-key org-mode-map "\C-c\C-x\C-r" 'org-clock-report) | 15278 | (define-key org-mode-map "\C-c\C-x\C-r" 'org-clock-report) |
| 15171 | (define-key org-mode-map "\C-c\C-x\C-u" 'org-dblock-update) | 15279 | (define-key org-mode-map "\C-c\C-x\C-u" 'org-dblock-update) |
| 15172 | (define-key org-mode-map "\C-c\C-x\C-l" 'org-preview-latex-fragment) | 15280 | (define-key org-mode-map "\C-c\C-x\C-l" 'org-preview-latex-fragment) |
| 15281 | (define-key org-mode-map "\C-c\C-x\C-b" 'org-toggle-checkbox) | ||
| 15173 | 15282 | ||
| 15174 | (when (featurep 'xemacs) | 15283 | (when (featurep 'xemacs) |
| 15175 | (define-key org-mode-map 'button3 'popup-mode-menu)) | 15284 | (define-key org-mode-map 'button3 'popup-mode-menu)) |
| @@ -15386,7 +15495,7 @@ Calls `org-timestamp-up' or `org-priority-up', depending on context. | |||
| 15386 | See the individual commands for more information." | 15495 | See the individual commands for more information." |
| 15387 | (interactive "P") | 15496 | (interactive "P") |
| 15388 | (cond | 15497 | (cond |
| 15389 | ((org-at-timestamp-p) (call-interactively 'org-timestamp-up)) | 15498 | ((org-at-timestamp-p t) (call-interactively 'org-timestamp-up)) |
| 15390 | ((org-on-heading-p) (call-interactively 'org-priority-up)) | 15499 | ((org-on-heading-p) (call-interactively 'org-priority-up)) |
| 15391 | ((org-at-item-p) (call-interactively 'org-previous-item)) | 15500 | ((org-at-item-p) (call-interactively 'org-previous-item)) |
| 15392 | (t (call-interactively 'org-beginning-of-item) (beginning-of-line 1)))) | 15501 | (t (call-interactively 'org-beginning-of-item) (beginning-of-line 1)))) |
| @@ -15397,7 +15506,7 @@ Calls `org-timestamp-down' or `org-priority-down', depending on context. | |||
| 15397 | See the individual commands for more information." | 15506 | See the individual commands for more information." |
| 15398 | (interactive "P") | 15507 | (interactive "P") |
| 15399 | (cond | 15508 | (cond |
| 15400 | ((org-at-timestamp-p) (call-interactively 'org-timestamp-down)) | 15509 | ((org-at-timestamp-p t) (call-interactively 'org-timestamp-down)) |
| 15401 | ((org-on-heading-p) (call-interactively 'org-priority-down)) | 15510 | ((org-on-heading-p) (call-interactively 'org-priority-down)) |
| 15402 | (t (call-interactively 'org-next-item)))) | 15511 | (t (call-interactively 'org-next-item)))) |
| 15403 | 15512 | ||
| @@ -15405,7 +15514,7 @@ See the individual commands for more information." | |||
| 15405 | "Next TODO keyword or timestamp one day later, depending on context." | 15514 | "Next TODO keyword or timestamp one day later, depending on context." |
| 15406 | (interactive) | 15515 | (interactive) |
| 15407 | (cond | 15516 | (cond |
| 15408 | ((org-at-timestamp-p) (call-interactively 'org-timestamp-up-day)) | 15517 | ((org-at-timestamp-p t) (call-interactively 'org-timestamp-up-day)) |
| 15409 | ((org-on-heading-p) (org-call-with-arg 'org-todo 'right)) | 15518 | ((org-on-heading-p) (org-call-with-arg 'org-todo 'right)) |
| 15410 | (t (org-shiftcursor-error)))) | 15519 | (t (org-shiftcursor-error)))) |
| 15411 | 15520 | ||
| @@ -15413,7 +15522,7 @@ See the individual commands for more information." | |||
| 15413 | "Previous TODO keyword or timestamp one day earlier, depending on context." | 15522 | "Previous TODO keyword or timestamp one day earlier, depending on context." |
| 15414 | (interactive) | 15523 | (interactive) |
| 15415 | (cond | 15524 | (cond |
| 15416 | ((org-at-timestamp-p) (call-interactively 'org-timestamp-down-day)) | 15525 | ((org-at-timestamp-p t) (call-interactively 'org-timestamp-down-day)) |
| 15417 | ((org-on-heading-p) (org-call-with-arg 'org-todo 'left)) | 15526 | ((org-on-heading-p) (org-call-with-arg 'org-todo 'left)) |
| 15418 | (t (org-shiftcursor-error)))) | 15527 | (t (org-shiftcursor-error)))) |
| 15419 | 15528 | ||
| @@ -15749,8 +15858,8 @@ With optional NODE, go directly to that node." | |||
| 15749 | (save-excursion | 15858 | (save-excursion |
| 15750 | (while bl | 15859 | (while bl |
| 15751 | (set-buffer (pop bl)) | 15860 | (set-buffer (pop bl)) |
| 15752 | (if (eq major-mode 'org-mode) (setq bl nil))) | 15861 | (if (org-mode-p) (setq bl nil))) |
| 15753 | (when (eq major-mode 'org-mode) | 15862 | (when (org-mode-p) |
| 15754 | (easy-menu-change | 15863 | (easy-menu-change |
| 15755 | '("Org") "File List for Agenda" | 15864 | '("Org") "File List for Agenda" |
| 15756 | (append | 15865 | (append |
| @@ -15802,6 +15911,7 @@ contexts are: | |||
| 15802 | :tags on the TAGS in a headline | 15911 | :tags on the TAGS in a headline |
| 15803 | :priority on the priority cookie in a headline | 15912 | :priority on the priority cookie in a headline |
| 15804 | :item on the first line of a plain list item | 15913 | :item on the first line of a plain list item |
| 15914 | :item-bullet on the bullet/number of a plain list item | ||
| 15805 | :checkbox on the checkbox in a plain list item | 15915 | :checkbox on the checkbox in a plain list item |
| 15806 | :table in an org-mode table | 15916 | :table in an org-mode table |
| 15807 | :table-special on a special filed in a table | 15917 | :table-special on a special filed in a table |
| @@ -15810,13 +15920,15 @@ contexts are: | |||
| 15810 | :keyword on a keyword: SCHEDULED, DEADLINE, CLOSE,COMMENT, QUOTE. | 15920 | :keyword on a keyword: SCHEDULED, DEADLINE, CLOSE,COMMENT, QUOTE. |
| 15811 | :target on a <<target>> | 15921 | :target on a <<target>> |
| 15812 | :radio-target on a <<<radio-target>>> | 15922 | :radio-target on a <<<radio-target>>> |
| 15923 | :latex-fragment on a LaTeX fragment | ||
| 15924 | :latex-preview on a LaTeX fragment with overlayed preview image | ||
| 15813 | 15925 | ||
| 15814 | This function expects the position to be visible because it uses font-lock | 15926 | This function expects the position to be visible because it uses font-lock |
| 15815 | faces as a help to recognize the following contexts: :table-special, :link, | 15927 | faces as a help to recognize the following contexts: :table-special, :link, |
| 15816 | and :keyword." | 15928 | and :keyword." |
| 15817 | (let* ((f (get-text-property (point) 'face)) | 15929 | (let* ((f (get-text-property (point) 'face)) |
| 15818 | (faces (if (listp f) f (list f))) | 15930 | (faces (if (listp f) f (list f))) |
| 15819 | (p (point)) clist) | 15931 | (p (point)) clist o) |
| 15820 | ;; First the large context | 15932 | ;; First the large context |
| 15821 | (cond | 15933 | (cond |
| 15822 | ((org-on-heading-p) | 15934 | ((org-on-heading-p) |
| @@ -15833,6 +15945,7 @@ and :keyword." | |||
| 15833 | (push (org-point-in-group p 0 :priority) clist))) | 15945 | (push (org-point-in-group p 0 :priority) clist))) |
| 15834 | 15946 | ||
| 15835 | ((org-at-item-p) | 15947 | ((org-at-item-p) |
| 15948 | (push (org-point-in-group p 2 :item-bullet) clist) | ||
| 15836 | (push (list :item (point-at-bol) | 15949 | (push (list :item (point-at-bol) |
| 15837 | (save-excursion (org-end-of-item) (point))) | 15950 | (save-excursion (org-end-of-item) (point))) |
| 15838 | clist) | 15951 | clist) |
| @@ -15866,7 +15979,19 @@ and :keyword." | |||
| 15866 | (goto-char (1- (match-beginning 0))) | 15979 | (goto-char (1- (match-beginning 0))) |
| 15867 | (if (looking-at org-radio-target-regexp) | 15980 | (if (looking-at org-radio-target-regexp) |
| 15868 | (push (org-point-in-group p 0 :radio-target) clist)) | 15981 | (push (org-point-in-group p 0 :radio-target) clist)) |
| 15869 | (goto-char p))) | 15982 | (goto-char p)) |
| 15983 | ((setq o (car (delq nil | ||
| 15984 | (mapcar | ||
| 15985 | (lambda (x) | ||
| 15986 | (if (memq x org-latex-fragment-image-overlays) x)) | ||
| 15987 | (org-overlays-at (point)))))) | ||
| 15988 | (push (list :latex-fragment | ||
| 15989 | (org-overlay-start o) (org-overlay-end o)) clist) | ||
| 15990 | (push (list :latex-preview | ||
| 15991 | (org-overlay-start o) (org-overlay-end o)) clist)) | ||
| 15992 | ((org-inside-LaTeX-fragment-p) | ||
| 15993 | ;; FIXME: positions wring. | ||
| 15994 | (push (list :latex-fragment (point) (point)) clist))) | ||
| 15870 | 15995 | ||
| 15871 | (setq clist (nreverse (delq nil clist))) | 15996 | (setq clist (nreverse (delq nil clist))) |
| 15872 | clist)) | 15997 | clist)) |
| @@ -15921,7 +16046,7 @@ return nil." | |||
| 15921 | (set (make-local-variable 'paragraph-separate) "\f\\|\\*\\|[ ]*$\\|[ \t]*[:|]") | 16046 | (set (make-local-variable 'paragraph-separate) "\f\\|\\*\\|[ ]*$\\|[ \t]*[:|]") |
| 15922 | ;; The paragraph starter includes hand-formatted lists. | 16047 | ;; The paragraph starter includes hand-formatted lists. |
| 15923 | (set (make-local-variable 'paragraph-start) | 16048 | (set (make-local-variable 'paragraph-start) |
| 15924 | "\f\\|[ ]*$\\|\\([*\f]+\\)\\|[ \t]*\\([-+*]\\|[0-9]+[.)][ \t]+\\)\\|[ \t]*[:|]") | 16049 | "\f\\|[ ]*$\\|\\([*\f]+\\)\\|[ \t]*\\([-+*][ \t]+\\|[0-9]+[.)][ \t]+\\)\\|[ \t]*[:|]") |
| 15925 | ;; Inhibit auto-fill for headers, tables and fixed-width lines. | 16050 | ;; Inhibit auto-fill for headers, tables and fixed-width lines. |
| 15926 | ;; But only if the user has not turned off tables or fixed-width regions | 16051 | ;; But only if the user has not turned off tables or fixed-width regions |
| 15927 | (set (make-local-variable 'auto-fill-inhibit-regexp) | 16052 | (set (make-local-variable 'auto-fill-inhibit-regexp) |
| @@ -16235,7 +16360,7 @@ Show the heading too, if it is currently invisible." | |||
| 16235 | 16360 | ||
| 16236 | (defun org-bookmark-jump-unhide () | 16361 | (defun org-bookmark-jump-unhide () |
| 16237 | "Unhide the current position, to show the bookmark location." | 16362 | "Unhide the current position, to show the bookmark location." |
| 16238 | (and (eq major-mode 'org-mode) | 16363 | (and (org-mode-p) |
| 16239 | (or (org-invisible-p) | 16364 | (or (org-invisible-p) |
| 16240 | (save-excursion (goto-char (max (point-min) (1- (point)))) | 16365 | (save-excursion (goto-char (max (point-min) (1- (point)))) |
| 16241 | (org-invisible-p))) | 16366 | (org-invisible-p))) |
| @@ -16243,6 +16368,7 @@ Show the heading too, if it is currently invisible." | |||
| 16243 | 16368 | ||
| 16244 | ;;; Experimental code | 16369 | ;;; Experimental code |
| 16245 | 16370 | ||
| 16371 | |||
| 16246 | ;;; Finish up | 16372 | ;;; Finish up |
| 16247 | 16373 | ||
| 16248 | (provide 'org) | 16374 | (provide 'org) |
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 8794ebddc15..9e0b6b63901 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el | |||
| @@ -37,7 +37,7 @@ | |||
| 37 | (defmacro defcustom (var value doc &rest ignore) | 37 | (defmacro defcustom (var value doc &rest ignore) |
| 38 | `(defvar ,var ,value ,doc))) | 38 | `(defvar ,var ,value ,doc))) |
| 39 | 39 | ||
| 40 | (defvar texinfmt-version "2.41 of 1 Mar 2005") | 40 | (defvar texinfmt-version "2.42 of 7 Jul 2006") |
| 41 | 41 | ||
| 42 | (defun texinfmt-version (&optional here) | 42 | (defun texinfmt-version (&optional here) |
| 43 | "Show the version of texinfmt.el in the minibuffer. | 43 | "Show the version of texinfmt.el in the minibuffer. |
| @@ -1555,7 +1555,9 @@ The node is constructed automatically." | |||
| 1555 | " Node: " node-name "-Footnotes, Up: " node-name "\n") | 1555 | " Node: " node-name "-Footnotes, Up: " node-name "\n") |
| 1556 | (setq start (point)) | 1556 | (setq start (point)) |
| 1557 | (insert (format "\n(%d) %s\n" texinfo-footnote-number arg)) | 1557 | (insert (format "\n(%d) %s\n" texinfo-footnote-number arg)) |
| 1558 | (fill-region start (point)))))) | 1558 | (narrow-to-region (save-excursion (goto-char start) (point)) (point)) |
| 1559 | (fill-region (point-min) (point-max)) | ||
| 1560 | (widen))))) | ||
| 1559 | 1561 | ||
| 1560 | (defun texinfo-format-end-node () | 1562 | (defun texinfo-format-end-node () |
| 1561 | "Format footnote in the End of node style, with notes at end of node." | 1563 | "Format footnote in the End of node style, with notes at end of node." |
| @@ -2118,11 +2120,18 @@ This command is executed when texinfmt sees @item inside @multitable." | |||
| 2118 | (insert unformated-row) | 2120 | (insert unformated-row) |
| 2119 | (goto-char (point-min)) | 2121 | (goto-char (point-min)) |
| 2120 | ;; 1. Check for correct number of @tab in line. | 2122 | ;; 1. Check for correct number of @tab in line. |
| 2121 | (let ((tab-number 1)) ; one @tab between two columns | 2123 | (let ((tab-number 1)) ; one @tab between two columns |
| 2122 | (while (search-forward "@tab" nil t) | 2124 | (while (search-forward "@tab" nil t) |
| 2123 | (setq tab-number (1+ tab-number))) | 2125 | (setq tab-number (1+ tab-number))) |
| 2124 | (if (/= tab-number (length table-widths)) | 2126 | (let ((needed-tabs (- (length table-widths) tab-number))) |
| 2125 | (error "Wrong number of @tab's in a @multitable row"))) | 2127 | (when (> needed-tabs 0) |
| 2128 | (goto-char (point-min)) | ||
| 2129 | (end-of-line) | ||
| 2130 | (while (> needed-tabs 0) | ||
| 2131 | (insert "@w{ }\n@tab") | ||
| 2132 | (setq needed-tabs (1- needed-tabs)) | ||
| 2133 | (message | ||
| 2134 | "Added @tabs and empty spaces to a @multitable row"))))) | ||
| 2126 | (goto-char (point-min)) | 2135 | (goto-char (point-min)) |
| 2127 | ;; 2. Format each cell, and copy to a rectangle | 2136 | ;; 2. Format each cell, and copy to a rectangle |
| 2128 | ;; buffer looks like this: A1 @tab A2 @tab A3 | 2137 | ;; buffer looks like this: A1 @tab A2 @tab A3 |
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index 27fecacdd36..c0aa80ef1ae 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el | |||
| @@ -53,7 +53,7 @@ | |||
| 53 | 53 | ||
| 54 | ;;;###autoload | 54 | ;;;###autoload |
| 55 | (defun forward-thing (thing &optional n) | 55 | (defun forward-thing (thing &optional n) |
| 56 | "Move forward to the end of the next THING." | 56 | "Move forward to the end of the Nth next THING." |
| 57 | (let ((forward-op (or (get thing 'forward-op) | 57 | (let ((forward-op (or (get thing 'forward-op) |
| 58 | (intern-soft (format "forward-%s" thing))))) | 58 | (intern-soft (format "forward-%s" thing))))) |
| 59 | (if (functionp forward-op) | 59 | (if (functionp forward-op) |
| @@ -80,16 +80,13 @@ of the textual entity that was found." | |||
| 80 | (condition-case nil | 80 | (condition-case nil |
| 81 | (save-excursion | 81 | (save-excursion |
| 82 | ;; Try moving forward, then back. | 82 | ;; Try moving forward, then back. |
| 83 | (let ((end (progn | 83 | (funcall ;; First move to end. |
| 84 | (funcall | 84 | (or (get thing 'end-op) |
| 85 | (or (get thing 'end-op) | 85 | (lambda () (forward-thing thing 1)))) |
| 86 | (function (lambda () (forward-thing thing 1))))) | 86 | (funcall ;; Then move to beg. |
| 87 | (point))) | 87 | (or (get thing 'beginning-op) |
| 88 | (beg (progn | 88 | (lambda () (forward-thing thing -1)))) |
| 89 | (funcall | 89 | (let ((beg (point))) |
| 90 | (or (get thing 'beginning-op) | ||
| 91 | (function (lambda () (forward-thing thing -1))))) | ||
| 92 | (point)))) | ||
| 93 | (if (not (and beg (> beg orig))) | 90 | (if (not (and beg (> beg orig))) |
| 94 | ;; If that brings us all the way back to ORIG, | 91 | ;; If that brings us all the way back to ORIG, |
| 95 | ;; it worked. But END may not be the real end. | 92 | ;; it worked. But END may not be the real end. |
| @@ -98,28 +95,25 @@ of the textual entity that was found." | |||
| 98 | (progn | 95 | (progn |
| 99 | (funcall | 96 | (funcall |
| 100 | (or (get thing 'end-op) | 97 | (or (get thing 'end-op) |
| 101 | (function (lambda () (forward-thing thing 1))))) | 98 | (lambda () (forward-thing thing 1)))) |
| 102 | (point)))) | 99 | (point)))) |
| 103 | (if (and beg real-end (<= beg orig) (<= orig real-end)) | 100 | (if (and beg real-end (<= beg orig) (<= orig real-end)) |
| 104 | (cons beg real-end))) | 101 | (cons beg real-end))) |
| 105 | (goto-char orig) | 102 | (goto-char orig) |
| 106 | ;; Try a second time, moving backward first and then forward, | 103 | ;; Try a second time, moving backward first and then forward, |
| 107 | ;; so that we can find a thing that ends at ORIG. | 104 | ;; so that we can find a thing that ends at ORIG. |
| 108 | (let ((beg (progn | 105 | (funcall ;; First, move to beg. |
| 109 | (funcall | 106 | (or (get thing 'beginning-op) |
| 110 | (or (get thing 'beginning-op) | 107 | (lambda () (forward-thing thing -1)))) |
| 111 | (function (lambda () (forward-thing thing -1))))) | 108 | (funcall ;; Then move to end. |
| 112 | (point))) | 109 | (or (get thing 'end-op) |
| 113 | (end (progn | 110 | (lambda () (forward-thing thing 1)))) |
| 114 | (funcall | 111 | (let ((end (point)) |
| 115 | (or (get thing 'end-op) | 112 | (real-beg |
| 116 | (function (lambda () (forward-thing thing 1))))) | ||
| 117 | (point))) | ||
| 118 | (real-beg | ||
| 119 | (progn | 113 | (progn |
| 120 | (funcall | 114 | (funcall |
| 121 | (or (get thing 'beginning-op) | 115 | (or (get thing 'beginning-op) |
| 122 | (function (lambda () (forward-thing thing -1))))) | 116 | (lambda () (forward-thing thing -1)))) |
| 123 | (point)))) | 117 | (point)))) |
| 124 | (if (and real-beg end (<= real-beg orig) (<= orig end)) | 118 | (if (and real-beg end (<= real-beg orig) (<= orig end)) |
| 125 | (cons real-beg end)))))) | 119 | (cons real-beg end)))))) |
| @@ -160,7 +154,7 @@ a symbol as a valid THING." | |||
| 160 | ;; and it has no final newline. | 154 | ;; and it has no final newline. |
| 161 | 155 | ||
| 162 | (put 'line 'beginning-op | 156 | (put 'line 'beginning-op |
| 163 | (function (lambda () (if (bolp) (forward-line -1) (beginning-of-line))))) | 157 | (lambda () (if (bolp) (forward-line -1) (beginning-of-line)))) |
| 164 | 158 | ||
| 165 | ;; Sexps | 159 | ;; Sexps |
| 166 | 160 | ||
| @@ -190,7 +184,7 @@ a symbol as a valid THING." | |||
| 190 | 184 | ||
| 191 | ;; Lists | 185 | ;; Lists |
| 192 | 186 | ||
| 193 | (put 'list 'end-op (function (lambda () (up-list 1)))) | 187 | (put 'list 'end-op (lambda () (up-list 1))) |
| 194 | (put 'list 'beginning-op 'backward-sexp) | 188 | (put 'list 'beginning-op 'backward-sexp) |
| 195 | 189 | ||
| 196 | ;; Filenames and URLs www.com/foo%32bar | 190 | ;; Filenames and URLs www.com/foo%32bar |
| @@ -229,7 +223,7 @@ Hostname matching is stricter in this case than for | |||
| 229 | "afs:" "tn3270:" "mailserver:" | 223 | "afs:" "tn3270:" "mailserver:" |
| 230 | ;; Compatibility | 224 | ;; Compatibility |
| 231 | "snews:") | 225 | "snews:") |
| 232 | "Uniform Resource Identifier (URI) Schemes") | 226 | "Uniform Resource Identifier (URI) Schemes.") |
| 233 | 227 | ||
| 234 | (defvar thing-at-point-url-regexp | 228 | (defvar thing-at-point-url-regexp |
| 235 | (concat "\\<\\(" (mapconcat 'identity thing-at-point-uri-schemes "\\|") "\\)" | 229 | (concat "\\<\\(" (mapconcat 'identity thing-at-point-uri-schemes "\\|") "\\)" |
| @@ -243,18 +237,19 @@ This may contain whitespace (including newlines) .") | |||
| 243 | 237 | ||
| 244 | (put 'url 'bounds-of-thing-at-point 'thing-at-point-bounds-of-url-at-point) | 238 | (put 'url 'bounds-of-thing-at-point 'thing-at-point-bounds-of-url-at-point) |
| 245 | (defun thing-at-point-bounds-of-url-at-point () | 239 | (defun thing-at-point-bounds-of-url-at-point () |
| 246 | (let ((url "") short strip) | 240 | (let ((strip (thing-at-point-looking-at |
| 247 | (if (or (setq strip (thing-at-point-looking-at | 241 | thing-at-point-markedup-url-regexp))) ;; (url "") short |
| 248 | thing-at-point-markedup-url-regexp)) | 242 | (if (or strip |
| 249 | (thing-at-point-looking-at thing-at-point-url-regexp) | 243 | ` (thing-at-point-looking-at thing-at-point-url-regexp) |
| 250 | ;; Access scheme omitted? | 244 | ;; Access scheme omitted? |
| 251 | (setq short (thing-at-point-looking-at | 245 | ;; (setq short (thing-at-point-looking-at |
| 252 | thing-at-point-short-url-regexp))) | 246 | ;; thing-at-point-short-url-regexp)) |
| 247 | ) | ||
| 253 | (let ((beginning (match-beginning 0)) | 248 | (let ((beginning (match-beginning 0)) |
| 254 | (end (match-end 0))) | 249 | (end (match-end 0))) |
| 255 | (cond (strip | 250 | (when strip |
| 256 | (setq beginning (+ beginning 5)) | 251 | (setq beginning (+ beginning 5)) |
| 257 | (setq end (- end 1)))) | 252 | (setq end (- end 1))) |
| 258 | (cons beginning end))))) | 253 | (cons beginning end))))) |
| 259 | 254 | ||
| 260 | (put 'url 'thing-at-point 'thing-at-point-url-at-point) | 255 | (put 'url 'thing-at-point 'thing-at-point-url-at-point) |
| @@ -327,17 +322,17 @@ point." | |||
| 327 | (looking-at regexp))))) | 322 | (looking-at regexp))))) |
| 328 | 323 | ||
| 329 | (put 'url 'end-op | 324 | (put 'url 'end-op |
| 330 | (function (lambda () | 325 | (lambda () |
| 331 | (let ((bounds (thing-at-point-bounds-of-url-at-point))) | 326 | (let ((bounds (thing-at-point-bounds-of-url-at-point))) |
| 332 | (if bounds | 327 | (if bounds |
| 333 | (goto-char (cdr bounds)) | 328 | (goto-char (cdr bounds)) |
| 334 | (error "No URL here")))))) | 329 | (error "No URL here"))))) |
| 335 | (put 'url 'beginning-op | 330 | (put 'url 'beginning-op |
| 336 | (function (lambda () | 331 | (lambda () |
| 337 | (let ((bounds (thing-at-point-bounds-of-url-at-point))) | 332 | (let ((bounds (thing-at-point-bounds-of-url-at-point))) |
| 338 | (if bounds | 333 | (if bounds |
| 339 | (goto-char (car bounds)) | 334 | (goto-char (car bounds)) |
| 340 | (error "No URL here")))))) | 335 | (error "No URL here"))))) |
| 341 | 336 | ||
| 342 | ;; Whitespace | 337 | ;; Whitespace |
| 343 | 338 | ||
| @@ -385,7 +380,7 @@ point." | |||
| 385 | (defun sentence-at-point () (thing-at-point 'sentence)) | 380 | (defun sentence-at-point () (thing-at-point 'sentence)) |
| 386 | 381 | ||
| 387 | (defun read-from-whole-string (str) | 382 | (defun read-from-whole-string (str) |
| 388 | "Read a lisp expression from STR. | 383 | "Read a Lisp expression from STR. |
| 389 | Signal an error if the entire string was not used." | 384 | Signal an error if the entire string was not used." |
| 390 | (let* ((read-data (read-from-string str)) | 385 | (let* ((read-data (read-from-string str)) |
| 391 | (more-left | 386 | (more-left |
| @@ -407,11 +402,13 @@ Signal an error if the entire string was not used." | |||
| 407 | ;;;###autoload | 402 | ;;;###autoload |
| 408 | (defun sexp-at-point () (form-at-point 'sexp)) | 403 | (defun sexp-at-point () (form-at-point 'sexp)) |
| 409 | ;;;###autoload | 404 | ;;;###autoload |
| 410 | (defun symbol-at-point () (form-at-point 'sexp 'symbolp)) | 405 | (defun symbol-at-point () |
| 406 | (let ((thing (thing-at-point 'symbol))) | ||
| 407 | (if thing (intern thing)))) | ||
| 411 | ;;;###autoload | 408 | ;;;###autoload |
| 412 | (defun number-at-point () (form-at-point 'sexp 'numberp)) | 409 | (defun number-at-point () (form-at-point 'sexp 'numberp)) |
| 413 | ;;;###autoload | 410 | ;;;###autoload |
| 414 | (defun list-at-point () (form-at-point 'list 'listp)) | 411 | (defun list-at-point () (form-at-point 'list 'listp)) |
| 415 | 412 | ||
| 416 | ;;; arch-tag: bb65a163-dae2-4055-aedc-fe11f497f698 | 413 | ;; arch-tag: bb65a163-dae2-4055-aedc-fe11f497f698 |
| 417 | ;;; thingatpt.el ends here | 414 | ;;; thingatpt.el ends here |
diff --git a/lisp/thumbs.el b/lisp/thumbs.el index ff5fcf2b33c..e9a640973bb 100644 --- a/lisp/thumbs.el +++ b/lisp/thumbs.el | |||
| @@ -256,7 +256,7 @@ ACTION-PREFIX is the symbol to place before the ACTION command | |||
| 256 | filein | 256 | filein |
| 257 | (or output-format "jpeg") | 257 | (or output-format "jpeg") |
| 258 | fileout))) | 258 | fileout))) |
| 259 | (call-process shell-file-name nil nil nil "-c" command))) | 259 | (call-process shell-file-name nil nil nil shell-command-switch command))) |
| 260 | 260 | ||
| 261 | (defun thumbs-new-image-size (s increment) | 261 | (defun thumbs-new-image-size (s increment) |
| 262 | "New image (a cons of width x height)." | 262 | "New image (a cons of width x height)." |
diff --git a/lisp/tooltip.el b/lisp/tooltip.el index cacd6f59670..596db839e84 100644 --- a/lisp/tooltip.el +++ b/lisp/tooltip.el | |||
| @@ -40,12 +40,6 @@ | |||
| 40 | 40 | ||
| 41 | ;;; Switching tooltips on/off | 41 | ;;; Switching tooltips on/off |
| 42 | 42 | ||
| 43 | ;; We don't set track-mouse globally because this is a big redisplay | ||
| 44 | ;; problem in buffers having a pre-command-hook or such installed, | ||
| 45 | ;; which does a set-buffer, like the summary buffer of Gnus. Calling | ||
| 46 | ;; set-buffer prevents redisplay optimizations, so every mouse motion | ||
| 47 | ;; would be accompanied by a full redisplay. | ||
| 48 | |||
| 49 | (define-minor-mode tooltip-mode | 43 | (define-minor-mode tooltip-mode |
| 50 | "Toggle Tooltip mode. | 44 | "Toggle Tooltip mode. |
| 51 | With ARG, turn Tooltip mode on if and only if ARG is positive. | 45 | With ARG, turn Tooltip mode on if and only if ARG is positive. |
diff --git a/lisp/tumme.el b/lisp/tumme.el index d6420bf33d7..26d48e77b2f 100644 --- a/lisp/tumme.el +++ b/lisp/tumme.el | |||
| @@ -491,7 +491,8 @@ with the comment." | |||
| 491 | :group 'tumme) | 491 | :group 'tumme) |
| 492 | 492 | ||
| 493 | (defcustom tumme-external-viewer | 493 | (defcustom tumme-external-viewer |
| 494 | ;; TODO: use mailcap, dired-guess-shell-alist-default, dired-view-command-alist | 494 | ;; TODO: Use mailcap, dired-guess-shell-alist-default, |
| 495 | ;; dired-view-command-alist. | ||
| 495 | (cond ((executable-find "display")) | 496 | (cond ((executable-find "display")) |
| 496 | ((executable-find "xli")) | 497 | ((executable-find "xli")) |
| 497 | ((executable-find "qiv") "qiv -t")) | 498 | ((executable-find "qiv") "qiv -t")) |
| @@ -627,7 +628,7 @@ according to the Thumbnail Managing Standard." | |||
| 627 | (setq thumbnail-dir (file-name-directory thumbnail-file)))) | 628 | (setq thumbnail-dir (file-name-directory thumbnail-file)))) |
| 628 | (message "Creating thumbnail directory.") | 629 | (message "Creating thumbnail directory.") |
| 629 | (make-directory thumbnail-dir)) | 630 | (make-directory thumbnail-dir)) |
| 630 | (shell-command command nil))) | 631 | (call-process shell-file-name nil nil nil shell-command-switch command))) |
| 631 | 632 | ||
| 632 | ;;;###autoload | 633 | ;;;###autoload |
| 633 | (defun tumme-dired-insert-marked-thumbs () | 634 | (defun tumme-dired-insert-marked-thumbs () |
| @@ -643,8 +644,10 @@ according to the Thumbnail Managing Standard." | |||
| 643 | ;; Can't use (overlays-at (point)), BUG? | 644 | ;; Can't use (overlays-at (point)), BUG? |
| 644 | (overlays-in (point) (1+ (point))))) | 645 | (overlays-in (point) (1+ (point))))) |
| 645 | (put-image thumb-file image-pos) | 646 | (put-image thumb-file image-pos) |
| 646 | (setq overlay (car (delq nil (mapcar (lambda (o) (and (overlay-get o 'put-image) o)) | 647 | (setq |
| 647 | (overlays-in (point) (1+ (point))))))) | 648 | overlay |
| 649 | (car (delq nil (mapcar (lambda (o) (and (overlay-get o 'put-image) o)) | ||
| 650 | (overlays-in (point) (1+ (point))))))) | ||
| 648 | (overlay-put overlay 'image-file image-file) | 651 | (overlay-put overlay 'image-file image-file) |
| 649 | (overlay-put overlay 'thumb-file thumb-file))) | 652 | (overlay-put overlay 'thumb-file thumb-file))) |
| 650 | nil) | 653 | nil) |
| @@ -716,8 +719,7 @@ Otherwise, delete overlays." | |||
| 716 | (defun tumme-create-thumbnail-buffer () | 719 | (defun tumme-create-thumbnail-buffer () |
| 717 | "Create thumb buffer and set `tumme-thumbnail-mode'." | 720 | "Create thumb buffer and set `tumme-thumbnail-mode'." |
| 718 | (let ((buf (get-buffer-create tumme-thumbnail-buffer))) | 721 | (let ((buf (get-buffer-create tumme-thumbnail-buffer))) |
| 719 | (save-excursion | 722 | (with-current-buffer buf |
| 720 | (set-buffer buf) | ||
| 721 | (setq buffer-read-only t) | 723 | (setq buffer-read-only t) |
| 722 | (if (not (eq major-mode 'tumme-thumbnail-mode)) | 724 | (if (not (eq major-mode 'tumme-thumbnail-mode)) |
| 723 | (tumme-thumbnail-mode))) | 725 | (tumme-thumbnail-mode))) |
| @@ -729,8 +731,7 @@ Otherwise, delete overlays." | |||
| 729 | (defun tumme-create-display-image-buffer () | 731 | (defun tumme-create-display-image-buffer () |
| 730 | "Create image display buffer and set `tumme-display-image-mode'." | 732 | "Create image display buffer and set `tumme-display-image-mode'." |
| 731 | (let ((buf (get-buffer-create tumme-display-image-buffer))) | 733 | (let ((buf (get-buffer-create tumme-display-image-buffer))) |
| 732 | (save-excursion | 734 | (with-current-buffer buf |
| 733 | (set-buffer buf) | ||
| 734 | (setq buffer-read-only t) | 735 | (setq buffer-read-only t) |
| 735 | (if (not (eq major-mode 'tumme-display-image-mode)) | 736 | (if (not (eq major-mode 'tumme-display-image-mode)) |
| 736 | (tumme-display-image-mode))) | 737 | (tumme-display-image-mode))) |
| @@ -812,8 +813,7 @@ thumbnail buffer to be selected." | |||
| 812 | (setq files (list (dired-get-filename))) | 813 | (setq files (list (dired-get-filename))) |
| 813 | (setq files (dired-get-marked-files))) | 814 | (setq files (dired-get-marked-files))) |
| 814 | (setq dired-buf (current-buffer)) | 815 | (setq dired-buf (current-buffer)) |
| 815 | (save-excursion | 816 | (with-current-buffer buf |
| 816 | (set-buffer buf) | ||
| 817 | (let ((inhibit-read-only t)) | 817 | (let ((inhibit-read-only t)) |
| 818 | (if (not append) | 818 | (if (not append) |
| 819 | (erase-buffer) | 819 | (erase-buffer) |
| @@ -1170,10 +1170,9 @@ dired." | |||
| 1170 | (dired-buf (tumme-associated-dired-buffer))) | 1170 | (dired-buf (tumme-associated-dired-buffer))) |
| 1171 | (if (not (and dired-buf file-name)) | 1171 | (if (not (and dired-buf file-name)) |
| 1172 | (message "No image, or image with correct properties, at point.") | 1172 | (message "No image, or image with correct properties, at point.") |
| 1173 | (save-excursion | 1173 | (with-current-buffer dired-buf |
| 1174 | (message file-name) | 1174 | (message file-name) |
| 1175 | (setq file-name (file-name-nondirectory file-name)) | 1175 | (setq file-name (file-name-nondirectory file-name)) |
| 1176 | (set-buffer dired-buf) | ||
| 1177 | (goto-char (point-min)) | 1176 | (goto-char (point-min)) |
| 1178 | (if (search-forward file-name nil t) | 1177 | (if (search-forward file-name nil t) |
| 1179 | (cond ((eq command 'mark) (dired-mark 1)) | 1178 | (cond ((eq command 'mark) (dired-mark 1)) |
| @@ -1294,7 +1293,8 @@ You probably want to use this together with | |||
| 1294 | (define-key tumme-thumbnail-mode-map "L" 'tumme-rotate-original-left) | 1293 | (define-key tumme-thumbnail-mode-map "L" 'tumme-rotate-original-left) |
| 1295 | (define-key tumme-thumbnail-mode-map "R" 'tumme-rotate-original-right) | 1294 | (define-key tumme-thumbnail-mode-map "R" 'tumme-rotate-original-right) |
| 1296 | 1295 | ||
| 1297 | (define-key tumme-thumbnail-mode-map "D" 'tumme-thumbnail-set-image-description) | 1296 | (define-key tumme-thumbnail-mode-map "D" |
| 1297 | 'tumme-thumbnail-set-image-description) | ||
| 1298 | 1298 | ||
| 1299 | (define-key tumme-thumbnail-mode-map "\C-d" 'tumme-delete-char) | 1299 | (define-key tumme-thumbnail-mode-map "\C-d" 'tumme-delete-char) |
| 1300 | (define-key tumme-thumbnail-mode-map " " | 1300 | (define-key tumme-thumbnail-mode-map " " |
| @@ -1686,25 +1686,22 @@ Ask user how many thumbnails should be displayed per row." | |||
| 1686 | 1686 | ||
| 1687 | (defun tumme-thumbnail-display-external () | 1687 | (defun tumme-thumbnail-display-external () |
| 1688 | "Display original image for thumbnail at point using external viewer." | 1688 | "Display original image for thumbnail at point using external viewer." |
| 1689 | |||
| 1690 | (interactive) | 1689 | (interactive) |
| 1691 | (let ((file (tumme-original-file-name))) | 1690 | (let ((file (tumme-original-file-name))) |
| 1692 | (if (not (tumme-image-at-point-p)) | 1691 | (if (not (tumme-image-at-point-p)) |
| 1693 | (message "No thumbnail at point") | 1692 | (message "No thumbnail at point") |
| 1694 | (if (not file) | 1693 | (if (not file) |
| 1695 | (message "No original file name found") | 1694 | (message "No original file name found") |
| 1696 | (shell-command (format "%s \"%s\"" | 1695 | (call-process shell-file-name nil nil nil shell-command-switch |
| 1697 | tumme-external-viewer | 1696 | (format "%s \"%s\"" tumme-external-viewer file)))))) |
| 1698 | file)))))) | ||
| 1699 | 1697 | ||
| 1700 | ;;;###autoload | 1698 | ;;;###autoload |
| 1701 | (defun tumme-dired-display-external () | 1699 | (defun tumme-dired-display-external () |
| 1702 | "Display file at point using an external viewer." | 1700 | "Display file at point using an external viewer." |
| 1703 | (interactive) | 1701 | (interactive) |
| 1704 | (let ((file (dired-get-filename))) | 1702 | (let ((file (dired-get-filename))) |
| 1705 | (shell-command (format "%s \"%s\"" | 1703 | (call-process shell-file-name nil nil nil shell-command-switch |
| 1706 | tumme-external-viewer | 1704 | (format "%s \"%s\"" tumme-external-viewer file)))) |
| 1707 | file)))) | ||
| 1708 | 1705 | ||
| 1709 | (defun tumme-window-width-pixels (window) | 1706 | (defun tumme-window-width-pixels (window) |
| 1710 | "Calculate WINDOW width in pixels." | 1707 | "Calculate WINDOW width in pixels." |
| @@ -1776,12 +1773,12 @@ original size." | |||
| 1776 | (cons ?h height) | 1773 | (cons ?h height) |
| 1777 | (cons ?f file) | 1774 | (cons ?f file) |
| 1778 | (cons ?t new-file)))) | 1775 | (cons ?t new-file)))) |
| 1779 | (setq ret (shell-command command nil)) | 1776 | (setq ret (call-process shell-file-name nil nil nil |
| 1777 | shell-command-switch command)) | ||
| 1780 | (if (not (= 0 ret)) | 1778 | (if (not (= 0 ret)) |
| 1781 | (error "Could not resize image"))) | 1779 | (error "Could not resize image"))) |
| 1782 | (copy-file file new-file t)) | 1780 | (copy-file file new-file t)) |
| 1783 | (save-excursion | 1781 | (with-current-buffer (tumme-create-display-image-buffer) |
| 1784 | (set-buffer (tumme-create-display-image-buffer)) | ||
| 1785 | (let ((inhibit-read-only t)) | 1782 | (let ((inhibit-read-only t)) |
| 1786 | (erase-buffer) | 1783 | (erase-buffer) |
| 1787 | (clear-image-cache) | 1784 | (clear-image-cache) |
| @@ -1829,7 +1826,7 @@ With prefix argument ARG, display image in its original size." | |||
| 1829 | (cons ?p tumme-cmd-rotate-thumbnail-program) | 1826 | (cons ?p tumme-cmd-rotate-thumbnail-program) |
| 1830 | (cons ?d degrees) | 1827 | (cons ?d degrees) |
| 1831 | (cons ?t (expand-file-name file))))) | 1828 | (cons ?t (expand-file-name file))))) |
| 1832 | (shell-command command nil) | 1829 | (call-process shell-file-name nil nil nil shell-command-switch command) |
| 1833 | ;; Clear the cache to refresh image. I wish I could just refresh | 1830 | ;; Clear the cache to refresh image. I wish I could just refresh |
| 1834 | ;; the current file but I do not know how to do that. Yet... | 1831 | ;; the current file but I do not know how to do that. Yet... |
| 1835 | (clear-image-cache)))) | 1832 | (clear-image-cache)))) |
| @@ -1874,11 +1871,13 @@ overwritten. This confirmation can be turned off using | |||
| 1874 | (cons ?d degrees) | 1871 | (cons ?d degrees) |
| 1875 | (cons ?o (expand-file-name file)) | 1872 | (cons ?o (expand-file-name file)) |
| 1876 | (cons ?t tumme-temp-rotate-image-file)))) | 1873 | (cons ?t tumme-temp-rotate-image-file)))) |
| 1877 | (if (not (= 0 (shell-command command nil))) | 1874 | (if (not (= 0 (call-process shell-file-name nil nil nil |
| 1875 | shell-command-switch command))) | ||
| 1878 | (error "Could not rotate image") | 1876 | (error "Could not rotate image") |
| 1879 | (tumme-display-image tumme-temp-rotate-image-file) | 1877 | (tumme-display-image tumme-temp-rotate-image-file) |
| 1880 | (if (or (and tumme-rotate-original-ask-before-overwrite | 1878 | (if (or (and tumme-rotate-original-ask-before-overwrite |
| 1881 | (y-or-n-p "Rotate to temp file OK. Overwrite original image? ")) | 1879 | (y-or-n-p |
| 1880 | "Rotate to temp file OK. Overwrite original image? ")) | ||
| 1882 | (not tumme-rotate-original-ask-before-overwrite)) | 1881 | (not tumme-rotate-original-ask-before-overwrite)) |
| 1883 | (progn | 1882 | (progn |
| 1884 | (copy-file tumme-temp-rotate-image-file file t) | 1883 | (copy-file tumme-temp-rotate-image-file file t) |
| @@ -1910,7 +1909,8 @@ YYYY_MM_DD_HH_MM_DD_ORIG_FILE_NAME.jpg. Used from | |||
| 1910 | (format-time-string | 1909 | (format-time-string |
| 1911 | "%Y:%m:%d %H:%M:%S" | 1910 | "%Y:%m:%d %H:%M:%S" |
| 1912 | (nth 5 (file-attributes (expand-file-name file)))))) | 1911 | (nth 5 (file-attributes (expand-file-name file)))))) |
| 1913 | (setq data (tumme-get-exif-data (expand-file-name file) "DateTimeOriginal"))) | 1912 | (setq data (tumme-get-exif-data (expand-file-name file) |
| 1913 | "DateTimeOriginal"))) | ||
| 1914 | (while (string-match "[ :]" data) | 1914 | (while (string-match "[ :]" data) |
| 1915 | (setq data (replace-match "_" nil nil data))) | 1915 | (setq data (replace-match "_" nil nil data))) |
| 1916 | (format "%s%s%s" data | 1916 | (format "%s%s%s" data |
| @@ -1930,7 +1930,8 @@ default value at the prompt." | |||
| 1930 | (old-value (tumme-get-exif-data file "ImageDescription"))) | 1930 | (old-value (tumme-get-exif-data file "ImageDescription"))) |
| 1931 | (if (eq 0 | 1931 | (if (eq 0 |
| 1932 | (tumme-set-exif-data file "ImageDescription" | 1932 | (tumme-set-exif-data file "ImageDescription" |
| 1933 | (read-string "Value of ImageDescription: " old-value))) | 1933 | (read-string "Value of ImageDescription: " |
| 1934 | old-value))) | ||
| 1934 | (message "Successfully wrote ImageDescription tag.") | 1935 | (message "Successfully wrote ImageDescription tag.") |
| 1935 | (error "Could not write ImageDescription tag"))))) | 1936 | (error "Could not write ImageDescription tag"))))) |
| 1936 | 1937 | ||
| @@ -1944,7 +1945,7 @@ default value at the prompt." | |||
| 1944 | (cons ?f (expand-file-name file)) | 1945 | (cons ?f (expand-file-name file)) |
| 1945 | (cons ?t tag-name) | 1946 | (cons ?t tag-name) |
| 1946 | (cons ?v tag-value)))) | 1947 | (cons ?v tag-value)))) |
| 1947 | (shell-command command nil))) | 1948 | (call-process shell-file-name nil nil nil shell-command-switch command))) |
| 1948 | 1949 | ||
| 1949 | (defun tumme-get-exif-data (file tag-name) | 1950 | (defun tumme-get-exif-data (file tag-name) |
| 1950 | "From FILE, return EXIF tag TAG-NAME." | 1951 | "From FILE, return EXIF tag TAG-NAME." |
| @@ -1956,10 +1957,10 @@ default value at the prompt." | |||
| 1956 | (cons ?p tumme-cmd-read-exif-data-program) | 1957 | (cons ?p tumme-cmd-read-exif-data-program) |
| 1957 | (cons ?f file) | 1958 | (cons ?f file) |
| 1958 | (cons ?t tag-name)))) | 1959 | (cons ?t tag-name)))) |
| 1959 | (save-excursion | 1960 | (with-current-buffer buf |
| 1960 | (set-buffer buf) | ||
| 1961 | (delete-region (point-min) (point-max)) | 1961 | (delete-region (point-min) (point-max)) |
| 1962 | (if (not (eq (shell-command command buf) 0)) | 1962 | (if (not (eq (call-process shell-file-name nil t nil |
| 1963 | shell-command-switch command) 0)) | ||
| 1963 | (error "Could not get EXIF tag") | 1964 | (error "Could not get EXIF tag") |
| 1964 | (goto-char (point-min)) | 1965 | (goto-char (point-min)) |
| 1965 | ;; Clean buffer from newlines and carriage returns before | 1966 | ;; Clean buffer from newlines and carriage returns before |
| @@ -2377,7 +2378,8 @@ when using per-directory thumbnail file storage")) | |||
| 2377 | ;; Insert thumbnail with link to full image | 2378 | ;; Insert thumbnail with link to full image |
| 2378 | (insert | 2379 | (insert |
| 2379 | (format "<a href=\"%s/%s\"><img src=\"%s/%s\"%s></a>\n" | 2380 | (format "<a href=\"%s/%s\"><img src=\"%s/%s\"%s></a>\n" |
| 2380 | tumme-gallery-image-root-url (file-name-nondirectory file) | 2381 | tumme-gallery-image-root-url |
| 2382 | (file-name-nondirectory file) | ||
| 2381 | tumme-gallery-thumb-image-root-url | 2383 | tumme-gallery-thumb-image-root-url |
| 2382 | (file-name-nondirectory (tumme-thumb-name file)) file)) | 2384 | (file-name-nondirectory (tumme-thumb-name file)) file)) |
| 2383 | ;; Insert comment, if any | 2385 | ;; Insert comment, if any |
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 8eb2cd8471b..901fac01208 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,8 +1,23 @@ | |||
| 1 | 2006-07-12 Michael Olson <mwolson@gnu.org> | ||
| 2 | |||
| 3 | * url-irc.el (url-irc-erc): Call erc-handle-irc-url. | ||
| 4 | |||
| 5 | 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 6 | |||
| 7 | * url-cookie.el: Remove spurious * in docstrings. | ||
| 8 | (url-cookie-write-file): Don't use versioned backups. | ||
| 9 | (url-cookie-host-can-set-p): Remove unused var `tmp'. | ||
| 10 | |||
| 11 | 2006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> | ||
| 12 | |||
| 13 | * url-cookie.el (url-cookie-save-interval): Move to url-cookie group. | ||
| 14 | (url-cookie-write-file): Reset url-cookies-changed-since-last-save. | ||
| 15 | |||
| 1 | 2006-05-12 Reiner Steib <Reiner.Steib@gmx.de> | 16 | 2006-05-12 Reiner Steib <Reiner.Steib@gmx.de> |
| 2 | 17 | ||
| 3 | * url-http.el (url-http-file-exists-p): Test if status is integer. | 18 | * url-http.el (url-http-file-exists-p): Test if status is integer. |
| 4 | 19 | ||
| 5 | 2006-05-05 Andreas Seltenreich <seltenreich@gmx.de> (tiny change) | 20 | 2006-05-05 Andreas Seltenreich <seltenreich@gmx.de> |
| 6 | 21 | ||
| 7 | * url-http.el (url-http-parse-headers): Don't reuse connection if | 22 | * url-http.el (url-http-parse-headers): Don't reuse connection if |
| 8 | "Connection: close" header was seen. | 23 | "Connection: close" header was seen. |
diff --git a/lisp/url/url-cookie.el b/lisp/url/url-cookie.el index 53ba75f4cbb..e74d4989117 100644 --- a/lisp/url/url-cookie.el +++ b/lisp/url/url-cookie.el | |||
| @@ -88,18 +88,18 @@ A cookie vector object is a vector of 7 slots: | |||
| 88 | (defvar url-cookie-storage nil "Where cookies are stored.") | 88 | (defvar url-cookie-storage nil "Where cookies are stored.") |
| 89 | (defvar url-cookie-secure-storage nil "Where secure cookies are stored.") | 89 | (defvar url-cookie-secure-storage nil "Where secure cookies are stored.") |
| 90 | (defcustom url-cookie-file nil | 90 | (defcustom url-cookie-file nil |
| 91 | "*File where cookies are stored on disk." | 91 | "File where cookies are stored on disk." |
| 92 | :type '(choice (const :tag "Default" :value nil) file) | 92 | :type '(choice (const :tag "Default" :value nil) file) |
| 93 | :group 'url-file | 93 | :group 'url-file |
| 94 | :group 'url-cookie) | 94 | :group 'url-cookie) |
| 95 | 95 | ||
| 96 | (defcustom url-cookie-confirmation nil | 96 | (defcustom url-cookie-confirmation nil |
| 97 | "*If non-nil, confirmation by the user is required to accept HTTP cookies." | 97 | "If non-nil, confirmation by the user is required to accept HTTP cookies." |
| 98 | :type 'boolean | 98 | :type 'boolean |
| 99 | :group 'url-cookie) | 99 | :group 'url-cookie) |
| 100 | 100 | ||
| 101 | (defcustom url-cookie-multiple-line nil | 101 | (defcustom url-cookie-multiple-line nil |
| 102 | "*If nil, HTTP requests put all cookies for the server on one line. | 102 | "If nil, HTTP requests put all cookies for the server on one line. |
| 103 | Some web servers, such as http://www.hotmail.com/, only accept cookies | 103 | Some web servers, such as http://www.hotmail.com/, only accept cookies |
| 104 | when they are on one line. This is broken behavior, but just try | 104 | when they are on one line. This is broken behavior, but just try |
| 105 | telling Microsoft that." | 105 | telling Microsoft that." |
| @@ -168,7 +168,13 @@ telling Microsoft that." | |||
| 168 | (insert ")\n(setq url-cookie-secure-storage\n '") | 168 | (insert ")\n(setq url-cookie-secure-storage\n '") |
| 169 | (pp url-cookie-secure-storage (current-buffer)) | 169 | (pp url-cookie-secure-storage (current-buffer)) |
| 170 | (insert ")\n") | 170 | (insert ")\n") |
| 171 | (insert ";; Local Variables:\n" | ||
| 172 | ";; version-control: never\n" | ||
| 173 | ";; no-byte-compile: t\n" | ||
| 174 | ";; End:\n") | ||
| 175 | (set (make-local-variable 'version-control) t) | ||
| 171 | (write-file fname) | 176 | (write-file fname) |
| 177 | (setq url-cookies-changed-since-last-save nil) | ||
| 172 | (kill-buffer (current-buffer)))))) | 178 | (kill-buffer (current-buffer)))))) |
| 173 | 179 | ||
| 174 | (defun url-cookie-store (name value &optional expires domain localpart secure) | 180 | (defun url-cookie-store (name value &optional expires domain localpart secure) |
| @@ -313,18 +319,17 @@ telling Microsoft that." | |||
| 313 | '.'s in the domain name in order to set a cookie.") | 319 | '.'s in the domain name in order to set a cookie.") |
| 314 | 320 | ||
| 315 | (defcustom url-cookie-trusted-urls nil | 321 | (defcustom url-cookie-trusted-urls nil |
| 316 | "*A list of regular expressions matching URLs to always accept cookies from." | 322 | "A list of regular expressions matching URLs to always accept cookies from." |
| 317 | :type '(repeat regexp) | 323 | :type '(repeat regexp) |
| 318 | :group 'url-cookie) | 324 | :group 'url-cookie) |
| 319 | 325 | ||
| 320 | (defcustom url-cookie-untrusted-urls nil | 326 | (defcustom url-cookie-untrusted-urls nil |
| 321 | "*A list of regular expressions matching URLs to never accept cookies from." | 327 | "A list of regular expressions matching URLs to never accept cookies from." |
| 322 | :type '(repeat regexp) | 328 | :type '(repeat regexp) |
| 323 | :group 'url-cookie) | 329 | :group 'url-cookie) |
| 324 | 330 | ||
| 325 | (defun url-cookie-host-can-set-p (host domain) | 331 | (defun url-cookie-host-can-set-p (host domain) |
| 326 | (let ((numdots 0) | 332 | (let ((numdots 0) |
| 327 | (tmp domain) | ||
| 328 | (last nil) | 333 | (last nil) |
| 329 | (case-fold-search t) | 334 | (case-fold-search t) |
| 330 | (mindots 3)) | 335 | (mindots 3)) |
| @@ -444,7 +449,7 @@ telling Microsoft that." | |||
| 444 | (defvar url-cookie-timer nil) | 449 | (defvar url-cookie-timer nil) |
| 445 | 450 | ||
| 446 | (defcustom url-cookie-save-interval 3600 | 451 | (defcustom url-cookie-save-interval 3600 |
| 447 | "*The number of seconds between automatic saves of cookies. | 452 | "The number of seconds between automatic saves of cookies. |
| 448 | Default is 1 hour. Note that if you change this variable outside of | 453 | Default is 1 hour. Note that if you change this variable outside of |
| 449 | the `customize' interface after `url-do-setup' has been run, you need | 454 | the `customize' interface after `url-do-setup' has been run, you need |
| 450 | to run the `url-cookie-setup-save-timer' function manually." | 455 | to run the `url-cookie-setup-save-timer' function manually." |
| @@ -453,7 +458,7 @@ to run the `url-cookie-setup-save-timer' function manually." | |||
| 453 | (if (bound-and-true-p url-setup-done) | 458 | (if (bound-and-true-p url-setup-done) |
| 454 | (url-cookie-setup-save-timer))) | 459 | (url-cookie-setup-save-timer))) |
| 455 | :type 'integer | 460 | :type 'integer |
| 456 | :group 'url) | 461 | :group 'url-cookie) |
| 457 | 462 | ||
| 458 | (defun url-cookie-setup-save-timer () | 463 | (defun url-cookie-setup-save-timer () |
| 459 | "Reset the cookie saver timer." | 464 | "Reset the cookie saver timer." |
diff --git a/lisp/url/url-irc.el b/lisp/url/url-irc.el index 6a7a62573e9..19eec6f2ef2 100644 --- a/lisp/url/url-irc.el +++ b/lisp/url/url-irc.el | |||
| @@ -68,9 +68,7 @@ PASSWORD - What password to use" | |||
| 68 | (switch-to-buffer (concat chan "@" host))))) | 68 | (switch-to-buffer (concat chan "@" host))))) |
| 69 | 69 | ||
| 70 | (defun url-irc-erc (host port channel user password) | 70 | (defun url-irc-erc (host port channel user password) |
| 71 | (erc-select :server host :port port :nick user :password password) | 71 | (erc-handle-irc-url host port channel user password)) |
| 72 | (when channel | ||
| 73 | (erc-join-channel channel))) | ||
| 74 | 72 | ||
| 75 | ;;;###autoload | 73 | ;;;###autoload |
| 76 | (defun url-irc (url) | 74 | (defun url-irc (url) |
diff --git a/lisp/vc.el b/lisp/vc.el index c395a25798c..d72ee4c7e4e 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -934,11 +934,12 @@ Else, add CODE to the process' sentinel." | |||
| 934 | (let ((proc (get-buffer-process (current-buffer)))) | 934 | (let ((proc (get-buffer-process (current-buffer)))) |
| 935 | (cond | 935 | (cond |
| 936 | ;; If there's no background process, just execute the code. | 936 | ;; If there's no background process, just execute the code. |
| 937 | ((null proc) (eval code)) | 937 | ;; We used to explicitly call delete-process on exited processes, |
| 938 | ;; If the background process has exited, reap it and try again | 938 | ;; but this led to timing problems causing process output to be |
| 939 | ((eq (process-status proc) 'exit) | 939 | ;; lost. Terminated processes get deleted automatically |
| 940 | (delete-process proc) | 940 | ;; anyway. -- cyd |
| 941 | (vc-exec-after code)) | 941 | ((or (null proc) (eq (process-status proc) 'exit)) |
| 942 | (eval code)) | ||
| 942 | ;; If a process is running, add CODE to the sentinel | 943 | ;; If a process is running, add CODE to the sentinel |
| 943 | ((eq (process-status proc) 'run) | 944 | ((eq (process-status proc) 'run) |
| 944 | (let ((sentinel (process-sentinel proc))) | 945 | (let ((sentinel (process-sentinel proc))) |
| @@ -1846,7 +1847,7 @@ actually call the backend, but performs a local diff." | |||
| 1846 | (if (and file-rev1 file-rev2) | 1847 | (if (and file-rev1 file-rev2) |
| 1847 | (let ((status | 1848 | (let ((status |
| 1848 | (if (eq vc-diff-knows-L 'no) | 1849 | (if (eq vc-diff-knows-L 'no) |
| 1849 | (apply 'vc-do-command "*vc-diff*" 1 "diff" | 1850 | (apply 'vc-do-command "*vc-diff*" 1 "diff" nil |
| 1850 | (append (vc-switches nil 'diff) | 1851 | (append (vc-switches nil 'diff) |
| 1851 | (list (file-relative-name file-rev1) | 1852 | (list (file-relative-name file-rev1) |
| 1852 | (file-relative-name file-rev2)))) | 1853 | (file-relative-name file-rev2)))) |
| @@ -1864,7 +1865,7 @@ actually call the backend, but performs a local diff." | |||
| 1864 | (if (eq status 2) | 1865 | (if (eq status 2) |
| 1865 | (if (not vc-diff-knows-L) | 1866 | (if (not vc-diff-knows-L) |
| 1866 | (setq vc-diff-knows-L 'no | 1867 | (setq vc-diff-knows-L 'no |
| 1867 | status (apply 'vc-do-command "*vc-diff*" 1 "diff" | 1868 | status (apply 'vc-do-command "*vc-diff*" 1 "diff" nil |
| 1868 | (append | 1869 | (append |
| 1869 | (vc-switches nil 'diff) | 1870 | (vc-switches nil 'diff) |
| 1870 | (list (file-relative-name file-rev1) | 1871 | (list (file-relative-name file-rev1) |
| @@ -2446,9 +2447,9 @@ If FOCUS-REV is non-nil, leave the point at that revision." | |||
| 2446 | (vc-call print-log file) | 2447 | (vc-call print-log file) |
| 2447 | (set-buffer "*vc*")))) | 2448 | (set-buffer "*vc*")))) |
| 2448 | (pop-to-buffer (current-buffer)) | 2449 | (pop-to-buffer (current-buffer)) |
| 2449 | (log-view-mode) | ||
| 2450 | (vc-exec-after | 2450 | (vc-exec-after |
| 2451 | `(let ((inhibit-read-only t)) | 2451 | `(let ((inhibit-read-only t)) |
| 2452 | (log-view-mode) | ||
| 2452 | (goto-char (point-max)) (forward-line -1) | 2453 | (goto-char (point-max)) (forward-line -1) |
| 2453 | (while (looking-at "=*\n") | 2454 | (while (looking-at "=*\n") |
| 2454 | (delete-char (- (match-end 0) (match-beginning 0))) | 2455 | (delete-char (- (match-end 0) (match-beginning 0))) |
| @@ -2456,7 +2457,7 @@ If FOCUS-REV is non-nil, leave the point at that revision." | |||
| 2456 | (goto-char (point-min)) | 2457 | (goto-char (point-min)) |
| 2457 | (if (looking-at "[\b\t\n\v\f\r ]+") | 2458 | (if (looking-at "[\b\t\n\v\f\r ]+") |
| 2458 | (delete-char (- (match-end 0) (match-beginning 0)))) | 2459 | (delete-char (- (match-end 0) (match-beginning 0)))) |
| 2459 | (shrink-window-if-larger-than-buffer) | 2460 | ;; (shrink-window-if-larger-than-buffer) |
| 2460 | ;; move point to the log entry for the current version | 2461 | ;; move point to the log entry for the current version |
| 2461 | (vc-call-backend ',(vc-backend file) | 2462 | (vc-call-backend ',(vc-backend file) |
| 2462 | 'show-log-entry | 2463 | 'show-log-entry |
diff --git a/lisp/window.el b/lisp/window.el index ef9dd5d896d..2ae1a2c9e79 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -532,7 +532,11 @@ the height exactly, but attempts to be conservative, by allocating more | |||
| 532 | lines than are actually needed in the case where some error may be present." | 532 | lines than are actually needed in the case where some error may be present." |
| 533 | (let ((delta (- height (window-text-height window)))) | 533 | (let ((delta (- height (window-text-height window)))) |
| 534 | (unless (zerop delta) | 534 | (unless (zerop delta) |
| 535 | (let ((window-min-height 1)) | 535 | ;; Setting window-min-height to a value like 1 can lead to very |
| 536 | ;; bizarre displays because it also allows Emacs to make *other* | ||
| 537 | ;; windows 1-line tall, which means that there's no more space for | ||
| 538 | ;; the modeline. | ||
| 539 | (let ((window-min-height (min 2 height))) ;One text line plus a modeline. | ||
| 536 | (if (and window (not (eq window (selected-window)))) | 540 | (if (and window (not (eq window (selected-window)))) |
| 537 | (save-selected-window | 541 | (save-selected-window |
| 538 | (select-window window) | 542 | (select-window window) |