ChangeLog 246 KB
Newer Older
Kenichi Handa's avatar
Kenichi Handa committed
1 2 3 4 5
2000-08-30  Kenichi Handa  <handa@etl.go.jp>

	* international/quail.el (quail-start-translation): Bind locally
	last-command-event, last-command, and this-command.
	(quail-start-conversion): Likewise.
Kenichi Handa's avatar
Kenichi Handa committed
6
	(quail-self-insert-command): Fix docstring.
Kenichi Handa's avatar
Kenichi Handa committed
7

8 9 10 11 12 13
2000-08-29  Gerd Moellmann  <gerd@gnu.org>

	* progmodes/executable.el
	(executable-make-buffer-file-executable-if-script-p): Check that
	buffer contains at least 2 characters.

Eli Zaretskii's avatar
Eli Zaretskii committed
14 15 16 17
2000-08-29  Eli Zaretskii  <eliz@is.elta.co.il>

	* help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.

Dave Love's avatar
Dave Love committed
18 19
2000-08-29  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
20 21 22 23 24
	* diff-mode.el (diff-mode) <defgroup>: Add :version.
	(diff-mode-shared-map): Bind mouse-2.
	(diff-imenu-generic-expression): New variable.
	(diff-mode): Use it.

Dave Love's avatar
Dave Love committed
25 26 27 28
	* mouse.el (mouse-major-mode-menu): Use local-key-binding.
	(mouse-popup-menubar): Add minor mode menus.
	(popup-menu): Check for lookup-key returning number.

Miles Bader's avatar
Miles Bader committed
29 30 31 32 33
2000-08-29  Miles Bader  <miles@gnu.org>

	* comint.el (comint-send-input): Create overlays using the proper
	front/read-advance arguments.
	
