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