1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

240 Commits

Author SHA1 Message Date
Gerd Moellmann
031999fb80 *** empty log message *** 1999-12-16 13:23:58 +00:00
Gerd Moellmann
340fe50f3b (java-keywords): Add Javadoc tags as of JDK 1.2.1. 1999-12-16 12:11:18 +00:00
Eli Zaretskii
a5e0e1a8ab * ls-lisp.el (ls-lisp-insert-directory): Print an explicit message
if one of the files specified cannot be accessed by
file-attributes.  Do not strip any leading directories from the
file names, to behave more like `ls' does.

* dired.el (dired-get-filename): Handle absolute file names.
(dired-readin-insert): If argument is a cons, don't print
"wildcard" on the ``total'' line.
1999-12-16 09:43:32 +00:00
Eli Zaretskii
f9d2fdc464 Changes for separate unspecified foreground and background colors
on character terminals:

* dispextern.h (FACE_TTY_DEFAULT_FG_COLOR)
(FACE_TTY_DEFAULT_BG_COLOR):  New macros.

* xfaces.c (Qunspecified_fg, Qunspecified_bg): New variables.
(syms_of_xfaces): Initialize and staticpro them.
(tty_defined_color): If the color name is unspecified-fg or
unspecified-bg, return FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR, respectively, as the pixel value.
(tty_color_name): If the color pixel value is either
FACE_TTY_DEFAULT_FG_COLOR or FACE_TTY_DEFAULT_BG_COLOR, return
Qunspecified_fg or Qunspecified_bg, respectively.
(Finternal_set_lisp_face_attribute): Allow values Qunspecified_fg
and Qunspecified_bg for foreground and background colors.
(realize_default_face): If the foreground and background colors
are not specified, default to Qunspecified_fg and Qunspecified_bg.
(realize_tty_face): By default, set the face colors to
FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR.
[MSDOS]: Handle FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR when face colors are not defined.
Reverse the colors if the default colors were reversed.

* dispnew.c (init_display): Initialize the frame pixels of the
initial frame to FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR.

* term.c (turn_on_face): If the default fore- and background
colors are reversed, enter inverse video mode.  Don't send color
escape sequences for unspecified foreground and background colors.
(turn_off_face): Handle unspecified-fg and unspecified-bg colors.

* dosfns.c (unspecified_colors): New variable.
(msdos_stdcolor_idx): Handle unspecified-fg and unspecified-bg
color names, return FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR, respectively.
(msdos_stdcolor_name): Handle FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR, return Qunspecified_fg and
Qunspecified_bg, respectively.

* msdos.c (IT_set_face): Support FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR as pixel values.

* faces.el (face-read-integer, read-face-attribute)
(color-defined-p, color-values): Allow color values unspecified-fg
and unspecified-bg, handle them as unspecified.
1999-12-15 13:14:38 +00:00
Kenichi Handa
5ec14d3c00 *** empty log message *** 1999-12-15 00:53:45 +00:00
Gerd Moellmann
5806e8a61d (default-input-method): Specify
that it should be set after current-language-environment.
1999-12-14 13:00:09 +00:00
Gerd Moellmann
c3c60f13d5 *** empty log message *** 1999-12-14 10:46:48 +00:00
Gerd Moellmann
295ccc644c *** empty log message *** 1999-12-12 18:53:40 +00:00
Gerd Moellmann
03d218b4f8 *** empty log message *** 1999-12-12 18:29:58 +00:00
Dave Love
3fc5589700 *** empty log message *** 1999-12-12 16:13:50 +00:00
Gerd Moellmann
d8eccf12ba *** empty log message *** 1999-12-12 13:23:20 +00:00
Eli Zaretskii
01511f50e3 (menu-bar-edit-menu): Define the Spell submenu even
if start-process is not bound, since Ispell now supports such
platforms as well.
1999-12-12 13:15:07 +00:00
Gerd Moellmann
23ee5556c6 *** empty log message *** 1999-12-12 12:32:20 +00:00
Stefan Monnier
f28eba7baf *** empty log message *** 1999-12-12 06:57:54 +00:00
Dave Love
d5f65532f3 1999-12-11 Samir Barjoud <samir@mindspring.com>
* help.el (where-is): use `commandp' as predicate for
        `completing-read'
1999-12-11 23:45:32 +00:00
Richard M. Stallman
910e571440 *** empty log message *** 1999-12-10 21:52:33 +00:00
Gerd Moellmann
a7261cf5cb (file-name-buffer-file-type-alist): Add `$' at end of
regexp matching image and audio files.
1999-12-10 13:37:42 +00:00
Dave Love
489f9c7705 *** empty log message *** 1999-12-09 23:48:05 +00:00
Gerd Moellmann
365e9bce08 (after-find-file): Use auto-save-visited-file-name if set. 1999-12-09 15:23:31 +00:00
Stefan Monnier
3dac25a972 New file. Provides a simple minor-mode for files containing
diff3-style conflict markers, such as generated by RCS
1999-12-09 13:03:41 +00:00
Richard M. Stallman
74002bdf23 (bookmark-bmenu-mode-map): Bind RET like f. 1999-12-09 04:49:37 +00:00
Richard M. Stallman
72af98670a (dired-insert-subdir): Add autoload cookie. 1999-12-09 02:01:26 +00:00
Dave Love
e77049d486 *** empty log message *** 1999-12-07 20:11:42 +00:00
Dave Love
b46cd53651 *** empty log message *** 1999-12-07 11:07:41 +00:00
Dave Love
2edf347fb2 *** empty log message *** 1999-12-07 10:21:20 +00:00
Stefan Monnier
0b82e382e3 * diff-mode.el (diff-mode-shared-map): fset'd and doc change.
(diff-minor-mode, diff-minor-mode-prefix, diff-minor-mode-map):
New code to support the minor mode version.
(diff-recenter): New function.
(diff-next-hunk, diff-next-file): Use it.
(diff-remembered-files-alist): New var.
(diff-merge-strings): New function.
(diff-find-file-name): Make it smarter and use the user's input more.
(diff-mode): Cosmetic changes.
1999-12-07 07:04:03 +00:00
Stefan Monnier
01e924b8c7 *** empty log message *** 1999-12-07 06:39:33 +00:00
Stefan Monnier
a1eb02bddb (kill-region): Use the new `delete-and-extract-region'
rather than the undo log (which is incorrect with *-change-functions).
1999-12-07 06:30:44 +00:00
Michael Kifer
1da04da19b * viper-cmd.el (viper-minibuffer-standard-hook,
viper-minibuffer-real-start): new functions.
	(viper-read-string-with-history,viper-file-add-suffix,
	viper-trim-replace-chars-to-delete-if-necessary): adapt to the
	change in the status of the minibuffer prompt.
1999-12-07 04:58:54 +00:00
Gerd Moellmann
3d973f7115 *** empty log message *** 1999-12-06 19:46:40 +00:00
Eli Zaretskii
7a3abcd829 (info-node, info-menu-5, info-xref): Define colors for Info faces if
the display supports them.
1999-12-06 18:00:33 +00:00
Eli Zaretskii
f795f63364 Changes for automatic remapping of X colors on terminal frames:
* term/pc-win.el (msdos-setup-initial-frame): New function, run by
	term-setup-hook.  Call msdos-remember-default-colors and
	msdos-handle-reverse-video.
	(msdos-face-setup): Parts of code moved to
	msdos-setup-initial-frame.
	(msdos-handle-reverse-video): New function, modeled after
	x-handle-reverse-video.
	(make-msdos-frame): Don't use initial-frame-alist and
	default-frame-alist.  Call msdos-handle-reverse-video.
	(msdos-color-aliases): Remove.
	(msdos-color-translate, msdos-approximate-color): Remove.
	(msdos-color-values): Use 16-bit RGB values.  RGB values updated
	for better approximation of X colors.
	(msdos-face-setup): Call tty-color-clear.  Remove code that sets
	up tty-color-alist (it is now on startup.el).
	(x-display-color-p, x-color-defined-p, x-color-values,
	x-defined-colors, face-color-supported-p, face-color-gray-p):
	Remove.

	* facemenu.el (facemenu-read-color, list-colors-display): Use
	defined-colors for all frame types.
	(facemenu-color-equal): Use color-values for all frame types.

	* faces.el (read-face-attribute): For :foreground and :background
	attributes and frames on character terminals, translate the color
	to the closest supported one before looking it up in the list of
	valid values.
	(face-valid-attribute-values): Call defined-colors for all types
	of frames.
	(defined-colors, color-defined-p, color-values, display-color-p):
	New finctions.
	(x-defined-colors, x-color-defined-p, x-color-values,
	x-display-color-p): Aliases for the above.

	* startup.el (command-line): Register terminal colors for frame
	types other than x and w32, but only if the terminal supports
	colors.  Call tty-color-define instead of face-register-tty-color.

	* term/x-win.el (xw-defined-colors): Renamed from
	x-defined-colors.
	* term/w32-win.el (xw-defined-colors): Likewise.

	* term/tty-colors.el: New file.
	* loadup.el: Load term/tty-colors.
1999-12-06 17:55:00 +00:00
Dave Love
71059bd334 *** empty log message *** 1999-12-06 17:16:30 +00:00
Gerd Moellmann
d984dbc116 (dired-do-shell-command): Changed documentation.
(dired-shell-stuff-it): A `?' in COMMAND has now the same
meaning as `*'.
1999-12-06 16:44:28 +00:00
Gerd Moellmann
cded5ed3bf *** empty log message *** 1999-12-06 13:37:29 +00:00
Gerd Moellmann
0b7b02f918 *** empty log message *** 1999-12-06 13:20:39 +00:00
Kenichi Handa
b3e5232e68 *** empty log message *** 1999-12-06 04:53:51 +00:00
Gerd Moellmann
28f2ee6659 (bibtex-hs-forward-sexp): Added to support
using the hideshow package.
(hs-special-modes-alist): Added entry for bibtex to allow the use
of the hideshow package.
(bibtex-hide-entry-bodies): Deleted as hiding of entry bodies is
not longer provided by bibtex.el directly.  Instead the hideshow
package should be used.
(bibtex-mode-map, bibtex-edit-menu, bibtex-mode): Delete
references to bibtex-hide-entry-bodies.

Copyright notice is up to date.  Moved
maintainer information closer to the beginning of the bibtex.el
file.
(bibtex-maintainer-salutation): New constant.
bibtex-version): New constant.
bibtex-submit-bug-report): Use bibtex-version and
bibtex-maintainer-salutation.
(bibtex-entry-field-alist): Made booktitle field optional for
@inproceedings entries when crossreferenced.
(bibtex-entry-field-alist): Added booktitle field to proceedings
entry type (for cross referencing). Thanks to Wagner Toledo Correa
for the suggestion.
(bibtex-string-file-path): Fixed typo.
(bibtex-mode-map): Reserved the key `C-c &'
for reftex.el.
(bibtex-edit-menu): Added `reftex-view-crossref-from-bibtex'
to menu.
1999-12-05 13:24:44 +00:00
Dave Love
22afa6e864 *** empty log message *** 1999-12-04 19:59:54 +00:00
Michael Kifer
b380fdf455 * viper-cmd.el (viper-change-state): Use
viper-ESC-moves-cursor-back to decide whether to move the cursor
	back.
1999-12-04 06:19:05 +00:00
Gerd Moellmann
9ac06837e1 (truncate-string-to-width): Docsting fixed. 1999-12-03 10:31:28 +00:00
Stefan Monnier
be961cd5aa (lm-header-multiline): fix spurious use of `cond'.
(lm-with-file): Move all the find-file...kill-buffer stuff into
this macro.  Make it use `find-file-noselect' and make it kill
the buffer only if it wasn't already displayed somewhere.
(lm-summary, lm-authors, lm-maintainer, lm-creation-date)
(lm-last-modified-date, lm-version, lm-keywords, lm-adapted-by)
(lm-commentary, lm-verify, lm-synopsis): use lm-with-file.
(lm-commentary): fix to handle the case when the change log is
at the end of the file.
1999-12-02 16:27:21 +00:00
Gerd Moellmann
867ef43ab1 (list-coding-categories): Fix typo;
automatic -> autoload.
1999-12-02 14:38:17 +00:00
Gerd Moellmann
fb29efe93f (vc-update-change-log): Look for rcs2log under
exec-directory.
1999-12-02 14:24:07 +00:00
Gerd Moellmann
a8050bff07 (lisp-mode-variables): Change
outline-regexp, add outline-level.
(lisp-outline-level): New.
1999-12-02 10:20:22 +00:00
Gerd Moellmann
ddf8eff5f6 *** empty log message *** 1999-12-02 08:04:03 +00:00
Gerd Moellmann
8f713f537c (finder-commentary): Activate Finder mode. 1999-12-01 23:41:44 +00:00
Gerd Moellmann
a468671afc (auto-revert-buffers): Auto-revert mode was turned
off when reverting buffers that contained mode specifiers.
`revert-buffer' is now called with non-nil PRESERVE-MODES
argument.
1999-12-01 16:22:27 +00:00
Dave Love
0fdcf38a5f *** empty log message *** 1999-12-01 14:53:54 +00:00
Richard M. Stallman
8f22224849 (cperl-under-as-char): Make nil the default value. 1999-12-01 00:33:22 +00:00