patches: fix commit msg line lengths, add remaining fixes

- 0007/0008: rewrap long commit message lines (>78 chars created by
  package name generalization); Emacs commit-msg hook enforces 78 char
  limit
- 0006: add paragraph break before 'Block-style cursors' sentence in
  macos.texi VoiceOver section; update hunk count accordingly
- 0000/0007: add comment documenting intentional ns_zoom_face_is_selected
  / ns_ax_face_is_selected duplication (independent series design)
This commit is contained in:
2026-03-03 13:17:54 +01:00
parent aa0388d485
commit bbeb4d87ac
4 changed files with 17 additions and 10 deletions

View File

@@ -3,9 +3,9 @@ From: Daneel <daneel@sukany.cz>
Date: Mon, 2 Mar 2026 18:39:46 +0100
Subject: [PATCH 7/8] ns: announce overlay completion candidates for VoiceOver
Completion frameworks such as overlay-based completion frameworks, Ivy, and Icomplete render
candidates via overlay before-string/after-string properties. Without
this change VoiceOver cannot read overlay-based completion UIs.
Overlay-based completion UIs (Vertico, Ivy, Icomplete) render candidates
via overlay before-string/after-string properties. Without this change
VoiceOver cannot read overlay-based completion UIs.
* src/nsterm.m (ns_ax_face_is_selected): New static function; matches
'current', 'selected', 'selection' in face symbol names.
@@ -37,7 +37,7 @@ diff --git a/src/nsterm.m b/src/nsterm.m
index 8e5cc7e1d7..8ef344d9fe 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -7263,11 +7263,154 @@ Accessibility virtual elements (macOS / Cocoa only)
@@ -7263,11 +7263,157 @@ Accessibility virtual elements (macOS / Cocoa only)
/* ---- Helper: extract buffer text for accessibility ---- */
@@ -46,6 +46,9 @@ index 8e5cc7e1d7..8ef344d9fe 100644
+ completion candidate. Works for vertico-current,
+ icomplete-selected-match, ivy-current-match, etc. */
+static bool
+/* Note: ns_zoom_face_is_selected in the Zoom series has identical
+ logic. The duplication is intentional: both series are
+ independent and must compile standalone. */
+ns_ax_face_is_selected (Lisp_Object face)
+{
+ if (SYMBOLP (face) && !NILP (face))