ChangeLog 774 KB
Newer Older
1 2 3 4 5 6
2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>

	* simple.el (shell-command): Don't error out if shell command
	buffer contains text with non-nil read-only property when erasing
	the buffer.

7 8 9 10 11 12
2011-01-13  Kim F. Storm  <storm@cua.dk>

	* ido.el (ido-may-cache-directory): Move "too-big" check later.
	(ido-next-match, ido-prev-match): Fix stray reordering of matching
	items when cycling through the matches.

13 14 15 16 17 18
2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>

	* dired-x.el (dired-omit-verbose): New defcustom that allows
	disabling the omit messages.
	(dired-omit-expunge): Use it.

19 20 21 22
2011-01-13  Christian Ohler  <ohler@gnu.org>

	* emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.

23 24 25 26
2011-01-13  Chong Yidong  <cyd@stupidchicken.com>

	* font-lock.el (font-lock-verbose): Default to nil.

27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
2011-01-13  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (sendmail-user-agent-compose): Move to sendmail.el.
	(compose-mail): New arg RETURN-ACTION.
	(compose-mail-other-window, compose-mail-other-frame): Likewise.

	* mail/sendmail.el (mail-return-action): New var.
	(mail-mode): Make it buffer-local.
	(mail-bury): Obey it.  Move special Rmail window handling to
	rmail-mail-return.
	(mail, mail-setup): New arg RETURN-ACTION.
	(sendmail-user-agent-compose): Move from simple.el.

	* mail/rmail.el (rmail-mail-return): New function.
	(rmail-start-mail): Pass it to compose-mail.

43 44
2011-01-12  Chong Yidong  <cyd@stupidchicken.com>

45 46 47 48
	* menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
	menus.  Add menu item for customize-themes.

	* cus-theme.el (customize-themes):
49 50 51
	* emacs-lisp/package.el (package--list-packages): Use
	switch-to-buffer.

52 53 54 55
2011-01-11  Johan Bockgård  <bojohan@gnu.org>

	* emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.

56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/prolog.el: Fix up coding convention and such.
	(prolog-indent-width): Use the same default as in
	previous prolog.el rather than tab-width which depends on which buffer
	is current when the file is loaded.
	(prolog-electric-newline-flag): Only enable if electric-indent-mode
	is not available.
	(prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
	(prolog-known-systems): Remove.
	(prolog-mode-syntax-table, prolog-inferior-mode-map):
	Move initialization into declaration.
	(prolog-mode-map): Move initialization into declaration.
	Remove system-specific mode-map vars, since they referred to the same
	keymap anyway.
	(prolog-mode-variables): Obey the user's preference w.r.t
	adaptive-fill-mode.  Prefer symbol-value to `eval'.
	(prolog-mode-keybindings-edit): Add compatibility bindings.
	(prolog-mode): Use define-derived-mode.  Don't handle mercury here.
	(mercury-mode-map): New var.
	(mercury-mode, prolog-inferior-mode): Use define-derived-mode.
	(prolog-ensure-process, prolog-process-insert-string)
	(prolog-consult-compile): Use with-current-buffer.
	(prolog-guess-fill-prefix): Simplify data flow.
	(prolog-replace-in-string): New function to use instead of
	replace-in-string.
	(prolog-enable-sicstus-sd): Don't abuse `eval'.
	(prolog-uncomment-region): Use `uncomment-region' when available.
	(prolog-electric-colon, prolog-electric-dash): Use `eolp'.
	(prolog-int-to-char, prolog-char-to-int): New functions to use instead
	of int-to-char and char-to-int.
	(prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.

89 90 91 92
2011-01-11  Stefan Bruda  <stefan@bruda.ca>

	* progmodes/prolog.el: Replace by a whole new file.

93 94 95 96 97 98
2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (eval-after-load): Fix timing for features (bug#7769).
	(declare-function, undefined, insert-for-yank)
	(replace-regexp-in-string): Follow checkdoc's recommendations.

99 100 101 102 103
2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
	refreshing the diary buffer.

104 105
2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>

106
	* allout.el: Add 2011 to the file copyright.
107 108 109 110
	(allout-encrypt-string): Prevent encryption from adding an extra
	newline at the end of the topic body.
	(allout-version): Increment to 2.3.

111 112
2011-01-10  Michael Albinus  <michael.albinus@gmx.de>

113 114
	* net/dbus.el (dbus-unregister-service): Complete doc.
	Fix call of dbus-error signal.
115
	(dbus-register-property): Use `dont-register' keyword.
116

117 118 119 120 121 122 123
2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>

	* net/dbus.el (dbus-unregister-service): Translate returned
	integer into a symbol.
	(dbus-register-property): Use `dbus-register-service' to do the
	name registration.

124 125
2011-01-09  Chong Yidong  <cyd@stupidchicken.com>

126 127
	* progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
	Suggested by Joakim Verona.
128

129 130
	* comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.

131 132 133 134 135 136 137
	* wid-edit.el (visibility): Replace :on-image and :off-image
	widget properties with :on-glyph and :off-glyph, for consistency
	with the `visibility' widget.
	(widget-toggle-value-create, widget-visibility-value-create):
	Merge into a single function `widget-toggle-value-create'.

	* cus-edit.el (custom-variable-value-create, custom-visibility)
138 139
	(custom-face-edit-value-create, custom-face-value-create):
	Replace :on-image and :off-image widget properties with :on-glyph and
140 141
	:off-glyph, for consistency with the `visibility' widget.

142 143 144 145
2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>

	* net/ldap.el (ldap-search-internal): Don't use eval.

146 147
2011-01-09  Chong Yidong  <cyd@stupidchicken.com>

148 149
	* subr.el (read-char-choice): Use read-key.

150 151 152 153 154
	* custom.el (custom-safe-themes): Rename from
	custom-safe-theme-files.  Add :risky tag.
	(load-theme, custom-theme-load-confirm): Save sha1 hashes to
	custom-safe-themes, not filenames.  Suggested by Stefan Monnier.

155 156 157 158 159 160 161 162 163 164 165 166 167
2011-01-09  Chong Yidong  <cyd@stupidchicken.com>

	* tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
	from Search and add a label to Undo.

	* vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
	inappropriate buttons and adding :vert-only tags.

	* progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
	removal of Help tool-bar button.  Remove Undo button for space.

	* info.el (info-tool-bar-map): Add :vert-only tags.

168 169 170 171 172
2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-mode-p): Check for png or imagemagick
	image backend support.  Either of them is fine.

173 174
2011-01-08  Chong Yidong  <cyd@stupidchicken.com>

175 176
	* subr.el (y-or-n-p): Doc fix.

177 178 179 180 181
	* custom.el (custom-safe-theme-files): New defcustom.
	(custom-theme-load-confirm): New function.
	(load-theme): Load theme using `load', confirming with
	custom-theme-load-confirm if necessary.

182 183 184 185 186 187 188 189 190 191 192 193 194
	* subr.el (read-char-choice): New function, factored out from
	dired-query and hack-local-variables-confirm.

	* dired-aux.el (dired-query):
	* files.el (hack-local-variables-confirm): Use it.

	* dired-aux.el (dired-compress-file):
	* files.el (abort-if-file-too-large, find-alternate-file)
	(set-visited-file-name, write-file, backup-buffer)
	(basic-save-buffer, basic-save-buffer-2, save-some-buffers)
	(delete-directory, revert-buffer, recover-file, kill-buffer-ask):
	Use new format string args for y-or-n-p and yes-or-no-p.

Andreas Schwab's avatar
Andreas Schwab committed
195 196 197 198 199
2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>

	* progmodes/compile.el (compilation-error-regexp-alist-alist)
	[gcc-include]: Tighten file name match, add match for column
	number.  (Bug#7806)
200
	[gnu]: Remove unused group.
Andreas Schwab's avatar
Andreas Schwab committed
201

202 203
2011-01-08  Glenn Morris  <rgm@gnu.org>

204 205
	* makefile.w32-in (EMACSOPT): Add --no-site-lisp.

206 207
	* makefile.w32-in (EMACSOPT): -batch implies --no-init-file.

208 209 210 211 212 213
2011-01-07  Sam Steingold  <sds@gnu.org>

	* w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
	the `explicit-shell-file-name' because that is the
	non-interactive shell.

214 215 216 217
2011-01-07  Chong Yidong  <cyd@stupidchicken.com>

	* subr.el (y-or-n-p): Accept format string args.

218 219 220 221
2011-01-07  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (EMACSOPT): Add --no-site-lisp.

222 223
2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>

224
	* allout.el (allout-back-to-current-heading): Ensure return to
225
	the visible containing topic, rather than a collapsed one.
226
	(allout-view-change-hook): Remove hook that was deprecated long ago.
227 228 229 230 231
	(allout-exposure-change-hook): Remove documentation remarks
	concerning removed allout-view-change-hook.
	(allout-flag-region): Remove invocation of and documentation
	remarks concerning allout-view-change-hook.

Glenn Morris's avatar
Glenn Morris committed
232 233 234 235 236 237
2011-01-06  Glenn Morris  <rgm@gnu.org>

	* vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
	(vc-bzr-annotate-extract-revision-at-line):
	Handle authors with embedded spaces.  (Bug#7792)

238 239 240 241 242 243 244
2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-image-width): New variable.
	(doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
	backend for PNG images, and do dynamic rescaling instead of
	reconverting the whole doc.

245 246 247 248
2011-01-05  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/rx.el (rx-repeat): Replace CL function.

249 250
2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>

Glenn Morris's avatar
Glenn Morris committed
251
	* allout.el: Reconcile with changes in line movement behavior for
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
	long text lines that cross more than a single physical window
	line, ie when truncate-lines is nil.
	(allout-next-visible-heading): Provide for change in line-move
	behavior on long lines when truncate-lines is nil.  In that case,
	line-move can wind up on the same textual line when it moves to
	the next window line, and moving to the bullet position after the
	move yields zero advancement.  Add logic to detect and compensate
	for the lack of progress.
	(allout-current-topic-collapsed-p): move-end-of-line respect for
	field boundaries is different when operating with body lines
	shorter than window width versus ones greater than window width,
	which can yield false negatives in this function.  Avoid
	difference by applying move-end-of-line while field-text-motion is
	inhibited.

267 268 269 270 271
2011-01-04  Glenn Morris  <rgm@gnu.org>

	* textmodes/rst.el (rst-compile-toolsets):
	Add pdf and s5 to option alist.

272 273
2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>

274
	* net/dbus.el (dbus-register-property): Add optional parameter
275 276
	dont-register-service.  Updated docstring accordingly.

277 278 279 280 281
2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>

	* textmodes/rst.el (rst-compile-pdf-preview)
	(rst-compile-slides-preview): Remove extra line.

Glenn Morris's avatar
Glenn Morris committed
282 283 284 285 286 287 288 289 290
2011-01-04  Glenn Morris  <rgm@gnu.org>

	* textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
	Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
	default to `prog' without a .py extension.
	(rst-compile-pdf-preview, rst-compile-slides-preview):
	Use program names from rst-compile-toolsets, rather than hard-coding.
	(rst-portable-mark-active-p): Fix presumed typo.

291
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
292

293
	* term/w32-win.el (dynamic-library-alist): Set up correctly for
294 295
	libpng versions both before and after 1.4.0.  (Bug#7716)

296
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
297

298 299 300
	* time.el (display-time-mode): Mention display-time-interval in
	the doc string.  (Bug#7713)

301
2011-01-02  Kenichi Handa  <handa@m17n.org>
302 303 304 305

	* mail/rmailmm.el (rmail-mime-parse): Perform parsing in
	condition-case and return an error message string if something
	goes wrong.
306
	(rmail-show-mime): Adjust for the above change.  Insert the
307 308
	header by rmail-mime-insert-header.

309
2011-01-02  Kenichi Handa  <handa@m17n.org>
310 311 312 313 314 315 316

	* mail/rmailmm.el: New key bindings for rmail-mime-next-item,
	rmail-mime-previous-item, and rmail-mime-toggle-hidden.
	(rmail-mime-mbox-buffer)
	(rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
	(rmail-mime-entity): Argument changed.  All codes handling an
	entity object are changed.
317
	(rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
318 319 320 321 322 323 324 325 326
	the above change.
	(rmail-mime-entity-children, rmail-mime-entity-handler)
	(rmail-mime-entity-tagline): New functions.
	(rmail-mime-message-p): New function.
	(rmail-mime-save): Bind rmail-mime-mbox-buffer.
	(rmail-mime-entity-segment, rmail-mime-next-item)
	(rmail-mime-previous-item, rmail-mime-shown-mode)
	(rmail-mime-hidden-mode, rmail-mime-raw-mode)
	(rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
327 328
	(rmail-mime-insert-tagline, rmail-mime-insert-header):
	New functions.
329 330 331 332 333 334 335 336
	(rmail-mime-text-handler): Call rmail-mime-insert-text.
	(rmail-mime-insert-decoded-text): New function.
	(rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
	(rmail-mime-insert-image): Argument changed.  Caller changed.
	(rmail-mime-image): Call rmail-mime-toggle-hidden.
	(rmail-mime-set-bulk-data): New funciton.
	(rmail-mime-insert-bulk): Argument changed.
	(rmail-mime-multipart-handler): Return t.
337 338
	(rmail-mime-process-multipart): Argument changed.
	Handle "multipart/alternative" here.
339 340 341 342 343 344 345 346 347 348 349 350 351
	(rmail-mime-process): Argument changed.
	(rmail-mime-parse): Bind rmail-mime-mbox-buffer.
	(rmail-mime-insert): Argument changed.  Handle raw display mode.
	(rmail-mime): Argument changed.  Handle toggling of raw display
	mode.
	(rmail-show-mime): Bind rmail-mime-mbox-buffer and
	rmail-mime-view-buffer.
	(rmail-insert-mime-forwarded-message): Likewise.
	(rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.

	* mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
	non-nil, handle the header in rmail-show-mime-function.

352
2011-01-02  Leo  <sdl.web@gmail.com>
353

354
	* help-fns.el (describe-variable): Fix previous change.
355

356
2011-01-02  Juri Linkov  <juri@jurta.org>
357 358 359 360 361 362

	* isearch.el (isearch-lazy-highlight-error): New variable.
	(isearch-lazy-highlight-new-loop): Compare `isearch-error' and
	`isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
	to the current value of `isearch-error' (Bug#7468).

363
2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
364 365 366 367

	* help-fns.el (describe-variable): Don't emit trailing whitespace
	(Bug#7511).

368
2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
369 370 371 372

	* textmodes/rst.el (rst-compile-pdf-preview)
	(rst-compile-slides-preview): Use make-temp-file (Bug#7646).

373
2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
374 375 376 377

	* emulation/edt-mapper.el: Override mapping of function keys so
	that the later call to read-key-sequence works.

378
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
379 380 381 382

	* mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
	Unix EOLs.  (Bug#7589)

383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406
2011-01-02  Leo  <sdl.web@gmail.com>

	* eshell/em-hist.el (eshell-previous-matching-input): Signal error
	if point is not behind eshell-last-output-end (Bug#7585).

2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el (file-local-variables-alist):
	Make permanent-local (bug#7767).

2011-01-02  Glenn Morris  <rgm@gnu.org>

	* version.el (emacs-copyright): Set short copyright year to 2011.

2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)

	* mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
	an existing temp buffer.  (Bug#7746)

2011-01-02  Glenn Morris  <rgm@gnu.org>

	* mail/mail-utils.el (mail-mbox-from): Handle From: headers with
	multiple addresses.  (Bug#7760)

407 408
2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>

409
	* allout.el (allout-auto-fill): Do not infinitely recurse - use
410 411 412 413
	do-auto-fill if everything points back to allout-auto-fill.
	(allout-mode-deactivate-hook): Declare obsolete, in favor of
	standard-formed minor-mode deactivate hook, allout-mode-off-hook.

414 415 416 417 418
2010-12-31  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
	and "scpx".

419 420 421 422 423 424 425 426 427 428 429 430
2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-set-doc-type): New function refactored
	from doc-view-mode.
	(doc-view-fallback-mode): New function.
	(doc-view-mode): Use it.
	(doc-view-mode-maybe): New function that checks if doc-view-mode
	can be used and falls back to the next best mode otherwise.

	* files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
	DVI, OpenDocument, and MS Office files.

431 432 433 434
2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>

	* emacs-lisp/rx.el (rx-syntax): Fix typo.

435 436 437 438 439 440
2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
	on a copy of auto-mode-alist, because that deletes with side
	effects.

441 442
2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>

443 444
	* doc-view.el (doc-view-mode, doc-view-toggle-display):
	Use normal-mode without doc-view-mode bindings in auto-mode-alist as
445 446
	fallback instead of hard coding fundamental mode.

447 448 449 450 451
2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
	Office) files also for searching.

452 453 454 455 456 457 458 459 460 461
2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el: Implement viewing of OpenDocument (and Microsoft
	Office) files.  Not yet enabled via auto-mode-list.
	(doc-view-unoconv-program): New custom variable.
	(doc-view-mode-p): Handle new odf document type.
	(doc-view-odf->pdf): New conversion function.
	(doc-view-convert-current-doc): Call it for odf files.
	(doc-view-mode): Recognize newly supported file extensions.

462 463 464 465 466 467 468 469 470 471 472 473 474 475 476
2010-12-30  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-default-method-alist)
	(tramp-default-user-alist)
	(tramp-local-host-regexp, tramp-prefix-domain-format)
	(tramp-prefix-domain-regexp): Set tramp-autoload cookie.

	* net/tramp-ftp.el:
	* net/tramp-gvfs.el:
	* net/tramp-gw.el:
	* net/tramp-imap.el:
	* net/tramp-sh.el:
	* net/tramp-smb.el: Add tramp-autoload cookie for initialisation
	code of `tramp-default-method-alist' and `tramp-default-user-alist'.

477 478 479 480 481 482
2010-12-29  Karl Fogel  <kfogel@red-bean.com>

	* saveplace.el (save-place-alist-to-file): Save list sorted and
	pretty-printed, so that it is mergeable by line-based text merging,
	as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.

483 484
2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>

485
	* allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
486 487 488 489 490 491 492 493 494 495 496 497
	(allout-mode): Argument "toggle" => "force".
	Refine the docstring.
	Remove special provisions for reactivation, besides the 'force'
	argument.
	Consolidate layout provisions coce directly into the activation
	condition branch, now that we've removed those provisions.
	(allout-unload-function): Explicitly activate the mode before
	deactivating, if it's initially deactivated.
	(allout-set-buffer-multibyte): Properly prevent byte-compiler
	warnings for version of function used only where
	set-buffer-multibyte is unavailable.

498 499 500 501 502 503
2010-12-28  Chong Yidong  <cyd@stupidchicken.com>

	* tool-bar.el (tool-bar-setup): Remove :enable conditions, which
	are handled by the menu-bar entries.  As before, don't use
	:visibile to avoid changing the tool-bar.

504 505 506 507
2010-12-27  Michael Albinus  <michael.albinus@gmx.de>

	* net/secrets.el (secrets-delete-alias): New defun.

508 509 510 511 512
2010-12-27  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
	methods, otherwise ~/.ssh/config would be ignored.

513 514 515 516 517 518 519 520 521 522 523 524 525 526
2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/rx.el: Make it a superset of sregex.
	(rx-constituents): Add `any => "."', mark `repeat' as taking any number
	of args, add `regex' alias.
	(rx-info): Add arg to distinguish head and standalone forms.
	(rx-check, rx-form): Pass the corresponding arg.
	(rx-**): Simplify.
	(rx-repeat): Make it work for any number of args.
	(rx-syntax): Make it accept syntax chars as is.
	* obsolete/sregex.el: Move from emacs-lisp/.
	* emacs-lisp/re-builder.el: Remove sregex support.
	* emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.

527 528 529 530 531
2010-12-25  Eli Zaretskii  <eliz@gnu.org>

	* mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
	PRIMARY first, then the clipboard.  (Bug#7699)

Stefan Monnier's avatar
Stefan Monnier committed
532 533 534 535 536
2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
	print-number-table.

537 538
2010-12-21  Chong Yidong  <cyd@stupidchicken.com>

539 540 541
	* help-fns.el (find-lisp-object-file-name): Locate .emacs from
	.emacs.elc (Bug#7530).

542 543 544
	* wid-edit.el (widget-image-find): Remove bogus :ascent spec from
	image spec (Bug#7480).

Daiki Ueno's avatar
Daiki Ueno committed
545 546 547
2010-12-21  Daiki Ueno  <ueno@unixuser.org>

	* obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
548 549
	* obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
	Move from lisp/.
Daiki Ueno's avatar
Daiki Ueno committed
550

551 552 553 554 555
2010-12-20  Leo  <sdl.web@gmail.com>

	* dnd.el (dnd-get-local-file-name): Unhex of file name shall
	always be performed (Bug#7680).

556 557
2010-12-20  Chong Yidong  <cyd@stupidchicken.com>

558 559 560
	* menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
	(menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
	mouse-region-match.
561

562
	* color.el: Move from gnus/.
563

564 565
	* vc/diff.el (diff-better-file-name): Function deleted.
	abbreviating file names causes problems with shell-quote-argument.
566 567 568 569 570 571 572 573 574 575
	(diff-no-select): Just use expand-file-name.

	* tool-bar.el (tool-bar--image-expression): New function.
	(tool-bar-local-item, tool-bar--image-exp): Use it.
	(tool-bar-setup): Initialize tool-bar-separator-image-expression.
	Use :enable instead of :visible to avoid changing the tool-bar
	configuration unnecessarily.

	* info.el (info-tool-bar-map): Add separators.

576 577 578 579
2010-12-17  Ken Brown  <kbrown@cornell.edu>

	* loadup.el: Use version numbers in Cygwin build.

580 581 582 583 584
2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)

	* ido.el (ido-file-internal): Ask for confirmation before
	overwriting an existing file (Bug#1238).

585 586 587 588 589 590
2010-12-16  Chong Yidong  <cyd@stupidchicken.com>

	* tool-bar.el (tool-bar-setup): Add separators.

	* menu-bar.el (featurep): Use menu-bar-separator.

591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631
2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>

	Migrate allout encryption provisions from pgg to epg.

	* allout.el (allout-toggle-current-subtree-encryption)
	(allout-toggle-subtree-encryption): Adjust docstrings to reflect
	defaulting policy and other changes.  Change fetch-pass to keymode-cue,
	for simpler universal argument interpretation.
	(allout-toggle-subtree-encryption):  Adjust docstring to describe
	changed encryption provisions.  Change fetch-pass to keymode-cue, for
	simpler universal argument interpretation.  Remove provisions for
	handling key type and identity - they'll all be within
	allout-encrypt-string or epg/epg or even contained all the way in gpg.
	(allout-encrypt-string): Include keymode-cue, for optionally prompting
	for keypair recipients (universal argument > 1) and, in addition,
	associating the specified recipients with the outline (universal
	argument > 4) using a file local variable setting for
	'epa-file-encrypt-to'.
	Require epa, for recipients handling.
	Change how regexp filtering elements are named.
	Describe the problem with caching of incorrect symmetric-decryption
	keys.
	Use the epa-passphrase-callback-function, in case the user is using
	GnuPG v1.
	Support saving of the selected keypair recipients when invoked with a
	keymode-cue > 4.
	Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
	Require 'epa.
	Establish epg-context with armoring and default epg-protocol.
	Remove all passphrase cache, verification, and hinting code.
	(allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
	No longer used, delete.
	(allout-mode): Adjust docstring to describe changed encryption
	provisions.  Describe the problem with caching of incorrect
	symmetric-decryption keys.
	(allout-obtain-passphrase, allout-epg-passphrase-callback-function)
	(allout-make-passphrase-state, allout-passphrase-state-passphrase)
	(allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
	(allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
	Obsolete, remove.

632 633 634 635 636
2010-12-16  Daiki Ueno  <ueno@unixuser.org>

	* epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
	key selection prompt; make 'silent as default (Bug#7487).

637 638
2010-12-16  Leo  <sdl.web@gmail.com>

639 640
	* eshell/eshell.el (eshell-directory-name):
	Use locate-user-emacs-file (Bug#7578).
641

642 643 644 645
2010-12-15  Glenn Morris  <rgm@gnu.org>

	* loadup.el (symbol-file-load-history-loaded): Remove; unused.

646 647 648 649 650 651 652
2010-12-15  Jari Aalto  <jari.aalto@cante.net>
            Scott Evans <gse@antisleep.com>

	* rect.el (rectange--default-line-number-format)
	(rectangle-number-line-callback): New functions.
	(rectangle-number-lines): New command, bound to C-x r N (Bug#4382).

653 654 655 656 657 658
2010-12-15  Chong Yidong  <cyd@stupidchicken.com>

	* rect.el (operate-on-rectangle-lines, string-rectangle-string):
	Delete unused variables.
	(move-to-column-force): Remove function obsolete since 21.2.

659 660 661 662 663 664
2010-12-14  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
	(tramp-handle-insert-file-contents): Do not set permanent-local
	property.

665 666
	* net/tramp-cache.el (tramp-persistency-file-name):
	Use `locate-user-emacs-file' if fboundp.
667 668 669 670 671

	* net/tramp-sh.el (tramp-methods): Add "ksu".
	(tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
	method list.

672 673
2010-12-14  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
674 675 676 677
	* progmodes/js.el: Doc't require font-lock, etags, or easymenu.
	(find-tag-marker-ring): Declare.
	(js-find-symbol): Require etags.

Glenn Morris's avatar
Glenn Morris committed
678 679 680 681 682 683 684 685
	* mail/sendmail.el: Don't require rmail or mailalias when compiling.
	Require mail-utils.
	(mail-alias-file): Don't autoload.  Doc fix.
	(mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
	(mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
	Mark as obsolete, and risky.
	(mail-setup): Simplify.

686 687 688
	* mail/mailalias.el (build-mail-aliases): Make it interactive.
	* mail/sendmail.el (build-mail-aliases): Update autoload.

689 690 691 692
	* dired.el (dired-trivial-filenames, dired-chown-program)
	(dired-auto-revert-buffer): Remove autoload cookies.
	* mail/sendmail.el (mail-recover-1): Require 'dired.

693 694 695 696 697
	* dired.el (dired-subdir-switches, dired-chown-program)
	(dired-use-ls-dired, dired-chmod-program, dired-touch-program):
	Make into defcustoms.
	(dired-chown-program): Simplify initialization.

698 699
	* mail/mail-utils.el: No need to require lisp-mode, it's in loadup.

700 701 702 703
2010-12-13  Romain Francoise  <romain@orebokech.com>

	* net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.

704 705 706 707 708 709
2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/netrc.el (netrc-point-at-eol): Remove the unused
	netrc-point-at-old and netrc-bound-and-true-p bindings.
	(netrc-parse): Cache the netrc contents.

Stefan Monnier's avatar
Stefan Monnier committed
710
2010-12-13  Eli Zaretskii  <eliz@gnu.org>
711 712 713 714

	* subr.el (posn-col-row): Evaluate header-line-format in the
	context of the POSITION window's buffer.

Stefan Monnier's avatar
Stefan Monnier committed
715
2010-12-13  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
716 717 718 719

	* subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
	(with-silent-modifications): Doc fixes.

Stefan Monnier's avatar
Stefan Monnier committed
720
2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
721 722

	* net/tramp.el (tramp-action-password, tramp-process-actions):
723
	Revert previous from.  Use `save-restriction'.
724

Stefan Monnier's avatar
Stefan Monnier committed
725
2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
Stephen Berman's avatar
Stephen Berman committed
726 727 728 729

	* calendar/diary-lib.el (diary-list-sexp-entries):
	Handle case of no newline at end of file.  (Bug#7536)

Stefan Monnier's avatar
Stefan Monnier committed
730
2010-12-13  Glenn Morris  <rgm@gnu.org>
731 732 733

	* mail/smtpmail.el (smtpmail-send-it): Revert previous change.

Stefan Monnier's avatar
Stefan Monnier committed
734
2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
735

Stefan Monnier's avatar
Stefan Monnier committed
736
	* net/tramp.el (tramp-action-password): Delete region, do not narrow.
737
	(tramp-process-actions): Do not widen.
738

Stefan Monnier's avatar
Stefan Monnier committed
739 740
	* net/tramp-sh.el (tramp-sh-handle-start-file-process):
	Protect buffer-modified value.  (Bug#7557)
741

Stefan Monnier's avatar
Stefan Monnier committed
742
2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
743 744 745 746

	* log-edit.el (log-edit-changelog-entries):
	Regexp quote filename.  (Bug#7505)

Stefan Monnier's avatar
Stefan Monnier committed
747
2010-12-13  Tom Breton  <tehom@panix.com>
748 749 750 751

	* cus-edit.el (custom-save-all):
	Bind print-length and print-level to nil.  (Bug#7581)

Stefan Monnier's avatar
Stefan Monnier committed
752
2010-12-13  Glenn Morris  <rgm@gnu.org>
753

Glenn Morris's avatar
Glenn Morris committed
754 755 756
	* mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
	Run hooks to update menu contents.  (Bug#7586)

757 758 759
	* mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
	file names, for the sake of MS Windows.  (Bug#7588)

Stefan Monnier's avatar
Stefan Monnier committed
760
2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
761 762 763 764

	* diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
	empty lines without a leading space.

Stefan Monnier's avatar
Stefan Monnier committed
765
2010-12-13  Leo  <sdl.web@gmail.com>
766

Glenn Morris's avatar
Glenn Morris committed
767 768
	* dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
	while mapping over marks (Bug#6810).
769

Stefan Monnier's avatar
Stefan Monnier committed
770
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
771 772 773 774 775 776

	* image-dired.el (image-dired-db-file)
	(image-dired-temp-image-file, image-dired-gallery-dir)
	(image-dired-temp-rotate-image-file): Set default values relative
	to image-dired-dir (Bug#7518).

Stefan Monnier's avatar
Stefan Monnier committed
777
2010-12-13  Lawrence Mitchell  <wence@gmx.li>
778 779 780 781

	* format.el (format-decode-run-method): Pass args FROM and TO, not
	point-min and point-max, to shell-command-on-region (Bug#7488).

Stefan Monnier's avatar
Stefan Monnier committed
782
2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
783 784 785

	* frame.el (blink-cursor-mode): Make default t for ns.

Stefan Monnier's avatar
Stefan Monnier committed
786
2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
787 788 789

	* vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).

Stefan Monnier's avatar
Stefan Monnier committed
790
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
791

792 793 794 795 796 797 798
	* comint.el (comint-dynamic-list-input-ring)
	(comint-dynamic-complete-filename)
	(comint-replace-by-expanded-filename)
	(comint-dynamic-simple-complete)
	(comint-dynamic-list-filename-completions)
	(comint-dynamic-list-completions): Doc fix (Bug#7499).

799 800 801
	* subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
	Doc fix (Bug#7471).

Stefan Monnier's avatar
Stefan Monnier committed
802
2010-12-13  Martin Rudalics  <rudalics@gmx.at>
803 804 805 806

	* dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
	(Bug#7533).

Stefan Monnier's avatar
Stefan Monnier committed
807
2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
808 809 810 811

	* files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
	(Bug#7491).

Stefan Monnier's avatar
Stefan Monnier committed
812
2010-12-13  Eli Zaretskii  <eliz@gnu.org>
813 814 815 816

	* files.el (file-relative-name): Handle UNC file names on
	DOS/Windows.  (Bug#4674)

Stefan Monnier's avatar
Stefan Monnier committed
817
2010-12-13  Daiki Ueno  <ueno@unixuser.org>
Daiki Ueno's avatar
Daiki Ueno committed
818 819 820 821 822 823

	* epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
	"RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
	(epg-context-set-passphrase-callback): Mention that the callback
	is not called when used with GnuPG 2.x.

Stefan Monnier's avatar
Stefan Monnier committed
824
2010-12-13  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
825 826 827 828 829

	* ps-print.el (ps-line-lengths-internal, ps-nb-pages):
	Ensure ps-footer-font-size-internal is initialized.
	Call ps-get-page-dimensions before trying to use ps-font-for-text.

Stefan Monnier's avatar
Stefan Monnier committed
830
2010-12-13  Kenichi Handa  <handa@m17n.org>
831 832 833 834 835 836 837 838

	* mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
	within condition-case.
	(rmail-show-mime): Don't use condition-case.
	(rmail-search-mime-message): New function.
	(rmail-search-mime-message-function): Set to
	rmail-search-mime-message.

Stefan Monnier's avatar
Stefan Monnier committed
839
2010-12-13  Leo  <sdl.web@gmail.com>
840

841
	* ido.el (ido-common-initialization): New function.  (bug#3274)
842 843 844
	(ido-mode): Use it.
	(ido-completing-read): Call it.

845 846 847 848 849 850 851 852
2010-12-12  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el (bookmark-name-from-full-record): Rename back to
	this original name from `bookmark-name-from-record' reverting part
	of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
	As Drew Adams pointed out, there was no reason to cause churn for
	third-party callers.

853 854 855 856 857
2010-12-12  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-engine.el (c-forward-type): Before scanning a
	template arglist, check that the current language supports this.

858 859
2010-12-11  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
860 861 862 863 864 865
	* vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
	state of the file matches.  (Bug#7544)
	(vc-bzr-register, vc-bzr-checkin)
	(vc-bzr-annotate-extract-revision-at-line): Doc fixes.
	(vc-directory-exclusion-list): Remove unnecessary eval-after-load.

866 867
	* textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.

868 869 870 871
2010-12-11  Karel Klíč  <kklic@redhat.com>

	* files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)

872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986
2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	Derive from prog-mode, use derived-mode-p, and fix up various
	minor style issues in lisp/progmodes.

	* progmodes/vhdl-mode.el (vhdl-mode):
	* progmodes/verilog-mode.el (verilog-mode):
	* progmodes/vera-mode.el (vera-mode):
	* progmodes/sql.el (sql-mode):
	* progmodes/scheme.el (scheme-mode):
	* progmodes/perl-mode.el (perl-mode):
	* progmodes/octave-inf.el (inferior-octave-mode):
	* progmodes/autoconf.el (autoconf-mode):
	* progmodes/m4-mode.el (m4-mode):
	* progmodes/inf-lisp.el (inferior-lisp-mode):
	* progmodes/idlwave.el (idlwave-mode):
	* progmodes/icon.el (icon-mode):
	* progmodes/idlw-help.el (idlwave-help-mode):
	* progmodes/dcl-mode.el (dcl-mode):
	* progmodes/idlw-shell.el (idlwave-shell-mode):
	* progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
	(ebrowse-member-mode, ebrowse-electric-position-mode):
	Use define-derived-mode.

	* progmodes/xscheme.el (exit-scheme-interaction-mode)
	(xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
	(xscheme-debugger-mode-p, xscheme-send-string-1):
	* progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
	(tcl-load-file, tcl-restart-with-file):
	* progmodes/ps-mode.el (ps-run-running):
	* progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
	* progmodes/js.el (js--get-all-known-symbols):
	* progmodes/inf-lisp.el (inferior-lisp-proc):
	* progmodes/idlwave.el (idlwave-beginning-of-statement)
	(idlwave-template, idlwave-update-buffer-routine-info)
	(idlwave-update-current-buffer-info)
	(idlwave-get-routine-info-from-buffers, idlwave-choose)
	(idlwave-scan-class-info, idlwave-fix-keywords)
	(idlwave-list-buffer-load-path-shadows):
	* progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
	(idlwave-toolbar-remove):
	* progmodes/idlw-shell.el (idlwave-shell-save-and-action)
	(idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
	(idlwave-shell-menu-def):
	* progmodes/idlw-complete-structtag.el
	(idlwave-prepare-structure-tag-completion):
	* progmodes/gud.el (gud-set-buffer):
	* progmodes/f90.el (f90-backslash-not-special):
	* progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.

	* progmodes/xscheme.el (xscheme-start)
	(local-set-scheme-interaction-buffer, scheme-interaction-mode):
	* progmodes/which-func.el (which-function):
	* progmodes/vhdl-mode.el (vhdl-set-style):
	* progmodes/verilog-mode.el (verilog-set-compile-command)
	(verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
	(verilog-set-define, verilog-auto-reeval-locals):
	* progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
	* progmodes/simula.el (simula-mode):
	* progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
	* progmodes/python.el (python-check, python-mode):
	* progmodes/prolog.el (prolog-mode-variables):
	* progmodes/gud.el (gud-tooltip-activate-mouse-motions):
	* progmodes/ebrowse.el (ebrowse-view-file-other-frame):
	* progmodes/delphi.el (delphi-mode):
	* progmodes/cc-styles.el (c-setup-paragraph-variables):
	* progmodes/cc-mode.el (c-basic-common-init, c-common-init)
	(c-font-lock-init): Move make-local-variable to their setq.

	* progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
	(vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
	make-local-hook.
	* progmodes/sh-script.el (sh-require-final-newline): Remove.
	(sh-set-shell): Don't set require-final-newline since it's already done
	by prog-mode.
	* progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
	since we never set it.
	* progmodes/ebrowse.el (ebrowse-set-tree-indentation):
	Use read-string and standard prompt.
	* progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
	* progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
	(meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
	(meta-common-mode-map): Rename from meta-mode-map.
	Remove C-m binding, which is a user preference, not mode specific.
	(meta-common-mode): New major mode; replace meta-common-initialization.
	* progmodes/js.el (js-mode): Call syntax-propertize rather than messing
	around with font-lock.
	* progmodes/etags.el (select-tags-table-mode):
	Derive from special-mode.
	* progmodes/octave-mod.el (octave-mode):
	* progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
	(gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
	(gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
	Let define-derived-mode do its job.
	* progmodes/cpp.el (cpp-edit-mode-map):
	Move initialization into declaration.
	(cpp-edit-mode): Use define-derived-mode.
	(cpp-edit-load): Use derived-mode-p.
	* progmodes/mixal-mode.el (mixal-mode):
	* progmodes/f90.el (f90-mode):
	* progmodes/cfengine.el (cfengine-mode): Don't bother setting
	require-final-newline since prog-mode does it already.
	* progmodes/cc-cmds.el (c-update-modeline): Use match-string.
	* progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
	* progmodes/antlr-mode.el: Require cc-mode upfront.
	(antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
	the declaration.
	(antlr-directory-dependencies, antlr-show-makefile-rules):
	Use derived-mode-p.
	(antlr-language-option): Don't assume point-min==1.
	(antlr-mode): Use define-derived-mode.
	* progmodes/ada-mode.el: Use derived-mode-p.
	(ada-mode): Use define-derived-mode.
	Use hack-local-variables-hook.

987 988 989 990 991 992 993 994 995 996 997 998 999 1000
2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
	(texinfo-mode): Don't disable adaptive-fill-mode.
	(texinfo-insert-block): Adjust cursor placement for blocks with arg.
	(texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
	(texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
	(texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
	(texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
	(texinfo-insert-@quotation, texinfo-insert-@samp)
	(texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
	(texinfo-insert-@uref): Use define-skeleton.
	(texinfo-insert-@-with-arg): Delete.

1001 1002 1003 1004 1005
2010-12-10  Eli Zaretskii  <eliz@gnu.org>

	* arc-mode.el (archive-zip-extract): If w32-quote-process-args is
	nil, do quote archive member names.  (Bug#6144)

1006 1007
2010-12-10  Glenn Morris  <rgm@gnu.org>

1008 1009
	* files.el (diff-no-select): Declare.

Glenn Morris's avatar
Glenn Morris committed
1010 1011 1012
	* mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
	(report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.

1013 1014
	* comint.el (comint-input-ring-file-name): Doc fix.

1015 1016 1017 1018
2010-12-09  Eli Zaretskii  <eliz@gnu.org>

	* menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
	New functions.
1019 1020
	(menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
	Use them instead of `nil' and `>', respectively.
1021 1022 1023 1024 1025 1026
	(menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
	instead of `nil'.
	(toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
	and menu-bar-positive-p instead of `nil' and `>', respectively.
	(Bug#1077)

Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
1027 1028 1029 1030
2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* whitespace.el (whitespace-newline-mode): Code fix.

Glenn Morris's avatar
Glenn Morris committed
1031 1032 1033 1034 1035
2010-12-09  Glenn Morris  <rgm@gnu.org>

	* play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
	Rename functions without commas, update callers.

Glenn Morris's avatar
Glenn Morris committed
1036
2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
1037

Glenn Morris's avatar
Glenn Morris committed
1038 1039
	* whitespace.el (whitespace-cleanup-region):
	Clean up spaces before tabs.  (Bug#7582)
1040

1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070
2010-12-08  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el: Adjust parameter names and doc strings to resolve
	confusion over whether "bookmark" meant a bookmark name or a
	bookmark record.  Along the way, shorten one function's name for
	similar reasons.  (Issue #7548)
	(bookmark-name-from-record): New name for
	`bookmark-name-from-full-record'.  All callers changed.
	(bookmark-get-bookmark, bookmark-get-bookmark-record)
	(bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
	(bookmark-get-annotation, bookmark-set-annotation)
	(bookmark-get-filename, bookmark-set-filename)
	(bookmark-get-position, bookmark-set-position)
	(bookmark-get-front-context-string, bookmark-set-front-context-string)
	(bookmark-get-rear-context-string, bookmark-set-rear-context-string)
	(bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
	(bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
	Rename `bookmark' parameter to `bookmark-name-or-record', to
	clearly show its role, and shorten or adjust doc strings accordingly.
	(bookmark-set-name): Same, and pass the parameter directly to
	`bookmark-get-bookmark' instead of redundantly doing the callee's work.
	(bookmark-default-annotation-text, bookmark-send-edited-annotation)
	(bookmark-relocate, bookmark-insert-location, bookmark-insert)
	(bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
	and in some cases shorten doc string accordingly.
	(bookmark-rename): Change `old' and `new' parameters to `old-name'
	and `new-name', and adjust an internal variable to avoid confusion.
	(bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
	parameter in doc string.

1071 1072
2010-12-08  Glenn Morris  <rgm@gnu.org>

1073 1074 1075
	* progmodes/gdb-mi.el (gdb): Try to initialize comint input history
	from gdb's history file.  (Bug#7575)

1076 1077 1078
	* mail/emacsbug.el (report-emacs-bug):
	Try to handle some other mail clients.

1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089
2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el (dir-locals-collect-variables): Don't let errors stop us.
	Use string-prefix-p.
	(file-name-version-regexp): New var.
	(file-name-sans-versions):
	* jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
	(jka-compr-get-compression-info): Use dolist.
	(jka-compr-compression-info-list): Don't bother specifying
	version/backup regexps.

1090 1091 1092 1093 1094
2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>

	* simple.el (just-one-space): Make argument n default to 1 if
	omitted.

1095 1096 1097 1098 1099
2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* electric.el (electric-indent-post-self-insert-function):
	Delete trailing newlines even if we don't reindent.

1100 1101
2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

1102 1103 1104 1105 1106
	* minibuffer.el (completion-at-point): Remove the `arg'.
	* bindings.el (complete-symbol): Move back from minibuffer.el.

2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

1107 1108
	* simple.el (just-one-space): Delete newlines for negative arg.

1109 1110 1111 1112 1113 1114
2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
	(ansi-color-filter-apply): Simplify.
	(ansi-color-apply): Use `font-lock-face' rather than `face'.

1115 1116 1117 1118
2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>

	* vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).

1119 1120 1121 1122 1123 1124 1125
2010-12-04  Chong Yidong  <cyd@stupidchicken.com>

	* dired.el (dired-use-ls-dired): Set default to a special
	"unspecified" value.
	(dired-insert-directory): When called the first time, check
	whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).

1126 1127 1128 1129
2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>

	* replace.el: Add "collect" feature to occur.
	(occur-collect-regexp-history): New var.
1130 1131
	(occur-read-primary-args): Return a replace string for nlines,
	if needed.
1132 1133
	(occur): Extend the meaning of nlines.

1134 1135 1136 1137 1138 1139
2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/which-func.el (which-func-ff-hook): Log the error message.
	(which-func-update-1): Distinguish symbols from strings.
	(which-function): Stay within 80 columns.

1140 1141
2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

1142 1143
	* subr.el (with-demoted-errors): Distinguish symbols from strings.

1144 1145 1146 1147
	* newcomment.el (comment-styles): Add docs to each style (bug#7509).
	Improve docstring.
	(comment-style): Use comment-styles's docs to describe values.

1148 1149 1150 1151 1152 1153 1154 1155
2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>

	* term/common-win.el (x-setup-function-keys): Restore ns-new-frame
	and ns-show-prefs (Bug#7535).

	* term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
	bindings (Bug#7535).

Glenn Morris's avatar
Glenn Morris committed
1156 1157
2010-12-03  Glenn Morris  <rgm@gnu.org>

1158 1159 1160 1161
	* nxml/nxml-mode.el: Require rng-nxml.
	(rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
	Remove declarations.

1162 1163 1164 1165
	* nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
	* nxml/rng-nxml.el, nxml/rng-valid.el:
	Remove leading `*' from defcustom docs.

Glenn Morris's avatar
Glenn Morris committed
1166 1167 1168 1169
	* startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
	(normal-top-level-add-to-load-path, tty-handle-args):
	Convert comments to basic doc-strings.

1170 1171 1172
	* net/browse-url.el (browse-url-url-at-point)
	(browse-url-default-browser): Remove autoload cookies.

Glenn Morris's avatar
Glenn Morris committed
1173 1174 1175
	* mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
	Remove more undefined cl functions.

Glenn Morris's avatar
Glenn Morris committed
1176 1177 1178
	* vc/diff.el (diff-sentinel): Make new arguments optional.
	* ibuf-ext.el (diff-sentinel): Update declaration.

Daiki Ueno's avatar
Daiki Ueno committed
1179 1180 1181 1182 1183 1184 1185
2010-12-03  Daiki Ueno  <ueno@unixuser.org>

	* epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
	"RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
	(epg-context-set-passphrase-callback): Mention that the callback
	is not called when used with GnuPG 2.x.

1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204
2010-12-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-local-host-regexp): Add "localhost6".
	(tramp-file-name-port): Check also for `tramp-default-port'.
	(tramp-get-connection-name): New defun.
	(tramp-get-connection-process): Use it.
	(tramp-debug-message): Extend function exclude list.
	(tramp-drop-volume-letter): Fix doc string.

	* net/tramp-cmds.el: Remove solved todo item.

	* net/tramp-efs.el:
	* net/tramp-ftp.el:
	* net/tramp-gvfs.el:
	* net/tramp-gw.el:
	* net/tramp-imap.el:
	* net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
	and `tramp-default-user-alist', respectively.

1205 1206
	* net/tramp-gw.el (tramp-gw-open-connection):
	Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223

	* net/tramp-imap.el (tramp-imap-make-iht): Use just
	`tramp-file-name-port'.

	* net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
	and "psftp".  Exchange "%k" marker with options.
	(tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
	Compute size of link target.
	(tramp-do-copy-or-rename-file-out-of-band). Move setting of
	`tramp-current-*' up due to gateway methods.  Optimze computing of
	copy arguments.  Use `tramp-get-connection-name' and
	`tramp-get-connection-buffer'.  Improve debug messages.
	(tramp-compute-multi-hops): Remove port determination.
	(tramp-maybe-open-connection): Use `tramp-get-connection-name'.

	* net/trampver.el: Update release number.

Glenn Morris's avatar
Glenn Morris committed
1224 1225
2010-12-02  Glenn Morris  <rgm@gnu.org>

1226 1227 1228
	* emacs-lisp/cl-macs.el (cl-parse-loop-clause):
	Avoid infinite loop over windows.  (Bug#7492)

Glenn Morris's avatar
Glenn Morris committed
1229 1230 1231 1232 1233 1234
	* progmodes/flymake.el (flymake-check-file-limit):
	Allow nil to mean "no limit".
	(flymake-check-patch-master-file-buffer): Update for above change.
	Allow a .tex file-name extension to be optional.
	(flymake-master-tex-init): Also match \include statements.

1235 1236 1237 1238 1239 1240 1241 1242 1243 1244
2010-11-30  Sam Steingold  <sds@gnu.org>

	* nxml/nxml-mode.el (nxml-parent-document): Add a variable.
	(nxml-parent-document-set): A function to set `nxml-parent-document'.
	(nxml-mode): Define using `define-derived-mode' instead of `defun'.
	(nxml-mode-hook): Remove `defcustom' (auto-defined by
	define-derived-mode').
	* nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
	users who want to call `nxml-parent-document-set'.

1245 1246 1247 1248 1249 1250
2010-11-27  Chong Yidong  <cyd@stupidchicken.com>

	* log-edit.el (log-edit-font-lock-keywords): Don't try matching
	stand-alone lines, since that is handled by log-edit-match-to-eoh
	(Bug#6465).

1251 1252 1253 1254 1255 1256 1257 1258 1259
2010-11-27  Eduard Wiebe  <usenet@pusto.de>

	* dired.el (dired-get-filename): Replace backslashes with slashes
	in file names on MS-Windows, needed by `locate'.  (Bug#7308)
	* locate.el (locate-default-make-command-line): Don't consider
	drive letter and root directory part of
	`directory-listing-before-filename-regexp'.  (Bug#7308)
	(locate-post-command-hook, locate-post-command-hook): New defcustoms.

1260
2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1261 1262 1263 1264 1265 1266 1267

	* emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
	of :smie-open/close-alist.
	(smie-next-sexp): Make it accept a "start token" as argument.
	(smie-indent-keyword): Be careful not to misidentify tokens that span
	more than one line, as empty lines.  Add argument `token'.

1268
2010-11-27  Kenichi Handa  <handa@m17n.org>
1269

1270 1271 1272
	* mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
	multipart subtypes, insert all as usual.

1273 1274
	* mail/rmail.el: Require rfc2047.

1275
2010-11-27  Kenichi Handa  <handa@m17n.org>
Kenichi Handa's avatar
Kenichi Handa committed
1276 1277 1278 1279 1280 1281 1282 1283

	* mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
	(rmail-mime-entity-disposition)
	(rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
	(rmail-mime-entity-body, rmail-mime-entity-children): New functions.
	(rmail-mime-save): Handle the case that the button's `data' is a
	MIME entity.
	(rmail-mime-insert-text): New function.
Glenn Morris's avatar
Glenn Morris committed
1284
	(rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
Kenichi Handa's avatar
Kenichi Handa committed
1285 1286 1287
	(rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
	(rmail-mime-insert-bulk): New function mostly copied from the old
	rmail-mime-bulk-handler.
Glenn Morris's avatar
Glenn Morris committed
1288 1289
	(rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
	(rmail-mime-process-multipart): New function mostly copied from
Kenichi Handa's avatar
Kenichi Handa committed
1290 1291
	the old rmail-mime-multipart-handler.
	(rmail-mime-show): Just call rmail-mime-process.
Glenn Morris's avatar
Glenn Morris committed
1292
	(rmail-mime-process): New function mostly copied from the old
Kenichi Handa's avatar
Kenichi Handa committed
1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315
	rmail-mime-show.
	(rmail-mime-insert-multipart, rmail-mime-parse)
	(rmail-mime-insert, rmail-show-mime)
	(rmail-insert-mime-forwarded-message)
	(rmail-insert-mime-resent-message): New functions.
	(rmail-insert-mime-forwarded-message-function): Set to
	rmail-insert-mime-forwarded-message.
	(rmail-insert-mime-resent-message-function): Set to
	rmail-insert-mime-resent-message.

	* mail/rmailsum.el: Require rfc2047.
	(rmail-header-summary): Handle multiline Subject: field.
	(rmail-summary-line-decoder): Change the default to
	rfc2047-decode-string.

	* mail/rmail.el (rmail-enable-mime): Change the default to t.
	(rmail-mime-feature): Change the default to `rmailmm'.
	(rmail-quit): Delete the specifal code for rmail-enable-mime.
	(rmail-display-labels): Likewise.
	(rmail-show-message-1): Check rmail-enable-mime, and use
	rmail-show-mime-function for a MIME message.  Decode the headers
	according to RFC2047.

1316
2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1317 1318 1319 1320 1321 1322

	* progmodes/which-func.el (which-func-imenu-joiner-function):
	Return a string, as expected.
	(which-function-mode): Make sure we stop any previous timer before
	starting a new one.

1323
2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
1324 1325

	* net/tramp.el (tramp-default-method-alist)
1326 1327
	(tramp-default-user-alist, tramp-default-proxies-alist):
	Adapt custom options type.  (Bug#7445)
1328

1329
2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1330 1331 1332 1333 1334

	* progmodes/python.el: Add Ipython support (Bug#5390).
	(python-shell-prompt-alist)
	(python-shell-continuation-prompt-alist): New options.
	(python--set-prompt-regexp): New function.
1335 1336
	(inferior-python-mode, run-python, python-shell):
	Require ansi-color.  Use python--set-prompt-regexp to set the comint
1337 1338 1339 1340 1341 1342
	prompt based on the Python interpreter.
	(python--prompt-regexp): New var.
	(python-check-comint-prompt)
	(python-comint-output-filter-function): Use it.
	(run-python): Use a pipe (Bug#5694).

1343
2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1344 1345 1346 1347

	* progmodes/python.el (run-python): Doc fix.
	(python-keep-current-directory-in-path): New var (Bug#7454).

1348
2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1349 1350 1351 1352

	* lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
	Prompt user before actually printing.

Glenn Morris's avatar
Glenn Morris committed
1353 1354 1355 1356 1357
2010-11-27  Glenn Morris  <rgm@gnu.org>

	* startup.el (package-enable-at-startup, package-initialize):
	Remove unnecessary declarations.

1358 1359 1360 1361 1362
2010-11-27  Eli Zaretskii  <eliz@gnu.org>

	* international/characters.el (glyphless-char-display-control):
	Exclude newline and TAB from the c0-control group.

1363 1364
2010-11-27  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1365 1366 1367
	* mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
	(expand-mail-aliases): Remove unnecessary autoload.

1368 1369
	* allout.el (allout-command-prefix, allout-mode-map): Declare.

1370 1371
	* shell.el (shell-dir-cookie-re): Move definition before use.

1372 1373 1374
	* mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
	Replace undefined CL functions.

1375 1376
2010-11-26  Eli Zaretskii  <eliz@gnu.org>

1377 1378 1379
	* simple.el (prog-mode): Set bidi-paragraph-direction to
	left-to-right.