emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Folded headlines with text showing where it shouldn't


From: William Denton
Subject: Re: Folded headlines with text showing where it shouldn't
Date: Tue, 12 Jul 2022 00:25:17 -0400 (EDT)
User-agent: Alpine 2.22 (DEB 394 2020-01-19)

On 3 June 2022, Ihor Radchenko wrote:

William Denton <wtd@pobox.com> writes:

For me, this looks like either a mixed installation (please post the
output of M-x org-version) or some third-party package misbehaving.

M-x org-version says:

Org mode version 9.5.3 (release_9.5.3-511-g8e69ad @ 
/usr/local/src/org-mode/lisp/)

Is /usr/local/src/org-mode/lisp/ the folder where you installed the
latest Org version? (If not, this is likely the problem or part of the
problem).

First of all, thanks for following up on this---I'm slow to respond, but appreciate your help in narrowing this down. The problem's been happening again, and tonight I can follow up with some details.

That directory is where I installed Org. It's where I pull down the source tree with Git.

Usually, the problem you are seeing is when something is interfering
with 'invisible text property of links/other folded text.

Can you post the value of org-link-parameters on your system?

This is a new variable to me! I've never done anything with it, but it's got a lot in it.

Value:
(("attachment" :follow org-attach-follow :complete org-attach-complete-link)
 ("eww" :follow org-eww-open :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)
 ("doi" :follow org-link-doi-open :export org-link-doi-export)
 ("id" :follow org-id-open)
 ("file+sys")
 ("file+emacs")
 ("shell" :follow org-link--open-shell)
 (#1="news" :follow #f(compiled-function
                       (url arg)
                       #<bytecode 0x1c1aa6da4fa92ba8>))
 (#3="mailto" :follow #f(compiled-function
                         (url arg)
                         #<bytecode 0x1c1ab340674adba8>))
 (#6="https" :follow #f(compiled-function
                        (url arg)
                        #<bytecode 0x1c1aa589ba5aeba8>))
 (#7="http" :follow #f(compiled-function
                       (url arg)
                       #<bytecode 0x1c1aa6d80c405ba8>))
 (#8="ftp" :follow #f(compiled-function
                      (url arg)
                      #<bytecode 0x1c1aa6d169685ba8>))
 ("help" :follow org-link--open-help :store org-link--store-help)
 ("file" :complete org-link-complete-file)
 ("elisp" :follow org-link--open-elisp))
Original value was nil

You may also put the cursor onto unexpectedly visible link and check the
output of M-x describe-text-properties. Then, put the cursor right after
the link and run M-x describe-text-properties again. Then, share the
output.

Here's a screenshot of the problem I get:

https://www.miskatonic.org/tmp/org-problem.png

And here's the output of describe-text-properties when the pointer is in the link that shouldn't be there:

Text content at position 56157:

There are 3 overlays here:
 From 55909 to 56345
  face                 hl-line
  priority             -50
  window               #<window 9 on reading-diary.org>
 From 56149 to 56170
  evaporate            t
  invisible            org-link
  isearch-open-invisible delete-overlay
  org-invisible        org-link
  priority             1
 From 56151 to 56168
  evaporate            t
  invisible            org-link-description
  isearch-open-invisible ignore
  isearch-open-invisible-temporary ignore
  org-invisible        org-link-description
  priority             2


There are text properties here:
  face                 org-link
  font-lock-multiline  t
  fontified            t
  help-echo            "LINK: fig_rereading_pct"
  htmlize-link         (:uri "fig_rereading_pct")
  isearch-open-invisible org-fold-core--isearch-show
  isearch-open-invisible-temporary org-fold-core--isearch-show-temporary
  keymap               [Show]
  line-prefix          [Show]
  mouse-face           highlight
  org-fold--spec-org-fold-outline--876068932062118346 org-fold-outline
  org-fold--spec-org-link-description-global org-link-description
  org-fold--spec-org-link-global org-link
  wrap-prefix          [Show]

If you don't have time to dig into the problem, you can also set
org-fold-core-style to 'overlays in your config to activate legacy
folding support. It will most likely solve the immediate issue on your
side and let you work on more pressing things involving your Org
workflow.

I've changed this (which was also mentioned in another thread yesterday) and will try it out for a while to see if that makes a difference.

Thanks again,

Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada



reply via email to

[Prev in Thread] Current Thread [Next in Thread]