ChangeLog 917 KB
Newer Older
1 2 3 4
2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>

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

5 6 7 8 9 10 11
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.

12 13 14 15 16
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).

17 18 19 20 21 22 23
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.

24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
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.

47 48
2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>

49 50 51 52 53 54 55
	* 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.

56 57 58 59
	* 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.

60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
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.

80 81 82 83 84 85
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.

86 87
2013-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>

88 89 90
	* term/xterm.el (xterm-function-map): Support format used with
	formatOtherKeys=1 (bug#13839).

91 92 93
	* emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
	(with-no-warnings): Use `declare'.

94 95 96
	* whitespace.el (whitespace-enable-predicate): New variable.
	(whitespace-enable-predicate): Use it.

97 98 99 100
	* comint.el (comint-send-input, comint-snapshot-last-prompt)
	(comint-output-filter, comint-update-fence):
	Use with-silent-modifications.

101 102 103 104 105 106
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).

107 108 109 110
2013-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>

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

111 112 113 114 115 116 117 118
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.
119 120 121
	(tramp-gvfs-file-name-handler-alist) [directory-files]
	[directory-files-and-attributes, file-exists-p, file-modes]:
	Use Tramp default handler.
122 123
	[file-acl, file-selinux-context, process-file, set-file-acl]:
	[set-file-modes, set-file-selinux-context, shell-command]:
124
	[start-file-process]: Remove handler.
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
	[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.

180 181 182 183 184 185 186 187 188
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.

189 190 191 192 193
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)
194 195
	(hi-lock-face-phrase-buffer): Propagate above change.
	Update docstring (bug#13892).
196 197 198 199

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

200 201 202 203 204
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.

205
2013-03-07  Matthias Meulien  <orontee@gmail.com>
206 207 208

	* bookmark.el: Define a face to highlight bookmark names in
	bookmark menu buffers, where the default is a bold face similarly
209
	to buffer names in buffer menu buffers.
210 211 212 213 214 215
	(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.

216 217
2013-03-07  Matthias Meulien  <orontee@gmail.com>
	    Karl Fogel  <kfogel@red-bean.com>
218 219 220

	* bookmark.el: Display the bookmark list header similarly to the
	buffer list header (see `list-buffers'), where the default is now
221
	an immovable/immutable header line.
222 223 224 225 226 227 228 229 230 231 232 233
	(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.

234 235
2013-03-07  Dmitry Gutov  <dgutov@yandex.ru>

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

239 240
2013-03-06  Dmitry Gutov  <dgutov@yandex.ru>

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

244 245 246 247 248 249 250
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.

251 252
2013-03-05  Michael Albinus  <michael.albinus@gmx.de>

253 254
	* net/tramp-compat.el (tramp-compat-delete-directory):
	Implement TRASH argument.
255

256 257 258 259 260 261 262 263 264 265 266 267 268 269
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.

270 271 272 273 274 275 276 277 278 279 280 281 282
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'.

283 284 285 286 287
2013-03-04  Glenn Morris  <rgm@gnu.org>

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

288 289 290 291 292
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.

293 294 295 296 297 298 299 300
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.

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

308 309 310 311 312
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).

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

315
	* textmodes/ispell.el (ispell-find-hunspell-dictionaries):
316 317 318 319 320
	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.

321 322 323 324 325 326 327 328 329 330 331 332
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".

333 334 335 336 337 338
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).

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

345 346 347 348 349
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.

350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371
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.

372 373 374 375
2013-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* imenu.el: Comment nitpicks.

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

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

389
2013-02-28  Glenn Morris  <rgm@gnu.org>
390 391 392

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

393 394 395 396 397 398 399 400
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.

401 402 403 404 405
2013-02-27  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

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

406 407 408 409 410
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)

411 412
2013-02-26  Michael Albinus  <michael.albinus@gmx.de>

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

418 419 420 421 422
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.

423 424 425 426
2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>

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

427 428 429 430 431 432 433 434
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)

435 436 437 438 439 440
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).

441 442 443 444
2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>

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

445 446 447 448 449 450 451 452 453
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.

454 455 456 457 458
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.

459 460
2013-02-23  Glenn Morris  <rgm@gnu.org>

461 462 463 464 465 466 467 468
	* 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.

469 470 471 472
	* progmodes/simula.el (simula-mode-menu, simula-mode-map):
	Remove bug report entries.
	(simula-mode-help-address, simula-submit-bug-report): Make obsolete.

