ChangeLog 418 KB
Newer Older
1 2
2012-03-16  Glenn Morris  <rgm@gnu.org>

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

6 7 8
	* calendar/calendar.el (calendar-insert-at-column):
	Handle non-unit-width characters a bit better.  (Bug#10978)

9 10 11 12 13 14 15 16
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.

17 18
2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>

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

22 23 24 25
	* 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.

26 27 28 29 30
2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>

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

31 32 33 34 35
2012-03-13  Glenn Morris  <rgm@gnu.org>

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

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

41 42 43 44 45 46
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.

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

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

61 62 63 64 65 66
2012-03-12  Leo Liu  <sdl.web@gmail.com>

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

67 68 69 70 71 72
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.

73 74 75 76 77 78 79
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.

80 81 82 83 84 85
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.

86 87
2012-03-12  Chong Yidong  <cyd@gnu.org>

88 89 90 91 92
	* 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.

93 94 95 96
	* 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.

97 98 99 100
2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>

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

101 102 103 104 105 106
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.

107 108
2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>

109 110
	* server.el (server-eval-at): Handle non-tcp connections.
	Decode result string.
111

112 113 114 115 116 117
	* 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.

118 119 120 121 122
2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>

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

123 124
2012-03-11  Chong Yidong  <cyd@gnu.org>

125 126
	* simple.el (goto-line): Doc fix (Bug#9938).

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

129 130 131
	* dabbrev.el (dabbrev--find-expansion): Update progress reporter
	when finished (Bug#10963).

132 133 134 135 136
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).

137 138 139 140 141
2012-03-11  Juri Linkov  <juri@jurta.org>

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

142 143 144 145 146 147 148 149 150
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
	^, ~, and = characters: they are meaningful in mairix search
	specs.
	(mairix-widget-create-query): Add usage information about mairix
	search forms: negating words, searching for substrings, etc.

151 152 153 154 155
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).

156 157
2012-03-10  Richard Stallman  <rms@gnu.org>

158 159 160
	* mail/sendmail.el (mail-encode-header):
	Set rfc2047-encode-encoded-words.

161 162
	* mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.

163 164 165 166 167
	* 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.

168 169
	* epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.

170 171 172
2012-03-10  Chong Yidong  <cyd@gnu.org>

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

176 177
2012-03-10  Martin Rudalics  <rudalics@gmx.at>

178 179
	* speedbar.el (speedbar-unhighlight-one-tag-line):
	Avoid unhighlighting due to frame switching (Bug#10275).
180

181 182
2012-03-10  Chong Yidong  <cyd@gnu.org>

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

186 187 188 189 190
	* 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.

191 192 193 194 195
2012-03-09  Michael Albinus  <michael.albinus@gmx.de>

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

196 197 198 199 200
2012-03-09  Leo Liu  <sdl.web@gmail.com>

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

201 202
2012-03-09  Eli Zaretskii  <eliz@gnu.org>

203 204
	* mail/smtpmail.el (smtpmail-send-it):
	Bind coding-system-for-write to *-unix, so that FCC files are kept in
205 206
	valid mbox format.

Glenn Morris's avatar
Glenn Morris committed
207 208 209 210 211 212
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.

213 214
2012-03-08  Eli Zaretskii  <eliz@gnu.org>

215 216
	* international/quail.el (quail-insert-kbd-layout):
	Insert invisible LRM characters before each character in a keyboard
217 218 219 220
	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.

221 222 223 224 225 226 227
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.

228 229 230 231 232
2012-03-08  Glenn Morris  <rgm@gnu.org>

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

233 234
2012-03-07  Eli Zaretskii  <eliz@gnu.org>

235 236
	* international/quail.el (quail-help):
	Force bidi-paragraph-direction be left-to-right.  See discussion in
237 238 239
	http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
	for the reason.

Michael Albinus's avatar
Michael Albinus committed
240
2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
241 242 243 244 245 246 247 248 249 250 251

	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.

252 253 254 255 256
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
257 258 259 260 261 262
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)

263 264 265 266 267
2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)

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

