ChangeLog 464 KB
Newer Older
1 2 3 4 5
2014-01-24  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/bytecomp.el (byte-compile-file):
	Remove unused local variable `file-name'.

6 7 8 9
2014-01-24  Glenn Morris  <rgm@gnu.org>

	* subr.el (with-demoted-errors): Doc fix.

10 11 12 13 14 15
2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
	(cl--macroexp-fboundp): New function.
	(cl--make-type-test): Use it.

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

	* emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
	* simple.el (eval-expression): Doc fixes.

21 22 23 24
2014-01-22  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-fixed-entries): Addition.

25 26 27 28 29 30 31 32 33 34
2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el: Write files silently.
	(package-autoload-ensure-default-file, package--write-file-no-coding)
	(package-generate-description-file, package--download-one-archive)
	(package-install-from-archive): Tell `write-region' to stay quiet.
	(package-menu-mode, package-menu--print-info): Omit the Archive column
	if there's only one archive.
	(package-all-keywords, package--has-keyword-p): Remove dead code.

35 36
2014-01-22  Glenn Morris  <rgm@gnu.org>

37 38
	* version.el (emacs-bzr-version-bzr): Fix typo.

39 40 41 42
	* version.el (emacs-repository-get-version):
	Check either .bzr or .git, but not both.
	Make the git case actually use the DIR argument, and return nil
	rather than the empty string.
43
	Avoid error if .git exists but the git executable is not found.
44

45 46 47
2014-01-22  Martin Rudalics  <rudalics@gmx.at>

	Fixes in window size functions around Bug#16430 and Bug#16470.
48 49 50
	* window.el (window-total-size, window-size): New argument ROUND.
	(window--min-delta-1, window-min-delta, window--max-delta-1):
	Be more conservative when calculating the numbers of lines or
