diff options
| author | Po Lu | 2022-02-14 14:05:46 +0800 |
|---|---|---|
| committer | Po Lu | 2022-02-14 14:05:46 +0800 |
| commit | 0ba1ecc816fc2235ec57bc01ffa799a94aed4a39 (patch) | |
| tree | cd2349f4d93fe1bda6f9806936f8428a67a325a5 | |
| parent | 32fbda5c37d7c11201df8232c1cc6e2b5d88791e (diff) | |
| download | emacs-0ba1ecc816fc2235ec57bc01ffa799a94aed4a39.tar.gz emacs-0ba1ecc816fc2235ec57bc01ffa799a94aed4a39.zip | |
* etc/TODO: Update some entires related to macOS and NS.
Xwidgets have worked on NS for a long time, "smooth scrolling"
is now available as `pixel-scroll-precision-mode' for all GUI
platforms, and some mouse gestures have been implemented on NS
and X.
| -rw-r--r-- | etc/TODO | 41 |
1 files changed, 14 insertions, 27 deletions
| @@ -907,17 +907,17 @@ It would make it easy to add (and remove) mappings like | |||
| 907 | *** Missing features | 907 | *** Missing features |
| 908 | This sections contains features found in other official Emacs ports. | 908 | This sections contains features found in other official Emacs ports. |
| 909 | 909 | ||
| 910 | **** Support for xwidgets | 910 | **** Improved xwidgets support |
| 911 | Emacs 25 has support for xwidgets, a system to include operating | 911 | Emacs 25 has support for xwidgets, a system to include WebKit widgets |
| 912 | system components into an Emacs buffer. The components range from | 912 | into an Emacs buffer. |
| 913 | simple buttons to webkit (effectively, a web browser). | ||
| 914 | 913 | ||
| 915 | Currently, xwidgets work only for the gtk+ framework but they are | 914 | They work on NS, but not very well. For example, trying to display a |
| 916 | designed to be compatible with multiple Emacs ports. | 915 | xwidget in the "killed" state will make Emacs crash. This is because |
| 916 | the NS code has not been updated to keep with recent changes to the | ||
| 917 | X11 and GTK code. | ||
| 917 | 918 | ||
| 918 | (See the scratch/nsxwidget branch, and the discussion around | 919 | Many features such as xwidget-webkit-edit-mode do not work correctly |
| 919 | Objective-C code and GCC at | 920 | on NS either. |
| 920 | https://lists.gnu.org/r/emacs-devel/2019-08/msg00072.html ) | ||
| 921 | 921 | ||
| 922 | **** Respect 'frame-inhibit-implied-resize' | 922 | **** Respect 'frame-inhibit-implied-resize' |
| 923 | When the variable 'frame-inhibit-implied-resize' is non-nil, frames | 923 | When the variable 'frame-inhibit-implied-resize' is non-nil, frames |
| @@ -990,29 +990,16 @@ It has been maintained in parallel to the official Cocoa-based NS | |||
| 990 | interface. The Carbon interface has been enhanced, and a number of the | 990 | interface. The Carbon interface has been enhanced, and a number of the |
| 991 | features of that interface could be implemented NS. | 991 | features of that interface could be implemented NS. |
| 992 | 992 | ||
| 993 | **** Smooth scrolling -- maybe not a good idea | ||
| 994 | Today, by default, scrolling with a trackpad makes the text move in | ||
| 995 | steps of one line. (Scrolling with SHIFT scrolls horizontally.) | ||
| 996 | |||
| 997 | The "mac" port provides smooth, pixel-based, scrolling. This is a very | ||
| 998 | popular feature. However, there are drawbacks to this method: what | ||
| 999 | happens if only a fraction of a line is visible at the top of a | ||
| 1000 | window, is the partially visible text considered part of the window or | ||
| 1001 | not? (Technically, what should 'window-start' return.) | ||
| 1002 | |||
| 1003 | Note: This feature might not be allowed to be implemented until also | ||
| 1004 | implemented in Emacs for a free system. | ||
| 1005 | |||
| 1006 | **** Mouse gestures | 993 | **** Mouse gestures |
| 1007 | The "mac" port defines the gestures 'swipe-left/right/up/down', | 994 | The "mac" port defines the gestures 'swipe-left/right/up/down', |
| 1008 | 'magnify-up/down', and 'rotate-left/right'. | 995 | 'magnify-up/down', and 'rotate-left/right'. |
| 1009 | 996 | ||
| 1010 | It also binds the magnification commands to change the font | 997 | The magnify gestures have now been implemented on X11 and NS. The |
| 1011 | size. (This should be not be done in a specific interface, instead | 998 | event is named differently: it is named `pinch', but it does the same |
| 1012 | Emacs should do this binding globally.) | 999 | thing. |
| 1013 | 1000 | ||
| 1014 | Note: This feature might not be allowed to be implemented until also | 1001 | Someone needs to figure out what the other gestures do in the Mac |
| 1015 | implemented in Emacs for a free system. | 1002 | port, implement them on X, and then following that, on NS. |
| 1016 | 1003 | ||
| 1017 | **** Synthesize bold fonts | 1004 | **** Synthesize bold fonts |
| 1018 | 1005 | ||