ChangeLog 614 KB
Newer Older
John Wiegley's avatar
John Wiegley committed
1 2 3 4
2001-05-09  John Wiegley  <johnw@gnu.org>

	* calendar/timeclock.el (timeclock-find-discrep): Initialize
	`elapsed' to 0.
John Wiegley's avatar
John Wiegley committed
5 6
	(timeclock-find-discrep): Set `timeclock-last-event-workday' if
	it's still nil.
John Wiegley's avatar
John Wiegley committed
7

8 9 10 11 12 13
2001-05-09  Stefan Monnier  <monnier@cs.yale.edu>

	* arc-mode.el (archive-int-to-mode): Construct the string directly.
	(archive-mode): Use capitalize.
	(archive-unique-fname): Use make-temp-file.

Gerd Moellmann's avatar
Gerd Moellmann committed
14 15 16 17
2001-05-09  Gerd Moellmann  <gerd@gnu.org>

	* emacs-lisp/lisp-mode.el (lisp-interaction-mode): Doc fix.

18 19
2001-05-09  Eli Zaretskii  <eliz@is.elta.co.il>

20 21 22
	* tar-mode.el (tar-extract): Pay attention to the value of
	coding-system-for-read, if it is non-nil.

23 24
	* calendar/holidays.el (holidays): Add an autoload cookie.
	From Pavel Jan,Bm(Bk <Pavel@Janik.cz>.
25

26 27
2001-05-08  John Wiegley  <johnw@gnu.org>

28 29
	* calendar/timeclock.el (timeclock-workday-remaining):
	Changed logic for determining how much time is remaining.
30 31
	(timeclock-workday-elapsed): Don't accept a "relative" argument
	for the current day's elapsed time.  What could that have meant?
32
	(timeclock-workday-elapsed-string): No "relative" argument anymore.
33 34 35 36 37 38 39
	(timeclock-when-to-leave): Changed logic, similarly to what was
	done for `timeclock-workday-remaining'.
	(timeclock-find-discrep): Removed "today-only" argument, which had
	no meaning.  Fixed some more math problems.  The function now
	returns a three member list: (TOTAL-TIME-DISCREPANCY
	TODAYS-TIME-DISCREPANCY TODAYS-ELAPSED-TIME).

40 41 42 43 44 45 46
2001-05-08  Eli Zaretskii  <eliz@is.elta.co.il>

	* w32-fns.el (convert-standard-filename): Start replacing slashes
	from the beginning of the file name, not from where the last
	invalid character was.  From "Andrew Maguire (SWW)"
	<Andrew.Maguire@Smallworld.co.uk>

Gerd Moellmann's avatar
Gerd Moellmann committed
47 48 49 50 51 52 53 54 55
2001-05-07  MORIOKA Tomohiko  <tomo@m17n.org>

	The following changes are to provide infrastructure for handling
	MIME messages to rmail.  They don't affect the original behaviour
	if rmail-enable-mime is nil.

	* mail/rmail.el (rmail-insert-mime-forwarded-message-function)
	(rmail-search-mime-message-function)
	(rmail-search-mime-header-function): New variables.
56 57 58
	(rmail-expunge-and-save): Be sure to set-buffer to the Rmail buffer.
	(rmail-quit, rmail-get-new-mail): Bury `rmail-buffer' after
	`rmail-view-buffer' is hidden.
Gerd Moellmann's avatar
Gerd Moellmann committed
59 60 61 62 63 64 65
	(rmail-toggle-header): Likewise.  If rmail-enable-mime is non-nil,
	call rmai-show-mime-function.
	(rmail-display-labels): If rmail-enable-mime is non-nil, update
	mode-line-process of rmail-view-buffer.
	(rmail-set-attribute): Be sure to set-buffer to the Rmail buffer.
	(rmail-show-message): Be sure to call rmail-auto-file in the Rmail
	buffer.
66 67
	(rmail-next-message, rmail-next-undeleted-message): Be sure to
	set-buffer to the Rmail buffer.
Gerd Moellmann's avatar
Gerd Moellmann committed
68 69 70 71 72 73
	(rmail-message-regexp-p): If rmail-enable-mime is non-nil, call
	rmail-search-mime-header-function.
	(rmail-search-message): New function.
	(rmail-search): Call rmail-search-message to check if a message
	matches REGEXP, lastly update point after calling
	rmail-show-message.
74 75
	(rmail-undelete-previous-message, rmail-expunge-confirmed)
	(rmail-only-expunge): Be sure to set-buffer to the Rmail buffer.
Gerd Moellmann's avatar
Gerd Moellmann committed
76 77 78
	(rmail-reply): If rmail-enable-mime is non-nil, don't narrow to
	header region, refer to rmail-msgref-vector while setting the
	current buffer to rmail-buffer temporarily.
79 80
	(rmail-forward): Be sure to bind forward-buffer to the Rmail buffer.
	If rmail-enable-mime is non-nil, call
Gerd Moellmann's avatar
Gerd Moellmann committed
81 82 83 84 85 86 87 88 89 90 91 92 93 94
	rmail-insert-mime-forwarded-message-function instead of inserting
	forwarded message by itself.

	* mail/rmailkwd.el (rmail-read-label): Be sure to work in the
	Rmail buffer.
	(rmail-set-label, rmail-next-labeled-message): Likewise.

	* mail/rmailout.el (rmail-output-read-rmail-file-name): Be sure to
	set-buffer to the Rmail buffer.
	(rmail-output-to-rmail-file): Likewise.
	(rmail-output): Likewise.

	* mail/rmailsum.el (rmail-message-subject-p): Process the result
	of mail-fetch-field by rmail-summary-line-decoder.
95 96
	(rmail-new-summary): Be sure to go to the Rmail buffer.
	If rmail-enable-mime is non-nil, set rmail-summary-buffer of
Gerd Moellmann's avatar
Gerd Moellmann committed
97 98 99 100 101 102 103 104 105 106 107 108 109 110
	rmail-view-buffer to nil.
	(rmail-summary-undelete): If rmail-enable-mime is non-nil, pop to
	rmail-view-buffer.
	(rmail-summary-scroll-msg-up): Handle rmail-view-buffer, not
	rmail-buffer.
	(rmail-summary-scroll-msg-down): Likewise.
	(rmail-summary-beginning-of-message): Likewise.
	(rmail-summary-wipe): Likewise.
	(rmail-summary-toggle-header): Use save-window-excursion, not
	save-excursion.  Update point in rmail-view-buffer, not in
	rmail-buffer.
	(rmail-summary-reply): Before calling rmail-reply, set buffer to
	rmail-view-buffer, not rmail-buffer.

Gerd Moellmann's avatar
Gerd Moellmann committed
111 112
2001-05-07  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
113 114 115
	* cus-edit.el (custom-file): Signal an error if user-init-file is
	nil (running -q).

116 117
	* mail/rmailedit.el (rmail-edit-mode-hook): Add :version.

118 119 120 121 122
	* mail/smtpmail.el (smtpmail-warn-about-unknown-extensions):
	Add :version.

	* mail/smtpmail.el (smtpmail-warn-about-unknown-extensions):
	New option.
123 124 125
	(smtpmail-via-smtp): Print warnings about unknown SMTP extensions
	only if smtpmail-warn-about-unknown-extensions is set.

126 127 128
	* mail/rmail.el (rmail-mode-map): Use rmail-sort-by-labels
	instead of rmail-sort-by-keywords.

129
	* mail/rmailsort.el (rmail-sort-by-labels): Renamed from
130 131
	rmail-sort-by-keywords.

132 133
	* mail/rmailsum.el (rmail-summary-sort-by-labels): Renamed from
	rmail-summary-sort-by-keywords.  Doc fix.
134 135
	(rmail-summary-mode): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
136 137 138 139 140
	* mail/rmail.el (rmail-edit): New Custom group.

	* mail/rmailedit.el (rmail-edit-mode): Doc fix.
	(rmail-edit-mode-hook): New user-option.

141 142 143 144 145 146 147 148 149
2001-05-05  Richard M. Stallman  <rms@gnu.org>

	* help.el (help-xref-symbol-regexp): Recognize "source of"
	and friends, meaning make a link to the source file.
	(help-make-xrefs): Handle "source of" and friends
	by constructing a link that visits the source file.

	* dabbrev.el (dabbrev-select-buffers-function): Doc fix.

150 151
2001-05-04  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
152 153 154 155 156 157 158
	* progmodes/cperl-mode.el (cperl-font-lock-keywords)
	(cperl-font-lock-keywords-1, cperl-font-lock-keywords-2):
	Renamed from perl-font-lock-keywords to avoid clashes.
	(cperl-mode, cperl-load-font-lock-keywords, cperl-init-faces)
	(cperl-load-font-lock-keywords-1, cperl-load-font-lock-keywords-2):
	Updated correspondingly.

159 160 161
	* diff-mode.el (diff-nonexistent-face, diff-font-lock-keywords):
	Typo `nonexistant' -> `nonexistent'.

Eli Zaretskii's avatar
Eli Zaretskii committed
162 163
2001-05-04  Martin Stjernholm  <bug-cc-mode@gnu.org>

164 165
	* cc-cmds.el (c-electric-delete, c-electric-delete-forward):
	Split `c-electric-delete' into two functions where
Eli Zaretskii's avatar
Eli Zaretskii committed
166 167 168
	`c-electric-delete-forward' always deletes forward and
	`c-electric-delete' only contains the code necessary for XEmacs to
	choose between backward and forward deletion.
169

Eli Zaretskii's avatar
Eli Zaretskii committed
170 171 172 173 174
	* cc-mode.el: `c-electric-delete-forward' is now bound to C-d to
	get the electric behavior on that key too.
	(c-fill-paragraph): Fixed bogus direct use of
	c-comment-prefix-regexp, which caused an error when it's a list.

Eli Zaretskii's avatar
Eli Zaretskii committed
175 176 177 178 179 180
2001-05-03  Eli Zaretskii  <eliz@is.elta.co.il>

	* dired-aux.el (dired-diff): Doc fix.

	* dired.el (dired-diff): Likewise.

181 182 183 184
2001-05-03  Eli Zaretskii  <eliz@is.elta.co.il>

	* textmodes/ispell.el (ispell-change-dictionary): Doc fix.

185 186
2001-05-02  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
187 188 189
	* vc.el (vc-next-action-on-file): Only force buffer+file to writable
	if both the buffer and the file are read-only.

190 191 192 193
	* progmodes/sh-script.el (sh-prev-line): Look for sh-heredoc-face
	rather than font-lock-string-face.
	(sh-get-indent-info): Treat heredocs like strings.

194 195
2001-05-02  Gerd Moellmann  <gerd@gnu.org>

196 197
	* textmodes/texinfmt.el (texinfo-format-parse-args): Don't consume
	a newline following `}'.
Gerd Moellmann's avatar
Gerd Moellmann committed
198 199
	(texinfo-format-email): New function.
	(toplevel): Use texinfo-format-email for @email.
200 201
	(texinfo-format-kbd-regexp, texinfo-format-kbd-end-regexp):
	Add `display'.
Gerd Moellmann's avatar
Gerd Moellmann committed
202 203 204 205
	(texinfo-sort-region): Goto point-min before sorting.
	(texinfo-set): Remove leading white space from value.
	From yagi@is.titech.ac.jp.

206 207
	* replace.el (query-replace-regexp-eval): Doc fix.

Stefan Monnier's avatar
Stefan Monnier committed
208 209 210 211 212
2001-05-01  Stefan Monnier  <monnier@cs.yale.edu>

	* diff-mode.el (diff-nonexistant-face): New face.
	(diff-font-lock-keywords): Use it.

213 214
2001-04-30  Eli Zaretskii  <eliz@is.elta.co.il>

Eli Zaretskii's avatar
Eli Zaretskii committed
215 216
	* font-lock.el (font-lock-mode): Doc fix.

217 218 219
	* dired-aux.el (dired-do-rename-regexp, dired-do-copy-regexp)
	(dired-do-hardlink-regexp, dired-do-symlink-regexp): Doc fix.

220 221
2001-04-30  Gerd Moellmann  <gerd@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
222 223
	* progmodes/sh-script.el (sh-font-lock-heredoc): Allow optional
	backslash at the start of the here-document delimiter.
Gerd Moellmann's avatar
Gerd Moellmann committed
224 225
	(sh-font-lock-syntactic-keywords): Likewise.

226 227
	* mail/rmail.el (rmail-message-regexp-p): Yet another fix.

228 229 230 231 232 233
2001-04-29  Eli Zaretskii  <eliz@is.elta.co.il>

	* term/tty-colors.el (tty-color-define, tty-color-off-gray-diag)
	(tty-color-translate, tty-color-by-index, tty-color-values)
	(tty-color-desc): Doc fix.

234 235 236
2001-04-27  Eli Zaretskii  <eliz@is.elta.co.il>

	* dired-aux.el (dired-do-create-files, dired-do-copy)
Stefan Monnier's avatar
Stefan Monnier committed
237 238
	(dired-do-symlink, dired-do-hardlink, dired-do-rename):
	Mention dired-dwim-target in the doc string.
239

240 241 242 243 244 245
2001-04-28  Miles Bader  <miles@gnu.org>

	* dabbrev.el (dabbrev--ignore-buffer-p): New function.
	(dabbrev--find-expansion): Use it.
	(dabbrev--select-buffers): Don't select ignored buffers.

Gerd Moellmann's avatar
Gerd Moellmann committed
246 247
2001-04-27  Gerd Moellmann  <gerd@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
248
	* mail/rmail.el (rmail-message-regexp-p): Don't match before headers.
Gerd Moellmann's avatar
Gerd Moellmann committed
249

250 251 252 253 254 255 256 257 258
2001-04-26  Richard M. Stallman  <rms@gnu.org>

	* dabbrev.el: Add doc strings for some functions.
	(dabbrev--eliminate-newlines): New variable.
	(dabbrev--substitute-expansion): Convert newlines to spaces
	if dabbrev--eliminate-newlines is set.
	If abbrev and expansion are both all-lower-case,
	leave dabbrev--last-case-pattern nil.

259 260 261 262 263
2001-04-26  Gerd Moellmann  <gerd@gnu.org>

	* mail/rmail.el (rmail-message-regexp-p): Use rfc822-goto-eoh
	if necessary, like in rmail-show-message.

264 265 266 267 268 269 270 271 272 273
2001-04-26  Vinicius Jose Latorre  <vinicius@cpqd.com.br>

	* ps-print.el: Color specified by number is forced to be float number.
	(ps-print-version): New version number (6.5.1.1).
	(ps-header-frame-alist, ps-footer-frame-alist): Adjust color
	initialization.
	(ps-prefix-quote): New internal var.
	(ps-print-quote): New fun.
	(ps-setup, ps-output-frame-properties, ps-float-format)
	(ps-format-color): Code fix.
Stefan Monnier's avatar
Stefan Monnier committed
274 275
	(ps-plot-region): Eliminate redundant foreground color text setting.

276 277 278 279
2001-04-26  Eli Zaretskii  <eliz@is.elta.co.il>

	* dabbrev.el (dabbrev--select-buffers): Add a doc string.

Gerd Moellmann's avatar
Gerd Moellmann committed
280 281 282 283
2001-04-25  Gerd Moellmann  <gerd@gnu.org>

	* faces.el (tty-handle-reverse-video): Don't set inverse-video.

Eli Zaretskii's avatar
Eli Zaretskii committed
284 285
2001-04-25  Eli Zaretskii  <eliz@is.elta.co.il>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
288
	* find-lisp.el (find-lisp-find-dired-filter)
Stefan Monnier's avatar
Stefan Monnier committed
289 290
	(find-lisp-find-dired-subdirectories, find-lisp-find-dired):
	Add autoload cookies.  From Richard Y. Kim <ryk@dspwiz.com>.
Eli Zaretskii's avatar
Eli Zaretskii committed
291

292 293
2001-04-25  Stefan Monnier  <monnier@cs.yale.edu>

294 295 296 297
	* progmodes/make-mode.el (makefile-font-lock-keywords):
	Rationalize the rules for includes and conditionals and use the
	keyword face for them.

298 299
	* faces.el (modify-face): Add compatibility for non-interactive use.

John Wiegley's avatar
John Wiegley committed
300 301 302 303 304
2001-04-24  John Wiegley  <johnw@gnu.org>

	* eshell/esh-cmd.el (eshell-find-alias-function): Corrected the
	fix from last night, since it wasn't finding eshell/cd.

305 306 307 308 309 310
2001-04-24  Gerd Moellmann  <gerd@gnu.org>

	* rect.el (string-rectangle): Revert to 20.x behaviour.
	(replace-rectangle): Make it an alias for string-rectangle.
	(string-insert-rectangle): New function.

311 312 313 314 315 316 317 318 319 320 321
2001-04-23  John Wiegley  <johnw@gnu.org>

	* eshell/em-unix.el (eshell/diff): Fixed problems that were
	occurring with Emacs 21's diff.el/compile.el interaction layer.

2001-04-23  Colin Walters  <walters@cis.ohio-state.edu>

	* eshell/esh-cmd.el (eshell-find-alias-function): Return t in the
	case where the function was defined in a file, but not part of an
	eshell module.

322 323 324 325 326
2001-04-23  John Wiegley  <johnw@gnu.org>

	* eshell/em-smart.el (eshell-smart-redisplay): Added some safety
	code to work around a redisplay problem I've been having.

327 328 329 330 331 332 333 334 335
2001-04-23  John Wiegley  <johnw@gnu.org>

	* calendar/timeclock.el (timeclock-day-required): If the time
	required for a particular day is not set, use `timeclock-workday'.
	(timeclock-find-discrep): Added some sample code in a comment.

	* eshell/eshell.el (eshell-command): Made a few changes so that
	`eshell-command' could be called programmatically.

336
	* eshell/esh-mode.el (eshell-non-interactive-p): Moved to eshell.el.
337

338
	* eshell/eshell.el (eshell-non-interactive-p): Moved from esh-mode.el.
339

340
2001-04-23  John Wiegley  <johnw@gnu.org>
341 342 343 344 345 346 347 348

	* calendar/timeclock.el: Updated copyright.
	(timeclock-generate-report): Don't report the daily or two-week
	total, if no time has been worked in that period.
	(timeclock-find-discrep): Moved call to `file-readable-p'; removed
	final computational form, which was unnecessary; corrected a
	parsing problem when timeclock-relative was nil.

349
2001-04-23  Kahlil Hodgson <kahlil@discus.anu.edu.au>
350 351 352 353 354 355

	* calendar/timeclock.el (timeclock-modeline-display): Check if
	`list-entry' is null.
	(timeclock-use-display-time): The first argument to `set-variable'
	must be a symbol.

356 357 358
2001-04-23  Eli Zaretskii  <eliz@is.elta.co.il>

	* calendar/calendar.el (diary-entry-marker)
359 360
	(calendar-today-marker, calendar-holiday-marker):
	Use display-color-p instead of window-system.
361 362 363 364 365 366
	(calendar-mode-map, calendar-mode): Use display-popup-menus-p
	instead of window-system.
	(calendar-hide-window): Use display-multi-frame-p instead of
	window-system.

	* calendar/cal-x.el (calendar-two-frame-setup)
367 368
	(calendar-only-one-frame-setup, calendar-one-frame-setup):
	Use display-multi-frame-p instead of window-system.
369

Gerd Moellmann's avatar
Gerd Moellmann committed
370 371
2001-04-23  Gerd Moellmann  <gerd@gnu.org>

372 373
	* play/fortune.el (fortune-from-region): Use `eq' instead of `eql'.

Gerd Moellmann's avatar
Gerd Moellmann committed
374 375 376
	* textmodes/ispell.el, emacs-lisp/checkdoc.el,
	* progmodes/ebrowse.el, play/fortune.el: Fix autoload cookies.

Gerd Moellmann's avatar
Gerd Moellmann committed
377 378 379
2001-04-23  Alex Schroeder  <alex@gnu.org>

	* goto-addr.el: Instead of defining line-beginning-position and
380 381
	line-end-position a defalias is used for point-at-bol and point-at-eol.

Gerd Moellmann's avatar
Gerd Moellmann committed
382 383 384
2001-04-23  Alex Schroeder  <alex@gnu.org>

	* goto-addr.el: Added XEmacs compatibility code.
385
	(goto-address-highlight-keymap): Made keybindings XEmacs compatible.
Gerd Moellmann's avatar
Gerd Moellmann committed
386

Eli Zaretskii's avatar
Eli Zaretskii committed
387 388 389 390
2001-04-22  Eli Zaretskii  <eliz@is.elta.co.il>

	* textmodes/paragraphs.el (sentence-end): Doc fix.

391 392 393
2001-04-20  Alex Schroeder  <alex@gnu.org>

	* sql.el (sql-escape-newlines-and-send): New function.
394
	(sql-db2): Set comint-input-sender to sql-escape-newlines-and-send.
395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412

2001-04-20  Alex Schroeder  <alex@gnu.org>

	* sql.el (sql-db2-program): New option.
	(sql-db2-options): New option.
	(sql-db2): New function.

2001-04-20  Alex Schroeder  <alex@gnu.org>

	* sql.el (sql-mode-menu): Added highlighting entries.
	(sql-highlight-oracle-keywords): New function.
	(sql-highlight-postgres-keywords): New function.
	(sql-highlight-ansi-keywords): New function.

2001-04-20  Alex Schroeder  <alex@gnu.org>

	* sql.el (sql-help): Doc change.

413 414 415 416
2001-04-19  Stefan Monnier  <monnier@cs.yale.edu>

	* emacs-lisp/easy-mmode.el (easy-mmode-defsyntax): Unquote `doc'.

Gerd Moellmann's avatar
Gerd Moellmann committed
417 418
2001-04-18  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
419 420 421
	* emacs-lisp/cl-indent.el (toplevel): Comment out the spec
	for defmethod.

Gerd Moellmann's avatar
Gerd Moellmann committed
422 423 424
	* comint.el (comint-cr-magic): New function.
	(toplevel): Add it to comint-preoutput-filter-functions.

Andrew Innes's avatar
Andrew Innes committed
425 426 427
2001-04-18  Andrew Innes  <andrewi@gnu.org>

	* makefile.w32-in (EMACSLOADPATH): Define.
428
	(custom-deps, autoloads, .el.elc, compile-files-CMD, compile-files-SH)
Andrew Innes's avatar
Andrew Innes committed
429 430
	(recompile): Remove stuff to set EMACSLOADPATH.

431 432
2001-04-18  Gerd Moellmann  <gerd@gnu.org>

433 434
	* language/slovak.el ("Slovak"): Add tutorial entry.

435 436 437
	* net/browse-url.el (browse-url-new-window-flag): Renamed from
	browse-url-new-window-p.

438 439 440 441 442 443
2001-04-17  Eli Zaretskii  <eliz@is.elta.co.il>

	* info.el (Info-menu-update): When there are no menus and/or no
	cross references in the node, make the respective items of the
	Info menu-bar menu inactive.

Gerd Moellmann's avatar
Gerd Moellmann committed
444 445
2001-04-17  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
446 447 448
	* indent.el (indent-for-tab-command): Call indent-line-function
	with no argument if PREFIX-ARG is non-nil.

Gerd Moellmann's avatar
Gerd Moellmann committed
449 450
	* frame.el (delete-other-frames): Handle minibuffer-only frames.

451 452 453 454 455 456
2001-04-17  Eli Zaretskii  <eliz@is.elta.co.il>

	* vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Don't invoke CVS as
	an async subprocess if start-process is unavailable.  Suggested by
	Tim Van Holder <tim.van.holder@pandora.be>.

457 458 459 460 461
2001-04-15  Eli Zaretskii  <eliz@is.elta.co.il>

	* info.el (Info-additional-directory-list): Doc fix.  Suggested by
	Kai Grossjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>.

Eli Zaretskii's avatar
Eli Zaretskii committed
462 463 464 465 466
2001-04-14  Eli Zaretskii  <eliz@is.elta.co.il>

	* info.el (Info-file-list-for-emacs): Add an entry for the "info"
	manual.

467 468 469 470 471 472 473 474 475 476 477 478 479 480 481
2001-04-13  Stefan Monnier  <monnier@cs.yale.edu>

	* pcvs-defs.el (cvs-mode-map): Bind C-o like in dired.
	(cvs-menu): Add a few entries.

	* pcvs.el (cvs-addto-collection): Don't merge MESSAGE fileinfos.
	(cvs-update-filter): Only advertise `cvs-mode-delete-lock' if the
	lock file appears to be reachable from Emacs.
	(cvs-mode-mark-on-state, cvs-mode-display-file): New functions.
	(cvs-mode-find-file): Look for cvs-header-face rather than
	cvs-dirname-face (which doesn't exist).
	(cvs-mode-find-file): Allow `other' to be set to `dont-select'.

	* pcvs-parse.el (cvs-parse-run-table): Remove misleading text.

482 483 484 485 486 487 488
2001-04-13  Eli Zaretskii  <eliz@is.elta.co.il>

	* emulation/pc-select.el (pc-selection-mode): Don't turn on
	normal-erase-is-backspace on a tty.  Instead, bind some keys such
	as [delete] directly, like pc-select.el did before
	normal-erase-is-backspace was invented.

Eli Zaretskii's avatar
Eli Zaretskii committed
489
2001-04-12  Eli Zaretskii  <eliz@is.elta.co.il>
490 491 492

	* ls-lisp.el (ls-lisp-format): Leave a blank before "root".

493 494
2001-04-11  John Wiegley  <johnw@gnu.org>

495 496
	* eshell/em-ls.el (eshell-ls-insert-directory):
	Set font-lock-defaults to nil, to prevent fontification in dired
497 498
	buffers, if Eshell's ls is being used.

Eli Zaretskii's avatar
Eli Zaretskii committed
499
2001-04-11  John Wiegley  <johnw@gnu.org>
500

501 502 503
	* calendar/timeclock.el (timeclock-completing-read): New function.
	(timeclock-ask-for-project, timeclock-ask-for-reason):
	Call `timeclock-completing-read'.
504 505 506 507

	* eshell/em-alias.el (eshell-command-aliased-p): `assoc' was
	required where `member' was being used.

Eli Zaretskii's avatar
Eli Zaretskii committed
508
2001-04-11  Colin Walters  <walters@cis.ohio-state.edu>
509

510 511
	* eshell/em-hist.el (eshell-previous-matching-input):
	Don't display "History item" if the the minibuffer is active.
512

Gerd Moellmann's avatar
Gerd Moellmann committed
513 514 515 516 517
2001-04-11  Gerd Moellmann  <gerd@gnu.org>

	* startup.el (command-line): Output a newline after printing
	an error from loading the window system's init file.

518 519
2001-04-11  Eli Zaretskii  <eliz@is.elta.co.il>

520 521
	* textmodes/texinfo.el (texinfo-font-lock-keywords):
	Add fontification for @value, @dfn, @dmn, @acronym, @anchor, and
522 523 524
	@inforef.  Add an OVERRIDE of `keep' to highlight specs of
	keywords whose arguments routinely include @@.

Gerd Moellmann's avatar
Gerd Moellmann committed
525 526
2001-04-10  Gerd Moellmann  <gerd@gnu.org>

527 528
	* emacs-lisp/advice.el (ad-make-advised-definition):
	Construct advice for subrs differently.
Gerd Moellmann's avatar
Gerd Moellmann committed
529

530
	* textmodes/paragraphs.el (forward-sentence): Put the sentence-end
531
	regexp in parentheses when building the regexp for searching backwards.
532

533
	* simple.el (completion-list-mode-finish): New function.
534
	(toplevel): Add completion-list-mode-finish to temp-buffer-show-hook.
535

536
	* language/european.el ("Polish"): Change sample text.
537
	From jsbien@mimuw.edu.pl (Janusz S. Bie,Bq(B).
538

539 540 541
	* progmodes/sh-script.el (sh-indent-line): Add optional PREFIX-ARG
	parameter.

Gerd Moellmann's avatar
Gerd Moellmann committed
542 543
	* faces.el (menu): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
544
2001-04-10  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
545 546 547 548 549 550 551 552 553 554 555 556 557

	* ps-print.el: Footer implementation.  Doc fix.
	(ps-print-version): New version number (6.5.1).
	(ps-header-frame-alist): New customization var for header frame
	properties.
	(ps-line-number-color): New customization var for line number color.
	(ps-footer-offset, ps-footer-line-pad, ps-print-footer)
	(ps-print-footer-frame, ps-footer-frame-alist, ps-footer-lines)
	(ps-footer-font-family, ps-footer-font-size, ps-left-footer)
	(ps-right-footer): New customization vars for footers.
	(ps-footer-pad, ps-footer-font-size-internal): New internal vars for
	footers.
	(ps-setup, ps-get-page-dimensions, ps-generate-header-line)
558 559
	(ps-generate-header, ps-begin-file, ps-begin-job, ps-begin-page):
	Code fix.
560 561 562 563 564 565
	(ps-prologue-file): Indentation fix.
	(ps-print-quote): Fun eliminated.
	(ps-value, ps-get, ps-put, ps-del): New funs for alist handling.
	(ps-output-frame-properties): New fun.
	(ps-fonts, ps-font-number, ps-rgb-color, ps-end-page, ps-next-page)
	(ps-skip-newline): Replace defun by defsubst.
566

Eli Zaretskii's avatar
Eli Zaretskii committed
567
2001-04-10  Colin Walters <walters@cis.ohio-state.edu>
John Wiegley's avatar
John Wiegley committed
568 569 570 571

	* eshell/eshell.el (eshell-command): Needed a "%s" format
	specifier, in case the buffer contains percent characters.

Eli Zaretskii's avatar
Eli Zaretskii committed
572
2001-04-10  John Wiegley  <johnw@gnu.org>
John Wiegley's avatar
John Wiegley committed
573 574 575 576

	* calendar/timeclock.el (timeclock-generate-report): Added a
	missing insert of the project name.

577 578
2001-04-09  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
579
	* obsolete/profile.el: Moved from emacs-lisp/.
Stefan Monnier's avatar
Stefan Monnier committed
580

581
	* Makefile.in (nonobsolete_setwins): New macro.
Stefan Monnier's avatar
Stefan Monnier committed
582
	(finder-data): Use it instead of `setwins'.
583 584
	From: Dave Love <fx@gnu.org>.

Stefan Monnier's avatar
Stefan Monnier committed
585
	* server.el (server-visit-files): Set server-existing-buffer correctly.
586 587 588
	(server-visit-files): Run server-visit-hook after going to
	line 1 so that the hook can set point as it sees fit.

589 590
	* bindings.el (mode-line-modified): Unify help messages.

591 592 593 594 595
2001-04-07  Eli Zaretskii  <eliz@is.elta.co.il>

	* dos-fns.el (dos-8+3-filename): Rename from dos-truncate-to-8+3.
	All callers changed.

596 597
2001-04-06  Eli Zaretskii  <eliz@is.elta.co.il>

Eli Zaretskii's avatar
Eli Zaretskii committed
598 599 600 601 602 603 604
	* international/titdic-cnv.el (miscdic-convert): For MS-DOS, if
	long file names aren't supported, truncate the file names in
	quail-misc-package-ext-info to 8+3 before matching them against
	FILENAME.

	* dos-fns.el (dos-truncate-to-8+3): New function.

605 606 607 608
	* progmodes/compile.el (grep-compute-defaults): Use null-device
	instead of literal /dev/null. Reported by Jens Schmidt
	<schmidt@mathematik.uni-kl.de>.

609 610
	* simple.el (normal-erase-is-backspace-mode): Doc fix.

Stefan Monnier's avatar
Stefan Monnier committed
611 612 613 614 615 616
2001-04-06  Stefan Monnier  <monnier@cs.yale.edu>

	* textmodes/sgml-mode.el: Add unknown maintainer.
	(sgml-tag): Pass `str' explicitly through skeleton-transformation.
	(html-mode-map): Use set-keymap-parent.

Dave Love's avatar
Dave Love committed
617 618 619 620 621
2001-04-06  Dave Love  <fx@gnu.org>

	* international/encoded-kb.el (encoded-kbd-self-insert-ccl):
	Remove redundant string-to-list.

622 623 624 625
2001-04-05  Stefan Monnier  <monnier@cs.yale.edu>

	* composite.el (reference-point-alist): Doc fix.

626 627
2001-04-05  Sam Steingold  <sds@gnu.org>

628 629
	* font-lock.el (font-lock-keywords-case-fold-search):
	Make buffer-local.  This fixes a very annoying bug when loading a Lisp
630 631
	file made font-lock case-insensitive.

Gerd Moellmann's avatar
Gerd Moellmann committed
632 633
2001-04-05  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
634 635
	* faces.el (defface menu): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
636 637 638
	* wid-edit.el (widget-color-sample-face-get): Don't make
	faces for undefined colors.

Gerd Moellmann's avatar
Gerd Moellmann committed
639 640
	* version.el (emacs-version): Include LessTif/Motif version info.

Gerd Moellmann's avatar
Gerd Moellmann committed
641 642 643 644 645 646 647 648
2001-04-04  Vinicius Jose Latorre  <vinicius@cpqd.com.br>

	* ps-mule.el: Eliminate cl package dependence.
	(char-valid-p, multibyte-string-p, string-make-multibyte): Define funs
	if they aren't defined yet.
	(ps-mule-encode-header-string, ps-mule-header-string-charsets):
	Eliminate cl package dependence.

Stefan Monnier's avatar
Stefan Monnier committed
649 650 651 652 653 654
2001-04-04  Stefan Monnier  <monnier@cs.yale.edu>

	* progmodes/cc-cmds.el (c-outline-level):
	Bind buffer-invisibility-spec.  Originally from Dave Love, but
	got lost when incorporating version 5.26.

655 656
2001-04-04  Eli Zaretskii  <eliz@is.elta.co.il>

Stefan Monnier's avatar
Stefan Monnier committed
657 658 659
	* emulation/pc-select.el (pc-selection-mode):
	Call normal-erase-is-backspace-mode instead of binding
	keys individually.
660

661 662 663 664 665 666 667 668 669
	* cus-load.el (normal-erase-is-backspace): Use it instead of
	delete-key-deletes-forward.

	* startup.el (command-line): Use normal-erase-is-backspace and
	normal-erase-is-backspace-mode.

	* simple.el (normal-erase-is-backspace): Rename from
	delete-key-deletes-forward.  Doc fix.
	(normal-erase-is-backspace-mode): Rename from
Stefan Monnier's avatar
Stefan Monnier committed
670 671
	delete-key-deletes-forward-mode.  Doc fix.
	Run normal-erase-is-backspace-hook.
672

673
	* dired.el (dired-move-to-filename-regexp): Support file sizes in
Stefan Monnier's avatar
Stefan Monnier committed
674 675 676
	``human-readable'' format produced by GNU `ls'.
	(dired-move-to-filename-regexp): Recognize ISO format dates.
	From Paul Eggert <eggert@twinsun.com>.
677

678 679 680 681
2001-04-04  Gerd Moellmann  <gerd@gnu.org>

	* emacs-lisp/lisp-mnt.el (lm-keywords-list, lm-keywords-finder-p):
	New functions.
Stefan Monnier's avatar
Stefan Monnier committed
682 683
	(lm-verify): Check keywords.
	From Eric M. Ludlam <eric@siege-engine.com>.
684

685 686 687 688 689
2001-04-03  Eric M. Ludlam  <eric@siege-engine.com>

	* speedbar.el (speedbar-insert-image-button-maybe): Check for
	`xemacs' feature instead of for the function `set-extent-property'.

Stefan Monnier's avatar
Stefan Monnier committed
690 691 692 693 694
2001-04-03  Stefan Monnier  <monnier@cs.yale.edu>

	* mail/mh-utils.el (mh-folder-hist): New var.
	(mh-prompt-for-folder): Use it and pass `default' to completing-read.

695 696 697 698 699 700 701 702
2001-04-03  Eli Zaretskii  <eliz@is.elta.co.il>

	* hexl.el (hexl-scroll-up): If scrolling gets outside the hexl
	region, position point on the first or last 16-byte group.
	(hexl-mode-map): Bind C-Home and C-End to hexl-beginning-of-buffer
	and hexl-end-of-buffer.  Bind End and Home to hexl-end-of-line and
	hexl-beginning-of-line.

703 704
2001-04-03  Gerd Moellmann  <gerd@gnu.org>

705 706 707
	* icomplete.el (icomplete-mode): Treat an argument like other
	modes do.

Gerd Moellmann's avatar
Gerd Moellmann committed
708 709 710
	* startup.el (fancy-splash-head): Use splash8.xpm for color
	depth 8.

Stefan Monnier's avatar
Stefan Monnier committed
711 712
	* emacs-lisp/checkdoc.el (checkdoc-common-verbs-wrong-voice):
	Add an antry for ``converts''.
Gerd Moellmann's avatar
Gerd Moellmann committed
713

Stefan Monnier's avatar
Stefan Monnier committed
714 715
	* language/slovak.el ("Slovak"): Add documentation string.
	From Pavel@Janik.cz (Pavel Jan,Bm(Bk ml.).
716

717 718 719
	* language/czech.el ("Czech"): Add documentation string.
	From Pavel@Janik.cz (Pavel Jan,Bm(Bk ml.).

Stefan Monnier's avatar
Stefan Monnier committed
720 721 722 723 724 725 726 727 728 729 730 731 732
	* ps-mule.el (ps-mule-font-info-database-bdf): Change `isci24-etl.bdf'
	to `isci24-mule.bdf'.  From: Kenichi Handa <handa@etl.go.jp>.

2001-04-02  Stefan Monnier  <monnier@cs.yale.edu>

	* mail/mail-extr.el (mail-extr-delete-char, mail-extr-safe-move-sexp)
	(mail-extr-skip-whitespace-forward, mail-extr-nuke-char-at)
	(mail-extr-skip-whitespace-backward, mail-extr-undo-backslash-quoting):
	Use `defsubst' rather than a macro to ease debugging.
	(mail-extr-last): Remove (use `last' instead).
	(mail-extract-address-components): Properly reset the syntax-table
	after parsing an address.  Use `last' rather than mail-extr-last.
	Make sure the end marker stays at the very end.
733

Eli Zaretskii's avatar
Eli Zaretskii committed
734 735 736 737 738
2001-04-02  Eli Zaretskii  <eliz@is.elta.co.il>

	* international/titdic-cnv.el (miscdic-convert): Fix a typo in the
	last change.

Gerd Moellmann's avatar
Gerd Moellmann committed
739 740 741 742 743
2001-04-02  Vinicius Jose Latorre  <vinicius@cpqd.com.br>

	* ps-print.el: Line and paragraph spacing feature.  Region to cut
	out when printing.  Doc fix.
	(ps-print-version): New version number (6.5).
Stefan Monnier's avatar
Stefan Monnier committed
744 745
	(ps-line-spacing, ps-paragraph-spacing, ps-paragraph-regexp):
	New vars.  Line and paragraph spacing feature.
Gerd Moellmann's avatar
Gerd Moellmann committed
746 747 748 749 750 751
	(ps-begin-cut-regexp, ps-end-cut-regexp): New vars.  Region to cut
	out when printing.
	(ps-setup, ps-nb-pages, ps-get-page-dimensions, ps-begin-file)
	(ps-get-font-size, ps-begin-job, ps-continue-line)
	(ps-plot-region): Code fix.
	(ps-print-prologue-2): Var eliminated.
Stefan Monnier's avatar
Stefan Monnier committed
752 753
	(ps-line-spacing-internal, ps-paragraph-spacing-internal):
	New internal vars.
Gerd Moellmann's avatar
Gerd Moellmann committed
754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791
	(ps-get-size): New fun.
	(ps-output-string-prim, ps-init-output-queue, ps-print-page-p)
	(ps-next-line): Replace defun by defsubst.
	(ps-mule-plot-string): Autoload doc fix.

	* ps-bdf.el: XEmacs compatibility.  Doc fix.
	(installation-directory, coding-system-for-read): Declare vars if
	it's not declared yet.
	(bdf-read-font-info, bdf-read-bitmap, bdf-get-bitmaps): Code fix.

	* ps-mule.el: XEmacs compatibility.  Doc fix.
	(leading-code-private-22): Declare var if it's not declared yet.
	(charset-bytes, charset-dimension, charset-id, charset-width)
	(find-charset-region, split-char, char-width, chars-in-region)
	(forward-point, decompose-composite-char, encode-coding-string)
	(coding-system-p, ccl-execute-on-string, define-ccl-program):
	Define funs if not defined yet.
	(encode-composition-rule, find-composition): Define funs if not
	loaded yet.
	(ps-mule-prologue): PostScript code fix.

2001-04-02  Kenichi Handa  <handa@etl.go.jp>

	* ps-mule.el (ps-mule-generate-font): New arg HEADER-P.  If it is
	non-nil, generate font for the header strings.
	(ps-mule-prepare-font): Likewise.
	(ps-mule-generate-glyphs): Likewise.
	(ps-mule-string-encoding): Likewise.
	(ps-mule-header-charsets): New variable.
	(ps-mule-encode-header-string): New function.
	(ps-mule-header-string-charsets): New function.
	(ps-mule-begin-job): Check charsets in the header strings.  If there
	are non-ASCII and non-Latin1 charsets, prepare fonts for them.

	* ps-print.el (ps-generate-header-line): Encode the header string by
	ps-mule-encode-header-string.
	(ps-mule-encode-header-string): Declare autoload.

792 793
2001-04-02  Gerd Moellmann  <gerd@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
794 795
	* frame.el (cursor-in-non-selected-windows):
	Replaces show-cursor-in-non-selected-windows.
796

Kenichi Handa's avatar
Kenichi Handa committed
797 798 799 800
2001-03-31  Kenichi Handa  <handa@etl.go.jp>

	* international/titdic-cnv.el (quail-cxterm-package-ext-info):
	Delete entries for "chinese-py" and "chinese-ziranma".
Stefan Monnier's avatar
Stefan Monnier committed
801
	(quail-misc-package-ext-info): New variable.
Kenichi Handa's avatar
Kenichi Handa committed
802
	(tsang-quick-converter): New function.
Stefan Monnier's avatar
Stefan Monnier committed
803 804
	(tsang-b5-converter, quick-b5-converter, tsang-cns-converter)
	(quick-cns-converter, py-converter, ziranma-converter)
Kenichi Handa's avatar
Kenichi Handa committed
805 806
	(miscdic-convert, batch-miscdic-convert): New functions.

Kenichi Handa's avatar
Kenichi Handa committed
807 808
2001-03-30  Kenichi Handa  <handa@etl.go.jp>

Kenichi Handa's avatar
Kenichi Handa committed
809 810 811
	* international/utf-8.el (ccl-encode-mule-utf-8): Fix handling of
	eight-bit-control chars.

Kenichi Handa's avatar
Kenichi Handa committed
812
	* international/encoded-kb.el (encoded-kbd-self-insert-ccl):
813
	Reduce making temporary vector (suggested by Dave Love).
Kenichi Handa's avatar
Kenichi Handa committed
814

Eli Zaretskii's avatar
Eli Zaretskii committed
815 816 817 818 819
2001-03-30  Eli Zaretskii  <eliz@is.elta.co.il>

	* simple.el (transient-mark-mode): Mention ESC ESC ESC in the doc
	string as well.

Andreas Schwab's avatar
Andreas Schwab committed
820 821 822 823
2001-03-30  Andreas Schwab  <schwab@suse.de>

	* files.el (backup-directory-alist): Fix typo.

824 825 826 827 828
2001-03-30  Eli Zaretskii  <eliz@is.elta.co.il>

	* time-stamp.el (time-stamp-format): Doc fix.  From Paul Eggert
	<eggert@twinsun.com>.

Dave Love's avatar
Dave Love committed
829 830 831 832
2001-03-30  Dave Love  <fx@gnu.org>

	* progmodes/fortran.el (fortran-comment-region): Fix typo.

Eli Zaretskii's avatar
Eli Zaretskii committed
833 834 835 836
2001-03-30  Eli Zaretskii  <eliz@is.elta.co.il>

	* simple.el (transient-mark-mode): Mention C-g in the doc string.

837 838 839 840
2001-03-30  Miles Bader  <miles@gnu.org>

	* subr.el (interactive-form): Fix paren typo.

Eli Zaretskii's avatar
Eli Zaretskii committed
841 842 843 844 845 846
2001-03-29  Eli Zaretskii  <eliz@is.elta.co.il>

	* emacs-lisp/profile.el: Say that it's obsolete in the header
	line, so that finder.el puts that into its data-base.
	Suggested by Alex Schroeder <alex@gnu.org>.

847 848 849 850 851
2001-03-29  Paul Eggert  <eggert@twinsun.com>

	* mail/emacsbug.el (report-emacs-bug): Report LC_COLLATE,
	LC_MESSAGES, LC_MONETARY, LC_NUMERIC, and LC_TIME as well.

852 853 854 855 856
2001-03-29  Stefan Monnier  <monnier@cs.yale.edu>

	* generic.el (generic-mode-set-comments): Use "" rather than nil
	for comment-end.

857 858
2001-03-29  Gerd Moellmann  <gerd@gnu.org>

859 860
	* emacs-lisp/advice.el (ad-make-advised-definition):
	Call interactive-form to obtain the interactive spec of subrs.
861 862 863

	* subr.el (interactive-form): New function.

André Spiegel's avatar
#  
André Spiegel committed
864 865 866 867
2001-03-29  Andre Spiegel  <spiegel@gnu.org>

	* vc-sccs.el (vc-sccs-register): Use relative file names.

Gerd Moellmann's avatar
Gerd Moellmann committed
868 869
2001-03-28  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
870 871 872
	* bookmark.el (bookmark-get-bookmark): Handle case that
	BOOKMARK is not a string.

Gerd Moellmann's avatar
Gerd Moellmann committed
873 874 875
	* image.el (image-type-regexps): Change type for PS files
	to `postscript'.

Gerd Moellmann's avatar
Gerd Moellmann committed
876 877 878
	* subr.el (read-passwd): Clear command history after each
	character entered.  From: Stephen Gildea <gildea@alum.mit.edu>.

Kenichi Handa's avatar
Kenichi Handa committed
879 880 881 882 883
2001-03-27  Kenichi Handa  <handa@etl.go.jp>

	* international/kkc.el (kkc-save-init-file): Locally bind
	print-length to nil.

Gerd Moellmann's avatar
Gerd Moellmann committed
884 885
2001-03-26  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
886 887 888 889 890 891
	* textmodes/flyspell.el: Some doc fixes.
	(flyspell-maybe-correct-transposition)
	(flyspell-maybe-correct-doubling): Use a temporary buffer

	* textmodes/ispell.el (ispell-parse-output): Doc fix.

Stefan Monnier's avatar
Stefan Monnier committed
892
	* emacs-lisp/byte-opt.el (byte-optimize-while)
Gerd Moellmann's avatar
Gerd Moellmann committed
893 894 895
	(byte-optimize-form-code-walker): Diagnose too few arguments
	for `if' and `while'.

Kenichi Handa's avatar
Kenichi Handa committed
896 897 898 899 900
2001-03-26  Kenichi Handa  <handa@etl.go.jp>

	* international/titdic-cnv.el (quail-cxterm-package-ext-info):
	Prepend `\' to "\<quail-translation-docstring>".

901 902
2001-03-26  Gerd Moellmann  <gerd@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
903 904
	* autorevert.el (global-auto-revert-non-file-buffers):
	Remove duplicate defcustom.
905

906 907
2001-03-26  Miles Bader  <miles@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
908 909
	* international/latin1-disp.el (latin1-char-displayable-p):
	Add leading "-" for X font pattern.
910

Kenichi Handa's avatar
Kenichi Handa committed
911 912
2001-03-26  Kenichi Handa  <handa@etl.go.jp>

Stefan Monnier's avatar
Stefan Monnier committed
913 914
	* international/mule-diag.el (describe-coding-system):
	For raw-text and emacs-mule, don't add anymore text about what
Kenichi Handa's avatar
Kenichi Handa committed
915 916
	charsets they can encode.

917 918 919 920 921
2001-03-25  Eli Zaretskii  <eliz@is.elta.co.il>

	* help.el (view-lossage): Mention open-dribble-file in the doc
	string.  Suggested by Riku Saikkonen <rjs@lloke.dna.fi>.

922 923 924 925 926
2001-03-23  Stefan Monnier  <monnier@cs.yale.edu>

	* skeleton.el (skeleton-internal-list): Fix bogus logic.
	(skeleton-pair-insert-maybe): Don't pair after a backslash.

Kenichi Handa's avatar
Kenichi Handa committed
927 928
2001-03-23  Kenichi Handa  <handa@etl.go.jp>

929 930
	* international/encoded-kb.el (encoded-kbd-self-insert-ccl):
	Call ccl-execute-on-string directly so that CCL program handling
Kenichi Handa's avatar
Kenichi Handa committed
931 932 933 934
	multibyte sequence can work correctly.
	(encoded-kbd-setup-keymap): Fix the default value of `valid-codes'
	property of the coding system.

935 936 937 938 939
2001-03-23  Stefan Monnier  <monnier@cs.yale.edu>

	* textmodes/fill.el (fill-individual-paragraphs-prefix):
	Fix transcription typo.

940 941 942 943 944
2001-03-22  Rajesh Vaidheeswarran  <rv@gnu.org>

	* whitespace.el: Add buffer local variables to toggle testing of
	whitespaces in buffers without affecting the default values.
	Bump version to 3.0 to account for a few other changes.
945 946 947
	(whitespace-toggle-ateol-check, whitespace-toggle-leading-check)
	(whitespace-toggle-trailing-check, whitespace-toggle-indent-check)
	(whitespace-toggle-spacetab-check): New functions.
948

Stefan Monnier's avatar
Stefan Monnier committed
949 950 951 952
2001-03-21  Stefan Monnier  <monnier@cs.yale.edu>

	* obsolete/cplus-md.el: Moved from progmodes/cplus-md.el.

953 954
2001-03-21  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
955 956 957 958
	* bs.el (bs-cycle-next, bs-cycle-previous): Fix handling of
	bs-cycle-configuration-name.  From Juanma Barranquero
	<lektu@uol.com.br>.

959 960 961
	* Makefile.in, makefile.w32-in (COMPILE_FIRST): Add cc-mode.el
	and cc-vars.el.

962 963 964
	* mail/sendmail.el (sendmail-send-it): Don't parse Resent-*
	headers.  Always invoke sendmail with option -t.

Gerd Moellmann's avatar
Gerd Moellmann committed
965 966 967 968 969 970 971 972
2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* Release of cc-mode 5.28.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-mode.el, cc-vars.el (c-common-init, c-default-style):
	Removed the hardcoded switch to "java" style in Java mode.
Stefan Monnier's avatar
Stefan Monnier committed
973
	It's instead taken care of by the default value for c-default-style.
Gerd Moellmann's avatar
Gerd Moellmann committed
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 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-align.el (c-lineup-math): Fix bug where lineup was
	triggered by equal signs in string literals.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-fill-paragraph): Fixed bug in the paragraph
	limit detection when at the ends of the buffer.

	* cc-engine.el (c-guess-basic-syntax): Removed bogus check for
	"for" statement clause in case 7F; a better one is done
	earlier in case 7D anyway.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-guess-fill-prefix): Improved the heuristics
	somewhat more and did a small optimization.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-beginning-of-statement, c-end-of-statement):
	Use the limit argument only to limit the syntactic context
	search, not to limit the actual movement.

	* cc-cmds.el (c-beginning-of-statement): Move by sentence
	inside multiline strings, just like in comments.  Also various
	fixes to the paragraph and comment prefix recognition, block
	comment ender handling etc.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-fill-paragraph): Take more care to preserve
	the relative position of the point.

	* cc-cmds.el (c-electric-continued-statement): New function to
	use as abbrev hook to reindent for keywords such as "else"
	that continues an earlier statement.

	* cc-menus.el (cc-imenu-c++-generic-expression): Treat structs
	like classes.

	* cc-mode.el (c-mode, c++-mode, java-mode, objc-mode)
	(pike-mode): Populate the default abbrev tables to reindent for
	keywords such as "else" that can continue earlier statements.
	Abbrev mode is therefore turned on by default now.  (Note that
	this doesn't apply to idl-mode, since IDL afaik doesn't have
	statements at all.)

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-engine.el (c-inside-bracelist-p): Fix for handling
	bracelists where the declaration contains template arguments.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
