fix ob-python

This commit is contained in:
2025-06-17 17:21:04 +02:00
parent 56022f7f8b
commit 280b19d614
3 changed files with 48 additions and 4 deletions

View File

@@ -91,7 +91,8 @@
*Table*
[[help:org-shiftleft][Move cell left]] .......... =S-left= [[help:org-shiftup][Move cell up]] .............. =S-up=
[[help:org-shiftright][Move cell right]] ........ =S-right= [[help:org-shiftdown][Move cell down]] .......... =S-down=
[[help:org-table-blank-field][Clear cell]] ................. =SPC=
[[help:org-table-blank-field][Clear cell]] ................. =SPC= [[help:org-table-shrink][Shrink columns]] ..... =C-u C-c TAB=
[[help:org-table-toggle-column-width][Shrink/expand column]] ... =C-c TAB= [[help:org-table-expand][Expand columns]] . =C-u C-u C-c TAB=
[[help:org-table-create-or-convert-from-region][Convert seperator (1. tab, 2. comma, 3. space)]] ............... =C-c= =|=
, comma .............. =C-u= =C-c= =|= , tab separator .. =C-u= =C-u= =C-c= =|=
@@ -130,6 +131,7 @@
- [[help:eval-last-sexp][last to echo]] ......... =C-x= =C-e= [[help:backward-sexp][Jump tp prev. expression]] . =C-M-b=
- [[help:eval-print-last-sexp][last to buffer]] [[help:kill-sexp][Cut expression]] ........... =C-M-k=
[[help:mark-sexp][Mark expression]] .......... =C-M-@= [[help:backward-kill-sexp][Cut last expression]] . =C-M-backsp=
[[help:counsel-set-variable][Set variable]] .............. =F2 j=
*IBuffer*
@@ -310,6 +312,15 @@ print it in the message buffer."
;; https://emacs.stackexchange.com/questions/7375/can-i-format-cells-in-an-org-mode-table-differently-depending-on-a-formula
(require 'ov)
(defun my-org-toggle-emphasis ()
"Toggle hiding/showing of org emphasize markers."
(interactive)
(if org-hide-emphasis-markers
(set-variable 'org-hide-emphasis-markers nil)
(set-variable 'org-hide-emphasis-markers t))
(org-mode-restart))
(define-key org-mode-map (kbd "C-c C-x C-e") 'my-org-toggle-emphasis)
(defun my-org-keywords ()
"Parse the buffer and return a cons list of (key . value)
from lines like: