ChangeLog 316 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
2007-10-29  Juanma Barranquero  <lekktu@gmail.com>

	* loadhist.el (unload-feature-special-hooks):
	Add `delete-frame-functions' and `suspend-tty-functions'.

	* server.el (server-unload-function): Rename from `server-unload-hook'
	and adapt to new `unload-feature' functionality.  Remove hook from
	`kill-buffer-hook' buffer-locally.
	(server-unload-hook): Remove.
	(server-unload-function): New var; replaces `server-unload-hook'.

Glenn Morris's avatar
Glenn Morris committed
12 13 14 15 16 17 18 19 20 21 22 23
2007-10-29  Glenn Morris  <rgm@gnu.org>

	* dirtrack.el (dirtrack-debug): Doc fix.
	(dirtrack-mode, dirtrack-debug-mode): New names for
	dirtrack-toggle and dirtrack-debug-toggle.  Use define-minor-mode.
	(dirtrack-toggle, dirtrack-debug-toggle, dirtrackp, dirtrack-debug):
	Make obsolete.
	(dirtrack-debug-message): Only print message if
	dirtrack-debug-mode is non-nil.  Use with-current-buffer.
	(dirtrack): Doc fix.  Use dirtrack-mode rather than dirtrackp.
	Remove dirtrack-debug checks now that dirtrack-debug-message does this.

24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
2007-10-28  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-warnings): Document `not'.
	(byte-compile-warnings-safe-p): Handle `not'.
	(byte-compile-warning-enabled-p, byte-compile-disable-warning)
	(byte-compile-enable-warning): New functions.
	(byte-compile-eval-before-compile)
	(byte-compile-file-form-require): Use byte-compile-disable-warning.
	(byte-compile-close-variables): Locally bind byte-compile-warnings,
	but do not modify it.
	(byte-compile-eval, byte-compile-obsolete)
	(byte-compile-warn-about-unresolved-functions)
	(byte-compile-file-form-defvar)
	(byte-compile-file-form-custom-declare-variable)
	(byte-compile-file-form-require)
	(byte-compile-file-form-defmumble, byte-compile-lambda)
	(byte-compile-form, byte-compile-normal-call)
	(byte-compile-variable-ref, byte-compile-defvar)
	(byte-compile-make-variable-buffer-local):
	Use byte-compile-warning-enabled-p.
	* emacs-lisp/advice.el (ad-compile-function):
	Use byte-compile-disable-warning.
Glenn Morris's avatar
Glenn Morris committed
46 47
	* emacs-lisp/cl.el: Move local variables to end of file, and set
	byte-compile-warnings to `(not cl-functions)'.
48 49 50 51 52 53 54 55 56 57 58
	* emacs-lisp/cl-compat.el: Add a local variables section, and set
	byte-compile-warnings to `(not cl-functions)'.
	* emacs-lisp/cl-macs.el: Unify local variable section, and set
	byte-compile-warnings to `(not cl-functions)'.
	(cl-do-proclaim): Use byte-compile-disable-warning and
	byte-compile-enable-warning.
	* emacs-lisp/cl-seq.el: Unify local variable section, and set
	byte-compile-warnings to `(not cl-functions)'.
	* progmodes/cc-bytecomp.el (cc-bytecomp-ignore-obsolete):
	Use byte-compile-disable-warning.

59 60 61 62 63
2007-10-28  Dan Nicolaescu  <dann@ics.uci.edu>

	* cus-edit.el (custom-browse-insert-prefix):
	* emulation/edt.el (edt-x-emacs19-p): Use featurep 'xemacs.

64 65 66 67 68 69 70
2007-10-28  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-process-filter): Fix typo in docstring.
	(server-log): Reflow docstrings.
	(server-delete-client, server-kill-emacs-query-function): Doc fixes.
	(server-goto-line-column): Use `when'.

71 72 73 74 75 76 77 78
2007-10-28  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-other-meta-char): Call `isearch-edit-string'
	when mouse is clicked on the isearch message.
	(isearch-resume): Call `isearch-update' at the end.
	Rename argument `search' to `string' to conform to the
	isearch terminology.

Stefan Monnier's avatar
Stefan Monnier committed
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
2007-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	Rewrite abbrev.c in Elisp.
	* abbrev.el (abbrev-mode): Move custom group from cus-edit.el.
	(abbrev-table-get, abbrev-table-put, abbrev-get)
	(abbrev-put, make-abbrev-table, abbrev-table-p, clear-abbrev-table)
	(define-abbrev, abbrev--check-chars, define-global-abbrev)
	(define-mode-abbrev, abbrev--active-tables, abbrev-symbol)
	(abbrev-expansion, abbrev--before-point, expand-abbrev)
	(unexpand-abbrev, abbrev--write, abbrev--describe)
	(insert-abbrev-table-description, define-abbrev-table):
	New funs, largely transcribed from abbrev.c.
	(abbrev-with-wrapper-hook): New macro.
	(abbrev-table-name-list, global-abbrev-table)
	(abbrev-minor-mode-table-alist, fundamental-mode-abbrev-table)
	(abbrevs-changed, abbrev-all-caps, abbrev-start-location)
	(abbrev-start-location-buffer, last-abbrev, last-abbrev-text)
	(last-abbrev-location, pre-abbrev-expand-hook, abbrev-expand-function):
	New vars, largely transcribed from abbrev.c.
	* cus-edit.el (abbrev-mode): Remove.  Move to abbrev.el.
	* cus-start.el: Remove abbrev-all-caps and pre-abbrev-expand-hook.
	* loadup.el: Load "abbrev.el" before "lisp-mode.el".

102 103 104
2007-10-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* ps-print.el: Now detect if text foreground and background colors are
105
	equal and replace the foreground color by another color, so the text
106 107 108 109 110 111 112 113
	becomes visible.  Doc fix.
	(ps-print-version): New version 6.8.
	(ps-default-fg, ps-default-bg): Docstring fix.
	(ps-postscript-code-directory): Fix default value code.
	(ps-fg-list, ps-fg-validate-p): New options.
	(ps-foreground-list): New var.
	(ps-setup, ps-begin-job, ps-plot-region): Fix code.

Glenn Morris's avatar
Glenn Morris committed
114 115 116 117 118 119 120
2007-10-27  Glenn Morris  <rgm@gnu.org>

	* shell.el (shell-dirtrack-verbose, shell-directory-tracker): Doc fix.
	(shell-dirtrack-toggle): Mark as obsolete.
	(dirtrack-toggle, dirtrack-mode): No longer alias to
	shell-dirtrack-mode.

Jay Belanger's avatar
Jay Belanger committed
121 122 123 124 125 126 127
2007-10-27  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (math-standard-opers): Lower the precedence
	of negation.
	* calc/calc-lang.el (math-oper-table): Lower precedence of
	negation for C, TeX, and eqn.

128 129 130 131
2007-10-27  Dan Nicolaescu  <dann@ics.uci.edu>

	* progmodes/cc-defs.el: Reorder conditions to avoid warnings.

132 133 134 135 136
2007-10-27  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-load-locked-desktop, desktop-base-lock-name)
	(desktop-not-loaded-hook): Fix :version tags.

137 138 139 140 141 142 143 144 145 146 147 148 149
2007-10-27  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-wrong-passwd-regexp): Tune regexp.
	(tramp-get-remote-tmpdir): New defun.
	(tramp-make-tramp-temp-file): Use it.
	(tramp-local-call-process): New defun.  Replace all calls of
	`call-process' by this when appropriate.
	(tramp-handle-write-region): Replace calls of `file-attributes' by
	`tramp-compat-file-attributes'.
	(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
	Make the first command a `tramp-send-command' call, with let-bind
	of `tramp-end-of-output'.
	(tramp-version, tramp-bug, tramp-reporter-dump-variable)
Juanma Barranquero's avatar
Juanma Barranquero committed
150 151
	(tramp-load-report-modules, tramp-append-tramp-buffers):
	Move to tramp-cmds.el.
152 153 154 155 156 157 158

	* net/tramp-fish.el (tramp-fish-handle-copy-file)
	(tramp-fish-do-copy-or-rename-file)
	(tramp-fish-do-copy-or-rename-file-directly):
	* net/tramp-smb.el (tramp-smb-handle-copy-file):
	Add parameter PRESERVE-UID-GID.

159 160 161 162 163 164 165
2007-10-27  Eli Zaretskii  <eliz@gnu.org>

	* time.el (zoneinfo-style-world-list, legacy-style-world-list):
	New defcustoms.
	(display-time-world-list): Use them as appropriate for the current
	value of `system-type'.

Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
2007-10-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* printing.el: Pacify byte compiler, that is, no compiler warnings.
	Move (again) some variable definitions before use, define some fun
	aliases, no code change.
	(pr-version): New version 6.9.2.
	(pr-path-style, pr-auto-region, pr-menu-char-height)
	(pr-menu-char-width, pr-menu-lock, pr-ps-printer-alist)
	(pr-txt-printer-alist, pr-ps-utility-alist): Options declaration
	via (defvar VAR).
	(pr-menu-lookup, pr-menu-lock, pr-menu-alist, pr-even-or-odd-pages)
	(pr-menu-get-item, pr-menu-set-item-name, pr-menu-set-utility-title)
	(pr-menu-set-ps-title, pr-menu-set-txt-title, pr-region-active-p)
	(pr-do-update-menus, pr-update-mode-line, pr-f-read-string)
	(pr-f-set-keymap-parents, pr-keep-region-active): Fun aliases.
181
	(pr-menu-print-item, pr-ps-printer-menu-modified)
Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
182 183 184
	(pr-txt-printer-menu-modified, pr-ps-utility-menu-modified)
	(pr-even-or-odd-alist): Vars definition moved.

185 186
2007-10-26  Dan Nicolaescu  <dann@ics.uci.edu>

187 188 189 190
	* emulation/pc-select.el (next-line-mark, next-line-nomark)
	(previous-line-mark, previous-line-nomark): Wrap with-no-warnings
	around uses of previous-line and next-line.

Juanma Barranquero's avatar
Juanma Barranquero committed
191 192
	* diff.el (diff-old-file, diff-new-file, diff-extra-args):
	New defvars.
193 194 195

	* textmodes/css-mode.el (comment-continue):
	* net/browse-url.el (url-handler-regexp):
Juanma Barranquero's avatar
Juanma Barranquero committed
196 197
	* progmodes/idlw-help.el (idlwave-system-routines):
	Pacify byte-compiler.
198

199
	* textmodes/fill.el (fill-nobreak-p): Replace obsolete alias
Juanma Barranquero's avatar
Juanma Barranquero committed
200 201
	line-move-invisible-p with its former definition: invisible-p.
	line-move-invisible-p was removed on 2007-08-29.
202

203 204 205 206 207
2007-10-26  Juanma Barranquero  <lekktu@gmail.com>

	* files.el (kill-emacs-query-functions): Doc fix;
	`save-buffers-kill-emacs' is no longer bound to a key.

208 209 210 211 212 213 214 215 216 217 218 219 220 221 222
2007-10-26  Richard Stallman  <rms@gnu.org>

	* isearch-multi.el (isearch-buffers-multi): New option.
	(isearch-buffers-search-fun): Test it.

	* progmodes/ps-mode.el (ps-mode-map): Delete C-c v binding.
	Put ps-run-clear on C-c C-l.

	* newcomment.el (comment-styles): New style indent-or-triple.
	(comment-style): Make that the default.
	(comment-add defvar): Doc fix.
	(comment-add): Delete arg EXTRA.
	(comment-region-default): Open code call to comment-add.
	Handle indent-or-triple style which uses `multi-char' for INDENT.

Juanma Barranquero's avatar
Juanma Barranquero committed
223 224 225 226
2007-10-26  Juanma Barranquero  <lekktu@gmail.com>

	* eshell/em-unix.el (nil-blank-string): Doc fix.

227 228 229
2007-10-26  John Wiegley  <johnw@newartisans.com>

	* eshell/em-unix.el (eshell/diff): Before calling the `diff'
Juanma Barranquero's avatar
Juanma Barranquero committed
230
	function, ensure that the third argument is turned into a nil if
231 232 233 234 235
	the string is otherwise completely empty (either no characters, or
	all tabs/spaces).  This fixes a bug from a user who found himself
	unable to customize `diff-switches' and still use Eshell's diff
	command.

236 237 238 239 240
2007-10-26  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-warnings): Autoload the
	safe-local-variable property.

241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
2007-10-26  Gwern Branwen  <gwern0@gmail.com>  (tiny change)

	* net/browse-url.el (browse-url-browser-function): Delete grail.
	(browse-url-grail): Function and variable deleted.
	(browse-url-browser-function): Delete IXI Mosaic.
	(browse-url-default-browser): Don't try IXI Mosaic.
	(browse-url-iximosaic): Function deleted.
	(browse-url-browser-function): Delete MMM.
	(browse-url-default-browser): Don't try MMM.
	(browse-url-mmm): Function deleted.

2007-10-26  Drew Adams  <drew.adams@oracle.com>

	* custom.el (custom-note-var-changed): New function.

256 257 258
2007-10-25  Dan Nicolaescu  <dann@ics.uci.edu>

	* emulation/edt-mapper.el (edt-emacs-variant): Replace the only
Juanma Barranquero's avatar
Juanma Barranquero committed
259
	use with the definition.  Remove.
260 261 262

	* add-log.el (change-log-start-entry-re): New defconst.
	(change-log-sortable-date-at): Use it.
Juanma Barranquero's avatar
Juanma Barranquero committed
263 264
	(change-log-beginning-of-defun, change-log-end-of-defun):
	New functions.
265 266 267
	(change-log-mode): Use them for beginning-of-defun-function and
	end-of-defun-function.

268 269 270
2007-10-25  Jonathan Yavner  <jyavner@member.fsf.org>

	* ses.el: Make `ses--symbolic-formulas' a safe local variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
271
	(ses-mode-print-map): Add `c' and `t' (suggested by Gareth Rees).
272 273 274 275 276 277
	(ses-recalculate-cell): Deal with point being just beyond end of
	data area (why does this happen?)
	(ses-set-curcell): Ditto.
	(ses-column-letter): Handle columns beyond 702.  Code written by
	Gareth Rees.

Carsten Dominik's avatar
Carsten Dominik committed
278 279
2007-10-25  Carsten Dominik  <dominik@science.uva.nl>

Juanma Barranquero's avatar
Juanma Barranquero committed
280 281
	* textmodes/org.el (org-agenda-get-restriction-and-command):
	Use `mapc' instead of `mapcar'.
Carsten Dominik's avatar
Carsten Dominik committed
282 283 284 285
	(org-agenda-list): Numeric prefix argument can specify the number
	of days.
	(remember-register, remember-buffer): Prevent byte compiler from
	complaining.
Carsten Dominik's avatar
Carsten Dominik committed
286
	(org-todo): Save and restore match data.
Carsten Dominik's avatar
Carsten Dominik committed
287 288
	(org-no-warnings): New macro.
	(org-columns-eval): Use `org-no-warnings'.
Carsten Dominik's avatar
Carsten Dominik committed
289

290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323
2007-10-25  Chris Moore  <christopher.ian.moore@gmail.com>

	* comint.el (comint-password-prompt-regexp):
	Handle `[sudo] password'-style prompt.

2007-10-25  Glenn Morris  <rgm@gnu.org>

	* custom.el (custom-declare-variable): Add :risky and :safe keywords.
	(defcustom): Doc fix.

	* progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re):
	Add `non_intrinsic'.
	(f90-constants-re): Add ieee modules.
	(f90-typedef-matcher, f90-typedec-matcher)
	(f90-imenu-type-matcher): New functions.
	(f90-font-lock-keywords-1): Give module procedures function-name face.
	Use `f90-typedef-matcher' for derived types.  Fix `abstract interface'.
	Add `use, intrinsic'.
	(f90-font-lock-keywords-2): Use `f90-typedec-matcher' for derived types.
	Move start of `enum' blocks to separate entry.
	(f90-start-block-re): Fix `type', `abstract interface'.
	(f90-imenu-generic-expression): Use `f90-imenu-type-matcher' for
	derived types.
	(f90-mode-abbrev-table): Add `abstract interface', `asynchronous',
	`elemental', change `enumerator'.
	(f90-no-block-limit): Fix `abstract interface'.

	* progmodes/f90.el (f90-indented-comment-re)
	(f90-directive-comment-re, f90-break-delimiters):
	* progmodes/fortran.el (fortran-comment-line-start-skip)
	(fortran-directive-re):
	* textmodes/conf-mode.el (conf-space-keywords): Mark these regexps
	as safe if they are strings.

324 325 326 327
2007-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* startup.el (window-system): Remove.  Don't make it frame-local.

Miles Bader's avatar
Miles Bader committed
328
2007-10-24  Richard Stallman  <rms@gnu.org>
Kim F. Storm's avatar
Kim F. Storm committed
329

Miles Bader's avatar
Miles Bader committed
330
	* savehist.el (savehist-save): Omit unreadable elements.
Kim F. Storm's avatar
Kim F. Storm committed
331

Miles Bader's avatar
Miles Bader committed
332 333 334
	* loadhist.el (unload-function-defs-list): Renamed from
	unload-function-features-list.
	(unload-feature-special-hooks, unload-feature): Doc fixes.
Kim F. Storm's avatar
Kim F. Storm committed
335

Miles Bader's avatar
Miles Bader committed
336 337
	* indent.el (indent-to-left-margin): If point's in the indentation,
	move to the end of the indentation.
Kim F. Storm's avatar
Kim F. Storm committed
338

Miles Bader's avatar
Miles Bader committed
339
	* cus-edit.el (customize-changed-options): Make arg optional.
Kim F. Storm's avatar
Kim F. Storm committed
340

Miles Bader's avatar
Miles Bader committed
341
2007-10-24  Juanma Barranquero  <lekktu@gmail.com>
Kim F. Storm's avatar
Kim F. Storm committed
342

Miles Bader's avatar
Miles Bader committed
343
	* bs.el (bs-select, bs-select-other-window): Fix typos in docstrings.
Kim F. Storm's avatar
Kim F. Storm committed
344

345 346 347 348 349
2007-10-24  Dan Nicolaescu  <dann@ics.uci.edu>

	* textmodes/org-publish.el (org-publish-attachment): Re-install
	accidentally deleted change.

350 351 352 353
2007-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* term/iris-ansi.el (iris-function-map): Move init into declaration.

354 355 356 357 358 359
2007-10-24  Juanma Barranquero  <lekktu@gmail.com>

	* buff-menu.el (Buffer-menu-sort-column): Doc fix.
	(Buffer-menu-mode-map): Initialize in the declaration.
	(Buffer-menu-mode): Define with `define-derived-mode'.

