ChangeLog 247 KB
Newer Older
1 2 3 4
2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>

	* info.el (Info-directory-list): Doc fix.

Peter Breton's avatar
Peter Breton committed
5 6 7 8 9
2000-08-31  Peter Breton  <pbreton@ne.mediaone.net>

	* filecache.el (file-cache-add-directory-using-find): Don't quote 
	wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.

Kenichi Handa's avatar
Kenichi Handa committed
10 11 12 13 14
2000-08-31  Kenichi Handa  <handa@etl.go.jp>

	* help.el (help-make-xrefs): Don't make hyperlinks for incorrect
	coding systems.

Andrew Innes's avatar
Andrew Innes committed
15 16 17 18 19 20
2000-08-30  Andrew Innes  <andrewi@gnu.org>

	* timer.el (run-with-idle-timer): Undo last change, so that timer
	is not activated immediately if Emacs is already idle.  Some
	existing code relies on this behaviour.

Miles Bader's avatar
Miles Bader committed
21 22 23 24 25
2000-08-30  Miles Bader  <miles@gnu.org>

	* frame.el (set-frame-font): Do completion of font-name for
	interactive use.

Kenichi Handa's avatar
Kenichi Handa committed
26 27 28 29 30
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
31
	(quail-self-insert-command): Fix docstring.
Kenichi Handa's avatar
Kenichi Handa committed
32

33 34 35 36 37 38
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
39 40 41 42
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
43 44
2000-08-29  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
45 46 47 48 49
	* 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
50 51 52 53
	* 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
54 55 56 57 58
2000-08-29  Miles Bader  <miles@gnu.org>

	* comint.el (comint-send-input): Create overlays using the proper
	front/read-advance arguments.
	
59 60 61 62 63 64 65 66 67
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.

68
	* progmodes/ebnf2ps.el: Doc fix.
