ChangeLog 446 KB
Newer Older
1 2 3 4 5 6 7 8 9
2014-01-07  David Engster  <deng@randomsample.de>

	* help-fns.el (help-fns-describe-function-functions): New
	variable to call functions for augmenting help buffers.
	(describe-function-1): Remove explicit calls to
	`help-fns--compiler-macro', `help-fns--parent-mode' and
	`help-fns--obsolete'.  Put them in above new variable instead.
	Call all of them through `run-hook-with-args'.

10 11 12 13 14
2014-01-07  Martin Rudalics  <rudalics@gmx.at>

	* window.el (balance-windows-2): While rounding don't give a
	window more than the remainder.  Bug#16351, Bug#16383.

15 16 17 18 19
2014-01-07  Glenn Morris  <rgm@gnu.org>

	* menu-bar.el (menu-bar-help-extra-packages): Remove.
	(menu-bar-help-menu): Use view-external-packages instead.

20 21 22 23 24
2014-01-07  Bastien Guerry  <bzg@gnu.org>

	* emacs-lisp/package.el (package-delete): Also delete the package
	name from `package-alist', not its description only.

25 26 27 28 29 30
2014-01-07  Glenn Morris  <rgm@gnu.org>

	* help.el (view-external-packages):
	* menu-bar.el (menu-bar-help-extra-packages):
	Visit efaq.info rather than etc/MORE.STUFF.

31 32 33 34 35 36 37 38
2014-01-07  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-mode-map): Bind [return] and [backspace] to
	isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)

	* progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
	that shadows RET.  (Bug#16342)

Chong Yidong's avatar
Chong Yidong committed
39 40 41 42 43
2014-01-07  Chong Yidong  <cyd@gnu.org>

	* isearch.el (isearch-yank-char, isearch-yank-word)
	(isearch-yank-line): Doc fix.

44 45 46 47 48 49 50 51 52 53 54 55
2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* abbrev.el (define-abbrev): Beware new meaning of fboundp.
	* emacs-lisp/elint.el (elint-find-builtins):
	* emacs-lisp/eldoc.el (eldoc-symbol-function):
	* emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
	(byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
	* emacs-lisp/byte-opt.el (byte-compile-inline-expand):
	* apropos.el (apropos-safe-documentation):
	* subr.el (symbol-file): Remove redundant fboundp.
	* progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.

56 57 58 59 60 61 62 63 64 65 66 67
2014-01-06  Bastien Guerry  <bzg@gnu.org>

	* hl-line.el (global-hl-line-overlay): Make a local variable.
	(global-hl-line-overlays): New variable to store all overlays.
	(global-hl-line-mode): Don't delete overlays from the current
	buffer when `global-hl-line-sticky-flag' is non-nil.
	(global-hl-line-highlight): Add new overlays to
	`global-hl-line-overlays'.
	(global-hl-line-unhighlight-all): New function to delete all
	overlays when turning off `global-hl-line-mode'.
	This fixes Bug#16183.

68 69 70 71
2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (set-transient-map): Fix nested case and docstring.

72 73 74 75 76
2014-01-06  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
	`Texinfo' entry.

77 78 79 80 81 82 83
2014-01-06  Daniel Colascione  <dancol@dancol.org>

	Fix defun navigation in vc log view.

	* vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
	like `beginning-of-defun'.
	(log-view-end-of-defun,log-view-end-of-defun-1): Rename old
84 85
	log-view-end-of-defun to log-view-end-of-defun-1.  Replace
	log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
86
	(log-view-extract-comment): Call `log-view-current-entry' directly
87
	instead of relying on broken `log-view-beginning-of-defun' behavior.
88

Paul Eggert's avatar
Paul Eggert committed
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes.
	* calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* epg.el (epg-error-to-string):
	* files.el (recover-file):
	* lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
	* mail/emacsbug.el (report-emacs-bug-hook):
	* mail/sendmail.el (mail-recover):
	* ses.el (ses-yank-resize):
	* term/ns-win.el (ns-print-buffer):
	Spelling fixes in diagnostics, mostly for "canceled" with one L.
	* epg.el (epg-key-capability-alist): Rename from misspelled version.
	All uses changed.
	* obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.

