1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

407 Commits

Author SHA1 Message Date
Stefan Monnier
4dab1ffd06 (function-key-map): Add bindings for C- and S- cursor
motion as seen on my Mac OS X xterms.
2004-09-08 02:41:53 +00:00
Steven Tamm
2ca75b4224 Add ASCII equivalents for some function keys.
(mode-line-frame-identification): Sync with x-win.el.
2004-09-02 16:59:18 +00:00
Kenichi Handa
c3ff5bc11c term/x-win.el (x-selection-value): If utf8 was successful but
ctext was not, use utf8 string.
2004-08-16 00:07:23 +00:00
Luc Teirlinck
b96b979c74 (tty-color-approximate): Doc fix. 2004-07-24 21:58:34 +00:00
Steven Tamm
0ecc99998a term/mac-win.el (mac-scroll-ignore-events, mac-scroll-down)
(mac-scroll-down-line, mac-scroll-up, mac-scroll-up-line):
Do not treat double clicks and triple clicks specially in the
scroll bar (preventing strange repositioning problems)
2004-07-08 15:24:54 +00:00
Juanma Barranquero
fe34703418 (image-library-alist): Initialize to a known set of probable library names. 2004-06-14 21:01:37 +00:00
Jason Rumney
b0efcd2ea3 Require code-pages. 2004-05-09 15:01:17 +00:00
Jan Djärv
e43a720fd6 * term/x-win.el (x-clipboard-yank): Don't exit on error from
x-get-selection.
2004-05-03 20:02:49 +00:00
Jason Rumney
1e8b532f5a (w32-drag-n-drop): Use x-dnd.el functions. 2004-05-01 13:31:29 +00:00
Eli Zaretskii
361535c2a9 Remove my incorrect email address. 2004-04-04 21:45:39 +00:00
Kenichi Handa
b040ac646b (x-select-utf8-or-ctext): Use compare-strings instead of while loop. 2004-02-10 03:52:37 +00:00
Jan Djärv
133aad747d * x-dnd.el: New file for drag and drop.
* term/x-win.el: require x-dnd, set after-make-frame-functions
to x-dnd-init-frame, let x-dnd-handle-drag-n-drop-event handle
drag-n-drop event.

* dired.el (dired-dnd-test-function, dired-dnd-popup-notice)
(dired-dnd-do-ask-action, dired-dnd-handle-local-file)
(dired-dnd-handle-file): New functions for drag and drop support.
(dired-mode): Initialize drag and drop if x-dnd present.
2004-02-03 16:55:30 +00:00
Kenichi Handa
3ff05361d8 *** empty log message *** 2004-01-29 04:58:11 +00:00
Kenichi Handa
ef99df9a86 (x-selection-value): Optimize for ASCII only case. 2004-01-29 04:56:11 +00:00
Jan Djärv
a5bfbd4e67 Enable clipboard on the menu bar and make Paste from the menu bar first
use clipboard.  For compliance with freedesktop.org.
2004-01-21 10:56:29 +00:00
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