ChangeLog 914 KB
Newer Older
1 2 3 4 5 6
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.

7 8
2013-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>

9 10 11
	* term/xterm.el (xterm-function-map): Support format used with
	formatOtherKeys=1 (bug#13839).

12 13 14
	* emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
	(with-no-warnings): Use `declare'.

15 16 17
	* whitespace.el (whitespace-enable-predicate): New variable.
	(whitespace-enable-predicate): Use it.

18 19 20 21
	* comint.el (comint-send-input, comint-snapshot-last-prompt)
	(comint-output-filter, comint-update-fence):
	Use with-silent-modifications.

22 23 24 25 26 27
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).

28 29 30 31
2013-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>

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

32 33 34 35 36 37 38 39
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.
40 41 42
	(tramp-gvfs-file-name-handler-alist) [directory-files]
	[directory-files-and-attributes, file-exists-p, file-modes]:
	Use Tramp default handler.
43 44
	[file-acl, file-selinux-context, process-file, set-file-acl]:
	[set-file-modes, set-file-selinux-context, shell-command]:
45
	[start-file-process]: Remove handler.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
	[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
	signals and methods.
	(tramp-gvfs-maybe-open-connection): Set connection properties
	needed for `tramp-check-cached-permissions'.
	(tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
	Return t or nil.

	* net/tramp.el (tramp-backtrace): Move up.
	(tramp-error): Apply a backtrace into the debug buffer when
	`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.

101 102 103 104 105 106 107 108 109
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.

110 111 112 113 114
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)
115 116
	(hi-lock-face-phrase-buffer): Propagate above change.
	Update docstring (bug#13892).
117 118 119 120

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

121 122 123 124 125
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.

126
2013-03-07  Matthias Meulien  <orontee@gmail.com>
127 128 129

	* bookmark.el: Define a face to highlight bookmark names in
	bookmark menu buffers, where the default is a bold face similarly
130
	to buffer names in buffer menu buffers.
131 132 133 134 135 136
	(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.

137 138
2013-03-07  Matthias Meulien  <orontee@gmail.com>
	    Karl Fogel  <kfogel@red-bean.com>
139 140 141

	* bookmark.el: Display the bookmark list header similarly to the
	buffer list header (see `list-buffers'), where the default is now
142
	an immovable/immutable header line.
143 144 145 146 147 148 149 150 151 152 153 154
	(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.

155 156
2013-03-07  Dmitry Gutov  <dgutov@yandex.ru>

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

160 161
2013-03-06  Dmitry Gutov  <dgutov@yandex.ru>

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

165 166 167 168 169 170 171
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.

172 173
2013-03-05  Michael Albinus  <michael.albinus@gmx.de>

174 175
	* net/tramp-compat.el (tramp-compat-delete-directory):
	Implement TRASH argument.
176

177 178 179 180 181 182 183 184 185 186 187 188 189 190
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.

191 192 193 194 195 196 197 198 199 200 201 202 203
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'.

204 205 206 207 208
2013-03-04  Glenn Morris  <rgm@gnu.org>

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

209 210 211 212 213
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.

214 215 216 217 218 219 220 221
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.

222 223 224 225 226 227 228
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.

229 230 231 232 233
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).

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

236
	* textmodes/ispell.el (ispell-find-hunspell-dictionaries):
237 238 239 240 241
	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.

242 243 244 245 246 247 248 249 250 251 252 253
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".

254 255 256 257 258 259
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).

260 261 262 263 264 265
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)

266 267 268 269 270
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.

271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292
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.

293 294 295 296
2013-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* imenu.el: Comment nitpicks.

297 298 299 300 301
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>.

302 303 304 305 306 307 308 309
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.

310
2013-02-28  Glenn Morris  <rgm@gnu.org>
311 312 313

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

314 315 316 317 318 319 320 321
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.

322 323 324 325 326
2013-02-27  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

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

327 328 329 330 331
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)

332 333
2013-02-26  Michael Albinus  <michael.albinus@gmx.de>

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

339 340 341 342 343
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.

344 345 346 347
2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>

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

348 349 350 351 352 353 354 355
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)

356 357 358 359 360 361
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).

362 363 364 365
2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>

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

366 367 368 369 370 371 372 373 374
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.

375 376 377 378 379
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.

380 381
2013-02-23  Glenn Morris  <rgm@gnu.org>

382 383 384 385 386 387 388 389
	* 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.

390 391 392 393
	* progmodes/simula.el (simula-mode-menu, simula-mode-map):
	Remove bug report entries.
	(simula-mode-help-address, simula-submit-bug-report): Make obsolete.

