ChangeLog 581 KB
Newer Older
1 2 3 4 5 6 7
2010-08-16  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (deactivate-mark): If select-active-regions is `only',
	only set selection for temporarily active regions.

	* cus-start.el: Change defcustom for select-active-regions.

8 9 10 11 12 13 14
2010-08-15  Chong Yidong  <cyd@stupidchicken.com>

	* mouse.el (mouse--drag-set-mark-and-point): New function.
	(mouse-drag-track): Use LOCATION arg to push-mark.  Use
	mouse--drag-set-mark-and-point to take click-count into
	consideration when updating point and mark (Bug#6840).

15 16 17 18 19
2010-08-15  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Give the Ruby rule a lower priority than Gnu (Bug#6778).

20 21 22 23 24 25
2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)

	* font-lock.el (lisp-font-lock-keywords-2): Add
	combine-after-change-calls, condition-case-no-debug,
	with-demoted-errors, and with-silent-modifications (Bug#6025).

26 27 28
2010-08-14  Kevin Ryde  <user42@zip.com.au>

	* emacs-lisp/copyright.el (copyright-update-year)
29 30
	(copyright-update): Temporary switch-to-buffer to ensure the
	buffer change being queried is visible (Bug#5394).
31

32 33 34 35 36
2010-08-14  Tom Tromey  <tromey@redhat.com>

	* progmodes/etags.el (tags-file-name): Mark safe if stringp
	(Bug#6733).

37 38 39 40 41
2010-08-14  Eli Zaretskii  <eliz@gnu.org>

	* mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
	MS-DOS.  (Bug#6689)

42 43 44 45 46 47 48 49 50
2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>

	* menu-bar.el (menu-bar-set-tool-bar-position): New function.
	(menu-bar-showhide-tool-bar-menu-customize-enable-left)
	(menu-bar-showhide-tool-bar-menu-customize-enable-right)
	(menu-bar-showhide-tool-bar-menu-customize-enable-top)
	(menu-bar-showhide-tool-bar-menu-customize-enable-bottom): Call
	menu-bar-set-tool-bar-position.

51 52
2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>

53 54 55 56 57 58
	* progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
	comment style (bug#6834).
	* progmodes/scheme.el (scheme-mode-syntax-table):
	* emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
	"b" flag in "' 14b" syntax.

59 60 61 62 63 64 65 66 67 68 69
	* progmodes/octave-mod.el (octave-mode-map): Remove special bindings
	for (un)commenting the region and performing completion.
	(octave-mode-menu): Use standard commands for help and completion.
	(octave-mode-syntax-table): Support %{..%} comments (sort of).
	(octave-mode): Use define-derived-mode.
	Set completion-at-point-functions and don't set columns.
	Don't disable adaptive-fill-regexp.
	(octave-describe-major-mode, octave-comment-region)
	(octave-uncomment-region, octave-comment-indent)
	(octave-indent-for-comment): Remove.
	(octave-indent-calculate): Rename from calculate-octave-indent.
Stefan Monnier's avatar
Stefan Monnier committed
70
	(octave-indent-line, octave-fill-paragraph): Update caller.
71 72 73 74 75 76 77
	(octave-initialize-completions): No need to make an alist.
	(octave-completion-at-point-function): New function.
	(octave-complete-symbol): Use it.
	(octave-insert-defun): Use define-skeleton.

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

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

84 85 86 87 88 89 90
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.

91 92 93 94 95 96
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.
97 98
	(sql-output-newline-count, sql-output-by-send):
	New variables.  Record number of newlines in input text.
99 100 101 102 103 104 105
	(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.
106
	(sql-make-alternate-buffer-name): Correct buffer name in edge cases.
107

108 109 110 111
2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>

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

112 113 114 115 116
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.
117 118
	(tramp-handle-vc-registered): Call script accordingly.
	Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
119

120 121 122 123 124
2010-08-10  Kenichi Handa  <handa@m17n.org>

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

125 126 127 128 129 130 131 132 133 134
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)
135 136
	(package-tar-file-info, package-list-packages-internal):
	Use version-to-list and version-list-*.
137

138 139
	* emacs-lisp/package-x.el (package-upload-buffer-internal):
	Use version-to-list.
140 141
	(package-upload-buffer-internal): Use version-list-<=.

142 143
2010-08-09  Kenichi Handa  <handa@m17n.org>

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

147 148
2010-08-08  Chong Yidong  <cyd@stupidchicken.com>

149 150 151
	* tutorial.el (tutorial--default-keys): C-d is now bound to
	delete-forward-char (Bug#6826).

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

155 156 157 158 159 160 161 162 163 164
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.

165
2010-08-08  Kenichi Handa  <handa@m17n.org>
166

Juanma Barranquero's avatar
Juanma Barranquero committed
167 168
	* international/mule.el (define-charset): Store NAME as :base property.
	(ctext-non-standard-encodings-table): Pay attention to charset aliases.
169 170
	(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
171
	charset by adding `charset' text property.  Improve the whole algorithm.
172

173
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
174 175 176 177 178

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

179
2010-08-08  Kenichi Handa  <handa@m17n.org>
180 181 182 183

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

Juanma Barranquero's avatar
Juanma Barranquero committed
184 185
	* international/mule.el (ctext-non-standard-encodings-alist):
	Add "koi8-r" and "microsoft-cp1251".
186 187 188 189 190 191 192 193 194 195
	(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.

196
2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
197 198 199

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

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

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

205 206 207
	* 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
208
2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
209 210 211

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

Juanma Barranquero's avatar
Juanma Barranquero committed
212
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
213 214 215 216 217 218

	* 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
219
2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
220 221 222

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

Juanma Barranquero's avatar
Juanma Barranquero committed
223
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
224 225 226

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

Juanma Barranquero's avatar
Juanma Barranquero committed
227
2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
228 229 230 231

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

232
2010-08-08  Leo  <sdl.web@gmail.com>
233 234 235 236

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

237
2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
238 239 240 241

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

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

244
	* calendar/icalendar.el
Ulf Jasper's avatar
Ulf Jasper committed
245 246 247 248 249
	(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)

250 251 252 253 254 255
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.

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

270 271
2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
272 273 274
	* 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
275 276
	(Bug#6686).

277 278 279 280 281 282 283 284 285 286 287 288 289 290 291
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.

292 293
2010-08-07  Eli Zaretskii  <eliz@gnu.org>

294 295
	* simple.el (delete-forward-char): Doc fix.

296 297 298
	* tutorial.el (help-with-tutorial): Hack safe file-local variables
	after reading the tutorial.

299 300 301 302 303 304
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.

305 306
2010-08-06  Michael Albinus  <michael.albinus@gmx.de>

Juanma Barranquero's avatar
Juanma Barranquero committed
307
	* net/tramp.el (tramp-handle-start-file-process): Set connection
308 309 310 311 312 313
	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)
314 315 316 317

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

318 319 320 321
2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>

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

322 323 324 325 326 327 328 329
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.

330 331 332 333 334 335 336 337
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.

338 339 340 341
2010-08-03  Leo  <sdl.web@gmail.com>

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

342 343
2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>

344 345 346
	* frame.el (screen-height, screen-width, set-screen-width)
	(set-screen-height): Remove ancient compatibility aliases.

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

350 351 352
	* emacs-lisp/timer.el (timer-event-handler): Protect against timers
	that change current buffer.

353 354 355 356 357
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)

358 359 360 361
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
362 363
2010-08-01  Chong Yidong  <cyd@stupidchicken.com>

364
	* emacs-lisp/package.el (package--list-packages): Fix column alignment.
Chong Yidong's avatar
Chong Yidong committed
365
	(package--builtins): Tweak descriptions.
366 367 368 369
	(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
370

371 372 373 374 375 376 377
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.

378 379 380 381
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:
382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398

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

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

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

403 404 405 406 407 408 409
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.

410 411 412 413 414
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.

415 416 417 418 419
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)
420 421
	(menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
	(menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
422 423 424
	(menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
	make a menu for Options => toolbar that can move it.

425 426 427 428 429 430 431 432 433 434 435 436
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.

437 438 439 440 441 442 443 444 445 446 447
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.

448 449 450 451 452 453 454 455 456 457 458 459 460
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.
461
	(package-load-descriptor): Do nothing if descriptor file is missing.
462 463 464 465 466 467 468 469 470 471 472 473 474 475 476
	(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.

477 478 479 480
2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>

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

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

486 487 488 489 490 491 492 493 494 495 496 497 498 499
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.

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

506 507 508 509 510 511 512
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
513
2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
514 515 516

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

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

519 520 521 522
	* 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
523
2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
524 525 526 527 528

	* 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
529
2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
530 531 532 533

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

534 535 536 537 538
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.

539 540 541
2010-07-26  Daiki Ueno  <ueno@unixuser.org>

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

544 545 546 547 548 549
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).

550 551 552 553 554 555 556 557 558 559 560 561 562 563
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.

564 565 566 567 568 569 570 571 572 573 574
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.

575 576 577 578 579
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'.

580 581 582 583 584 585
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.

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

592 593 594 595 596
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).

597 598 599 600 601 602 603 604 605 606 607 608
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
609
	(sql-sqlite-program): Change to "sqlite3".
610 611 612 613 614 615 616
	(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.

617 618 619 620 621
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>.

622 623 624 625
2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)

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

626 627 628 629
2010-07-22  Lawrence Mitchell  <wence@gmx.li>

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

630 631 632 633 634 635
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 "/".

636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651
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.

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

659 660 661 662 663 664 665
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'.

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

672 673 674
2010-07-18  Alan Mackenzie  <acm@muc.de>

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

680 681 682 683 684 685 686 687 688 689 690 691 692
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
693
	(sql-linter-login-params): Add `port' option.
694 695 696 697 698 699 700 701 702
	(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
703
	(sql-connection): New variable.
704 705 706 707
	(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
708
	(sql-make-alternate-buffer-name): Improved alternative buffer name.
709

710 711 712 713 714
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).

715 716 717 718 719 720 721 722 723
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.

724 725 726 727 728
2010-07-17  Michael Albinus  <michael.albinus@gmx.de>

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

729 730 731 732 733 734 735 736
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
737 738
2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>

Juanma Barranquero's avatar
Juanma Barranquero committed
739
	* vc/vc.el (vc-coding-system-inherit-eol): New defvar.
Reiner Steib's avatar
Reiner Steib committed
740 741 742 743
	(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)

744 745 746 747 748
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.

749 750 751 752 753 754 755
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.

756
2010-07-15  Simon South  <ssouth@member.fsf.org>
757 758 759 760

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

761 762 763 764 765 766 767
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.

768 769 770 771 772
2010-07-14  Karl Fogel  <kfogel@red-bean.com>

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

773 774 775
2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>

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

778 779 780 781 782 783 784 785 786 787 788 789 790 791
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
792
2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
793 794 795 796 797 798 799 800

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

801
2010-07-13  Karl Fogel  <kfogel@red-bean.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
802
            Thierry Volpiatto  <thierry.volpiatto@gmail.com>
803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823

	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.

824 825 826 827 828 829 830
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.

831
2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
Karl Fogel's avatar
[[[  
Karl Fogel committed
832 833 834

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

837 838 839 840
2010-07-13  Chong Yidong  <cyd@stupidchicken.com>

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

841 842 843 844 845 846 847 848 849 850
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.

851 852
2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>

853 854
	* language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
	(Bug#5806)
855

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

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

860 861
	* 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
862 863 864 865
	composition-function-table for 3-character looking back.
	(hebrew-font-get-precomposed): New function.
	(hebrew-shape-gstring): Utilize precomposed glyphs if available.

866 867 868 869 870
2010-07-11  Chong Yidong  <cyd@stupidchicken.com>

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

871 872 873 874 875
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.

876 877 878 879 880 881 882 883 884 885
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.

886 887 888 889
2010-07-10  Chong Yidong  <cyd@stupidchicken.com>

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

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

895 896 897 898
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
899
	find-file from opening empty buffer when decryption failed
900 901
	(bug#6568).

902 903
2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>

Juanma Barranquero's avatar
Juanma Barranquero committed
904 905
	* textmodes/ispell.el (ispell-alternate-dictionary):
	Use file-readable-p.
906 907 908 909 910 911 912 913 914
	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.

915 916 917 918 919 920
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__).

921 922 923 924 925 926 927 928 929 930 931 932 933 934
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.

935 936
2010-07-05  Chong Yidong  <cyd@stupidchicken.com>

937 938 939 940
	* menu-bar.el (menu-bar-mode):
	* tool-bar.el (tool-bar-mode): Replace default-frame-alist element
	if it has been set.

941 942 943
	* mouse.el (mouse-drag-track): Call mouse-start-end to handle
	word/line selection (Bug#6565).

944 945 946 947
2010-07-04  Juanma Barranquero  <lekktu@gmail.com>

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

948 949 950 951 952 953
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.

954 955 956 957 958 959 960 961 962 963 964 965 966
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.

967 968 969 970 971
2010-07-02  Juri Linkov  <juri@jurta.org>

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

972 973 974 975 976 977 978 979 980
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'.

981 982 983 984 985 986 987 988
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).

989 990 991 992
2010-07-01  Chong Yidong  <cyd@stupidchicken.com>

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

993 994 995 996 997 998 999 1000 1001 1002 1003
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.

1004 1005 1006 1007 1008
2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>

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

1009 1010 1011 1012 1013 1014
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).

1015 1016 1017 1018 1019 1020 1021 1022 1023
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.

1024 1025 1026 1027 1028
2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>

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

1029 1030 1031 1032 1033
2010-06-28  Kenichi Handa  <handa@m17n.org>

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

1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045
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
1046
2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
1047 1048 1049 1050

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

1051 1052 1053 1054
2010-06-27  Chong Yidong  <cyd@stupidchicken.com>

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

1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067
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).

1068 1069 1070 1071
2010-06-26  Eli Zaretskii  <eliz@gnu.org>

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

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

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

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

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

1085 1086 1087 1088 1089 1090
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)

1091 1092 1093 1094 1095
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
1096 1097
2010-06-22  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1098 1099 1100 1101 1102 1103
	* 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
1104 1105 1106 1107 1108
	* 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.

1109 1110
2010-06-21  Karl Fogel  <kfogel@red-bean.com>

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

1114 1115 1116 1117 1118 1119
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.

1120 1121 1122 1123 1124 1125 1126
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'.

1127 1128 1129 1130
2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>

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

1131 1132 1133
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
1134
	* vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
1135 1136 1137 1138
	cases that cause insertion.
	(vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
	with a nil state.

1139 1140 1141 1142
2010-06-30  Chong Yidong  <cyd@stupidchicken.com>

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

1143
2010-06-29  Leo  <sdl.web@gmail.com>
1144 1145 1146

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

1147 1148 1149 1150 1151
2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)

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

1152 1153
2010-06-27  Masatake YAMATO  <yamato@redhat.com>

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

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

1159
	* bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
1160 1161 1162
	(bookmark-bmenu-other-window-with-mouse): Remove unnecessary
	bindings of bookmark-automatically-show-annotations (Bug#6515).

Eli Zaretskii's avatar
Eli Zaretskii committed
1163 1164 1165 1166 1167
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
1168 1169 1170 1171 1172
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
1173 1174 1175 1176 1177
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
1178 1179
2010-06-23  Karl Fogel  <kfogel@red-bean.com>

1180 1181 1182 1183
	* 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
1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201
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
1202 1203 1204 1205 1206 1207 1208 1209 1210 1211
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.

1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225
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.

1226 1227 1228 1229
2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)

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

1230 1231 1232 1233 1234
2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248
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.

1249 1250 1251 1252
2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>

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

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

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

1258 1259
2010-06-17  Juanma Barranquero  <lekktu@gmail.com>

1260 1261 1262
	* emacs-lisp/package.el (package-menu-mode-map):
	Move initialization into declaration.

1263 1264
	* menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.

1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292
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.

1293 1294 1295 1296 1297 1298 1299 1300 1301 1302
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.

1303 1304
2010-06-22  Glenn Morris  <rgm@gnu.org>

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

1308 1309
	* wid-edit.el (widget-complete): Doc fix.

1310 1311 1312 1313
2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)

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

1314 1315
2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>

1316 1317 1318
	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
1319 1320
	(vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
	(Bug#6487)
1321

1322 1323 1324 1325 1326
	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)

1327 1328
2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>

1329
	Fix finding revisions for renamed files in vc-annotate.
1330 1331 1332 1333 1334
	* 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)

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

1341 1342 1343 1344 1345
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
1346 1347
2010-06-19  Glenn Morris  <rgm@gnu.org>

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

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

1354 1355 1356 1357 1358
2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1359 1360
2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>

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

1364 1365 1366 1367 1368
2010-06-16  Juri Linkov  <juri@jurta.org>

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

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

1371 1372
2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>

1373 1374 1375
	* 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.

1376 1377 1378 1379 1380 1381 1382
	* 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
1383
2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1384 1385 1386

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

Stefan Monnier's avatar
Stefan Monnier committed
1387
2010-06-16  Glenn Morris  <rgm@gnu.org&