ChangeLog 626 KB
Newer Older
1 2 3 4 5
2010-10-01  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
	Let's not break compatibility gratuitously, shall we?

6 7
2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

8
	* net/tls.el (tls-starttls-switches): New variable.
9 10 11
	(tls-find-starttls-argument): Use it.
	(open-tls-stream): Ditto.

12
	* net/netrc.el (netrc-credentials): Return the value of the "default"
13 14 15
	entry.
	(netrc-machine): Ditto.

16 17 18 19
2010-09-30  Eli Zaretskii  <eliz@gnu.org>

	* vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.

20 21 22 23 24 25
2010-09-30  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-start): Don't write pid to the authentication file.
	(server-create-tty-frame): Don't send pid.
	(server-process-filter): Send pid at the start of every connection.

26 27
2010-09-30  Glenn Morris  <rgm@gnu.org>

28 29 30
	* calendar/diary-lib.el (view-diary-entries, list-diary-entries)
	(show-all-diary-entries): Remove obsolete function aliases.

31 32 33 34 35 36 37 38
	* calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
	Remove options, obsolete since 22.1.
	(appt-display-format, appt-display-message): Remove
	backwards-compatibility code.
	(appt-check): No longer check appt-issue-message.
	(appt-make-list): No longer autoload it.  Doc fix.  No longer
	activate the package.

39 40 41
2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/gnutls.el (starttls-negotiate): Loop a lot longer.
42 43
	(starttls-negotiate): Just call boot, and let the handshake be
	triggered from the read loop.
44

45 46
2010-09-29  Glenn Morris  <rgm@gnu.org>

47 48 49 50 51
	* calendar/diary-lib.el (diary-list-entries): Use temp buffers when
	not displaying the diary.
	(diary-add-to-list): If no buffer-file-name, fall back to diary-file.
	* calendar/appt.el (appt-check): No longer need to kill diary.

Glenn Morris's avatar
Glenn Morris committed
52 53 54 55 56 57 58
	* calendar/diary-lib.el (diary-list-entries): Move the
	"Preparing..." message entirely here.
	(diary-simple-display, diary-fancy-display): Move "Preparing..."
	messages to diary-list-entries.
	(diary-include-other-diary-files): Use LIST-ONLY rather than setting
	diary-display-function.

59 60 61
	* calendar/diary-lib.el (diary-include-other-diary-files):
	Trap some recursive includes.

62 63
	* calendar/appt.el (appt-activate): Check diary file.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
64 65 66 67 68 69 70
2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>

	* pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
	construction.

	* calendar/time-date.el: No need to require cl for Emacs 21.

71 72 73 74
2010-09-28  Glenn Morris  <rgm@gnu.org>

	* calendar/appt.el (appt-check): Minor simplification.

75 76 77 78 79
2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
	citation prefix.

80 81
2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>

82 83
	* emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
	Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
84

85 86 87 88 89
2010-09-27  Kenichi Handa  <handa@m17n.org>

	* tar-mode.el (tar-header-block-tokenize): Decode filenames in
	"ustar" format.

90 91 92 93 94 95 96
2010-09-27  Kenichi Handa  <handa@m17n.org>

	* international/mule.el (define-coding-system): Docstring fixed.

	* international/mule-diag.el (describe-character-set): Use princ
	with proper print-length and print-level instead of insert.

97
2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
98 99 100

	* window.el (walk-windows): Doc fix (bug#7105).

101 102 103 104
2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/float-sup.el (e): Remove.

105 106 107 108 109 110
2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
	variable.
	(starttls-negotiate): Use it.

111 112 113 114 115
2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/gnutls.el (starttls-negotiate): Stop looping when we get a t
	back.

116 117 118 119
2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.

120 121
2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>

122 123
	* net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.

124 125
	* net/netrc.el (netrc-store-data): New function.

Ted Zlatanov's avatar
Ted Zlatanov committed
126 127 128 129
2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/gnutls.el: GnuTLS glue code to set up a connection.

130 131 132 133
2010-09-25  Julien Danjou  <julien@danjou.info>

	* notifications.el: Call dbus-register-signal only if it is bound.

Glenn Morris's avatar
Glenn Morris committed
134 135 136 137 138 139 140 141 142 143 144 145
2010-09-25  Glenn Morris  <rgm@gnu.org>

	* eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
	* eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
	* eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
	* eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
	* eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
	* eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
	* eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
	* eshell/esh-util.el, eshell/esh-var.el:
	Remove leading `*' from docs of faces and defcustoms.

146 147 148 149 150 151 152 153 154 155 156
2010-09-25  Ulrich Mueller  <ulm@gentoo.org>

	* eshell/em-ls.el (eshell-ls-archive-regexp):
	* eshell/esh-util.el (eshell-tar-regexp):
	* ibuffer.el (ibuffer-compressed-file-name-regexp):
	* info.el (Info-suffix-list):
	* international/mule.el (auto-coding-alist):
	* woman.el (woman-file-regexp, woman-file-compression-regexp):
	* progmodes/etags.el (tags-compression-info-list):
	Support xz compression.

157 158 159 160 161
2010-09-25  Chong Yidong  <cyd@stupidchicken.com>

	* files.el (get-free-disk-space): Don't assume the "df" output
	columns line up (Bug#6995).

Juanma Barranquero's avatar
Juanma Barranquero committed
162 163 164 165 166 167
2010-09-25  Juanma Barranquero  <lekktu@gmail.com>

	* finder.el (finder-unknown-keywords):
	* progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
	* progmodes/etags.el (tags-table-including): Fix typos in docstrings.

168 169 170 171 172
2010-09-25  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-start): Revert part of 2010-08-08 change.  Using
	address 127.0.0.1 for local host is now done in Fmake_network_process.

173 174 175 176 177 178 179 180
2010-09-24  Glenn Morris  <rgm@gnu.org>

	* image-mode.el, progmodes/compile.el, progmodes/gud.el:
	* progmodes/mixal-mode.el, textmodes/bibtex-style.el:
	* textmodes/css-mode.el, textmodes/dns-mode.el:
	Move autoloaded auto-mode-alist entries to files.el.
	* files.el (auto-mode-alist): Move entries here.

181 182 183 184 185 186 187 188 189
2010-09-23  Glenn Morris  <rgm@gnu.org>

	* isearch.el (isearch-lazy-highlight-cleanup)
	(isearch-lazy-highlight-initial-delay)
	(isearch-lazy-highlight-interval)
	(isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
	* net/net-utils.el (ipconfig-program-options):
	Move aliases to options before the associated definitions.

190
2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
191 192 193 194

	* newcomment.el (comment-normalize-vars): Better test validity of
	comment-end-skip.

195
2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
196 197 198 199 200 201 202 203 204

	* emacs-lisp/float-sup.el (float-pi): New name for `pi'.
	(float-e): New name for `e'.
	(degrees-to-radians, radians-to-degrees):
	* calendar/solar.el (solar-longitude):
	* calculator.el (calculator-registers, calculator-funcall):
	* textmodes/artist.el (artist-spray-random-points):
	* play/bubbles.el (bubbles--initialize-images): Use new names.

205
2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
206 207 208

	Update to CEDET 1.0's version of EIEIO.

209 210
	* emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
	New function.
211 212 213 214 215 216 217 218 219 220 221 222
	(eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
	(eieio-default-eval-maybe): Eval val instead of unquoting only.
	(class-precedence-list): If class is nil, return nil.
	(eieio-generic-call): If class of first input arg is nil, don't
	look up static methods, and do check for primary methods.
	(initialize-instance): See if the default needs to be evaluated
	during the constructor.
	(eieio-perform-slot-validation-for-default): Don't do the check
	for values that will eventually be evaluated.
	(eieio-eval-default-p): New function.
	(eieio-default-eval-maybe): Use it.

223
2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
224 225 226 227 228 229 230 231

	* emacs-lisp/eieio.el (eieio-defclass): Allow :c3
	method-invocation-order.
	(eieio-c3-candidate, eieio-c3-merge-lists): New functions.
	(eieio-class-precedence-dfs): Compute class precedence list using
	dfs algorithm.
	(eieio-class-precedence-bfs): Compute class precedence list using
	bfs algorithm.
232
	(eieio-class-precedence-c3): Compute class precedence list using
233 234 235 236 237 238 239
	c3 algorithm.
	(class-precedence-list): New function.
	(eieiomt-method-list, eieiomt-sym-optimize): Use it.
	(inconsistent-class-hierarchy): New error symbol.
	(call-next-method): Stow the replacement argument list for future
	call-next-method invocations.

240
2010-09-23  Glenn Morris  <rgm@gnu.org>
241

Glenn Morris's avatar
Glenn Morris committed
242 243 244 245 246
	* calendar/appt.el (appt-check): If not displaying the diary,
	use (diary 1) to only get the entries we need.
	(appt-make-list): Sort diary-list-entries, if we cannot guarantee
	that it is in day order.  (Bug#7019)

Glenn Morris's avatar
Glenn Morris committed
247 248 249
	* calendar/appt.el (appt-check): Rather than showing the diary,
	just turn off invisible display, and only if needed.

250 251
	* calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)

252 253
2010-09-23  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
254 255
	* emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
	(byte-compile-defvar, byte-compile-cl-warn):
256
	Start warnings with lower-case, like the majority.
Glenn Morris's avatar
Glenn Morris committed
257

258 259
	* files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.

260 261
	* files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)

262 263 264 265
	* progmodes/ld-script.el (auto-mode-alist): Move to files.el.
	* files.el (auto-mode-alist): Move ld-script entries here, further down
	the list.

266 267 268 269 270
	* vc/add-log.el: Don't require timezone when compiling.
	(timezone-make-date-sortable): Autoload it.
	(change-log-sortable-date-at): Don't require timezone.
	Use `ignore-errors'.

Glenn Morris's avatar
Glenn Morris committed
271 272 273
	* comint.el (comint-use-prompt-regexp-instead-of-fields):
	Move alias before definition, so it does not need autoloading.

274 275 276 277 278 279 280 281 282 283
	* emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
	* emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
	* international/kkc.el, international/ogonek.el, mail/feedmail.el:
	* net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
	* net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
	* textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
	* textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
	* textmodes/tex-mode.el, textmodes/two-column.el:
	Remove leading `*' from docs of defcustoms etc.

284 285 286 287
2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>

	* net/netrc.el (netrc-parse): Remove encrypt.el mentions.

288 289 290 291 292
2010-09-22  Dan Christensen  <jdc@uwo.ca>

	* calendar/time-date.el (date-to-time): Try using parse-time-string
	first before using the slower timezone-make-date-arpa-standard.

293 294 295 296
2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>

	* calendar/time-date.el (format-seconds): Comment fix.

Glenn Morris's avatar
Glenn Morris committed
297 298 299 300 301
2010-09-22  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
	is not automatically buffer-local.

302 303 304 305 306 307 308
2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
	(smie-indent-comment): Be more careful with comment-start-skip.
	(smie-indent-comment-close, smie-indent-comment-inside): New funs.
	(smie-indent-functions): Use them.

309 310 311 312
2010-09-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.

313 314
2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>

315 316
	* menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
	tool-bar-position.  Don't modify frame parameters here.
317
	(menu-bar-options-save): Add tool-bar-position.
318

319 320
	* tool-bar.el (tool-bar-position): New defcustom (Bug#7049).

321 322
2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

323 324 325 326
	* textmodes/reftex-parse.el (reftex-what-macro)
	(reftex-context-substring): Let-bind forward-sexp-function to nil
	since we don't need/want to treat \begin...\end as a block (bug#7053).

327 328 329 330
	* emacs-lisp/lisp.el (up-list): Don't do nothing silently.

	* simple.el (blink-matching-open): Use syntax-class.

331 332 333 334 335
	* progmodes/pascal.el (pascal-mode): Use define-derived-mode.
	Set invisibility spec for pascal's outline mode.
	(pascal-outline-change): Clean up calling convention.
	(pascal-show-all, pascal-hide-other-defuns): Update callers.

336 337 338 339 340
	* progmodes/prolog.el (prolog-smie-forward-token)
	(prolog-smie-backward-token): New functions.
	(prolog-mode-variables): Use them to parse "!," correctly.
	Set up smie-blink-matching for ".".

341 342 343 344
	* textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
	and `end'.
	(ispell-region, ispell-process-line): Update users.

345 346 347
	* textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
	point-min==1.

348 349 350 351 352 353 354 355 356
	* textmodes/ispell.el: Fix commenting convention.
	(ispell-parse-output): Simplify, use push.
	(ispell-region): Use match-string-no-properties.
	(ispell-begin-skip-region-regexp): Use mapconcat to simplify.
	(ispell-minor-mode): Use define-minor-mode.
	(ispell-message): Remove unused var `skip-regexp'.
	(ispell-add-per-file-word-list): Use dynamic let-binding.
	Try and use the proper comment marker.

357 358 359
	* mail/sendmail.el: Fix commenting convention.
	(sendmail-send-it): Use line-beginning-position.

360 361
	* help-fns.el (describe-variable): Add original value, if applicable.

362 363
2010-09-20  Juanma Barranquero  <lekktu@gmail.com>

364 365
	* subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.

366 367
	* emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.

368 369
2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>

370 371 372 373 374 375 376 377 378 379
	* emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
	(smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
	(smie-prec2-levels): Use them to better diagnose precedence cycles.
	(smie-blink-matching-check): Don't signal a mismatch if car is t.
	(smie-blink-matching-open): Rewrite to remove assumptions, so that
	something like "." can also be a closer.
	(smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
	(smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
	Rename internal functions to use "--".  Update callers.

380 381
	* frame.el (make-frame-names-alist): Don't list frames on other displays.

382 383 384
	* fringe.el (fringe-styles): New var.
	(fringe-mode, fringe-query-style): Use it.

385 386 387
2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 2.8
Juanma Barranquero's avatar
Juanma Barranquero committed
388
	(sql-login-params): Update widget structure; changes still needed.
389 390 391 392 393
	(sql-product-alist): Add :list-all and :list-table features for
	SQLite, Postgres and MySQL products.
	(sql-redirect): Handle default value.
	(sql-execute, sql-execute-feature): New functions.
	(sql-read-table-name): New function.
Juanma Barranquero's avatar
Juanma Barranquero committed
394
	(sql-list-all, sql-list-table): New functions.  User API.
395 396 397 398 399 400
	(sql-mode-map, sql-interactive-mode-map): Add key definitions
	for above functions.
	(sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
	for above functions.
	(sql-postgres-login-params): Add user and database defaults.
	(sql-buffer-live-p): Bug fix.
Juanma Barranquero's avatar
Juanma Barranquero committed
401
	(sql-product-history): New variable.
402 403 404
	(sql-read-product): New function. Use it.
	(sql-set-product, sql-product-interactive): Use it.
	(sql-connection-history): New variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
405
	(sql-read-connection): New function.  Use it.
406 407 408
	(sql-connect): New function.
	(sql-for-each-login): Redesign function interface.
	(sql-make-alternate-buffer-name, sql-save-connection): Use it.
Juanma Barranquero's avatar
Juanma Barranquero committed
409 410
	(sql-get-login-ext, sql-get-login): Use it.  Handle default values.
	(sql-comint): Check for program.  Existing live buffer.
411 412
	(sql-comint-postgres): Add port parameter.

413 414 415 416 417
2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/warnings.el: Fix commenting convention.
	(display-warning): Use special mode and make the buffer read-only.

418 419 420 421 422
2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
	empty string when it follows a repeated or optional pattern.

423 424 425 426 427
2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* indent.el (indent-according-to-mode): Apply syntax-propertize.
	(indent-region): Use indent-according-to-mode.

428 429 430 431
2010-09-18  Eli Zaretskii  <eliz@gnu.org>

	* fringe.el (fringe-mode): Doc fix.

432 433 434 435 436
2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)

	* textmodes/nroff-mode.el (nroff-view): Kill old buffer before
	refreshing the preview buffer.

437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463
2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/tex-mode.el (tex-syntax-propertize-rules)
	(latex-syntax-propertize-rules): New consts; replace
	tex-font-lock-syntactic-keywords.
	(tex-env-mark, latex-env-before-change): New functions.
	(latex-electric-env-pair-mode): New minor mode.
	(tex-font-lock-verb): Change arguments; do move point.
	(tex-font-lock-syntactic-face-function): Adjust to new verbatim
	representation as a form of comment.
	(tex-font-lock-keywords-1): Remove workaround, now unneeded.
	(doctex-syntax-propertize-rules): New const; replaces
	doctex-font-lock-syntactic-keywords.
	(tex-common-initialization, doctex-mode): Use syntax-propertize-rules.

	* progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
	(fortran-make-syntax-propertize-function): New function; replaces
	fortran-font-lock-syntactic-keywords.
	(fortran-mode): Use it.
	(fortran-line-length): Use it.  Improve interactive spec.

	* emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
	(syntax-propertize-rules): Add var-ref case.  Fix offset computation
	when adding surrounding \(..\).

	* progmodes/js.el (js-mode): Fix last change (bug#7054).

464 465
2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>

466 467 468
	* obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
	Use with-current-buffer.

469 470 471
	* isearch.el (isearch-face): Rename from `isearch'.
	(isearch-highlight): Use new name.

472 473 474 475 476
2010-09-17  Eli Zaretskii  <eliz@gnu.org>

	* fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
	5, for `half' width fringes.  (Bug#6933)

477 478
2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>

479 480 481
	* emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
	(byte-compile-defvar): "foo/bar" does not lack a prefix.

482 483
	* subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.

484 485 486 487 488 489
2010-09-17  Stephen Berman  <stephen.berman@gmx.net>

	* dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
	in calculating new frame position.  Add more space between new and
	parent on the left (Bug#7048).

490 491 492 493 494
2010-09-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
	defmacro.

495 496
2010-09-16  Chong Yidong  <cyd@stupidchicken.com>

497
	* mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
498

499 500 501
	* term/x-win.el (x-cut-buffer-or-selection-value): Define as
	obsolete alias for x-selection-value.

502 503
	* ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.

504 505 506 507 508
2010-09-16  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
	cookie.

509 510 511 512 513 514 515 516 517 518
2010-09-15  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-compat.el (tramp-compat-with-temp-message)
	(tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
	(tramp-compat-process-put): New defuns.

	* net/tramp.el (top):
	* net/tramp-gvfs.el (top):
	* net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.

519 520
	* net/tramp.el (tramp-progress-reporter-update):
	Use `tramp-compat-funcall'.
521 522 523 524

	* net/tramp.el (tramp-process-actions):
	* net/tramp-gvfs.el (tramp-handle-vc-registered):
	* net/tramp-sh.el (tramp-gvfs-handler-askquestion)
525 526
	(tramp-get-remote-stat, tramp-get-remote-readlink):
	Use `tramp-compat-with-temp-message'.
527 528 529

	* net/tramp-sh.el (top): Require 'cl.
	(tramp-handle-start-file-process): Use `tramp-compat-process-get'.
530 531
	(tramp-open-connection-setup-interactive-shell):
	Use `tramp-compat-process-put'.
532

533 534 535 536
2010-09-15  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
	indentation.
537
	(c-forward-<>-arglist-recur): Fix an infinite recursion.
538

539 540 541 542 543 544 545 546
2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
	`lexical' for warnings related to lexical scoping.
	(byte-compile-file-form-defvar, byte-compile-defvar): Warn about
	global vars which don't have a prefix and could hence affect lexical
	scoping in unrelated files.

547 548 549 550 551 552
2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/imap.el: Revert back to version
	cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
	seem problematic.

553 554 555 556 557
2010-09-14  Juanma Barranquero  <lekktu@gmail.com>

	* obsolete/old-whitespace.el (whitespace-unload-function):
	Explicitly pass `obarray' to `unintern' to avoid a warning.

558 559 560 561 562 563 564
2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/byte-run.el (set-advertised-calling-convention):
	Add `when' argument.  Update callers.

	* subr.el (unintern): Declare the obarray arg mandatory.

Glenn Morris's avatar
Glenn Morris committed
565 566
2010-09-14  Glenn Morris  <rgm@gnu.org>

567 568 569
	* calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
	Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
570 571 572 573 574
	* calendar/diary-lib.el (diary-included-files): New variable.
	(diary-list-entries): Maybe initialize diary-included-files.
	(diary-include-other-diary-files): Append to diary-included-files.
	* calendar/appt.el (appt-update-list): Also check the members of
	diary-included-files.  (Bug#6999)
575
	(appt-check): Doc fix.
Glenn Morris's avatar
Glenn Morris committed
576

577
2010-09-14  David Reitter  <david.reitter@gmail.com>
578 579 580 581

	* simple.el (line-move-visual): Do not truncate goal column to
	integer size.  (Bug#7020)

582
2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
583 584 585 586

	* repeat.el (repeat): Allow repeating when the last event is a click.
	Suggested by Drew Adams (bug#6256).

587
2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
588 589 590 591

	* vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
	Replace setting HGRCPATH to "" by some less invasive --config options.

592
2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
593 594 595 596

	* font-lock.el (font-lock-beginning-of-syntax-function):
	Mark as obsolete.

597
2010-09-14  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
598 599 600 601 602 603

	* menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
	and tool-bar modes.  (Bug#6211)
	(menu-bar-mode): Move setting of standard-value after the
	minor-mode definition, otherwise it seems to have no effect.

604
2010-09-14  Masatake YAMATO  <yamato@redhat.com>
Masatake YAMATO's avatar
Masatake YAMATO committed
605 606 607 608

	* progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
	Fix typo.  (Bug#6976)

609
2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
Chong Yidong's avatar
Chong Yidong committed
610 611 612 613

	* whitespace.el: Allow cleaning up blanks without blank
	visualization (Bug#6651).  Adjust help window for
	whitespace-toggle-options (Bug#6479).  Allow to use fill-column
614 615 616 617
	instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
	(whitespace-style): Add new value 'face.  Adjust docstring.
	(whitespace-space, whitespace-hspace, whitespace-tab):
	Adjust foreground property face.
Chong Yidong's avatar
Chong Yidong committed
618 619 620 621 622 623 624 625 626
	(whitespace-line-column): Adjust docstring and type declaration.
	(whitespace-style-value-list, whitespace-toggle-option-alist)
	(whitespace-help-text): Adjust const initialization.
	(whitespace-toggle-options, global-whitespace-toggle-options):
	Adjust docstring.
	(whitespace-display-window, whitespace-interactive-char)
	(whitespace-style-face-p, whitespace-color-on): Adjust code.
	(whitespace-help-scroll): New fun.

627 628 629 630
2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>

	* calendar/time-date.el (format-seconds): Comment fix.

631 632 633 634 635 636 637 638 639 640
2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 2.7.
	(sql-buffer-live-p): Improve detection.
	(sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
	(sql-set-sqli-buffer): Use it.
	(sql-product-interactive): Run `sql-set-sqli-hook'.
	(sql-rename-buffer): Code cleanup.
	(sql-redirect, sql-redirect-value): New functions.  More to come.

641 642 643 644 645 646 647
2010-09-13  Juanma Barranquero  <lekktu@gmail.com>

	Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
	* makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
	(TRAMP_SRC): New macro.
	($(lisp)/net/tramp-loaddefs.el): New target.

648 649 650 651 652 653 654
2010-09-13  Michael Albinus  <michael.albinus@gmx.de>

	Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.

	* Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.

	* net/tramp.el (top): Don't show loading message.  Require just
655 656
	'tramp-compat, everything else is required there.
	Use `ignore-errors' where appropriate.
657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729
	(tramp-inline-compress-start-size, tramp-copy-size-limit)
	(tramp-terminal-type, tramp-end-of-output)
	(tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
	(tramp-completion-function-alist-ssh)
	(tramp-completion-function-alist-telnet)
	(tramp-completion-function-alist-su)
	(tramp-completion-function-alist-putty, tramp-remote-path)
	(tramp-remote-process-environment, tramp-sh-extra-args)
	(tramp-actions-before-shell, tramp-uudecode)
	(tramp-perl-file-truename, tramp-perl-file-name-all-completions)
	(tramp-perl-file-attributes)
	(tramp-perl-directory-files-and-attributes)
	(tramp-perl-encode-with-module, tramp-perl-decode-with-module)
	(tramp-perl-encode, tramp-perl-decode)
	(tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
	(tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
	(tramp-handle-make-symbolic-link, tramp-handle-load)
	(tramp-handle-file-name-as-directory)
	(tramp-handle-file-name-directory)
	(tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
	(tramp-handle-file-exists-p, tramp-handle-file-attributes)
	(tramp-do-file-attributes-with-ls)
	(tramp-do-file-attributes-with-perl)
	(tramp-do-file-attributes-with-stat)
	(tramp-handle-set-visited-file-modtime)
	(tramp-handle-verify-visited-file-modtime)
	(tramp-handle-set-file-modes, tramp-handle-set-file-times)
	(tramp-set-file-uid-gid, tramp-remote-selinux-p)
	(tramp-handle-file-selinux-context)
	(tramp-handle-set-file-selinux-context)
	(tramp-handle-file-executable-p, tramp-handle-file-readable-p)
	(tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
	(tramp-handle-file-directory-p, tramp-handle-file-regular-p)
	(tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
	(tramp-handle-file-ownership-preserved-p)
	(tramp-handle-directory-file-name, tramp-handle-directory-files)
	(tramp-handle-directory-files-and-attributes)
	(tramp-do-directory-files-and-attributes-with-perl)
	(tramp-do-directory-files-and-attributes-with-stat)
	(tramp-handle-file-name-all-completions)
	(tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
	(tramp-handle-copy-file, tramp-handle-copy-directory)
	(tramp-handle-rename-file, tramp-do-copy-or-rename-file)
	(tramp-do-copy-or-rename-file-via-buffer)
	(tramp-do-copy-or-rename-file-directly)
	(tramp-do-copy-or-rename-file-out-of-band)
	(tramp-handle-make-directory, tramp-handle-delete-directory)
	(tramp-handle-delete-file)
	(tramp-handle-dired-recursive-delete-directory)
	(tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
	(tramp-handle-insert-directory)
	(tramp-handle-unhandled-file-name-directory)
	(tramp-handle-expand-file-name)
	(tramp-handle-substitute-in-file-name)
	(tramp-handle-executable-find, tramp-process-sentinel)
	(tramp-handle-start-file-process, tramp-handle-process-file)
	(tramp-handle-call-process-region, tramp-handle-shell-command)
	(tramp-handle-file-local-copy, tramp-handle-file-remote-p)
	(tramp-handle-insert-file-contents)
	(tramp-handle-insert-file-contents-literally)
	(tramp-handle-find-backup-file-name)
	(tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
	(tramp-vc-registered-file-names, tramp-handle-vc-registered)
	(tramp-sh-file-name-handler, tramp-vc-file-name-handler)
	(tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
	(tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
	(tramp-find-file-exists-command, tramp-open-shell)
	(tramp-find-shell, tramp-barf-if-no-shell-prompt)
	(tramp-open-connection-setup-interactive-shell)
	(tramp-local-coding-commands, tramp-remote-coding-commands)
	(tramp-find-inline-encoding, tramp-call-local-coding-command)
	(tramp-inline-compress-commands, tramp-find-inline-compress)
	(tramp-compute-multi-hops, tramp-maybe-open-connection)
730
	(tramp-send-command, tramp-wait-for-output)
731 732 733 734 735 736 737 738 739 740 741 742 743 744
	(tramp-send-command-and-check, tramp-barf-unless-okay)
	(tramp-send-command-and-read, tramp-mode-string-to-int)
	(tramp-convert-file-attributes, tramp-check-cached-permissions)
	(tramp-file-mode-from-int, tramp-file-mode-permissions)
	(tramp-shell-case-fold, tramp-make-copy-program-file-name)
	(tramp-method-out-of-band-p, tramp-local-host-p)
	(tramp-get-remote-path, tramp-get-remote-tmpdir)
	(tramp-get-ls-command, tramp-get-ls-command-with-dired)
	(tramp-get-test-command, tramp-get-test-nt-command)
	(tramp-get-file-exists-command, tramp-get-remote-ln)
	(tramp-get-remote-perl, tramp-get-remote-stat)
	(tramp-get-remote-readlink, tramp-get-remote-trash)
	(tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
	(tramp-get-local-uid, tramp-get-local-gid)
745
	(tramp-get-inline-compress, tramp-get-inline-coding): Move to
746 747 748 749 750 751 752 753
	tramp-sh.el.
	(tramp-methods, tramp-default-method-alist)
	(tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
	Move initialization to tramp-sh.el.
	(tramp-temp-name-prefix): Make it a defconst.
	(tramp-dissect-file-name): Don't check anymore for multi-hop
	methods.
	(tramp-debug-outline-regexp): Add a docstring.
754
	(tramp-debug-outline-level): Rename from `tramp-outline-level'.
755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772
	(tramp-get-debug-buffer): Use it.

	* net/tramp-cache.el (top): Set tramp-autoload cookie for
	initialization forms.
	(tramp-set-connection-property): Don't protect `tramp-message'
	call, it isn't necessary any longer.
	(tramp-dump-connection-properties): Use `ignore-errors'.

	* net/tramp-compat.el (top): Require 'advice, 'format-spec,
	'password-cache and 'auth-source.

	* net/tramp-gvfs.el (top):
	* net/tramp-smb.el (top): Require 'tramp-sh.

	* net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.

	* net/tramp-sh.el: New file, derived from tramp.el.
	(top): Initialize `tramp-methods', `tramp-default-method-alist',
773
	`tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
774 775 776
	Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
	Use `ignore-errors' where appropriate.
	(tramp-sh-file-name-handler-alist): Rename from
777 778 779 780 781 782
	`tramp-file-name-handler-alist'.
	(tramp-send-command-and-check): Return t or nil.  Remove all
	`zerop' checks, where called.
	(tramp-handle-set-file-modes)
	(tramp-do-copy-or-rename-file-directly)
	(tramp-handle-delete-directory, tramp-handle-delete-file)
Juanma Barranquero's avatar
Juanma Barranquero committed
783
	(tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
784 785 786 787 788
	(tramp-sh-file-name-handler, tramp-send-command-and-check)
	(tramp-get-remote-ln): Set tramp-autoload cookie.

	* net/tramp-fish.el: Remove file.

789 790 791 792 793
2010-09-13  Daiki Ueno  <ueno@unixuser.org>

	* epa-file.el (epa-file-insert-file-contents): If visiting, bind
	buffer-file-name to avoid file-locking.  (Bug#7026)

794 795 796 797 798 799
2010-09-13  Julien Danjou  <julien@danjou.info>

	* notifications.el (notifications-notify): Add support for
	image-path and sound-name.
	(notifications-specification-version): Add this variable.

800 801
2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>

802
	* subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
803

804 805 806 807 808 809 810 811 812 813 814 815 816
2010-09-12  Leo  <sdl.web@gmail.com>

	* net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
	(rcirc-completion-start): New variables.
	(rcirc-nick-completions): Rename to rcirc-completions.
	(rcirc-nick-completion-start-offset): Delete.
	(rcirc-completion-at-point): New function for constructing
	completion data for both nicks and irc commands.  Add to
	completion-at-point-functions in rcirc mode.
	(rcirc-complete): Rename from rcirc-nick-complete; use
	rcirc-completion-at-point.
	(defun-rcirc-command): Update rcirc-client-commands.

Glenn Morris's avatar
Glenn Morris committed
817 818 819 820 821
2010-09-11  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
	atomically, to avoid parallel build errors.  (Bug#4196)

Michael Mauger's avatar
Michael Mauger committed
822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842
2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 2.6
	(sql-dialect): Synonym for "sql-product".
	(sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
	(sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
	Set "sql-buffer" to buffer name not buffer object so multiple sql
	interactive buffers work properly.  Reverts misguided changes in
	earlier work.
	(sql-comint): Make sure different buffer name is used if "*SQL*"
	buffer is for a different product.
	(sql-make-alternate-buffer-name): Fix bug with "sql-database"
	login param.
	(sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
	(sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
	(sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
	Accept new buffer name or prompt for one.
	(sql-port): Default to zero.
	(sql-comint-mysql): Handle "sql-port" as a numeric.
	(sql-port-history): Delete unused variable.
	(sql-get-login): Default "sql-port" to a number.
843
	(sql-product-alist): Correct Postgres prompt and terminator regexp.
Michael Mauger's avatar
Michael Mauger committed
844 845
	(sql-sqlite-program): Dynamically detect presence of "sqlite" or
	"sqlite3" executables.
846
	(sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
Michael Mauger's avatar
Michael Mauger committed
847 848 849 850 851 852 853
	(sql-buffer-live-p): New function.
	(sql-mode-menu, sql-send-string): Use it.
	(sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
	syntax pattern.
	(sql-mode-postgres-font-lock-keywords): Support Postgres V9.
	(sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.

854 855
2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

856
	* net/netrc.el (netrc-credentials): New convenience function.
857

858 859 860 861 862 863 864 865 866 867 868 869 870 871 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 987
2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
	to replace texinfo-font-lock-syntactic-keywords.
	(texinfo-mode): Use it.

	* textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
	Use syntax-propertize-function.

	* textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
	replace sgml-font-lock-syntactic-keywords.
	(sgml-mode): Use it.

	* textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
	since we don't use it.

	* textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.

	* progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
	if available.
	(vhdl-fontify-buffer): Adjust.

	* progmodes/tcl.el (tcl-syntax-propertize-function): New var to
	replace tcl-font-lock-syntactic-keywords.
	(tcl-mode): Use it.

	* progmodes/simula.el (simula-syntax-propertize-function): New var to
	replace simula-font-lock-syntactic-keywords.
	(simula-mode): Use it.

	* progmodes/sh-script.el (sh-st-symbol): Remove.
	(sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
	(sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
	(sh-font-lock-quoted-subshell): Assume we've already matched $(.
	(sh-font-lock-paren): Set syntax-multiline.
	(sh-font-lock-syntactic-keywords): Remove.
	(sh-syntax-propertize-function): New function to replace it.
	(sh-mode): Use it.

	* progmodes/ruby-mode.el (ruby-here-doc-beg-re):
	Define while compiling.
	(ruby-here-doc-end-re, ruby-here-doc-beg-match)
	(ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
	(syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
	(ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
	(ruby-here-doc-end-syntax): Only define when
	syntax-propertize is not available.
	(ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
	New functions.
	(ruby-in-ppss-context-p): Update to new syntax of heredocs.
	(electric-indent-chars): Silence bytecompiler.
	(ruby-mode): Use prog-mode, syntax-propertize-function, and
	electric-indent-chars.

	* progmodes/python.el (python-syntax-propertize-function): New var to
	replace python-font-lock-syntactic-keywords.
	(python-mode): Use it.
	(python-quote-syntax): Simplify and adjust to new use.

	* progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
	replace perl-font-lock-syntactic-keywords.
	(perl-syntax-propertize-special-constructs): New fun to replace
	perl-font-lock-special-syntactic-constructs.
	(perl-font-lock-syntactic-face-function): New fun.
	(perl-mode): Use it.

	* progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
	to replace octave-font-lock-close-quotes.
	(octave-syntax-propertize-function): New function to replace
	octave-font-lock-syntactic-keywords.
	(octave-mode): Use it.

	* progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
	replaces mixal-font-lock-syntactic-keywords.
	(mixal-mode): Use it.

	* progmodes/make-mode.el (makefile-syntax-propertize-function):
	New var; replaces makefile-font-lock-syntactic-keywords.
	(makefile-mode): Use it.
	(makefile-imake-mode): Adjust.

	* progmodes/js.el (js--regexp-literal): Define while compiling.
	(js-syntax-propertize-function): New var; replaces
	js-font-lock-syntactic-keywords.
	(js-mode): Use it.

	* progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
	replaces gdb-script-font-lock-syntactic-keywords.
	(gdb-script-mode): Use it.

	* progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
	(fortran--font-lock-syntactic-keywords): New var.
	(fortran-line-length): Update syntax-propertize-function and
	fortran--font-lock-syntactic-keywords.

	* progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.

	* progmodes/cfengine.el (cfengine-mode):
	Use syntax-propertize-function.
	(cfengine-font-lock-syntactic-keywords): Remove.

	* progmodes/autoconf.el (autoconf-mode):
	Use syntax-propertize-function.
	(autoconf-font-lock-syntactic-keywords): Remove.

	* progmodes/ada-mode.el (ada-set-syntax-table-properties)
	(ada-after-change-function, ada-initialize-syntax-table-properties)
	(ada-handle-syntax-table-properties): Only define when
	syntax-propertize is not available.
	(ada-mode): Use syntax-propertize-function.

	* font-lock.el (font-lock-syntactic-keywords): Make obsolete.
	(font-lock-fontify-syntactic-keywords-region): Move handling of
	font-lock-syntactically-fontified to...
	(font-lock-default-fontify-region): ...here.
	Let syntax-propertize-function take precedence.
	(font-lock-fontify-syntactically-region): Cal syntax-propertize.

	* emacs-lisp/syntax.el (syntax-propertize-function)
	(syntax-propertize-chunk-size, syntax-propertize--done)
	(syntax-propertize-extend-region-functions): New vars.
	(syntax-propertize-wholelines, syntax-propertize-multiline)
	(syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
	(syntax-propertize): New functions.
	(syntax-propertize-rules): New macro.
	(syntax-ppss-flush-cache): Set syntax-propertize--done.
	(syntax-ppss): Call syntax-propertize.

	* emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.

988 989 990 991 992 993
2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-init-process): Improve comments.
	XEmacs compatibility changes regarding (add-hook) 'local option
	and (set-process-query-on-exit-flag).

994 995
2010-09-09  Michael Albinus  <michael.albinus@gmx.de>

996 997
	* net/tramp-cache.el (tramp-parse-connection-properties):
	Set tramp-autoload cookie.
998

Glenn Morris's avatar
Glenn Morris committed
999 1000 1001 1002 1003
2010-09-09  Glenn Morris  <rgm@gnu.org>

	* image.el (imagemagick-types-inhibit): Add :type, :version, :group.
	(imagemagick-register-types): Doc fix.

1004 1005
2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>

1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028
	* progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.

	* progmodes/js.el (require): Require is already "eval-and-compile".
	(js--re-search-forward): Avoid `eval'.  Preserve the error data.
	(js--re-search-backward): Use js--re-search-forward.

	* progmodes/fortran.el (fortran-line-length): Don't recompute
	syntactic keywords redundantly a second time.

	* progmodes/ada-mode.el: Replace "(set '" with setq.
	(ada-mode): Simplify.
	(ada-create-case-exception, ada-adjust-case-interactive)
	(ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
	(ada-search-ignore-string-comment, ada-move-to-start)
	(ada-move-to-end): Use with-syntax-table.

	* font-lock.el (save-buffer-state): Remove `varlist' arg.
	(font-lock-unfontify-region, font-lock-default-fontify-region):
	Update usage correspondingly.
	(font-lock-fontify-syntactic-keywords-region):
	Set parse-sexp-lookup-properties buffer-locally here.
	(font-lock-fontify-syntactically-region): Remove unused `ppss' arg.

1029 1030
	* simple.el (blink-matching-open): Don't burp if we can't find a match.

1031 1032
2010-09-08  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1033 1034 1035
	* emacs-lisp/bytecomp.el (byte-compile-report-ops):
	Error if not compiled with -DBYTE_CODE_METER.

1036 1037 1038
	* emacs-lisp/bytecomp.el (byte-recompile-directory):
	Ignore dir-locals-file.

1039 1040 1041 1042 1043 1044 1045 1046 1047 1048
2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Not a const.
	(compilation-error-regexp-alist-alist): Rule out ": " in file names
	for the `gnu' messages.
	(compilation-set-skip-threshold): New command.
	(compilation-start): Use \' rather than $.
	(compilation-forget-errors): Use clrhash.

1049 1050 1051 1052 1053
2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-valid-dictionary-list):
	Simplify logic.

1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166
2010-09-08  Michael Albinus  <michael.albinus@gmx.de>

	Migrate to Tramp 2.2.  Rearrange load dependencies.
	(Bug#1529, Bug#5448, Bug#5705)

	* Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
	($(TRAMP_DIR)/tramp-loaddefs.el): New target.
	(LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.

	* net/tramp.el (top): Remove all other tramp-* loads except
	tramp-compat.el.  Remove all changes to tramp-unload-hook for
	other tramp-* packages.  Rearrange defun order.  Change calls of
	`tramp-compat-call-process', `tramp-compat-decimal-to-octal',
	`tramp-compat-octal-to-decimal' to new function names.
	(tramp-terminal-type, tramp-initial-end-of-output)
	(tramp-methods, tramp-foreign-file-name-handler-alist)
	(tramp-tramp-file-p, tramp-completion-mode-p)
	(tramp-send-command-and-check, tramp-get-remote-path)
	(tramp-get-remote-tmpdir, tramp-get-remote-ln)
	(tramp-shell-quote-argument): Set tramp-autoload cookie.
	(with-file-property, with-connection-property): Move to
	tramp-cache.el.
	(tramp-local-call-process, tramp-decimal-to-octal)
	(tramp-octal-to-decimal): Move to tramp-compat.el.
	(tramp-handle-shell-command): Do not require 'shell.
	(tramp-compute-multi-hops): No special handling for tramp-gw-*
	symbols.
	(tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.

	* net/tramp-cache.el (top): Require 'tramp.  Add to
	`tramp-unload-hook'.
	(tramp-cache-data, tramp-get-file-property)
	(tramp-set-file-property, tramp-flush-file-property)
	(tramp-flush-directory-property, tramp-get-connection-property)
	(tramp-set-connection-property, tramp-flush-connection-property)
	(tramp-cache-print, tramp-list-connections): Set tramp-autoload
	cookie.
	(with-file-property, with-connection-property): New defuns, moved
	from tramp.el.
	(tramp-flush-file-function): Use `with-parsed-tramp-file-name'
	macro.

	* net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
	(tramp-version): Set tramp-autoload cookie.

	* net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
	changes to tramp-unload-hook for other tramp-* packages.  Add to
	`tramp-unload-hook'.
	(tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
	(tramp-compat-call-process): New defuns, moved from tramp.el.

	* net/tramp-fish.el (top) Require just 'tramp.  Add objects to
	`tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
	to `tramp-unload-hook'.  Change call of
	`tramp-compat-decimal-to-octal' to new function name.
	(tramp-fish-method): Make it a defconst.
	(tramp-fish-file-name-p): Make it a defsubst.
	(tramp-fish-method, tramp-fish-file-name-handler)
	(tramp-fish-file-name-p): Set tramp-autoload cookie.

	* net/tramp-ftp.el (top) Add objects to `tramp-methods' and
	`tramp-foreign-file-name-handler-alist'.  Add to
	`tramp-unload-hook'.
	(tramp-ftp-method): Make it a defconst.
	(tramp-ftp-file-name-p): Make it a defsubst.
	(tramp-ftp-method, tramp-ftp-file-name-handler)
	(tramp-ftp-file-name-p): Set tramp-autoload cookie.

	* net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
	`tramp-foreign-file-name-handler-alist'.  Add to
	`tramp-unload-hook'.  Change checks, whether package can be
	loaded.
	(tramp-gvfs-file-name-p): Make it a defsubst.
	(tramp-gvfs-methods, tramp-gvfs-file-name-handler)
	(tramp-gvfs-file-name-p): Set tramp-autoload cookie.
	(tramp-gvfs-handle-file-directory-p): New defun.
	(tramp-gvfs-file-name-handler-alist): Use it.

	* net/tramp-gw.el (top) Add objects to `tramp-methods' and
	`tramp-foreign-file-name-handler-alist'.  Add to
	`tramp-unload-hook'.
	(tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
	(tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
	defconst.
	(tramp-gw-tunnel-method, tramp-gw-socks-method)
	(tramp-gw-open-connection): Set tramp-autoload cookie.

	* net/tramp-imap.el (top) Require just 'tramp.  Add objects to
	`tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
	to `tramp-unload-hook'.  Change checks, whether package can be
	loaded.
	(tramp-imap-file-name-p): Make it a defsubst.
	(tramp-imap-method, tramp-imaps-method)
	(tramp-imap-file-name-handler)
	(tramp-imap-file-name-p): Set tramp-autoload cookie.

	* net/tramp-smb.el (top) Require just 'tramp.  Add objects to
	`tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
	to `tramp-unload-hook'.  Change checks, whether package can be
	loaded.  Change call of `tramp-compat-decimal-to-octal' to new
	function name.
	(tramp-smb-tunnel-method): Make it a defconst.
	(tramp-smb-file-name-p): Make it a defsubst.
	(tramp-smb-method, tramp-smb-file-name-handler)
	(tramp-smb-file-name-p): Set tramp-autoload cookie.

	* net/tramp-uu.el (top) Add to `tramp-unload-hook'.
	(tramp-uuencode-region): Set tramp-autoload cookie.

	* net/trampver.el (top) Add to `tramp-unload-hook'.
	(tramp-version, tramp-bug-report-address): Set tramp-autoload
	cookie.  Update release number.

1167 1168 1169 1170 1171
2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-start-process): Make sure original
	arg list is properly initialized (Bug#6993, Bug#6994).

1172
2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
1173 1174

	* files.el (directory-abbrev-alist): Use \` as default regexp.
1175 1176 1177 1178 1179

	* emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
	chars like - or ] (bug#6984).
	(rx-any-condense-range): Explode 2-char ranges.

1180 1181 1182 1183 1184
2010-09-06  Glenn Morris  <rgm@gnu.org>

	* desktop.el (desktop-path): Bump :version after 2009-09-15 change.

2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1185 1186 1187 1188

	* textmodes/bibtex.el:
	* proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.

1189 1190
2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1191
	* net/imap.el (imap-message-map): Remove optional buffer parameter,
1192 1193 1194 1195 1196 1197
	since no callers use it.
	(imap-message-get): Ditto.
	(imap-message-put): Ditto.
	(imap-mailbox-map): Ditto.
	(imap-mailbox-put): Ditto.
	(imap-mailbox-get): Ditto.
1198
	(imap-mailbox-get): Revert last change for this function.
1199

1200 1201
2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1202
	* net/imap.el (imap-fetch-safe): Remove function, and alter all
1203 1204
	callers to use `imap-fetch' instead.  According to the comments, this
	should be safe, since all other IMAP clients use the 1:* syntax.
1205 1206
	(imap-enable-exchange-bug-workaround): Remove.
	(imap-debug): Remove -- doesn't seem very useful.
1207

1208 1209 1210 1211 1212
2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/imap.el (imap-log): New convenience function used throughout
	instead of repeating the same code all over the place.

1213
2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
1214 1215 1216 1217

	* mouse.el (mouse-save-then-kill): Save region to kill-ring
	when mouse-drag-copy-region is non-nil (Bug#6956).

1218 1219
2010-09-05  Chong Yidong  <cyd@stupidchicken.com>

1220 1221 1222 1223
	* dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
	Improve regexps (Bug#6987).
	(dired-sort-toggle): Search more robustly for -t flag.

1224 1225 1226 1227
	* files.el (get-free-disk-space): Search more robustly for
	"available" column.  Suggested by Ehud Karni
	<ehud@unix.mvs.co.il>.

1228 1229 1230 1231 1232 1233 1234 1235 1236
2010-09-05  Juanma Barranquero  <lekktu@gmail.com>

	* international/uni-bidi.el:
	* international/uni-category.el:
	* international/uni-combining.el:
	* international/uni-decimal.el:
	* international/uni-mirrored.el:
	* international/uni-name.el: Regenerate.

1237 1238
2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>

1239 1240 1241
	* electric.el (electric-indent-post-self-insert-function):
	Don't reindent with a sloppy indentation function.

1242 1243 1244
	* emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
	border case in change-log-mode.

1245 1246 1247 1248 1249 1250 1251
2010-09-04  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
	Recognize leading tab in gcc-include regexp.  Ignore names with
	leading "from" or "in" in gnu regexp (Bug#6937).

1252 1253
2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>

1254
	Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
1255 1256 1257 1258 1259 1260 1261
	* textmodes/ispell.el (ispell-process-buffer-name): Remove.
	(ispell-start-process): Avoid setq and simplify logic.
	(ispell-init-process): Setup kill-buffer-hook locally when needed.
	(kill-buffer-hook): Don't use it globally with code that uses
	expand-file-name since that may call kill-buffer via
	code_conversion_restore.

1262 1263 1264 1265 1266
2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)

	* emacs-lisp/package.el (package-directory-list): Only call
	file-name-nondirectory on a string.

1267 1268
2010-09-02  Chong Yidong  <cyd@stupidchicken.com>

1269 1270
	* emacs-lisp/package.el (package--download-one-archive):
	Ensure that archive-contents is valid before saving it.
1271 1272 1273
	(package-activate-1, package-mark-obsolete, define-package)
	(package-compute-transaction, package-list-maybe-add): Use push.

1274 1275
2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>

1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289
	Use SMIE's blink-paren for octave-mode.
	* progmodes/octave-mod.el (octave-font-lock-close-quotes):
	Backslashes do not escape single-quotes, single-quotes do.
	(octave-block-else-regexp, octave-block-end-regexp)
	(octave-block-match-alist): Remove.
	(octave-smie-bnf-table): New var, with old content.
	(octave-smie-op-levels): Use it.
	(octave-smie-closer-alist): New var.
	(octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
	(octave-blink-matching-block-open): Remove.
	(octave-reindent-then-newline-and-indent, octave-electric-semi)
	(octave-electric-space): Let self-insert-command run expand-abbrev and
	blink parens.

1290 1291 1292 1293 1294 1295 1296 1297
	* electric.el (electricity): New group.
	(electric-indent-chars): New var.
	(electric-indent-post-self-insert-function): New fun.
	(electric-indent-mode): New minor mode.
	(electric-pair-skip-self): New custom.
	(electric-pair-post-self-insert-function): New function.
	(electric-pair-mode): New minor mode.

1298 1299 1300 1301 1302 1303
	* calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
	calcAlg-blink-matching-open.
	(calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
	(calc-do-alg-entry): Only touch the part of the keymap that varies.
	Use the new blink-matching-check-function.

1304 1305 1306 1307 1308
	Provide blink-matching support to SMIE.
	* emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
	(smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
	(smie-blink-matching-check, smie-blink-matching-open): New functions.

1309 1310 1311
	* simple.el (newline): Fix last change to properly remove itself from
	the hook.

1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323
2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (newline): Eliminate optimization.
	Use post-self-insert-hook to set hard-newline and things before
	running post-self-insert-hook.
	(blink-matching-check-mismatch): New function.
	(blink-matching-check-function): New variable.
	(blink-matching-open): Use them.
	Skip back forward over prefix chars skipped by forward-sexp.
	Don't check if the parens are backslash escaped.
	(blink-paren-post-self-insert-function): Check backslash escaping here.

1324 1325
2010-09-02  Chong Yidong  <cyd@stupidchicken.com>

1326 1327
	* emacs-lisp/package.el (package-menu-mode-map):
	Change package-menu-revert bindings to revert-buffer.
1328 1329 1330
	(package-menu-mode): Set revert-buffer-function.
	(package-menu-revert): Doc fix.

1331 1332 1333 1334 1335 1336
2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-init-process): Use "~/" as
	`default-directory' unless using Ispell per-directory personal
	dictionaries and not in a mini-buffer under XEmacs.
	(kill-buffer-hook): Do not kill ispell process on exit when
Juanma Barranquero's avatar
Juanma Barranquero committed
1337
	`ispell-process-directory' is "~/".  (Bug#6143)
1338

Jan Djärv's avatar
Jan Djärv committed
1339 1340
2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>

1341 1342 1343
	* simple.el (kill-new): Call interprogram-cut-function with only
	one argument.

1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354
	* term.el (term-mouse-paste): Don't call x-get-cutbuffer.
	Remove cut buffer from error message.

	* term/x-win.el (x-select-text):
	* term/pc-win.el (x-selection-value):
	* term/ns-win.el (x-selection-value):
	* eshell/em-term.el:
	* w32-fns.el (x-get-selection-value):
	* mouse-sel.el (mouse-sel-set-selection-function):
	* frame.el (display-selections-p): Remove cut-buffer in documentation.

Jan Djärv's avatar
Jan Djärv committed
1355 1356 1357 1358 1359 1360
	* term/x-win.el: Update documentation for x-last-selected-text-*.
	(x-last-selected-text-cut, x-last-selected-text-cut-encoded)
	(x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
	(x-select-text): Remove argument PUSH, update documentation.  Remove
	cut-buffer code.
	(x-selection-value-internal): Was previously x-selection-value.
Jan Djärv's avatar
Jan Djärv committed
1361
	(x-selection-value): Rename from x-cut-buffer-or-selection-value.
Jan Djärv's avatar
Jan Djärv committed
1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388
	Update documentation, remove cut-buffer code.  Call
	x-selection-value-internal.
	(x-clipboard-yank): Call x-selection-value-internal.
	(x-initialize-window-system): Remove setting of x-cut-buffer-max.

	* term/pc-win.el (x-last-selected-text):
	x-cut-buffer-or-selection-value renamed to x-selection-value
	(x-select-text): Remove argument PUSH, update documentation.

	* term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
	x-cut-buffer-or-selection-value renamed to x-selection-value
	(x-selection-value): Renamed from x-cut-buffer-or-selection-value.
	(x-select-text): Remove argument PUSH, update documentation.

	* emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.

	* w32-fns.el (x-last-selected-text):
	x-cut-buffer-or-selection-value renamed to x-selection-value.
	(x-cut-buffer-max): Remove.
	(x-select-text): Remove argument PUSH, update documentation.

	* simple.el (interprogram-cut-function): Remove mention of PUSH.

	* select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.

	* mouse-sel.el (mouse-sel-get-selection-function):
	x-cut-buffer-or-selection-value renamed to x-selection-value.
Jan Djärv's avatar
Jan Djärv committed
1389
	(x-select-text): Remove optional push.
Jan Djärv's avatar
Jan Djärv committed
1390

1391 1392
2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>

1393 1394 1395 1396
	* simple.el (blink-paren-function): Move from C to here.
	(blink-paren-post-self-insert-function): New function.
	(post-self-insert-hook): Use it.

1397 1398 1399 1400
	* emacs-lisp/pcase.el (pcase-split-memq):
	Fix overenthusiastic optimisation.
	(pcase-u1): Handle the case of a lambda pred.

1401 1402 1403 1404 1405 1406
2010-08-31  Kenichi Handa  <handa@m17n.org>

	* international/mule-cmds.el (standard-display-european-internal):
	Setup standard-display-table for 8-bit characters by storing 8-bit
	characters in the element vector.

1407 1408
	* disp-table.el (standard-display-8bit):
	Setup standard-display-table for 8-bit characters by storing 8-bit
1409 1410 1411
	characters in the element vector.
	(standard-display-european): Likewise.

1412 1413 1414 1415 1416
2010-08-31  Masatake YAMATO  <yamato@redhat.com>

	* textmodes/nroff-mode.el (nroff-view): New command.
	(nroff-mode-map): Bind it to C-c C-c.

1417 1418
2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>

1419 1420
	* emacs-lisp/smie.el (smie-down-list): New command.

1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435
	Remove old indentation and navigation code on octave-mode.
	* progmodes/octave-mod.el (octave-mode-map): Remap down-list to
	smie-down-list rather than add a binding for octave-down-block.
	(octave-mark-block, octave-blink-matching-block-open):
	Rely on forward-sexp-function.
	(octave-fill-paragraph): Don't narrow, so you can use
	indent-according-to-mode.
	(octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
	(octave-in-block-p, octave-re-search-forward-kw)
	(octave-re-search-backward-kw, octave-indent-calculate)
	(octave-end-as-array-index-p, octave-block-end-offset)
	(octave-scan-blocks, octave-forward-block, octave-backward-block)
	(octave-down-block, octave-backward-up-block, octave-up-block)
	(octave-before-magic-comment-p, octave-indent-line): Remove.

1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449
2010-08-31  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (package--read-archive-file): Just use
	`read', to avoid copying an additional string.
	(package-menu-mode): Set header-line-format here.
	(package-menu-refresh, package-menu-revert): Signal an error if
	not in the Package Menu.
	(package-menu-package-list): New var.
	(package--generate-package-list): Operate on the current buffer;
	don't assume that it is *Packages*, since the user may rename it.
	Allow persistent package listings and sort keys using
	package-menu-package-list and package-menu-package-sort-key.
	(package-menu--version-predicate): Fix version calculation.
	(package-menu-sort-by-column): Don't select the window.
1450 1451
	(package--list-packages): Create the *Packages* buffer.
	Set package-menu-package-list-key.
1452 1453 1454 1455 1456
	(list-packages): Sorting by status is now the default.
	(package-buffer-info): Use match-string-no-properties.
	(define-package): Add a &rest argument for future proofing, but
	don't use it yet.
	(package-install-from-buffer, package-install-buffer-internal):
1457 1458
	Merge into a single function, package-install-from-buffer.
	(package-install-file): Change caller.
1459 1460 1461 1462 1463

	* finder.el: Load finder-inf using `require'.
	(finder-list-matches): Sorting by status is now the default.
	(finder-compile-keywords): Simpify printing.

Stefan Monnier's avatar
Stefan Monnier committed
1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476
2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
	(octave-mode-map): Remove special bindings for forward/backward-block
	and octave-backward-up-block.  Use smie-close-block.
	(octave-continuation-marker-regexp): New var.
	(octave-continuation-regexp): Use it.
	(octave-operator-table, octave-smie-op-levels)
	(octave-operator-regexp, octave-smie-indent-rules): New vars.
	(octave-smie-backward-token, octave-smie-forward-token): New funs.
	(octave-mode): Use SMIE.
	(octave-close-block): Delete.

Eli Zaretskii's avatar
Eli Zaretskii committed
1477 1478 1479 1480 1481
2010-08-30  Eli Zaretskii  <eliz@gnu.org>

	* menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
	CLIPBOARD, not in PRIMARY.  (Bug#6944)

Stefan Monnier's avatar
Stefan Monnier committed
1482 1483
2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>