Carsten Dominik's avatar
Carsten Dominik committed
360 361
2007-10-24  Carsten Dominik  <dominik@science.uva.nl>

362 363 364
	* textmodes/org.el (org-version): Change to 5.13e.
	(org-agenda-file-regexp): Fix typo in docstring.
	(org-add-planning-info): Fix bug in parenthesis settings.
365
	(org-scan-tags): Catch the case of indirect buffers with no filename.
Carsten Dominik's avatar
Carsten Dominik committed
366
	(org-fast-tag-selection, org-export-as-ascii, org-export-as-html):
367
	Re-install switch to mapc, had been removed by accident.
Carsten Dominik's avatar
Carsten Dominik committed
368
	(org-columns-map): New binding `C-c C-o'.
369 370
	(org-columns-menu): Change menu text and added new entry.
	(org-columns-eval): Document the use of `next-line'.
Carsten Dominik's avatar
Carsten Dominik committed
371
	(org-columns-open-link): New function.
372
	(org-columns-follow-link): Remove function.
Carsten Dominik's avatar
Carsten Dominik committed
373
	(org-open-link-from-string): New function.
374
	(org-read-date-get-relative): Fix typo in docstring.
Carsten Dominik's avatar
Carsten Dominik committed
375 376 377 378 379 380 381
	(org-read-date-get-relative): Leading +/- is not optional.
	(org-agenda-get-restriction-and-command): Always resize window on
	first loop cycle.
	(org-agenda-open-link): Make sure the link abbreviations are
	present in the agenda buffer.
	(org-agenda-copy-local-variable): New function.

382 383 384 385
2007-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc.el (vc-update-changelog-rcs2log): Remove incorrect `backend' arg.

386 387 388 389 390
2007-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (reindent-then-newline-and-indent): Use a `move after
	insert' kind of marker in the save-excursion.

Miles Bader's avatar
Miles Bader committed
391
2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
Kim F. Storm's avatar
Kim F. Storm committed
392

Miles Bader's avatar
Miles Bader committed
393 394
	* textmodes/css-mode.el: Require CL.
	(comment-continue): Declare.
Kim F. Storm's avatar
Kim F. Storm committed
395

Miles Bader's avatar
Miles Bader committed
396 397
	* subr.el (make-variable-frame-localizable): Remove.
	(make-variable-frame-local): Mark obsolete.
Kim F. Storm's avatar
Kim F. Storm committed
398

Miles Bader's avatar
Miles Bader committed
399
2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
Kim F. Storm's avatar
Kim F. Storm committed
400

Miles Bader's avatar
Miles Bader committed
401 402
	* textmodes/tex-mode.el (tex-uptodate-p): Don't signal an error if one
	of the subdirs is unreadable.
Kim F. Storm's avatar
Kim F. Storm committed
403

404 405 406 407 408
2007-10-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-set-file-uid-gid): Protect `call-process'
	when we are local.

409 410 411 412 413
2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/python.el (python-current-defun): Remove left-over
	assignment to `start'.

414 415 416 417 418
2007-10-23  Juanma Barranquero  <lekktu@gmail.com>

	* ibuf-ext.el (ibuffer-auto-update-changed): Use `dolist' rather
	than `mapcar'; return value is not used.

419 420 421 422 423
2007-10-23  Dan Nicolaescu  <dann@ics.uci.edu>

	* progmodes/gud.el (gdb-source-window, gud-tooltip-mode)
	(hl-line-mode, hl-line-sticky-flag): Pacify byte compiler.

Juanma Barranquero's avatar
Juanma Barranquero committed
424 425 426 427 428
2007-10-23  Juanma Barranquero  <lekktu@gmail.com>

	* ibuf-ext.el (ibuffer-switch-to-saved-filters)
	(ibuffer-switch-to-saved-filter-groups): Doc fixes.

429 430
2007-10-23  Dan Nicolaescu  <dann@ics.uci.edu>

Juanma Barranquero's avatar
Juanma Barranquero committed
431
	* term/xterm.el (terminal-init-xterm): Experiment with a longer timeout.
432

433 434 435 436 437
2007-10-23  Katsumi Yamaoka  <yamaoka@jpl.org>

	* emacs-lisp/advice.el (ad-make-advised-docstring):
	Add ad-advice-info text property to doc string.

Glenn Morris's avatar
Glenn Morris committed
438 439
2007-10-23  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
440 441 442 443 444 445 446 447
	* progmodes/f90.el (f90-do-indent, f90-if-indent)
	(f90-type-indent, f90-program-indent, f90-associate-indent)
	(f90-continuation-indent, f90-comment-region)
	(f90-beginning-ampersand, f90-smart-end)
	(f90-break-before-delimiters, f90-auto-keyword-case)
	(f90-leave-line-no, f90-mode-hook):
	Give an appropriate safe-local-variable property.

Glenn Morris's avatar
Glenn Morris committed
448 449 450 451 452 453 454 455 456 457 458 459 460 461 462
	* progmodes/fortran.el (fortran-tab-mode-default)
	(fortran-tab-mode-string, fortran-do-indent, fortran-if-indent)
	(fortran-structure-indent, fortran-continuation-indent)
	(fortran-comment-indent, fortran-comment-line-extra-indent)
	(fortran-comment-line-start)
	(fortran-minimum-statement-indent-fixed)
	(fortran-minimum-statement-indent-tab)
	(fortran-comment-indent-char, fortran-line-number-indent)
	(fortran-check-all-num-for-matching-do)
	(fortran-blink-matching-if, fortran-continuation-string)
	(fortran-comment-region, fortran-electric-line-number)
	(fortran-column-ruler-fixed, fortran-column-ruler-tab)
	(fortran-analyze-depth, fortran-break-before-delimiters):
	Give an appropriate safe-local-variable property.

463 464 465 466 467
2007-10-23  Dan Nicolaescu  <dann@ics.uci.edu>

	* printing.el: Move variable definitions before use.
	(pr-menu-char-width, pr-menu-char-height): Pacify byte compiler.

Miles Bader's avatar
Miles Bader committed
468
2007-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
Kim F. Storm's avatar
Kim F. Storm committed
469

Miles Bader's avatar
Miles Bader committed
470 471 472 473
	* emulation/tpu-edt.el (tpu-edt-old-global-values): New var.
	(tpu-edt-off): Use it.
	(tpu-edt-on): Set it.  Make sure the tpu-global-map is not already on
	the global-map before adding it to global-map.
Kim F. Storm's avatar
Kim F. Storm committed
474

Miles Bader's avatar
Miles Bader committed
475 476 477 478 479
	* menu-bar.el (global-buffers-menu-map): New var.
	(global-map, menu-bar-update-buffers): Use it.
	* msb.el (msb-menu-bar-update-buffers): Use it.
	(msb-sort-by-directory, msb--choose-menu, msb--mode-menu-cond)
	(msb--most-recently-used-menu, msb--create-buffer-menu-2):