268 269 270 271 272
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.

273 274 275 276
2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>

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

277 278
2012-03-06  Glenn Morris  <rgm@gnu.org>

279 280 281
	* files.el (dir-locals-find-file):
	Ignore non-readable or non-regular files.  (Bug#10928)

282 283
	* files.el (locate-dominating-file): Doc fix.

284 285 286 287 288
2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)

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

289 290
2012-03-05  Leo Liu  <sdl.web@gmail.com>

291 292 293
	* simple.el (backward-delete-char-untabify): Constrain point to
	field (Bug#10939).

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

296 297 298 299 300 301 302 303 304
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.

305 306 307 308 309 310
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.

311 312 313 314 315
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).

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

322 323
2012-03-04  Michael Albinus  <michael.albinus@gmx.de>

324 325 326
	* notifications.el (notifications-on-action-signal)
	(notifications-on-closed-signal): Check for unique service name of
	incoming event.  Fix error in removing entry.
327
	(top): Register for signals with wildcard service name.
328
	(notifications-notify): Use daemon unique service name for map entries.
329

330 331 332 333 334
2012-03-04  Chong Yidong  <cyd@gnu.org>

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

Glenn Morris's avatar
Glenn Morris committed
335 336 337 338 339 340
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.

341 342 343 344 345 346 347
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).

348 349 350 351
	* 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).

352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367
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.
368 369
	(c-in-literal, c-literal-limits, c-determine-limit-get-base):
	Use c-state-semi-safe-place.
370

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

374 375
2012-03-02  Michael Albinus  <michael.albinus@gmx.de>

376 377
	* jka-compr.el (jka-compr-call-process):
	Apply `file-accessible-directory-p' only when the default directory is
378 379
	not remote.

380 381 382 383 384
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.

385 386 387 388 389 390
	* 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'.

391 392 393 394 395 396 397 398 399
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
400 401 402 403
2012-02-29  Leo Liu  <sdl.web@gmail.com>

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

404 405
2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
406 407
	* files.el (file-equal-p): Rename from `files-equal-p'.
	Return nil when one or both files don't exist.
408 409
	(file-subdir-of-p): Now only top directory must exists,
	return nil if it doesn't.
Juanma Barranquero's avatar
Juanma Barranquero committed
410 411 412 413
	(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'.
414

415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435
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).

436 437
2012-02-27  Chong Yidong  <cyd@gnu.org>

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

441 442 443
	* font-lock.el (font-lock-specified-p): Rename from
	font-lock-spec-present.  Callers changed.

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

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

449 450 451 452 453
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.

454 455 456 457 458 459 460 461 462 463 464 465 466
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.

	* font-lock.el (font-lock-initial-fontify): call ...
	(font-lock-spec-present): New function.

467 468 469 470 471 472 473
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).

474 475
2012-02-26  Chong Yidong  <cyd@gnu.org>

476 477 478
	* help-fns.el (describe-function-1): Clarify description of
	remapping (Bug#10844).

479 480 481 482
	* 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
483 484 485 486 487 488
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)

489 490 491 492 493
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).

494 495 496 497 498
2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>

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

499 500
2012-02-25  Michael Albinus  <michael.albinus@gmx.de>

501 502
	* net/tramp.el (tramp-file-name-for-operation):
	Add `files-equal-p' and `file-subdir-of-p'.
503 504

	* net/tramp-sh.el (tramp-sh-handle-copy-directory):
505 506
	* net/tramp-smb.el (tramp-smb-handle-copy-directory):
	Add COPY-CONTENTS argument.
507

508 509 510 511 512 513 514 515 516 517 518 519 520 521
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.

522 523
2012-02-25  Chong Yidong  <cyd@gnu.org>

