ChangeLog 891 KB
Newer Older
1 2
2013-02-16  Glenn Morris  <rgm@gnu.org>

3 4 5 6 7 8 9 10 11 12
	* image.el (image-animated-types): Remove.
	(image-multi-frame-p): Rename from image-animated-p, and generalize.
	(image-animated-p): Make obsolete alias.
	(image-animate, image-nth-frame, image-animate-timeout):
	Use image-multi-frame-p.
	(image-animate-timeout): If no delay, use image-default-frame-delay.
	* image-mode.el (image-mode, image-toggle-animation):
	Use image-multi-frame-p.  (Bug#763, bug#10739)
	(image-mode): Adjust startup message for a multi-frame image.

13 14
	* image-mode.el (image-mode-map): Give it a menu.

15 16 17 18 19 20 21 22 23 24 25
2013-02-16  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cache.el (tramp-connection-properties): New customer
	option.
	(tramp-get-connection-property): Use it.

	* net/tramp-compat.el (top): Require 'trampver.

	* net/tramp-sh.el (tramp-remote-process-environment): Set
	tramp-autoload cookie.

26 27 28 29 30
2013-02-16  Kevin Ryde  <user42@zip.com.au>

	* info-look.el (info-lookup-select-mode): If major-mode has no
	info-lookup-alist entry then search up derived-mode-parent (bug#8660).

31 32 33 34 35 36
2013-02-16  Jambunathan K  <kjambunathan@gmail.com>

	* replace.el (read-regexp): Tighten the regexp that matches tag.
	When tag is retrieved with `find-tag-default', use regexp that
	matches tag at point.  Also update docstring (Bug#13687).

37 38 39 40 41 42
2013-02-16  Eli Zaretskii  <eliz@gnu.org>

	* autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
	add watch for the file, not its parent directory, since w32notify
	sets up the watch for the directory internally.  (Bug#13725)

43 44
2013-02-16  Glenn Morris  <rgm@gnu.org>

45 46 47 48 49
	* image.el (image-default-frame-delay): New variable.
	(image-animated-p): Use image-default-frame-delay.
	(image-minimum-frame-delay): New constant.
	(image-animate-timeout): Use image-minimum-frame-delay.

50 51 52 53 54 55
	* image.el (image-nth-frame): New, split from image-animate-timeout.
	(image-animate-timeout): Use image-nth-frame.
	* image-mode.el (image-goto-frame, image-next-frame)
	(image-previous-frame): New commands.
	(image-mode-map): Add new frame commands.

56 57 58 59 60
2013-02-16  Jonas Bernoulli  <jonas@bernoul.li>

	* emacs-lisp/tabulated-list.el (tabulated-list-print-col):
	If col-desc already has help-echo, use it.  (Bug#13563)

61 62
2013-02-16  Glenn Morris  <rgm@gnu.org>

63 64 65 66 67
	* image.el (image-current-frame): New variable.
	(image-animate-timeout): Set image-current-frame.
	* image-mode.el (image-mode): For animated images,
	display a frame counter via mode-line-process.

68 69
	* font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.

70 71 72 73
2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (eval-expression): Let `exp' set the mark (bug#13724).

74 75 76 77 78 79
2013-02-15  Alan Mackenzie  <acm@muc.de>

	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
	global minor mode has been enabled, call the minor mode function
	for a new buffer once only, after the major mode hook, whilst
	allowing that hook explicitly to disable the minor mode.
80 81
	(MODE-disable-in-buffer): New (generated) function.
	(disable-MODE): New (generated) buffer local variable.
82

Jambunathan K's avatar
Jambunathan K committed
83 84 85 86 87 88 89 90 91 92
2013-02-15  Jambunathan K  <kjambunathan@gmail.com>

	* iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
	`iswitchb-next-match' and `iswitchb-prev-match' resply.
	* ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
	`ido-next-match' and `ido-prev-match' resply.
	* icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
	Bind `C-.' and `C-,' to `icomplete-forward-completions' and
	`icomplete-backward-completions' (Bug#13708).

93
2013-02-15  Glenn Morris  <rgm@gnu.org>
94 95 96

	* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.

97
2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
98 99 100 101 102

	* net/goto-addr.el (goto-address-fontify): Add start and end args.
	(goto-address-fontify-region): Use them instead of narrowing, so
	syntax-ppss has access to the whole buffer.

103
2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
104 105 106 107 108 109

	* progmodes/python.el: Explain how to restore "cc-mode"-like
	forward-sexp movement in header documentation (Bug#13642).
	(python-nav--forward-sexp): Behave like emacs-lisp-mode in
	comments and strings (GH bug 114).

110
2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
111 112 113 114

	* progmodes/python.el (python-info-current-defun): Fix current
	defun detection (Bug#13618).

115
2013-02-15  Chong Yidong  <cyd@gnu.org>
116 117 118 119

	* xml.el (xml-parse-string): Fix typo in handling of bad character
	references.

120 121 122 123
2013-02-15  Glenn Morris  <rgm@gnu.org>

	* play/fortune.el (fortune-compile): Simplify and fix previous change.

124 125
2013-02-14  Michael Albinus  <michael.albinus@gmx.de>

126 127
	* net/tramp.el (tramp-debug-message):
	Add `tramp-condition-case-unless-debug'.
128 129 130 131
	(tramp-debug-on-error): New defvar.
	(tramp-condition-case-unless-debug): New defun.
	(tramp-file-name-handler): Use it.

132 133 134 135 136 137
2013-02-14  Juri Linkov  <juri@jurta.org>

	* info.el (Info-isearch-filter): Treat non-nil values of
	`search-invisible' including its default value `open'
	like the value `t' to match hidden text.  (Bug#13402)

138 139 140 141 142
2013-02-14  Glenn Morris  <rgm@gnu.org>

	* help-fns.el (find-lisp-object-file-name): Give special treatment
	to all ~/.foo.elc files, not just ~/.emacs.  (Bug#9007)

143 144 145 146 147
2013-02-14  David Biesack  <sasdjb@d72933.na.sas.com>  (tiny change)

	* net/quickurl.el (quickurl-save-urls):
	Ensure quickurl-urls is not truncated on printing.  (Bug#9276)

148 149 150 151 152 153
2013-02-14  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
	depth for unfinished percent literal.  Not using it in the caller.
	(ruby-move-to-block): Jump over multiline literals of all types,
	ignoring code-looking contents inside them.
154 155 156
	(ruby-add-log-current-method): Improve performance at the expense
	of accuracy.  `ruby-block-contains-point' is relatively slow, so
	only use it for method and singleton class blocks.
157

158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
2013-02-13  Michael Albinus  <michael.albinus@gmx.de>

	Use ControlMaster where applicable.  (Bug#13677)

	* net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
	replacing `tramp-detect-ssh-controlmaster'.
	(tramp-default-method): Use it.

	* net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
	[rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
	arguments.
	[scpc, rsyncc]: Remove methods.
	(top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
	and "ssh2_old".
	(tramp-do-copy-or-rename-file-out-of-band):  Change trace level.
	(tramp-maybe-open-connection): Reuse tmpfile for ControlPath.

175 176 177 178
2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package--initialized): Move before first use.

179 180 181 182 183 184 185
2013-02-13  Jambunathan K  <kjambunathan@gmail.com>

	* icomplete.el (icomplete-hide-common-prefix):  New user option.
	(icomplete-first-match): New face.
	(icomplete-completions): Correct handling of "complete but not
	unique" (Bug#12638).

186 187 188 189
2013-02-13  YE Qianchuan  <stool.ye@gmail.com>  (tiny change)

	* descr-text.el (describe-char): Display the script (bug#13698).

190 191 192 193 194 195 196 197
2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* tmm.el: Use lexical-binding and current-active-maps.
	(tmm-menubar): Use map-keymap and pcase.
	(tmm--completion-table): New function.
	(tmm-prompt): Use it to fix the menu order.
	(tmm-get-keybind): Use current-active-maps.

198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
2013-02-12  Christopher Schmidt  <christopher@ch.ristopher.com>

	Add dired-hide-details-mode.  (Bug#6799)

	* locate.el (locate-mode): Set parent mode property to dired-mode.

	* find-dired.el (find-dired): Call dired-insert-set-properties on
	initial information line.  Set process mark on end of buffer.
	(find-dired-sentinel):
	Call dired-insert-set-properties on summary.

	* dired.el (dired-hide-details-hide-symlink-targets)
	(dired-hide-details-hide-information-lines): New options.
	(dired-insert-directory):
	Set properties after final treatment of output.
	(dired-insert-set-properties):
	Set dired-hide-details-* properties.
	(dired-mode-map): Bind dired-hide-details-mode.
	(dired-mode): Set buffer-invisibility-spec to a list.
	(dired-next-line): Skip hidden lines.
	(dired-previous-line): Use dired-next-line.
	(dired-hide-details-mode): New minor mode.
	(dired-hide-details-update-invisibility-spec): New function.

Glenn Morris's avatar
Glenn Morris committed
222 223 224 225
2013-02-13  Glenn Morris  <rgm@gnu.org>

	* play/yow.el: Move to obsolete/.  (Bug#9384)

226 227 228 229 230 231
2013-02-13  Juri Linkov  <juri@jurta.org>

	* vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
	to select `ediff-control-frame' and set input focus correctly on Xfce.
	(Bug#12218)

232 233 234 235 236 237 238
2013-02-13  Juri Linkov  <juri@jurta.org>

	* image-mode.el (image-mode-map):
	* doc-view.el (doc-view-mode-map):
	* vc/ediff-util.el (ediff-setup-keymap):
	Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)

239 240 241 242 243 244 245 246 247 248 249
2013-02-13  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-move-to-block): Improve
	performance.  Instead of recalculating indentation fully for each
	line, sum up indentation depth based only on visited lines.
	(ruby-parse-partial): Increase the depth after "do" even when END
	is right after it.
	(ruby-parse-partial): When END is in the middle of a percent
	literal, increase the depth if the delimiter chars belong to the
	paren syntax class.

250 251 252 253 254
2013-02-13  Kirill A. Korinskiy  <catap@catap.ru>

	* play/fortune.el (fortune-compile): Also make the compiled file
	if it does not exist at all, not just if it is old.  (Bug#5338)

255 256 257 258 259
2013-02-13  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/package.el (package-menu-execute): Doc fix.

2013-02-13  Yves Baumes  <ybaumes@gmail.com>  (tiny change)
260 261 262 263

	* lisp/emacs-lisp/package.el (package-menu-execute):
	Add optional noquery argument.  (Bug#13625)

264
2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
265 266 267 268

	* net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
	if DIR exists and PARENTS is non-nil.

269 270 271 272 273
2013-02-13  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/js.el (js--multi-line-declaration-indentation):
	Silence byte-compiler warning.

274 275 276 277 278 279 280
2013-02-12  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.

	* net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
	only if it doesn't exist.

281 282
	* net/tramp-sh.el (tramp-sh-handle-start-file-process):
	Set process marker.
283

284 285 286 287 288 289
2013-02-12  Tassilo Horn  <tsdh@gnu.org>

	* doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
	UserInstallation when calling soffice to work around LibreOffice
	bug 37531.

290 291
2013-02-12  Glenn Morris  <rgm@gnu.org>

292 293 294
	* files.el (basic-save-buffer):
	Offer to create a non-existing directory.  (Bug#3016)

295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313
	* calc/calc-graph.el (calc-graph-show-dumb):
	* calendar/calendar.el (calendar-mode-map):
	* cus-edit.el (custom-mode-map):
	* ehelp.el (electric-help-map):
	* emulation/vip.el (vip-mode-map):
	* epa.el (epa-key-list-mode-map):
	* info.el (Info-mode-map):
	* mail/rmail.el (rmail-mode-map):
	* mail/rmailsum.el (rmail-summary-mode-map):
	* man.el (Man-mode-map):
	* net/newst-plainview.el (newsticker-mode-map):
	* progmodes/cpp.el (cpp-edit-mode-map):
	* progmodes/grep.el (grep-mode-map):
	* progmodes/idlw-help.el (idlwave-help-mode-map):
	* simple.el (special-mode-map):
	* startup.el (splash-screen-keymap):
	* view.el (view-mode-map):
	Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)

314 315 316
2013-02-11  Elias Pipping  <pipping@lavabit.com>

	* doc-view.el (doc-view-current-cache-dir): Beware % escapes
Glenn Morris's avatar
Glenn Morris committed
317
	(bug#13679).
318

319 320 321 322
2013-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* cus-start.el (all): Remove inhibit-local-menu-bar-menus.

323 324
2013-02-11  Glenn Morris  <rgm@gnu.org>

325 326 327 328
	* vc/diff.el (diff-use-labels): New variable.
	(diff-no-select): Use --label rather than -L, and first
	check that it is supported.  (Bug#11067)

329 330 331 332 333
	* files.el (enable-dir-local-variables): New variable.
	(hack-dir-local-variables): Respect enable-dir-local-variables.
	* tutorial.el (help-with-tutorial):
	Ignore directory-local variables.  (Bug#11127)

334 335 336
	* vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
	(vc-svn-global-switches): ... to here.  (Bug#13513)

337 338
2013-02-10  Christopher Schmidt  <christopher@ch.ristopher.com>

339 340
	* minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
	Handle "foo (bar, default: xxx): " prompts.
341

342
2013-02-10  Chong Yidong  <cyd@gnu.org>
343

344 345 346
	* files.el (basic-save-buffer-1): Do not set
	buffer-file-coding-system-explicit (Bug#4533).

347 348 349
	* mail/emacsbug.el (report-emacs-bug): Change binding of
	report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).

350 351 352 353 354
2013-02-09  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-allow-units-as-numbers): New variable.
	* calc/calc-units.el (calc-convert-units): Use new variable.

355 356
2013-02-09  Eli Zaretskii  <eliz@gnu.org>

357 358
	* subr.el (buffer-file-type, default-buffer-file-type): Remove.

359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387
	* net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
	buffer-file-type.

	* mail/feedmail.el (feedmail-force-binary-write): Doc fix.
	(feedmail-run-the-queue, feedmail-dump-message-to-queue)
	(feedmail-send-it-immediately): Don't bind buffer-file-type, bind
	coding-system-for-write instead.

	* jka-compr.el (jka-compr-write-region): Don't bind
	buffer-file-type.

	* emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
	buffer-file-type.

	* files.el (file-name-buffer-file-type-alist): Remove defvar.
	(insert-file-contents-literally): Remove reference to
	file-name-buffer-file-type-alist.

	* dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
	make-obsolete.
	(find-buffer-file-type-match, find-buffer-file-type): Remove.
	(find-buffer-file-type-coding-system): Remove references to
	find-buffer-file-type-match, find-buffer-file-type, and
	buffer-file-type.
	Don't put find-buffer-file-type-coding-system into
	file-coding-system-alist.
	(find-file-binary, find-file-text): Bind coding-system-for-read
	instead of file-name-buffer-file-type-alist.

Glenn Morris's avatar
Glenn Morris committed
388
2013-02-09  Jambunathan K  <kjambunathan@gmail.com>
389 390

	* doc-view.el: Use (and prefer) soffice as default ODF->PDF
Glenn Morris's avatar
Glenn Morris committed
391 392
	converter (Bug#13622).
	(doc-view-unoconv-program): Make obsolete alias.
393 394 395
	(doc-view-odf->pdf-converter-program): New variable.
	(doc-view-odf->pdf-converter-function): New variable.
	(doc-view-mode-p): Use it.
Glenn Morris's avatar
Glenn Morris committed
396 397
	(doc-view-odf->pdf-converter-unoconv):
	Rename from `doc-view-odf->pdf-converter-unoconv'.
398
	(doc-view-odf->pdf-converter-soffice): New function.
Glenn Morris's avatar
Glenn Morris committed
399 400
	(doc-view-convert-current-doc):
	Use `doc-view-odf->pdf-converter-function'.
401

402 403
2013-02-09  Chong Yidong  <cyd@gnu.org>

404 405 406 407 408
	* minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
	view-echo-area-messages (Bug#13340).

	* help.el (view-echo-area-messages): Use display-buffer.

409 410 411
	* dired-x.el (dired-do-run-mail): Prompt for confirmation
	(Bug#13561).

412 413
2013-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>

414 415 416
	* emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
	Eval body right away, now that we do eager macroexpansion (bug#13605).

417 418 419
	* simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
	(fundamental-mode): Use run-mode-hooks.

420 421 422
	* eshell/esh-proc.el (eshell/kill): Fix last change.
	* eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.

Aidan Gauland's avatar
Aidan Gauland committed
423 424 425 426 427 428 429
2013-02-08  Aidan Gauland  <aidalgol@no8wireless.co.nz>

	* eshell/esh-proc.el (eshell/kill): Rewrite.

	* eshell/em-ls.el (show-almost-all): Declare.
	(eshell-do-ls): Add support for -A argument.

430 431 432 433 434
2013-02-08  Jambunathan K  <kjambunathan@gmail.com>

	* icomplete.el (icomplete-forward-completions)
	(icomplete-backward-completions): Handle corner case (bug#13602).

435 436 437 438 439
2013-02-07  Michael Albinus  <michael.albinus@gmx.de>

	* vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
	be nil.  Handle this.  (Bug#13636)

440 441 442 443 444
2013-02-07  Richard Stallman  <rms@gnu.org>

	* mail/rmail.el (rmail-variables): Specify `no-conversion' for
	`save-buffer-coding-system'.

445
2013-02-07  Alan Mackenzie  <acm@muc.de>
446

447
	Fix bug in state cache mechanism.  Remove 'BOD "strategy".  Refactor.
448 449
	* progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
	(c-parse-state-get-strategy): Don't return 'BOD any more.
450 451 452 453 454 455
	(c-append-lower-brace-pair-to-state-cache):
	Extra parameter HERE instead of narrowing.
	Widen to top of buffer before searching backwards for a brace pair.
	(c-state-push-any-brace-pair): Add HERE parameter to function call.
	(c-append-to-state-cache): Extra parameter HERE in place of narrowing.
	Narrow to parameter HERE, in place of being called narrowed.
456 457 458 459 460
	(c-remove-stale-state-cache): Extra parameter HERE in place of
	narrowing.  Check there's an open brace in the cache before
	searching for its match.
	(c-invalidate-state-cache-1): Add HERE parameter to function call.
	(c-parse-state-1): Don't narrow here for 'forward strategy,
461 462
	instead passing extra parameter HERE to several functions.
	Remove 'BOD strategy.
463

464 465 466 467 468
2013-02-06  Nicolas Richard <theonewiththeevillook@yahoo.fr>  (tiny change)

	* emacs-lisp/package.el (describe-package-1): Tell what archive is
	used to install the package.

469 470
2013-02-06  Glenn Morris  <rgm@gnu.org>

471 472 473
	* vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
	if we can't get user input.  (Bug#6567)

474 475 476
	* startup.el (command-line): If simple.el is missing,
	test and warn about for some possible causes.

477 478 479 480
2013-02-05  Jan Djärv  <jan.h.d@swipnet.se>

	* cus-start.el (all): Add ns-use-native-fullscreen.

481 482
2013-02-05  Glenn Morris  <rgm@gnu.org>

483 484
	* profiler.el (profiler-report-mode-map): Add a restart menu entry.

485 486 487
	* play/gamegrid.el (gamegrid-add-score-with-update-game-score):
	Fix directory creation in fallback case.

488 489 490 491 492
2013-02-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
	(vc-update-change-log): Use dolist.

493 494 495 496 497 498 499 500 501 502 503 504
2013-02-04  Chong Yidong  <cyd@gnu.org>

	* thingatpt.el: Rewrite the URL detection routines, absorbing some
	code from ffap.el.
	(thing-at-point-beginning-of-url-regexp): New var.
	(thing-at-point-uri-schemes): Update list of URI schemes.
	(thing-at-point-url-regexp): Variable deleted.
	(thing-at-point-markedup-url-regexp): Disallow newlines.
	(thing-at-point-newsgroup-regexp)
	(thing-at-point-newsgroup-heads)
	(thing-at-point-default-mail-uri-scheme): New variables.
	(thing-at-point-bounds-of-url-at-point): Rewrite.  Use ffap's
505 506
	method to find the possible bounds of the URI at point.
	New optional argument to find ill-formed URIs.
507 508 509
	(thing-at-point-url-at-point): Rewrite.  New arguments for finding
	ill-formed URIs.  Use thing-at-point-bounds-of-url-at-point, and
	the scheme-adding heuristics from ffap-url-at-point.
510 511
	(thing-at-point--bounds-of-well-formed-url): New function.
	Do parens matching to decide whether to include parens in the URI
512 513 514 515 516 517 518 519 520 521 522 523
	(Bug#9153).

	* ffap.el: Require thingatpt.
	(ffap-url-at-point): Delegate URI detection to thing-at-point.
	All URI-valid characters are now recognized (Bug#5673).
	(ffap-string-at-point): Use use-region-p.
	(ffap-url-regexp): Extra character is handled by thing-at-point.
	(ffap-string-at-point-mode-alist): Allow parentheses.
	(ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
	Convert to aliases; code moved to thingatpt.el.
	(ffap-gnus-hook): Use setq-local.

524 525 526 527 528
2013-02-04  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/ert.el (ert--explain-format-atom):
	Don't try to print non-characters as characters.  (Bug#13543)

529 530 531 532 533 534 535
2013-02-03  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-debug-message): Extend function exclude list.
	(tramp-backtrace): New defun.
	(tramp-handle-insert-file-contents): Use `visit' when inserting
	the local copy.

536 537
	* net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
	Use `remote-file-name-inhibit-cache'.
538

539 540
2013-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>

541 542 543
	* progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
	(bug#13614).

544 545 546
	* subr.el (internal--called-interactively-p--get-frame): Avoid filling
	current-load-list (bug#13366).

547 548 549 550
2013-02-02  Christopher Schmidt  <christopher@ch.ristopher.com>

	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Identify g++ template instantiation trace.  (Bug#12287)
551 552
	(compilation-mode-hook, compilation-start-hook)
	(compilation-window-height): Simplify docstrings.  (Bug#13379)
553

554
2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
555 556 557 558 559

	* mouse.el (mouse-drag-track): Always deactivate the mark before
	running the final event's command since that command is in charge of
	activating the mark if needed (bug#13523).

560
2013-02-02  Juri Linkov  <juri@jurta.org>
561 562 563 564 565 566 567 568 569 570 571

	* replace.el (perform-replace): Move let-bindings of isearch-*
	variables deeper to the loop that searches for the next match.
	Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
	Use `isearch-search-fun-default' instead of `isearch-search-fun'.
	(Bug#13579)

	* isearch.el (isearch-search-fun-default): Check for null
	first element of isearch-cmds as a precaution when it's used
	with inactive isearch.

572
2013-02-02  Andrew W. Nosenko  <andrew.w.nosenko@gmail.com>  (tiny change)
573 574 575 576 577

	* net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
	error when buffer in question is narrowed so position 1 is out of
	visible part.

578
2013-02-02  Glenn Morris  <rgm@gnu.org>
579 580 581

	* textmodes/remember.el (remember-clipboard): Doc fix.

582
2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
583 584 585 586

	* progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
	properties (bug#13179).

587 588 589 590 591
2013-02-02  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
	instead of hard-coded default face `match'.  (Bug#9438)

592 593
2012-02-01  Christopher Schmidt  <christopher@ch.ristopher.com>

594 595 596 597 598 599 600 601 602
	* vc/vc-arch.el (vc-arch-registered):
	* vc/vc-bzr.el (vc-bzr-registered):
	* vc/vc-cvs.el (vc-cvs-registered):
	* vc/vc-git.el (vc-git-registered):
	* vc/vc-hg.el (vc-hg-registered):
	* vc/vc-mtn.el (vc-mtn-registered):
	* vc/vc-svn.el (vc-svn-registered): Suppress load messages.
	(Bug#13139)

603 604 605
	* info.el (Info-next-reference, Info-prev-reference): Add numeric
	prefix argument.  (Bug#11656)

606 607 608 609
2013-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* help-fns.el (help-split-fundoc): Don't insert byte-compiled body.

610 611
2013-02-01  Glenn Morris  <rgm@gnu.org>

612 613 614
	* vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
	if the backend is known not to support it.

615 616 617
	* imenu.el (imenu-default-create-index-function):
	Tweak infinite loop test to check for forward motion as well as none.

618 619 620
2013-02-01  Alex Harsanyi  <AlexHarsanyi@gmail.com>

	* net/soap-client.el (soap-invoke): Encode the string for
621 622
	`url-request-data' as UTF-8.
	Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
623

624 625 626 627
2013-02-01  Glenn Morris  <rgm@gnu.org>

	* calc/calc-help.el (calc-view-news): Use view-emacs-news.

628 629
	* calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.

630 631 632 633 634 635 636 637 638
2013-01-31  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-tramp-file-p): Comment check for
	`string-as-unibyte'.  The function does not exist on XEmacs, and
	likely we need another approach.

	* net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
	`tramp-gw-*' variables are bound.

639 640 641 642 643 644
2013-01-31  Glenn Morris  <rgm@gnu.org>

	* files.el (basic-save-buffer-2): Choose coding system for
	writing the file before backing it up, to reduce delay between
	backing up and writing the new version.  (Bug#13522)

645 646 647 648 649
2013-01-31  Michal Nazarewicz  <mina86@mina86.com>

	* simple.el (cycle-spacing): New command.
	(just-one-space): Use it.

650 651
2013-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>

652 653 654 655 656 657 658 659
	* progmodes/opascal.el: Rename from delphi.el.  Use lexical-binding.
	(opascal-newline-always-indents): Remove custom.
	(opascal-tab, opascal-newline): Remove commands.
	(opascal-new-comment-line): Insert "\n" instead of calling newline.
	(opascal-mode-map): Keep default bindings for RET and TAB and DEL.
	(opascal-save-match-data): Remove, use save-match-data instead.
	(opascal-save-state): Use with-silent-modifications.

660 661 662
	* progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
	(bug#13585).

663 664 665 666 667 668
2013-01-30  Juri Linkov  <juri@jurta.org>

	* frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
	Use fullboth as an alias for fullscreen.  Suggested by Jan Djärv in
	<http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.

669 670 671 672 673 674
2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/make-mode.el (makefile-backslash-region): Don't compute
	column if we're just deleting the backslashes.
	(makefile-fill-paragraph): Use eolp.

675 676 677 678
2013-01-30  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-use-notify): Fix docstring.

679 680
2013-01-30  Leo Liu  <sdl.web@gmail.com>

681
	* imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
682

683 684 685 686 687 688
2013-01-30  Glenn Morris  <rgm@gnu.org>

	* mouse.el (mouse-drag-line): Avoid pushing same event onto
	unread-command-events twice in some cases.  This tries to implement
	the 2012-07-26 changes in a different way.  (Bug#13560)

689 690 691 692 693 694
2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el
	(python-pdbtrack-comint-output-filter-function): Enhancements on
	stacktrace detection.  (thanks @gnovak)

695 696 697 698 699 700 701
2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
	(jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
	Use defvar-local.
	(jit-lock-register): Use setq-local.

702 703 704 705 706 707
2013-01-30  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc-units.el (math-default-units-table): Remove initial value.
	(calc-convert-units): Treat expressions where all the units cancel as
	if they didn't have units.

708 709 710 711 712 713 714 715
2013-01-30  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-process-connection-type): Fix docstring.
	(tramp-completion-reread-directory-timeout): Fix type.
	(tramp-connection-min-time-diff): New defcustom.

	* net/tramp-sh.el (tramp-maybe-open-connection): Use it.

716 717 718 719 720
2013-01-30  Glenn Morris  <rgm@gnu.org>

	* imenu.el (imenu-default-create-index-function):
	Put back a version of the infinite loop test removed 2013-01-23.

721
2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
722

723 724
	* progmodes/python.el (python-shell-parse-command):
	Find python-shell-interpreter with modified environment.
725

726
2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
727 728 729

	* emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.

730 731 732 733
2013-01-29  Alan Mackenzie  <acm@muc.de>

	Amend to fontify /regexp/s in actions correctly.
	* cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
734
	(c-awk-harmless-string*-here-re): Braces, parens and semicolons
735 736 737
	are no longer included.
	(c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
	What used to be these variables without "-line" in the name.
738
	(c-awk-neutral-re): { is no longer neutral.  Escaped newlines now are.
739 740 741 742 743 744
	(c-awk-non-arith-op-bra-re): Now also matches {.
	(c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
	"return", and "case".
	(c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
	by /.
	(c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
745
	(c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
746

747 748
2013-01-29  Michael Albinus  <michael.albinus@gmx.de>

749 750
	* autorevert.el (auto-revert-use-notify):
	Use `custom-initialize-default' for initialization.  (Bug#13583)
751

752 753
	* net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.

754 755
	* net/tramp-sh.el (tramp-sh-handle-start-file-process):
	Catch `suppress'.  Otherwise, `tramp-run-real-handler' might be called
756
	in `tramp-file-name-handler'.
757 758 759 760
	(tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
	compatibility.
	(tramp-compute-multi-hops): Check, whether
	`tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
761

762 763 764 765 766
2013-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
	(bug#13297).

767 768 769 770
2013-01-27  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
	checks made superfluous by the \_< operator.
771 772
	* progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
	temporarily) broken indentation.
773 774
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	Highlight nested constants, too.  \_< broke that.
775 776 777 778 779 780

2013-01-27  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
	instead of "\\b".

781 782 783 784 785
2013-01-27  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-handler): Notifications which result
	from a saved file shall not be taken into account.  (Bug#13557)

Andreas Schwab's avatar
Andreas Schwab committed
786 787 788 789 790 791
2013-01-26  Andreas Schwab  <schwab@linux-m68k.org>

	* emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
	parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
	(lisp-mode): Pass t for it.  (Bug#13556)

792 793 794 795 796 797 798
2013-01-25  Alan Mackenzie  <acm@muc.de>

	AWK Mode: Fix indentation bug at top level.  Bug #12274.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
	just before CASE 5D.

799 800 801 802
2013-01-25  Dmitry Antipov  <dmantipov@yandex.ru>

	* net/socks.el (socks-nslookup-host): Use string-to-number.

803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826
2013-01-25  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-remote-files)
	(auto-revert-notify-exclude-dir-regexp): New defcustoms.
	(auto-revert-notify-enabled, auto-revert-use-notify)
	(auto-revert-notify-watch-descriptor-hash-list)
	(auto-revert-notify-modified-p, auto-revert-notify-event-p)
	(auto-revert-notify-event-descriptor)
	(auto-revert-notify-event-action)
	(auto-revert-notify-event-file-name): Doc fix.
	(global-auto-revert-mode): Reorder checks.
	(auto-revert-notify-rm-watch): Respect changed values of
	`auto-revert-notify-watch-descriptor-hash-list'.
	(auto-revert-notify-add-watch): Check for
	`auto-revert-notify-exclude-dir-regexp'.  Adapt filters for
	`inotify-add-watch'.  Watch `default-directory' instead of
	`buffer-file-name'.  `auto-revert-notify-watch-descriptor-hash-list'
	has a changed meaning now.  (Bug#13540)
	(auto-revert-notify-handler): Change implementation wrt events
	returning from a directory.
	(auto-revert-handler): Reorder implementation for checks of remote
	files.
	(auto-revert-buffers): Fix parentheses error.

827
2013-01-25  Fabián Ezequiel Gallina  <fgallina@cuca>
828 829 830 831

	* progmodes/python.el: Enhancements to header documentation about
	skeletons.  (Bug#5716)

832 833 834
	* imenu.el (imenu-default-create-index-function): Remove useless
	infinite loop check.  (Bug#13438)

835
2013-01-25  Alan Mackenzie  <acm@muc.de>
836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851

	Fix a bug in the state cache mechanism.  Refactor this a bit.

	* progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
	`cache-pos' element from the return value.
	(c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
	buffer to enable proper searching from beyond HERE.  Amend the
	test for detecting the sought brace pair.  Amend the value written
	to the "brace desert cache" when the brace isn't found.
	(c-remove-stale-state-cache): Rename `good-pos' to `start-point',
	and several other variables analogously.
	(c-remove-stale-state-cache-backwards): Change `cache-pos' from a
	parameter to a locally calculated variable.
	(c-parse-state-1): Change the calling conventions to the two
	defuns involving `cache-pos'.

852
2013-01-25  Chong Yidong  <cyd@gnu.org>
853 854 855

	* xml.el (xml-entity-or-char-ref-re): Fix regexp.

856 857 858 859 860
2013-01-24  Aaron Ecay <aaronecay@gmail.com>  (tiny change)

	* paren.el (show-paren-function): Make sure to set 'priority and
	'face only if the overlay does exist.

861 862 863 864 865 866 867 868
2013-01-24  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.

	* net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
	basic attributes.
	(tramp-sh-handle-set-file-acl): Improve error checking.

869 870 871 872 873
2013-01-24  Dmitry Antipov  <dmantipov@yandex.ru>

	* doc-view.el (doc-view-display): Force mode line update until all
	document is converted.  Suggested by Stefan Monnier (Bug#13164).

874 875 876 877 878 879
2013-01-23  Bastien Guerry  <bzg@gnu.org>

	* paren.el (show-paren-function): Make sure an overlay exists
	before trying to delete it.  Also use `pos' as a position only
	when it is an integer.

880 881 882 883
2013-01-23  Dmitry Antipov  <dmantipov@yandex.ru>

	* play/gametree.el (gametree-break-line-here): Use point-marker.

884 885
2013-01-22  Michael Albinus  <michael.albinus@gmx.de>

886 887
	* net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
	Mark descriptive parts with `display' property.
888

889 890 891 892 893 894 895
2013-01-21  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
	New variable to map standard dict names to hunspell ones.
	(ispell-set-spellchecker-params): Make sure specific dict names
	are used for standard dicts with hunspell.

896 897 898 899 900 901
2013-01-21  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex-cite.el (reftex-format-citation): Add format
	chars for note (%N) and url (%U).
	* textmodes/reftex-vars.el (reftex-cite-format): Document them.

902 903 904 905 906 907
2013-01-21  Juri Linkov  <juri@jurta.org>

	* frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
	in addition to existing separate binding `meta f10' in `global-map'.
	(Bug#13484)

908 909 910 911 912 913 914 915
2013-01-21  Michael Albinus  <michael.albinus@gmx.de>

	Improve XEmacs compatibility.

	* net/tramp.el (tramp-replace-environment-variables): Make it a defun.

	* net/tramp-adb.el (top): Require `time-date'.
	(tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
916 917 918 919
	(tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
	Use `tramp-file-name-handler'.
	(tramp-adb-maybe-open-connection):
	Use `tramp-compat-set-process-query-on-exit-flag'.
920

921 922
	* net/tramp-sh.el (tramp-sh-handle-file-acl):
	Use `tramp-compat-funcall'.
923 924 925 926

	* net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
	`tramp-compat-funcall'.

927 928 929 930 931 932
2013-01-21  Jürgen Hötzel  <juergen@archlinux.org>

	* net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
	reimplementation using "adb shell command ..." instead of running
	remote shell interactively.

Glenn Morris's avatar
Glenn Morris committed
933 934
2013-01-20  Glenn Morris  <rgm@gnu.org>

935 936 937
	* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
	Add native profiler menu entries.

Glenn Morris's avatar
Glenn Morris committed
938 939 940 941
	* profiler.el (profiler-running-p): New function.
	(profiler-cpu-profile): Use profiler-running-p.
	(profiler-report-mode-map): Add some more menu entries.

942 943 944 945 946
2013-01-19  Glenn Morris  <rgm@gnu.org>

	* mail/unrmail.el (unrmail): Do not mangle the mbox From line;
	fixes 2012-12-07 change.  (Bug#13499)

947
2013-01-19  Leo Liu  <sdl.web@gmail.com>
948 949 950 951

	* dired.el (dired-get-marked-files): Prune erroneous values due to
	last change.  (Bug#13152)

952
2013-01-19  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
953 954 955 956

	* progmodes/etags.el (tags-table-check-computed-list):
	Preserve point in tags buffer.  (Bug#13412)

957 958
	* emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.

959 960 961
2013-01-19  Christian Wittern  <cwittern@gmail.com>  (tiny change)
	    Chong Yidong  <cyd@gnu.org>

962 963
	* image-mode.el (image-next-file, image-previous-file):
	New commands (Bug#8453).
964 965 966
	(image-mode-map): Bind them to n and p.
	(image-mode--images-in-directory): New helper function.

967 968 969 970 971 972
2013-01-19  Chong Yidong  <cyd@gnu.org>

	* image-mode.el (image-mode-fit-frame): Add a frame argument.
	Suggested by Drew Adams (Bug#7730).  Handle window decorations;
	save and restore the old window configuration.

973 974 975 976
2013-01-18  Leo Liu  <sdl.web@gmail.com>

	* progmodes/js.el: Tweak autoload cookie for alias.

977 978 979 980 981
2013-01-17  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-notify-watch-descriptor): Make it
	buffer local, again.  This was lost with the fix on 2013-01-12.

982 983 984 985 986
2013-01-17  Jürgen Hötzel  <juergen@archlinux.org>

	* eshell/esh-util.el (eshell-path-env): Make it buffer local, in
	order to support several eshell buffers in parallel.

987 988 989 990
2013-01-17  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-use-notify): In the :set function, do
	not modify `kill-buffer-hook'.
991 992
	(auto-revert-notify-rm-watch):
	Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
993 994 995 996
	(auto-revert-notify-add-watch): Do not call
	`auto-revert-notify-rm-watch', but add it to a buffer local
	`kill-buffer-hook'.

997 998 999 1000 1001
2013-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
	call to `eval' rather than a backquoted lambda.

1002 1003
2013-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>

1004 1005 1006 1007 1008 1009 1010
	* emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
	to return an explicit nil.
	(advice--remove-function): Change accordingly.

	* emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
	the use of nadvice.el.

1011 1012 1013
	* progmodes/which-func.el (which-function): Silence imenu errors
	(bug#13433).

1014 1015
2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>

1016
	* progmodes/sql.el: (sql-imenu-generic-expression):
1017 1018 1019 1020 1021
	(sql-mode-font-lock-object-name): Match schema qualified names.
	(sql-connect): Use string keys.
	(sql-product-interactive): Wait for interpreter prompt.
	(sql-comint-oracle): Set process coding based on NLS_LANG.

1022 1023 1024
2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el (sql-output-to-send): Remove, unused.
1025 1026
	(sql-interactive-remove-continuation-prompt):
	(sql-send-magic-terminator, sql-interactive-mode): Remove references.
1027

1028 1029 1030 1031 1032
2013-01-14  Leo Liu  <sdl.web@gmail.com>

	* calendar/calendar.el (calendar-redraw): Sync window-point and point.
	(Bug#13420)

1033 1034 1035 1036 1037
2013-01-14  Glenn Morris  <rgm@gnu.org>

	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Fix interpretation of gnu line.col1-col2 format.  (Bug#13335)

1038
2013-01-13  Fabián Ezequiel Gallina  <fgallina@cuca>
1039

1040 1041
	* progmodes/python.el (python-nav-end-of-statement):
	Fix cornercase when handling multiline strings.
1042

1043 1044
2013-01-13  Richard Stallman  <rms@gnu.org>

Richard M. Stallman's avatar
Richard M. Stallman committed
1045 1046
	* mail/sendmail.el (mail-position-on-field): Add doc string.

1047 1048
	* mail/rmailmm.el (rmail-insert-mime-forwarded-message):
	Get current message boundaries and pass them to
1049 1050
	message-forward-make-body-mime.  Minor style changes.

1051 1052 1053
2013-01-13  Eli Zaretskii  <eliz@gnu.org>

	* cus-start.el (all): Avoid warnings about
1054
	scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1055

1056 1057 1058 1059
2013-01-11  Jan Djärv  <jan.h.d@swipnet.se>

	* cus-start.el (all): Add scroll-bar-adjust-thumb-portion.

1060 1061 1062 1063 1064 1065 1066 1067 1068 1069
2013-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* jit-lock.el (jit-lock-debug-mode): New minor mode.
	(jit-lock--debug-fontifying): New var.
	(jit-lock--debug-fontify): New function.
	* subr.el (condition-case-unless-debug): Don't prevent catching the
	error, just let the debbugger run.
	* emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
	timer code and don't drop errors silently.

1070 1071 1072 1073
2013-01-12  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-notify-watch-descriptor): Give it
	`permanent-local' property.
1074
	(auto-revert-notify-handler): Use `file-equal-p'.
1075

1076 1077 1078 1079 1080 1081
2013-01-12  Eli Zaretskii  <eliz@gnu.org>

	* autorevert.el (auto-revert-notify-handler): Fix filtering of
	file notification by ACTION. For filtering by file name, compare
	only the non-directory part of the file name.

1082 1083
2013-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>

1084 1085
	* autorevert.el: Use cl-lib instead of cl.

1086 1087 1088 1089 1090
	* vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
	(vc-bzr-checkin): Use it.
	* vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
	will preserve match-data.

1091
2013-01-11  Felix H. Dahlke  <fhd@ubercode.de>
1092

1093 1094 1095 1096
	* progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
	(js--declaration-keyword-re): New var.
	(js--multi-line-declaration-indentation): New function.
	(js--proper-indentation): Use it.
1097

1098
2013-01-11  Aaron S. Hawley  <Aaron.Hawley@vtinfo.com>
1099

1100 1101 1102 1103
	* calc/calc.el (calc-highlight-selections-with-faces)
	 (calc-dispatch):
	* comint.el (comint-history-isearch-message):
	* emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1104 1105 1106
	* ffap.el (ffap-string-at-point-region, ffap-next)
	(ffap-string-at-point, ffap-string-around)
	(ffap-copy-string-as-kill, ffap-highlight-overlay)
1107
	(ffap-literally):
1108
	* font-lock.el (font-lock-keywords-alist)
1109 1110 1111 1112 1113 1114 1115
	(font-lock-removed-keywords-alist):
	* help-mode.el (help-xref-symbol-regexp):
	* info.el (Info-find-emacs-command-nodes):
	* international/mule.el (add-to-coding-system-list):
	* isearch.el (isearch-message-function, isearch-fail-pos):
	* misearch.el (multi-isearch-next-buffer-function):
	* newcomment.el (comment-box):
1116
	* printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1117
	(pr-setting-database):
1118 1119 1120
	* progmodes/cc-fonts.el (c-font-lock-keywords-3)
	(c++-font-lock-keywords-3, objc-font-lock-keywords-3)
	(java-font-lock-keywords-3, idl-font-lock-keywords-3)
1121 1122
	(pike-font-lock-keywords-3):
	* progmodes/compile.el (compile):
1123
	* progmodes/etags.el (tags-table-files)
1124
	(tags-table-files-function, tags-included-tables-function):
1125
	* progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1126
	(gdb-restore-windows):
1127
	* ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1128 1129
	(ps-n-up-filling-database):
	* server.el (server-buffer, server-log):
1130 1131
	* simple.el (newline, delete-backward-char, delete-forward-char)
	(minibuffer-history-isearch-message, kill-line, track-eol)
1132
	(temporary-goal-column):
1133
	* textmodes/flyspell.el (flyspell-mark-duplications-flag)
1134 1135 1136
	(flyspell-default-deplacement-commands):
	* textmodes/ispell.el (ispell-accept-output):
	* textmodes/sgml-mode.el (html-tag-help):
1137
	* vc/compare-w.el (compare-ignore-whitespace)
1138 1139
	(compare-ignore-case, compare-windows-dehighlight):
	* vc/diff.el (diff):
1140 1141
	* whitespace.el (whitespace-point)
	(whitespace-font-lock-refontify, whitespace-bob-marker)
1142
	(whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1143

1144 1145 1146 1147 1148
2013-01-11  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (top): Require 'cl in order to pacify byte compiler.
	(auto-revert-notify-rm-watch): Ignore errors.
	(auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
1149 1150
	inotify, and '(size last-write-time) for w32notify.
	Set buffer-local `auto-revert-use-notify' to nil when adding a file
1151 1152 1153 1154 1155 1156 1157 1158
	watch fails - this is a fallback to the file modification check.
	(auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
	(auto-revert-notify-event-action)
	(auto-revert-notify-event-file-name): New defuns.
	(auto-revert-notify-handler): Use them.  Implement first
	plausibility checks.
	(auto-revert-handler): Handle also `auto-revert-tail-mode'.

1159 1160 1161 1162 1163 1164
2013-01-11  Julien Danjou  <julien@danjou.info>

	* color.el (color-rgb-to-hsv): Fix conversion computing in case min and
	max are almost equal. Also return the correct value for V which is
	already between 0 and 1.

1165 1166 1167 1168
2013-01-11  Dmitry Antipov  <dmantipov@yandex.ru>

	* emacs-lisp/ert.el (ert-run-test): Use point-max-marker.

1169 1170 1171 1172 1173 1174
2013-01-11  Eli Zaretskii  <eliz@gnu.org>

	* autorevert.el (auto-revert-notify-rm-watch)
	(auto-revert-notify-add-watch): Fix typos in w32notify function
	names.

1175 1176 1177 1178 1179 1180 1181 1182 1183
2013-01-10  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-notify-enabled): Move up.
	(auto-revert-use-notify): New defcustom.
	(auto-revert-mode, global-auto-revert-mode)
	(auto-revert-notify-add-watch, auto-revert-handler)
	(auto-revert-buffers): Use `auto-revert-use-notify' instead of
	`auto-revert-notify-enabled'.

1184 1185 1186 1187 1188 1189 1190
2013-01-10  Elias Pipping  <pipping@exherbo.org>

	* files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
	* doc-view.el (doc-view-document->bitmap):
	Use doc-view-single-page-converter-function instead of
	single-page-converter arg; adjust callers.

1191 1192 1193 1194 1195
2013-01-10  Feng Li  <fengli@gmail.com>  (tiny change)

	* progmodes/which-func.el (which-function): Understand Semantic's use
	of overlays in imenu--index-alist.

1196 1197 1198 1199 1200 1201 1202 1203
2013-01-10  Wolfgang Jenkner  <wjenkner@inode.at>

	* man.el: Handle different "man -k" behaviors (bug#13160).  Use utf-8.
	(Man-man-k-use-anchor): New var.
	(Man-parse-man-k): New function.
	(Man-completion-table): Use it.
	(man): Flush the completion cache between uses.

1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217
2013-01-10  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el: Add file watch support.
	(auto-revert-notify-enabled): New defconst.
	(auto-revert-notify-watch-descriptor-hash-list)
	(auto-revert-notify-watch-descriptor)
	(auto-revert-notify-modified-p): New defvars.
	(auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
	(auto-revert-notify-handler): New defuns.
	(auto-revert-mode, global-auto-revert-mode): Remove file watches
	when mode is disabled.
	(auto-revert-handler): Check for `auto-revert-notify-modified-p'.
	(auto-revert-buffers): Add file watches for active buffers.

1218 1219 1220 1221 1222 1223
2013-01-10  Dmitry Antipov  <dmantipov@yandex.ru>

	* cus-start.el (toplevel): Only allow float values for
	scroll-up-aggressively and scroll-down-aggressively.
	Allow any number for line-spacing.

1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245
2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
	(doc-view-pdf->png-converter-function): Use mupdf if available.
	(doc-view-djvu->png-converter-function)
	(doc-view-ps->png-converter-function): Remove.
	(doc-view--image-file-pattern): Replace doc-view--image-file-extension.
	(doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
	(doc-view-already-converted-p): Adjust accordingly.
	(doc-view-mode-p): Simplify.
	(doc-view-enlarge): Use setq-local.
	(doc-view-pdf->png-converter-ghostscript)
	(doc-view-djvu->png-converter-ddjvu)
	(doc-view-pdf->png-converter-mupdf): Rework to call
	doc-view-start-process directly.
	(doc-view-pdf/ps->png): Simplify accordingly.
	(doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
	(doc-view-document->bitmap): Rename from doc-view-document->png.
	(doc-view-convert-current-doc): Merge pdf and djvu cases.
	(doc-view-set-slice-from-bounding-box): Fix completion table.
	(doc-view-mode): Use add-hook for after-revert-hook.

Glenn Morris's avatar
Glenn Morris committed
1246 1247 1248 1249 1250 1251
2013-01-10  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-ignored-files)
	(authors-valid-file-names, authors-renamed-files-alist):
	Add some more entries.

Stefan Monnier's avatar
Stefan Monnier committed
1252
2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1253 1254 1255 1256

	* image-mode.el (image-mode-winprops): Don't throw away the fallback
	`t' pseudo-window entry.

Stefan Monnier's avatar
Stefan Monnier committed
1257
2013-01-10  Alan Mackenzie  <acm@muc.de>
1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270

	Fix bugs in the c-parse-state mechanism.  Reuse some markers
	instead of continually generating new ones.

	* progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
	(c-state-old-cpp-end-marker): New variables.
	(c-append-lower-brace-pair-to-state-cache): Start a backward
	search for "}" definitively outside CPP constructs.
	(c-remove-stale-state-cache): Inform the caller of a need to
	search back for a brace pair in certain circumstances.
	(c-state-maybe-marker): New macro.
	(c-parse-state): Reuse markers when appropriate.

Stefan Monnier's avatar
Stefan Monnier committed
1271
2013-01-10  Glenn Morris  <rgm@gnu.org>
1272 1273 1274 1275

	* simple.el (execute-extended-command): Doc fix.
	Bind prefix-arg around read-extended-command, for prompt.  (Bug#13395)

Stefan Monnier's avatar
Stefan Monnier committed
1276
2013-01-10  Chong Yidong  <cyd@gnu.org>
1277 1278 1279

	* faces.el (read-face-name): Doc fix.

1280 1281 1282 1283 1284 1285 1286 1287
2013-01-10  Roland Winkler  <winkler@gnu.org>

	* emacs-lisp/crm.el: Allow any regexp for separators.
	(crm-default-separator): All spaces around the default comma separator.
	(crm--completion-command): New macro.
	(crm-completion-help, crm-complete, crm-complete-word): Use it.
	(crm-complete-and-exit): Handle non-single-char separators.

1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305
2013-01-09  Elias Pipping  <pipping@lavabit.com>

	* doc-view.el: Add support for DjVu (bug#13164).
	(doc-view-d