emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-link-minor-mode broken with File mode specification error: (error org-link is not a valid folding spec)
Date: Tue, 13 Jun 2023 16:30:48 -0700	[thread overview]
Message-ID: <CAJcAo8vBmCfPMK=Wh6-UZ2yLNq9uA9msrBBHKReYV6ogBE3WTg@mail.gmail.com> (raw)

just a note that org-link-minor-mode produces this error upon e.g.
find-file on a bash file, presumably due to org links in it: File mode
specification error: (error org-link is not a valid folding spec)

my version is url = https://github.com/swhahn/org-link-minor-mode and
it is up to date.

does anybody know of a good replacement, different version, etc.?

ime it's a highly useful package.  it highlights and activates org
links and timestamps, but perhaps embark or a dedicated package has
superseded it?  (then i'd have to figure out embark,  which is
currently inscrutable.]

i know of hyperbole, but it doesn't seem to be quite for me.  it feels
a bit heavyweight, or so.  just me though.

here is the bt for the error.

Debugger entered--Lisp error: (error "org-link is not a valid folding spec")
  signal(error ("org-link is not a valid folding spec"))
  error("%s is not a valid folding spec" org-link)
  org-fold-core-set-folding-spec-property(org-link :visible nil)
  org-link-descriptive-ensure()
  org-toggle-link-display()
  org-link-minor-mode()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook sh-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook
sh-mode-hook))
  run-mode-hooks(sh-mode-hook)
  sh-mode()
  set-auto-mode-0(sh-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  ...

thanks.  [i just upgraded to current bugfix on 27.1 so that i won't
hit showstopper bugs later etc.  amazing: non-luddite.]

-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com


             reply	other threads:[~2023-06-13 23:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-13 23:30 Samuel Wales [this message]
2023-06-14  0:12 ` org-link-minor-mode broken with File mode specification error: (error org-link is not a valid folding spec) Samuel Wales
2023-06-14 12:34 ` 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='CAJcAo8vBmCfPMK=Wh6-UZ2yLNq9uA9msrBBHKReYV6ogBE3WTg@mail.gmail.com' \
    --to=samologist@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).