Kim F. Storm's avatar
Kim F. Storm committed
480 481
	Use with-current-buffer.

482 483 484 485 486 487 488 489 490 491 492 493 494 495
2007-10-22  Juri Linkov  <juri@jurta.org>

	* isearch-multi.el: New file.

	* isearch.el (isearch-search-string): After finding the next
	occurrence switch to buffer isearch-buffers-current-buffer when
	isearch-buffers-next-buffer-function is non-nil and
	isearch-buffers-current-buffer is live.

	* add-log.el (change-log-mode): Make and set buffer-local variable
	isearch-buffers-next-buffer-function to change-log-next-buffer.
	Call isearch-buffers-minor-mode.
	(change-log-next-buffer): New function.

John Wiegley's avatar
John Wiegley committed
496 497
2007-10-22  Carsten Dominik  <dominik@science.uva.nl>

Juanma Barranquero's avatar
Juanma Barranquero committed
498
	* textmodes/org.el (org-read-date-get-relative): New function.
John Wiegley's avatar
John Wiegley committed
499 500 501 502
	(org-agenda-file-regexp): New variable.
	(org-agenda-files): Allow directories in the variable.
	(org-agenda-get-restriction-and-command): New function.
	(org-agenda): Use `org-agenda-get-restriction-and-command'.
Juanma Barranquero's avatar
Juanma Barranquero committed
503
	(org-todo-blocker-hook, org-todo-trigger-hook): New hooks.
John Wiegley's avatar
John Wiegley committed
504 505 506 507 508 509 510
	(org-entry-is-todo-p, org-entry-is-done-p, org-get-todo-state):
	New functions.
	(org-entry-add-to-multivalued-property)
	(org-entry-remove-from-multivalued-property)
	(org-entry-member-in-multivalued-property): New functions.
	(org-remember-apply-template): Catch C-g and make sure window
	configuration is restored.
Juanma Barranquero's avatar
Juanma Barranquero committed
511
	(org-agenda-open-link): Make it work with several links in the line.
John Wiegley's avatar
John Wiegley committed
512
	(org-drawers, org-set-regexps-and-options)
Juanma Barranquero's avatar
Juanma Barranquero committed
513
	(org-get-current-options): Add support for a DRAWERS in-buffer option.
John Wiegley's avatar
John Wiegley committed
514 515 516 517 518 519 520 521 522 523 524
	(org-agenda-window-frame-fractions): New option.
	(org-fit-agenda-window): Use `org-agenda-window-frame-fractions'.
	(org-columns-cleanup-item, org-find-entry-with-id)
	(org-insert-columns-dblock, org-listtable-to-string)
	(org-dblock-write:columnview, org-columns-capture-view)
	(org-edit-headline): New functions.
	(org-agenda-to-appt): Require calendar.
	(org-entry-get-with-inheritance): Widen for search.
	(org-columns-display-here): Don't mark buffer as modified when
	adding space characters to accomodate column overlays.
	(org-export-as-html): Better formatting of tags in the toc.
Juanma Barranquero's avatar
Juanma Barranquero committed
525
	(org-columns-display-here): Make the ITEM column as compact as possible.
John Wiegley's avatar
John Wiegley committed
526 527 528 529 530
	(org-remember-templates): Customization interface improved.
	(org-export-with-property-drawer): Variable removed.
	(org-export-with-drawers): New option.
	(org-complex-heading-regexp): New variable.
	(org-sort-entries): Rewrite using `sort-subr'.
Juanma Barranquero's avatar
Juanma Barranquero committed
531
	(org-set-property): More appropriate completion during interactive use.
John Wiegley's avatar
John Wiegley committed
532
	(org-sort-entries): Allow sorting by property.
Juanma Barranquero's avatar
Juanma Barranquero committed
533 534
	(org-additional-option-like-keywords): Add more values.
	(org-sort-entries-or-items): Rename from `org-sort-entries'.
John Wiegley's avatar
John Wiegley committed
535 536 537

2007-10-22  Carsten Dominik  <dominik@science.uva.nl>

Juanma Barranquero's avatar
Juanma Barranquero committed
538
	* textmodes/org.el (org-get-date-from-calendar): New function.
John Wiegley's avatar
John Wiegley committed
539 540 541 542 543 544 545 546 547 548 549
	(org-at-timestamp-p, org-timestamp-change)
	(org-remember-templates): First element of each entry is now a
	name for the template.
	(org-store-log-note): Check for `org-note-abort'.
	(org-kill-note-or-show-branches): New command.
	(org-fontify-priorities): New option.
	(org-fontify-priorities): New function.
	(org-cut-subtree, org-copy-subtree): New argument N to
	act on N sequential subtrees.
	(org-paste-subtree): Fix the level at which a tree is pasted.
	(org-fit-agenda-window): Limitations on window size removed.
Juanma Barranquero's avatar
Juanma Barranquero committed
550 551
	(org-agenda-find-same-or-today-or-agenda): Rename from
	`org-agenda-find-today-or-agenda'.
John Wiegley's avatar
John Wiegley committed
552 553 554 555 556 557 558 559 560
	(org-scheduled-past-days): New option.
	(org-agenda-scheduled-leaders)
	(org-agenda-deadline-leaders): New options.
	(org-agenda-get-deadlines): Use `org-agenda-deadline-leaders'.
	(org-agenda-get-scheduled): Use `org-agenda-scheduled-leaders'.
	(org-export-with-tags, org-export-plist-vars)
	(org-infile-export-plist): New "tags" option.
	(org-use-property-inheritance): New option.
	(org-cached-entry-get): Use `org-use-property-inheritance'.
Juanma Barranquero's avatar
Juanma Barranquero committed
561
	(org-remember-apply-template): Fix typo.
John Wiegley's avatar
John Wiegley committed
562

563 564 565 566 567 568
2007-10-22  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-find-shell)
	(tramp-open-connection-setup-interactive-shell): Improve sending
	initial commands.
	(tramp-action-terminal): Send debug message.
Juanma Barranquero's avatar
Juanma Barranquero committed
569
	(tramp-wait-for-shell-prompt, tramp-send-command-internal): Remove.
570 571 572
	(tramp-barf-if-no-shell-prompt): Insert code of
	`tramp-wait-for-shell-prompt'.

573 574
2007-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>

575 576
	* term/AT386.el (terminal-init-AT386): Use input-decode-map.

577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601
	* term/vt200.el (terminal-init-vt200):
	* term/vt201.el (terminal-init-vt201):
	* term/vt220.el (terminal-init-vt220):
	* term/vt240.el (terminal-init-vt240):
	* term/vt300.el (terminal-init-vt300):
	* term/vt320.el (terminal-init-vt320):
	* term/vt400.el (terminal-init-vt400):
	* term/vt420.el (terminal-init-vt420): Use input-decode-map.

	* term/wyse50.el (wyse50-terminal-map): New var.
	(terminal-init-wyse50): Use it and input-decode-map.
	(enable-arrow-keys): Emasculate.

	* term/tvi970.el (tvi970-terminal-map): New var.
	(terminal-init-tvi970): Use it and input-decode-map.
	(tvi970-keypad-numeric): Remove.
	(tvi970-set-keypad-mode): Use a terminal-parameter rather than var.

	* term/sun.el (sun-raw-prefix): Fill as part of declaration.
	(terminal-init-sun): Use it and input-decode-map.

	* term/news.el (terminal-init-news):
	* term/lk201.el (terminal-init-lk201):
	* term/iris-ansi.el (terminal-init-iris-ansi): Use input-decode-map.

Juanma Barranquero's avatar
Juanma Barranquero committed
602
2007-10-22  Sean O'Rourke  <sorourke@cs.ucsd.edu>
603 604 605 606 607 608 609 610

	* complete.el (PC-expand-many-files): Remove.
	(PC-do-completion): Call file-expand-wildcards instead of
	PC-expand-many-files.

	* net/tramp.el (tramp-handle-expand-many-files): Remove.
	(PC-expand-many-files): Remove advice.

611 612 613
2007-10-22  Glenn Morris  <rgm@gnu.org>

	* progmodes/f90.el: Remove leading "*" from defcustom doc-strings.
614 615 616 617 618 619 620 621 622 623 624
	Add some support for Fortran 2003 syntax:
	(f90-type-indent): Now also applies to `enum'.
	(f90-associate-indent): New user option.
	(f90-keywords-re, f90-keywords-level-3-re, f90-procedures-re):
	Add some F2003 keywords.
	(f90-constants-re): New constant.
	(f90-font-lock-keywords-1): Add `associate' blocks, and `abstract
	Interface'.
	(f90-font-lock-keywords-2): Add `enumerator', `generic', `procedure',
	`class'.  Arguments for `type'/`class' may have spaces.  Add a new
	element for functions with specified types.  Add `end enum' and
625 626
	`select type'.  Add `implicit enumerator' and `procedure'.
	Add `class default' and `type is', `class is'.  Fix `go to' regexp.