524 525
	* newcomment.el (comment-styles): Add autoload (Bug#10868).

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

529
2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
530

531
	* files.el (file-subdir-of-p): Fix typo.
532

533 534
2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

535 536
	* files.el (files-equal-p, file-subdir-of-p): New functions.
	(copy-directory): Error when trying to copy a directory on itself.
537
	Add missing copy-contents arg to tramp handler.
538 539 540
	* dired-aux.el (dired-copy-file-recursive): Same.
	(dired-create-files): Modify destination when source is equal to
	dest when copying files.
541
	Return also when dest is a subdir of source.  (Bug#10489)
542

543 544 545 546 547
2012-02-24  Michael Albinus  <michael.albinus@gmx.de>

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

548 549 550 551 552 553 554
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
555
	from font-lock-mode-internal.
556

557
	* font-core.el (font-lock-mode): Call font-lock-initial-fontify in
558 559
	:after-hook.

560 561
2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>

562 563 564 565 566 567
	* 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.

568 569 570
	* icomplete.el (icomplete-completions): Replace last fix with a better
	one (bug#10850).

571 572 573 574 575
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
576 577 578 579
2012-02-23  Glenn Morris  <rgm@gnu.org>

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

580 581 582 583 584
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
585 586
2012-02-23  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
587
	* emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
Glenn Morris's avatar
Glenn Morris committed
588 589 590 591
	(authors-obsolete-files-regexps, authors-ignored-files)
	(authors-ambiguous-files, authors-renamed-files-alist):
	Add more entries.

592 593 594 595 596
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)

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

599 600 601 602 603 604
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
605 606
2012-02-22  Alan Mackenzie  <acm@muc.de>

607
	* 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
608

609 610 611 612 613
2012-02-22  Glenn Morris  <rgm@gnu.org>

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

614 615 616 617
2012-02-22  Chong Yidong  <cyd@gnu.org>

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

618 619 620 621 622
2012-02-22  Glenn Morris  <rgm@gnu.org>

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

623 624
2012-02-21  Glenn Morris  <rgm@gnu.org>

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

Glenn Morris's avatar
Glenn Morris committed
628
	* textmodes/picture.el (picture-delete-char): New alias.
629 630 631
	(picture-mode-map): Use it.  (Bug#10860)
	(picture-mode): Doc fix.

632 633 634 635
2012-02-21  Juanma Barranquero  <lekktu@gmail.com>

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

Glenn Morris's avatar
Glenn Morris committed
636 637 638 639 640 641
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.

642 643 644 645
2012-02-20  Glenn Morris  <rgm@gnu.org>

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

646 647 648 649 650
2012-02-20  Leo Liu  <sdl.web@gmail.com>

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

651 652 653 654 655 656 657 658 659 660 661 662 663 664 665
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).

666 667 668 669 670
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).

671 672
2012-02-18  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
673 674 675 676
	* mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.

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

677 678
	* saveplace.el (save-place-ignore-files-regexp): Add :version.

679 680 681 682 683
2012-02-18  Eli Zaretskii  <eliz@gnu.org>

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

684 685 686 687 688 689
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.

690 691 692 693 694 695 696 697 698 699
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.

700 701 702 703 704 705 706 707
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.

708 709 710 711 712 713
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).

714 715
2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>

716
	* net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
717

718 719 720 721
2012-02-17  Glenn Morris  <rgm@gnu.org>

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

Kenichi Handa's avatar
Kenichi Handa committed
722
2012-02-17  Kenichi Handa  <handa@m17n.org>
723 724 725 726 727 728

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

729 730 731 732 733
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.

734 735 736 737 738
2012-02-15  Glenn Morris  <rgm@gnu.org>

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

739 740
2012-02-15  Chong Yidong  <cyd@gnu.org>

741 742
	* minibuffer.el (completion-at-point-functions): Doc fix.

743 744
	* custom.el (defcustom): Doc fix; note use of defvar.

