ChangeLog 423 KB
Newer Older
1 2 3 4
2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>

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

5 6 7 8 9
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.

10 11 12 13 14
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).

15 16 17 18
2012-03-21  Drew Adams  <drew.adams@oracle.com>

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

19 20 21 22 23 24
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).

25 26 27 28 29
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.

30 31 32 33 34 35
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.

36 37 38 39 40
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.

41 42
2012-03-20  Chong Yidong  <cyd@gnu.org>

43 44
	* emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
	Use string-width and truncate-string-width to handle arbitrary
45 46
	characters.

47 48 49 50 51 52
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)

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

58 59
2012-03-18  Leo Liu  <sdl.web@gmail.com>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
62 63 64 65 66 67 68 69 70 71 72 73 74 75
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.

76 77 78 79 80 81 82 83 84 85 86 87 88 89
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.
90
	(hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
91 92 93 94 95 96 97
	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.

98 99 100 101 102
2012-03-17  Eli Zaretskii  <eliz@gnu.org>

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

103 104 105 106
2012-03-16  Leo Liu  <sdl.web@gmail.com>

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

107 108 109 110 111 112 113
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.
114 115
	(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.
116 117 118 119 120 121
	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.

122 123 124 125
2012-03-16  Leo Liu  <sdl.web@gmail.com>

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

126 127 128
2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>

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

131 132
2012-03-16  Glenn Morris  <rgm@gnu.org>

133 134 135
	* view.el (view-buffer, view-buffer-other-window)
	(view-buffer-other-frame): Doc fixes re special mode-class.

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

139 140 141
	* calendar/calendar.el (calendar-insert-at-column):
	Handle non-unit-width characters a bit better.  (Bug#10978)

142 143 144 145 146 147 148 149
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.

150 151
2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>

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

155 156 157 158
	* 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.

159 160 161 162 163
2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>

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

164 165 166 167 168
2012-03-13  Glenn Morris  <rgm@gnu.org>

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

169 170 171 172 173
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).

174 175 176 177 178 179
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.

180 181 182 183 184 185 186
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)

187 188 189 190 191 192 193
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.

194 195
2012-03-12  Leo Liu  <sdl.web@gmail.com>

196
	* simple.el (kill-new): Use equal-including-properties for comparison.
197 198
	(kill-do-not-save-duplicates): Doc fix.

199 200 201 202 203 204
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.

205 206 207 208 209 210 211
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.

212 213 214 215 216 217
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.

218 219
2012-03-12  Chong Yidong  <cyd@gnu.org>

220 221 222 223 224
	* 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.

225 226 227 228
	* 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.

229 230 231 232
2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>

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

233 234 235 236 237 238
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.

239 240
2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>

241 242
	* server.el (server-eval-at): Handle non-tcp connections.
	Decode result string.
243

244 245 246 247 248 249
	* 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.

250 251 252 253 254
2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>

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

255 256
2012-03-11  Chong Yidong  <cyd@gnu.org>

257 258
	* simple.el (goto-line): Doc fix (Bug#9938).

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

261 262 263
	* dabbrev.el (dabbrev--find-expansion): Update progress reporter
	when finished (Bug#10963).

264 265 266 267 268
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).

269 270 271 272 273
2012-03-11  Juri Linkov  <juri@jurta.org>

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

274 275 276 277
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
278
	^, ~, and = characters: they are meaningful in mairix search specs.
279 280 281
	(mairix-widget-create-query): Add usage information about mairix
	search forms: negating words, searching for substrings, etc.

282 283 284 285 286
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).

287 288
2012-03-10  Richard Stallman  <rms@gnu.org>

289 290 291
	* mail/sendmail.el (mail-encode-header):
	Set rfc2047-encode-encoded-words.

292 293
	* mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.

294 295 296 297 298
	* 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.

299 300
	* epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.

301 302 303
2012-03-10  Chong Yidong  <cyd@gnu.org>

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

307 308
2012-03-10  Martin Rudalics  <rudalics@gmx.at>

309 310
	* speedbar.el (speedbar-unhighlight-one-tag-line):
	Avoid unhighlighting due to frame switching (Bug#10275).
311

312 313
2012-03-10  Chong Yidong  <cyd@gnu.org>

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

317 318 319 320 321
	* 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.

322 323 324 325 326
2012-03-09  Michael Albinus  <michael.albinus@gmx.de>

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

327 328 329 330 331
2012-03-09  Leo Liu  <sdl.web@gmail.com>

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

332 333
2012-03-09  Eli Zaretskii  <eliz@gnu.org>

334 335
	* mail/smtpmail.el (smtpmail-send-it):
	Bind coding-system-for-write to *-unix, so that FCC files are kept in
336 337
	valid mbox format.

Glenn Morris's avatar
Glenn Morris committed
338 339 340 341 342 343
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.

344 345
2012-03-08  Eli Zaretskii  <eliz@gnu.org>

346 347
	* international/quail.el (quail-insert-kbd-layout):
	Insert invisible LRM characters before each character in a keyboard
348 349 350 351
	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.

352 353 354 355 356 357 358
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.

359 360 361 362 363
2012-03-08  Glenn Morris  <rgm@gnu.org>

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

364 365
2012-03-07  Eli Zaretskii  <eliz@gnu.org>

366 367
	* international/quail.el (quail-help):
	Force bidi-paragraph-direction be left-to-right.  See discussion in
368 369 370
	http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
	for the reason.

Michael Albinus's avatar
Michael Albinus committed
371
2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
372 373 374 375 376 377 378 379 380 381 382

	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.

383 384 385 386 387
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
388 389 390 391 392 393
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)

394 395 396 397 398
2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)

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

