ChangeLog 313 KB
Newer Older
Stefan Monnier's avatar
Stefan Monnier committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
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".

24 25 26 27 28 29 30 31 32 33 34 35
2007-10-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* ps-print.el: Now detect if text foreground and background colors are
	equals and replace the foreground color by another color, so the text
	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
36 37 38 39 40 41 42
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
43 44 45 46 47 48 49
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.

50 51 52 53
2007-10-27  Dan Nicolaescu  <dann@ics.uci.edu>

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

54 55 56 57 58
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.

59 60 61 62 63 64 65 66 67 68 69 70 71
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
72 73
	(tramp-load-report-modules, tramp-append-tramp-buffers):
	Move to tramp-cmds.el.
74 75 76 77 78 79 80

	* 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.

81 82 83 84 85 86 87
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
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
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.
103
	(pr-menu-print-item, pr-ps-printer-menu-modified)
Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
104 105 106
	(pr-txt-printer-menu-modified, pr-ps-utility-menu-modified)
	(pr-even-or-odd-alist): Vars definition moved.

107 108
2007-10-26  Dan Nicolaescu  <dann@ics.uci.edu>

109 110 111 112
	* 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
113 114
	* diff.el (diff-old-file, diff-new-file, diff-extra-args):
	New defvars.
115 116 117

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

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

125 126 127 128 129
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.

130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
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
145 146 147 148
2007-10-26  Juanma Barranquero  <lekktu@gmail.com>

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

149 150 151
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
152
	function, ensure that the third argument is turned into a nil if
153 154 155 156 157
	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.

158 159 160 161 162
2007-10-26  Glenn Morris  <rgm@gnu.org>

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

163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
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.

178 179 180
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
181
	use with the definition.  Remove.
182 183 184

	* add-log.el (change-log-start-entry-re): New defconst.
	(change-log-sortable-date-at): Use it.
Juanma Barranquero's avatar
Juanma Barranquero committed
185 186
	(change-log-beginning-of-defun, change-log-end-of-defun):
	New functions.
187 188 189
	(change-log-mode): Use them for beginning-of-defun-function and
	end-of-defun-function.

190 191 192
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
193
	(ses-mode-print-map): Add `c' and `t' (suggested by Gareth Rees).
