emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Denton <wtd@pobox.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Folded headlines with text showing where it shouldn't
Date: Tue, 12 Jul 2022 00:25:17 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2207120015490.34602@shell3.miskatonic.org> (raw)
In-Reply-To: <87pmjqcl7q.fsf@localhost>

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	other threads:[~2022-07-12  4:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-31  1:52 Folded headlines with text showing where it shouldn't William Denton
2022-05-31  5:18 ` Ihor Radchenko
2022-06-02 21:32   ` William Denton
2022-06-03  6:30     ` Ihor Radchenko
2022-07-12  4:25       ` William Denton [this message]
2022-07-12  5:58         ` Ihor Radchenko

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=alpine.DEB.2.22.394.2207120015490.34602@shell3.miskatonic.org \
    --to=wtd@pobox.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    /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).