ChangeLog 579 KB
Newer Older
1 2 3 4 5
2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/octave-mod.el (octave-mode-map): Use comment-dwim (bug#6829).
	(octave-mode): Set comment-add.

6 7 8 9 10
2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)

	* cus-edit.el (custom-save-variables, custom-save-faces): Fix up
	indentation of inserted comment.

11 12 13 14 15 16 17
2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>

	* faces.el (region): Add type gtk that uses gtk colors.

	* dynamic-setting.el (dynamic-setting-handle-config-changed-event):
	Handle theme-name change.

18 19 20 21 22 23
2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 2.5
	(sql-product-alist): Add :prompt-cont-regexp property for several
	database products.
	(sql-prompt-cont-regexp): New variable.
24 25
	(sql-output-newline-count, sql-output-by-send):
	New variables.  Record number of newlines in input text.
26 27 28 29 30 31 32
	(sql-send-string): Handle multiple filters and count newlines.
	(sql-send-magic-terminator): Count terminator newline.
	(sql-interactive-remove-continuation-prompt): Filters output to
	remove continuation prompts; one for each newline.
	(sql-interactive-mode): Set up new variables, prompt regexp and
	output filter.
	(sql-mode-sqlite-font-lock-keywords): Correct some keywords.
33
	(sql-make-alternate-buffer-name): Correct buffer name in edge cases.
34

35 36 37 38
2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/pcase.el: New file.

39 40 41 42 43
2010-08-10  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-vc-registered-read-file-names): Read input
	as here-document, otherwise the command could exceed maximum
	length of command line.
44 45
	(tramp-handle-vc-registered): Call script accordingly.
	Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
46

47 48 49 50 51
2010-08-10  Kenichi Handa  <handa@m17n.org>

	* language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
	composable pattern.

52 53 54 55 56 57 58 59 60 61
2010-08-09  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package-version-split)
	(package--version-first-nonzero, package-version-compare):
	Functions removed.
	(package-directory-list, package-load-all-descriptors)
	(package--built-in, package-activate, define-package)
	(package-installed-p, package-compute-transaction)
	(package-read-all-archive-contents)
	(package--add-to-archive-contents, package-buffer-info)
62 63
	(package-tar-file-info, package-list-packages-internal):
	Use version-to-list and version-list-*.
64

65 66
	* emacs-lisp/package-x.el (package-upload-buffer-internal):
	Use version-to-list.
67 68
	(package-upload-buffer-internal): Use version-list-<=.

69 70
2010-08-09  Kenichi Handa  <handa@m17n.org>

Kenichi Handa's avatar
Kenichi Handa committed
71
	* language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
72 73
	composable pattern.

74 75
2010-08-08  Chong Yidong  <cyd@stupidchicken.com>

76 77 78
	* tutorial.el (tutorial--default-keys): C-d is now bound to
	delete-forward-char (Bug#6826).

79 80 81
	* mouse.el (mouse-drag-track): Remove accidentally-removed check
	for `double' value of mouse-1-click-follows-link (Bug#6807).

82 83 84 85 86 87 88 89 90 91
2010-08-08  Johan Bockgård  <bojohan@gnu.org>

	* replace.el (replace-highlight): Bind isearch-forward and
	isearch-error, ensuring that highlighting is updated if the user
	switches the search direction (Bug#6808).

	* isearch.el (isearch-lazy-highlight-forward): New var.
	(isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
	(isearch-lazy-highlight-update): Use it.

92
2010-08-08  Kenichi Handa  <handa@m17n.org>
93

Juanma Barranquero's avatar
Juanma Barranquero committed
94 95
	* international/mule.el (define-charset): Store NAME as :base property.
	(ctext-non-standard-encodings-table): Pay attention to charset aliases.
96 97
	(ctext-pre-write-conversion): Sort ctext-standard-encodings by the
	current priority.  Force using the designation of the specific
Juanma Barranquero's avatar
Juanma Barranquero committed
98
	charset by adding `charset' text property.  Improve the whole algorithm.
99

100
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
101 102 103 104 105

	* emulation/pc-select.el (pc-selection-mode-hook)
	(copy-region-as-kill-nomark, beginning-of-buffer-mark)
	(pc-selection-mode): Fix typos in docstrings.

106
2010-08-08  Kenichi Handa  <handa@m17n.org>
107 108 109 110

	* language/cyrillic.el: Don't add "microsoft-cp1251" to
	ctext-non-standard-encodings-alist here.

Juanma Barranquero's avatar
Juanma Barranquero committed
111 112
	* international/mule.el (ctext-non-standard-encodings-alist):
	Add "koi8-r" and "microsoft-cp1251".
113 114 115 116 117 118 119 120 121 122
	(ctext-standard-encodings): New variable.
	(ctext-non-standard-encodings-table): List only elements for
	non-standard encodings.
	(ctext-pre-write-conversion): Adjusted for the above change.
	Check ctext-standard-encodings.

	* international/mule-conf.el (compound-text): Doc fix.
	(ctext-no-compositions): Doc fix.
	(compound-text-with-extensions): Doc fix.

123
2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
124 125 126

	* simple.el (exchange-dot-and-mark): Mark obsolete, finally.

Juanma Barranquero's avatar
Juanma Barranquero committed
127
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
128

129 130 131
	* progmodes/which-func.el (which-func-format): Split help-echo text
	into lines, like other mode-line tooltips.

132 133 134
	* server.el (server-start): When using TCP sockets, force IPv4
	and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)

Juanma Barranquero's avatar
Juanma Barranquero committed
135
2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
136 137 138

	* bindings.el (complete-symbol): Run completion-at-point as a fallback.

Juanma Barranquero's avatar
Juanma Barranquero committed
139
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
140 141 142 143 144 145

	* term.el (term-delimiter-argument-list): Reflow docstring.
	(term-read-input-ring, term-write-input-ring, term-send-input)
	(term-bol, term-erase-in-display, serial-supported-or-barf):
	Fix typos in docstrings.

Juanma Barranquero's avatar
Juanma Barranquero committed
146
2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
147 148 149

	* bindings.el (function-key-map): Add a S-tab => backtab fallback.

Juanma Barranquero's avatar
Juanma Barranquero committed
150
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
151 152 153

	* dabbrev.el (dabbrev-completion): Fix typo in docstring.