627 628 629 630 631 632 633 634 635 636 637 638 639
	(f90-font-lock-keywords-3): Add `asynchronous' attribute.
	(f90-font-lock-keywords-4): Add `f90-constants-re'.
	(f90-blocks-re): Add `enum' and `associate'.
	(f90-else-like-re): Add `class is', `type is', and `class default'.
	(f90-end-type-re): Add `enum'.
	(f90-end-associate-re, f90-typeis-re): New constants.
	(f90-end-block-re): Add `enum' and `associate'.  Change from
	optional whitespace to end-of-word, to avoid `enumerator'.
	(f90-start-block-re): Add `select type', `abstract interface', and
	`enum'.  Avoid `type is', and `type (sometype)'.
	(f90-mode-abbrev-table): Add `enumerator', `protected', and `volatile'.
	(f90-mode): Doc fix.
	(f90-looking-at-select-case): Doc fix.  Add `select type'.
Juanma Barranquero's avatar
Juanma Barranquero committed
640
	(f90-looking-at-associate): New function.
641 642 643 644 645
	(f90-looking-at-type-like): Avoid `type is' and `type (sometype)'.
	Add `enum' and `abstract interface'.
	(f90-no-block-limit): Add `select type' and `abstract interface'.
	(f90-get-correct-indent, f90-calculate-indent)
	(f90-end-of-block, f90-beginning-of-block, f90-next-block)
Juanma Barranquero's avatar
Juanma Barranquero committed
646
	(f90-indent-region, f90-match-end): Handle `associate' blocks.
647

648 649 650 651 652
2007-10-22  Martin Rudalics  <rudalics@gmx.at>

	* progmodes/fortran.el (fortran-mode-map, fortran-window-create):
	Use window-full-width-p.

653 654 655 656 657 658
2007-10-22  Dan Nicolaescu  <dann@ics.uci.edu>

	* mail/vms-pmail.el (insert-signature): Don't use end-of-buffer.

	* tooltip.el: Use featurep 'xemacs.

Juanma Barranquero's avatar
Juanma Barranquero committed
659
	* printing.el: Move variable definitions before use, no code change.
660

661 662 663 664 665
2007-10-22  Juri Linkov  <juri@jurta.org>

	* simple.el (goto-history-element): Allow minibuffer-default to be
	a list of default values accessible by typing M-n in the minibuffer.

666 667 668 669
	* dired-x.el (dired-guess-shell-command): Put all guesses to the
	minibuffer default value list instead of pushing them temporarily
	to the history list.

Miles Bader's avatar
Miles Bader committed
670
2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
Kim F. Storm's avatar
Kim F. Storm committed
671

Miles Bader's avatar
Miles Bader committed
672
	* hexl.el (hexl-menu): New major mode menu.
Kim F. Storm's avatar
Kim F. Storm committed
673

674 675 676 677
2007-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/byte-opt.el (byte-optimize-featurep): Fix paren typo.

678 679
2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>

680
	* w32-fns.el (w32-quote-process-args):
681 682 683
	* dos-w32.el (print-region-function, lpr-headers-switches)
	(ps-print-region-function): Pacify byte-compiler.

684
	* emulation/edt-mapper.el (function-key-map):
685 686
	(edt-map-key): Make it a function instead of using fset.
	Inline edt-gnu-map-key and edt-lucid-map-key.  Use featurep 'xemacs.
687 688
	(edt-gnu-map-key, edt-lucid-map-key): Remove.
	(edt-x-emacs-p): Remove.
689
	(edt-emacs-variant, edt-window-system, edt-xserver):
690 691 692 693 694 695 696 697 698 699 700 701
	Use featurep 'xemacs.

	* net/eudc.el: Use (featurep 'xemacs) instead of the string test.
	Replace eudc-xemacs-p with its definition.
	(eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p)
	(eudc-emacs-mule-p): Remove.
	(eudc-install-menu, eudc-mode): Replace eudc-emacs-p and
	eudc-xemacs-p with feature tests.

	* net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap)
	(eudc-bob-url-keymap, eudc-bob-sound-keymap)
	(eudc-bob-generic-keymap, eudc-bob-popup-menu)
702 703 704
	(eudc-bob-toggle-inline-display):
	* net/eudc-hotlist.el (eudc-hotlist-emacs-menu):
	Replace eudc-emacs-p and eudc-xemacs-p with feature tests.
705

706 707
	* net/eudcb-ph.el (eudc-ph-open-session):
	Replace eudc-xemacs-mule-p with its former definition.
708 709

	* progmodes/octave-mod.el (octave-xemacs-p): Remove.
710
	(octave-abbrev-start): Replace octave-xemacs-p with (featurep 'xemacs).
711

712 713
	* progmodes/vera-mode.el (vera-xemacs): Remove.
	(vera-mode-syntax-table): Replace vera-xemacs with (featurep 'xemacs).
714 715 716 717 718 719 720 721 722

	* progmodes/vhdl-mode.el (vhdl-xemacs): Remove.
	(vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init)
	(vhdl-speedbar-initialize, vhdl-ps-print-init)
	(vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages)
	(vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs
	with (featurep 'xemacs).

	* progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx)
723 724
	(save-buffer-state-x):
	* obsolete/fast-lock.el (fast-lock-verbose):
725
	* emulation/viper-init.el (viper-xemacs-p)
726 727 728 729
	(viper-cond-compile-for-xemacs-or-emacs):
	* emacs-lisp/checkdoc.el (checkdoc-minor-mode-map):
	* ps-print.el (case-fold-search):
	* ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs):
730 731
	* calculator.el (calculator-help): Use featurep 'xemacs.

732
	* progmodes/prolog.el: Undo previous change.
733
	(comint-prompt-regexp, comint-process-echoes): Pacify byte-compiler.
734 735 736 737 738 739

	* progmodes/dcl-mode.el:
	* play/yow.el:
	* calendar/todo-mode.el:
	* calendar/cal-hebrew.el:
	* vc-hg.el: Undo previous change.
740

741 742 743
	* vms-patch.el: Likewise.
	(print-region-function): Pacify byte-compiler.

744 745 746 747 748 749 750 751
2007-10-21  Michael Albinus  <michael.albinus@gmx.de>

	* files.el (backup-buffer-copy): Call `copy-file' with non-nil
	preserve-uid-gid.

	* net/ange-ftp.el (ange-ftp-copy-file): Add PRESERVE-UID-GID for
	compatibility.  It is not used, though.

752 753 754 755 756 757 758 759
	* net/tramp.el (top): Put load of all tramp-* files into a dolist.
	Require tramp-cmds.el.
	(tramp-make-tramp-temp-file): We can get rid of DONT-CREATE.
	(tramp-handle-file-name-all-completions): Expand DIRECTORY.
	 (tramp-do-copy-or-rename-file-directly): Make more rigid checks.
	(tramp-do-copy-or-rename-file-out-of-band)
	(tramp-maybe-open-connection): Use `make-temp-name'.  This is
	possible, because we don't need to create the temporary file, but
760
	we need a prefix for ssh, which has its own temporary file handling.
761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776
	(tramp-handle-delete-directory): Add "-f" to rmdir.
	(tramp-handle-dired-recursive-delete-directory): Call "rm -rf".
	(tramp-handle-insert-file-contents): Don't raise a tramp-error but
	a signal, in order to give the callee a chance to suppress.
	(tramp-handle-write-region): Set owner also in case of short
	track.  Don't use compatibility calls for `write-region' anymore.
	(tramp-clear-passwd): Add parameter VEC.  Adapt all callees.
	(tramp-append-tramp-buffers): Apply `tramp-list-tramp-buffers'.

	* net/tramp-cmds.el: New file.

	* net/tramp-gw.el (tramp-gw-basic-authentication): Apply VEC to
	`tramp-clear-passwd'.

	* net/trampver.el: Update release number.

777 778 779 780 781 782
2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>

	* progmodes/gud.el (gud-target-name): Move definition before use.

	* progmodes/dcl-mode.el: Require imenu at compile time.

783 784
	* progmodes/cc-engine.el (c-maybe-stale-found-type):
	Pacify byte-compiler.
785

786
	* obsolete/fast-lock.el: Use featurep test instead of string-match.
787

788 789
	* eshell/esh-mode.el (eshell-handle-ansi-color):
	Require ansi-color at compile time too.
790

Juanma Barranquero's avatar
Juanma Barranquero committed
791
	* eshell/em-unix.el (eshell/info): Require info at compile time too.
792 793 794 795 796 797

	* w32-fns.el: Require w32-vars.

	* diff-mode.el (diff-refine-hunk): Require smerge-mode at compile
	time too.

Stefan Monnier's avatar
Stefan Monnier committed
798 799
2007-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>

800
	* double.el ([ignore]): Use `ignore'.
Stefan Monnier's avatar
Stefan Monnier committed
801 802 803
	(double-setup): Inline into double-mode.
	(double-mode): Use define-minor-mode.

804 805 806 807 808 809 810 811 812
2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>

	* textmodes/reftex.el: Move require easymenu before first use.
	(reftex-info): Require info at compile too.

	* textmodes/org-publish.el (org-publish-org-to-html)
	(org-publish-org-to): Require org at compile time too.
	(org-publish-attachment): Require at compile time too.

Stefan Monnier's avatar
Stefan Monnier committed
813 814
	* term/tty-colors.el (w32-tty-standard-colors):
	Pacify byte-compiler.
815 816 817 818 819 820

	* term/pc-win.el (frame-creation-function-alist): Add to this
	instead of setting frame-creation-function.

	* play/blackbox.el (bb-up, bb-down): Use forward-line.

Stefan Monnier's avatar
Stefan Monnier committed
821
	* net/rcirc.el (rcirc-markup-text-functions): Move definition earlier.
822 823 824

	* calendar/todo-mode.el: Require calendar at compile time.

Dan Nicolaescu's avatar
Dan Nicolaescu committed
825
	* calendar/cal-hebrew.el: Require holidays at compile time.
826 827 828 829 830 831

	* w32-vars.el: Provide w32-vars.

	* term/w32-win.el: Require w32-vars.
	(w32-color-map): Pacify byte-compiler.

Juanma Barranquero's avatar
Juanma Barranquero committed
832
	* loadup.el: Load w32-vars before term/w32-win.
833

834 835 836 837 838 839
2007-10-20  Juri Linkov  <juri@jurta.org>

	* textmodes/fill.el (fill-paragraph): When the region is active,
	don't try other `or' branches regardless of the value returned by
	fill-region; just return t.

840 841 842 843
2007-10-20  Eric S. Raymond  <esr@snark.thyrsus.com>

	* vc.el (vc-do-command): Condition out a misleading message when
	running asynchronously.
844
	(vc-deduce-fileset): New argument enables using an unregistered
Eric S. Raymond's avatar
Eric S. Raymond committed
845
	visited file as a singleton fileset if nothing else is available.
846
	(vc-next-action): Restore file-registering behavior.
847

Jay Belanger's avatar
Jay Belanger committed
848 849 850 851
2007-10-20  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/README: Add recent news.

852 853 854 855 856 857
2007-10-20  Dan Nicolaescu  <dann@ics.uci.edu>

	* term/x-win.el (x-gtk-stock-map, icon-map-list)
	(x-gtk-map-stock): Delete duplicated definitions from merge.

	* progmodes/compile.el (compilation-skip-to-next-location)
Juanma Barranquero's avatar
Juanma Barranquero committed
858 859
	(compilation-skip-threshold, compilation-skip-visited):
	Move definitions earlier.
860

861
	* play/decipher.el (decipher-keypress):
862 863 864 865 866 867 868 869 870 871
	* play/zone.el (zone-fall-through-ws):
	* play/landmark.el (lm-move-down, lm-move-up):
	* play/handwrite.el (handwrite):
	* mail/mspools.el (mspools-visit-spool):
	* wdired.el (wdired-next-line, wdired-previous-line):
	* tar-mode.el (tar-subfile-save-buffer):
	* scroll-lock.el (scroll-lock-next-line)
	(scroll-lock-previous-line):
	* image-dired.el (image-dired-next-line)
	(image-dired-previous-line):
Juanma Barranquero's avatar
Juanma Barranquero committed
872 873
	* ediff-help.el (ediff-help-message-line-length):
	Use forward-line.
874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889

	* smerge-mode.el (smerge-auto-refine):
	* diff-mode.el (diff-auto-refine): Add :group.

	* play/yow.el: Require doctor at compile time.

	* vmsproc.el: Provide vmsproc.
	(command-send-input): Use forward-line.

	* vms-patch.el: Require ps-print and vmsproc at compile time.

	* vc-mtn.el (log-view-message-re, log-view-file-re)
	(log-view-font-lock-keywords): Pacify byte-compiler.

	* vc-hg.el: Require log-view at compile time.

890 891 892 893
2007-10-20  Eric S. Raymond  <esr@snark.thyrsus.com>

	* log-view.el (log-view-diff): Adapt log-view-diff for new VC API.

894 895 896 897 898
2007-10-20  Glenn Morris  <rgm@gnu.org>

	* progmodes/f90.el (f90-font-lock-keywords-2)
	(f90-looking-at-type-like): Fix regexp typos.

899 900
2007-10-19  Juanma Barranquero  <lekktu@gmail.com>

901
	* bs.el (bs--track-window-changes): Don't refresh the whole list.
902
	(bs-mode): Set mode-class property to special.
903

Stefan Monnier's avatar
Stefan Monnier committed
904 905 906 907 908 909 910 911 912
2007-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* diff-mode.el (diff-auto-refine): New var.
	(diff-hunk): Use it.
	(diff-ignore-whitespace-hunk): Rename diff-refine-ignore-spaces-hunk.
	(diff-refine-change): Rename from diff-fine-change.  Change it.
	(diff-refine-preproc): Rename from diff-fine-highlight-preproc.
	(diff-refine-hunk): Rename from diff-fine-highlight.

913 914 915 916 917 918
2007-10-20  John Paul Wallington  <jpw@pobox.com>

	* help-fns.el (describe-variable-custom-version-info): New function
	to return variable's version or package version note.
	(describe-variable): Use it, display result.

919 920
2007-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>

921 922 923 924
	* smerge-mode.el (smerge-auto-refine): New var.
	(smerge-next, smerge-prev): Use it.
	(smerge-batch-resolve): Ad-hoc trick for Arch's .rej files.

925 926 927
	* emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
	Add `body' arg.  Cleanup the check-narrow-maybe/re-narrow-maybe mess.

928 929 930 931 932 933 934
	* vc-bzr.el (vc-bzr-diff-tree):
	* vc-git.el (vc-git-diff-tree):
	* vc-hg.el (vc-hg-diff-tree):
	* vc-mcvs.el (vc-mcvs-diff-tree):
	* vc-mtn.el (vc-mtn-diff-tree):
	* vc-svn.el (vc-svn-diff-tree): Remove.

935 936 937
	* vc-mtn.el (vc-mtn-revision-completion-table):
	* vc-cvs.el (vc-cvs-revision-completion-table):
	* vc-arch.el (vc-arch-revision-completion-table):
938
	* vc-hg.el (vc-hg-revision-completion-table, vc-hg-revision-table):
939
	* vc-git.el (vc-git-revision-completion-table, vc-git-revision-table):
940
	Make it work when the arg is a list of files.
941

942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958
2007-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc.el: Remove `diff-tree' operation, now subsumed by `diff'.
	Also `revision-completion-table' now takes a list of files.
	(vc-deduce-fileset): Remove unused var `regexp'.
	Only obey allow-directory-wildcard in dired buffers.
	(vc-default-diff-tree): Remove.
	(vc-diff-added-files): New var.
	(vc-diff-internal): Use it.  Remove arg `backend'.  Update callers.
	(vc-version-diff): Revert from `vc-history-diff' to the original name.
	Remove the `backend' arg.
	(vc-contains-version-controlled-file): Remove.
	(vc-diff): Bring it closer to the version in Emacs-22.
	(vc-revert): Fix typo in let-binding.
	(vc-default-unregister): Remove.
	(vc-dired-buffers-for-dir): Remove N^2 behavior.

959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977
2007-10-19  Dan Nicolaescu  <dann@ics.uci.edu>

	* textmodes/two-column.el (2C-split, 2C-merge):
	* textmodes/bib-mode.el (bib-find-key, mark-bib):
	* progmodes/idlw-shell.el (idlwave-shell-move-or-history):
	* progmodes/etags.el (find-tag-in-order, etags-tags-apropos)
	* progmodes/ada-xref.el (ada-get-all-references):
	* obsolete/mlsupport.el (ml-next-line, ml-previous-line):
	* emulation/vi.el (vi-previous-line-first-nonwhite)
	(vi-effective-range, vi-put-before):
	* emulation/edt.el (edt-next-line, edt-previous-line)
	(edt-paragraph-forward): Use forward-line.

	* progmodes/etags.el (tags-apropos): Require apropos at compile
	time too.

	* progmodes/prolog.el: Require comint when compiling.
	(inferior-prolog-flavor): Move defvar before use.

978 979 980
2007-10-19  Richard Stallman  <rms@gnu.org>

	* font-core.el (turn-on-font-lock-if-desired):
981
	Rename from `turn-on-font-lock-if-enabled'.