473 474 475 476 477
	* 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)

478 479 480 481 482 483 484 485
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'.

486 487
	* net/tramp-sh.el (tramp-methods):
	Replace `tramp-ssh-controlmaster-template' by "%c".
488 489 490 491
	(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.

492
2013-02-22  Juri Linkov  <juri@jurta.org>
493 494 495 496 497 498 499 500 501 502 503 504

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

505 506 507 508
2013-02-22  Michael Albinus  <michael.albinus@gmx.de>

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

509 510
	* net/tramp-sh.el (tramp-sh-handle-insert-directory):
	Handle multibyte file names.
511

512 513
2013-02-22  Glenn Morris  <rgm@gnu.org>

514 515 516 517
	* 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
518 519 520 521 522
	* 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.

523 524
	* image-mode.el (image-mode): Add mouse bindings for mode-line-process.

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

527 528 529 530
2013-02-21  Bastien Guerry  <bzg@gnu.org>

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

531
2013-02-21  Fabián Ezequiel Gallina  <fgallina@cuca>
532

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

536
2013-02-21  Glenn Morris  <rgm@gnu.org>
537 538 539 540

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

541
2013-02-21  Fabián Ezequiel Gallina  <fgallina@cuca>
542 543 544 545

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

546 547
2013-02-21  Michael Albinus  <michael.albinus@gmx.de>

548 549 550
	* net/tramp.el (tramp-ssh-controlmaster-template): Make it a
	defconst.  Apply independent check for ControlPersist.

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

554 555
2013-02-21  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
556 557 558 559 560
	* 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.

561 562 563
	* informat.el (Info-tagify):
	Handle buffers not visiting files.  (Bug#13763)

564 565 566 567
2013-02-21  Juanma Barranquero  <lekktu@gmail.com>

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

568 569 570 571 572
2013-02-21  Glenn Morris  <rgm@gnu.org>

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

573 574 575 576 577
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.

578 579 580 581 582 583
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).

584 585
2013-02-20  Bastien Guerry  <bzg@gnu.org>

586 587
	* outline.el (outline-regexp, outline-heading-end-regexp):
	Make variables, not options (bug#13731).
588

589 590
2013-02-20  Glenn Morris  <rgm@gnu.org>

591 592 593 594 595 596 597 598
	* 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.

599 600 601 602
	* 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.

603 604 605 606 607 608 609 610 611 612 613 614
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'.

615 616
2013-02-19  Fabián Ezequiel Gallina  <fgallina@cuca>

617 618
	* progmodes/python.el (python-indent-context):
	Fix python-info-line-ends-backslash-p call.
619
	(python-info-line-ends-backslash-p)
620 621 622
	(python-info-beginning-of-backslash): Respect line-number argument.
	(python-info-current-line-comment-p):
	Fix behavior when not at beginning-of-line.
623 624 625
	(python-util-position): Remove function.
	(python-util-goto-line): New function.

626
2013-02-19  Michael Albinus  <michael.albinus@gmx.de>
627 628 629 630 631 632 633 634

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

635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665
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.


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

671
2013-02-17  Didier Verna  <didier@didierverna.net>
672 673 674 675

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

676 677 678 679 680 681 682 683
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.

684 685 686 687
2013-02-17  Leo Liu  <sdl.web@gmail.com>

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

688 689
2013-02-17  Glenn Morris  <rgm@gnu.org>

690 691
	* menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.

692 693
	* image-mode.el (image-mode-map): Add image-dired menu entry.

694 695
	* image-dired.el (tumme): Make this alias obsolete.

696 697
2013-02-16  Glenn Morris  <rgm@gnu.org>

698 699 700 701 702 703 704 705 706 707
	* 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.

708 709
	* image-mode.el (image-mode-map): Give it a menu.

710 711 712 713 714 715 716 717
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.

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

721 722 723 724 725
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).

726 727 728 729 730 731
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).

732 733 734 735 736 737
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)

738 739
2013-02-16  Glenn Morris  <rgm@gnu.org>

740 741 742 743 744
	* 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.

745 746 747 748 749 750
	* 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.

751 752 753 754 755
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)

756 757
2013-02-16  Glenn Morris  <rgm@gnu.org>

758 759 760 761 762
	* 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.

763 764
	* font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.

765 766 767 768
2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>

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

769 770 771 772 773 774
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.
775 776
	(MODE-disable-in-buffer): New (generated) function.
	(disable-MODE): New (generated) buffer local variable.
777

Jambunathan K's avatar
Jambunathan K committed
778 779 780 781 782 783 784 785 786 787
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).

788
2013-02-15  Glenn Morris  <rgm@gnu.org>
789 790 791

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

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

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

798
2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
799 800 801 802 803 804

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

805
2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
806 807 808 809

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

810
2013-02-15  Chong Yidong  <cyd@gnu.org>
811 812 813 814

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

815 816 817 818
2013-02-15  Glenn Morris  <rgm@gnu.org>

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

819 820
2013-02-14  Michael Albinus  <michael.albinus@gmx.de>

821 822
	* net/tramp.el (tramp-debug-message):
	Add `tramp-condition-case-unless-debug'.
