* Bug: Cursor Disapears in Org-Src Blocks in Indent Mode [9.2.6 (release_9.2.6-559-ga01a8f @ /Users/djm/.emacs.d/straight/build/org/)]
[not found] <73e6babc-3469-480c-a9ac-eb92a1f1dcd2@Spark>
@ 2019-11-08 17:41 ` Dylan McDowell
2019-11-10 11:23 ` Fraga, Eric
0 siblings, 1 reply; 2+ messages in thread
From: Dylan McDowell @ 2019-11-08 17:41 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 5339 bytes --]
Hello,
Expected Behavior: My cursor is always visible throughout my entire
org-document
Actual Behavior: When moving through org-src blocks, my cursor is
visible until I move it to the end of the line. Then my cursor disapears
and only shows up when the cursor is placed in the middle of the line.
This behavior only happens when I hit 'org-block-begin-line', continues
through the 'org-block' face and 'org-block-end-line'.
Also, this behavior only happens if 'org-ident-mode' is turned on.
Also, this behavior only happens if I have the aforementioned faces set
to a different background color.
To summarize:
Org-Indent-Mode: On
Org-Block Faces: Different color than default bg
Cursor Behavior: Unexpected
Org-Indent-Mode: Off
Org-Block Faces: Different color than default bg
Cursor Behavior: Expected
Org-Indent-Mode: On
Org-Block Faces: Default bg
Cursor Behavior: Expected
Even with removing the rest of my 'init.el' and only changing the
org-block faces this same behavior happens. I suspect this might have
something to do with the new ':extend' keyword, but this behavior
persists even when I don't set ':extend t'.
Here is an example of how I am modifying the faces:
(org-block (:background gruvbox-dark1 :extend t))
(org-block-begin-line (:underline gruvbox-dark4 :background
gruvbox-dark0 :foreground gruvbox-dark4 :extend t))
(org-block-end-line (:overline gruvbox-dark4 :background
gruvbox-dark0 :foreground gruvbox-dark4 :extend t))
Emacs : GNU Emacs 27.0.50 (build 2, x86_64-apple-darwin19.0.0, NS appkit-1894.00 Version 10.15 (Build 19A583))
of 2019-11-08
Package: Org mode version 9.2.6 (release_9.2.6-559-ga01a8f @ /Users/djm/.emacs.d/straight/build/org/)
current state:
==============
(setq
org-src-mode-hook '(config-org--supress-final-newline org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-link-shell-confirm-function 'yes-or-no-p
org-insert-heading-respect-content t
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-highlight-sparse-tree-matches nil
org-enforce-todo-dependencies t
org-src-tab-acts-natively t
org-imenu-depth 4
org-startup-folded 'content
org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5]
#[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-babel-show-result-all append local] 5]
org-babel-result-hide-spec org-babel-hide-all-hashes toc-org-mode org-bullets-mode
visual-line-mode yas-minor-mode)
org-outline-path-complete-in-steps nil
org-archive-hook '(org-attach-archive-delete-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-startup-indented t
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
org-babel-pre-tangle-hook '(save-buffer)
org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
org-hide-emphasis-markers t
org-catch-invisible-edits 'smart
org-occur-hook '(org-first-headline-recenter)
org-indirect-buffer-display 'current-window
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
org-clock-persist-file "/Users/djm/.cache/emacs/var/org/clock-persist.el"
org-refile-allow-creating-parent-nodes 'confirm
org-id-locations-file "/Users/djm/.cache/emacs/var/org/id-locations.el"
org-confirm-shell-link-function 'yes-or-no-p
org-link-parameters '(("attachment" :follow org-attach-open-link :export org-attach-export-link :complete
org-attach-complete-link)
("id" :follow org-id-open) ("eww" :follow eww :store org-eww-store-link)
("rmail" :follow org-rmail-open :store org-rmail-store-link)
("mhe" :follow org-mhe-open :store org-mhe-store-link)
("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export)
("info" :follow org-info-open :export org-info-export :store org-info-store-link)
("gnus" :follow org-gnus-open :store org-gnus-store-link)
("docview" :follow org-docview-open :export org-docview-export :store
org-docview-store-link)
("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link
:store org-bbdb-store-link)
("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs")
("shell" :follow org-link--open-shell)
("news" :follow #[257 "\301\300\302Q!\207" ["news" browse-url ":"] 5 "\n\n(fn URL)"])
("mailto" :follow #[257 "\301\300\302Q!\207" ["mailto" browse-url ":"] 5 "\n\n(fn URL)"])
("https" :follow #[257 "\301\300\302Q!\207" ["https" browse-url ":"] 5 "\n\n(fn URL)"])
("http" :follow #[257 "\301\300\302Q!\207" ["http" browse-url ":"] 5 "\n\n(fn URL)"])
("ftp" :follow #[257 "\301\300\302Q!\207" ["ftp" browse-url ":"] 5 "\n\n(fn URL)"])
("help" :follow org-link--open-help) ("file" :complete org-link-complete-file)
("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi))
org-link-translation-function 'toc-org-unhrefify
org-link-elisp-confirm-function 'yes-or-no-p
org-src-window-setup 'current-window
org-confirm-babel-evaluate nil
)
[-- Attachment #2: Type: text/html, Size: 6332 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug: Cursor Disapears in Org-Src Blocks in Indent Mode [9.2.6 (release_9.2.6-559-ga01a8f @ /Users/djm/.emacs.d/straight/build/org/)]
2019-11-08 17:41 ` Bug: Cursor Disapears in Org-Src Blocks in Indent Mode [9.2.6 (release_9.2.6-559-ga01a8f @ /Users/djm/.emacs.d/straight/build/org/)] Dylan McDowell
@ 2019-11-10 11:23 ` Fraga, Eric
0 siblings, 0 replies; 2+ messages in thread
From: Fraga, Eric @ 2019-11-10 11:23 UTC (permalink / raw)
To: Dylan McDowell; +Cc: emacs-orgmode@gnu.org
On Friday, 8 Nov 2019 at 10:41, Dylan McDowell wrote:
> Expected Behavior: My cursor is always visible throughout my entire
> org-document
>
> Actual Behavior: When moving through org-src blocks, my cursor is
> visible until I move it to the end of the line. Then my cursor disapears
> and only shows up when the cursor is placed in the middle of the line.
I imagine this is a bug in Emacs, not org, one that people are currently
trying to track down. See the emacs developers mailing list. The
problem has to do with faces that have the :extend attribute set and
especially those with a different background.
On the developers list, they are looking for an easily reproducible
example starting from emacs -Q, by the way...
--
Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-10 11:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <73e6babc-3469-480c-a9ac-eb92a1f1dcd2@Spark>
2019-11-08 17:41 ` Bug: Cursor Disapears in Org-Src Blocks in Indent Mode [9.2.6 (release_9.2.6-559-ga01a8f @ /Users/djm/.emacs.d/straight/build/org/)] Dylan McDowell
2019-11-10 11:23 ` Fraga, Eric
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.