ChangeLog 821 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
2012-12-15  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
	`isearch-insert-char-by-name'.
	(with-isearch-suspended): New defmacro with body mostly from
	`isearch-edit-string' except the part that sets
	`isearch-new-string' and `isearch-new-message'.
	(isearch-edit-string): Use new macro `with-isearch-suspended' with
	body that sets `isearch-new-string' and `isearch-new-message'.
	(isearch-insert-char-by-name): New command.
	* international/mule-cmds.el (read-char-by-name): Let-bind
	`enable-recursive-minibuffers' to t.
	http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html

15 16 17 18 19
2012-12-15  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
	(Bug#13175)

20 21 22 23 24
2012-12-15  Christopher Schmidt  <christopher@ch.ristopher.com>

	* dired-x.el (dired-guess-shell-command): Put colon at the end of
	the prompt.  (Bug#13045)

25 26 27 28 29
2012-12-14  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/macroexp.el (macroexp--warn-and-return):
	Try to include filename in non-bytecomp warning.  (Bug#13132)

30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
2012-12-14  Paul Eggert  <eggert@cs.ucla.edu>

	Fix permissions bugs with setgid directories etc. (Bug#13125)
	* files.el (backup-buffer): Don't rely on 9th output of
	file-attributes, as it's now a placeholder.  Instead, use the new
	optional arg of file-ownership-preserved-p.
	(file-ownership-preserved-p): New optional arg GROUP.
	Fix mishandling of setuid directories that would cause this
	function to return t when it should have returned nil.
	Document what happens if the file does not exist, and when
	it's not known whether the ownership will be preserved.
	* net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
	Likewise.
	(tramp-get-local-gid): Use group-gid for integer, as that's
	faster and more reliable.

46 47 48 49 50
2012-12-14  Julien Danjou  <julien@danjou.info>

	* progmodes/sql.el (sql-mode-postgres-font-lock-keywords): Update
	keywords list, data type and PL/pgSQL.

51 52 53 54 55 56 57
2012-12-14  Dave Abrahams  <dave@boostpro.com>

	* vc/ediff-util.el (ediff-buffer-type): New function.
	(ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
	rather than taking it as as argument.
	(ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).

58 59 60 61 62 63 64 65 66 67 68
2012-12-14  Ryan Crum  <ryan.crum@eleostech.com>

	* json.el: Add pretty-print option (bug#12634).
	(json-encoding-separator, json-encoding-default-indentation)
	(json--encoding-current-indentation, json-encoding-pretty-print)
	(json-encoding-lisp-style-closings): New vars.
	(json--with-indentation): New macro.
	(json-encode-hash-table, json-encode-alist, json-encode-plist)
	(json-encode-array): Use it to obey json-encoding-pretty-print.
	(json-pretty-print-buffer, json-pretty-print): New commands.

69 70 71 72 73 74 75 76
2012-12-14  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
	Extract `ruby-syntax-propertize-expansions'.
	(ruby-syntax-propertize-expansions): Only change syntax on
	certain string delimiters, to punctuation.  This way the common
	functions like forward-word and thing-at-point still work.
	(ruby-match-expression-expansion): Improve readability.
77 78
	(ruby-block-contains-point): New function.
	(ruby-add-log-current-method): Handle several edge cases.
79

80 81 82 83 84 85
2012-12-13  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/edebug.el (edebug-unload-function): Make sure that
	unload-feature finishes even when aborting an ongoing edebug session.
	Also, do not worry about edebug-mode, unload-feature takes care of it.

86 87 88 89
2012-12-13  Andreas Schwab  <schwab@suse.de>

	* net/tls.el (tls-program): Update customize type.

