ChangeLog 706 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
2012-09-27  Chong Yidong  <cyd@gnu.org>

	* progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
	change; value should be t.

2012-09-27  Ivan Andrus  <darthandrus@gmail.com>

	* emacs-lisp/package.el (package-delete): Don't signal an error if
	the package directory is missing (Bug#12524).

11 12
2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>

13 14 15 16 17 18 19 20 21 22 23 24
	* image-mode.el: Use lexical-binding.
	(image-mode-winprops): Use t to stand for the window of
	a buffer that's not displayed.
	* doc-view.el (doc-view-new-window-function): Handle the new
	t in winprops.
	(doc-view-enlarge): Make it a real nop if the size is not changed.
	(doc-view-display): Handle the case where the buffer is not (yet?)
	displayed in any window.
	(doc-view-saved-settings): New var.
	(doc-view-mode): Use it.
	(doc-view-fallback-mode): Set it.

25 26 27 28 29 30
	* minibuf-eldef.el: Make it possible to replace (default ...) with [...].
	Set lexical-binding.
	(minibuffer-eldef-shorten-default): New var.
	(minibuffer-default-in-prompt-regexps): Use it for new default.
	(minibuf-eldef-setup-minibuffer): Add replacement functionality.

Juanma Barranquero's avatar
Juanma Barranquero committed
31 32 33 34 35 36 37
2012-09-26  Juanma Barranquero  <lekktu@gmail.com>

	* international/uni-bidi.el:
	* international/uni-category.el:
	* international/uni-name.el:
	* international/uni-numeric.el: Regenerate.

Stefan Monnier's avatar
Stefan Monnier committed
38 39 40 41 42
2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
            Stefan Monnier  <monnier@iro.umontreal.ca>

	* profiler.el: New file.

43 44 45 46 47
2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/testcover.el (testcover-after): Add gv-expander.
	(testcover-reinstrument): Simplify with CSE.

48 49 50 51
2012-09-26  Juanma Barranquero  <lekktu@gmail.com>

	* window.el (temp-buffer-window-setup): Fix typo in docstring.

52 53 54 55 56 57 58 59 60 61 62
2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>

	* verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
	(verilog-auto-input, verilog-auto-insert-lisp)
	(verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
	(verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
	(verilog-auto-unused, verilog-auto-wire)
	(verilog-forward-or-insert-line): Fix AUTOs with no trailing
	newline.  Reported by Andrew Jones.
	(verilog-auto-inst) Support expanding $clog2 in AUTOINST.
	Reported by Brad Dobbie.
63 64 65
	(verilog-batch-delete-trailing-whitespace):
	Create verilog-batch-delete-trailing-whitespace.
	Reported by Brad Dobbie.
66 67 68 69 70 71 72 73 74 75 76
	(verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
	parameters from another module.  Reported by Dan Katz.
	(verilog-auto, verilog-auto-assign-modport)
	(verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
	AUTOINOUTMODPORT for UVM interface module shell generation.
	Reported by Brad Dobbie.
	(verilog-auto-inst-interfaced-ports): Make default nil, as more
	standard behavior.
	(verilog-auto): Fix AUTO parameters with parenthesis arguments.
	Reported by Matt Martin.

77 78 79 80 81 82 83 84 85 86
2012-09-25  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window--resize-child-windows): When resizing child
	windows proportionally, process them in reverse order to
	preserve the "when splitting a window the new one gets the odd
	line" behavior.
	(window--resize-root-window-vertically): When resizing the
	minibuffer window try to affect only windows at the bottom of the
	frame.  (Bug#12419)

87 88 89 90 91 92
2012-09-25  Chong Yidong  <cyd@gnu.org>

	* subr.el (declare): Doc fix.

	* help-fns.el (help-fns--obsolete): Handle macros properly.

93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
2012-09-25  Chong Yidong  <cyd@gnu.org>

	* bookmark.el (bookmark-jump-noselect): Use a declare form to mark
	this function obsolete.

	* calendar/cal-x.el (calendar-two-frame-setup)
	(calendar-only-one-frame-setup, calendar-one-frame-setup):
	* calendar/calendar.el (american-calendar, european-calendar)
	(calendar-for-loop):
	* comint.el (comint-dynamic-simple-complete)
	(comint-dynamic-complete-as-filename, comint-unquote-filename):
	* desktop.el (desktop-load-default):
	* dired-x.el (dired-omit-here-always)
	(dired-hack-local-variables, dired-default-directory):
	* emacs-lisp/derived.el (derived-mode-class):
	* emacs-lisp/timer.el (timer-set-time-with-usecs):
	* emacs-lock.el (toggle-emacs-lock):
	* epa.el (epa-display-verify-result):
	* epg.el (epg-sign-keys, epg-start-sign-keys)
	(epg-passphrase-callback-function):
	* eshell/esh-util.el (eshell-for):
	* eshell/eshell.el (eshell-remove-from-window-buffer-names)
	(eshell-add-to-window-buffer-names):
	* files.el (locate-file-completion):
	* imenu.el (imenu-example--create-c-index)
	(imenu-example--create-lisp-index)
	(imenu-example--lisp-extract-index-name)
	(imenu-example--name-and-position):
	* international/mule-cmds.el (princ-list):
	* international/mule-diag.el (decode-codepage-char):
	* international/mule-util.el (detect-coding-with-priority):
	* iswitchb.el (iswitchb-read-buffer):
	* mail/mailalias.el (mail-complete):
	* mail/sendmail.el (mail-sent-via):
	* mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
	(mouse-major-mode-menu):
	* password-cache.el (password-read-and-add):
	* pcomplete.el (pcomplete-parse-comint-arguments):
	* progmodes/sh-script.el (sh-maybe-here-document):
	* replace.el (query-replace-regexp-eval):
	* savehist.el (savehist-load):
	* simple.el (choose-completion-delete-max-match):
	* term.el (term-dynamic-simple-complete):
	* vc/ediff-init.el (ediff-check-version):
	* vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
	* vc/vc.el (vc-diff-switches-list):
	* view.el (view-return-to-alist-update): Likewise.

	* subr.el (eval-next-after-load, makehash, insert-string)
	(assoc-ignore-representation, assoc-ignore-case): Use declare to
	mark obsolete.
	(mode-line-inverse-video): Variable deleted.

	* international/mule-util.el (string-to-sequence): Remove.

	* calendar/calendar.el (calendar-version):
	* calendar/icalendar.el (icalendar-extract-ical-from-buffer)
	(icalendar-convert-diary-to-ical):
	* cus-edit.el (custom-mode):
	* ansi-color.el (ansi-color-unfontify-region):
	* international/latin1-disp.el (latin1-char-displayable-p):
	* progmodes/cwarn.el (turn-on-cwarn-mode):
155 156
	* progmodes/which-func.el (which-func-update-1):
	Use define-obsolete-function-alias.
157 158

	* net/newst-backend.el (newsticker-cache-filename):
159 160
	* net/newst-treeview.el (newsticker-groups-filename):
	Fix incorrect obsolescence declaration.
161 162 163 164 165 166 167 168 169 170 171 172 173

	* allout.el (allout-passphrase-hint-string): Likewise.
	(allout-init): Use a declare form to mark obsolete.

	* emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
	this applies to functions.

	* iswitchb.el (iswitchb-read-buffer): Move code of
	iswitchb-define-mode-map here, and delete that obsolete function.

	* net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
	font-lock-reference-face.

174 175
2012-09-25  Glenn Morris  <rgm@gnu.org>

176 177 178
	* buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
	Doc fixes.

179 180 181
	* eshell/em-term.el (eshell-term-name):
	Default to term-term-name.  (Bug#12485)

182 183
2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>

184 185
	* progmodes/python.el (python-shell-send-buffer): Better handling
	of "if __name__ == '__main__':" conditionals when sending the buffer.
186

187 188 189 190 191
2012-09-24  Glenn Morris  <rgm@gnu.org>

	* eshell/esh-cmd.el (eshell-find-alias-function):
	Tighten up file-name regexp.  (Bug#12499)

192 193 194 195 196
2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>

	Enhancements for triple-quote string syntax.
	* progmodes/python.el (python-quote-syntax): Remove.
	(python-syntax-propertize-function): New value.
197 198
	(python-syntax-count-quotes, python-syntax-stringify):
	New functions.
199

200 201
2012-09-24  Chong Yidong  <cyd@gnu.org>

202 203 204 205 206 207
	* mail/supercite.el (sc-version): Remove obsolete function.
	(sc-describe): Don't mark as obsolete, since it is bound.
	(sc-submit-bug-report): Remove.

	* vc/log-edit.el (cvs-changelog-full-paragraphs)
	(cvs-commit-buffer-require-final-newline): Remove.
208 209
	(log-edit-require-final-newline)
	(log-edit-changelog-full-paragraphs): Default to t.
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230

	* vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
	* vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
	* vc/vc.el (vc-checkout-carefully): Likewise.

	* vc/emerge.el (emerge-mode): Make it an obsolete alias.
	(emerge-version): Remove.

	* progmodes/compile.el (compile-internal): Remove.
	(compilation-parse-errors-function): Fix typo.

	* international/mule.el (set-char-table-default): Remove.
	(set-coding-priority, make-coding-system, generic-char-p)
	(charset-list, charset-bytes, charset-id): Use declare to mark
	functions as obsolete.

	* vc/pcvs-defs.el (cvs-buffer-name-alist)
	(cvs-invert-ignore-marks): Remove references to obsolete vars.
	* vc/vc-hooks.el (vc-default-registered): Don't use
	vc-master-templates.

231 232
	* font-lock.el (font-lock-reference-face):
	Use define-obsolete-variable-alias.
233 234 235 236 237 238 239 240 241 242 243 244 245 246 247

	* generic-x.el (rul-generic-mode): Use font-lock-constant-face.
	* calendar/calendar.el (calendar-font-lock-keywords):
	* calendar/diary-lib.el (diary-font-lock-keywords)
	(diary-fancy-font-lock-keywords):
	* textmodes/reftex-sel.el (reftex-insert-docstruct):
	* textmodes/reftex-index.el (reftex-insert-index):
	* textmodes/reftex-cite.el (reftex-format-bib-entry):
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	* progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
	* progmodes/prolog.el (prolog-font-lock-keywords):
	* progmodes/idlwave.el (idlwave-idl-keywords):
	* progmodes/ada-mode.el (ada-font-lock-keywords):
	* net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.

248 249 250 251
2012-09-24  Glenn Morris  <rgm@gnu.org>

	* mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.

252 253 254 255 256
2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (python-indent-line): More consistent cursor
	movement behavior.

257 258 259 260
2012-09-23  Stefan Merten  <smerten@oekonux.de>

	* textmodes/rst.el: Fix compiler warning.

261 262
2012-09-23  Roland Winkler  <winkler@gnu.org>

263 264
	* textmodes/bibtex.el (bibtex-autokey-transcriptions):
	Transcribe also LaTeX hyphenation.
265 266 267
	(bibtex-reformat): Bug fix. Do not quote twice the elements of
	bibtex-reformat-previous-options.

268 269 270 271 272 273 274 275
2012-09-23  Roland Winkler  <winkler@gnu.org>

	* proced.el (proced-renice-command): New variable.
	(proced-marked-processes): New function.
	(proced-with-processes-buffer): New macro.
	(proced-send-signal): Use them.
	(proced-renice): New command bound to r.

276 277 278 279 280 281
2012-09-23  Roland Winkler  <winkler@gnu.org>

	* ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
	ibuffer-saved-filter-groups has one element, shortcut the call of
	completing-read.  (Bug#12331)

282 283 284 285 286 287 288 289
2012-09-23  Chong Yidong  <cyd@gnu.org>

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

290 291 292 293 294
2012-09-23  Chong Yidong  <cyd@gnu.org>

	* image.el (image-type-available-p): Adapt to init-image-library
	argument changes.

295 296 297 298 299
2012-09-22  Juri Linkov  <juri@jurta.org>

	* dired.el (dired-mode-map): Add [remap read-only-mode] for
	`dired-toggle-read-only'.  (Bug#12462)

300 301 302 303 304 305
2012-09-22  Martin Rudalics  <rudalics@gmx.at>

	* subr.el (temp-output-buffer-show): New function.
	(with-output-to-temp-buffer): Call temp-output-buffer-show
	instead of internal-temp-output-buffer-show.

Chong Yidong's avatar
Chong Yidong committed
306 307
2012-09-22  Chong Yidong  <cyd@gnu.org>

308 309 310
	* files.el (ctl-x-map): Bind C-x C-q to read-only-mode
	(Bug#12462).

Chong Yidong's avatar
Chong Yidong committed
311 312 313 314 315 316
	* repeat.el (repeat): Doc fix (Bug#12348).

	* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
	(Bug#10909).

	* simple.el (shell-command-on-region): Doc fix.
317
	(read-only-mode): Doc fix.
Chong Yidong's avatar
Chong Yidong committed
318

319 320 321 322 323 324
2012-09-22  Eli Zaretskii  <eliz@gnu.org>

	* emacs-lisp/timer.el (run-with-idle-timer)
	(timer-activate-when-idle): Warn against reinvoking an idle timer
	from within its own timer action.  (Bug#12447)

325 326 327 328 329 330 331 332 333 334 335 336 337
2012-09-22  Martin Rudalics  <rudalics@gmx.at>

	* cus-start.el (window-combination-limit): Add new optional
	values.
	* window.el (temp-buffer-window-show)
	(window--try-to-split-window): Handle new values of
	window-combination-limit (Bug#1806).
	(split-window): Test window-combination-limit for t instead of
	non-nil.
	(display-buffer-at-bottom): New buffer display action function.
	* help.el (temp-buffer-resize-regexps): New option.
	(temp-buffer-resize-mode): Rewrite doc-string.
	(resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
Glenn Morris's avatar
Glenn Morris committed
338
	Don't resize reused window.  Suggested by Glenn Morris.
339

340 341
2012-09-22  Stefan Merten  <smerten@oekonux.de>

342
	* textmodes/rst.el: Revamp section title faces.
343 344 345 346 347 348 349 350 351 352 353
	(rst-official-version)
	(rst-package-emacs-version-alist): Sync with official version
	V1.4.0.
	(rst-faces-defaults, rst-set-level-default)
	(rst-level-face-max, rst-level-face-base-color)
	(rst-level-face-base-light, rst-level-face-format-light)
	(rst-level-face-step-light, rst-define-level-faces): Obsolete.
	(rst-adornment-faces-alist): Match new setup.
	(rst-level-1, rst-level-2, rst-level-3, rst-level-4)
	(rst-level-5, rst-level-6): New faces.

354 355 356 357
2012-09-22  Chong Yidong  <cyd@gnu.org>

	* simple.el (undo): Handle indirect buffers (Bug#8207).

358
2012-09-21  Leo Liu  <sdl.web@gmail.com>
359 360

	IDO: Disable match re-ordering for buffer switching.
361
	* ido.el (ido-buffer-disable-smart-matches): New variable.
362 363
	(ido-set-matches-1): Use it.  (Bug#2042)

364
2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
365 366 367 368

	* progmodes/idlw-shell.el (idlwave-shell-complete-filename):
	Fix 2011-05-17 change.  (Bug#12418)

369
2012-09-21  Leo Liu  <sdl.web@gmail.com>
370 371 372

	* subr.el (ignore-errors): Mention with-demoted-errors in doc-string.

373
2012-09-21  Glenn Morris  <rgm@gnu.org>
374 375 376 377

	* emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
	Be more robust about locating simple.el.

378
2012-09-21  Glenn Morris  <rgm@gnu.org>
379 380 381

	* mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.

382 383 384 385
2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)

	* pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)

386 387
2012-09-20  Juri Linkov  <juri@jurta.org>

388 389 390 391 392 393 394 395 396 397 398 399 400
	* replace.el (query-replace-read-from): Use `read-regexp' instead
	of `read-from-minibuffer' when `regexp-flag' is non-nil.
	(occur-read-primary-args): Use `read-regexp' instead of
	`read-string'.
	(multi-occur-in-matching-buffers): Use `read-regexp' instead of
	`read-from-minibuffer'.
	* isearch.el (isearch-occur): Use `read-regexp' instead of
	`read-string'.
	* dired.el (dired-read-regexp): Use `read-regexp' instead of
	`read-from-minibuffer'.
	* progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
	of `read-string'.  (Bug#7567)

401 402 403 404
	* replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
	and allow accepting a list of strings prepended to a list of
	standard default values.  Doc fix.  (Bug#12321)

405 406
	* replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)

407 408 409
	* replace.el (read-regexp): Don't add ": " when PROMPT already
	ends with a colon and space.  (Bug#12321)

410 411 412 413 414
2012-09-20  Tassilo Horn  <tsdh@gnu.org>

	* doc-view.el (doc-view-display): Better fix for the cl-assertion
	error.

415 416
2012-09-20  Stefan Merten  <smerten@oekonux.de>

417
	* textmodes/rst.el: Integrate support for `imenu' and `which-function'.
418 419 420 421 422 423
	Fixes feature request bug#11711.
	(rst-mode): Create `imenu-create-index-function'.
	(rst-get-stripped-line): Delete after refactoring.
	(rst-section-tree, rst-section-tree-rec)
	(rst-section-tree-point): Refactor and document properly.
	(rst-imenu-find-adornments-for-position)
424 425
	(rst-imenu-convert-cell, rst-imenu-create-index):
	New function.
426

427 428
2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

429 430 431 432 433 434 435
	* emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
	(macroexp--expand-all): Use it.
	(macroexp--funcall-and-return): Remove by folding it into its sole
	caller (macroexp--warn-and-return).
	* emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
	Use macroexp--obsolete-warning.

436 437 438
	* calc/calc.el: Fix last change by removing the whole chunk, since it
	was only needed back when Calc was not bundled.

439 440 441 442 443
2012-09-20  Martin Rudalics  <rudalics@gmx.at>

	* emacs-lisp/debug.el (debug): Restore assignment to
	debugger-old-buffer removed on 2012-09-08.

444 445 446 447 448
2012-09-20  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-diff): Remove (require 'diff) since
	`diff-latest-backup-file' is now autoloaded.

449 450 451 452
2012-09-20  Chong Yidong  <cyd@gnu.org>

	* vc/diff.el (diff-latest-backup-file): Autoload.

453 454
2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

455 456 457 458 459 460 461 462 463
	* calc/calc.el: Remove redundant autoload shape check.
	(sel-mode): Don't defvar.
	(calc-get-stack-element): Add `sel-mode' arg instead.
	(calc-top, calc-top-list): Pass it this additional argument.
	* calc/calc-store.el (calc-store-map):
	* calc/calc-map.el (calc-apply, calc-reduce, calc-map)
	(calc-map-equation, calc-outer-product, calc-inner-product):
	* calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.

464 465
	* emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.

466 467 468 469 470 471 472 473
2012-09-19  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-diff): Add (require 'diff) because
	`diff-latest-backup-file' is not autoloaded.
	(dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
	of `dired-get-filename' to t to not report error when there is
	no default file on the current line.

474 475
2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>

476 477 478 479 480
	* emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
	macroexp--eval-if-compile.
	(macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
	(macroexp--expand-all): Use them (bug#12371).

481 482 483
	* doc-view.el (doc-view-guess-paper-size)
	(doc-view-scale-bounding-box): Fix unbound `caddr'.

484 485 486 487 488 489 490 491 492 493 494
2012-09-19  Tassilo Horn  <tsdh@gnu.org>

	New feature: set optimal slice from BoundingBox information.
	* doc-view.el (doc-view-mode-map): Add keybinding.
	(doc-view-menu): Add menu entry.
	(doc-view-set-slice): Adapt docstring.
	(doc-view-get-bounding-box, doc-view-guess-paper-size)
	(doc-view-scale-bounding-box)
	(doc-view-set-slice-from-bounding-box): New functions.
	(doc-view-paper-sizes): New defvar.

495 496
2012-09-19  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
497 498 499
	* emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
	(byte-compile-log-warning): Autoload.  (Bug#12371)

500 501 502 503 504 505
	* calendar/calendar.el (calendar-american-month-header)
	(calendar-european-month-header, calendar-iso-month-header)
	(calendar-month-header): New options.
	(calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
	(calendar-generate-month): Use calendar-month-header.  (Bug#9510)

506 507 508 509
2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>

	* startup.el (command-line-ns-option-alist): Add -g and --geometry.

510 511 512 513 514 515
2012-09-18  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-diff): Restore original functionality of
	getting the default value, but keep new feature of using the
	latest existing backup file (`diff-latest-backup-file').

516 517 518 519 520 521 522
2012-09-18  Juri Linkov  <juri@jurta.org>

	* dired.el (dired-mark): If the region is active in Transient Mark
	mode, mark all files in the active region.  Doc fix.
	(dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
	Doc fix.  (Bug#10624)

523 524 525 526 527 528 529
2012-09-18  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
	attributes for M-n are pulled from the file at point.
	(dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
	Suggested by Drew Adams.  (Bug#10624)

530 531 532 533 534 535 536
2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
	whitespace after "end".
	(ruby-do-end-to-brace): Collapse block to one line if it fits
	within fill-column.

537 538 539 540 541 542 543
2012-09-18  Martin Rudalics  <rudalics@gmx.at>

	* emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
	value.
	(debug): Don't remove debugger window when debugger is expected
	to be back.

544 545 546 547 548 549
2012-09-18  Chong Yidong  <cyd@gnu.org>

	* custom.el (defface): Doc fix.

	* cus-edit.el (custom-unlispify-remove-prefixes): Add warning.

550 551 552 553 554
2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)

	* progmodes/compile.el (compilation-start): Use compilation-always-kill
	to initialize query-on-exit; then test that instead (bug#12288).

555 556
2012-09-17  Stefan Merten  <smerten@oekonux.de>

557
	* textmodes/rst.el: Add support for `testcover'.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577
	(rst-defcustom-testcover, rst-testcover-add-compose)
	(rst-testcover-add-1value): New functions.
	(rst-portable-mark-active-p): Replace by `use-region-p'.
	(rst-update-section, rst-classify-adornment)
	(rst-find-title-line): Mark `1value' forms.
	(rst-classify-adornment): Remove superfluous form.
	(rst-update-section, rst-get-adornments-around)
	(rst-adornment-complete-p, rst-get-next-adornment)
	(rst-adjust, rst-promote-region)
	(rst-display-adornments-hierarchy, rst-straighten-adornments)
	(rst-find-pfx-in-region, rst-section-tree-rec)
	(rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
	(rst-toc-node, rst-toc, rst-forward-section)
	(rst-iterate-leftmost-paragraphs)
	(rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
	(rst-bullet-list-region)
	(rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
	(rst-compile-find-conf, rst-compile)
	(rst-repeat-last-character): Fix style.

578 579 580 581 582 583 584 585
2012-09-17  Chong Yidong  <cyd@gnu.org>

	* comint.el (comint--complete-file-name-data): Don't add a space
	if the status is `sole'; that adds a gratuitous space in the
	completion-cycling case (Bug#12092).

	* pcomplete.el (pcomplete-completions-at-point): Likewise.

586 587
2012-09-17  Richard Stallman  <rms@gnu.org>

588 589 590
	* mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
	only in the mime-shown mode, not in raw mode.
	(rmail-mime): Toggle off mime by displaying the message without
Glenn Morris's avatar
Glenn Morris committed
591
	mime processing.  (Bug#12305)
592

Glenn Morris's avatar
Glenn Morris committed
593 594
	* mail/rmail.el (rmail-retry-failure):
	Turn off mime processing first.  (Bug#12037)
595

596 597
	* epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.

598 599 600 601 602 603
2012-09-17  Chong Yidong  <cyd@gnu.org>

	* shell.el (shell-file-name-chars, shell-file-name-quote-list)
	(shell-dynamic-complete-functions): Convert to defcustom.
	(shell-prompt-pattern, shell-completion-fignore): Doc fix.

604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638
	* bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
	* comint.el (comint-prompt-read-only):
	* custom.el (defcustom):
	* hi-lock.el (hi-lock-mode):
	* ibuffer.el (ibuffer-formats):
	* ielm.el (ielm-prompt-read-only):
	* novice.el (disable-command):
	* saveplace.el (toggle-save-place):
	* speedbar.el (speedbar-supported-extension-expressions):
	* startup.el (auto-save-list-file-prefix, init-file-user)
	(after-init-hook, inhibit-startup-echo-area-message):
	* strokes.el (strokes-help):
	* time-stamp.el (time-stamp):
	* calendar/calendar.el (calendar, diary-file):
	* calendar/diary-lib.el (diary-mail-entries, diary)
	(diary-list-entries-hook):
	* calendar/holidays.el (holidays, calendar-holidays):
	* calendar/lunar.el (lunar-phases):
	* calendar/solar.el (sunrise-sunset):
	* emulation/edt.el (edt-load-keys):
	* emulation/viper.el (viper-mode):
	* eshell/em-alias.el (eshell-command-aliases-list):
	* eshell/esh-util.el (eshell-convert-numeric-arguments):
	* international/ogonek.el (ogonek-information):
	* net/tramp-cmds.el (tramp-bug):
	* net/quickurl.el (quickurl-reread-hook-postfix):
	* play/decipher.el (decipher-font-lock-keywords):
	* progmodes/cc-styles.el (c-set-style):
	* progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
	* progmodes/inf-lisp.el (inferior-lisp-prompt):
	* progmodes/octave-mod.el (octave-mode):
	* progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
	* progmodes/verilog-mode.el (verilog-read-defines):
	* textmodes/two-column.el (2C-mode): Likewise.

639 640 641 642 643
2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
	that holds many addresses.

644 645
2012-09-16  Chong Yidong  <cyd@gnu.org>

646 647 648
	* align.el (align-areas): Call the indication function with
	positions instead of markers for arguments (Bug#12343).

649 650
	* files.el (parse-colon-path): Use split-string (Bug#12351).

651
	* window.el (special-display-popup-frame): Doc fix (Bug#8853).
652
	(display-buffer-function): Mark as obsolete.
653

654
	* progmodes/compile.el (compilation-parse-errors): Accept list
655 656
	values similar to font-lock-keywords (Bug#12136).
	Suggested by Oleksandr Manzyuk.
657 658
	(compilation-error-regexp-alist): Doc fix.

659 660
2012-09-15  Glenn Morris  <rgm@gnu.org>

661 662 663
	* version.el (emacs-bzr-version-bzr): New function.
	(emacs-bzr-get-version): Add optional EXTERNAL argument.

664 665 666 667 668
	* vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
	checkouts, check the parent dirstate matches the branch.
	Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
	empty string.

669 670 671 672 673 674
	* version.el (emacs-bzr-version): Doc fix.
	(emacs-bzr-version-dirstate): New function.
	(emacs-bzr-get-version): For lightweight checkouts, if the parent
	is local try and check that it matches the branch.  If not, just
	use dirstate information.  (Bug#12441)

675 676 677 678 679
2012-09-14  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
	(Bug#12399)

680 681
2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>

682 683
	* emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.

684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720
	* emacs-lisp/edebug.el: Miscellaneous cleanup.
	Remove obsolete byte-compiler hack that tried to silence some warnings.
	(edebug-submit-bug-report): Remove.
	(edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
	Remove aliases, use the un-prefixed name instead.
	(edebug-pop-to-buffer): Consider other frames.
	(edebug-original-read):: Make it more obvious that it's always defined.
	(edebug--make-form-data-entry, edebug--form-data-name)
	(edebug--form-data-begin, edebug--form-data-end): Rename from the
	single-dashed name, and implement with cl-defstruct.
	(edebug-set-form-data-entry): Use the standard accessors.
	(edebug-make-top-form-data-entry): Use push.
	(edebug-no-match): Drop useless `funcall'.
	(mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
	to functions.
	(defsubst, dont-compile, eval-when-compile, eval-and-compile)
	(delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
	(with-syntax-table, push, pop, 1value, noreturn, defadvice)
	(easy-menu-define, with-custom-print): Remove redundant specs.
	(edebug-outside-overriding-local-map)
	(edebug-outside-overriding-terminal-local-map): Remove, unused.
	(edebug--display): Bind unread-command-events directly to nil rather
	than binding it to unread-command-events and later setting it to nil.
	(edebug--display): Kill edebug-eval-buffer here...
	(edebug--recursive-edit): ...rather than here.
	Bind standard-output and standard-input.
	(edebug-eval): Check cl-macroexpand-all is fboundp.
	(edebug-temp-display-freq-count): Fix last change.

	* emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
	* subr.el (noreturn, 1value): Add `debug' spec.
	* emacs-lisp/advice.el: Require cl-lib.
	(ad-copy-tree): Remove, use copy-tree instead.
	(ad-dolist): Remove use dolist or cl-dolist instead.
	(ad-do-return): Remove, use cl-return instead.
	(defadvice): Add `debug' spec.

721 722 723 724 725
2012-09-13  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
	(Bug#12399)

726 727
2012-09-13  Glenn Morris  <rgm@gnu.org>

728 729 730 731 732 733
	* calc/calc.el (math-compose-expr):
	* calc/calc-ext.el (math-compose-expr):
	* progmodes/cc-defs.el (cl-macroexpand-all):
	* progmodes/cc-langs.el (delete-duplicates, mapcan)
	(cl-macroexpand-all): Update declarations.

734 735 736 737 738
	* vc/vc.el: No need to require ediff.
	(ediff-load-version-control): Declare.
	(ediff-vc-internal): Fix declaration.
	(vc-version-ediff): Require ediff.

739 740 741 742 743 744 745
2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>

	Use a more backwards-compatible timer format (Bug#12430).
	* emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
	being right after USECS, as that better supports old code that
	inadvisedly looked directly at the timer vector.

746 747 748 749 750 751
2012-09-13  Kenichi Handa  <handa@gnu.org>

	* language/chinese.el ("Chinese-GB", "Chinese-BIG5")
	("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
	`coding-priority' property of these language environment.

752 753 754 755 756 757 758 759
2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>

	Fix glitches caused by addition of psec to timers (Bug#12430).
	* image.el (image-animate-timer):
	* time.el (display-time-world-timer):
	Use timer--function and timer--args rather than raw access to
	timer vector.

760 761 762 763 764
2012-09-13  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
	If not compiling a file, try using load-file-name.

765 766
2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>

767 768 769 770
	* emacs-lisp/edebug.el (edebug-outside-unread-command-events):
	Fix last change.
	(edebug-update-eval-list): Use `push'.

771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792
	* emacs-lisp/edebug.el: Use lexical-binding.
	Remove the "edebug-" prefix from non-dynamically-scoped variables.
	Mark unused args with underscore.
	(edebug-save-restriction, edebug-outside-excursion): Use `declare'.
	(edebug-form-data): Use defvar-local.
	(edebug-make-before-and-after-form, edebug-make-after-form):
	Use backquote.
	(edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
	Not dynamically scoped any more.
	(edebug--enter-trace): Add arguments `function' and `args'.
	Rename from edebug-enter-trace.
	(edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
	(edebug--update-coverage): Add `after-index' and `value' args.
	Rename from edebug-update-coverage.
	(edebug-slow-after): Call it accordingly.
	(edebug--recursive-edit): Add arg `arg-mode'.  Rename from
	edebug-recursive-edit.
	(edebug--display): Call it accordingly.  Add args `value',
	`offset-index', and `arg-mode'.  Rename from edebug-display.
	(edebug-debugger, edebug): Call it accordingly.
	(edebug-eval-display-list): Use dolist.

793 794 795 796 797 798 799 800 801 802 803
2012-09-12  Juri Linkov  <juri@jurta.org>

	* info.el (Info-search): Don't check for isearch-mode and
	isearch-regexp before let-binding search-spaces-regexp to
	Info-search-whitespace-regexp.
	(Info-isearch-search): Let-bind Info-search-whitespace-regexp to
	search-whitespace-regexp if isearch-lax-whitespace or
	isearch-regexp-lax-whitespace is non-nil.
	(Info-mode): Don't set local variable search-whitespace-regexp.
	http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html

Stefan Monnier's avatar
Stefan Monnier committed
804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819
2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
	(debugger-env-macro): Remove support for unread-command-char.

	* subr.el (set-temporary-overlay-map): Minimize slightly the impact of
	the temporary map re-appearing on emulation-mode-map-alists.

	* emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
	since 22.1.

	* ehelp.el (with-electric-help): Accept functions in
	electric-help-form-to-execute.
	(electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
	And replace unread-command-char -> unread-command-events.

Michael Albinus's avatar
Michael Albinus committed
820 821 822 823 824 825 826 827 828
2012-09-12  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.6.

	* net/tramp.el (tramp-accept-process-output): Don't use
	JUST-THIS-ONE in the XEmacs case.

	* net/trampver.el: Update release number.

829 830
2012-09-12  Martin Rudalics  <rudalics@gmx.at>

Stefan Monnier's avatar
Stefan Monnier committed
831 832
	* emacs-lisp/debug.el (debugger-previous-window-height):
	New variable.
833 834 835
	(debug): When debugger-jumping-flag is non-nil try to restore
	height of debugger window.  (Bug#8789)

836 837
2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>

838 839 840 841 842 843
	* emacs-lisp/edebug.el (edebug-enter): Don't mess with
	overriding-local-map and pre/post-command-hook here.
	(edebug-recursive-edit): Do it here instead (bug#12345).
	(edebug-outside-unread-command-char): Remove all uses of
	unread-command-char.

844 845 846
	* emacs-lisp/debug.el (debug): Don't bind debug-on-error since
	inhibit-debugger is bound instead.

847 848 849
2012-09-11  Bastien Guerry  <bzg@gnu.org>

	* subr.el (set-temporary-overlay-map): Add a docstring.
Juanma Barranquero's avatar
Juanma Barranquero committed
850
	(Bug#12346)
851

852 853
2012-09-11  Bastien Guerry  <bzg@gnu.org>

854
	* minibuffer.el (completion-table-subvert): Fix docstring.
Juanma Barranquero's avatar
Juanma Barranquero committed
855
	(Bug#12347)
856 857 858

2012-09-11  Bastien Guerry  <bzg@gnu.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
859
	* help-fns.el (describe-variable): Fix typo.  (Bug#12346)
860

861 862 863 864 865 866
2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 3.1
	(sql-db2-escape-newlines): New variable.
	(sql-escape-newlines-filter): Use it.

867 868 869 870
2012-09-10  Juanma Barranquero  <lekktu@gmail.com>

	* custom.el (custom-theme-load-confirm): Remove unneeded assignment.

871 872
2012-09-10  Dan Nicolaescu  <dann@gnu.org>

873 874
	* vc/diff-mode.el (diff-mode-menu):
	Bind diff-remove-trailing-whitespace.
875

876 877 878
2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
Juanma Barranquero's avatar
Juanma Barranquero committed
879 880
	(emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
	(emacs-lisp-byte-code-mode): New functions.
881 882 883 884 885 886 887 888 889
	(eval-sexp-add-defvars): Don't skip defvars in column >0.
	(eval-defun-2): Remove bogus interactive spec.
	(lisp-indent-line): Remove redundant whole-exp code, now done in
	indent-according-to-mode.
	(save-match-data): Remove redundant indent data.

	* emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
	Use `declare'.

890 891 892 893 894 895 896 897 898 899 900 901 902 903
2012-09-09  Juri Linkov  <juri@jurta.org>

	* replace.el (replace-regexp-lax-whitespace): New defcustom.
	(replace-lax-whitespace, query-replace-regexp)
	(query-replace-regexp-eval, replace-regexp): Doc fix.
	(perform-replace, replace-highlight): Let-bind
	isearch-lax-whitespace to replace-lax-whitespace and
	isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.

	* isearch.el (isearch-query-replace): Let-bind
	replace-lax-whitespace to isearch-lax-whitespace and
	replace-regexp-lax-whitespace to
	isearch-regexp-lax-whitespace.  (Bug#10885)

904 905 906 907
2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* eshell/em-unix.el (eshell/sudo): Explicitly drop return value.

908 909
2012-09-09  Alan Mackenzie  <acm@muc.de>

910 911 912 913
	* progmodes/cc-engine.el (c-state-cache-init):
	Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
	(c-record-parse-state-state):
	Record c-state-semi-nonlit-pos-cache\(-limit\)?.
914

915 916 917 918 919 920
2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>

	* register.el (register-separator): Rename from
	separator-register.  All uses changed.  Doc fix.
	(register): Fix version.

Chong Yidong's avatar
Chong Yidong committed
921 922 923 924 925 926 927 928 929 930 931 932 933 934 935
2012-09-09  Chong Yidong  <cyd@gnu.org>

	* replace.el (query-replace-map): Bind four new symbols for
	requesting window scrolling.

	* subr.el (y-or-n-p): Handle the window-scrolling bindings in
	query-replace-map (Bug#8948).

	* custom.el (custom-theme-load-confirm): Use y-or-n-p.

	* emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
	since they are now in query-replace-map.

	* window.el (scroll-other-window-down): Make the arg optional.

936 937 938 939 940
2012-09-09  Chong Yidong  <cyd@gnu.org>

	* files.el (hack-local-variables-confirm): Use quit-window to kill
	the *Local Variables* buffer.

941 942 943 944 945 946 947 948
2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
	not just expect to be at its beginning.  Adjust callees.
	Succeed when do-end block has no space before the pipe character.
	(ruby-brace-to-do-end): When the original block is one-liner,
	convert to multiline.  Reindent the result.

949 950 951 952 953 954 955 956 957 958
2012-09-08  Jambunathan K  <kjambunathan@gmail.com>

	* register.el (register): New group.
	(register-separator): New user option.
	(increment-register): Route it to `append-to-register', if
	register contains text.  Implication is that `C-x r +' can now be
	used for appending to a text register (bug#12217).
	(append-to-register, prepend-to-register): Add separator based on
	`register-separator.

959 960 961 962 963
2012-09-08  Alan Mackenzie  <acm@muc.de>

	AWK Mode: make auto-newline work when there's "==" in the pattern.
	* progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
	correctly.
964 965
	* progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
	Test more rigorously for "=" token.
966

967 968
2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>

969 970
	* progmodes/ruby-mode.el (ruby-match-expression-expansion):
	Only fail when reached LIMIT.
971

Chong Yidong's avatar
Chong Yidong committed
972 973 974 975 976 977
2012-09-08  Chong Yidong  <cyd@gnu.org>

	* dired.el (dired-mode-map): Don't bind M-=.

	* dired-aux.el (dired-diff): Use backup file as default.

978 979 980 981
2012-09-08  Drew Adams  <drew.adams@oracle.com>

	* subr.el (add-to-history): Fix delete usage (Bug#12314).

982 983 984 985
2012-09-08  Chong Yidong  <cyd@gnu.org>

	* subr.el (syntax-after, syntax-class): Doc fix.

986 987 988 989 990 991 992 993 994 995
2012-09-08  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-in-previous-window): New buffer
	display action function.

	* emacs-lisp/debug.el (debugger-bury-or-kill): New option.
	(debugger-previous-window): New variable.
	(debug): Rewrite using display-buffer-in-previous-window,
	quit-restore-window and debugger-bury-or-kill.  (Bug#8789)

996 997 998 999
2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.

1000 1001
2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)

1002 1003
	* progmodes/python.el (python-shell-send-string):
	When default-directory is remote, create temp file on remote
1004 1005 1006 1007
	filesystem.
	(python-shell-send-file): When file is remote, pass local view of
	file paths to remote Python interpreter.  (Bug#12340)

1008 1009
2012-09-07  Chong Yidong  <cyd@gnu.org>

1010 1011
	* window.el (switch-to-buffer): Doc fix (Bug#12181).

1012 1013 1014
	* files.el (after-find-file): Don't fail on a read-only buffer if
	require-final-newline is `visit' or `visit-save' (Bug#11156).

1015 1016
	* subr.el (read-char-choice): Allow quitting via ESC ESC.

1017 1018
	* userlock.el (ask-user-about-supersession-threat):
	Use read-char-choice (Bug#12093).
1019

1020 1021
2012-09-07  Chong Yidong  <cyd@gnu.org>

1022 1023 1024 1025 1026 1027 1028 1029
	* subr.el (buffer-narrowed-p): New function.

	* ses.el (ses-widen):
	* simple.el (count-words--buffer-message):
	* net/browse-url.el (browse-url-of-buffer): Use it

	* simple.el (count-words-region): Don't signal an error if there
	is a non-nil prefix arg and the mark is not set.
1030

1031 1032 1033
	* help.el (describe-key-briefly): Allow the message to be seen
	when invoked from the minibuffer (Bug#7014).

1034 1035 1036 1037 1038
2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-end-of-defun)
	(ruby-beginning-of-defun): Simplify, allow indentation before
	block beginning and end keywords.
Dmitry Gutov's avatar
Dmitry Gutov committed
1039 1040 1041
	(ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
	(ruby-end-of-defun): Expect that the point is at the beginning of
	the defun.
1042

1043 1044 1045 1046 1047 1048
2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
	(bug#12367).
	(cl--make-usage-args): Strip _ from argument names.

1049 1050 1051 1052 1053 1054 1055 1056
2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
	obsolete alias speedbar-key-map.
	(vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
	(vhdl-index-menu-init): Don't use obsolete variable
	font-lock-maximum-size.

1057 1058 1059 1060
2012-09-06  Chong Yidong  <cyd@gnu.org>

	* frame.el (window-system-version): Mark as obsolete.

1061 1062 1063
	* speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
	of obsolete variable speedbar-key-map.

1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081
2012-09-06  Juri Linkov  <juri@jurta.org>

	* replace.el (replace-lax-whitespace): New defcustom.
	(query-replace, query-replace-regexp, query-replace-regexp-eval)
	(replace-string, replace-regexp): Mention it in docstrings.
	(perform-replace, replace-highlight): Let-bind
	isearch-lax-whitespace and isearch-regexp-lax-whitespace according
	to the values of replace-lax-whitespace and regexp-flag.
	Don't let-bind search-whitespace-regexp.  (Bug#10885)

	* isearch.el (isearch-query-replace): Let-bind
	replace-lax-whitespace instead of let-binding
	replace-search-function and replace-re-search-function.
	(isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
	and isearch-regexp-lax-whitespace to lazy-highlight variables.
	(isearch-toggle-symbol): Set isearch-regexp to nil
	in isearch-word mode (like in isearch-toggle-word).

1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095
2012-09-06  Juri Linkov  <juri@jurta.org>

	* replace.el (replace-search-function)
	(replace-re-search-function): Set default values to nil.
	(perform-replace): Let-bind isearch-related variables based on
	replace-related values, call `isearch-search-fun' and let-bind
	the result to `search-function'.  Remove code that sets
	`search-function' and `search-string' separately for
	`delimited-flag'.
	(replace-highlight): Add new argument `delimited-flag' and
	rename other arguments to the names used in `perform-replace'.
	Let-bind `isearch-word' to the argument `delimited-flag'.
	(Bug#10885, bug#10887)

1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112
2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
	ruby-beginning-of-indent, simplify, allow all keywords to have
	indentation before them.
	(ruby-beginning-of-indent): Adjust for above.  Search until the
	found point is not inside a string or comment.
	(ruby-font-lock-keywords): Allow symbols to start with "@"
	character, give them higher priority than variables.
	(ruby-syntax-propertize-function)
	(ruby-font-lock-syntactic-keywords): Remove the "not comments"
	matchers.  Expression expansions are not comments when inside a
	string, and there comment syntax status is irrelevant.
	(ruby-match-expression-expansion): New function.  Check that
	expression expansion is inside a string, and it's not escaped.
	(ruby-font-lock-keywords): Use it.

1113 1114 1115 1116 1117 1118 1119 1120 1121
2012-09-05  Martin Rudalics  <rudalics@gmx.at>

	* help.el (temp-buffer-max-height): New default value.
	(temp-buffer-resize-frames): New option.
	(resize-temp-buffer-window): Optionally resize frame.

	* window.el (fit-frame-to-buffer-bottom-margin): New option.
	(fit-frame-to-buffer): New function.

1122
2012-09-05  Glenn Morris  <rgm@gnu.org>
1123 1124 1125 1126 1127 1128

	* emulation/cua-rect.el (cua--init-rectangles):
	* textmodes/picture.el (picture-mode-map):
	* play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
	like forward-char and backward-char.  (Bug#12317)

1129
2012-09-05  Leo Liu  <sdl.web@gmail.com>
1130 1131 1132 1133

	* progmodes/flymake.el (flymake-warning-re): New variable.
	(flymake-parse-line): Use it.

1134
2012-09-05  Glenn Morris  <rgm@gnu.org>
1135 1136 1137 1138

	* calendar/holidays.el (holiday-christian-holidays):
	Rename an entry.  (Bug#12289)

1139
2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1140 1141 1142 1143

	* progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
	(bug#12222).

1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157
2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* loadup.el: Load macroexp.  Remove hack.
	* emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
	(macroexp--expand-all): Use it to get better warnings.
	(macroexp--backtrace, macroexp--trim-backtrace-frame)
	(internal-macroexpand-for-load): New functions.
	(macroexp--pending-eager-loads): New var.
	(emacs-startup-hook): New hack to replace one in loadup.el.
	* emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
	(cl--compiler-macro-cXXr): Move to top, before they can be used.
	(cl-psetf): Simplify.
	(cl-defstruct): Add indent rule.

1158 1159 1160 1161 1162 1163
2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
	over `user-mail-address' for the SMTP MAIL FROM envelope.
	(smtpmail-via-smtp): Ditto.

1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174
2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el: Clean up keybindings.
	(ruby-mode-map): Don't bind ruby-electric-brace,
	ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
	backward-kill-word, reindent-then-newline-and-indent.
	(ruby-mark-defun): Remove.
	(ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
	(ruby-mode): Set local beginning-of-defun-function and
	end-of-defun-function values.

1175 1176 1177 1178 1179 1180
2012-09-03  Martin Rudalics  <rudalics@gmx.at>

	* window.el (temp-buffer-window-setup-hook)
	(temp-buffer-window-show-hook): New hooks.
	(temp-buffer-window-setup, temp-buffer-window-show)
	(with-temp-buffer-window): New functions.
1181 1182
	(fit-window-to-buffer): Remove unused optional argument OVERRIDE.
	(special-display-popup-frame): Make sure the window used shows BUFFER.
1183 1184 1185 1186 1187 1188 1189

	* help.el (temp-buffer-resize-mode): Fix doc-string.
	(resize-temp-buffer-window): New optional argument WINDOW.

	* files.el (recover-file, save-buffers-kill-emacs):
	* dired.el (dired-mark-pop-up): Use with-temp-buffer-window.

1190 1191 1192 1193 1194
2012-09-02  Michael Albinus  <michael.albinus@gmx.de>

	* eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
	remote definition of `default-directory', ensure we can connect.

1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225
2012-09-02  Juri Linkov  <juri@jurta.org>

	Toggle whitespace matching mode with M-s SPC.
	http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html

	* isearch.el (search-whitespace-regexp): Doc fix.
	Remove cons cell customization.
	(isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
	(isearch-lax-whitespace, isearch-regexp-lax-whitespace):
	New variables.
	(isearch-forward, isearch-forward-regexp): Doc fix.
	(isearch-toggle-lax-whitespace): New command.
	(search-forward-lax-whitespace, search-backward-lax-whitespace)
	(re-search-forward-lax-whitespace)
	(re-search-backward-lax-whitespace): New functions.
	(isearch-whitespace-regexp): Remove function.
	(isearch-query-replace): Let-bind replace-search-function and
	replace-re-search-function.
	(isearch-occur): Let-bind search-spaces-regexp according to the
	value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
	(isearch-quote-char): Check isearch-regexp-lax-whitespace in the
	condition for C-q SPC.
	(isearch-search-fun-default): Use new functions mentioned above.
	(isearch-search-forward, isearch-search-backward): Remove functions.
	(isearch-search): Don't let-bind search-spaces-regexp.
	(isearch-lazy-highlight-space-regexp): Remove variable.
	(isearch-lazy-highlight-lax-whitespace)
	(isearch-lazy-highlight-regexp-lax-whitespace): New variables.
	(isearch-lazy-highlight-new-loop): Use them.
	(isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.

1226 1227 1228 1229
2012-09-02  Chong Yidong  <cyd@gnu.org>

	* dired.el (dired-mode-map): Menu string fixes (Bug#11616).

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

	* simple.el (undo): Tweak message in undo-only case.  (Bug#12283)

Glenn Morris's avatar
Glenn Morris committed
1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245
2012-09-01  Glenn Morris  <rgm@gnu.org>

	* term.el: Tidy up menu definitions.
	(term-mode-map): Use easymenu for In/Out, Complete menus.
	(term-pager-break-map): Initialize in the defvar.
	(term-terminal-menu, term-signals-menu): Define with easymenu.
	(term-terminal-menu): Also show it in line-mode.  (Bug#11957)
	(term-pager-menu): New, extracted from term-process-pager.
	(term-mode, term-char-mode, term-process-pager): Use easymenu-add.
	(term-update-mode-line): Propertize line/char and page items.
	(term-process-pager): Move keymap initialization elsewhere.

1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257
2012-09-01  Martin Rudalics  <rudalics@gmx.at>

	* window.el (switch-to-prev-buffer): Handle additional values of
	BURY-OR-KILL argument.  Don't switch in minibuffer window.
	(switch-to-next-buffer): Don't switch in minibuffer window.
	(quit-restore-window): New function based on quit-window.
	Handle additional values of former KILL argument.
	(quit-window): Call quit-restore-window with appropriate
	interpretation of KILL argument.
	(display-buffer-below-selected): New buffer display action
	function.

1258 1259 1260 1261 1262
2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-at-point-functions): Complete docstring
	(bug#12254).

1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278
2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>

	Better seed support for (random).
	* play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
	* play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
	* play/mpuz.el, play/tetris.el, play/zone.el:
	* calc/calc-comb.el (math-init-random-base):
	* play/blackbox.el (bb-init-board):
	* play/life.el (life):
	* server.el (server-use-tcp):
	* type-break.el (type-break):
	Remove unnecessary call to (random t).
	* net/sasl.el (sasl-unique-id-function):
	Change (random t) to (random), now that the latter is more random.
	* play/life.el (life-initialized): Remove no-longer-needed var.

1279 1280 1281 1282 1283 1284
2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>

	* window.el (switch-to-prev-buffer, switch-to-next-buffer):
	Consider frame's buffer predicate when choosing the buffer.
	(Bug#12081)

1285 1286 1287 1288
2012-08-30  Richard Stallman  <rms@gnu.org>

	* simple.el (special-mode-map): Delete binding for `z'.

1289 1290 1291 1292
2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>

	* progmodes/compile.el (compilation-always-kill): Doc fix.

1293 1294 1295 1296 1297
2012-08-30  Chong Yidong  <cyd@gnu.org>

	* window.el (display-buffer-reuse-frames): Make the obsolescence
	message more informative.

1298 1299 1300 1301 1302
2012-08-30  Glenn Morris  <rgm@gnu.org>

	* paren.el (show-paren-delay):
	Add a :set function.  Doc fix.  (Bug#12297)

1303 1304 1305 1306 1307
2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)

	* progmodes/compile.el (compilation-always-kill): New var.
	(compilation-start): Use it.

1308 1309
2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>

1310 1311 1312
	* simple.el (read-only-mode): Move from files.el for bootstrapping.
	* files.el (read-only-mode): Move to simple.el.

1313 1314 1315 1316 1317 1318 1319 1320
	* files.el (read-only-mode): New minor mode.
	(toggle-read-only): Use it and mark obsolete.
	(find-file--read-only):
	* vc/vc.el (vc-next-action, vc-checkout):
	* vc/vc-cvs.el (vc-cvs-checkout):
	* obsolete/vc-mcvs.el (vc-mcvs-update):
	* ffap.el (ffap--toggle-read-only): Update callers.

1321 1322 1323
2012-08-29  Michael Albinus  <michael.albinus@gmx.de>

	* eshell/esh-ext.el (eshell-external-command): Do not examine
1324 1325
	remote shell scripts.
	See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1326 1327 1328 1329

	* net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
	"/usr/local/sbin".

1330 1331 1332 1333
2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).

1334
2012-08-28  Leo Liu  <sdl.web@gmail.com>
Leo Liu's avatar
Leo Liu committed
1335

Leo Liu's avatar
Leo Liu committed
1336 1337 1338
	* progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
	completion-at-point.  (Bug#12220)

1339 1340
	* skeleton.el (skeleton-untabify): Change to nil (bug#12223).

Leo Liu's avatar
Leo Liu committed
1341 1342
	* progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).

1343
2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1344

Chong Yidong's avatar
Chong Yidong committed
1345 1346
	* files.el (safe-local-eval-forms): Fix before-save-hook entry to
	be buffer-local; add delete-trailing-whitespace (bug#12259).
1347

1348
2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
1349 1350 1351 1352

	* progmodes/hideif.el (hif-compress-define-list):
	Fix typo.  (Bug#11951)

1353
2012-08-28  Dan Nicolaescu  <dann@gnu.org>
1354 1355 1356 1357

	* progmodes/hideshow.el (hs-block-end-regexp): Restore lost
	buffer local setting.

1358 1359 1360
	* net/rcirc.el (rcirc-split-message): Fix for buffer-local
	rcirc-encode-coding-system.

1361
2012-08-28  Leo Liu  <sdl.web@gmail.com>
1362 1363 1364 1365

	* net/rcirc.el (rcirc-split-message): New function.
	(rcirc-send-message): Use it.  (Bug#12051)

1366 1367 1368 1369 1370
2012-08-28  Juri Linkov  <juri@jurta.org>

	* info.el (Info-fontify-node): Hide empty lines at the end of
	the node.  (Bug#12272)

1371 1372 1373 1374 1375
2012-08-27  Drew Adams  <drew.adams@oracle.com>

	* dired.el (dired-pop-to-buffer): Make window start at beginning
	of buffer (Bug#12281).

1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386
2012-08-26  Chong Yidong  <cyd@gnu.org>

	* window.el (special-display-regexps, special-display-frame-alist)
	(special-display-buffer-names, special-display-function)
	(display-buffer-reuse-frames): Mark as obsolete.

	* progmodes/compile.el: Don't use display-buffer-reuse-frames.

	* help.el (help-print-return-message): Don't treat
	display-buffer-reuse-frames specially.

1387 1388
2012-08-26  Chong Yidong  <cyd@gnu.org>

1389 1390
	* progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
	New variable, replacing gdb-frame-parameters.
1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412
	(gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
	(gdb-frame-threads-buffer, gdb-frame-memory-buffer)
	(gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
	(gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
	(def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
	the functions directly with gdb-display-buffer-other-frame-action.
	(gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
	(gdb-display-memory-buffer, gdb-display-disassembly-buffer)
	(gdb-display-stack-buffer, gdb-display-locals-buffer)
	(gdb-display-registers-buffer): Define directly.
	(def-gdb-display-buffer): Macro deleted.
	(gdb-display-buffer): Remove second and third args, callers don't
	use them.  Defer to the default display-buffer behavior, apart
	from making windows dedicated.
	(gdb-setup-windows): Don't call display-buffer unnecessarily.

	* progmodes/gud.el (gud-display-line): Just use display-buffer.

	* window.el (display-buffer-pop-up-frame): Handle a
	pop-up-frame-parameters alist entry.
	(display-buffer): Document it.

1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423
2012-08-26  Chong Yidong  <cyd@gnu.org>

	* isearch.el (search-whitespace-regexp): Make string and nil
	values apply to both ordinary and regexp search.  Allow a cons
	cell value to distinguish between the two.
	(isearch-whitespace-regexp, isearch-search-forward)
	(isearch-search-backward): New functions.
	(isearch-occur, isearch-search-fun-default, isearch-search)
	(isearch-lazy-highlight-new-loop): Use them.
	(isearch-forward, isearch-forward-regexp): Doc fix.

1424 1425 1426 1427 1428
2012-08-26  Chong Yidong  <cyd@gnu.org>

	* faces.el (help-argument-name): Always inherit from italic
	(Bug#12213).

1429 1430 1431 1432 1433 1434 1435
2012-08-25  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window--even-window-heights): Even heights when
	WINDOW and the selected window form a vertical combination.
	(display-buffer-use-some-window): Provide that window used gets
	sized back by quit-window.  (Bug#11880) and (Bug#12091)

1436 1437 1438 1439 1440 1441 1442
2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>

	Fix file time stamp problem with bzr and CVS (Bug#12001).
	* vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
	in the file's time stamp, since the version control system loses
	that information.

1443 1444 1445 1446 1447
2012-08-22  Juri Linkov  <juri@jurta.org>

	* info.el (Info-fontify-node): Hide the suffix of the
	Info file name in the header line.  (Bug#12187)

1448 1449 1450 1451 1452
2012-08-22  Glenn Morris  <rgm@gnu.org>

	* calendar/cal-tex.el (cal-tex-weekly-common):
	Restore leading blank page.

Glenn Morris's avatar
Glenn Morris committed
1453
2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
1454 1455

	* misc.el (forward-to-word, backward-to-word): Activate or extend
Glenn Morris's avatar
Glenn Morris committed
1456 1457 1458
	the region under `shift-select-mode'.  (Bug#12231)

2012-08-22  Bastien Guerry  <bzg@gnu.org>
1459 1460 1461 1462 1463

	* progmodes/executable.el (executable-prefix): Set to "#!" instead
	of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
	gives details on why the space is never needed.

1464 1465
2012-08-22  Martin Rudalics  <rudalics@gmx.at>

1466 1467
	* window.el (walk-window-tree, window-with-parameter):
	New optional argument MINIBUF to control whether these functions
1468 1469 1470
	should run on the minibuffer window.
	(window-at-side-list): Don't operate on minibuffer window.
	(window-in-direction): Simplify and rewrite doc-string.
1471 1472
	(window--size-ignore): Rename to window--size-ignore-p.
	Update callers.
1473 1474
	(display-buffer-in-atom-window, window--major-non-side-window)
	(window--major-side-window, display-buffer-in-major-side-window)
Stefan Monnier's avatar