ChangeLog 381 KB
Newer Older
1 2 3 4 5
2010-01-16  Chong Yidong  <cyd@stupidchicken.com>

	* startup.el (command-line): Remove unused --icon-type arg.
	Handle --display arg, passing it to command-line-1 (Bug#5392).

6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
2010-01-16  Mario Lang  <mlang@delysid.org>

	* cedet/ede/cpp-root.el (ede-cpp-root-project):
	* cedet/ede/files.el (ede-expand-filename):
	* cedet/ede/simple.el (ede-simple-project):
	* cedet/semantic/complete.el (semantic-complete-read-tag-engine)
	(semantic-complete-inline-tag-engine):
	* cedet/semantic/db-el.el (semanticdb-equivalent-mode):
	* cedet/semantic/db-global.el (semanticdb-equivalent-mode):
	* cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
	* cedet/semantic/db.el (semanticdb-equivalent-mode):
	* cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
	* cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
	* emacs-lisp/chart.el (chart-translate-namezone):
	* textmodes/artist.el (artist-compute-popup-menu-table):
	Remove duplicated words in doc-strings.

23 24 25 26 27
2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)

	* net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
	to mairix-search to suppress threading (Bug#5342).

28 29 30 31 32
2010-01-15  Kenichi Handa  <handa@m17n.org>

	* international/mule-cmds.el (canonicalize-coding-system-name):
	Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX".

33 34
2010-01-15  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
35 36 37 38
	* log-view.el (top-level): Require 'wid-edit.  (Bug#5311)

	* wid-edit.el (widget-keymap): Doc fix.

39 40 41
	* vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
	former seems to be more widely accepted by various svn versions.

42 43
2010-01-14  Juanma Barranquero  <lekktu@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
	* find-cmd.el (find-constituents):
	* vc-arch.el (vc-arch-root):
	* window.el (window-body-height, pop-up-frames):
	* cedet/semantic/edit.el (semantic-reparse-needed-change-hook)
	(semantic-no-reparse-needed-change-hook):
	* cedet/srecode/insert.el (srecode-resolve-argument-list)
	(srecode-template-inserter-blank, srecode-template-inserter-variable)
	(srecode-template-inserter-ask, srecode-template-inserter-width)
	(srecode-template-inserter-section-start)
	(srecode-template-inserter-section-end, srecode-insert-method):
	* emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
	* progmodes/ada-stmt.el (ada-if):
	* progmodes/gdb-ui.el (gdb-jsonify-buffer):
	* textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
	(ispell-encoding8-command, ispell-aspell-supports-utf8)
	(ispell-last-program-name, ispell-help): Fix typos in docstrings.

61 62 63
	* progmodes/flymake.el (flymake-post-syntax-check):
	Fix typo in error message.

64 65 66 67 68
2010-01-14  Juanma Barranquero  <lekktu@gmail.com>

	* hexl.el (hexl-printable-character): Fix check of `hexl-iso',
	which is always a string.  (Bug#5313)

Juanma Barranquero's avatar
Juanma Barranquero committed
69 70 71 72 73
2010-01-14  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/ada-xref.el (ada-default-prj-properties):
	Simplify previous change.

74 75 76 77 78 79
2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>

	* progmodes/ada-xref.el (ada-default-prj-properties):
	Default ada_project_path to $ADA_PROJECT_PATH.

2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
80 81 82 83

	* progmodes/ada-mode.el (ada-create-keymap):
	Override `narrow-to-defun' with `ada-narrow-to-defun'.

84 85 86 87 88 89 90
2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>

	* progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
	(ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
	(ada-get-current-indent, ada-imenu-generic-expression)
	(ada-which-function): Check for it.

91 92 93 94 95
2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>

	* progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
	(ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.

96 97 98 99
2010-01-14  Glenn Morris  <rgm@gnu.org>

	* frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)

100 101 102 103 104 105
2010-01-14  Kenichi Handa  <handa@m17n.org>

	* composite.el (auto-composition-mode): Make it a buffer local
	variable (permanent-local).
	(auto-composition-function): Set the default value to
	auto-compose-chars.
Juanma Barranquero's avatar
Juanma Barranquero committed
106
	(auto-composition-mode): Make it a simple function, not a minor mode.
107 108
	(global-auto-composition-mode): Likewise.
	(turn-on-auto-composition-if-enabled): Delete it.
Juanma Barranquero's avatar
Juanma Barranquero committed
109

110 111 112
2010-01-13  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
113

114 115 116 117 118
2010-01-12  Michael Albinus  <michael.albinus@gmx.de>

	* files.el (copy-directory): Compute target for recursive
	directories with identical names.  (Bug#5343)

119 120 121 122 123
2010-01-12  Glenn Morris  <rgm@gnu.org>

	* mail/emacsbug.el (report-emacs-bug-pretest-address): Set
	it to bug-gnu-emacs rather than emacs-pretest-bug.

124 125 126 127
2010-01-12  Juanma Barranquero  <lekktu@gmail.com>

	* cedet/data-debug.el (data-debug): Fix customization group reference.

128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
2010-01-12  Juanma Barranquero  <lekktu@gmail.com>

	* cedet/semantic/analyze.el (semantic-analyze-push-error)
	(semantic-analyze-context, semantic-analyze-context-assignment)
	(semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
	* cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
	(semantic-java-doc-keywords-map):
	* cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
	(semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
	(semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
	(semantic-c-classname, semantic-format-tag-uml-prototype)
	(semantic-c-dereference-namespace, semantic-analyze-type-constants):
	* cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
	(semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
	(semantic-get-local-variables, semantic-end-of-command)
	(semantic-beginning-of-command, semantic-ctxt-current-class-list)
	(lisp-mode):
	* cedet/semantic/bovine/make.el (makefile-mode):
	* cedet/semantic/wisent/python.el (wisent-python-string-re)
	(wisent-python-implicit-line-joining-p, wisent-python-forward-string)
	(wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
	(semantic-lex, semantic-get-local-variables, python-mode):
	* cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
	* cedet/srecode/extract.el (srecode-extract-state-set)
	(srecode-extract-method): Fix typos in docstrings.

154 155 156 157 158
2010-01-11  Sam Steingold  <sds@gnu.org>

	* imenu.el (imenu-default-create-index-function): Detect infinite
	loops caused by imenu-prev-index-position-function.

159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
2010-01-11  Juanma Barranquero  <lekktu@gmail.com>

	* htmlfontify.el (htmlfontify-load-rgb-file)
	(htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
	(htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
	(hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
	(hfy-link-style-fun, hfy-index-file, hfy-instance-file)
	(hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
	(hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
	(hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
	(hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
	(hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
	(hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
	(hfy-colour-vals, hfy-default-header, hfy-link-style-string)
	(hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
	(hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
	(hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
	(hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
	(hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
	(hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
	(hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
	(hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
	(hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
	(hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
	(htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
	backslash-quoting from parentheses, etc.

186 187 188 189
2010-01-11  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/js.el: Autoload javascript-mode alias.

Juanma Barranquero's avatar
Juanma Barranquero committed
190 191 192 193 194 195 196 197 198 199
2010-01-11  Juanma Barranquero  <lekktu@gmail.com>

	* ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
	(ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
	(ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
	(ffap-read-url-internal, ffap-menu, ffap-at-mouse):
	Fix typos in docstrings.
	(ffap-url-regexp): Doc fix.
	(ffap-at-mouse): Fix typo in message.

Glenn Morris's avatar
Glenn Morris committed
200 201 202 203
2010-01-11  Glenn Morris  <rgm@gnu.org>

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

204 205 206 207 208 209
2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* format.el (format-annotate-function): Only set
	write-region-post-annotation-function after running to-fn so as not to
	affect nested write-region calls (bug#5273).

210 211
2010-01-10  Chong Yidong  <cyd@stupidchicken.com>

212 213
	* cedet/semantic.el (semantic-new-buffer-setup-functions):
	Add python parser.
214

215 216 217
	* Makefile.in (ELCFILES): Add wisent/python-wy.el and
	wisent/python.el.

218 219 220 221 222
2010-01-10  Richard Kim  <emacs18@gmail.com>

	* cedet/semantic/wisent/python-wy.el:
	* cedet/semantic/wisent/python.el: New files.

223 224 225 226 227
2010-01-09  Chong Yidong  <cyd@stupidchicken.com>

	* man.el (Man-goto-section): Signal error if the section is not
	found (Bug#5317).

228 229 230 231 232
2010-01-09  Juanma Barranquero  <lekktu@gmail.com>

	* vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
	URLs with a leading triple slash in the file: scheme.  (Bug#5345)

233 234 235 236 237
2010-01-09  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/compile.el: Don't treat compile-command as safe if
	compilation-read-command might be nil (Bug#4218).

238 239 240 241 242
2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>

	* startup.el (command-line-1): Use orig-argi to check for ignored X and
	NS options.

243 244
2010-01-08  Kenichi Handa  <handa@m17n.org>

245 246
	* international/fontset.el (build-default-fontset-data):
	Exclude characters in scripts kana, hangul, han, or cjk-misc.
247

Juanma Barranquero's avatar
Juanma Barranquero committed
248 249 250 251 252 253 254
2010-01-07  Juanma Barranquero  <lekktu@gmail.com>

	* vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
	to `create-file-buffer' as it expects, not just a buffer name.
	(vc-dir-mode): Include the buffer name in `list-buffers-directory',
	to help uniquify.  (Bug#3224)

255 256 257 258 259
2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>

	* font-setting.el (font-setting-change-default-font): Use user-spec
	instead of name.

260 261 262 263
2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.

264 265
2010-01-05  Tom Tromey  <tromey@redhat.com>

266 267
	* progmodes/python.el (python-font-lock-keywords):
	Handle qualified decorators (Bug#881).
268

269 270 271 272 273
2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
	in a lightweight checkout.

274 275
2010-01-05  Kenichi Handa  <handa@m17n.org>

276
	* language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
277

278 279 280 281
2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.

282 283 284 285
2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
	checkouts.  (Bug#618)
286
	(vc-bzr-log-view-mode): Also highlight the author.
287 288 289 290
	(vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
	(vc-bzr-shelve-menu-map):
	(vc-bzr-dir-extra-headers): Improve menu and tooltip text.
	(vc-bzr-shelve-apply): Make prompt more explicit.
291

292 293 294 295 296 297
2010-01-02  Chong Yidong  <cyd@stupidchicken.com>

	* net/browse-url.el (browse-url-encode-url): Don't escape commas.
	They are valid characters in URL paths (rfc3986), and at least
	Firefox does not understand the encoded version (Bug#3166).

298 299 300
2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)

	* progmodes/octave-mod.el (octave-end-keywords)
301 302
	(octave-block-begin-or-end-regexp, octave-block-match-alist):
	Add "end" keyword (Bug#3061).
303 304 305
	(octave-end-as-array-index-p): New function.
	(calculate-octave-indent): Use it.

306 307 308 309 310 311 312 313 314
2010-01-02  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el: Consistently put the text property on the bookmark name.
	(bookmark-bmenu-marks-width): Bump back to 2, to include
	annotation marks.
	(bookmark-bmenu-hide-filenames): Adjust for above, and put the text
	property on the bookmark name, instead of not putting it at all.
	(bookmark-bmenu-list): Fix where we put the text property.

315 316 317 318 319
2010-01-02  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el (bookmark-bmenu-save): Just depend on the new logic
	for showing buffer modified state (as added in the previous change).

320 321 322 323 324 325 326 327
2010-01-02  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el: Show modified state of bookmark buffer more accurately.
	(bookmark-bmenu-list): Initialize buffer-modified-p properly.
	(bookmark-send-edited-annotation): Mark bookmark-alist as modified.
	(with-buffer-modified-unmodified): New macro.
	(bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
	(bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
328
	Use new macro to preserve the buffer modified state.
329

330 331
2010-01-02  Karl Fogel  <kfogel@red-bean.com>

332
	* bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
333 334 335 336
	(bookmark-bmenu-2-window, bookmark-bmenu-this-window)
	(bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
	(bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
	(bookmark-bmenu-rename, bookmark-bmenu-locate)
337 338
	(bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
	Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
339

340 341
2010-01-02  Eli Zaretskii  <eliz@gnu.org>

342 343
	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
	Make the lines in the generated doc string shorter.  (Bug#4668)
344

345 346 347 348
2010-01-02  Ryan Yeske  <rcyeske@gmail.com>

	* net/rcirc.el: Add follow-link binding (Bug#4738).

349 350
2010-01-02  Eli Zaretskii  <eliz@gnu.org>

351
	* Makefile.in (bzr-update): Rename from cvs-update.
352 353
	(cvs-update): New target for backward compatibility.

354
	* makefile.w32-in (bzr-update): Rename from cvs-update.
355 356
	(cvs-update): New target for backward compatibility.

357 358 359 360
2010-01-02  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el: Remove gratuitous gratitude.

361 362
2010-01-02  Karl Fogel  <kfogel@red-bean.com>

363 364 365 366 367 368
	* bookmark.el (bookmark-bmenu-any-marks): New function
	(bookmark-bmenu-save): Clear buffer modification if no marks.

2010-01-02  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
369 370 371 372 373 374 375 376 377 378 379
	(bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
	positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
	This fixes the `bookmark-bmenu-execute-deletions' bug reported here:

	http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
	From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
	To: emacs-devel {_AT_} gnu.org
	Subject: bookmark.el bug report
	Date: Mon, 28 Dec 2009 14:19:16 +0800
	Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com

380 381 382 383 384 385 386 387 388
2010-01-02  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el: Improvements suggested by Drew Adams:
	(bookmark-bmenu-ensure-position): New name for
	`bookmark-bmenu-check-position'.  Just ensure the position,
	don't return any meaningful value.
	(bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
	New constants.

389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440
2010-01-02  Juanma Barranquero  <lekktu@gmail.com>

	* bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
	(bookmark-yank-point, bookmark-bmenu-check-position):
	Fix typos in docstrings.
	(bookmark-save-flag, bookmark-bmenu-toggle-filenames)
	(bookmark-name-from-full-record, bookmark-get-position)
	(bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
	(bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
	Remove useless quoting of parenthesis, etc. in docstrings.

	* ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
	(ediff-append-custom-diff): Fix typo in error message.
	(ediff-meta-mark-equal-files): Fix typos in messages.

	* mpc.el (mpc-playlist-delete): Fix typo in error messages.

	* cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
	Fix typo in docstring.

	* net/imap-hash.el (imap-hash-make): Doc fix.
	(imap-hash-test): Fix typo in error message; reflow docstring.
	(imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
	(imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
	(imap-hash-mailbox, imap-hash-user, imap-hash-password):
	Fix typos in docstrings.
	(imap-hash-open-connection): Fix typo in error message.

	* play/gomoku.el (gomoku): Fix typos in docstring.

	* progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
	(gdb-jsonify-buffer): Fix typos in docstring.
	(gdb-goto-breakpoint): Fix typo in error message.
	("Display Other Windows"): Fix typo in help message.
	(gdb-speedbar-expand-node): Fix typo in question.

	* progmodes/idlw-help.el (idlwave-help-browse-url-available)
	(idlwave-html-system-help-location, idlwave-html-help-location)
	(idlwave-help-browser-function, idlwave-help-browser-generic-program)
	(idlwave-help-browser-generic-args, idlwave-help-directory)
	(idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
	(idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
	(idlwave-online-help, idlwave-help-html-link)
	(idlwave-help-show-help-frame, idlwave-help-assistant-command):
	Fix typos in docstrings.
	(idlwave-help-with-source, idlwave-help-find-routine-definition):
	Reflow docstrings.
	(idlwave-help-assistant-start): Fix typo in error message.

	* progmodes/octave-mod.el (octave-mode, octave-electric-semi)
	(octave-electric-space): Fix typos in docstrings.

441 442 443 444
2010-01-01  Chong Yidong  <cyd@stupidchicken.com>

	* files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).

445 446 447
2010-01-01  Juri Linkov  <juri@jurta.org>

	* comint.el (comint-input-ring-size): Make it a defcustom and
448
	increase the default to 500 (Bug#5148).
449

450 451 452 453 454 455
2009-12-31  Nick Roberts  <nickrob@snap.net.nz>

	Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
	* term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
	* progmodes/gud.el (gud-menu-map): Add reverse-execution commands.

456 457 458 459
2009-12-30  Nick Roberts  <nickrob@snap.net.nz>

	Show working revision correctly for mercurial.
	* vc-hg.el (vc-hg-working-revision): Use hg parent instead of
460
	hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
461

462 463 464 465 466 467 468
2009-12-29  Juanma Barranquero  <lekktu@gmail.com>

	Declare some functions for the byte-compiler.
	* progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
	(speedbar-timer-fn, speedbar-change-expand-button-char)
	(speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.

469 470 471 472 473
2009-12-29  Nick Roberts  <nickrob@snap.net.nz>

	This changeset reverts GDB Graphical Interface to use annotations.
	* progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.

474 475 476 477 478 479 480 481
2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>

	Make vc-dir work on subdirectories of the bzr root.
	* vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
	file names relative to it.
	(vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
	relative directory to vc-bzr-after-dir-status.

482 483 484 485 486 487 488
2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>

	* font-lock.el (font-lock-refresh-defaults): New function, which
	can be used to let font-lock react to external changes in
	variables like font-lock-defaults and keywords.
	See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802

489 490
2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>

491 492
	* vc-rcs.el (vc-rcs-register): Fix registering a specific version.

493 494
	* vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.

495 496 497 498 499 500 501 502
2009-12-28  Juanma Barranquero  <lekktu@gmail.com>

	Supersede color.diff settings in git log (bug#5211).

	* vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
	escape chars in its output when the user has color.diff set to `always'.
	This fix works on git 1.4.2 and newer (released on 2006-08-13).

503 504 505 506 507
2009-12-26  Kevin Ryde  <user42@zip.com.au>

	* info-look.el (sh-mode): Look for coreutils new "Concept Index"
	node.  Keep previous "Index" name to work with past coreutils too.

508 509 510
	* man.el (man): Revise docstring a bit to show -a and -l as
	examples.  Add -k description since support for it has otherwise
	been a secret.  (Further to bug#3717.)
Kevin Ryde's avatar
Kevin Ryde committed
511 512
	(Man-bgproc-sentinel): When "-k foo" produces no output show error
	"no matches" rather than "Can't find manpage", as the latter reads
513
	like -k was interpreted as a page name, which is not so.  (Bug#5431)
514

515 516 517 518 519
2009-12-26  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
	switches.  Check also for //SUBDIRED// line.

Kenichi Handa's avatar
Kenichi Handa committed
520 521 522 523 524 525 526
2009-12-25  Kenichi Handa  <handa@m17n.org>

	* language/indian.el (devanagari-composable-pattern): Fixed to
	handle ZWNJ and ZWJ.  Use it in composition-function-table for
	Devanagari.
	(malayalam-composable-pattern): Fix previous change.

527 528 529 530 531 532 533
2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* ps-print.el (ps-face-attributes): It was not returning the
	attribute face for faces specified as string.  Reported by harven
	<harven@free.fr>.
	(ps-print-version): New version 7.3.5.

534 535 536 537 538 539 540 541
2009-12-18  Ulf Jasper  <ulf.jasper@web.de>

	* calendar/icalendar.el (icalendar--convert-tz-offset): Fixed
	timezone names.
	(icalendar--convert-tz-offset): Fixed the "last-day-problem".
	(icalendar--add-diary-entry): Remove the trailing blank that
	diary-make-entry inserts.

542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557
2009-12-17  Michael Albinus  <michael.albinus@gmx.de>

	Make `file-expand-wildcards' work for remote files.

	* files.el (file-expand-wildcards): In case of remote files, check
	only local file name part for wildcards.  Provide feature 'files
	and subfeature 'remote-wildcards.  (Bug#5198)

	* net/tramp.el (tramp-handle-file-remote-p): Expand file name only
	if there is already an established connection.
	(tramp-advice-file-expand-wildcards): Remove it.

	* net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
	(tramp-advice-file-expand-wildcards): Moved from tramp.el.
	Activate advice for older GNU Emacs versions.  (Bug#5237)

558 559 560 561 562 563 564 565
2009-12-17  Juanma Barranquero  <lekktu@gmail.com>

	Some doc fixes (more needed).

	* find-cmd.el (find-constituents): Reflow docstring.
	(find-cmd, find-prune, find-command): Fix typos in docstrings.
	(find-generic): Doc fix.

566 567 568 569 570 571 572 573 574
2009-12-17  Juri Linkov  <juri@jurta.org>

	Fix regression from 23.1 to allow multiple modes in Local Variables.

	* files.el (hack-local-variables-filter): While ignoring duplicates,
	don't take `mode' into account.
	(hack-local-variables-filter, hack-dir-local-variables): Don't
	remove duplicate `mode' from local-variables-alist (like `eval').

575 576 577 578 579 580 581
2009-12-17  Juri Linkov  <juri@jurta.org>

	Make `dired-diff' more safe.  (Bug#5225)

	* dired-aux.el (dired-diff): Signal an error when `file' equals to
	`current' or when `file' is a directory of the `current' file.

582 583 584 585 586
2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>

	* emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
	unconditionally preloaded files.

587 588 589 590 591 592 593 594 595
2009-12-16  Juri Linkov  <juri@jurta.org>

	Revert to old 23.1 logic of using the file at the mark as default.
	* dired-aux.el (dired-diff): Use the file at the mark as default
	if it's not the same as the current file, and the target dir is
	the current dir or the mark is active.  Add the current file
	as the arg of `dired-dwim-target-defaults'.  Use the default file
	in the prompt.  (Bug#5225)

596 597 598 599 600 601 602
2009-12-15  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-echo-mark-marker-length): New defconst.
	(tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
	(tramp-check-for-regexp): Check also, when an echoing shell stops
	to echo sent commands.

603 604 605 606
2009-12-14  Chong Yidong  <cyd@stupidchicken.com>

	* Makefile.in: Revert last change (Bug#5191).

607 608 609
2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hg.el (vc-hg-print-log): Fix argument order.
610 611
	(vc-hg-working-revision): Make sure the command is executed in a
	known environment so that we can parse the output.  (Bug#4417)
612

613 614 615 616 617
2009-12-14  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/python.el (python-symbol-completions): Remove text
	properties from symbol string before calling python-send-receive.

Nick Roberts's avatar
Nick Roberts committed
618 619 620
2009-12-14  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
Juanma Barranquero's avatar
Juanma Barranquero committed
621
	when there are values for both file and line.  (Bug#5060)
Nick Roberts's avatar
Nick Roberts committed
622

623 624 625 626 627 628 629
2009-12-14  Juri Linkov  <juri@jurta.org>

	* ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
	whitespace after the file name of the first line of unified format,
	because git-diff doesn't output whitespace and file modification time
	after the file name.

630 631 632 633 634 635 636
2009-12-14  David Kastrup  <dak@gnu.org>

	* info.el (Info-hide-cookies-node): Before hiding a cookie,
	check if it already has the `display' property added by
	`Info-display-images-node', and not put the `invisible' property
	in this case.

637 638 639 640 641 642 643 644
2009-12-14  Chong Yidong  <cyd@stupidchicken.com>

	* cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
	(semantic-mru-bookmark-mode): Doc fixes.

	* cedet/semantic/db.el (semanticdb-cache-get): Use error instead
	of assert.

645 646
2009-12-13  Glenn Morris  <rgm@gnu.org>

647 648 649
	* mail/emacsbug.el (message-sort-headers): Define for compiler.
	(report-emacs-bug): In message-mode, sort manually before storing
	original report text.  (Bug#5178)
650 651
	Remove superfluous save-excursion.

652 653 654 655 656
2009-12-12  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-property-handler): Filter lambda forms out
	when responding to "GetAll" properties.

657 658 659 660 661
2009-12-12  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (compose-mail): Remove mail-setup-with-from from
	customization checks.

662 663 664 665 666
2009-12-12  Eli Zaretskii  <eliz@gnu.org>

	* arc-mode.el (archive-rar-summarize): Support Attribute fields in
	RAR archives created on Unix systems.

667 668 669 670 671 672
2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
	the varalias that was accidentally removed by the 2009-11-19 change
	(bug#5186).

673 674 675 676 677 678 679
2009-12-12  Kenichi Handa  <handa@m17n.org>

	* language/indian.el (indian-compose-regexp): New function.
	(malayalam-composable-pattern): Fix the pattern.
	(composition-function-table): Set malayalam-composable-pattern for
	Malayalam characters.

680 681
2009-12-11  Chong Yidong  <cyd@stupidchicken.com>

682 683 684
	* progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
	rather than down-mouse-1, based on follow-link conventions.

685 686 687
	* makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
	are compiled.

688 689
2009-12-11  Michael McNamara  <mac@mail.brushroad.com>

690 691 692 693 694
	* verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
	(verilog-vmm-statement-re, verilog-ovm-statement-re)
	(verilog-defun-level-not-generate-re, verilog-calculate-indent)
	(verilog-leap-to-head, verilog-backward-token):
	Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
695 696 697 698

2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>

	* verilog-mode.el (verilog-auto-lineup, verilog-nameable-item-re):
699 700 701
	Cleanup user-visible spelling and documentation errors.
	One reported by Gary Delp.
	(verilog-submit-bug-report): Mention bug tracking and CC co-author.
702 703 704
	(verilog-read-decls): Fix AUTOWIRE with types declared in a
	package, bug195.  Reported by Pierre-David Pfister.

705 706
2009-12-11  Glenn Morris  <rgm@gnu.org>

707 708
	* progmodes/cc-engine.el (safe-pos-list): Define for compiler.

Glenn Morris's avatar
Glenn Morris committed
709 710 711 712 713 714 715 716 717 718 719 720 721 722
	* mail/emacsbug.el: No longer require sendmail.
	Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
	(report-emacs-bug-orig-text): Doc fix.
	(report-emacs-bug-send-command, report-emacs-bug-send-hook):
	New local variables, to adapt to different mail-user-agents.
	(report-emacs-bug): Fix test for a gnu.org address.
	Use overlays for emphasis, since font-lock defeats 'face property.
	Pretest bugs also end up at the newsgroup these days.
	Stop message-mode stripping text properties.
	Set and use the new buffer-local variables.
	(report-emacs-bug-hook): Add doc-string.
	Remove some unnecessary save-excursions and simplify.
	Use the appropriate hook and send-command.

723 724 725
	* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
	capitalization of some menu entries.

726 727
2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

Glenn Morris's avatar
Glenn Morris committed
728
	* whitespace.el (whitespace-display-char-on): Ensure
729 730 731 732
	`buffer-display-table' is unique when two or more windows are
	visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
	New version 12.1.

733 734 735 736 737
2009-12-10  Eli Zaretskii  <eliz@gnu.org>

	* arc-mode.el (archive-rar-summarize): Allow between 6 and 7
	characters in the Attribute field.

738 739 740 741
2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)

742 743 744 745 746 747 748 749 750
2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
	* emacs-lisp/autoload.el (autoload-generate-file-autoloads):
	Disregard autoload-excludes.
	(update-directory-autoloads): Obey autoload-excludes here instead.
	But don't store its contents in no-autoloads and remove entries that
	refer to excludes files.

751 752
2009-12-10  Glenn Morris  <rgm@gnu.org>

753 754 755
	* mail/feedmail.el (top-level): Move require 'mail-utils to start.
	(expand-mail-aliases): Define for compiler.

756 757 758
	* vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
	Define for compiler.

759 760 761
	* mail/emacsbug.el (report-emacs-bug): Use whichever send command is
	appropriate for the mail-user-agent in use.

762 763 764 765
2009-12-09  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-insert-directory): Suppress error messages.

766 767 768 769 770 771
2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>

	Fix short log parsing and fontification.
	* vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
	Fix fontification for the [merge] label.

772 773 774 775 776 777
2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>

	Drop some properties to avoid surprises.
	* htmlfontify.el (hfy-ignored-properties): New defcustom.
	(hfy-fontify-buffer): Use it.

778 779
2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
780 781 782 783 784 785 786
	Minor cleanup.
	* ffap.el (ffap-symbol-value): Replace ffap-soft-value.
	Adjust all callers.
	(ffap-locate-file): Remove unused arg `dir-ok' and make other
	args compulsory.  Adjust callers.
	(ffap-gopher-at-point): Remove unused var `name'.

787 788 789 790 791 792 793
	Get rid of the ELCFILES abomination.
	* Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
	(compile-elcfiles): New phony target.
	(compile-main): Compute ELCFILES dynamically.
	(compile-clean): New target to remove left-over elc files.
	(compile, all): Use it.

Kenichi Handa's avatar
Kenichi Handa committed
794 795 796 797
2009-12-09  Kenichi Handa  <handa@etlken>

	* international/mule-diag.el: Require help-mode instead of help-fns.

798 799
2009-12-09  Kenichi Handa  <handa@m17n.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
800
	* international/mule-cmds.el (ucs-names): Supply sufficiently
Stefan Monnier's avatar
Stefan Monnier committed
801 802
	fine ranges instead of pre-calculating accurate ranges.
	Iterate with bigger gc-cons-threshold.
803

804 805 806 807 808 809
2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>

	Add support for stashing a snapshot of the current tree.
	* vc-git.el (vc-git-stash-snapshot): New function.
	(vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.

810 811 812 813 814
2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>

	* play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
	instead of `(beginning|end)-of-line'.

Glenn Morris's avatar
Glenn Morris committed
815 816
2009-12-08  Glenn Morris  <rgm@gnu.org>

817 818
	* vc-mtn.el (vc-mtn-print-log): Fix typo in previous.

Glenn Morris's avatar
Glenn Morris committed
819 820
	* Makefile.in (ELCFILES): Regenerate.

821 822 823 824 825 826 827 828 829
2009-12-07  Juri Linkov  <juri@jurta.org>

	Don't lazy-highlight the comint output in history Isearch mode.

	* comint.el (comint-history-isearch-search): Instead of
	`comint-line-beginning-position', use `comint-after-pmark-p'
	to check if point if before the process mark, and go to
	`process-mark' in this case.

830 831
2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>

832 833 834 835 836
	* textmodes/tex-mode.el (latex-complete)
	(latex-indent-or-complete): Remove.
	(latex-mode): Set completion-at-point-functions instead.

	Provide a standard completion command and hook it into TAB.
837 838
	* minibuffer.el (completion-at-point-functions): New var.
	(completion-at-point): New command.
839
	* indent.el (indent-for-tab-command): Handle the `complete' behavior.
840 841 842 843 844 845 846 847 848
	* progmodes/python.el (python-mode-map): Use completion-at-point.
	(python-completion-at-point): Rename from python-partial-symbol and
	adjust for use in completion-at-point-functions.
	(python-mode): Setup completion-at-point for Python completion.
	* emacs-lisp/lisp.el (lisp-completion-at-point): New function
	extracted from lisp-complete-symbol.
	(lisp-complete-symbol): Use it.
	* emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
	setup completion-at-point for Elisp completion.
849 850
	(emacs-lisp-mode-map, lisp-interaction-mode-map):
	Use completion-at-point.
851
	* ielm.el (ielm-map): Use completion-at-point.
852
	(inferior-emacs-lisp-mode): Setup completion-at-point-functions.
853 854 855
	* progmodes/sym-comp.el: Move to...
	* obsolete/sym-comp.el: Move from progmodes.

856 857 858 859 860 861 862 863 864 865 866 867 868 869
2009-12-07  Eli Zaretskii  <eliz@gnu.org>

	Prevent save-buffer in Rmail buffers from using the coding-system
	of the current message, and from clobbering the encoding mnemonics
	in the mode line (Bug#4623).

	* mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
	flag, too.
	(rmail-message-encoding): New variable.
	(rmail-write-region-annotate): Record the encoding of the current
	message in rmail-message-encoding.
	(rmail-after-save-hook): New function, restores the encoding of
	the current message after the message collection is saved.

870 871 872 873 874 875
2009-12-07  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (grep-read-files): Use `completing-read'
	instead of `read-string'.  Set its `collection' arg to
	`read-file-name-internal'.  (Bug#4301)

876 877 878 879 880 881 882 883 884 885 886 887
2009-12-07  Juri Linkov  <juri@jurta.org>

	Correctly restore original Isearch point.  (Bug#4994)

	* isearch.el (isearch-mode): Move `isearch-push-state' after
	`(run-hooks 'isearch-mode-hook)'.
	(isearch-cancel): When `isearch-push-state-function' is defined,
	let-bind `isearch-cmds' to the first state (the last element of
	`isearch-cmds') and call `isearch-top-state' (it calls pop-state
	function and restores the original point).  Otherwise, move point
	to `isearch-opoint'.

888 889 890 891 892 893
2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* international/mule-cmds.el (ucs-names): Weed out at compile-time the
	chars that don't have names, so the table can be built much faster at
	run-time.

894 895
2009-12-07  Chong Yidong  <cyd@stupidchicken.com>

896 897 898
	* vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
	change.  Suggested by David Kastrup.

899 900 901
	* simple.el (compose-mail): Check for incompatibilities and warn.
	(compose-mail-user-agent-warnings): New option.

902 903 904 905 906 907 908 909 910 911 912
2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>

	Support showing a single log entry from vc-annotate.
	* vc.el (print-log): Add a new argument: START-REVISION.
	(vc-print-log-internal): Add a new optional argument and
	pass it to the backend.
	(vc-print-log, vc-print-root-log): Adjust callers.
	* vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
	buffer already displays the requested log entry, use it.
	Otherwise display only the log entry in question.
	* vc-svn.el (vc-svn-print-log):
Glenn Morris's avatar
Glenn Morris committed
913
	* vc-mtn.el (vc-mtn-print-log):
914 915 916 917 918 919 920 921 922
	* vc-hg.el (vc-hg-state):
	* vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
	(vc-git-show-log-entry): Return t on success.
	* vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
	(vc-bzr-show-log-entry): Return t on success.
	* vc-rcs.el (vc-rcs-print-log):
	* vc-sccs.el (vc-sccs-print-log):
	* vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.

Glenn Morris's avatar
Glenn Morris committed
923 924
2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>

Juanma Barranquero's avatar
Juanma Barranquero committed
925 926
	* ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
	Add menus to the meta mode.  (Bug#5043)
Glenn Morris's avatar
Glenn Morris committed
927

Juanma Barranquero's avatar
Juanma Barranquero committed
928
2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
929 930

	* ediff-init.el (ediff-event-key): Use event-to-character instead of
931
	event-key.
932 933 934

	* ediff.el (ediff-buffers-internal): Add unwind-protect.

935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951
2009-12-07  Michael Albinus  <michael.albinus@gmx.de>

	Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
	Berbain <raphael.berbain@gmail.com>.

	* net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
	characters.
	(tramp-initial-end-of-output): New defconst.
	(tramp-methods, tramp-find-shell)
	(tramp-open-connection-setup-interactive-shell)
	(tramp-maybe-open-connection): Use it.
	(tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
	existence of `#' and `$'.

	* net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
	`tramp-initial-end-of-output'.

952 953 954 955 956 957 958 959 960
2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>

	Get the background mode from the terminal for xterm, and set
	faces accordingly.
	* term/xterm.el (xterm-set-background-mode): New function.
	(terminal-init-xterm): Use it in case xterm supports background
	color queries.  Recompute faces after getting the background
	color.

961 962 963 964 965
2009-12-07  Ulrich Mueller  <ulm@gentoo.org>

	* emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
	number comment back on its own line, for easier parsing.

966 967 968 969 970 971 972
2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	Make it work for non-file buffers (bug#5102).
	* doc-view.el (doc-view-current-cache-dir):
	Use doc-view-buffer-file-name rather than buffer-file-name.
	(doc-view-mode): Use buffer-name when buffer-file-name is nil.

973 974 975 976 977
2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>

	* vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
	author field is too short.

978 979
2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>

980 981
	* vc-git.el (vc-git-print-log): Handle a limit argument.
	Display the short log in graph form and with labels.
982 983
	(vc-git-log-view-mode): Handle labels.

984 985 986
	Make vc-revert change VC state from 'added to 'unregistered.
	* vc-git.el (vc-git-revert): Call git reset first.

Ulf Jasper's avatar
Ulf Jasper committed
987 988
2009-12-06  Ulf Jasper  <ulf.jasper@web.de>

989 990 991 992
	* net/newst-backend.el, net/newst-plainview.el:
	* net/newst-reader.el, net/newst-ticker.el:
	* net/newst-treeview.el, net/newsticker.el:
	Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
Ulf Jasper's avatar
Ulf Jasper committed
993

994 995
2009-12-06  Chong Yidong  <cyd@stupidchicken.com>

996 997
	* log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.

998 999 1000 1001 1002
	* vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
	Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
	(vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
	Update annotation regexp.

1003 1004 1005
	* simple.el (beginning-of-visual-line): Constrain to field
	boundaries (Bug#5106).

Ulf Jasper's avatar
Ulf Jasper committed
1006 1007
2009-12-06  Ulf Jasper  <ulf.jasper@web.de>

1008
	* xml.el (xml-substitute-numeric-entities): Move
Ulf Jasper's avatar
Ulf Jasper committed
1009
	newsticker--decode-numeric-entities in newst-backend.el to
1010
	xml-substitute-numeric-entities in xml.el.  (Bug#5008)
Ulf Jasper's avatar
Ulf Jasper committed
1011 1012
	* net/newst-backend.el (newsticker--parse-generic-feed)
	(newsticker--parse-generic-items)
1013
	(newsticker--decode-numeric-entities): Move
Ulf Jasper's avatar
Ulf Jasper committed
1014
	newsticker--decode-numeric-entities in newst-backend.el to
1015
	xml-substitute-numeric-entities in xml.el.  (Bug#5008)
Ulf Jasper's avatar
Ulf Jasper committed
1016

1017 1018 1019 1020
2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>

	* progmodes/js.el (js--js-not): Add null to the list of values.

1021 1022
2009-12-06  Chong Yidong  <cyd@stupidchicken.com>

1023
	* ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
1024

1025 1026 1027 1028 1029 1030
2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
	delimiter if it is at the end of the current line.
	(bibtex-generate-url-list): Fix docstring.

1031 1032 1033 1034 1035 1036 1037
2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-complete-and-exit): Don't replace the
	minibuffer's content with itself.
	Fold the confirm-after-completion case into the `confirm' case.
	(completion-pcm-word-delimiters): Add : and / to the delimiters.

1038 1039 1040
2009-12-06  Kevin Ryde  <user42@zip.com.au>

	* ffap.el (ffap-rfc-path): Make this a defcustom since
1041
	`ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
1042

1043
	* info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
1044
	manuals, similar to existing setup for help-mode.  (Bug#3913.)
1045

1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056
2009-12-05  Juri Linkov  <juri@jurta.org>

	Save and restore dired buffer's point positions too.  (Bug#4880)

	* dired.el (dired-save-positions): Return in the first element
	buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
	Doc fix.
	(dired-restore-positions): First restore buffer's position.
	While restoring window's positions, check if window still displays
	the original buffer.

1057 1058
2009-12-05  Chong Yidong  <cyd@stupidchicken.com>

1059 1060 1061
	* bindings.el (complete-symbol): Call semantic-ia-complete-symbol
	if possible.

1062 1063
	* cedet/semantic/ia.el (semantic-ia-complete-symbol):
	Make argument optional.
1064

1065 1066 1067 1068
	* shell.el (shell): Require ansi-color (Bug#5113).

	* ansi-color.el (ansi-color-for-comint-mode): Default to t.

1069 1070
	* hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).

Alan Mackenzie's avatar
Alan Mackenzie committed
1071 1072 1073 1074 1075
2009-12-05  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-mode.el (c-before-hack-hook)
	(c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
	`c-file-style' to work again.  This reversion restores the current
Glenn Morris's avatar
Glenn Morris committed
1076
	software to its state in Emacs 23.1.  (Bug#4146)
Alan Mackenzie's avatar
Alan Mackenzie committed
1077

1078 1079 1080 1081 1082
2009-12-05  Kevin Ryde  <user42@zip.com.au>

	* textmodes/sgml-mode.el (sgml-lexical-context): Recognise
	comment-start-skip to comment-end-skip as comment (Bug#4781).

1083 1084 1085 1086 1087 1088 1089 1090 1091
2009-12-05  Juri Linkov  <juri@jurta.org>

	* info.el (Info-find-node-2): Set `Info-current-subfile' to nil
	for virtual nodes.  (Bug#4147)
	(Info-find-node-2): Set `Info-current-node-virtual' to nil
	when moving from a virtual node.
	(Info-mode-menu): Add `Info-virtual-index' to the menu.
	(Info-mode): Add `Info-virtual-index' to the docstring.

1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109
2009-12-05  Eric Ludlam  <zappo@gnu.org>

	* cedet/semantic/bovine/c.el (semantic-c-describe-environment):
	Describe project macro symbols.

	* cedet/semantic/complete.el (semantic-complete-do-completion):
	Don't call semantic-collector-current-exact-match.

	* cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
	ede-objects as targets.

	* cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
	a target's object list even if compiler vars are already in the
	Makefile.

	* cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
	list of headers producing necessary macros.

1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121
2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
	track of the buffer position of the end of a BibTeX entry as this
	position may change during reformatting.
	(bibtex-format-entry): Remove whitespace before processing
	numerical fields so that we recognize the latter properly.
	(bibtex-reformat): Do not use push which changes the global value
	of bibtex-entry-format.
	(bibtex-field-braces-alist, bibtex-field-strings-alist)
	(bibtex-field-re-init): Replace only space characters by regexp
	for whitespace.
1122
	(bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
1123 1124
	(bibtex-initialize): Also update bibtex-strings.
	(bibtex-kill-field): Preserve white space at end of entry.
1125 1126
	(bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
	Update bibtex-reference-keys.
1127

1128 1129 1130 1131 1132 1133
2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-pcm--merge-try): Also consider placing
	point after a star, if that's the only place where modifications can
	make progress.

1134 1135 1136 1137 1138
2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-dir.el (vc-dir): Use the correct markup for showing keymaps
	in docstrings.

1139 1140 1141 1142 1143 1144 1145
2009-12-04  Juri Linkov  <juri@jurta.org>

	* proced.el (proced): Call `(proced-update t)' to update process
	information instead of only running proced-post-display-hook.
	(proced-send-signal): Add a leading space to the buffer name
	" *Marked Processes*" to make this buffer ephemeral.

1146 1147 1148 1149 1150
2009-12-04  Juri Linkov  <juri@jurta.org>

	* dired.el (dired-auto-revert-buffer): New defcustom.
	(dired-internal-noselect): Use it.

1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173
2009-12-04  Juri Linkov  <juri@jurta.org>

	Change roles of modes and functions in image-mode.el (Bug#5062).

	* image-mode.el: Replace `image-mode-maybe' with `image-mode'
	in `auto-mode-alist'.
	(image-mode-previous-major-mode): New variable.
	(image-minor-mode-map): Rename from `image-mode-text-map'.
	(image-mode): Move graceful error-handling code from
	`image-minor-mode' to here.  On errors call `image-mode-as-text'.
	(image-minor-mode): Remove all image-handling code.
	Replace `image-mode-text-map' with `image-minor-mode-map'.
	Check for `image-type' in mode-line format string.
	(image-mode-maybe): Make obsolete with an alias to `image-mode'.
	(image-mode-as-text): New function with most code from
	`image-mode-maybe'.
	(image-toggle-display-text): Move code that removes image
	properties from `image-toggle-display' to here.
	(image-toggle-display-image): New function with code that adds
	image properties copied from `image-toggle-display'.
	(image-toggle-display): Remove most code with leaving only code
	that toggles between `image-mode-as-text' and `image-mode'.

Ulf Jasper's avatar
Ulf Jasper committed
1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190
2009-12-04  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-treeview.el
	(newsticker--treeview-list-highlight-start): Restored call to
	save-excursion: Selected item was stuck.
	(newsticker--treeview-list-select): New.
	(newsticker--treeview-item-show-text)
	(newsticker--treeview-item-show)
	(newsticker--treeview-item-update): Use new
	newsticker-treeview-item-mode.
	(newsticker-treeview-update): Keep current item.
	(newsticker-treeview-next-new-or-immortal-item): Doc change.
	(newsticker--treeview-first-feed): Doc change.
	(newsticker-treeview-list-menu)
	(newsticker-treeview-item-menu): Added menu entries.
	(newsticker-treeview-item-mode): New.

Juanma Barranquero's avatar
Juanma Barranquero committed
1191
	* net/newst-backend.el (newsticker-customize): Delete other
Ulf Jasper's avatar
Ulf Jasper committed
1192 1193
	windows.

1194 1195 1196 1197 1198
2009-12-04  Sam Steingold  <sds@gnu.org>

	* log-view.el (log-view-mode-map): "q" calls quit-window,
	like in all the other non-self-insert buffers.

Stefan Monnier's avatar
Stefan Monnier committed
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211
2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	Minor cleanup.
	* term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
	key decoding rather than do it manually via last-input-event +
	ascii-character.
	(term-exec): Use delete-and-extract-region.
	(term-handle-ansi-terminal-messages): Remove unused var `end'.
	(term-process-pager): Remove unused var `i'.
	(term-dynamic-simple-complete): Make obsolete.
	(serial-update-config-menu): Remove unused vars `y' and `str'.
	(term-update-mode-line): Remove unused var `temp'.

1212 1213 1214 1215 1216 1217 1218
2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>

	Limit the number of log entries displayed by default.
	* vc.el (vc-print-log-internal): Fix check for limit-unsupported.
	(vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
	using a prefix argument.

1219 1220 1221 1222
2009-12-03  Glenn Morris  <rgm@gnu.org>

	* progmodes/idlwave.el (class): Restore still useful declaration.

Alan Mackenzie's avatar
Alan Mackenzie committed
1223 1224
2009-12-03  Alan Mackenzie  <acm@muc.de>

Glenn Morris's avatar
Glenn Morris committed
1225
	Enhance `c-parse-state' to run efficiently in "brace deserts".
Alan Mackenzie's avatar
Alan Mackenzie committed
1226

Stefan Monnier's avatar
Stefan Monnier committed
1227 1228
	* progmodes/cc-mode.el (c-basic-common-init):
	Call c-state-cache-init.
1229
	(c-neutralize-syntax-in-and-mark-CPP): Rename from
Alan Mackenzie's avatar
Alan Mackenzie committed
1230
	c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
Stefan Monnier's avatar
Stefan Monnier committed
1231
	placing `category' properties value 'c-cpp-delimiter at its boundaries.
Alan Mackenzie's avatar
Alan Mackenzie committed
1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262

	* progmodes/cc-langs.el (c-before-font-lock-function):
	c-extend-and-neutralize-syntax-in-CPP has been renamed
	c-neutralize-syntax-in-and-mark-CPP.

	* progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
	with `category' properties now, not `syntax-table' ones.

	* progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
	enhanced (but slower) version of c-end-of-macro that won't land
	inside a literal or on another awkward character.
	(c-state-cache-too-far, c-state-cache-start)
	(c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
	(c-state-nonlit-pos-cache-limit, c-state-point-min)
	(c-state-point-min-lit-type, c-state-point-min-lit-start)
	(c-state-min-scan-pos, c-state-brace-pair-desert)
	(c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
	buffer local variables.
	(c-state-literal-at, c-state-lit-beg)
	(c-state-cache-non-literal-place, c-state-get-min-scan-pos)
	(c-state-mark-point-min-literal, c-state-cache-top-lparen)
	(c-state-cache-top-paren, c-state-cache-after-top-paren)
	(c-get-cache-scan-pos, c-get-fallback-scan-pos)
	(c-state-balance-parens-backwards, c-parse-state-get-strategy)
	(c-renarrow-state-cache)
	(c-append-lower-brace-pair-to-state-cache)
	(c-state-push-any-brace-pair, c-append-to-state-cache)
	(c-remove-stale-state-cache)
	(c-remove-stale-state-cache-backwards, c-state-cache-init)
	(c-invalidate-state-cache-1, c-parse-state-1)
	(c-invalidate-state-cache): New defuns/defmacros/defsubsts.
Stefan Monnier's avatar
Stefan Monnier committed
1263 1264
	(c-parse-state): Enhance and refactor.
	(c-debug-parse-state): Amend to deal with all the new variables.
Alan Mackenzie's avatar
Alan Mackenzie committed
1265 1266 1267

	* progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
	(c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
Stefan Monnier's avatar
Stefan Monnier committed
1268 1269
	modify to use category text properties rather than syntax-table ones.
	(c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
Alan Mackenzie's avatar
Alan Mackenzie committed
1270 1271 1272 1273 1274 1275 1276
	to switch off/on the syntactic paren property of C++ template
	delimiters using the category property.
	(c-with-<->-as-parens-suppressed): Macro to invoke code with
	template delims suppressed.
	(c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
	New constant/macros which apply category properties to the start
	and end of preprocessor constructs.
Stefan Monnier's avatar
Stefan Monnier committed
1277
	(c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
Alan Mackenzie's avatar
Alan Mackenzie committed
1278 1279 1280 1281 1282 1283 1284
	"comment out" the syntactic value of characters in preprocessor
	constructs.
	(c-with-cpps-commented-out)
	(c-with-all-but-one-cpps-commented-out): Macros to invoke code
	with characters in all or all but one preprocessor constructs
	"commented out".

1285 1286 1287 1288
2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* proced.el (proced-filter-alist): Use regexp-quote.

Michael Albinus's avatar
Michael Albinus committed
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299
2009-12-03  Michael Albinus  <michael.albinus@gmx.de>

	Cleanup.
	* eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
	(eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
	arguments.  Expand `default-directory'.

	* net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
	the benefit of returning an expanded localname.
	(tramp-tramp-file-p): Handle the case NAME is not a string.

1300 1301
2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>

1302 1303 1304 1305 1306 1307 1308 1309 1310
	Add support for bzr shelve/unshelve.
	* vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
	(vc-bzr-extra-menu-map): New variables.
	(vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
	(vc-bzr-shelve-apply, vc-bzr-shelve-list)
	(vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
	(vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
	(vc-bzr-dir-extra-headers): Display shelves.

1311 1312
	* vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.

1313 1314 1315 1316 1317 1318
2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/bibtex.el (bibtex-complete-internal):
	Use completion-in-region.
	(bibtex-text-in-field-bounds): Remove unused var `opoint'.

1319 1320 1321 1322 1323 1324 1325 1326 1327 1328
2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>

	Support applying stashes.  Improve UI.
	* vc-git.el (vc-git-dir-extra-headers): Add tooltips.
	(vc-git-stash-apply, vc-git-stash-pop)
	(vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
	(vc-git-stash-menu): New functions.
	(vc-git-stash-menu-map): New variable.
	(vc-git-stash-map): Add bindings to popup a menu and to apply stashes.

1329 1330 1331 1332 1333 1334
2009-12-03  Glenn Morris  <rgm@gnu.org>

	* vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
	(vc-print-log-internal): Fix previous change.
	(vc-revert): Correct pluralization.

Stefan Monnier's avatar
Stefan Monnier committed
1335 1336
2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

1337 1338 1339 1340
	* progmodes/make-mode.el (makefile-special-targets-list): No need for
	it to be an alist any more.
	(makefile-complete): Use completion-in-region.

1341 1342 1343
	* progmodes/octave-mod.el (octave-complete-symbol):
	Use completion-in-region.

Stefan Monnier's avatar
Stefan Monnier committed
1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371
	Misc cleanup.
	* progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
	(idlwave-code-abbrev, idlwave-display-user-catalog-widget)
	(idlwave-complete-class): Don't quote lambda.
	(idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
	(idlwave-mode-map): Move initialization into declaration.
	(idlwave-action-and-binding): Use backquotes.
	(idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
	Simplify.
	(idlwave-is-pointer-dereference): Remove unused var `pos'.
	(idlwave-xml-create-rinfo-list): Remove unused var `entry'.
	(idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
	`parts', and `all-parts'.
	(idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
	(idlwave-convert-xml-system-routine-info): Remove unused string
	`version-string'.
	(idlwave-display-user-catalog-widget): Use dolist.
	(idlwave-scanning-lib): Declare dynamically-scoped var.
	(idlwave-scan-library-catalogs): Remove unused var `flags'.
	(completion-highlight-first-word-only): Declare to silence bytecomp.
	(idlwave-popup-select): Tighten scope of `resp'.
	(idlwave-find-struct-tag): Remove unused var `beg'.
	(idlwave-after-load-rinfo-hook): Declare.
	(idlwave-sintern-class-info): Remove unused var `taglist'.
	(idlwave-find-class-definition): Remove unused var `list'.
	(idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
	(idlwave-what-module-find-class): Remove unused var `classes'.

1372 1373 1374 1375
2009-12-03  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/pascal.el: Require CL when compiling (for lexical-let).

1376 1377 1378 1379 1380
2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
	buffers visited.  Remove redundant current-buffer-saving.

1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405
2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	Use completion-in-buffer and remove uses of dynamic scoping.
	* progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
	(pascal-buffer-to-use, pascal-flag): Don't declare.
	(pascal-func-completion, pascal-type-completion, pascal-var-completion)
	(pascal-get-completion-decl, pascal-keyword-completion):
	Add `pascal-str' argument, save-excursion,
	return the found completions, and don't filter with pascal-pred.
	(pascal-completion-cache): New var.
	(pascal-completion): Don't switch buffer any more (it was never
	necessary).  Don't save-excursion any more (it's done by the called
	subroutines).  Use a cache to avoid redundant computations.
	Use complete-with-action rather than pascal-completion-response and
	let it apply the predicate as well.
	(pascal-complete-word): Use completion-in-buffer when
	pascal-toggle-completions is nil.
	(pascal-show-completions): Don't bind pascal-buffer-to-use since it's
	not used any more.
	(pascal-comp-defun): Don't change buffer any more.
	Use complete-with-action rather than pascal-completion-response and
	let it apply the predicate as well.
	(pascal-goto-defun): Change buffer before calling pascal-comp-defun
	when neded.