ChangeLog 942 KB
Newer Older
1 2
2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>

3 4 5
	* emacs-lisp/nadvice.el (add-function): Default simple vars to their
	global bindings.

6 7
	* doc-view.el (doc-view-start-process): Handle url-handler directories.

8 9 10 11 12 13 14 15 16 17 18 19 20
2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-beginning-of-defun)
	(ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
	to nil.
	(ruby-end-of-defun): Remove the unused arg, change the docstring
	to reflect that this function is only used as the value of
	`end-of-defun-function'.
	(ruby-beginning-of-defun): Remove "top-level" from the docstring,
	to reflect an earlier change that beginning/end-of-defun functions
	jump between methods in a class definition, as well as top-level
	functions.

21 22 23 24 25 26 27
2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-complete): Don't just scroll
	a *Completions* that's been iconified.
	(minibuffer-force-complete): Make sure repetitions do cycle when going
	through completion-in-region -> minibuffer-complete.

28 29 30 31 32 33 34
2013-04-15  Alan Mackenzie  <acm@muc.de>

	Correct the placement of c-cpp-delimiters when there're #s not at
	col 0.

	* progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
	place a submatch around the #.
35 36
	* progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
	Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
37 38
	on the #, not BOL.

39 40 41 42 43 44
2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el: Properly test names when adding advice.
	(advice--member-p): New arg `name'.
	(advice--add-function, advice-member-p): Use it (bug#14202).

45 46 47 48 49 50 51 52 53
2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>

	Reformulate java imenu-generic-expression.
	The old expression contained ill formed regexps.

	* progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
	(cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
	(cc-imenu-java-method-arg-regexp): New defconsts.
	(cc-imenu-java-build-type-args-regex): New defun.
54
	(cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
55 56
	handling of spaces in the regexp.

57 58 59 60 61
2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-command-loop): Remove
	flyspell highlight of a word when ispell accepts it (bug #14178).

62 63 64 65 66 67 68 69
2013-04-15  Michael Albinus  <michael.albinus@gmx.de>

	* net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
	uses code from the previous `ange-ftp-run-real-handler'.
	(ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
	only in case that function exist.  This is needed for proper
	unloading of Tramp.

70 71 72 73 74 75
2013-04-15  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.

	* textmodes/reftex.el (reftex-compile-variables): Use it.

76 77
2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

78 79 80
	* files.el (normal-mode): Only use default major-mode if no other mode
	was specified.

81 82
	* emacs-lisp/trace.el (trace-values): New function.

83 84 85 86
	* files.el: Allow : in local variables (bug#14089).
	(hack-local-variable-regexp): New var.
	(hack-local-variables-prop-line, hack-local-variables): Use it.

87 88 89 90 91
2013-04-13  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
	data before it gets modified by bibtex-beginning-of-entry.

92 93 94 95 96
2013-04-13  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-url): Doc fix.

2013-04-13  Roland Winkler  <winkler@gnu.org>
97 98 99 100 101

	* textmodes/bibtex.el (bibtex-initialize): If the current buffer
	does not visit a BibTeX file, exclude it from the list of buffers
	returned by bibtex-initialize.

102 103 104 105 106 107
2013-04-13  Stephen Berman  <stephen.berman@gmx.net>

	* window.el (split-window): Remove interactive form, since as a
	command this function is a special case of split-window-below.
	Correct doc string.

108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
2013-04-12  Roland Winkler  <winkler@gnu.org>

	* faces.el (read-face-name): Do not override value of arg default.
	Allow single faces and strings as default values.  Remove those
	elements from return value that are not faces.
	(describe-face): Simplify.
	(face-at-point): New optional args thing and multiple so that this
	function can provide the same functionality previously provided by
	read-face-name.
	(make-face-bold, make-face-unbold, make-face-italic)
	(make-face-unitalic, make-face-bold-italic, invert-face)
	(modify-face, read-face-and-attribute): Use face-at-point.

	* cus-edit.el (customize-face, customize-face-other-window)
	* cus-theme.el (custom-theme-add-face)
	* face-remap.el (buffer-face-set)
	* facemenu.el (facemenu-set-face): Use face-at-point.

126 127 128 129
2013-04-12  Michael Albinus  <michael.albinus@gmx.de>

	* info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".

130 131 132 133 134
2013-04-10  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
	off leading { and trailing } from field values.

135 136
2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>

137 138 139 140 141 142 143
	* emacs-lisp/timer.el (timer--check): New function.
	(timer--time, timer-set-function, timer-event-handler): Use it.
	(timer-set-idle-time): Simplify.
	(timer--activate): CSE.
	(timer-event-handler): Give more info in error message.
	(internal-timer-start-idle): New function, moved from C.

144 145 146 147 148 149
	* mpc.el (mpc-proc): Add `restart' argument.
	(mpc-proc-cmd): Use it.
	(mpc--status-timer-run): Also catch signals from `mpc-proc'.
	(mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
	less often.

150 151 152 153 154 155 156
2013-04-10  Masatake YAMATO  <yamato@redhat.com>

	* progmodes/sh-script.el: Implement `sh-mode' own
	`add-log-current-defun-function' (bug#14112).
	(sh-current-defun-name): New function.
	(sh-mode): Use the function.

157 158 159 160
2013-04-09  Bastien Guerry  <bzg@gnu.org>

	* simple.el (choose-completion-string): Fix docstring (bug#14163).

161 162
2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>

163 164
	* emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).

165 166 167
	* emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
	timer (bug#14156).

168 169 170 171 172
2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>

	* emacs-lisp/ert.el (should, should-not, should-error): Add edebug
	declaration.

Leo Liu's avatar
Leo Liu committed
173 174 175 176
2013-04-07  Leo Liu  <sdl.web@gmail.com>

	* pcmpl-x.el: New file.

177 178 179 180 181 182 183 184 185 186 187 188 189 190
2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>

	Do not set x-display-name until X connection is established.
	This is needed to prevent from weird situation described at
	<http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
	* frame.el (make-frame): Set x-display-name after call to
	window system initialization function, not before.
	* term/x-win.el (x-initialize-window-system): Add optional
	display argument and use it.
	* term/w32-win.el (w32-initialize-window-system):
	* term/ns-win.el (ns-initialize-window-system):
	* term/pc-win.el (msdos-initialize-window-system):
	Add compatible optional display argument.

191 192 193 194 195 196 197 198
2013-04-06  Eli Zaretskii  <eliz@gnu.org>

	* files.el (normal-backup-enable-predicate): On MS-Windows and
	MS-DOS compare truenames of temporary-file-directory and of the
	file, so that 8+3 aliases (usually found in $TEMP on Windows)
	don't fail comparison by compare-strings.  Also, compare file
	names case-insensitively on MS-Windows and MS-DOS.

199 200 201 202 203
2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-compute-transaction): Fix last fix.
	Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).

204 205
2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>

206 207
	* whitespace.el (whitespace-color-on, whitespace-color-off):
	Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
208

209 210 211 212 213
2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl> (tiny change)

	* ispell.el (ispell-set-spellchecker-params):
	Really set `ispell-args' for all equivs.

214 215 216 217 218 219
2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* ido.el (ido-completions): Use extra elements of ido-decorations
	(bug#14143).
	(ido-decorations): Update docstring.

220 221 222 223 224 225 226
2013-04-05  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
	(global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
	nil during initialization, in order not to miss changes since the
	file was opened.  (Bug#14140)

227 228 229 230
2013-04-05  Leo Liu  <sdl.web@gmail.com>

	* kmacro.el (kmacro-call-macro): Fix bug#14135.

231 232 233 234
2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (calc-convert-units): Rewrite conditional.

235 236 237 238
2013-04-04  Glenn Morris  <rgm@gnu.org>

	* electric.el (electric-pair-inhibit-predicate): Add :version.

239 240 241 242 243
2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-compute-transaction): Fix ordering
	when a package is required several times (bug#14082).

244 245 246 247 248 249
2013-04-04  Roland Winkler  <winkler@gnu.org>

	* faces.el (read-face-name): Behave as promised by the docstring.
	Assume that arg default is a list of faces.
	(describe-face): Call read-face-name with list of default faces.

250 251 252 253 254 255 256 257
2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* bookmark.el: Fix deletion of bookmarks (bug#13972).
	(bookmark-bmenu-list): Don't toggle filenames if alist is empty.
	(bookmark-bmenu-execute-deletions): Only skip first line if it's
	the header.
	(bookmark-exit-hook-internal): Save even if list is empty.

258 259 260 261 262
2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)

	* emacs-lisp/package.el (package-pinned-packages): New var.
	(package--add-to-archive-contents): Obey it (bug#14118).

263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278
2013-04-03  Alan Mackenzie  <acm@muc.de>

	Handle `parse-partial-sexp' landing inside a comment opener
	(Bug#13244). Also adapt to the new values of element 7 of a parse
	state.

	* progmodes/cc-engine.el (c-state-pp-to-literal): New optional
	parameter `not-in-delimiter'.  Handle being inside comment opener.
	(c-invalidate-state-cache-1): Reckon with an extra "invalid"
	character in case we're typing a '*' after a '/'.
	(c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
	instead by passing the parameter to c-state-pp-to-literal.

	* progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
	for elt. 7 of a parse state.

279 280 281 282 283 284 285 286 287
2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>

	Use UTF-8 for most files with non-ASCII characters (Bug#13936).
	* international/latin1-disp.el, international/mule-util.el:
	* language/cyril-util.el, language/european.el, language/ind-util.el:
	* language/lao-util.el, language/thai.el, language/tibet-util.el:
	* language/tibetan.el, language/viet-util.el:
	Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.

288 289 290 291 292 293 294
2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
	(electric-pair-post-self-insert-function): Use it.
	(electric-pair-default-inhibit): New function, extracted from
	electric-pair-post-self-insert-function.

295 296 297 298
2013-03-31  Roland Winkler  <winkler@gnu.org>

	* emacs-lisp/crm.el (completing-read-multiple): Doc fix.

299 300 301 302
2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).

303
2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
304 305 306 307 308

	Un-indent after "pass" and "return" statements (Bug#13888)
	* progmodes/python.el (python-indent-block-enders): New var.
	(python-indent-calculate-indentation): Use it.

309
2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
310 311 312 313 314

	* net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
	defun.  Defining it as defalias could introduce too eager
	byte-compiler optimization.  (Bug#14030)

315
2013-03-30  Chong Yidong  <cyd@gnu.org>
316 317 318

	* iswitchb.el (iswitchb-read-buffer): Fix typo.

319 320 321 322 323 324
2013-03-30  Leo Liu  <sdl.web@gmail.com>

	* kmacro.el (kmacro-call-macro): Add optional arg MACRO.
	(kmacro-execute-from-register): Pass the keyboard macro to
	kmacro-call-macro or repeating won't work correctly.

325 326 327 328 329 330 331
2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/subword.el: Back to using `forward-symbol'.

	* subr.el (forward-whitespace, forward-symbol)
	(forward-same-syntax): Move from thingatpt.el.

332 333 334 335 336 337
2013-03-29  Leo Liu  <sdl.web@gmail.com>

	* kmacro.el (kmacro-to-register): New command.
	(kmacro-execute-from-register): New function.
	(kmacro-keymap): Bind to 'x'.  (Bug#14071)

338 339 340 341 342 343 344
2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mpc.el: Use defvar-local and setq-local.
	(mpc--proc-connect): Connection failures are not bugs.
	(mpc-mode-map): `follow-link' only applies to the buffer's content.
	(mpc-volume-map): Bind to the up-events.

345 346 347 348 349
2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/subword.el (superword-mode): Use `forward-sexp'
	instead of `forward-symbol'.

350 351 352 353 354 355 356
2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
	(edebug--recursive-edit): Use it.
	(edebug-kill-buffer): Don't let-bind kill-buffer-hook.
	(edebug-temp-display-freq-count): Don't let-bind buffer-read-only.

357 358 359 360
2013-03-28  Leo Liu  <sdl.web@gmail.com>

	* vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)

361 362 363 364 365 366 367
2013-03-27  Eli Zaretskii  <eliz@gnu.org>

	* facemenu.el (list-colors-callback): New defvar.
	(list-colors-redisplay): New function.
	(list-colors-display): Install list-colors-redisplay as the
	revert-buffer-function.  (Bug#14063)

368 369
2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>

370 371 372
	* minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
	and suffixes don't overlap (bug#14061).

373 374 375 376
	* case-table.el: Use lexical-binding.
	(case-table-get-table): New function.
	(get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.

Ted Zlatanov's avatar
Ted Zlatanov committed
377 378 379 380 381 382
2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/subword.el: Add `superword-mode' to do word motion
	over symbol_words (parallels and leverages `subword-mode' which
	does word motion inside MixedCaseWords).

383 384
2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>

385
	* eshell/em-unix.el: Move su and sudo to...
386 387
	* eshell/em-tramp.el: ...Eshell tramp module

388 389 390 391 392 393
2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
	Change return value to be a sexp.  Delay `get-buffer' to after
	restoring the desktop (bug#13951).

394 395 396 397 398
2013-03-26  Leo Liu  <sdl.web@gmail.com>

	* register.el: Move semantic tag handling back to
	cedet/semantic/senator.el.  (Bug#14052)

399 400 401 402 403
2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
	into the prompt either (bug#13963).

404 405 406 407 408
2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
	part of "(error-foo)".

409 410 411 412 413 414 415 416 417 418 419 420 421
2013-03-24  Juri Linkov  <juri@jurta.org>

	* replace.el (list-matching-lines-prefix-face): New defcustom.
	(occur-1): Pass `list-matching-lines-prefix-face' to the function
	`occur-engine' if `face-differs-from-default-p' returns t.
	(occur-engine): Add `,' inside backquote construct to evaluate
	`prefix-face'.  Propertize the prefix with the `prefix-face' face.
	Pass `prefix-face' to the functions `occur-context-lines' and
	`occur-engine-add-prefix'.
	(occur-engine-add-prefix, occur-context-lines): Add optional arg
	`prefix-face' and propertize the prefix with `prefix-face'.
	(Bug#14017)

422 423 424 425 426 427 428 429 430 431 432
2013-03-24  Leo Liu  <sdl.web@gmail.com>

	* nxml/rng-valid.el (rng-validate-while-idle)
	(rng-validate-quick-while-idle): Guard against deleted buffer.
	(Bug#13999)

	* emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
	is the last entry in kill-buffer-hook.

	* files.el (kill-buffer-hook): Doc fix.

433 434
2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>

435 436
	* emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
	Make it safe-local.
437

438 439
	* vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).

440 441
2013-03-23  Leo Liu  <sdl.web@gmail.com>

442 443 444 445 446 447 448 449 450 451 452
	* nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
	Remove.

	* nxml/rng-valid.el (rng-validate-mode)
	(rng-after-change-function, rng-do-some-validation):
	* nxml/rng-maint.el (rng-validate-buffer):
	* nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
	* nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
	* nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
	(nxml-extend-after-change-region): Use with-silent-modifications.

453 454 455 456 457 458 459
	* nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
	timer-idle-list.

	* nxml/rng-valid.el (rng-validate-while-idle-continue-p)
	(rng-next-error-1, rng-previous-error-1): Do not let-bind
	timer-idle-list.  (Bug#13999)

460 461 462 463 464 465 466 467
2013-03-23  Juri Linkov  <juri@jurta.org>

	* info.el (info-index-match): New face.
	(Info-index, Info-apropos-matches): Add a nested subgroup to the
	main pattern and add text properties with the new face to matches
	in index entries relative to the beginning of the index entry.
	(Bug#14015)

468 469 470 471 472
2013-03-21  Eric Ludlam  <zappo@gnu.org>

	* eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
	Inhibit read only while inserting objects.

473 474 475 476 477 478
2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/cfengine.el: Update docs to mention
	`cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
	symbol motion.  Remove "_" from the word syntax.

479 480 481 482 483
2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
	syntax for both `cfengine2-mode' and `cfengine3-mode'.

484 485 486 487 488 489 490 491
2013-03-20  Juri Linkov  <juri@jurta.org>

	* info.el (Info-next-reference-or-link)
	(Info-prev-reference-or-link): New functions.
	(Info-next-reference, Info-prev-reference): Use them.
	(Info-try-follow-nearest-node): Handle footnote navigation.
	(Info-fontify-node): Fontify footnotes.  (Bug#13989)

492 493 494 495 496
2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
	* mouse.el (mouse-on-link-p): Undo scroll-bar fix.

497 498 499 500 501 502 503 504 505
2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>

	Suppress unnecessary non-ASCII chatter during build process.
	* international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
	(batch-skkdic-convert): Suppress most of the chatter.
	It's not needed so much now that machines are faster,
	and its non-ASCII component was confusing; see Dmitry Gutov in
	<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.

Leo Liu's avatar
Leo Liu committed
506 507 508 509
2013-03-20  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-chop): Fix bug#10994.

510 511 512 513
2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>

	* whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
	Remove vars.
514 515
	(whitespace-color-on, whitespace-color-off):
	Use `font-lock-fontify-buffer' (Bug#13817).
516

517 518 519 520 521 522
2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
	remapping in mode-line.
	(mouse-on-link-p): Also check [mode-line follow-link] bindings.

523 524 525 526
2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>

	* whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
	value for `whitespace-line' face (Bug#13875).
527 528 529 530
	(whitespace-font-lock-keywords): Change description.
	(whitespace-color-on): Don't save `font-lock-keywords' value, save
	the constructed keywords instead.
	(whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
531

532 533 534 535 536 537
2013-03-19  Leo Liu  <sdl.web@gmail.com>

	* progmodes/compile.el (compilation-display-error): New command.
	(compilation-mode-map, compilation-minor-mode-map): Bind it to
	C-o.  (Bug#13992)

Paul Eggert's avatar
Paul Eggert committed
538 539 540 541
2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>

	* term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).

542 543 544 545
2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>

	* mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).

546 547 548 549 550 551 552 553 554 555 556 557 558
2013-03-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-compat.el (tramp-compat-user-error): New defun.

	* net/tramp-adb.el (tramp-adb-handle-shell-command):
	* net/tramp-gvfs.el (top):
	* net/tramp.el (tramp-find-method, tramp-dissect-file-name)
	(tramp-handle-shell-command): Use it.
	(tramp-dissect-file-name): Raise an error when hostname is a
	method name, and neither method nor user is specified.

	* net/trampver.el: Update release number.

559 560 561 562 563 564 565 566 567
2013-03-18  Leo Liu  <sdl.web@gmail.com>

	Make sure eldoc can be turned off properly.
	* emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
	eldoc-mode.
	(eldoc-display-message-p): Revert last change.
	(eldoc-display-message-no-interference-p)
	(eldoc-print-current-symbol-info): Tweak.

568 569 570 571 572 573 574
2013-03-18  Tassilo Horn  <tsdh@gnu.org>

	* doc-view.el (doc-view-new-window-function): Check the new window
	overlay's display property instead the char property of the
	buffer's first char.  Use `with-selected-window' instead of
	`save-window-excursion' with `select-window'.
	(doc-view-document->bitmap): Check the current doc-view overlay's
575
	display property instead the char property of the buffer's first char.
576

Paul Eggert's avatar
Paul Eggert committed
577 578 579 580 581 582 583 584 585
2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>

	Automate the build of ja-dic.el (Bug#13984).
	* international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
	from the input, rather than assume that it's been done for us by the
	SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
	the current date into a ja-dic.el comment, as that complicates
	regression testing.

586 587 588 589 590 591 592 593 594 595 596 597
2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* whitespace.el: Fix double evaluation.
	(whitespace-space, whitespace-hspace, whitespace-tab)
	(whitespace-newline, whitespace-trailing, whitespace-line)
	(whitespace-space-before-tab, whitespace-indentation)
	(whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
	obsolete defvars.
	(whitespace-hspace-regexp): Fix regexp for emacs-unicode.
	(whitespace-color-on): Use a single font-lock-add-keywords call.
	Fix double-evaluation of face variables.

598 599
2013-03-17  Michael Albinus  <michael.albinus@gmx.de>

600 601
	* net/tramp-adb.el (tramp-adb-parse-device-names):
	Use `start-process' instead of `call-process'.  Otherwise, the
Michael Albinus's avatar
Michael Albinus committed
602
	function might be blocked under MS Windows.  (Bug#13299)
603

604 605 606 607 608 609 610 611 612
2013-03-17  Leo Liu  <sdl.web@gmail.com>

	Extend eldoc to display info in the mode-line.  (Bug#13978)
	* emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
	(eldoc-mode-line-string): New variable.
	(eldoc-minibuffer-message): New function.
	(eldoc-message-function): New variable.
	(eldoc-message): Use it.
	(eldoc-display-message-p)
613 614
	(eldoc-display-message-no-interference-p):
	Support eldoc-post-insert-mode.
615 616 617 618

	* simple.el (eval-expression-minibuffer-setup-hook): New hook.
	(eval-expression): Run it.

619 620 621 622 623
2013-03-17  Roland Winkler  <winkler@gnu.org>

	* emacs-lisp/crm.el (completing-read-multiple): Ignore empty
	strings in the list of return values.

624 625 626 627 628
2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-ext.el (math-read-number-fancy): Check for an explicit
	radix before checking for HMS forms.

629 630 631 632 633
2013-03-16  Leo Liu  <sdl.web@gmail.com>

	* progmodes/scheme.el: Add indentation and font-locking for λ.
	(Bug#13975)

Stefan Monnier's avatar
Stefan Monnier committed
634
2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
635 636 637 638

	* emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
	token before point (bug#13942).

Stefan Monnier's avatar
Stefan Monnier committed
639
2013-03-16  Leo Liu  <sdl.web@gmail.com>
640

641
	* thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
642

643 644 645 646 647 648 649
2013-03-16  Eli Zaretskii  <eliz@gnu.org>

	* startup.el (command-line-normalize-file-name): Fix handling of
	backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
	<xfq.free@gmail.com> in
	http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.

Michael Albinus's avatar
Michael Albinus committed
650 651 652 653 654 655
2013-03-15  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.7.

	* net/trampver.el: Update release number.

656 657
2013-03-14  Tassilo Horn  <tsdh@gnu.org>

Tassilo Horn's avatar
Tassilo Horn committed
658 659 660 661 662 663
	* doc-view.el Fix bug#13887.
	(doc-view-insert-image): Don't modify overlay associated to
	non-live windows, and implement horizontal centering of image in
	case it's smaller than the window.
	(doc-view-new-window-function): Force redisplay of new windows on
	doc-view buffers.
664

665 666 667 668 669
2013-03-13  Karl Fogel  <kfogel@red-bean.com>

	* saveplace.el (save-place-alist-to-file): Don't sort
	`save-place-alist', just pretty-print it (bug#13882).

670 671 672 673 674 675
2013-03-13  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
	whether `default-file-name-coding-system' is bound.  It isn't in
	XEmacs.

676 677
2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>

678 679 680
	* emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
	backquotes for `obsolete' (bug#13929).

681 682 683
	* international/mule.el (find-auto-coding): Include file name in
	obsolescence warning (bug#13922).

684 685 686 687 688 689 690
2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/cfengine.el (cfengine-parameters-indent): New variable
	for CFEngine 3-specific indentation.
	(cfengine3-indent-line): Use it.  Fix up category regex.
	(cfengine3-font-lock-keywords): Add bundle and namespace characters.

Stefan Monnier's avatar
Stefan Monnier committed
691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707
2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* type-break.el (type-break-file-name):
	* textmodes/remember.el (remember-data-file):
	* strokes.el (strokes-file):
	* shadowfile.el (shadow-initialize):
	* saveplace.el (save-place-file):
	* ps-bdf.el (bdf-cache-file):
	* progmodes/idlwave.el (idlwave-config-directory):
	* net/quickurl.el (quickurl-url-file):
	* international/kkc.el (kkc-init-file-name):
	* ido.el (ido-save-directory-list-file):
	* emulation/viper.el (viper-custom-file-name):
	* emulation/vip.el (vip-startup-file):
	* calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
	* calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.

708 709 710 711 712
2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>

	Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
	* language/thai-word.el: Switch to UTF-8.

713 714 715 716
2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).

717 718 719 720 721 722 723
2013-03-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* net/net-utils.el (net-utils-remove-ctrl-m-filter):
	Use with-current-buffer and don't move point.
	(net-utils-run-simple): Remove useless code.
	(net-utils-remove-ctl-m): Remove unused custom.

724 725 726 727 728
2013-03-11  Per Starbäck  <starback@stp.lingfil.uu.se>

	* international/characters.el (glyphless-set-char-table-range): New fun.
	(update-glyphless-char-display): Use it (bug#13744).

729 730 731 732 733 734 735
2013-03-11  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
	namespaces in the syntax, indent closer for hanging brace
	correctly, allow single-quote delimited 'strings', and make
	`cfengine3-mode' the default.

736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758
2013-03-11  Jean-Philippe Gravel  <jpgravel@gmail.com>

	* progmodes/gdb-mi.el: Speed up initialization (bug#10580).
	Use lexical-binding.  Fix up docstring according to conventions.
	(gdbmi-debug-mode): New var.
	(gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
	(gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
	(gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
	(gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
	(gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
	(gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
	(gdbmi-bnf-incomplete-record-result): New functions.
	(gdb-car<): Remove function.
	(gdbmi-record-list): Remove variable.
	(gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
	(gdbmi-bnf-result-state-configs): New const.
	(gud-gdbmi-marker-filter): Rewrite.
	(gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
	(gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
	Add `token' argument.
	(gdb-done, gdb-error): New functions.
	(gdb-done-or-error): Add `is-complete' argument.  Change arg order.

759 760
2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>

761 762 763 764 765 766 767
	* term/xterm.el (xterm--report-background-handler): Don't burp
	upon timeout.
	(xterm--version-handler): Extract from terminal-init-xterm.
	(xterm--query): Don't mishandle timeout.  Remove debugging messages.
	Allow multiple handlers.
	(terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.

768 769 770 771
	* term/xterm.el: Don't discard input (bug#6758).  Use lexical-binding.
	(xterm--report-background-handler, xterm--query): New functions.
	(terminal-init-xterm): Use them.

772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791
2013-03-11  Michael R. Mauger  <michael@mauger.com>

	* progmodes/sql.el Version 3.2
	Please note that my address changed to <michael@mauger.com>;
	the <mmaug@yahoo.com> address remains active.
	(sql-connection-alist): Updates documentation to fix bug#13715.
	(sql-connect): Handle missing `sql-connection-alist' correctly.
	(sql-mode-oracle-font-lock-keywords): Add missing keywords.
	(sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
	property.
	(sql-default-value): New function.
	(sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
	values were not used.
	(sql-rename-buffer): Make sure alternate buffer name has no text
	properties.
	(sql-input-sender, sql-execute-feature): Fetch variable with
	`buffer-local-value' rather than `with-current-buffer'.
	(sql-*): Use #' function syntax consistently.
	(sql-*): Use message/error/user-error consistently.

792 793 794 795 796 797
2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xt-mouse.el (xterm-mouse-event-read): Remove.
	(xterm-mouse--read-event-sequence-1000)
	(xterm-mouse--read-event-sequence-1006): Use read-event instead.

798 799
2013-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>

800 801 802
	* term/xterm.el (xterm-function-map): Support format used with
	formatOtherKeys=1 (bug#13839).

803 804 805
	* emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
	(with-no-warnings): Use `declare'.

806 807 808
	* whitespace.el (whitespace-enable-predicate): New variable.
	(whitespace-enable-predicate): Use it.

809 810 811 812
	* comint.el (comint-send-input, comint-snapshot-last-prompt)
	(comint-output-filter, comint-update-fence):
	Use with-silent-modifications.

813 814 815 816 817 818
2013-03-10  Jambunathan K  <kjambunathan@gmail.com>

	* replace.el (occur-read-regexp-defaults-function): New var.
	(occur-read-regexp-defaults): New defun.
	(occur-read-primary-args): Propagate above change (bug#13892).

819 820 821 822
2013-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mouse.el (mouse-drag-track): Remove left-over debugging code.

823 824 825 826 827 828 829 830
2013-03-09  Michael Albinus  <michael.albinus@gmx.de>

	Major rewrite due to changed D-Bus interface of GVFS 1.14.

	* net/tramp-gvfs.el (top): Extend check for gvfs availability.
	(tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
	(tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
	New defconst.
831 832 833
	(tramp-gvfs-file-name-handler-alist) [directory-files]
	[directory-files-and-attributes, file-exists-p, file-modes]:
	Use Tramp default handler.
834 835
	[file-acl, file-selinux-context, process-file, set-file-acl]:
	[set-file-modes, set-file-selinux-context, shell-command]:
836
	[start-file-process]: Remove handler.
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872
	[verify-visited-file-modtime]: New handler.
	(tramp-gvfs-dbus-string-to-byte-array)
	(tramp-gvfs-dbus-byte-array-to-string): New defuns.  Replace all
	calls of `dbus-string-to-byte-array' and
	`tramp-gvfs-dbus-byte-array-to-string'.
	(tramp-gvfs-handle-copy-file)
	(tramp-gvfs-handle-delete-directory)
	(tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
	(tramp-gvfs-handle-file-directory-p)
	(tramp-gvfs-handle-file-executable-p)
	(tramp-gvfs-handle-file-name-all-completions)
	(tramp-gvfs-handle-file-readable-p)
	(tramp-gvfs-handle-file-writable-p)
	(tramp-gvfs-handle-insert-directory)
	(tramp-gvfs-handle-insert-file-contents)
	(tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
	(tramp-gvfs-handle-set-visited-file-modtime)
	(tramp-gvfs-handle-write-region): Rewrite.
	(tramp-gvfs-handle-file-acl)
	(tramp-gvfs-handle-file-selinux-context)
	(tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
	(tramp-gvfs-handle-set-file-modes)
	(tramp-gvfs-handle-set-file-selinux-context)
	(tramp-gvfs-handle-shell-command)
	(tramp-gvfs-handle-start-file-process)
	(tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
	(tramp-gvfs-url-file-name): Do not use `file-truename', we work
	over the symlinks.  Fix user handling.
	(top, tramp-gvfs-handler-mounted-unmounted): Handle different names
	of the D-Bus signals.
	(tramp-gvfs-connection-mounted-p): Handle different names of the
	D-Bus methods.
	(tramp-gvfs-mount-spec-entry): New defun.
	(tramp-gvfs-mount-spec): Use it.
	(tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
	there is a share name.  Handle different names of the D-Bus
873 874
	signals and methods.  Set connection properties needed for
	`tramp-check-cached-permissions'.
875 876 877 878
	(tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
	Return t or nil.

	* net/tramp.el (tramp-backtrace): Move up.
879
	(tramp-error): Dump a backtrace into the debug buffer when
880 881 882 883 884 885 886 887 888 889 890
	`tramp-verbose > 9.
	(tramp-file-mode-type-map, tramp-file-mode-from-int)
	(tramp-file-mode-permissions, tramp-get-local-uid)
	(tramp-get-local-gid, tramp-check-cached-permissions): Move from
	tramp-sh.el.

	* net/tramp-sh.el (tramp-file-mode-type-map)
	(tramp-check-cached-permissions, tramp-file-mode-from-int)
	(tramp-file-mode-permissions, tramp-get-local-uid)
	(tramp-get-local-gid): Move to tramp.el.

891 892 893 894 895 896 897 898 899
2013-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	Separate mouse-1-click-follows-link from mouse-drag-region.
	* mouse.el (mouse--down-1-maybe-follows-link): New function.
	(key-translation-map): Use it to implement mouse-1-click-follows-link.
	(mouse-drag-line, mouse-drag-track):
	Remove mouse-1-click-follows-link code.
	(mouse--remap-link-click-p): Remove.

900 901 902 903 904
2013-03-08  Jambunathan K  <kjambunathan@gmail.com>

	* hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
	(hi-lock-read-regexp-defaults):	 New defun.
	(hi-lock-line-face-buffer, hi-lock-face-buffer)
905 906
	(hi-lock-face-phrase-buffer): Propagate above change.
	Update docstring (bug#13892).
907 908 909 910

	* subr.el (find-tag-default-as-regexp): New defun.
	* replace.el (read-regexp): Propagate above change.

911 912 913 914 915
2013-03-08  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (calc-convert-units): Fix the way that default
	new units are stored.

916
2013-03-07  Matthias Meulien  <orontee@gmail.com>
917 918 919

	* bookmark.el: Define a face to highlight bookmark names in
	bookmark menu buffers, where the default is a bold face similarly
920
	to buffer names in buffer menu buffers.
921 922 923 924 925 926
	(bookmark-menu-bookmark): New face to highlight bookmark names.
	(bookmark-insert-location): Remove duplicated text property to
	conform to buffer list (see `list-buffers').
	(bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
	`bookmark-menu-bookmark' to bookmark names.

927 928
2013-03-07  Matthias Meulien  <orontee@gmail.com>
	    Karl Fogel  <kfogel@red-bean.com>
929 930 931

	* bookmark.el: Display the bookmark list header similarly to the
	buffer list header (see `list-buffers'), where the default is now
932
	an immovable/immutable header line.
933 934 935 936 937 938 939 940 941 942 943 944
	(bookmark-bmenu-use-header-line): New variable.
	(bookmark-bmenu-inline-header-height): New name for
	`bookmark-bmenu-header-height', to avoid confusion with the code
	for the new immovable header.  All references changed.
	(bookmark-bmenu-set-header): New function.
	(bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
	Conditionalize header construction accordingly.
	(bookmark-bmenu-ensure-position): Conditionalize the skipping of
	the inline header height.
	(bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
	Conditionalize the skipping of the inline header height.

945 946
2013-03-07  Dmitry Gutov  <dgutov@yandex.ru>

947 948
	* progmodes/js.el (js--multi-line-declaration-indentation):
	Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
949

950 951
2013-03-06  Dmitry Gutov  <dgutov@yandex.ru>

952 953
	* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
	Only propertize regexp when not inside a string (Bug#13885).
954

955 956 957 958 959 960 961
2013-03-06  Alan Mackenzie  <acm@muc.de>

	Correct the position of point in some line-up functions.
	* progmodes/cc-align.el (c-lineup-whitesmith-in-block)
	(c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
	point at column 0 rather than at a random place in the line.

962 963
2013-03-05  Michael Albinus  <michael.albinus@gmx.de>

964 965
	* net/tramp-compat.el (tramp-compat-delete-directory):
	Implement TRASH argument.
966

967 968 969 970 971 972 973 974 975 976 977 978 979 980
2013-03-05  Dmitry Gutov  <dgutov@yandex.ru>

	Keep pre-existing highlighting in completion candidates (Bug#13250).
	* minibuffer.el (completions-first-difference): State that the
	face is "added" in the docstring.
	(completions-common-part): Same.  And don't inherit from default.
	(completion-hilit-commonality): Prepend 'completions-common-part
	and 'completion-first-difference faces to the 'face property,
	instead of replacing the value(s).
	(completion--insert-strings): Same with 'completions-annotations face.
	(completion-hilit-commonality): Use 'face instead of
	'font-lock-face, because it gets priority if the completion
	strings already have 'face set.

981 982 983 984 985 986 987 988 989 990 991 992 993
2013-03-04  Alan Mackenzie  <acm@muc.de>

	Replace `last-command-event' by `last-command-char' in XEmacs.
	* progmodes/cc-defs.el (c-last-command-char): New macro.
	* progmodes/cc-align.el (c-semi&comma-inside-parenlist)
	(c-semi&comma-no-newlines-before-nonblanks)
	(c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
	in place of `last-command-event'.
	* progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
	(c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
	(c-electric-paren, c-electric-continued-statement): Use the new
	macro in place of `last-command-event'.

994 995 996 997 998
2013-03-04  Glenn Morris  <rgm@gnu.org>

	* files.el (inhibit-local-variables-regexps):
	Add .diff and .patch.  (Bug#13862)

999 1000 1001 1002 1003
2013-03-03  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
	whether the "su" command is available on the device.

1004 1005 1006 1007 1008 1009 1010 1011
2013-03-01  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
	(tramp-adb-handle-process-file): Remove superfluous setting.
	(tramp-adb-command-exit-status): Handle case that COMMAND is nil.
	(tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
	(tramp-adb-maybe-open-connection): Apply "su" if user is defined.

1012 1013 1014 1015 1016 1017 1018
2013-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
	(ispell-print-if-debug): Build `format' in.  Avoid end-of-buffer.
	(ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
	Use dict-key rather than dict-name for the error message.

1019 1020 1021 1022 1023
2013-03-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* net/net-utils.el (net-utils-run-simple): Don't display-buffer
	when reverting (bug#13831).

1024 1025
2013-03-01  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

1026
	* textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1027 1028 1029 1030 1031
	Always expand affix-file before storing to protect against changed
	`default-directory'.
	(ispell-print-if-debug): Make sure message is printed at the end
	of the debug buffer.

1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043
2013-03-01  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-obsolete-methods): New defconst.
	(tramp-warned-obsolete-methods): New defvar.
	(tramp-find-method): Check for obsolete methods.  Map them to a
	replacement method if appropriate.

	* net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
	Remove methods.
	(top): Remove completion functions for "scp1", "scp2", "ssh1",
	"ssh2" and "plink1".

1044 1045 1046 1047 1048 1049
2013-02-28  Dale Sedivec  <dale@codefu.org>

	* textmodes/sgml-mode.el (sgml-syntax-propertize-function):
	Return valid syntax-table property value when converting
	quotes within text from string syntax to punctuation syntax (bug#13844).

1050 1051 1052 1053 1054 1055
2013-02-28  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-diff): If file at point is a backup file,
	use its original as the default value, and reverse the order
	of arguments to the `diff' call.  Doc fix.  (Bug#13772)

1056 1057 1058 1059 1060
2013-02-28  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-adb-sdk-dir): Remove.  Replaced by ...
	(tramp-adb-program): New defcustom.  Remove function.  Adapt calls.

1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082
2013-02-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	Initial support for hunspell dictionaries auto-detection (Bug#13639)

	* textmodes/ispell.el (ispell-find-hunspell-dictionaries):
	Ask hunspell about available and default dictionaries.
	(ispell-parse-hunspell-affix-file): Extract relevant info from
	hunspell affix file.
	(ispell-hunspell-fill-dictionary-entry): Fill non-initialized
	`ispell-dictionary-alist' entry for given dictionary after info
	provided by `ispell-parse-hunspell-affix-file'.
	(ispell-hunspell-dict-paths-alist): New defvar to contain an alist
	of parsed hunspell dicts and associated affix files.
	(ispell-hunspell-dictionary-alist): New defvar to contain an alist
	of parsed hunspell dicts and associated parameters.
	(ispell-set-spellchecker-params):
	Call `ispell-find-hunspell-dictionaries' if hunspell and not
	previously done.
	(ispell-start-process):
	Call `ispell-hunspell-fill-dictionary-entry' for current
	dictionary if it is not initialized.

1083 1084 1085 1086
2013-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* imenu.el: Comment nitpicks.

1087 1088 1089 1090 1091
2013-02-28  Sam Steingold  <sds@gnu.org>

	* vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
	See <http://stackoverflow.com/questions/14720205>.

1092 1093 1094 1095 1096 1097 1098 1099
2013-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
	(net-utils-mode): Use it.
	(net-utils--revert-cmd): New var.
	(net-utils-run-simple): Set it, and remove bogus interactive spec.
	(traceroute): Use net-utils-run-simple.

1100
2013-02-28  Glenn Morris  <rgm@gnu.org>
1101 1102 1103

	* textmodes/paragraphs.el (mark-paragraph): Doc fix.

1104 1105 1106 1107 1108 1109 1110 1111
2013-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
	(doc-view-fallback-mode): Remove overlays here.
	(doc-view-toggle-display): Instead of here.  Don't throw away
	image-mode-winprops-alist.
	(doc-view-goto-page): Don't mess with hscroll.

1112 1113 1114 1115 1116
2013-02-27  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
	&optional (bug#13819).

1117 1118 1119 1120 1121
2013-02-27  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-adb-parse-device-names)
	(tramp-adb-maybe-open-connection): Add timeouts.  (Bug#13299)

1122 1123
2013-02-26  Michael Albinus  <michael.albinus@gmx.de>

1124 1125
	* net/tramp-sh.el (tramp-sh-handle-insert-directory):
	Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1126 1127 1128
	defined.  POSIX environments fall back to the "C" locale then and
	emit a warning, which shall be suppressed.

1129 1130 1131 1132 1133
2013-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
	(easy-mmode-set-keymap-parents): Use make-composed-keymap.

1134 1135 1136 1137
2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-file): Use let.

1138 1139 1140 1141 1142 1143 1144 1145
2013-02-25  Juri Linkov  <juri@jurta.org>

	* replace.el (read-regexp): Let-bind `default' to the first
	element of `defaults' if it's a list, otherwise it should be
	a string or nil.  Let-bind `suggestions' to `defaults' if it's
	a list, otherwise make a list with the string value.  Doc fix.
	(Bug#13805)

1146 1147 1148 1149 1150 1151
2013-02-25  Eli Zaretskii  <eliz@gnu.org>

	* emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
	that match "\`\.#", to avoid compiling lock files, even if they
	are readable (as they are on MS-Windows).

1152 1153 1154 1155
2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el (basic-save-buffer): Remove redundant directory-creation.

1156 1157 1158 1159 1160 1161 1162 1163 1164
2013-02-24  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
	Add option to force `pi' to remain symbolic.
	* calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
	(calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
	(calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
	derivatives, when necessary.

1165 1166 1167 1168 1169
2013-02-23  Peter Kleiweg  <p.c.j.kleiweg@rug.nl>

	* progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
	(ps-mode-octal-region): Use string-make-unibyte.

1170 1171
2013-02-23  Glenn Morris  <rgm@gnu.org>

1172 1173 1174 1175 1176 1177 1178 1179
	* emulation/viper-cmd.el (viper-submit-report):
	* progmodes/ps-mode.el (ps-mode-maintainer-address):
	* progmodes/vera-mode.el (vera-mode-help-address):
	* textmodes/artist.el (artist-maintainer-address):
	* textmodes/reftex.el (reftex-report-bug):
	* vc/ediff-util.el (ediff-submit-report):
	Add bug-gnu-emacs to bug report address.

1180 1181 1182 1183
	* progmodes/simula.el (simula-mode-menu, simula-mode-map):
	Remove bug report entries.
	(simula-mode-help-address, simula-submit-bug-report): Make obsolete.

1184 1185 1186 1187 1188
	* emacs-lisp/bytecomp.el (byte-compile-level): New.
	(byte-compile-file, byte-compile-from-buffer):
	Use separate input/output buffers for each level of recursive
	byte-compile-file calls.  (Bug#13787)

1189 1190 1191 1192 1193 1194 1195 1196
2013-02-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-methods): Fix docstring.
	(tramp-ssh-controlmaster-options): Rename it from
	`tramp-ssh-controlmaster-template'.  Return a string.
	(tramp-default-method): Adapt check for
	`tramp-ssh-controlmaster-options'.

1197 1198
	* net/tramp-sh.el (tramp-methods):
	Replace `tramp-ssh-controlmaster-template' by "%c".
1199 1200 1201 1202
	(tramp-do-copy-or-rename-file-out-of-band)
	(tramp-maybe-open-connection): Use it in format spec.  Ensure,
	that it is applied for the first hop only.

1203
2013-02-22  Juri Linkov  <juri@jurta.org>
1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215

	* isearch.el (isearch-lazy-highlight-new-loop):
	Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
	to `isearch-other-end' if it is not nil.  (Bug#13402)

	* replace.el (replace-highlight): Let-bind `isearch-other-end'
	to `match-beg'.

	* textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
	Let-bind `isearch-other-end' to `start', `isearch-forward' to t
	and `isearch-error' to nil.

Stefan Monnier's avatar
Stefan Monnier committed
1216 1217 1218 1219 1220
2013-03-16  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (python-info-current-defun):
	Enhance match-data cluttering prevention.

1221 1222 1223 1224
2013-02-22  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-tramp-file-p): Fix docstring.

1225 1226
	* net/tramp-sh.el (tramp-sh-handle-insert-directory):
	Handle multibyte file names.
1227

1228 1229
2013-02-22  Glenn Morris  <rgm@gnu.org>

1230 1231 1232 1233
	* textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
	(sgml-transformation-function): Give it a :set function.
	(sgml-tag): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
1234 1235 1236 1237 1238
	* cmuscheme.el (scheme-buffer):
	* progmodes/inf-lisp.el (inferior-lisp-buffer):
	* progmodes/tcl.el (inferior-tcl-buffer):
	* textmodes/tex-mode.el (tex-command): Doc fixes.

1239 1240
	* image-mode.el (image-mode): Add mouse bindings for mode-line-process.

1241 1242
	* htmlfontify.el (hfy-default-header): Encode title string.  (Bug#7457)

1243 1244 1245 1246
2013-02-21  Bastien Guerry  <bzg@gnu.org>

	* cmuscheme.el (scheme-buffer): Fix docstring.  (Bug#13778)

1247
2013-02-21  Fabián Ezequiel Gallina  <fgallina@cuca>
1248

1249 1250
	* progmodes/python.el (python-info-current-defun):
	Enhance match-data cluttering prevention.
1251

1252
2013-02-21  Glenn Morris  <rgm@gnu.org>
1253 1254 1255 1256

	* net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
	loaded while outline-regexp is let bound.  (Bug#9584)

1257
2013-02-21  Fabián Ezequiel Gallina  <fgallina@cuca>
1258 1259 1260 1261

	* progmodes/python.el (python-info-current-defun): Fix failed
	defun name retrieval because of unwanted match-data cluttering.

1262 1263
2013-02-21  Michael Albinus  <michael.albinus@gmx.de>

1264 1265 1266
	* net/tramp.el (tramp-ssh-controlmaster-template): Make it a
	defconst.  Apply independent check for ControlPersist.

1267 1268 1269
	* net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
	temporarily, via "env".

1270 1271
2013-02-21  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1272 1273 1274 1275 1276
	* info.el (Info-enable-edit): Remove.
	(Info-edit): Disable it rather than using Info-enable.
	(Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
	(Info-cease-edit): Make editing of Info files obsolete.

1277 1278 1279
	* informat.el (Info-tagify):
	Handle buffers not visiting files.  (Bug#13763)

1280 1281 1282 1283
2013-02-21  Juanma Barranquero  <lekktu@gmail.com>

	* calc/calc-graph.el (calc-graph-show-dumb): Fix typo.

1284 1285 1286 1287 1288
2013-02-21  Glenn Morris  <rgm@gnu.org>

	* files.el (basic-save-buffer): Move check for existing parent
	directory after hooks.  (Bug#13773)

1289 1290 1291 1292 1293
2013-02-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (command-execute): Move from C.  Add obsolete check.
	(extended-command-history): Move from C.

1294 1295 1296 1297 1298 1299
2013-02-20  Ulrich Müller  <ulm@gentoo.org>

	* jka-cmpr-hook.el (jka-compr-compression-info-list)
	(jka-compr-mode-alist-additions): Handle .txz suffix for
	XZ-compressed tar archives (bug#13770).

1300 1301
2013-02-20  Bastien Guerry  <bzg@gnu.org>

1302 1303
	* outline.el (outline-regexp, outline-heading-end-regexp):
	Make variables, not options (bug#13731).
1304

1305 1306
2013-02-20  Glenn Morris  <rgm@gnu.org>

1307 1308 1309 1310 1311 1312 1313 1314
	* image.el (image-current-frame): Change from variable to function.
	(image-show-frame): Rename from image-nth-frame.  Update callers.
	* image-mode.el (image-multi-frame): New variable.
	(image-mode-map, image-mode, image-goto-frame):
	Use image-multi-frame rather than image-current-frame.
	(image-mode, image-goto-frame): Use image-current-frame as
	function rather than as variable.

1315 1316 1317 1318
	* emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
	* emacs-lisp/cl-macs.el (cl--make-type-test)
	(cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.

1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330
2013-02-19  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cache.el (tramp-get-hash-table): New defun.
	(tramp-get-file-property, tramp-set-file-property)
	(tramp-get-connection-property, tramp-set-connection-property): Use it.
	(tramp-flush-file-property, tramp-flush-directory-property):
	Rename argument to KEY.
	(tramp-flush-connection-property): Simplify a little bit.
	(tramp-connection-property-p): New defun.
	(top): Reapply saved values only if there isn't a corresponding
	entry in `tramp-connection-properties'.

1331 1332
2013-02-19  Fabián Ezequiel Gallina  <fgallina@cuca>

1333 1334
	* progmodes/python.el (python-indent-context):
	Fix python-info-line-ends-backslash-p call.
1335
	(python-info-line-ends-backslash-p)
1336 1337 1338
	(python-info-beginning-of-backslash): Respect line-number argument.
	(python-info-current-line-comment-p):
	Fix behavior when not at beginning-of-line.
1339 1340 1341
	(python-util-position): Remove function.
	(python-util-goto-line): New function.

1342
2013-02-19  Michael Albinus  <michael.albinus@gmx.de>
1343 1344 1345 1346 1347 1348 1349 1350

	* eshell/em-unix.el (eshell/su): Require tramp.
	(eshell/sudo): Require tramp.  Remove now unnecessary check.

	* net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
	`tramp-current-connection' in order to avoid an error when several
	commands are invoked in a short time in eshell and friends.

1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381
2013-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	Cleanup some of EIEIO's namespace.
	* emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
	Use it to define all the class-* and object-* field accessors (renamed
	to eieio--class-* and eieio--object-*).  Update all uses.
	(eieio--class-num-slots, eieio--object-num-slots): Rename from
	class-num-slots and object-num-slots.
	(eieio--check-type): New macro.
	(eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
	(object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
	(eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
	(object-assoc-list-safe): Use it.
	(eieio-defclass): Tighten regexp.
	(eieio--defmethod): Use `memq'.  Signal an error for unknown method kind.
	Remove unreachable code.
	(object-class-fast): Declare obsolete.
	(eieio-class-name, eieio-object-name, eieio-object-set-name-string)
	(eieio-object-class, eieio-object-class-name, eieio-class-parents)
	(eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
	Rename from class-name, object-name, object-set-name-string,
	object-class, object-class-name, class-parents, class-children,
	class-precedence-list, class-parent; with obsolete alias.
	(class-of, class-direct-superclasses, class-direct-subclasses):
	Declare obsolete.
	(eieio-defmethod): Use `memq'; remove unreachable code.
	* emacs-lisp/eieio-base.el (eieio-persistent-read):
	* emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
	(eieio-browse-tree, eieio-browse): Use eieio--check-type.


1382 1383
2013-02-18  Aidan Gauland  <aidalgol@no8wireless.co.nz>

1384 1385
	* eshell/em-cmpl.el: Correct "context-related help" keybinding in
	commentary.
1386

1387 1388 1389 1390 1391
2013-02-18  Michael Heerdegen  <michael_heerdegen@web.de>

	* emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
	Use font-lock-keyword-face for macros and special forms (bug#8345).

1392
2013-02-17  Didier Verna  <didier@didierverna.net>
1393 1394 1395 1396

	* net/network-stream.el (network-stream-open-starttls):
	Check that response to the starttls-command is non-nil.  (Bug#13706)

1397 1398 1399 1400 1401 1402 1403 1404
2013-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
	Don't assume all identifier chars have syntax word.
	* emacs-lisp/lisp-mode.el (lisp-mode-variables):
	Remove bar-not-symbol.  Adjust callers.
	(lisp-mode-variables): Don't set a font-lock-syntax-table.

1405 1406 1407 1408
2013-02-17  Leo Liu  <sdl.web@gmail.com>

	* net/rcirc.el (rcirc-keepalive): Fix invalid timer error.

1409 1410
2013-02-17  Glenn Morris  <rgm@gnu.org>

1411 1412
	* menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.

1413 1414
	* image-mode.el (image-mode-map): Add image-dired menu entry.

1415 1416
	* image-dired.el (tumme): Make this alias obsolete.

1417 1418
2013-02-16  Glenn Morris  <rgm@gnu.org>

1419 1420 1421 1422 1423 1424 1425 1426 1427 1428
	* 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.

1429 1430
	* image-mode.el (image-mode-map): Give it a menu.

1431 1432 1433 1434 1435 1436 1437 1438
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.

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

1442