399 400 401 402 403
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.

404 405 406 407
2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>

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

408 409
2012-03-06  Glenn Morris  <rgm@gnu.org>

410 411 412
	* files.el (dir-locals-find-file):
	Ignore non-readable or non-regular files.  (Bug#10928)

413 414
	* files.el (locate-dominating-file): Doc fix.

415 416 417 418 419
2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)

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

420 421
2012-03-05  Leo Liu  <sdl.web@gmail.com>

422 423 424
	* simple.el (backward-delete-char-untabify): Constrain point to
	field (Bug#10939).

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

427 428 429 430 431 432 433 434 435
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.

436 437 438 439 440 441
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.

442 443 444 445 446
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).

447 448 449 450 451 452
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).

453 454
2012-03-04  Michael Albinus  <michael.albinus@gmx.de>

455 456 457
	* notifications.el (notifications-on-action-signal)
	(notifications-on-closed-signal): Check for unique service name of
	incoming event.  Fix error in removing entry.
458
	(top): Register for signals with wildcard service name.
459
	(notifications-notify): Use daemon unique service name for map entries.
460

461 462
2012-03-04  Chong Yidong  <cyd@gnu.org>

463
	* cus-start.el: Make x-select-enable-clipboard-manager customizable.
464

Glenn Morris's avatar
Glenn Morris committed
465 466 467 468 469 470
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.

471 472 473 474 475 476 477
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).

478 479 480 481
	* 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).

482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497
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.
498 499
	(c-in-literal, c-literal-limits, c-determine-limit-get-base):
	Use c-state-semi-safe-place.
500

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

504 505
2012-03-02  Michael Albinus  <michael.albinus@gmx.de>

506 507
	* jka-compr.el (jka-compr-call-process):
	Apply `file-accessible-directory-p' only when the default directory is
508 509
	not remote.

510 511 512 513 514
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.

515 516 517 518 519 520
	* 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'.

521 522 523 524 525 526 527 528 529
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
530 531 532 533
2012-02-29  Leo Liu  <sdl.web@gmail.com>

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

534 535
2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
536 537
	* files.el (file-equal-p): Rename from `files-equal-p'.
	Return nil when one or both files don't exist.
538 539
	(file-subdir-of-p): Now only top directory must exists,
	return nil if it doesn't.
Juanma Barranquero's avatar
Juanma Barranquero committed
540 541 542 543
	(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'.
544

545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565
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).

566 567
2012-02-27  Chong Yidong  <cyd@gnu.org>

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

571 572 573
	* font-lock.el (font-lock-specified-p): Rename from
	font-lock-spec-present.  Callers changed.

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

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

579 580 581 582 583
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.

584 585 586 587 588 589 590 591 592 593
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.

594
	* font-lock.el (font-lock-initial-fontify): Call ...
595 596
	(font-lock-spec-present): New function.

597 598 599 600 601 602 603
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).

