ChangeLog 559 KB
Newer Older
1 2
2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>

3 4 5 6
	* emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
	(lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
	(lisp-mode-variables): Set font-lock-extra-managed-props.

7 8 9 10 11 12
	* emacs-lisp/byte-run.el (function-put): New function.
	(defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
	* emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
	(cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
	Use them.

13 14
2014-04-22  Daniel Colascione  <dancol@dancol.org>

15 16
	* emacs-lisp/macroexp.el (internal-macroexpand-for-load):
	Add `full-p' parameter; when nil, call `macroexpand' instead of
17 18 19 20 21
	`macroexpand-all'.

	* emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
	Improve docstrings.

Daniel Colascione's avatar
Daniel Colascione committed
22 23 24 25
	* emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
	Use lambda function values, not quoted lambdas.
	(byte-compile-recurse-toplevel): Remove extraneous &optional.

26
	* emacs-lisp/cl-macs.el
Daniel Colascione's avatar
Daniel Colascione committed
27
	(cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
28 29 30
	(cl-struct-slot-value): Conditionally use aref or nth so that the
	compiler produces optimal code.

31 32 33 34 35 36 37 38 39 40 41 42
2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
	(inline): Don't inline cl--set-elt.
	(cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
	Define as inlinable instead.
	(cl-struct-set-slot-value): Remove.

	* emacs-lisp/cl-lib.el (cl--set-elt): Remove.
	* emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
	Use setf instead.

43 44 45 46 47 48 49 50 51
2014-04-21  Daniel Colascione  <dancol@dancol.org>

	* emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
	last two parameters after all.
	(cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
	(cl--compiler-macro-assoc,cl-struct-slot-value)
	(cl-struct-set-slot-value): Stop using them.

(2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
52 53 54 55

	* image-mode.el (image-mode-window-put): Don't assume there's a `t'
	entry in image-mode-winprops-alist.

56 57
2014-04-21  Daniel Colascione  <dancol@dancol.org>

58 59
	* emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
	(byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
60 61
	(byte-compile-toplevel-file-form): Use it.

62 63 64
	* emacs-lisp/cl-macs.el:
	(cl--loop-let): Properly destructure `while' clauses.

65 66 67 68 69
2014-04-20  Daniel Colascione  <dancol@dancol.org>

	* vc/vc.el (vc-root-dir): New public autoloaded function for
	generically finding the current VC root.
	* vc/vc-hooks.el (vc-not-supported): New error.
70
	(vc-call-backend): Signal `vc-not-supported' instead of generic error.
71

Daniel Colascione's avatar
Daniel Colascione committed
72 73 74 75 76 77 78 79 80 81 82 83 84
2014-04-20  Daniel Colascione  <dancol@dancol.org>

	* emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
	argument.
	(cl--const-expr-val): cl--const-expr-val should macroexpand its
	argument in case we're inside a symbol-macrolet.
	(cl--do-arglist, cl--compiler-macro-typep)
	(cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
	environment to `cl--const-expr-val'.
	(cl-struct-sequence-type,cl-struct-slot-info)
	(cl-struct-slot-offset, cl-struct-slot-value)
	(cl-struct-set-slot-value): New functions.

85 86 87 88 89
2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
	assignments such as "case=hello" (bug#17297).

90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
2014-04-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
	Do not autoload.
	(tramp-file-name-handler, tramp-completion-file-name-handler):
	Revert patch from 2014-04-10, it isn't necessary anymore.
	(tramp-autoload-file-name-handler)
	(tramp-register-autoload-file-name-handlers): New defuns.
	(top): Autoload call of `tramp-register-autoload-file-name-handlers'.
	(tramp-register-file-name-handlers): Remove also
	`tramp-autoload-file-name-handler' from `file-name-handler-list'.
	Do not autoload its invocation, but eval it after loading of 'tramp.

	* net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.

	* net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.

107 108 109 110 111 112 113 114 115 116
2014-04-17  Daniel Colascione  <dancol@dancol.org>

	Add support for bracketed paste mode; add infrastructure for
	managing terminal mode enabling and disabling automatically.

	* xt-mouse.el:
	(xterm-mouse-mode): Simplify.
	(xterm-mouse-tracking-enable-sequence)
	(xterm-mouse-tracking-disable-sequence): New constants.
	(turn-on-xterm-mouse-tracking-on-terminal)
117 118
	(turn-off-xterm-mouse-tracking-on-terminal):
	Use tty-mode-set-strings and tty-mode-reset-strings terminal
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
	parameters instead of random hooks.
	(turn-on-xterm-mouse-tracking)
	(turn-off-xterm-mouse-tracking): Delete.

	* term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
	(xterm-paste-ending-sequence): New constant.
	(xterm-paste): New command used for bracketed paste support.

	(xterm-modify-other-keys-terminal-list): Delete obsolete variable.
	(terminal-init-xterm-bracketed-paste-mode): New function.
	(terminal-init-xterm): Call it.
	(terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
	and tty-mode-reset-strings instead of random hooks.
	(xterm-turn-on-modify-other-keys)
	(xterm-turn-off-modify-other-keys)
	(xterm-remove-modify-other-keys): Delete obsolete functions.

136 137
	* term/screen.el: Rewrite to just use the xterm code.
	Add copyright notice.  Mention tmux.
138

139 140 141 142 143 144 145
2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)

	* image-mode.el (image-mode-window-put): Also update the property of
	the "default window".
	* doc-view.el (doc-view-new-window-function): If no window
	exists,	move to the last known page.

146 147 148 149 150
2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
	here-documents (bug#17262).

Eli Zaretskii's avatar
Eli Zaretskii committed
151 152
2014-04-16  Eli Zaretskii  <eliz@gnu.org>

153 154
	* term/pc-win.el (x-list-fonts, x-get-selection-value):
	Provide doc strings, as required by snarf-documentation.
Eli Zaretskii's avatar
Eli Zaretskii committed
155

156
2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
157 158 159 160 161 162 163 164 165

	* ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
	arg of overlays-at.  Use `invisible-p'.

	* obsolete/lucid.el (extent-at):
	* htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
	overlays-at.
	(hfy-fontify-buffer): Remove unused var `orig-ovls'.

166
2014-04-16  João Távora  <joaotavora@gmail.com>
167 168 169 170

	* net/shr.el (shr-expand-url): Use `expand-file-name' for relative
	links.  (Bug#17217).

171
2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
172 173 174 175

	* vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
	Use mapc to loop over a vector.  (Bug#17257).

176
2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
177 178 179 180 181

	* net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
	patch, there are new problems with file names containing spaces.
	Get rid of backticks.  (Bug#17238)

182
2014-04-16  João Távora  <joaotavora@gmail.com>
João Távora's avatar
João Távora committed
183 184 185 186

	* elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
	possible bug.

187
2014-04-16  Eli Zaretskii  <eliz@gnu.org>
188 189 190 191 192

	* frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
	(blink-cursor-mode): Mention customization variables and the
	effect of 'blink-cursor-blinks'.

193
2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
194 195 196 197 198

	* simple.el (undo): Prevent insertion of identity mapping into
	undo-equiv-table so as undo-only does not inf loop in the presence
	of consecutive nils in undo list.

199
2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
200 201 202 203 204 205

	* faces.el (make-face): Deprecate optional argument as it is no
	longer needed/used since the conditional X resources handling
	has been pushed down to make-face-x-resource-internal itself.
	(make-empty-face): Don't pass optional argument to make-face.

206 207 208 209 210 211
2014-04-16  Karl Fogel  <kfogel@red-bean.com>

	* savehist.el (savehist-save): Remove workaround for a read-passwd
	bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
	noticing that the shim was still present.

212 213 214 215
2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.

216 217 218 219
2014-04-14  Juanma Barranquero  <lekktu@gmail.com>

	* faces.el (face-set-after-frame-default): Remove unused local variable.

220 221
2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>

222 223 224 225
	* progmodes/grep.el: Use lexical-binding.
	(grep-expand-template): Pass explicit lexical env to `eval'.
	(zrgrep): Let-bind grep-find-template explicitly.

226 227 228
	* emacs-lisp/cl-lib.el (current-case-table): Remove setter.
	* leim/quail/sisheng.el (sisheng-list): Use with-case-table.

229 230 231 232
2014-04-12  Eli Zaretskii  <eliz@gnu.org>

	* international/characters.el <standard-case-table>: Add entries
	for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
233
	Set category of Coptic characters be 'g' (Greek).
234

Leo Liu's avatar
Leo Liu committed
235 236
2014-04-12  Leo Liu  <sdl.web@gmail.com>

237 238 239 240 241
	* progmodes/octave.el (completion-table-with-cache):
	Define if not available.
	(octave-goto-function-definition, octave-sync-function-file-names)
	(octave-find-definition-default-filename):
	Backquote upattern for compatibility.
Leo Liu's avatar
Leo Liu committed
242

243
2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
244 245 246 247

	* net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
	name twice due to backticks.  (Bug#17238)

248
2014-04-12  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
249 250 251 252

	* term/w32-win.el (x-win-suspend-error):
	* term/x-win.el (x-win-suspend-error): Sync docs.

253 254
2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>

255 256
	* faces.el (make-face): Remove deprecated optional argument.
	The conditional application of X resources is handled directly by
257 258 259
	make-face-x-resource-internal since Emacs 24.4.
	(make-empty-face): Don't pass optional argument to make-face.

260 261 262 263
2014-04-11  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)

264
2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
265 266 267 268 269 270 271 272 273

	Ediff's overlay priorities cause more trouble than they solve.
	* vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
	(ediff-highest-priority): Remove function (bug#17234).
	* vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
	* vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
	(ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
	overlay priorities.

274
2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
275 276 277 278

	* progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
	entry; use symbol boundaries to avoid mis-matches.

279
2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
280 281 282 283 284 285 286

	* net/tramp.el (tramp-file-name-handler)
	(tramp-completion-file-name-handler): Avoid recursive loading.

	* net/tramp-sh.el (tramp-make-copy-program-file-name):
	Quote result also locally.

287 288
2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>

289 290 291
	* emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
	Remove left-over code.

292 293 294 295
	* newcomment.el (comment-indent-new-line): Sink code where it's used.
	Reuse the previous comment's indentation unconditionally if it's on its
	own line.

296 297 298 299 300 301 302 303
2014-04-09  Daniel Colascione  <dancol@dancol.org>

	* emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
	`no-syntax-crossing' arguments.  Forward to `up-list'.
	(up-list): Add `escape-strings', `no-syntax-crossing' arguments.
	Implement logic for escaping from strings.  Use narrowing to deal
	with corner cases.

Leo Liu's avatar
Leo Liu committed
304 305 306 307 308 309 310 311 312 313
2014-04-09  Leo Liu  <sdl.web@gmail.com>

	* net/rcirc.el (rcirc-connection-info): New variable.
	(rcirc-connect): Use it to store connection info.
	(rcirc-buffer-process): Avoid get-buffer-process which returns nil
	for killed process.
	(rcirc-cmd-reconnect): New command.  (Bug#17045)
	(rcirc-mode, set-rcirc-encode-coding-system)
	(set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.

314 315 316 317 318 319 320 321 322 323
2014-04-09  Daniel Colascione  <dancol@dancol.org>

	* emacs-lisp/cl-indent.el: Add comment claiming
	facility is also good for elisp.
	(lisp-indent-find-method): New function.
	(common-lisp-indent-function): Recognize cl-loop.
	(common-lisp-indent-function-1): Recognize cl constructs; use
	`lisp-indent-find-method' instead of `get' directly.
	(if): Use else-body style for elisp.

Dmitry Gutov's avatar
Dmitry Gutov committed
324 325 326 327 328
2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
	Module methods.  (Bug#17216)

329
2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
330 331 332 333

	* help.el (describe-bindings): Fix buffer handling (bug#17210).
	(describe-bindings-internal): Mark obsolete.

334 335 336 337 338
2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (with-silent-modifications): Don't bind deactivate-mark,
	buffer-file-name, and buffer-file-truename any more.

339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362
2014-04-08  Leo Liu  <sdl.web@gmail.com>

	Use lexical-binding and require cl-lib.
	* net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
	(rcirc-handler-generic, rcirc-fill-paragraph)
	(rcirc-format-response-string, rcirc-target-buffer)
	(rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
	(rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
	(rcirc-ctcp-sender-PING, rcirc-browse-url)
	(rcirc-markup-timestamp, rcirc-markup-attributes)
	(rcirc-markup-my-nick, rcirc-markup-urls)
	(rcirc-markup-bright-nicks, rcirc-markup-fill)
	(rcirc-check-auth-status, rcirc-handler-WALLOPS)
	(rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
	(rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
	(rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
	(rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
	(rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
	(rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
	(rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
	(rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
	(rcirc-handler-CTCP-response): Fix unused arguments warnings and
	use cl-lib.

363 364
2014-04-07  João Távora  <joaotavora@gmail.com>

Glenn Morris's avatar
Glenn Morris committed
365 366
	* elec-pair.el (electric-pair--syntax-ppss):
	When inside comments parse from comment beginning.
367 368 369 370 371 372 373
	(electric-pair--balance-info): Fix typo in comment.
	(electric-pair--in-unterminated-string-p): Delete.
	(electric-pair--unbalanced-strings-p): New function.
	(electric-pair-string-bound-function): New var.
	(electric-pair-inhibit-if-helps-balance): Decide quote pairing
	according to `electric-pair--in-unterminated-string-p'

Glenn Morris's avatar
Glenn Morris committed
374 375 376
	* elec-pair.el (electric-pair-inhibit-if-helps-balance):
	Inhibit quote pairing if point-max is inside an unterminated string.
	(electric-pair--looking-at-unterminated-string-p): Delete.
377 378
	(electric-pair--in-unterminated-string-p): New function.

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

	* shell.el (shell-directory-tracker):
	Go back to just ignoring failures.  (Bug#17159)

Glenn Morris's avatar
Glenn Morris committed
384
2014-04-07  João Távora  <joaotavora@gmail.com>
385 386 387 388 389 390 391 392 393

	Fix `electric-pair-delete-adjacent-pairs' in modes binding
	backspace. (bug#16981)
	* elec-pair.el (electric-pair-backward-delete-char): Delete.
	(electric-pair-backward-delete-char-untabify): Delete.
	(electric-pair-mode-map): Bind backspace to a menu item filtering
	a new `electric-pair-delete-pair' command.
	(electric-pair-delete-pair): New command.

Glenn Morris's avatar
Glenn Morris committed
394 395
	* progmodes/python.el (python-electric-pair-string-delimiter):
	Fix triple-quoting electricity.  (Bug#17192)
396

Glenn Morris's avatar
Glenn Morris committed
397 398
	* elec-pair.el (electric-pair-post-self-insert-function):
	Don't skip whitespace when `electric-pair-text-pairs' and
399
	`electric-pair-pairs' were used. syntax to
400
	electric-pair--skip-whitespace.  (Bug#17183)
401

Glenn Morris's avatar
Glenn Morris committed
402
2014-04-07  Eli Zaretskii  <eliz@gnu.org>
403 404 405 406

	* leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
	"<F>".  (Bug#17199)

Glenn Morris's avatar
Glenn Morris committed
407
2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
408 409 410 411

	* mpc.el (mpc--status-timer-run): Disable timer if not displayed.
	(mpc--status-idle-timer-run): Use mpc--status-timer-run.

Glenn Morris's avatar
Glenn Morris committed
412
2014-04-07  Glenn Morris  <rgm@gnu.org>
413 414 415

	* help.el (view-lossage): Doc tweak.

Glenn Morris's avatar
Glenn Morris committed
416
2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
417 418 419 420

	* faces.el (face-spec-recalc): Call make-face-x-resource-internal
	only when inhibit-x-resources is nil, and do that earlier in the
	function.  Doc fix.  (Bug#16694)
421 422 423 424
	(face-spec-choose): Accept additional optional argument, whose
	value is returned if no matching attributes are found.
	(face-spec-recalc): Use the new optional argument when calling
	face-spec-choose.  (Bug#16378)
425 426
	(make-face-x-resource-internal): Do nothing when
	inhibit-x-resources is non-nil.  Don't touch the default face if
427
	reversed video is given--as was done in previous versions of Emacs.
428 429
	(face-set-after-frame-default): Don't call
	make-face-x-resource-internal here.  (Bug#16434)
430

Glenn Morris's avatar
Glenn Morris committed
431
2014-04-07  Tassilo Horn  <tsdh@gnu.org>
Tassilo Horn's avatar
Tassilo Horn committed
432

433 434
	* doc-view.el (doc-view-bookmark-jump):
	Use `bookmark-after-jump-hook' to jump to the right page after the
Tassilo Horn's avatar
Tassilo Horn committed
435 436
	buffer is shown in a window.  (bug#16090)

Glenn Morris's avatar
Glenn Morris committed
437
2014-04-07  Eli Zaretskii  <eliz@gnu.org>
Eli Zaretskii's avatar
Eli Zaretskii committed
438 439 440 441 442 443

	* international/characters.el (mirroring): Fix last change:
	instead of loading uni-mirrored.el explicitly, do that implicitly
	by creating the 'mirroring' uniprop table.  This avoids announcing
	the loading of uni-mirrored.el.

Glenn Morris's avatar
Glenn Morris committed
444
2014-04-07  Glenn Morris  <rgm@gnu.org>
445 446 447 448 449

	* files.el (buffer-stale--default-function)
	(buffer-stale-function, revert-buffer--default):
	* autorevert.el (auto-revert-buffers): Doc tweaks.

Glenn Morris's avatar
Glenn Morris committed
450
2014-04-07  Eli Zaretskii  <eliz@gnu.org>
451 452 453

	* international/characters.el: Preload uni-mirrored.el.  (Bug#17169)

Glenn Morris's avatar
Glenn Morris committed
454
2014-04-07  Glenn Morris  <rgm@gnu.org>
455 456 457 458 459 460 461 462 463 464 465 466 467

	* files.el (make-backup-file-name-function)
	(make-backup-file-name, make-backup-file-name--default-function)
	(make-backup-file-name-1, find-backup-file-name)
	(revert-buffer-function, revert-buffer-insert-file-contents-function)
	(buffer-stale--default-function, buffer-stale-function)
	(before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
	(revert-buffer, revert-buffer--default)
	(revert-buffer-insert-file-contents--default-function):
	Doc fixes related to defaults no longer being nil.
	(make-backup-file-name-function): Bump :version.
	Restore nil as a valid but deprecated custom type.

Glenn Morris's avatar
Glenn Morris committed
468
2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
469

Glenn Morris's avatar
Glenn Morris committed
470 471
	* progmodes/perl-mode.el (perl-syntax-propertize-function):
	Handle $' used as a variable (bug#17174).
472 473 474

	* progmodes/perl-mode.el (perl-indent-new-calculate):
	Handle forward-sexp failure (bug#16985).
475 476
	(perl-syntax-propertize-function): Add "foreach" and "for" statement
	modifiers introducing expressions (bug#17116).
477

478 479 480 481
2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* dired-aux.el (dired-file-set-difference): Use lexical-scoping.

482 483
2014-04-05  Leo Liu  <sdl.web@gmail.com>

484 485
	* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
	Add define-compilation-mode.
486

487 488
2014-04-04  João Távora  <joaotavora@gmail.com>

489 490
	* elec-pair.el (electric-pair--syntax-ppss): When inside comments
	parse from comment beginning.
491 492 493 494 495
	(electric-pair--balance-info): Fix typo in comment.
	(electric-pair--in-unterminated-string-p): Delete.
	(electric-pair--unbalanced-strings-p): New function.
	(electric-pair-string-bound-function): New var.
	(electric-pair-inhibit-if-helps-balance): Decide quote pairing
496
	according to `electric-pair--in-unterminated-string-p'.
497

498 499 500 501 502 503
2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
	Move declaration before first use.
	(reftex-move-to-next-arg): Silence compiler warning.

504 505
2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)

506 507
	* textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
	Use `window-total-width' instead of `window-width'.
508

509 510 511 512 513 514
2014-04-03  Daniel Colascione  <dancol@dancol.org>

	* subr.el (set-transient-map): Remove rms's workaround entirely;
	use new `suspicious-object' subr to mark our lambda for closer
	scrutiny during gc.

515 516 517 518
2014-04-02  Richard Stallman  <rms@gnu.org>

	* subr.el (set-transient-map): Comment out previous change.

519 520
2014-04-02  Glenn Morris  <rgm@gnu.org>

521 522 523 524
	* menu-bar.el (menu-bar-file-menu):
	* vc/ediff.el (ediff-current-file):
	Update for revert-buffer-function no longer being nil by default.

525 526
	* simple.el (command-execute): Respect nil disabled-command-function.

527
2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
528 529 530 531

	* simple.el (command-execute): Do not execute the command when it
	is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)

532
2014-04-02  Juri Linkov  <juri@jurta.org>
533 534 535 536

	* dired-aux.el (dired-compress-file): Don't use string-match-p
	because its match data is used afterwards.

537
2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
538 539 540 541

	* emacs-lisp/package.el (package-built-in-p): Treat a min-version of
	0 like nil.

542 543
2014-04-02  João Távora  <joaotavora@gmail.com>

544 545
	* elec-pair.el (electric-pair-inhibit-if-helps-balance):
	Inhibit quote pairing if point-max is inside an unterminated string.
546 547 548 549
	(electric-pair--looking-at-unterminated-string-p):
	Delete.
	(electric-pair--in-unterminated-string-p): New function.

550 551 552 553 554
2014-04-01  Daniel Colascione  <dancol@dancol.org>

	* minibuffer.el (minibuffer-complete): Prevent assertion failure
	when trying to complete the prompt.

555 556
2014-03-31  Leo Liu  <sdl.web@gmail.com>

557 558
	* emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
	Refactor out eldoc-documentation-function-default.
559 560 561
	(eldoc-documentation-function-default): New function.
	(eldoc-documentation-function): Change value.

562 563 564 565
2014-03-31  Glenn Morris  <rgm@gnu.org>

	* simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.

566 567 568 569
	* progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
	(vhdl-compose-components-package, vhdl-compose-configuration):
	Abbreviate default-directory (missing from some previous upstream sync).

570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585
2014-03-31  Reto Zimmermann  <reto@gnu.org>

	Sync with upstream vhdl mode v3.35.2.
	* progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
	(top-level): No longer require assoc.
	(vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
	New functions.  Use throughout to replace aget etc.
	(vhdl-aput-delete-if-nil): Rename from vhdl-aput.
	(vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
	(vhdl-template-replace-header-keywords): Fix bug for "<title string>".
	(vhdl-compile-init): Do not initialize regexps for Emacs 22+.
	(vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
	except `vhdl-compiler'.
	(vhdl-error-regexp-add-emacs): Remove all other compilers,
	when appropriate.

Glenn Morris's avatar
Glenn Morris committed
586 587 588 589 590
2014-03-31  Glenn Morris  <rgm@gnu.org>

	* progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
	Revert 2014-03-26 merge goof; go back to using defalias.

591 592
2014-03-30  Daniel Colascione  <dancol@dancol.org>

593 594
	* comint.el (comint-send-input):
	Deactivate completion-in-region-mode before we send comint input.
595 596 597 598 599
	(Bug#17139).

	* simple.el (keyboard-quit): Deactivate completion-in-region-mode
	on keyboard-quit.

600 601 602 603 604 605 606 607 608 609 610
2014-03-29  Glenn Morris  <rgm@gnu.org>

	* textmodes/reftex.el: Manage most autoloads automatically.
	* textmodes/reftex-auc.el, textmodes/reftex-cite.el:
	* textmodes/reftex-dcr.el, textmodes/reftex-global.el:
	* textmodes/reftex-index.el, textmodes/reftex-parse.el:
	* textmodes/reftex-ref.el, textmodes/reftex-sel.el:
	* textmodes/reftex-toc.el: Set generated-autoload-file,
	and add autoload cookies for reftex.el.
	* Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.

611 612
2014-03-28  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
613 614 615 616
	* cus-start.el (report-emacs-bug-address): Set custom properties.
	* mail/emacsbug.el (report-emacs-bug-address):
	Variable is now defined in emacs.c.

617 618 619
	* mail/emacsbug.el (report-emacs-bug):
	Include system-configuration-features.

620 621 622 623
2014-03-28  Michal Nazarewicz  <mina86@mina86.com>

	* simple.el (cycle-spacing): Never delete spaces on first run by
	default, but do so in a new 'fast mode and if there are already
624
	N spaces (the previous behavior).
625 626 627
	Compare N with its value in previous invocation so that changing
	prefix argument restarts `cycle-spacing' sequence.
	The idea is that with this change, binding M-SPC to
628
	`cycle-spacing' should not introduce any changes in behavior of
629 630 631
	the binding so long as users do not type M-SPC twice in a raw with
	the same prefix argument or lack thereof.

632 633 634 635 636 637 638 639
2014-03-28  Glenn Morris  <rgm@gnu.org>

	* faces.el (term-file-aliases): New variable.
	(tty-run-terminal-initialization): Respect term-file-aliases.
	* term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
	* term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
	* term/vt400.el, term/vt420.el: Remove files, replaced by aliases.

640 641
2014-03-27  Glenn Morris  <rgm@gnu.org>

642 643 644 645 646
	* startup.el (inhibit-startup-hooks): Doc tweak.
	(normal-top-level): Simplify running of hooks.
	For window-setup-hook, respect inhibit-startup-hooks.
	(command-line-1): Don't set window-setup-hook to nil.

647 648 649 650 651 652
	Allow selective autoloading from obsolete/ directory.
	* Makefile.in (obsolete-autoloads): New rule.
	(autoloads): Run obsolete-autoloads.
	* obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
	* simple.el (iswitchb-mode): Remove hand-written autoloads.

Dmitry Gutov's avatar
Dmitry Gutov committed
653 654
2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>

655 656
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	Highlight special globals with font-lock-builtin-face.  (Bug#17057)
657

Dmitry Gutov's avatar
Dmitry Gutov committed
658 659 660 661
	* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
	Don't propertize `?' or `!' as symbol constituent when after
	colon.  (Bug#17097)

662 663
2014-03-27  Juanma Barranquero  <lekktu@gmail.com>

664 665 666
	* frameset.el (frameset--restore-frame): Remove workaround for bug#14795
	which is no longer needed and causes trouble in GTK builds (bug#17046).

667 668 669
	* emacs-lisp/package-x.el (package--archive-contents-from-url):
	Use url-insert-file-contents; package-handle-response no longer exists.

670 671 672 673 674
2014-03-26  Daniel Colascione  <dancol@dancol.org>

	* simple.el (process-menu-mode-map): New variable.
	(process-menu-delete-process): New command.

675 676 677 678 679 680 681 682 683 684 685
2014-03-26  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/package.el: Fix bug#16733 (again).
	(url-http-parse-response, url-http-end-of-headers, url-recreate-url)
	(url-http-target-url): Remove unused declarations.
	(package-handle-response): Remove.
	(package--with-work-buffer): Use url-insert-file-contents and simplify.
	(package--download-one-archive): Use current-buffer instead of
	dynamic binding of `buffer'.
	(describe-package-1): Do not decode readme-string.

686
2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
687 688 689 690 691 692 693 694

	* net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.

	* net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
	from 2014-03-07, it decreases performance unnecessarily.  Let-bind
	`remote-file-name-inhibit-cache' to nil in the second pass.
	(tramp-find-executable): Do not call "which" on SunOS.
	(tramp-send-command-and-check): Fix docstring.
695 696
	(tramp-do-copy-or-rename-file-directly): In the `rename' case,
	check whether source directory has set the sticky bit.
697

698
2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
699 700 701 702 703 704 705 706 707 708 709

	* simple.el (primitive-undo): Only process marker adjustments
	validated against their corresponding (TEXT . POS).  Issue warning
	for lone marker adjustments in undo history.  (Bug#16818)
	(undo-make-selective-list): Add marker adjustments to selective
	undo list based on whether their corresponding (TEXT . POS) is in
	the region.  Remove variable adjusted-markers, which was unused
	and only non nil during undo-make-selective-list.
	(undo-elt-in-region): Return nil when passed a marker adjustment
	and explain in function doc.

710
2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
711 712 713

	* align.el (align-region): Do not fail when end-mark is nil (bug#17088).

714
2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
715 716 717 718 719 720 721

	* progmodes/ruby-mode.el (ruby-expression-expansion-re):
	Match special global variables without curlies, too.
	(ruby-font-lock-keywords): Simplify the matcher for special global
	variables.  Don't require a non-word character after the variable.
	(Bug#17057)

722
2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
723 724 725 726

	* simple.el (redisplay-highlight-region-function): Increase priority of
	overlay to make sure boundaries are visible (bug#15899).

727
2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
728

729 730
	* frameset.el (frameset--initial-params): Fix typo in parameter name.
	(frameset-restore): Compare display strings with equal.
731

732 733 734
	* frame.el (make-frame): Don't quote display name in error message,
	it is already a string.

735
2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
736 737 738 739

	* net/tramp.el (tramp-read-passwd): Suspend the timers while reading
	the password.

740
2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
741

742 743 744 745 746 747 748 749
	* emacs-lisp/package.el (package--add-to-archive-contents):
	Include already installed and built-in packages in
	`package-archive-contents'.
	(package-install): Don't include already installed packages in the
	options during interactive invocation.  (Bug#16762)
	(package-show-package-list): If the buffer is already displayed in
	another window, switch to that window.

750 751 752 753 754 755 756 757 758 759 760 761 762
2014-03-26  Reto Zimmermann  <reto@gnu.org>

	Sync with upstream vhdl mode v3.35.1.
	* progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
	(vhdl-compiler-alist): Doc fix.
	(vhdl-goto-line): Remove.
	(vhdl-mode-abbrev-table-init): Add XEmacs compat.
	(vhdl-mode) <paragraph-start>: Fix value.
	(vhdl-fix-statement-region): Not `for' in wait-statement.
	(vhdl-beautify-region): Also (un)tabify.
	(vhdl-get-visible-signals):
	Scan declarative part of generate statements.
	(vhdl-template-record): Fix indentation for record type declaration.
Glenn Morris's avatar
Glenn Morris committed
763 764
	(vhdl-expand-abbrev, vhdl-expand-paren):
	Revert to using fset again rather than defalias.
765 766 767 768 769 770 771 772
	(vhdl-scan-directory-contents): Tweak.
	(vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
	(vhdl-compose-components-package):
	Replace vhdl-goto-line with forward-line.
	(top-level): Tweak speedbar frame selection.
	(vhdl-generate-makefile-1): Support for compilers with no
	unit-to-file name mapping (create directory with dummy files).

773 774 775 776 777 778 779 780 781
2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>

	Sync with upstream verilog-mode revision 702457d.
	* progmodes/verilog-mode.el (verilog-mode-version): Update.
	(create-lockfiles): Declare.
	(verilog-read-decls): Fix module header imports, bug709.
	Reported by Victor Lau.
	Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
	(verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
782
	interface-only modules, bug721.  Reported by Dean Hoyt.
783

784 785
2014-03-26  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
786 787
	* obsolete/gulp.el: Move here from emacs-lisp/.

788 789 790
	* files.el (lock-buffer, unlock-buffer, file-locked-p):
	Remove fallback aliases, since they are always defined now.

791 792 793 794 795
2014-03-24  Daniel Colascione  <dancol@dancol.org>

	* emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
	instead of cl-loop search function.

Gnus developers's avatar
Gnus developers committed
796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811
2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>

	* calendar/parse-time.el (parse-time-iso8601-regexp)
	(parse-iso8601-time-string): Copied from `url-dav' so that we can use
	it more generally.

2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>

	* net/dns.el (network-interface-list): Define for XEmacs.

2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>

	* net/dns.el (dns-servers-up-to-date-p): New function to see whether
	the network interfaces changed.
	(dns-query): Use it to flush the data.

812 813 814 815
2014-03-23  Juanma Barranquero  <lekktu@gmail.com>

	* vc/vc.el (vc-rollback): Use set-buffer-modified-p.

816 817 818 819 820 821 822 823 824 825 826 827
2014-03-23  Daniel Colascione  <dancol@dancol.org>

	Change subword-mode to use `find-word-boundary-function-table' and
	replace `capitalized-words-mode'.  Also, convert to lexical
	binding.

	* progmodes/cap-words.el: Delete now-obsolete file.
	* progmodes/subword.el: Reimplement using
	`find-word-boundary-function-table'.
	(subword-mode-map): Hollow out.
	(capitalized-words-mode): Define as obsolete alias for
	`subword-mode'.
828
	(subword-mode, superword-mode): Tweak documentation to reflect new
829
	implementation; call `subword-setup-buffer'.
830
	(subword-forward, subword-capitalize): Add underscore to indicate
831 832 833 834 835 836
	unused variable.
	(subword-find-word-boundary-function-table): New constant.
	(subword-empty-char-table): New constant.
	(subword-setup-buffer): New function.
	(subword-find-word-boundary): New function.

837 838 839 840 841 842 843
2014-03-23  Daniel Colascione  <dancol@dancol.org>

	* emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
	list to look for keyword arguments instead of `memq', fixing
	(Bug#3647) --- unfortunately, only for freshly-compiled code.
	Please make bootstrap.

844 845
2014-03-22  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
846 847 848 849 850 851
	* dired.el (dired-read-regexp): Make obsolete.
	(dired-mark-files-regexp, dired-mark-files-containing-regexp)
	(dired-flag-files-regexp):
	* dired-aux.el (dired-mark-read-regexp):
	* dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.

Glenn Morris's avatar
Glenn Morris committed
852 853 854
	* startup.el (fancy-startup-text):
	* help.el (describe-gnu-project): Visit online info about GNU project.

855 856 857 858 859 860 861 862 863 864 865 866 867 868
	* help-fns.el (help-fns--interactive-only): New function.
	(help-fns-describe-function-functions): Add the above function.
	* simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
	(next-line, previous-line): Remove hand-written interactive-only
	information from doc strings, it is auto-generated now.
	* bookmark.el (bookmark-write):
	* epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
	(epa-mail-import-keys): Mark interactive-only,
	and remove hand-written interactive-only information from doc strings.
	* epa.el (epa-decrypt-armor-in-region, epa-verify-region)
	(epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
	* files.el (not-modified):
	* simple.el (mark-whole-buffer): Mark interactive-only.

869 870 871 872 873 874 875 876 877 878 879
	* emacs-lisp/byte-run.el (defun-declarations-alist):
	Add interactive-only.  Doc tweak.
	(macro-declarations-alist): Doc tweak.
	* subr.el (declare): Doc tweak (add xref to manual).
	* comint.el (comint-run):
	* files.el (insert-file-literally, insert-file):
	* replace.el (replace-string, replace-regexp):
	* simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
	(delete-forward-char, goto-line, insert-buffer, next-line)
	(previous-line): Set interactive-only via declare.

Dmitry Gutov's avatar
Dmitry Gutov committed
880 881 882 883 884
2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>

	* emacs-lisp/package.el (package-desc): Use the contents of the
	quoted form, not its cdr.  (Bug#16873)

885 886 887 888 889
2014-03-22  Juanma Barranquero  <lekktu@gmail.com>

	* w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
	benefit of doc.c; change parameter profile to match the X function.

890 891 892 893 894
2014-03-22  Leo Liu  <sdl.web@gmail.com>

	* help.el (temp-buffer-setup-hook): Remove help-mode-setup.
	(temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)

895 896
2014-03-21  Richard Stallman  <rms@gnu.org>

897 898 899
	* battery.el (battery-linux-sysfs): Search for each field
	from the beginning of the buffer.

Richard M. Stallman's avatar
Richard M. Stallman committed
900 901 902
	* subr.el (set-transient-map): Clear out function and value
	of the temporary symbol when we're done with it.

903 904 905 906 907 908 909 910 911 912 913 914
	* mail/rmailsum.el (rmail-summary-delete-forward):
	Optimize case of reaching end and handling count.
	(rmail-summary-mark-deleted): Optimize when N is current msg.
	Don't create new summary line.
	(rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
	(rmail-summary-undelete-many): Rewrite for speed.
	(rmail-summary-msg-number): New function.

	* mail/rmail.el (rmail-delete-message): Update summary.
	(rmail-undelete-previous-message): Handle repeat count arg.
	(rmail-delete-backward, rmail-delete-forward): Likewise.

915 916 917 918 919
2014-03-21  Daniel Colascione  <dancol@dancol.org>

	* mail/emacsbug.el (report-emacs-bug): Include memory usage
	information in bug reports.

920 921 922 923 924 925 926 927
2014-03-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
	and `tramp-copy-env'.

	* net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
	(tramp-maybe-open-connection): Handle `tramp-login-env'.

928 929 930 931
2014-03-21  Glenn Morris  <rgm@gnu.org>

	* electric.el (electric-indent-post-self-insert-function): Add doc.

Dmitry Gutov's avatar
Dmitry Gutov committed
932 933
2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>

Dmitry Gutov's avatar
Dmitry Gutov committed
934 935 936 937 938
	* emacs-lisp/package.el (package-compute-transaction):
	Use `version-list-<=' to compare the requirement version against
	the version of package already to be installed.  Update the error
	message.  (Bug#16826)

Dmitry Gutov's avatar
Dmitry Gutov committed
939 940 941
	* progmodes/ruby-mode.el (ruby-smie-rules):
	Add indentation rule for ` @ '.  (Bug#17050)

Juanma Barranquero's avatar
Juanma Barranquero committed
942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967
2014-03-21  Juanma Barranquero  <lekktu@gmail.com>

	* align.el (align-regexp): Remove superfluous backslash.

	* ffap.el (ffap-ftp-default-user, ffap-url-regexp)
	(ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
	(ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
	Fix docstring typos.
	(ffap-next): Use C-u in docstring.
	(ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
	(ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
	Remove superfluous backslashes.
	(ffap-string-at-point): Reflow docstring.

	* server.el (server-host): Reflow docstring.
	(server-unload-function): Fix docstring typo.
	(server-eval-at): Remove superfluous backslash.

	* skeleton.el (skeleton-insert): Remove superfluous backslash.
	(skeleton-insert): Doc fix.
	(skeleton-insert): Reflow docstring.

	* term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
	(tty-color-approximate, tty-color-by-index, tty-color-values)
	(tty-color-desc): Remove superfluous backslashes.

968 969
2014-03-21  Glenn Morris  <rgm@gnu.org>

970 971
	* cus-start.el (history-length): Bump :version.

972 973 974 975 976
	* Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
	($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
	($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
	Don't set `make-backup-files'.

977 978 979 980 981
	* info.el (info--prettify-description): New function,
	to give info-finder descriptions consistent case, punctuation.
	(Info-finder-find-node): Use it.  Sort packages.
	Refer to "description" rather than "commentary".

982 983 984 985 986
2014-03-21  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset--print-register): New function.
	(frameset-to-register): Use it.

987 988
2014-03-20  Juanma Barranquero  <lekktu@gmail.com>

989 990 991
	* progmodes/hideif.el (hif-string-to-number): New function.
	(hif-tokenize): Use it to understand non-decimal floats.

992 993
	* emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.

994 995
	* skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.

Glenn Morris's avatar
Glenn Morris committed
996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008
2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* electric.el (electric-newline-and-maybe-indent): New command.
	Bind it globally to C-j.
	(electric-indent-mode): Don't mess with the global map any more.
	Don't drop the post-self-insert-hook is some buffer is still using it
	(bug#16770).

	* bindings.el (global-map): Remove C-j binding.

	* emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
	the docstring of functions advised before dumping (bug#16993).

Glenn Morris's avatar
Glenn Morris committed
1009
2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
1010 1011 1012 1013 1014

	* ps-print.el (ps-generate-postscript-with-faces):
	Explicitly deactivate the mark (bug#16866).
	* simple.el (deactivate-mark): Update region highlight.

1015 1016 1017 1018 1019
2014-03-19  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/package.el (describe-package-1):
	Decode commentary (bug#16733).

1020 1021 1022 1023 1024
2014-03-18  Juanma Barranquero  <lekktu@gmail.com>

	* custom.el (defcustom): Doc fix: recommend avoiding destructive
	modification of the value argument of :set (bug#16755).

1025 1026 1027 1028
2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (newline-and-indent): Do autofill (bug#17031).

1029 1030 1031 1032 1033 1034 1035 1036 1037
2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>

	* newcomment.el (comment-normalize-vars): Only add escaping check
	to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
	(comment-beginning): Use `narrow-to-region' instead of moving back
	one character.
	(http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
	(comment-start-skip): Update the docstring.

1038 1039 1040 1041
2014-03-18  Richard Stallman  <rms@gnu.org>

	* dired.el (dired-display-file): Force use of other window.

1042 1043 1044 1045 1046
2014-03-18  Daniel Colascione  <dancol@dancol.org>

	* startup.el (tty-handle-args): Remove debug message from 2007.

2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1047 1048 1049 1050 1051 1052

	* emacs-lisp/nadvice.el (advice--interactive-form): New function.
	(advice--make-interactive-form): Use it to avoid (auto)loading function.
	(advice--make-1, advice-add, advice-remove):
	Remove braindead :advice-pending hack.

1053 1054 1055 1056 1057
2014-03-17  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el (calendar-generate-month): Apply weekend
	face to the right days; fixes 2013-08-06 change.  (Bug#17028)

1058 1059 1060 1061 1062 1063 1064 1065
2014-03-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-action-out-of-band): Read pending output.
	(tramp-call-process): Trace also DESTINATION.

	* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
	Quote file names when they are local.  Remove superfluous trace.

Dmitry Gutov's avatar
Dmitry Gutov committed
1066 1067
2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>

1068 1069 1070
	* newcomment.el (comment-beginning): If `comment-start-skip'
	doesn't match, move back one char and try again.  (Bug#16971)

1071 1072
	* emacs-lisp/lisp-mode.el (lisp-mode-variables):
	Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
Dmitry Gutov's avatar
Dmitry Gutov committed
1073 1074 1075 1076 1077 1078
	Set `comment-start-skip' to a simpler value that doesn't try to
	check if the semicolon is escaped (this is handled by
	`syntax-ppss' now).  (Bug#16971)

	* progmodes/scheme.el (scheme-mode-variables): Same.

1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095
2014-03-16  Martin Rudalics  <rudalics@gmx.at>

	Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
	* window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
	current (Bug#16816, Bug#17007).
	(with-current-buffer-window): New macro doing the same as
	`with-temp-buffer-window' but with BUFFER-OR-NAME current.
	* help.el (help-print-return-message): Warn in doc-string to not
	use this in `with-help-window'.
	(describe-bindings-internal): Call `describe-buffer-bindings'
	from within help buffer.  See Juanma's scenario in (Bug#16816).
	(with-help-window): Update doc-string.
	* dired.el (dired-mark-pop-up):
	* files.el (save-buffers-kill-emacs):
	* register.el (register-preview): Use `with-current-buffer-window'
	instead of `with-temp-buffer-window'.

1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114
2014-03-16  Juanma Barranquero  <lekktu@gmail.com>

	* textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
	Implement inserting into current buffer, documented in their docstrings.
	(rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
	(rst-section-tree-point, rst-forward-section, rst-indent)
	(rst-compute-tabs, rst-font-lock-find-unindented-line-end)
	(rst-font-lock-find-unindented-line-limit, rst-adornment-level)
	(rst-font-lock-handle-adornment-pre-match-form)
	(rst-repeat-last-character): Reflow docstrings.
	(rst-preferred-adornments, rst-update-section, rst-find-title-line)
	(rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
	(rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
	(rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
	Fix docstring typos.
	(rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
	(rst-uncomment-region, rst-font-lock-find-unindented-line-match)
	(rst-font-lock-handle-adornment-matcher): Mark unused arguments.

1115 1116
2014-03-15  Juanma Barranquero  <lekktu@gmail.com>

1117 1118 1119 1120 1121 1122
	* term/ns-win.el (x-command-line-resources): Rename from ns-... version,
	for compatibility with other ports.
	(ns-initialize-window-system): Use it.  It is set in term/common-win.el
	from the -xrm command line argument, but in the Nextstep port its value
	is irrelevant because nsfns.m:Fx_open_connection ignores it for now.

1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148
	* progmodes/python.el (defconst, python-syntax-count-quotes)
	(python-indent-region, python-indent-shift-right)
	(python-indent-dedent-line-backspace, python-nav-backward-sexp)
	(python-nav-backward-sexp-safe, python-nav-backward-up-list)
	(python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
	(python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
	(inferior-python-mode, python-shell-make-comint, run-python-internal)
	(python-shell-buffer-substring, python-shell-send-buffer)
	(python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
	(python-completion-complete-at-point, python-fill-docstring-style)
	(python-eldoc-function, python-imenu-format-item-label)
	(python-imenu-format-parent-item-label)
	(python-imenu-format-parent-item-jump-label)
	(python-imenu--build-tree, python-imenu-create-index)
	(python-imenu-create-flat-index): Fix docstring typos.
	(python-indent-context, python-shell-prompt-regexp, run-python):
	Remove superfluous backslashes.
	(python-indent-line, python-nav-beginning-of-defun)
	(python-shell-get-buffer, python-shell-get-process)
	(python-info-current-defun, python-info-current-line-comment-p)
	(python-info-current-line-empty-p, python-util-popn): Doc fixes.
	(python-indent-post-self-insert-function, python-shell-send-file)
	(python-shell-completion-get-completions)
	(python-shell-completion-complete-or-indent)
	(python-eldoc--get-doc-at-point): Reflow docstrings.

1149 1150
2014-03-14  Glenn Morris  <rgm@gnu.org>

1151 1152 1153
	* emacs-lisp/package.el (package-menu-mode-map):
	Replace use of obsolete function alias.  Tweak menu item text.

1154 1155 1156
	* info.el (Info-finder-find-node):
	Ignore the `emacs' metapackage.  (Bug#10813)

1157 1158 1159
	* finder.el (finder-list-matches): Include unversioned packages
	in the result of a keyword search.

1160 1161 1162
	* finder.el (finder--builtins-descriptions): New constant.
	(finder-compile-keywords): Use finder--builtins-descriptions.

1163 1164 1165 1166 1167 1168
2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>

	* simple.el (blink-matching-paren): Describe the new value,
	`jump', enabling the old behavior.
	(blink-matching-open): Use that value.  (Bug#17008)

1169 1170
2014-03-14  Glenn Morris  <rgm@gnu.org>

1171 1172 1173 1174 1175 1176
	* finder.el (finder-no-scan-regexp): Add leim-list.
	(finder-compile-keywords):
	Don't skip files with same basename.  (Bug#14010)
	* Makefile.in (setwins_finder): New, excluding leim.
	(finder-data): Use setwins_finder.

1177 1178 1179 1180 1181 1182
	* help-fns.el (help-split-fundoc, help-add-fundoc-usage)
	(help-function-arglist, help-make-usage): Move from here...
	* help.el (help-split-fundoc, help-add-fundoc-usage)
	(help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
	* emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.

1183 1184 1185
2014-03-14  Juanma Barranquero  <lekktu@gmail.com>

	* net/socks.el (socks, socks-override-functions)
1186
	(socks-find-services-entry):
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204
	* progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
	(hif-find-ifdef-block):
	* progmodes/modula2.el (m2-indent): Fix docstring typos.

	* net/tls.el (tls-program): Reflow docstring.

	* progmodes/pascal.el (pascal-mode-abbrev-table)
	(pascal-imenu-generic-expression, pascal-auto-endcomments)
	(pascal-mark-defun, pascal-comment-area, pascal-indent-level)
	(pascal-outline-mode): Fix docstring typos.
	(pascal-mode): Let define-derived-mode document mode hook.
	(pascal-uncomment-area): Reflow.
	(pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.

	* progmodes/opascal.el (opascal-compound-block-indent)
	(opascal-case-label-indent): Fix docstring typos.
	(opascal-mode): Fix typos; let defined-derived-mode document mode hook.

1205 1206
2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>

1207 1208
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	Fontify multiple adjacent negation chars.  (Bug#17004)
1209

1210 1211 1212 1213 1214
2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)

	* emacs-lisp/package.el (package--prepare-dependencies):
	Accept requirements without explicit version (bug#14941).

1215 1216
2014-03-12  Juanma Barranquero  <lekktu@gmail.com>

1217 1218 1219
	* register.el (register-separator, copy-to-register): Doc fixes.
	(register-preview-default): Remove unnecessary call to concat.

1220 1221 1222
	* frameset.el (frameset-restore): When checking for a visible frame,
	use the action map instead of calling visible-frame-list.

1223 1224 1225 1226
2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>

	* emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).

1227 1228 1229 1230 1231
2014-03-12  Martin Rudalics  <rudalics@gmx.at>

	* window.el (fit-frame-to-buffer): Get maximum width from
	display's width instead of height.

1232 1233
2014-03-12  Glenn Morris  <rgm@gnu.org>

1234 1235 1236 1237
	* desktop.el (desktop-restore-frames)
	(desktop-restore-in-current-display, desktop-restore-forces-onscreen)
	(desktop-restore-reuses-frames): Doc tweaks.

1238 1239
	* electric.el (electric-indent-mode): Doc fix.

1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262
2014-03-12  Juanma Barranquero  <lekktu@gmail.com>

	* vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
	(cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
	(cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
	(cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
	(cvs-dired-use-hook): Fix docstring typos.
	(cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
	Doc fixes.

	* vc/pcvs-defs.el (cvs-auto-remove-handled)
	(cvs-auto-remove-directories, cvs-default-ignore-marks)
	(cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
	(cvs-execute-single-dir): Fix docstring typos.

	* vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
	(cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.

	* vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.

	* vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
	Fix docstring typos.

1263 1264 1265 1266 1267
2014-03-12  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset--jump-to-register): Add autoload; it could be
	called from jump-to-register after unloading the frameset package.

1268 1269 1270 1271 1272 1273
2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (set-mark): Ensure mark-active is nil if the mark is nil
	(bug#16975).  Deactivate the mark before setting it to nil.
	(activate-mark): Do nothing if region is already active.

1274 1275 1276 1277 1278
2014-03-11  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset--target-display): Remove definition; declare.
	(frameset-save, frameset-restore): Let-bind frameset--target-display.

1279 1280 1281 1282 1283 1284 1285
2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
	(advice-add): Add a :advice--pending marker, so advice--make-1 knows
	when the advice is pending.
	(advice-remove): Remove this marker when not needed any more.

1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301
2014-03-11  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el: Separate options for reusing frames and cleaning up.
	(frameset--reuse-list): Remove definition; declare.
	(frameset--action-map): Declare.
	(frameset--find-frame-if): Doc fix.
	(frameset--restore-frame): Cache frame action.
	(frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
	how to clean up the frame list after restoring.  Remove cleaning
	options from REUSE-FRAMES.  Change all keyword values to symbols.
	(frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.

	* desktop.el (desktop-restore-forces-onscreen)
	(desktop-restore-reuses-frames): Use non-keyword values.
	(desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.

1302 1303
2014-03-10  Glenn Morris  <rgm@gnu.org>

1304 1305
	* files.el (find-file): Doc fix: update info node name.

1306 1307 1308
	* emacs-lisp/advice.el (ad-add-advice, defadvice):
	Doc fix: remove references to deleted info nodes.

1309 1310 1311 1312 1313 1314 1315
2014-03-10  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
	Do not add `nil' to the environment, when there's no remote `locale'.
	(tramp-find-inline-encoding): Check, that the remote host has
	installed perl, before sending scripts.

1316 1317
2014-03-10  Leo Liu  <sdl.web@gmail.com>

1318 1319
	* emacs-lisp/eldoc.el (eldoc-minibuffer-message):
	Clear eldoc-last-message.  (Bug#16920)
1320

1321 1322 1323 1324 1325
2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* desktop.el (desktop-create-buffer): Don't run activate-mark-hook
	(bug#14430).

1326 1327 1328 1329 1330
2014-03-09  Juri Linkov  <juri@jurta.org>

	* ansi-color.el (ansi-color-names-vector): Copy default colors
	from `xterm-standard-colors' that look well on the default white
	background (and also on the black background) to avoid illegible
1331
	color combinations like yellow-on-white and white-on-white.
1332 1333
	http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html

1334 1335 1336 1337 1338
2014-03-08  Juanma Barranquero  <lekktu@gmail.com>

	* frameset.el (frameset-restore): When no frame is visible, do not
	generate a list of frames, just make visible the selected one.

Dmitry Gutov's avatar
Dmitry Gutov committed
1339 1340 1341 1342 1343
2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
	it only contains the repository root.  (Bug#16897)