ChangeLog 647 KB
Newer Older
1 2 3 4 5
2012-08-19  Chong Yidong  <cyd@gnu.org>

	* xml.el (xml-escape-string): Don't refer to xml-entity-alist
	(Bug#12228).

6 7 8 9 10 11 12 13 14 15 16 17 18
2012-08-18  Chong Yidong  <cyd@gnu.org>

	* simple.el (yank-handled-properties): New defcustom.
	(yank-excluded-properties): Add font-lock-face and category.
	(yank): Doc fix.

	* subr.el (remove-yank-excluded-properties): Obey
	yank-handled-properties.  The special handling of font-lock-face
	and category is now done this way, instead of being hard-coded.
	(insert-for-yank-1): Remove font-lock-face handling.
	(yank-handle-font-lock-face-property)
	(yank-handle-category-property): New function.

19 20 21 22 23 24
2012-08-17  Glenn Morris  <rgm@gnu.org>

	* mail/rmailout.el (rmail-output-read-file-name):
	Check rmail-output-file-alist against the full message body
	in the correct rmail buffer.  (Bug#12214)

25 26 27 28 29
2012-08-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-start-file-process): Eliminate
	superfluous prompt.  (Bug#12203)

30 31 32 33 34
2012-08-17  Chong Yidong  <cyd@gnu.org>

	* mouse.el (mouse-appearance-menu): If x-select-font returns a
	font spec, set the font directly (Bug#3228).

35 36 37 38
2012-08-17  Martin Rudalics  <rudalics@gmx.at>

	* window.el (delete-window): Fix last fix.

39 40 41
2012-08-16  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-valid-p): Move to window.c.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
	(window-child, window-child-count, window-last-child)
	(window-normalize-window, window-combined-p)
	(window-combinations, window-atom-root, window-min-size)
	(window-sizable, window-sizable-p, window-size-fixed-p)
	(window-min-delta, window-max-delta, window--resizable)
	(window--resizable-p, window-resizable, window-total-size)
	(window-full-height-p, window-full-width-p, window-body-size)
	(window-at-side-p, adjust-window-trailing-edge, maximize-window)
	(minimize-window, window-deletable-p, delete-window)
	(delete-other-windows, set-window-buffer-start-and-point)
	(next-buffer, previous-buffer, split-window, balance-windows-2)
	(set-window-text-height, window-buffer-height)
	(fit-window-to-buffer, shrink-window-if-larger-than-buffer)
	(truncated-partial-width-window-p): Minor code adjustments.  In
	doc-strings state whether the argument window has to denote a
	live, valid or any window.
58

59 60 61 62 63 64 65 66 67
2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)

	* progmodes/subword.el (subword-forward-function)
	(subword-backward-function, subword-forward-regexp)
	(subword-backward-regexp): New variables.
	(subword-forward, subword-forward-internal, subword-backward-internal):
	Use new variables, eg so that different "word" definitions
	can be easily used.  (Bug#11411)

68 69 70 71 72 73 74
2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
	for composite selectors.
	* vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
	operation just because we can't find a previous revision.

75 76 77 78
2012-08-15  Chong Yidong  <cyd@gnu.org>

	* frame.el (set-frame-font): Accept font objects.

79 80 81 82
2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).

83 84
2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>

85 86 87 88 89 90 91 92 93
	* man.el (Man-overstrike-face, Man-underline-face)
	(Man-reverse-face): Remove variables.
	(Man-overstrike, Man-underline, Man-reverse): New faces.
	(Man-fontify-manpage): Use them instead of the variables.
	(Man-cleanup-manpage): Comment change.
	(Man-ansi-color-map): New variable.
	(Man-fontify-manpage): Use it.
	Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).