394 395 396 397 398
	* 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)

399 400 401 402 403 404 405 406
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'.

407 408
	* net/tramp-sh.el (tramp-methods):
	Replace `tramp-ssh-controlmaster-template' by "%c".
409 410 411 412
	(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.

413
2013-02-22  Juri Linkov  <juri@jurta.org>
414 415 416 417 418 419 420 421 422 423 424 425

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

426 427 428 429
2013-02-22  Michael Albinus  <michael.albinus@gmx.de>

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

430 431
	* net/tramp-sh.el (tramp-sh-handle-insert-directory):
	Handle multibyte file names.
432

433 434
2013-02-22  Glenn Morris  <rgm@gnu.org>

435 436 437 438
	* 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
439 440 441 442 443
	* 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.

444 445
	* image-mode.el (image-mode): Add mouse bindings for mode-line-process.

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

448 449 450 451
2013-02-21  Bastien Guerry  <bzg@gnu.org>

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

452
2013-02-21  Fabián Ezequiel Gallina  <fgallina@cuca>
453

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

457
2013-02-21  Glenn Morris  <rgm@gnu.org>
458 459 460 461

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

462
2013-02-21  Fabián Ezequiel Gallina  <fgallina@cuca>
463 464 465 466

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

467 468
2013-02-21  Michael Albinus  <michael.albinus@gmx.de>

469 470 471
	* net/tramp.el (tramp-ssh-controlmaster-template): Make it a
	defconst.  Apply independent check for ControlPersist.

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

475 476
2013-02-21  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
477 478 479 480 481
	* 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.

482 483 484
	* informat.el (Info-tagify):
	Handle buffers not visiting files.  (Bug#13763)

485 486 487 488
2013-02-21  Juanma Barranquero  <lekktu@gmail.com>

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

489 490 491 492 493
2013-02-21  Glenn Morris  <rgm@gnu.org>

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

494 495 496 497 498
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.

499 500 501 502 503 504
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).

505 506
2013-02-20  Bastien Guerry  <bzg@gnu.org>

507 508
	* outline.el (outline-regexp, outline-heading-end-regexp):
	Make variables, not options (bug#13731).
509

510 511
2013-02-20  Glenn Morris  <rgm@gnu.org>

512 513 514 515 516 517 518 519
	* 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.

520 521 522 523
	* 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.

524 525 526 527 528 529 530 531 532 533 534 535
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'.

536 537
2013-02-19  Fabián Ezequiel Gallina  <fgallina@cuca>

538 539
	* progmodes/python.el (python-indent-context):
	Fix python-info-line-ends-backslash-p call.
540
	(python-info-line-ends-backslash-p)
541 542 543
	(python-info-beginning-of-backslash): Respect line-number argument.
	(python-info-current-line-comment-p):
	Fix behavior when not at beginning-of-line.
544 545 546
	(python-util-position): Remove function.
	(python-util-goto-line): New function.

547
2013-02-19  Michael Albinus  <michael.albinus@gmx.de>
548 549 550 551 552 553 554 555

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

556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586
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.


587 588 589 590 591
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).

592
2013-02-17  Didier Verna  <didier@didierverna.net>
593 594 595 596

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

597 598 599 600 601 602 603 604
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.

605 606 607 608
2013-02-17  Leo Liu  <sdl.web@gmail.com>

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

609 610
2013-02-17  Glenn Morris  <rgm@gnu.org>

611 612
	* menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.

613 614
	* image-mode.el (image-mode-map): Add image-dired menu entry.

615 616
	* image-dired.el (tumme): Make this alias obsolete.

617 618
2013-02-16  Glenn Morris  <rgm@gnu.org>

619 620 621 622 623 624 625 626 627 628
	* 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.

629 630
	* image-mode.el (image-mode-map): Give it a menu.

631 632 633 634 635 636 637 638
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.

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

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

647 648 649 650 651 652
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).

653 654 655 656 657 658
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)

659 660
2013-02-16  Glenn Morris  <rgm@gnu.org>

661 662 663 664 665
	* 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.

666 667 668 669 670 671
	* 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.

672 673 674 675 676
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)

677 678
2013-02-16  Glenn Morris  <rgm@gnu.org>

679 680 681 682 683
	* 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.

684 685
	* font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.

686 687 688 689
2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>

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

690 691 692 693 694 695
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.
696 697
	(MODE-disable-in-buffer): New (generated) function.
	(disable-MODE): New (generated) buffer local variable.
698

Jambunathan K's avatar
Jambunathan K committed
699 700 701 702 703 704 705 706 707 708
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).

709
2013-02-15  Glenn Morris  <rgm@gnu.org>
710 711 712

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

713
2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
714 715 716 717 718

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

719
2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
720 721 722 723 724 725

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

726
2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
727 728 729 730

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

731
2013-02-15  Chong Yidong  <cyd@gnu.org>
732 733 734 735

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

736 737 738 739
2013-02-15  Glenn Morris  <rgm@gnu.org>

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

740 741
2013-02-14  Michael Albinus  <michael.albinus@gmx.de>

742 743
	* net/tramp.el (tramp-debug-message):
	Add `tramp-condition-case-unless-debug'.
744 745 746 747
	(tramp-debug-on-error): New defvar.
	(tramp-condition-case-unless-debug): New defun.
	(tramp-file-name-handler): Use it.

748 749 750 751 752 753
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)

754 755 756 757 758
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)

759 760 761 762 763
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)

764 765 766 767 768 769
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.
770 771 772
	(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.
773

774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790
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.

791 792 793 794
2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>

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

795 796 797 798 799 800 801
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).

802 803 804 805
2013-02-13  YE Qianchuan  <stool.ye@gmail.com>  (tiny change)

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

806 807 808 809 810 811 812 813
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.

814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837
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
838 839 840 841
2013-02-13  Glenn Morris  <rgm@gnu.org>

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

842 843 844 845 846 847
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)

848 849 850 851 852 853 854
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)

855 856 857 858 859 860 861 862 863 864 865
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.

866 867 868 869 870
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)

871 872 873 874 875
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)
876 877 878 879

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

880
2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
881 882 883 884

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

885 886 887 888 889
2013-02-13  Juanma Barranquero  <lekktu@gmail.com>

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

890 891 892 893 894 895 896
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.

897 898
	* net/tramp-sh.el (tramp-sh-handle-start-file-process):
	Set process marker.
899

900 901 902 903 904 905
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.

906 907
2013-02-12  Glenn Morris  <rgm@gnu.org>

908 909 910
	* files.el (basic-save-buffer):
	Offer to create a non-existing directory.  (Bug#3016)

911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929
	* 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)

930 931 932
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
933
	(bug#13679).
934

935 936 937 938
2013-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>

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

939 940
2013-02-11  Glenn Morris  <rgm@gnu.org>

941 942 943 944
	* 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)

945 946 947 948 949
	* 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)