982 983
	Fully obey `font-lock-global-modes'.

984 985
2007-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>

986 987 988 989
	* diff-mode.el (diff-fine-highlight-preproc): Stick to minimal changes
	which will not affect the behavior of things like forward-word.
	(diff-fine-highlight): Preserve point.

990 991 992 993
	* doc-view.el (doc-view-mode-map): Use remapping.
	Don't rebind C-v, M-v to their default value.
	Don't bind mouse-4 and mouse-5: it's mwheel.el's job.

994 995 996 997 998 999 1000
	* smerge-mode.el: Add word-granularity refinement.
	(smerge-refine-forward-function, smerge-refine-ignore-whitespace)
	(smerge-refine-weight-hack): New vars.
	(smerge-refine-forward): New fun.
	(smerge-refine-chopup-region, smerge-refine-highlight-change): Use them.
	(smerge-refine-subst): Use them as well.  Preserve point.

1001 1002
2007-10-19  Juanma Barranquero  <lekktu@gmail.com>

1003 1004
	* follow.el (follow-unload-function): New function.

1005 1006 1007 1008 1009 1010
	* loadhist.el (unload-function-features-list):
	Rename from `unload-hook-features-list'.
	(unload-hook-features-list): Add as obsolete alias.
	(unload-feature): Use `unload-function-features-list'
	and new FEATURE-unload-function.

1011 1012 1013 1014 1015
2007-10-19  Glenn Morris  <rgm@gnu.org>

	* bindings.el (mouse-minor-mode-menu)
	(minor-mode-menu-from-indicator): Move to mouse.el.
	* mouse.el (mouse-minor-mode-menu, minor-mode-menu-from-indicator):
1016
	Move here from bindings.el.
1017

Richard M. Stallman's avatar
Richard M. Stallman committed
1018 1019 1020 1021 1022
2007-10-19  Richard Stallman  <rms@gnu.org>

	* help-fns.el (describe-function-1): Don't use the advice origname
	if it has no function definition.

1023 1024 1025 1026 1027
2007-10-18  Johan Bockg,Ae(Brd  <bojohan@gnu.org>

	* net/tramp.el (tramp-rfn-eshadow-update-overlay): Save excursion.
	Use `save-restriction' rather than `widen'.

1028 1029 1030 1031
2007-10-18  Richard Stallman  <rms@gnu.org>

	* time.el (display-time-world-time-format): Display day # not month #.

Reiner Steib's avatar
Reiner Steib committed
1032 1033
2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>

1034 1035
	* files.el (auto-mode-alist): Don't use doc-view for PS and EPS.

Reiner Steib's avatar
Reiner Steib committed
1036 1037 1038 1039 1040 1041 1042
	* doc-view.el: Remove version keyword.
	(doc-view-ghostscript-program, doc-view-dvipdfm-program)
	(doc-view-ps2pdf-program): Use executable-find.  Simplify custom type.
	(doc-view-ghostscript-options): Improve custom type.
	(doc-view-cache-directory, doc-view-conversion-buffer)
	(doc-view-conversion-refresh-interval): Simplify custom type.

