ChangeLog 440 KB
Newer Older
1 2 3 4 5 6
2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)

	* progmodes/compile.el (compilation-internal-error-properties):
	Calculate start position correctly when end-col is set but
	end-line is not (Bug#11382).

7 8 9 10
2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* net/rlogin.el (rlogin-mode-map): Fix last change.

11 12 13 14 15 16 17
2012-05-09  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)

	* mail/smtpmail.el (smtpmail-send-command): Send the command and
	the following \r\n using a single `process-send-string', since the
	Lotus SMTP server refuses to accept any commands if they are sent
	with two `process-send-string's (bug#11444).

18 19 20 21 22
2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* shell.el (shell-parse-pcomplete-arguments): Obey
	pcomplete-arg-quote-list inside double-quoted args as well (bug#11348).

23 24 25 26
2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* shell.el (shell-completion-vars): Fix last change (bug#11348).

27 28 29 30 31 32
2012-05-07  Chong Yidong  <cyd@gnu.org>

	* ansi-color.el (ansi-color-process-output): Check for validity of
	comint-last-output-start before using it.  This avoids a bad
	interaction with gdb-mi's input/output buffer.

33 34 35 36 37
2012-05-06  Glenn Morris  <rgm@gnu.org>

	* files.el (dir-locals-read-from-file):
	Mention dir-locals in any error message.

38 39 40 41 42
2012-05-06  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
	package (Bug#11410).

43 44 45 46 47
2012-05-05  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/package.el (package-buffer-info): Avoid putting local
	variables into description.

48 49 50 51 52 53
2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
	shell-delimiter-argument-list (bug#11348).
	(shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.

54 55 56 57 58
2012-05-04  Chong Yidong  <cyd@gnu.org>

	* select.el (xselect--encode-string): Always use utf-8 for TEXT on
	Nextstep.

59 60 61 62 63 64
2012-05-03  Kenichi Handa  <handa@m17n.org>

	* mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
	decoding, and show a warning message without signalling an error
	(Bug#11282).

65 66 67 68 69 70
2012-04-30  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmail.el (rmail-yank-current-message): Use the encoding of
	the yanked message in preference to the default value of
	buffer-file-coding-system.

71 72
2012-04-30  Martin Rudalics  <rudalics@gmx.at>

73 74
	* window.el (display-buffer--action-function-custom-type):
	Fix entry.
75

76 77 78 79
2012-04-27  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-defs.el (c-version): Update to 5.32.3.

80 81 82 83 84
2012-04-27  Chong Yidong  <cyd@gnu.org>

	* subr.el (read-key): Avoid running filter function when setting
	up temporary tool bar entries (Bug#9922).

Andreas Schwab's avatar
Andreas Schwab committed
85 86 87 88 89
2012-04-26  Andreas Schwab  <schwab@linux-m68k.org>

	* vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
	(Bug#11344)

90 91 92 93 94 95 96 97 98
2012-04-24  Chong Yidong  <cyd@gnu.org>

	* select.el (xselect--encode-string): New function, split from
	xselect-convert-to-string.
	(xselect-convert-to-string): Use it.
	(xselect-convert-to-filename, xselect-convert-to-os)
	(xselect-convert-to-host, xselect-convert-to-user): Ensure that
	returned strings are properly encoded (Bug#11315).

99 100 101 102
2012-04-22  Chong Yidong  <cyd@gnu.org>

	* simple.el (delete-active-region): Move to killing custom group.

103 104 105 106 107
2012-04-21  Andreas Schwab  <schwab@linux-m68k.org>

	* progmodes/which-func.el (which-func-current): Quote %
	characters for mode-line processing.

108 109 110 111 112
2012-04-21  Chong Yidong  <cyd@gnu.org>

	* xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
	reaching eob (Bug#11286).

113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
2012-04-20  Richard Stallman  <rms@gnu.org>

	Fix logic for returning to and yanking from Rmail buffer.

	* mail/rmail.el (rmail-start-mail):
	Pass (rmail-mail-return...) for the return-action.
	Pass (rmail-yank-current-message...) for the yank-action.
	(rmail-yank-current-message): New function.
	(rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
	(rmail-reply): Likewise.
	(rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.

	* mail/sendmail.el (mail-bury): Choose the first rmail-mode
	buffer, not the last.  Reject temp buffers.  Use the rmail-mode
	buffer, not newbuf.

129 130 131 132 133 134 135 136 137 138
2012-04-20  Eli Zaretskii  <eliz@gnu.org>

	* progmodes/gdb-mi.el (gdb-control-level): New variable.
	(gdb): Make it buffer-local and init to zero.
	(gdb-control-commands-regexp): New variable.
	(gdb-send): Don't wrap in "-interpreter-exec console" if
	gdb-control-level is positive.  Increment gdb-control-level
	whenever the command matches gdb-control-commands-regexp, and
	decrement it each time the command is "end".  (Bug#11279)

139 140 141 142 143 144 145
2012-04-20  Martin Rudalics  <rudalics@gmx.at>

	* window.el (adjust-window-trailing-edge, enlarge-window)
	(shrink-window, window-resize):
	* mouse.el (mouse-drag-line): Fix resizing of minibuffer
	windows (Bug#11276).

Dan Nicolaescu's avatar
Dan Nicolaescu committed
146 147 148 149 150 151
2012-04-20  Dan Nicolaescu  <dann@gnu.org>

	* battery.el (battery-echo-area-format): Display remaining time
	for sysfs backend too (Bug#11269).
	(battery-linux-sysfs): Fix conditional for the charge.

152 153 154 155 156 157 158 159 160 161 162 163
2012-04-20  Chong Yidong  <cyd@gnu.org>

	* progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
	(gdb-inferior-io--init-proc): New function.
	(gdb-init-1): Use it.
	(gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
	responsible for allocating a new pty and hooking it to gdb when
	the old pty gets an EIO due to process exit.
	(gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
	(gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
	(gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.

164 165 166 167 168 169 170 171 172
2012-04-20  Eli Zaretskii  <eliz@gnu.org>

	* window.el (window-min-size, window-sizable, window-min-delta)
	(window-max-delta, window--resizable, window-resizable)
	(window-total-size, window-full-height-p, window-full-width-p)
	(window-in-direction, window--resize-mini-window, window-resize)
	(window--resize-child-windows-normal)
	(window--resize-child-windows, window--resize-siblings)
	(window--resize-this-window, adjust-window-trailing-edge)
173
	(enlarge-window, shrink-window): Doc fixes.
174

175 176
2012-04-19  Chong Yidong  <cyd@gnu.org>

177 178
	* progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
	New function to call delete-process on the gdb-inferior buffer's pty.
179 180 181 182 183 184 185 186 187 188
	(gdb-reset): Use it, instead of relying on kill-buffer to kill the
	pty process (Bug#11273).
	(gdb-update): New arg to suppress talking to the gdb process.
	(gdb-done-or-error): Use it.
	(gdb-stopped-functions): Rename from gdb-stopped-hooks.
	(gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
	sentinel not being called.

	* comint.el (make-comint-in-buffer, comint-exec): Doc fix.

189 190 191 192
2012-04-18  Chong Yidong  <cyd@gnu.org>

	* progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).

193 194 195 196
2012-04-18  Glenn Morris  <rgm@gnu.org>

	* net/network-stream.el (open-network-stream): Doc fix.

197 198 199 200
2012-04-17  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.

201 202 203 204 205 206 207 208 209 210
2012-04-16  Alan Mackenzie  <acm@muc.de>

	Ensure searching for keywords is case sensitive.

	* progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
	(c-electric-paren, c-beginning-of-defun, c-end-of-defun)
	(c-defun-name, c-mark-function, c-cpp-define-name)
	(c-comment-indent, c-scan-conditionals, c-indent-defun)
	(c-context-line-break): bind case-fold-search to nil.

211 212
	* progmodes/cc-mode.el (c-font-lock-fontify-region):
	bind case-fold-search to nil.
213

214 215 216 217 218
2012-04-16  Chong Yidong  <cyd@gnu.org>

	* mail/sendmail.el (mail-bury): Call return action with the right
	Rmail buffer (Bug#11242).

219 220 221 222 223
2012-04-15  Chong Yidong  <cyd@gnu.org>

	* server.el (server-process-filter): Handle corner case where both
	tty and nowait options are present (Bug#11102).

224 225 226 227
2012-04-15  Glenn Morris  <rgm@gnu.org>

	* simple.el (process-file-side-effects): Doc fix.

228 229 230 231
2012-04-14  Glenn Morris  <rgm@gnu.org>

	* international/mule-cmds.el (set-language-environment): Doc fix.

232 233 234 235 236
2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	Avoid the use of ((lambda ...) ...) in lexical-binding code.
	* emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).

237 238 239 240 241
2012-04-13  Kim F. Storm  <storm@cua.dk>

	* emulation/cua-base.el (cua-exchange-point-and-mark): Just call
	exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).

242 243 244 245
2012-04-12  Chong Yidong  <cyd@gnu.org>

	* custom.el (custom-theme-set-variables): Doc fix.

246 247 248 249
2012-04-12  Glenn Morris  <rgm@gnu.org>

	* international/mule.el (set-auto-coding-for-load): Doc fix.

250 251 252 253 254
2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
	Reported by Noah Friedman.  Backport from trunk.

255 256
2012-04-11  Alan Mackenzie  <acm@muc.de>

257 258 259
	* progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
	Make imenu work again for Objective C Mode.  Correct the *-index
	values, these having been disturbed by a previous change in 2011-08.
260

261 262 263
	* progmodes/cc-engine.el (c-before-change-check-<>-operators):
	Correct two search limits.

264 265 266 267
2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* startup.el (command-line-1): Inhibit splash from daemon (bug#10996).

268 269 270 271
2012-04-10  Andreas Schwab  <schwab@linux-m68k.org>

	* international/characters.el: Fix sorting.

Eli Zaretskii's avatar
Eli Zaretskii committed
272 273 274 275
2012-04-10  Eli Zaretskii  <eliz@gnu.org>

	* international/characters.el: Add more missing Latin case pairs.

276 277 278 279
2012-04-10  Andreas Schwab  <schwab@linux-m68k.org>

	* international/characters.el: Recover lost case pairs.

280 281 282 283
2012-04-10  Glenn Morris  <rgm@gnu.org>

	* files.el (dir-locals-set-class-variables): Doc fix.

284 285
2012-04-09  Eli Zaretskii  <eliz@gnu.org>

286 287 288 289
	* international/characters.el: Add set-case-syntax-pair call for
	LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
	counterpart.  (Bug#11209)

290 291
	* simple.el (shell-command-on-region): Doc fix.  (Bug#11208)

292 293 294 295
2012-04-09  Glenn Morris  <rgm@gnu.org>

	* calendar/holidays.el (calendar-check-holidays): Doc fix.

296 297 298 299 300
2012-04-08  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
	Hebrew.

301 302 303 304 305
2012-04-08  Chong Yidong  <cyd@gnu.org>

	* net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
	(Bug#11192).

306 307 308 309
2012-04-07  Glenn Morris  <rgm@gnu.org>

	* pcmpl-rpm.el (pcomplete/rpm): Handle -qf.

310 311
2012-04-07  Eli Zaretskii  <eliz@gnu.org>

312 313
	* minibuffer.el (completion-in-region-mode-map):
	Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
314

315 316 317 318 319
2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* window.el (shrink-window): Mention the `window-min-height'
	variable in the doc string.

Bastien Guerry's avatar
Bastien Guerry committed
320 321 322 323
2012-04-05  Bastien Guerry  <bzg@altern.org>

	* color.el (color-lighten-name): Fix typo.

324 325 326 327 328
2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* server.el (server--on-display-p): New function.
	(server--on-display-p): Use it.

329 330 331 332 333
2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)

	* ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
	(bug#11145).

334 335 336 337 338 339
2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* comint.el (comint--common-quoted-suffix): Check string boundary
	before comparing (bug#11158).
	* pcomplete.el (pcomplete--common-quoted-suffix): Idem.

340 341
2012-04-04  Chong Yidong  <cyd@gnu.org>

342 343
	* minibuffer.el (completion-extra-properties): Doc fix.

344 345
	* subr.el (delayed-warnings-hook): Doc fix.

346 347 348 349 350 351 352
2012-04-04  Daiki Ueno  <ueno@unixuser.org>

	* epa.el (epa--select-keys): Bind C-c C-c to finish the key
	selection (Bug#11159).
	(epa-insert-keys): Inform that the default public key will be
	exported if no key is selected.

353 354 355 356
2012-04-04  Richard Stallman  <rms@gnu.org>

	* mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.

357 358 359 360 361
2012-04-03  Chong Yidong  <cyd@gnu.org>

	* mail/sendmail.el (mail-mode-map): Bind C-c C-i to
	mail-insert-file, not its obsolete alias mail-attach-file.

362 363 364 365
2012-04-03  Michael Albinus  <michael.albinus@gmx.de>

	* notifications.el (notifications-notify): Fix docstring.

366 367 368 369
2012-04-02  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-aliases): Another addition.

370 371 372 373 374 375
2012-04-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
	`tramp-compat-call-process' instead of `tramp-local-call-process'.
	Reported by Magnus Henoch <magnus.henoch@gmail.com>.

376 377 378 379 380 381 382 383 384
2012-04-01  Chong Yidong  <cyd@gnu.org>

	* files.el (file-in-directory-p): Rename from file-subdir-of-p.
	Handle root directory properly.
	(copy-directory): Caller changed.

	* dired-aux.el (dired-copy-file-recursive, dired-create-files):
	* net/tramp.el (tramp-file-name-for-operation): Callers changed.

Glenn Morris's avatar
Glenn Morris committed
385 386
2012-03-31  Glenn Morris  <rgm@gnu.org>

387 388
	* term/xterm.el (xterm-extra-capabilities): Doc fix.

389 390
	* language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)

391 392 393 394
	* calendar/calendar.el (calendar-window-list)
	(calendar-hide-window): Restore.  (Bug#11140)
	(calendar-exit): Use calendar-window-list, calendar-hide-window again.

Glenn Morris's avatar
Glenn Morris committed
395 396
	* emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.

Thierry Volpiatto's avatar
Thierry Volpiatto committed
397 398 399 400 401 402 403
2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* dired-aux.el (dired-copy-file-recursive, dired-create-files):
	Check if file is a symlink (Bug#10489).

	* files.el (copy-directory): Likewise.

404 405 406 407 408
2012-03-30  Chong Yidong  <cyd@gnu.org>

	* image.el (imagemagick-types-inhibit)
	(imagemagick-register-types): Doc fix.

409 410 411 412 413 414
2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* ispell.el (ispell-get-extended-character-mode): Disable
	extended-char-mode for hunspell. hunspell does not support it and
	treats ~word as ordinary words in pipe mode.

415 416 417 418 419
2012-03-30  Glenn Morris  <rgm@gnu.org>

	* tutorial.el (help-with-tutorial): Ensure local variables don't
	happen to make the buffer read-only.  (Bug#11127)

420 421 422 423 424
2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
	(perl-calculate-indent): Return `noindent' in strings.

425 426 427 428 429 430 431 432
2012-03-28  Sam Steingold  <sds@gnu.org>

	* calendar/calendar.el (calendar-exit): Use `quit-windows-on'
	instead of the broken adhockery which does not prevent calendar
	buffers from being displayed at random after exit.
	(calendar-window-list, calendar-hide-window): Remove the broken
	adhockery.

433 434 435 436
2012-03-28  Glenn Morris  <rgm@gnu.org>

	* replace.el (query-replace-map): Doc fix.

Andreas Schwab's avatar
Andreas Schwab committed
437 438 439 440 441
2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>

	* vc/vc-git.el (vc-git-state): Don't try to match all of the diff
	contents.  (Bug#11109)

442 443 444 445 446 447
2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
	(bug#11077).
	(avl-tree--check, avl-tree--check-node): New funs.

448 449 450
2012-03-27  Martin Rudalics  <rudalics@gmx.at>

	* window.el (switch-to-visible-buffer): New option.
451 452
	(switch-to-prev-buffer, switch-to-next-buffer):
	Observe switch-to-visible-buffer.  Make sure that checking for a window
453 454
	showing a buffer already is done on the same frame.

455 456 457 458
2012-03-27  Glenn Morris  <rgm@gnu.org>

	* startup.el (mail-host-address): Doc fix.

459 460 461 462 463
2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
	than 197 variables.

464 465 466 467
2012-03-26  Ami Fischman  <ami@fischman.org>

	* vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.

Glenn Morris's avatar
Glenn Morris committed
468 469
2012-03-26  Glenn Morris  <rgm@gnu.org>

470 471
	* files.el (save-buffers-kill-emacs): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
472 473 474
	* startup.el (normal-top-level, command-line, command-line-1):
	Give them doc strings.

475 476 477
2012-03-25  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
478
	of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
479

480 481
2012-03-25  Chong Yidong  <cyd@gnu.org>

482 483 484
	* custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
	theme if it was previously enabled before (Bug#11031).

485 486 487
	* cus-theme.el (custom-theme-write-faces): Retrieve current face
	spec with custom-face-get-current-spec if its :shown-value is not
	determined yet (Bug#9337).
488
	(customize-create-theme, custom-theme-revert): Doc fixes.
489

490 491
	* button.el (button-at): Minor addition to docstring.

492 493 494 495
2012-03-24  Simon Leinen  <simon.leinen@gmail.com>

	* vc/vc.el (vc-merge): Fix a prompt.

496 497 498 499 500
2012-03-24  Chong Yidong  <cyd@gnu.org>

	* mwheel.el (mwheel-scroll): Call deactivate-mark at the right
	point (Bug#9623).

501 502
	* button.el (button-at): Minor addition to docstring.

503 504 505 506
2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* newcomment.el (comment-choose-indent): No space after BOL.

507 508 509 510 511
2012-03-22  Sam Steingold  <sds@gnu.org>

	* window.el (switch-to-prev-buffer): Revert last patch because the
	bug turned out to be an advertised feature (Elisp manual 28.14).

512 513 514 515 516
2012-03-22  Glenn Morris  <rgm@gnu.org>

	* vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
	(vc-bzr-command): If running "status", pass vc-bzr-status-switches.

517 518 519 520 521
2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/network-stream.el (network-stream-open-starttls): Make error
	message under Windows be less misleading.

522 523 524 525 526
2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)

	* progmodes/etags.el (etags-list-tags): Only use tags which goto-func
	understands (bug#9942).

527 528 529 530 531
2012-03-22  Chong Yidong  <cyd@gnu.org>

	* simple.el (end-of-visible-line): Handle return value of
	next-single-property-change properly (Bug#9371).

532 533 534 535 536 537
2012-03-22  Kenichi Handa  <handa@m17n.org>

	* international/quail.el (quail-insert-kbd-layout): Fix previous
	change.  To avoid unwanted bidi reordering, use
	bidi-string-mark-left-to-right instead of inserting LRO and PDF.

538 539 540 541 542 543 544 545
2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
	(ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
	(ruby-beginning-of-indent): Be more careful with the difference
	between word-boundary and symbol boundary.
	(ruby-mode-syntax-table): Make : a symbol constituent.

546
2012-03-21  Andreas Politz  <politza@fh-trier.de>
547

548 549
	* outline.el (outline-flag-region): Evaporate overlays (bug#10789).

550 551
2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>

552 553 554
	* progmodes/etags.el (tags-completion-at-point-function):
	Improve last fix.

555 556
	* files.el (move-file-to-trash): Files aren't regexps (bug#11055).

557 558 559 560 561
2012-03-21  Sam Steingold  <sds@gnu.org>

	* progmodes/etags.el (tags-completion-at-point-function):
	Avoid the error when point is inside the pattern.

562 563 564 565 566
2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)

	* progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
	line (Bug#10855).

567 568 569 570
2012-03-21  Drew Adams  <drew.adams@oracle.com>

	* info.el (Info-menu): Handle string value of FORK arg (Bug#10858).

571 572 573 574 575 576
2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)

	* ido.el (ido-set-current-directory, ido-read-internal)
	(ido-choose-completion-string, ido-completion-help): Handle nil
	value of ido-completion-buffer (Bug#11008).

577 578 579 580 581
2012-03-21  Sam Steingold  <sds@gnu.org>

	* window.el (switch-to-prev-buffer): Do not switch to a visible
	window previous buffer, just like with the frame previous buffers.

582 583 584 585 586 587
2012-03-21  Chong Yidong  <cyd@gnu.org>

	* faces.el (make-face, make-empty-face, copy-face):
	* face-remap.el (face-remap-add-relative, face-remap-set-base):
	Doc fixes.

588 589 590 591 592
2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* wid-edit.el (widget-complete-field): Remove (bug#11051).
	(widget-complete): Remove broken use of it.

593 594
2012-03-20  Chong Yidong  <cyd@gnu.org>

595 596
	* emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
	Use string-width and truncate-string-width to handle arbitrary
597 598
	characters.

599 600 601 602 603 604
2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>

	* textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
	to draw rectangles, not squares.  (Regression introduced by revno
	2011-03-02T03:48:01Z!cyd@stupidchicken.com)

605 606 607 608 609
2012-03-18  Chong Yidong  <cyd@gnu.org>

	* faces.el (face-spec-reset-face): Don't call display-graphic-p if
	it is not yet defined (for temacs).

610 611
2012-03-18  Leo Liu  <sdl.web@gmail.com>

612
	* net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
613

Eli Zaretskii's avatar
Eli Zaretskii committed
614 615 616 617 618 619 620 621 622 623 624 625 626 627
2012-03-17  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
	(ispell-choices-win-default-height, ispell-silently-savep)
	(ispell-dictionary-alist, ispell-encoding8-command)
	(ispell-check-version, ispell-aspell-find-dictionary)
	(ispell-valid-dictionary-list, ispell-words-keyword)
	(ispell-get-word, ispell-internal-change-dictionary)
	(ispell-region, ispell-skip-region-list)
	(ispell-begin-skip-region-regexp, ispell-ignore-fcc)
	(ispell-process-line, ispell-minor-mode, ispell-minor-check)
	(ispell-message-text-end, ispell-message)
	(ispell-buffer-local-parsing): Doc fix.

628 629 630 631 632 633 634 635 636 637 638 639 640 641
2012-03-13  Jambunathan K  <kjambunathan@gmail.com>

	* htmlfontify.el: Add support for code block fontification for ODT
	export (Bug #9914).
	(hfy-optimisations): Define new option
	`body-text-only'
	(hfy-fontify-buffer): Honor above setting.
	(hfy-begin-span, hfy-end-span): New routines factored out form
	`hfy-fontify-buffer'.
	(hfy-begin-span-handler, hfy-end-span-handler): New variables
	that permit insertion of custom tags.
	(hfy-fontify-buffer): Use above handlers.
	(hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
	(hfy-face-to-css): Re-defined to be a variable.
642
	(hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
643 644 645 646 647 648 649
	over multiple runs. This is made possible by having the caller let
	bind a special variable `hfy-user-sheet-assoc'.
	(htmlfontify-string): New defun.
	(hfy-compile-face-map): Make sure that the last char in the
	buffer is correctly fontified.
	(hfy-face-resolve-face): Whitespace only change.

650 651 652 653 654
2012-03-17  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/ispell.el (ispell-get-decoded-string): Make the error
	message more clear.

655 656 657 658
2012-03-16  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.

659 660 661 662 663 664 665
2012-03-16  Alan Mackenzie  <acm@muc.de>

	Further optimise the handling of large macros.

	* progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
	limit to a call of `c-literal-limits'.
	(c-determine-+ve-limit): New function.
666 667
	(c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
	(c-guess-basic-syntax): In macros, restrict a search limit to 2000.
668 669 670 671 672 673
	In CASE 5B, restrict a search limit to 500.
	(c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.

	* progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
	Restrict macro bounds to +-500 from after-change's BEG END.

674 675 676 677
2012-03-16  Leo Liu  <sdl.web@gmail.com>

	* font-lock.el (lisp-font-lock-keywords-2): Add letrec.

678 679 680
2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>

	* tar-mode.el (tar-mode): Fix saving by conditionally undoing
681
	`special-mode' setting of `buffer-read-only'.  (Bug#11010)
682

683 684
2012-03-16  Glenn Morris  <rgm@gnu.org>

685 686 687
	* view.el (view-buffer, view-buffer-other-window)
	(view-buffer-other-frame): Doc fixes re special mode-class.

688 689 690
	* subr.el (eval-after-load): If named feature is provided not from
	a file, run after-load forms.  (Bug#10946)

691 692 693
	* calendar/calendar.el (calendar-insert-at-column):
	Handle non-unit-width characters a bit better.  (Bug#10978)

694 695 696 697 698 699 700 701
2012-03-15  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/ring.el (ring-extend): New function.
	(ring-insert+extend): Extend the ring correctly (Bug#11019).

	* comint.el (comint-read-input-ring)
	(comint-add-to-input-history): Grow comint-input-ring lazily.

702 703
2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>

704 705 706
	* progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
	Fix up parsing of multiline twoarg non-paired elements (bug#11014).

707 708 709 710
	* imenu.el: Fix multiple inheritance breakage (bug#9199).
	(imenu-add-to-menubar): Don't add a redundant index.
	(imenu-update-menubar): Handle a dynamically composed keymap.

711 712 713 714 715
2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mail/sendmail.el (mail-encode-header):
	Bind rfc2047-encode-encoded-words to nil.

716 717 718 719 720
2012-03-13  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el (calendar-string-spread):
	Handle non-unit-width characters a bit better.  (Bug#10978)

721 722 723 724 725
2012-03-13  Leo Liu  <sdl.web@gmail.com>

	* vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
	directory and file as argument (Bug#10822).

726 727 728 729 730 731
2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)

	* progmodes/gdb-mi.el (gdb-invalidate-disassembly):
	For dynamically generated code, follow $PC.
	(gdb-disassembly-handler-custom): Handle no function name case.

732 733 734 735 736 737 738
2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)

	* calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
	* emulation/ws-mode.el (ws-query-replace):
	* sort.el (sort-regexp-fields):
	Fix missing trailing whitespace in interactive prompts.  (Bug#11002)

739 740 741 742 743 744 745
2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* dabbrev.el: Fix cycle completion order (bug#10963).
	(dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
	(dabbrev-completion): Don't use an obarray; provide
	a cycle-sort-function.

746 747
2012-03-12  Leo Liu  <sdl.web@gmail.com>

748
	* simple.el (kill-new): Use equal-including-properties for comparison.
749 750
	(kill-do-not-save-duplicates): Doc fix.

751 752 753 754 755 756
2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* dabbrev.el: Fix cycle completion (bug#10963).
	Use lexical binding and wrap to 80 columns.
	(dabbrev-completion): Delay computing the list of completions.

757 758 759 760 761 762 763
2012-03-12  Kenichi Handa  <handa@m17n.org>

	* international/quail.el (quail-insert-kbd-layout): Surround each
	row by LRO and PDF instead of inserting many LRMs.  Pad the left
	and right of each non-spacing marks.  Insert invisible space
	between lower and upper characters to prevent composition.

764 765 766 767 768 769
2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-complete): Don't get confused when the
	function is run twice via different commands (bug#10958).
	(complete-with-action): Fix docstring.

770 771
2012-03-12  Chong Yidong  <cyd@gnu.org>

772 773 774 775 776
	* nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
	(nxml-completion-at-point-function): New function.
	(nxml-mode): Use it.
	(nxml-bind-meta-tab-to-complete-flag): Default to t.

777 778 779 780
	* emacs-lisp/package.el (package-unpack, package-unpack-single):
	Load generated autoloads file before byte compiling (Bug#10970).
	(package--make-autoloads-and-compile): New helper fun.

781 782 783 784
2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>

	* ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.

785 786 787 788 789 790
2012-03-11  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-handler): Ensure, that
	file-readable-p is applied only for local files or in
	auto-revert-tail-mode.

791 792
2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>

793 794
	* server.el (server-eval-at): Handle non-tcp connections.
	Decode result string.
795

796 797 798 799 800 801
	* server.el (server-msg-size): New constant.
	(server-reply-print): New function.
	(server-eval-and-print): Use it.
	(server-eval-at): Use server-quote-arg and server-unquote-arg.
	Handle -print-nonl.

802 803 804 805 806
2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>

	* ibuffer.el (ibuffer-redisplay): Remove gratuitous error
	(Bug#10987).

807 808
2012-03-11  Chong Yidong  <cyd@gnu.org>

809 810
	* simple.el (goto-line): Doc fix (Bug#9938).

811 812
	* subr.el (save-window-excursion): Doc fix (Bug#9979).

813 814 815
	* dabbrev.el (dabbrev--find-expansion): Update progress reporter
	when finished (Bug#10963).

816 817 818 819 820
2012-03-11  Martin Rudalics  <rudalics@gmx.at>

	* window.el (split-window-below): Fix bug in case where
	split-window-keep-point is nil (Bug#10971).

821 822 823 824 825
2012-03-11  Juri Linkov  <juri@jurta.org>

	* replace.el (replace-highlight): Set isearch-word to nil
	unconditionally.  (Bug#10887)

826 827 828 829
2012-03-10  Eli Zaretskii  <eliz@gnu.org>

	* net/mairix.el (mairix-replace-invalid-chars): Rename from
	mairix-replace-illegal-chars; all callers changed.  Don't remove
830
	^, ~, and = characters: they are meaningful in mairix search specs.
831 832 833
	(mairix-widget-create-query): Add usage information about mairix
	search forms: negating words, searching for substrings, etc.

834 835 836 837 838
2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)

	* international/fontset.el (font-encoding-alist): Add an entry for
	ksx1001 (Bug#5667).

839 840
2012-03-10  Richard Stallman  <rms@gnu.org>

841 842 843
	* mail/sendmail.el (mail-encode-header):
	Set rfc2047-encode-encoded-words.

844 845
	* mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.

846 847 848 849 850
	* mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
	view buffer means not swapped.
	(rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
	(rmail-write-region-annotate): Error if real text has disappeared.

851 852
	* epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.

853 854 855
2012-03-10  Chong Yidong  <cyd@gnu.org>

	* emulation/cua-rect.el (cua--init-rectangles):
856 857
	* emulation/cua-base.el (cua--init-keymaps):
	Add delete-forward-char to remappings (Bug#9666).
858

859 860
2012-03-10  Martin Rudalics  <rudalics@gmx.at>

861 862
	* speedbar.el (speedbar-unhighlight-one-tag-line):
	Avoid unhighlighting due to frame switching (Bug#10275).
863

864 865
2012-03-10  Chong Yidong  <cyd@gnu.org>

866 867 868
	* minibuffer.el (completion-in-region, completion-help-at-point):
	Give the completion field overlay a high priority (Bug#6830).

869 870 871 872 873
	* dired.el (dired-goto-file): Recognize absolute file name
	listings (Bug#7126).
	(dired-goto-file-1): New helper function.
	(dired-toggle-read-only): Inhibit warnings.

874 875 876 877 878
2012-03-09  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el: (dbus-property-handler): Return empty array if
	there are no properties.

879 880 881 882 883
2012-03-09  Leo Liu  <sdl.web@gmail.com>

	* savehist.el (savehist-printable): Stricter check for string
	value (Bug#10937).

884 885
2012-03-09  Eli Zaretskii  <eliz@gnu.org>

886 887
	* mail/smtpmail.el (smtpmail-send-it):
	Bind coding-system-for-write to *-unix, so that FCC files are kept in
888 889
	valid mbox format.

Glenn Morris's avatar
Glenn Morris committed
890 891 892 893 894 895
2012-03-09  Glenn Morris  <rgm@gnu.org>

	* files.el (dir-locals-find-file):
	Don't check result is regular, readable.
	(dir-locals-read-from-file): Demote errors.

896 897
2012-03-08  Eli Zaretskii  <eliz@gnu.org>

898 899
	* international/quail.el (quail-insert-kbd-layout):
	Insert invisible LRM characters before each character in a keyboard
900 901 902 903
	layout cell, to prevent their reordering by bidi display engine.
	For details, see the discussion in
	http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.

904 905 906 907 908 909 910
2012-03-08  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
	the starting position; make it extend the marked region when
	invoked repeatedly - all under appropriate circumstances.
	Fixes bugs #5525, #10906.

911 912 913 914 915
2012-03-08  Glenn Morris  <rgm@gnu.org>

	* files.el (locate-dominating-file, dir-locals-find-file):
	Undo 2012-03-06 change.

916 917
2012-03-07  Eli Zaretskii  <eliz@gnu.org>

918 919
	* international/quail.el (quail-help):
	Force bidi-paragraph-direction be left-to-right.  See discussion in
920 921 922
	http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
	for the reason.

Michael Albinus's avatar
Michael Albinus committed
923
2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
924 925 926 927 928 929 930 931 932 933 934

	Avoid superfluous registering of signals.  (Bug#10807)

	* notifications.el (notifications-on-action-object)
	(notifications-on-close-object): New defvars.
	(notifications-on-action-signal, notifications-on-closed-signal):
	Unregister the signal if not needed any longer.
	(notifications-notify): Register `notifications-action-signal' or
	`notifications-closed-signal', if :on-action or :on-close has been
	passed as argument.

935 936 937 938 939
2012-03-07  Chong Yidong  <cyd@gnu.org>

	* cus-start.el: Avoid x-select-enable-clipboard-manager warning on
	non-X platforms.

Glenn Morris's avatar
Glenn Morris committed
940 941 942 943 944 945
2012-03-06  Glenn Morris  <rgm@gnu.org>

	* term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
	(x-disown-selection-internal, x-get-selection-internal):
	Doc fix (add arglist signatures).  (Bug#10783)

946 947 948 949 950
2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)

	* progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
	Handle breakpoints with no "type".

951 952 953 954 955
2012-03-06  Glenn Morris  <rgm@gnu.org>

	* files.el (locate-dominating-file): Add optional predicate argument.
	(dir-locals-find-file): Make use of above change.

956 957 958 959
2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* info.el (Info-insert-dir): Also try "dir.gz".

960 961
2012-03-06  Glenn Morris  <rgm@gnu.org>

962 963 964
	* files.el (dir-locals-find-file):
	Ignore non-readable or non-regular files.  (Bug#10928)

965 966
	* files.el (locate-dominating-file): Doc fix.

967 968 969 970 971
2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)

	* calendar/calendar.el (calendar-set-mode-line):
	`getenv' returns a string.  (Bug#10951)

972 973
2012-03-05  Leo Liu  <sdl.web@gmail.com>

974 975 976
	* simple.el (backward-delete-char-untabify): Constrain point to
	field (Bug#10939).

977 978
	* eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.

979 980 981 982 983 984 985 986 987
2012-03-05  Chong Yidong  <cyd@gnu.org>

	* simple.el (count-words): If called from Lisp, return the word
	count, for symmetry with `count-lines'.  Arglist changed.
	(count-words--message): Args changed.  Consolidate counting code
	from count-words and count-words-region.
	(count-words-region): Caller changed.
	(count-lines-region): Make it an obsolete alias.

988 989 990 991 992 993
2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>

	* saveplace.el (save-place-to-alist)
	(save-place-ignore-files-regexp): Allow value nil to disable this
	feature.

994 995 996 997 998
2012-03-04  Chong Yidong  <cyd@gnu.org>

	* faces.el (face-spec-reset-face): For the default face, reset the
	attributes to default values (Bug#10748).

999 1000 1001 1002 1003 1004
2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
	previous patch: Check `message-send-mail-function', and not the
	default function (bug#10897).

1005 1006
2012-03-04  Michael Albinus  <michael.albinus@gmx.de>

1007 1008 1009
	* notifications.el (notifications-on-action-signal)
	(notifications-on-closed-signal): Check for unique service name of
	incoming event.  Fix error in removing entry.
1010
	(top): Register for signals with wildcard service name.
1011
	(notifications-notify): Use daemon unique service name for map entries.
1012

1013 1014
2012-03-04  Chong Yidong  <cyd@gnu.org>

1015
	* cus-start.el: Make x-select-enable-clipboard-manager customizable.
1016

Glenn Morris's avatar
Glenn Morris committed
1017 1018 1019 1020 1021 1022
2012-03-04  Glenn Morris  <rgm@gnu.org>

	* abbrev.el (copy-abbrev-table, abbrev-table-p)
	(abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
	(expand-abbrev, define-abbrev-table): Doc fixes.

1023 1024 1025 1026 1027 1028 1029
2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
	`message-default-send-mail-function' and not `send-mail-function'
	when doing the prompting for `sendmail-query-once' before sending
	in Message buffers (bug#10897).

1030 1031 1032 1033
	* net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
	This is inconsistent with all the other stream functions, which leave
	the setting up to the higher levels (if so wanted) (bug#10931).

1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049
2012-03-02  Alan Mackenzie  <acm@muc.de>

	Depessimize the handling of very large macros.

	* progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
	(c-macro-cache-syntactic): New variables to implement a one
	element macro cache.
	(c-invalidate-macro-cache): New function.
	(c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
	Adapt to use the new cache.
	(c-state-safe-place): Use better the cache of safe positions.
	(c-state-semi-nonlit-pos-cache)
	(c-state-semi-nonlit-pos-cache-limit):
	New variables for...
	(c-state-semi-safe-place): New function.  Here, in a macro is "safe".
	(c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1050 1051
	(c-in-literal, c-literal-limits, c-determine-limit-get-base):
	Use c-state-semi-safe-place.
1052

1053 1054
	* progmodes/cc-langs.el (c-get-state-before-change-functions):
	Add c-invalidate-macro-cache to the C, C++, Obj entries.
1055

1056 1057
2012-03-02  Michael Albinus  <michael.albinus@gmx.de>

1058 1059
	* jka-compr.el (jka-compr-call-process):
	Apply `file-accessible-directory-p' only when the default directory is
1060 1061
	not remote.

1062 1063 1064 1065 1066
2012-03-01  Michael Albinus  <michael.albinus@gmx.de>

	* files.el (file-equal-p): Fix docstring.  Avoid unnecessary
	access of FILE2, if FILE1 does not exist.

1067 1068 1069 1070 1071 1072
	* net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
	Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.

	* vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
	Add "PAGER=" to `process-environment'.

1073 1074 1075 1076 1077 1078 1079 1080 1081
2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Bug fix
	(sql-get-login-ext): Save login values in globals.
	(sql-get-login): Use new version of `sql-get-login-ext'.
	(sql-interactive-mode): Set global `sql-connection' to nil.
	(sql-connect): Set global values for connection.
	(sql-product-interactive): Save global values as buffer local.

Leo Liu's avatar
Leo Liu committed
1082 1083 1084 1085
2012-02-29  Leo Liu  <sdl.web@gmail.com>

	* abbrev.el (define-abbrevs): Reset sys to nil.

1086 1087
2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1088 1089
	* files.el (file-equal-p): Rename from `files-equal-p'.
	Return nil when one or both files don't exist.
1090 1091
	(file-subdir-of-p): Now only top directory must exists,
	return nil if it doesn't.
Juanma Barranquero's avatar
Juanma Barranquero committed
1092 1093 1094 1095
	(copy-directory): No need to test with `file-subdir-of-p' after
	creating dir.
	* net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
	to `file-equal-p'.
1096

1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117
2012-02-28  Glenn Morris  <rgm@gnu.org>

	* shell.el (shell-mode):
	* progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
	* play/landmark.el (landmark-font-lock-face-O):
	* play/handwrite.el (handwrite):
	* play/gomoku.el (gomoku-O):
	* net/browse-url.el (browse-url-browser-display):
	* international/mule.el (define-charset):
	* htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
	* filesets.el (filesets-find-file-delay):
	* eshell/em-xtra.el (eshell-xtra):
	* eshell/em-unix.el (eshell-grep):
	* emulation/viper.el (viper-mode):
	* emacs-lisp/regexp-opt.el (regexp-opt-group):
	* emacs-lisp/easymenu.el (easy-menu-define):
	* calendar/timeclock.el (timeclock-use-display-time):
	* bs.el (bs-mode):
	* bookmark.el (bookmark-save-flag):
	Doc fix (standardize possessive apostrophe usage).

1118 1119
2012-02-27  Chong Yidong  <cyd@gnu.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
1120 1121
	* emulation/viper-cmd.el (viper-intercept-ESC-key):
	Fix key-binding lookup for ESC key (Bug#9146).
Chong Yidong's avatar
Chong Yidong committed
1122

1123 1124 1125
	* font-lock.el (font-lock-specified-p): Rename from
	font-lock-spec-present.  Callers changed.

Chong Yidong's avatar
Chong Yidong committed
1126
2012-02-27  Daniel Hackney  <dan@haxney.org>
1127

Juanma Barranquero's avatar
Juanma Barranquero committed
1128 1129
	* emacs-lisp/package.el (package-compute-transaction):
	Handle holding a package version to t in package-load-list.
1130

1131 1132 1133 1134 1135
2012-02-26  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
	(tramp-get-inode, tramp-get-device): Use cached values.

1136 1137 1138 1139 1140 1141 1142 1143 1144 1145
2012-02-26  Alan Mackenzie  <acm@muc.de>

	Check there is a font-lock specification before doing initial
	fontification.

	* font-core.el (font-lock-mode): Move the conditional from
	:after-hook to font-lock-initial-fontify.
	(font-lock-default-function): Move the check for a specification
	to font-lock-spec-present.

1146
	* font-lock.el (font-lock-initial-fontify): Call ...
1147 1148
	(font-lock-spec-present): New function.

1149 1150 1151 1152 1153 1154 1155
2012-02-26  Jim Blandy  <jimb@red-bean.com>

	* progmodes/gdb-mi.el (gdb-mi-quote): New function.
	(gdb-send): Apply it to the operand of the '-interpreter-exec
	console' command, so that we can pass arguments with (say) quotes
	in them.  Store exact string sent in gdb-debug-log (Bug#10765).

1156 1157
2012-02-26  Chong Yidong  <cyd@gnu.org>

1158 1159 1160
	* help-fns.el (describe-function-1): Clarify description of
	remapping (Bug#10844).

1161 1162 1163 1164
	* files.el (files-equal-p): Doc fix.
	(file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
	and quit the loop once a mismatch is found.

Juanma Barranquero's avatar
Juanma Barranquero committed
1165 1166 1167 1168 1169 1170
2012-02-25  Juanma Barranquero  <lekktu@gmail.com>

	* bs.el (bs--show-with-configuration): Don't throw an error
	if the window cannot be split; otherwise, subsequent calls to
	bs-show fail, restoring a stale window config.  (Bug#10882)

1171 1172 1173 1174 1175
2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>

	* term/ns-win.el (global-map): Bind ns-drag-file to
	ns-find-file (Bug#5855, Bug#10050).

1176 1177 1178 1179 1180
2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>

	* calendar/parse-time.el (parse-time-string): Allow extractor to
	return nil.

1181 1182
2012-02-25  Michael Albinus  <michael.albinus@gmx.de>

1183 1184
	* net/tramp.el (tramp-file-name-for-operation):
	Add `files-equal-p' and `file-subdir-of-p'.
1185 1186

	* net/tramp-sh.el (tramp-sh-handle-copy-directory):
1187 1188
	* net/tramp-smb.el (tramp-smb-handle-copy-directory):
	Add COPY-CONTENTS argument.
1189

1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203
2012-02-25  Chong Yidong  <cyd@gnu.org>

	Add custom groups for VC backends, for consistency with vc-bzr.

	* vc/vc-arch.el (vc-arch):
	* vc/vc-cvs.el (vc-cvs):
	* vc/vc-git.el (vc-git):
	* vc/vc-hg.el (vc-hg):
	* vc/vc-mtn.el (vc-mtn):
	* vc/vc-rcs.el (vc-rcs):
	* vc/vc-sccs.el (vc-sccs):
	* vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
	All relevant defcustoms reassigned.

1204 1205
2012-02-25  Chong Yidong  <cyd@gnu.org>

1206 1207
	* newcomment.el (comment-styles): Add autoload (Bug#10868).

1208 1209 1210
	* term/x-win.el (x-initialize-window-system): Reduce default for
	x-selection-timeout to 5 seconds (Bug#8869).

1211
2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1212

1213
	* files.el (file-subdir-of-p): Fix typo.
1214

1215 1216
2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

1217 1218
	* files.el (files-equal-p, file-subdir-of-p): New functions.
	(copy-directory): Error when trying to copy a directory on itself.
1219
	Add missing copy-contents arg to tramp handler.
1220 1221 1222
	* dired-aux.el (dired-copy-file-recursive): Same.
	(dired-create-files): Modify destination when source is equal to
	dest when copying files.
1223
	Return also when dest is a subdir of source.  (Bug#10489)
1224

1225 1226 1227 1228 1229
2012-02-24  Michael Albinus  <michael.albinus@gmx.de>

	* net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
	(Bug#10874)

1230 1231 1232 1233 1234 1235 1236
2012-02-23  Alan Mackenzie  <acm@muc.de>

	* emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
	parameter "after-hook:" to allow the expansion to run code after
	the execution of the mode hooks.

	* font-lock.el (font-lock-initial-fontify): New function extracted
1237
	from font-lock-mode-internal.
1238

1239
	* font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1240 1241
	:after-hook.

1242 1243
2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>

1244 1245 1246 1247 1248 1249
	* minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
	(completion--cache-all-sorted-completions): New function.
	(completion-all-sorted-completions): Use it.
	(completion--do-completion, minibuffer-force-complete):
	Use it to re-instate the flush hook.

1250 1251 1252
	* icomplete.el (icomplete-completions): Replace last fix with a better
	one (bug#10850).

1253 1254 1255 1256 1257
2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>

	* emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
	when it might call us back infinitely (bug#10797).

Glenn Morris's avatar
Glenn Morris committed
1258 1259 1260 1261
2012-02-23  Glenn Morris  <rgm@gnu.org>

	* minibuffer.el (completion-category-overrides): Doc fix.

1262 1263 1264 1265 1266
2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-table-with-context): Fix inf-loop.
	Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.

Glenn Morris's avatar
Glenn Morris committed
1267 1268
2012-02-23  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1269
	* emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
Glenn Morris's avatar
Glenn Morris committed
1270 1271 1272 1273
	(authors-obsolete-files-regexps, authors-ignored-files)
	(authors-ambiguous-files, authors-renamed-files-alist):
	Add more entries.

1274 1275 1276 1277 1278
2012-02-23  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-occur): Sync interactive spec with occur's
	new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)

1279 1280
	* replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.

1281 1282 1283 1284 1285 1286
2012-02-22  Juri Linkov  <juri@jurta.org>

	* international/mule-cmds.el (read-char-by-name): Use \` and \'.
	(ucs-insert): Doc fix.  Check for hex digits in the string.
	Don't display `nil' in the error message.  (Bug#10857)

Alan Mackenzie's avatar
Alan Mackenzie committed
1287 1288
2012-02-22  Alan Mackenzie  <acm@muc.de>

1289
	* progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
Alan Mackenzie's avatar
Alan Mackenzie committed
1290

1291 1292 1293 1294 1295
2012-02-22  Glenn Morris  <rgm@gnu.org>

	* ffap.el (ffap-c-path):
	* man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)

1296 1297 1298 1299
2012-02-22  Chong Yidong  <cyd@gnu.org>

	* custom.el (load-theme): Doc fix.

1300 1301 1302 1303 1304
2012-02-22  Glenn Morris  <rgm@gnu.org>

	* dired-x.el (dired-guess-shell-alist-default):
	Remove escape sequences from nroff output.  (Bug#172)

1305 1306
2012-02-21  Glenn Morris  <rgm@gnu.org>