Glenn Morris's avatar
Glenn Morris committed
745 746 747 748 749
2012-02-15  Glenn Morris  <rgm@gnu.org>

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

750 751 752 753
2012-02-14  Glenn Morris  <rgm@gnu.org>

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

754 755 756 757
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.
758 759
	(smtpmail-query-smtp-server): Prompt the user for a port number if
	we can't connect to any of the standard ports (bug#10810).
760

761 762 763 764
2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>

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

765 766 767 768
2012-02-13  Glenn Morris  <rgm@gnu.org>

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

769 770 771 772 773
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
774 775 776 777 778
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.

779 780 781 782
2012-02-13  Alan Mackenzie  <acm@muc.de>

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

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

786 787 788 789 790
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.

791 792 793 794 795
2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>

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

796 797 798 799 800
2012-02-12  Alan Mackenzie  <acm@muc.de>

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

801 802 803 804
2012-02-12  Chong Yidong  <cyd@gnu.org>

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

805 806
2012-02-12  Glenn Morris  <rgm@gnu.org>

807 808 809 810
	* 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.

811 812
	* allout-widgets.el: Add missing license notice.

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

815 816 817 818
	* select.el (x-get-selection-internal, x-own-selection-internal)
	(x-disown-selection-internal):
	* x-dnd.el (x-get-selection-internal): Update declarations.

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

821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894
	* 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.

895 896 897
	* progmodes/sql.el (sql-ansi-statement-starters)
	(sql-oracle-statement-starters): Add custom type.

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

901 902 903 904 905 906 907
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)

908 909 910 911 912
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
913 914 915 916 917
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.

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

923
	* mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
924 925
	into own function for reuse by emacsbug.el.

926 927 928 929 930 931 932 933 934 935 936
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):
937
	* font-lock.el (lisp-font-lock-keywords-2): Caller changed.
938

939 940
2012-02-10  Glenn Morris  <rgm@gnu.org>

941 942 943
	* textmodes/bibtex.el:
	Add missing :version tags for new/changed defcustoms.

944 945
	* files.el (remote-file-name-inhibit-cache): Doc fixes.

946 947 948 949 950 951
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.

952 953 954 955 956 957 958 959
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
960 961
2012-02-09  Glenn Morris  <rgm@gnu.org>

962 963
	* files.el (rename-uniquely): Doc fix.  (Bug#3806)

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

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

Glenn Morris's avatar
Glenn Morris committed
970 971 972
	* 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
973 974 975 976 977
	* 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
978 979 980
	* net/browse-url.el (browse-url-can-use-xdg-open)
	(browse-url-xdg-open): Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
981 982 983 984
	* 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.

985 986 987 988 989
2012-02-08  Martin Rudalics  <rudalics@gmx.at>

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

990 991
2012-02-08  Glenn Morris  <rgm@gnu.org>

992 993 994
	* progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
	(sql-list-table): Doc fixes.

995 996 997
	* image-mode.el (image-transform-minor-mode-map, image-transform-mode):
	Comment out (does nothing).

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 1024 1025 1026 1027
	* 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).

1028 1029 1030 1031 1032 1033
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)

1034 1035 1036 1037 1038 1039 1040
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.

1041 1042
2012-02-07  Alan Mackenzie  <acm@muc.de>

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

1046 1047 1048 1049 1050
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
1051 1052
2012-02-07  Glenn Morris  <rgm@gnu.org>

1053 1054 1055
	* 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
1056 1057
	* image.el (imagemagick-types-inhibit): Doc fix.

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

1060 1061 1062 1063 1064 1065 1066 1067
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.

1068 1069
2012-02-06  Chong Yidong  <cyd@gnu.org>

