ChangeLog 628 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
2012-08-06  Chong Yidong  <cyd@gnu.org>

	* window.el (window--maybe-raise-frame): New function.
	(window--display-buffer): Split off from here.
	(display-buffer-reuse-window, display-buffer-pop-up-frame)
	(display-buffer-pop-up-window, display-buffer-use-some-window):
	Obey an inhibit-switch-frame action alist entry.
	(display-buffer): Update doc.

	* replace.el (occur-after-change-function): Avoid losing focus by
	using the inhibit-switch-frame display parameter (Bug#12139).

13 14 15 16 17 18 19 20 21
2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>

	Make internal shell process buffer names start with space.
	* progmodes/python.el (python-shell-make-comint): Add optional
	argument INTERNAL.
	(run-python-internal): Use it.
	(python-shell-internal-get-or-create-process): Check for new
	internal buffer names.

22 23 24 25 26
2012-08-06  Glenn Morris  <rgm@gnu.org>

	* eshell/esh-ext.el (eshell/addpath): Use dolist.
	Do less getting and setting of environment variables.

27 28
2012-08-05  Chong Yidong  <cyd@gnu.org>

29 30 31
	* proced.el (proced): Add substitution string to docstring to
	trigger autoloading of the proced library on C-h f (Bug#1768).

32 33 34 35 36 37 38
	* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
	show defvars which have no second argument (Bug#8638).

	* imenu.el (imenu-generic-expression): Move documentation here
	from imenu--generic-function.
	(imenu--generic-function): Refer to imenu-generic-expression.

Chong Yidong's avatar
Chong Yidong committed
39
2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
40 41 42 43 44

	* emulation/viper-init.el (viper-deflocalvar): Add docstring and
	indentation declaration.
	(viper-loop): Add indentation declaration (Bug#7025).

45 46
2012-08-05  Chong Yidong  <cyd@gnu.org>

47 48 49 50 51 52
	* help-fns.el (describe-variable): Add hyperlink for
	directory-local variables files.  Improve buffer-local and
	permanent-local reporting; suggested by MON KEY (Bug#6644).

	* help-mode.el (help-dir-local-var-def): New button type.

53 54
	* files.el (kill-buffer-hook): Provide a defvar.

55 56 57 58 59
2012-08-05  Glenn Morris  <rgm@gnu.org>

	* eshell/esh-ext.el (eshell/addpath):
	Also update eshell-path-env.  (Bug#12013)

60 61
2012-08-05  Chong Yidong  <cyd@gnu.org>

62
	* wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
63

64 65 66 67 68
	* fringe.el (fringe-styles): Add docstring.
	(fringe--check-mode): New function.
	(set-fringe-mode, set-fringe-style): Use it.
	(fringe-mode, set-fringe-style): Doc fixes (Bug#6480).

69 70
	* files.el (set-auto-mode): Fix invalid setq call.

71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* isearch.el: Misc simplification; use defstruct.
	(isearch-mode-map): Dense maps now work like sparse ones.
	(isearch--state): New defstruct.
	(isearch-string-state, isearch-message-state, isearch-point-state)
	(isearch-success-state, isearch-forward-state)
	(isearch-other-end-state, isearch-word-state, isearch-error-state)
	(isearch-wrapped-state, isearch-barrier-state)
	(isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
	replaced by defstruct's accessors.
	(isearch--set-state): Rename from isearch-top-state and change
	calling convention.
	(isearch-push-state): Use new isearch--get-state.
	(isearch-toggle-word): Disable regexp when enabling word.
	(isearch-message-prefix): Remove unused arg _c-q-hack.
	(isearch-message-suffix): Remove unused arg _ellipsis.

89 90 91 92
2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>

	* simple.el (list-processes--refresh): For a server use :host or
	:local as the address.
93
	(list-processes): Doc fix.
94

95 96 97 98 99 100 101
2012-08-04  Michal Nazarewicz  <mina86@mina86.com>  (tiny change)

	* lisp/mpc.el: Support password in host argument.
	(mpc--proc-connect): Parse and use new password element.
	Set mpc-proc variable instead of returning process.
	(mpc-proc): Adjust accordingly.

102 103
2012-08-03  Eli Zaretskii  <eliz@gnu.org>

104 105 106 107 108
	* whitespace.el (whitespace-display-mappings): Use Unicode
	codepoints, instead of emacs-mule codepoints.  See
	http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
	for the details.

109 110 111 112 113 114
	* files.el (file-truename): Don't skip symlink-chasing part on
	windows-nt.  Incorporate the resolution of 8+3 short aliases on
	Windows into the loop that recursively chases symlinks.  Compare
	directory and its parent case-insensitively on MS-Windows and
	MS-DOS.

115 116
2012-08-03  Chong Yidong  <cyd@gnu.org>

117 118
	* menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.

119 120
	* sort.el (sort-regexp-fields): Doc fix.

121 122 123 124 125
2012-08-03  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex.el (reftex-compile-variables): Make keyvals
	labels regex position point at the expected place.

MON KEY's avatar
MON KEY committed
126 127 128 129 130 131 132 133
2012-08-03  MON KEY  <monkey@sandpframing.com>

	* net/imap.el (imap-interactive-login, imap-authenticate)
	(imap-mailbox-lsub, imap-mailbox-list)
	(imap-mailbox-status-asynch, imap-mailbox-acl-delete)
	(imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
	(imap-parse-response): Doc fix.

134 135 136 137 138
2012-08-03  João Távora  <joaotavora@gmail.com>

	* textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
	if sexp scanning does not move point (Bug#5734).

139 140 141 142 143 144
2012-08-02  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex-vars.el (reftex-default-label-alist-entries):
	Add listings, minted, and ctable packages.
	(reftex-label-alist-builtin): Move listings, minted, and ctable
	entries before LaTeX.
Tassilo Horn's avatar
Tassilo Horn committed
145
	(reftex-label-alist): Docfix.
146

147 148 149 150
2012-08-02  Bastien Guerry  <bzg@gnu.org>

	* replace.el (occur): Fix docstring (bug#12122).

151 152 153 154
2012-08-02  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.

155 156 157 158 159 160 161 162
2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>

	Obsolete alias inactivate-current-input-method-function (Bug#10150).
	* international/mule-cmds.el: Create
	inactivate-current-input-method-function as an obsolete alias for
	deactivate-current-input-method-function.  See Katsumi Yamaoka in
	<http://bugs.gnu.org/10150#46>.

163 164 165 166 167
2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
	of nested `if's.

Glenn Morris's avatar
Glenn Morris committed
168 169 170 171 172 173 174 175
2012-08-01  Glenn Morris  <rgm@gnu.org>

	* progmodes/autoconf.el (autoconf-definition-regexp):
	Add AH_TEMPLATE, adjust submatch numbering.
	(autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
	(autoconf-current-defun-function): Update for above change.
	(autoconf-current-defun-function): First skip to end of current word.

176 177 178 179 180
2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)

	* calendar/cal-html.el (cal-html-insert-agenda-days):
	Fix typo.  (Bug#12018)

181 182 183 184 185 186 187 188 189 190 191 192
2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>

	Shell processes: enhancements to startup and CEDET compatibility.
	* progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
	(python-shell-make-comint): accept-process-output at startup.
	(run-python-internal): Set inferior-python-mode-hook to nil.
	(python-shell-internal-get-or-create-process): call sit-for.
	(python-preoutput-result): Add obsolete alias.
	(python-shell-internal-send-string): Use it.
	(python-shell-send-setup-code): Remove call to
	accept-process-output.

Andreas Schwab's avatar
Andreas Schwab committed
193 194 195 196 197
2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>

	* buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
	(Bug#12108)

198 199 200 201 202
2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc-mode.el (calc-basic-simplification-mode): Rename from
	`calc-limited-simplification-mode'.
	(calc-alg-simplification-mode): New function.
203
	(calc-set-simplify-mode):  Adjust message.
Andreas Schwab's avatar
Andreas Schwab committed
204

205 206 207 208 209 210 211 212
	* calc.el (calc-set-mode-line): Adjust mode line display for
	basic simplification mode.

	* calc-help.el (calc-m-prefix-help): Update help message.

	* calc-ext.el (calc-init-extensions): Add bindings and autoloads
	for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.

213 214 215 216
2012-07-31  Bastien Guerry  <bzg@gnu.org>

	* man.el (man): Fix comment.  (bug#12101)

217 218 219 220 221
2012-07-31  Martin Rudalics  <rudalics@gmx.at>

	* window.el (switch-to-prev-buffer, switch-to-next-buffer):
	Don't return a non-nil value when no suitable buffer was found.

222 223 224 225 226
2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (run-python-internal): Disable font lock for
	internal shells.

Stefan Merten's avatar
Stefan Merten committed
227 228 229 230 231 232 233 234
2012-07-30  Stefan Merten  <smerten@oekonux.de>

	* rst.el: Silence `checkdoc-ispell'.
	(rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
	(rst-official-version, rst-official-cvs-rev)
	(rst-package-emacs-version-alist): Update to upstream V1.3.1.
	(rst-mode-map): New key binding.

235 236 237 238 239 240 241 242 243
2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>

	Update .PHONY listings in makefiles.
	* Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
	autoloads, update-subdirs, updates, bzr-update, update-authors,
	compile-onefile, compile-calc, backup-compiled-files,
	compile-after-backup, compile-one-process, mh-autoloads,
	bootstrap-clean, distclean, maintainer-clean.

244 245
2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>

246 247 248 249 250 251 252 253 254 255 256 257
	* calc/calc.el (calc-simplify-mode): Make 'alg the default value.
	(calc-set-mode-line): Don't display "AlgSimp ".

	* calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
	(calc-lim-simplify-mode): New function.
	(calc-set-simplify-mode): Default to 'alg.
	(calc-default-simplify-mode): Make algebraic simplifications
	the default.

	* calc/calc-ext.el (calc-init-extensions): Remove binding for
	`calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.

Glenn Morris's avatar
Glenn Morris committed
258
	* calc/calc-help.el (calc-m-prefix-help): Change messages to
259 260
	indicate new simplification modes.

261 262
	* calc/README: Mention new default simplification mode.

263 264 265 266 267 268 269
	* calc/calc.el (math-normalize-error): New variable.
	(math-normalize): Set `math-normalize-error' to t
	when there's an error.

	* calc/calc-alg.el (math-simplify): Don't simplify when
	`math-normalize' returns an error.

270 271 272 273 274 275 276 277 278
2012-07-29  Eli Zaretskii  <eliz@gnu.org>

	* international/mule-cmds.el (set-locale-environment): Revert last
	change, since display-graphic-p returns nil when this function is
	called during startup.  Instead...

	* term/w32console.el (terminal-init-w32console): ...setup the
	keyboard and terminal encoding for TTY sessions here.  (Bug#12082)

279 280 281 282 283 284 285 286 287 288 289
2012-07-29  Juri Linkov  <juri@jurta.org>

	* simple.el (goto-line): Don't display default line number in the
	prompt because it should be displayed by `read-number' (bug#9952).
	Add the current line number to the defaults of `goto-line' to
	allow its easier modification by users with `M-n' (bug#9201).

	* subr.el (read-number): Support multiple default values like in
	other minibuffer reading functions.  Replace `read' with
	`string-to-number' for consistency with `number-to-string'.

290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>

	deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
	* emulation/viper-init.el (viper-deactivate-input-method-action):
	Rename from viper-inactivate-input-method-action.
	(viper-deactivate-input-method):
	Rename from viper-inactivate-input-method.
	* follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
	* international/mule-cmds.el (deactivate-input-method):
	Rename from inactivate-input-method.
	Also run input-method-deactivate-hook.
	(deactivate-current-input-method-function):
	Rename from inactivate-current-input-method-function.
	(input-method-deactivate-hook): New hook.
	(input-method-inactivate-hook): Mark obsolete.
305 306
	(inactivate-input-method): Mark obsolete.

307 308 309 310 311 312 313
	* international/quail.el (quail-activate):
	Also run quail-deactivate-hook.
	(quail-deactivate): Rename from quail-inactivate.
	* international/robin.el (robin-activate):
	Also run robin-deactivate-hook.
	(robin-deactivate): Rename from robin-inactivate.

314 315 316 317 318 319 320 321 322 323 324 325
2012-07-29  Chong Yidong  <cyd@gnu.org>

	* simple.el (indicate-copied-region): New function.
	(kill-ring-save): Split off from here.

	* rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
	(kill-rectangle): Set deactivate-mark to t on read-only error.

	* register.el (copy-to-register, copy-rectangle-to-register):
	Deactivate the mark, and use indicate-copied-region (Bug#10056).
	(append-to-register, prepend-to-register): Call

326 327 328 329 330
2012-07-29  Juri Linkov  <juri@jurta.org>

	* simple.el (async-shell-command-buffer): New defcustom.
	(shell-command): Use it.  (Bug#4719)

331 332 333 334 335 336 337
2012-07-28  Eli Zaretskii  <eliz@gnu.org>

	* international/mule-cmds.el (set-locale-environment): In a
	console session on MS-Windows, set up keyboard and terminal
	encoding from the OEM codepage, not the ANSI codepage.
	(Bug#12055)

338 339 340 341 342
2012-07-28  Chong Yidong  <cyd@gnu.org>

	* progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
	gdb-get-location.

343 344 345 346 347
2012-07-25  Leo Liu  <sdl.web@gmail.com>

	* progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
	the alist (bug#12029).

348 349 350 351 352 353 354 355 356 357 358 359
2012-07-28  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (custom-deps, finder-data, updates, compile)
	(compile-always, compile-first)
	($(lisp)/calendar/cal-loaddefs.el)
	($(lisp)/calendar/diary-loaddefs.el)
	($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
	($(lisp)/net/tramp-loaddefs.el, bootstrap)
	($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
	instead of on update-subdirs.
	(bootstrap-clean): Delete $(lisp)/subdirs.el.

360 361
2012-07-28  Chong Yidong  <cyd@gnu.org>

362 363 364
	* vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
	directory if vc-deduce-backend returns nil (Bug#7350).

365 366 367
	* simple.el (delete-trailing-lines): New option.
	(delete-trailing-whitespace): Obey it (Bug#11879).

368 369 370 371 372 373 374 375
2012-07-28  David Engster  <deng@randomsample.de>

	* xml.el (xml-node-name, xml-parse-file, xml-parse-region):
	Explanation of new 'symbol-qnames feature in doc-strings.
	(xml-maybe-do-ns): Return expanded names as plain symbols if
	'symbol-qnames was provided in XML-NS argument (Bug#11916).
	(xml-parse-tag-1): Deal with new definition of PARSE-NS argument.

376 377 378 379 380 381 382 383
2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>

	Consistent completion in inferior python with emacs -nw.
	* progmodes/python.el (inferior-python-mode): replace "<tab>"
	binding in inferior-python-mode-map with "\t".
	(python-shell-completion-complete-at-point)
	(python-completion-complete-at-point): Remove interactive spec.

384 385 386 387
2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calccomp.el (math-compose-expr): Undo previous change.

388 389 390 391 392 393 394 395 396
2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (python-mode-map): Added keybinding for
	run-python.
	(python-shell-make-comint): Fix pop-to-buffer call.
	(run-python): Autoload.  New arg SHOW.
	(python-shell-get-or-create-process): Do not pop python process
	buffer.

Michael Albinus's avatar
Michael Albinus committed
397
2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
398 399 400 401 402 403

	* notifications.el (notifications-on-action-signal)
	(notifications-on-closed-signal): Use also the bus address for the map.
	(notifications-notify, notifications-close-notification)
	(notifications-get-capabilities):  Add optional argument BUS.

404 405 406 407 408 409 410 411
2012-07-27  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
	support for the lstlisting and minted environments, and for the
	ctable macro.
	* textmodes/reftex.el (reftex-compile-variables): Also recognize
	labels written in keyvals syntax.

412 413 414 415 416
2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calccomp.el (math-compose-expr): Use parentheses when
	there is a product in the denominator of a fraction.

417 418 419 420 421 422 423 424 425 426
2012-07-26  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
	($(lisp)/calendar/diary-loaddefs.el)
	($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
	($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.  Fixes
	failures in parallel bootstrap because subdirs.el is being
	rewritten while the autoload files are built at the same time,
	which needs to load subdirs.el.

427 428 429 430 431 432
2012-07-26  Martin Rudalics  <rudalics@gmx.at>

	* mouse.el (popup-menu): Fix doc-string and re-indent code.
	(mouse-drag-line): Don't exit tracking when a switch-frame or
	switch-window event occurs (Bug#12006).

433 434 435 436
2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mouse.el (popup-menu): Fix last change.

437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469
2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	Autoload from Lisp with more care.  Follow aliases when looking for
	function properties.
	* subr.el (autoloadp): New function.
	(symbol-file): Use it.
	(function-get): New function.
	* emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
	autoload-do-load.
	* emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
	(lisp-indent-function):
	* emacs-lisp/gv.el (gv-get):
	* emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
	* emacs-lisp/byte-opt.el (byte-optimize-form):
	* emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
	* emacs-lisp/autoload.el (make-autoload, autoload-print-form):
	Use function-get.
	* emacs-lisp/cl.el: Don't propagate function properties any more.

	* speedbar.el (speedbar-add-localized-speedbar-support):
	* emacs-lisp/disass.el (disassemble-internal):
	* desktop.el (desktop-load-file):
	* help-fns.el (help-function-arglist, find-lisp-object-file-name)
	(describe-function-1):
	* emacs-lisp/find-func.el (find-function-noselect):
	* emacs-lisp/elp.el (elp-instrument-function):
	* emacs-lisp/advice.el (ad-has-proper-definition):
	* apropos.el (apropos-safe-documentation, apropos-macrop):
	* emacs-lisp/debug.el (debug-on-entry):
	* emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
	* emacs-lisp/byte-opt.el (byte-compile-inline-expand):
	* calc/calc.el (name): Use autoloadp & autoload-do-load.

470 471 472 473 474
2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>

	* international/mule-cmds.el (ucs-insert): Mark it as an obsolete
	function, not an obsolete variable (Bug#12046).

Andreas Schwab's avatar
Andreas Schwab committed
475 476 477 478
2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>

	* faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)

479 480 481 482 483
2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>

	* emacs-lisp/pp.el (pp-display-expression): Select old selected
	window only if it is still live (Bug#12034).

484 485 486 487 488
2012-07-25  Martin Rudalics  <rudalics@gmx.at>

	* subr.el (redirect-frame-focus): Add advertised calling
	convention (Bug#12030).

489 490 491 492 493 494
2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer typical American spelling for "acknowledgment".
	* vc/add-log.el (change-log-acknowledgment): Rename from
	change-log-acknowledgement, with an alias for the old name.

495 496 497 498 499
2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc-alg.el (math-simplify-divide): Don't cross multiply
	in an equation when the lhs is a variable.

500 501 502 503 504
2012-07-24  Julien Danjou  <julien@danjou.info>

	* net/netrc.el (netrc-find-service-number, netrc-store-data):
	Remove, unused.

505 506 507 508 509 510 511 512
2012-07-23  Eli Zaretskii  <eliz@gnu.org>

	* startup.el (command-line): Don't display an empty user name in
	the error message about non-existent home directory, when
	init-file-user was set to an empty string.  See
	http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
	for the details and context.

513 514 515 516 517 518 519 520 521 522 523
2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* ses.el (ses-cell-formula-aset): New macro.
	(ses-cell-references-aset): New macro.
	(ses-cell-p): New function.
	(ses-rename-cell): Do no longer rely on complex operations like
	ses-cell-set-formula or ses-set-cell to change the cell and handle
	the undo at the same time, but rather use lower level new macros
	`ses-cell-formula-aset' and `ses-cell-references-aset' and handle
	the undo directly. Refresh the mode line.

524 525
2012-07-21  Leo Liu  <sdl.web@gmail.com>

526 527
	* progmodes/cc-cmds.el (c-defun-name):
	Use match-string-no-properties instead for consistency.
528

529 530
2012-07-20  Leo Liu  <sdl.web@gmail.com>

531 532 533
	* progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
	(Bug#7879)

534 535
	* progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).

536 537 538 539 540 541 542 543 544
2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
	* progmodes/bug-reference.el, misearch.el: Provide themselves
	(bug#11915).

	* progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
	of narrowed buffer (bug#11966).

545 546 547 548 549
2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* ses.el (ses-rename-cell): Set new name also in reference list of
	cells of which the renamed cell depends.

550 551 552 553 554 555 556
2012-07-20  Masatake YAMATO  <yamato@redhat.com>

	* term/x-win.el (x-menu-bar-open): Use `frame-parameter'
	to check whether menu-bar is shown or not.  If not shown,
	show the menu-bar as a popup menu instead of using tmm.
	* mouse.el (popup-menu): Accept `point' as `position' argument.

557 558 559 560 561
2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-parse-partial): No error when end
	up inside string symbol literal (bug#11923).

562 563 564 565 566 567
2012-07-20  Eli Zaretskii  <eliz@gnu.org>

	* startup.el (fancy-startup-text): Read the whole tutorial, not
	just its first 256 bytes.  Prevents gibberish in display of the
	tutorial title.

568 569 570 571 572 573
2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>

	Drop idle buffer compaction due to an absence of the
	proved efficiency.
	* compact.el: Remove.

574 575 576 577 578 579 580 581 582 583 584 585
2012-07-19  Sam Steingold  <sds@gnu.org>

	* vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
	vc-bzr-pull & vc-bzr-merge-branch.
	* vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
	(vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
	for consistency with compilation-error-regexp-alist.
	* vc/vc-git.el (vc-git-error-regexp-alist): Add.
	(vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
	* vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
	(vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.

586 587 588 589 590
2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/chart.el: Use lexical-binding.
	(chart-emacs-storage): Don't hardcode the list of entries.

591 592 593 594 595
2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>

	Next round of tweaks caused by Fgarbage_collect changes.
	* emacs-lisp/chart.el (chart-emacs-storage): Adjust again.

Dmitry Antipov's avatar
Dmitry Antipov committed
596 597 598 599 600
2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>

	Compact buffers when idle.
	* compact.el: New file.

601 602 603 604 605
2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (eventp): Presume that if it looks vaguely like an event,
	it's an event (bug#10190).

606 607 608 609 610 611 612
2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>

	Enhancements to ppss related code (thanks Stefan).
	* progmodes/python.el (python-indent-context)
	(python-indent-calculate-indentation, python-indent-dedent-line)
	(python-indent-electric-colon, python-nav-forward-block)
	(python-mode-abbrev-table)
613
	(python-info-assignment-continuation-line-p): Simplify checks
614 615 616 617 618 619
	for ppss context.
	(python-info-continuation-line-p): Cleanup.
	(python-info-ppss-context): Do not catch 'quote.
	(python-info-ppss-context-type)
	(python-info-ppss-comment-or-string-p): Simplify.

620 621 622 623 624 625 626 627 628
2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el: Enhancements to eldoc support.
	(python-info-current-symbol): New function.
	(python-eldoc-at-point): Use python-info-current-symbol.
	(python-info-current-defun): Fix cornercase on first defun scan.
	(python-eldoc--get-doc-at-point): Use python-info-current-symbol
	and signal error when no inferior python process is available.

629 630 631 632 633 634 635 636
2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
	assume it's always t.
	(vc-git-registered): Remove caching, the function is only called
	once.
	(vc-git-branches): Use `vc-git--call' instead of `call-process'.

637 638
2012-07-18  Chong Yidong  <cyd@gnu.org>

639 640
	* subr.el (last-input-char, last-command-char): Remove (Bug#9195).

641 642
	* simple.el (count-words): Report on narrowing (Bug#9959).

643 644
	* bindings.el: Bind M-= to count-words.

645 646
	* faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).

647 648 649 650 651 652
2012-07-18  Masatake YAMATO  <yamato@redhat.com>

	* progmodes/sh-script.el (sh-imenu-generic-expression):
	Capture a function with `function' keyword and without parentheses
	like "function FOO" (bug#11856).

653 654 655 656 657
2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>

	* window.el (split-window-sensibly): Make WINDOW argument
	optional.

658 659
2012-07-18  Chong Yidong  <cyd@gnu.org>

660 661
	* subr.el (keyboard-translate): Doc fix (Bug#7261).

662 663 664 665 666 667
	* isearch.el (isearch-mode-map): Handle C-x 8 key translations,
	and make C-x 8 RET exit isearch (Bug#11439).

	* international/iso-transl.el: Move isearch-mode-map key
	definitions to isearch.el.

668 669 670 671 672
2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
	(eieio-defclass): Use gv-define-setter when possible.

673 674 675 676 677 678
2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>

	Reflect recent changes in Fgarbage_collect.
	* emacs-lisp/chart.el (chart-emacs-storage): Change to
	reflect new format of data returned by Fgarbage_collect.

679 680 681 682 683 684 685
2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>

	New utility functions + python-info-ppss-context fix (Bug#11910).
	* progmodes/python.el (python-info-beginning-of-block-statement-p)
	(python-info-ppss-comment-or-string-p): New functions.
	(python-info-ppss-context): Small fix for string check.

686 687 688 689 690 691 692 693 694 695 696 697 698 699 700
2012-07-17  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-do-async-shell-command): Doc fix.
	(dired-do-async-shell-command): Don't add `*' at the end of the
	command (Bug#11815).
	(dired-do-shell-command): Doc fix.
	(dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
	Join the individual commands using either "&" or ";" as the
	separator depending on the values of these trailing characters.
	At the end re-add the trailing "&".  (Bug#10598)

	* simple.el (async-shell-command): Sync the interactive spec with
	`shell-command'.  Doc fix.
	(shell-command): Doc fix.

701 702 703 704
2012-07-17  Juri Linkov  <juri@jurta.org>

	* descr-text.el (describe-char): Fix format args.  (Bug#10129)

705
2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
706

707
	Final renames and doc fixes for movement commands (bug#11899).
708 709
	* progmodes/python.el (python-nav-beginning-of-statement):
	Rename from python-nav-statement-start.
710 711 712 713 714 715
	(python-nav-end-of-statement): Rename from
	python-nav-statement-end.
	(python-nav-beginning-of-block): Rename from
	python-nav-block-start.
	(python-nav-end-of-block): Rename from python-nav-block-end.

716 717
2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>

718 719
	* progmodes/python.el (python-shell-send-string-no-output):
	Allow accept-process-output to quit, keeping shell process ready for
720 721
	future interactions (Bug#11868).

Stefan Monnier's avatar
Stefan Monnier committed
722
2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
723

724 725
	* emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.

726 727 728
	* emacs-lisp/elint.el (elint-find-args-in-code):
	Use help-function-arglist, so as to handle lexical byte-code.

729 730 731
	* progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
	change (bug#11826).

732 733
2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>

734 735 736
	* progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
	Avoid spuriously marking the buffer as modified because of c-is-sws.

737 738 739
	* progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
	as not-a-comment (bug#11946).

Stefan Monnier's avatar
Stefan Monnier committed
740 741 742 743 744 745
	* emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
	for uninterned vars.

	* xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
	Use read-event since we don't really want to read chars but bytes.

746 747 748 749 750 751
	* textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
	$$..$$ but also $..$ using regexps (bug#11953).
	Use tex-verbatim for \url and \path.
	(tex-font-lock-keywords): Define as defconst like the others.
	(tex-common-initialization): Don't use font-lock-syntax-table any more.

752 753 754 755 756
2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)

	* international/mule-cmds.el (ucs-insert): Make it an obsolete
	alias for insert-char.

757 758 759 760 761 762 763 764 765 766 767
2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el: Simplified imenu implementation.
	(python-nav-jump-to-defun): Remove command.
	(python-mode-map): Use `imenu' instead.
	(python-nav-list-defun-positions-cache)
	(python-imenu-include-defun-type, python-imenu-make-tree)
	(python-imenu-subtree-root-label, python-imenu-index-alist):
	Remove vars.
	(python-nav-list-defun-positions, python-nav-read-defun)
	(python-imenu-tree-assoc, python-imenu-make-element-tree)
768 769
	(python-imenu-make-tree, python-imenu-create-index):
	Remove functions.
770 771 772
	(python-mode): Update to interact with imenu by setting
	`imenu-extract-index-name-function' only.

773 774 775 776 777 778 779 780 781 782 783 784 785 786
2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el: Enhancements to navigation commands.
	(python-nav-backward-sentence)
	(python-nav-forward-sentence): Remove.
	(python-nav-backward-statement, python-nav-forward-statement)
	(python-nav-statement-start, python-nav-statement-end)
	(python-nav-backward-block, python-nav-forward-block)
	(python-nav-block-start, python-nav-block-end)
	(python-nav-forward-sexp-function)
	(python-info-current-line-comment-p)
	(python-info-current-line-empty-p): New functions.
	(python-indent-context): Use `python-nav-statement-start'.

787 788
2012-07-16  Michael Albinus  <michael.albinus@gmx.de>

789 790 791 792 793
	* eshell/em-ls.el (eshell/ls): Use `apply'.

	* eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
	multi-hops, instead of Tramp internals.

794 795 796 797 798
	* vc/ediff.el (ediff-directories): Add trailing space to prompts.

	* vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
	when F1 and F2 are located on different hosts.

799 800 801 802 803 804 805 806 807 808 809
2012-07-14  Chong Yidong  <cyd@gnu.org>

	* xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
	(xterm-mouse-translate): Move code into xterm-mouse-translate-1.
	(xterm-mouse-translate-extended, xterm-mouse-translate-1)
	(xterm-mouse--read-event-sequence-1000)
	(xterm-mouse--read-event-sequence-1006): New functions.  For old
	mouse protocol, handle M-mouse-X events correctly.
	(xterm-mouse-event): New arg specifying mouse protocol.
	(turn-on-xterm-mouse-tracking-on-terminal)
	(turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
810 811
	sequence to toggle extended coordinates on newer XTerms.
	This appears to be harmless on terminals which do not support this.
812

Leo Liu's avatar
Leo Liu committed
813 814
2012-07-14  Leo Liu  <sdl.web@gmail.com>

815 816 817 818 819 820
	Add fringe bitmap indicators for flymake.  (Bug#11253)
	* progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
	(flymake-make-overlay): New arg BITMAP.
	(flymake-error-bitmap, flymake-warning-bitmap)
	(flymake-fringe-indicator-position): New user variables.

Leo Liu's avatar
Leo Liu committed
821 822
	* fringe.el: New bitmap exclamation-mark.

Jan Djärv's avatar
Jan Djärv committed
823 824 825 826 827
2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>

	* progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
	also (Bug#7879).

828 829 830 831 832
2012-07-14  Chong Yidong  <cyd@gnu.org>

	* electric.el (electric-pair-post-self-insert-function): Fix pair
	insertion in empty-region case (Bug#11520).

833 834
2012-07-14  Chong Yidong  <cyd@gnu.org>

835 836
	* bindings.el: Consolidate ctl-x-r-map bindings.
	Bind copy-rectangle-as-kill to C-x r w.
837 838 839 840 841 842 843

	* rect.el, register.el: Move bindings to bindings.el.

2012-07-14  Reuben Thomas  <rrt@sc3d.org>

	* rect.el (copy-rectangle-as-kill): New command (Bug#739).

Andreas Schwab's avatar
Andreas Schwab committed
844 845 846 847
2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>

	* emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)

848 849
2012-07-13  Juanma Barranquero  <lekktu@gmail.com>

850 851
	* bindings.el (top): Use `mapc' instead of `mapcar'.

852 853
	* loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).

854 855 856 857 858 859
2012-07-13  Michael Albinus  <michael.albinus@gmx.de>

	* progmodes/sql.el (sql-comint): Suppress the check for program on
	remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
	(Bug#11908)

860 861 862 863 864 865 866 867
2012-07-13  Chong Yidong  <cyd@gnu.org>

	* bindings.el: Assign a non-nil permanent-local property to
	per-buffer variables which lack a default value (Bug#11930).

	* help-fns.el (describe-variable): In the "automatically becomes
	local" notice, take note of permanent-local variables.

868 869 870 871 872 873 874 875 876
2012-07-13  Chong Yidong  <cyd@gnu.org>

	* files.el (toggle-read-only): Doc fix and code cleanup.  New arg
	to allow printing the message when called from Lisp.

	* emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
	Remove toggle-read-only.

	* bs.el (bs-toggle-readonly):
877 878
	* buff-menu.el (Buffer-menu-toggle-read-only):
	Remove with-no-warnings around toggle-read-only.
879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897

	* ffap.el (ffap--toggle-read-only): Accept a list of buffers.
	Remove with-no-warnings around toggle-read-only.
	(ffap-read-only, ffap-read-only-other-window)
	(ffap-read-only-other-frame): Callers changed.

	* help-mode.el: Don't require view package.
	(help-mode-finish): Set buffer-read-only instead of calling
	toggle-read-only.

	* bindings.el (mode-line-toggle-read-only):
	* dired.el (dired-toggle-read-only):
	* ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
	with non-nil second arg.

	* emacs-lisp/eieio-custom.el (eieio-customize-object):
	* vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
	directly.

Eli Zaretskii's avatar
Eli Zaretskii committed
898 899 900 901 902
2012-07-12  Eli Zaretskii  <eliz@gnu.org>

	* emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
	not incf.

903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948
2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	More CL cleanups and reduction of use of cl.el.
	* woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
	* vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
	* textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
	* strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
	* progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
	* play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
	* play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
	* net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
	* image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
	* eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
	* eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
	* eshell/em-cmpl.el, eshell/em-banner.el:
	* calendar/parse-time.el: Use cl-lib.
	* wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
	* vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
	* textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
	* term/ns-win.el, term.el, shell.el, ps-samp.el:
	* progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
	* progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
	* play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
	* net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
	* net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
	* mail/mailheader.el, mail/feedmail.el: Don't use CL.
	* ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
	* eshell/esh-opt.el (eshell-eval-using-options): Quote code with
	`lambda' rather than with `quote'.
	(eshell-do-opt): Adjust accordingly.
	(eshell-process-option): Simplify.
	* eshell/esh-var.el:
	* eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
	* emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
	(pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
	to `pcase--dontcare'.
	* emacs-lisp/cl.el (labels): Mark obsolete.
	(cl--letf, letf): Move to cl-lib.
	(cl--letf*, letf*): Remove.
	* emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
	* emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
	(cl-progv): Rewrite.
	(cl--letf, cl-letf): Move from cl.el.
	(cl-letf*): New macro.
	* emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.

949 950 951 952
2012-07-11  Michael Albinus  <michael.albinus@gmx.de>

	* net/ange-ftp.el (ange-ftp-cf1): Update the files cache.

953 954 955 956 957 958 959 960 961 962 963 964 965 966 967
2012-07-11  Chong Yidong  <cyd@gnu.org>

	* vc/log-edit.el (log-edit-vc-backend): New variable.
	(log-edit): Doc fix.

	* vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
	argument of log-edit to set up all local variables.
	(vc-start-logentry): New optional arg specifying VC backend.

	* vc/vc.el (vc-checkin): Use it.
	(vc-deduce-fileset): Handle Log Edit buffers.
	(vc-diff): Make first argument optional too.

	* vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.

968 969 970 971 972 973
2012-07-10  Michael Albinus  <michael.albinus@gmx.de>

	* eshell/esh-ext.el (eshell-remote-command): Remove remote part of
	command, just in case.  The function is not needed anymore.
	(eshell-external-command): Do not call `eshell-remote-command'.

974 975
2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995
	Reduce use of (require 'cl).
	* vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
	* vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
	* register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
	* msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
	* international/quail.el, info-xref.el, imenu.el, image-mode.el:
	* font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
	* battery.el, avoid.el, abbrev.el: Use cl-lib.
	* vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
	* vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
	* jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
	* emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
	* calculator.el, autorevert.el, apropos.el: Don't require CL.
	* emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
	(byte-compile-unfold-bcf, byte-compile-check-variable):
	* emacs-lisp/byte-opt.el (byte-compile-trueconstp)
	(byte-compile-nilconstp):
	* emacs-lisp/autoload.el (make-autoload): Use pcase.
	* face-remap.el (text-scale-adjust): Simplify pcase patterns.

996 997 998
	* emacs-lisp/gv.el (cond): Make it a valid place.
	(if): Simplify slightly.

999 1000 1001 1002
	* emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
	(pcase--self-quoting-p): New function.
	(pcase--u1): Use it.

1003 1004 1005 1006 1007
2012-07-10  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-fixed-entries):
	(authors-renamed-files-alist): Update for configure.in -> configure.ac.

1008 1009 1010 1011 1012 1013 1014
2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>

	Rename configure.in to configure.ac (Bug#11603).
	* emacs-lisp/authors.el (authors-canonical-file-name):
	* progmodes/autoconf.el (autoconf-mode):
	Prefer configure.ac to configure.in.

1015 1016
2012-07-08  Chong Yidong  <cyd@gnu.org>

1017 1018 1019 1020 1021 1022
	* mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
	Implement the mouse-1-click-follows-link handling properly.

	* info.el (Info-link-keymap): Use follow-link mechanism for
	header-line links (Bug#374).

1023 1024 1025
	* simple.el (deactivate-mark): Do not set the primary selection
	if another program has acquired it (Bug#11772).

1026
2012-07-07  Kevin Ryde  <user42@zip.com.au>
1027 1028 1029 1030

	* woman.el (woman-strings): Fix double-quote handling (Bug#1151).
	(woman-decode-region): Replace escaped-escapes without destroying
	bold or underline (Bug#11552).
1031
	(woman2-process-escapes): Handle nofill regions (Bug#11591).
1032

1033 1034 1035
2012-07-07  Chong Yidong  <cyd@gnu.org>

	* simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1036 1037
	(interprogram-cut-function, interprogram-paste-function):
	Mention that we typically mean the clipboard.
1038

1039 1040
2012-07-06  Glenn Morris  <rgm@gnu.org>

1041 1042
	* kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)

1043 1044
	* files.el (toggle-read-only): Restrict message to interactive use.

1045 1046 1047 1048 1049 1050
2012-07-06  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.

	* net/tramp-sh.el (tramp-maybe-open-connection): Handle it.

1051 1052
2012-07-06  Glenn Morris  <rgm@gnu.org>

1053 1054
	* Makefile.in (compile-one-process): Rename from "recompile".

1055 1056 1057
	* Makefile.in (bzr-update): "compile" is the same as "recompile
	autoloads", but parallelizable, so use that instead.

1058 1059 1060
2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>

	* window.el (quit-window): Always restore window height when
1061
	it's saved in quit-restore parameter (Bug#11810).
1062

1063
2012-07-06  Glenn Morris  <rgm@gnu.org>
1064 1065 1066

	* simple.el (kill-whole-line): Doc tweak.

1067
2012-07-06  Eli Zaretskii  <eliz@gnu.org>
1068 1069 1070 1071 1072 1073

	* files.el (file-relative-name): Compare file names
	case-insensitively if on MS-Windows or MS-DOS, or if
	read-file-name-completion-ignore-case is non-nil.  Don't use
	case-fold-search for this purpose.  (Bug#11827)

Stefan Monnier's avatar
Stefan Monnier committed
1074 1075 1076 1077 1078 1079
2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>

	* calendar/cal-dst.el (calendar-current-time-zone):
	Return calendar-current-time-zone-cache if non-nil.

2012-07-17  Masatake YAMATO  <yamato@redhat.com>
1080
2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
1081

1082 1083
	* calendar/cal-dst.el (calendar-current-time-zone):
	Return calendar-current-time-zone-cache if non-nil.
1084

1085 1086 1087 1088
2012-07-06  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (cvs-update): Remove old alias.

Michael Albinus's avatar
Michael Albinus committed
1089 1090 1091 1092 1093 1094 1095
2012-07-05  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.6-pre.

	* net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
	compatible declaration.

1096 1097
	* net/tramp-cmds.el (tramp-append-tramp-buffers):
	Protect `list-load-path-shadows' call.
Michael Albinus's avatar
Michael Albinus committed
1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116

	* net/tramp-compat.el (top): Require packages, which aren't
	autoloaded anymore for XEmacs.  Protect call of
	`tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
	compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
	it hurts at least for SXEmacs.
	(tramp-compat-temporary-file-directory): In XEmacs, there is no
	standard-value for `temporary-file-directory'.

	* net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
	Redirect stderr to /dev/null.
	(tramp-sh-handle-write-region): uid and gid can be floats.
	Reported by Russell Sim <russell.sim@gmail.com>.
	(tramp-sh-handle-vc-registered): Hide errors.
	(tramp-vc-file-name-handler): Use dummy results for `process-file'
	and `start-file-process'.
	(tramp-maybe-open-connection): Check also whether `non-essential'
	is bound.

1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136
2012-07-04  Chong Yidong  <cyd@gnu.org>

	* xml.el (xml--parse-buffer): Use xml-syntax-table.
	(xml-parse-tag): Likewise, and avoid changing entity tables.
	(xml-syntax-table): Define from scratch, making sure not to give
	x2000 and other Unicode spaces whitespace syntax, since those are
	not spaces in XML.
	(xml-parse-fragment): Delete unused function.
	(xml-name-start-char-re, xml-name-char-re, xml-name-re)
	(xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
	(xml-entity-ref, xml-pe-reference-re)
	(xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
	(xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
	(xml-att-type-re, xml-default-decl-re, xml-att-def-re)
	(xml-entity-value-re): Use syntax references in regexps where
	possible; no need to define inside a let-binding.
	(xml-parse-dtd): Use xml-pe-reference-re.
	(xml-entity-or-char-ref-re): New defconst.
	(xml-parse-string, xml-substitute-special): Use it.

1137 1138
2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>

1139 1140 1141 1142 1143 1144 1145
	* files.el (locate-dominating-file): Allow `name' to be a predicate.
	(find-file--read-only): New function.
	(find-file-read-only, find-file-read-only-other-window)
	(find-file-read-only-other-frame): Use it.
	(insert-file-contents-literally): Don't `fset'.
	(get-free-disk-space): Use locate-dominating-file.

1146 1147 1148
	* emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
	function is already compiled.

1149 1150
	* xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.

1151 1152 1153 1154 1155
2012-07-03  Michael Albinus  <michael.albinus@gmx.de>

	* vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
	files on the same host.

Andreas Schwab's avatar
Andreas Schwab committed
1156 1157 1158 1159 1160
2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>

	* help-fns.el (describe-function-1): Only call
	help-fns--autoloaded-p when we have a file name.  (Bug#11848)

1161 1162 1163 1164 1165 1166 1167
2012-07-03  Chong Yidong  <cyd@gnu.org>

	* xml.el: Protect parser against XML bombs.
	(xml-entity-expansion-limit): New variable.
	(xml-parse-string, xml-substitute-special): Use it.
	(xml-parse-dtd): Avoid infloop if the DTD is not terminated.

1168 1169 1170 1171 1172
2012-07-03  Glenn Morris  <rgm@gnu.org>

	* progmodes/bug-reference.el (bug-reference-bug-regexp):
	Allow linking to specific messages in debbugs reports (eg 123#5).

1173 1174 1175 1176 1177 1178
2012-07-02  Chong Yidong  <cyd@gnu.org>

	* xml.el: Fix entity and character reference expansion, allowing
	them to expand into markup as per XML spec.
	(xml-default-ns): New variable.
	(xml-entity-alist): Use XML spec definitions for lt and amp.
1179 1180 1181 1182
	(xml-parse-region): Make first two arguments optional.
	Discard text properties.
	(xml-parse-tag-1): New function, spun off from xml-parse-tag.
	All callers changed.
1183 1184 1185 1186 1187 1188 1189 1190
	(xml-parse-tag): Call xml-parse-tag-1.  For backward
	compatibility, this function should not modify buffer contents.
	(xml-parse-tag-1): Fix opening-tag regexp.
	(xml-parse-string): Rewrite, handling entity and character
	references properly.
	(xml--entity-replacement-text): Signal an error if a parameter
	entity is undefined.

1191 1192
2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>

1193 1194
	* comint.el (comint-output-filter): Filter out repeated prompts.

1195 1196 1197 1198 1199
	* net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
	and file-name-absolute-p.
	(ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
	internal calls.

Paul Eggert's avatar
Paul Eggert committed
1200 1201 1202 1203 1204 1205
2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes.
	* emacs-lisp/bytecomp.el (byte-compile--reify-function):
	Rename from byte-compile--refiy-function.  All uses changed.

1206 1207 1208 1209 1210 1211 1212 1213 1214
2012-07-01  Chong Yidong  <cyd@gnu.org>

	* xml.el (xml--parse-buffer): New function.  Move most of
	xml-parse-region here.
	(xml-parse-region): Copy region into a temporary buffer, since
	parameter entity substitution requires changing buffer contents.
	Use xml--parse-buffer.
	(xml-parse-file): Use xml--parse-buffer.
	(xml-parse-dtd): Make parameter entity substitution work right.
1215
	Use proper regexps for ELEMENT declarations (Bug#7172).
1216

1217 1218
2012-06-30  Glenn Morris  <rgm@gnu.org>

1219 1220
	* comint.el (follow-comint-scroll-to-bottom): Fix declaration.

1221 1222 1223
	* net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
	Remove outdated and unnecessary dbus declarations.

1224 1225 1226 1227 1228 1229 1230
2012-06-30  Eli Zaretskii  <eliz@gnu.org>

	* emacs-lisp/timer.el (timer-until): Subtract results of
	float-time, instead of taking float-time of the result of
	time-subtract, since float-time signals an error for negative time
	arguments.

1231 1232 1233 1234 1235 1236
2012-06-30  Chong Yidong  <cyd@gnu.org>

	* xml.el (xml-*-re): Convert defvars into defconsts, and
	eval-and-compile them so eval-and-compile works on derivatives.
	(xml--entity-replacement-text): Use eval-and-comple.

1237 1238 1239 1240 1241 1242
2012-06-30  Michael Albinus  <michael.albinus@gmx.de>

	* vc/vc-git.el (vc-git-registered): Use cache property
	`git-registered'.
	(vc-git-mode-line-string): Call `vc-working-revision' instead of
	`vc-git-working-revision' in order to benefit from the cache.
1243
	(vc-git-root): Use cache property `git-root'.  (Bug#11757)
1244

1245 1246 1247
2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1248
	removed (likely outside Emacs).  (Bug#11757)
1249

1250 1251
2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>

1252
	* emacs-lisp/cl-lib.el: Require macroexp.
1253

1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266
2012-06-30  Chong Yidong  <cyd@gnu.org>

	* xml.el: Implement XML parameter entities.
	(xml-parameter-entity-alist): New variable.
	(xml-parse-region, xml-parse-fragment): Preserve previous values
	of xml-entity-alist and xml-parameter-entity-alist, so that
	repeated calls on different documents do not change them.
	(xml-parse-tag): Fix doctype regexp.
	(xml--entity-replacement-text): New function.
	(xml-parse-dtd): Use it.  Don't handle system entities; doing that
	properly requires url retrieval which is unimplemented.
	(xml-escape-string): Doc fix.

1267 1268 1269 1270
2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.

1271 1272 1273 1274
2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>

	* fringe.el (fringe-mode): Doc fix.

1275 1276 1277 1278 1279 1280 1281
2012-06-29  Michael Albinus  <michael.albinus@gmx.de>

	* net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
	is non-nil.
	(ange-ftp-ignore-errors-if-non-essential): New defmacro.
	(ange-ftp-file-name-all-completions): Use it.  (Bug#11808)

1282
2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
1283

1284 1285
	* calendar/cal-dst.el (calendar-current-time-zone):
	Return calendar-current-time-zone-cache if non-nil.
1286

1287
2012-06-29  Masatake YAMATO  <yamato@redhat.com>
1288 1289 1290 1291

	* progmodes/which-func.el (which-func-format):
	Add mouse-face.  (Bug#11698)

1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310
2012-06-29  Leo Liu  <sdl.web@gmail.com>

	* textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).

2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-confirm-exit-commands):
	Add completion-at-point (bug#11725).

2012-06-29  Glenn Morris  <rgm@gnu.org>

	* progmodes/f90.el (f90-font-lock-keywords-2):
	Add some preprocessor elements.  (Bug#10499)

2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/cperl-mode.el (cperl-update-syntaxification):
	Use syntax-propertize (bug#11739).

1311 1312 1313 1314
2012-06-28  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).

Julien Danjou's avatar
Julien Danjou committed
1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325
2012-06-28  Julien Danjou  <julien@danjou.info>

	* term.el (term-handle-colors-array): Use a set of new faces to
	color the terminal.  Also uses :inverse-video property.
	(term-default-fg-color): Set to nil by default, deprecate in favor
	of `term-face'.
	(term-default-bg-color): Set to nil by default, deprecate in favor
	of `term-face'.
	(term-current-face): Use `term-face' by default.
	(term-bold-attribute): Variable deleted.

1326 1327 1328 1329 1330 1331
2012-06-28  Glenn Morris  <rgm@gnu.org>

	* simple.el (completion-list-mode-finish):
	Don't use toggle-read-only.  (Since completion-list-mode has
	a special mode-class, it wasn't doing anything extra anyway.)

1332 1333 1334 1335 1336 1337 1338 1339
2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	Make inlining of other-mode interpreted functions work (bug#11799).
	* emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
	(byte-compile): Use it to fix compilation of lexical-binding closures.
	* emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
	function, if needed.

1340 1341
2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1342 1343 1344
	* help-mode.el (help-make-xrefs): Don't just withstand
	cyclic-variable-indirection but any error in documentation-property.

1345 1346 1347 1348 1349 1350 1351
	* loadup.el (purify-flag): Pre-grow the hash-table to reduce the
	memory use.
	* bindings.el (bindings--define-key): New function.
	* vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
	* emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
	* bindings.el: Use it to purecopy define-key bindings.

1352 1353
	* textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.

1354 1355 1356 1357 1358 1359 1360 1361
	* emacs-lisp/cl.el (flet): Mark obsolete.
	* emacs-lisp/cl-macs.el (cl-flet*): New macro.
	* vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
	* progmodes/js.el (js-c-fill-paragraph):
	* progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
	(ebrowse-switch-member-buffer-to-derived-class):
	* play/5x5.el (5x5-solver): Use cl-flet.

1362 1363 1364 1365
	* emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
	(cl--symbol-function): New macro.
	(cl--letf, cl--letf*): Use it.

1366 1367 1368
	* emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
	Strip "toggle-" if any.

1369 1370
2012-06-27  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1371 1372 1373 1374
	* info.el (Info-default-directory-list): Move here from paths.el.
	* paths.el: Remove file, which is now empty.
	* loadup.el: No longer load "paths".

1375 1376
	* custom.el (custom-initialize-delay): Doc fix.

1377 1378 1379 1380 1381 1382 1383 1384
	* eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
	* eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
	* eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
	* eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
	* eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
	* eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
	* eshell/eshell.el (eshell-defgroup): Remove alias.

1385 1386 1387 1388 1389 1390 1391 1392 1393
2012-06-27  Chong Yidong  <cyd@gnu.org>

	* help.el (help-enable-auto-load): New variable.

	* help-fns.el (help-fns--autoloaded-p): New function.
	(describe-function-1): Refer to a function as "autoloaded" if it
	was autoloaded at any time in the past.  Perform autoloading if
	help-enable-auto-load is non-nil.

1394 1395 1396 1397 1398 1399 1400
2012-06-26  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (compile, compile-always): Depend on
	update-subdirs, not on subdirs.el.  Otherwise, several different
	sub-targets of 'bootstrap' running in parallel could
	simultaneously write to subdirs.el, producing a garbled file.

1401 1402 1403
2012-06-26  Sam Steingold  <sds@gnu.org>

	* files.el (file-name-base): New convenience function.
Glenn Morris's avatar
Glenn Morris committed
1404 1405 1406 1407 1408
	* autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
	* woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
	* progmodes/cc-defs.el, progmodes/cperl-mode.el:
	* progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
	* textmodes/ispell.el, textmodes/reftex-ref.el:
1409 1410 1411
	* textmodes/tex-mode.el: Use it.
	Did not touch cedet and org because they are maintained elsewhere.

1412 1413 1414 1415 1416 1417
2012-06-26  Martin Rudalics  <rudalics@gmx.at>

	* calendar/calendar.el (calendar-exit): Don't try to delete or
	iconify last frame.  See:
	http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html

1418 1419 1420 1421 1422
2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)

	* server.el (server-process-filter): Remember dir in the
	process's `server-client-directory' properties.

1423 1424 1425 1426 1427
2012-06-24  Chong Yidong  <cyd@gnu.org>

	* xml.el (xml-parse-tag): Correctly handle comment embedded in
	non-tag text.

1428 1429 1430 1431
2012-06-23  Juanma Barranquero  <lekktu@gmail.com>

	* makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.

1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442
2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* help-fns.el (describe-variable): Don't croak when doc is not found.
	* vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
	* menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
	* emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
	* emacs-lisp/smie.el (smie-next-sexp): CSE.
	* emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
	((lambda ..) ..).
	* emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.

1443 1444
2012-06-23  Chong Yidong  <cyd@gnu.org>

1445 1446
	* info.el (Info-mouse-follow-link): Accept symbol values of
	link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
1447 1448 1449 1450 1451 1452
	(Info-fontify-node): Use Info-link-keymap for all navigation
	buttons, with link-args property to perform the desired action.
	(Info-link-keymap): Doc fix.
	(Info-next-link-keymap, Info-prev-link-keymap)
	(Info-up-link-keymap): Delete now-unused keymaps.

1453 1454
2012-06-23  Chong Yidong  <cyd@gnu.org>

1455 1456
	* mouse.el (mouse-drag-track): Deactivate the mark before popping.

1457 1458 1459 1460 1461
	* progmodes/python.el (python-skeleton-define): Mark abbrevs as
	system abbrevs.

	* ansi-color.el (ansi-color-apply-on-region): Doc fix.

1462 1463
2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar