ChangeLog 582 KB
Newer Older
1 2 3 4 5
2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>

	* term/xterm.el (xterm-function-map): Add mapping for shifted
	keypad keys.

Daniel Colascione's avatar
Daniel Colascione committed
6 7
2014-05-24  Daniel Colascione  <dancol@dancol.org>

Daniel Colascione's avatar
Daniel Colascione committed
8 9 10
	* progmodes/subword.el (subword-find-word-boundary): Move point to
	correct spot before search. (Bug#17580)

Daniel Colascione's avatar
Daniel Colascione committed
11 12 13
	* emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
	breaking the build.

14 15 16 17
2014-05-24  Leo Liu  <sdl.web@gmail.com>

	* calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)

18 19 20 21 22 23
2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion--sreverse): Remove.
	(completion--common-suffix): Use `reverse' instead.
	* emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.

24 25 26 27
2014-05-22  Glenn Morris  <rgm@gnu.org>

	* shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.

28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
2014-05-21  Daniel Colascione  <dancol@dancol.org>

	* files.el (interpreter-mode-alist): Add mksh.

	* progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
	derivative.
	(sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
	mksh. Improve custom spec; allow regular expressions.
	(sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
	(sh-after-hack-local-variables): New function.
	(sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
	(sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
	the normalization.
	(sh-canonicalize-shell): Rewrite to support regexes.

43 44 45 46
2014-05-21  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/cl-lib.el (cl-endp): Fix last change.

47 48 49 50
2014-05-19  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.

51 52 53 54 55
2014-05-18  Glenn Morris  <rgm@gnu.org>

	* loadup.el:
	* play/gametree.el: `track-mouse' is always defined since 2012-11-24.

Sam Steingold's avatar
Sam Steingold committed
56 57 58 59 60 61
2014-05-14  Sam Steingold  <sds@gnu.org>

	* progmodes/python.el (python-shell-get-or-create-process):
	Do not bind `current-prefix-arg' so that C-c C-z does not talk
	back unless requested.

62 63
2014-05-14  Glenn Morris  <rgm@gnu.org>

64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
	* subr.el (with-file-modes): New macro.
	* printing.el (pr-save-file-modes): Make obsolete.
	* eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
	* emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
	Add with-file-modes.
	* doc-view.el (doc-view-make-safe-dir):
	* epg.el (epg--start):
	* files.el (locate-user-emacs-file, make-temp-file)
	(backup-buffer-copy, move-file-to-trash):
	* printing.el (pr-despool-print, pr-call-process, pr-text2ps):
	* eshell/esh-util.el (eshell-with-private-file-modes)
	(eshell-make-private-directory):
	* net/browse-url.el (browse-url-mosaic):
	* obsolete/mailpost.el (post-mail-send-it):
	* obsolete/pgg-pgp.el (pgg-pgp-verify-region):
	* obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
	Use with-file-modes.

82 83
	* vc/emerge.el (emerge-make-temp-file): Simplify.

84 85 86 87 88 89
2014-05-14  Stephen Berman <stephen.berman@gmx.net>
            Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-pcm--merge-try): Merge trailing / with
	suffix (bug#15419).

90 91 92 93 94 95
2014-05-14  Glenn Morris  <rgm@gnu.org>

	* vc/emerge.el (emerge-temp-file-prefix):
	Make pointless option obsolete.
	(emerge-temp-file-mode): Make non-functional option obsolete.

96
2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
97 98 99 100 101

	* net/browse-url.el (browse-url):
	Use `unhandled-file-name-directory' when setting `default-directory',
	in order to circumvent stalled remote connections.  (Bug#17425)

102 103 104 105 106
2014-05-14  Glenn Morris  <rgm@gnu.org>

	* printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
	Optimize on Emacs, which has the relevant functions for ages.

107 108 109 110
2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (undo-make-selective-list): Obey undo-no-redo.

111 112 113 114 115
2014-05-12  Sam Steingold  <sds@gnu.org>

	* calendar/time-date.el (seconds-to-string): New function to
	pretty print time delay in seconds.

116 117
2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>

118 119 120
	* mpc.el (mpc-format): Trim Date to the year.
	(mpc-songs-hashcons): Shorten the Date field.

121 122 123
	* emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
	into autoloading just because of a silly indirection.

124
2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>  (tiny change)
125 126 127

	* vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)