604 605
2012-02-26  Chong Yidong  <cyd@gnu.org>

606 607 608
	* help-fns.el (describe-function-1): Clarify description of
	remapping (Bug#10844).

609 610 611 612
	* 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
613 614 615 616 617 618
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)

619 620 621 622 623
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).

624 625 626 627 628
2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>

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

629 630
2012-02-25  Michael Albinus  <michael.albinus@gmx.de>

631 632
	* net/tramp.el (tramp-file-name-for-operation):
	Add `files-equal-p' and `file-subdir-of-p'.
633 634

	* net/tramp-sh.el (tramp-sh-handle-copy-directory):
635 636
	* net/tramp-smb.el (tramp-smb-handle-copy-directory):
	Add COPY-CONTENTS argument.
637

638 639 640 641 642 643 644 645 646 647 648 649 650 651
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.

652 653
2012-02-25  Chong Yidong  <cyd@gnu.org>

654 655
	* newcomment.el (comment-styles): Add autoload (Bug#10868).

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

659
2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
660

661
	* files.el (file-subdir-of-p): Fix typo.
662

663 664
2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

665 666
	* files.el (files-equal-p, file-subdir-of-p): New functions.
	(copy-directory): Error when trying to copy a directory on itself.
667
	Add missing copy-contents arg to tramp handler.
668 669 670
	* dired-aux.el (dired-copy-file-recursive): Same.
	(dired-create-files): Modify destination when source is equal to
	dest when copying files.
671
	Return also when dest is a subdir of source.  (Bug#10489)
672

673 674 675 676 677
2012-02-24  Michael Albinus  <michael.albinus@gmx.de>

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

678 679 680 681 682 683 684
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
685
	from font-lock-mode-internal.
686

687
	* font-core.el (font-lock-mode): Call font-lock-initial-fontify in
688 689
	:after-hook.

690 691
2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>

692 693 694 695 696 697
	* 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.

698 699 700
	* icomplete.el (icomplete-completions): Replace last fix with a better
	one (bug#10850).

701 702 703 704 705
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
706 707 708 709
2012-02-23  Glenn Morris  <rgm@gnu.org>

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

710 711 712 713 714
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
715 716
2012-02-23  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
717
	* emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
Glenn Morris's avatar
Glenn Morris committed
718 719 720 721
	(authors-obsolete-files-regexps, authors-ignored-files)
	(authors-ambiguous-files, authors-renamed-files-alist):
	Add more entries.

722 723 724 725 726
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)

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

729 730 731 732 733 734
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
735 736
2012-02-22  Alan Mackenzie  <acm@muc.de>

737
	* 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
738

739 740 741 742 743
2012-02-22  Glenn Morris  <rgm@gnu.org>

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

744 745 746 747
2012-02-22  Chong Yidong  <cyd@gnu.org>

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

748 749 750 751 752
2012-02-22  Glenn Morris  <rgm@gnu.org>

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

753 754
2012-02-21  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
755 756 757
	* vc/emerge.el (emerge-defvar-local):
	Set `permanent-local' property rather than unused `preserved'.

Glenn Morris's avatar
Glenn Morris committed
758
	* textmodes/picture.el (picture-delete-char): New alias.
759 760 761
	(picture-mode-map): Use it.  (Bug#10860)
	(picture-mode): Doc fix.

762 763 764 765
2012-02-21  Juanma Barranquero  <lekktu@gmail.com>

	* newcomment.el (uncomment-region-default): Remove unused binding.

Glenn Morris's avatar
Glenn Morris committed
766 767 768 769 770 771
2012-02-21  Glenn Morris  <rgm@gnu.org>

	* textmodes/picture.el (picture-motion, picture-motion-reverse)
	(picture-self-insert, picture-tab-chars): Doc fix.
	(picture-mode-map): Fix C-a, C-e.

772 773 774 775
2012-02-20  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-aliases): Add another entry.

776 777 778 779 780
2012-02-20  Leo Liu  <sdl.web@gmail.com>

	* icomplete.el (icomplete-completions): Check FROM arg before
	passing to substring (Bug#10850).

781 782 783 784 785 786 787 788 789 790 791 792 793 794 795
2012-02-19  Chong Yidong  <cyd@gnu.org>

	* comint.el: Require ansi-color.
	(comint-output-filter-functions): Add ansi-color-process-output.

	* ansi-color.el: Don't set comint-output-filter-functions; it is
	now in the initial value defined in comint.el.
	(ansi-color-apply-face-function): New variable.
	(ansi-color-apply-on-region): Use it.
	(ansi-color-apply-overlay-face): New function.

	* shell.el (shell): No need to require ansi-color.
	(shell-mode): Use ansi-color-apply-face-function to highlight
	color escapes using font-lock-face property (Bug#10835).

796 797 798 799 800
2012-02-19  Chong Yidong  <cyd@gnu.org>

	* vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
	mode-line formats (Bug#10839).

801 802
2012-02-18  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
803 804 805 806
	* mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.

	* mail/undigest.el (unforward-rmail-message): Doc fix.

807 808
	* saveplace.el (save-place-ignore-files-regexp): Add :version.

809 810 811 812 813
2012-02-18  Eli Zaretskii  <eliz@gnu.org>

	* international/characters.el (script-list): Sync with the latest
	Unicode Character Database.

814 815 816 817 818 819
2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>

	* international/titdic-cnv.el: Remove duplicate coding tag.
	* language/cham.el: Likewise.
	* language/tai-viet.el: Likewise.

820 821 822 823 824 825 826 827 828 829
2012-02-18  Glenn Morris  <rgm@gnu.org>

	* calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
	* calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
	(calendar-bahai-all-holidays-flag, calendar-other-dates):
	* calendar/diary-lib.el (diary-abbreviated-year-flag):
	* calendar/holidays.el (holiday-bahai-holidays)
	(calendar-holidays, list-holidays):
	Use utf-8 Bahá'í in doc-strings, menus, etc.

830 831 832 833 834 835 836 837
2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>

	* saveplace.el (save-place-ignore-files-regexp): New variable
	allowing for excluding files from saving their location of point.
	The default value matches the temporary commit message editing
	files from Git, SVN, Bazaar, and Mercurial.
	(save-place-to-alist): Use it.

838 839 840 841 842 843
2012-02-17  Lawrence Mitchell <wence@gmx.li>
            Stefan Monnier  <monnier@iro.umontreal.ca>

	* newcomment.el (uncomment-region-default): Don't leave extra space
	when an arg is provided (bug#8150).

844 845
2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>

846
	* net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
847

848 849 850 851
2012-02-17  Glenn Morris  <rgm@gnu.org>

	* net/socks.el: Require network-stream.  (Bug#10599)

Kenichi Handa's avatar
Kenichi Handa committed
852
2012-02-17  Kenichi Handa  <handa@m17n.org>
853 854 855 856 857 858

	* international/charprop.el:
	* international/uni-name.el:
	* international/uni-old-name.el:
	* international/uni-comment.el: Regenerate.

859 860 861 862 863
2012-02-16  Glenn Morris  <rgm@gnu.org>

	* calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
	Interactively in calendar buffer, give an error if not on a date.

864 865 866 867 868
2012-02-15  Glenn Morris  <rgm@gnu.org>

	* shell.el (shell-delimiter-argument-list):
	Revert 2011-02-17 change.  (Bug#8027)

869 870
2012-02-15  Chong Yidong  <cyd@gnu.org>

871 872
	* minibuffer.el (completion-at-point-functions): Doc fix.

873 874
	* custom.el (defcustom): Doc fix; note use of defvar.

Glenn Morris's avatar
Glenn Morris committed
875 876 877 878 879
2012-02-15  Glenn Morris  <rgm@gnu.org>

	* mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
	Doc fixes.

880 881 882 883
2012-02-14  Glenn Morris  <rgm@gnu.org>

	* mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.

884 885 886 887
2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
	way the ports list is computed.
888 889
	(smtpmail-query-smtp-server): Prompt the user for a port number if
	we can't connect to any of the standard ports (bug#10810).
890

891 892 893 894
2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/gnutls.el (gnutls-trustfiles): Add Cygwin location.

895 896 897 898
2012-02-13  Glenn Morris  <rgm@gnu.org>

	* minibuffer.el (read-file-name): Doc fix.  (Bug#10798)

899 900 901 902 903
2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/gnutls.el (gnutls-trustfiles): New variable.
	(gnutls-negotiate): Use it.

Lars Ingebrigtsen's avatar
Lars Ingebrigtsen committed
904 905 906 907 908
2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>

	* simple.el (mail-user-agent): Mention that `gnus-user-agent' only
	does its stuff if Gnus is running.

909 910 911 912
2012-02-13  Alan Mackenzie  <acm@muc.de>

	Fix a loop in c-set-fl-decl-start.

913
	* progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
914 915
	c-backward-syntactic-ws actually moves backwards.

916 917 918 919 920
2012-02-13  Leo Liu  <sdl.web@gmail.com>

	* net/rcirc.el (rcirc-markup-attributes): Move point to the
	beginning so that all \C-o chars are removed.

921 922
2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>

923
	* net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
924

925 926 927 928 929
2012-02-12  Alan Mackenzie  <acm@muc.de>

	Fix infinite loop with long macros.
	* cc-engine.el (c-state-safe-place): Handle macros properly.

930 931 932 933
2012-02-12  Chong Yidong  <cyd@gnu.org>

	* window.el (display-buffer): Doc fix (Bug#10785).

934 935
2012-02-12  Glenn Morris  <rgm@gnu.org>

936 937 938 939
	* term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
	(x-disown-selection-internal, x-get-selection-internal):
	Sync docs with the xselect.c versions.

940 941
	* allout-widgets.el: Add missing license notice.

Glenn Morris's avatar
Glenn Morris committed
942 943
2012-02-11  Glenn Morris  <rgm@gnu.org>

944 945 946 947
	* select.el (x-get-selection-internal, x-own-selection-internal)
	(x-disown-selection-internal):
	* x-dnd.el (x-get-selection-internal): Update declarations.

948 949
	* vc/log-view.el (vc-diff-internal): Remove unneeded declaration.

950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023
	* window.el (window-sides-slots):
	* tool-bar.el (tool-bar-position):
	* term/xterm.el (xterm-extra-capabilities):
	* ses.el (ses-self-reference-early-detection):
	* progmodes/verilog-mode.el (verilog-auto-declare-nettype)
	(verilog-auto-wire-type)
	(verilog-auto-delete-trailing-whitespace)
	(verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
	(verilog-auto-tieoff-declaration):
	* progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
	(sql-oracle-statement-starters, sql-oracle-scan-on):
	* progmodes/prolog.el (prolog-align-comments-flag)
	(prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
	(prolog-left-indent-regexp, prolog-paren-indent-p)
	(prolog-paren-indent, prolog-parse-mode, prolog-keywords)
	(prolog-types, prolog-mode-specificators)
	(prolog-determinism-specificators, prolog-directives)
	(prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
	(prolog-electric-dot-flag)
	(prolog-electric-dot-full-predicate-template)
	(prolog-electric-underscore-flag, prolog-electric-tab-flag)
	(prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
	(prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
	(prolog-program-switches, prolog-prompt-regexp)
	(prolog-debug-on-string, prolog-debug-off-string)
	(prolog-trace-on-string, prolog-trace-off-string)
	(prolog-zip-on-string, prolog-zip-off-string)
	(prolog-use-standard-consult-compile-method-flag)
	(prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
	(prolog-imenu-max-lines, prolog-info-predicate-index)
	(prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
	(prolog-char-quote-workaround):
	* progmodes/cc-vars.el (c-defun-tactic):
	* net/tramp.el (tramp-encoding-command-interactive)
	(tramp-local-end-of-line):
	* net/soap-client.el (soap-client):
	* net/netrc.el (netrc-file):
	* net/gnutls.el (gnutls):
	* minibuffer.el (completion-category-overrides)
	(completion-cycle-threshold)
	(completion-pcm-complete-word-inserts-delimiters):
	* man.el (Man-name-local-regexp):
	* mail/feedmail.el (feedmail-display-full-frame):
	* international/characters.el (glyphless-char-display-control):
	* eshell/em-ls.el (eshell-ls-date-format):
	* emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
	(lisp-lambda-list-keyword-parameter-indentation)
	(lisp-lambda-list-keyword-parameter-alignment):
	* doc-view.el (doc-view-image-width, doc-view-unoconv-program):
	* dired-x.el (dired-omit-verbose):
	* cus-theme.el (custom-theme-allow-multiple-selections):
	* calc/calc.el (calc-highlight-selections-with-faces)
	(calc-lu-field-reference, calc-lu-power-reference)
	(calc-note-threshold):
	* battery.el (battery-mode-line-limit):
	* arc-mode.el (archive-7z-extract, archive-7z-expunge)
	(archive-7z-update):
	* allout.el (allout-prefixed-keybindings)
	(allout-unprefixed-keybindings)
	(allout-inhibit-auto-fill-on-headline)
	(allout-flattened-numbering-abbreviation):
	* allout-widgets.el (allout-widgets-auto-activation)
	(allout-widgets-icons-dark-subdir)
	(allout-widgets-icons-light-subdir, allout-widgets-icon-types)
	(allout-widgets-theme-dark-background)
	(allout-widgets-theme-light-background)
	(allout-widgets-item-image-properties-emacs)
	(allout-widgets-item-image-properties-xemacs)
	(allout-widgets-run-unit-tests-on-load)
	(allout-widgets-time-decoration-activity)
	(allout-widgets-hook-error-post-time)
	(allout-widgets-track-decoration):
	Add missing :version tags to new defcustoms and defgroups.

1024 1025 1026
	* progmodes/sql.el (sql-ansi-statement-starters)
	(sql-oracle-statement-starters): Add custom type.

Glenn Morris's avatar
Glenn Morris committed
1027 1028 1029
	* progmodes/prolog.el: Remove leading '*' from defcustom docs.
	(prolog-system-version): Give it a type.

1030 1031 1032 1033 1034 1035 1036
2012-02-11  Eli Zaretskii  <eliz@gnu.org>

	* term/pc-win.el (x-select-text, x-selection-owner-p)
	(x-own-selection-internal, x-disown-selection-internal)
	(x-get-selection-internal): Sync doc strings and argument lists
	with xselect.c, common-win.el and x-win.el.  (Bug#10783)

1037 1038 1039 1040 1041
2012-02-11  Leo Liu  <sdl.web@gmail.com>

	* progmodes/python.el (python-end-of-statement): Fix infinite
	loop.  (Bug#10788)

Glenn Morris's avatar
Glenn Morris committed
1042 1043 1044 1045 1046
2012-02-10  Glenn Morris  <rgm@gnu.org>

	* international/mule-cmds.el (unify-8859-on-encoding-mode)
	(unify-8859-on-decoding-mode): Properly mark as obsolete.

1047 1048 1049 1050 1051
2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	* mail/emacsbug.el (report-emacs-bug-hook): Query the user first
	about SMTP before checking the From header.

1052
	* mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1053 1054
	into own function for reuse by emacsbug.el.

1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065
2012-02-10  Leo Liu  <sdl.web@gmail.com>

	* subr.el (condition-case-unless-debug): Rename from
	condition-case-no-debug.  All callers changed.
	(with-demoted-errors): Fix caller.

	* vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
	* nxml/rng-valid.el (rng-do-some-validation):
	* emacs-lisp/package.el (package-refresh-contents)
	(package-menu-execute):
	* desktop.el (desktop-create-buffer):
1066
	* font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1067

1068 1069
2012-02-10  Glenn Morris  <rgm@gnu.org>

1070 1071 1072
	* textmodes/bibtex.el:
	Add missing :version tags for new/changed defcustoms.

1073 1074
	* files.el (remote-file-name-inhibit-cache): Doc fixes.

1075 1076 1077 1078 1079 1080
2012-02-09  Lars Ingebrigtsen  <larsi@rusty>

	* mail/smtpmail.el (smtpmail-user-mail-address): New function.
	(smtpmail-via-smtp): Use it, or fall back on the From address.
	(smtpmail-send-it): Ditto.

1081 1082 1083 1084 1085 1086 1087 1088
2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
	Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
	(byte-compile-tmp-var): New const.
	(byte-compile-defvar): Use it to minimize .elc size.
	Just use `defvar' rather than simulate it (bug#10761).

Glenn Morris's avatar
Glenn Morris committed
1089 1090
2012-02-09  Glenn Morris  <rgm@gnu.org>

1091 1092
	* files.el (rename-uniquely): Doc fix.  (Bug#3806)

Glenn Morris's avatar
Glenn Morris committed
1093 1094 1095
	* progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
	Add :version tags.

1096 1097
	* progmodes/compile.el (compilation-error-screen-columns)
	(compilation-first-column, compilation-filter-start): Doc fixes.
Glenn Morris's avatar
Glenn Morris committed
1098

Glenn Morris's avatar
Glenn Morris committed
1099 1100 1101
	* vc/log-view.el (log-view-toggle-entry-display):
	* vc/vc.el (vc-merge, vc-pull): Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
1102 1103 1104 1105 1106
	* mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
	(report-emacs-bug-can-use-xdg-email):
	(report-emacs-bug-insert-to-mailer): Doc fixes.
	(report-emacs-bug): Message fix.

Glenn Morris's avatar
Glenn Morris committed
1107 1108 1109
	* net/browse-url.el (browse-url-can-use-xdg-open)
	(browse-url-xdg-open): Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
1110 1111 1112 1113
	* electric.el (electric-indent-mode, electric-pair-mode)
	(electric-layout-rules, electric-layout-mode): Doc fixes.
	(electric-pair-pairs, electric-pair-skip-self): Add :version tags.

1114 1115 1116 1117 1118
2012-02-08  Martin Rudalics  <rudalics@gmx.at>

	* server.el (server-unselect-display): Don't inadvertently kill
	the current buffer.  (Bug#10729)

1119 1120
2012-02-08  Glenn Morris  <rgm@gnu.org>

1121 1122 1123
	* progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
	(sql-list-table): Doc fixes.

1124 1125 1126
	* image-mode.el (image-transform-minor-mode-map, image-transform-mode):
	Comment out (does nothing).

1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156
	* completion.el (dynamic-completion-mode):
	* dirtrack.el (dirtrack-debug-mode):
	* electric.el (electric-layout-mode):
	* epa-mail.el (epa-mail-mode, epa-global-mail-mode):
	* face-remap.el (text-scale-mode, buffer-face-mode):
	* iimage.el (iimage-mode):
	* image-mode.el (image-transform-mode):
	* minibuffer.el (completion-in-region-mode):
	* scroll-lock.el (scroll-lock-mode):
	* simple.el (next-error-follow-minor-mode):
	* tar-mode.el (tar-subfile-mode):
	* tooltip.el (tooltip-mode):
	* vcursor.el (vcursor-use-vcursor-map):
	* wid-browse.el (widget-minor-mode):
	* emulation/tpu-edt.el (tpu-edt-mode):
	* emulation/tpu-extras.el (tpu-cursor-free-mode):
	* international/iso-ascii.el (iso-ascii-mode):
	* language/thai-util.el (thai-word-mode):
	* mail/supercite.el (sc-minor-mode):
	* net/goto-addr.el (goto-address-mode):
	* net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
	* progmodes/cwarn.el (cwarn-mode):
	* progmodes/flymake.el (flymake-mode):
	* progmodes/glasses.el (glasses-mode):
	* progmodes/hideshow.el (hs-minor-mode):
	* progmodes/pascal.el (pascal-outline-mode):
	* textmodes/enriched.el (enriched-mode):
	* vc/smerge-mode.el (smerge-mode):
	Doc fixes (minor mode argument).

1157 1158 1159 1160 1161 1162
2012-02-07  Eli Zaretskii  <eliz@gnu.org>

	* ls-lisp.el (ls-lisp-sanitize): New function.
	(ls-lisp-insert-directory): Use it to fix or remove any elements
	in file-alist with missing attributes.  (Bug#4673)

1163 1164 1165 1166 1167 1168 1169
2012-02-07  Alan Mackenzie  <acm@muc.de>

	Fix spurious recognition of c-in-knr-argdecl.

	* progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
	putative K&R region.

1170 1171
2012-02-07  Alan Mackenzie  <acm@muc.de>

1172 1173
	* progmodes/cc-engine.el (c-forward-objc-directive):
	Prevent looping in "#pragma mark @implementation".
1174

1175 1176 1177 1178 1179
2012-02-07  Michael Albinus  <michael.albinus@gmx.de>

	* notifications.el (notifications-on-closed-signal): Make `reason'
	optional.  (Bug#10744)

Glenn Morris's avatar
Glenn Morris committed
1180 1181
2012-02-07  Glenn Morris  <rgm@gnu.org>

1182 1183 1184
	* emacs-lisp/easy-mmode.el (define-minor-mode):
	Doc fixes for the macro and the mode it defines.

Glenn Morris's avatar
Glenn Morris committed
1185 1186
	* image.el (imagemagick-types-inhibit): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
1187 1188
	* cus-start.el (imagemagick-render-type): Add it.

1189 1190 1191 1192 1193 1194 1195 1196
2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>

	* progmodes/cc-mode.el
	(c-standard-font-lock-fontify-region-function): Set the default at
	load time, too, so that `font-lock-fontify-buffer' can be called
	without setting up the entire mode first.  This fixes a bug in
	`mm-inline-text' with C MIME parts.

1197 1198
2012-02-06  Chong Yidong  <cyd@gnu.org>

1199 1200 1201
	* simple.el (list-processes--refresh): Delete exited processes
	(Bug#8094).

1202 1203 1204
	* comint.el (comint-next-prompt): next-single-char-property-change
	and prev-single-char-property-change never return nil (Bug#8657).

1205 1206
	* custom.el (defcustom): Doc fix (Bug#9711).

1207 1208
2012-02-05  Chong Yidong  <cyd@gnu.org>

1209 1210
	* cus-edit.el (custom-variable-reset-backup): Quote the value
	before storing it in the customized-value property (Bug#6712).
1211
	(custom-display): Add a customization type tag.
1212
	(custom-buffer-create-internal): Improve tooltip message.
1213

1214 1215 1216 1217
	* wid-edit.el (widget-field-value-get): New optional arg to
	suppress trailing whitespace truncation.
	(character): Use it (Bug#2689).

1218 1219 1220 1221 1222
2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>

	* progmodes/gud.el (gud-pv): Use pv instead of pv1.
	* progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.

1223 1224
2012-02-05  Chong Yidong  <cyd@gnu.org>

1225 1226 1227
	* cus-edit.el (custom-variable-value-create): For mismatched
	types, show the current value (Bug#7600).

1228 1229
	* custom.el (defcustom): Doc fix.

1230 1231 1232 1233
2012-02-05  Glenn Morris  <rgm@gnu.org>

	* font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.

1234 1235 1236 1237 1238 1239
2012-02-05  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
	(pp-buffer): Use `ignore-errors', `looking-at-p'.
	(pp-last-sexp): Use `looking-at-p'.

1240 1241
2012-02-04  Glenn Morris  <rgm@gnu.org>

1242 1243 1244
	* files.el (revert-buffer):
	Doc fix (mention revert-buffer-in-progress-p).

Glenn Morris's avatar
Glenn Morris committed
1245 1246 1247
	* emacs-lisp/ert-x.el (ert-simulate-command):
	Check deferred-action-list (which is obsolete) is bound.

1248 1249
	* subr.el (with-wrapper-hook): Doc fixes.

1250 1251 1252
	* simple.el (filter-buffer-substring-functions)
	(buffer-substring-filters, filter-buffer-substring): Doc fixes.

1253 1254 1255 1256 1257
2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)

	* eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
	anywhere in shell-file-name, not just at the beginning.  (Bug#10523)

Leo Liu's avatar
Leo Liu committed
1258 1259 1260 1261
2012-02-04  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/smie.el: Fix dead link (Bug#10711).

1262 1263
2012-02-04  Glenn Morris  <rgm@gnu.org>

1264 1265
	* image.el (image-extension-data): Add obsolete alias.

1266 1267
	* isearch.el (isearch-update): Doc fix.

1268 1269
	* facemenu.el (list-colors-display): Doc fix (minor rephrasing).

1270 1271
	* ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).

Glenn Morris's avatar
Glenn Morris committed
1272 1273 1274 1275 1276 1277 1278
2012-02-03  Glenn Morris  <rgm@gnu.org>

	* image.el (image-animated-p): Doc fix.  Use image-animated-types.
	(image-animate-timeout): Doc fix.

	* image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.

1279 1280
2012-02-02  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1281 1282 1283
	* server.el (server-auth-dir): Doc fix.
	(server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.

1284 1285
	* subr.el (run-mode-hooks): Doc fix.

1286 1287 1288 1289 1290
2012-02-02  Juri Linkov  <juri@jurta.org>

	* image-mode.el (image-toggle-display-image): Remove tautological
	`major-mode' from the `derived-mode-p' test.