ChangeLog 619 KB
Newer Older
1 2
2001-05-17  Gerd Moellmann  <gerd@gnu.org>

3 4 5 6
	* mail/rmail.el (rmail-require-mime-maybe): New function.
	(rmail): Use it.
	(rmail-mode): Handle the case of finding Rmail files.

7 8 9
	* emacs-lisp/elp.el (elp-instrument-function): Handle advised
	functions.

10 11 12 13 14 15
2001-05-17  Stefan Monnier  <monnier@cs.yale.edu>

	* jit-lock.el (jit-lock-after-change): Check the font-lock-multiline
	text-property after moving to the beginning of line and regardless
	of the value of font-lock-multiline.

16 17
2001-05-17  Gerd Moellmann  <gerd@gnu.org>

18 19
	* startup.el (fancy-splash-screens): Ignore events on the mode-line.

20 21 22 23
	* net/ange-ftp.el (ange-ftp-write-region): Make sure to record the
	last coding system used before calling set-buffer-modified-p
	because that function changes last-coding-system.

24 25 26 27 28 29
2001-05-17  Eli Zaretskii  <eliz@is.elta.co.il>

	* files.el (switch-to-buffer-other-window)
	(switch-to-buffer-other-frame): Add an xref to display-buffer in
	the doc string.

Gerd Moellmann's avatar
Gerd Moellmann committed
30 31 32 33
2001-05-17  Gerd Moellmann  <gerd@gnu.org>

	* language/slovak.el, language/czech.el: New maintainer.

34 35
2001-05-16  Sam Steingold  <sds@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
36
	* emacs-lisp/cl-indent.el (toplevel): Indent the :method
37 38
	sub-form of `defgeneric' correctly.

Gerd Moellmann's avatar
Gerd Moellmann committed
39 40
2001-05-16  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
41 42 43
	* tooltip.el (tooltip) <defgroup>: Put it in `gud' group instead
	of `c'.

Gerd Moellmann's avatar
Gerd Moellmann committed
44
	* textmodes/outline.el (outline-font-lock-level): Remove the
45 46
	condition-case, test what outline-level returns instead, to
	ease debugging.
Gerd Moellmann's avatar
Gerd Moellmann committed
47

Gerd Moellmann's avatar
Gerd Moellmann committed
48 49 50 51
	* international/mule.el (auto-coding-regexp-alist): New user-option.
	(auto-coding-from-file-contents): New function.
	(set-auto-coding): Use it to determine a coding system.

Gerd Moellmann's avatar
Gerd Moellmann committed
52 53
2001-05-15  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
54 55
	* mouse.el (mouse-delete-other-windows): Doc fix.

56 57 58
	* emacs-lisp/lisp-mode.el (lisp-mode):
	Make font-lock-keywords-case-fold-search a buffer-local variable with
	make-local-variable before setting it.
Gerd Moellmann's avatar
Gerd Moellmann committed
59

60 61 62 63 64
2001-05-14  Eli Zaretskii  <eliz@is.elta.co.il>

	* emacs-lisp/elp.el (elp-instrument-package): Don't allow empty
	prefixes.

Gerd Moellmann's avatar
Gerd Moellmann committed
65 66 67 68 69
2001-05-14  Gerd Moellmann  <gerd@gnu.org>

	* hexl.el (hexl-current-address): Print a message when called
	interactively.

Stefan Monnier's avatar
Stefan Monnier committed
70 71 72 73 74 75 76 77
2001-05-11  Stefan Monnier  <monnier@cs.yale.edu>

	* gud.el (gud-jdb-build-source-files-list): Fix paren typo.

	* pcvs-defs.el (cvs-mode-map): Don't rebind `undo'.

	* files.el (auto-mode-alist): Add *.perl and fix the *.<rev> case.

Gerd Moellmann's avatar
Gerd Moellmann committed
78 79
2001-05-11  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
80 81 82 83
	* startup.el (command-line): If parameters have been changed in
	the init files which influence font selection, clear the face
	cache so that faces get realized with the new parameters.

Stefan Monnier's avatar
Stefan Monnier committed
84
	* Makefile.in (compile-files): Redirect output of chmod to /dev/null.
Gerd Moellmann's avatar
Gerd Moellmann committed
85

86 87 88 89
2001-05-10  Stefan Monnier  <monnier@cs.yale.edu>

	* smerge-mode.el (smerge-mode): Force font-lock-multiline to t.