128
2014-05-12  Glenn Morris  <rgm@gnu.org>
129 130 131

	* emacs-lisp/find-gc.el: Move to ../admin.

132 133 134
	* printing.el (pr-version):
	* ps-print.el (ps-print-version): Also mention bug-gnu-emacs.

135 136 137
	* net/browse-url.el (browse-url-mosaic):
	Create /tmp/Mosaic.PID as a private file.

138
2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
139 140 141 142 143 144 145 146 147

	* emacs-lisp/nadvice.el: Support adding a given function multiple times.
	(advice--member-p): If name is given, only compare the name.
	(advice--remove-function): Don't stop at the first match.
	(advice--normalize-place): New function.
	(add-function, remove-function): Use it.
	(advice--add-function): Pass the name, if any, to
	advice--remove-function.

148
2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
149 150 151 152

	* electric.el (electric-indent-post-self-insert-function): Don't use
	`pos' after modifying the buffer (bug#17449).

153
2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
154 155 156 157

	* calendar/todo-mode.el (todo-insert-item-from-calendar):
	Correct argument list to conform to todo-insert-item--basic.

158
2014-05-12  Glenn Morris  <rgm@gnu.org>
159

160 161 162
	* files.el (cd-absolute): Test if directory is accessible
	rather than executable.  (Bug#17330)

163 164 165
	* progmodes/compile.el (recompile):
	Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)

166 167 168 169
	* net/browse-url.el (browse-url-mosaic):
	Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
	This is CVE-2014-3423.

170 171
2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>

172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
	* mouse.el: Use the normal toplevel loop while dragging.
	(mouse-set-point): Handle multi-clicks.
	(mouse-set-region): Handle multi-clicks for drags.
	(mouse-drag-region): Update call accordingly.
	(mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
	Use the normal event loop instead of a local while/read-event loop.
	(global-map): Remove redundant bindings for double/triple-mouse-1.
	* xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
	Generate synthetic down events when the protocol only sends up events.
	(xterm-mouse-last): Remove.
	(xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
	terminal parameter instead.
	(xterm-mouse--set-click-count): New function.
	(xterm-mouse-event): Detect/generate double/triple clicks.
	* reveal.el (reveal-close-old-overlays): Don't close while dragging.

188 189 190 191
	* info.el (Info-quoted): New face.
	(Info-mode-font-lock-keywords): New var.
	(Info-mode): Use it.

192 193 194
	* emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
	are a hindrance for C-x C-e.

195 196 197 198
2014-05-11  Leo Liu  <sdl.web@gmail.com>

	* net/rcirc.el (rcirc-sentinel): Fix last change.

199 200 201 202 203 204 205
2014-05-08  Sam Steingold  <sds@gnu.org>

	* net/rcirc.el (rcirc-reconnect-delay): New user option.
	(rcirc-sentinel): Auto-reconnect to the server if
	`rcirc-reconnect-delay' is non-0 (but not more often than its
	value in case the host is off-line).

206 207 208 209
2014-05-09  Eli Zaretskii  <eliz@gnu.org>

	* progmodes/grep.el (lgrep): Fix a typo in last commit.

210 211 212 213 214 215 216 217 218 219
2014-05-09  Glenn Morris  <rgm@gnu.org>

	* files.el (file-expand-wildcards):
	* man.el (Man-support-local-filenames):
	* printing.el (pr-i-directory, pr-interface-directory):
	* progmodes/grep.el (lgrep, rgrep):
	* textmodes/ispell.el (ispell-call-process)
	(ispell-call-process-region, ispell-start-process)
	(ispell-init-process): Use file-accessible-directory-p.

220 221 222 223 224 225 226 227
2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
	(xterm-mouse--read-event-sequence-1000): Return nil if something
	looks fishy.
	(xterm-mouse-event): Propagate it.
	(xterm-mouse-translate-1): Handle it.

228
2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
229 230 231 232 233

	* calendar/todo-mode.el (todo-insert-item--apply-args): When all
	four slots of the parameter list are filled, make sure to pass it
	to the argument list of todo-insert-item--basic.

