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
Hey, I'm trying to integrate org-appear's manual toggles with Meow's insert-mode, such that emphasis markers are only shown while within insert-mode.
While this works in principle, using meow-insert-enter-hook and meow-insert-exit-hook, for some reason, typing whilst within insert-mode causes the emphasis markers to be hidden again. Then, each subsequent insertion / deletion operation in insert-mode quickly shows and then hides emphasis markers again, which is extremely distracting.
For reference, this is my configuration for org-appear:
(use-package org-appear
:afterorg:hook
(org-mode. org-appear-mode)
:config
(setq org-hide-emphasis-markers t)
(setq org-appear-autoemphasis t
org-appear-autolinks t
org-appear-autosubmarkers t
org-appear-autoentities t
org-appear-autokeywords t
org-appear-inside-latex t
org-appear-delay 1)
;; only show emphasis markers when in insert-mode
(setq org-appear-trigger 'manual)
(defunjoka/add-meow-org-appear-integration ()
"Add hooks to meow-insert-mode and meow-normal-mode, which toggle org-appear states"
(add-hook'meow-insert-enter-hook#'org-appear-manual-startnilt)
(add-hook'meow-insert-exit-hook#'org-appear-manual-stopnilt))
(add-hook'org-mode-hook#'joka/add-meow-org-appear-integration))
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, I'm trying to integrate org-appear's manual toggles with Meow's insert-mode, such that emphasis markers are only shown while within insert-mode.
While this works in principle, using
meow-insert-enter-hook
andmeow-insert-exit-hook
, for some reason, typing whilst within insert-mode causes the emphasis markers to be hidden again. Then, each subsequent insertion / deletion operation in insert-mode quickly shows and then hides emphasis markers again, which is extremely distracting.For reference, this is my configuration for org-appear:
Any help would be greatly appreciated! :)
Beta Was this translation helpful? Give feedback.
All reactions