90 91 92 93 94
2001-05-10  Eli Zaretskii  <eliz@is.elta.co.il>

	* mail/emacsbug.el (report-emacs-bug): Don't switch the buffer to
	unibyte.  Suggested by Kenichi Handa <handa@etl.go.jp>.

Gerd Moellmann's avatar
Gerd Moellmann committed
95 96 97
2001-05-10  Gerd Moellmann  <gerd@gnu.org>

	* net/browse-url.el (browse-url-filename-alist): Allow UNC file
98
	names for MS-Windows and MS-DOS.  From Dan Holmsand <dan@eyebee.com>.
Gerd Moellmann's avatar
Gerd Moellmann committed
99

John Wiegley's avatar
John Wiegley committed
100 101
2001-05-09  John Wiegley  <johnw@gnu.org>

102 103
	* eshell/esh-util.el (eshell-convert-numeric-arguments):
	Annotated the documentation string to tell users about
104 105
	`eshell-no-numeric-conversions'.

John Wiegley's avatar
John Wiegley committed
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
	* eshell/esh-cmd.el (eshell-lisp-command): Don't perform numeric
	conversions if a Lisp function has the property
	`eshell-no-numeric-conversions' set to a non-nil value.

	* eshell/em-dirs.el, eshell/em-ls.el, eshell/em-script.el,
	eshell/em-unix.el, eshell/esh-ext.el, eshell/esh-cmd.el: Set the
	property `eshell-no-numeric-conversions' on the following
	functions (which all deal with filesystem entities, and never Lisp
	numerical values): eshell/cd, eshell/pushd, eshell/popd,
	eshell/ls, eshell/source, eshell/., eshell/man, eshell/rm,
	eshell/mkdir, eshell/rmdir, eshell/mv, eshell/cp, eshell/ln,
	eshell/cat, eshell/make, eshell/diff, eshell/locate, eshell/occur,
	eshell/which, eshell/addpath.

2001-05-09  John Wiegley  <johnw@gnu.org>
121

John Wiegley's avatar
John Wiegley committed
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
	* eshell/esh-arg.el (eshell-parse-argument-hook): If a number is
	encountered as an argument, don't convert it right away, but tag
	the first character of the string with the text properties
	`number', which signifies to `eshell-lisp-command' that the
	argument should be passed through `string-to-number' if it is
	actually used in the call to a Lisp function.

	* eshell/esh-cmd.el (eshell-lisp-command): Before calling a Lisp
	function, convert any string arguments that have been tagged as
	"numbers", by calling string-to-number.

	* eshell/esh-util.el (eshell-number-regexp): Now that number
	conversions only happen for Lisp function calls, the number regexp
	should now match all integer and floating point forms.

	* eshell/esh-proc.el: Disable `eshell-stop-process' and
	`eshell-continue-process', since they are both nonfunctional at
	the moment.
	(eshell-proc-initialize): Don't bind keys for
	`eshell-stop-process' or `eshell-continue-process'.

143 144
	* eshell/em-unix.el (eshell-shuffle-files):
	Apply `directory-file-name' before calling `file-name-directory'.
John Wiegley's avatar
John Wiegley committed
145 146 147 148

	* eshell/em-hist.el (eshell-add-to-history): Reference to
	`eshell-history-ring' needed to be `eshell-history-index'.

149 150
	* calendar/timeclock.el (timeclock-find-discrep):
	Initialize `elapsed' to 0.
John Wiegley's avatar
John Wiegley committed
151 152
	(timeclock-find-discrep): Set `timeclock-last-event-workday' if
	it's still nil.
John Wiegley's avatar
John Wiegley committed
153

154 155 156 157 158 159
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
160 161 162 163
2001-05-09  Gerd Moellmann  <gerd@gnu.org>

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

164 165
2001-05-09  Eli Zaretskii  <eliz@is.elta.co.il>

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

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

172 173
2001-05-08  John Wiegley  <johnw@gnu.org>

174 175
	* calendar/timeclock.el (timeclock-workday-remaining):
	Changed logic for determining how much time is remaining.
176 177
	(timeclock-workday-elapsed): Don't accept a "relative" argument
	for the current day's elapsed time.  What could that have meant?
178
	(timeclock-workday-elapsed-string): No "relative" argument anymore.
179 180 181 182 183 184 185
	(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).

