aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (tty-defined-color-alist): Renamed from tty-color-alist.Eli Zaretskii2000-01-021-31/+51
| | | | | | | (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.
* Changes for automatic remapping of X colors on terminal frames:Eli Zaretskii1999-12-064-305/+1006
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* (w32-drag-n-drop): Load files in current window, ifGerd Moellmann1999-11-241-3/+11
| | | | drop coords aren't over a specific window.
* term/internal.el (IT-display-table-setup): Don't overstepEli Zaretskii1999-11-211-1/+1
| | | | character code 255.
* #Dave Love1999-09-307-0/+78
|
* Provide term/sun-mouse.Dave Love1999-08-171-0/+1
|
* (x-list-fonts): Return "ms-dos", not "default".Eli Zaretskii1999-08-151-24/+17
| | | | | | | | 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.
* (sun-mouse): Provide `sun-mouse', not `term/sun-mouse'.Karl Heuer1999-08-101-1/+1
|
* (msdos-bg-mode): Remove. CallEli Zaretskii1999-08-101-21/+10
| | | | | | | | 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.
* (msdos-face-setup): Register standard colors inEli Zaretskii1999-07-301-28/+41
| | | | | Vface_tty_color_alist. (face-color-supported-p, face_color_gray_p): New functions.
* (mouse-set-font): If user uses w32 dialog butKarl Heuer1999-07-201-1/+2
| | | | selects no font, treat that as zero selections, not one.
* (IT-display-table-setup): Do not remap \222 toEli Zaretskii1999-06-141-7/+3
| | | | | the ASCII apostrophe, as most DOS codepages have some other glyph there.
* Change the x-charset-registry property for theAndrew Innes1999-05-031-0/+7
| | | | Japanese charsets that are supported by Japanese Windows fonts.
* (mouse-set-font): Ensure constructed fontsetAndrew Innes1999-05-021-2/+12
| | | | matches the font selected in the dialog.
* (w32-drag-n-drop): Select file in window whereAndrew Innes1999-05-021-1/+3
| | | | it is dropped, rather than current window.
* (dos-cpNNN-setup): New function, with the gutsEli Zaretskii1999-04-051-12/+49
| | | | | | | | 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.
* (dos-codepage-setup): Compute the unibyteEli Zaretskii1999-03-161-51/+52
| | | | | | 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.
* (top level): Display character 255 as 8bit as well.Eli Zaretskii1999-03-071-1/+1
|
* (vt100-wide-mode): Use defvar, not defconst.Karl Heuer1999-02-231-1/+1
|
* (dos-codepage-setup): Set selection coding system to cpNNN-dos.Eli Zaretskii1999-02-041-0/+1
|
* term/w32-win.el (w32-create-initial-fontsets): Back out previousGeoff Voelker1999-02-021-1/+5
| | | | change, invoke from before-init-hook.
* (msdos-approximate-color): New function.Eli Zaretskii1999-02-011-1/+28
| | | | | (msdos-color-translate): Call it to find a DOS color that best approximates an X-style "#NNNNNN" color specification.
* (w32-standard-fontset-spec): Remove wildcardGeoff Voelker1999-01-281-12/+20
| | | | | | | from FAMILY field. (w32-create-initial-fontsets): Do not use before-init-hook. (mouse-set-font): Document. Automatically create and use fontsets.
* (dos-codepage-setup): Call prefer-coding-systemEli Zaretskii1999-01-241-0/+1
| | | | | to set the appropriate cpNNN-dos coding system as the highest-priority coding system.
* (w32-standard-fontset-spec): Simplified.Geoff Voelker1999-01-221-8/+1
|
* (w32-standard-fontspec-spec): ChangeGeoff Voelker1999-01-191-2/+4
| | | | iso8859-5 to koi8-r. Add iso8859-9.
* (IT-character-translations): New variable, anEli Zaretskii1998-12-201-5/+297
| | | | | | | | | | | | | 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.
* (x-cut-buffer-or-selection-value):Karl Heuer1998-12-161-10/+11
| | | | If clipboard is enabled, try it before PRIMARY selection.
* Update comment.Karl Heuer1998-12-141-1/+1
|
* Remove code that sets syntax table for non-ASCII characters.Eli Zaretskii1998-12-031-37/+0
|
* If a resolved ASCII font name doesn't conform toKenichi Handa1998-11-111-12/+11
| | | | | full XLFD, don't try get information of WEIGHT and SLANT from that font name.
* ([language-change]): For now ignoreGeoff Voelker1998-11-101-0/+6
| | | | keyboard language-change events.
* (x-get-selection-value): Alias toGeoff Voelker1998-11-041-78/+101
| | | | | | | | 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.
* Require fontset.Geoff Voelker1998-11-041-0/+2
|
* (w32-use-w32-font-dialog, w32-fixed-font-alist):Geoff Voelker1998-10-271-2/+176
| | | | | | New variables. (mouse-set-font): Use font menus instead of dialog according to w32-use-w32-font-dialog.
* (msdos-color-values): New variable.Eli Zaretskii1998-10-141-1/+43
| | | | | (x-color-values): New function, emulates its namesake from src/xfns.c. (msdos-bg-mode): Add all dark colors to those which return "dark".
* Initial revisionDan Nicolaescu1998-10-021-0/+321
|
* Fill weight and slant fields of a fontsetKenichi Handa1998-07-031-2/+19
| | | | | generted from the specified ASCII font by values got from the resolved ASCII font name.
* (internal-face-interactive): Handle case where BOOL is `color'.Andrew Innes1998-06-221-9/+17
|
* When creating a fontset from a specified ASCIIKenichi Handa1998-06-201-3/+3
| | | | font, don't use the resolved fon tname for the new fontset name.
* While creating fontsets of style variants, payKenichi Handa1998-06-121-11/+21
| | | | attention to X resources XXX.attributeFont.
* Generate style variants fontset forKenichi Handa1998-05-211-4/+5
| | | | | standard-fontset-spec. Generate a fontset based on resolved font name of a font specified by X resource or -fn command line arg.
* (w32-drag-n-drop-debug, w32-drag-n-drop)Richard M. Stallman1998-05-011-0/+23
| | | | | (w32-drag-n-drop-other-frame): New functions. Bind them to the drag-n-drop events.
* (x-select-text, x-get-selection-value): Replace win16 with w16.Eli Zaretskii1998-04-221-4/+4
|
* Don't call set-terminal-coding-systemKarl Heuer1997-12-191-1/+2
| | | | if it was already set.
* Use set-input-mode to make Latin-1 chars work.Karl Heuer1997-11-151-0/+8
|
* (x-long-option-alist): New variable.Eli Zaretskii1997-10-131-13/+63
| | | | | (msdos-handle-args): Handle and complete long options with attached arguments. Support "-name", "-T" and "-rv" options.
* Switch to raw-text as coding system.Richard M. Stallman1997-09-111-2/+1
|
* (w32-handle-scroll-bar-event): On up andGeoff Voelker1997-09-021-30/+37
| | | | | | | | | 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.
* (msdos-color-aliases): Add missing colors.Eli Zaretskii1997-08-271-6/+23
| | | | | (msdos-color-translate): Handle "deep" and "pale" color varieties.