Commit 82594f0cde
Copy SHA
82594f0cde1816f45583a9ffc218db803a063672
parent: 424b251694
Verified · cmc
cmc <hello@cleberg.net> · 2026-10-08 03:51 UTC
Correct key hints in comments and the footnote message
The footnote jump named C-c &, which nothing binds; going back is C-c
C-c or C-c C-x f on the definition's label. MarkSubtree is bound to
C-c @ and the @ speed key, not M-h. The C-c C-c header now mentions
checkbox toggling.
Changed files (3)
Sources/OrgCore/Commands/CtrlCCtrlC.swift
+2 −2 · view
@@ -2,8 +2,8 @@ import Foundation
2
2
3 // C - c C - c ( ` o r g - c t r l - c - c t r l - c ` , O r g 9 . 8 . 7 ) f o r t h e c o n t e x t s n o m o r e s p e c i f i c b i n d i n g t a k e s :
3 // C - c C - c ( ` o r g - c t r l - c - c t r l - c ` , O r g 9 . 8 . 7 ) f o r t h e c o n t e x t s n o m o r e s p e c i f i c b i n d i n g t a k e s :
4 // h e a d i n g s s e t t a g s , c l o c k l i n e s g e t t h e i r d u r a t i o n a g a i n , t i m e s t a m p s t h e i r w e e k d a y , c o o k i e s
4 // h e a d i n g s s e t t a g s , c l o c k l i n e s g e t t h e i r d u r a t i o n a g a i n , t i m e s t a m p s t h e i r w e e k d a y , c o o k i e s
5 // u p d a t e , i t e m s w i t h o u t a c h e c k b o x h a v e t h e i r l i s t r e p a i r e d , s e t u p k e y w o r d s r e f r e s h , a n d
5 // u p d a t e , i t e m s t o g g l e t h e i r c h e c k b o x , o r w i t h o u t o n e h a v e t h e i r l i s t r e p a i r e d , s e t u p k e y w o r d s
6 // e l s e w h e r e t h e r e ' s n o t h i n g t o d o .
6 // r e f r e s h , a n d e l s e w h e r e t h e r e ' s n o t h i n g t o d o .
7
7
8 // / ` o r g - c t r l - c - c t r l - c ` .
8 // / ` o r g - c t r l - c - c t r l - c ` .
9 public struct CtrlCCtrlC : OrgCommand {
9 public struct CtrlCCtrlC : OrgCommand {
Sources/OrgCore/Commands/Footnotes.swift
+1 −1 · view
@@ -513,7 +513,7 @@ public struct FootnoteAction: OrgCommand {
513 return . commit ( EditResult ( baseRevision : result . baseRevision , edits : result . edits , selection : result . selection , effects : result . effects + [ . message ( message ) ] ) )
513 return . commit ( EditResult ( baseRevision : result . baseRevision , edits : result . edits , selection : result . selection , effects : result . effects + [ . message ( message ) ] ) )
514 }
514 }
515
515
516 static let definitionMessage = " Edit definition and go back with `C-c &' or, if unique, with `C-c C-c' . "
516 static let definitionMessage = " Edit definition and go back with `C-c C-c' or `C-c C-x f' on its label . "
517
517
518 private func move ( _ context : EditContext , to offset : Int , message : String ? = nil ) -> CommandStep {
518 private func move ( _ context : EditContext , to offset : Int , message : String ? = nil ) -> CommandStep {
519 . commit ( EditResult ( baseRevision : context . revision , edits : [ ] , selection : [ offset . . < offset ] , effects : message . map { [ . message ( $0 ) ] } ? ? [ ] ) )
519 . commit ( EditResult ( baseRevision : context . revision , edits : [ ] , selection : [ offset . . < offset ] , effects : message . map { [ . message ( $0 ) ] } ? ? [ ] ) )
Sources/OrgCore/Commands/ToggleCommands.swift
+1 −1 · view
@@ -326,7 +326,7 @@ extension EmacsBuffer {
326 }
326 }
327 }
327 }
328
328
329 // / C - c @ a n d M - h o n a h e a d i n g : ` o r g - m a r k - s u b t r e e ` , t h e s u b t r e e s e l e c t e d f r o m i t s h e a d i n g .
329 // / C - c @ ( a n d t h e s p e e d k e y @ ) o n a h e a d i n g : ` o r g - m a r k - s u b t r e e ` , t h e s u b t r e e s e l e c t e d f r o m i t s h e a d i n g .
330 public struct MarkSubtree : OrgCommand {
330 public struct MarkSubtree : OrgCommand {
331 public init ( ) { }
331 public init ( ) { }
332 public var id : String { " org.subtree.mark " }
332 public var id : String { " org.subtree.mark " }