51 52 53 54
	columns a window can shrink (Bug#16430).
	(fit-window-to-buffer): Simplify code.
	* term.el (term-window-width): Call window-body-width again.

Glenn Morris's avatar
Glenn Morris committed
55 56
2014-01-22  Glenn Morris  <rgm@gnu.org>

57 58
	* image.el (image-format-suffixes): Doc fix.

59 60
	* international/quail.el (quail-define-package): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
61 62
	* emacs-lisp/authors.el (authors-valid-file-names):
	(authors-renamed-files-alist): Additions.
63

64 65 66
	* vc/vc-git.el (vc-git-print-log): Remove --follow;
	reverts 2014-01-09 change.  (Bug#16422)

Glenn Morris's avatar
Glenn Morris committed
67 68 69 70 71 72 73 74 75
	* calc/calc-embed.el (thing-at-point-looking-at):
	* emacs-lisp/map-ynp.el (x-popup-dialog):
	* obsolete/lmenu.el (x-popup-dialog):
	* emacs-lisp/package.el (url-recreate-url):
	* mail/mailclient.el (clipboard-kill-ring-save):
	* subr.el (x-popup-dialog): Update declaration.
	* mail/rmail.el (rmail-mime-message-p):
	* window.el (tool-bar-lines-needed): Remove unnecessary declaration.

Daniel Colascione's avatar
Daniel Colascione committed
76 77 78 79 80 81 82 83 84
2014-01-21  Daniel Colascione  <dancol@dancol.org>

	* progmodes/sh-script.el (sh--inside-noncommand-expression):
	Correctly detect when we're inside an arithmetic expansion form
	containing nested parenthesis.
	(sh--maybe-here-document): Use `sh--inside-noncommand-expression`
	to detect cases where we shouldn't expand "<<" to a heredoc
	skeleton.

85 86 87 88 89 90 91 92 93
2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
	(eldoc--message-command-p): New function.
	(eldoc-display-message-p): Use it.
	(eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
	message is not automatically erased for us.
	(eldoc-print-current-symbol-info): Erase previous message, if any.

94 95
2014-01-21  Tassilo Horn  <tsdh@gnu.org>

96 97 98
	* textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
	specify it's an interactive function.

99 100
	* textmodes/reftex-cite.el (reftex-all-used-citation-keys):
	Fix regex used for scanning for citation keys which failed for
101 102
	citations with optional arguments.

103 104 105 106
2014-01-21  Leo Liu  <sdl.web@gmail.com>

	* simple.el (read--expression): Don't enable eldoc-mode.

107 108 109 110 111
2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (move-beginning-of-line): Make sure we don't move forward
	(bug#16497).

112 113 114 115 116 117
2014-01-20  Juri Linkov  <juri@jurta.org>

	* saveplace.el (toggle-save-place, save-place-to-alist)
	(save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
	'dired-mode) before checking for dired-directory.  (Bug#16477)

118 119 120 121 122
2014-01-20  Juri Linkov  <juri@jurta.org>

	* indent.el (indent-line-to): Use backward-to-indentation
	instead of back-to-indentation.  (Bug#16461)

123 124 125 126 127 128 129
2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>

	Revert some of the CANNOT_DUMP fix (Bug#16494).
	Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
	but fixing this can wait until after the next release.
	* Makefile.in (emacs): Keep EMACSLOADPATH empty.

130 131 132 133 134 135 136
2014-01-19  Michael Albinus  <michael.albinus@gmx.de>

	* eshell/esh-mode.el (eshell-password-prompt-regexp):
	Use `password-word-equivalents'.
	(eshell-watch-for-password-prompt): Let-bind `case-fold-search'
	to t.  (Bug#5664, Bug#13124)

137 138 139 140 141 142 143 144 145
2014-01-19  Alan Mackenzie  <acm@muc.de>

	Bind open-paren-in-column-0-is-defun-start to nil at some entry
	points.
	* progmodes/cc-engine.el (c-invalidate-state-cache-1)
	(c-parse-state-1, c-guess-basic-syntax):  Bind it here.
	* progmodes/cc-mode.el (c-before-change, c-after-change)
	(c-font-lock-fontify-region): Bind it here.

146 147 148 149 150
2014-01-19  Martin Rudalics  <rudalics@gmx.at>

	* term.el (term-window-width): Call window-text-width instead of
	window-width (Bug#16470).

151 152 153 154 155 156
2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>

	* simple.el (password-word-equivalents): Remove duplicates.
	Sort, to make this easier next time.
	Downcase.  Omit ": " after "jelszó".

157 158 159 160 161
2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>

	* term/common-win.el (saved-region-selection): Defvar it.
	(x-select-text): Set saved-region-selection (Bug#16382).

162 163 164 165 166
2014-01-18  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-aliases)
	(authors-renamed-files-alist): Add some entries.

Michael Albinus's avatar
Michael Albinus committed
167 168
2014-01-17  Michael Albinus  <michael.albinus@gmx.de>

169 170
	* net/tramp.el (tramp-password-prompt-regexp):
	Use `password-word-equivalents' if available.
Michael Albinus's avatar
Michael Albinus committed
171 172 173
	(tramp-action-password, tramp-process-one-action)
	(tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)

Chong Yidong's avatar
Chong Yidong committed
174 175 176 177 178 179 180 181
2014-01-17  Chong Yidong  <cyd@gnu.org>

	* simple.el (password-word-equivalents): New defcustom.
	* comint.el (comint-password-prompt-regexp): Use it.  Bump version
	to 24.4.
	(comint-watch-for-password-prompt): Let-bind `case-fold-search'
	to t.  (Bug#13124)

182 183 184
2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
185 186
	(ruby-align-to-stmt-keywords): Change the default value.
	Use `ruby-alignable-keywords' to generate the possible customization
187 188 189 190 191
	choices.
	(ruby-smie-rules): Instead of using a hardcoded list of alignable
	keywords, check against the value of `ruby-alignable-keywords'
	(http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).

192 193
2014-01-17  Glenn Morris  <rgm@gnu.org>

194 195
	* emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.

196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
	Make M-x authors return zero *Authors Errors* from current logs.
	* emacs-lisp/authors.el (authors-obsolete-files-regexps):
	(authors-ignored-files): Add some entries, remove others.
	(authors-ambiguous-files, authors-valid-file-names):
	Add some entries.
	(authors-renamed-files-alist): Add, remove, and adjust entries.
	(authors-renamed-files-regexps): Add some entries.
	Remove some very broad ones.  Make some entries `lax'.
	(authors-lax-changelogs): New constant.
	(authors-disambiguate-file-name): Treat top-level specially.
	(authors-lax-changelog-p): New function.
	(authors-canonical-file-name): Check file as written against
	authors-valid-file-names.  Do not special-case etc/.
	Handle `lax' logs and authors-renamed-files-regexps elements.

211 212 213
2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>

	* emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
214 215
	`assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
	callers.
216

217 218 219 220 221 222 223 224 225
2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
	Assume we're already in the proper buffer.
	Inspired by Anders Lindgren <andlind@gmail.com>.
	(follow-post-command-hook): Call it from the right buffer.
	(follow-comint-scroll-to-bottom): Adjust call.
	(follow-all-followers): Use get-buffer-window-list.

226 227 228 229 230 231
2014-01-15  Daniel Colascione  <dancol@dancol.org>

	* emacs-lisp/bytecomp.el (byte-compile-file): Use whole
	`buffer-file-name' in interactive-form so that we don't leave
	pathless file names in `file-name-history'.

232 233 234 235 236
2014-01-15  Juri Linkov  <juri@jurta.org>

	* indent.el (indent-rigidly): Set deactivate-mark to nil
	in transient indentation mode.  (Bug#16438)

237 238 239 240 241 242 243
2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>

	* emacs-lisp/package.el (package-desc-keywords): New function
	(Bug#16222).
	(describe-package-1, package-all-keywords)
	(package--has-keyword-p): Use it.

244 245 246 247 248 249
2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>

	* simple.el (define-alternatives): When creating the
	COMMAND-alternatives variable, assign COMMAND as its definition
	name so that `describe-variable' can relocate it.

250 251 252 253 254
2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)

	* font-lock.el (font-lock-keywords): Fix typo in docstring
	(bug#16307).

255 256 257 258 259
2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* ispell.el (ispell-region): Reset `in-comment' for new line
	instead of wrongly reset `add-coment' (bug#13577).

260 261 262 263 264 265
2014-01-14  Daiki Ueno  <ueno@gnu.org>

	* epa-file.el (epa-file-write-region): Encode the region according
	to `buffer-file-format'.  Problem reported at:
	<http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.

266 267 268 269 270
2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/edebug.el (edebug--display): Move protective let-binding
	so it applies in the right buffer (bug#16410).

271 272 273 274 275 276
2014-01-13  Daniel Colascione  <dancol@dancol.org>

	* textmodes/rst.el (rst-define-key): Provide deprecated
	keybindings through named functions instead of anonymous ones so
	that "??" doesn't appear in describe-mode output.

277 278 279 280 281 282 283
2014-01-13  Bastien Guerry  <bzg@gnu.org>

	* simple.el (define-alternatives): Call the selected command
	interactively.  When setting `COMMAND--implementation' for the
	first time, tell the user how to chose another implementation.
	Enhance the docstring.

284 285 286 287 288 289 290
2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/log-edit.el: Fix highlighting of summary when it's the first line.
	(log-edit--match-first-line): New function.
	(log-edit-font-lock-keywords): Use it.
	(log-edit-mode): Make jit-lock-defer-multiline work.

Bastien Guerry's avatar
Bastien Guerry committed
291 292 293 294 295 296 297 298 299
2014-01-13  Bastien Guerry  <bzg@gnu.org>

	* rect.el (rectangle-mark-mode): When the region is not active,
	display a message saying that the mark as been set and that
	rectangle mode is in use.
	(rectangle--highlight-for-redisplay): Only put an overlay with a
	visible vertical bar when (display-graphic-p) is non-nil.
	This partially fixes Bug#16403.

300 301 302 303 304 305 306 307 308
2014-01-13  Juri Linkov  <juri@jurta.org>

	* info.el (Info-find-file): Go to DIR before displaying the error
	about a nonexistent file if no previous Info file is visited.
	Use `user-error' instead of `error' for "Info file %s does not exist".
	(Info-find-node-2): In case of a nonexistent node in unwind forms
	go to the Top node if there is no previous node to revert to.
	(Bug#16405)

309 310 311
2014-01-13  Martin Rudalics  <rudalics@gmx.at>

	fit-frame/window-to-buffer code fixes including one for Bug#14096.
312 313
	* window.el (fit-frame-to-buffer): Fix doc-string.
	Respect window-min-height/-width.  Fit pixelwise when
314 315 316 317 318
	frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
	when avoiding that frame goes partially off-screen.
	(fit-window-to-buffer): Respect window-min-height/-width
	(Bug#14096).

319 320 321 322 323
2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* indent.el (indent-according-to-mode): Flush to column 0 in text-mode
	after an empty line.

324 325 326 327
2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* net/shr.el (shr-render-region): Autoload.

328 329 330 331 332
2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>

	* net/eww.el (eww-download-directory): Rename from
	`eww-download-path' (Bug#16419).

Leo Liu's avatar
Leo Liu committed
333 334 335 336 337 338
2014-01-12  Leo Liu  <sdl.web@gmail.com>

	* dired-x.el (dired-mode-map): Fix last change.

	* emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.

Paul Eggert's avatar
Paul Eggert committed
339 340 341 342 343 344 345 346 347 348 349
2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes.
	* emacs-lisp/generic.el (generic--normalize-comments):
	Rename from generic--normalise-comments.  All uses changed.
	* play/bubbles.el (bubbles--neighborhood-score):
	(bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
	(bubbles--neighborhood-available)
	(bubbles--update-neighborhood-score):
	Rename from names with 'neighbourhood'.  All uses changed.

350 351 352 353 354 355 356 357 358 359
2014-01-12  Leo Liu  <sdl.web@gmail.com>

	Re-implement the feature of showing eldoc info after editing.
	* emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
	(eldoc-edit-message-commands): New function.
	(eldoc-print-after-edit): New variable.
	(eldoc-pre-command-refresh-echo-area): Emit message only by
	eldoc-message-commands.
	(eldoc-mode): Restrict eldoc-message-commands to editing commands
	if eldoc-print-after-edit is set.  (Bug#16346)
Glenn Morris's avatar
Glenn Morris committed
360
	* simple.el (read--expression): Enable eldoc-mode.
361
	* progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
362

Glenn Morris's avatar
Glenn Morris committed
363 364
2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
	    Eric S. Raymond  <esr@thyrsus.com>
365

366
	* version.el (emacs-repository-get-version): Enhance so the
367
	function works correctly in either a Bazaar or Git repo.
368

Glenn Morris's avatar
Glenn Morris committed
369 370
2014-01-11  Eric S. Raymond  <esr@thyrsus.com>

371 372
	* play/meese.el: It's 2014 and Ed Meese is justly forgotten.
	Goes with removal of the joke manpages from /etc.
373

374 375
2014-01-10  K. Handa  <handa@gnu.org>

376 377
	* mail/rmail.el (rmail-get-coding-system):
	Check rmail-get-coding-function before "funcall"ing it.
378

379 380 381 382 383
2014-01-10  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-fixed-entries):
	Update for files that no longer exist.

384 385 386
2014-01-10  Eric S. Raymond  <esr@thyrsus.com>

	* version.el (emacs-bzr-get-version): Restore compatibilty with
387
	24.3 (Tested).
388

389 390 391 392 393
2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>

	* progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
	and Podfile.

394 395 396 397
2014-01-10  Eli Zaretskii  <eliz@gnu.org>

	* emacs-lisp/authors.el (authors-fixed-entries): Update my entry.

398 399
2014-01-10  Chong Yidong  <cyd@gnu.org>

400
	* progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
401

402 403 404 405 406
2014-01-10  Anders Lindgren  <andlind@gmail.com>

	* follow.el (follow-cache-command-list): Include right-char and
	left-char.

Paul Eggert's avatar
Paul Eggert committed
407 408 409 410 411 412 413
2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes.
	* mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
	* woman.el (woman-mark-horizontal-position):
	Rename from woman-mark-horizonal-position.  Use changed.

414 415
2014-01-10  Glenn Morris  <rgm@gnu.org>

416 417 418
	* info.el (info-initialize): If running uninstalled, ensure our
	own info files are always found first, even if INFOPATH is set.

419 420
	* help.el (view-order-manuals): Open emacs.info rather than ORDERS.

421 422 423 424 425 426 427
2014-01-09  David Engster  <deng@randomsample.de>

	* emacs-lisp/eieio-custom.el:
	* emacs-lisp/eieio-opt.el: Set generated autoload file to
	'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
	* emacs-lisp/eieio.el: Regenerate autoloads.

Eric S. Raymond's avatar
Eric S. Raymond committed
428 429 430
2014-01-09  Eric S. Raymond  <esr@thyrsus.com>

	* vc/vc-git.el (vc-git-print-log): Add --follow option to command,
Glenn Morris's avatar
Glenn Morris committed
431
	following renames.  (Bug#8756)
Eric S. Raymond's avatar
Eric S. Raymond committed
432

433 434 435 436 437 438 439 440
2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (deactivate-mark, activate-mark): Force-mode-line-update
	(bug#16382).
	(activate-mark): Add `no-tmm' argument.
	(set-mark, push-mark-command): Use it instead of running
	activate-mark-hook by hand.

441 442 443 444 445
2014-01-08  Eric S. Raymond  <esr@thyrsus.com>

	In preparation for the move to git, sanitize out some
	Bazaar-specific names.

Glenn Morris's avatar
Glenn Morris committed
446 447
	* emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.

448
	* version.el (emacs-bzr-version): Name changed to
Glenn Morris's avatar
Glenn Morris committed
449
	emacs-repository-version.  Obsolete-variable alias made.
450
	* loadup.el: Follow through on this name change.
Glenn Morris's avatar
Glenn Morris committed
451
	* mail/emacsbug.el (report-emacs-bug): Factor out any
452 453
	assumption about the version control system in use.

454
2014-01-08  David Engster  <deng@randomsample.de>
455

456 457
	* help-fns.el (help-fns-describe-function-functions):
	New variable to call functions for augmenting help buffers.
458 459
	(describe-function-1): Remove explicit calls to
	`help-fns--compiler-macro', `help-fns--parent-mode' and
460 461 462 463 464
	`help-fns--obsolete'.  Put them in above new variable instead, and
	call them through `run-hook-with-args'.
	* emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
	`eieio-describe-class'.  Not meant for interactive use anymore,
	but to augment existing help buffers.  Remove optional second
465 466
	argument.  Create proper button for file location.
	Rewrite function to use `insert' instead of `princ' and `prin1' where
467 468 469
	possible.
	(eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
	(eieio-method-def, eieio-class-def): Move further up.
470 471
	(describe-method, describe-generic, eieio-describe-method):
	Remove aliases.
472 473 474 475 476 477 478 479 480
	(eieio-help-constructor, eieio-help-generic): Rename from
	`eieio-describe-constructor' and `eieio-describe-generic', resp.
	Rewrite to use `insert' in the current buffer and use proper help
	buttons.
	(eieio-help-find-method-definition)
	(eieio-help-find-class-definition): Also accept symbols as
	arguments.
	(eieio-help-mode-augmentation-maybee): Remove.
	(eieio-describe-class-sb): Use `describe-function'.
481 482
	* emacs-lisp/eieio.el (help-fns-describe-function-functions):
	Add `eieio-help-generic' and `eieio-help-constructor'.
483

Paul Eggert's avatar
Paul Eggert committed
484 485 486 487 488 489 490 491
2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes.
	* language/china-util.el (hz-ascii-designation):
	Rename from hz-ascii-designnation.
	(hz-ascii-designation): Rename from hz-ascii-designnation.
	All uses changed.

492 493 494 495 496
2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-delete): Only remove pkg-desc from
	package-alist.

Bastien Guerry's avatar
Bastien Guerry committed
497 498
2014-01-08  Bastien Guerry  <bzg@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
499 500
	* emacs-lisp/package.el (package-delete):
	Correctly delete the package from package-alist.
Bastien Guerry's avatar
Bastien Guerry committed
501

502 503 504 505
2014-01-08  Daiki Ueno  <ueno@gnu.org>

	* emacs-lisp/package.el (url-recreate-url): Declare.
	(url-http-target-url): Declare.
Glenn Morris's avatar
Glenn Morris committed
506
	(package-handle-response): Include requested URL in the error message.
507 508 509
	(package--check-signature): Don't re-signal errors from
	package--with-work-buffer.  Suggested by Stefan Monnier.

Bastien Guerry's avatar
Bastien Guerry committed
510 511 512 513 514 515
2014-01-07  Bastien Guerry  <bzg@gnu.org>

	* minibuffer.el (completion--try-word-completion): When both a
	hyphen and a space are possible candidates for the character
	following a word, display both candidates.  (Bug#15980)

516 517 518 519 520
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.

521 522 523 524 525
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.

526 527 528 529 530
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.

531 532 533 534 535 536
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.

537 538 539 540 541 542 543 544
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
545 546 547 548 549
2014-01-07  Chong Yidong  <cyd@gnu.org>

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

550 551 552 553 554 555 556 557 558 559 560 561
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.

562 563 564 565 566 567 568 569 570 571 572 573
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.

574 575 576 577
2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>

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

578 579 580 581 582
2014-01-06  Tassilo Horn  <tsdh@gnu.org>

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

583 584 585 586 587 588 589
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
590 591
	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'.
592
	(log-view-extract-comment): Call `log-view-current-entry' directly
593
	instead of relying on broken `log-view-beginning-of-defun' behavior.
594

Paul Eggert's avatar
Paul Eggert committed
595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611
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.

612 613 614
2014-01-06  Leo Liu  <sdl.web@gmail.com>

	* dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
Leo Liu's avatar
Leo Liu committed
615
	to avoid shadowing global key.  (Bug#16354)
616

617 618 619 620 621
2014-01-06  Daniel Colascione  <dancol@dancol.org>

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

622 623 624 625
2014-01-05  Martin Rudalics  <rudalics@gmx.at>

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

626 627 628 629
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).
630 631 632
	(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.
633

634 635
2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>

636 637 638 639 640 641
	* 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.
642

643 644
2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>

645 646 647 648
	Fix misspelling of 'chinese' in rx (Bug#16237).
	* emacs-lisp/rx.el (rx-categories): Correct spelling of
	chinese-two-byte.

649 650 651 652
	Change subword regexps back to vars (Bug#16296).
	* progmodes/subword.el (subword-forward-regexp)
	(subword-backward-regexp): Change these back to variables.

653 654 655 656 657
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).

658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678
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.

679 680
2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>

681 682 683 684 685 686 687
	* 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).

688 689 690
	* 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
691 692
2014-01-02  Richard Stallman  <rms@gnu.org>

693 694
	* dired-aux.el (dired-do-print): Handle printer-name.

695 696
	* 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
697 698 699 700 701 702 703 704
	(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.

705 706 707 708 709
2013-12-31  Eli Zaretskii  <eliz@gnu.org>

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

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

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

714 715
2013-12-30  Daniel Colascione  <dancol@dancol.org>

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

719 720 721 722
	* progmodes/sh-script.el
	(sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
	in indentation code.  (Bug#16233)

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

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

728 729 730 731 732
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)

733 734
2013-12-28  Glenn Morris  <rgm@gnu.org>

735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754
	* 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.

755 756 757 758 759 760 761 762 763 764 765 766
	* 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
767 768 769 770 771 772 773 774 775 776 777
	* 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.

778 779 780
	* emacs-lisp/authors.el (authors-ignored-files)
	(authors-valid-file-names, authors-renamed-files-alist): Additions.

781 782
2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>

Glenn Morris's avatar
Glenn Morris committed
783 784 785
	* 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
786
	systems in which this behavior is the default (windows-nt, ms-dos).
787

788 789 790 791
2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>

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

792 793
2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>

794 795 796
	* icomplete.el (icomplete-show-matches-on-no-input): Default to nil
	(bug#16251).

797 798 799
	* electric.el: Move all electric-pair-* to elec-pair.el.
	* elec-pair.el: New file, split from electric.el.

800 801 802 803 804 805 806
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).
807 808
	(shr-find-fill-point): Off by one error in comparison with the
	indentation.
809

810
2013-12-26  João Távora  <joaotavora@gmail.com>
811 812

	* electric.el (electric-pair-mode): More flexible engine for skip-
813
	and inhibit predicates, new options for pairing-related functionality.
814 815 816 817 818 819
	(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.
820 821
	(electric--sort-post-self-insertion-hook):
	Sort post-self-insert-hook according to priority values when
822 823 824 825
	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.
826 827 828
	* 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
829 830
	electric-pair-open-newline-between-pairs to nil.

831 832 833 834 835
2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>

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

836 837 838 839 840
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)

841 842 843
2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>

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

847 848
2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

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

853 854 855 856 857 858 859 860 861 862 863 864
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.
865 866
	(python-shell-buffer-substring):
	Use `python-nav-forward-sexp-safe'.
867

868 869 870 871
2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>

	* net/shr.el (shr-find-fill-point): Don't break lines before a
	quotation mark.
872 873
	(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
874
	mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
875

Kenjiro NAKAYAMA's avatar
Kenjiro NAKAYAMA committed
876 877 878 879 880 881
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).

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

884 885
	* progmodes/python.el (python-nav-beginning-of-statement):
	Speed up (Bug#15295).
886

887 888 889 890 891
2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

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

892 893 894 895 896
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.

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

902 903 904 905 906 907
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).

908 909 910 911 912 913 914
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.
915
	(icomplete-exhibit): Compute completions even if we have no user input.
916

917 918 919 920
2013-12-23  Daniel Colascione  <dancol@dancol.org>

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

921 922 923 924
2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>

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

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

939 940
	* indent.el (indent-rigidly): Use substitute-command-keys.

Glenn Morris's avatar
Glenn Morris committed
941
2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
942 943 944

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

947 948 949 950 951
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 `!'.

952 953 954
2013-12-22  Chong Yidong  <cyd@gnu.org>

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

958 959 960 961 962 963
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.

964 965 966 967 968 969 970 971 972
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'.

973 974 975 976 977 978
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 `=>'.

979 980 981 982
2013-12-21  Richard Stallman  <rms@gnu.org>

	* simple.el (newline): Doc fix.

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

Juanma Barranquero's avatar
Juanma Barranquero committed
985
	* net/eww.el (eww-list-histories, eww-list-histories)
986 987 988
	(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
989 990 991
	(eww-form-text): Support text form with disabled
	and readonly attributes.
	(eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
992

993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005
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'.

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

1011 1012 1013 1014
2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>

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

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

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

1041 1042 1043 1044
2013-12-20  Juanma Barranquero  <lekktu@gmail.com>

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

1045 1046 1047 1048 1049
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.

1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069
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)

1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096
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'.

1097 1098 1099 1100 1101
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)

1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124
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.

1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141
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.

1142 1143 1144 1145
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.
1146 1147
	(string-remove-prefix): New function.
	(string-remove-suffix): New function.
1148

1149 1150 1151 1152
2013-12-20  Martin Rudalics  <rudalics@gmx.at>

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

1156 1157 1158 1159 1160
2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>

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

1161 1162 1163 1164
2013-12-20  Chong Yidong  <cyd@gnu.org>

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

1165 1166
2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>

1167 1168
	* progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
	New option.  (Bug#16182)
1169 1170 1171 1172 1173 1174 1175
	(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.

1176 1177 1178 1179 1180
2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>

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

1181 1182 1183 1184 1185
2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

1186 1187 1188 1189 1190 1191
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.

1192 1193 1194 1195 1196
2013-12-20  Leo Liu  <sdl.web@gmail.com>

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

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

1206 1207 1208 1209 1210 1211 1212 1213 1214 1215
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)

1216 1217 1218 1219 1220 1221
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)

1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248
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.

1249 1250 1251 1252 1253
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.

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

1260 1261 1262 1263 1264
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)
1265 1266 1267 1268
	(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.
1269

1270 1271 1272 1273 1274
2013-12-19  Glenn Morris  <rgm@gnu.org>

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

1275 1276 1277 1278 1279
2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>

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

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

1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320
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)

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

1326 1327
2013-12-18  Leo Liu  <sdl.web@gmail.com>

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

1331 1332 1333 1334 1335 1336 1337 1338 1339
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)

1340 1341
2013-12-18  Tassilo Horn  <tsdh@gnu.org>

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

1345 1346
2013-12-18  Chong Yidong  <cyd@gnu.org>

1347 1348 1349
	* cus-edit.el (custom-magic-alist): Fix "themed" description
	(Bug#14348).

1350 1351 1352
	* 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).
1353
	(custom-available-themes): Doc fix.
1354

1355 1356 1357
	* cus-theme.el (custom-new-theme-mode-map): Add bindings
	(Bug#15674).

1358 1359
	* replace.el (occur-engine): Avoid infloop (Bug#7593).

1360 1361 1362 1363 1364
2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)

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

1365
2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>