950 951 952
	* vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
	(vc-svn-global-switches): ... to here.  (Bug#13513)

953 954
2013-02-10  Christopher Schmidt  <christopher@ch.ristopher.com>

955 956
	* minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
	Handle "foo (bar, default: xxx): " prompts.
957

958
2013-02-10  Chong Yidong  <cyd@gnu.org>
959

960 961 962
	* files.el (basic-save-buffer-1): Do not set
	buffer-file-coding-system-explicit (Bug#4533).

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

966 967 968 969 970
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.

971 972
2013-02-09  Eli Zaretskii  <eliz@gnu.org>

973 974
	* subr.el (buffer-file-type, default-buffer-file-type): Remove.

975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003
	* 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
1004
2013-02-09  Jambunathan K  <kjambunathan@gmail.com>
1005 1006

	* doc-view.el: Use (and prefer) soffice as default ODF->PDF
Glenn Morris's avatar
Glenn Morris committed
1007 1008
	converter (Bug#13622).
	(doc-view-unoconv-program): Make obsolete alias.
1009 1010 1011
	(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
1012 1013
	(doc-view-odf->pdf-converter-unoconv):
	Rename from `doc-view-odf->pdf-converter-unoconv'.
1014
	(doc-view-odf->pdf-converter-soffice): New function.
Glenn Morris's avatar
Glenn Morris committed
1015 1016
	(doc-view-convert-current-doc):
	Use `doc-view-odf->pdf-converter-function'.
1017

1018 1019
2013-02-09  Chong Yidong  <cyd@gnu.org>

1020 1021 1022 1023 1024
	* 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.

1025 1026 1027
	* dired-x.el (dired-do-run-mail): Prompt for confirmation
	(Bug#13561).

1028 1029
2013-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

1036 1037 1038
	* 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
1039 1040 1041 1042 1043 1044 1045
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.

1046 1047 1048 1049 1050
2013-02-08  Jambunathan K  <kjambunathan@gmail.com>

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

1051 1052 1053 1054 1055
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)

1056 1057 1058 1059 1060
2013-02-07  Richard Stallman  <rms@gnu.org>

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

1061
2013-02-07  Alan Mackenzie  <acm@muc.de>
1062

1063
	Fix bug in state cache mechanism.  Remove 'BOD "strategy".  Refactor.
1064 1065
	* progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
	(c-parse-state-get-strategy): Don't return 'BOD any more.
1066 1067 1068 1069 1070 1071
	(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.
1072 1073 1074 1075 1076
	(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,
1077 1078
	instead passing extra parameter HERE to several functions.
	Remove 'BOD strategy.
1079

1080 1081 1082 1083 1084
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.

1085 1086
2013-02-06  Glenn Morris  <rgm@gnu.org>

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

1090 1091 1092
	* startup.el (command-line): If simple.el is missing,
	test and warn about for some possible causes.

1093 1094 1095 1096
2013-02-05  Jan Djärv  <jan.h.d@swipnet.se>

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

1097 1098
2013-02-05  Glenn Morris  <rgm@gnu.org>

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

1101 1102 1103
	* play/gamegrid.el (gamegrid-add-score-with-update-game-score):
	Fix directory creation in fallback case.

1104 1105 1106 1107 1108
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.

1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120
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
1121 1122
	method to find the possible bounds of the URI at point.
	New optional argument to find ill-formed URIs.
1123 1124 1125
	(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.
1126 1127
	(thing-at-point--bounds-of-well-formed-url): New function.
	Do parens matching to decide whether to include parens in the URI
1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139
	(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.

1140 1141 1142 1143 1144
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)

1145 1146 1147 1148 1149 1150 1151
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.

1152 1153
	* net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
	Use `remote-file-name-inhibit-cache'.
1154

1155 1156
2013-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>

1157 1158 1159
	* progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
	(bug#13614).

1160 1161 1162
	* subr.el (internal--called-interactively-p--get-frame): Avoid filling
	current-load-list (bug#13366).

1163 1164 1165 1166
2013-02-02  Christopher Schmidt  <christopher@ch.ristopher.com>

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

1170
2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1171 1172 1173 1174 1175

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

1176
2013-02-02  Juri Linkov  <juri@jurta.org>
1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187

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

1188
2013-02-02  Andrew W. Nosenko  <andrew.w.nosenko@gmail.com>  (tiny change)
1189 1190 1191 1192 1193

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

1194
2013-02-02  Glenn Morris  <rgm@gnu.org>
1195 1196 1197

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

1198
2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1199 1200 1201 1202

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

1203 1204 1205 1206 1207
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)

1208 1209
2012-02-01  Christopher Schmidt  <christopher@ch.ristopher.com>

1210 1211 1212 1213 1214 1215 1216 1217 1218
	* 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)

1219 1220 1221
	* info.el (Info-next-reference, Info-prev-reference): Add numeric
	prefix argument.  (Bug#11656)

1222 1223 1224 1225
2013-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1226 1227
2013-02-01  Glenn Morris  <rgm@gnu.org>

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

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

1234 1235 1236
2013-02-01  Alex Harsanyi  <AlexHarsanyi@gmail.com>

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

1240 1241 1242 1243
2013-02-01  Glenn Morris  <rgm@gnu.org>

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

1244 1245
	* calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.

1246 1247 1248 1249 1250 1251 1252 1253 1254
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.

1255 1256 1257 1258 1259 1260
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)

1261 1262 1263 1264 1265
2013-01-31  Michal Nazarewicz  <mina86@mina86.com>

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

1266 1267
2013-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>

1268 1269 1270 1271 1272 1273 1274 1275
	* 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.

1276 1277 1278
	* progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
	(bug#13585).

1279 1280 1281 1282 1283 1284
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>.

1285 1286 1287 1288 1289 1290
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.

1291 1292 1293 1294
2013-01-30  Michael Albinus  <michael.albinus@gmx.de>

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

1295 1296
2013-01-30  Leo Liu  <sdl.web@gmail.com>

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

1299 1300 1301 1302 1303 1304
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)

1305 1306 1307 1308 1309 1310
2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>

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

1311 1312 1313 1314 1315 1316 1317
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.

1318 1319 1320 1321 1322 1323
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.

1324 1325 1326 1327 1328 1329 1330 1331
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.

1332 1333 1334 1335 1336
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.

1337
2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
1338

1339 1340
	* progmodes/python.el (python-shell-parse-command):
	Find python-shell-interpreter with modified environment.
1341

1342
2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1343 1344 1345

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

1346 1347 1348 1349
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):
1350
	(c-awk-harmless-string*-here-re): Braces, parens and semicolons
1351 1352 1353
	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.
1354
	(c-awk-neutral-re): { is no longer neutral.  Escaped newlines now are.
1355 1356 1357 1358 1359 1360
	(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.
1361
	(c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1362