823 824 825 826
	(tramp-debug-on-error): New defvar.
	(tramp-condition-case-unless-debug): New defun.
	(tramp-file-name-handler): Use it.

827 828 829 830 831 832
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)

833 834 835 836 837
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)

838 839 840 841 842
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)

843 844 845 846 847 848
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.
849 850 851
	(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.
852

853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869
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.

870 871 872 873
2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>

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

874 875 876 877 878 879 880
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).

881 882 883 884
2013-02-13  YE Qianchuan  <stool.ye@gmail.com>  (tiny change)

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

885 886 887 888 889 890 891 892
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.

893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916
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
917 918 919 920
2013-02-13  Glenn Morris  <rgm@gnu.org>

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

921 922 923 924 925 926
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)

927 928 929 930 931 932 933
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)

934 935 936 937 938 939 940 941 942 943 944
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.

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

950 951 952 953 954
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)
955 956 957 958

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

959
2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
960 961 962 963

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

964 965 966 967 968
2013-02-13  Juanma Barranquero  <lekktu@gmail.com>

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

969 970 971 972 973 974 975
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.

976 977
	* net/tramp-sh.el (tramp-sh-handle-start-file-process):
	Set process marker.
978

979 980 981 982 983 984
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.

985 986
2013-02-12  Glenn Morris  <rgm@gnu.org>

987 988 989
	* files.el (basic-save-buffer):
	Offer to create a non-existing directory.  (Bug#3016)

990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008
	* 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)

1009 1010 1011
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
1012
	(bug#13679).
1013

1014 1015 1016 1017
2013-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1018 1019
2013-02-11  Glenn Morris  <rgm@gnu.org>

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

1024 1025 1026 1027 1028
	* 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)

