Mercurial > emacs
annotate mac/README @ 62103:2d42fd79f829
(toolkit_scroll_bar_interaction): Remove unused
variable.
(mac_handle_tool_bar_click): Remove unused function and
declaration.
[USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback)
(install_scroll_bar_timer, set_scroll_bar_timer)
(control_part_code_to_scroll_bar_part, construct_scroll_bar_click)
(get_control_part_bound, x_scroll_bar_handle_press)
(x_scroll_bar_handle_release, x_scroll_bar_handle_drag)
(x_set_toolkit_scroll_bar_thumb): New functions and declarations.
[USE_TOOLKIT_SCROLL_BARS] (last_scroll_bar_part, scroll_bar_timer)
(scroll_bar_timer_event_posted_p): New variables.
[USE_TOOLKIT_SCROLL_BARS] (SCROLL_BAR_FIRST_DELAY)
(SCROLL_BAR_CONTINUOUS_DELAY): New macros.
(x_scroll_bar_create): Set control reference with NewControl.
(x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: Initialize
track_top and track_height to nil.
(x_scroll_bar_set_handle, x_scroll_bar_note_movement): Put
functions in #ifndef USE_TOOLKIT_SCROLL_BARS.
(XTset_vertical_scroll_bar): Don't make space between scroll bar
and associated window.
(XTset_vertical_scroll_bar) [MAC_OSX]: Get scroll bar area width
from window config.
(XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: Set
track_top and track_height to nil when scroll bar size is changed.
Recalculate them if they are nil.
(XTread_socket) [MAC_OSX]: Use control kind to determine if the
clicked control is a scroll bar.
(XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Use toolkit scroll bar
event handler functions. Don't add modifiers to scroll bar click
events. Call scroll bar release handler when window is
deactivated.
(mac_initialize): Remove unused code for X toolkit.
(syms_of_macterm) [!USE_TOOLKIT_SCROLL_BARS]: Initialize
Vx_toolkit_scroll_bars to nil.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Fri, 06 May 2005 08:03:24 +0000 |
parents | f900ce9a7062 |
children | 5c72c9c65fb2 |
rev | line source |
---|---|
44890
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
1 Emacs for Mac OS 8/9 and Mac OS X |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
2 |
55853
f900ce9a7062
Updating list of TODOs to remove image support and environment variable problem
Steven Tamm <steventamm@mac.com>
parents:
48602
diff
changeset
|
3 Copyright (c) 2001-4 Free Software Foundation, Inc. |
36233 | 4 |
5 Permission is granted to anyone to make or distribute verbatim | |
6 copies of this document as received, in any medium, provided that | |
7 the copyright notice and permission notice are preserved, and that | |
8 the distributor grants the recipient permission for further | |
9 redistribution as permitted by this notice. | |
10 | |
11 Permission is granted to distribute modified versions of this | |
12 document, or of portions of it, under the above conditions, | |
13 provided also that they carry prominent notices stating who last | |
14 changed them. | |
15 | |
44890
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
16 This directory contains the files needed to build Emacs on the Mac OS |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
17 8/9 and Mac OS X. Many of the major features of the Unix version are |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
18 supported: multiple frames, colors, scroll bars, menu bars, use of the |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
19 mouse, fontsets, international characters, input methods, and coding |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
20 systems. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
21 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
22 Mac OS specific support includes document drag-and-drop in the Finder, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
23 transfer of text to and from other applications via the clipboard, and |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
24 sending AppleScript commands to other applications from Emacs. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
25 |
44890
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
26 The following are not supported on Mac OS 8/9 : unexec (dump-emacs), |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
27 asynchronous subprocesses (start-process), and networking |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
28 (open-network-stream). These features work fine on Mac OS X. |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
29 |
44890
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
30 There is basic support for synchronous subprocesses (call-process) on |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
31 Mac OS 8/9 although Unix commands that are used will need to be |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
32 ported. |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
33 |
44890
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
34 Metrowerks CodeWarrior Pro 6 or MPW-GM (August 2001) can be used to |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
35 build Emacs on the Mac OS 8/9. On Mac OS X, Emacs can be built using |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
36 the Developer Tools. See the INSTALL file in this directory for |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
37 instructions on building Emacs. |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
38 |
44890
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
39 Binary distributions will be available in |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
40 |
38188
5cb0f2b0cabd
2001-06-26 Andrew Choi <akochoi@i-cable.com>
Andrew Choi <akochoi@shaw.ca>
parents:
38021
diff
changeset
|
41 ftp://ftp.gnu.org/gnu/mac/emacs/ |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
42 |
44890
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
43 Read the Mac OS section of the on-line help to find out about how to |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
44 use Emacs on the Mac. |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
45 |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
46 A number of things do not work yet: |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
47 |
55853
f900ce9a7062
Updating list of TODOs to remove image support and environment variable problem
Steven Tamm <steventamm@mac.com>
parents:
48602
diff
changeset
|
48 + Emacs does not respond correctly to C-g under certain circumstances. |
f900ce9a7062
Updating list of TODOs to remove image support and environment variable problem
Steven Tamm <steventamm@mac.com>
parents:
48602
diff
changeset
|
49 Sending the Emacs process a SIGINT externally will cause it |
f900ce9a7062
Updating list of TODOs to remove image support and environment variable problem
Steven Tamm <steventamm@mac.com>
parents:
48602
diff
changeset
|
50 to interrupt. This is due to the architecture of OSX's |
f900ce9a7062
Updating list of TODOs to remove image support and environment variable problem
Steven Tamm <steventamm@mac.com>
parents:
48602
diff
changeset
|
51 Window Manager. |
44890
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
52 |
55853
f900ce9a7062
Updating list of TODOs to remove image support and environment variable problem
Steven Tamm <steventamm@mac.com>
parents:
48602
diff
changeset
|
53 + Support for certain image types (such as XPM) is not as extensive as |
f900ce9a7062
Updating list of TODOs to remove image support and environment variable problem
Steven Tamm <steventamm@mac.com>
parents:
48602
diff
changeset
|
54 on other plaforms. |
44890
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
55 |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
56 If your Mac is connected to the Internet, report bugs by typing `M-x |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
57 report-emacs-bug' or by choosing the entry `Send Bug Report...' in |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
58 the `Help' menu. This will send the bug report to the address |
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
38188
diff
changeset
|
59 emacs-pretest-bug@gnu.org. |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
60 |
55853
f900ce9a7062
Updating list of TODOs to remove image support and environment variable problem
Steven Tamm <steventamm@mac.com>
parents:
48602
diff
changeset
|
61 Steven |
f900ce9a7062
Updating list of TODOs to remove image support and environment variable problem
Steven Tamm <steventamm@mac.com>
parents:
48602
diff
changeset
|
62 <steven.tamm@mac.com> |