106 107 108 109 110
2014-01-06  Leo Liu  <sdl.web@gmail.com>

	* dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
	to avoid shadowning global key.  (Bug#16354)

111 112 113 114 115
2014-01-06  Daniel Colascione  <dancol@dancol.org>

	* textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
	rst-mode.

116 117 118 119
2014-01-05  Martin Rudalics  <rudalics@gmx.at>

	* window.el (balance-windows): Add mising t to fix Bug#16351.

120 121 122 123
2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr-descend): Don't bug out if the anchor is empty
	(bug#16285).
124 125 126
	(shr-insert): If we have a word that's longer than `shr-width',
	break after it anyway.  Otherwise we'll do no breaking once we get
	such a long word.
127

128 129
2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>

130 131 132 133 134 135
	* net/eww.el (eww):  Support single/double quote for search.
	* net/eww.el (eww-list-histories,eww-history-browse): Fixup.
	(eww-history-quit): Delete and use quit-window.
	(eww-history-kill): Delete, because it doesn't work well and
	not necessary.
	(eww-history-mode-map): Delete some keys and add easy-menu.
136

137 138
2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>

139 140 141 142
	Fix misspelling of 'chinese' in rx (Bug#16237).
	* emacs-lisp/rx.el (rx-categories): Correct spelling of
	chinese-two-byte.

143 144 145 146
	Change subword regexps back to vars (Bug#16296).
	* progmodes/subword.el (subword-forward-regexp)
	(subword-backward-regexp): Change these back to variables.

147 148 149 150 151
2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
	syntax-begin-function (bug#16247).

152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
2014-01-03  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/nadvice.el (advice--make-docstring): Change args.
	(advice--docstring): Delete variable.
	(advice--make-1): Leave the docstring empty.
	(advice-add): Use function-documentation for advised docstring.

	* emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
	Ignore function-documentation property when getting documentation.
	(ad-activate-advised-definition): Use function-documentation
	generate the docstring.
	(ad-make-advised-definition): Don't call
	ad-make-advised-definition-docstring.
	(ad-make-advised-definition-docstring, ad-advised-definition-p):
	Delete functions.

	* progmodes/sql.el (sql-help): Use function-documentation instead
	of dynamic-docstring-function property.  No need to autoload now.
	(sql--help-docstring): New variable.
	(sql--make-help-docstring): Use it.

173 174
2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>

175 176 177 178 179 180 181
	* ielm.el (ielm-tab): Retarget.
	(ielm-map): Use ielm-tab for tab.
	(ielm-complete-filename): Use comint-filename-completion.
	(ielm-complete-symbol): Remove.
	(inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
	remove ielm-tab from completion-at-point-functions (bug#16224).

182 183 184
	* emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
	Beware signals raised by predicates (bug#16201).

Richard M. Stallman's avatar
Richard M. Stallman committed
185 186
2014-01-02  Richard Stallman  <rms@gnu.org>

187 188
	* dired-aux.el (dired-do-print): Handle printer-name.

189 190
	* mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
	* mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
Richard M. Stallman's avatar
Richard M. Stallman committed
191 192 193 194 195 196 197 198
	(rmail-epa-decrypt): Turn off mime processing.

	* mail/rmail.el	(rmail-make-in-reply-to-field):
	Add parens in message-id.

	* mail/rmail.el (rmail-get-coding-function): Variable.
	(rmail-get-coding-system): Use it.

199 200 201 202 203
2013-12-31  Eli Zaretskii  <eliz@gnu.org>

	* international/mule-conf.el: Unify the charset indian-is13194.
	(indian-is13194): Specify unify-map.

204 205 206 207
2013-12-31  Leo Liu  <sdl.web@gmail.com>

	* subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)

208 209
2013-12-30  Daniel Colascione  <dancol@dancol.org>

Daniel Colascione's avatar
Daniel Colascione committed
210 211 212
	* term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
	of printing a useless when we resume from sleep.

213 214 215 216
	* progmodes/sh-script.el
	(sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
	in indentation code.  (Bug#16233)

217 218
2013-12-28  João Távora  <joaotavora@gmail.com>

219 220
	* elec-pair.el (electric-pair-post-self-insert-function):
	Don't open extra newlines at beginning of buffer.  (Bug#16272)
221

222 223 224 225 226
2013-12-28  Eli Zaretskii  <eliz@gnu.org>

	* frame.el (window-system-for-display): Don't allow to create a
	GUI frame from a -nw session on MS-Windows.  (Bug#14739)

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

229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
	* mail/hashcash.el (hashcash-program): Rename from hashcash-path.
	Update callers.

	* apropos.el (apropos-match-face):
	* calculator.el (calculator-displayer):
	* dabbrev.el (dabbrev-search-these-buffers-only):
	* face-remap.el (buffer-face-mode-face):
	* simple.el (yank-handled-properties):
	* emacs-lisp/testcover.el (testcover-potentially-1value-functions):
	* mail/footnote.el (footnote-mode-line-string, footnote-prefix):
	* mail/hashcash.el (hashcash-accept-resources, hashcash-program)
	(hashcash-double-spend-database):
	* progmodes/ruby-mode.el (ruby-deep-indent-paren)
	(ruby-deep-indent-paren-style):
	* textmodes/flyspell.el (flyspell-auto-correct-binding):
	* textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
	(rst-toc-insert-number-separator, rst-toc-insert-max-level):
	* vc/pcvs-defs.el (cvs-minor-mode-prefix):
	Specify custom types.

249 250 251 252 253 254 255 256 257 258 259 260
	* emacs-lisp/smie.el (smie-config): Add type, version, initialize.
	* bookmark.el (bookmark-bmenu-use-header-line):
	* doc-view.el (doc-view-scale-internally):
	* pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
	* register.el (register-preview-delay):
	* net/shr.el (shr-bullet):
	* progmodes/cfengine.el (cfengine-cf-promises)
	(cfengine-parameters-indent):
	* progmodes/octave.el (inferior-octave-error-regexp-alist):
	* textmodes/reftex-vars.el (reftex-label-regexps):
	* vc/log-edit.el (log-edit-setup-add-author): Add version.

Glenn Morris's avatar
Glenn Morris committed
261 262 263 264 265 266 267 268 269 270 271
	* net/tls.el (tls-certtool-program): Fix default value.

	* desktop.el (desktop-restore-in-current-display):
	* newcomment.el (comment-empty-lines):
	* progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
	(idlwave-pad-keyword):
	* progmodes/tcl.el (tcl-tab-always-indent):
	* textmodes/reftex-vars.el (reftex-index-default-tag):
	* elec-pair.el (electric-pair-skip-whitespace):
	* progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.

272 273 274
	* emacs-lisp/authors.el (authors-ignored-files)
	(authors-valid-file-names, authors-renamed-files-alist): Additions.

275 276
2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>

Glenn Morris's avatar
Glenn Morris committed
277 278 279
	* shell.el (shell-dynamic-complete-command): Doc fix.
	(shell--command-completion-data): Shell completion now matches
	executable filenames from the current buffer's directory, on
Paul Eggert's avatar
Paul Eggert committed
280
	systems in which this behavior is the default (windows-nt, ms-dos).
281

282 283 284 285
2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr-insert): Don't infloop if the width is zero.

286 287
2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>

288 289 290
	* icomplete.el (icomplete-show-matches-on-no-input): Default to nil
	(bug#16251).

291 292 293
	* electric.el: Move all electric-pair-* to elec-pair.el.
	* elec-pair.el: New file, split from electric.el.

294 295 296 297 298 299 300
2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr-find-fill-point): Don't try to fill if the
	indentation level is larger than the width, because that will
	infloop.
	(shr-insert): Fill repeatedly long texts, so that Japanese is
	formatted correctly (bug#16263).
301 302
	(shr-find-fill-point): Off by one error in comparison with the
	indentation.
303

304
2013-12-26  João Távora  <joaotavora@gmail.com>
305 306

	* electric.el (electric-pair-mode): More flexible engine for skip-
307
	and inhibit predicates, new options for pairing-related functionality.
308 309 310 311 312 313
	(electric-pair-preserve-balance): Pair/skip parentheses and quotes
	if that keeps or improves their balance in buffers.
	(electric-pair-delete-adjacent-pairs): Delete the pair when
	backspacing over adjacent matched delimiters.
	(electric-pair-open-extra-newline): Open extra newline when
	inserting newlines between adjacent matched delimiters.
314 315
	(electric--sort-post-self-insertion-hook):
	Sort post-self-insert-hook according to priority values when
316 317 318 319
	minor-modes are activated.
	* simple.el (newline-and-indent): Call newline with interactive
	set to t.
	(blink-paren-post-self-insert-function): Set priority to 100.
320 321 322
	* emacs-lisp/lisp-mode.el (lisp-mode-variables):
	Use electric-pair-text-pairs to pair backtick-and-quote in strings and
	comments.  Locally set electric-pair-skip-whitespace to 'chomp and
323 324
	electric-pair-open-newline-between-pairs to nil.

325 326 327 328 329
2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el: Use lexical-binding.
	(python-nav-beginning-of-defun): Stop searching ASAP.

330 331 332 333 334
2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>

	* vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
	Fix interactive spec.  Doc fix.  (Bug#15754)

335 336 337
2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>

	* emacs-lisp/byte-run.el (eval-when-compile):
338
	* progmodes/cc-defs.el (cc-eval-when-compile):
339 340
	Fix edebug spec (bug#16184).

341 342
2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

Lars Ingebrigtsen's avatar
Lars Ingebrigtsen committed
343
	* net/shr.el (shr-visit-file): Remove debugging function.
344 345
	(shr-insert): Don't infloop if we can't find a good place to break
	the line (bug#16256).
346

347 348 349 350 351 352 353 354 355 356 357 358
2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el:
	(python-nav--lisp-forward-sexp): New function.
	(python-nav--lisp-forward-sexp-safe): Use it.  Rename from
	python-nav-lisp-forward-sexp-safe.
	(python-nav--forward-sexp): New argument SAFE allows switching
	forward sexp movement behavior for parens.
	(python-nav-forward-sexp): Throw errors on unterminated parens
	(Bug#16191).
	(python-nav-backward-sexp, python-nav-forward-sexp-safe)
	(python-nav-backward-sexp-safe): New functions.
359 360
	(python-shell-buffer-substring):
	Use `python-nav-forward-sexp-safe'.
361

362 363 364 365
2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr-find-fill-point): Don't break lines before a
	quotation mark.
366 367
	(shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
	(shr-find-fill-point): Remove the special checks for the quotation
368
	mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
369

Kenjiro NAKAYAMA's avatar
Kenjiro NAKAYAMA committed
370 371 372 373 374 375
2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>

	* net/eww.el (eww-form-textarea): Use a different face for
	textareas than text input since they have different keymaps
	(bug#16142).

376 377
2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>

378 379
	* progmodes/python.el (python-nav-beginning-of-statement):
	Speed up (Bug#15295).
380

381 382 383 384 385
2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
	the window configuration.

386 387 388 389 390
2013-12-24  Eli Zaretskii  <eliz@gnu.org>

	* net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
	we run on MS-Windows or MS-DOS.

391 392 393 394 395
2013-12-24  Martin Rudalics  <rudalics@gmx.at>

	* window.el (balance-windows-area): Call window-size instead of
	window-height and window-width.  Bug#16241.

396 397 398 399 400 401
2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	* net/eww.el (eww-bookmark-quit): Remove.
	(eww-bookmark-browse): Restore the window configuration when you
	choose a bookmark (bug#16144).

402 403 404 405 406 407 408
2013-12-24  Daniel Colascione  <dancol@dancol.org>

	* icomplete.el: Remove redundant :group arguments to `defcustom'
	throughout.
	(icomplete-show-matches-on-no-input): New customizable variable.
	(icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
	we have something to show.
409
	(icomplete-exhibit): Compute completions even if we have no user input.
410

411 412 413 414
2013-12-23  Daniel Colascione  <dancol@dancol.org>

	* icomplete.el: Move `provide' to end of file.

415 416 417 418
2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/gnutls.el (gnutls-verify-error): Add version tag.

419 420 421 422 423 424 425 426 427 428 429 430 431 432
2013-12-23  Chong Yidong  <cyd@gnu.org>

	* subr.el (set-transient-map): Rename from
	set-temporary-overlay-map.  Doc fix.

	* face-remap.el (text-scale-adjust):
	* indent.el (indent-rigidly):
	* kmacro.el (kmacro-call-macro):
	* minibuffer.el (minibuffer-force-complete):
	* repeat.el (repeat):
	* simple.el (universal-argument--mode):
	* calendar/todo-mode.el (todo-insert-item--next-param):
	* progmodes/f90.el (f90-abbrev-start): Callers changed.

433 434
	* indent.el (indent-rigidly): Use substitute-command-keys.

Glenn Morris's avatar
Glenn Morris committed
435
2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
436 437 438

	* net/eww.el (eww-tag-select): Add text-property to jump to next
	select field.
Juanma Barranquero's avatar
Juanma Barranquero committed
439
	(eww): Add non-supported ftp error.
440

441 442 443 444 445
2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
	comments.  Handle electric indent after typing `?' and `!'.

446 447 448
2013-12-22  Chong Yidong  <cyd@gnu.org>

	* faces.el (face-spec-recalc): If the theme specs are not
449 450
	applicable to a frame, fall back on the defface spec.
	This prevents themes from obliterating faces on low-color terminals.
451

452 453 454 455 456 457
2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
	after `{'.  We need it after block openers, and it doesn't seem
	to hurt after hash openers.

458 459 460 461 462 463 464 465 466
2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
	extracted from `ruby-smie-rules'.
	(ruby--electric-indent-chars): New variable.
	(ruby--electric-indent-p): New function.
	(ruby-mode): Use `electric-indent-functions' instead of
	`electric-indent-chars'.

467 468 469 470 471 472
2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
	docstring.
	(ruby-smie-rules): Indent plus one level after `=>'.

473 474 475 476
2013-12-21  Richard Stallman  <rms@gnu.org>

	* simple.el (newline): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
477
2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
478

Juanma Barranquero's avatar
Juanma Barranquero committed
479
	* net/eww.el (eww-list-histories, eww-list-histories)
480 481 482
	(eww-history-browse, eww-history-quit, eww-history-kill)
	(eww-history-mode-map, eww-history-mode): New command and
	functions to list browser histories.
Juanma Barranquero's avatar
Juanma Barranquero committed
483 484 485
	(eww-form-text): Support text form with disabled
	and readonly attributes.
	(eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
486

487 488 489 490 491 492 493 494 495 496 497 498 499
2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
	(eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
	(eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
	(eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
	Use `user-error'.
	(eww-bookmark-mode-map): Add menu.
	(eww-render, eww-mode): Use `setq-local'.
	(eww-tool-bar-map): New variable.
	(eww-mode): Set `tool-bar-map'.
	(eww-view-source): Check for `html-mode' with `fboundp'.

500 501 502 503 504
2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr--extract-best-source): Don't bug out on audio
	elements with text inside.  Also remove debugging.

505 506 507 508
2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>

	* cus-start.el (all): Add ns-use-srgb-colorspace.

509 510 511 512 513 514 515 516 517 518 519
2013-12-21  Chong Yidong  <cyd@gnu.org>

	* custom.el (custom-theme-recalc-face): Do nothing if the face is
	undefined.  Thus, theme settings for undefined faces do not take
	effect until the faces are defined with defface, the same as with
	theme variables.

	* faces.el (face-spec-set): Use face-spec-recalc in all cases.
	(face-spec-reset-face): Don't assign extra properties in temacs.
	(face-spec-recalc): Apply X resources too.

Chong Yidong's avatar
Chong Yidong committed
520 521 522 523 524 525
2013-12-21  Chong Yidong  <cyd@gnu.org>

	* faces.el (face-spec-set):
	* cus-face.el (custom-theme-set-faces, custom-set-faces):
	* custom.el (defface): Doc fixes (Bug#16203).

526 527 528 529 530 531 532 533 534
	* indent.el (indent-rigidly-map): Add docstring, and move commands
	into named functions.
	(indent-rigidly-left, indent-rigidly-right)
	(indent-rigidly-left-to-tab-stop)
	(indent-rigidly-right-to-tab-stop): New functions.  Decide on
	indentation direction based on bidi direction, and accumulate
	sequential commands in a single undo boundary.
	(indent-rigidly--pop-undo): New utility function.

535 536 537 538
2013-12-20  Juanma Barranquero  <lekktu@gmail.com>

	* faces.el (read-face-name): Require crm.el when using crm-separator.

539 540 541 542 543
2013-12-20  Daniel Colascione  <dancol@dancol.org>

	* progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
	so that we don't reflow comments into the shebang line.

544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563
2013-12-20  Juri Linkov  <juri@jurta.org>

	* saveplace.el (save-place-to-alist): Add `dired-filename' as
	a position when `dired-directory' is non-nil.  Check integer
	positions with `integerp'.
	(toggle-save-place, save-places-to-alist): Add check for
	`dired-directory'.
	(save-place-find-file-hook): Check integer positions with
	`integerp'.
	(save-place-dired-hook): Use `dired-goto-file' when
	`dired-filename' is found in the assoc list.  Check integer
	positions with `integerp'.
	(dired-initial-position-hook): Rename from `dired-initial-point-hook'.

	* dired.el (dired-initial-position-hook): Rename back from
	`dired-initial-point-hook'.
	(dired-initial-position): Rename `dired-initial-point-hook' to
	`dired-initial-position-hook'.
	(dired-file-name-at-point): Doc fix.  (Bug#15329)

564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590
2013-12-20  Juri Linkov  <juri@jurta.org>

	* replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
	(read-regexp-suggestions): New function.
	(read-regexp): Use `read-regexp-defaults-function' to get default values.
	Use `read-regexp-suggestions'.  Add non-empty default to history
	for empty input.
	(occur-read-regexp-defaults-function): Remove function.
	(occur-read-primary-args): Use `regexp-history-last' instead of
	`occur-read-regexp-defaults-function'.

	* hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
	(hi-lock-line-face-buffer, hi-lock-face-buffer)
	(hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
	`hi-lock-read-regexp-defaults-function'.  Doc fix.
	(hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
	with `find-tag-default-as-symbol-regexp'.  Doc fix.
	(hi-lock-read-regexp-defaults): Remove function.
	(hi-lock-regexp-okay): Add check for null.

	* progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
	the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.

	* subr.el (find-tag-default-as-symbol-regexp): New function.
	(find-tag-default-as-regexp): Move symbol regexp formatting to
	`find-tag-default-as-symbol-regexp'.

591 592 593 594 595
2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)

	* hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
	(Bug#14179)

596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618
2013-12-20  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: New implementation of item insertion
	commands and key bindings.
	(todo-key-prompt): New face.
	(todo-insert-item): New command.
	(todo-insert-item--parameters): New defconst, replacing defvar
	todo-insertion-commands-args-genlist.
	(todo-insert-item--param-key-alist): New defconst, replacing
	defvar todo-insertion-commands-arg-key-list.
	(todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
	(todo-insert-item--argsleft, todo-insert-item--apply-args)
	(todo-insert-item--next-param): New functions.
	(todo-insert-item--args, todo-insert-item--argleft)
	(todo-insert-item--argsleft, todo-insert-item--newargsleft):
	New variables.
	(todo-key-bindings-t): Change binding of "i" from
	todo-insertion-map to todo-insert-item.
	(todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
	(todo-insertion-command-name, todo-insertion-commands-names)
	(todo-define-insertion-command, todo-insertion-commands)
	(todo-insertion-key-bindings, todo-insertion-map): Remove.

619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635
2013-12-20  Stephen Berman  <stephen.berman@gmx.net>

	* calendar/todo-mode.el: Bug fixes and new features (bug#15225).
	(todo-toggle-item-highlighting): Use eval-and-compile instead of
	eval-when-compile.
	(todo-move-category): Allow choosing a non-existing todo file to
	move the category to, and create that file.
	(todo-default-priority): New user option.
	(todo-set-item-priority): Use it.
	(todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
	(desktop-restore-file-buffer): Declare.
	(desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
	(todo-modes-set-2): Locally set desktop-save-buffer to
	todo-desktop-save-buffer.
	(todo-mode, todo-archive-mode, todo-filtered-items-mode)
	(auto-mode-alist): Add autoload cookie.

636 637 638 639
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.
640 641
	(string-remove-prefix): New function.
	(string-remove-suffix): New function.
642

643 644 645 646
2013-12-20  Martin Rudalics  <rudalics@gmx.at>

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

650 651 652 653 654
2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>

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

655 656 657 658
2013-12-20  Chong Yidong  <cyd@gnu.org>

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

659 660
2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>

661 662
	* progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
	New option.  (Bug#16182)
663 664 665 666 667 668 669
	(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.

670 671 672 673 674
2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>

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

675 676 677 678 679
2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

680 681 682 683 684 685
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.

686 687 688 689 690
2013-12-20  Leo Liu  <sdl.web@gmail.com>

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

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

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

710 711 712 713 714 715
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)

716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742
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.

743 744 745 746 747
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.

748 749 750 751 752 753
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.

754 755 756 757 758
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)
759 760 761 762
	(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.
763

764 765 766 767 768
2013-12-19  Glenn Morris  <rgm@gnu.org>

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

769 770 771 772 773
2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>

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

774 775 776 777 778 779 780 781 782 783 784 785 786 787
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
788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803
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'.

804 805 806 807 808 809 810 811 812 813 814
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)

815 816 817 818 819
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)

820 821
2013-12-18  Leo Liu  <sdl.web@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
822 823
	* eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
	(Bug#16186)
824

825 826 827 828 829 830 831 832 833
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)

834 835
2013-12-18  Tassilo Horn  <tsdh@gnu.org>

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

839 840
2013-12-18  Chong Yidong  <cyd@gnu.org>

841 842 843
	* cus-edit.el (custom-magic-alist): Fix "themed" description
	(Bug#14348).

844 845 846
	* 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).
847
	(custom-available-themes): Doc fix.
848

849 850 851
	* cus-theme.el (custom-new-theme-mode-map): Add bindings
	(Bug#15674).

852 853
	* replace.el (occur-engine): Avoid infloop (Bug#7593).

854 855 856 857 858
2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)

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

859
2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
860 861 862

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

863 864 865
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
866
	* cus-start.el (load-prefer-newer): New option.
867

868 869
2013-12-18  Le Wang  <l26wang@gmail.com>

870 871
	* comint.el (comint-previous-matching-input-from-input):
	Retain point (Bug#13404).
872

873 874 875 876
2013-12-18  Chong Yidong  <cyd@gnu.org>

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

877 878 879 880 881
2013-12-18  Glenn Morris  <rgm@gnu.org>

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

882 883 884 885 886
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.

887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902
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)

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

912 913 914 915 916 917 918
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
919 920 921 922 923 924 925
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).

926 927 928 929 930 931
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
932 933 934 935 936 937 938
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)

939 940 941 942 943
2013-12-17  Chong Yidong  <cyd@gnu.org>

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

944 945 946 947
2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>

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

948 949 950 951 952 953 954 955
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
956 957 958 959 960 961 962
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.

963 964
2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

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

970 971 972 973 974 975 976
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.

977 978 979 980 981 982 983 984 985 986 987 988
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)

989 990 991 992 993 994
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.

995 996 997 998
2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>

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

999 1000 1001 1002 1003 1004 1005 1006 1007
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'.

1008 1009
2013-12-16  Martin Rudalics  <rudalics@gmx.at>

1010 1011
	* window.el (display-buffer-below-selected):
	Bind split-height-threshold to 0 as suggested by Juri Linkov.
1012

1013 1014 1015 1016 1017
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.

1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032
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.

1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050
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.

1051 1052 1053 1054 1055 1056 1057
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.

1058 1059 1060 1061 1062
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>.

1063 1064 1065 1066
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).
1067

1068 1069
2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>

1070
	* icomplete.el (icomplete-completions): Make sure the prefix is already
1071
	displayed elsewhere before hiding it (bug#16219).
1072

Dmitry Gutov's avatar
Dmitry Gutov committed
1073 1074 1075 1076 1077 1078 1079 1080
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).

1081 1082
2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>

1083
	* progmodes/cfengine.el: Fix `add-hook' doc.
1084
	(cfengine-mode-syntax-functions-regex): Initialize sensibly.
1085 1086
	(cfengine3--current-word): Fix parameters.
	(cfengine3-make-syntax-cache): Simplify further.
1087 1088
	(cfengine3-completion-function, cfengine3--current-function):
	Use `assq' for symbols.
1089 1090
	(cfengine3--current-function): Fix `cfengine3--current-word' call.

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

1096 1097 1098 1099 1100 1101 1102 1103 1104
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'.
1105 1106
	(cfengine3-completion-function, cfengine3--current-function):
	Use `cfengine3-make-syntax-cache' directly.
1107 1108 1109 1110 1111 1112
	(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.

1113 1114 1115 1116 1117 1118 1119 1120 1121 1122
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.

1123 1124 1125 1126 1127 1128 1129 1130 1131 1132
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.

1133 1134 1135 1136 1137 1138 1139
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.

1140 1141 1142 1143 1144
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
Juanma Barranquero's avatar
Juanma Barranquero committed
1145
	files.  Thanks to Russell Sim.  (Bug#15378)
1146

1147 1148 1149 1150 1151
2013-12-13  Juri Linkov  <juri@jurta.org>

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

1152 1153 1154 1155 1156
2013-12-13  Juri Linkov  <juri@jurta.org>

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

1157 1158
2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>

1159
	* progmodes/python.el (python-indent-calculate-indentation):
Juanma Barranquero's avatar
Juanma Barranquero committed
1160
	Fix de-denters cornercase.  (Bug#15731)
1161

1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172
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.

1173 1174 1175 1176 1177 1178 1179 1180 1181
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.

1182 1183 1184 1185
2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-indent-context)
	(python-indent-calculate-indentation): Fix auto-identation
Juanma Barranquero's avatar
Juanma Barranquero committed
1186
	behavior for comment blocks.  (Bug#15916)
1187

1188
2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1189

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

1194 1195 1196 1197 1198 1199 1200 1201
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'.

1202 1203 1204 1205 1206
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
1207 1208 1209 1210 1211
2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>

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

1212 1213 1214 1215 1216
2013-12-11  Martin Rudalics  <rudalics@gmx.at>

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

1217 1218 1219 1220 1221 1222
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
1223 1224 1225 1226 1227
2013-12-11  Eli Zaretskii  <eliz@gnu.org>

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

1228 1229
2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1233 1234 1235 1236 1237 1238 1239 1240 1241 1242
	* 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.

1243 1244 1245 1246 1247
	* 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.

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

1250 1251 1252
	* simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
	to `delete' (bug#16109).

1253 1254 1255 1256 1257
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.

1258 1259 1260 1261 1262 1263 1264 1265 1266
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)

1267 1268 1269 1270 1271
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)

1272
2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
Kenjiro NAKAYAMA's avatar
Kenjiro NAKAYAMA committed
1273 1274 1275 1276 1277

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

1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304
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.

1305 1306 1307 1308 1309
2013-12-10  Eli Zaretskii  <eliz@gnu.org>

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

1310 1311
2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>

1312 1313
	* emacs-lisp/package.el (package-keyword-button-action):
	Remove finder.el require dependency.
1314

1315 1316 1317 1318 1319 1320
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
1321
	`finder-list-matches'.
1322

1323 1324 1325 1326 1327
2013-12-09  Eli Zaretskii  <eliz@gnu.org>

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

1328 1329 1330 1331 1332
2013-12-09  Michael Albinus  <michael.albinus@gmx.de>

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

1333 1334 1335 1336 1337
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.

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

1340 1341
	* progmodes/ruby-mode.el (ruby-forward-string): Document.
	Handle caret-delimited strings (Bug#16079).
1342

1343 1344
2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>

1345 1346
	* progmodes/ruby-mode.el (ruby-accurate-end-of-block):
	When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1347 1348
	`ruby-parse-partial' (Bug#16078).

1349 1350 1351 1352
2013-12-09  Leo Liu  <sdl.web@gmail.com>

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

1353 1354 1355 1356 1357 1358 1359 1360
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.
1361 1362
	(js--indent-in-array-comp, js--array-comp-indentation):
	New functions.
1363 1364 1365
	(js--proper-indentation): Use them, to handle array comprehension
	continuations.

1366 1367 1368 1369 1370 1371
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.

1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386
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
1387 1388
2013-12-08  Leo Liu  <sdl.web@gmail.com>

1389 1390
	* 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
1391 1392 1393
	(flymake-posn-at-point-as-event, flymake-popup-menu)
	(flymake-make-emacs-menu): Remove.  (Bug#16077)

1394 1395
2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>

1396 1397 1398 1399 1400
	* 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.

1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 141