1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-09 15:50:21 +00:00
Commit Graph

293 Commits

Author SHA1 Message Date
Stefan Monnier
399ede1371 (bg-mouse-report): screen-height -> frame-height. 2000-08-16 20:29:14 +00:00
Eli Zaretskii
1418556591 Fix a typo in a comment. Reported by Michel de Ruiter <Michel@smr.nl>. 2000-07-31 10:27:45 +00:00
Jason Rumney
8322784013 Make FONTNAME arg to set-fontset-font a cons. 2000-07-15 11:49:36 +00:00
Gerd Moellmann
d8aa822b22 (bg-window-from-x-y): Use some-window instead
of cycling through windows with next-window.
2000-07-03 09:11:33 +00:00
Gerd Moellmann
a74b0a725a (sup-pos-to-window): Use some-window instead
of cycling through windows with next-window.
2000-07-03 09:11:03 +00:00
Sam Steingold
3a8e2ba917 ignore *.elc 2000-06-19 16:16:01 +00:00
Gerd Moellmann
38fb1ad4a7 (x-colors): Add colors from recent rgb.txt. 2000-06-11 12:14:57 +00:00
Jason Rumney
de0c7b5d2c Doc changes to reduce diffs with x-win.el.
Reenable code to create initial fontsets.
Use set-fontset-font in place of put-charset-property.
2000-05-30 22:34:26 +00:00
Eli Zaretskii
bb8aea8629 (IT-character-translations): More updates of
latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
documents.
2000-05-15 15:17:19 +00:00
Eli Zaretskii
f3a3ea9a0a Fix last change. 2000-05-09 09:27:16 +00:00
Eli Zaretskii
c35ba278a4 (IT-character-translations): Update ASCII
simulations for greek-iso8859-7, add latin-iso8859-14 and
latin-iso8859-15.
2000-05-08 13:58:53 +00:00
Eli Zaretskii
7b081c7882 (cjk-codepages-alist): Add associations for
Chinese and Korean codepages.
2000-05-04 16:12:32 +00:00
Kenichi Handa
9111d4b571 Fontsets related initialization is simplified. 2000-03-21 00:34:45 +00:00
Jason Rumney
f9de6f69e9 (mouse-set-font): Do not build fontset from chosen font. 2000-02-27 21:11:51 +00:00
Dave Love
3247de96ce (internal-face-interactive): Update prompt for new read-face-name. 2000-02-23 20:44:04 +00:00
Andrew Innes
90abecd329 (x-handle-args): Comment out call to message. 2000-02-06 23:37:19 +00:00
Eli Zaretskii
26b09289ed Don't count colors without RGB values as gray shades. 2000-02-02 11:34:25 +00:00
Eli Zaretskii
c527e60052 (tty-color-gray-shades): New function. 2000-02-02 11:33:01 +00:00
Jason Rumney
7ed4e9a732 (w32_create_initial_fontsets): Disabled as it conflicts with new face support. 2000-01-23 03:28:57 +00:00
Eli Zaretskii
79b24da30b (xw-defined-colors): Call color-supported-p,
the new name of face-color-supported-p.
2000-01-03 11:58:12 +00:00
Eli Zaretskii
20de726ede (tty-defined-color-alist): Renamed from tty-color-alist.
(tty-color-alist, tty-modify-color-alist): New functions.
(tty-color-define,  tty-color-clear, tty-color-approximate)
(tty-color-translate, tty-color-by-index, tty-color-desc): Accept
an optional parameter FRAME.
2000-01-02 14:11:02 +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
Gerd Moellmann
35a8911d39 (w32-drag-n-drop): Load files in current window, if
drop coords aren't over a specific window.
1999-11-24 14:37:53 +00:00
Eli Zaretskii
a88d2801b8 term/internal.el (IT-display-table-setup): Don't overstep
character code 255.
1999-11-21 11:29:25 +00:00
Dave Love
8cc3881faf # 1999-09-30 18:06:17 +00:00
Dave Love
1c003668a4 Provide term/sun-mouse. 1999-08-17 14:03:58 +00:00
Eli Zaretskii
c0e2e77f8f (x-list-fonts): Return "ms-dos", not "default".
Do that if width is nil as well.
(x-display-mm-height, x-display-mm-width): Update values.
(x-colors): Compute the list from msdos-color-values.
(x-select-enable-clipboard): Doc fix.
(x-frob-font-weight, x-font-family-list): New functions.
1999-08-15 11:42:08 +00:00
Karl Heuer
2af602a19d (sun-mouse): Provide sun-mouse', not term/sun-mouse'. 1999-08-10 17:08:41 +00:00
Eli Zaretskii
68a89a250a (msdos-bg-mode): Remove. Call
frame-set-background-mode instead.  All callers changed.
(msdos-face-setup): Don't force color display parameter, it is set
by frame-set-background-mode.
(make-msdos-frame): Call x-handle-reverse-video and
face-set-after-frame-default.  Delete frame if creation failed.
1999-08-10 10:21:18 +00:00
Eli Zaretskii
c4d6496936 (msdos-face-setup): Register standard colors in
Vface_tty_color_alist.
(face-color-supported-p, face_color_gray_p): New functions.
1999-07-30 08:51:19 +00:00
Karl Heuer
efaec94ebd (mouse-set-font): If user uses w32 dialog but
selects no font, treat that as zero selections, not one.
1999-07-20 00:49:54 +00:00
Eli Zaretskii
f53c8bb28d (IT-display-table-setup): Do not remap \222 to
the ASCII apostrophe, as most DOS codepages have some other glyph
there.
1999-06-14 15:10:14 +00:00
Andrew Innes
d76d245657 Change the x-charset-registry property for the
Japanese charsets that are supported by Japanese Windows fonts.
1999-05-03 22:19:43 +00:00
Andrew Innes
81af6e72e2 (mouse-set-font): Ensure constructed fontset
matches the font selected in the dialog.
1999-05-02 20:39:19 +00:00
Andrew Innes
c8316112bb (w32-drag-n-drop): Select file in window where
it is dropped, rather than current window.
1999-05-02 09:52:17 +00:00
Eli Zaretskii
08baac3d70 (dos-cpNNN-setup): New function, with the guts
of dos-codepage-setup.
(cjk-codepages-alist): New variable, an alist of Far-Eastern
codepages for which there's no need to set up cpNNN coding
systems.
(dos-codepage-setup): Support Far-Eastern DOS terminals.
1999-04-05 14:59:21 +00:00
Eli Zaretskii
e1b674a138 (dos-codepage-setup): Compute the unibyte
syntax table and bind unibyte-display-via-language-environment
here, rather than at top level, so that resetting to unibyte in
.emacs works as expected.
1999-03-16 14:14:55 +00:00
Eli Zaretskii
296addb270 (top level): Display character 255 as 8bit as well. 1999-03-07 13:27:35 +00:00
Karl Heuer
e6e9c5160d (vt100-wide-mode): Use defvar, not defconst. 1999-02-23 22:22:50 +00:00
Eli Zaretskii
4de8f97e38 (dos-codepage-setup): Set selection coding system to cpNNN-dos. 1999-02-04 15:57:23 +00:00
Geoff Voelker
9d0b248831 term/w32-win.el (w32-create-initial-fontsets): Back out previous
change, invoke from before-init-hook.
1999-02-02 02:57:50 +00:00
Eli Zaretskii
a13b5fad5d (msdos-approximate-color): New function.
(msdos-color-translate): Call it to find a DOS color that best
approximates an X-style "#NNNNNN" color specification.
1999-02-01 13:25:12 +00:00
Geoff Voelker
e7a8ad1fdb (w32-standard-fontset-spec): Remove wildcard
from FAMILY field.
(w32-create-initial-fontsets): Do not use before-init-hook.
(mouse-set-font): Document.  Automatically create and use
fontsets.
1999-01-28 04:46:42 +00:00
Eli Zaretskii
3e9c24f68b (dos-codepage-setup): Call prefer-coding-system
to set the appropriate cpNNN-dos coding system as the
highest-priority coding system.
1999-01-24 14:13:32 +00:00
Geoff Voelker
9cc98b8283 (w32-standard-fontset-spec): Simplified. 1999-01-22 19:57:38 +00:00
Geoff Voelker
fea0d7fa5f (w32-standard-fontspec-spec): Change
iso8859-5 to koi8-r.  Add iso8859-9.
1999-01-19 22:27:59 +00:00
Eli Zaretskii
0064ab85ad (IT-character-translations): New variable, an
alist used to display characters for which there's no glyphs in
the current codepage.
(IT-display-table-setup): New function, sets up the DOS terminal
for a given codepage.
(dos-codepage-setup): New function, sets up the MULE environment
for the current value of dos-codepage.
(top-level if): In the multibyte mode, turn on
unibyte-display-via-language-environment.  In the unibyte mode,
set up the special syntax tables to map lower- to upper case and
back.
1998-12-20 15:07:03 +00:00
Karl Heuer
1be7f9b0a5 (x-cut-buffer-or-selection-value):
If clipboard is enabled, try it before PRIMARY selection.
1998-12-16 06:41:52 +00:00
Karl Heuer
3e9103768f Update comment. 1998-12-14 03:22:44 +00:00
Eli Zaretskii
43ce80a12b Remove code that sets syntax table for non-ASCII characters. 1998-12-03 09:29:14 +00:00