You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Nov 29,2021 via commit ab84cd9shift-select-mode was set to nil.
Isn't it more in line with other editing applications to use the shift key for selecting texts?
In emacs 28, a new option 'permanent was added , this behaves more in line with how set-mark operates.
Is there any rationale as to why it is set to nil as part of xah-fly-keys mode
Would you be inclined to add a custom option in line with xah-fly-use-shift-select to set this option?
--- xah-fly-keys.el 2025-01-27 14:41:50.327959830 +0530
+++ xah-fly-keys--shsel.el 2025-01-27 14:41:29.947803966 +0530
@@ -176,6 +176,16 @@
"If nil, no change to any key in isearch (`isearch-forward'). Otherwise, arrow keys are for moving between occurrences, and C-v is paste."
:type 'boolean)
+(defcustom xah-fly-use-shift-select 'permanent
+ "When non-nil, shifted motion keys activate the mark momentarily.
+When the value is `permanent', the mark will be deactivated by any
+action which normally does that, but not by motion keys.
+
+See `shift-select-mode'."
+ :type '(choice (const :tag "Off" nil)
+ (const :tag "Permanent" permanent)
+ (other :tag "On" t)))
+
(defun xah-fly-get-pos-block ()
"Return the begin end positions of current text block.
Return value is a `vector'.
@@ -4139,7 +4149,7 @@
:lighter " xflykeys"
:keymap xah-fly-insert-map
(delete-selection-mode 1)
- (setq shift-select-mode nil)
+ (setq shift-select-mode xah-fly-use-shift-select)
(if xah-fly-keys
;; Construction:
Thank you.
The text was updated successfully, but these errors were encountered:
Dear Xah,
On Nov 29,2021 via commit ab84cd9
shift-select-mode
was set to nil.Isn't it more in line with other editing applications to use the shift key for selecting texts?
In emacs 28, a new option
'permanent
was added , this behaves more in line with howset-mark
operates.Is there any rationale as to why it is set to nil as part of
xah-fly-keys mode
Would you be inclined to add a custom option in line with
xah-fly-use-shift-select
to set this option?Thank you.
The text was updated successfully, but these errors were encountered: