ChangeLog 624 KB
Newer Older
1 2 3 4
2010-09-29  Glenn Morris  <rgm@gnu.org>

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

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
5 6 7 8 9 10 11
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.

12 13 14 15
2010-09-28  Glenn Morris  <rgm@gnu.org>

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

16 17 18 19 20
2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>

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

21 22
2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>

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

26 27 28 29 30
2010-09-27  Kenichi Handa  <handa@m17n.org>

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

31 32 33 34 35 36 37
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.

38
2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
39 40 41

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

42 43 44 45
2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>

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

46 47 48 49 50 51
2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>

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

52 53 54 55 56
2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

57 58 59 60
2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>

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

61 62
2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

65 66
	* net/netrc.el (netrc-store-data): New function.

Ted Zlatanov's avatar
Ted Zlatanov committed
67 68 69 70
2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>

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

71 72 73 74
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
75 76 77 78 79 80 81 82 83 84 85 86
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.

87 88 89 90 91 92 93 94 95 96 97
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.

98 99 100 101 102
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
103 104 105 106 107 108
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.

109 110 111 112 113
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.

114 115 116 117 118 119 120 121
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.

122 123 124 125 126 127 128 129 130
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.

131
2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
132 133 134 135

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

136
2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
137 138 139 140 141 142 143 144 145

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

146
2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
147 148 149

	Update to CEDET 1.0's version of EIEIO.

150 151
	* emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
	New function.
152 153 154 155 156 157 158 159 160 161 162 163
	(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.

164
2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
165 166 167 168 169 170 171 172

	* 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.
173
	(eieio-class-precedence-c3): Compute class precedence list using
174 175 176 177 178 179 180
	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.

181
2010-09-23  Glenn Morris  <rgm@gnu.org>
182

Glenn Morris's avatar
Glenn Morris committed
183 184 185 186 187
	* 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
188 189 190
	* calendar/appt.el (appt-check): Rather than showing the diary,
	just turn off invisible display, and only if needed.

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

193 194
2010-09-23  Glenn Morris  <rgm@gnu.org>

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

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

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

203 204 205 206
	* 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.

207 208 209 210 211
	* 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
212 213 214
	* comint.el (comint-use-prompt-regexp-instead-of-fields):
	Move alias before definition, so it does not need autoloading.

215 216 217 218 219 220 221 222 223 224
	* 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.

225 226 227 228
2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>

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

229 230 231 232 233
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.

234 235 236 237
2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>

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

Glenn Morris's avatar
Glenn Morris committed
238 239 240 241 242
2010-09-22  Glenn Morris  <rgm@gnu.org>

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

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

250 251 252 253
2010-09-21  Michael Albinus  <michael.albinus@gmx.de>

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

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

256 257
	* menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
	tool-bar-position.  Don't modify frame parameters here.
258
	(menu-bar-options-save): Add tool-bar-position.
259

260 261
	* tool-bar.el (tool-bar-position): New defcustom (Bug#7049).

262 263
2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>

264 265 266 267
	* 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).

268 269 270 271
	* emacs-lisp/lisp.el (up-list): Don't do nothing silently.

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

272 273 274 275 276
	* 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.

277 278 279 280 281
	* 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 ".".

282 283 284 285
	* textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
	and `end'.
	(ispell-region, ispell-process-line): Update users.

286 287 288
	* textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
	point-min==1.

289 290 291 292 293 294 295 296 297
	* 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.

298 299 300
	* mail/sendmail.el: Fix commenting convention.
	(sendmail-send-it): Use line-beginning-position.

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

303 304
2010-09-20  Juanma Barranquero  <lekktu@gmail.com>

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

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

309 310
2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>

311 312 313 314 315 316 317 318 319 320
	* 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.

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

323 324 325
	* fringe.el (fringe-styles): New var.
	(fringe-mode, fringe-query-style): Use it.

326 327 328
2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Version 2.8
Juanma Barranquero's avatar
Juanma Barranquero committed
329
	(sql-login-params): Update widget structure; changes still needed.
330 331 332 333 334
	(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
335
	(sql-list-all, sql-list-table): New functions.  User API.
336 337 338 339 340 341
	(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
342
	(sql-product-history): New variable.
343 344 345
	(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
346
	(sql-read-connection): New function.  Use it.
347 348 349
	(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
350 351
	(sql-get-login-ext, sql-get-login): Use it.  Handle default values.
	(sql-comint): Check for program.  Existing live buffer.
352 353
	(sql-comint-postgres): Add port parameter.

354 355 356 357 358
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.

359 360 361 362 363
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.

364 365 366 367 368
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.

369 370 371 372
2010-09-18  Eli Zaretskii  <eliz@gnu.org>

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

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

378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404
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).

405 406
2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>

407 408 409
	* obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
	Use with-current-buffer.

410 411 412
	* isearch.el (isearch-face): Rename from `isearch'.
	(isearch-highlight): Use new name.

413 414 415 416 417
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)

418 419
2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>

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

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

425 426 427 428 429 430
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).

431 432 433 434 435
2010-09-17  Michael Albinus  <michael.albinus@gmx.de>

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

436 437
2010-09-16  Chong Yidong  <cyd@stupidchicken.com>

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

440 441 442
	* term/x-win.el (x-cut-buffer-or-selection-value): Define as
	obsolete alias for x-selection-value.

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

445 446 447 448 449
2010-09-16  Michael Albinus  <michael.albinus@gmx.de>

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

450 451 452 453 454 455 456 457 458 459
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'.

460 461
	* net/tramp.el (tramp-progress-reporter-update):
	Use `tramp-compat-funcall'.
462 463 464 465

	* net/tramp.el (tramp-process-actions):
	* net/tramp-gvfs.el (tramp-handle-vc-registered):
	* net/tramp-sh.el (tramp-gvfs-handler-askquestion)
466 467
	(tramp-get-remote-stat, tramp-get-remote-readlink):
	Use `tramp-compat-with-temp-message'.
468 469 470

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

474 475 476 477
2010-09-15  Alan Mackenzie  <acm@muc.de>

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

480 481 482 483 484 485 486 487
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.

488 489 490 491 492 493
2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

494 495 496 497 498
2010-09-14  Juanma Barranquero  <lekktu@gmail.com>

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

499 500 501 502 503 504 505
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
506 507
2010-09-14  Glenn Morris  <rgm@gnu.org>

508 509 510
	* calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
	Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
511 512 513 514 515
	* 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)
516
	(appt-check): Doc fix.
Glenn Morris's avatar
Glenn Morris committed
517

518
2010-09-14  David Reitter  <david.reitter@gmail.com>
519 520 521 522

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

523
2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
524 525 526 527

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

528
2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
529 530 531 532

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

533
2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
534 535 536 537

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

538
2010-09-14  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
539 540 541 542 543 544

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

545
2010-09-14  Masatake YAMATO  <yamato@redhat.com>
Masatake YAMATO's avatar
Masatake YAMATO committed
546 547 548 549

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

550
2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
Chong Yidong's avatar
Chong Yidong committed
551 552 553 554

	* 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
555 556 557 558
	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