194 195 196 197 198 199
	(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
200 201
2007-10-25  Carsten Dominik  <dominik@science.uva.nl>

Juanma Barranquero's avatar
Juanma Barranquero committed
202 203
	* textmodes/org.el (org-agenda-get-restriction-and-command):
	Use `mapc' instead of `mapcar'.
Carsten Dominik's avatar
Carsten Dominik committed
204 205 206 207
	(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
208
	(org-todo): Save and restore match data.
Carsten Dominik's avatar
Carsten Dominik committed
209 210
	(org-no-warnings): New macro.
	(org-columns-eval): Use `org-no-warnings'.
Carsten Dominik's avatar
Carsten Dominik committed
211

212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245
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.

246 247 248 249
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
250
2007-10-24  Richard Stallman  <rms@gnu.org>
Kim F. Storm's avatar
Kim F. Storm committed
251

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

Miles Bader's avatar
Miles Bader committed
254 255 256
	* 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
257

Miles Bader's avatar
Miles Bader committed
258 259
	* 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
260

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

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

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

267 268 269 270 271
2007-10-24  Dan Nicolaescu  <dann@ics.uci.edu>

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

272 273 274 275
2007-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

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

276 277 278 279 280 281
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
282 283
2007-10-24  Carsten Dominik  <dominik@science.uva.nl>

284 285 286
	* 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.
287
	(org-scan-tags): Catch the case of indirect buffers with no filename.
Carsten Dominik's avatar
Carsten Dominik committed
288
	(org-fast-tag-selection, org-export-as-ascii, org-export-as-html):
289
	Re-install switch to mapc, had been removed by accident.
Carsten Dominik's avatar
Carsten Dominik committed
290
	(org-columns-map): New binding `C-c C-o'.
291 292
	(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
293
	(org-columns-open-link): New function.
294
	(org-columns-follow-link): Remove function.
Carsten Dominik's avatar
Carsten Dominik committed
295
	(org-open-link-from-string): New function.
296
	(org-read-date-get-relative): Fix typo in docstring.
Carsten Dominik's avatar
Carsten Dominik committed
297 298 299 300 301 302 303
	(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.

304 305 306 307
2007-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

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

308 309 310 311 312
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
313
2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
Kim F. Storm's avatar
Kim F. Storm committed
314

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

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

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

Miles Bader's avatar
Miles Bader committed
323 324
	* 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
325

326 327 328 329 330
2007-10-23  Michael Albinus  <michael.albinus@gmx.de>

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

331 332 333 334 335
2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

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

336 337 338 339 340
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.

341 342 343 344 345
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
346 347 348 349 350
2007-10-23  Juanma Barranquero  <lekktu@gmail.com>

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

351 352
2007-10-23  Dan Nicolaescu  <dann@ics.uci.edu>

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

355 356 357 358 359
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
360 361
2007-10-23  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
362 363 364 365 366 367 368 369
	* 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
370 371 372 373 374 375 376 377 378 379 380 381 382 383 384
	* 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.

385 386 387 388 389
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
390
2007-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
Kim F. Storm's avatar
Kim F. Storm committed
391

Miles Bader's avatar
Miles Bader committed
392 393 394 395
	* 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
396

Miles Bader's avatar
Miles Bader committed
397 398 399 400 401
	* 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
402 403
	Use with-current-buffer.

404 405 406 407 408 409 410 411 412 413 414 415 416 417
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
418 419
2007-10-22  Carsten Dominik  <dominik@science.uva.nl>

Juanma Barranquero's avatar
Juanma Barranquero committed
420
	* textmodes/org.el (org-read-date-get-relative): New function.
John Wiegley's avatar
John Wiegley committed
421 422 423 424
	(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
425
	(org-todo-blocker-hook, org-todo-trigger-hook): New hooks.
John Wiegley's avatar
John Wiegley committed
426 427 428 429 430 431 432
	(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
433
	(org-agenda-open-link): Make it work with several links in the line.
John Wiegley's avatar
John Wiegley committed
434
	(org-drawers, org-set-regexps-and-options)
Juanma Barranquero's avatar
Juanma Barranquero committed
435
	(org-get-current-options): Add support for a DRAWERS in-buffer option.
John Wiegley's avatar
John Wiegley committed
436 437 438 439 440 441 442 443 444 445 446
	(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
447
	(org-columns-display-here): Make the ITEM column as compact as possible.
John Wiegley's avatar
John Wiegley committed
448 449 450 451 452
	(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
453
	(org-set-property): More appropriate completion during interactive use.
John Wiegley's avatar
John Wiegley committed
454
	(org-sort-entries): Allow sorting by property.
Juanma Barranquero's avatar
Juanma Barranquero committed
455 456
	(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
457 458 459

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

Juanma Barranquero's avatar
Juanma Barranquero committed
460
	* textmodes/org.el (org-get-date-from-calendar): New function.
John Wiegley's avatar
John Wiegley committed
461 462 463 464 465 466 467 468 469 470 471
	(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
472 473
	(org-agenda-find-same-or-today-or-agenda): Rename from
	`org-agenda-find-today-or-agenda'.
John Wiegley's avatar
John Wiegley committed
474 475 476 477 478 479 480 481 482
	(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
483
	(org-remember-apply-template): Fix typo.
John Wiegley's avatar
John Wiegley committed
484

485 486 487 488 489 490
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
491
	(tramp-wait-for-shell-prompt, tramp-send-command-internal): Remove.
492 493 494
	(tramp-barf-if-no-shell-prompt): Insert code of
	`tramp-wait-for-shell-prompt'.

495 496
2007-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>

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

499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523
	* 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
524
2007-10-22  Sean O'Rourke  <sorourke@cs.ucsd.edu>
525 526 527 528 529 530 531 532

	* 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.

533 534 535
2007-10-22  Glenn Morris  <rgm@gnu.org>

	* progmodes/f90.el: Remove leading "*" from defcustom doc-strings.
536 537 538 539 540 541 542 543 544 545 546
	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
547 548
	`select type'.  Add `implicit enumerator' and `procedure'.
	Add `class default' and `type is', `class is'.  Fix `go to' regexp.
549 550 551 552 553 554 555 556 557 558 559 560 561
	(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
562
	(f90-looking-at-associate): New function.
563 564 565 566 567
	(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
568
	(f90-indent-region, f90-match-end): Handle `associate' blocks.
569

570 571 572 573 574
2007-10-22  Martin Rudalics  <rudalics@gmx.at>

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

575 576 577 578 579 580
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
581
	* printing.el: Move variable definitions before use, no code change.
582

583 584 585 586 587
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.

588 589 590 591
	* 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
592
2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
Kim F. Storm's avatar
Kim F. Storm committed
593

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

596 597 598 599
2007-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>

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

600 601
2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>

602
	* w32-fns.el (w32-quote-process-args):
603 604 605
	* dos-w32.el (print-region-function, lpr-headers-switches)
	(ps-print-region-function): Pacify byte-compiler.

606
	* emulation/edt-mapper.el (function-key-map):
607 608
	(edt-map-key): Make it a function instead of using fset.
	Inline edt-gnu-map-key and edt-lucid-map-key.  Use featurep 'xemacs.
609 610
	(edt-gnu-map-key, edt-lucid-map-key): Remove.
	(edt-x-emacs-p): Remove.
611
	(edt-emacs-variant, edt-window-system, edt-xserver):
612 613 614 615 616 617 618 619 620 621 622 623
	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)
624 625 626
	(eudc-bob-toggle-inline-display):
	* net/eudc-hotlist.el (eudc-hotlist-emacs-menu):
	Replace eudc-emacs-p and eudc-xemacs-p with feature tests.
627

628 629
	* net/eudcb-ph.el (eudc-ph-open-session):
	Replace eudc-xemacs-mule-p with its former definition.
630 631

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

634 635
	* progmodes/vera-mode.el (vera-xemacs): Remove.
	(vera-mode-syntax-table): Replace vera-xemacs with (featurep 'xemacs).
636 637 638 639 640 641 642 643 644

	* 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)
645 646
	(save-buffer-state-x):
	* obsolete/fast-lock.el (fast-lock-verbose):
647
	* emulation/viper-init.el (viper-xemacs-p)
648 649 650 651
	(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):
652 653
	* calculator.el (calculator-help): Use featurep 'xemacs.

654
	* progmodes/prolog.el: Undo previous change.
655
	(comint-prompt-regexp, comint-process-echoes): Pacify byte-compiler.
656 657 658 659 660 661

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

663 664 665
	* vms-patch.el: Likewise.
	(print-region-function): Pacify byte-compiler.

666 667 668 669 670 671 672 673
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.

674 675 676 677 678 679 680 681
	* 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
682
	we need a prefix for ssh, which has its own temporary file handling.
683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698
	(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.

699 700 701 702 703 704
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.

705 706
	* progmodes/cc-engine.el (c-maybe-stale-found-type):
	Pacify byte-compiler.
707

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

710 711
	* eshell/esh-mode.el (eshell-handle-ansi-color):
	Require ansi-color at compile time too.
712

Juanma Barranquero's avatar
Juanma Barranquero committed
713
	* eshell/em-unix.el (eshell/info): Require info at compile time too.
714 715 716 717 718 719

	* 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
720 721
2007-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>

722
	* double.el ([ignore]): Use `ignore'.
Stefan Monnier's avatar
Stefan Monnier committed
723 724 725
	(double-setup): Inline into double-mode.
	(double-mode): Use define-minor-mode.

726 727 728 729 730 731 732 733 734
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
735 736
	* term/tty-colors.el (w32-tty-standard-colors):
	Pacify byte-compiler.
737 738 739 740 741 742

	* 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
743
	* net/rcirc.el (rcirc-markup-text-functions): Move definition earlier.
744 745 746

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

Dan Nicolaescu's avatar
Dan Nicolaescu committed
747
	* calendar/cal-hebrew.el: Require holidays at compile time.
748 749 750 751 752 753

	* 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
754
	* loadup.el: Load w32-vars before term/w32-win.
755

756 757 758 759 760 761
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.

762 763 764 765
2007-10-20  Eric S. Raymond  <esr@snark.thyrsus.com>

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

Jay Belanger's avatar
Jay Belanger committed
770 771 772 773
2007-10-20  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/README: Add recent news.

774 775 776 777 778 779
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
780 781
	(compilation-skip-threshold, compilation-skip-visited):
	Move definitions earlier.
782

783
	* play/decipher.el (decipher-keypress):
784 785 786 787 788 789 790 791 792 793
	* 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
794 795
	* ediff-help.el (ediff-help-message-line-length):
	Use forward-line.
796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811

	* 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.

812 813 814 815
2007-10-20  Eric S. Raymond  <esr@snark.thyrsus.com>

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

816 817 818 819 820
2007-10-20  Glenn Morris  <rgm@gnu.org>

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

821 822
2007-10-19  Juanma Barranquero  <lekktu@gmail.com>

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

Stefan Monnier's avatar
Stefan Monnier committed
826 827 828 829 830 831 832 833 834
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.

835 836 837 838 839 840
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.

841 842
2007-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>

843 844 845 846
	* 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.

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

850 851 852 853 854 855 856
	* 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.

857 858 859
	* vc-mtn.el (vc-mtn-revision-completion-table):
	* vc-cvs.el (vc-cvs-revision-completion-table):
	* vc-arch.el (vc-arch-revision-completion-table):
860
	* vc-hg.el (vc-hg-revision-completion-table, vc-hg-revision-table):
861
	* vc-git.el (vc-git-revision-completion-table, vc-git-revision-table):
862
	Make it work when the arg is a list of files.
863

864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880
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.

881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899
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.

900 901 902
2007-10-19  Richard Stallman  <rms@gnu.org>

	* font-core.el (turn-on-font-lock-if-desired):
903
	Rename from `turn-on-font-lock-if-enabled'.
904 905
	Fully obey `font-lock-global-modes'.

906 907
2007-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>

908 909 910 911
	* 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.

912 913 914 915
	* 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.

916 917 918 919 920 921 922
	* 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.

923 924
2007-10-19  Juanma Barranquero  <lekktu@gmail.com>

925 926
	* follow.el (follow-unload-function): New function.

927 928 929 930 931 932
	* 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.

933 934 935 936 937
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):
938
	Move here from bindings.el.
939

Richard M. Stallman's avatar
Richard M. Stallman committed
940 941 942 943 944
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.

945 946 947 948 949
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'.

950 951 952 953
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
954 955
2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>

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

Reiner Steib's avatar
Reiner Steib committed
958 959 960 961 962 963 964
	* 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.

965 966 967 968 969
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)
970 971 972 973
	(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.
974

975 976 977 978 979
2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>

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

980 981
2007-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
982 983 984 985
	* 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.

986 987 988 989 990 991 992 993 994 995 996 997
	* 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.

998 999 1000 1001 1002 1003
	* 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.

1004 1005 1006 1007 1008
	* 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.

1009 1010 1011
2007-10-18  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* textmodes/artist.el (artist-previous-line, artist-next-line):
1012
	* dired.el (dired-next-line, dired-previous-line):
1013 1014
	* progmodes/delphi.el (delphi-newline):
	* textmodes/org.el (org-columns-eval):
1015 1016
	Use forward-line.

1017 1018 1019
	* emerge.el (emerge-setup): Use insert-buffer-substring.
	(emerge-prepare-error-list, emerge-setup-with-ancestor): Likewise.

1020 1021 1022 1023 1024 1025
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>
1026 1027 1028 1029 1030

	* 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
1031 1032 1033 1034
2007-10-18  Glenn Morris  <rgm@gnu.org>

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

1035 1036 1037 1038 1039 1040 1041 1042 1043
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.

1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067
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.

1068 1069
2007-10-17  Juanma Barranquero  <lekktu@gmail.com>

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

1072 1073 1074 1075
	* loadhist.el (feature-symbols, file-provides, file-requires)
	(file-set-intersect, file-dependents): Simplify.
	(unload-feature-special-hooks): Update list of special hooks.

1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088
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
1089
	avoid security problems when rendering files from untrusted sources.
1090

1091 1092 1093 1094 1095
2007-10-17  Aaron Hawley  <aaronh@garden.org>

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

1096 1097 1098 1099 1100
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.

1101 1102
2007-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>

1103 1104 1105
	* progmodes/compile.el (compilation-next-error-function): Fix timestamp
	handling, so compilation-fake-loc works again.

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

1109 1110 1111
	* vc.el (vc-diff-sentinel, vc-diff-internal): Revert some change in the
	behavior unrelated to filesets.

1112 1113 1114 1115
2007-10-17  Chong Yidong  <cyd@stupidchicken.com>

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

1119 1120 1121 1122
2007-10-17  John Wiegley  <johnw@newartisans.com>

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

1123 1124 1125 1126 1127
2007-10-17  Dan Nicolaescu  <dann@ics.uci.edu>

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

1128 1129
2007-10-17  Glenn Morris  <rgm@gnu.org>

1130 1131
	* progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
	Tweak regexp to avoid stack overflow.
1132

1133 1134 1135 1136 1137
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.

1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165
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
1166 1167 1168 1169 1170
2007-10-16  Glenn Morris  <rgm@gnu.org>

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

1171 1172 1173 1174 1175 1176 1177
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.

1178 1179 1180 1181 1182
2007-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193
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.

1194 1195 1196 1197 1198 1199 1200 1201
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.

1202 1203 1204 1205 1206
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.

1207 1208 1209 1210
2007-10-15  Juanma Barranquero  <lekktu@gmail.com>

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

1211 1212 1213 1214 1215 1216
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.

1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
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.

1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246
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.

1247 1248 1249 1250 1251
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
1252 1253 1254 1255 1256 1257 1258
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
1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285
2007-10-13  Richard Stallman  <rms@gnu.org>

	* files.el (directory-abbrev-alist): Doc fix.

2007-10-13  Jari Aalto  <jari.aalto@cante.net>

	* comint.el (comint-password-prompt-regexp): Add 'LDAP'.

2007-10-12  Martin Rudalics  <rudalics@gmx.at>

	* frame.el (set-frame-configuration): Assign name parameter only
	if it has been set explicitly before.

2007-10-11  Tom Tromey  <tromey@redhat.com>

	* progmodes/gdb-ui.el (gdb-info-stack-custom): Ensure current
	frame is visible.

2007-10-10  Richard Stallman  <rms@gnu.org>

	* emacs-lisp/debug.el (debugger-setup-buffer): Disable undo
	in *Backtrace*.

	* faces.el (face-font-selection-order): Doc fix.

	* loadhist.el (unload-feature): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296
2007-10-13  Glenn Morris  <rgm@gnu.org>

	* progmodes/octave-mod.el (octave-looking-at-kw): Add doc string.
	(octave-re-search-forward-kw, octave-re-search-backward-kw):
	Add doc string, and an explicit COUNT argument.
	(octave-scan-blocks, octave-beginning-of-defun): Explicitly pass
	`inc' to search functions.

	* faces.el (face-spec-set): When FRAME is nil, set the default for
	new frames (restores pre-2007-09-17 behavior).  Doc fix.

1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308
2007-10-13  John W. Eaton  <jwe@octave.org>

	* progmodes/octave-mod.el (octave-looking-at-kw)
	(octave-re-search-forward-kw, octave-re-search-backward-kw):
	New functions.
	(octave-in-defun-p, calculate-octave-indent)
	(octave-blink-matching-block-open, octave-beginning-of-defun)
	(octave-auto-fill): Use octave-looking-at-kw instead of looking-at,
	to search for regexps that contain case-sensitive keywords.
	(octave-beginning-of-defun): Likewise, for octave-re-search-backward-kw.
	(octave-scan-blocks): Likewise, for octave-re-search-forward-kw.

1309 1310
2007-10-13  Dan Nicolaescu  <dann@ics.uci.edu>

1311 1312
	* frame.el (select-frame-set-input-focus): Fix typo "max" -> "mac".
	Do not use a single clause cond.
1313

1314 1315 1316
	* cus-start.el (all): Use test that does not match the X11 version
	for mac.

1317 1318 1319 1320 1321
2007-10-13  Markus Gritsch  <m.gritsch@gmail.com>  (tiny change)

	* progmodes/ebrowse.el (ebrowse-tree-mode): Disable undo in the
	BROWSE buffer.

1322 1323 1324 1325
2007-10-13  Dan Nicolaescu  <dann@ics.uci.edu>

	* cus-start.el (all): Undo previous change.

1326 1327 1328 1329 1330 1331 1332 1333 1334 1335
2007-10-13  Glenn Morris  <rgm@gnu.org>

	* woman.el (woman0-rename): Fix paren typo.

	* mail/feedmail.el (feedmail-run-the-queue)
	(feedmail-look-at-queue-directory):
	* mail/reporter.el (reporter-dump-state):
	* net/eudc-hotlist.el (eudc-edit-hotlist):
	* net/eudc.el (eudc-display-records)
	(eudc-filter-duplicate-attributes)
1336
	(eudc-distribute-field-on-records, eudc-query-form, eudc-process-form):
1337 1338