Eli Zaretskii
ad1c463f79
(menu-bar-open): New function. Bind <f10> to it.
2007-07-07 11:25:15 +00:00
Dan Nicolaescu
1f445a397e
* term/xterm.el (terminal-init-xterm): Escape parens in character
...
constants.
2007-06-13 19:08:44 +00:00
YAMAMOTO Mitsuharu
b70b6847b7
(mac-ts-unicode-for-key-event): Check if text is available.
2007-05-07 08:06:55 +00:00
Chong Yidong
a71f4eeb3a
(terminal-init-xterm): Fix key definitions. Add binding for C-M-SPC.
2007-04-08 14:33:32 +00:00
Andreas Schwab
28863a9904
(terminal-init-xterm): Add bindings for keypad keys.
2007-04-08 10:42:26 +00:00
Kenichi Handa
a28a315a55
(x-select-utf8-or-ctext): Improve the strategy.
2007-03-06 05:50:48 +00:00
Glenn Morris
1452f27e47
Add copyright and license notice (ESR states that he was probably the
...
author).
2007-02-16 08:01:22 +00:00
YAMAMOTO Mitsuharu
e5a4ac9d70
Change all uses of
...
mac-set-font-panel-visibility to mac-set-font-panel-visible-p.
(mac-ae-number): Return integer 0 if coerced result is float 0.0.
(mac-ae-get-url): Call select-frame-set-input-focus.
(mac-dnd-handle-drag-n-drop-event): Don't call
select-frame-set-input-focus.
2007-02-13 08:27:47 +00:00
Glenn Morris
3037bf345d
Revert previous change, since I'm not sure it is correct.
2007-02-11 04:08:01 +00:00
Glenn Morris
cc93e7deb4
Add copyright and license notices (file written by Eric Raymond, who
...
has assignment).
2007-02-11 00:39:51 +00:00
YAMAMOTO Mitsuharu
1879b65c3d
(mac-keyboard-modifier-mask-alist): New constant.
...
(mac-ae-keyboard-modifiers): New function.
(mac-handle-toolbar-switch-mode): Use it.
(mac-dnd-handle-drag-n-drop-event): Likewise. Set action to `copy'
if keyboard modifiers on drop contain option key.
(mac-dnd-drop-data): Add optional argument `action'.
(special-event-map): Remove binding for M-drag-n-drop.
2007-01-22 08:27:23 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
YAMAMOTO Mitsuharu
025a24b5bc
(mac-ae-quit-application): New function.
...
(mac-apple-event-map): Bind "quit application" Apple event to it.
2007-01-15 08:10:22 +00:00
Juanma Barranquero
ef9f9fb556
(mac-dnd-types-alist): Fix typo in docstring.
2007-01-08 23:02:52 +00:00
Jan Djärv
84f1b4544b
Set scroll bar mode to right if set by X resources.
2006-12-30 15:23:38 +00:00
YAMAMOTO Mitsuharu
40cacec2b3
(mac-keyboard-translate-char, mac-unread-string):
...
New functions.
(mac-ts-update-active-input-area, mac-ts-unicode-for-key-event):
Use mac-unread-string.
2006-12-25 08:18:29 +00:00
YAMAMOTO Mitsuharu
5fecafe707
(mac-atsu-font-table): Remove defvar.
...
(mac-handle-font-selection): Use mac-atsu-font-face-attributes
instead of mac-atsu-font-table.
(fontset-default): Specify argument MAXIMUM in x-list-fonts calls.
2006-12-15 08:04:47 +00:00
Glenn Morris
f2e3589a33
Update copyright years.
2006-12-09 04:06:06 +00:00
Jan Djärv
8eee81013f
(x-last-cut-buffer-coding): New variable.
...
(x-select-text): Set it.
(x-cut-buffer-or-selection-value): Check also x-last-cut-buffer-coding
when checking for newness.
2006-11-20 07:43:41 +00:00
Jan Djärv
ccf17b26dc
(x-cut-buffer-or-selection-value): Decode text from
...
cut-buffers with next-selection-coding-system if not nil.
2006-11-18 13:16:58 +00:00
Andreas Schwab
5efe831f08
(terminal-init-xterm): Add more key bindings.
2006-11-14 11:26:20 +00:00
Jan Djärv
65a0c81b84
* term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
...
Encode/decode text to/from cut buffers to/from iso-latin-1 only.
2006-11-10 07:40:06 +00:00
Juanma Barranquero
885a56fe64
(x-handle-name-switch): Doc fix.
...
(w32-standard-fontset-spec): Fix typo in docstring.
2006-10-25 15:38:22 +00:00
YAMAMOTO Mitsuharu
045b190821
*** empty log message ***
2006-10-19 08:02:23 +00:00
Jan Djärv
26e3283901
* term/x-win.el (res-geometry): Don't set geometry from Xresources
...
to default-frame-alist if default-frame-alist already contains
widht/height.
2006-10-18 14:05:16 +00:00
Jan Djärv
0fba87a865
* term/x-win.el (x-menu-bar-open): New function for F10.
2006-09-15 17:02:55 +00:00
YAMAMOTO Mitsuharu
dbcdba77e6
(show-hide-font-panel): New HI command ID symbol.
...
(mac-apple-event-map): Define its handler.
2006-09-08 08:17:21 +00:00
Dan Nicolaescu
652bf3a19f
(terminal-init-xterm): Add more C-M- bindings.
2006-09-05 06:59:53 +00:00
Dan Nicolaescu
bb68962b53
(terminal-init-xterm): Add C-M- bindings.
2006-09-04 16:49:35 +00:00
YAMAMOTO Mitsuharu
762ce89d58
(mac-string-to-utxt): If adjustment for MacJapanese
...
results in ASCII-only string, encode original one directly.
2006-08-30 08:51:52 +00:00
YAMAMOTO Mitsuharu
4442ec0d0d
(mac-apple-event-map): Rename hicommand to hi-command.
...
(mac-dnd-drop-data): Apply 2006-08-22 change for x-dnd-drop-data.
(special-event-map): Apply 2006-08-16 change for x-win.el.
2006-08-27 07:08:07 +00:00
Richard M. Stallman
c0acb3ee4c
(x-clipboard-yank): Specify * in interactive spec.
...
(special-event-map): Process drag-n-drop events this way.
2006-08-16 05:09:18 +00:00
Jan Djärv
3694220512
* term/x-win.el (menu-bar-edit-menu): Disable paste if buffer is
...
read only.
2006-08-14 09:00:36 +00:00
Dan Nicolaescu
c0658ad46e
(terminal-init-xterm): Add more key bindings.
2006-08-08 05:31:09 +00:00
Dan Nicolaescu
cecee05315
(terminal-init-xterm): Fix bindings for C-tab,
...
S-tab and C-S-tab.
2006-07-27 18:31:23 +00:00
Dan Nicolaescu
c79722c9f7
(terminal-init-xterm): Fix key bindings
...
syntax. Bind S-return, C-M-., C-TAB, S-TAB and C-S-TAB.
2006-07-21 17:36:10 +00:00
Richard M. Stallman
e50f1c1a82
(x-handle-display): Add doc string.
2006-07-09 02:02:57 +00:00
Romain Francoise
366f174136
(x-display-name): Fix typo.
2006-07-08 16:31:42 +00:00
Chong Yidong
6f6c5fb394
* term/x-win.el (x-display-name): Doc fix.
2006-07-08 01:45:46 +00:00
YAMAMOTO Mitsuharu
f9b6d85f76
(mac-handle-font-selection): Change keys of
...
mac-atsu-font-table from strings to numbers.
(mac-ts-caret-position): Use also when cursor-type is nil.
(mac-ts-update-active-input-area): Add Mac OS Classic support.
Relax condition for using overlay strings. Use
mac-ts-caret-position face when cursor-type is nil.
2006-06-28 08:28:38 +00:00
Dan Nicolaescu
4e78977ec2
(terminal-init-xterm): Bind C-return.
2006-06-21 02:00:47 +00:00
Dan Nicolaescu
2b0193e1fb
* term/xterm.el (terminal-init-xterm): Update key availability
...
info.
* term.el (term-delete-lines, term-insert-lines): Clarify
comments.
2006-06-20 18:12:23 +00:00
YAMAMOTO Mitsuharu
05d3aeb016
(mac-text-encoding-ascii): New constant.
...
(mac-utxt-to-string): Use it.
(mac-ts-update-active-input-area): Use mac-ae-number.
2006-06-16 08:07:59 +00:00
YAMAMOTO Mitsuharu
dc34c597e4
(mac-ts-active-input-overlay): Add defvar.
...
(mac-ae-number, mac-ae-frame, mac-ae-script-language)
(mac-bytes-to-text-range, mac-ae-text-range-array)
(mac-ts-update-active-input-buf, mac-split-string-by-property-change)
(mac-replace-untranslated-utf-8-chars, mac-ts-update-active-input-area)
(mac-ts-unicode-for-key-event): New functions.
(mac-handle-toolbar-switch-mode): Use mac-ae-frame.
(mac-handle-font-selection): Use mac-ae-number.
(mac-ts-active-input-buf, mac-ts-update-active-input-area-seqno):
New variables.
(mac-ts-caret-position, mac-ts-raw-text, mac-ts-selected-raw-text)
(mac-ts-converted-text, mac-ts-selected-converted-text)
(mac-ts-block-fill-text, mac-ts-outline-text)
(mac-ts-selected-text, mac-ts-no-hilite): New faces.
(mac-ts-hilite-style-faces): New constant.
(mac-apple-event-map): Bind text input events.
(mac-dispatch-apple-event): Use command-execute instead of
call-interactively.
(global-map): Don't bind mac-apple-event.
(special-event-map): Bind mac-apple-event.
2006-06-03 02:31:51 +00:00
Jan Djärv
4054794d58
* term/x-win.el: Change x-menu-bar-start to menu-bar-open.
2006-06-01 06:42:22 +00:00
Jan Djärv
e380957ec2
* term/x-win.el: bind F10 to menu-bar-start if available.
2006-05-29 07:16:54 +00:00
YAMAMOTO Mitsuharu
dc47c8243d
Set idle timer to clean up expired Apple events.
...
(mac-ae-get-url): Redispatch Apple event on unknown scheme.
(mac-dispatch-apple-event): Resume Apple event if it is suspended.
Optionally set error message in reply.
2006-05-24 08:06:27 +00:00
YAMAMOTO Mitsuharu
0cd80dfa3f
(w32-drag-n-drop): Substitute '/' for '\',
...
encode, and escape file name on conversion to URL.
2006-05-20 04:31:17 +00:00
YAMAMOTO Mitsuharu
fc0a69d1e7
(mac-ae-open-documents): Escape file name on conversion to URL.
2006-05-20 04:30:07 +00:00
YAMAMOTO Mitsuharu
7b39356d19
(mac-bytes-to-digits): Remove function.
...
(mac-handle-toolbar-switch-mode): Use coercion instead of it.
2006-05-19 09:09:37 +00:00