ChangeLog 423 KB
Newer Older
1 2 3 4
2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>

	* emacs-lisp/subr-x.el: Renamed from helpers.el.
	helpers.el was a poor choice of name.
5 6
	(string-remove-prefix): New function.
	(string-remove-suffix): New function.
7

8 9 10 11 12 13 14
2013-12-20  Martin Rudalics  <rudalics@gmx.at>

	Fix assignment for new window total sizes.
	* window.el (window--pixel-to-size): Remove function.
	(window--pixel-to-total-1, window--pixel-to-total): Fix
	calculation of new total sizes.

15 16 17 18 19
2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>

	* comint.el (comint-output-filter): Fix rear-nonsticky property
	placement (Bug#16010).

20 21 22 23
2013-12-20  Chong Yidong  <cyd@gnu.org>

	* faces.el (read-color): Minor fix for completion function.

24 25 26 27 28 29 30 31 32 33 34
2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New
	option.  (Bug#16182)
	(ruby-smie--indent-to-stmt-p): Use it.
	(ruby-smie-rules): Revert the logic in the handling of `when'.
	Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
	(ruby-deep-arglist, ruby-deep-indent-paren)
	(ruby-deep-indent-paren-style): Update docstrings to note that the
	vars don't have any effect with SMIE.

35 36 37 38 39
2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-enter, calc-pop): Use the variable
	`calc-context-sensitive-enter'.

40 41 42 43 44
2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr-insert): Protect against infloops in degenerate
	tables.

45 46 47 48 49 50
2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* progmodes/octave.el (octave): Add link to manual and octave
	homepage.
	(octave-mode-menu): Link to octave-mode manual.

51 52 53 54 55
2013-12-20  Leo Liu  <sdl.web@gmail.com>

	* skeleton.el (skeleton-pair-insert-maybe): Disable newline
	insertion using skeleton-end-newline.  (Bug#16138)

56 57 58 59 60 61 62 63 64
2013-12-20  Juri Linkov  <juri@jurta.org>

	* replace.el (occur-engine): Use `add-face-text-property'
	to add the face property to matches and titles.  (Bug#14645)

	* hi-lock.el (hi-green): Use lighter color "light green" closer to
	the palette of other hi-lock colors.
	(hi-lock-set-pattern): Prepend hi-lock face to the existing face.

65 66 67 68 69 70 71 72 73 74
2013-12-19  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
	Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
	(minibuffer-history-symbol): Move variable declaration closer to
	its usage.

	* isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
	(Bug#14785)

75 76 77 78 79 80
2013-12-19  Juri Linkov  <juri@jurta.org>

	* vc/log-edit.el (log-edit-insert-filenames-without-changelog):
	New function.
	(log-edit-hook): Add it to :options.  (Bug#16170)

81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
2013-12-19  Juri Linkov  <juri@jurta.org>

	* simple.el (eval-expression-print-format): Don't check for
	command names and the last command.  Always display additional
	formats of the integer result in the echo area, and insert them
	to the current buffer only with a zero prefix arg.
	Display character when char-displayable-p is non-nil.
	(eval-expression): With a zero prefix arg, set `print-length' and
	`print-level' to nil, and insert the integer values from
	`eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)

	* emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
	`eval-last-sexp-arg-internal'.  Doc fix.
	(eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
	`eval-last-sexp-print-value'.  Doc fix.
	(eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
	Set `print-length' and `print-level' to nil when arg is zero.
	(eval-last-sexp): Doc fix.
	(eval-defun-2): Print the integer values from
	`eval-expression-print-format' at the end.

	* emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
	values from `eval-expression-print-format' at the end.

	* ielm.el (ielm-eval-input): Print the integer
	values from `eval-expression-print-format' at the end.

108 109 110 111 112
2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
	2013-12-11T19:01:44Z!tzz@lifelogs.com.

113 114 115 116 117 118
2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
	(hl-line-highlight, global-hl-line-highlight): Use it.
	(hl-line-overlay): Use defvar-local.

119 120 121 122 123
2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>

	* term/ns-win.el: Require dnd.
	(global-map): Remove drag items.
	(ns-insert-text, ns-set-foreground-at-mouse)
124 125 126 127
	(ns-set-background-at-mouse):
	Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
	(ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
	New functions.
128

129 130 131 132 133
2013-12-19  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/ert.el (ert-select-tests):
	Fix string/symbol mixup.  (Bug#16121)

134 135 136 137 138
2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
	keywords to their parent.

139 140 141 142 143 144 145 146 147 148 149 150 151 152
2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
	first arg to be a string (fixed dead code), or an operator symbol.
	(ruby-smie--forward-token): Tokenize ` @ ' before strings and
	operator symbols.
	(ruby-smie-rules): Remove parent token check in the `.' clause, it
	did nothing.  Don't respond to `(:after ".")', it will be called
	with :before anyway.  Remove the ` @ ' rule, it didn't seem to
	change anything.  Only return indentation for binary operators
	when they are hanging.  De-dent opening paren when its parent is
	`.', otherwise it looks bad when the dot is not at bol or eol
	(bug#16182).

Juri Linkov's avatar
Juri Linkov committed
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
2013-12-19  Juri Linkov  <juri@jurta.org>

	* replace.el (query-replace-read-args): Split a non-negative arg
	and a negative arg into separate elements.
	(query-replace, query-replace-regexp, replace-string)
	(replace-regexp): Add arg `backward'.  Doc fix.
	(replace-match-maybe-edit): When new arg `backward' is non-nil,
	move point to the beginning of the match.
	(replace-search, replace-highlight): Use new arg `backward'
	to set the value of `isearch-forward'.
	(perform-replace): Add arg `backward' and use it to perform
	replacement backward.  (Bug#14979)

	* isearch.el (isearch-query-replace): Use a negative prefix arg
	to call `perform-replace' with a non-nil arg `backward'.

169 170 171 172 173 174 175 176 177 178 179
2013-12-18  Juri Linkov  <juri@jurta.org>

	* vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
	to the default list.  Move `log-edit-show-files' to the end.
	Add more available functions to options.
	(log-edit): Move default specific settings to
	`log-edit-insert-message-template'.  Don't move point.
	(log-edit-insert-message-template): New function.
	(log-edit-insert-changelog): Add `save-excursion' and don't move point.
	(Bug#16170)

180 181 182 183 184
2013-12-18  Juri Linkov  <juri@jurta.org>

	* help-mode.el (help-mode-map): Bind "l" to help-go-back,
	and "r" to help-go-forward for compatibity with Info.  (Bug#16178)

185 186 187 188
2013-12-18  Leo Liu  <sdl.web@gmail.com>

	* eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)

189 190 191 192 193 194 195 196 197
2013-12-18  Eli Zaretskii  <eliz@gnu.org>

	* ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
	formats for displaying file sizes when the -s switch is given.
	Instead, compute a separate format for displaying the size in
	blocks, which is displayed in addition to the "regular" size.
	When -h is given in addition to -s, produce size in blocks in
	human-readable form as well.  (Bug#16179)

198 199
2013-12-18  Tassilo Horn  <tsdh@gnu.org>

200 201
	* textmodes/reftex-vars.el (reftex-label-alist-builtin):
	Reference tables with ~\ref{...} instead of only \ref{...}.
202

203 204
2013-12-18  Chong Yidong  <cyd@gnu.org>

205 206 207
	* cus-edit.el (custom-magic-alist): Fix "themed" description
	(Bug#14348).

208 209 210
	* custom.el (custom-push-theme): If custom--inhibit-theme-enable
	is non-nil, do not create a new entry in the symbol's theme-value
	or theme-face property; update theme-settings only (Bug#14664).
211
	(custom-available-themes): Doc fix.
212

213 214 215
	* cus-theme.el (custom-new-theme-mode-map): Add bindings
	(Bug#15674).

216 217
	* replace.el (occur-engine): Avoid infloop (Bug#7593).

218 219 220 221 222
2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)

	* progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
	(Bug#13914).

223 224 225 226
2013-12-18  Shigeru Fukaya <shigeru.fukaya@gmail.com>

	* apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).

227 228 229
2013-12-18  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
Glenn Morris's avatar
Glenn Morris committed
230
	* cus-start.el (load-prefer-newer): New option.
231

232 233
2013-12-18  Le Wang  <l26wang@gmail.com>

234 235
	* comint.el (comint-previous-matching-input-from-input):
	Retain point (Bug#13404).
236

237 238 239 240
2013-12-18  Chong Yidong  <cyd@gnu.org>

	* simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).

241 242 243 244 245
2013-12-18  Glenn Morris  <rgm@gnu.org>

	* mail/emacsbug.el (report-emacs-bug):
	Only mention enable-multibyte-characters if non-standard.

246 247 248 249 250
2013-12-17  Juri Linkov  <juri@jurta.org>

	* arc-mode.el (archive-extract-by-file): Check if directory exists
	before deletion to not show irrelevant errors if it doesn't exist.

251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
2013-12-17  Juri Linkov  <juri@jurta.org>

	* menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
	(Bug#14751)

	* net/eww.el (browse-web): Add alias to `eww'.
	(eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
	Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)

	* net/browse-url.el (browse-url-browser-function): Move `eww'
	closer to similar functions.

	* startup.el (fancy-startup-screen, fancy-about-screen):
	Set browse-url-browser-function to eww-browse-url locally.
	(Bug#14751)

267 268 269 270 271 272 273 274 275
2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el (window--pixel-to-total): Remove unused `mini' var.
	(maximize-window, minimize-window): Remove unused `pixelwise' arg.
	(split-window): Remove unused `new' var.
	(window--display-buffer): Remove unused `frame' and `delta' vars.
	(fit-window-to-buffer): Remove unused vars `frame', `display-height',
	and display-width'.

276 277 278 279 280 281 282
2013-12-17  Martin Rudalics  <rudalics@gmx.at>

	* dired.el (dired-mark-pop-up):
	* register.el (register-preview): Don't bind
	split-height-threshold here since it's now done in
	display-buffer-below-selected.

oblique's avatar
oblique committed
283 284 285 286 287 288 289
2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)

	* term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
	xterm-rgb-convert-to-16bit.
	(rxvt-register-default-colors): Standardize with
	xterm-register-default-colors (Bug#14078).

290 291 292 293 294 295
2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)

	* simple.el (kill-region): Pass mark first, then point, so that
	kill-append works right (Bug#12819).
	(copy-region-as-kill, kill-ring-save): Likewise.

Leo Liu's avatar
Leo Liu committed
296 297 298 299 300 301 302
2013-12-17  Leo Liu  <sdl.web@gmail.com>

	* net/rcirc.el (rcirc-add-face):
	* eshell/em-prompt.el (eshell-emit-prompt):
	* eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
	(Bug#16167)

303 304 305 306 307
2013-12-17  Chong Yidong  <cyd@gnu.org>

	* files.el (break-hardlink-on-save): Doc fix (Bug#13801).
	Suggested by Xue Fuqiao.

308 309 310 311
2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.

312 313 314 315 316 317 318 319
2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* net/shr.el (shr-insert-document): Remove unused var
	`shr-preliminary-table-render'.
	(shr-rescale-image): Remove unused arg `force'.
	(shr-put-image): Update calls accordingly.
	(shr-tag-a): Use `cont' rather than dyn-bound `dom'.

Dmitry Gutov's avatar
Dmitry Gutov committed
320 321 322 323 324 325 326
2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>

	* emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
	(smie-indent-close): Call `smie-indent--rule-1' with METHOD
	:close-all, to see which indentation method to use (Bug#16116).
	(smie-rules-function): Document the method :close-all.

327 328
2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>

329 330
	* net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.

331 332 333
	* net/eww.el (eww-display-html): If we can't find the anchor we're
	looking for, then go to point-min.

334 335 336 337 338 339 340
2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>

	Fix problems with CANNOT_DUMP and EMACSLOADPATH.
	* Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
	* loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
	Expand dir too, in case it's relative.

341 342 343 344 345 346 347 348 349 350 351 352
2013-12-16  Juri Linkov  <juri@jurta.org>

	* desktop.el (desktop-auto-save-timeout): Change default to
	`auto-save-timeout'.  Doc fix.
	(desktop-save): Skip the timestamp in desktop-saved-frameset
	when checking for auto-save changes.
	(desktop-auto-save): Don't call desktop-auto-save-set-timer since
	`desktop-auto-save' is called repeatedly by the idle timer.
	(desktop-auto-save-set-timer): Replace `run-with-timer' with
	`run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
	(Bug#15331)

353 354 355 356 357 358
2013-12-16  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-mode-map): Remove [escape] key bindinds.
	(Bug#16035)
	(isearch-pre-command-hook): Check `this-command' for symbolp.

359 360 361 362
2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).

363 364 365 366 367 368 369 370 371
2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/cfengine.el (cfengine3--current-word): Remove.
	(cfengine3--current-function): Bring in the current-function
	functionality from `cfengine3--current-word'.
	(cfengine3-completion-function): Bring in the
	bounds-of-current-word functionality from
	`cfengine3--current-word'.

372 373
2013-12-16  Martin Rudalics  <rudalics@gmx.at>

374 375
	* window.el (display-buffer-below-selected):
	Bind split-height-threshold to 0 as suggested by Juri Linkov.
376

377 378 379 380 381
2013-12-16  Leo Liu  <sdl.web@gmail.com>

	* progmodes/compile.el (compile-goto-error): Do not push-mark.
	Remove NOMSG arg and all uses changed.

382 383 384 385 386 387 388 389 390 391 392 393 394 395 396
2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
	(cua--deactivate-rectangle): Don't deactivate the mark.
	(cua-set-rectangle-mark): Don't set mark-active since
	cua--activate-rectangle already does it for us.
	(cua--rectangle-highlight-for-redisplay): Unhighlight a previous
	non-rectangular region.

	* emulation/cua-base.el (cua-repeat-replace-region):
	Use with-current-buffer.

	* net/gnutls.el: Use cl-lib.
	(gnutls-negotiate): `mapcan' -> cl-mapcan.

397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414
2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>

	* emacs-lisp/package.el (package-built-in-p): Support both
	built-in and the package.el converted package descriptions.
	(package-show-package-list): Allow keywords.
	(package-keyword-button-action): Use it instead of
	`finder-list-matches'.
	(package-menu-filter-interactive): Interactive filtering (by
	keyword) function.
	(package-menu--generate): Support keywords and change keymappings
	and headers when they are given.
	(package--has-keyword-p): Helper function.
	(package-menu--refresh): Use it.
	(package--mapc): Helper function.
	(package-all-keywords): Use it.
	(package-menu-mode-map): Set up menu items and keybindings to
	provide a filtering UI.

415 416 417 418 419 420 421
2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/gnutls.el (gnutls-verify-error): New defcustom to control
	the behavior when a certificate fails validation.  Defaults to
	old behavior: never abort, just warn.
	(gnutls-negotiate): Use it.

422 423 424 425 426
2013-12-14  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-below-selected): Never split window
	horizontally.  Suggested by Juri Linkov <juri@jurta.org>.

427 428 429 430
2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)

	* emacs-lisp/package.el (package--prepare-dependencies): New function.
	(package-buffer-info): Use it (bug#15108).
431 432 433 434

	* icomplete.el (icomplete-completions): Make sure the prefix is already
	displayed elsewhere before hiding it.

Dmitry Gutov's avatar
Dmitry Gutov committed
435 436 437 438 439 440 441 442
2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
	open-paren tokens when preceded by a open-paren, too.
	(ruby-smie-rules): Handle virtual indentation after open-paren
	tokens specially.  If there is code between it and eol, return the
	column where is starts (Bug#16118).

443 444
2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>

445
	* progmodes/cfengine.el: Fix `add-hook' doc.
446
	(cfengine-mode-syntax-functions-regex): Initialize sensibly.
447 448
	(cfengine3--current-word): Fix parameters.
	(cfengine3-make-syntax-cache): Simplify further.
449 450
	(cfengine3-completion-function, cfengine3--current-function):
	Use `assq' for symbols.
451 452
	(cfengine3--current-function): Fix `cfengine3--current-word' call.

453 454 455 456 457
2013-12-13  Glenn Morris  <rgm@gnu.org>

	* loadup.el (load-path): Warn if site-load or site-init changes it.
	No more need to reset it when bootstrapping.

458 459 460 461 462 463 464 465 466
2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/cfengine.el (cfengine-cf-promises): Add more default
	locations for cf-promises.
	(cfengine-mode-syntax-functions-regex): New caching variable.
	(cfengine3-fallback-syntax): Fallback syntax for cases where
	cf-promises doesn't run.
	(cfengine3--current-word): Reimplement using
	`cfengine-mode-syntax-functions-regex'.
467 468
	(cfengine3-completion-function, cfengine3--current-function):
	Use `cfengine3-make-syntax-cache' directly.
469 470 471 472 473 474
	(cfengine3-clear-syntax-cache): New function.
	(cfengine3-make-syntax-cache): Simplify and create
	`cfengine-mode-syntax-functions-regex' on demand.
	(cfengine3-format-function-docstring): Don't call
	`cfengine3-make-syntax-cache' explicitly.

475 476 477 478 479 480 481 482 483 484
2013-12-13  Martin Rudalics  <rudalics@gmx.at>

	Fix windmove-find-other-window broken after pixelwise resizing
	(Bug#16017).
	* windmove.el (windmove-other-window-loc): Revert change from
	2013-12-04.
	(windmove-find-other-window): Call window-in-direction.
	* window.el (window-in-direction): New arguments SIGN, WRAP and
	MINI to emulate original windmove-find-other-window behavior.

485 486 487 488 489 490 491 492 493 494
2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>

	* simple.el (blink-matching--overlay): New variable.
	(blink-matching-open): Instead of moving point, highlight the
	matching paren with an overlay
	(http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).

	* faces.el (paren-showing-faces, show-paren-match)
	(show-paren-mismatch): Move from paren.el.

495 496 497 498 499 500 501
2013-12-13  Leo Liu  <sdl.web@gmail.com>

	* indent.el (indent-region): Disable progress reporter in
	minibuffer.  (Bug#16108)

	* bindings.el (visual-order-cursor-movement): Fix version.

502 503 504 505 506 507 508
2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
	Also match after beginning of line.
	(python-pdbtrack-set-tracked-buffer): Fix logic for remote
	files.  Thanks to Russell Sim. (Bug#15378)

509 510 511 512 513
2013-12-13  Juri Linkov  <juri@jurta.org>

	* simple.el <Keypad support>: Remove key bindings duplicated
	with bindings.el.  (Bug#14397)

514 515 516 517 518
2013-12-13  Juri Linkov  <juri@jurta.org>

	* comint.el (comint-mode-map): Replace `delete-char' with
	`delete-forward-char'.  (Bug#16109)

519 520
2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>

521 522
	* progmodes/python.el (python-indent-calculate-indentation):
	Fix de-denters cornercase. (Bug#15731)
523

524 525 526 527 528 529 530 531 532 533 534
2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
	(advice--make): Pay attention to `depth'.
	(advice--make-1): Don't autoload commands eagerly.
	* emacs-lisp/elp.el (elp-instrument-function):
	* emacs-lisp/trace.el (trace-function-internal):
	* emacs-lisp/debug.el (debug-on-entry): Keep them "first".

	* iswitchb.el (iswitchb-mode): Don't belittle ido.

535 536 537 538 539 540 541 542 543
2013-12-12  Eli Zaretskii  <eliz@gnu.org>

	* term/w32-win.el (w32-handle-dropped-file):
	* startup.el (normal-top-level):
	* net/browse-url.el (browse-url-file-url):
	* dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
	decode file names using 'utf-8' rather than
	file-name-coding-system.

544 545 546 547 548 549
2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-indent-context)
	(python-indent-calculate-indentation): Fix auto-identation
	behavior for comment blocks. (Bug#15916)

550
2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
551

552 553
	* progmodes/python.el (python-indent-calculate-indentation):
	When determining indentation, don't treat "return", "pass", etc., as
554 555
	operators when they are just string constituents.  (Bug#15812)

556 557 558 559 560 561 562 563
2013-12-12  Juri Linkov  <juri@jurta.org>

	* uniquify.el (uniquify-buffer-name-style): Change default to
	`post-forward-angle-brackets'.

	* menu-bar.el (menu-bar-options-menu): Don't require preloaded
	`uniquify'.  Change default to `post-forward-angle-brackets'.

564 565 566 567 568
2013-12-11  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/package.el (finder-list-matches):
	Autoload rather than falsely declaring.

Ted Zlatanov's avatar
Ted Zlatanov committed
569 570 571 572 573
2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
	(eww-mode-map): Use them.

574 575 576 577 578
2013-12-11  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-in-side-window): Fix doc-string
	(Bug#16115).

579 580 581 582 583 584
2013-12-11  Juanma Barranquero  <lekktu@gmail.com>

	* vc/vc-git.el: Silence byte-compiler warnings.
	(vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
	(log-edit-set-header): Declare.

Eli Zaretskii's avatar
Eli Zaretskii committed
585 586 587 588 589
2013-12-11  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in (custom-deps, finder-data): Run output file names
	through unmsys--file-name.  (Bug#16099)

590 591
2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>

592
	* emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
593
	comment-start-skip, which fails when that uses submatch 1 (bug#16041).
594

595 596 597 598 599 600 601 602 603 604
	* emulation/cua-base.el (cua-paste): Add `delete-selection' property
	instead of deleting the selection "by hand" (bug#16098).
	Rely on insert-for-yank to yank rectangles.
	(cua-highlight-region-shift-only): Mark obsolete.
	(cua-mode): Don't enable/disable transient-mark-mode,
	shift-select-mode (cua-mode works both with and without them), and
	pc-selection-mode (obsolete).
	* emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
	(cua--deactivate-rectangle): Deactivate it.

605 606 607 608 609
	* delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
	(delete-selection-helper): Make sure yank starts at the top of the
	deleted region.
	(minibuffer-keyboard-quit): Use region-active-p.

610 611
	* emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.

612 613 614
	* simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
	to `delete' (bug#16109).

615 616 617 618 619
2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
	info manual and show keybindings and set `:group' keyword.

620 621 622 623 624 625 626 627 628
2013-12-11  Juri Linkov  <juri@jurta.org>

	* delsel.el (delete-active-region): Let-bind `this-command'
	to prevent `kill-region' from changing its original value.
	(delete-selection-helper): Handle `overwrite-mode' for the type
	`kill' exactly the same way as for the type `t'.
	(insert-char, quoted-insert, reindent-then-newline-and-indent):
	Support more commands.  (Bug#13312)

629 630 631 632 633
2013-12-11  Juri Linkov  <juri@jurta.org>

	* bindings.el: Map kp keys to non-kp keys systematically
	with basic modifiers control, meta and shift.  (Bug#14397)

Kenjiro NAKAYAMA's avatar
Kenjiro NAKAYAMA committed
634 635 636 637 638 639
2013-12-11  Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>  (tiny change)

	* net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
	"Close browser" menu items.  Fix wrong function of "List
	bookmarks".

640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666
2013-12-11  Juri Linkov  <juri@jurta.org>

	* misearch.el (multi-isearch-buffers): Set the value of
	`multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
	arg of isearch-forward to t.
	(multi-isearch-buffers-regexp): Set the value of
	`multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
	arg of isearch-forward-regexp to t.
	(multi-isearch-files): Set the value of
	`multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
	arg of isearch-forward to t.
	(multi-isearch-files-regexp): Set the value of
	`multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
	arg of isearch-forward-regexp to t.  (Bug#16035)

	* dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
	arg of isearch-forward to t.
	(dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
	arg of isearch-forward-regexp to t.
	(dired-isearch-filter-filenames): Remove unnecessary check for
	`dired-isearch-filenames'.

	* comint.el (comint-history-isearch-backward):
	Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
	(comint-history-isearch-backward-regexp):
	Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.

667 668 669 670 671
2013-12-10  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
	unmsys--file-name.  (Bug#16099)

672 673
2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>

674 675
	* emacs-lisp/package.el (package-keyword-button-action):
	Remove finder.el require dependency.
676

677 678 679 680 681 682 683 684
2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>

	* emacs-lisp/package.el: Require finder.el.
	(describe-package-1): Add keyword buttons.
	(package-make-button): New convenience function.
	(package-keyword-button-action): Keyword button action using
	`finder-list-matches'

685 686 687 688 689
2013-12-09  Eli Zaretskii  <eliz@gnu.org>

	* autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
	last commit.

690 691 692 693 694
2013-12-09  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-notify-add-watch): Do not handle
	symlinked files.

695 696 697 698 699
2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
	after the end of a percent literal.

700 701
2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)

702 703
	* progmodes/ruby-mode.el (ruby-forward-string): Document.
	Handle caret-delimited strings (Bug#16079).
704

705 706
2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>

707 708
	* progmodes/ruby-mode.el (ruby-accurate-end-of-block):
	When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
709 710
	`ruby-parse-partial' (Bug#16078).

711 712 713 714
2013-12-09  Leo Liu  <sdl.web@gmail.com>

	* subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)

715 716 717 718 719 720 721 722
2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/js.el (js-auto-indent-flag): Remove, was unused.
	(js-switch-indent-offset): New option.
	(js--proper-indentation): Use it.  And handle the case when
	"default" is actually a key in an object literal.
	(js--same-line): New function.
	(js--multi-line-declaration-indentation): Use it.
723 724
	(js--indent-in-array-comp, js--array-comp-indentation):
	New functions.
725 726 727
	(js--proper-indentation): Use them, to handle array comprehension
	continuations.

728 729 730 731 732 733
2013-12-08  Leo Liu  <sdl.web@gmail.com>

	* progmodes/flymake.el (flymake-highlight-line): Re-write.
	(flymake-make-overlay): Remove arg MOUSE-FACE.
	(flymake-save-string-to-file, flymake-read-file-to-string): Remove.

734 735 736 737 738 739 740 741 742 743 744 745 746 747 748
2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
	New function.
	(redisplay-highlight-region-function): Use it.

	* emulation/cua-base.el (cua--explicit-region-start)
	(cua--last-region-shifted): Remove.
	(cua--deactivate): Use deactivate-mark.
	(cua--pre-command-handler-1): Don't handle shift-selection.
	(cua--post-command-handler-1): Don't change transient-mark-mode.
	(cua--select-keymaps): Use region-active-p rather than
	cua--explicit-region-start or cua--last-region-shifted.
	(cua-mode): Enable shift-select-mode.

Leo Liu's avatar
Leo Liu committed
749 750
2013-12-08  Leo Liu  <sdl.web@gmail.com>

751 752
	* progmodes/flymake.el (flymake-popup-current-error-menu):
	Rename from flymake-display-err-menu-for-current-line.  Reimplement.
Leo Liu's avatar
Leo Liu committed
753 754 755
	(flymake-posn-at-point-as-event, flymake-popup-menu)
	(flymake-make-emacs-menu): Remove.  (Bug#16077)

756 757
2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>

758 759 760 761 762
	* rect.el (rectangle-mark-mode): Activate mark even if
	transient-mark-mode is off (bug#16066).
	(rectangle--highlight-for-redisplay): Fix boundary condition when point
	is > mark and at bolp.

763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789
	* emulation/cua-rect.el (cua--rectangle-region-extract): New function.
	(region-extract-function): Use it.
	(cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
	(cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
	Delete functions.
	(cua--init-rectangles): Don't re-remap copy-region-as-kill,
	kill-ring-save, kill-region, delete-char, delete-forward-char.
	Ignore self-insert-iso.

	* emulation/cua-gmrk.el (cua--init-global-mark):
	Ignore `self-insert-iso'.

	* emulation/cua-base.el (cua--prefix-copy-handler)
	(cua--prefix-cut-handler): Rely on region-extract-function rather than
	checking cua--rectangle.
	(cua-delete-region): Use region-extract-function.
	(cua-replace-region): Delete function.
	(cua-copy-region, cua-cut-region): Obey region-extract-function.
	(cua--pre-command-handler-1): Don't do the delete-selection thing.
	(cua--self-insert-char-p): Ignore `self-insert-iso'.
	(cua--init-keymaps): Don't remap delete-selection commands.
	(cua-mode): Use delete-selection-mode instead of rolling our own
	(bug#16085).

	* menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
	Obey region-extract-function.

790 791 792 793 794
	Make registers and delete-selection-mode work on rectangles.
	* register.el (describe-register-1): Don't modify the register's value.
	(copy-to-register): Obey region-extract-function.
	* delsel.el (delete-active-region): Obey region-extract-function.

Leo Liu's avatar
Leo Liu committed
795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813
2013-12-08  Leo Liu  <sdl.web@gmail.com>

	* progmodes/flymake.el (flymake, flymake-error-bitmap)
	(flymake-warning-bitmap, flymake-fringe-indicator-position)
	(flymake-compilation-prevents-syntax-check)
	(flymake-start-syntax-check-on-newline)
	(flymake-no-changes-timeout, flymake-gui-warnings-enabled)
	(flymake-start-syntax-check-on-find-file, flymake-log-level)
	(flymake-xml-program, flymake-master-file-dirs)
	(flymake-master-file-count-limit)
	(flymake-allowed-file-name-masks): Relocate.
	(flymake-makehash, flymake-float-time)
	(flymake-replace-regexp-in-string, flymake-split-string)
	(flymake-get-temp-dir): Remove.
	(flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
	(flymake-current-row, flymake-selected-frame)
	(flymake-get-point-pixel-pos): Remove xemacs compatibity and
	related functions.  (Bug#16077)

814 815 816 817
2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>

	* emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.

818 819 820 821 822 823
2013-12-07  Tassilo Horn  <tsdh@gnu.org>

	* help-fns.el (describe-function-1): Use new advice-* functions
	rather than old ad-* functions.  Fix function type description and
	source links for advised functions and subrs.

824 825
2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>

826
	* net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
827

Michael Albinus's avatar
Michael Albinus committed
828 829 830 831 832 833 834 835
2013-12-06  Michael Albinus  <michael.albinus@gmx.de>

	* progmodes/compile.el (compilation-start):
	* progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.

	* net/tramp-sh.el (tramp-sh-handle-start-file-process):
	Handle long command lines, lasting from "sh -c ...".  (Bug#16045)

836 837
2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>

838 839
	* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
	Touch up the last change.
840

841 842 843 844 845 846 847 848
2013-12-06  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-prompt): Use shy groups.
	(inferior-octave-startup): Always use "octave> " for prompt.
	(octave-goto-function-definition)
	(octave-sync-function-file-names)
	(octave-find-definition-default-filename): Remove redundant backquotes.

Dmitry Gutov's avatar
Dmitry Gutov committed
849 850 851 852 853 854 855 856 857
2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
	syntax for `?'.
	(ruby-expr-beg): Expect that `!' will have syntax class "symbol"
	where appropriate already.
	(ruby-syntax-propertize-function): Propertize `?' and `!' at the
	end of method names (Bug#15874).

858 859 860 861 862 863 864 865 866
2013-12-06  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch--saved-overriding-local-map):
	New internal variable.
	(isearch-mode): Set it to the initial value of
	`overriding-terminal-local-map'.
	(isearch-pre-command-hook): Compare `overriding-terminal-local-map'
	with `isearch--saved-overriding-local-map'.  (Bug#16035)

867 868
2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>

869 870
	* progmodes/octave.el (inferior-octave-completion-table):
	Turn back into function, use `completion-table-with-cache'
871 872 873 874
	(Bug#11906).  Update all references.

	* minibuffer.el (completion-table-with-cache): New function.

875 876 877 878
2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)

	* emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).

879 880 881 882 883 884 885 886 887 888
2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/eww.el (eww-current-source): New variable to store page
	source.
	(eww-display-html, eww-mode, eww-save-history)
	(eww-restore-history): Use it.
	(eww-view-source): New command to view page source.
	Opportunistically uses `html-mode' to highlight the buffer.
	(eww-mode-map): Install it.

889 890 891 892 893 894 895 896 897
2013-12-05  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-unregister-service)
	(dbus-escape-as-identifier, dbus-unescape-from-identifier):
	Fix docstring.
	(dbus-unregister-service): Skip :serial entries in
	`dbus-registered-objects-table'.
	(dbus-byte-array-to-string): New optional arg MULTIBYTE.

898 899 900 901 902
2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>

	* emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
	around keywords with extra `split-string' argument.

903 904 905 906 907
2013-12-04  Martin Rudalics  <rudalics@gmx.at>

	* windmove.el (windmove-other-window-loc): Handle navigation
	between windows (excluding the minibuffer window - Bug#16017).

908 909 910 911 912 913 914
2013-12-04  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
	in D-Bus type syntax.
	(dbus-unescape-from-identifier): Use `byte-to-string' in order to
	preserve unibyte strings.  (Bug#16048)

915 916 917 918 919
2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/eldoc.el (eldoc-minibuffer-message):
	Call force-mode-line-update is the proper buffer (bug#16042).

920 921 922 923 924 925 926 927 928 929
2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/log-edit.el (log-edit-add-new-comment): Rename to
	`log-edit-remember-comment', make argument optional.  Adjust all
	callers.
	(log-edit-mode): Add `log-edit-remember-comment' to
	`kill-buffer-hook' locally.
	(log-edit-kill-buffer): Don't remember comment explicitly since
	the buffer is killed anyway.

930 931 932 933 934
2013-12-04  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
	add-hook and remove-hook for multi-buffer search.  (Bug#16035)

935 936 937
2013-12-03  Tom Regner <tom@goochesa.de>  (tiny change)

	* notifications.el (notifications-close-notification): Call the
938
	D-Bus method with ID being a `:uint32'.  (Bug#16030)
939

940 941 942 943
2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>

	* net/eww.el (eww-render): Don't pass arg to eww-display-image.

944 945 946 947 948 949 950 951 952 953 954 955
2013-12-03  Juri Linkov  <juri@jurta.org>

	* progmodes/compile.el (compilation-start): Rename window alist
	entry `no-display-ok' to `allow-no-window'.

	* simple.el (shell-command): Add window alist entry
	`allow-no-window' to `display-buffer'.
	(async-shell-command): Doc fix.

	* window.el (display-buffer-no-window): New action function.
	(display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)

956 957 958 959 960 961 962 963 964 965
2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/log-edit.el (log-edit-set-header): Extract from
	`log-edit-toggle-header'.
	(log-edit-extract-headers): Separate the summary, when extracted
	from header, from the rest of the message with an empty line.

	* vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
	line, if present, to the Summary header.

966 967 968 969 970
2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* epa-file.el (epa-file-insert-file-contents): Ensure we insert text
	in current-buffer (bug#16029).

971 972 973 974 975 976 977 978 979 980
2013-12-02  Helmut Eller  <eller.helmut@gmail.com>

	* emacs-lisp/debug.el (debugger-toggle-locals): New command.
	(debugger-mode-map): Bind it.
	(debugger--backtrace-base): New function.
	(debugger-eval-expression): Use it.
	(debugger-frame-number): Skip local vars when present.
	(debugger--locals-visible-p, debugger--insert-locals)
	(debugger--show-locals, debugger--hide-locals): New functions.

981 982 983 984 985 986 987
2013-12-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-remote-process-environment): Do not set
	"LC_ALL".
	(tramp-get-remote-locale): New defun.
	(tramp-open-connection-setup-interactive-shell): Use it.

988 989 990 991 992 993 994 995 996 997
2013-12-02  Leo Liu  <sdl.web@gmail.com>

	* subr.el (process-live-p): Return nil for non-process.  (Bug#16023)

	* progmodes/sh-script.el (sh-shell-process):
	* progmodes/octave.el (inferior-octave-process-live-p):
	* progmodes/gdb-mi.el (gdb-delchar-or-quit)
	(gdb-inferior-io-sentinel):
	* emacs-lock.el (emacs-lock-live-process-p): All uses changed.

998 999 1000 1001 1002 1003 1004
2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/log-edit.el (log-edit-kill-buffer): Move the use of
	`save-selected-window' to `log-edit-hide-buf'.  This makes
	`log-edit-show-files' idempotent.
	(log-edit-show-files): Mark the new window as dedicated.

Dmitry Gutov's avatar
Dmitry Gutov committed
1005 1006 1007 1008 1009 1010 1011 1012 1013 1014
2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/log-edit.el (log-edit-mode-map): Add binding for
	`log-edit-kill-biffer'.
	(log-edit-hide-buf): Add a FIXME comment.
	(log-edit-add-new-comment): New function, extracted from
	`log-edit-done'.
	(log-edit-done, log-edit-add-to-changelog): Use it.
	(log-edit-kill-buffer): New command.

1015 1016 1017 1018 1019
2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
	instead of killing the buffer.

1020 1021 1022 1023
2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (newline): Mention `electric-indent-mode' (bug#16015).

Rüdiger Sonderfeld's avatar
Rüdiger Sonderfeld committed
1024 1025
2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

1026
	* net/eww.el (eww-form-checkbox-selected-symbol)
1027
	(eww-form-checkbox-symbol): New customizable variable.
1028 1029 1030 1031 1032
	(eww-form-checkbox, eww-toggle-checkbox):
	Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.

	* net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
	(shr--get-media-pref, shr--extract-best-source): New function.
1033 1034 1035
	(shr-tag-video, shr-tag-audio):  Use `shr--extract-best-source' when
	no :src tag was specified.

1036
	* net/eww.el (eww-use-external-browser-for-content-type): New variable.
1037 1038 1039
	(eww-render): Handle `eww-use-external-browser-for-content-type'.
	Use \\` to match beginning of string instead of ^.
	(eww-browse-with-external-browser): Provide optional URL parameter.
1040
	(eww-render): Set `eww-current-title' back to "".
1041

1042 1043
	* net/shr.el (shr-tag-video): Display content for video if no
	poster is available.
1044
	(shr-tag-audio): Add support for <audio> tag.
1045 1046 1047 1048 1049

	* net/eww.el (eww-text-input-types): : New const.
	(eww-process-text-input): Treat input types in
	`eww-text-input-types' as text.

Rüdiger Sonderfeld's avatar
Rüdiger Sonderfeld committed
1050 1051
	* net/shr.el (shr-tag-table): Fix comment typo.

1052 1053 1054 1055
2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el (eww-follow-link): New command to avoid reloading
	pages when we follow #target links (bug#15243).
1056
	(eww-quit): Special mode buffers shouldn't query before exiting.
1057

1058 1059 1060 1061 1062
2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>

	* net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
	forms.

1063 1064 1065 1066
2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el (eww-restore-history): Update the window title after
	moving in the history.
1067
	(eww-current-dom): New variable used to save the current DOM.
1068

1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081
2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/log-edit.el (log-edit-mode-map): Add binding for
	`log-edit-beginning-of-line'.
	(log-edit-setup-add-author): New user option.
	(log-edit-beginning-of-line): New command.
	(log-edit): Move major mode call above the contents setup so that
	the local variable values are already applied.
	(log-edit): Only insert "Author: " when
	`log-edit-setup-add-author' is non-nil.
	(log-edit): When SETUP is non-nil, position point after ": "
	instead of point-min.

1082 1083 1084 1085
2013-12-01  Glenn Morris  <rgm@gnu.org>

	* startup.el (command-line): Warn if ~/emacs.d is in load-path.

1086 1087 1088
2013-11-30  Eli Zaretskii  <eliz@gnu.org>

	* startup.el (fancy-splash-frame): On MS-Windows, trigger
Juanma Barranquero's avatar
Juanma Barranquero committed
1089
	redisplay to make sure the initial frame gets a chance to become
1090 1091
	visible.  (Bug#16014)

1092
2013-11-30  Martin Rudalics  <rudalics@gmx.at>
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131

	Support resizing frames and windows pixelwise.
	* cus-start.el (frame-resize-pixelwise)
	(window-resize-pixelwise): New entries.
	* emacs-lisp/debug.el (debug): Use window-total-height instead
	of window-total-size.
	* frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
	* help.el (describe-bindings-internal): Call help-buffer
	(temp-buffer-max-width): New option.
	(resize-temp-buffer-window, help-window-setup)
	(with-help-window): Rewrite.
	* mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
	dragging dividers.
	* window.el (frame-char-size, window-min-pixel-height)
	(window-safe-min-pixel-height, window-safe-min-pixel-width)
	(window-min-pixel-width, window-safe-min-pixel-size)
	(window-combination-p, window-safe-min-size)
	(window-resizable-p, window--size-to-pixel)
	(window--pixel-to-size, window--resize-apply-p): New functions.
	(window-safe-min-height): Fix doc-string.
	(window-size, window-min-size, window--min-size-1)
	(window-sizable, window-sizable-p, window--min-delta-1)
	(window-min-delta, window--max-delta-1, window-max-delta)
	(window--resizable, window--resizable-p, window-resizable)
	(window-full-height-p, window-full-width-p, window-at-side-p)
	(window--in-direction-2, window-in-direction)
	(window--resize-reset-1, window--resize-mini-window)
	(window-resize, window-resize-no-error)
	(window--resize-child-windows-normal)
	(window--resize-child-windows, window--resize-siblings)
	(window--resize-this-window, window--resize-root-window)
	(window--resize-root-window-vertically)
	(adjust-window-trailing-edge, enlarge-window, shrink-window)
	(maximize-window, minimize-window, delete-window)
	(quit-restore-window, window-split-min-size, split-window)
	(balance-windows-2, balance-windows)
	(balance-windows-area-adjust, balance-windows-area)
	(window--state-get-1, window-state-get, window--state-put-1)
	(window--state-put-2, window-state-put)
1132 1133
	(display-buffer-record-window, window--display-buffer):
	Make functions handle pixelwise sizing of windows.
1134
	(display-buffer--action-function-custom-type)
1135 1136
	(display-buffer-fallback-action):
	Add display-buffer-in-previous-window.
1137 1138 1139 1140 1141 1142 1143 1144 1145 1146
	(display-buffer-use-some-window): Resize window to height it had
	before.
	(fit-window-to-buffer-horizontally): New option.
	(fit-frame-to-buffer): Describe new values.
	(fit-frame-to-buffer-bottom-margin): Replace with
	fit-frame-to-buffer-margins.
	(window--sanitize-margin): New function.
	(fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
	using window-text-pixel-size.

1147 1148
2013-11-30  Glenn Morris  <rgm@gnu.org>

1149 1150 1151 1152 1153 1154 1155 1156 1157
	* emacs-lisp/bytecomp.el (byte-compile-form):
	Make the `interactive-only' warning like the `obsolete' one.
	* comint.el (comint-run):
	* files.el (insert-file-literally, insert-file):
	* replace.el (replace-string, replace-regexp):
	* simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
	(goto-line, insert-buffer, next-line, previous-line):
	Tweak `interactive-only' spec.

1158 1159 1160 1161
	Stop keeping (most) generated cedet grammar files in the repository.
	* Makefile.in (semantic): New.
	(compile-main): Depend on semantic.

1162 1163
2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>

1164 1165 1166
	* net/newst-reader.el (newsticker-html-renderer): Default to SHR if
	available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.

1167 1168 1169 1170
	* uniquify.el (uniquify-buffer-name-style): Change default.

	* loadup.el: Preload "uniquify".

1171 1172
	* time.el (display-time-update): Update all mode lines (bug#15999).

1173 1174 1175
	* electric.el (electric-indent-mode): Enable by default.
	* loadup.el: Preload "electric".

1176 1177 1178 1179 1180
2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>

	* emacs-lisp/helpers.el (string-empty-p): New function.
	(string-blank-p): New function.

1181 1182 1183 1184 1185
2013-11-29  Andreas Politz  <politza@hochschule-trier.de>

	* imenu.el (imenu--index-alist): Add missing dot to the docstring
	(Bug#14029).

1186 1187 1188 1189 1190 1191
2013-11-29  Andreas Politz  <politza@fh-trier.de>
	* imenu.el (imenu--subalist-p): Don't error on non-conses and
	allow non-lambda lists as functions.
	(imenu--in-alist): Don't recurse into non-subalists.
	(imenu): Don't pass function itself as an argument (Bug#14029).

1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202
2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/python.el (python-mode-map): Remove binding for ":".
	(python-indent-electric-colon): Remove command.
	(python-indent-post-self-insert-function): Integrate the previous code
	of python-indent-electric-colon.  Make it conditional on
	electric-indent-mode.
	(python-mode): Add ?: to electric-indent-chars.
	Move python-indent-post-self-insert-function to the end of
	post-self-insert-hook.

1203 1204
2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>

1205 1206
	* doc-view.el (doc-view-goto-page): Update mode-line.

1207 1208
	* vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.

1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220
2013-11-27  Glenn Morris  <rgm@gnu.org>

	* international/charprop.el, international/uni-bidi.el:
	* international/uni-category.el, international/uni-combining.el:
	* international/uni-comment.el, international/uni-decimal.el:
	* international/uni-decomposition.el, international/uni-digit.el:
	* international/uni-lowercase.el, international/uni-mirrored.el:
	* international/uni-name.el, international/uni-numeric.el:
	* international/uni-old-name.el, international/uni-titlecase.el:
	* international/uni-uppercase.el:
	Remove generated files from VCS repository.

1221 1222 1223 1224 1225
2013-11-27  Eli Zaretskii  <eliz@gnu.org>

	* filenotify.el (file-notify-add-watch): Don't special-case
	w32notify when computing the directory to watch.

1226 1227
2013-11-27  Glenn Morris  <rgm@gnu.org>

1228 1229 1230 1231 1232 1233
	Make bootstrap without generated uni-*.el files possible again.
	* loadup.el: Update command-line-args checking for unidata-gen.
	Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
	* composite.el, international/characters.el:
	Handle unicode tables being undefined.

Glenn Morris's avatar
Glenn Morris committed
1234
	Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250
	* Makefile.in (setwins_for_subdirs): Skip leim/ directory.
	(compile-main): Depend on leim rule.
	(leim): New rule.
	* loadup.el: Move leim-list.el to leim/ subdirectory.
	* startup.el (normal-top-level): No more leim directory.
	* international/ja-dic-cnv.el (skkdic-convert):
	Disable version-control and autoloads in output files.
	* international/titdic-cnv.el (titdic-convert, miscdic-convert):
	Disable version-control and autoloads in output files.
	* leim/quail: Move here from ../leim.
	* leim/quail/hangul.el (hangul-input-method-activate):
	Add autoload cookie.
	(generated-autoload-load-name): Set file-local value.
	* leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
	(generated-autoload-load-name): Set file-local value.

Juanma Barranquero's avatar
Juanma Barranquero committed
1251
2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>  (tiny change)
Ted Zlatanov's avatar
Ted Zlatanov committed
1252 1253 1254 1255 1256

        * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
        (eww-add-bookmark): ask confirmation when add to bookmarks
        (eww-quit): ask confirmation before quitting eww

1257 1258 1259 1260 1261
2013-11-26  Eli Zaretskii  <eliz@gnu.org>

	* vc/vc.el (vc-diff-internal): Use *-dos coding-system when
	reading output from Diff on MS-Windows and MS-DOS.

1262 1263 1264 1265
2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>

	* emacs-lisp/helpers.el (string-reverse): New function.

1266 1267 1268 1269 1270 1271 1272 1273
2013-11-26  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
	names on MS Windows, like "/[::1]:".

	* net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
	SWITCHES.

Glenn Morris's avatar
Glenn Morris committed
1274 1275
2013-11-26  Glenn Morris  <rgm@gnu.org>

1276 1277 1278
	* progmodes/python.el (python-indent-guess-indent-offset):
	Avoid corner-case error.  (Bug#15975)

Glenn Morris's avatar
Glenn Morris committed
1279 1280 1281 1282
	Preload leim-list.el.  (Bug#4789)
	* loadup.el: Load leim-list.el when found.
	* startup.el (normal-top-level): Skip re-loading leim/leim-list.el.

1283
2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
1284 1285 1286

	* emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.

1287 1288
	* emacs-lisp/helpers.el (string-join): New function.

Glenn Morris's avatar
Glenn Morris committed
1289
2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
1290 1291 1292 1293 1294 1295 1296

	* emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
	Mark as obsolete and replace it with a symbol property.
	(byte-compile-form): Use new 'interactive-only property.
	* comint.el, files.el, replace.el, simple.el:
	Apply new 'interactive-only properly.

1297 1298 1299 1300 1301 1302
2013-11-25  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-at-bottom): Make sure that
	split-window-sensibly creates the new window on bottom
	(Bug#15961).

1303 1304 1305 1306 1307 1308 1309
2013-11-23  David Kastrup  <dak@gnu.org>

	* vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
	on the conflict markers when available.
	(smerge--get-marker): New function.
	(smerge-end-re, smerge-base-re): Add subgroup.

1310 1311 1312 1313 1314
2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* frame.el (handle-focus-in, handle-focus-out): Add missing
	interactive spec.

1315 1316 1317 1318 1319
2013-11-25  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cmds.el (tramp-cleanup-connection): Clean up
	`tramp-current-connection' only when KEEP-PASSWORD is non-nil.

1320 1321
2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>

1322 1323 1324 1325 1326 1327 1328 1329 1330 1331
	* play/gomoku.el: Don't use intangible property.  Use lexical-binding.
	(gomoku--last-pos): New var.
	(gomoku--intangible-chars): New const.
	(gomoku--intangible): New function.
	(gomoku-mode): Use it.  Derive from special-mode.
	(gomoku-move-up): Adjust line count.
	(gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
	(gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
	Simplify accordingly.

1332 1333 1334 1335 1336 1337
	* frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
	Remove blink-cursor code.
	(blink-cursor-timer-function, blink-cursor-suspend):
	Don't special-case GUIs.
	(blink-cursor-mode): Use focus-in/out-hook.

1338 1339 1340 1341 1342
2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
	work when annotation is invisible (Bug#13886).

1343
2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
1344 1345 1346 1347

	* json.el (json-alist-p): Only return non-nil if the alist has
	simple keys (Bug#13518).

1348
2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
1349 1350 1351 1352

	* progmodes/js.el (js--ctrl-statement-indentation): Fix indent
	when control-statement is the first statement in a buffer (Bug#15956).

1353 1354 1355 1356 1357 1358
2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>

	* imenu.el (imenu-generic-skip-comments-and-strings):
	New option (Bug#15560).
	(imenu--generic-function): Use it.

1359 1360 1361 1362 1363
2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>

	* minibuffer.el (completion--in-region-1): Scroll the correct
	window. (Bug#13898)

1364 1365
2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>

1366 1367 1368 1369 1370
	* emacs-lisp/helpers.el: Add some string helpers.
	(string-trim-left): Removes leading whitespace.
	(string-trim-right): Removes trailing whitespace.
	(string-trim): Removes leading and trailing whitespace.

1371 1372
	* subr.el (string-suffix-p): New function.

1373 1374 1375 1376 1377 1378
2013-11-23  Glenn Morris  <rgm@gnu.org>

	* progmodes/python.el (python-shell-send-file):
	Add option to delete file when done.  (Bug#15647)
	(python-shell-send-string, python-shell-send-region): Use it.

1379 1380
2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)

1381 1382 1383
	* vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
	to set buffer-read-only to t, never to nil.  (Bug#15938)

1384 1385 1386
	* textmodes/tex-mode.el (latex-noindent-environments):
	Add safe-local-variable property.  (Bug#15936)

1387 1388
2013-11-23  Glenn Morris  <rgm@gnu.org>

1389 1390 1391 1392
	* textmodes/enriched.el (enriched-mode): Doc fix.
	* emacs-lisp/authors.el (authors-renamed-files-alist):
	Add enriched.doc -> enriched.txt.

1393 1394
	* Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.

1395 1396 1397 1398 1399
2013-11-22  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-startup): Spit out error
	message.

1400 1401 1402 1403
2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>

	* progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
	Improve docstring.
1404 1405
	Add :version.
	(ruby-encoding-magic-comment-style): Add :version.
1406

1407 1408 1409 1410
2013-11-22  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-operator-regexp): Exclude newline.
	(Bug#15076)
1411 1412 1413
	(octave-help-mode): Adapt to change to help-mode-finish to use
	derived-mode-p on 2013-09-17.
	(inferior-octave-prompt): Also match octave-gui.
1414
	(octave-kill-process): Don't ask twice.  (Bug#10564)
1415

1416 1417 1418 1419 1420 1421 1422 1423
2013-11-22  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-process-live-p): New helper.
	(inferior-octave-startup, inferior-octave-check-process)
	(inferior-octave-track-window-width-change)
	(octave-completion-at-point, octave-eldoc-function): Use it.
	(octave-kill-process): Provide confirmation.  (Bug#10564)

1424 1425
2013-11-21  Leo Liu  <sdl.web@gmail.com>

1426 1427
	* progmodes/octave.el (octave-mode, inferior-octave-mode):
	Fix obsolete variable comment-use-global-state.
1428

1429 1430
2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

1431 1432
	* progmodes/octave.el (octave-mode-map, octave-mode-menu):
	Add `octave-source-file'.
1433 1434
	(octave-source-file): New function.  (Bug#15935)

Juanma Barranquero's avatar
Juanma Barranquero committed
1435