emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dylan McDowell <dylan.mcdowell226@gmail.com>
To: emacs-orgmode@gnu.org
Subject: 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/)]
Date: Fri, 8 Nov 2019 10:41:40 -0700	[thread overview]
Message-ID: <f3a08edf-6723-4f5c-a60e-67887ded988e@Spark> (raw)
In-Reply-To: <73e6babc-3469-480c-a9ac-eb92a1f1dcd2@Spark>

[-- 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 --]

       reply	other threads:[~2019-11-08 17:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <73e6babc-3469-480c-a9ac-eb92a1f1dcd2@Spark>
2019-11-08 17:41 ` Dylan McDowell [this message]
2019-11-10 11:23   ` 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/)] Fraga, Eric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f3a08edf-6723-4f5c-a60e-67887ded988e@Spark \
    --to=dylan.mcdowell226@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).