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

483 Commits

Author SHA1 Message Date
Pavel Janík
b9001ed392 (sun-yank-selection): Use insert instead of insert-string. 2001-11-26 16:18:14 +00:00
Pavel Janík
039f4cdaaf (bg-insert-moused-sexp): Use insert instead of insert-string. 2001-11-26 16:17:44 +00:00
Eli Zaretskii
051a608df8 (term-setup-hook): Add IT-setup-unicode-display. 2001-11-04 18:52:30 +00:00
Stefan Monnier
9c01e54549 (function-key-map): Add entry for `ESC [ 3 ~' -> <delete>
Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
Use inheritance so that .emacs and terminfo take precedence.
2001-11-04 02:03:05 +00:00
Eli Zaretskii
aa32689c0c (x-frob-font-slant, x-frob-font-weight): Add
make-obsolete cookies, to follow faces.el.
2001-10-26 21:27:19 +00:00
Jason Rumney
1a0b615ab5 (redisplay-dont-pause): Don't set. 2001-10-21 17:15:18 +00:00
Eli Zaretskii
feeb94f7cc Update Stephen Gildea's mail address. 2001-09-23 17:48:31 +00:00
Gerd Moellmann
75377eba1c (sup-pos-to-window): Use
get-window-with-predicate.
2001-09-07 11:34:17 +00:00
Gerd Moellmann
4f3d7805a2 (bg-window-from-x-y): Use
get-window-with-predicate.
2001-09-07 11:33:32 +00:00
Andrew Choi
ae355fa64a 2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
* term/mac-win.el (mac-drag-n-drop): Decode file name by
	consulting the value of file-name-coding-system.
2001-09-04 03:43:23 +00:00
Eli Zaretskii
cf8f0b68f2 (IT-character-translations) <hebrew-iso8859-8>:
Replace some of the undefined characters with emulations of bidi
formatting characters and Niqud as per SI 1311-1.
(IT-unicode-translations): Ditto.
(IT-display-table-setup, IT-setup-unicode-display): Fill
characters without translations with dos-unsupported-char-glyph.
2001-08-25 12:31:18 +00:00
Andrew Choi
fa05f6ac1b 2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
* term/mac-win.el: Require scroll-bar.
2001-08-24 07:16:37 +00:00
Eli Zaretskii
be8cf99e91 (IT-unicode-translations): Fix the appearance of "6`". 2001-07-23 15:29:46 +00:00
Stefan Monnier
acd9f40c0d (ignore-key, sun-esc-bracket, meta-flag): Remove.
(sun-raw-prefix): Replace t3, t4, t6, and t7 with f3, f4, f6 and f7.
Complete bindings for F<1..12> keys.
(global-map): Remove `undo' binding (already in the default).
Replace `t<n>' bindings with `f<n>' bindings.
2001-07-17 18:37:47 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Pavel Janík
6a05d05faf Fixes to follow coding conventions. 2001-07-16 11:39:42 +00:00
Stefan Monnier
3e209d8da8 *** empty log message *** 2001-07-16 01:51:19 +00:00
Pavel Janík
60370d4073 Some fixes to follow coding conventions. 2001-07-15 19:53:53 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Eli Zaretskii
8184a578cd Fix the header line and the copyright years. 2001-07-10 08:14:32 +00:00
Eli Zaretskii
027a15c160 (x-colors): Add colors from the recent rgb.txt file. 2001-06-29 18:26:53 +00:00
Eli Zaretskii
8a3d1f8b94 (IT-unicode-translations): New variable.
(IT-setup-unicode-display): New function.
2001-06-01 12:18:39 +00:00
Eli Zaretskii
e2f599e95b (tty-color-define, tty-color-off-gray-diag)
(tty-color-translate, tty-color-by-index, tty-color-values)
(tty-color-desc): Doc fix.
2001-04-29 10:11:11 +00:00
Gerd Moellmann
2025ddca15 (x-handle-xrm-switch): Accept more than one -xrm
switch, like xterm, and concat resource strings, with a newline
between them.
2001-03-06 14:02:02 +00:00
Eli Zaretskii
1bd6203653 Update copyright notice. 2001-03-04 07:12:41 +00:00
Eli Zaretskii
c88c89a03a (msdos-handle-reverse-video): Look for reverse in
default-frame-alist as well.
2001-03-02 13:34:48 +00:00
Gerd Moellmann
2991b258b6 (mouse-set-font): Doc fix. 2001-01-31 14:07:48 +00:00
Eli Zaretskii
8f289accc6 (redisplay-dont-pause): Set to t to alleviate display problems. 2001-01-31 07:49:43 +00:00
Eli Zaretskii
6d435deb17 ([M-delete]): Remap to M-d. 2000-12-14 16:53:25 +00:00
Andrew Choi
591b63b424 * term/mac-win.el: Remove load for ls-lisp.
* loadup.el: Load ls-lisp for system-type macos.
2000-12-12 05:04:07 +00:00
Andrew Innes
30cd075d94 Remove stuff about selection timeout, which is
irrelevant on Windows.  Move clipboard support to w32-fns.el, so
it is accessible in -nw mode.
2000-12-08 14:34:15 +00:00
Jason Rumney
dc55849498 (x-select-enable-clipboard): Customize (as per the Emacs Lisp manual) 2000-12-02 14:47:35 +00:00
Eli Zaretskii
8c7178105c (x-select-enable-clipboard): Customize (as per the Emacs Lisp manual). 2000-12-02 11:21:44 +00:00
Dave Love
d14518d852 (x-select-enable-clipboard): Customize (per lispref). 2000-11-27 17:10:15 +00:00
Kenichi Handa
dfc064f2b5 (decode-mac-roman, encode-mac-roman, mac-roman): Moved to european.el.
(ccl-encode-mac-roman-font, fontset-mac): Modified for
mule-unicode-2500-33ff and mule-unicode-e000-ffff.
(mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
(mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
2000-10-31 04:17:17 +00:00
Eli Zaretskii
f30846b1a8 (x-long-option-alist, msdos-handle-args): Remove;
startup.el now does that for all character-terminal frames.
2000-10-28 17:19:36 +00:00
Andrew Choi
8f47302e25 Andrew Choi <akochoi@i-cable.com>
* international/mule-conf.el (mac-roman-lower, mac-roman-upper):
        New charsets.

        * term/mac-win.el: Remove definitions of mac-roman-lower and
        mac-roman-upper, require dired, and define instead of set
        mac-ready-for-drag-n-drop to avoid compilation error.

        * src/macterm.c (XTread_socket): check whether Lisp variable
        mac-ready-for-drag-n-drop is bound rather than non-nil value.
2000-10-23 17:49:59 +00:00
Andrew Choi
1a578e9be2 Initial check-in: changes for building Emacs under Mac OS.
2000-10-23  Andrew Choi  <akochoi@i-cable.com>

	* dispextern.h [macintosh]: Include macgui.h instead of macterm.h.

	* dispnew.c [macintosh]: Include macterm.h.
	(init_display) [macintosh]: initialization for window system.

	* emacs.c (main) [macintosh]: Call syms_of_textprop,
	syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm,
	syms_of_search, x_term_init, and init_keyboard before calling
	init_window_once.  Also, call syms_of_xmenu.

	* fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of
	default fontset to Monaco.

	* frame.c [macintosh]: Include macterm.h.  Remove declarations of
	NewMacWindow and DisposeMacWindow.
	(make_terminal_frame) [macintosh]: Call make_mac_terminal_frame
	instead of calling NewMacWindow and setting fields of
	f->output_data.mac directly.  Call init_frame_faces.
	(Fdelete_frame) [macintosh]: Remove unused code.
	(Fmodify_frame_parameters) [macintosh]: Call
	x_set_frame_parameters instead of mac_set_frame_parameters.

	* frame.h [macintosh]: Define menu_bar_lines field in struct
	frame.  Define FRAME_EXTERNAL_MENU_BAR macro.

	* keyboard.c [macintosh]: Include macterm.h.
	(kbd_buffer_get_event) [macintosh]: Generate delete_window_event
	and menu_bar_activate_event type events as for X and NT.
	(make_lispy_event) [macintosh]: Construct lisp events of type
	MENU_BAR_EVENT as for X and NT.

	* sysdep.c [macintosh]: Remove declaration for sys_signal.
	Include stdlib.h.  Remove definition of Vx_bitmap_file_path.
	(sys_subshell) [macintosh]: Remove definition entirely.
	(init_sys_modes) [macintosh]: Do not initialize Vwindow_system and
	Vwindow_system_version here.  Remove initialization of
	Vx_bitmap_file_path.
	(read_input_waiting): Correct the number of parameters passed to
	read_socket_hook.
	Move all Macintosh functions to mac/mac.c.

	* term.c [macintosh]: Include macterm.h.

	* window.c [macintosh]: Include macterm.h.

	* xdisp.c [macintosh]: Include macterm.h.  Declare
	set_frame_menubar and pending_menu_activation.
	(echo_area_display) [macintosh]: Do not return if terminal frame
	is the selected frame.
	(update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f).
	Allow only the selected frame to set menu bar.
	(redisplay_window) [macintosh]: Obtain menu bar to redisplay by
	calling FRAME_EXTERNAL_MENU_BAR (f).
	(display_menu_bar) [macintosh]: Check FRAME_MAC_P (f).

	* xfaces.c [macintosh]: Include macterm.h.  Define x_display_info
	and check_x.  Declare XCreateGC.  Define x_create_gc and
	x_free_gc.  Initialize font_sort_order.
	(x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT,
	but call x_list_fonts instead of w32_list_fonts.
	(Finternal_face_x_get_resource) [macintosh]: Do not call
	display_x_get_resource.
	(prepare_face_for_display) [macintosh]: Set xgcv.font.
	(realize_x_face) [macintosh]: Load the font if it is specified in
	ATTRS.
	(syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed
	to Qt.

	* cus-edit.el (custom-button-face): Use 3D look for mac.
	(custom-button-pressed-face): Likewise.

	* faces.el (set-face-attributes-from-resources): Handle mac frames
	in the same way as x and w32 frames.
	(face-valid-attribute-values): Likewise.
	(read-face-attribute): Likewise.
	(defined-colors): Likewise.
	(color-defined-p): Likewise.
	(color-values): Likewise.
	(display-grayscale-p): Likewise.
	(face-set-after-frame-default): Likewise.
	(mode-line): Same default face as for x and w32.
	(tool-bar): Likewise.

	* frame.el: Remove call to frame-notice-user-settings at end of
	the file.

	* info.el (Info-fontify-node): make underlines invisible for mac
	as for x, pc, and w32 frame types.

	* term/mac-win.el: New file.
2000-10-22 16:50:16 +00:00
Eli Zaretskii
c8ad9e9564 (color-name-rgb-alist): Add a comment explaining why some "light*"
colors are deliberately absent from the alist.
2000-10-19 07:18:06 +00:00
Eli Zaretskii
8fcacf13ee (msdos-handle-reverse-video): Don't remove
reverse from the frame parameters, and don't invert foreground and
background colors.
2000-10-16 19:17:35 +00:00
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
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
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
Richard M. Stallman
fc4c0f0eb7 (bg-yank-or-pop): Changed eql to eq. 1997-07-24 05:35:30 +00:00
Richard M. Stallman
e2f35ede08 (msdos-bg-mode): New function.
(msdos-face-setup, make-msdos-frame): Set background-mode and
display-type properties for created frames.
1997-07-13 20:52:08 +00:00
Kenichi Handa
fbe296b7b9 Give t as arg NOERROR to
create-fontset-from-fontset-spec.
1997-07-10 06:48:24 +00:00
Richard M. Stallman
57cf80bfae Initial revision 1997-07-04 20:56:42 +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
092af6d867 Comment change. 1997-04-20 07:33:52 +00:00
Eli Zaretskii
c432c362bd * (x-select-enable-clipboard): New variable.
(x-select-text, x-get-selection-value): New functions, support for
MS-Windows clipboard.
1997-04-15 15:00:38 +00:00
Kenichi Handa
178663df99 Provide 'term/sun-mouse instead of 'sun-mouse. 1997-04-05 02:46:24 +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
Geoff Voelker
b63f9ba137 Change uses of win32 to w32. 1997-01-20 01:07:48 +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
e1ddc4b48d (iconify-or-deiconify-frame): Define to be a
no-op, so commands that call it (like viper.el) work.
1996-12-08 08:24:03 +00:00
Geoff Voelker
e5e0a3c9fe (x-defined-colors): Use color names from w32-color-map. 1996-11-19 07:19:39 +00:00
Geoff Voelker
fbd6baedb5 Change identifiers of the form win32* to w32*. 1996-11-19 04:59:23 +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
9000684d2e (msdos-face-setup): Use `terminal-frame' for initial frame setup.
(make-msdos-frame): New MSDOS-specific frame creation function.
(focus-frame, unfocus-frame): Don't set to 'ignore.
(auto-raise-mode, auto-lower-mode): Likewise.
(set-background-color, set-foreground-color): Definitions deleted.
1996-06-10 21:19:59 +00:00
Richard M. Stallman
ec46c6e81e (msdos-color-aliases): Define more colors. (msdos-color-translate):
Fix `substring' arguments.  Recognize ``medium'' prefix.
1996-06-02 13:47:53 +00:00
Karl Heuer
caf9b328c3 (win32-handle-scroll-bar-event): Restore
original window selection after scrolling.
1996-05-21 14:40:56 +00:00
Richard M. Stallman
0dd1fa0f19 (win32-handle-scroll-bar-event): Use scroll-bar-maybe-set-window-start. 1996-05-11 18:44:09 +00:00
Richard M. Stallman
ebb0719c46 (win32-handle-scroll-bar-event):
Look for `up' and `down' instead of `up-arrow' and `down-arrow'.
1996-05-05 04:33:42 +00:00
Geoff Voelker
af99aa461d (win32-handle-scroll-bar-event): New function. 1996-05-03 18:26:22 +00:00
Richard M. Stallman
9541a441a4 [motif]: Make f10 undefined. 1996-04-21 05:54:18 +00:00
Richard M. Stallman
b2b9ff5e6d (x-select-text): Remember selected text.
(x-get-selection-value): Return nil if the clipboard data is
is the same as the remembered selected text.
1996-04-19 02:40:44 +00:00
Richard M. Stallman
d98f0b87e6 (x-handle-display): Set DISPLAY envvar too. 1996-04-10 05:39:50 +00:00
Geoff Voelker
6d511e9ff0 Don't define backspace, M-backspace, delete,
and M-delete; they are already defined in winnt.el.
1996-03-16 22:45:08 +00:00
Richard M. Stallman
9596811a3d Comment change. 1996-03-02 06:37:35 +00:00
Richard M. Stallman
a259d3371e (x-display-pixel-height, x-display-pixel-width):
Make the returned value consistent with one-pixel-per-character.
1996-02-08 17:49:24 +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
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Karl Heuer
b4390c7306 (describe-mouse-briefly): Fix message spelling. 1996-01-04 23:21:26 +00:00
Richard M. Stallman
bb3a457466 (x-colors): New variable, a list of colors
supported by PC color displays under MS-DOS.
(msdos-color-translate): Use `x-colors'.
(x-defined-colors): New alternate definition.
1996-01-02 23:04:42 +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
Geoff Voelker
fe07d75e18 Disable scrollbars until fully functional. 1995-12-24 01:10:37 +00:00
Richard M. Stallman
ea6401d799 (msdos-color-aliases): Add more aliases.
(msdos-face-setup): Change colors for bold, bold-italic, underline.
(x-frob-font-slant): Define as no-op.
1995-11-22 13:44:42 +00:00
Richard M. Stallman
beb4ba6875 (x-display-color-p): Accept optional arg. 1995-11-10 17:40:47 +00:00
Richard M. Stallman
0b574c357f Rewrite for new case tables. 1995-11-10 17:39:54 +00:00
Geoff Voelker
ee78dc3223 Initial revision 1995-11-07 07:52:28 +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
92abb02b9b Initial revision 1995-06-09 02:31:33 +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
Richard M. Stallman
f91f7c79c0 Say error in x-open-connection should be fatal. 1994-10-23 07:59:01 +00:00
Morten Welinder
ef88bd2dc0 Initial revision 1994-10-17 08:04:13 +00:00
Richard M. Stallman
ca59062610 (system-key-alist): Add sun versions of
mute-grave, mute-diaeresis, mute-asciicircum.
1994-10-11 02:48:53 +00:00
Richard M. Stallman
e7399dcc72 (system-key-alist): Add Sun definition for mute-acute. 1994-09-15 23:55:25 +00:00
Richard M. Stallman
74cadca3f4 Don't call menu-bar-mode. 1994-09-15 20:10:12 +00:00
Richard M. Stallman
e92102e719 (news-fkey-prefix): Use kp-decimal, not kp-period. 1994-08-21 17:39:15 +00:00
Richard M. Stallman
0a6ef8a768 (system-key-alist): Add Sun-specific X11R6 keysyms. 1994-07-24 19:18:19 +00:00
Richard M. Stallman
a4e104bf5c Doc fix. 1994-05-22 22:14:17 +00:00
Karl Heuer
8f1204db34 Update copyright. 1994-05-03 23:47:06 +00:00
Karl Heuer
d733c5ec03 Update copyright. 1994-05-03 22:46:37 +00:00
Richard M. Stallman
6e42f5f8bb (x-handle-geometry): Specify user-position and
user-size properties when appropriate.
1994-05-01 08:55:23 +00:00
Richard M. Stallman
870975a12b Don't bind [mouse-1]; that's done elsewhere.
Define lower-upper case correspondence for the three mostly used code pages.
1994-04-30 20:40:34 +00:00
Richard M. Stallman
5b0b2316d9 If server is a Sun, call menu-bar-enable-clipboard. 1994-04-10 08:56:50 +00:00
Richard M. Stallman
9c0aa91bc7 (function-key-map): Use f11, not \e. 1994-04-09 21:17:32 +00:00
Richard M. Stallman
a3a28eac44 Support kp-tab, kp-multiply, kp-add, kp-divide. 1994-04-08 19:43:33 +00:00
Richard M. Stallman
67ec7a685d (kill-emacs-hook): Use add-hook. 1994-04-06 20:22:19 +00:00
Richard M. Stallman
dc20df9586 (x-select-enable-clipboard): New variable.
(x-select-text, x-cut-buffer-or-selection-value): Obey it.

(x-handle-args): Doc fix.
1994-04-06 04:51:37 +00:00
Karl Heuer
4390cc9c3a (x-cut-buffer-or-selection-value): Check for error from x-get-selection. 1994-03-18 03:38:25 +00:00