1031 1032
	* cc-cmds.el (c-comment-indent):
	Use `c-get-syntactic-indentation' to correctly calculate the
Gerd Moellmann's avatar
Gerd Moellmann committed
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077
	syntactic indentation.  Fixes bug with lineup functions that
	return vectors.

	* cc-engine.el (c-get-syntactic-indentation): Split the
	indentation sum calculation from `c-indent-line' to a separate
	function.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-beginning-of-statement, c-comment-indent):
	Fixed places where it was assumed that preprocessor directives
	have to start in column zero.

	* cc-engine.el (c-beginning-of-member-init-list): Handle C++
	template arguments after a class identifier properly.

	* cc-engine.el (c-guess-basic-syntax): Treat initializer brace
	lists for `new Foo[]' constructs in Java as expressions and
	not top level definition brace lists on the top level, so that
	they'll get indented consistently with the same type of
	expression in a normal block.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-fill-paragraph): The kludge that checks
	whether the adaptive filling package fails to keep the comment
	prefix is now kludged further to check for filladapt-mode
	which doesn't have that problem. This is really icky, but it's
	the only way that works with the current misfeatures/bugs in
	both adaptive-fill-mode and filladapt-mode.

	* cc-cmds.el (c-fill-paragraph): Made the way the paragraph
	around point is recognized more robust.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el, cc-engine.el, cc-lobotomy.el (c-state-cache)
	(c-in-literal-cache, c-auto-fill-prefix, c-lit-limits)
	(c-lit-type): Fixed all internal variables used dynamically so
	that they are always bound.

	* cc-cmds.el, cc-engine.el: Improved recovery of syntactic
	errors:

	(c-indent-region): Fixed reporting of syntactic errors so that
Stefan Monnier's avatar
Stefan Monnier committed
1078 1079
	the region is fully reindented even when an error occurs.
	The last syntactic error is printed afterwards.  Also cleanup up a
Gerd Moellmann's avatar
Gerd Moellmann committed
1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095
	whole lot of code that tried to optimize indentation of whole
	sexps but in reality accomplishes nothing.

	(c-indent-sexp): Use c-indent-region.

	(c-parsing-error): Changed this variable to hold the message
	for any syntactic error that is discovered.

	(c-parse-state): Search backward from point instead of the bod
	position when the latter is invalid.  This makes CC Mode
	recover faster when there are unbalanced close braces.

	(c-backward-to-start-of-if): Use c-parsing-error to report
	dangling "else" clauses instead of throwing an error, and fall
	back to a reasonable position.

Stefan Monnier's avatar
Stefan Monnier committed
1096
	(c-indent-line): Added argument to avoid reporting syntactic errors.
Gerd Moellmann's avatar
Gerd Moellmann committed
1097

Stefan Monnier's avatar
Stefan Monnier committed
1098
	(c-show-syntactic-information): Don't report any syntactic errors.
Gerd Moellmann's avatar
Gerd Moellmann committed
1099 1100 1101 1102 1103 1104

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-beginning-of-statement): Fixed bugs with
	paragraph recognition when moving by sentence in literals.

Stefan Monnier's avatar
Stefan Monnier committed
1105 1106 1107
	* cc-langs.el (c-Java-javadoc-paragraph-start): Modified paragraph
	start regexp for javadoc to recognize javadoc markup in general instead
	of a specific set of keywords, to be more future-safe.
Gerd Moellmann's avatar
Gerd Moellmann committed
1108 1109 1110 1111 1112

	(c-Pike-pikedoc-paragraph-start)
	(c-Pike-pikedoc-paragraph-separate): New regexps to recognize
	pikedoc markup.

Stefan Monnier's avatar
Stefan Monnier committed
1113
	* cc-mode.el: Fixed initialization and use of c-current-comment-prefix.
Gerd Moellmann's avatar
Gerd Moellmann committed
1114

Stefan Monnier's avatar
Stefan Monnier committed
1115
	(pike-mode): Initialize paragraph settings pikedoc recognition.
Gerd Moellmann's avatar
Gerd Moellmann committed
1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154

	* cc-vars.el (c-default-style): Made a nicer Customize widget.

	(c-comment-prefix-regexp): Made it possible to use an
	association list on this to specify mode specific regexps.
	The default value now use a special regexp in Pike mode to
	recognize pikedoc markup.

	(c-current-comment-prefix): New variable containing the actual
	regexp from c-comment-prefix-regexp for the current buffer.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-electric-brace): Fixed check for special brace
	lists: We can't look at the syntax, since a brace list can get
	recognized as a plain statement-cont.

	* cc-engine.el (c-guess-basic-syntax): Fixed bug where a
	special brace list opener broken over two lines got recognized
	as a statement on the second line.  Case 9A changed.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-electric-brace): Fixed bug in c-state-cache
	adjustment after line is reindented.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-defs.el (c-point): Added optional argument for position
	to use instead of the current point.

	* cc-defs.el, cc-engine.el (c-add-class-syntax): Do not add
	the in-expression block symbols when the construct starts at
	boi, to avoid the extra level of indentation in that case.
	Cases 4, 16A and 17E affected.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el: Use `indent-according-to-mode' instead of direct