Juanma Barranquero's avatar
Juanma Barranquero committed
154
2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
155 156 157 158

	* emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
	Fix typo in docstring (bug#6747).

159
2010-08-08  Leo  <sdl.web@gmail.com>
160 161 162 163

	* eshell/esh-io.el (eshell-get-target): Better detection of
	read-only file (Bug#6762).

164
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
165 166 167 168

	* align.el (align-default-spacing): Doc fix.
	(align-region-heuristic, align-regexp): Fix typos in docstrings.

169
2010-08-08  Stephen Peters <speters@itasoftware.com>
Ulf Jasper's avatar
Ulf Jasper committed
170

171
	* calendar/icalendar.el
Ulf Jasper's avatar
Ulf Jasper committed
172 173 174 175 176
	(icalendar--split-value): Fixed splitting regexp. (Bug#6766)
	(icalendar--get-weekday-numbers): New
	(icalendar--convert-recurring-to-diary): Handle multiple byday
	values in weekly rules. (Bug#6766)

177 178 179 180 181 182
2010-08-08  Ulf Jasper  <ulf.jasper@web.de>

	* calendar/icalendar.el (icalendar-uid-format): Doc fix.
	(icalendar--create-uid, icalendar-export-region)
	(icalendar--parse-summary-and-rest): Code formatting.

183 184 185 186 187 188 189 190 191 192 193 194 195 196
2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
	to italicize headers.
	(calc-highlight-selections-with-faces): New variable.
	(calc-selected-face, calc-nonselected-face): New faces.

	* calc/calccomp.el (math-comp-highlight-string): Use
	`calc-highlight-selections-with-faces' to determine how to highlight
	sub-formulas.

	* calc/calc-sel.el (calc-show-selections): Change message to when
	using faces to highlight selections.

197 198
2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
199 200 201
	* progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
	Add SQLite 3 keywords, functions and datatypes.
	(sql-interactive-mode): Remove `comint-process-echoes' set to t
202 203
	(Bug#6686).

204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
2010-08-07  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (select-active-regions): Move to keyboard.c.
	(deactivate-mark): Used saved-region-selection.
	(select-active-region): Function removed.
	(activate-mark, set-mark, push-mark-command)
	(handle-shift-selection): Don't call it.
	(keyboard-quit): Avoid adding the region to the window selection.

	* mouse.el (mouse-drag-track): Remove hacks to deal with old
	select-active-regions implementation.
	(mouse-yank-at-click): Doc fix.

	* cus-start.el: Add custom declaration for select-active-regions.

219 220
2010-08-07  Eli Zaretskii  <eliz@gnu.org>

221 222
	* simple.el (delete-forward-char): Doc fix.

223 224 225
	* tutorial.el (help-with-tutorial): Hack safe file-local variables
	after reading the tutorial.

226 227 228 229 230 231
2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
	for the case that a C style comment has its delimiters alone on
	their respective lines.

232 233
2010-08-06  Michael Albinus  <michael.albinus@gmx.de>

Juanma Barranquero's avatar
Juanma Barranquero committed
234
	* net/tramp.el (tramp-handle-start-file-process): Set connection
235 236 237 238 239 240
	property "vec".
	(tramp-process-sentinel): Use it for flushing the cache.  We
	cannot do it via the process buffer, the buffer could be deleted
	already when running the sentinel.

2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
241 242 243 244

	* comint.el (comint-mode): Make directory tracking functions
	functional on remote files.  (Bug#6764)

245 246 247 248
2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.

249 250 251 252 253 254 255 256
2010-08-05  Eli Zaretskii  <eliz@gnu.org>

	* emacs-lisp/find-gc.el (find-gc-source-files): Rename
	unexec.c => unexcoff.c.

	* emacs-lisp/authors.el (authors-fixed-entries): Rename
	unexec.c => unexcoff.c.

257 258 259 260 261 262 263 264
2010-08-05  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-dired-uncache): Flush directory
	cache, not only file cache.
	(tramp-process-sentinel): New defun.
	(tramp-handle-start-file-process): Use it, in order to invalidate
	file caches.

265 266 267 268
2010-08-03  Leo  <sdl.web@gmail.com>

	* server.el (server-start): Simplify loop.

269 270
2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>

271 272 273
	* frame.el (screen-height, screen-width, set-screen-width)
	(set-screen-height): Remove ancient compatibility aliases.

274 275 276
	* textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
	when justifying.  It seems useless and harmful for ncols=1 (bug#6738).

277 278 279
	* emacs-lisp/timer.el (timer-event-handler): Protect against timers
	that change current buffer.

280 281 282 283 284
2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
	beginning of the string.  Use `string-match-p'.  (Bug#6765)

285 286 287 288
2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>

	* cus-start.el (x-gtk-use-system-tooltips): New variable.

Chong Yidong's avatar
Chong Yidong committed
289 290
2010-08-01  Chong Yidong  <cyd@stupidchicken.com>

291
	* emacs-lisp/package.el (package--list-packages): Fix column alignment.
Chong Yidong's avatar
Chong Yidong committed
292
	(package--builtins): Tweak descriptions.
293 294 295 296
	(package-print-package): Upcase descriptions if necessary.
	Show all built-in packages in font-lock-builtin-face.
	(package-list-packages-internal): Omit "emacs" package.
	Show status of built-in packages as "built-in".
Chong Yidong's avatar
Chong Yidong committed
297

298 299 300 301 302 303 304
2010-07-31  Chong Yidong  <cyd@stupidchicken.com>

	* mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
	before killing to preserve the primary selection (Bug#6701).

	* term/x-win.el (x-select-text): Doc fix.

305 306 307 308
2010-07-31  Nathaniel Flath  <flat0103@gmail.com>

	Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
	The following functions were modified or created:
309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325

	* progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
	(objc-font-lock-extra-types):
	* progmodes/cc-mode.el (c-basic-common-init):
	* progmodes/cc-langs.el (c-make-mode-syntax-table)
	(c++-make-template-syntax-table)
	(c-identifier-syntax-modifications, c-symbol-start, c-operators)
	(c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
	(c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
	(c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
	* progmodes/cc-fonts.el (c-make-inverse-face)
	(c-basic-matchers-after):
	* progmodes/cc-engine.el (c-forward-keyword-clause)
	(c-forward-<>-arglist, c-forward-<>-arglist-recur)
	(c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
	(c-guess-continued-construct, c-guess-basic-syntax):

326 327
2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>

328
	* faces.el (face-all-attributes): Improve documentation (Bug#6767).
329

330 331 332 333 334 335 336
2010-07-31  Eli Zaretskii  <eliz@gnu.org>

	* files.el (bidi-paragraph-direction): Define safe local values.

	* language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
	language-info-alist.  Remove outdated FIXME in a comment.

337 338 339 340 341
2010-07-31  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
	Auto-fill broken in C/C++ modes.

342 343 344 345 346
2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>

	* menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
	(menu-bar-showhide-tool-bar-menu-customize-disable)
	(menu-bar-showhide-tool-bar-menu-customize-enable-right)
347 348
	(menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
	(menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
349 350 351
	(menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
	make a menu for Options => toolbar that can move it.

352 353 354 355 356 357 358 359 360 361 362 363
2010-07-29  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package-x.el (package--make-rss-entry):
	(package-maint-add-news-item, package--update-news)
	(package-upload-buffer-internal): New arg ARCHIVE-URL.

	* emacs-lisp/package.el (package-archive-url): Rename from
	package-archive-id.
	(package-install): Doc fix.
	(package-download-single, package-download-tar, package-install)
	(package-menu-view-commentary): Callers changed.

364 365 366 367 368 369 370 371 372 373 374
2010-07-29  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-start-file-process): Check only for
	`remote-tty' process property.
	(tramp-open-shell): Don't check for tty.
	(tramp-open-connection-setup-interactive-shell): Set `remote-tty'
	process property.

	* progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
	host.

375 376 377 378 379 380 381 382 383 384 385 386 387
2010-07-28  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package-load-list, package-archives)
	(package-archive-contents, package-user-dir)
	(package-directory-list, package--builtins, package-alist)
	(package-activated-list, package-obsolete-alist): Mark as risky.

2010-07-28  Phil Hagelberg  <phil@evri.com>

	Add support for non-default package repositories.
	* emacs-lisp/package.el (package-archive-base): Var deleted.
	(package-archives): New variable.
	(package-archive-contents): Doc fix.
388
	(package-load-descriptor): Do nothing if descriptor file is missing.
389 390 391 392 393 394 395 396 397 398 399 400 401 402 403
	(package--write-file-no-coding): New function.
	(package-unpack-single): Use it.
	(package-archive-id): New function.
	(package-download-single, package-download-tar)
	(package-menu-view-commentary): Use it.
	(package-installed-p): Make second argument optional.
	(package-read-all-archive-contents): New function.
	(package-initialize): Use it.
	(package-read-archive-contents): Add ARCHIVE argument.
	(package--add-to-archive-contents): New function.
	(package-install): Don't call package-read-archive-contents.
	(package--download-one-archive): Store archive file in a
	subdirectory of package-user-dir.
	(package-menu-execute): Remove spurious line movement.

404 405 406 407
2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>

	* cus-start.el (tool-bar-style): Add text-image-horiz.

408 409 410 411 412
2010-07-28  Michael Albinus  <michael.albinus@gmx.de>

	* progmodes/gud.el (gud-common-init): Check for remoteness of
	`file', and not of `default-directory'.

413 414 415 416 417 418 419 420 421 422 423 424 425 426
2010-07-28  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-methods): Move hostname to the end in all
	ssh `tramp-login-args'.
	(tramp-verbose): Describe verbose level 9.
	(tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
	(tramp-open-connection-setup-interactive-shell): Trace stty
	settings if `tramp-verbose' >= 9.
	(tramp-handle-start-file-process): Implement tty setting.
	(Bug#4604, Bug#6360)

	* net/tramp-cmds.el (tramp-bug): Recommend setting of
	`tramp-verbose' to 9.

427 428 429 430 431 432
2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>

	* emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
	(reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
	Remove references to package `lisp-re' (bug#4369).

433 434 435 436 437 438 439
2010-07-27  Tom Tromey  <tromey@redhat.com>

	* progmodes/js.el (js-mode):
	* progmodes/make-mode.el (makefile-mode):
	* progmodes/simula.el (simula-mode):
	* progmodes/tcl.el (tcl-mode): Derive from prog-mode.

Juanma Barranquero's avatar
Juanma Barranquero committed
440
2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
441 442 443

	* help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).

444 445
	* cedet/semantic/db-file.el (object-write): Fix typo in docstring.

446 447 448 449
	* time.el (display-time-day-and-date): Remove spurious * in docstring.
	(display-time-world-buffer-name, display-time-world-mode-map):
	Fix typos in docstrings.

Juanma Barranquero's avatar
Juanma Barranquero committed
450
2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
451 452 453 454 455

	* image-mode.el (image-display-size): New function.
	(image-forward-hscroll, image-next-line, image-eol, image-eob)
	(image-mode-fit-frame): Use it (Bug#6639).

Juanma Barranquero's avatar
Juanma Barranquero committed
456
2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
457 458 459 460

	* dired.el (dired-buffers-for-dir): Handle list values of
	dired-directory (Bug#6636).

461 462 463 464 465
2010-07-26  Sam Steingold  <sds@gnu.org>

	* mouse.el (mouse-yank-primary, mouse-yank-secondary):
	Do not call `x-get-selection' the second time, reuse the value.

466 467 468
2010-07-26  Daiki Ueno  <ueno@unixuser.org>

	* epa-mail.el (epa-mail-mode-map): Add alternative key bindings
469
	which consist of control chars only.  Suggested by Richard Stallman.
470

471 472 473 474 475 476
2010-07-25  Daiki Ueno  <ueno@unixuser.org>

	* epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
	exists before passing an error to find-file-not-found-functions
	(bug#6723).

477 478 479 480 481 482 483 484 485 486 487 488 489 490
2010-07-23  Lukas Huonker  <l.huonker@gmail.com>

	* play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
	Remove leading nil element, adjust values.
	(tetris-shapes, tetris-shape-scores):
	Change representation of shapes and remove some redundancy.
	(tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
	(tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
	Adjust for working with new representation of shapes.
	(tetris-shape-rotations): New function.
	(tetris-move-bottom, tetris-move-left, tetris-move-right)
	(tetris-rotate-prev, tetris-rotate-next):
	Adjust for working with the new version of tetris-test-shape.

491 492 493 494 495 496 497 498 499 500 501
2010-07-23  Markus Triska  <markus.triska@gmx.at>

	* progmodes/ps-mode.el: Use comint (bug#5954).
	(ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
	(ps-mode-other-newline): Simplify.
	(ps-run-mode): Derive from comint-mode instead of
	fundamental-mode, yielding input history etc.
	(ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
	(ps-run-send-string): Adapt for comint-mode.
	(ps-run-newline): Remove now unneeded function.

502 503 504 505 506
2010-07-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-methods): Move hostname to the end in all
	plink `tramp-login-args'.

507 508 509 510 511 512
2010-07-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-open-shell): New defun.
	(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
	Use it.

513 514 515 516 517 518
2010-07-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-file-name-regexp-unified)
	(tramp-completion-file-name-regexp-unified): On W32 systems, do
	not regard the volume letter as remote filename.  (Bug#5447)

519 520 521 522 523
2010-07-23  Juanma Barranquero  <lekktu@gmail.com>

	* custom.el (custom-declare-variable): Give a clearer error message
	when the docstring is missing (bug#6476).

524 525 526 527 528 529 530 531 532 533 534 535
2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 2.4.  Improved Login prompting.
	(sql-login-params): New widget definition.
	(sql-oracle-login-params, sql-mysql-login-params)
	(sql-solid-login-params, sql-sybase-login-params)
	(sql-informix-login-params, sql-ingres-login-params)
	(sql-ms-login-params, sql-postgres-login-params)
	(sql-interbase-login-params, sql-db2-login-params)
	(sql-linter-login-params): Use it.
	(sql-sqlite-login-params): Use it; Define "database" parameter as
	a file name.
Juanma Barranquero's avatar
Juanma Barranquero committed
536
	(sql-sqlite-program): Change to "sqlite3".
537 538 539 540 541 542 543
	(sql-comint-sqlite): Make sure database name is complete.
	(sql-for-each-login): New function.
	(sql-connect, sql-save-connection): Use it.
	(sql-get-login-ext): New function.
	(sql-get-login): Use it.
	(sql-make-alternate-buffer-name): Handle :file parameters.

544 545 546 547 548
2010-07-22  Juanma Barranquero  <lekktu@gmail.com>

	* dired.el (dired-no-confirm): Document value t and fix defcustom to
	accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.

549 550 551 552
2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)

	* dired.el (dired-mode-map): Use command remapping (bug#6632).

553 554 555 556
2010-07-22  Lawrence Mitchell  <wence@gmx.li>

	* term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).

557 558 559 560 561 562
2010-07-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-get-ls-command)
	(tramp-get-ls-command-with-dired): Run tests on "/dev/null"
	instead of "/".

563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578
2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 2.3.
	(sql-connection-alist): Changed keys from symbols to strings;
	enhanced the widget definition.
	(sql-mode-menu): Added submenu to select connections.
	(sql-interactive-mode-menu): Added "Save Connection" item.
	(sql-add-product): Fixed menu item.
	(sql-get-product-feature): Improved error handling.
	(sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
	(sql-make-alternate-buffer-name): Simplified.
	(sql-product-interactive): Handle missing product.
	(sql-connect): Support string keys, minor improvements.
	(sql-save-connection): New function.
	(sql-connection-menu-filter): New function.

579 580 581 582 583 584 585
2010-07-20  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-file-name-handler): Trace 'quit.
	(tramp-open-connection-setup-interactive-shell): Apply
	workaround for IRIX64 bug.  Move argument of last
	`tramp-send-command' where it belongs to.

586 587 588 589 590 591 592
2010-07-20  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-perl-file-attributes)
	(tramp-perl-directory-files-and-attributes): Don't pass "$3".
	(tramp-maybe-open-connection): Use `async-args' and `gw-args' in
	front of `login-args'.

593 594 595 596 597 598
2010-07-19  Juanma Barranquero  <lekktu@gmail.com>

	* time.el (display-time-world-mode): Define with `define-derived-mode'.
	Set `show-trailing-whitespace' to nil.
	(display-time-world-display): Simplify.

599 600 601
2010-07-18  Alan Mackenzie  <acm@muc.de>

	Enhance `c-file-style' in file/directory local variables.
Juanma Barranquero's avatar
Juanma Barranquero committed
602
	* progmodes/cc-mode.el (c-count-cfss): New function.
603 604 605 606
	(c-before-hack-hook): Call `c-set-style' differently according to
	whether c-file-style was set in file or directory local
	variables.

607 608 609 610 611 612 613 614 615 616 617 618 619
2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 2.2.
	(sql-product, sql-user, sql-database, sql-server, sql-port): Use
	defcustom :safe keyword rather than putting safe-local-variable
	property.
	(sql-password): Use defcustom :risky keyword rather than putting
	risky-local-variable property.
	(sql-oracle-login-params, sql-sqlite-login-params)
	(sql-solid-login-params, sql-sybase-login-params)
	(sql-informix-login-params, sql-ingres-login-params)
	(sql-ms-login-params, sql-postgres-login-params)
	(sql-interbase-login-params, sql-db2-login-params)
Juanma Barranquero's avatar
Juanma Barranquero committed
620
	(sql-linter-login-params): Add `port' option.
621 622 623 624 625 626 627 628 629
	(sql-get-product-feature): Added NO-INDIRECT parameter.
	(sql-comint-oracle, sql-comint-sybase)
	(sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
	(sql-comint-solid, sql-comint-ingres, sql-comint-ms)
	(sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
	(sql-comint-linter): Renamed sql-connect-* functions to
	sql-comint-*.
	(sql-product-alist, sql-mode-menu): Renamed as above and
	:sqli-connect-func to :sqli-comint-func.
Juanma Barranquero's avatar
Juanma Barranquero committed
630
	(sql-connection): New variable.
631 632 633 634
	(sql-interactive-mode): Set it.
	(sql-connection-alist): New variable.
	(sql-connect): New function.
	(sql--alt-buffer-part, sql--alt-if-not-empty)
Juanma Barranquero's avatar
Juanma Barranquero committed
635
	(sql-make-alternate-buffer-name): Improved alternative buffer name.
636

637 638 639 640 641
2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* image-mode.el (image-bookmark-make-record): Do not set context
	in an image (Bug#6650).

642 643 644 645 646 647 648 649 650
2010-07-17  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (select-active-region): New function.
	(push-mark-command, set-mark, activate-mark)
	(handle-shift-selection): Use it.
	(deactivate-mark): Don't check for size of region.

	* mouse.el (mouse-drag-track): Use select-active-region.

651 652 653 654 655
2010-07-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-get-ls-command-with-dired): Make test for
	"--dired" stronger.

656 657 658 659 660 661 662 663
2010-07-17  Chong Yidong  <cyd@stupidchicken.com>

	* term/x-win.el (x-select-enable-primary): Change default to nil.
	(x-select-enable-clipboard): Add :version keyword.

	* mouse.el (mouse-drag-copy-region):
	* simple.el (select-active-regions): Likewise.

Reiner Steib's avatar
Reiner Steib committed
664 665
2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>

Juanma Barranquero's avatar
Juanma Barranquero committed
666
	* vc/vc.el (vc-coding-system-inherit-eol): New defvar.
Reiner Steib's avatar
Reiner Steib committed
667 668 669 670
	(vc-coding-system-for-diff): Use it to decide whether to inherit
	from the file the EOL format for reading the diffs of that file.
	(Bug#4451)

671 672 673 674 675
2010-07-16  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmailmm.el (rmail-mime-save): Make the temp buffer
	unibyte, so compressed attachments are not compressed again.

676 677 678 679 680 681 682
2010-07-16  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
	"/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
	(tramp-find-shell): Simplify setting connection property.
	(tramp-get-ls-command): Make test for "--color=never" stronger.

683
2010-07-15  Simon South  <ssouth@member.fsf.org>
684 685 686 687

	* progmodes/delphi.el (delphi-previous-indent-of): Indent case
	blocks within record declarations (i.e. variant parts) correctly.

688 689 690 691 692 693 694
2010-07-15  Simon South  <ssouth@member.fsf.org>

	* progmodes/delphi.el (delphi-token-at): Give newlines precedence
	over literal tokens when parsing so newlines aren't "absorbed" by
	single-line comments.  Corrects the indentation of case blocks
	that have a comment on the first line.

695 696 697 698 699
2010-07-14  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el (bookmark-load-hook): Fix doc string as suggested
	by Drew Adams (Bug#5504).

700 701 702
2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>

	* xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
703
	now that Unicode is used (Bug#6594).
704

705 706 707 708 709 710 711 712 713 714 715 716 717 718
2010-07-14  Chong Yidong  <cyd@stupidchicken.com>

	* term/x-win.el (x-select-enable-clipboard): Default to t.
	(x-initialize-window-system): Don't overwrite Paste menu item.

	* simple.el (select-active-regions): Default to t.
	(push-mark-command): Don't overwrite primary with empty string.

	* mouse.el: Bind mouse-2 to mouse-yank-primary.
	(mouse-drag-copy-region): Default to nil.

	* menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
	Cut/Copy/Paste menu bar items.

Juanma Barranquero's avatar
Juanma Barranquero committed
719
2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
720 721 722 723 724 725 726 727

	Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
	Patch applied by Karl Fogel.

	* bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
	and `bookmark-current-buffer' if they have been already set in
	another buffer (e.g gnus-art).

728
2010-07-13  Karl Fogel  <kfogel@red-bean.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
729
            Thierry Volpiatto  <thierry.volpiatto@gmail.com>
730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750

	Preparation for setting bookmarks in Gnus article buffers (Bug#5975).

	* bookmark.el (bookmark-make-record-default): Allow unneeded
	information to be omitted from the record.

	Adjust declarations and calls:

	* info.el (bookmark-make-record-default): Adjust declaration.
	(Info-bookmark-make-record): Adjust call.

	* woman.el (bookmark-make-record-default): Adjust declaration.
	(woman-bookmark-make-record): Adjust call.

	* man.el (bookmark-make-record-default): Adjust declaration.
	(Man-bookmark-make-record): Adjust call.

	* image-mode.el (bookmark-make-record-default): Adjust declaration.

	* doc-view.el (bookmark-make-record-default): Adjust declaration.

751 752 753 754 755 756 757
2010-07-13  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
	This is also from Thierry Volpiatto's patch in bug #6444.  However,
	because it was extraneous to the functional change in that patch,
	and causes a re-indendation, I am committing it separately.

758
2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
Karl Fogel's avatar
[[[  
Karl Fogel committed
759 760 761

	* bookmark.el (bookmark-show-annotation): Ensure annotations show,
	e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
762
	Patch applied by Karl Fogel (Bug#6444).
Karl Fogel's avatar
[[[  
Karl Fogel committed
763

764 765 766 767
2010-07-13  Chong Yidong  <cyd@stupidchicken.com>

	* frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).

768 769 770 771 772 773 774 775 776 777
2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>

	* term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
	Dempsky; bug#5084).  Remove incorrect binding for S-tab.
	(ns-alternatives-map): Change S-tab binding to backtab
	(bug#6616).

	* simple.el (normal-erase-is-backspace-setup-frame): Set mode on
	under ns.

778 779
2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>

780 781
	* language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
	(Bug#5806)
782

783 784
	* language/tv-util.el (tai-viet-re): Remove format.

Kenichi Handa's avatar
Kenichi Handa committed
785 786
2010-07-12  Kenichi Handa  <handa@m17n.org>

787 788
	* language/hebrew.el: Remove no-byte-compile declaration.
	Change coding: tag to utf-8.  Register hebrew-shape-gstring in
Kenichi Handa's avatar
Kenichi Handa committed
789 790 791 792
	composition-function-table for 3-character looking back.
	(hebrew-font-get-precomposed): New function.
	(hebrew-shape-gstring): Utilize precomposed glyphs if available.

793 794 795 796 797
2010-07-11  Chong Yidong  <cyd@stupidchicken.com>

	* mouse.el (mouse-drag-track): Handle select-active-regions
	(Bug#6612).

798 799 800 801 802
2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>

	* net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
	empty argument to gvfs-copy.

803 804 805 806 807 808 809 810 811 812
2010-07-10  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el (calendar-week-end-day): New function.
	* calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
	Respect calendar-week-start-day.  (Bug#6606)
	(cal-tex-insert-day-names, cal-tex-insert-blank-days)
	(cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
	(cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
	respect calendar-week-start-day.

813 814 815 816
2010-07-10  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (use-region-p): Doc fix (Bug#6607).

817 818 819 820 821
2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)

	* progmodes/compile.el (compilation-error-regexp-alist-alist): Add
	regexps for cucumber and ruby.

822 823 824 825
2010-07-08  Daiki Ueno  <ueno@unixuser.org>

	* epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
	(epa-file-insert-file-contents): Hack to prevent
Daiki Ueno's avatar
Daiki Ueno committed
826
	find-file from opening empty buffer when decryption failed
827 828
	(bug#6568).

829 830
2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>

Juanma Barranquero's avatar
Juanma Barranquero committed
831 832
	* textmodes/ispell.el (ispell-alternate-dictionary):
	Use file-readable-p.
833 834 835 836 837 838 839 840 841
	Return nil if no word-list is found at default locations.
	(ispell-complete-word-dict): Default to nil.
	(ispell-command-loop): Use 'word-list' when using lookup-words.
	(lookup-words): Use ispell-complete-word-dict or
	ispell-alternate-dictionary.  Check for word-list availability
	and handle errors if needed with better messages (Bug#6539).
	(ispell-complete-word): Use ispell-complete-word-dict or
	ispell-alternate-dictionary.

842 843 844 845 846 847
2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>

	* progmodes/python.el (python-font-lock-keywords): Add Python 2.7
	builtins (BufferError, BytesWarning, WindowsError; callables
	bin, bytearray, bytes, format, memoryview, next, print; __package__).

848 849 850 851 852 853 854 855 856 857 858 859 860 861
2010-07-07  Glenn Morris  <rgm@gnu.org>

	* play/zone.el (top-level): Do not require timer, tabify, or cl.
	(zone-shift-left): Ignore intangibility, and any errors from
	forward-char.
	(zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
	(zone-pgm-putz-with-case): Use upcase-region rather than inserting,
	deleting, and copying text properties.
	(zone-line-specs, zone-pgm-stress): Check forward-line exit status.
	(zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
	to point-max is hard.
	(zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
	(zone-fill-out-screen): Ignore intangibility.

862 863
2010-07-05  Chong Yidong  <cyd@stupidchicken.com>

864 865 866 867
	* menu-bar.el (menu-bar-mode):
	* tool-bar.el (tool-bar-mode): Replace default-frame-alist element
	if it has been set.

868 869 870
	* mouse.el (mouse-drag-track): Call mouse-start-end to handle
	word/line selection (Bug#6565).

871 872 873 874
2010-07-04  Juanma Barranquero  <lekktu@gmail.com>

	* net/dbus.el (dbus-send-signal): Declare function.

875 876 877 878 879 880
2010-07-04  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
	(dbus-register-property): New optional argument EMITS-SIGNAL.
	(dbus-property-handler): Send signal "PropertiesChanged" if requested.

881 882 883 884 885 886 887 888 889 890 891 892 893
2010-07-03  Chong Yidong  <cyd@stupidchicken.com>

	* mouse.el (mouse-drag-overlay): Variable deleted.
	(mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
	(mouse--remap-link-click-p): New function.
	(mouse-drag-track): Handle dragging by using temporary Transient
	Mark mode, instead of a special overlay.
	(mouse-kill-ring-save, mouse-save-then-kill): Don't call
	mouse-show-mark.

	* mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
	deleted.

894 895 896 897 898
2010-07-02  Juri Linkov  <juri@jurta.org>

	* autoinsert.el (auto-insert-alist): Fix readability
	by using dotted pair notation for lambda.

899 900 901 902 903 904 905 906 907
2010-07-02  Juri Linkov  <juri@jurta.org>

	* faces.el (read-face-name): Rename arg `string-describing-default'
	to `default'.  Doc fix.  Display the default value in quotes
	in the prompt.  With empty input, return the `default' arg,
	unless the default value is a string (in which case return nil).
	(describe-face): Replace the string `default' arg of `read-face-name'
	with the symbol `default'.

908 909 910 911 912 913 914 915
2010-07-02  Chong Yidong  <cyd@stupidchicken.com>

	* emulation/viper-cmd.el (viper-delete-backward-char)
	(viper-del-backward-char-in-insert)
	(viper-del-backward-char-in-replace, viper-change)
	(viper-backward-indent): Replace delete-backward-char with
	delete-char (Bug#6552).

916 917 918 919
2010-07-01  Chong Yidong  <cyd@stupidchicken.com>

	* ruler-mode.el (ruler--save-header-line-format): Fix typos.

920 921 922 923 924 925 926 927 928 929 930
2010-06-30  Chong Yidong  <cyd@stupidchicken.com>

	* frame.el (make-frame): Add default-frame-alist to the PARAMETERS
	argument passed to frame-creation-function (Bug#5378).

	* faces.el (x-handle-named-frame-geometry)
	(x-handle-reverse-video, x-create-frame-with-faces)
	(face-set-after-frame-default, tty-create-frame-with-faces): Don't
	separately consult default-frame-alist.  It is now passed as the
	PARAMETER argument.

931 932 933 934 935
2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>

	* startup.el (command-line): Don't call tool-bar-setup in a
	tty-only build.

936 937 938 939 940 941
2010-06-30  Chong Yidong  <cyd@stupidchicken.com>

	* ruler-mode.el (ruler--save-header-line-format): New fun.
	(ruler-mode): Use it as a setter function, so as not to overwrite
	ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).

942 943 944 945 946 947 948 949 950
2010-06-29  Chong Yidong  <cyd@stupidchicken.com>

	* vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
	(vc-root-diff, vc-print-root-log, vc-log-incoming)
	(vc-log-outgoing): Use it.
	(vc-diff-internal): Set diff-vc-backend.

	* vc/diff-mode.el (diff-vc-backend): New var.

951 952 953 954 955
2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>

	* dynamic-setting.el (font-setting-change-default-font): Remove
	call to message.

956 957 958 959 960
2010-06-28  Kenichi Handa  <handa@m17n.org>

	* international/quail.el (quail-insert-kbd-layout): Fix the
	showing of untranslated characters.

961 962 963 964 965 966 967 968 969 970 971 972
2010-06-28  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (delete-active-region): New option.
	(delete-backward-char): Implement in Lisp.
	(delete-forward-char): New command.

	* mouse.el (mouse-region-delete-keys): Deleted.
	(mouse-show-mark): Simplify.

	* bindings.el (global-map): Bind delete and DEL, the former to
	delete-forward-char.

Juanma Barranquero's avatar
Juanma Barranquero committed
973
2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
974 975 976 977

	* progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
	(ruby-mode): Bind indent-line-function (Bug#5119).

978 979 980 981
2010-06-27  Chong Yidong  <cyd@stupidchicken.com>

	* startup.el (command-line): Recognize "0" X resource value.

982 983 984 985 986 987 988 989 990 991 992 993 994
2010-06-27  Chong Yidong  <cyd@stupidchicken.com>

	* startup.el (command-line): Use X resources to set the value of
	menu-bar-mode and tool-bar-mode, before calling frame-initialize.

	* menu-bar.el (menu-bar-mode):
	* tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
	Set init-value to t.

	* frame.el (frame-notice-user-settings): Don't change
	default-frame-alist based on menu-bar-mode and tool-bar-mode, or
	vice versa (Bug#2249).

995 996 997 998
2010-06-26  Eli Zaretskii  <eliz@gnu.org>

	* w32-fns.el (w32-convert-standard-filename): Doc fix.

999 1000
2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>

Juanma Barranquero's avatar
Juanma Barranquero committed
1001 1002
	* textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
	Make sure `flyspell-word' re-checks word after function run (Bug#6504).
1003

Juanma Barranquero's avatar
Juanma Barranquero committed
1004
	* textmodes/ispell.el (ispell-init-process): Make sure ispell and
1005
	default directories are expanded (Bug#6143).
1006

1007 1008 1009 1010 1011
2010-06-24  Juri Linkov  <juri@jurta.org>

	* minibuffer.el (completions-format): Change default from nil to
	`horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)

1012 1013 1014 1015 1016 1017
2010-06-24  Juri Linkov  <juri@jurta.org>

	* vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
	buffer-locally to lambda that re-runs the vc diff command.
	(Bug#6447)

1018 1019 1020 1021 1022
2010-06-24  Chong Yidong  <cyd@stupidchicken.com>

	* kmacro.el (kmacro-call-macro): Don't issue hint message if the
	echo area is in use (Bug#3412).

Glenn Morris's avatar
Glenn Morris committed
1023 1024
2010-06-22  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1025 1026 1027 1028 1029 1030
	* textmodes/texinfmt.el (texinfo-format-region)
	(texinfo-raise-lower-sections, texinfo-format-separate-node)
	(texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
	(texinfo-format-option, texinfo-noindent):
	Use line-beginning-position and line-end-position.

Glenn Morris's avatar
Glenn Morris committed
1031 1032 1033 1034 1035
	* calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
	* calc/calc-store.el, calc/calc-units.el, calc/calc.el:
	* calc/calccomp.el: Add explicit utf-8 coding cookies to files with
	utf-8 characters.

1036 1037
2010-06-21  Karl Fogel  <kfogel@red-bean.com>

Glenn Morris's avatar
Glenn Morris committed
1038 1039 1040
	* play/zone.el (zone-fall-through-ws): Fix next-line ->
	forward-line fallout.

1041 1042 1043 1044 1045 1046
2010-07-06  Chong Yidong  <cyd@stupidchicken.com>

	* mouse.el (mouse-appearance-menu): Add docstring.

	* help.el (describe-key): Print up-event using key-description.

1047 1048 1049 1050 1051 1052 1053
2010-07-03  Michael Albinus  <michael.albinus@gmx.de>

	* net/zeroconf.el (zeroconf-resolve-service)
	(zeroconf-service-resolver-handler): Use
	`dbus-byte-array-to-string'.
	(zeroconf-publish-service): Use `dbus-string-to-byte-array'.

1054 1055 1056 1057
2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>

	* net/zeroconf.el (zeroconf-service-remove-hook): New defun.

1058 1059 1060
2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>

	Avoid displaying files with a nil state in vc-dir.
Juanma Barranquero's avatar
Juanma Barranquero committed
1061
	* vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
1062 1063 1064 1065
	cases that cause insertion.
	(vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
	with a nil state.

1066 1067 1068 1069
2010-06-30  Chong Yidong  <cyd@stupidchicken.com>

	* xml.el (xml-parse-region): Avoid infloop (Bug#5281).

1070
2010-06-29  Leo  <sdl.web@gmail.com>
1071 1072 1073

	* emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)

1074 1075 1076 1077 1078
2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)

	* generic-x.el (bat-generic-mode): Fix regexp for command line
	switches (Bug#5719).

1079 1080
2010-06-27  Masatake YAMATO  <yamato@redhat.com>

1081 1082
	* htmlfontify.el (hfy-face-attr-for-class): Use append instead
	of nconc to avoid pure storage error (Bug#6239).
1083

1084 1085
2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)

1086
	* bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
1087 1088 1089
	(bookmark-bmenu-other-window-with-mouse): Remove unnecessary
	bindings of bookmark-automatically-show-annotations (Bug#6515).

Eli Zaretskii's avatar
Eli Zaretskii committed
1090 1091 1092 1093 1094
2010-06-25  Eli Zaretskii  <eliz@gnu.org>

	* arc-mode.el (archive-zip-extract): Don't quote the file name on
	MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)

Štěpán Němec's avatar
Štěpán Němec committed
1095 1096 1097 1098 1099
2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)

	* comint.el (make-comint, make-comint-in-buffer): Mention return
	value in the docstrings.  (Bug#6498)

Yoni Rabkin's avatar
Yoni Rabkin committed
1100 1101 1102 1103 1104
2010-06-24  Yoni Rabkin  <yoni@rabkins.net>

	* bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
	since it is not present when using some non-default switches.

Karl Fogel's avatar
Karl Fogel committed
1105 1106
2010-06-23  Karl Fogel  <kfogel@red-bean.com>

1107 1108 1109 1110
	* simple.el (compose-mail): Fix doc string to refer to
	`compose-mail-user-agent-warnings', instead of to the
	nonexistent `compose-mail-check-user-agent'.

Alan Mackenzie's avatar
Alan Mackenzie committed
1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128
2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>

	Fix an indentation bug:

	* progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
	(c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
	of existing values.

	* progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
	(c-clear->-pair-props-if-match-before): now return t when they've
	cleared properties, nil otherwise.
	(c-before-change-check-<>-operators): Set c-new-beg/end correctly
	by taking account of the existing value.

	* progmodes/cc-defs.el
	(c-clear-char-property-with-value-function): Fix this to clear the
	property rather than overwriting it with nil.

Chong Yidong's avatar
Chong Yidong committed
1129 1130 1131 1132 1133 1134 1135 1136 1137 1138
2010-06-20  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package-print-package): Add link to
	package description via describe-package.
	(describe-package-1): List package requirements.  Add button to
	perform installation.
	(package-menu-describe-package): New command.

	* help-mode.el (help-package): New button type.

1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152
2010-06-19  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el: Move package-list-packages binding to
	menu-bar.el.
	(describe-package, describe-package-1, package--dir): New funs.
	(package-activate-1): Use package--dir.

	* emacs-lisp/package-x.el (gnus-article-buffer): Require package.

	* help-mode.el (help-package-def): New button type.

	* menu-bar.el: Move package-list-packages binding here from
	package.el.

1153 1154 1155 1156
2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)

	* descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)

1157 1158 1159 1160 1161
2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/edebug.el (edebug-read-list):
	Phase out old-style backquotes.

1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175
2010-06-17  Juri Linkov  <juri@jurta.org>

	* help-mode.el (help-mode): Set buffer-local variable
	revert-buffer-function to help-mode-revert-buffer.
	(help-mode-revert-buffer): New function.

	* info.el (Info-revert-find-node): Check for major-mode Info-mode
	before popping to "*info*" (like in other Info functions).
	Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
	old-history-forward.  Pop to old-buffer-name or "*info*" to
	recreate the killed buffer.  Set Info-history-forward from
	old-history-forward.
	(Info-breadcrumbs-depth): Add :group and :version.

1176 1177 1178 1179
2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>

	* emacs-lisp/package.el (package-menu-mode-map): Add a menu.

1180 1181
2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>

Juanma Barranquero's avatar
Juanma Barranquero committed
1182 1183
	* textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
	for languages like Portuguese with pt_{BR,PT} and no plain pt.
1184

1185 1186
2010-06-17  Juanma Barranquero  <lekktu@gmail.com>

1187 1188 1189
	* emacs-lisp/package.el (package-menu-mode-map):
	Move initialization into declaration.

1190 1191
	* menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.

1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219
2010-06-17  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package-archive-base): Point to
	elpa.gnu.org.
	(package-enable, package-load-list): New defcustoms.
	(package-user-dir, package-directory-list): Turn into defcustoms.
	Don't include package-user-dir in package-directory-list.
	(package--builtins-base): Don't include Emacs as a "package".
	(package-subdirectory-regexp): New var.
	(package-load-all-descriptors, package-compute-transaction)
	(package-download-transaction): Obey package-load-list.
	(package-activate-1): Rename from package-do-activate.
	(package-list-packages-internal): Check package-load-list.
	(package-load-descriptor, package-generate-autoloads)
	(package-unpack, package-unpack-single)
	(package--read-archive-file, package-delete): Use
	expand-file-name.

	* emacs-lisp/package-x.el: New file.  Package uploading
	functionality split out from package.el.

	* startup.el (command-line): Load packages after reading init
	file.

2010-06-17  Tom Tromey  <tromey@redhat.com>

	* emacs-lisp/package.el: New file.

1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>

	Fix vc-annotate for renamed files when using Git.
	* vc-git.el (vc-git-find-revision): Deal with empty results from
	ls-files.  Doe not pass the object as a file name to cat-file, it
	is not a file name.
	(vc-git-annotate-command): Pass the file name using -- to avoid
	ambiguity with the revision.
	(vc-git-previous-revision): Pass a relative file name.

1230 1231
2010-06-22  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1232 1233 1234
	* progmodes/js.el (js-mode-map): Use standard capitalization and
	ellipses for menu entries.

1235 1236
	* wid-edit.el (widget-complete): Doc fix.

1237 1238 1239 1240
2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)

	* wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.

1241 1242
2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>

1243 1244 1245
	Fix annotating other revisions for renamed files in vc-annotate.
	* vc-annotate.el (vc-annotate): Add an optional argument for the
	VC backend.  Use it when non-nil.
Juanma Barranquero's avatar
Juanma Barranquero committed
1246 1247
	(vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
	(Bug#6487)
1248

1249 1250 1251 1252 1253
	Fix vc-annotate-show-changeset-diff-revision-at-line for git.
	* vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
	Do not pass the file name to the 'previous-revision call when we
	don't want a file diff.  (Bug#6489)

1254 1255
2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>

1256
	Fix finding revisions for renamed files in vc-annotate.
1257 1258 1259 1260 1261
	* vc.el (vc-find-revision): Add an optional argument for
	the VC backend.  Use it when non-nil.
	* vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
	backend to vc-find-revision.  (Bug#6487)

1262 1263 1264 1265 1266 1267
2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>

	Fix reading file names in Git annotate buffers.
	* vc-git.el (vc-git-annotate-extract-revision-at-line): Remove
	trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)

1268 1269 1270 1271 1272
2010-06-20  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
	in file local variables, set it first.

Glenn Morris's avatar
Glenn Morris committed
1273 1274
2010-06-19  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1275 1276 1277
	* descr-text.el (describe-char-unicode-data): Insert separating
	space when needed.  (Bug#6422)

Glenn Morris's avatar
Glenn Morris committed
1278 1279 1280
	* progmodes/idlwave.el (idlwave-action-and-binding):
	Fix typo in 2009-12-03 change.  (Bug#6450)

1281 1282 1283 1284 1285
2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
	handling for `lambda' (misunderstanding).

1286 1287
2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>

1288
	* calc/calc-poly.el (math-accum-factors): Make sure that
1289 1290
	constants aren't distributed after they are factored out.

1291 1292 1293 1294 1295
2010-06-16  Juri Linkov  <juri@jurta.org>

	* facemenu.el (list-colors-display): Call `pop-to-buffer' before
	`list-colors-print'.  (Bug#6332)

1296 1297
	* subr.el (read-quoted-char): Fix up last change (bug#6290).

1298 1299
2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>

1300 1301 1302
	* emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
	specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.

1303 1304 1305 1306 1307 1308 1309
	* font-lock.el (font-lock-major-mode): Rename from
	font-lock-mode-major-mode to distinguish it from
	global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
	(font-lock-set-defaults):
	* font-core.el (font-lock-default-function): Adjust users.
	(font-lock-mode): Don't set it at all.

Stefan Monnier's avatar
Stefan Monnier committed
1310
2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1311 1312 1313

	* vc-annotate.el (vc-annotate): Use vc-read-revision.

Stefan Monnier's avatar
Stefan Monnier committed
1314
2010-06-16  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
1315 1316 1317 1318 1319 1320 1321

	* calendar/appt.el (appt-time-msg-list): Doc fix.
	(appt-check): Let-bind appt-warn-time.
	(appt-add): Make the 3rd argument optional.
	Simplify argument names.  Doc fix.  Check for integer WARNTIME.
	Only add WARNTIME to the output list if non-nil.

Stefan Monnier's avatar
Stefan Monnier committed
1322
2010-06-16  Ivan Kanis  <apple@kanis.eu>
Ivan Kanis's avatar
Ivan Kanis committed
1323 1324 1325 1326 1327

	* calendar/appt.el (appt-check): Let the 3rd element of
	appt-time-msg-list specify the warning time.
	(appt-add): Add new argument with the warning time.  (Bug#5176)

Stefan Monnier's avatar
Stefan Monnier committed
1328
2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
Bob Rogers's avatar
Bob Rogers committed
1329 1330 1331 1332

	* vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
	older than version 1.6.  (Bug#6361)

Stefan Monnier's avatar
Stefan Monnier committed
1333
2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
Helmut Eller's avatar
Helmut Eller committed
1334 1335 1336 1337

	* emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
	used by cl-do-arglist.  (Bug#6408)

1338 1339
2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>

Juanma Barranquero's avatar
Juanma Barranquero committed
1340
	* textmodes/ispell.el (ispell-dictionary-base-alist): Fix
1341 1342 1343
	portuguese casechars/not-casechars for missing 'çÇ'.
	Suggested by Rolando Pereira (bug#6434).

1344 1345 1346 1347
2010-06-15  Juanma Barranquero  <lekktu@gmail.com>

	* facemenu.el (list-colors-sort): Doc fix.

1348 1349 1350 1351
2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)

	* progmodes/sql.el (sql-connect-mysql): Fix typo.

1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362
2010-06-14  Juri Linkov  <juri@jurta.org>

	Add sort option `list-colors-sort'.  (Bug#6332)
	* facemenu.el (color-rgb-to-hsv): New function.
	(list-colors-sort): New defcustom.
	(list-colors-sort-key): New function.
	(list-colors-display): Doc fix.  Sort list according to the option
	`list-colors-sort'.
	(list-colors-print): Add HSV values to `help-echo' property of
	RGB strings.

1363 1364 1365 1366
2010-06-14  Juri Linkov  <juri@jurta.org>

	* compare-w.el: Move to the "vc" subdirectory.

1367 1368
2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>

1369 1370
	* image-mode.el (image-mode-map): Remap left-char and right-char.

1371 1372
	* nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.

1373 1374
2010-06-12  Chong Yidong  <cyd@stupidchicken.com>