patches: fix remaining line-length violations and doc string corruption
- Correct three pre-existing DEFVAR_BOOL doc strings (ns-use-native- fullscreen, ns-use-mwheel-acceleration, ns-use-mwheel-momentum) that were accidentally modified by an earlier rebase; restore original text - Break @property line in nsterm.h to 79 chars - Replace em-dash with --- and break 80-char comment line in patch 0004
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 0e8d5540c8993b2e91c437d20e47e7abeb12543f Mon Sep 17 00:00:00 2001
|
||||
From bd3036ae2bd5740e8275637bb32c674ed11c210f Mon Sep 17 00:00:00 2001
|
||||
From: Martin Sukany <martin@sukany.cz>
|
||||
Date: Sat, 28 Feb 2026 12:58:11 +0100
|
||||
Subject: [PATCH 5/8] ns: integrate accessibility with EmacsView and redisplay
|
||||
@@ -51,7 +51,7 @@ index 80661a9..2b1f9e6 100644
|
||||
** Re-introduced dictation, lost in Emacs v30 (macOS).
|
||||
We lost macOS dictation in v30 when migrating to NSTextInputClient.
|
||||
diff --git a/src/nsterm.m b/src/nsterm.m
|
||||
index 992a5ce..d9b8ecd 100644
|
||||
index 6d3b87a..7574da4 100644
|
||||
--- a/src/nsterm.m
|
||||
+++ b/src/nsterm.m
|
||||
@@ -1275,7 +1275,7 @@ If a completion candidate is selected (overlay or child frame),
|
||||
@@ -173,7 +173,7 @@ index 992a5ce..d9b8ecd 100644
|
||||
/* ===================================================================
|
||||
EmacsAccessibilityInteractiveSpan — helpers and implementation
|
||||
=================================================================== */
|
||||
@@ -9635,6 +9683,7 @@ - (void)dealloc
|
||||
@@ -9636,6 +9684,7 @@ - (void)dealloc
|
||||
[layer release];
|
||||
#endif
|
||||
|
||||
@@ -181,7 +181,7 @@ index 992a5ce..d9b8ecd 100644
|
||||
[[self menu] release];
|
||||
[super dealloc];
|
||||
}
|
||||
@@ -10983,6 +11032,32 @@ - (void)windowDidBecomeKey /* for direct calls */
|
||||
@@ -10984,6 +11033,32 @@ - (void)windowDidBecomeKey /* for direct calls */
|
||||
XSETFRAME (event.frame_or_window, emacsframe);
|
||||
kbd_buffer_store_event (&event);
|
||||
ns_send_appdefined (-1); // Kick main loop
|
||||
@@ -214,7 +214,7 @@ index 992a5ce..d9b8ecd 100644
|
||||
}
|
||||
|
||||
|
||||
@@ -12220,6 +12295,332 @@ - (int) fullscreenState
|
||||
@@ -12221,6 +12296,332 @@ - (int) fullscreenState
|
||||
return fs_state;
|
||||
}
|
||||
|
||||
@@ -547,7 +547,7 @@ index 992a5ce..d9b8ecd 100644
|
||||
@end /* EmacsView */
|
||||
|
||||
|
||||
@@ -14220,12 +14621,17 @@ Nil means use fullscreen the old (< 10.7) way. The old way works better with
|
||||
@@ -14221,12 +14622,17 @@ Nil means use fullscreen the old (< 10.7) way. The old way works better with
|
||||
ns_use_srgb_colorspace = YES;
|
||||
|
||||
DEFVAR_BOOL ("ns-accessibility-enabled", ns_accessibility_enabled,
|
||||
|
||||
Reference in New Issue
Block a user