Gerd Moellmann's avatar
Gerd Moellmann committed
69 70 71 72 73
	(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
74 75
2000-08-29  Kenichi Handa  <handa@etl.go.jp>

76
	* help.el (help-xref-mule-regexp): New variable.
Kenichi Handa's avatar
Kenichi Handa committed
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
	(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
97 98
2000-08-28  John Wiegley  <johnw@gnu.org>

John Wiegley's avatar
John Wiegley committed
99 100 101 102
	* 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
103 104 105 106 107 108 109 110 111 112 113
	* 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
114 115 116 117
2000-08-28  John Wiegley  <johnw@gnu.org>

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

118
2000-08-28  John Wiegley  <johnw@gnu.org>
John Wiegley's avatar
John Wiegley committed
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

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

205
2000-08-28  Stefan Monnier  <monnier@cs.yale.edu>
John Wiegley's avatar
John Wiegley committed
206 207 208 209 210 211

	* 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.
	
212
2000-08-28  Eli Zaretskii  <eliz@is.elta.co.il>
John Wiegley's avatar
John Wiegley committed
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240

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

241
2000-08-28  Miles Bader  <miles@lsi.nec.co.jp>
John Wiegley's avatar
John Wiegley committed
242

243
	* eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
John Wiegley's avatar
John Wiegley committed
244 245 246 247 248 249
	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
250 251
2000-08-28  Peter Breton  <pbreton@ne.mediaone.net>

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

Peter Breton's avatar
Peter Breton committed
255 256 257 258 259 260 261 262 263
	* 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
264 265 266 267 268 269 270
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
271 272
2000-08-28  Stanislav Shalunov  <shalunov@internet2.edu>

273 274
	* mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
	from Gnus support code, and use special article copy buffer
Gerd Moellmann's avatar
Gerd Moellmann committed
275 276 277 278
	`(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
279 280 281 282 283 284 285 286
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
287 288 289 290
2000-08-27  Dave Love  <fx@gnu.org>

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

Miles Bader's avatar
Miles Bader committed
291 292 293 294
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
295 296 297 298 299
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
300 301
2000-08-26  Miles Bader  <miles@gnu.org>

302 303 304 305 306 307
	* 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
308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323
	* 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
324 325
	* faces.el (describe-face): Add support for :inherit attribute.

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

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

Kenichi Handa's avatar
Kenichi Handa committed
331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347
	* 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
348 349
2000-08-24  Dave Love  <fx@gnu.org>

350 351 352
	* disp-table.el (standard-display-default): Make the test of `l'
	useful.

Dave Love's avatar
Dave Love committed
353 354 355 356 357 358 359 360
	* 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
361 362 363 364 365 366 367
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
368 369 370 371
2000-08-22  Andrew Innes  <andrewi@gnu.org>

	* makefile.w32-in: New file.

Miles Bader's avatar
Miles Bader committed
372 373 374 375 376 377 378 379 380 381
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
382 383 384 385 386 387 388 389 390 391
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.
	
392 393 394 395 396 397
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
398 399
2000-08-21  Gerd Moellmann  <gerd@gnu.org>

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

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

Kenichi Handa's avatar
Kenichi Handa committed
405 406 407 408 409
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.

410 411
2000-08-20  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
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 441 442 443 444 445 446 447 448
	* 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.

449 450 451 452 453 454 455 456 457
	* 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
458 459 460 461 462
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
463 464 465 466 467
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
468 469 470 471 472 473 474 475
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
476 477 478 479 480
2000-08-19  Gerd Moellmann  <gerd@gnu.org>

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

481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499
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.

500 501
2000-08-18  Stefan Monnier  <monnier@cs.yale.edu>

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

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

507 508 509 510
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
511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544
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
545 546
2000-08-17  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
547 548 549 550 551 552 553 554 555 556 557 558 559 560
	* 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
561 562 563 564 565 566
	* 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.

567 568 569 570 571
2000-08-17  Andreas Schwab  <schwab@suse.de>

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

572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589
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.

590 591 592 593 594
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
595 596 597 598 599 600 601
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.

602 603 604 605 606
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
607 608 609 610 611 612 613 614 615 616 617
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.

618
	* play/landmark.el:
Stefan Monnier's avatar
Stefan Monnier committed
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650
	* 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
651 652
2000-08-16  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670
	* 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
671 672 673 674 675 676 677 678 679 680 681
	* 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.

682 683 684 685 686
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.

687 688
2000-08-16  Sam Steingold  <sds@gnu.org>

689
	* buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
690 691 692
	`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
693 694 695 696 697
2000-08-16  Kenichi Handa  <handa@etl.go.jp>

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

698 699
2000-08-16  Miles Bader  <miles@gnu.org>

700
	* progmodes/sql.el: Add compatibility definition of
701 702
	comint-line-beginning-position.

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

Gerd Moellmann's avatar
Gerd Moellmann committed
705 706 707 708 709 710 711
	* 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.
712

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

Gerd Moellmann's avatar
Gerd Moellmann committed
716 717 718
	* font-lock.el: Require jit-lock to prevent a very late
	`Loading jit-lock' message.

Gerd Moellmann's avatar
Gerd Moellmann committed
719
	* emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
720
	* emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
Gerd Moellmann's avatar
Gerd Moellmann committed
721 722
	mail address.

Miles Bader's avatar
Miles Bader committed
723 724 725 726 727 728
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
729 730
2000-08-15  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755
	* 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
756 757 758 759 760 761 762 763 764 765
	* 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
766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785
	* 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
786 787 788
	(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
789

Eli Zaretskii's avatar
Eli Zaretskii committed
790 791 792 793 794
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
795 796
2000-08-14  Gerd Moellmann  <gerd@gnu.org>

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

Gerd Moellmann's avatar
Gerd Moellmann committed
799 800 801
	* paren.el (show-paren-priority): New user option.
	(show-paren-function): Set overlay priorities to
	show-paren-priority.
802

Miles Bader's avatar
Miles Bader committed
803 804 805 806 807
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
808 809 810 811 812 813 814 815 816 817 818 819 820 821
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
822

823
2000-08-12  Miles Bader  <miles@gnu.org>
824

825 826
	* comint.el (comint-output-filter): Don't bother frobbing
	window-start, it doesn't seem to be necessary.
827 828 829 830

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

831 832 833 834 835 836 837 838
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.

839
2000-08-11  Eli Zaretskii  <eliz@is.elta.co.il>
840 841 842

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

843 844 845 846
2000-08-10  Miles Bader  <miles@gnu.org>

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

847 848 849 850 851 852
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
853 854 855 856 857 858 859 860 861 862 863 864 865
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.

866 867 868 869 870
2000-08-10  Eli Zaretskii  <eliz@is.elta.co.il>

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

871 872 873 874 875 876 877 878 879 880 881 882 883 884
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.

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

Stefan Monnier's avatar
Stefan Monnier committed
887 888 889 890 891
	* 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.

892 893 894 895 896
	* 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
897 898 899 900 901
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
902 903 904 905 906 907 908
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
909 910 911 912 913
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
914 915
2000-08-08  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936
	* 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
937 938 939 940 941 942 943
	* 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
944 945 946 947 948
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
949 950 951 952 953 954 955 956 957
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.

958 959 960 961 962 963
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
964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012
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.

1013 1014 1015 1016 1017
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
1018 1019 1020 1021 1022
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
1023 1024 1025 1026 1027
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
1028 1029
2000-08-06  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1030 1031 1032
	* 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
1033 1034 1035 1036 1037 1038
	* 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'.

1039 1040 1041 1042 1043
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
1044 1045 1046 1047 1048 1049 1050 1051 1052
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
1053 1054
2000-08-04  Eli Zaretskii  <eliz@is.elta.co.il>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
1057 1058 1059 1060
	* 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
1061 1062
	* menu-bar.el (menu-bar-games-menu): Add Zone.

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

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

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

1071 1072 1073 1074 1075 1076 1077 1078
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.

1079 1080 1081 1082 1083
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
1084 1085
2000-08-02  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1086 1087 1088 1089
	* hi-lock.el: New file.

	* play/zone.el: New file.

Gerd Moellmann's avatar
Gerd Moellmann committed
1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103
	* 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.

1104 1105 1106 1107 1108 1109
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.

1110 1111
2000-08-01  Vinicius Jose Latorre  <vinicius@cpqd.com.br>

1112 1113
	* progmodes/ebnf2ps.el: Update ps-print functions call.
	Indentation fix.  Doc fix.
1114 1115
	(ebnf-version): New version number (3.2).
	(ebnf-format-color, ebnf-begin-job): Code fix.
1116

1117 1118
2000-08-01  Eli Zaretskii  <eliz@is.elta.co.il>

1119 1120 1121 1122
	* 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.

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

1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151
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.

1152 1153 1154 1155 1156 1157 1158
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.

1159 1160 1161 1162 1163 1164
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
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193
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'.

1194 1195
2000-07-28  Karl Fogel  <kfogel@red-bean.com>

Gerd Moellmann's avatar
Gerd Moellmann committed
1196 1197 1198
	* 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
1199 1200 1201
	code of above two.
	If inserting a message body, leave point at top.

1202 1203 1204
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
1205 1206
	Use `<=', not `<' to compare times!
	(ange-ftp-ls): Remove.
1207

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

Gerd Moellmann's avatar
Gerd Moellmann committed
1210 1211 1212 1213 1214
	* 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
1215 1216 1217 1218 1219 1220 1221 1222
	* 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
1223 1224
	* play/meese.el: Add Commentary section.

Gerd Moellmann's avatar
Gerd Moellmann committed
1225 1226 1227 1228 1229 1230 1231 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
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
1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293
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
1294 1295 1296 1297
2000-07-27  Kenichi Handa  <handa@etl.go.jp>

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

Sam Steingold's avatar
Sam Steingold committed
1298 1299 1300 1301 1302 1303 1304 1305 1306 1307
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
1308 1309 1310 1311 1312
2000-07-26  Andreas Schwab  <schwab@suse.de>

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

1313 1314
2000-07-26  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1315 1316 1317 1318 1319 1320
	* 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.

1321 1322 1323 1324 1325 1326 1327 1328 1329 1330
	* 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.

1331 1332
2000-07-25  Sam Steingold  <sds@gnu.org>

Sam Steingold's avatar
Sam Steingold committed
1333 1334
	* net/ange-ftp.el: Get modtime over the net.
	(ange-ftp-file-modtime): New function.
Gerd Moellmann's avatar
Gerd Moellmann committed
1335 1336
	(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
1337 1338 1339 1340
	Use it.
	(ange-ftp-dot-to-slash): New function.
	(ange-ftp-fix-name-for-vms): Use it.

1341 1342 1343
	* midnight.el (midnight-buffer-display-time): Use
	`with-current-buffer'.

1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355
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
1356 1357 1358 1359 1360
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
1361 1362 1363 1364 1365 1366
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
1367 1368 1369 1370 1371 1372 1373 1374 1375 1376
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
1377 1378 1379 1380 1381
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
1382 1383 1384 1385 1386 1387 1388 1389 1390
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.

1391 1392
2000-07-24  Eli Zaretskii  <eliz@is.elta.co.il>

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

1396 1397 1398 1399 1400 1401 1402 1403
	* 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
1404 1405 1406 1407 1408 1409
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
1410 1411
2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1412
	* Release of cc-mode 5.27
Gerd Moellmann's avatar
Gerd Moellmann committed
1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458

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>

1459
	* cc-mode.texi Documented the change of cpp-macro.
Gerd Moellmann's avatar
Gerd Moellmann committed
1460 1461 1462 1463 1464 1465 1466

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
1467
	* cc-engine.el: (c-beginning-of-inheritance-list,
Gerd Moellmann's avatar
Gerd Moellmann committed
1468 1469 1470
	c-guess-basic-syntax): Fixed recognition of inheritance lists
	when the lines begins with a comma.

1471
	* cc-mode.texi: Updated doc for c-lineup-multi-inher.
Gerd Moellmann's avatar
Gerd Moellmann committed
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 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615

	* 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
1616
	* cc-mode.texi: Documented the special behavior of
Gerd Moellmann's avatar
Gerd Moellmann committed
1617 1618 1619
	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.
1620

Gerd Moellmann's avatar
Gerd Moellmann committed
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