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

141 Commits

Author SHA1 Message Date
Dave Love
d14518d852 (x-select-enable-clipboard): Customize (per lispref). 2000-11-27 17:10:15 +00:00
Gerd Moellmann
38fb1ad4a7 (x-colors): Add colors from recent rgb.txt. 2000-06-11 12:14:57 +00:00
Kenichi Handa
9111d4b571 Fontsets related initialization is simplified. 2000-03-21 00:34:45 +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
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
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
Kenichi Handa
c879698564 If a resolved ASCII font name doesn't conform to
full XLFD, don't try get information of WEIGHT and SLANT from that
font name.
1998-11-11 03:36:15 +00:00
Kenichi Handa
68404bed20 Fill weight and slant fields of a fontset
generted from the specified ASCII font by values got from the
resolved ASCII font name.
1998-07-03 04:39:22 +00:00
Kenichi Handa
1ca074258e When creating a fontset from a specified ASCII
font, don't use the resolved fon tname for the new fontset name.
1998-06-20 01:38:52 +00:00
Kenichi Handa
12755bafbf While creating fontsets of style variants, pay
attention to X resources XXX.attributeFont.
1998-06-12 07:10:59 +00:00
Kenichi Handa
25c343b25c Generate style variants fontset for
standard-fontset-spec.  Generate a fontset based on resolved font
name of a font specified by X resource or -fn command line arg.
1998-05-21 01:47:32 +00:00
Richard M. Stallman
dc64c73985 (x-cut-buffer-or-selection-value): Fix previous change. 1997-08-05 22:03:07 +00:00
Richard M. Stallman
8ba1358119 (x-cut-buffer-or-selection-value): Try both
COMPOUND_TEXT and STRING as types for the selection.
1997-08-04 01:53:36 +00:00
Kenichi Handa
9ff9457b2d Fix previous change. 1997-08-03 02:51:30 +00:00
Kenichi Handa
0f36e5fc3b Do not create style-variants of fontset. They
are just registered in uninstanciated-fontset-alist.
1997-07-31 05:54:43 +00:00
Kenichi Handa
fbe296b7b9 Give t as arg NOERROR to
create-fontset-from-fontset-spec.
1997-07-10 06:48:24 +00:00
Kenichi Handa
9899214ca9 Create bold, italic, bold-italic variants of
startup fontset.
1997-05-16 00:58:58 +00:00
Richard M. Stallman
982fa4e514 Fix previous change. 1997-05-15 03:59:36 +00:00
Richard M. Stallman
7b764489ab (mode-line-frame-identification):
Set this, not mode-line-buffer-identification.
1997-05-15 03:54:56 +00:00
Richard M. Stallman
b360a6bedd (mode-line-buffer-identification):
Use a different value which omits `Emacs: '.
1997-05-15 03:39:22 +00:00
Kenichi Handa
b28ecb7dc6 Create bold, italic, and bold-italic variants of
default fontset.  Name a fontset created from user-specified ASCII
font as "fontset-startup".
1997-05-12 06:56:32 +00:00
Richard M. Stallman
d854d8397f Comment change. 1997-05-05 19:53:46 +00:00
Richard M. Stallman
87c033db6f (function-key-map): Define iso-lefttab. 1997-03-25 02:34:42 +00:00
Richard M. Stallman
5afb8c58f5 Conditionalize the fontset code on
whether new-fontset is bound.
1997-03-18 07:20:16 +00:00
Karl Heuer
f90080d4aa Require fontset. Create fontsets from
default-fontset-spec, X resources, and "-fn" command line
argument.
1997-02-20 05:51:26 +00:00
Richard M. Stallman
0dd96d4cbc (x-handle-args): Stop arg processing
if we encounter "--", and preserve all remaining args.
1997-01-06 06:51:12 +00:00
Richard M. Stallman
740e13b3ff Delete code to disable f10 if motif. 1996-08-01 22:25:11 +00:00
Richard M. Stallman
66f229be74 (x-handle-name-switch): Renamed from x-handle-name-rn-switch. 1996-06-28 07:59:01 +00:00
Richard M. Stallman
9541a441a4 [motif]: Make f10 undefined. 1996-04-21 05:54:18 +00:00
Richard M. Stallman
d98f0b87e6 (x-handle-display): Set DISPLAY envvar too. 1996-04-10 05:39:50 +00:00
Erik Naggum
2fe590dcee Update FSF's office address. 1996-01-14 09:58:28 +00:00
Karl Heuer
5fd72a2474 (x-cut-buffer-or-selection-value): Don't print messages
about failure to get selection or cut buffer.
1996-01-09 23:20:39 +00:00
Richard M. Stallman
80128ceb04 (x-handle-switch, x-handle-numeric-switch)
(x-handle-args): Use command-line-x-option-alist.
(x-option-alist, x-switch-definitions, x-long-option-alist): Deleted.
1995-12-29 21:09:34 +00:00
Karl Heuer
f81dbe564c Don't require initial whitespace in vendor name. 1995-11-02 04:37:30 +00:00
Richard M. Stallman
b8e9a326c1 (function-key-map): Consistently map CLEAR to C-l. 1995-08-29 15:31:46 +00:00
Karl Heuer
51a8e1cc2c (vendor-specific-keysyms):
In Sun keys, f36 was misnamed f35 and f37 misnamed f36.
1995-07-17 22:49:37 +00:00
Richard M. Stallman
5db9a09f9b (x-colors): Doc fix. 1995-06-30 05:12:56 +00:00
Karl Heuer
04486a2df2 (vendor-specific-keysyms): Recognize "X Consortium". 1995-06-02 01:03:43 +00:00
Karl Heuer
3f18a142f9 (vendor-specific-keysyms): Add second spelling for HP. 1995-05-24 04:59:27 +00:00
Richard M. Stallman
9b4234ae17 If the geometry resource specifies a position,
call the position and size "user-specified".
(vendor-specific-keysyms): New function.
1995-05-15 23:19:13 +00:00
Richard M. Stallman
27a3a82960 (x-colors): Delete "medium forest green" in both forms. 1995-05-06 04:34:53 +00:00
Richard M. Stallman
ce1724a609 (x-colors): Delete "medium goldenrod" in both forms. 1995-05-06 04:30:06 +00:00
Richard M. Stallman
891eb3fef5 (x-defined-colors): Take frame as optional arg.
Check whether colors are really supported on the display in use.
1995-04-16 04:17:36 +00:00
Richard M. Stallman
7d5f0c0679 (mode-line-buffer-identification): Fix prev change; use setq-default. 1995-04-09 03:51:32 +00:00
Richard M. Stallman
5363172306 (mode-line-buffer-identification): Eliminate %F. 1995-04-08 02:51:37 +00:00
Richard M. Stallman
e42a4b863a Put height and width from geometry parm into default-frame-alist. 1995-01-11 04:44:10 +00:00
Karl Heuer
48c454c716 (system-key-alist): Extra keys are F36 and F37. 1994-11-30 21:41:10 +00:00
Richard M. Stallman
5b3dd5e8b8 (Calling menu-bar-enable-clipboard): Be less selective matching Suns. 1994-11-23 04:46:14 +00:00
Richard M. Stallman
e491912f6b (x-option-alist): New variable now holds
list of short options.  Don't set command-switch-alist.
(x-long-option-alist): New variable.
(x-handle-args): Detect long options and convert to short.
1994-11-19 20:33:22 +00:00
Karl Heuer
f1b648d6d0 Make previous change conditional. 1994-10-24 23:30:14 +00:00