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

392 Commits

Author SHA1 Message Date
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Kenichi Handa
c7d9df18e4 (x-select-request-type): New variable.
(x-select-utf8-or-ctext): New function.
(x-selection-value): New function.
(x-cut-buffer-or-selection-value): Call x-selection-value to get
a selection data.  Set next-selection-coding-system to nil.
2003-06-17 10:56:24 +00:00
Jason Rumney
e9ec1a292f No need to bind wheel events specially. 2003-06-04 21:54:08 +00:00
Jason Rumney
230c8ad7bf No need to bind wheel events specially. 2003-06-01 22:13:07 +00:00
Stefan Monnier
a52eeda823 (iconify-or-deiconify-frame): Move to frame.el. 2003-05-31 16:03:11 +00:00
Stefan Monnier
25d887f06f (iconify-or-deiconify-frame): Move to frame.el. 2003-05-24 16:22:20 +00:00
Stefan Monnier
c3ef508488 (iconify-or-deiconify-frame): Move to frame.el.
Turn on mouse-wheel support by default.
2003-05-24 16:13:06 +00:00
Andrew Choi
5416884dd3 * term/mac-win.el: Unconditionally set process-connection-type to nil. 2003-04-15 01:29:42 +00:00
Juanma Barranquero
c337cd0a62 (iconify-or-deiconify-frame): Define for compatibility with packages
that use it.
2003-03-28 17:49:49 +00:00
Kenichi Handa
f05394cca8 *** empty log message *** 2003-03-13 06:27:57 +00:00
Kenichi Handa
99b631c8bf (x-select-text): Don't set a text containing
eight-bit-control/graphic into the cut buffer.
2003-03-13 06:23:59 +00:00
John Paul Wallington
089bc712c0 (vendor-specific-keysyms, x-last-selected-text-primary): Doc fixes.
(x-win-suspend-error): Use proper noun in error message.
2003-03-10 13:30:22 +00:00
Juanma Barranquero
0ebcabe744 (x-handle-geometry): Put sizes on `initial-frame-alist' too. 2003-03-05 16:33:42 +00:00
Kenichi Handa
41cba4d087 Call set-fontset-font with NAME nil. 2003-02-20 12:43:47 +00:00
Juanma Barranquero
db95369be0 Trailing whitespace deleted. 2003-02-04 13:30:45 +00:00
Andrew Choi
058c18c71f 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
* macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>,
        <escape>.
        (keycode_to_xkeysym_table): Reformat and add more comments.
        (XTread_socket): Drop special case for backspace.

        * term/mac-win.el: Add entries in function-key-map for
        [tab], [backspace], [escape].
2003-01-28 18:46:07 +00:00
John Paul Wallington
a6127c0f7a (interprogram-paste-function): Handle empty clipboard. 2003-01-23 00:04:20 +00:00
Kenichi Handa
7f75eaa8e7 Call setup-default-fontset. 2003-01-17 08:17:03 +00:00
Kenichi Handa
153e1ba447 Require fontset and call setup-default-fontset. 2003-01-17 08:16:17 +00:00
Kenichi Handa
6acdd93e6d Require fontset unconditionally again.
Call setup-default-fontset at the top level.
2003-01-17 08:14:14 +00:00
Kenichi Handa
be25dab0a1 Setup the fontset "fontset-mac" correctly. 2003-01-15 05:33:18 +00:00
Richard M. Stallman
be28f1a745 Require fontset conditionally again. 2003-01-13 08:01:54 +00:00
Dave Love
cf07d2bdf6 Remove some ancient compatibility code. Populate
x-keysym-table.
2002-10-30 19:26:23 +00:00
Steven Tamm
e989b9bcaf Switching return to be treated like an X keysym 2002-10-04 15:03:02 +00:00
Juanma Barranquero
0a10297a06 Add "no-byte-compile: t" in first line. 2002-10-01 17:06:54 +00:00
Richard M. Stallman
8f96b49bc7 (function-key-map): Define S-iso-lefttab. 2002-09-02 00:09:27 +00:00
Andrew Choi
742fbed75b In src:
2002-08-03  Andrew Choi  <akochoi@shaw.ca>

        * macterm.c (USE_CARBON_EVENTS): New macro.
        (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros.
        (x_iconify_frame): Call CollapseWindow.
        (Vmac_reverse_ctrl_meta): New variable.
        (Vmac_wheel_button_is_mouse_2): New variable.
        (init_mac_drag_n_drop): New function.
        (mac_do_receive_drag): New function.
        (mac_handle_service_event): New function.
        (init_service_handler): New function.
        (mac_to_emacs_modifiers): New function.
        (mac_event_to_emacs_modifiers): New function.
        (mac_get_mouse_btn): New function.
        (mac_convert_event_ref): New function.
        (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent,
        SendEventToEventTarget, mac_event_to_emacs_modifiers, and
        mac_get_mouse_btn.
        (mac_initialize): Call init_mac_drag_n_drop and
        init_service_handler.

        * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and
        lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT.
        (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and
        TOOL_BAR_EVENT for MAC_OS as well.
        (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well
        as for WINDOWS_NT.
        (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX.

        * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for
        MAC_OSX.

In lisp:

2002-08-03  Andrew Choi  <akochoi@shaw.ca>

        * term/mac-win.el: Set keys to enable mouse wheel support.
2002-08-03 22:21:09 +00:00
Andreas Schwab
525fdbc9c8 * files.el (directory-free-space-args): Don't use -P on Darwin.
* term/mac-win.el: Don't set it here.
2002-06-30 14:42:19 +00:00
Andreas Schwab
eb14066a0b Use directory-free-space-program instead of
obsolete variable dired-free-space-program.  On Darwin, don't set
directory-free-space-program, shell-file-name and
process-connection-type; set directory-free-space-args to not
include `-P' and use utf-8 for file name coding system.
2002-06-29 19:01:46 +00:00
Stefan Monnier
b8b1b15e9a (function-key-map): Add some bindings. 2002-06-27 21:38:52 +00:00
Andrew Choi
f00691a3e4 In src/:
2002-06-16  Andrew Choi  <akochoi@shaw.ca>

        * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of
        Vdefault_fontset to Monaco with mac-roman coding.

        * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine
        init_process before and after inclusion of Carbon/Carbon.h, resp.

        * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and
        cursor_gc.
        (add_font_name_table_entry): New function.
        (init_font_name_table): Use add_font_name_table_entry; add italic,
        bold, and bold-italic entries for truetype fonts.

        * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces
        for Mac too.
        (try_font_list) [MAC_OS]: If no font matches given registry, try
        fonts with any registry matching face_family.
        (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font
        here.

        * s/darwin.h: If autoconf detects the Ncurses library, define
        LIBS_TERMCAP to -lncurses to use it.

In lisp/:

2002-06-16  Andrew Choi  <akochoi@shaw.ca>

        * term/mac-win.el (scalable-fonts-allowed): Set to t.
2002-06-16 23:08:57 +00:00
Juanma Barranquero
1823c9d2e1 (x-handle-switch): Fix handling of x-invocation-args for switches with
arguments.
2002-06-12 17:20:05 +00:00
Miles Bader
39ed191f8f (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
consistency with the rest of emacs.
(tty-color-canonicalize): Only copy COLOR if we need to change it.
(tty-color-approximate): Scale values from `color-name-rgb-alist'
appropriately.  Return the whole color description, rather than just the
RGB values.
(tty-color-standard-values): New function.  Code mostly taken from
`tty-color-translate'.
(tty-color-translate, tty-color-values): Use `tty-color-desc' to do all
the work.
(tty-color-desc): Do color lookup here instead of calling
`tty-color-translate' and `tty-color-by-index'; this is now the main
place to do it.
2002-06-09 12:53:53 +00:00
Juanma Barranquero
aa87aafcde Fix typo. 2002-05-16 12:00:33 +00:00
Jason Rumney
e596f2a24b (mouse-wheel-scroll-line)
(mouse-wheel-scroll-screen): Removed.
([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
2002-05-04 22:17:07 +00:00
Andrew Choi
e0f712ba55 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
lisp/ChangeLog, and src/ChangeLog for list of changes.
2002-04-26 23:39:06 +00:00
Pavel Janík
ae10d59731 (x-select-text, x-cut-buffer-or-selection-value): Check if any of the
available selection sources has new content and if so it will return that
content.
2002-04-24 13:18:27 +00:00
Jan Djärv
3842fde117 (emacs-session-save): Add comment that return t means cancel shutdown 2002-03-12 21:15:07 +00:00
Jan Djärv
1e4f6cec82 (emacs-session-restore): Take previous id as an argument. 2002-03-12 19:15:06 +00:00
Jan Djärv
941a391a0b (x-handle-smid): New function.
(emacs-session-filename): New function.
(emacs-session-save): New function.
(emacs-save-session-functions): New variable.
(emacs-session-restore): New function.
2002-03-10 16:27:26 +00:00
Jason Rumney
ed81ee80f5 (mouse-wheel-scroll-line): Use car of
mouse-wheel-scroll-amount.
2002-02-25 23:26:38 +00:00
Jason Rumney
3d27abc47b (x-option-alist, x-long-option-alist)
(x-switch-definitions): Remove, use command-line-x-option-alist
instead to be consistent with X.
(x-handle-initial-switch): New function.
2002-02-17 23:08:14 +00:00
Eli Zaretskii
e47cd3c4e2 Fix a typo in a comment. 2002-01-25 14:35:42 +00:00
Eli Zaretskii
68fe2e0f61 (tty-standard-colors): Reverse the order of colors.
(tty-register-default-colors): New function;
code moved from startup.el's command-line.
2002-01-25 13:16:23 +00:00
Eli Zaretskii
1400df92a7 (msdos-color-values): Reverse the order of the
colors, since tty-color-define now preserves the registration
order.
2002-01-25 13:13:02 +00:00
Eli Zaretskii
63e9afde34 (xterm-standard-colors): New variable.
(xterm-rgb-convert-to-16bit, xterm-register-default-colors)
(xterm-rxvt-set-background-mode): New functions.
(toplevel): Call xterm-register-default-colors,
xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
Add support for more keys from xterm's terminfo entry.
2002-01-25 13:10:46 +00:00
Eli Zaretskii
5ea6e06823 New file. 2002-01-25 13:07:35 +00:00
Richard M. Stallman
bfabe8828e (x-handle-geometry): Put sizes on both
initial-frame-alist and default-frame-alist.
2002-01-24 19:20:21 +00:00
Jason Rumney
78887b5a76 Move user variables to w32-vars.el and make them defcustoms.
Use w32-list-proportional-fonts.
2002-01-20 15:34:00 +00:00
Jason Rumney
b05f815e1c Add comments to avoid future deletion of conditionals that seem
unnecessary on w32.
2002-01-17 19:33:03 +00:00