186 187 188 189 190 191 192
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
193 194 195 196 197 198 199 200 201
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.
202 203 204
	(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
205 206 207 208 209 210 211
	(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.
212 213
	(rmail-next-message, rmail-next-undeleted-message): Be sure to
	set-buffer to the Rmail buffer.
Gerd Moellmann's avatar
Gerd Moellmann committed
214 215 216 217 218 219
	(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.
220 221
	(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
222 223 224
	(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.
225 226
	(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
227 228 229 230 231 232 233 234 235 236 237 238 239 240
	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.
241 242
	(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
243 244 245 246 247 248 249 250 251 252 253 254 255 256
	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
257 258
2001-05-07  Gerd Moellmann  <gerd@gnu.org>

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

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

264 265 266 267 268
	* mail/smtpmail.el (smtpmail-warn-about-unknown-extensions):
	Add :version.

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

272 273 274
	* mail/rmail.el (rmail-mode-map): Use rmail-sort-by-labels
	instead of rmail-sort-by-keywords.

275
	* mail/rmailsort.el (rmail-sort-by-labels): Renamed from
276 277
	rmail-sort-by-keywords.

278 279
	* mail/rmailsum.el (rmail-summary-sort-by-labels): Renamed from
	rmail-summary-sort-by-keywords.  Doc fix.
280 281
	(rmail-summary-mode): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
282 283 284 285 286
	* mail/rmail.el (rmail-edit): New Custom group.

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

287 288 289 290 291 292 293 294 295
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.

296 297
2001-05-04  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
298 299 300 301 302 303 304
	* 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.

305 306 307
	* diff-mode.el (diff-nonexistent-face, diff-font-lock-keywords):
	Typo `nonexistant' -> `nonexistent'.

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

310 311
	* 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
312 313 314
	`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.
315

Eli Zaretskii's avatar
Eli Zaretskii committed
316 317 318 319 320
	* 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
321 322 323 324 325 326
2001-05-03  Eli Zaretskii  <eliz@is.elta.co.il>

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

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

327 328 329 330
2001-05-03  Eli Zaretskii  <eliz@is.elta.co.il>

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

331 332
2001-05-02  Stefan Monnier  <monnier@cs.yale.edu>

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

336 337 338 339
	* 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.

340 341
2001-05-02  Gerd Moellmann  <gerd@gnu.org>

342 343
	* textmodes/texinfmt.el (texinfo-format-parse-args): Don't consume
	a newline following `}'.
Gerd Moellmann's avatar
Gerd Moellmann committed
344 345
	(texinfo-format-email): New function.
	(toplevel): Use texinfo-format-email for @email.
346 347
	(texinfo-format-kbd-regexp, texinfo-format-kbd-end-regexp):
	Add `display'.
Gerd Moellmann's avatar
Gerd Moellmann committed
348 349 350 351
	(texinfo-sort-region): Goto point-min before sorting.
	(texinfo-set): Remove leading white space from value.
	From yagi@is.titech.ac.jp.

352 353
	* replace.el (query-replace-regexp-eval): Doc fix.

Stefan Monnier's avatar
Stefan Monnier committed
354 355 356 357 358
2001-05-01  Stefan Monnier  <monnier@cs.yale.edu>

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

359 360
2001-04-30  Eli Zaretskii  <eliz@is.elta.co.il>

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

363 364 365
	* dired-aux.el (dired-do-rename-regexp, dired-do-copy-regexp)
	(dired-do-hardlink-regexp, dired-do-symlink-regexp): Doc fix.

366 367
2001-04-30  Gerd Moellmann  <gerd@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
368 369
	* 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
370 371
	(sh-font-lock-syntactic-keywords): Likewise.

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

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

380 381 382
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
383 384
	(dired-do-symlink, dired-do-hardlink, dired-do-rename):
	Mention dired-dwim-target in the doc string.
385

386 387 388 389 390 391
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
392 393
2001-04-27  Gerd Moellmann  <gerd@gnu.org>

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

396 397 398 399 400 401 402 403 404
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.

405 406 407 408 409
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.

410 411 412 413 414 415 416 417 418 419
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
420 421
	(ps-plot-region): Eliminate redundant foreground color text setting.

422 423 424 425
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
426 427 428 429
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
430 431
2001-04-25  Eli Zaretskii  <eliz@is.elta.co.il>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
434
	* find-lisp.el (find-lisp-find-dired-filter)
Stefan Monnier's avatar
Stefan Monnier committed
435 436
	(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
437

438 439
2001-04-25  Stefan Monnier  <monnier@cs.yale.edu>

440 441 442 443
	* progmodes/make-mode.el (makefile-font-lock-keywords):
	Rationalize the rules for includes and conditionals and use the
	keyword face for them.

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

John Wiegley's avatar
John Wiegley committed
446 447 448 449 450
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.

451 452 453 454 455 456
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.

457 458 459 460 461 462 463 464 465 466 467
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.

468 469 470 471 472
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.

473 474 475 476 477 478 479 480 481
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.

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

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

486
2001-04-23  John Wiegley  <johnw@gnu.org>
487 488 489 490 491 492 493 494

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

495
2001-04-23  Kahlil Hodgson <kahlil@discus.anu.edu.au>
496 497 498 499 500 501

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

502 503 504
2001-04-23  Eli Zaretskii  <eliz@is.elta.co.il>

	* calendar/calendar.el (diary-entry-marker)
505 506
	(calendar-today-marker, calendar-holiday-marker):
	Use display-color-p instead of window-system.
507 508 509 510 511 512
	(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)
513 514
	(calendar-only-one-frame-setup, calendar-one-frame-setup):
	Use display-multi-frame-p instead of window-system.
515

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

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

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

Gerd Moellmann's avatar
Gerd Moellmann committed
523 524 525
2001-04-23  Alex Schroeder  <alex@gnu.org>

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

Gerd Moellmann's avatar
Gerd Moellmann committed
528 529 530
2001-04-23  Alex Schroeder  <alex@gnu.org>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
533 534 535 536
2001-04-22  Eli Zaretskii  <eliz@is.elta.co.il>

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

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

	* sql.el (sql-escape-newlines-and-send): New function.
540
	(sql-db2): Set comint-input-sender to sql-escape-newlines-and-send.
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558

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.

559 560 561 562
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
563 564
2001-04-18  Gerd Moellmann  <gerd@gnu.org>

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

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

Andrew Innes's avatar
Andrew Innes committed
571 572 573
2001-04-18  Andrew Innes  <andrewi@gnu.org>

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

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

579 580
	* language/slovak.el ("Slovak"): Add tutorial entry.

581 582 583
	* net/browse-url.el (browse-url-new-window-flag): Renamed from
	browse-url-new-window-p.

584 585 586 587 588 589
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
590 591
2001-04-17  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
592 593 594
	* 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
595 596
	* frame.el (delete-other-frames): Handle minibuffer-only frames.

597 598 599 600 601 602
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>.

603 604 605 606 607
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
608 609 610 611 612
2001-04-14  Eli Zaretskii  <eliz@is.elta.co.il>

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

613 614 615 616 617 618 619 620 621 622 623 624 625 626 627
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.

628 629 630 631 632 633 634
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
635
2001-04-12  Eli Zaretskii  <eliz@is.elta.co.il>
636 637 638

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

639 640
2001-04-11  John Wiegley  <johnw@gnu.org>

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

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

647 648 649
	* calendar/timeclock.el (timeclock-completing-read): New function.
	(timeclock-ask-for-project, timeclock-ask-for-reason):
	Call `timeclock-completing-read'.
650 651 652 653

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

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

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

Gerd Moellmann's avatar
Gerd Moellmann committed
659 660 661 662 663
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.

664 665
2001-04-11  Eli Zaretskii  <eliz@is.elta.co.il>

666 667
	* textmodes/texinfo.el (texinfo-font-lock-keywords):
	Add fontification for @value, @dfn, @dmn, @acronym, @anchor, and
668 669 670
	@inforef.  Add an OVERRIDE of `keep' to highlight specs of
	keywords whose arguments routinely include @@.

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

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

676
	* textmodes/paragraphs.el (forward-sentence): Put the sentence-end
677
	regexp in parentheses when building the regexp for searching backwards.
678

679
	* simple.el (completion-list-mode-finish): New function.
680
	(toplevel): Add completion-list-mode-finish to temp-buffer-show-hook.
681

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

685 686 687
	* progmodes/sh-script.el (sh-indent-line): Add optional PREFIX-ARG
	parameter.

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

Gerd Moellmann's avatar
Gerd Moellmann committed
690
2001-04-10  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
691 692 693 694 695 696 697 698 699 700 701 702 703

	* 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)
704 705
	(ps-generate-header, ps-begin-file, ps-begin-job, ps-begin-page):
	Code fix.
706 707 708 709 710 711
	(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.
712

Eli Zaretskii's avatar
Eli Zaretskii committed
713
2001-04-10  Colin Walters <walters@cis.ohio-state.edu>
John Wiegley's avatar
John Wiegley committed
714 715 716 717

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

Eli Zaretskii's avatar
Eli Zaretskii committed
718
2001-04-10  John Wiegley  <johnw@gnu.org>
John Wiegley's avatar
John Wiegley committed
719 720 721 722

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

723 724
2001-04-09  Gerd Moellmann  <gerd@gnu.org>

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

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

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

735 736
	* bindings.el (mode-line-modified): Unify help messages.

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

742 743
2001-04-06  Eli Zaretskii  <eliz@is.elta.co.il>

Eli Zaretskii's avatar
Eli Zaretskii committed
744 745 746 747 748 749 750
	* 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.

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

755 756
	* simple.el (normal-erase-is-backspace-mode): Doc fix.

Stefan Monnier's avatar
Stefan Monnier committed
757 758 759 760 761 762
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
763 764 765 766 767
2001-04-06  Dave Love  <fx@gnu.org>

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

768 769 770 771
2001-04-05  Stefan Monnier  <monnier@cs.yale.edu>

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

772 773
2001-04-05  Sam Steingold  <sds@gnu.org>

774 775
	* font-lock.el (font-lock-keywords-case-fold-search):
	Make buffer-local.  This fixes a very annoying bug when loading a Lisp
776 777
	file made font-lock case-insensitive.

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

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

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

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

Gerd Moellmann's avatar
Gerd Moellmann committed
787 788 789 790 791 792 793 794
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
795 796 797 798 799 800
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.

801 802
2001-04-04  Eli Zaretskii  <eliz@is.elta.co.il>

Stefan Monnier's avatar
Stefan Monnier committed
803 804 805
	* emulation/pc-select.el (pc-selection-mode):
	Call normal-erase-is-backspace-mode instead of binding
	keys individually.
806

807 808 809 810 811 812 813 814 815
	* 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
816 817
	delete-key-deletes-forward-mode.  Doc fix.
	Run normal-erase-is-backspace-hook.
818

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

824 825 826 827
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
828 829
	(lm-verify): Check keywords.
	From Eric M. Ludlam <eric@siege-engine.com>.
830

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

841 842 843 844 845 846 847 848
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.

849 850
2001-04-03  Gerd Moellmann  <gerd@gnu.org>

851 852 853
	* icomplete.el (icomplete-mode): Treat an argument like other
	modes do.

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

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

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

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

Stefan Monnier's avatar
Stefan Monnier committed
866 867 868 869 870 871 872 873 874 875 876 877 878
	* 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.
879

Eli Zaretskii's avatar
Eli Zaretskii committed
880 881 882 883 884
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
885 886 887 888 889
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
890 891
	(ps-line-spacing, ps-paragraph-spacing, ps-paragraph-regexp):
	New vars.  Line and paragraph spacing feature.
Gerd Moellmann's avatar
Gerd Moellmann committed
892 893 894 895 896 897
	(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
898 899
	(ps-line-spacing-internal, ps-paragraph-spacing-internal):
	New internal vars.
Gerd Moellmann's avatar
Gerd Moellmann committed
900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937
	(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.

938 939
2001-04-02  Gerd Moellmann  <gerd@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
940 941
	* frame.el (cursor-in-non-selected-windows):
	Replaces show-cursor-in-non-selected-windows.
942

Kenichi Handa's avatar
Kenichi Handa committed
943 944 945 946
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
947
	(quail-misc-package-ext-info): New variable.
Kenichi Handa's avatar
Kenichi Handa committed
948
	(tsang-quick-converter): New function.
Stefan Monnier's avatar
Stefan Monnier committed
949 950
	(tsang-b5-converter, quick-b5-converter, tsang-cns-converter)
	(quick-cns-converter, py-converter, ziranma-converter)
Kenichi Handa's avatar
Kenichi Handa committed
951 952
	(miscdic-convert, batch-miscdic-convert): New functions.

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

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

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

Eli Zaretskii's avatar
Eli Zaretskii committed
961 962 963 964 965
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
966 967 968 969
2001-03-30  Andreas Schwab  <schwab@suse.de>

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

970 971 972 973 974
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
975 976 977 978
2001-03-30  Dave Love  <fx@gnu.org>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
979 980 981 982
2001-03-30  Eli Zaretskii  <eliz@is.elta.co.il>

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

983 984 985 986
2001-03-30  Miles Bader  <miles@gnu.org>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
987 988 989 990 991 992
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>.

993 994 995 996 997
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.

998 999 1000 1001 1002
2001-03-29  Stefan Monnier  <monnier@cs.yale.edu>

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

1003 1004
2001-03-29  Gerd Moellmann  <gerd@gnu.org>

1005 1006
	* emacs-lisp/advice.el (ad-make-advised-definition):
	Call interactive-form to obtain the interactive spec of subrs.
1007 1008 1009

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

André Spiegel's avatar
#  
André Spiegel committed
1010 1011 1012 1013
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
1014 1015
2001-03-28  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1016 1017 1018
	* bookmark.el (bookmark-get-bookmark): Handle case that
	BOOKMARK is not a string.

Gerd Moellmann's avatar
Gerd Moellmann committed
1019 1020 1021
	* image.el (image-type-regexps): Change type for PS files
	to `postscript'.

Gerd Moellmann's avatar
Gerd Moellmann committed
1022 1023 1024
	* 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
1025 1026 1027 1028 1029
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
1030 1031
2001-03-26  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1032 1033 1034 1035 1036 1037
	* 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
1038
	* emacs-lisp/byte-opt.el (byte-optimize-while)
Gerd Moellmann's avatar
Gerd Moellmann committed
1039 1040 1041
	(byte-optimize-form-code-walker): Diagnose too few arguments
	for `if' and `while'.

Kenichi Handa's avatar
Kenichi Handa committed
1042 1043 1044 1045 1046
2001-03-26  Kenichi Handa  <handa@etl.go.jp>

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

1047 1048
2001-03-26  Gerd Moellmann  <gerd@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
1049 1050
	* autorevert.el (global-auto-revert-non-file-buffers):
	Remove duplicate defcustom.
1051

1052 1053
2001-03-26  Miles Bader  <miles@gnu.org>

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

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

Stefan Monnier's avatar
Stefan Monnier committed
1059 1060
	* 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
1061 1062
	charsets they can encode.

1063 1064 1065 1066 1067
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>.

1068 1069 1070 1071 1072
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
1073 1074
2001-03-23  Kenichi Handa  <handa@etl.go.jp>

1075 1076
	* 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
1077 1078 1079 1080
	multibyte sequence can work correctly.
	(encoded-kbd-setup-keymap): Fix the default value of `valid-codes'
	property of the coding system.

1081 1082 1083 1084 1085
2001-03-23  Stefan Monnier  <monnier@cs.yale.edu>

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

1086 1087 1088 1089 1090
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.
1091 1092 1093
	(whitespace-toggle-ateol-check, whitespace-toggle-leading-check)
	(whitespace-toggle-trailing-check, whitespace-toggle-indent-check)
	(whitespace-toggle-spacetab-check): New functions.
1094

Stefan Monnier's avatar
Stefan Monnier committed
1095 1096 1097 1098
2001-03-21  Stefan Monnier  <monnier@cs.yale.edu>

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

1099 1100
2001-03-21  Gerd Moellmann  <gerd@gnu.org>

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

1105 1106 1107
	* Makefile.in, makefile.w32-in (COMPILE_FIRST): Add cc-mode.el
	and cc-vars.el.

1108 1109 1110
	* mail/sendmail.el (sendmail-send-it): Don't parse Resent-*
	headers.  Always invoke sendmail with option -t.

Gerd Moellmann's avatar
Gerd Moellmann committed
1111 1112 1113 1114 1115 1116 1117 1118
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
1119
	It's instead taken care of by the default value for c-default-style.
Gerd Moellmann's avatar
Gerd Moellmann committed
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 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176

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
1177 1178
	* cc-cmds.el (c-comment-indent):
	Use `c-get-syntactic-indentation' to correctly calculate the
Gerd Moellmann's avatar
Gerd Moellmann committed
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
	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
1224 1225
	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
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241
	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
1242
	(c-indent-line): Added argument to avoid reporting syntactic errors.
Gerd Moellmann's avatar
Gerd Moellmann committed
1243

Stefan Monnier's avatar
Stefan Monnier committed
1244
	(c-show-syntactic-information): Don't report any syntactic errors.
Gerd Moellmann's avatar
Gerd Moellmann committed
1245 1246 1247 1248 1249 1250

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
1251 1252 1253
	* 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
1254 1255 1256 1257 1258

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

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

Stefan Monnier's avatar
Stefan Monnier committed
1261
	(pike-mode): Initialize paragraph settings pikedoc recognition.
Gerd Moellmann's avatar
Gerd Moellmann committed
1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282