234
2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
235 236 237 238

	* emacs-lisp/package.el (package-compute-transaction): Topological sort.
	Add optional `seen' argument to detect and break infinite loops.

239
2014-05-08  Eli Zaretskii  <eliz@gnu.org>
240 241 242 243 244

	* emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
	(trace-unsafe, trace-use-tree): Make parentheses style be
	according to Emacs style.

245
2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
Michael Albinus's avatar
Michael Albinus committed
246

247 248 249 250 251
	* net/tramp-sh.el (tramp-remote-process-environment):
	Remove HISTFILE and HISTSIZE; it's too late to set them here.
	Add :version entry.
	(tramp-open-shell): Do not let-bind `tramp-end-of-output'.
	Add "HISTSIZE=/dev/null" to the shell's env arguments.  Do not send
Michael Albinus's avatar
Michael Albinus committed
252 253 254 255
	extra "PSx=..." commands.
	(tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
	(Bug#17295)

Michael Albinus's avatar
Michael Albinus committed
256 257 258 259 260
	(tramp-uudecode): Replace the hard-coded temporary file name by a
	format specifier.
	(tramp-remote-coding-commands): Enhance docstring.
	(tramp-find-inline-encoding): Replace "%t" by a temporary file
	name.  (Bug#17415)
261
	This is CVE-2014-3424.
Michael Albinus's avatar
Michael Albinus committed
262

263
2014-05-08  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
264 265 266 267 268

	* emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
	(find-gc-source-files): Update some names.
	(trace-call-tree): Simplify and update.
	Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
269
	This is CVE-2014-3422.
Glenn Morris's avatar
Glenn Morris committed
270

271
2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
272

273 274 275
	* minibuffer.el (completion--try-word-completion): Revert fix for
	Bug#15980 (bug#17375).

276 277 278 279 280
	* xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
	Always store button numbers in the same way in xterm-mouse-last;
	Don't burp is xterm-mouse-last is not set as expected.
	Never return negative indices.

281
2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
282 283 284 285 286 287

	* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
	Backtrack one char if the global/char-literal var matcher hits
	inside a string.  The next char could be the beginning of an
	expression expansion.

288
2014-05-08  Glenn Morris  <rgm@gnu.org>
289 290 291 292

	* help-fns.el (describe-function-1): Test for an autoload before a
	macro, since `macrop' works on autoloads.  (Bug#17410)

293
2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
294

295 296
	* electric.el (electric-indent-functions-without-reindent): Add yaml.

297 298 299
	* minibuffer.el (completion-table-with-quoting) <completion--unquote>:
	Make sure the new point we return is within the new string (bug#17239).

300 301 302 303 304
2014-05-05  Daniel Colascione  <dancol@dancol.org>

	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Port `gnu' pattern to rx.

305 306 307 308 309 310 311
2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>

	Remove unneeded prompt when closing a buffer with active
	emacsclient ("Buffer ... still has clients"), #16548.
	* server.el (server-start): Remove the only call to:
	(server-kill-buffer-query-function): Remove.

Leo Liu's avatar
Leo Liu committed
312 313 314 315 316
2014-05-04  Leo Liu  <sdl.web@gmail.com>

	* calendar/diary-lib.el (calendar-chinese-month-name-array):
	Defvar to pacify compiler.

317
2014-05-04  Eli Zaretskii  <eliz@gnu.org>
Eli Zaretskii's avatar
Eli Zaretskii committed
318 319 320

	* mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.

321
2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
322 323 324 325 326 327 328 329 330

	* vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
	Use nil rather than `default' for the "default" appearance (bug#17388).
	* vc/ediff-util.el (ediff-inferior-compare-regions)
	(ediff-toggle-autorefine, ediff-unselect-difference): Don't use
	a misleading `default' value when it's really a boolean.
	* vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
	overlay is not visible.

331
2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
Stephen Berman's avatar
Stephen Berman committed
332 333 334 335

	* calendar/todo-mode.el (todo-edit-file): Use display-warning.
	(todo-menu): Uncomment and update.

336
2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385

	* calendar/todo-mode.el: Reimplement item editing to have the same
	basic user interface as item insertion, and make small UI and
	larger internal improvements to the latter.
	(todo-insert-item): Add reference to the Todo mode user manual to
	the documentation string.
	(todo-insert-item--basic): Rename from todo-basic-insert-item and
	adjust all callers.  Change signature to combine diary and
	nonmarking arguments.  Incorporate functionality of deleted item
	copying command and add error checking.  Remove detailed
	descriptions of the arguments from the documentation string, since
	this is treated in the Todo mode user manual.
	(todo-copy-item, todo-edit-multiline-item)
	(todo-edit-done-item-comment, todo-edit-item-header)
	(todo-edit-item-time, todo-edit-item-date-from-calendar)
	(todo-edit-item-date-to-today, todo-edit-item-date-day-name)
	(todo-edit-item-date-year, todo-edit-item-date-month)
	(todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
	Remove.
	(todo-edit-item): Reimplement as wrapper command for
	todo-edit-item--next-key and make it distinguish done and not done
	todo items.
	(todo-edit-item--text): New function, replacing old command
	todo-edit-item and incorporating deleted commands
	todo-edit-multiline-item and todo-edit-done-item-comment.
	(todo-edit-item--header): Rename from todo-basic-edit-item-header.
	Use only numeric value of prefix argument.  Remove detailed
	descriptions of the arguments from the documentation string, since
	this is treated in the Todo mode user manual.
	(todo-edit-item--diary-inclusion): New function, replacing old
	command todo-edit-item-diary-inclusion and incorporating and fixing
	functionality of deleted command todo-edit-item-diary-nonmarking,
	making sure to remove todo-nondiary-marker when adding
	diary-nonmarking-symbol.
	(todo-edit-category-diary-inclusion): Make sure to delete
	diary-nonmarking-symbol when adding todo-nondiary-marker.
	(todo-edit-category-diary-nonmarking): Fix indentation.
	(todo-insert-item--parameters): Group diary and nonmarking
	parameters together.
	(todo-insert-item--apply-args): Adjust to signature of
	todo-insert-item--basic and incorporate copy parameter.
	Make small code improvements.
	(todo-insert-item--next-param): Improve prompt and adjust it to
	new parameter grouping.  Remove obsolete code.
	(todo-edit-item--param-key-alist)
	(todo-edit-item--date-param-key-alist)
	(todo-edit-done-item--param-key-alist): New defconsts.
	(todo-edit-item--prompt): New variable.
	(todo-edit-item--next-key): New function.
386 387
	(todo-key-bindings-t): Bind "e" to todo-edit-item.
	Remove bindings of deleted commands.
388

389
2014-05-04  Leo Liu  <sdl.web@gmail.com>
390 391 392

	* emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.

393
2014-05-04  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
394 395 396 397 398 399 400 401 402 403 404 405 406

	* allout-widgets.el (allout-widgets-tally)
	(allout-decorate-item-guides):
	* menu-bar.el (menu-bar-positive-p):
	* minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
	* progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
	* progmodes/js.el (js--inside-param-list-p)
	(js--inside-dojo-class-list-p, js--forward-destructuring-spec):
	* progmodes/prolog.el (region-exists-p):
	* progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
	* textmodes/reftex-parse.el (reftex-using-biblatex-p):
	Doc fixes (replace `iff').

407
2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
408 409 410

	* mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.

411 412 413 414 415 416 417 418 419 420 421 422 423 424 425
2014-05-04  Leo Liu  <sdl.web@gmail.com>

	Support Chinese diary entries in calendar and diary.  (Bug#17393)
	* calendar/cal-china.el (calendar-chinese-month-name-array): New var.
	(calendar-chinese-from-absolute-for-diary)
	(calendar-chinese-to-absolute-for-diary)
	(calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
	(diary-chinese-list-entries): New functions to list and mark
	Chinese diary entries in the calendar window.
	(diary-chinese-anniversary)
	(diary-chinese-insert-anniversary-entry)
	(diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
	(diary-chinese-insert-yearly-entry): New commands to insert
	Chinese diary entries.

426 427
	* calendar/diary-lib.el (diary-font-lock-keywords):
	Support font-locking Chinese dates.
428 429 430 431

	* calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
	inserting Chinese diary entries.

432 433
	* calendar/calendar.el (diary-chinese-entry-symbol):
	New customizable variable.
434 435 436
	(calendar-mode-map): Add bindings for inserting Chinese diary
	entries.

437 438 439 440 441 442 443 444 445
2014-05-03  Juri Linkov  <juri@jurta.org>

	* dired.el (dired-check-switches, dired-switches-recursive-p):
	New functions.  (Bug#17218)
	(dired-switches-escape-p, dired-move-to-end-of-filename):
	Use `dired-check-switches'.
	(dired-insert-old-subdirs, dired-build-subdir-alist)
	(dired-sort-R-check): Use `dired-switches-recursive-p'.

446 447
2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>

448 449 450 451
	* simple.el (undo-make-selective-list): New algorithm fixes
	incorrectness of position adjustments when undoing in region.
	(Bug#17235)
	(undo-elt-crosses-region): Make obsolete.
452 453
	(undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
	New functions to adjust positions using undo-deltas.
454

455 456 457 458 459
2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
	the last consecutive closing paren (bug#17345).

460 461 462 463 464
2014-04-30  Reuben Thomas  <rrt@sc3d.org>

	* dired.el (dired-mode): make terminology for eXpunge command
	consistent.  (Bug#17276)

465 466 467 468 469
2014-04-30  Eli Zaretskii  <eliz@gnu.org>

	* dired.el (dired-initial-position-hook, dired-initial-position):
	Doc string fixes.

470
2014-04-30  Glenn Morris  <rgm@gnu.org>
471 472 473

	* mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)

474
2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
475 476

	* faces.el (face-spec-recalc): Apply X resources only after the
477
	defface spec has been applied. Thus, X resources are no longer
478 479 480 481
	overriden by the defface spec which also fixes issues on win32 where
	the toolbar coloring was wrong because it is set through X resources
	and was (wrongfully) overriden.  (Bug#16694)

482
2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
483 484 485 486

	* textmodes/rst.el (electric-pair-pairs): Declare.
	(rst-mode): Set it (bug#17131).

487
2014-04-30  Juri Linkov  <juri@jurta.org>
488 489 490 491

	* desktop.el (desktop-value-to-string): Let-bind `print-length'
	and `print-level' to nil.  (Bug#17351)

492
2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
493 494 495 496

	* battery.el (battery-update): Handle the case where battery
	status is "N/A" (bug#17319).

497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519
2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
	to syntax-propertize.
	(ps-mode-auto-indent): Mark as obsolete.
	(ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
	(ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
	word regexp operators.
	(ps-mode-map): Move initialization into declaration.  Remove binding
	for TAB, RET, >, ], and }.
	(ps-mode-syntax-table): Move initialization into declaration.
	Don't give word syntax to non-word chars.
	(ps-run-mode-map): Move initialization into declaration.
	(ps-mode-menu-main): Remove auto-indent entry.
	(ps-mode-smie-rules): New function.
	(ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
	(ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
	(ps-mode--string-syntax-table): New const.
	(ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
	New functions.
	(ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
	(ps-mode-r-gt, ps-mode-r-balance): Remove functions.

520 521 522 523 524
2014-04-27  Daniel Colascione  <dancol@dancol.org>

	* term/xterm.el (xterm-paste): Use large finite timeout when
	reading event to avoid putting keys in this-command-keys.

525 526 527 528 529 530
2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
	(perl-syntax-propertize-function): Use it.  Extend handling of
	here-docs to the unquoted case.

531
2014-04-25  Eli Zaretskii  <eliz@gnu.org>
532

533 534
	* tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
	Use equal-including-properties to compare help-echo strings (bug#17331).
535

536
2014-04-25  Leo Liu  <sdl.web@gmail.com>
537 538 539 540

	* emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
	Fix syntax for @.  (Bug#17325)

541
2014-04-25  Daniel Colascione  <dancol@dancol.org>
542 543 544 545

	* emacs-lisp/cl.el (gv): Require gv early to break eager
	macro-expansion cycles.

546
2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
547

548 549
	* simple.el (region-active-p): Check there's a mark (bug#17324).

550 551 552 553 554 555 556 557 558
	* simple.el (completion-list-mode-map): Use choose-completion for the
	mouse binding as well (bug#17302).
	(completion-list-mode, completion-setup-function): Adjust docstring and
	echo area message accordingly.
	* progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
	calling convention of choose-completion.
	* comint.el (comint-dynamic-list-completions):
	* term.el (term-dynamic-list-completions): Accept choose-completion.

559 560 561
	* progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
	&, |, +, - and * can't be a division (bug#17317).

562 563 564
	* term/xterm.el (xterm--version-handler): Don't use modern xterm
	features on gnome-terminal (bug#16988).

565 566 567 568 569 570 571
2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>

	Improve Scheme font-locking for (define ((foo ...) ...) ...).

	* progmodes/scheme.el (scheme-font-lock-keywords-1): To find
	the declared object, ignore zero or more parens, not zero or one.

572 573 574 575 576 577 578 579 580 581 582
2014-04-24  Leo Liu  <sdl.web@gmail.com>

	* progmodes/xscheme.el (xscheme-expressions-ring)
	(xscheme-expressions-ring-yank-pointer, xscheme-running-p)
	(xscheme-control-g-disabled-p, xscheme-process-filter-state)
	(xscheme-allow-output-p, xscheme-prompt)
	(xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.

	* progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
	Comment out unused functions.

583 584 585 586 587 588 589
2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* info.el: Use lexical-binding and cl-lib.
	Use defvar-local and setq-local instead	of make-local-variable.
	(Info-apropos-matches): Avoid add-to-list.
	(Info-edit-mode-map): Fix obsolescence call to Info-edit-map.

590 591 592 593
2014-04-24  Daniel Colascione  <dancol@dancol.org>

	* progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.

594 595 596 597
2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.

598 599 600 601 602 603
2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>

	* dired.el (dired-insert-set-properties): Do not consider
	subdirectory headings and empty lines to be information that
	`dired-hide-details-mode' should hide.  (Bug#17228)

604 605 606 607 608 609 610
2014-04-22  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
	Remove test messages.
	(tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
	and `target' twice.

611
2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
612

613 614 615
	* dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
	* speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.

616 617
	* emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.

618
2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
619

620 621
	* net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
	Set "IFS=" when using read builtin, in order to preserve spaces in
622 623 624
	the file name.  Add test messages for hunting a bug on hydra.
	(tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.

625
2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
626 627 628 629

	* progmodes/prog-mode.el (prettify-symbols--compose-symbol):
	Don't prettify a word within a symbol.

630
2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
631 632 633 634

	* net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
	possible.

635 636 637 638 639
2014-04-22  Daniel Colascione  <dancol@dancol.org>

	* emacs-lisp/byte-run.el (function-put): Unbreak build: don't
	use defun to define `function-put'.

640 641
2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>

642 643 644 645
	* 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.

646 647 648 649 650 651
	* 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.

652 653
2014-04-22  Daniel Colascione  <dancol@dancol.org>

654 655
	* emacs-lisp/macroexp.el (internal-macroexpand-for-load):
	Add `full-p' parameter; when nil, call `macroexpand' instead of
656 657 658 659 660
	`macroexpand-all'.

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

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

665
	* emacs-lisp/cl-macs.el
Daniel Colascione's avatar
Daniel Colascione committed
666
	(cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
667 668 669
	(cl-struct-slot-value): Conditionally use aref or nth so that the
	compiler produces optimal code.

670 671 672 673 674 675 676 677 678 679 680 681
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.

682 683 684 685 686 687 688 689 690
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>
691 692 693 694

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

695 696
2014-04-21  Daniel Colascione  <dancol@dancol.org>

697 698
	* emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
	(byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
699 700
	(byte-compile-toplevel-file-form): Use it.

701 702 703
	* emacs-lisp/cl-macs.el:
	(cl--loop-let): Properly destructure `while' clauses.

704 705 706 707 708
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.
709
	(vc-call-backend): Signal `vc-not-supported' instead of generic error.
710

Daniel Colascione's avatar
Daniel Colascione committed
711 712 713 714 715 716 717 718 719 720 721 722 723
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.

724 725 726 727 728
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).

729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745
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'.

746 747 748 749 750 751 752 753 754 755
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)
756 757
	(turn-off-xterm-mouse-tracking-on-terminal):
	Use tty-mode-set-strings and tty-mode-reset-strings terminal
758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774
	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.

775 776
	* term/screen.el: Rewrite to just use the xterm code.
	Add copyright notice.  Mention tmux.
777

778 779 780 781 782 783 784
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.

785 786 787 788 789
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
790 791
2014-04-16  Eli Zaretskii  <eliz@gnu.org>

792 793
	* 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
794

795
2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
796 797 798 799 800 801 802 803 804

	* 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'.

805
2014-04-16  João Távora  <joaotavora@gmail.com>
806 807 808 809

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

810
2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
811 812 813 814

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

815
2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
816 817 818 819 820

	* 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)

821
2014-04-16  João Távora  <joaotavora@gmail.com>
João Távora's avatar
João Távora committed
822 823 824 825

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

826
2014-04-16  Eli Zaretskii  <eliz@gnu.org>
827 828 829 830 831

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

832
2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
833 834 835 836 837

	* 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.

838
2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
839 840 841 842 843 844

	* 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.

845 846 847 848 849 850
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.

851 852 853 854
2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

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

855 856 857 858
2014-04-14  Juanma Barranquero  <lekktu@gmail.com>

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

859 860
2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>

861 862 863 864
	* progmodes/grep.el: Use lexical-binding.
	(grep-expand-template): Pass explicit lexical env to `eval'.
	(zrgrep): Let-bind grep-find-template explicitly.

865 866 867
	* emacs-lisp/cl-lib.el (current-case-table): Remove setter.
	* leim/quail/sisheng.el (sisheng-list): Use with-case-table.

868 869 870 871
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)
872
	Set category of Coptic characters be 'g' (Greek).
873

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

876 877 878 879 880
	* 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
881

882
2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
883 884 885 886

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

887
2014-04-12  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
888 889 890 891

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

892 893
2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>

894 895
	* faces.el (make-face): Remove deprecated optional argument.
	The conditional application of X resources is handled directly by
896 897 898
	make-face-x-resource-internal since Emacs 24.4.
	(make-empty-face): Don't pass optional argument to make-face.

899 900 901 902
2014-04-11  Glenn Morris  <rgm@gnu.org>

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

903
2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
904 905 906 907 908 909 910 911 912

	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.

913
2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
914 915 916 917

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

918
2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
919 920 921 922 923 924 925

	* 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.

926 927
2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>

928 929 930
	* emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
	Remove left-over code.

931 932 933 934
	* 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.

935 936 937 938 939 940 941 942
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
943 944 945 946 947 948 949 950 951 952
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.

953 954 955 956 957 958 959 960 961 962
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
963 964 965 966 967
2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>

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

968
2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
969 970 971 972

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

973 974 975 976 977
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.

978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001
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.

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

Glenn Morris's avatar
Glenn Morris committed
1004 1005
	* elec-pair.el (electric-pair--syntax-ppss):
	When inside comments parse from comment beginning.
1006 1007 1008 1009 1010 1011 1012
	(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
1013 1014 1015
	* 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.
1016 1017
	(electric-pair--in-unterminated-string-p): New function.

1018 1019 1020 1021 1022
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
1023
2014-04-07  João Távora  <joaotavora@gmail.com>
1024 1025 1026 1027 1028 1029 1030 1031 1032

	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
1033 1034
	* progmodes/python.el (python-electric-pair-string-delimiter):
	Fix triple-quoting electricity.  (Bug#17192)
1035

Glenn Morris's avatar
Glenn Morris committed
1036 1037
	* elec-pair.el (electric-pair-post-self-insert-function):
	Don't skip whitespace when `electric-pair-text-pairs' and
1038
	`electric-pair-pairs' were used. syntax to
1039
	electric-pair--skip-whitespace.  (Bug#17183)
1040

Glenn Morris's avatar
Glenn Morris committed
1041
2014-04-07  Eli Zaretskii  <eliz@gnu.org>
1042 1043 1044 1045

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

Glenn Morris's avatar
Glenn Morris committed
1046
2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1047 1048 1049 1050

	* 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
1051
2014-04-07  Glenn Morris  <rgm@gnu.org>
1052 1053 1054

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

Glenn Morris's avatar
Glenn Morris committed
1055
2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
1056 1057 1058 1059

	* 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)
1060 1061 1062 1063
	(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)
1064 1065
	(make-face-x-resource-internal): Do nothing when
	inhibit-x-resources is non-nil.  Don't touch the default face if
1066
	reversed video is given--as was done in previous versions of Emacs.
1067 1068
	(face-set-after-frame-default): Don't call
	make-face-x-resource-internal here.  (Bug#16434)
1069

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

1072 1073
	* 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
1074 1075
	buffer is shown in a window.  (bug#16090)

Glenn Morris's avatar
Glenn Morris committed
1076
2014-04-07  Eli Zaretskii  <eliz@gnu.org>
Eli Zaretskii's avatar
Eli Zaretskii committed
1077 1078 1079 1080 1081 1082

	* 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
1083
2014-04-07  Glenn Morris  <rgm@gnu.org>
1084 1085 1086 1087 1088

	* 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
1089
2014-04-07  Eli Zaretskii  <eliz@gnu.org>
1090 1091 1092

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

Glenn Morris's avatar
Glenn Morris committed
1093
2014-04-07  Glenn Morris  <rgm@gnu.org>
1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106

	* 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
1107
2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1108

Glenn Morris's avatar
Glenn Morris committed
1109 1110
	* progmodes/perl-mode.el (perl-syntax-propertize-function):
	Handle $' used as a variable (bug#17174).
1111 1112 1113

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

1117 1118 1119 1120
2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1121 1122
2014-04-05  Leo Liu  <sdl.web@gmail.com>

1123 1124
	* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
	Add define-compilation-mode.
1125

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

1128 1129
	* elec-pair.el (electric-pair--syntax-ppss): When inside comments
	parse from comment beginning.
1130 1131 1132 1133 1134
	(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
1135
	according to `electric-pair--in-unterminated-string-p'.
1136

1137 1138 1139 1140 1141 1142
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.

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

1145 1146
	* textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
	Use `window-total-width' instead of `window-width'.
1147

1148 1149 1150 1151 1152 1153
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.

1154 1155 1156 1157
2014-04-02  Richard Stallman  <rms@gnu.org>

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

1158 1159
2014-04-02  Glenn Morris  <rgm@gnu.org>

1160 1161 1162 1163
	* menu-bar.el (menu-bar-file-menu):
	* vc/ediff.el (ediff-current-file):
	Update for revert-buffer-function no longer being nil by default.

1164 1165
	* simple.el (command-execute): Respect nil disabled-command-function.

1166
2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1167 1168 1169 1170

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

1171
2014-04-02  Juri Linkov  <juri@jurta.org>
1172 1173 1174 1175

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

1176
2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1177 1178 1179 1180

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

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

1183 1184
	* elec-pair.el (electric-pair-inhibit-if-helps-balance):
	Inhibit quote pairing if point-max is inside an unterminated string.
1185 1186 1187 1188
	(electric-pair--looking-at-unterminated-string-p):
	Delete.
	(electric-pair--in-unterminated-string-p): New function.

1189 1190 1191 1192 1193
2014-04-01  Daniel Colascione  <dancol@dancol.org>

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

1194 1195
2014-03-31  Leo Liu  <sdl.web@gmail.com>

1196 1197
	* emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
	Refactor out eldoc-documentation-function-default.
1198 1199 1200
	(eldoc-documentation-function-default): New function.
	(eldoc-documentation-function): Change value.

1201 1202 1203 1204
2014-03-31  Glenn Morris  <rgm@gnu.org>

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

1205 1206 1207 1208
	* progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
	(vhdl-compose-components-package, vhdl-compose-configuration):
	Abbreviate default-directory (missing from some previous upstream sync).

1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224
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
1225 1226 1227 1228 1229
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.

1230 1231
2014-03-30  Daniel Colascione  <dancol@dancol.org>

1232 1233
	* comint.el (comint-send-input):
	Deactivate completion-in-region-mode before we send comint input.
1234 1235 1236 1237 1238
	(Bug#17139).

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

1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249
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.

1250 1251
2014-03-28  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1252 1253 1254 1255
	* cus-start.el (report-emacs-bug-address): Set custom properties.
	* mail/emacsbug.el (report-emacs-bug-address):
	Variable is now defined in emacs.c.

1256 1257 1258
	* mail/emacsbug.el (report-emacs-bug):
	Include system-configuration-features.

1259 1260 1261 1262
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
1263
	N spaces (the previous behavior).
1264 1265 1266
	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
1267
	`cycle-spacing' should not introduce any changes in behavior of
1268 1269 1270
	the binding so long as users do not type M-SPC twice in a raw with
	the same prefix argument or lack thereof.

1271 1272 1273 1274 1275 1276 1277 1278
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.