94 95 96 97 98 99 100 101 102 103 104 105 106
	Implement ANSI SGR parameters 22-27 (bug#12146).
	* ansi-color.el (ansi-colors): Doc fix.
	(ansi-color-context, ansi-color-context-region): Doc fix.
	(ansi-color--find-face): New function.
	(ansi-color-apply, ansi-color-apply-on-region): Use it.
	Rename the local variable `face' to `codes' since it is now a list of
	ansi codes.  Doc fix.
	(ansi-color-get-face): Remove.
	(ansi-color-parse-sequence): New function, derived from
	ansi-color-get-face.
	(ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
	codes 22-27.

107 108 109 110
2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (read-passwd): Allow use from a minibuffer.

111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
2012-08-14  Eli Zaretskii  <eliz@gnu.org>

	* tooltip.el (tooltip-identifier-from-point): Don't treat tokens
	inside comments and strings as identifiers.

	* progmodes/gud.el (gud-tooltip-print-command): Quote the
	expression to evaluate.  This allows to evaluate expressions with
	embedded whitespace.
	(gud-tooltip-tips): Add a blank before the newline in the
	message-box text, for the benefit of message-box emulation on
	MS-Windows.

	* progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
	messages from GDB, pop them up in a tooltip to give feedback to
	user.
126 127
	(gdb-tooltip-print-1): Quote the expression to evaluate.
	This allows to evaluate expressions with embedded whitespace.
128 129 130 131 132 133
	(gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
	if the TTY name is nil or empty (which happens when communicating
	with the inferior via pipes, e.g. on MS-Windows).
	(gdb-internals): If GDB sends a "&\n" empty debugging message,
	don't send that to the GUD buffer.

134 135 136 137 138
2012-08-14  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-setq-default):
	Optimize away setq-default with no args, as for setq.  (Bug#12195)

Chong Yidong's avatar
Chong Yidong committed
139 140
2012-08-14  Chong Yidong  <cyd@gnu.org>

Chong Yidong's avatar
Chong Yidong committed
141 142
	* minibuffer.el (read-file-name): Doc fix (Bug#10881).

Chong Yidong's avatar
Chong Yidong committed
143 144 145
	* emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
	(Bug#12085).

146 147 148 149
2012-08-14  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.

150 151 152 153 154 155
2012-08-14  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-open-shell): Cache the shell name.
	(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
	Use cached shell name.

156 157 158
2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (python-shell-send-string):
159
	(python-shell-send-setup-code): Do not use `format' with `message'.
160

161 162 163 164 165 166 167 168 169 170 171 172
2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el: Improve percent literals (bug#6286).
	(ruby-percent-literal-beg-re): New constant.
	(ruby-syntax-general-delimiters-goto-beg): Rename to
	`ruby-syntax-enclosing-percent-literal', improve literal type check.
	(ruby-syntax-propertize-general-delimiters): Rename to
	`ruby-syntax-propertize-percent-literal', it's a shorter and more
	popular term.  Adjust comments everywhere.
	(ruby-syntax-propertize-percent-literal): Only propertize when not
	inside a simple string or comment.  When the literal is unclosed,
	leave the text after it unpropertized.
173 174 175
	(ruby-syntax-methods-before-regexp): New constant.
	(ruby-syntax-propertize-function): Use it to recognize regexps.
	Don't look at the text after regexp, just use the whitelist.
176

Andreas Schwab's avatar
Andreas Schwab committed
177 178 179 180 181
2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>

	* emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
	non-nil always load the compiled file if it exists.  (Bug#12197)

182 183 184 185 186 187 188 189 190
2012-08-14  Chong Yidong  <cyd@gnu.org>

	* hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
	(hi-lock-set-pattern): When deciding whether to use font lock or
	overlays, look at font-lock-mode instead of font-lock-fontified
	(Bug#12168).
	(hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
	(hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.

191 192 193 194 195
2012-08-14  Daiki Ueno  <ueno@unixuser.org>

	* subr.el (internal--after-with-selected-window): Fix typo
	(Bug#12193).

196 197 198 199 200
2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>

	Use `completion-table-dynamic' for completion functions.
	* progmodes/python.el
	(python-shell-completion--do-completion-at-point)
201 202
	(python-shell-completion--get-completions):
	Remove functions.
203 204 205
	(python-shell-completion-complete-at-point): New function.
	(python-completion-complete-at-point): Use it.

206 207 208 209 210
2012-08-13  Jambunathan K  <kjambunathan@gmail.com>

	* vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
	(vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.

211 212
2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>

213 214 215 216 217
	* subr.el (function-get): Refine `autoload' arg so it can also
	autoload functions for gv.el (bug#12191).
	* emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
	autoloads macros.

218 219 220 221 222 223
	* color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
	Prefer pcase-let over destructuring-bind.
	* vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
	Also, remove whitespace as we go, rather than after accumulating the
	various places.

224 225 226 227 228
	* subr.el (internal--before-with-selected-window)
	(internal--after-with-selected-window): Fix typo seleted->selected.
	(with-selected-window): Adjust callers.
	Reported by Dmitry Gutov <dgutov@yandex.ru>.

229 230 231 232 233
2012-08-13  Bastien Guerry  <bzg@gnu.org>

	* window.el (special-display-popup-frame): Small docstring
	enhancement.  (Bug#12172)

234 235
2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>

236 237 238 239 240
	* tar-mode.el (tar-header-data-end): Only ignore size for files of
	type 1-6.
	(tar-header-block-summarize, tar-get-descriptor): Handle pax
	extended headers.

241 242
	* files.el (hack-local-variables-filter): Remove useless eval.

243 244 245 246
2012-08-13  Martin Rudalics  <rudalics@gmx.at>

	* subr.el (with-selected-window): Fix last change.

247 248 249 250
2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (internal--before-with-seleted-window)
	(internal--after-with-seleted-window): New functions.
251 252
	(with-selected-window): Use them, to replace dependency on
	tty-top-frame.
253

254 255 256 257 258 259 260 261 262 263 264
2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
	binding for `newline'.
	(ruby-move-to-block): When moving backward, stop at block opening,
	not indentation.
	* progmodes/ruby-mode.el (ruby-brace-to-do-end)
	(ruby-do-end-to-brace, ruby-toggle-block): New functions.
	* progmodes/ruby-mode.el (ruby-mode-map): Add binding for
	`ruby-toggle-block'.

265 266 267 268 269 270 271 272
2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* ibuffer.el (ibuffer-do-toggle-read-only):
	* dired.el (dired-toggle-read-only):
	* buff-menu.el (Buffer-menu-toggle-read-only):
	* bindings.el (mode-line-toggle-read-only):
	* bs.el (bs-toggle-readonly): Call toggle-read-only interactively.

273 274 275 276 277
2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>

	* descr-text.el (describe-char): Put the overlays over the
	"displayed as" character.

278 279 280 281 282 283 284 285 286
2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (math-default-units-table): Give an
	initial value.
	(math-put-default-units): Add options to put composite units and
	unit systems in the default units table.
	(calc-convert-units): Send composite units to
	`math-put-default-units' when appropriate.

Glenn Morris's avatar
Glenn Morris committed
287
2012-08-11  Glenn Morris  <rgm@gnu.org>
288

289 290
	* emacs-lisp/copyright.el (copyright-update-directory): Logic fix.

291 292 293 294 295
	* tutorial.el (help-with-tutorial):
	* emacs-lisp/copyright.el (copyright-update-directory):
	* emacs-lisp/autoload.el (autoload-find-generated-file)
	(autoload-find-file): Disable local eval: (for insurance).

296 297 298 299
	* files.el (hack-local-variables-filter): If an eval: form is not
	known to be safe, and enable-local-variables is :safe, then ignore
	the form totally, as is done for non-eval forms.  (Bug#12155)

300 301 302 303 304
2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/rx.el (rx-constituents): Don't define as constant.
	(rx-form): Simplify.

305 306
2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>

307 308 309 310 311 312 313 314
	* progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
	?, _, and : are symbol constituents, ! is not (but kinda should be).
	(ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
	(ruby-syntax-propertize-function): Adjust for changes in
	`ruby-syntax-propertize-heredoc'.

2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>

315 316 317
	* progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
	binding (use `M-;' instead).
	(ruby-singleton-class-p): New function.
318
	(ruby-expr-beg, ruby-in-here-doc-p) Use it.
319

320 321 322 323
2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.

324 325 326 327 328 329 330 331 332 333
2012-08-10  Chong Yidong  <cyd@gnu.org>

	* progmodes/python.el (python-shell-get-process-name): Don't mess
	with same-window-buffer-names.

	* eshell/eshell.el (eshell-add-to-window-buffer-names)
	(eshell-remove-from-window-buffer-names): Make obsolete.
	(eshell-buffer-name, eshell-unload-hook): Don't use them.
	(eshell): Just use pop-to-buffer-same-window instead.

334 335 336 337 338 339 340 341
2012-08-10  Chong Yidong  <cyd@gnu.org>

	* bindings.el: Bind M-= back to count-words-region.

	* simple.el (count-words-region): Accept a prefix arg for acting
	on the entire buffer.
	(count-words--buffer-message): New helper function.

342 343 344 345 346 347 348 349 350
2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
	* subr.el (eventp): `nil' is not an event, and eventp is not hot.
	(event-start, event-end): Use posn-at-point to return a more
	informative posn.
	(posnp): New function.
	* mouse.el (popup-menu-normalize-position): Use it.

351 352 353 354 355 356 357 358 359 360
2012-08-10  Masatake YAMATO  <yamato@redhat.com>

	* mouse.el (popup-menu-normalize-position): New function.
	(popup-menu): Use `popup-menu-normalize-position' to normalize
	the form for POSITION argument.

	* term/x-win.el (x-menu-bar-open):
	Use the value returend from (posn-at-point) as position
	passed to `popup-menu'.

361 362 363 364 365 366 367
2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calccomp.el (math-compose-expr): Add extra argument
	indicating that parentheses should be put around products in
	denominators.  Give multiplication precedence over division during
	composition.

368 369
2012-08-09  Chong Yidong  <cyd@gnu.org>

370 371 372 373 374
	* man.el (Man-switches, Man-sed-command, Man-awk-command)
	(Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
	(Man-untabify-command, manual-program): Convert to defcustom
	(Bug#10429).

375 376
	* vc/add-log.el (change-log-mode): Bind comment-start to nil.

377 378 379
	* descr-text.el (describe-char): Don't insert extra newlines
	(Bug#10127).

380 381 382
	* vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
	(log-view-diff-changeset, log-view-minor-wrap): Likewise.

383 384 385
	* align.el (align-region): Delete temporary markers (Bug#10047).
	Plus some code cleanups.

386 387 388 389 390 391 392
2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (python-pdbtrack-tracked-buffer)
	(python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
	(python-shell-internal-last-output): Use make-local-variable
	instead of make-variable-buffer-local.

393 394 395 396 397
2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el: Enhancements to forward-sexp.
	(python-nav-forward-sexp): Rename from
	python-nav-forward-sexp-function.
398 399
	(python-nav--forward-sexp, python-nav--backward-sexp):
	New functions.
400

401 402 403 404 405
2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-menu.el (calc-modes-menu): Add entries for matrix
	modes and simplification modes.

406 407 408 409 410
2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* delsel.el (delete-selection-pre-hook): Don't propagate the
	file-supersession signals (bug#12161).

411 412 413 414 415
2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
	(cl-map-extents): Add compatibility aliases (bug#12135).

416 417 418 419 420 421 422
2012-08-08  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-find-file-exists-command): Protect the
	tests by `ignore-error'.
	(tramp-find-shell): Open also a new shell, when cache is already
	set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)

423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438
2012-08-08  Juri Linkov  <juri@jurta.org>

	* bookmark.el: Add `defaults' property to the bookmark record.
	(bookmark-current-buffer): Doc fix.
	(bookmark-make-record): Add `defaults' property with default values
	to the bookmark record.
	(bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
	with `bookmark-insert-current-bookmark'.
	(bookmark-set): Get `defaults' property from the bookmark record
	and use it in `read-from-minibuffer'.
	(bookmark-insert-current-bookmark): Remove function.

	* info.el (Info-bookmark-make-record): Add `defaults' property
	with values of canonical Info node name, the current Info file
	name and the current Info node name.  (Bug#12107)

439 440 441 442 443
2012-08-08  Juri Linkov  <juri@jurta.org>

	* files.el (basic-save-buffer): Use `buffer-name' as the default
	of `read-file-name' when buffer is not visiting a file (bug#12128).

444 445 446 447 448 449 450 451
2012-08-08  Juri Linkov  <juri@jurta.org>

	* info.el (Info-isearch-search): Doc fix.
	(Info-search): Change search-failed message from "initial node" to
	"end of node" (bug#12078).
	(Info-isearch-search): Change `isearch-string-state' to
	`isearch--state-string'.

452 453 454
2012-08-08  Glenn Morris  <rgm@gnu.org>

	* language/persian.el: Remove file.
Glenn Morris's avatar
Glenn Morris committed
455
	* language/misc-lang.el: Move unique part of persian.el here.
456 457
	* loadup.el: Remove language/persian.

458 459 460 461
2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>

	* vc/diff-mode.el (diff-remove-trailing-whitespace): New function.

462 463 464 465 466 467 468 469 470
2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el Fixed defsubst warning.
	(python-syntax-context) Rename from python-info-ppss-context.
	(python-syntax-context-type): Rename from
	python-info-ppss-context-type.
	(python-syntax-comment-or-string-p): Rename from
	python-info-ppss-comment-or-string-p.

471 472 473 474
2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-misc.el (calc-record-why): Don't record a message twice.

475 476
2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>

477 478 479
	* emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
	a defcustom that is quoted with backquote.

480 481
	* calc/calc-prog.el (math-do-defmath): Use backquote forms.
	Fix handling of interactive spec when the body uses return.
482 483 484 485 486 487 488 489 490 491 492
	(math-do-arg-check, math-define-function-body): Use backquote forms.
	* calc/calc-ext.el (math-defcache): Likewise.
	* calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
	* allout.el (allout-new-exposure): Likewise.
	* calc/calcalg2.el (math-tracing-integral): Likewise.
	* info.el (Info-last-menu-item): Likewise.
	* emulation/vip.el (vip-loop): Likewise.
	* textmodes/artist.el (artist-funcall): Likewise.
	* menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
	Construct menu-item directly.

493 494
	* progmodes/autoconf.el (font-lock-syntactic-keywords):
	Don't declare.
495

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

	* simple.el (deactivate-mark): Preserve text properties when
	saving the primary selection (Bug#8384).

Kevin Ryde's avatar
Kevin Ryde committed
501 502 503 504 505 506
2012-08-07  Kevin Ryde  <user42@zip.com.au>

	* woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
	(woman-parse-numeric-value): On a bad .IP line, issue a warning
	and continue processing (Bug#12110).

507 508 509 510 511
2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/cperl-mode.el (cperl-mode): Yet another fix for
	syntax-propertize-function (bug#10095).

512 513
2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>

514 515 516 517 518 519 520
	* help-fns.el (help-fns--key-bindings, help-fns--signature)
	(help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
	describe-function-1.
	(describe-function-1): Use them.  Move compiler macro after sig.
	(help-fns--compiler-macro): Use function-get.  Assume we're already in
	standard-output.  Adjust layout to new call order.

521 522 523
	* emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
	re-binding a symbol that has a symbol-macro (bug#12119).

524 525 526 527 528
2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>

	* language/persian.el: New file.  (Bug#11812)
	* loadup.el: Add language/persian.el.

529 530 531 532 533 534 535 536 537 538 539 540
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).

541 542 543 544 545 546 547 548 549
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.

550 551
2012-08-06  Glenn Morris  <rgm@gnu.org>

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

555 556
2012-08-05  Chong Yidong  <cyd@gnu.org>

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

560 561
	* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
	Don't show defvars which have no second argument (Bug#8638).
562 563 564 565 566

	* 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
567
2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
568 569 570 571 572

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

573 574
2012-08-05  Chong Yidong  <cyd@gnu.org>

575 576 577 578 579 580
	* 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.

581 582
	* files.el (kill-buffer-hook): Provide a defvar.

583 584 585 586 587
2012-08-05  Glenn Morris  <rgm@gnu.org>

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

588 589
2012-08-05  Chong Yidong  <cyd@gnu.org>

590
	* wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
591

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

597 598
	* files.el (set-auto-mode): Fix invalid setq call.

599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616
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.

617 618 619 620
2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>

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

623 624 625 626 627 628 629
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.

630 631
2012-08-03  Eli Zaretskii  <eliz@gnu.org>

632 633 634 635 636
	* 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.

637 638
	* files.el (file-truename): Don't skip symlink-chasing part on
	windows-nt.  Incorporate the resolution of 8+3 short aliases on
639 640
	Windows into the loop that recursively chases symlinks.
	Compare directory and its parent case-insensitively on MS-Windows and
641 642
	MS-DOS.

643 644
2012-08-03  Chong Yidong  <cyd@gnu.org>

645 646
	* menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.

647 648
	* sort.el (sort-regexp-fields): Doc fix.

649 650 651 652 653
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
654 655 656 657 658 659 660 661
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.

662 663 664 665 666
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).

667 668 669 670 671 672
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
673
	(reftex-label-alist): Docfix.
674

675 676 677 678
2012-08-02  Bastien Guerry  <bzg@gnu.org>

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

679 680 681 682
2012-08-02  Glenn Morris  <rgm@gnu.org>

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

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

691 692 693 694 695
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
696 697 698 699 700 701 702 703
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.

704 705 706 707 708
2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)

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

709 710 711 712 713 714 715 716 717 718 719 720
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
721 722 723 724 725
2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>

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

726 727 728 729 730
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.
731
	(calc-set-simplify-mode):  Adjust message.
Andreas Schwab's avatar
Andreas Schwab committed
732

733 734 735 736 737 738 739 740
	* 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'.

741 742 743 744
2012-07-31  Bastien Guerry  <bzg@gnu.org>

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

745 746 747 748 749
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.

750 751 752 753 754
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
755 756 757 758 759 760 761 762
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.

763 764 765 766 767 768 769 770 771
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.

772 773
2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>

774 775 776 777 778 779 780 781 782 783 784 785
	* 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
786
	* calc/calc-help.el (calc-m-prefix-help): Change messages to
787 788
	indicate new simplification modes.

789 790
	* calc/README: Mention new default simplification mode.

791 792 793 794 795 796 797
	* 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.

798 799 800 801 802 803 804 805 806
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)

807 808 809 810 811 812 813 814 815 816 817
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'.

818 819 820 821 822 823 824 825 826 827 828 829 830 831 832
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.
833 834
	(inactivate-input-method): Mark obsolete.

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

842 843 844 845 846 847 848 849 850 851
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).
852 853
	(append-to-register, prepend-to-register):
	Call 2012-07-29  Juri Linkov  <juri@jurta.org>
854 855 856 857

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

858 859 860 861 862 863 864
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)

865 866 867 868 869
2012-07-28  Chong Yidong  <cyd@gnu.org>

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

Glenn Morris's avatar
Glenn Morris committed
870
2012-07-28  Leo Liu  <sdl.web@gmail.com>
871 872 873 874

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

875 876 877 878 879 880 881 882 883 884 885 886
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.

887 888
2012-07-28  Chong Yidong  <cyd@gnu.org>

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

892 893 894
	* simple.el (delete-trailing-lines): New option.
	(delete-trailing-whitespace): Obey it (Bug#11879).

895 896 897 898 899 900 901 902
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.

903 904 905 906 907 908 909 910
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.

911 912 913 914
2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>

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

915 916
2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>

917
	* progmodes/python.el (python-mode-map): Add keybinding for
918 919 920 921 922 923
	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
924
2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
925 926 927 928 929 930

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

931 932
2012-07-27  Tassilo Horn  <tsdh@gnu.org>

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

939 940 941 942 943
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.

944 945 946 947 948
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)
949 950
	($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
	Fixes failures in parallel bootstrap because subdirs.el is being
951 952 953
	rewritten while the autoload files are built at the same time,
	which needs to load subdirs.el.

954 955 956 957 958 959
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).

960 961 962 963
2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>

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

964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996
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.

997 998 999 1000 1001
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
1002 1003 1004 1005
2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>

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

1006 1007 1008 1009 1010
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).

1011 1012 1013 1014 1015
2012-07-25  Martin Rudalics  <rudalics@gmx.at>

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

1016 1017 1018 1019 1020 1021
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.

1022 1023 1024 1025 1026
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.

1027 1028 1029 1030 1031
2012-07-24  Julien Danjou  <julien@danjou.info>

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

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

1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050
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.

1051 1052
2012-07-21  Leo Liu  <sdl.web@gmail.com>

1053 1054
	* progmodes/cc-cmds.el (c-defun-name):
	Use match-string-no-properties instead for consistency.
1055

1056 1057
2012-07-20  Leo Liu  <sdl.web@gmail.com>

1058 1059 1060
	* progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
	(Bug#7879)

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

1063 1064 1065 1066 1067 1068 1069 1070 1071
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).

1072 1073 1074 1075 1076
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.

1077 1078 1079 1080 1081 1082 1083
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.

1084 1085 1086 1087 1088
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).

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

1095 1096 1097 1098 1099 1100
2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>

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

1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112
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.

1113 1114 1115 1116 1117
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.

1118 1119 1120 1121 1122
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
1123 1124 1125 1126 1127
2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>

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

1128 1129 1130 1131 1132
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).

1133 1134 1135 1136 1137 1138 1139
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)
1140
	(python-info-assignment-continuation-line-p): Simplify checks
1141 1142 1143 1144 1145 1146
	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.

1147 1148 1149 1150 1151 1152 1153 1154 1155
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.

1156 1157 1158 1159 1160 1161 1162 1163
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'.

1164 1165
2012-07-18  Chong Yidong  <cyd@gnu.org>

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

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

1170 1171
	* bindings.el: Bind M-= to count-words.

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

1174 1175 1176 1177 1178 1179
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).

1180 1181 1182 1183 1184
2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>

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

1185 1186
2012-07-18  Chong Yidong  <cyd@gnu.org>

1187 1188
	* subr.el (keyboard-translate): Doc fix (Bug#7261).

1189 1190 1191 1192 1193 1194
	* 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.

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

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

1206 1207 1208 1209 1210 1211 1212
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.

1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227
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.

1228 1229 1230 1231
2012-07-17  Juri Linkov  <juri@jurta.org>

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

1232
2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
1233

1234
	Final renames and doc fixes for movement commands (bug#11899).
1235 1236
	* progmodes/python.el (python-nav-beginning-of-statement):
	Rename from python-nav-statement-start.
1237 1238 1239 1240 1241 1242
	(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.

1243 1244
2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>

1245 1246
	* progmodes/python.el (python-shell-send-string-no-output):
	Allow accept-process-output to quit, keeping shell process ready for
1247 1248
	future interactions (Bug#11868).

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

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

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

1256 1257 1258
	* progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
	change (bug#11826).

1259 1260
2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

Stefan Monnier's avatar
Stefan Monnier committed
1267 1268 1269 1270 1271 1272
	* 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.

1273 1274 1275 1276 1277 1278
	* 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.

1279 1280 1281 1282 1283
2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)

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

1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294
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)
1295 1296
	(python-imenu-make-tree, python-imenu-create-index):
	Remove functions.
1297 1298 1299
	(python-mode): Update to interact with imenu by setting
	`imenu-extract-index-name-function' only.

1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313
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'.

1314 1315
2012-07-16  Michael Albinus  <michael.albinus@gmx.de>

1316 1317 1318 1319 1320
	* 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.

1321 1322 1323 1324 1325
	* 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.

1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336
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
1337 1338
	sequence to toggle extended coordinates on newer XTerms.
	This appears to be harmless on terminals which do not support this.
1339

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

1342 1343 1344 1345 1346 1347
	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
1348 1349
	* fringe.el: New bitmap exclamation-mark.

Jan Djärv's avatar
Jan Djärv committed
1350 1351 1352 1353 1354
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).

1355 1356 1357 1358 1359
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).

1360 1361
2012-07-14  Chong Yidong  <cyd@gnu.org>

1362 1363
	* bindings.el: Consolidate ctl-x-r-map bindings.
	Bind copy-rectangle-as-kill to C-x r w.
1364 1365 1366 1367 1368 1369 1370

	* 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
1371 1372 1373 1374
2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>

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

1375 1376
2012-07-13  Juanma Barranquero  <lekktu@gmail.com>

1377 1378
	* bindings.el (top): Use `mapc' instead of `mapcar'.

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

1381 1382 1383 1384 1385 1386
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)

1387 1388 1389 1390 1391 1392 1393 1394
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.

1395 1396 1397 1398 1399 1400 1401 1402 1403
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):
1404 1405
	* buff-menu.el (Buffer-menu-toggle-read-only):
	Remove with-no-warnings around toggle-read-only.
1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424

	* 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
1425 1426 1427 1428 1429
2012-07-12  Eli Zaretskii  <eliz@gnu.org>

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

1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462