559 560 561 562 563 564 565 566 567
	(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.

568 569 570 571
2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>

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

572 573 574 575 576 577 578 579 580 581
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.

582 583 584 585 586 587 588
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.

589 590 591 592 593 594 595
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
596 597
	'tramp-compat, everything else is required there.
	Use `ignore-errors' where appropriate.
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 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670
	(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)
671
	(tramp-send-command, tramp-wait-for-output)
672 673 674 675 676 677 678 679 680 681 682 683 684 685
	(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)
686
	(tramp-get-inline-compress, tramp-get-inline-coding): Move to
687 688 689 690 691 692 693 694
	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.
695
	(tramp-debug-outline-level): Rename from `tramp-outline-level'.
696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713
	(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',
714
	`tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
715 716 717
	Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
	Use `ignore-errors' where appropriate.
	(tramp-sh-file-name-handler-alist): Rename from
718 719 720 721 722 723
	`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
724
	(tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
725 726 727 728 729
	(tramp-sh-file-name-handler, tramp-send-command-and-check)
	(tramp-get-remote-ln): Set tramp-autoload cookie.

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

730 731 732 733 734
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)

735 736 737 738 739 740
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.

741 742
2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>

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

745 746 747 748 749 750 751 752 753 754 755 756 757
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
758 759 760 761 762
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
763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783
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.
784
	(sql-product-alist): Correct Postgres prompt and terminator regexp.
Michael Mauger's avatar
Michael Mauger committed
785 786
	(sql-sqlite-program): Dynamically detect presence of "sqlite" or
	"sqlite3" executables.
787
	(sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
Michael Mauger's avatar
Michael Mauger committed
788 789 790 791 792 793 794
	(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.

795 796
2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

797
	* net/netrc.el (netrc-credentials): New convenience function.
798

799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 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
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.

929 930 931 932 933 934
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).

935 936
2010-09-09  Michael Albinus  <michael.albinus@gmx.de>

937 938
	* net/tramp-cache.el (tramp-parse-connection-properties):
	Set tramp-autoload cookie.
939

Glenn Morris's avatar
Glenn Morris committed
940 941 942 943 944
2010-09-09  Glenn Morris  <rgm@gnu.org>

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

945 946
2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>

947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969
	* 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.

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

972 973
2010-09-08  Glenn Morris  <rgm@gnu.org>

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

977 978 979
	* emacs-lisp/bytecomp.el (byte-recompile-directory):
	Ignore dir-locals-file.

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

990 991 992 993 994
2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>

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

995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 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 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
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.

1108 1109 1110 1111 1112
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).

1113
2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
1114 1115

	* files.el (directory-abbrev-alist): Use \` as default regexp.
1116 1117 1118 1119 1120

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

1121 1122 1123 1124 1125
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>
1126 1127 1128 1129

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

1130 1131
2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1132
	* net/imap.el (imap-message-map): Remove optional buffer parameter,
1133 1134 1135 1136 1137 1138
	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.
1139
	(imap-mailbox-get): Revert last change for this function.
1140

1141 1142
2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1143
	* net/imap.el (imap-fetch-safe): Remove function, and alter all
1144 1145
	callers to use `imap-fetch' instead.  According to the comments, this
	should be safe, since all other IMAP clients use the 1:* syntax.
1146 1147
	(imap-enable-exchange-bug-workaround): Remove.
	(imap-debug): Remove -- doesn't seem very useful.
1148

1149 1150 1151 1152 1153
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.

1154
2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
1155 1156 1157 1158

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

1159 1160
2010-09-05  Chong Yidong  <cyd@stupidchicken.com>

1161 1162 1163 1164
	* dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
	Improve regexps (Bug#6987).
	(dired-sort-toggle): Search more robustly for -t flag.

1165 1166 1167 1168
	* files.el (get-free-disk-space): Search more robustly for
	"available" column.  Suggested by Ehud Karni
	<ehud@unix.mvs.co.il>.

1169 1170 1171 1172 1173 1174 1175 1176 1177
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.

1178 1179
2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>

1180 1181 1182
	* electric.el (electric-indent-post-self-insert-function):
	Don't reindent with a sloppy indentation function.

1183 1184 1185
	* emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
	border case in change-log-mode.

1186 1187 1188 1189 1190 1191 1192
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).

1193 1194
2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>

1195
	Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
1196 1197 1198 1199 1200 1201 1202
	* 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.

1203 1204 1205 1206 1207
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.

1208 1209
2010-09-02  Chong Yidong  <cyd@stupidchicken.com>

1210 1211
	* emacs-lisp/package.el (package--download-one-archive):
	Ensure that archive-contents is valid before saving it.
1212 1213 1214
	(package-activate-1, package-mark-obsolete, define-package)
	(package-compute-transaction, package-list-maybe-add): Use push.

1215 1216
2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>

1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230
	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.

1231 1232 1233 1234 1235 1236 1237 1238
	* 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.

1239 1240 1241 1242 1243 1244
	* 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.

1245 1246 1247 1248 1249
	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.

1250 1251 1252
	* simple.el (newline): Fix last change to properly remove itself from
	the hook.

1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264
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.

1265 1266
2010-09-02  Chong Yidong  <cyd@stupidchicken.com>

1267 1268
	* emacs-lisp/package.el (package-menu-mode-map):
	Change package-menu-revert bindings to revert-buffer.
1269 1270 1271
	(package-menu-mode): Set revert-buffer-function.
	(package-menu-revert): Doc fix.

1272 1273 1274 1275 1276 1277
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
1278
	`ispell-process-directory' is "~/".  (Bug#6143)
1279

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

1282 1283 1284
	* simple.el (kill-new): Call interprogram-cut-function with only
	one argument.

1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295
	* 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
1296 1297 1298 1299 1300 1301
	* 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
1302
	(x-selection-value): Rename from x-cut-buffer-or-selection-value.
Jan Djärv's avatar
Jan Djärv committed
1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329
	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
1330
	(x-select-text): Remove optional push.
Jan Djärv's avatar
Jan Djärv committed
1331

1332 1333
2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>

1334 1335 1336 1337
	* simple.el (blink-paren-function): Move from C to here.
	(blink-paren-post-self-insert-function): New function.
	(post-self-insert-hook): Use it.

1338 1339 1340 1341
	* emacs-lisp/pcase.el (pcase-split-memq):
	Fix overenthusiastic optimisation.
	(pcase-u1): Handle the case of a lambda pred.

1342 1343 1344 1345 1346 1347
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.

1348 1349
	* disp-table.el (standard-display-8bit):
	Setup standard-display-table for 8-bit characters by storing 8-bit
1350 1351 1352
	characters in the element vector.
	(standard-display-european): Likewise.

1353 1354 1355 1356 1357
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.

1358 1359
2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>

1360 1361
	* emacs-lisp/smie.el (smie-down-list): New command.

1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376
	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.

1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390
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.
1391 1392
	(package--list-packages): Create the *Packages* buffer.
	Set package-menu-package-list-key.
1393 1394 1395 1396 1397
	(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):
1398 1399
	Merge into a single function, package-install-from-buffer.
	(package-install-file): Change caller.
1400 1401 1402 1403 1404

	* 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
1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417
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
1418 1419 1420 1421 1422
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
1423 1424
2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>

1425 1426 1427 1428
	* emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
	a list of parents.
	(smie-indent-column): Allow indirection through variables.

1429 1430 1431 1432 1433 1434
	* composite.el (save-buffer-state): Delete, unused.
	* font-lock.el (save-buffer-state): Use with-silent-modifications.
	(font-lock-default-fontify-region): Use with-syntax-table.
	* jit-lock.el (with-buffer-unmodified): Remove.
	(with-buffer-prepared-for-jit-lock): Use with-silent-modifications.

Stefan Monnier's avatar
Stefan Monnier committed
1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458
	Use `declare' in defmacros.
	* window.el (save-selected-window):
	* subr.el (with-temp-file, with-temp-message, with-syntax-table):
	* progmodes/python.el (def-python-skeleton):
	* net/dbus.el (dbus-ignore-errors):
	* jka-cmpr-hook.el (with-auto-compression-mode):
	* international/mule.el (with-category-table):
	* emacs-lisp/timer.el (with-timeout):
	* emacs-lisp/lisp-mnt.el (lm-with-file):
	* emacs-lisp/eieio.el (with-slots):
	* emacs-lisp/easymenu.el (easy-menu-define):
	* emacs-lisp/debug.el (debugger-env-macro):
	* emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
	(Multiple-value-call, Multiple-value-prog1):
	* emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
	(cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
	edebug rule to definition.
	* emacs-lisp/lisp-mode.el (save-selected-window)
	(with-current-buffer, combine-after-change-calls)
	(with-output-to-string, with-temp-file, with-temp-buffer)
	(with-temp-message, with-syntax-table, read-if, eval-after-load)
	(dolist, dotimes, when, unless):
	* emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.

1459 1460 1461 1462 1463 1464 1465 1466 1467
2010-08-29  Chong Yidong  <cyd@stupidchicken.com>

	* finder.el: Require `package'.
	(finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
	(finder-package-info): Var deleted.
	(finder-keywords-hash, finder--builtins-alist): New vars.
	(finder-compile-keywords): Compute package--builtins and
	finder-keywords-hash instead of finder-keywords-hash, respecting
	the "Package" header.
Stefan Monnier's avatar
Stefan Monnier committed
1468 1469
	(finder-unknown-keywords, finder-list-matches):
	Use finder-keywords-hash and package--list-packages.
1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496
	(finder-mode): Don't set font-lock-defaults.
	(finder-exit): We don't use "*Finder-package*" and "*Finder
	Category*" buffers anymore.

	* emacs-lisp/package.el (package--builtins-base): Var deleted.
	(package--builtins): Set default value to nil.
	(package-initialize): Load precomputed value of package--builtins
	from finder-inf.el.
	(package-alist, package-compute-transaction)
	(package-download-transaction): Improve docstring.
	(package-read-all-archive-contents): Do not change
	package--builtins here.
	(list-packages): Make package-list-packages an alias for this.
	Sort by status by default.
	(package--list-packages): Add optional PACKAGES arg.
	(describe-package-1): Use font-lock-face property.  For built-in
	packages, insert file commentary.
	(package--generate-package-list): Rename from
	package-list-packages-internal; all callers changed.  Add optional
	PACKAGES arg.  Add alphabetical sort fallbacks.
	(package-menu--version-predicate, package-menu--status-predicate)
	(package-menu--description-predicate)
	(package-menu--name-predicate): New functions.

	* info.el (Info-finder-find-node): Search package-alist instead of
	finder-package-info.

1497 1498 1499 1500 1501 1502
2010-08-29  Chong Yidong  <cyd@stupidchicken.com>

	* subr.el (version-regexp-alist): Don't use "a" and "b" for
	"alpha" and "beta".
	(version-to-list): Handle versions like "10.3d".

1503 1504 1505 1506 1507
2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
	(macroexp-accumulate): Use `declare'.

1508 1509 1510 1511
2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* whitespace.el (whitespace-style): Adjust type declaration.

1512 1513 1514 1515 1516 1517 1518