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

268 Commits

Author SHA1 Message Date
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
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
Geoff Voelker
a73c80a31d ([language-change]): For now ignore
keyboard language-change events.
1998-11-10 20:49:04 +00:00
Geoff Voelker
4664455c17 (x-get-selection-value): Alias to
x-cut-buffer-or-selection-value.
(w32-standard-fontset-spec): New variable.
(w32-create-initial-fontsets, mouse-set-font): Check whether
new-fontset is available.
(w32-use-w32-font-dialog): Enable use of set-variable.
1998-11-04 23:23:57 +00:00
Geoff Voelker
51099b4521 Require fontset. 1998-11-04 01:28:04 +00:00
Geoff Voelker
cf14c2b4c3 (w32-use-w32-font-dialog, w32-fixed-font-alist):
New variables.
(mouse-set-font): Use font menus instead of dialog according to
w32-use-w32-font-dialog.
1998-10-27 23:46:26 +00:00
Eli Zaretskii
a0c712aea8 (msdos-color-values): New variable.
(x-color-values): New function, emulates its namesake from src/xfns.c.
(msdos-bg-mode): Add all dark colors to those which return "dark".
1998-10-14 15:11:12 +00:00
Dan Nicolaescu
912120061d Initial revision 1998-10-02 18:09:44 +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
Andrew Innes
3ce36200dd (internal-face-interactive): Handle case where BOOL is `color'. 1998-06-22 17:21:56 +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
33b307f8fc (w32-drag-n-drop-debug, w32-drag-n-drop)
(w32-drag-n-drop-other-frame): New functions.
Bind them to the drag-n-drop events.
1998-05-01 04:24:43 +00:00
Eli Zaretskii
8254b6b485 (x-select-text, x-get-selection-value): Replace win16 with w16. 1998-04-22 13:45:00 +00:00
Karl Heuer
dcaa592563 Don't call set-terminal-coding-system
if it was already set.
1997-12-19 14:57:14 +00:00
Karl Heuer
952e6ec21a Use set-input-mode to make Latin-1 chars work. 1997-11-15 20:52:06 +00:00
Eli Zaretskii
c8a6e3b923 (x-long-option-alist): New variable.
(msdos-handle-args): Handle and complete long options with
attached arguments.  Support "-name", "-T" and "-rv" options.
1997-10-13 16:05:32 +00:00
Richard M. Stallman
c6a6499f7d Switch to raw-text as coding system. 1997-09-11 17:51:36 +00:00
Geoff Voelker
d66be5718b (w32-handle-scroll-bar-event): On up and
down events, place point at window start position.
Bind f10 to menubar.
Move keypad key definitions to w32-fns.el.
(mouse-wheel-scroll-amount): New variable.
(mouse-wheel-scroll-line, mouse-wheel-scroll-screen): New functions.
Bind mouse-wheel events to mouse-wheel functions.
1997-09-02 23:53:22 +00:00
Eli Zaretskii
9de91fc5aa (msdos-color-aliases): Add missing colors.
(msdos-color-translate): Handle "deep" and "pale" color
varieties.
1997-08-27 12:22:35 +00:00
Eli Zaretskii
d00e55129d Add the coding: tag to prevent Emacs from thinking this is encoded in SJIS. 1997-08-27 07:12:29 +00:00
Richard M. Stallman
c13c88d74d (msdos-color-aliases): Remove color names which end with a number.
(msdos-color-translate): Handle color names which end with a
number, like gray85 and purple3.
(msdos-face-setup): Call `face-set-after-frame-default', so
default faces are correctly set.
Do not set background of the region face (it is set by
`face-set-after-frame-default').
1997-08-11 01:18:29 +00:00
Richard M. Stallman
cee30b8f9d (x-list-fonts): Return "default" when appropriate.
(query-fontset): Add (alternative) alias definition.
1997-08-07 17:33:49 +00:00
Richard M. Stallman
dc64c73985 (x-cut-buffer-or-selection-value): Fix previous change. 1997-08-05 22:03:07 +00:00
Geoff Voelker
f182c531a2 Set mode-line-frame-identification
to remove frame name from mode-line instead of
mode-line-buffer-identification.
1997-08-05 17:03:56 +00:00