1070 1071 1072
	* simple.el (list-processes--refresh): Delete exited processes
	(Bug#8094).

1073 1074 1075
	* comint.el (comint-next-prompt): next-single-char-property-change
	and prev-single-char-property-change never return nil (Bug#8657).

1076 1077
	* custom.el (defcustom): Doc fix (Bug#9711).

1078 1079
2012-02-05  Chong Yidong  <cyd@gnu.org>

1080 1081
	* cus-edit.el (custom-variable-reset-backup): Quote the value
	before storing it in the customized-value property (Bug#6712).
1082
	(custom-display): Add a customization type tag.
1083
	(custom-buffer-create-internal): Improve tooltip message.
1084

1085 1086 1087 1088
	* wid-edit.el (widget-field-value-get): New optional arg to
	suppress trailing whitespace truncation.
	(character): Use it (Bug#2689).

1089 1090 1091 1092 1093
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.

1094 1095
2012-02-05  Chong Yidong  <cyd@gnu.org>

1096 1097 1098
	* cus-edit.el (custom-variable-value-create): For mismatched
	types, show the current value (Bug#7600).

1099 1100
	* custom.el (defcustom): Doc fix.

1101 1102 1103 1104
2012-02-05  Glenn Morris  <rgm@gnu.org>

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

1105 1106 1107 1108 1109 1110
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'.

1111 1112
2012-02-04  Glenn Morris  <rgm@gnu.org>

1113 1114 1115
	* files.el (revert-buffer):
	Doc fix (mention revert-buffer-in-progress-p).

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

1119 1120
	* subr.el (with-wrapper-hook): Doc fixes.

1121 1122 1123
	* simple.el (filter-buffer-substring-functions)
	(buffer-substring-filters, filter-buffer-substring): Doc fixes.

1124 1125 1126 1127 1128
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
1129 1130 1131 1132
2012-02-04  Leo Liu  <sdl.web@gmail.com>

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

1133 1134
2012-02-04  Glenn Morris  <rgm@gnu.org>

1135 1136
	* image.el (image-extension-data): Add obsolete alias.

1137 1138
	* isearch.el (isearch-update): Doc fix.

1139 1140
	* facemenu.el (list-colors-display): Doc fix (minor rephrasing).

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

Glenn Morris's avatar
Glenn Morris committed
1143 1144 1145 1146 1147 1148 1149
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.

1150 1151
2012-02-02  Glenn Morris  <rgm@gnu.org>

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

1155 1156
	* subr.el (run-mode-hooks): Doc fix.

1157 1158 1159 1160 1161
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.

1162 1163
2012-02-02  Kenichi Handa  <handa@m17n.org>

1164
	* composite.el (compose-region): Cancel previous change.
1165

Kenichi Handa's avatar
Kenichi Handa committed
1166
2012-02-02  Kenichi Handa  <handa@m17n.org>
1167 1168 1169 1170

	* composite.el (compose-region, compose-string): Signal error for
	a null string component (Bug#6988).

1171 1172
2012-02-01  Chong Yidong  <cyd@gnu.org>

1173 1174 1175 1176
	* view.el (view-buffer-other-window, view-buffer-other-frame):
	Handle special modes like view-buffer (Bug#10650).
	(view-buffer): Simplify.

1177 1178
	* frame.el (set-frame-font): Tweak meaning of third argument.

1179 1180
	* dynamic-setting.el (font-setting-change-default-font):
	Use set-frame-font (Bug#9982).
1181

1182 1183
2012-02-01  Glenn Morris  <rgm@gnu.org>

1184 1185 1186
	* progmodes/compile.el (compilation-internal-error-properties):
	Respect compilation-first-column in the "*compilation*" buffer.

1187 1188 1189
	* emacs-lisp/easy-mmode.el (define-minor-mode):
	Relax :variable's test for a named function.

1190 1191 1192 1193 1194
2012-01-31  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
	off by one error.

1195 1196 1197 1198 1199 1200 1201 1202 1203
2012-01-31  Chong Yidong  <cyd@gnu.org>

	* frame.el (set-frame-font): New arg ALL-FRAMES.

	* menu-bar.el (menu-set-font): Use set-frame-font.

	* faces.el (face-spec-reset-face): Don't apply unspecified
	attribute values to the default face.

1204 1205 1206 1207 1208 1209 1210 1211 1212
2012-01-31  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/cwarn.el (cwarn): Remove dead link.
	(cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
	Remove * from defcustom docstrings.
	(turn-on-cwarn-mode): Make obsolete.
	(c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
	(turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.

1213 1214
2012-01-31  Glenn Morris  <rgm@gnu.org>

1215
	* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1216
	Fix :variable handling of mode a symbol not equal to modefun.
1217
	Allow named functions to be used as the cdr of :variable.
1218

Glenn Morris's avatar
Glenn Morris committed
1219 1220 1221 1222 1223
2012-01-30  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-fixed-entries):
	Remove reference to deleted file rnewspost.el.

1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240
2012-01-29  Juanma Barranquero  <lekktu@gmail.com>

	* window.el (window-with-parameter): Remove unused variable `windows'.
	(window--side-check): Remove unused variable `code'.
	(window--resize-siblings): Remove unused variable `first'.
	(adjust-window-trailing-edge): Remove unused variable `failed'.
	(window-deletable-p, window--delete): Remove unused variable `buffer'.
	Use `let', not `let*'.
	(balance-windows-2): Remove unused variable `found'.
	(window--state-put-2): Remove unused variable `splits'.
	(window-state-put): Remove unused variable `selected'.
	(same-window-p): Use `string-match-p'.
	(display-buffer-assq-regexp): Remove unused variable `value'.
	(display-buffer-pop-up-frame, display-buffer-pop-up-window):
	Mark argument ALIST as ignored.
	(pop-to-buffer): Remove unused variable `old-window'.

1241 1242 1243 1244 1245
2012-01-29  Eli Zaretskii  <eliz@gnu.org>

	* jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
	and .lzma compressed files.

1246 1247
2012-01-29  Chong Yidong  <cyd@gnu.org>

1248 1249
	* frame.el (window-system-default-frame-alist): Doc fix.

1250 1251 1252
	* dynamic-setting.el (font-setting-change-default-font): Don't
	change the default face if SET-FONT argument is non-nil (Bug#9982).

1253 1254 1255 1256
2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)

	* custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).

1257
2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
Syver Enstad's avatar
Syver Enstad committed
1258 1259 1260 1261

	* progmodes/gud.el (pdb): Give pdb full paths, to allow setting
	breakpoints in files outside current directory (Bug#6098).

1262 1263
2012-01-29  Chong Yidong  <cyd@gnu.org>

Syver Enstad's avatar
Syver Enstad committed
1264 1265
	* progmodes/python.el: Require ansi-color at top-level.

Juanma Barranquero's avatar
Juanma Barranquero committed
1266 1267
	* emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
	Define and use in Emacs Lisp mode (Bug#9360).
1268 1269 1270 1271
	(lisp-mode-abbrev-table): Add doc.
	(lisp-mode-variables): Don't set local-abbrev-table.
	(lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.

1272 1273 1274 1275
2012-01-28  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.

1276 1277 1278 1279 1280 1281 1282 1283
2012-01-28  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-entry-alist): New function.
	(bibtex-set-dialect): Use it.  Either set global values of
	dialect-dependent variables or bind these variables buffer-locally
	(Bug#10254).
	(bibtex-mode): Call bibtex-set-dialect via
	hack-local-variables-hook.
1284 1285
	(bibtex-dialect): Update docstring.
	Add safe-local-variable predicate.
1286 1287 1288 1289 1290
	(bibtex-entry-alist, bibtex-field-alist): Initialize via
	bibtex-set-dialect.
	(bibtex-mode-map): Define menu for each dialect.
	(bibtex-entry): Fix docstring.

1291 1292 1293 1294 1295 1296 1297 1298
2012-01-28  Chong Yidong  <cyd@gnu.org>

	* eshell/esh-arg.el (eshell-quote-argument): New function.