90 91 92 93 94 95
2012-12-13  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/edebug.el (edebug--require-cl-read): New function.
	(edebug-setup-hook, cl-read-load-hooks): Use it.
	(edebug-unload-function): New function.  (Bug#13163)

96 97 98 99 100
2012-12-13  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
	Otherwise, there could be errors in autoloading.  (Bug#13151)

101 102 103 104 105
2012-12-13  Jürgen Hötzel  <juergen@archlinux.org>

	* net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
	sequences.

106
2012-12-13  Alan Mackenzie  <acm@muc.de>
107 108 109 110 111

	Make CC Mode not hang when _some_ lines end in CRLF.  Bug #11841.
	* progmodes/cc-engine.el (c-backward-comments): Add code to work
	around `forward-comment' not recognizing ^M as whitespace.

112
2012-12-13  Fabián Ezequiel Gallina  <fgallina@cuca>
113 114 115 116

	* progmodes/python.el (python-skeleton-class)
	(python-skeleton-def): Do not add space after defun name.

117 118 119 120 121
2012-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
	(cl--symbol-function): Remove (now that funbound is like nil).

122 123 124 125
2012-12-12  Glenn Morris  <rgm@gnu.org>

	* button.el (button--area-button-p): Fix typo.

126 127 128 129 130 131 132 133
2012-12-12  Sam Steingold  <sds@gnu.org>

	* frame.el (frame-maximization-style): New user option.
	(toggle-frame-maximized): Toggle frame maximization according to
	`frame-maximization-style', bound to <f11>.
	(cycle-frame-maximized): Cycle between all maximization styles and
	non-maximized frame, bound to shift-<f11>.

134 135 136 137
2012-12-12  David Cadé  <codename68@gmail.com>

	* mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).

138 139 140 141 142 143 144 145 146 147
2012-12-12  Jonas Bernoulli  <jonas@bernoul.li>

	* lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
	(eieio-override-prin1): Don't quote kewords and booleans.
	(object-write) <eieio-default-superclass>: Don't put closing parens
	on new line, avoid needless empty lines, align values that are objects
	with the slot keyword (instead of beginning on the same line).
	(eieio-list-prin1): Align value with slot keyword; increase
	eieio-print-depth before printing members of the list.

148 149
2012-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>

150 151 152 153
	* mail/emacsbug.el (report-emacs-bug): Move the intangible text to
	a display text-property.
	(report-emacs-bug-hook): Don't bother deleting it any more.

154 155 156 157
	* hilit-chg.el (highlight-save-buffer-state): Delete.
	Use with-silent-modifications instead.
	(hilit-chg-set-face-on-change): Only fixup the text that's modified.

158 159 160 161
	* button.el: Handle buttons in display text-properties.
	(button--area-button-p, button--area-button-string):
	Use (STRING . STRING-POS) representation instead of just STRING.

162 163 164 165 166
2012-12-11  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (compile4-SH): Fix a typo that caused term
	subdirectory be skipped.

167 168
2012-12-11  Glenn Morris  <rgm@gnu.org>

169 170
	* net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.

171 172 173 174
	* progmodes/f90.el (f90-line-continued, f90-indent-region):
	Treat preprocessor lines embedded in continuations like comments.
	(f90-indent-line): Special-case preprocessor lines.  (Bug#13138)

175 176 177 178 179 180 181 182 183
2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-standard-date-formats):  Add more date
	formats.
	* calc/calc-forms.el (math-parse-iso-date): New function.
	(math-parse-date): Use `math-parse-iso-date' when appropriate.
	(math-parse-iso-date-validate): Add extra error checking.
	(calc-date-notation): Add ability to access new date formats.

184 185 186 187 188
2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
	font-lock as well as when there's no text-property.

189 190 191 192 193 194 195 196 197 198 199 200 201
2012-12-10  Jambunathan K  <kjambunathan@gmail.com>

	* hi-lock.el: Refine the choice of default face.
	(hi-lock-keyword->face): New function.  Use it wherever we used
	cadadadr instead.
	(hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
	(hi-lock--last-face): Remove var.
	(hi-lock--unused-faces): New var to replace it.
	(hi-lock-read-face-name): Use/maintain it.
	(hi-lock-unface-buffer): Maintain it.  Fix error for the C-u case.
	(hi-lock-set-pattern): Ignore new rule if it has the same regexp even
	if it has another face.

202 203 204 205 206
2012-12-10  Eli Zaretskii  <eliz@gnu.org>

	* subr.el (w32notify-handle-event): New function.
	(inotify-handle-event): Doc fix.

207 208 209 210
2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* subr.el (inotify-event-p, inotify-handle-event): New functions.

211
2012-12-10  Dani Moncayo <dmoncayo@gmail.com>
212 213 214

	* simple.el (just-one-space): Doc fix.

215
2012-12-10  Eli Zaretskii  <eliz@gnu.org>
216

217
	* textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
218

219
2012-12-10  Le Wang  <l26wang@gmail.com>
220 221 222 223

	* hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
	narrowed buffer (bug#12361).

224
2012-12-10  Juanma Barranquero  <lekktu@gmail.com>
225 226 227

	* vc/vc-hooks.el (vc-state): Doc fix.

228
2012-12-10  Glenn Morris  <rgm@gnu.org>
229 230 231 232

	* mail/rmail.el (rmail-maybe-display-summary):
	Preserve buffer, in case select-window changes it.  (Bug#13066)

233
2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
234 235 236 237

	* emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
	cl-load-hook where they belong.

238 239 240 241
2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-lib.el (cl-declaim): Paren typo.

242 243 244 245
2012-12-09  Eli Zaretskii  <eliz@gnu.org>

	Parallelize byte compilation on MS-Windows.
	* makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
246
	(WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
247 248 249 250 251 252
	(WINS_BASIC): Define as concatenation of the above.
	(compile): Subdivide into 4 separate and independent jobs that can
	be run in parallel.
	(compile0-CMD, compile0-SH): New targets for compiling
	COMPILE_FIRST files, which are prerequisites for the rest of the
	byte-compilation.
253 254
	(compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
	New targets for parallel compilation with cmd.exe.
255 256 257
	(compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
	compiling under a Unixy shell.

258 259 260 261 262 263
2012-12-09  Chong Yidong  <cyd@gnu.org>

	* simple.el (set-mark-default-inactive): Delete this
	accidentally-introduced option.
	(set-mark-command, exchange-point-and-mark): Remove calls.

264 265 266 267 268 269
2012-12-09  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
	Respect a defcustom's :set function, if appropriate.  (Bug#109)
	(eval-defun): Doc fix.

270 271 272 273 274 275
2012-12-08  Juri Linkov  <juri@jurta.org>

	* info.el (Info-copy-current-node-name, Info-breadcrumbs)
	(Info-fontify-node, Info-bookmark-make-record): Remove the
	file extension from Info-current-file (Bug#13016).

276 277 278 279 280 281 282 283
2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
	point, still provide some default.
	(hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
	names, since we don't use it right now.  Actually return the list.
	(hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.

284 285
2012-12-07  Chong Yidong  <cyd@gnu.org>

286 287 288
	* novice.el (disabled-command-function): Remove a spurious help
	xref (Bug#13043).  Suggested by Kelly Dean.

289 290 291
	* subr.el (text-clone-maintain): Fix clone overlay deletion when a
	syntax is specified (Bug#13025).

292 293 294
	* info.el (Info-set-mode-line): Remove the file extension from
	Info-current-file if there is one (Bug#13016).

295 296
2012-12-07  Glenn Morris  <rgm@gnu.org>

297 298 299 300 301
	* mail/rmail.el (rmail-mime-decoded): New permanent local.
	(rmail-show-message-1): Set rmail-mime-decoded when appropriate.
	* mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
	and rmail-mime-decoded.  (Bug#9841)

302 303 304 305 306 307
	* mail/unrmail.el (unrmail-mbox-format): New option.  (Bug#6574)
	(batch-unrmail, unrmail): Doc fixes.
	(unrmail): Respect unrmail-mbox-format.
	* mail/rmail.el (rmail-mbox-format): New option.
	(rmail-show-message-1): Respect rmail-mbox-format.

308 309 310 311
2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl-tagbody): New macro.

312 313
2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

314 315 316 317 318 319 320 321 322 323 324 325
	Further cleanup of the "cl-" namespace.  Fit CL in 80 columns.
	* emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
	(cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
	(cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
	(cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
	(cl-progv): Don't rely on dynamic scoping to find the body.
	* emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
	(cl--proclaims-deferred): Rename from the "cl-" prefix.
	(cl-declaim): Use backquotes.
	* emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
	Use "cl--" prefix for the object's tag.

326 327 328 329 330
	* ses.el: Use advice-add/remove.
	(ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
	(copy-region-as-kill, yank): Use advice-add.
	(ses-unload-function): Use advice-remove.

331 332 333 334 335 336 337 338 339 340
2012-12-06  Jonas Bernoulli  <jonas@bernoul.li>

	* button.el: Make them work in header-lines (bug#12817).
	(button-map): Add bindings for header-line and mode-line use.
	(button-get, button-put, button-label): `button' may now be a string.
	(button-activate): Don't make it a defsubst.
	(button--area-button-p, button--area-button-string): New functions.
	(make-text-button): Fix the return value when `beg' was a string.
	(push-button): Handle the mode-line case.

341 342
2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
	* progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
	(sql-signum): Remove.  Use `cl-signum' instead.
	(sql-read-passwd): Remove; use read-passwd instread.
	(sql-get-login-ext): Use read-string.
	(sql-get-login): Use dolist and pcase.
	(sql--completion-table): Rename from sql-try-completion.
	Use complete-with-action.
	(sql-mode): Don't change abbrev-all-caps globally.
	(sql-connect): Don't rely on dynamic scoping for `new-name'.
	(sql-postgres-completion-object): Initialize vars in their `let'.
	(sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
	(sql-comint-solid, sql-comint-ms, sql-comint-postgres)
	(sql-comint-interbase): Use a single append, without setq.
	(sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.

358 359 360 361 362 363 364 365 366 367 368 369 370 371
	* hi-lock.el: Rework the default face and the serialize regexp code.
	(hi-lock--auto-select-face-defaults): Remove.
	(hi-lock-string-serialize-serial): Remove.
	(hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
	make weak.
	(hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
	equal string.
	(hi-lock-set-pattern): Adjust accordingly.
	(hi-lock--regexps-at-point): Simplify accordingly.
	(hi-lock--auto-select-face-defaults): Remove.
	(hi-lock--last-face): New var to replace it.
	(hi-lock-read-face-name): Rewrite (bug#11095).
	(hi-lock-unface-buffer): Arrange for the face to be the next default.

372 373
2012-12-06  Michael Albinus  <michael.albinus@gmx.de>

374 375
	* net/tramp.el (tramp-replace-environment-variables):
	Hide compiler warning.
376 377 378
	(tramp-file-name-for-operation): Remove `executable-find',
	`start-process', `call-process' and `call-process-region'.

379
	* net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
380 381 382 383 384 385

	* net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
	compatibility.

	* net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.

386 387 388 389
2012-12-06  Chong Yidong  <cyd@gnu.org>

	* ffap.el (ffap-replace-file-component): Fix typo.

390
2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
391 392 393 394

	* progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
	fix open-paren-like token test (bug#12785).

395
2012-12-06  Glenn Morris  <rgm@gnu.org>
396 397 398 399

	* mail/rmailsum.el (rmail-new-summary): Tweak for
	rmail-maybe-display-summary changing buffer.  (Bug#13066)

400
2012-12-06  Juri Linkov  <juri@jurta.org>
401 402 403 404

	* info.el (Info-fontify-node): Don't hide the last newline.
	(Bug#12272)

405 406 407 408 409
2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
	so as to enable message-read-from-minibuffer to expand mail aliases.

410 411 412 413 414 415
2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
	the `intangible' property.
	Suggested by Christopher Schmidt <christopher@ch.ristopher.com>

416 417 418 419 420 421 422
2012-12-05  Deniz Dogan  <deniz@dogan.se>

	* net/rcirc.el (rcirc-urls): Update documentation.
	(rcirc-condition-filter): New function.
	(rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
	and exclude consecutive duplicate URLs (Bug#6082).

423 424
2012-12-05  Michael Albinus  <michael.albinus@gmx.de>

425 426 427
	* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
	Check return code of copy command.

428 429
	* net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
	Use group `tramp'.  Add version.
430

431 432
2012-12-05  Chong Yidong  <cyd@gnu.org>

433 434 435 436 437 438 439 440 441
	* ffap.el (ffap-url-regexp): Don't require matching at front of
	string (Bug#4952).
	(ffap-url-p): If only a substring matches, return that.
	(ffap-url-at-point): Use the return value of ffap-url-p.
	(ffap-read-file-or-url, ffap-read-file-or-url-internal)
	(find-file-at-point, dired-at-point, dired-at-point-prompter)
	(ffap-guess-file-name-at-point): Likewise.
	(ffap-replace-file-component): Fix typo.

442 443 444 445
	* info.el (info-display-manual): Add existing Info buffers, whose
	files may not be in Info-directory-list, to the completion.
	(info--manual-names): New helper function.

446 447 448 449 450
2012-12-05  Glenn Morris  <rgm@gnu.org>

	* vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
	New functions, for detecting and resolving conflicts.  (Bug#10709)

451 452 453 454 455 456 457 458
2012-12-04  Jambunathan K  <kjambunathan@gmail.com>

	* hi-lock.el (hi-lock-auto-select-face): New user variable.
	(hi-lock-auto-select-face-defaults): New buffer local variable.
	(hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
	(hi-lock-unface-buffer): Prompt user with useful defaults.
	With prefix arg, unhighlight all hi-lock patterns in buffer.

459 460 461 462
2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.

Michael Albinus's avatar
Michael Albinus committed
463 464 465 466 467
2012-12-04  Michael Albinus  <michael.albinus@gmx.de>

	* Makefile.in (TRAMP_SRC):
	* makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.

468 469 470 471
2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>

	* net/tramp-adb.el: New package.

Chong Yidong's avatar
Chong Yidong committed
472 473
2012-12-04  Chong Yidong  <cyd@gnu.org>

Chong Yidong's avatar
Chong Yidong committed
474 475
	* terminal.el: Move to obsolete/.

Chong Yidong's avatar
Chong Yidong committed
476 477 478 479 480
	* longlines.el: Move to obsolete/.

	* vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
	Remove code referring to longlines mode.

481 482 483 484
2012-12-03  Juri Linkov  <juri@jurta.org>

	* sort.el (delete-duplicate-lines): New command.  (Bug#13032)

485 486 487
2012-12-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-init-process)
488 489 490 491
	(ispell-start-process, ispell-internal-change-dictionary):
	Make sure personal dictionary name is expanded after initial
	`default-directory' value. Use expanded strings for
	keep/restart checks and for value (Bug#13019).
492

493 494 495 496
2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.

497
2012-12-03  Leo Liu  <sdl.web@gmail.com>
498 499 500 501

	* files.el (dir-locals-read-from-file): Check file non-empty
	before reading.  (Bug#13038)

502
2012-12-03  Glenn Morris  <rgm@gnu.org>
503 504 505 506 507

	* jka-cmpr-hook.el (jka-compr-get-compression-info):
	Remove any version extension before checking filename.  (Bug#13006)
	(jka-compr-compression-info-list): Belated :version bump.

508
2012-12-03  Chong Yidong  <cyd@gnu.org>
Chong Yidong's avatar
Chong Yidong committed
509

510 511
	* simple.el (transient-mark-mode): Doc fix (Bug#11523).

Chong Yidong's avatar
Chong Yidong committed
512 513 514
	* buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
	(buffer-menu): Doc fix (Bug#12294).

515
2012-12-03  Roland Winkler  <winkler@gnu.org>
516 517 518 519

	* calendar/diary-lib.el (diary-header-line-format): Use keybinding
	of diary-show-all-entries in the diary buffer (Bug#12994).

520
2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
521 522 523 524

	* net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
	"<STDIN>".  This is binary safe.

525 526 527 528 529 530 531 532 533 534
2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-forms.el (math-absolute-from-iso-dt)
	(math-date-to-iso-dt, math-parse-iso-date-validate)
	(math-iso-dt-to-date): New functions.
	(math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
	(math-fd-isoweekday): New variables.
	(calc-date-notation, math-parse-standard-date, math-format-date)
	(math-format-date-part): Add support for more formatting codes.

535 536 537 538 539
2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/vc.el (vc-delete-file, vc-rename-file): Default to the
	current buffer's file name when called interactively (Bug#12488).

540 541 542
2012-12-02  Juri Linkov  <juri@jurta.org>

	* info.el (info-display-manual): Don't clobber an existing Info
543
	buffer (Bug#10770).  Add completion (Bug#10771).
544

545 546 547 548 549
2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)

	* vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
	before using it for comparison (Bug#5297).

550 551 552 553 554 555 556 557
2012-12-01  Jari Aalto  <jari.aalto@cante.net>

	* textmodes/css-mode.el (css-current-defun-name): New function.
	(css-mode): Use it.

	* textmodes/sgml-mode.el (html-current-defun-name): New function.
	(html-mode): Use it.

558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580
2012-12-01  Chong Yidong  <cyd@gnu.org>

	Modularize add-log-current-defun (Bug#2224).
	Suggested by Jari Aalto.

	* vc/add-log.el (add-log-current-defun-function): Doc fix.
	(add-log-current-defun): Move mode-specific code to other files.
	(add-log-lisp-like-modes, add-log-c-like-modes)
	(add-log-tex-like-modes): Variables deleted.

	* emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
	(lisp-mode-variables): Use it.

	* progmodes/cc-mode.el (c-common-init):
	* progmodes/cperl-mode.el (cperl-mode): Set a value for
	add-log-current-defun-function.

	* progmodes/m4-mode.el (m4-current-defun-name): New function.
	(m4-mode): Use it.

	* progmodes/perl-mode.el (perl-current-defun-name): New.
	(perl-mode): Use it.

581 582
	* progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
	Use lisp-current-defun-name.
583 584 585 586 587 588 589

	* textmodes/tex-mode.el (tex-current-defun-name): New.
	(tex-common-initialization): Use it.

	* textmodes/texinfo.el (texinfo-current-defun-name): New.
	(texinfo-mode): Use it.

590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606
2012-12-01  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
	* progmodes/autoconf.el (autoconf-mode):
	* progmodes/js.el (js-mode):
	* progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
	(makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
	* progmodes/perl-mode.el (perl-mode):
	* progmodes/sh-script.el (sh-mode, sh-set-shell):
	* textmodes/css-mode.el (css-mode):
	* textmodes/sgml-mode.el (html-mode, sgml-mode)
	(sgml-tags-invisible, sgml-guess-indent):
	* textmodes/tex-mode.el (tex-common-initialization)
	(latex-complete-bibtex-keys, tex-shell, tex-main-file)
	(doctex-mode, plain-tex-mode, latex-mode):
	* textmodes/texinfo.el (texinfo-mode): Use setq-local.

607 608 609 610 611
2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>

	* vc/vc-hg.el (vc-hg-next-revision):
	Ensure use of default "tip" output format.  (Bug#6968)

612 613 614 615 616
2012-12-01  Kim F. Storm  <storm@cua.dk>

	* startup.el (fancy-startup-tail): Add a clickable link
	(Bug#2176).

617 618 619 620 621
2012-12-01  Chong Yidong  <cyd@gnu.org>

	* startup.el (fancy-startup-tail): Improve the message about
	auto-save files (Bug#2176).

622 623 624
	* files.el (recover-session): Improve the descriptive message, and
	use substitute-command-keys.

Glenn Morris's avatar
Glenn Morris committed
625 626 627 628 629
2012-12-01  Glenn Morris  <rgm@gnu.org>

	* ido.el (ido-file-internal):
	Handle other-window, other-frame for dired.  (Bug#13036)

Glenn Morris's avatar
Glenn Morris committed
630 631 632 633
2012-11-30  Glenn Morris  <rgm@gnu.org>

	* icomplete.el (icomplete-separator): Fix :version.

634 635 636 637
2012-11-30  Chong Yidong  <cyd@gnu.org>

	* shell.el (shell): For C-u M-x shell, use an inactive shell
	buffer as the default (Bug#1975).
638 639 640
	(shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
	(shell-mode): Use them to reapply ansi colorization if Shell mode
	is re-enabled.
641

642 643 644 645
2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)

	* vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).

646 647 648 649 650
2012-11-30  Samuel Bronson  <naesten@gmail.com>

	* progmodes/grep.el (grep-compute-defaults): Do not pass the -e
	flag to xargs, for compatibility with BSD xargs (Bug#11703).

651 652 653 654 655
2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>

	* textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
	by move-to-column (Bug#3234).

656 657 658 659 660
2012-11-30  Chong Yidong  <cyd@gnu.org>

	* longlines.el (longlines-wrap-line, longlines-encode-region):
	Preserve text properties (Bug#1425).

661 662 663 664 665
2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)

	* vc/vc.el (vc-register): Allow registering a file which is
	already registered with a different backend (Bug#10589).

666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683
2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
            Stefan Monnier  <monnier@iro.umontreal.ca>

	* icomplete.el: Change separator; add ido-style commands.
	(icomplete-show-key-bindings): Remove custom var.
	(icomplete-get-keys): Remove function.
	(icomplete-forward-completions, icomplete-backward-completions):
	New commands.
	(icomplete-minibuffer-map): New var.
	(icomplete-minibuffer-setup): Use it.
	(icomplete-exhibit): Don't delay if the list of completions is known.
	(icomplete-separator): New custom.
	(icomplete-completions): Use it.
	* minibuffer.el (completion-all-sorted-completions): Delete duplicates.
	(minibuffer-force-complete-and-exit): New command.
	(minibuffer--complete-and-exit): New function extracted from
	minibuffer-complete-and-exit.
	(minibuffer-complete-and-exit): Use it.
684 685 686 687

	* progmodes/etags.el (visit-tags-table-buffer): Give a more precise
	error message when the file doesn't exist (bug#12974).

688 689 690 691
2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)

	* simple.el (activate-mark): Run activate-mark-hook (bug#13027).

692 693
2012-11-29  Glenn Morris  <rgm@gnu.org>

694 695 696
	* files.el (hack-dir-local-variables): Warn if try to set
	coding via dir-locals, since it doesn't work.  (Bug#7169)

697 698 699 700 701 702 703 704
	Add desktop support for restoring vc-dir buffers.  (Bug#10606)
	* vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
	Set buffer-local value of desktop-save-buffer.
	(vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
	New functions.
	(desktop-buffer-mode-handlers): Add vc-dir-mode entry.
	* desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.

705 706 707 708 709 710
	* files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
	(inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
	Doc fix.
	(inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
	Doc fixes.

711 712 713 714 715
2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-forms.el (calc-date-notation): Fix regexp
	used to find time codes.  Fix symbol for seconds.

716 717 718 719 720
2012-11-27  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/derived.el (derived-mode-make-docstring):
	Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)

721 722 723 724 725
2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/table.el (table-insert): Don't use `symbol-name' on
	lexically scoped variables (bug#13005).

726
2012-11-27  Glenn Morris  <rgm@gnu.org>
727

728 729
	* vc/vc-hooks.el (vc-mistrust-permissions):
	Default to t, to avoid data-loss.  (Bug#11490)
730

731
2012-11-27  Fabián Ezequiel Gallina  <fgallina@cuca>
732

733 734 735
	* progmodes/python.el (python-indent-guess-indent-offset):
	If indentation is guessed make python-indent-offset buffer-local.

736
	Fix Imenu regression.
737 738
	* progmodes/python.el (python-nav-beginning-of-defun):
	Fix forward movement when statement(s) separates point from defun.
739 740
	(python-imenu-prev-index-position): New function.

741
2012-11-27  Eli Zaretskii  <eliz@gnu.org>
742 743 744 745

	* subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.

	* dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
Eli Zaretskii's avatar
Eli Zaretskii committed
746
	Don't set buffer-file-type.  Return nil.  (Bug#12989)
747

748
2012-11-27  Glenn Morris  <rgm@gnu.org>
749 750 751 752

	* hippie-exp.el (hippie-expand-try-functions-list):
	Re-autoload it.  (Bug#12982)

753
2012-11-27  Eli Zaretskii  <eliz@gnu.org>
754

755 756
	* descr-text.el (describe-char-padded-string):
	Call internal-char-font only on GUI frames.  (Bug#11964)
757

758
2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
759 760 761 762

	* buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
	and obsoletion message.

763
2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
764 765 766 767

	* emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
	the constructs to keep outside of the `cl-block' (bug#12977).

768
2012-11-27  Chong Yidong  <cyd@gnu.org>
769 770 771 772 773

	* mouse.el (mouse-drag-line): Even if the line is not draggable,
	keep reading until we get the up-event anyway, in order to process
	the up-event for mouse-1-click-follows-link (Bug#12971).

774 775 776 777 778 779 780
2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
	base function is not yet defined (bug#12965).
	(ad-activate-advised-definition): Use ad-compile-function.
	(ad-activate): Use cond.

781 782 783 784 785
2012-11-25  Leo Liu  <sdl.web@gmail.com>

	* textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
	(Bug#12979)

786 787 788 789 790 791 792
2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
	reftex-section-info-function in order to be compatible with
	Texinfo integration.

	* textmodes/reftex.el (reftex-section-pre-regexp)
793 794 795 796 797 798 799 800
	(reftex-section-post-regexp, reftex-section-info-function):
	New variable.
	(reftex-compile-variables): Use variables reftex-section-pre-regexp,
	reftex-section-post-regexp, and reftex-section-info-function in order
	to be compatible with Texinfo integration.

	* textmodes/reftex-toc.el (reftex-toc-promote-action):
	use reftex-section-pre-regexp variable in order to be compatible with
801 802
	Texinfo integration.

803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824
2012-11-25  Chong Yidong  <cyd@gnu.org>

	* faces.el: Make face-spec-set more analogous to setq.
	(face-spec-set): Change the third arg to specify whether this
	function is being called via defface, customize, or a third party.
	Set the appropriate symbol properties.  Clear the override spec if
	setting via Custom.  Initialize face if necessary.  (Bug#4988)
	(face-spec-recalc): Allow theme faces to completely replace the
	defface spec, in the same way as custom faces (Bug#8454).

	* cus-face.el (custom-declare-face): Move face initialization to
	face-spec-set.
	(custom-theme-set-faces): Don't initialize the face name here, as
	that is now done in face-spec-set.

	* cus-edit.el (custom-face-set, custom-face-mark-to-save)
	(custom-face-reset-saved, custom-face-mark-to-reset-standard):
	Simplify by using the new arg to face-spec-set.

	* emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
	reset face-override-spec too, and use custom-declare-face.

825 826 827 828 829
2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>

	* term/ns-win.el (ns-initialize-window-system): Move creation of
	fontsets here (Bug#11964).

830 831 832 833 834
2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* ses.el (ses-rename-cell): Correct bug on mode-line update after
	cell renaming.

835 836
2012-11-24  Chong Yidong  <cyd@gnu.org>

837 838 839
	* woman.el (woman-default-faces, woman-monochrome-faces): Mark as
	obsolete.

840 841 842 843
	* custom.el (custom-theme-set-variables): Use a topological sort
	for ordering by custom dependencies (Bug#12952).
	(custom--sort-vars, custom--sort-vars-1): New functions.

844
2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
845 846 847 848

	* emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
	lexical-binding (bug#12938).

849
2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
850 851 852 853 854 855 856

	* image-mode.el (image-transform-check-size): Use assertions only
	for images of type imagemagick.

	Otherwise no error, image-transform-fit-to-{width,height} is
	silently ignored, as before.  Doc fix.

857
2012-11-24  Chong Yidong  <cyd@gnu.org>
858 859 860

	* faces.el (color-defined-p): Doc fix (Bug#12853).

861
2012-11-24  Juri Linkov  <juri@jurta.org>
862 863 864 865 866 867 868

	* dired.el (dired-mark): Add optional arg `interactive'.
	Check for `use-region-p' if `interactive' is non-nil.
	(dired-unmark, dired-flag-file-deletion): Add optional arg
	`interactive'.  Call `dired-mark' with the arg `interactive'.
	(Bug#10624)

869 870 871 872 873 874 875 876
	* wdired.el: Revert 2012-10-17 change partly and replace it with
	Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
	(wdired-finish-edit): Add marks for new file names to
	`wdired-old-marks'.  Restore marks using `dired-mark-remembered'
	after `revert-buffer'.
	(wdired-do-renames): Remove calls to `dired-remove-file',
	`dired-add-file', `dired-add-entry'.  (Bug#11795)

877
2012-11-24  Alan Mackenzie  <acm@muc.de>
878

879 880
	* progmodes/cc-defs.el (c-version): Bump to 5.32.4.

881 882 883 884 885 886 887 888 889 890 891
	Fix bugs in the state cache.  Enhance a debugging mechanism.
	* progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
	"brace at column zero" strategy for C++.
	(c-append-lower-brace-pair-to-state-cache): Repair algorithm.
	(c-parse-state-point): New variable.
	(c-record-parse-state-state): Record old parse state with
	`copy-tree'.  Record previous value of point.
	(c-debug-parse-state-double-cons): New debugging function.
	(c-debug-parse-state): Call the above new function.
	(c-toggle-parse-state-debug): Output a confirmatory message.

892 893
	* progmodes/cc-mode.el (c-before-change, c-after-change):
	Call c-invalidate-state-cache from `c-before-change' instead of
894 895
	`c-after-change'.

896 897 898 899 900
2012-11-23  Chong Yidong  <cyd@gnu.org>

	* find-cmd.el (find-constituents): Add executable, ipath,
	readable, samefile, writable, daystart, regextype (Bug#12856).

901 902 903 904
2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.

905 906 907 908
2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>

	* calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
	definition.  This fixes a bootstrap failure.
909 910 911
	(calc-gregorian-switch): In menu, put dates before regions.
	This is easier to follow, lines up better in the menu, and lets us
	coalesce regions that switch at the same time.  Give country
912 913
	names, not "Vatican", as that's better for non-expert users.
	Use names that are stable between the date of switch and now, e.g.,
914 915 916 917 918
	Bohemia and Moravia (which existed then and now) and not
	Czechoslovakia (which didn't exist then and doesn't exist now).
	What is now the U.S. mostly did not switch at the same time as
	Britain, so omit the U.S.  Correct spelling of "Britain".
	Catholic Switzerland was too much of a mess, so omit it.
919

920 921 922 923 924
2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
	after the variable is changed.

925 926 927
2012-11-21  Daniel Colascione  <dancol@dancol.org>

	* progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
928 929
	in SQL declarations for font-lock.
	(sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
930

931 932
2012-11-21  Glenn Morris  <rgm@gnu.org>

933 934 935
	* faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
	(face-italic-p): Add optional argument "inherit".

936 937 938 939 940 941 942
	* faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
	Remove -p suffix from names, for consistency with other set-face-*.
	(set-face-inverse-video): Fix interactive spec.
	* play/gamegrid.el (gamegrid-make-mono-tty-face):
	* textmodes/table.el (table--update-cell-face):
	Use set-face-inverse-video rather than now obsolete alias.

943
2012-11-21  Eli Zaretskii  <eliz@gnu.org>
944 945 946 947

	* simple.el (line-move): Don't call line-move-partial if
	scroll-conservatively is in effect.  (Bug#12927)

948
2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
949

950 951 952 953 954 955 956
	* eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
	Fallback on completion-at-point rather than
	pcomplete-expand-and-complete, and only if pcomplete actually failed.
	(eshell-cmpl-initialize): Setup completion-at-point.

	* pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.

957 958
	* emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.

959
2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
960 961 962 963

	* net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
	are remote, check out-of-band property for both.

964
2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
965 966 967 968

	* window.el (switch-to-buffer): Re-add the warning that was lost in the
	code rewrite.

969
2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
970

Paul Eggert's avatar
Paul Eggert committed
971 972 973 974 975 976 977
	More minor time fixes.
	* calendar/time-date.el: Commentary fix.
	* net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
	too much other code depends on (0 0) time stamps.
	* net/tramp.el (tramp-time-less-p, tramp-time-subtract):
	Add a couple of FIXME comments.

978 979 980 981 982 983 984 985
	Minor cleanup for times as lists of four integers.
	* files.el (dir-locals-directory-cache):
	* ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
	Doc fixes.
	* net/tramp-sh.el (tramp-do-file-attributes-with-ls):
	* ps-bdf.el (bdf-file-newer-than-time):
	Process four-integers time stamps, not two.  Doc fixes.

986 987
2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>

988 989 990 991
	* uniquify.el (uniquify-managed): Use defvar-local.
	(rename-buffer, create-file-buffer): Advise with advice-add.
	(uniquify-unload-function): Unadvise accordingly.

992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004
	* emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
	(trace-buffer): Don't purecopy.
	(trace-entry-message, trace-exit-message): Add `context' arg.
	(trace--timer): New var.
	(trace-make-advice): Adjust for use in nadvice.
	Add `context' argument.  Delay `display-buffer' via a timer.
	(trace-function-internal): Use advice-add.
	(trace--read-args): New function.
	(trace-function-foreground, trace-function-background): Use it.
	(trace-function): Rename to trace-function-foreground and redefine as
	an alias to that new name.
	(untrace-function, untrace-all): Adjust to the use of nadvice.

1005 1006
	* emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.

1007 1008
	* emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.

1009 1010 1011 1012 1013 1014 1015 1016 1017 1018
	* subr.el (called-interactively-p-functions): New var.
	(internal--called-interactively-p--get-frame): New macro.
	(called-interactively-p, interactive-p): Rewrite in Lisp.
	* emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
	(called-interactively-p-functions): Use it.
	* emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
	(called-interactively-p-functions): Use it.
	* allout.el (allout-called-interactively-p): Don't assume
	called-interactively-p is a subr.

1019 1020 1021 1022 1023 1024
2012-11-20  Glenn Morris  <rgm@gnu.org>

	* profiler.el (profiler-report-mode-map): Add a menu.
	No need to bind `q' because we derive from special-mode.
	(profiler-report-find-entry): Handle calls from the menu-bar.

1025 1026
2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>

1027 1028 1029 1030 1031 1032 1033 1034
	* emacs-lisp/byte-run.el (defun-declarations-alist):
	Allow a compiler-macro to be a lambda expression.

	* progmodes/python.el: Use cl-lib.  Move var declarations outside of
	eval-when-compile.
	(python-syntax-context): Add compiler-macro.
	(python-font-lock-keywords): Simplify with De Morgan.

1035 1036
	* vc/diff-mode.el (diff-hunk): Don't make useless timers.

1037 1038 1039 1040
	* files.el (load-file): Require match in minibuffer selection, as was
	the case in Emacs-20 before we changed the spec to allow .elc files
	(bug#12935).

1041 1042 1043 1044
	* json.el: Don't require cl since we don't use it.
	* color.el: Don't require cl.
	(color-complement): `caddr' -> `nth 2'.

1045 1046
	* calendar/time-date.el (time-to-seconds): De-obsolete.

1047 1048 1049 1050 1051 1052 1053
2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
	year numbers.
	(math-date-to-julian-dt): Adjust the initial approximation for the
	year to deal with the new definition of the DATE.

1054 1055
2012-11-19  Daniel Colascione  <dancol@dancol.org>

1056 1057
	* term/w32-win.el (cygwin-convert-path-from-windows):
	Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
1058

1059 1060 1061 1062 1063 1064 1065 1066 1067 1068
2012-11-18  Chong Yidong  <cyd@gnu.org>

	* filecache.el (file-cache--read-list): New function.
	(file-cache-add-directory-list, file-cache-add-file-list)
	(file-cache-delete-file-list, file-cache-delete-directory-list):
	Use it to read a list of files or directories (Bug#12846).
	(file-cache-add-file, file-cache-add-directory)
	(file-cache-delete-file-list, file-cache-delete-file-regexp)
	(file-cache-delete-directory): Print an message.

1069 1070 1071 1072 1073
2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-forms.el (math-date-to-dt): Use integer date when
	calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.

1074 1075 1076 1077
2012-11-18  Glenn Morris  <rgm@gnu.org>

	* image.el (insert-image, insert-sliced-image): Doc fix.

1078
2012-11-18  Chong Yidong  <cyd@gnu.org>
1079 1080 1081 1082

	* emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
	(Bug#12810).

1083
2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
Chong Yidong's avatar
Chong Yidong committed
1084 1085 1086 1087

	* vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
	response when the target file is in a subdirectory (Bug#12757).

1088
2012-11-18  Chong Yidong  <cyd@gnu.org>
1089 1090 1091

	* filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).

1092
2012-11-18  Glenn Morris  <rgm@gnu.org>
1093

1094 1095 1096
	* emacs-lisp/cl-lib.el (face-underline-p):
	Use set-face-underline rather than the alias set-face-underline-p.

1097
	* window.el (with-temp-buffer-window): Doc fix.
1098 1099
	* subr.el (with-output-to-temp-buffer):
	Add doc xref to with-temp-buffer-window.
1100

Juanma Barranquero's avatar
Juanma Barranquero committed
1101 1102 1103 1104 1105
2012-11-18  Juanma Barranquero  <lekktu@gmail.com>

	* woman.el (woman-non-underline-faces): Use `set-face-underline'.
	* calc/calc.el (math-format-date-cache): Declare.

1106 1107
2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>

1108 1109
	Calc by default uses the Gregorian calendar for all dates (Bug#12633).
	It also uses January 1, 1 AD as its day number 1.
1110
	* calc/calc-forms.el (math-julian-date-beginning)
1111
	(math-julian-date-beginning-int): Implement this.
1112

1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134
2012-11-17  Juanma Barranquero  <lekktu@gmail.com>

	* descr-text.el (quail-find-key):
	* dired.el (desktop-file-name):
	* dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
	* generic-x.el (comint-mode, comint-exec):
	* image-dired.el (widget-forward):
	* info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
	(speedbar-change-expand-button-char)
	(speedbar-change-initial-expansion-list, speedbar-delete-subblock)
	(speedbar-make-specialized-keymap, speedbar-make-tag-line):
	* printing.el (easy-menu-add-item, easy-menu-remove-item)
	(widget-field-action, widget-value-set):
	* speedbar.el (imenu--make-index-alist):
	* term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
	(ring-length, ring-insert):
	* vcursor.el (compare-windows-skip-whitespace):
	* woman.el (dired-get-filename):
	Declare functions.

	* term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.

1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154
2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-gregorian-switch): New variable.

	* calc/calc-forms.el (math-day-in-year, math-dt-before-p)
	(math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
	(math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
	(math-leap-year-p): Add option to distinguish between Julian
	and Gregorian calendars.
	(math-day-number): Use `math-day-in-year' to do the computations.
	(math-absolute-from-dt): Rename from `math-absolute-from-date'.
	Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
	to do the computations.
	(math-date-to-dt): Use `math-date-to-julian-dt' and
	`math-date-to-gregorian-dt' to do the computations.
	(calcFunc-weekday, math-format-date-part): Use the new version of
	the DATE to determine the weekday.
	(calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
	when necessary.

1155 1156 1157 1158 1159 1160 1161
2012-11-17  Eli Zaretskii  <eliz@gnu.org>

	* term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
	Cygwin; otherwise use 'file:'.  (Bug#12914)
	(cygwin-convert-path-from-windows): Declare, to avoid
	byte-compiler warnings.

1162 1163 1164 1165 1166 1167
2012-11-17  Andreas Politz  <politza@fh-trier.de>

	* ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
	(ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
	prefix and negative numeric prefix args (Bug#12795).

1168 1169 1170 1171 1172 1173
2012-11-17  Stephen Berman  <stephen.berman@gmx.net>

	* play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
	Don't signal an error with a score that is too low to add to the
	list of top scores. (Bug#12779)

1174 1175
2012-11-17  Chong Yidong  <cyd@gnu.org>

1176 1177
	* help-mode.el (help-xref-interned): End on point-min (Bug#12737).

1178 1179 1180
	* filecache.el (file-cache-add-file): Handle relative file name in
	the argument (Bug#12694).

1181 1182 1183 1184
2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)

	* eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).

1185 1186
2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>

1187 1188
	* emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.

1189 1190
	* emacs-lisp/cl-lib.el: Set more meaningful version number.

1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203
2012-11-16  Martin Rudalics  <rudalics@gmx.at>

	* window.el (enlarge-window, shrink-window): Don't mention return
	value in doc-string (Bug#12896).
	(window--display-buffer): Don't resize frames - it won't work
	with all window managers and defeat pop-up-frame-alist.
	(display-buffer-alist): In doc-string explain that CONDITION can
	be a function and which arguments are passed to it (Bug#12854).
	(display-buffer-assq-regexp): New argument ACTION.  Handle lambda
	expressions (Bug#12854).
	(display-buffer): Pass ACTION argument to
	display-buffer-assq-regexp.

1204 1205
2012-11-16  Glenn Morris  <rgm@gnu.org>

1206 1207 1208
	* window.el (fit-frame-to-buffer-bottom-margin)
	(fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.

1209 1210
	* faces.el (face-underline-p): Use face-attribute-specified-or.

1211
2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
1212 1213 1214

	* emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.

1215
2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1216 1217 1218

	* emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).

1219
2012-11-16  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
1220

1221 1222 1223
	* eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
	(eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.

1224 1225 1226 1227 1228 1229 1230 1231
	* faces.el (face-underline-p): Doc fix.  Handle :underline being
	things other than `t' (a string, a list).
	(face-inverse-video-p): Doc fix.
	(set-face-underline): Rename it back from set-face-underline-p.
	Doc fix.  Allow interactive input of values other than t.
	(read-face-attribute): Apply formatting to :underline,
	since like :box and :stipple it can take list values.

Glenn Morris's avatar
Glenn Morris committed
1232 1233 1234
	* term.el (ansi-term): Don't let C-x escape-char binding
	clobber the more standard C-c binding.  (Bug#12842)

1235 1236
	* subr.el (set-temporary-overlay-map): Doc fix.

1237
2012-11-16  Martin Rudalics  <rudalics@gmx.at>
1238 1239 1240 1241 1242

	* window.el (record-window-buffer)
	(display-buffer-record-window): When copying the markers to
	window-point preserve window-point-insertion-type. (Bug#12588)

1243
2012-11-16  Glenn Morris  <rgm@gnu.org>
1244 1245 1246 1247 1248

	* emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
	* net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
	Use new names for hooks rather than obsolete aliases.

1249 1250 1251
2012-11-15  Daniel Colascione  <dancol@dancol.org>

	* term/w32-win.el (w32-handle-dropped-file): Use a "file://"
Daniel Colascione's avatar
Daniel Colascione committed
1252 1253 1254 1255
	prefix instead of "file:" so that when FILE-NAME begins with "//",
	as it does when the target file is on a network share, url-handler
	isn't confused.

1256 1257 1258 1259 1260
2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
	a preactivated advice from an old advice.el; they're not compatible!

1261 1262 1263 1264 1265 1266 1267
2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>

	* emacs-lisp/nadvice.el (advice--make-interactive-form):
	Fix string-spec case.

	* emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.

1268 1269 1270 1271 1272 1273 1274
2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el: Add buffer-local support to add-function.
	(advice--buffer-local-function-sample): New var.
	(advice--set-buffer-local, advice--buffer-local): New functions.
	(add-function, remove-function): Use them.

1275 1276 1277 1278
2012-11-15  Drew Adams  <drew.adams@oracle.com>

	* imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).

1279 1280 1281 1282 1283 1284
2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
	potential binding of print-gensym to t, and prettify (back)quotes in
	case they appear in args's default values (bug#12884).

1285 1286 1287 1288 1289 1290
2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el: Add around advice for interactive specs.
	(advice-eval-interactive-spec): New function.
	(advice--make-interactive-form): Support around advice (bug#12844).

1291 1292 1293 1294
2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
	more strict.  Add docstring.
Dmitry Gutov's avatar
Dmitry Gutov committed
1295 1296 1297 1298 1299 1300 1301 1302 1303
	(ruby-expression-expansion-re): Extract from
	`ruby-match-expression-expansion'.
	(ruby-syntax-propertize-function): After everything else, search
	for expansions in string literals, mark their insides as
	whitespace syntax and save match data for font-lock.
	(ruby-font-lock-keywords): Use the 2nd group from expression
	expansion matches.
	(ruby-match-expression-expansion): Use the match data saved to the
	text property in ruby-syntax-propertize-function.
1304

1305 1306 1307 1308 1309
2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
	(bug#12879).

1310 1311 1312 1313 1314 1315 1316
2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
	start/end keyword a bit harder.  Works with different values of N.
	Add more comments.
	(ruby-end-of-block): Update accordingly.

1317 1318
2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>

1319 1320 1321
	* woman.el (woman-file-name): Don't mess with unread-command-events
	(bug#12861).

1322 1323 1324 1325 1326 1327 1328
	* emacs-lisp/advice.el: Layer on top of nadvice.el.
	Remove out of date self-require hack.
	(ad-do-advised-functions): Use simple `dolist'.
	(ad-advice-name, ad-advice-protected, ad-advice-enabled)
	(ad-advice-definition): Redefine as functions.
	(ad-advice-classes): Move before first use.
	(ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1329
	(ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1330
	(ad--defalias-fset): Remove functions.
1331
	(ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.