1043 1044 1045 1046 1047
2007-10-18  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
	(doc-view-pdf/ps->png-sentinel, doc-view-pdf/ps->png)
	(doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
1048 1049 1050 1051
	(doc-view-ps->pdf-sentinel, doc-view-ps->pdf):
	Remove superfluous messages.
	(doc-view-mode-map): Use the image-mode scrolling commands.
	Don't rebind C-x k.
1052

1053 1054 1055 1056 1057
2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>

	* doc-view.el (doc-view-ghostscript-options, doc-view-ps->pdf):
	Add comment about "-dSAFER".

1058 1059
2007-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
1060 1061 1062 1063
	* term/xterm.el: Don't require xt-mouse.
	(terminal-init-xterm): Run terminal-init-xterm-hook rather than
	calling turn-on-xterm-mouse-tracking-on-terminal directly.

1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075
	* xt-mouse.el: Don't change the global function-key-map anny more.
	(xterm-mouse-mode): Use terminal-init-xterm-hook.
	Don't use after-make-frame-functions now that term/xterm.el calls
	us directly.
	(turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
	Use turn-*-xterm-mouse-tracking-on-terminal.  Only once per terminal.
	(turn-on-xterm-mouse-tracking-on-terminal): Make param optional.
	Setup input-decode-map and remember that xterm-mouse-mode was
	enabled in this terminal.
	(turn-off-xterm-mouse-tracking-on-terminal): Only disable on those
	terminals where it has been enabled.

1076 1077 1078 1079 1080 1081
	* faces.el (tty-create-frame-with-faces): Make sure not only
	tty-run-terminal-initialization but also set-locale-environment
	are run only once per terminal.
	(tty-run-terminal-initialization): Don't check if the terminal was
	already initted.

1082 1083 1084 1085 1086
	* international/encoded-kb.el (encoded-kbd-setup-display): Be careful
	not to remove keymaps that just happen to inherit from one of ours.
	When setting up our keymap, make sure it won't be accidentally
	modified by someone else.

1087 1088 1089
2007-10-18  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* textmodes/artist.el (artist-previous-line, artist-next-line):
1090
	* dired.el (dired-next-line, dired-previous-line):
1091 1092
	* progmodes/delphi.el (delphi-newline):
	* textmodes/org.el (org-columns-eval):
1093 1094
	Use forward-line.

1095 1096 1097
	* emerge.el (emerge-setup): Use insert-buffer-substring.
	(emerge-prepare-error-list, emerge-setup-with-ancestor): Likewise.

1098 1099 1100 1101 1102 1103
2007-10-18  Juanma Barranquero  <lekktu@gmail.com>

	* textmodes/fill.el (fill-individual-paragraphs): Doc fix.
	(adaptive-fill-function): Doc fix.  Remove * from docstring.

2007-10-18  Tom Horsley  <tom.horsley@att.net>
1104 1105 1106 1107 1108

	* simple.el (interprogram-paste-function): Doc fix.
	(current-kill): Accept list of strings as well
	as single string from `interprogram-paste-function'.

Glenn Morris's avatar
Glenn Morris committed
1109 1110 1111 1112
2007-10-18  Glenn Morris  <rgm@gnu.org>

	* ibuf-ext.el (ibuffer-saved-filter-groups): Doc fix.

1113 1114 1115 1116 1117 1118 1119 1120 1121
2007-10-18  Drew Adams  <drew.adams@oracle.com>

	* bindings.el (mode-line-minor-mode-keymap):
	Add mouse-minor-mode-menu on mouse-1.
	(mode-line-modes): Add mouse-1 to help-echo text.
	(mouse-minor-mode-menu, minor-mode-menu-from-indicator):
	New functions.
	(mode-line-minor-mode-help): Doc fix.

1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145
2007-10-17  Juri Linkov  <juri@jurta.org>

	* textmodes/fill.el (fill-paragraph-or-region): Remove function
	at the request of RMS.
	(fill-paragraph): Change `arg' to optional `justify'.  Add interactive
	arg `region'.  Fix docstring.  At the first `or' branch add call to
	`fill-region' if it the region is active in transient-mark-mode.

	* bindings.el (esc-map): Bind M-q to fill-paragraph
	instead of fill-paragraph-or-region.

	* tutorial.el (tutorial--default-keys): Replace fill-paragraph-or-region
	with fill-paragraph.

	* textmodes/ispell.el (ispell-word): Add interactive arg `region'.
	Fix docstring.

	* indent.el (indent-for-tab-command): Change interactive spec from
	"P" to "p".  Add check for interactive arg before indenting the
	active region.

	* files.el (auto-mode-alist): Add \\. before PDF/PS/DVI extensions.
	Regroup.

1146 1147
2007-10-17  Juanma Barranquero  <lekktu@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1148 1149
	* emacs-lisp/find-func.el: Don't require loadhist.

1150 1151 1152 1153
	* loadhist.el (feature-symbols, file-provides, file-requires)
	(file-set-intersect, file-dependents): Simplify.
	(unload-feature-special-hooks): Update list of special hooks.

1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166
2007-10-17  Tassilo Horn  <tassilo@member.fsf.org>

	* bindings.el (completion-ignored-extensions): Remove pdf and dvi
	extensions since they can be viewed with doc-view.

	* files.el (auto-mode-alist): Make doc-view-mode the default mode
	for pdf, ps and dvi files.

	* doc-view.el: Make doc-view-mode the standard mode for viewing
	pdf, [e]ps and dvi files and add binding C-c C-c to toggle between
	text and image display.  Add binding C-c C-e to switch to an
	editing mode.
	(doc-view-ghostscript-options, doc-view-ps->pdf): Add "-dSAFER" to
1167
	avoid security problems when rendering files from untrusted sources.
1168

1169 1170 1171 1172 1173
2007-10-17  Aaron Hawley  <aaronh@garden.org>

	* tutorial.el (tutorial--save-tutorial): Display message when tutorial
	position is not saved.

1174 1175 1176 1177 1178
2007-10-17  Reiner Steib  <Reiner.Steib@gmx.de>

	* doc-view.el: Mention xpdf.  Fix spelling of Ghostscript.
	(doc-view-ghostscript-options): Fix typo in doc string.

1179 1180
2007-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>

1181 1182 1183
	* progmodes/compile.el (compilation-next-error-function): Fix timestamp
	handling, so compilation-fake-loc works again.

1184 1185 1186
	* server.el (server-select-display): Nop if we do not support m-f-o-d.
	(server-process-filter): Revert last change.

1187 1188 1189
	* vc.el (vc-diff-sentinel, vc-diff-internal): Revert some change in the
	behavior unrelated to filesets.

1190 1191 1192 1193
2007-10-17  Chong Yidong  <cyd@stupidchicken.com>

	* longlines.el (longlines-wrap-follows-window-size): Integer value
	specifies wrapping margin.
1194 1195
	(longlines-mode, longlines-window-change-function):
	Set window-specific wrapping margin based on the above.
1196

1197 1198 1199 1200
2007-10-17  John Wiegley  <johnw@newartisans.com>

	* eshell/esh-cmd.el (eshell-complex-commands): Add "ls".

1201 1202 1203 1204 1205
2007-10-17  Dan Nicolaescu  <dann@ics.uci.edu>

	* server.el (server-process-filter): Only set display if X11 is
	supported.

1206 1207
2007-10-17  Glenn Morris  <rgm@gnu.org>

1208 1209
	* progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
	Tweak regexp to avoid stack overflow.
1210

1211 1212 1213 1214 1215
2007-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (reindent-then-newline-and-indent): Don't assume that
	indent-according-to-mode preserves point.

1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243
2007-10-16  Juanma Barranquero  <lekktu@gmail.com>

	* bs.el (bs--make-header-match-string, bs-show-in-buffer)
	(bs--nth-wrapper): Simplify.
	(bs-select, bs--insert-one-entry): Simplify.  Use `when'.
	(bs-buffer-list): Simplify.  Use `when'.  Use `string-match-p'.
	(bs-sort-buffer-interns-are-last): Use `string-match-p'.
	(bs-attributes-list, bs-max-window-height, bs-must-always-show-regexp)
	(bs-maximal-buffer-name-column, bs-minimal-buffer-name-column)
	(bs-configurations, bs-default-configuration)
	(bs-alternative-configuration, bs-cycle-configuration-name)
	(bs-string-show-always, bs-string-show-never, bs-string-current)
	(bs-string-current-marked, bs-string-marked, bs-string-show-normally)
	(bs-sort-functions, bs-default-sort-name): Remove * in docstrings.
	(bs--redisplay, bs--goto-current-buffer, bs--current-buffer, bs-delete)
	(bs-apply-sort-faces, bs-next-config-aux): Use `when'.
	(bs--window-config-coming-from): Revert 2006-11-09 change.
	(bs--restore-window-config): Keep the selected frame.
	(bs--track-window-changes, bs--remove-hooks): New functions.
	(bs-mode): Use `define-derived-mode'.  Set hook to track window changes.
	(bs--create-header): Remove.
	(bs--create-header-line): New function, based on `bs--create-header'.
	(bs--show-header): Use `bs--create-header-line'.
	(bs--show-with-configuration): Revert 2006-11-09 change.
	Don't reuse window unless it is visible on the selected frame.
	Restore window configuration (possibly in a different frame)
	before creating any window.

Glenn Morris's avatar
Glenn Morris committed
1244 1245 1246 1247 1248
2007-10-16  Glenn Morris  <rgm@gnu.org>

	* simple.el (blink-matching-open): Don't report false errors with
	the `$' syntax class.

1249 1250 1251 1252 1253 1254 1255
2007-10-16  Richard Stallman  <rms@gnu.org>

	* emacs-lisp/advice.el (ad-get-advice-info): Change to a function.
	(ad-get-advice-info-macro): New macro, like old ad-get-advice-info.
	(ad-is-advised, ad-get-advice-info-field)
	(ad-set-advice-info-field): Use ad-get-advice-info-macro.

1256 1257 1258 1259 1260
2007-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc-hooks.el (vc-workfile-version): Compatibility alias.
	(vc-default-working-revision): Compatibility for backends.

1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271
2007-10-15  Juanma Barranquero  <lekktu@gmail.com>

	* filesets.el (filesets-alist-get): Use `let' rather than `let*'.
	(filesets-ormap, filesets-sort-case-sensitive-flag)
	(filesets-remake-shortcut, filesets-ingroup-collect-files):
	Fix typos in docstrings.
	(filesets-conditional-sort, filesets-find-or-display-file)
	(filesets-data-get-name, filesets-data-get-data)
	(filesets-data-set, filesets-cmd-query-replace-getargs)
	(filesets-ingroup-collect): Doc fixes.

1272 1273 1274 1275 1276 1277 1278 1279
2007-10-15  Sam Steingold  <sds@gnu.org>

	* mail/sendmail.el (sendmail-error-reporting-interactive)
	(sendmail-error-reporting-non-interactive): New variables for
	sendmail error reporting options to simplify support for imperfect
	sendmail emulators.
	(sendmail-send-it): Use them instead of list literals.

1280 1281 1282 1283 1284
2007-10-15  Juanma Barranquero  <lekktu@gmail.com>

	* help-fns.el: Revert previous change; it creates a
	dependency loop between advice.el and help-fns.el.

1285 1286 1287 1288
2007-10-15  Juanma Barranquero  <lekktu@gmail.com>

	* help-fns.el: Require advice when compiling.

1289 1290 1291 1292 1293 1294
2007-10-14  Drew Adams  <drew.adams@oracle.com>

	* emacs-lisp/ring.el (ring-convert-sequence-to-ring)
	(ring-insert+extend, ring-remove+insert+extend, ring-member)
	(ring-next, ring-previous): New functions.

1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307
2007-10-14  Richard Stallman  <rms@gnu.org>

	* emacs-lisp/advice.el (documentation): Advice deleted.
	Doc for advised functions is now handled at C level.
	(ad-stop-advice, ad-start-advice): Don't enable or disable
	advice for `documentation'.
	(ad-advised-definition-docstring-regexp): Var deleted.
	(ad-make-advised-definition-docstring): Store orig name
	as text property of string.
	(ad-advised-definition-p): Check for text property of docstring.

	* help-fns.el (describe-function-1): Find source of advised functions.

1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324
2007-10-14  Juri Linkov  <juri@jurta.org>

	* faces.el (describe-face): Allow handling a string as the face name.

	* textmodes/ispell.el (ispell-word): Call `ispell-region' on the
	active region in transient-mark-mode.
	(ispell-region): Change messages displayed at the start and end of
	the spell-checking to be the same.

	* startup.el (fancy-startup-tail): Say exactly what does the button
	dismiss ("Dismiss this startup screen").  Use text "Never show
	it again" for the checkbox after this button.
	(fancy-startup-screen, fancy-about-screen): Put point before the
	first link, so the user can quickly select links with the keyboard.
	(normal-mouse-startup-screen): Add more useful text describing how
	to follow a link.

1325 1326 1327 1328 1329
2007-10-14  Glenn Morris  <rgm@gnu.org>

	* progmodes/etags.el (select-tags-table): Disable undo in the
	`*Tags Table List*' buffer.

Eli Zaretskii's avatar
Eli Zaretskii committed
1330 1331 1332 1333 1334 1335 1336
2007-10-13  Eli Zaretskii  <eliz@gnu.org>

	* dired.el (dired-warn-writable): New face.
	(dired-warn-writable-face): New variable.
	(dired-font-lock-keywords): Use dired-warn-writable-face, instead
	of dired-warning-face, for group- and world-writable files.

Miles Bader's avatar
Miles Bader committed
1337 1338 1339 1340 1341