34 35 36 37 38 39 40 41 42
2000-08-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>

	* ps-print.el: Even/odd pages printing.  Doc fix.
	(ps-print-version): New version number (6.0).
	(ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
	(ps-background, ps-begin-file, ps-begin-job): Code fix.
	(ps-print-duplex-feature): Variable eliminated.
	(ps-even-or-odd-pages): New variable.

43
	* progmodes/ebnf2ps.el: Doc fix.
Gerd Moellmann's avatar
Gerd Moellmann committed
44 45 46 47 48
	(ebnf-version): New version (3.3).
	(ebnf-user-arrow): Change variable customization to sexp.
	(ebnf-user-arrow): Function eliminated.
	(ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
	
Kenichi Handa's avatar
Kenichi Handa committed
49 50
2000-08-29  Kenichi Handa  <handa@etl.go.jp>

51
	* help.el (help-xref-mule-regexp): New variable.
Kenichi Handa's avatar
Kenichi Handa committed
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
	(help-make-xrefs): Handle help-xref-mule-regexp.

	* international/mule-cmds.el (help-xref-mule-regexp-template): New
	variable.
	(describe-input-method): Temporarily activate the specfied input
	method to display the information.
	(describe-language-environment): Hyperlinks to mule related items.

	* international/mule-diag.el (charset-multibyte-form-string): New
	function.
	(list-character-sets-1): Use charset-multibyte-form-string.
	(describe-character-set): New function.
	(describe-coding-system): Hyperlinks to safe character sets.

	* international/quail.el (quail-help): New arg PACKAGE.
	Hyperlinks to mule related items.
	(quail-help-insert-keymap-description): Use
	substitute-command-keys instead of describe-bindings.
	(quail-translation-help): Hyperlinks to mule related items.

John Wiegley's avatar
John Wiegley committed
72 73
2000-08-28  John Wiegley  <johnw@gnu.org>

John Wiegley's avatar
John Wiegley committed
74 75 76 77
	* eshell/esh-util.el (eshell-flatten-list): It's not too wise to
	have a defsubst call itself.  Made `eshell-flatten-list' back into
	a function again.

John Wiegley's avatar
John Wiegley committed
78 79 80 81 82 83 84 85 86 87 88
	* eshell/em-smart.el (eshell-smart-redisplay): Added a safety
	catch, in case re-centering point at bottom messes up the display.
	This happens frequently in Emacs 21, due I believe to variable
	line heights.

	* eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
	to call `find-tag-interactive'.

	* eshell/em-dirs.el (eshell/cd): Use buffered printing to display
	the list of remember directories.

John Wiegley's avatar
John Wiegley committed
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 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 154 155 156 157 158 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 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224
2000-08-28  John Wiegley  <johnw@gnu.org>

	* align.el: Test align-region-separate to see if it's a symbol.

2000-08-27  John Wiegley  <johnw@gnu.org>

	* eshell/esh-util.el (eshell-flatten-list): Made this function
	into a defsubst form.  It gets used very frequently, although
	calls don't occur all that often.

	* eshell/em-dirs.el (eshell/cd): Flatten the argument list before
	examining it.

	* eshell/esh-cmd.el (eshell-rewrite-while-command):
	(eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
	`eshell-protect'.
	(eshell-copy-handles): Created a new macro for duplicating the
	current set of open handles.  This is needed by the looping
	functions.
	(eshell-do-eval): Fixed while and if, so that the eshell-test-body
	is not incorrectly stomped on.

	* eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
	declaration for pcomplete-use-paring.
	(eshell-cmpl-initialize): Set pcomplete-use-paring based on the
	value of eshell-cmpl-use-paring.
	* pcomplete.el (pcomplete-use-paring): New config variable, to
	indicate whether paring should be used.
	(pcomplete-do-complete): If pcomplete-use-paring is t, pare out
	completion alternatives that have already been used.

	* eshell/esh-mode.el (eshell-repeat-argument): Added function,
	bound to C-c C-y, which will repeat the previous N arguments
	(based on prefix argument).
	(eshell-mode): Bind C-c C-y to eshell-repeat-argument.

	* eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
	if there is no *Help* buffer.  This is for XEmacs, which renames
	its help buffers uniquely.  TODO: Find out what the current buffer
	name to delete is.

	* eshell/esh-util.el (eshell-read-passwd-file): Only keep the
	first entry that correlates to a passwd/group number.  Later
	entries (used for group/user name aliasing to multiple IDs) are
	ignored.

	* eshell/em-xtra.el (eshell/expr): 
	* eshell/em-unix.el (eshell/du, eshell/cat, eshell/make) 
	(eshell-grep, eshell/diff, eshell/locate): 
	* eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
	argument list, before passing it to the system command.

	* eshell/esh-mode.el (eshell-find-tag): Added a special version of
	`find-tag' for use at final position in Eshell buffers (which
	otherwise triggers an error on Emacs 21).
	(eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
	buffer, if it is currently bound to `find-tag'.

	* pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
	in the list of matched Makefile names.
	(pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
	directory, prefer its contents to Makefile.

	* eshell/em-dirs.el (eshell/cd): cd commands that look up
	directory parts (like "cd old new", or "cd =regexp"), are now case
	sensitive on non-Windows/DOS platforms.

	* eshell/esh-mode.el (eshell-parse-command-input): When a user
	types RET after an open delimiter (like "), display a message
	indicating that Eshell is waiting for the closing delimiter.

	* eshell/esh-var.el (eshell/unset): Added a command for unsetting
	environment variables.

	* eshell/em-unix.el (eshell/diff): Added logic to fail more
	gracefully if the user enters incorrect arguments.

	* eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
	Eshell buffers.

	* eshell/esh-var.el (eshell-interpolate-variable): 
	* eshell/esh-mode.el (eshell-move-argument): 
	* eshell/em-unix.el (eshell-du-sum-directory):
	* eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
	* eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
	(not (= ...)).

	* eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
	to ensure the `preserve' flag gets propagated when doing recursive
	directory copies.

2000-08-09  Stefan Monnier  <monnier@cs.yale.edu>

	* eshell/em-hist.el (eshell-put-history, eshell-get-history):
	Don't convert \n into \0177 in memory.
	(eshell-read-history, eshell-write-history): Convert \n to \0177,
	and back again, when reading and writing.
	
2000-07-06  Eli Zaretskii  <eliz@is.elta.co.il>

	* eshell/esh-util.el (eshell-processp): Added to relieve constant
	testing of `fboundp' on `processp'.

	* eshell/esh-proc.el (eshell/kill): Use eshell-processp.
	(eshell/jobs): Don't call process-list if it is not bound.
	(eshell-gather-process-output): Support systems where async
	subprocesses aren't supported.
	(eshell-scratch-buffer, eshell-last-sync-output-start): New
	variables.

	* eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
	eshell-do-eval returns t.
	(eshell-do-pipelines-synchronously): New defmacro.
	(eshell-execute-pipeline): Call it instead of eshell-do-pipelines
	when async subprocesses aren't supported.
	(eshell-do-eval): Use eshell-processp.  Don't throw eshell-defer
	if async subprocesses aren't supported.
	(eshell-resume-command): Don't assume STATUS is a string.

	* eshell/em-unix.el (eshell/rm): Use eshell-processp.

	* eshell/esh-io.el (eshell-virtual-targets): Doc fix.
	(eshell-close-target, eshell-get-target): Use eshell-processp.
	(eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
	fix.
	(eshell-get-target, eshell-create-handles): Doc fix.

2000-06-28  Miles Bader  <miles@lsi.nec.co.jp>

	* em-smart.el (eshell-smart-maybe-jump-to-end): Change the
	criterion to include commands that output something, as long as it
	leaves both the command and the end-of-buffer visible when the
	command has exited.
	(eshell-review-quick-commands): Adjust the help doc string
	accordingly.

Peter Breton's avatar
Peter Breton committed
225 226
2000-08-28  Peter Breton  <pbreton@ne.mediaone.net>

227
	* locate.el (locate): Cleaned up locate command's interactive prompting
Kenichi Handa's avatar
Kenichi Handa committed
228
	Thanks to Fran,Ag(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
229

Peter Breton's avatar
Peter Breton committed
230 231 232 233 234 235 236 237 238
	* filecache.el (file-cache-case-fold-search): New variable 
	(file-cache-assoc-function): New variable
	(file-cache-minibuffer-complete): Use file-cache-assoc-function.
	Use file-cache-case-fold-search variable
	(file-cache-add-file): Use file-cache-assoc-function
	(file-cache-delete-file): likewise
	(file-cache-directory-name): likewise
	(file-cache-debug-read-from-minibuffer): likewise

Gerd Moellmann's avatar
Gerd Moellmann committed
239 240 241 242 243 244 245
2000-08-28  Gerd Moellmann  <gerd@gnu.org>

	* abbrev.el (list-abbrevs): Add optional parameter LOCAL.
	(abbrev-table-name): New function.
	(prepare-abbrev-list-buffer): Add optional parameter LOCAL.
	If non-nil list local abbrev, only.

Gerd Moellmann's avatar
Gerd Moellmann committed
246 247 248 249 250 251 252 253
2000-08-28  Stanislav Shalunov  <shalunov@internet2.edu>

	* uce.el (uce-reply-to-uce): Remove hard-coded "*Article*" from
	Gnus support code, and use special article copy buffer
	`(gnus-original-article-buffer)' instead.  This allows to get rid
	of article-hide-headers usage (which breaks in the latest Gnus
	version).  Thanks to Detlev Zundel.

Kenichi Handa's avatar
Kenichi Handa committed
254 255 256 257 258 259 260 261
2000-08-28  Kenichi Handa  <handa@etl.go.jp>

	* international/quail.el (quail-use-package): Hide "... loaded"
	message.
	(quail-start-translation, quail-start-conversion): Likewise.

	* international/kkc.el (kkc-region): Hide "... loaded" message.

Dave Love's avatar
Dave Love committed
262 263 264 265
2000-08-27  Dave Love  <fx@gnu.org>

	* emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.

Miles Bader's avatar
Miles Bader committed
266 267 268 269
2000-08-27  Miles Bader  <miles@gnu.org>

	* faces.el (read-face-font, read-face-and-attribute): Tweak prompts.

Kenichi Handa's avatar
Kenichi Handa committed
270 271 272 273 274
2000-08-27  Kenichi Handa  <handa@etl.go.jp>

	* international/ja-dic-cnv.el (skkdic-convert): Insert (require
	'ja-dic-cnv), not (require 'skkdic-cnv).

Miles Bader's avatar
Miles Bader committed
275 276
2000-08-26  Miles Bader  <miles@gnu.org>

277 278 279 280 281 282
	* faces.el (face-x-resources): Add entry for :inherit.
	* cus-face.el (custom-face-attributes): Add support for :inherit
	attribute.  Add support for relative face heights.
	(custom-face-attributes-get): Treat `nil' as being a default value
	for :inherit (as well as `unspecified').

Miles Bader's avatar
Miles Bader committed
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298
	* faces.el (set-face-attribute): Update doc string.
	(face-attribute-name-alist): Add :inherit.
	(face-valid-attribute-values): Handle :inherit.
	(face-read-string): Rephrase prompt to be less confusing.
	Assume that DEFAULT is a string, since we must return a string.
	(face-read-integer): Use `format' to turn DEFAULT into an
	acceptable default for face-read-string.  Match NEW-VALUE against
	the string "unspecified", not the symbol `unspecified', since
	that's what face-read-string returns.
	(read-face-attribute): Lookup a name for old-value in valid, and
	use it as a default if we find one.  Treat all values from
	face-read-string as strings.  If the default is used, don't do any
	more processing on the value, just use the old value directly.
	(read-face-and-attribute, modify-face): Tweak prompt.
	(read-face-name): Don't assume prompt ends with a space.

Miles Bader's avatar
Miles Bader committed
299 300
	* faces.el (describe-face): Add support for :inherit attribute.

Kenichi Handa's avatar
Kenichi Handa committed
301 302
2000-08-25  Kenichi Handa  <handa@etl.go.jp>

Kenichi Handa's avatar
Kenichi Handa committed
303 304 305
	* terminal.el (terminal-emulator): Fix args to `concat'.  Now
	concat doesn't accept interger.

Kenichi Handa's avatar
Kenichi Handa committed
306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322
	* international/kkc.el: Remove SKK from Keywords.  Require
	ja-dic-utl instead of skkdic-utl.

	* international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
	Provide ja-dic-cnv instead of skkdic-cnv.
	(ja-dic-filename): Renamed from skkdic-filename.  Referers changed
	(iso-2022-7bit-short): Add safe-charsets property.
	(skkdic-convert-postfix): Search Japanese chou-on character in
	addition to Hiragana character.
	(skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
	(skkdic-convert): Change file names from skkdic.el to ja-dic.el
	(batch-skkdic-convert): Likewise.

	* international/ja-dic-utl.el: Renamed from skkdic-utl.el.
	Provide ja-dic-utl instead of skkdic-utl.
	(skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.

Dave Love's avatar
Dave Love committed
323 324
2000-08-24  Dave Love  <fx@gnu.org>

325 326 327
	* disp-table.el (standard-display-default): Make the test of `l'
	useful.

Dave Love's avatar
Dave Love committed
328 329 330 331 332 333 334 335
	* language/european.el ("Latin-8", "Latin-9"): Add input methods,
	mod sample text.

	* international/iso-ascii.el: Make pilcrow convenient string
	consistent with section.
	(iso-ascii-display): Set up multibyte characters as well as
	unibyte.

Kenichi Handa's avatar
Kenichi Handa committed
336 337 338 339 340 341 342
2000-08-24  Kenichi Handa  <handa@etl.go.jp>

	* international/mule-cmds.el (reset-language-environment): Set
	default-process-coding-system to '(undecided . iso-latin-1), which
	makes process I/O almost consistent with file I/O.   Call this
	function when mule-cmds.el[c] is loaded.

Andrew Innes's avatar
Andrew Innes committed
343 344 345 346
2000-08-22  Andrew Innes  <andrewi@gnu.org>

	* makefile.w32-in: New file.

Miles Bader's avatar
Miles Bader committed
347 348 349 350 351 352 353 354 355 356
2000-08-22  Miles Bader  <miles@lsi.nec.co.jp>

	* comint.el (comint-output-filter): Compare end of
	comint-last-output-overlay with the start of the newly inserted
	text, not the end, when deciding whether to extend it.
	Set saved-point's insertion type to advance after insertion.  

	* shell.el (shell-font-lock-keywords): Remove prompt highlighting,
	since this is now done independently of font-lock mode.

Gerd Moellmann's avatar
Gerd Moellmann committed
357 358 359 360 361 362 363 364 365 366
2000-08-21  Gerd Moellmann  <gerd@gnu.org>

	* server.el (server-kill-new-buffers): New user option.
	(server-existing-buffer): New buffer-local variable.
	(server-visit-files): When using an existing buffer, set
	server-existing-buffer to t.
	(server-buffer-done): If server-kill-new-buffers is t, kill the
	buffer, unless it was already present before visiting it with
	Emacs server.
	
367 368 369 370 371 372
2000-08-21  Eli Zaretskii  <eliz@is.elta.co.il>

	* man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
	even if the display doesn't support colors: some displays will
	support bold/underline faces.

Gerd Moellmann's avatar
Gerd Moellmann committed
373 374
2000-08-21  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
375 376
	* emacs-lisp/cl.el (cl-macroexpand): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
377 378 379
	* startup.el (command-line): If user's init file had an error,
	add explanatory text to *Messages*.

Kenichi Handa's avatar
Kenichi Handa committed
380 381 382 383 384
2000-08-21  Kenichi Handa  <handa@etl.go.jp>

	* man.el (Man-getpage-in-background): Decode the process output by
	the system locale coding system.

385 386
2000-08-20  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
387 388 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
	* wid-edit.el (widget-choose, widget-choice-mouse-down-action):
	Don't test x-popup-menu.
	(function) <complete-function>: Complete only fbound symbols.
	<validate, value>: New.
	(variable) <complete-function>: Complete only bound symbols.
	(coding-system): Add :base-only, :complete-function, :validate,
	:value, :prompt-match.
	(widget-coding-system-prompt-value): Use read-coding-system and
	act on :base-only.
	(editable-field): Add :help-echo.
	(widget-push-button-gui, widget-push-button-cache)
	(widget-gui-action, widget-editable-list-gui): COmment out, along
	with uses.
	(widget-at): Make arg optional.
	(widget-echo-help): Adjust for current help-echo calling sequence.
	(widget-specify-field, widget-specify-button)
	(widget-specify-insert, widget-get-sibling, widget-image-find)
	(widget-convert, widget-insert, widget-leave-text)
	(widget-beginning-of-line, widget-end-of-line, widget-kill-line)
	(widget-setup, widget-field-find, widget-before-change)
	(widget-after-change, widget-default-complete)
	(widget-default-create, widget-default-delete)
	(widget-push-button-value-create, editable-field)
	(widget-field-prompt-value, widget-field-validate)
	(widget-choice-value-create, widget-choice-action)
	(widget-choice-validate, widget-checklist-add-item)
	(widget-radio-add-item, widget-radio-chosen)
	(widget-radio-value-inline, widget-editable-list-value-create)
	(widget-editable-list-entry-create)
	(widget-documentation-link-add)
	(widget-documentation-string-value-create)
	(widget-regexp-validate, widget-file-complete)
	(widget-sexp-validate, widget-plist-convert-widget)
	(widget-plist-convert-widget, widget-alist-convert-widget)
	(widget-alist-convert-widget, widget-color-complete): Simplify,
	particularly to avoid bindings which aren't optimized out.

424 425 426 427 428 429 430 431 432
	* emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
	Doc fix.
	(down-list, backward-up-list, up-list, kill-sexp)
	(backward-kill-sexp, mark-sexp): Make arg optional.
	(lisp-complete-symbol): Add optional arg PREDICATE.

	* cus-start.el: Add display-buffer-reuse-frames,
	file-coding-system-alist.

Gerd Moellmann's avatar
Gerd Moellmann committed
433 434 435 436 437
2000-08-20  Gerd Moellmann  <gerd@gnu.org>

	* startup.el (command-line): Clear realized faces after
	modifying TTY color mappings.

Miles Bader's avatar
Miles Bader committed
438 439 440 441 442
2000-08-20  Miles Bader  <miles@gnu.org>

	* faces.el (face-attr-match-p): Don't return true if ATTRS are
	merely a subset of FACE's attributes.

Miles Bader's avatar
Miles Bader committed
443 444 445 446 447 448 449 450
2000-08-19  Miles Bader  <miles@gnu.org>

	* comint.el (comint-output-filter): Save the point with a marker,
	not just a buffer position.

	* international/mule.el (set-buffer-process-coding-system): Make
	interactive prompt less confusing.

Gerd Moellmann's avatar
Gerd Moellmann committed
451 452 453 454 455
2000-08-19  Gerd Moellmann  <gerd@gnu.org>

	* hilit-chg.el: General cleanup of doc strings, comments and
	code formatting.

456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474
2000-08-19  Miles Bader  <miles@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
	Compiler macro removed; beginning-of-line is no longer always
	equivalent to forward-line, in the presence of fields.

	* comint.el (comint-output-filter): Remove ad-hoc saving of
	restriction, and just use save-restriction, now that it works
	correctly.  Don't adjust comint-last-input-start to account for
	our insertion; it shouldn't have moved because we don't use
	insert-before-markers anymore.  Comment out call to
	`force-mode-line-update'; why is it here?

	* gud.el (gud-basic-call): Temporarily widen gud comint buffer
	while checking for prompt to delete.  Use `forward-line 0'
	instead of beginning-of-line.
	(gud-filter): Temporarily widen gud comint buffer while
	examining output.

475 476
2000-08-18  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
477 478
	* progmodes/sh-script.el: Big bag of typos.

479 480 481
	* textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
	check since ispell-process is not bound when ispell is not yet loaded.

482 483 484 485
2000-08-18  Dave Love  <fx@gnu.org>

	* image.el (find-image): Copy `spec' before using plist-put.

Gerd Moellmann's avatar
Gerd Moellmann committed
486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519
2000-08-18  Gerd Moellmann  <gerd@gnu.org>

	* textmodes/ispell.el (ispell-dictionary-alist-6): Add
	`portugues'.

	* bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
	backward-kill-sexp, analogous to kill-sexp.

	* progmodes/icon.el (icon-indent-line)
	(icon-is-continuation-line): Handle comments specially.

2000-08-17  Ken Stevens <k.stevens@ieee.org>

	* ispell.el: Set to standard author/maintainer/keyword fields.
	Fine tuning to menu map appearance and operation, and added help.
	Remove `start' and `end' error messages when compiling.
	(ispell-choices-win-default-height): Fixed comment string.
	(ispell-dictionary-alist-1): Fixed regexp in castellano and
	castellano8 dictionaries.
	(ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
	(ispell-dictionary-alist-4): Fixed regexp in francais-tex
	dictionary, added italiano dictionary.
	(ispell-skip-region-alist): Removed regexp thrashing when `-' is a
	word character
	(ispell-tex-skip-alists): Added psfig support.
	(ispell-skip-html): Renamed from ispell-skip-sgml.
	(ispell-begin-skip-region-regexp, ispell-skip-region)
	(ispell-minor-check): Improved html skipping support to skip across
	code, and recognize `&' commands without propper `;' syntax;
	(ispell-process-line): Fix alignment error when manually
	correcting spelling.
	(ispell): Fix comment string.
	(ispell-add-per-file-word-list): Always put word list on new line.

Gerd Moellmann's avatar
Gerd Moellmann committed
520 521
2000-08-17  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
522 523 524 525 526 527 528 529 530 531 532 533 534 535
	* format.el (format-encode-run-method): Fix error message to say
	`encode' instead of `decode'.  Use save-window-excursion around
	shell-command-on-region as in format-decode-run-method because
	shell-command-on-region can display a buffer with error output.
	(format-decode): Don't record undo information for the decoding.
	(format-annotate-function): Add parameter FORMAT-COUNT.  Make
	that number part of the temporary buffer name so that more than
	one decoding using a temporary buffer can happen safely.

	* enriched.el (enriched-annotation-regexp): Use `A-Z' instead
	of `A-z' in the regexp.

	* hilit-chg.el: Fix typos in commentary.

Gerd Moellmann's avatar
Gerd Moellmann committed
536 537 538 539 540 541
	* help.el (view-emacs-news): Rewritten for new naming scheme
	for old NEWS files.

	* startup.el (command-line): Pop to *Messages* in case an error
	is signaled while loading user-init-file.

542 543 544 545 546
2000-08-17  Andreas Schwab  <schwab@suse.de>

	* files.el (insert-directory): Don't lose original file name,
	undoing an undocumented change.

547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564
2000-08-17  Alex Schroeder  <alex@gnu.org>

	* sql.el (sql-magic-go): Use comint-bol.
	(sql-copy-column): Use comint-line-beginning-position.
	(comint-line-beginning-position): Define a replacement for
	comint-line-beginning-position if it is not fboundp.

2000-08-17  Alex Schroeder  <alex@gnu.org>

	* sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
	it didn't have any effect anyway.

2000-08-17  Alex Schroeder  <alex@gnu.org>

	* sql.el (sql-postgres): Jason Beegan's patch uses the parameters
	--pset and pager=off instead of sending \\o|cat at the beginning
	of the session.

565 566 567 568 569
2000-08-17  Miles Bader  <miles@gnu.org>

	* progmodes/octave-inf.el: Add compatibility definition of
	comint-line-beginning-position.

Kenichi Handa's avatar
Kenichi Handa committed
570 571 572 573 574 575 576
2000-08-17  Kenichi Handa  <handa@etl.go.jp>

	* startup.el (normal-top-level): Look in each dir in load-path for
	a leim-list.el file too.  This assures of loading leim-list.el
	that is created at Emacs installation time even if a user have his
	own leim-list.el.

577 578 579 580 581
2000-08-17  Miles Bader  <miles@gnu.org>

	* hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
	foreground color to black if the background is dark.

Stefan Monnier's avatar
Stefan Monnier committed
582 583 584 585 586 587 588 589 590 591 592
2000-08-16  Stefan Monnier  <monnier@cs.yale.edu>

	* loadhist.el (unload-feature): Typo.

	* finder.el (finder-compile-keywords): 
	* cus-dep.el (custom-make-dependencies): Add local-variable settings
	to the generated file.

	* mail/mh-e.el (mh-make-local-vars):
	Replace make-variable-buffer-local with make-local-variable.

593
	* play/landmark.el:
Stefan Monnier's avatar
Stefan Monnier committed
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625
	* options.el (Edit-options-{set,toggle,t,nil}):
	* mail/mailabbrev.el (mail-abbrevs-mode): 
	* textmodes/tex-mode.el (tex-expand-files): 
	* textmodes/outline.el (outline-minor-mode): Don't quote lambda.

	* term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.

	* emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
	(ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
	Allow going past the last element.
	* pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark) 
	(cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
	(cvs-mouse-toggle-mark): Don't move point.
	(cvs-revert-if-needed): Avoid re-eval of local variables and modes.

	* progmodes/compile.el (grep): Provide a default set of files.
	(next-error): Docstring fix.
	(compilation-find-file): Avoid find-file (fails in a dedicated window).

	* emacs-lisp/easy-mmode.el (define-minor-mode):
	Use `symbol-value' to keep the byte-compiler quiet.

	* diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
	(diff-find-source-location): New fun, extracted from diff-goto-source.
	(diff-goto-source): Use it.
	(diff-next-complex-hunk, diff-filter-lines): New function.
	(diff-apply-hunk): New command.

	* smerge-mode.el (smerge-mode-menu): Doc fix.

	* msb.el (msb-mode): Define it in terms of define-minor-mode.

Dave Love's avatar
Dave Love committed
626 627
2000-08-16  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645
	* windmove.el (windmove) <defgroup>: Add :version.

	* net/goto-addr.el: Don't require browse-url.  Require thingatpt.
	(goto-address-fontify-p, goto-address-highlight-p)
	(goto-address-url-face, goto-address-url-mouse-face)
	(goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
	(goto-address-url-regexp): Use thing-at-point-url-regexp.
	(goto-address-fontify, goto-address-at-mouse): Simplify,
	(goto-address-at-point): browse-url-url-at-point,
	goto-address-find-address-at-point can return nil.
	(goto-address-find-address-at-point): Return nil on failure.

	* align.el (align) <defgroup>: Add :version.

	* calculator.el (calculator): Add :version.
	(calculator): Use two lines for calculator window if `modeline'
	face is boxed.

Dave Love's avatar
Dave Love committed
646 647 648 649 650 651 652 653 654 655 656
	* play/5x5.el: Doc fixes.
	(5x5) <defgroup>: Add :version.

	* play/fortune.el (fortune) <defgroup>: Add :version.
	(fortune-append): Fix error message.
	(fortune-from-region): Doc fix.

	* play/pong.el (pong): Doc fix.

	* play/morse.el: Keywords, commentary, autoloads.

657 658 659 660 661
2000-08-16  Eli Zaretskii  <eliz@is.elta.co.il>

	* desktop.el (desktop-save): Don't look at symbol-value of a
	member of minor-mode-alist, unless it is boundp.

662 663
2000-08-16  Sam Steingold  <sds@gnu.org>

664
	* buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
665 666 667
	`while'; use `with-current-buffer' instead of `save-excursion'.
	Removed unnecessary kludges now that "*Buffer List*" is excluded.

Kenichi Handa's avatar
Kenichi Handa committed
668 669 670 671 672
2000-08-16  Kenichi Handa  <handa@etl.go.jp>

	* international/ccl.el (declare-ccl-program): Docstring modified.
	(ccl-execute-with-args): Likewise.

673 674
2000-08-16  Miles Bader  <miles@gnu.org>

675
	* progmodes/sql.el: Add compatibility definition of
676 677
	comint-line-beginning-position.

Gerd Moellmann's avatar
Gerd Moellmann committed
678 679
2000-08-15  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
680 681 682 683 684 685 686
	* buff-menu.el (list-buffers-noselect): Set `buffer' as well as
	'buffer-menu' property.
	(Buffer-menu-buffer): Use `buffer' property if `buffer-name'
	fails.
	(Buffer-menu-execute): When deleting, test `(and buf (buffer-name
	buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
	wasn't killed.
687

Gerd Moellmann's avatar
Gerd Moellmann committed
688 689 690
	* buff-menu.el (list-buffers-noselect): Don't display the
	*Buffer List* buffer.

Gerd Moellmann's avatar
Gerd Moellmann committed
691 692 693
	* font-lock.el: Require jit-lock to prevent a very late
	`Loading jit-lock' message.

Gerd Moellmann's avatar
Gerd Moellmann committed
694
	* emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
695
	* emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
Gerd Moellmann's avatar
Gerd Moellmann committed
696 697
	mail address.

Miles Bader's avatar
Miles Bader committed
698 699 700 701 702 703
2000-08-15  Miles Bader  <miles@gnu.org>

	* textmodes/ispell.el (ispell-graphic-p): New constant.
	(ispell-choices-win-default-height, ispell-help): Use
	`ispell-graphic-p' instead of `xemacsp'.

Dave Love's avatar
Dave Love committed
704 705
2000-08-15  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730
	* simple.el: Autoload widget-convert when compiling.
	(mail-user-agent): Doc fix.

	* help.el (function-called-at-point, variable-at-point): Use
	with-syntax-table.
	(help-manyarg-func-alist): Add insert-and-inherit.

	* thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.

	* delsel.el (delsel-unload-hook): New function.

	* find-file.el: Doc fixes.  Move provide to end.
	(ff) <defgroup>: Add :link.
	(ff-goto-click): Deleted.
	(ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
	Use mouse-set-point.

	* textmodes/tildify.el: Doc fixes.
	(tildify) <defgroup>: Add:version.

	* progmodes/glasses.el (glasses) <defgroup>: Add :version.
	(glasses-custom-set): Use set-default, not set.
	(minor-mode-alist): Propertize the lighter.
	(glasses-mode): Provide optional arg.

Dave Love's avatar
Dave Love committed
731 732 733 734 735 736 737 738 739 740
	* progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
	(global-cwarn-mode): Don't make it a user option.  Unquote lambda.
	(cwarn-font-lock-feature-keywords-alist): Don't make it a user
	option.  Provide :type.
	(cwarn-configuration): Provide :type.
	(cwarn-mode): Doc fix.

	* add-log.el (change-log-merge): Doc fix.
	(change-log-redate): New command.

Dave Love's avatar
Dave Love committed
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760
	* net/browse-url.el (browse-url-filename-alist): Add a clause for
	Doze and Dog.
	(browse-url): Use dolist, not mapcar.
	(browse-url-at-point): Check for null url.
	(browse-url-event-buffer, browse-url-event-point): Functions
	deleted.
	(browse-url-at-mouse, browse-url-netscape): Simplify.

	* msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
	modes.
	(msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
	Fix previous change to mapcan.
	(msb--init-file-alist, msb--add-separators)
	(msb--make-keymap-menu): Simplify.
	(msb--choose-file-menu): Use copy-sequence.
	(msb-mode-map): Add title to keymap.
	(msb-unload-hook): New function.

	* bs.el: Fix indentation.
	(bs) <defgroup>: Add :links.
Dave Love's avatar
Dave Love committed
761 762 763
	(bs-show): Doc fix.
	(bs-apply-sort-faces): Don't use window-system.
	(bs-mode-font-lock-keywords): Avoid testing for XEmacs.
Dave Love's avatar
Dave Love committed
764

Eli Zaretskii's avatar
Eli Zaretskii committed
765 766 767 768 769
2000-08-15  Eli Zaretskii  <eliz@is.elta.co.il>

	* calendar/timeclock.el (timeclock-file): Run .timelog through
	convert-standard-filename.

Gerd Moellmann's avatar
Gerd Moellmann committed
770 771
2000-08-14  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
772 773
	* emacs-lisp/authors.el: New file.

Gerd Moellmann's avatar
Gerd Moellmann committed
774 775 776
	* paren.el (show-paren-priority): New user option.
	(show-paren-function): Set overlay priorities to
	show-paren-priority.
777

Miles Bader's avatar
Miles Bader committed
778 779 780 781 782
2000-08-14  Miles Bader  <miles@gnu.org>

	* comint.el (comint-bol): Use `forward-line 0' instead of calling
	beginning-of-line with inhibit-field-text-motion bound.

Gerd Moellmann's avatar
Gerd Moellmann committed
783 784 785 786 787 788 789 790 791 792 793 794 795 796
2000-08-14  Gerd Moellmann  <gerd@gnu.org>

	* calendar/timeclock.el: New file.

2000-08-14  David Ponce  <david@dponce.com>

	* recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
	`widget-button-click'. so that one can use left mouse button to
	click on dialog buttons.

2000-08-14  Emmanuel Briot  <briot@gnat.com>

	* xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
        identifiers, since XML is case sensitive
797

798
2000-08-12  Miles Bader  <miles@gnu.org>
799

800 801
	* comint.el (comint-output-filter): Don't bother frobbing
	window-start, it doesn't seem to be necessary.
802 803 804 805

	* comint.el (comint-send-string, comint-send-region): Make into
	real functions.  Snapshot the prompt before sending.

806 807 808 809 810 811 812 813
2000-08-11  Eli Zaretskii  <eliz@is.elta.co.il>

	* info.el (Info-find-emacs-command-nodes): Rewrite to use
	technique similar to Info-index, instead of relying on specific
	names of relevant Index nodes.
	(Info-goto-emacs-command-node): Bind Info-history to nil when
	going to the first node found by Info-find-emacs-command-nodes.

814
2000-08-11  Eli Zaretskii  <eliz@is.elta.co.il>
815 816 817

	* menu-bar.el (menu-bar-help-menu): Add a :help string.

818 819 820 821
2000-08-10  Miles Bader  <miles@gnu.org>

	* comint.el (comint-output-filter): Doc fixes & misc code cleanup.

822 823 824 825 826 827
2000-08-10  Eli Zaretskii  <eliz@is.elta.co.il>

	* info.el (Info-file-list-for-emacs): More elements for the
	autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
	and woman manuals.

Miles Bader's avatar
Miles Bader committed
828 829 830 831 832 833 834 835 836 837 838 839 840
2000-08-10  Miles Bader  <miles@lsi.nec.co.jp>

	* comint.el (comint-send-input): Make the newline boundary overlay
	rear-nonsticky.  Use `insert' instead of `insert-before-markers'.
	(comint-output-filter): Use `insert' instead of
	`insert-before-markers'.  Extend comint-last-output-overlay when
	necessary since we can't rely on insert-before-markers to do it.
	* gud.el (gud-filter): Use `with-current-buffer' instead of
	save-excursion when inserting the output, so that point gets
	updated correctly; the old method relied on a rather dodgy
	side-effect of comint-output-filter to avoid the effect of
	save-excursion.

841 842 843 844 845
2000-08-10  Eli Zaretskii  <eliz@is.elta.co.il>

	* files.el (recover-file): Call insert-directory instead of
	invoking `ls' directly.

846 847 848 849 850 851 852 853 854 855 856 857 858 859
2000-08-10  Miles Bader  <miles@gnu.org>

	* comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
	(comint-last-prompt-overlay): New variables.
	(comint-output-filter): Implement prompt highlighting.
	(comint-snapshot-last-prompt): New function.
	(comint-send-input): Snapshot the last prompt.
	Use comint-highlight-input-face.
	(comint-highlight-input-face): Renamed from `comint-highlight-face'.
	Use defface instead of defcustom.
	(send-invisible, comint-send-eof): Snapshot the last prompt.
	(comint-delchar-or-maybe-eof): Use comint-send-eof.
	(comint-mode): Make `comint-last-prompt-overlay' buffer-local.

860 861
2000-08-09  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
862 863 864 865 866
	* emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
	(regexp-opt-group): Use a list of chars for `letters'.
	(regexp-opt-charset): `chars' is now a list of chars.
	Use a char-table rather than a vector so it works for multibyte chars.

867 868 869 870 871
	* pcvs.el (cvs-menu): Don't move point.  Use popup-menu.
	Set cvs-minor-current-files to the selected fileinfo.
	(cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
	(cvs-mode-insert): Manually macroexpand `ignore-errors'.

Eli Zaretskii's avatar
Eli Zaretskii committed
872 873 874 875 876
2000-08-09  Eli Zaretskii  <eliz@is.elta.co.il>

	* files.el (insert-directory): Don't call access-file on
	directories on DOS and Windows.

Kenichi Handa's avatar
Kenichi Handa committed
877 878 879 880 881 882 883
2000-08-09  Kenichi Handa  <handa@etl.go.jp>

	* international/ccl.el (ccl-embed-data): Make ccl-program-vector
	longer if necessary.
	(ccl-embed-code): Call ccl-embed-data to store CODE in
	ccl-program-vector.

Miles Bader's avatar
Miles Bader committed
884 885 886 887 888
2000-08-09  Miles Bader  <miles@gnu.org>

	* comint.el (comint-output-filter): Properly handle the case where
	the text surrounded by comint-last-output-overlay was deleted.

Gerd Moellmann's avatar
Gerd Moellmann committed
889 890
2000-08-08  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911
	* info.el (Info-insert-dir): Use Info-additional-directory-list if
	non-nil.
	(Info-file-list-for-emacs): Remove "info" from the list because
	that leads to trying to use the documentation from file `info'
	in various situations where it isn't appropriate, for instance
	C-h C-k C-h i.

	* ffap.el (ffap-read-file-or-url-internal): Handle case that
	DIR and/or STRING are nil.

	* progmodes/compile.el (compilation-setup): Make variable
	compilation-error-screen-columns buffer-local, as some comment
	in the code suggests it should be.

	* files.el (auto-mode-interpreter-regexp): New variable.
	(set-auto-mode): Use it.

	* indent.el (indent-for-tab-command): Doc fix.

	* mouse-sel.el (mouse-sel-mode): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
912 913 914 915 916 917 918
	* emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
	labels.

	* help.el (print-help-return-message): When
	display-buffer-reuse-frames is set, let the help window been quit,
	instead of deleting it, which might delete a reused frame.

Eli Zaretskii's avatar
Eli Zaretskii committed
919 920 921 922 923
2000-08-08  Eli Zaretskii  <eliz@is.elta.co.il>

	* dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
	rename a directory to a name that differs only by its letter case.

Kenichi Handa's avatar
Kenichi Handa committed
924 925 926 927 928 929 930 931 932
2000-08-08  Kenichi Handa  <handa@etl.go.jp>

	* international/quail.el (quail-define-rules): Handle Quail decode
	map correctly.  Add code for supporting annotations.
	(quail-install-decode-map): New function.
	(quail-defrule-internal): New optional arguments decode-map and
	props.
	(quail-advice): New function.

933 934 935 936 937 938
2000-08-07  Sam Steingold  <sds@gnu.org>

	* emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
	`defconst', `define-condition', `with-slots'.
	* font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.

Miles Bader's avatar
Miles Bader committed
939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987
2000-08-03  Miles Bader  <miles@gnu.org>

	* comint.el (comint-use-prompt-regexp-instead-of-fields):
	New variable.
	(comint-prompt-regexp, comint-get-old-input): Document dependence on
	comint-use-prompt-regexp-instead-of-fields.
	(comint-send-input): Add `input' field property to stuff we send to
	the process, if comint-use-prompt-regexp-instead-of-fields is nil.
	(comint-output-filter): Add `output' field property to process
	output, if comint-use-prompt-regexp-instead-of-fields is nil.
	(comint-replace-by-expanded-history)
	(comint-get-old-input-default, comint-show-output)
	(comint-backward-matching-input, comint-forward-matching-input)
	(comint-next-prompt, comint-previous-prompt):  Use field
	properties if comint-use-prompt-regexp-instead-of-fields is nil.
	(comint-line-beginning-position): New function.
	(comint-bol): Use comint-line-beginning-position.  Make ARG optional.
	(comint-replace-by-expanded-history-before-point): Use
	comint-line-beginning-position and line-end-position.
	(comint-last-output-overlay): New variable.
	(comint-mode): Make `comint-last-output-overlay' buffer-local.

	* shell.el (shell-prompt-pattern): Doc change.
	(shell-backward-command): Use line-beginning-position.

	* gud.el (gud-gdb-complete-command): Use
	comint-line-beginning-position.

	* ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
	comint-bol doesn't actually go to the beginning of the line.

	* hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
	if comint-use-prompt-regexp-instead-of-fields is non-nil.
	(try-expand-line-all-buffers): Likewise.

	* progmodes/sql.el (sql-magic-go): Use comint-bol instead of
	explicitly matching comint-prompt-regexp.
	(sql-copy-column): Use comint-line-beginning-position instead of
	explicitly matching comint-prompt-regexp.

	* progmodes/octave-inf.el (inferior-octave-complete): Use
	comint-line-beginning-position.

	* progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.

	* progmodes/idlw-shell.el (idlwave-shell-send-command): When
	looking for a prompt, use `forward-line 0' instead of
	`beginning-of-line', to avoid getting caught by an input field.

988 989 990 991 992
2000-08-07  Gerd Moellmann  <gerd@gnu.org>

	* files.el (shell-quote-wildcard-pattern): Make sure to return
	PATTERN, in the Unix case.

Eli Zaretskii's avatar
Eli Zaretskii committed
993 994 995 996 997
2000-08-07  Eli Zaretskii  <eliz@is.elta.co.il>

	* play/zone.el (zone): Discard any pending input before running
	the randomly-chosen pgm.

Kenichi Handa's avatar
Kenichi Handa committed
998 999 1000 1001 1002
2000-08-07  Kenichi Handa  <handa@etl.go.jp>

	* emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
	checking the existence of any multibyte characters.

Gerd Moellmann's avatar
Gerd Moellmann committed
1003 1004
2000-08-06  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1005 1006 1007
	* help.el (describe-mode): Test minor-mode symbol for being
	bound before testing its value for being nil.

Gerd Moellmann's avatar
Gerd Moellmann committed
1008 1009 1010 1011 1012 1013
	* pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
	`first', `second', and `third'.

	* emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
	(second): Make it an alias for `cadr'.

1014 1015 1016 1017 1018
2000-08-06  Eli Zaretskii  <eliz@is.elta.co.il>

	* bs.el (bs-apply-sort-faces): Don't use window-system, since all
	types of display support faces now.

Gerd Moellmann's avatar
Gerd Moellmann committed
1019 1020 1021 1022 1023 1024 1025 1026 1027
2000-08-05  Gerd Moellmann  <gerd@gnu.org>

	* pcvs.el (require): Require `cl' during compilation, only.

	* emacs-lisp/cl.el (first, ..., tenth): Make them macros.
	(toplevel): Remove `remq' and `remove' from autoloads.
	(cl-fake-autoloads): New variable.  If set, arrange for an error
	when CL functions etc. are autoloaded.

Eli Zaretskii's avatar
Eli Zaretskii committed
1028 1029
2000-08-04  Eli Zaretskii  <eliz@is.elta.co.il>

1030 1031
	* play/zone.el (zone, zone-pgm-stress): Don't use window-system.

Eli Zaretskii's avatar
Eli Zaretskii committed
1032 1033 1034 1035
	* hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
	popped up, but the user clicks outside the menu, return an empty
	regexp (that causes unhighlight-regexp to have no effect).

Eli Zaretskii's avatar
Eli Zaretskii committed
1036 1037
	* menu-bar.el (menu-bar-games-menu): Add Zone.

Eli Zaretskii's avatar
Eli Zaretskii committed
1038 1039
	* hi-lock.el (toplevel): Require font-lock.

Gerd Moellmann's avatar
Gerd Moellmann committed
1040 1041
2000-08-03  Vinicius Jose Latorre  <vinicius@cpqd.com.br>

1042
	* progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
Gerd Moellmann's avatar
Gerd Moellmann committed
1043 1044 1045
	(ebnf-8-bit-chars): New var for bug fix.
	(ebnf-string): Bug fix.

1046 1047 1048 1049 1050 1051 1052 1053
2000-08-03  Sam Steingold  <sds@gnu.org>

	* pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
	instead of `buffer-string'.
	(require 'cl): Always, not just when compiling.
	`ignore-errors' in `interactive', `list*', `defun*' &c make this
	necessary.

1054 1055 1056 1057 1058
2000-08-03  Eli Zaretskii  <eliz@is.elta.co.il>

	* international/mule-cmds.el (select-safe-coding-system): Make
	the message text about selecting a safe coding system more clear.

Gerd Moellmann's avatar
Gerd Moellmann committed
1059 1060
2000-08-02  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1061 1062 1063 1064
	* hi-lock.el: New file.

	* play/zone.el: New file.

Gerd Moellmann's avatar
Gerd Moellmann committed
1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078
	* replace.el (occur): Set tab-width in the *Occur* buffer to the
	value of tab-width in the original buffer.  Choose a line number
	format that's a multiple of the original buffer's tab width, so
	that lines appear right.

	* textmodes/ispell.el (ispell): New function, replacing an alias.
	Spell-check active region if in transient-mark-mode and mark
	is active; otherwise spell-check buffer.

2000-08-02  Vinicius Jose Latorre  <vinicius@cpqd.com.br>

	* ps-mule.el: Fix a customization problem on
	ps-mule-font-info-database-default.

1079 1080 1081 1082 1083 1084
2000-08-02  Eli Zaretskii  <eliz@is.elta.co.il>

	* progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
	display-mouse-p instead of window-system.
	(ebrowse-member-mode-map): Ditto.

1085 1086
2000-08-01  Vinicius Jose Latorre  <vinicius@cpqd.com.br>

1087 1088
	* progmodes/ebnf2ps.el: Update ps-print functions call.
	Indentation fix.  Doc fix.
1089 1090
	(ebnf-version): New version number (3.2).
	(ebnf-format-color, ebnf-begin-job): Code fix.
1091

1092 1093
2000-08-01  Eli Zaretskii  <eliz@is.elta.co.il>

1094 1095 1096 1097
	* net/net-utils.el (nslookup-font-lock-keywords): Don't condition
	font lock support on window-system.
	(ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.

1098 1099 1100
	* textmodes/ispell.el (ispell-highlight-spelling-error): Use
	display-color-p, if fboundp, instead of window-system.

1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126
2000-07-31  Eli Zaretskii  <eliz@is.elta.co.il>

	* calendar/appt.el (appt-disp-window): Use display-multi-frame-p
	instead of window-system.

	* wid-edit.el (widget-choose): Use display-mouse-p instead of
	window-system.
	(widget-choice-mouse-down-action): Use display-popup-menus-p
	instead of window-system.

	* strokes.el (strokes-file): Run the file name through
	convert-standard-filename.
	(strokes-mode): Call display-mouse-p instead of looking at
	window-system.  Change the error message accordingly.

	* progmodes/cpp.el (toplevel): Support faces on tty's.

	* play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
	(lm-plot-square, lm-init-display): Don't use window-system.

	* play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
	(gomoku-plot-square, gomoku-init-display): Don't use window-system.

	* mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
	instead of looking at window-system.

1127 1128 1129 1130 1131 1132 1133
2000-07-30  Gerd Moellmann  <gerd@gnu.org>

	* iswitchb.el (iswitchb-entryfn-p): Test this-command instead
	of testing if iswitchb-prepost-hooks is bound, because the
	latter will always be true when invoking a recursive minibuffer
	from an active Iswitchb buffer.

1134 1135 1136 1137 1138 1139
2000-07-30  Eli Zaretskii  <eliz@is.elta.co.il>

	* files.el (shell-quote-wildcard-pattern): New function.
	(insert-directory): Call it.  Only prepend "\" to command on Unix
	and GNU/Linux systems.

Gerd Moellmann's avatar
Gerd Moellmann committed
1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168
2000-07-30  Gerd Moellmann  <gerd@gnu.org>

	* eshell/esh-groups.el: Change custom :link file names
	from `eshell.info' to `eshell'.

2000-07-30  Francis Wright  <fjw@maths.qmw.ac.uk>

	* dired.el (dired-build-subdir-alist): Expand subdirectory names
	correctly in recursive ange-ftp listings.

2000-07-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>

	* ps-print.el: Fix bug 1: if ps-font-size-internal,
	ps-header-font-size-internal and
	ps-header-title-font-size-internal variables are not set,
	ps-nb-pages and ps-line-lengths-internal crashes.  Fix bug 2: if
	face text property is (foreground-color . COLOR) or
	`(background-color . COLOR)', ps-print crashes.  Doc fix.
	(ps-print-version): New version number (5.2.4).
	(ps-plot-region): Code fix.
	(ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
	(ps-face-attribute-list, ps-face-attributes, ps-face-background):
	Bug fix 2.

2000-07-30  Milan Zamazal  <pdm@freesoft.cz>

	* glasses.el (glasses-make-readable): Fix uncapitalization of
	identifiers like `myXMLDocument'.

1169 1170
2000-07-28  Karl Fogel  <kfogel@red-bean.com>

Gerd Moellmann's avatar
Gerd Moellmann committed
1171 1172 1173
	* mail/mail-hist.el (mail-hist-previous-input)
	(mail-hist-next-input): Do the obvious code factorization.
	(mail-hist-retrieve-and-insert): New func, contains common
1174 1175 1176
	code of above two.
	If inserting a message body, leave point at top.

1177 1178 1179
2000-07-28  Sam Steingold  <sds@gnu.org>

	* net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
Gerd Moellmann's avatar
Gerd Moellmann committed
1180 1181
	Use `<=', not `<' to compare times!
	(ange-ftp-ls): Remove.
1182

Gerd Moellmann's avatar
Gerd Moellmann committed
1183 1184
2000-07-27  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1185 1186 1187 1188 1189
	* play/cookie1.el: Add explanation of how to make cookie.el
	compatible with strfile(1) to comment.

	* subr.el (remove, remq): New functions.

Gerd Moellmann's avatar
Gerd Moellmann committed
1190 1191 1192 1193 1194 1195 1196 1197
	* midnight.el (clean-buffer-list-kill-never-regexps): Correctly
	escape `*' in regexps.
	(midnight-find): Reverse order of arguments in the funcall of
	TEST.

	* bindings.el (completion-ignored-extensions): Add `.la', `.lo',
	and `.class'.

Gerd Moellmann's avatar
Gerd Moellmann committed
1198 1199
	* play/meese.el: Add Commentary section.

Gerd Moellmann's avatar
Gerd Moellmann committed
1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231
2000-07-27  Alex Schroeder  <alex@gnu.org>

	* sql.el (sql-ms): Added autoload cookie.
	(sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
	(sql-oracle): Ditto.
	(sql-help): Doc change.

	(sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
	types and exceptions.

2000-07-27  Alex Schroeder  <alex@gnu.org>

	* sql.el (sql-placeholder-history): New variable.
	(sql-query-placeholders-and-send): New function that will query
	the user and replace placeholders with user input.
	(sql-oracle): If running on NT, set comint-input-sender to
	sql-query-placeholders-and-send.

	(sql-stop): If in the SQLi buffer, insert stop notification, else
	present it as a message.

2000-07-27  Alex Schroeder  <alex@gnu.org>

	* sql.el (sql-input-ring-separator): Doc change.
	(sql-input-ring-file-name): Doc change.
	(sql-interactive-mode): Use `sql-input-ring-separator' and
	`sql-input-ring-file-name' to set the comint-mode equivalents
	without making them local variables.
	(sql-stop): Don't bind `sql-input-ring-separator' and
	`sql-input-ring-file-name' dynamically to their comint-mode
	equivalents.

Kenichi Handa's avatar
Kenichi Handa 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 1263 1264 1265 1266 1267 1268
2000-07-27  Kenichi Handa  <handa@etl.go.jp>

	* international/mule.el (register-char-codings): New function.
	(make-coding-system): Handle `safe-chars' specification in the arg
	PROPERTY.

	* international/mule-cmds.el
	(find-coding-systems-region-subset-p): This function deleted.
	(sort-coding-systems-predicate): New variable.
	(sort-coding-systems): New function.
	(find-coding-systems-region): Use
	find-coding-systems-region-internal.
	(find-coding-systems-string): Use find-coding-systems-region.
	(find-coding-systems-for-charsets): Check
	char-coding-system-table.
	(select-safe-coding-system-accept-default-p): New variable.
	(select-safe-coding-system): Mostly rewritten.  New argument
	ACCEPT-DEFAULT-P.
	(select-message-coding-system): Call select-safe-coding-system
	with ACCEPT-DEFAULT-P arg.
	(reset-language-environment): Reset default-sendmail-coding-system
	to the default value iso-latin-1.
	(set-language-environment): Don't set the obsolete variable
	charset-origin-alist.

	* international/codepage.el (cp-coding-system-for-codepage-1):
	Give `safe-chars' property to make-coding-system.

	* mail/sendmail.el (sendmail-send-it): Improve the way to avoid
	calling select-message-coding-system twice.

	* language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
	instead of `safe-charsets'.
	(cyrillic-alternativnyj): Likewise.
	(ccl-encode-alternativnyj): Don't check the charset
	cyrillic-iso8859-5.

Kenichi Handa's avatar
Kenichi Handa committed
1269 1270 1271 1272
2000-07-27  Kenichi Handa  <handa@etl.go.jp>

	* composite.el (compose-chars-after): Preserve match data.

Sam Steingold's avatar
Sam Steingold committed
1273 1274 1275 1276 1277 1278 1279 1280 1281 1282
2000-07-26  Sam Steingold  <sds@gnu.org>

	* net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
	(ange-ftp-real-file-newer-than-file-p): New function.
	(ange-ftp-verify-visited-file-modtime): Use `float-time'.
	(ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').

	* tooltip.el (tooltip-float-time): Removed (use `float-time').
	* midnight.el (midnight-float-time): Ditto.

Andreas Schwab's avatar
.  
Andreas Schwab committed
1283 1284 1285 1286 1287
2000-07-26  Andreas Schwab  <schwab@suse.de>

	* files.el (normal-backup-enable-predicate): Correct
	interpretation of the return value of compare-strings.

1288 1289
2000-07-26  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1290 1291 1292 1293 1294 1295
	* isearch.el (isearch-resume): New function.
	(isearch-done): Add something to command-history to resume
	the search.
	(isearch-yank-line, isearch-yank-word): Use
	buffer-substring-no-properties instead of buffer-substring.

1296 1297 1298 1299 1300 1301 1302 1303 1304 1305
	* textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
	of flyspell-mouse-map.

	* progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
	duplicate definition.
	(makefile-mode): Remove duplicate setting of local-abbrev-table.

	* progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
	(m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.

1306 1307
2000-07-25  Sam Steingold  <sds@gnu.org>

Sam Steingold's avatar
Sam Steingold committed
1308 1309
	* net/ange-ftp.el: Get modtime over the net.
	(ange-ftp-file-modtime): New function.
Gerd Moellmann's avatar
Gerd Moellmann committed
1310 1311
	(ange-ftp-write-region, ange-ftp-insert-file-contents)
	(ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
Sam Steingold's avatar
Sam Steingold committed
1312 1313 1314 1315
	Use it.
	(ange-ftp-dot-to-slash): New function.
	(ange-ftp-fix-name-for-vms): Use it.

1316 1317 1318
	* midnight.el (midnight-buffer-display-time): Use
	`with-current-buffer'.

1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330
2000-07-25  Gerd Moellmann  <gerd@gnu.org>

	* find-dired.el: Update copyright notice.
	(find-dired): Offer to kill a running `find'.

	* enriched.el (enriched-face-ans): For a `foreground-color'
	property, return '(("x-color" COLOR))' so that COLOR will be
	output as a parameter of the x-color annotation.  Likewise for the
	`background-color' property.  In the case of normal face
	properties, don't return annotations for unspecified foreground
	and background face attributes.

Kenichi Handa's avatar
Kenichi Handa committed
1331 1332 1333 1334 1335
2000-07-25  Kenichi Handa  <handa@etl.go.jp>

	* language/japan-util.el (japanese-katakana-region): Fix handling
	HANKAKU argument.

Miles Bader's avatar
Miles Bader committed
1336 1337 1338 1339 1340 1341
2000-07-25  Miles Bader  <miles@gnu.org>

	* simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
	constrain-to-field.  Pass nil ESCAPE-FROM-EDGE argument to
	constrain-to-field.

Andrew Innes's avatar
Andrew Innes committed
1342 1343 1344 1345 1346 1347 1348 1349 1350 1351
2000-07-24  Andrew Innes  <andrewi@gnu.org>

	* timer.el (timer-activate-when-idle): Add optional parameter
	DONT-WAIT.  Update docstring.
	(run-with-idle-timer): Specify extra parameter to
	timer-activate-when-idle, so that timer will be activated
	immediately if Emacs is already idle.

	* w32-fns.el (w32-using-nt): Fix docstring.

Dave Love's avatar
Dave Love committed
1352 1353 1354 1355 1356
2000-07-24  Dave Love  <fx@gnu.org>

	* mouse.el (popup-menu): Set last-command-event.
	(mouse-major-mode-menu-prefix): Declare.

Gerd Moellmann's avatar
Gerd Moellmann committed
1357 1358 1359 1360 1361 1362 1363 1364 1365
2000-07-24  Gerd Moellmann  <gerd@gnu.org>

	* textmodes/flyspell.el: Update to author's version 1.5d.

	* progmodes/hideshow.el: Update copyright notice.

	* vcursor.el: Set maintainer to FSF, since author cannot
	be reached.

1366 1367
2000-07-24  Eli Zaretskii  <eliz@is.elta.co.il>

Eli Zaretskii's avatar
Eli Zaretskii committed
1368 1369 1370
	* info.el (Info-goto-emacs-key-command-node): Leave a space after
	the prompt.

1371 1372 1373 1374 1375 1376 1377 1378
	* mouse.el (popup-menu): Run the keymap through indirect-function,
	in case it was defined with define-prefix-key.  If the menu is a
	list of keymaps, look up the binding of user's choice in each one
	of the keymaps.
	(mouse-popup-menubar): If the global and local menu-bar keymaps
	don't have a prompt string, create one and insert it into the
	keymap.  Don't barf if current-local-map returns nil.

Gerd Moellmann's avatar
Gerd Moellmann committed
1379 1380 1381 1382 1383 1384
2000-07-24  Francis Wright  <fjw@maths.qmw.ac.uk>

	* dired.el (dired-sort-R-check): Added to allow recursive listing
	to be undone.
	(dired-sort-other): Use it.

Gerd Moellmann's avatar
Gerd Moellmann committed
1385 1386
2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1387
	* Release of cc-mode 5.27
Gerd Moellmann's avatar
Gerd Moellmann committed
1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
	c-beginning-of-statement-1 that caused a bad case of recursion
	which could consume a lot of CPU in large classes in languages
	that have in-expression classes (i.e. Java and Pike).

	* cc-engine.el (c-guess-basic-syntax): Check for in-expression
	statements before top level constructs (i.e. case 6 is moved
	before case 5 and is now case 4) to catch in-expression
	classes in top level expressions correctly.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-engine.el (c-guess-basic-syntax): Less naive handling of
	objc-method-intro. Case 4 removed and case 5I added.

	* cc-langs.el (c-append-paragraph-start): New variable used by
	c-common-init to get paragraph-start correct.
	* cc-langs.el (c-common-init): Use c-append-paragraph-start to
	initialize paragraph-start to make it correct both with and
	without the javadoc special case.

	* cc-mode.el (java-mode): Use c-append-paragraph-start to
	initialize paragraph-start for javadoc markup.

	* cc-vars.el (c-style-variables-are-local-p): Incompatible
	change by defaulting this to t.  It's motivated by the
	confusing behavior that otherwise arise from the style system
	when editing both java and non-java files at the same time
	(see the comments about style setting in c-common-init).

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-indent-new-comment-line): Added a kludge
	similar to the one in c-fill-paragraph to check the fill
	prefix from the adaptive fill function for sanity.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
	defun block.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

1434
	* cc-mode.texi Documented the change of cpp-macro.
Gerd Moellmann's avatar
Gerd Moellmann committed
1435 1436 1437 1438 1439 1440 1441

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-align.el (c-lineup-multi-inher): Handle lines with
	leading comma nicely. Extended to handle member initializers
	too.

Gerd Moellmann's avatar
Gerd Moellmann committed
1442
	* cc-engine.el: (c-beginning-of-inheritance-list,
Gerd Moellmann's avatar
Gerd Moellmann committed
1443 1444 1445
	c-guess-basic-syntax): Fixed recognition of inheritance lists
	when the lines begins with a comma.

1446
	* cc-mode.texi: Updated doc for c-lineup-multi-inher.
Gerd Moellmann's avatar
Gerd Moellmann committed
1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 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 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590

	* cc-vars.el (c-offsets-alist): Changed default for
	member-init-cont to c-lineup-multi-inher since it now handles
	member initializers and indents better for leading commas.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-electric-brace): Fixed some bugs in the state
	handling that caused class open lines to be recognized as
	statement-conts in some cases.

	* cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
	guessed by the adaptive fill function unless point is on the
	first line of a block comment.

	* cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
	when the buffer ends with a macro continuation char.

	* cc-engine.el (c-guess-basic-syntax): Added support for
	function definitions as statements in Pike.  The first
	statement in a lambda block is now labeled defun-block-intro
	instead of statement-block-intro.

	* cc-engine.el (c-narrow-out-enclosing-class): Whack the state
	so that the class surrounding point is selected, not the one
	innermost in the state.

	* cc-engine.el (c-guess-basic-syntax): Fixed bug in
	recognition of switch labels having hanging multiline
	statements.

	* cc-engine.el (c-beginning-of-member-init-list): Broke out
	some code in c-guess-basic-syntax to a separate function.
	* cc-engine.el (c-just-after-func-arglist-p): Fixed
	recognition of member inits with multiple line arglists.
	* cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
	member-init-cont when the commas are in funny places.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-defs.el (c-auto-newline): Removed this macro since it's
	not used anymore.

	* cc-engine.el (c-looking-at-bos): New helper function.
	* cc-engine.el (c-looking-at-inexpr-block): More tests to tell
	inexpr and toplevel classes apart in Pike.

	* cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
	of case 9A.

	* cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
	constant, since "class" can introduce an in-expression class
	in Pike nowadays.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-align.el (c-gnu-impose-minimum): Don't impose minimum
	indentation on cpp-macro lines.

	* cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
	a syntax modifier like comment-intro, to make it possible to
	get syntactic indentation for preprocessor directives.  It's
	incompatible wrt to lineup functions on cpp-macro, but it has
	no observable effect in the 99.9% common case where cpp-macro
	is set to -1000.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
	member-init-cont when the preceding arglist is several lines.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-styles.el (c-style-alist): The basic offset for the BSD
	style corrected to 8.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-styles.el (c-style-alist): Adjusted the indentation of
	brace list openers in the gnu style.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.

	* cc-cmds.el (c-electric-brace, c-electric-slash,
	c-electric-star, c-electric-semi&comma, c-electric-colon,
	c-electric-lt-gt, c-electric-paren): Don't reindent old lines
	when c-syntactic-indentation is nil.

	* cc-engine.el (c-beginning-of-statement-1): Fixed bug where
	we were left at comments preceding the first statement when
	reaching the beginning of the buffer.

	* cc-vars.el (c-syntactic-indentation): New variable to turn
	off all syntactic indentation.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-fill-paragraph): Keep one or two spaces
	between the text and the block comment ender when it hangs,
	depending on how many there are before the fill.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-engine.el (c-beginning-of-closest-statement): New helper
	function to go back to the closest preceding statement start,
	which could be inside a conditional statement.
	* cc-engine.el (c-guess-basic-syntax): Use
	c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.

	* cc-engine.el (c-guess-basic-syntax): Better handling of
	arglist-intro, arglist-cont-nonempty and arglist-close when
	the arglist is nested inside parens.  Cases 7A, 7C and 7F
	changed.

	* cc-langs.el (c-Java-javadoc-paragraph-start): Brought
	up-to-date with javadoc 1.2.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-engine.el (c-beginning-of-statement-1): Fixed handling of
	multiline Pike type decls.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-indent-new-comment-line): Always break
	multiline comments in multiline mode, regardless of
	comment-multi-line.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-engine.el (c-guess-basic-syntax): Fixed bug with
	fully::qualified::names in C++ member init lists.  Preamble in
	case 5D changed.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-langs.el (c-common-init): Handling of obsolete variables
	moved to c-initialize-cc-mode.  More compatible style override
	when using global style variables.
	* cc-mode.el (c-initialize-cc-mode): Handling of obsolete
	variables moved here.

Gerd Moellmann's avatar
Gerd Moellmann committed
1591
	* cc-mode.texi: Documented the special behavior of
Gerd Moellmann's avatar
Gerd Moellmann committed
1592 1593 1594
	c-special-indent-hook as a style variable.  Don't talk about
	doing (c-make-styles-buffer-local t) in a mode hook, since
	that's already too late to work right.
1595

Gerd Moellmann's avatar
Gerd Moellmann committed
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796
	* cc-styles.el (c-make-styles-buffer-local): Flag style
	variable localness in c-style-variables-are-local-p to make
	the compatibility measure in c-common-init work well.

	* cc-styles.el (c-set-style-1): c-special-indent-hook can no
	longer contain set-from-style.
	* cc-styles.el (c-initialize-builtin-style): Don't check for
	set-from-style on c-special-indent-hook.
	* cc-styles.el (c-copy-tree): Obsolete.  The standard function
	copy-alist is sufficient now.

	* cc-styles.el (c-set-style, c-set-style-1,
	c-get-style-variables): Fixes to variable initialization so
	that duplicate entries in styles have the same effect
	regardless of DONT-OVERRIDE.

	* cc-styles.el (c-set-style-2): Fixed bug where the
	initialization of inheriting styles failed when the
	dont-override flag is set.

	* cc-vars.el (c-special-indent-hook): Don't use set-from-style
	on this.

2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-defs.el (c-forward-comment): Removed the workaround
	introduced in 5.38 since it had worse side-effects.  If a line
	contains the string "//\"", it regarded the // as a comment
	start since the \ temporarily doesn't have escape syntax.

2000-07-17 Emmanuel Briot <briot@act-europe.fr>

	* ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
	ada-xref.el before ada-prj.el, so that the Project menu is created
	when ada-prj tries to add to it.
	(ada-activate-keys-for-case): Suppress the characters that are not
	part of the Ada syntax. Better compatibility with else-mode
	(ada-adjust-case-interactive): When auto-casing is not active,
	correctly insert newlines (used to insert only ^M).  Prevent the
	syntax table from being changed in case of an error
        (or '_' becomes part of a word and some commands are confused).
	Do nothing if ada-auto-case is nil.
	(ada-after-keyword-p): Ignore keywords that are also attributes
	(ada-batch-reformat): Update usage comment
	(ada-call-from-contextual-menu): New function
	(ada-case-read-exceptions): Reinitialize the casing exception list
	first to nil first, so that the casing exception file can be
	shared.
	(ada-check-defun-name): Handles "configure" keyword for gnatdist
	files.
	(ada-compile-goto-error): Fix regexp used to detect a file:line
	anywhere in the error message
	(ada-contextual-menu-last-point): New variable
	(ada-create-keymap): If the variable delete-key-deletes-forward is
	t on XEmacs, it means that DEL should delete one character
	forward.
	(ada-create-menu): Use :included instead of :visible for XEmacs.
	New submenu "Options".
	(ada-end-stmt-re): Correctly indent "select ... then abort"
	statements.
	(ada-fill-comment-paragraph): Correctly delete all leading '--'
	even if they don't match ada-fill-comment-prefix Fix handling of
	paragraphs on the first or last line of a file.
	(ada-format-paramlist): Fix handling of default parameter values.
	(ada-get-body-name): New function.
	(ada-get-current-indent): Optimized by searchling directly for an
	existing generic part or a statement outside of it.  Handle
	ada-indent-align-comments when indenting comments Replaced some
	regexps by testing directly the next character. This results in a
	huge speedup on some files.  New indentation scheme for renames
	statements.  Stop looking for the 'while' or 'for' associated with
	a 'loop' at the first semicolon encountered.  A "return" can also
	match an anonymous access subprogram declaration.
	(ada-get-indent-noindent): Ignore strings and comments when
	looking for the keywords "record" and "private".
	(ada-goto-matching-decl-start): When matching "if", make sure we
	are not in fact seeing "end if".  Ignore "when" statements except
	when initial keyword was "begin".  Fix handling of nested
	procedures.  Add a recursive call to this function to skip over
	other 'end' statmts.  Fix indentation for "when .. => begin"
	(ada-in-open-paren-p): Fix indentation for complex boolean
	expressions, where 'and then', 'or else' and parenthesis
	statements are mixed up.
	(ada-in-paramlist-p): Skip comments while searching for the
	beginning Fix handling of operator declarations.
	(ada-indent-align-comments): New variable
	(ada-indent-current): Change the syntax table only in the
	protected section, so that we are sure it is restored correctly.
	(ada-indent-on-previous-lines): Use ada-use-indent and
	ada-with-indent Correctly indent "select ... then"
	(ada-indent-region): Slight speedup.
	(ada-indent-renames): New variable.
	(ada-last-which-function-subprog, ada-last-which-function-line):
	New variables
	(ada-looking-at-semi-private): Correctly indent the 'private'
	keyword when it is the first word in a package declaration.
	(ada-loose-case-word): Stop searching if at the end of the buffer.
	(ada-loose-case-word, ada-capitalize-word): Recase the whole word
	even if point is not initially at the end of the word.
	(ada-matching-decl-start-re): Add "when".
	(ada-mode): Add support for abbrev-mode, outline-mode and
	which-func-mode Override the old find-file.el entry in
	ff-special-constructs since it is using the obsolete
	ada-spec-suffix variable
	(ada-no-auto-case): New function
	(ada-scan-paramlist): When parsing the argument type, accept
	spaces (as in "X 'Class", generated by Rational Rose).
	(ada-other-file-name): No longer loads the other file.
	(ada-popup-menu): Save and restore the current buffer and cursor
	position before and after displaying the menu.
	(ada-search-ignore-complex-boolean): New function.
	(ada-uncomment-region): Emacs21 already knows how to delete
	comments not starting in the first column.
	(ada-use-indent): New variable
	(ada-which-function): New function.
	(ada-with-indent): New variable
	(ada-xemacs): evaluate it at compile time too, so that ada-mode.el
	can be batch-compiled from the command line.

	* ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
	Add to the menu when the file is loaded, not in ada-mode-hook.
	Add -toolbar to the default ddd command Switches moved from
	ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
	ada-prj-default-comp-opt
	(ada-add-ada-menu): Remove the map and name parameters Add the Ada
	Reference Manual to the menu
	(ada-check-current): rewritten as a call to ada-compile-current
	(ada-compile): Removed.
	(ada-compile-application, ada-compile-current, ada-check-current):
	Set the compilation-search-path so that compile.el automatically
	finds the sources in src_dir.  Automatic scrollong of the
	compilation buffer.  C-uC-cC-c asks for confirmation before
	compiling
	(ada-compile-current): New parameter, prj-field
	(ada-complete-identifier): Load the .ali file before doing
	processing
	(ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
	conform to gnatmake's behavior.
	(ada-find-file-in-dir): New function
	(ada-find-references): Set the environment variables for gnatfind
	(ada-find-src-file-in-dir): New function.
	(ada-first-non-nil): Removed
	(ada-gdb-application): Add support for jdb, the java debugger.
	(ada-get-ada-file-name): Load the original-file first if not done
	yet.
	(ada-get-all-references): Handles the new ali syntax (parent types
	are found between <>).
	(ada-initialize-runtime-library): New function
	(ada-mode-hook): Always load a project file when a file is opened,
	so that the casing exceptions are correctly read.
	(ada-operator-re): Add all missing operators ("abs", "rem", "**").
	(ada-parse-prj-file): Use find-file-noselect instead of find-file
	to open the project file, since the latter does not work with
	speedbar Get default values before loading the prj file, or the
	default executable file name is wrong.  Use the absolute value of
	src_dir to initialize ada-search-directories and
	compilation-search-path,...  Add the standard runtime library to
	the search path for find-file.
	(ada-prj-default-debugger): Was missing an opening '{'
	(ada-prj-default-bind-opt, ada-prj-default-link-opt): New
	variables.
	(ada-prj-default-gnatmake-opt): New variable
	(ada-prj-find-prj-file): Handles non-file buffers For non-Ada
	buffers, the project file is the default one Save the windows
	configuration before displaying the menu.
	(ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
	(ada-read-identifier): Fix xrefs on operators (for "mod", "and",
	...)  regexp-quote identifiers names to support operators +,
	-,... in regexps.
	(ada-remote): New function.
	(ada-run-application): Erase the output buffer before starting the
	run Support remote execution of the application.  Use
	call-process, or the arguments are incorrectly parsed
	(ada-set-default-project-file): Reread the content of the active
	project file, not the one from the current buffer When a project
	file is set as the default project, all directories are
	automatically associated with it.
	(ada-set-environment): New function
	(ada-treat-cmd-string): New special variable ${current}
	(ada-treat-cmd-string): Revised.  The substitution is now done for
	any ${...} substring
	(ada-xref-current): If no body was found, compiles the spec
	instead.  Setup ADA_{SOURCE,OBJECTS}_PATH before running the
	compiler to get rid of command line length limitations.
	(ada-xref-get-project-field): New function
	(ada-xref-project-files): New variable
	(ada-xref-runtime-library-specs-path)
	(