ChangeLog 686 KB
Newer Older
1 2 3 4 5 6 7 8
2012-09-17  Chong Yidong  <cyd@gnu.org>

	* comint.el (comint--complete-file-name-data): Don't add a space
	if the status is `sole'; that adds a gratuitous space in the
	completion-cycling case (Bug#12092).

	* pcomplete.el (pcomplete-completions-at-point): Likewise.

9 10
2012-09-17  Richard Stallman  <rms@gnu.org>

11 12 13
	* mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
	only in the mime-shown mode, not in raw mode.
	(rmail-mime): Toggle off mime by displaying the message without
Glenn Morris's avatar
Glenn Morris committed
14
	mime processing.  (Bug#12305)
15

Glenn Morris's avatar
Glenn Morris committed
16 17
	* mail/rmail.el (rmail-retry-failure):
	Turn off mime processing first.  (Bug#12037)
18

19 20
	* epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.

21 22 23 24 25 26
2012-09-17  Chong Yidong  <cyd@gnu.org>

	* shell.el (shell-file-name-chars, shell-file-name-quote-list)
	(shell-dynamic-complete-functions): Convert to defcustom.
	(shell-prompt-pattern, shell-completion-fignore): Doc fix.

27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
	* bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
	* comint.el (comint-prompt-read-only):
	* custom.el (defcustom):
	* hi-lock.el (hi-lock-mode):
	* ibuffer.el (ibuffer-formats):
	* ielm.el (ielm-prompt-read-only):
	* novice.el (disable-command):
	* saveplace.el (toggle-save-place):
	* speedbar.el (speedbar-supported-extension-expressions):
	* startup.el (auto-save-list-file-prefix, init-file-user)
	(after-init-hook, inhibit-startup-echo-area-message):
	* strokes.el (strokes-help):
	* time-stamp.el (time-stamp):
	* calendar/calendar.el (calendar, diary-file):
	* calendar/diary-lib.el (diary-mail-entries, diary)
	(diary-list-entries-hook):
	* calendar/holidays.el (holidays, calendar-holidays):
	* calendar/lunar.el (lunar-phases):
	* calendar/solar.el (sunrise-sunset):
	* emulation/edt.el (edt-load-keys):
	* emulation/viper.el (viper-mode):
	* eshell/em-alias.el (eshell-command-aliases-list):
	* eshell/esh-util.el (eshell-convert-numeric-arguments):
	* international/ogonek.el (ogonek-information):
	* net/tramp-cmds.el (tramp-bug):
	* net/quickurl.el (quickurl-reread-hook-postfix):
	* play/decipher.el (decipher-font-lock-keywords):
	* progmodes/cc-styles.el (c-set-style):
	* progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
	* progmodes/inf-lisp.el (inferior-lisp-prompt):
	* progmodes/octave-mod.el (octave-mode):
	* progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
	* progmodes/verilog-mode.el (verilog-read-defines):
	* textmodes/two-column.el (2C-mode): Likewise.

62 63 64 65 66
2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
	that holds many addresses.

67 68
2012-09-16  Chong Yidong  <cyd@gnu.org>

69 70 71
	* align.el (align-areas): Call the indication function with
	positions instead of markers for arguments (Bug#12343).

72 73
	* files.el (parse-colon-path): Use split-string (Bug#12351).

74
	* window.el (special-display-popup-frame): Doc fix (Bug#8853).
75
	(display-buffer-function): Mark as obsolete.
76

77 78 79
	* progmodes/compile.el (compilation-parse-errors): Accept list
	values similar to font-lock-keywords (Bug#12136).  Suggested by
	Oleksandr Manzyuk.
80 81
	(compilation-error-regexp-alist): Doc fix.

82 83
2012-09-15  Glenn Morris  <rgm@gnu.org>

84 85 86
	* version.el (emacs-bzr-version-bzr): New function.
	(emacs-bzr-get-version): Add optional EXTERNAL argument.

87 88 89 90 91
	* vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
	checkouts, check the parent dirstate matches the branch.
	Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
	empty string.

92 93 94 95 96 97
	* version.el (emacs-bzr-version): Doc fix.
	(emacs-bzr-version-dirstate): New function.
	(emacs-bzr-get-version): For lightweight checkouts, if the parent
	is local try and check that it matches the branch.  If not, just
	use dirstate information.  (Bug#12441)

98 99 100 101 102
2012-09-14  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
	(Bug#12399)

103 104
2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>

105 106
	* emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.

107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
	* emacs-lisp/edebug.el: Miscellaneous cleanup.
	Remove obsolete byte-compiler hack that tried to silence some warnings.
	(edebug-submit-bug-report): Remove.
	(edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
	Remove aliases, use the un-prefixed name instead.
	(edebug-pop-to-buffer): Consider other frames.
	(edebug-original-read):: Make it more obvious that it's always defined.
	(edebug--make-form-data-entry, edebug--form-data-name)
	(edebug--form-data-begin, edebug--form-data-end): Rename from the
	single-dashed name, and implement with cl-defstruct.
	(edebug-set-form-data-entry): Use the standard accessors.
	(edebug-make-top-form-data-entry): Use push.
	(edebug-no-match): Drop useless `funcall'.
	(mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
	to functions.
	(defsubst, dont-compile, eval-when-compile, eval-and-compile)
	(delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
	(with-syntax-table, push, pop, 1value, noreturn, defadvice)
	(easy-menu-define, with-custom-print): Remove redundant specs.
	(edebug-outside-overriding-local-map)
	(edebug-outside-overriding-terminal-local-map): Remove, unused.
	(edebug--display): Bind unread-command-events directly to nil rather
	than binding it to unread-command-events and later setting it to nil.
	(edebug--display): Kill edebug-eval-buffer here...
	(edebug--recursive-edit): ...rather than here.
	Bind standard-output and standard-input.
	(edebug-eval): Check cl-macroexpand-all is fboundp.
	(edebug-temp-display-freq-count): Fix last change.

	* emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
	* subr.el (noreturn, 1value): Add `debug' spec.
	* emacs-lisp/advice.el: Require cl-lib.
	(ad-copy-tree): Remove, use copy-tree instead.
	(ad-dolist): Remove use dolist or cl-dolist instead.
	(ad-do-return): Remove, use cl-return instead.
	(defadvice): Add `debug' spec.

144 145 146 147 148
2012-09-13  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
	(Bug#12399)

149 150
2012-09-13  Glenn Morris  <rgm@gnu.org>

151 152 153 154 155 156
	* calc/calc.el (math-compose-expr):
	* calc/calc-ext.el (math-compose-expr):
	* progmodes/cc-defs.el (cl-macroexpand-all):
	* progmodes/cc-langs.el (delete-duplicates, mapcan)
	(cl-macroexpand-all): Update declarations.

157 158 159 160 161
	* vc/vc.el: No need to require ediff.
	(ediff-load-version-control): Declare.
	(ediff-vc-internal): Fix declaration.
	(vc-version-ediff): Require ediff.

162 163 164 165 166 167 168
2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>

	Use a more backwards-compatible timer format (Bug#12430).
	* emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
	being right after USECS, as that better supports old code that
	inadvisedly looked directly at the timer vector.

169 170 171 172 173 174
2012-09-13  Kenichi Handa  <handa@gnu.org>

	* language/chinese.el ("Chinese-GB", "Chinese-BIG5")
	("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
	`coding-priority' property of these language environment.

175 176 177 178 179 180 181 182
2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>

	Fix glitches caused by addition of psec to timers (Bug#12430).
	* image.el (image-animate-timer):
	* time.el (display-time-world-timer):
	Use timer--function and timer--args rather than raw access to
	timer vector.

183 184 185 186 187
2012-09-13  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
	If not compiling a file, try using load-file-name.

188 189
2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>

190 191 192 193
	* emacs-lisp/edebug.el (edebug-outside-unread-command-events):
	Fix last change.
	(edebug-update-eval-list): Use `push'.

194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
	* emacs-lisp/edebug.el: Use lexical-binding.
	Remove the "edebug-" prefix from non-dynamically-scoped variables.
	Mark unused args with underscore.
	(edebug-save-restriction, edebug-outside-excursion): Use `declare'.
	(edebug-form-data): Use defvar-local.
	(edebug-make-before-and-after-form, edebug-make-after-form):
	Use backquote.
	(edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
	Not dynamically scoped any more.
	(edebug--enter-trace): Add arguments `function' and `args'.
	Rename from edebug-enter-trace.
	(edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
	(edebug--update-coverage): Add `after-index' and `value' args.
	Rename from edebug-update-coverage.
	(edebug-slow-after): Call it accordingly.
	(edebug--recursive-edit): Add arg `arg-mode'.  Rename from
	edebug-recursive-edit.
	(edebug--display): Call it accordingly.  Add args `value',
	`offset-index', and `arg-mode'.  Rename from edebug-display.
	(edebug-debugger, edebug): Call it accordingly.
	(edebug-eval-display-list): Use dolist.

216 217 218 219 220 221 222 223 224 225 226
2012-09-12  Juri Linkov  <juri@jurta.org>

	* info.el (Info-search): Don't check for isearch-mode and
	isearch-regexp before let-binding search-spaces-regexp to
	Info-search-whitespace-regexp.
	(Info-isearch-search): Let-bind Info-search-whitespace-regexp to
	search-whitespace-regexp if isearch-lax-whitespace or
	isearch-regexp-lax-whitespace is non-nil.
	(Info-mode): Don't set local variable search-whitespace-regexp.
	http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html

Stefan Monnier's avatar
Stefan Monnier committed
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
	(debugger-env-macro): Remove support for unread-command-char.

	* subr.el (set-temporary-overlay-map): Minimize slightly the impact of
	the temporary map re-appearing on emulation-mode-map-alists.

	* emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
	since 22.1.

	* ehelp.el (with-electric-help): Accept functions in
	electric-help-form-to-execute.
	(electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
	And replace unread-command-char -> unread-command-events.

Michael Albinus's avatar
Michael Albinus committed
243 244 245 246 247 248 249 250 251
2012-09-12  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.6.

	* net/tramp.el (tramp-accept-process-output): Don't use
	JUST-THIS-ONE in the XEmacs case.

	* net/trampver.el: Update release number.

252 253
2012-09-12  Martin Rudalics  <rudalics@gmx.at>

Stefan Monnier's avatar
Stefan Monnier committed
254 255
	* emacs-lisp/debug.el (debugger-previous-window-height):
	New variable.
256 257 258
	(debug): When debugger-jumping-flag is non-nil try to restore
	height of debugger window.  (Bug#8789)

259 260
2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>

261 262 263 264 265 266
	* emacs-lisp/edebug.el (edebug-enter): Don't mess with
	overriding-local-map and pre/post-command-hook here.
	(edebug-recursive-edit): Do it here instead (bug#12345).
	(edebug-outside-unread-command-char): Remove all uses of
	unread-command-char.

267 268 269
	* emacs-lisp/debug.el (debug): Don't bind debug-on-error since
	inhibit-debugger is bound instead.

270 271 272
2012-09-11  Bastien Guerry  <bzg@gnu.org>

	* subr.el (set-temporary-overlay-map): Add a docstring.
Juanma Barranquero's avatar
Juanma Barranquero committed
273
	(Bug#12346)
274

275 276
2012-09-11  Bastien Guerry  <bzg@gnu.org>

277
	* minibuffer.el (completion-table-subvert): Fix docstring.
Juanma Barranquero's avatar
Juanma Barranquero committed
278
	(Bug#12347)
279 280 281

2012-09-11  Bastien Guerry  <bzg@gnu.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
282
	* help-fns.el (describe-variable): Fix typo.  (Bug#12346)
283

284 285 286 287 288 289
2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 3.1
	(sql-db2-escape-newlines): New variable.
	(sql-escape-newlines-filter): Use it.

290 291 292 293
2012-09-10  Juanma Barranquero  <lekktu@gmail.com>

	* custom.el (custom-theme-load-confirm): Remove unneeded assignment.

294 295
2012-09-10  Dan Nicolaescu  <dann@gnu.org>

296 297
	* vc/diff-mode.el (diff-mode-menu):
	Bind diff-remove-trailing-whitespace.
298

299 300 301
2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
Juanma Barranquero's avatar
Juanma Barranquero committed
302 303
	(emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
	(emacs-lisp-byte-code-mode): New functions.
304 305 306 307 308 309 310 311 312
	(eval-sexp-add-defvars): Don't skip defvars in column >0.
	(eval-defun-2): Remove bogus interactive spec.
	(lisp-indent-line): Remove redundant whole-exp code, now done in
	indent-according-to-mode.
	(save-match-data): Remove redundant indent data.

	* emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
	Use `declare'.

313 314 315 316 317 318 319 320 321 322 323 324 325 326
2012-09-09  Juri Linkov  <juri@jurta.org>

	* replace.el (replace-regexp-lax-whitespace): New defcustom.
	(replace-lax-whitespace, query-replace-regexp)
	(query-replace-regexp-eval, replace-regexp): Doc fix.
	(perform-replace, replace-highlight): Let-bind
	isearch-lax-whitespace to replace-lax-whitespace and
	isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.

	* isearch.el (isearch-query-replace): Let-bind
	replace-lax-whitespace to isearch-lax-whitespace and
	replace-regexp-lax-whitespace to
	isearch-regexp-lax-whitespace.  (Bug#10885)

327 328 329 330
2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* eshell/em-unix.el (eshell/sudo): Explicitly drop return value.

331 332
2012-09-09  Alan Mackenzie  <acm@muc.de>

333 334 335 336
	* progmodes/cc-engine.el (c-state-cache-init):
	Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
	(c-record-parse-state-state):
	Record c-state-semi-nonlit-pos-cache\(-limit\)?.
337

338 339 340 341 342 343
2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>

	* register.el (register-separator): Rename from
	separator-register.  All uses changed.  Doc fix.
	(register): Fix version.

Chong Yidong's avatar
Chong Yidong committed
344 345 346 347 348 349 350 351 352 353 354 355 356 357 358
2012-09-09  Chong Yidong  <cyd@gnu.org>

	* replace.el (query-replace-map): Bind four new symbols for
	requesting window scrolling.

	* subr.el (y-or-n-p): Handle the window-scrolling bindings in
	query-replace-map (Bug#8948).

	* custom.el (custom-theme-load-confirm): Use y-or-n-p.

	* emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
	since they are now in query-replace-map.

	* window.el (scroll-other-window-down): Make the arg optional.

359 360 361 362 363
2012-09-09  Chong Yidong  <cyd@gnu.org>

	* files.el (hack-local-variables-confirm): Use quit-window to kill
	the *Local Variables* buffer.

364 365 366 367 368 369 370 371
2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
	not just expect to be at its beginning.  Adjust callees.
	Succeed when do-end block has no space before the pipe character.
	(ruby-brace-to-do-end): When the original block is one-liner,
	convert to multiline.  Reindent the result.

372 373 374 375 376 377 378 379 380 381
2012-09-08  Jambunathan K  <kjambunathan@gmail.com>

	* register.el (register): New group.
	(register-separator): New user option.
	(increment-register): Route it to `append-to-register', if
	register contains text.  Implication is that `C-x r +' can now be
	used for appending to a text register (bug#12217).
	(append-to-register, prepend-to-register): Add separator based on
	`register-separator.

382 383 384 385 386
2012-09-08  Alan Mackenzie  <acm@muc.de>

	AWK Mode: make auto-newline work when there's "==" in the pattern.
	* progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
	correctly.
387 388
	* progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
	Test more rigorously for "=" token.
389

390 391
2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>

392 393
	* progmodes/ruby-mode.el (ruby-match-expression-expansion):
	Only fail when reached LIMIT.
394

Chong Yidong's avatar
Chong Yidong committed
395 396 397 398 399 400
2012-09-08  Chong Yidong  <cyd@gnu.org>

	* dired.el (dired-mode-map): Don't bind M-=.

	* dired-aux.el (dired-diff): Use backup file as default.

401 402 403 404
2012-09-08  Drew Adams  <drew.adams@oracle.com>

	* subr.el (add-to-history): Fix delete usage (Bug#12314).

405 406 407 408
2012-09-08  Chong Yidong  <cyd@gnu.org>

	* subr.el (syntax-after, syntax-class): Doc fix.

409 410 411 412 413 414 415 416 417 418
2012-09-08  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-in-previous-window): New buffer
	display action function.

	* emacs-lisp/debug.el (debugger-bury-or-kill): New option.
	(debugger-previous-window): New variable.
	(debug): Rewrite using display-buffer-in-previous-window,
	quit-restore-window and debugger-bury-or-kill.  (Bug#8789)

419 420 421 422
2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.

423 424
2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)

425 426
	* progmodes/python.el (python-shell-send-string):
	When default-directory is remote, create temp file on remote
427 428 429 430
	filesystem.
	(python-shell-send-file): When file is remote, pass local view of
	file paths to remote Python interpreter.  (Bug#12340)

431 432
2012-09-07  Chong Yidong  <cyd@gnu.org>

433 434
	* window.el (switch-to-buffer): Doc fix (Bug#12181).

435 436 437
	* files.el (after-find-file): Don't fail on a read-only buffer if
	require-final-newline is `visit' or `visit-save' (Bug#11156).

438 439
	* subr.el (read-char-choice): Allow quitting via ESC ESC.

440 441
	* userlock.el (ask-user-about-supersession-threat):
	Use read-char-choice (Bug#12093).
442

443 444
2012-09-07  Chong Yidong  <cyd@gnu.org>

445 446 447 448 449 450 451 452
	* subr.el (buffer-narrowed-p): New function.

	* ses.el (ses-widen):
	* simple.el (count-words--buffer-message):
	* net/browse-url.el (browse-url-of-buffer): Use it

	* simple.el (count-words-region): Don't signal an error if there
	is a non-nil prefix arg and the mark is not set.
453

454 455 456
	* help.el (describe-key-briefly): Allow the message to be seen
	when invoked from the minibuffer (Bug#7014).

457 458 459 460 461
2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-end-of-defun)
	(ruby-beginning-of-defun): Simplify, allow indentation before
	block beginning and end keywords.
Dmitry Gutov's avatar
Dmitry Gutov committed
462 463 464
	(ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
	(ruby-end-of-defun): Expect that the point is at the beginning of
	the defun.
465

466 467 468 469 470 471
2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
	(bug#12367).
	(cl--make-usage-args): Strip _ from argument names.

472 473 474 475 476 477 478 479
2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
	obsolete alias speedbar-key-map.
	(vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
	(vhdl-index-menu-init): Don't use obsolete variable
	font-lock-maximum-size.

480 481 482 483
2012-09-06  Chong Yidong  <cyd@gnu.org>

	* frame.el (window-system-version): Mark as obsolete.

484 485 486
	* speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
	of obsolete variable speedbar-key-map.

487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504
2012-09-06  Juri Linkov  <juri@jurta.org>

	* replace.el (replace-lax-whitespace): New defcustom.
	(query-replace, query-replace-regexp, query-replace-regexp-eval)
	(replace-string, replace-regexp): Mention it in docstrings.
	(perform-replace, replace-highlight): Let-bind
	isearch-lax-whitespace and isearch-regexp-lax-whitespace according
	to the values of replace-lax-whitespace and regexp-flag.
	Don't let-bind search-whitespace-regexp.  (Bug#10885)

	* isearch.el (isearch-query-replace): Let-bind
	replace-lax-whitespace instead of let-binding
	replace-search-function and replace-re-search-function.
	(isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
	and isearch-regexp-lax-whitespace to lazy-highlight variables.
	(isearch-toggle-symbol): Set isearch-regexp to nil
	in isearch-word mode (like in isearch-toggle-word).

505 506 507 508 509 510 511 512 513 514 515 516 517 518
2012-09-06  Juri Linkov  <juri@jurta.org>

	* replace.el (replace-search-function)
	(replace-re-search-function): Set default values to nil.
	(perform-replace): Let-bind isearch-related variables based on
	replace-related values, call `isearch-search-fun' and let-bind
	the result to `search-function'.  Remove code that sets
	`search-function' and `search-string' separately for
	`delimited-flag'.
	(replace-highlight): Add new argument `delimited-flag' and
	rename other arguments to the names used in `perform-replace'.
	Let-bind `isearch-word' to the argument `delimited-flag'.
	(Bug#10885, bug#10887)

519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535
2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
	ruby-beginning-of-indent, simplify, allow all keywords to have
	indentation before them.
	(ruby-beginning-of-indent): Adjust for above.  Search until the
	found point is not inside a string or comment.
	(ruby-font-lock-keywords): Allow symbols to start with "@"
	character, give them higher priority than variables.
	(ruby-syntax-propertize-function)
	(ruby-font-lock-syntactic-keywords): Remove the "not comments"
	matchers.  Expression expansions are not comments when inside a
	string, and there comment syntax status is irrelevant.
	(ruby-match-expression-expansion): New function.  Check that
	expression expansion is inside a string, and it's not escaped.
	(ruby-font-lock-keywords): Use it.

536 537 538 539 540 541 542 543 544
2012-09-05  Martin Rudalics  <rudalics@gmx.at>

	* help.el (temp-buffer-max-height): New default value.
	(temp-buffer-resize-frames): New option.
	(resize-temp-buffer-window): Optionally resize frame.

	* window.el (fit-frame-to-buffer-bottom-margin): New option.
	(fit-frame-to-buffer): New function.

545
2012-09-05  Glenn Morris  <rgm@gnu.org>
546 547 548 549 550 551

	* emulation/cua-rect.el (cua--init-rectangles):
	* textmodes/picture.el (picture-mode-map):
	* play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
	like forward-char and backward-char.  (Bug#12317)

552
2012-09-05  Leo Liu  <sdl.web@gmail.com>
553 554 555 556

	* progmodes/flymake.el (flymake-warning-re): New variable.
	(flymake-parse-line): Use it.

557
2012-09-05  Glenn Morris  <rgm@gnu.org>
558 559 560 561

	* calendar/holidays.el (holiday-christian-holidays):
	Rename an entry.  (Bug#12289)

562
2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
563 564 565 566

	* progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
	(bug#12222).

567 568 569 570 571 572 573 574 575 576 577 578 579 580
2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* loadup.el: Load macroexp.  Remove hack.
	* emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
	(macroexp--expand-all): Use it to get better warnings.
	(macroexp--backtrace, macroexp--trim-backtrace-frame)
	(internal-macroexpand-for-load): New functions.
	(macroexp--pending-eager-loads): New var.
	(emacs-startup-hook): New hack to replace one in loadup.el.
	* emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
	(cl--compiler-macro-cXXr): Move to top, before they can be used.
	(cl-psetf): Simplify.
	(cl-defstruct): Add indent rule.

581 582 583 584 585 586
2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
	over `user-mail-address' for the SMTP MAIL FROM envelope.
	(smtpmail-via-smtp): Ditto.

587 588 589 590 591 592 593 594 595 596 597
2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el: Clean up keybindings.
	(ruby-mode-map): Don't bind ruby-electric-brace,
	ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
	backward-kill-word, reindent-then-newline-and-indent.
	(ruby-mark-defun): Remove.
	(ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
	(ruby-mode): Set local beginning-of-defun-function and
	end-of-defun-function values.

598 599 600 601 602 603
2012-09-03  Martin Rudalics  <rudalics@gmx.at>

	* window.el (temp-buffer-window-setup-hook)
	(temp-buffer-window-show-hook): New hooks.
	(temp-buffer-window-setup, temp-buffer-window-show)
	(with-temp-buffer-window): New functions.
604 605
	(fit-window-to-buffer): Remove unused optional argument OVERRIDE.
	(special-display-popup-frame): Make sure the window used shows BUFFER.
606 607 608 609 610 611 612

	* help.el (temp-buffer-resize-mode): Fix doc-string.
	(resize-temp-buffer-window): New optional argument WINDOW.

	* files.el (recover-file, save-buffers-kill-emacs):
	* dired.el (dired-mark-pop-up): Use with-temp-buffer-window.

613 614 615 616 617
2012-09-02  Michael Albinus  <michael.albinus@gmx.de>

	* eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
	remote definition of `default-directory', ensure we can connect.

618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648
2012-09-02  Juri Linkov  <juri@jurta.org>

	Toggle whitespace matching mode with M-s SPC.
	http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html

	* isearch.el (search-whitespace-regexp): Doc fix.
	Remove cons cell customization.
	(isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
	(isearch-lax-whitespace, isearch-regexp-lax-whitespace):
	New variables.
	(isearch-forward, isearch-forward-regexp): Doc fix.
	(isearch-toggle-lax-whitespace): New command.
	(search-forward-lax-whitespace, search-backward-lax-whitespace)
	(re-search-forward-lax-whitespace)
	(re-search-backward-lax-whitespace): New functions.
	(isearch-whitespace-regexp): Remove function.
	(isearch-query-replace): Let-bind replace-search-function and
	replace-re-search-function.
	(isearch-occur): Let-bind search-spaces-regexp according to the
	value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
	(isearch-quote-char): Check isearch-regexp-lax-whitespace in the
	condition for C-q SPC.
	(isearch-search-fun-default): Use new functions mentioned above.
	(isearch-search-forward, isearch-search-backward): Remove functions.
	(isearch-search): Don't let-bind search-spaces-regexp.
	(isearch-lazy-highlight-space-regexp): Remove variable.
	(isearch-lazy-highlight-lax-whitespace)
	(isearch-lazy-highlight-regexp-lax-whitespace): New variables.
	(isearch-lazy-highlight-new-loop): Use them.
	(isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.

649 650 651 652
2012-09-02  Chong Yidong  <cyd@gnu.org>

	* dired.el (dired-mode-map): Menu string fixes (Bug#11616).

653 654 655 656
2012-09-02  Glenn Morris  <rgm@gnu.org>

	* simple.el (undo): Tweak message in undo-only case.  (Bug#12283)

Glenn Morris's avatar
Glenn Morris committed
657 658 659 660 661 662 663 664 665 666 667 668
2012-09-01  Glenn Morris  <rgm@gnu.org>

	* term.el: Tidy up menu definitions.
	(term-mode-map): Use easymenu for In/Out, Complete menus.
	(term-pager-break-map): Initialize in the defvar.
	(term-terminal-menu, term-signals-menu): Define with easymenu.
	(term-terminal-menu): Also show it in line-mode.  (Bug#11957)
	(term-pager-menu): New, extracted from term-process-pager.
	(term-mode, term-char-mode, term-process-pager): Use easymenu-add.
	(term-update-mode-line): Propertize line/char and page items.
	(term-process-pager): Move keymap initialization elsewhere.

669 670 671 672 673 674 675 676 677 678 679 680
2012-09-01  Martin Rudalics  <rudalics@gmx.at>

	* window.el (switch-to-prev-buffer): Handle additional values of
	BURY-OR-KILL argument.  Don't switch in minibuffer window.
	(switch-to-next-buffer): Don't switch in minibuffer window.
	(quit-restore-window): New function based on quit-window.
	Handle additional values of former KILL argument.
	(quit-window): Call quit-restore-window with appropriate
	interpretation of KILL argument.
	(display-buffer-below-selected): New buffer display action
	function.

681 682 683 684 685
2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-at-point-functions): Complete docstring
	(bug#12254).

686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701
2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>

	Better seed support for (random).
	* play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
	* play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
	* play/mpuz.el, play/tetris.el, play/zone.el:
	* calc/calc-comb.el (math-init-random-base):
	* play/blackbox.el (bb-init-board):
	* play/life.el (life):
	* server.el (server-use-tcp):
	* type-break.el (type-break):
	Remove unnecessary call to (random t).
	* net/sasl.el (sasl-unique-id-function):
	Change (random t) to (random), now that the latter is more random.
	* play/life.el (life-initialized): Remove no-longer-needed var.

702 703 704 705 706 707
2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>

	* window.el (switch-to-prev-buffer, switch-to-next-buffer):
	Consider frame's buffer predicate when choosing the buffer.
	(Bug#12081)

708 709 710 711
2012-08-30  Richard Stallman  <rms@gnu.org>

	* simple.el (special-mode-map): Delete binding for `z'.

712 713 714 715
2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>

	* progmodes/compile.el (compilation-always-kill): Doc fix.

716 717 718 719 720
2012-08-30  Chong Yidong  <cyd@gnu.org>

	* window.el (display-buffer-reuse-frames): Make the obsolescence
	message more informative.

721 722 723 724 725
2012-08-30  Glenn Morris  <rgm@gnu.org>

	* paren.el (show-paren-delay):
	Add a :set function.  Doc fix.  (Bug#12297)

726 727 728 729 730
2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)

	* progmodes/compile.el (compilation-always-kill): New var.
	(compilation-start): Use it.

731 732
2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>

733 734 735
	* simple.el (read-only-mode): Move from files.el for bootstrapping.
	* files.el (read-only-mode): Move to simple.el.

736 737 738 739 740 741 742 743
	* files.el (read-only-mode): New minor mode.
	(toggle-read-only): Use it and mark obsolete.
	(find-file--read-only):
	* vc/vc.el (vc-next-action, vc-checkout):
	* vc/vc-cvs.el (vc-cvs-checkout):
	* obsolete/vc-mcvs.el (vc-mcvs-update):
	* ffap.el (ffap--toggle-read-only): Update callers.

744 745 746
2012-08-29  Michael Albinus  <michael.albinus@gmx.de>

	* eshell/esh-ext.el (eshell-external-command): Do not examine
747 748
	remote shell scripts.
	See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
749 750 751 752

	* net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
	"/usr/local/sbin".

753 754 755 756
2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).

757
2012-08-28  Leo Liu  <sdl.web@gmail.com>
Leo Liu's avatar
Leo Liu committed
758

Leo Liu's avatar
Leo Liu committed
759 760 761
	* progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
	completion-at-point.  (Bug#12220)

762 763
	* skeleton.el (skeleton-untabify): Change to nil (bug#12223).

Leo Liu's avatar
Leo Liu committed
764 765
	* progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).

766
2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
767

Chong Yidong's avatar
Chong Yidong committed
768 769
	* files.el (safe-local-eval-forms): Fix before-save-hook entry to
	be buffer-local; add delete-trailing-whitespace (bug#12259).
770

771
2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
772 773 774 775

	* progmodes/hideif.el (hif-compress-define-list):
	Fix typo.  (Bug#11951)

776
2012-08-28  Dan Nicolaescu  <dann@gnu.org>
777 778 779 780

	* progmodes/hideshow.el (hs-block-end-regexp): Restore lost
	buffer local setting.

781 782 783
	* net/rcirc.el (rcirc-split-message): Fix for buffer-local
	rcirc-encode-coding-system.

784
2012-08-28  Leo Liu  <sdl.web@gmail.com>
785 786 787 788

	* net/rcirc.el (rcirc-split-message): New function.
	(rcirc-send-message): Use it.  (Bug#12051)

789 790 791 792 793
2012-08-28  Juri Linkov  <juri@jurta.org>

	* info.el (Info-fontify-node): Hide empty lines at the end of
	the node.  (Bug#12272)

794 795 796 797 798
2012-08-27  Drew Adams  <drew.adams@oracle.com>

	* dired.el (dired-pop-to-buffer): Make window start at beginning
	of buffer (Bug#12281).

799 800 801 802 803 804 805 806 807 808 809
2012-08-26  Chong Yidong  <cyd@gnu.org>

	* window.el (special-display-regexps, special-display-frame-alist)
	(special-display-buffer-names, special-display-function)
	(display-buffer-reuse-frames): Mark as obsolete.

	* progmodes/compile.el: Don't use display-buffer-reuse-frames.

	* help.el (help-print-return-message): Don't treat
	display-buffer-reuse-frames specially.

810 811
2012-08-26  Chong Yidong  <cyd@gnu.org>

812 813
	* progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
	New variable, replacing gdb-frame-parameters.
814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835
	(gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
	(gdb-frame-threads-buffer, gdb-frame-memory-buffer)
	(gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
	(gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
	(def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
	the functions directly with gdb-display-buffer-other-frame-action.
	(gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
	(gdb-display-memory-buffer, gdb-display-disassembly-buffer)
	(gdb-display-stack-buffer, gdb-display-locals-buffer)
	(gdb-display-registers-buffer): Define directly.
	(def-gdb-display-buffer): Macro deleted.
	(gdb-display-buffer): Remove second and third args, callers don't
	use them.  Defer to the default display-buffer behavior, apart
	from making windows dedicated.
	(gdb-setup-windows): Don't call display-buffer unnecessarily.

	* progmodes/gud.el (gud-display-line): Just use display-buffer.

	* window.el (display-buffer-pop-up-frame): Handle a
	pop-up-frame-parameters alist entry.
	(display-buffer): Document it.

836 837 838 839 840 841 842 843 844 845 846
2012-08-26  Chong Yidong  <cyd@gnu.org>

	* isearch.el (search-whitespace-regexp): Make string and nil
	values apply to both ordinary and regexp search.  Allow a cons
	cell value to distinguish between the two.
	(isearch-whitespace-regexp, isearch-search-forward)
	(isearch-search-backward): New functions.
	(isearch-occur, isearch-search-fun-default, isearch-search)
	(isearch-lazy-highlight-new-loop): Use them.
	(isearch-forward, isearch-forward-regexp): Doc fix.

847 848 849 850 851
2012-08-26  Chong Yidong  <cyd@gnu.org>

	* faces.el (help-argument-name): Always inherit from italic
	(Bug#12213).

852 853 854 855 856 857 858
2012-08-25  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window--even-window-heights): Even heights when
	WINDOW and the selected window form a vertical combination.
	(display-buffer-use-some-window): Provide that window used gets
	sized back by quit-window.  (Bug#11880) and (Bug#12091)

859 860 861 862 863 864 865
2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>

	Fix file time stamp problem with bzr and CVS (Bug#12001).
	* vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
	in the file's time stamp, since the version control system loses
	that information.

866 867 868 869 870
2012-08-22  Juri Linkov  <juri@jurta.org>

	* info.el (Info-fontify-node): Hide the suffix of the
	Info file name in the header line.  (Bug#12187)

871 872 873 874 875
2012-08-22  Glenn Morris  <rgm@gnu.org>

	* calendar/cal-tex.el (cal-tex-weekly-common):
	Restore leading blank page.

Glenn Morris's avatar
Glenn Morris committed
876
2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
877 878

	* misc.el (forward-to-word, backward-to-word): Activate or extend
Glenn Morris's avatar
Glenn Morris committed
879 880 881
	the region under `shift-select-mode'.  (Bug#12231)

2012-08-22  Bastien Guerry  <bzg@gnu.org>
882 883 884 885 886

	* progmodes/executable.el (executable-prefix): Set to "#!" instead
	of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
	gives details on why the space is never needed.

887 888
2012-08-22  Martin Rudalics  <rudalics@gmx.at>

889 890
	* window.el (walk-window-tree, window-with-parameter):
	New optional argument MINIBUF to control whether these functions
891 892 893
	should run on the minibuffer window.
	(window-at-side-list): Don't operate on minibuffer window.
	(window-in-direction): Simplify and rewrite doc-string.
894 895
	(window--size-ignore): Rename to window--size-ignore-p.
	Update callers.
896 897
	(display-buffer-in-atom-window, window--major-non-side-window)
	(window--major-side-window, display-buffer-in-major-side-window)
898 899
	(delete-side-window, display-buffer-in-side-window):
	New functions.
900 901 902 903 904
	(window--side-check, window-deletable-p, delete-window)
	(delete-other-windows, split-window): Handle side windows and
	atomic windows appropriately.
	(window--display-buffer): Call display-buffer-record-window also
	when the window buffer did not change.
905

906 907 908 909 910
2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>

	* help-fns.el (help-fns--key-bindings):
	Abbreviate non-symbol remap targets.  (Bug#12174)

911 912 913 914 915
2012-08-22  Martin Rudalics  <rudalics@gmx.at>

	* dired.el (dired-mark-remembered): Don't clobber point.
	(Bug#11795)

916 917 918 919 920
2012-08-22  Glenn Morris  <rgm@gnu.org>

	* progmodes/bug-reference.el (bug-reference): New custom group.
	(bug-reference-bug-regexp): Make it a defcustom.

921 922 923 924 925 926
2012-08-22  Daiki Ueno  <ueno@unixuser.org>

	* progmodes/js.el (js-indent-level, js-expr-indent-offset)
	(js-paren-indent-offset, js-square-indent-offset)
	(js-curly-indent-offset): Add :safe (Bug#12257).

927 928 929 930 931 932 933
2012-08-22  Edward O'Connor  <hober0@gmail.com>

	* json.el (json-key-format): Add error properties.
	(json-encode-key): New function.
	(json-encode-hash-table, json-encode-alist, json-encode-plist):
	Use json-encode-key.

Glenn Morris's avatar
Glenn Morris committed
934 935 936 937 938 939 940
2012-08-22  Glenn Morris  <rgm@gnu.org>

	* calendar/cal-tex.el (cal-tex-longday): New function, replacing...
	(cal-tex-leftday, cal-tex-rightday): Remove functions.
	(cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
	Update for above change.

Andreas Schwab's avatar
Andreas Schwab committed
941 942 943 944 945
2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>

	* cus-face.el (custom-face-attributes): Fix customize type for the
	:underline attribute.  (Bug#11805)

946 947 948 949 950
2012-08-21  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-point-1, set-window-point-1): Remove.
	(window-in-direction, record-window-buffer)
	(set-window-buffer-start-and-point, split-window-below)
951 952
	(window--state-get-1, display-buffer-record-window):
	Replace calls to window-point-1 and set-window-point-1 by calls to
953 954
	window-point and set-window-point respectively.

Glenn Morris's avatar
Glenn Morris committed
955 956
2012-08-21  Glenn Morris  <rgm@gnu.org>

957 958 959 960
	* calendar/cal-tex.el (cal-tex-weekly-common): New function.
	(cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
	Use it.

961 962 963 964 965
	* calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
	(cal-tex-shortday): New function.
	(cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
	(cal-tex-cursor-filofax-daily): Use the above.

966 967 968 969 970
	* calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
	New functions.
	(cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
	(cal-tex-cursor-filofax-week): Use them.

971 972 973 974 975
	* calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
	New constants.
	(cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
	(cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.

976 977 978
	* calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
	(cal-tex-end-document): Don't rely on buffer name.

Glenn Morris's avatar
Glenn Morris committed
979 980 981 982
	* calendar/cal-tex.el (cal-tex-cursor-filofax-year):
	Use cal-tex-vspace.
	(cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
	(cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
Glenn Morris's avatar
Glenn Morris committed
983 984
	(cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
	Use cal-tex-arg.
Glenn Morris's avatar
Glenn Morris committed
985

Glenn Morris's avatar
Glenn Morris committed
986 987 988 989 990 991 992 993 994
	* calendar/cal-tex.el (cal-tex-cursor-filofax-year)
	(cal-tex-cursor-week, cal-tex-cursor-week2)
	(cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
	(cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
	(cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
	(cal-tex-insert-preamble, cal-tex-b-document)
	(cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
	Improve cal-tex-cmd usage.

995 996 997 998 999 1000 1001 1002
	* calendar/cal-tex.el (cal-tex-filofax-paper): New function.
	(cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
	(cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
	(cal-tex-weekly-paper): New function.
	(cal-tex-cursor-week, cal-tex-cursor-week2)
	(cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
	(cal-tex-cursor-day): Use it.

1003 1004 1005
	* calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
	(cal-tex-cursor-filofax-week): Remove leading blank page.

1006 1007 1008 1009
	* calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
	Add autoload cookie.  For now at least, don't use color, since
	no other cal-tex function does.

Glenn Morris's avatar
Glenn Morris committed
1010 1011 1012 1013
	* calendar/cal-tex.el (cal-tex-cursor-week-iso)
	(cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
	(cal-tex-cursor-filofax-daily): Correct start date for diary entries.

1014 1015 1016 1017 1018 1019 1020 1021 1022 1023
2012-08-21  Juri Linkov  <juri@jurta.org>

	* info.el (Info-file-attributes): New variable.
	(info-insert-file-contents): Add file attributes to
	`Info-file-attributes'.  Clear the caches `Info-index-nodes' and
	`Info-toc-nodes' when previous modtime of the Info file is less
	than new modtime.
	(Info-toc-nodes, Info-index-nodes): Move definitions up to the top
	of info.el.  (Bug#12230)

1024 1025 1026 1027 1028 1029
2012-08-20  Glenn Morris  <rgm@gnu.org>

	* calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
	* calendar/holidays.el (calendar-holiday-list):
	Report errors with display-warning rather than beep'n'sleep.

1030 1031 1032 1033 1034 1035
2012-08-20  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-accept-process-output): Accept only output
	from PROC.  Otherwise, process filters and sentinels might be
	confused.  (Bug#12145)

1036 1037 1038 1039 1040
2012-08-20  Chong Yidong  <cyd@gnu.org>

	* descr-text.el (describe-text-properties-1): Use overlays-in to
	report on empty overlays (Bug#3322).

1041 1042
2012-08-20  Glenn Morris  <rgm@gnu.org>

1043 1044 1045
	* mail/rmailout.el (rmail-output-read-file-name):
	Trap and report errors in rmail-output-file-alist elements.

1046 1047 1048
	* font-lock.el (font-lock-add-keywords): Doc fix (quote face names
	since most non-font-lock faces are not also variables).

1049 1050 1051 1052 1053
2012-08-20  Edward Reingold  <reingold@iit.edu>

	* calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
	New function.  (Bug12160)

1054 1055 1056 1057 1058
2012-08-19  Glenn Morris  <rgm@gnu.org>

	* mail/rmailout.el (rmail-output-read-file-name):
	Fix previous change (when the alist is nil or does not match).

1059 1060 1061 1062 1063
2012-08-19  Chong Yidong  <cyd@gnu.org>

	* xml.el (xml-escape-string): Don't refer to xml-entity-alist
	(Bug#12228).

1064 1065 1066 1067 1068 1069
2012-08-18  Chong Yidong  <cyd@gnu.org>

	* simple.el (yank-handled-properties): New defcustom.
	(yank-excluded-properties): Add font-lock-face and category.
	(yank): Doc fix.

1070 1071
	* subr.el (remove-yank-excluded-properties):
	Obey yank-handled-properties.  The special handling of font-lock-face
1072 1073 1074 1075 1076
	and category is now done this way, instead of being hard-coded.
	(insert-for-yank-1): Remove font-lock-face handling.
	(yank-handle-font-lock-face-property)
	(yank-handle-category-property): New function.

1077 1078 1079 1080 1081 1082
2012-08-17  Glenn Morris  <rgm@gnu.org>

	* mail/rmailout.el (rmail-output-read-file-name):
	Check rmail-output-file-alist against the full message body
	in the correct rmail buffer.  (Bug#12214)

1083 1084
2012-08-17  Michael Albinus  <michael.albinus@gmx.de>

1085 1086
	* net/tramp-sh.el (tramp-sh-handle-start-file-process):
	Eliminate superfluous prompt.  (Bug#12203)
1087

1088 1089 1090 1091 1092
2012-08-17  Chong Yidong  <cyd@gnu.org>

	* mouse.el (mouse-appearance-menu): If x-select-font returns a
	font spec, set the font directly (Bug#3228).

1093 1094 1095 1096
2012-08-17  Martin Rudalics  <rudalics@gmx.at>

	* window.el (delete-window): Fix last fix.

1097 1098 1099
2012-08-16  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-valid-p): Move to window.c.
1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112
	(window-child, window-child-count, window-last-child)
	(window-normalize-window, window-combined-p)
	(window-combinations, window-atom-root, window-min-size)
	(window-sizable, window-sizable-p, window-size-fixed-p)
	(window-min-delta, window-max-delta, window--resizable)
	(window--resizable-p, window-resizable, window-total-size)
	(window-full-height-p, window-full-width-p, window-body-size)
	(window-at-side-p, adjust-window-trailing-edge, maximize-window)
	(minimize-window, window-deletable-p, delete-window)
	(delete-other-windows, set-window-buffer-start-and-point)
	(next-buffer, previous-buffer, split-window, balance-windows-2)
	(set-window-text-height, window-buffer-height)
	(fit-window-to-buffer, shrink-window-if-larger-than-buffer)
1113 1114
	(truncated-partial-width-window-p): Minor code adjustments.
	In doc-strings state whether the argument window has to denote a
1115
	live, valid or any window.
1116

1117 1118 1119 1120 1121 1122 1123 1124 1125
2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)

	* progmodes/subword.el (subword-forward-function)
	(subword-backward-function, subword-forward-regexp)
	(subword-backward-regexp): New variables.
	(subword-forward, subword-forward-internal, subword-backward-internal):
	Use new variables, eg so that different "word" definitions
	can be easily used.  (Bug#11411)

1126 1127 1128 1129 1130 1131 1132
2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
	for composite selectors.
	* vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
	operation just because we can't find a previous revision.

1133 1134 1135 1136
2012-08-15  Chong Yidong  <cyd@gnu.org>

	* frame.el (set-frame-font): Accept font objects.

1137 1138 1139 1140
2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).

1141 1142
2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>

1143 1144 1145 1146 1147 1148 1149 1150 1151
	* man.el (Man-overstrike-face, Man-underline-face)
	(Man-reverse-face): Remove variables.
	(Man-overstrike, Man-underline, Man-reverse): New faces.
	(Man-fontify-manpage): Use them instead of the variables.
	(Man-cleanup-manpage): Comment change.
	(Man-ansi-color-map): New variable.
	(Man-fontify-manpage): Use it.
	Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).

1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164
	Implement ANSI SGR parameters 22-27 (bug#12146).
	* ansi-color.el (ansi-colors): Doc fix.
	(ansi-color-context, ansi-color-context-region): Doc fix.
	(ansi-color--find-face): New function.
	(ansi-color-apply, ansi-color-apply-on-region): Use it.
	Rename the local variable `face' to `codes' since it is now a list of
	ansi codes.  Doc fix.
	(ansi-color-get-face): Remove.
	(ansi-color-parse-sequence): New function, derived from
	ansi-color-get-face.
	(ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
	codes 22-27.

1165 1166 1167 1168
2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (read-passwd): Allow use from a minibuffer.

1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183
2012-08-14  Eli Zaretskii  <eliz@gnu.org>

	* tooltip.el (tooltip-identifier-from-point): Don't treat tokens
	inside comments and strings as identifiers.

	* progmodes/gud.el (gud-tooltip-print-command): Quote the
	expression to evaluate.  This allows to evaluate expressions with
	embedded whitespace.
	(gud-tooltip-tips): Add a blank before the newline in the
	message-box text, for the benefit of message-box emulation on
	MS-Windows.

	* progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
	messages from GDB, pop them up in a tooltip to give feedback to
	user.
1184 1185
	(gdb-tooltip-print-1): Quote the expression to evaluate.
	This allows to evaluate expressions with embedded whitespace.
1186 1187 1188 1189 1190 1191
	(gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
	if the TTY name is nil or empty (which happens when communicating
	with the inferior via pipes, e.g. on MS-Windows).
	(gdb-internals): If GDB sends a "&\n" empty debugging message,
	don't send that to the GUD buffer.

1192 1193 1194 1195 1196
2012-08-14  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-setq-default):
	Optimize away setq-default with no args, as for setq.  (Bug#12195)

Chong Yidong's avatar
Chong Yidong committed
1197 1198
2012-08-14  Chong Yidong  <cyd@gnu.org>

Chong Yidong's avatar
Chong Yidong committed
1199 1200
	* minibuffer.el (read-file-name): Doc fix (Bug#10881).

Chong Yidong's avatar
Chong Yidong committed
1201 1202 1203
	* emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
	(Bug#12085).

1204 1205 1206 1207
2012-08-14  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.

1208 1209 1210 1211 1212 1213
2012-08-14  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-open-shell): Cache the shell name.
	(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
	Use cached shell name.

1214 1215 1216
2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (python-shell-send-string):
1217
	(python-shell-send-setup-code): Do not use `format' with `message'.
1218

1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230
2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el: Improve percent literals (bug#6286).
	(ruby-percent-literal-beg-re): New constant.
	(ruby-syntax-general-delimiters-goto-beg): Rename to
	`ruby-syntax-enclosing-percent-literal', improve literal type check.
	(ruby-syntax-propertize-general-delimiters): Rename to
	`ruby-syntax-propertize-percent-literal', it's a shorter and more
	popular term.  Adjust comments everywhere.
	(ruby-syntax-propertize-percent-literal): Only propertize when not
	inside a simple string or comment.  When the literal is unclosed,
	leave the text after it unpropertized.
1231 1232 1233
	(ruby-syntax-methods-before-regexp): New constant.
	(ruby-syntax-propertize-function): Use it to recognize regexps.
	Don't look at the text after regexp, just use the whitelist.
1234

Andreas Schwab's avatar
Andreas Schwab committed
1235 1236 1237 1238 1239
2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>

	* emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
	non-nil always load the compiled file if it exists.  (Bug#12197)

1240 1241 1242 1243 1244 1245 1246 1247 1248
2012-08-14  Chong Yidong  <cyd@gnu.org>

	* hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
	(hi-lock-set-pattern): When deciding whether to use font lock or
	overlays, look at font-lock-mode instead of font-lock-fontified
	(Bug#12168).
	(hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
	(hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.

1249 1250 1251 1252 1253
2012-08-14  Daiki Ueno  <ueno@unixuser.org>

	* subr.el (internal--after-with-selected-window): Fix typo
	(Bug#12193).

1254 1255 1256 1257 1258
2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>

	Use `completion-table-dynamic' for completion functions.
	* progmodes/python.el
	(python-shell-completion--do-completion-at-point)
1259 1260
	(python-shell-completion--get-completions):
	Remove functions.
1261 1262 1263
	(python-shell-completion-complete-at-point): New function.
	(python-completion-complete-at-point): Use it.

1264 1265 1266 1267 1268
2012-08-13  Jambunathan K  <kjambunathan@gmail.com>

	* vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
	(vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.

1269 1270
2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>

1271 1272 1273 1274 1275
	* subr.el (function-get): Refine `autoload' arg so it can also
	autoload functions for gv.el (bug#12191).
	* emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
	autoloads macros.

1276 1277 1278 1279 1280 1281
	* color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
	Prefer pcase-let over destructuring-bind.
	* vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
	Also, remove whitespace as we go, rather than after accumulating the
	various places.

1282 1283 1284 1285 1286
	* subr.el (internal--before-with-selected-window)
	(internal--after-with-selected-window): Fix typo seleted->selected.
	(with-selected-window): Adjust callers.
	Reported by Dmitry Gutov <dgutov@yandex.ru>.

1287 1288
2012-08-13  Bastien Guerry  <bzg@gnu.org>

1289
	* window.el (special-display-popup-frame): Minor docstring
1290 1291
	enhancement.  (Bug#12172)

1292 1293
2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>

1294 1295 1296 1297 1298
	* tar-mode.el (tar-header-data-end): Only ignore size for files of
	type 1-6.
	(tar-header-block-summarize, tar-get-descriptor): Handle pax
	extended headers.

1299 1300
	* files.el (hack-local-variables-filter): Remove useless eval.

1301 1302 1303 1304
2012-08-13  Martin Rudalics  <rudalics@gmx.at>

	* subr.el (with-selected-window): Fix last change.

1305 1306 1307 1308
2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (internal--before-with-seleted-window)
	(internal--after-with-seleted-window): New functions.
1309 1310
	(with-selected-window): Use them, to replace dependency on
	tty-top-frame.
1311

1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322
2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
	binding for `newline'.
	(ruby-move-to-block): When moving backward, stop at block opening,
	not indentation.
	* progmodes/ruby-mode.el (ruby-brace-to-do-end)
	(ruby-do-end-to-brace, ruby-toggle-block): New functions.
	* progmodes/ruby-mode.el (ruby-mode-map): Add binding for
	`ruby-toggle-block'.

1323 1324 1325 1326 1327 1328 1329 1330
2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* ibuffer.el (ibuffer-do-toggle-read-only):
	* dired.el (dired-toggle-read-only):
	* buff-menu.el (Buffer-menu-toggle-read-only):
	* bindings.el (mode-line-toggle-read-only):
	* bs.el (bs-toggle-readonly): Call toggle-read-only interactively.

1331 1332 1333 1334 1335
2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>

	* descr-text.el (describe-char): Put the overlays over the
	"displayed as" character.

1336 1337 1338 1339 1340 1341 1342 1343 1344
2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (math-default-units-table): Give an
	initial value.
	(math-put-default-units): Add options to put composite units and
	unit systems in the default units table.
	(calc-convert-units): Send composite units to
	`math-put-default-units' when appropriate.

Glenn Morris's avatar
Glenn Morris committed
1345
2012-08-11  Glenn Morris  <rgm@gnu.org>
1346

1347 1348
	* emacs-lisp/copyright.el (copyright-update-directory): Logic fix.

1349 1350 1351 1352 1353
	* tutorial.el (help-with-tutorial):
	* emacs-lisp/copyright.el (copyright-update-directory):
	* emacs-lisp/autoload.el (autoload-find-generated-file)
	(autoload-find-file): Disable local eval: (for insurance).

1354 1355 1356
	* files.el (hack-local-variables-filter): If an eval: form is not
	known to be safe, and enable-local-variables is :safe, then ignore
	the form totally, as is done for non-eval forms.  (Bug#12155)
Glenn Morris's avatar
Glenn Morris committed
1357
	This is CVE-2012-3479.
1358

1359 1360 1361 1362 1363
2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/rx.el (rx-constituents): Don't define as constant.
	(rx-form): Simplify.

1364 1365
2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>

1366 1367 1368 1369 1370 1371 1372 1373
	* progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
	?, _, and : are symbol constituents, ! is not (but kinda should be).
	(ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
	(ruby-syntax-propertize-function): Adjust for changes in
	`ruby-syntax-propertize-heredoc'.

2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>

1374 1375 1376
	* progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
	binding (use `M-;' instead).
	(ruby-singleton-class-p): New function.
1377
	(ruby-expr-beg, ruby-in-here-doc-p) Use it.
1378

1379 1380 1381 1382
2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.

1383 1384 1385 1386 1387 1388 1389 1390 1391 1392
2012-08-10  Chong Yidong  <cyd@gnu.org>

	* progmodes/python.el (python-shell-get-process-name): Don't mess
	with same-window-buffer-names.

	* eshell/eshell.el (eshell-add-to-window-buffer-names)
	(eshell-remove-from-window-buffer-names): Make obsolete.
	(eshell-buffer-name, eshell-unload-hook): Don't use them.
	(eshell): Just use pop-to-buffer-same-window instead.

1393 1394 1395 1396 1397 1398 1399 1400
2012-08-10  Chong Yidong  <cyd@gnu.org>

	* bindings.el: Bind M-= back to count-words-region.

	* simple.el (count-words-region): Accept a prefix arg for acting
	on the entire buffer.
	(count-words--buffer-message): New helper function.

1401 1402 1403 1404 1405 1406 1407 1408 1409
2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
	* subr.el (eventp): `nil' is not an event, and eventp is not hot.
	(event-start, event-end): Use posn-at-point to return a more
	informative posn.
	(posnp): New function.
	* mouse.el (popup-menu-normalize-position): Use it.

1410 1411 1412 1413 1414 1415 1416 1417 1418 1419
2012-08-10  Masatake YAMATO  <yamato@redhat.com>

	* mouse.el (popup-menu-normalize-position): New function.
	(popup-menu): Use `popup-menu-normalize-position' to normalize
	the form for POSITION argument.

	* term/x-win.el (x-menu-bar-open):
	Use the value returend from (posn-at-point) as position
	passed to `popup-menu'.

1420 1421 1422 1423 1424 1425 1426
2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calccomp.el (math-compose-expr): Add extra argument
	indicating that parentheses should be put around products in
	denominators.  Give multiplication precedence over division during
	composition.

1427 1428
2012-08-09  Chong Yidong  <cyd@gnu.org>

1429 1430 1431 1432 1433
	* man.el (Man-switches, Man-sed-command, Man-awk-command)
	(Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
	(Man-untabify-command, manual-program): Convert to defcustom
	(Bug#10429).

1434 1435
	* vc/add-log.el (change-log-mode): Bind comment-start to nil.

1436 1437