1029 1030 1031
	* vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
	(vc-svn-global-switches): ... to here.  (Bug#13513)

1032 1033
2013-02-10  Christopher Schmidt  <christopher@ch.ristopher.com>

1034 1035
	* minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
	Handle "foo (bar, default: xxx): " prompts.
1036

1037
2013-02-10  Chong Yidong  <cyd@gnu.org>
1038

1039 1040 1041
	* files.el (basic-save-buffer-1): Do not set
	buffer-file-coding-system-explicit (Bug#4533).

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

1045 1046 1047 1048 1049
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.

1050 1051
2013-02-09  Eli Zaretskii  <eliz@gnu.org>

1052 1053
	* subr.el (buffer-file-type, default-buffer-file-type): Remove.

1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082
	* 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
1083
2013-02-09  Jambunathan K  <kjambunathan@gmail.com>
1084 1085

	* doc-view.el: Use (and prefer) soffice as default ODF->PDF
Glenn Morris's avatar
Glenn Morris committed
1086 1087
	converter (Bug#13622).
	(doc-view-unoconv-program): Make obsolete alias.
1088 1089 1090
	(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
1091 1092
	(doc-view-odf->pdf-converter-unoconv):
	Rename from `doc-view-odf->pdf-converter-unoconv'.
1093
	(doc-view-odf->pdf-converter-soffice): New function.
Glenn Morris's avatar
Glenn Morris committed
1094 1095
	(doc-view-convert-current-doc):
	Use `doc-view-odf->pdf-converter-function'.
1096

1097 1098
2013-02-09  Chong Yidong  <cyd@gnu.org>

1099 1100 1101 1102 1103
	* 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.

1104 1105 1106
	* dired-x.el (dired-do-run-mail): Prompt for confirmation
	(Bug#13561).

1107 1108
2013-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

1115 1116 1117
	* 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
1118 1119 1120 1121 1122 1123 1124
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.

1125 1126 1127 1128 1129
2013-02-08  Jambunathan K  <kjambunathan@gmail.com>

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

1130 1131 1132 1133 1134
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)

1135 1136 1137 1138 1139
2013-02-07  Richard Stallman  <rms@gnu.org>

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

1140
2013-02-07  Alan Mackenzie  <acm@muc.de>
1141

1142
	Fix bug in state cache mechanism.  Remove 'BOD "strategy".  Refactor.
1143 1144
	* progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
	(c-parse-state-get-strategy): Don't return 'BOD any more.
1145 1146 1147 1148 1149 1150
	(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.
1151 1152 1153 1154 1155
	(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,
1156 1157
	instead passing extra parameter HERE to several functions.
	Remove 'BOD strategy.
1158

1159 1160 1161 1162 1163
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.

1164 1165
2013-02-06  Glenn Morris  <rgm@gnu.org>

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

1169 1170 1171
	* startup.el (command-line): If simple.el is missing,
	test and warn about for some possible causes.

1172 1173 1174 1175
2013-02-05  Jan Djärv  <jan.h.d@swipnet.se>

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

1176 1177
2013-02-05  Glenn Morris  <rgm@gnu.org>

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

1180 1181 1182
	* play/gamegrid.el (gamegrid-add-score-with-update-game-score):
	Fix directory creation in fallback case.

1183 1184 1185 1186 1187
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.

1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199
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
1200 1201
	method to find the possible bounds of the URI at point.
	New optional argument to find ill-formed URIs.
1202 1203 1204
	(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.
1205 1206
	(thing-at-point--bounds-of-well-formed-url): New function.
	Do parens matching to decide whether to include parens in the URI
1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218
	(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.

1219 1220 1221 1222 1223
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)

1224 1225 1226 1227 1228 1229 1230
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.

1231 1232
	* net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
	Use `remote-file-name-inhibit-cache'.
1233

1234 1235
2013-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>

1236 1237 1238
	* progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
	(bug#13614).

1239 1240 1241
	* subr.el (internal--called-interactively-p--get-frame): Avoid filling
	current-load-list (bug#13366).

1242 1243 1244 1245
2013-02-02  Christopher Schmidt  <christopher@ch.ristopher.com>

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

1249
2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1250 1251 1252 1253 1254

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

1255
2013-02-02  Juri Linkov  <juri@jurta.org>
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266

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

1267
2013-02-02  Andrew W. Nosenko  <andrew.w.nosenko@gmail.com>  (tiny change)
1268 1269 1270 1271 1272

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

1273
2013-02-02  Glenn Morris  <rgm@gnu.org>
1274 1275 1276

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

1277
2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1278 1279 1280 1281

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

1282 1283 1284 1285 1286
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)

1287 1288
2012-02-01  Christopher Schmidt  <christopher@ch.ristopher.com>

1289 1290 1291 1292 1293 1294 1295 1296 1297
	* 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)

1298 1299 1300
	* info.el (Info-next-reference, Info-prev-reference): Add numeric
	prefix argument.  (Bug#11656)

1301 1302 1303 1304
2013-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

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

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

1313 1314 1315
2013-02-01  Alex Harsanyi  <AlexHarsanyi@gmail.com>

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

1319 1320 1321 1322
2013-02-01  Glenn Morris  <rgm@gnu.org>

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

1323 1324
	* calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.

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

1334 1335 1336 1337 1338 1339
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)

1340 1341 1342 1343 1344
2013-01-31  Michal Nazarewicz  <mina86@mina86.com>

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

1345 1346
2013-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>

1347 1348 1349 1350 1351 1352 1353 1354
	* 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.

1355 1356 1357
	* progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
	(bug#13585).

1358 1359 1360 1361 1362 1363
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>.

1364 1365 1366 1367 1368 1369
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.

1370 1371 1372 1373
2013-01-30  Michael Albinus  <michael.albinus@gmx.de>

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

1374 1375
2013-01-30  Leo Liu  <sdl.web@gmail.com>

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

1378 1379 1380 1381 1382 1383
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)

1384 1385 1386 1387 1388 1389
2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>

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

1390 1391 1392 1393 1394