Stefan Monnier's avatar
Stefan Monnier committed
1155
	calls to `c-indent-line', to adhere better to Emacs conventions.
Gerd Moellmann's avatar
Gerd Moellmann committed
1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167

	* cc-engine.el (c-indent-line): Use the syntax already bound
	to `c-syntactic-context', if there is any.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-engine.el (c-get-offset): Fixed bug where the indentation
	wasn't added up correctly when a lineup function returned nil.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-engine.el (c-collect-line-comments): Fixed bug where
Stefan Monnier's avatar
Stefan Monnier committed
1168
	empty lines were ignored when collecting line comments backwards.
Gerd Moellmann's avatar
Gerd Moellmann committed
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 1194 1195 1196 1197 1198 1199 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

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-align.el (c-lineup-dont-change): Return an absolute
	indentation column to work correctly in the case when several
	syntactic elements are processed for the same line.

	* cc-engine.el, cc-styles.el, cc-vars.el (c-evaluate-offset)
	(c-get-offset, c-indent-line, c-valid-offset, c-read-offset)
	(c-set-offset): Added absolute indentation column settings by
	using the vector type.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el, cc-vars.el (c-electric-paren, c-cleanup-list):
	Implemented two new cleanups `space-before-funcall' and
	`compact-empty-funcall'.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-defs.el (c-paren-re, c-identifier-re): Two new macros for
	helping building regexps.

	* cc-engine.el (c-on-identifier): New function for detecting
	identifiers.  It takes keywords into account.

	* cc-langs.el, cc-mode.el: Added regexps for complete keyword
	lists.  `c-keywords' is set to a regexp matching all keywords
	in the current language.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-engine.el (c-beginning-of-statement-1): Added '#' to the
	list of characters to skip backwards over at the beginning of
	a statement, since it can precede string literals in Pike.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-guess-fill-prefix): Fixed bug with prefix
	recognition when standing on the last line in a C++ comment
	with nothing but whitespace after the prefix.

	* cc-engine.el (c-backward-to-start-of-if): Fixed bug when
	given no limit argument.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-engine.el (c-inside-bracelist-p): Fixed brace list
	recognition for the `[]= operator symbol in Pike.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-bytecomp.el (cc-eval-when-compile): New macro that works
	around a bug in `eval-when-compile' in the byte compiler.

	* cc-engine.el (c-forward-token-1): Fixed bug with return
Stefan Monnier's avatar
Stefan Monnier committed
1225
	value when count is zero and there's no token start within the limit.
Gerd Moellmann's avatar
Gerd Moellmann committed
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 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278

	(c-guess-basic-syntax): Don't add 'comment-intro to lines with
	"prefix comments", i.e. comments which are followed by code on
	the same line.

	* cc-mode-19.el: Fixes so that checks that must be done at
	compile time also are done then.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-defs.el: Make sure cc-mode-19 is loaded both at compile
	time and at runtime, and only when it's needed.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	Major cleanup for less error prone and more warning free
	compilation, including some fixes for bugs due to different
	compilation orders. Thanks to Martin Buchholz for providing
	the basis for all this.

	* cc-bytecomp.el: New file that provides some byte compilation
	features: It ensures that files always are loaded from the
	current source directory during compilation, and it provides a
	set of macros to turn off specific compiler warnings for
	specific symbols.  (It's not CC Mode specific in any way.)

	Fixed a nearly acyclic dependency tree (both runtime and
	compile-time) between all files.

	* cc-defs.el: Separated all macros before the inline functions,
	to ensure correct compilation.

	* cc-defs.el, cc-engine.el: Moved c-beginning-of-macro to from
	cc-defs.el to cc-engine.el and made it a function instead.

	* cc-mode-19.el: Patch the byte compiler in Emacs 19 not to warn
	about char-after.

	* cc-vars.el: Cope even when there isn't a custom package
	containing defcustom available.

	* cc-make.el: Removed since it's no longer necessary.

	README: Updated installation instructions.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el, cc-langs.el, cc-mode.el: Moved around things to
	improve the modularity: Moved all mode init stuff from
	cc-langs.el to cc-mode.el, including the keymap
	initialization; cc-langs now only contains the various
	variables for configuring the language syntax.

Stefan Monnier's avatar
Stefan Monnier committed
1279 1280
	* cc-engine.el, cc-styles.el (c-evaluate-offset)
	(c-get-offset): Moved from cc-styles to cc-engine since file
Gerd Moellmann's avatar
Gerd Moellmann committed
1281
	dependency analysis suggests they belong there (which also
Stefan Monnier's avatar
Stefan Monnier committed
1282
	makes more sense).  Thanks to Martin Buchholz for doing the analysis.
Gerd Moellmann's avatar
Gerd Moellmann committed
1283 1284 1285 1286 1287 1288 1289

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-fn-region-is-active-p): New function that
	wraps the corresponding macro, for use in places that aren't
	compiled.  Thanks to Martin Buchholz for pointing out this.

Stefan Monnier's avatar
Stefan Monnier committed
1290
	* cc-langs.el (c-mode-menu): Use c-fn-region-is-active-p.
Gerd Moellmann's avatar
Gerd Moellmann committed
1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311

	* cc-mode.el (c-prepare-bug-report-hooks): Hook variable to
	add things to the bug report.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-guess-fill-prefix): Fixed bug where the
	returned prefix could contain a newline when the search for a
	good prefix line failed.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-cmds.el (c-toggle-auto-state, c-toggle-hungry-state)
	(c-toggle-auto-hungry-state): Made the argument optional, as
	the documentation says it is.

2000-03-21  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-engine.el (c-guess-basic-syntax): Don't treat the Pike
	multiline string syntax, #"...", as a cpp macro.

Gerd Moellmann's avatar
Gerd Moellmann committed
1312 1313
2001-03-21  Paul Eggert  <eggert@twinsun.com>

Stefan Monnier's avatar
Stefan Monnier committed
1314 1315
	* international/mule-cmds.el (set-locale-environment):
	Set system-messages-locale and system-time-locale, but only if the
Gerd Moellmann's avatar
Gerd Moellmann committed
1316
	caller specifies a non-nil locale name.
Kenichi Handa's avatar
Kenichi Handa committed
1317

Gerd Moellmann's avatar
Gerd Moellmann committed
1318
2001-03-20  Gerd Moellmann  <gerd@gnu.org>
John Wiegley's avatar
John Wiegley committed
1319 1320

	* pcvs-util.el (cvs-bury-buffer): Bodiless `if' statements cause
Gerd Moellmann's avatar
Gerd Moellmann committed
1321
	problems for the interpreter.  From: John Wiegley  <johnw@gnu.org>
John Wiegley's avatar
John Wiegley committed
1322

1323 1324
2001-03-20  Gerd Moellmann  <gerd@gnu.org>

1325 1326
	* follow.el (follow-avoid-tail-recenter): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
1327 1328 1329
	* custom.el (custom-set-variables): Avoid reversing the list
	of args needlessly.

1330 1331 1332
	* startup.el (fancy-splash-head): Don't change the colors of the
	XPM image on a dark background.

1333 1334 1335
	* comint.el (comint-exec-1): Set columns of the terminal to
	window-width instead of frame-width.

Gerd Moellmann's avatar
Gerd Moellmann committed
1336 1337 1338
	* info.el (Info-scroll-down): Add missing WINDOW arg for
	pos-visible-in-window-p.

Gerd Moellmann's avatar
Gerd Moellmann committed
<