emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-link-minor-mode broken with File mode specification error: (error org-link is not a valid folding spec)
@ 2023-06-13 23:30 Samuel Wales
  2023-06-14  0:12 ` Samuel Wales
  2023-06-14 12:34 ` Ihor Radchenko
  0 siblings, 2 replies; 3+ messages in thread
From: Samuel Wales @ 2023-06-13 23:30 UTC (permalink / raw)
  To: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-14 12:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-13 23:30 org-link-minor-mode broken with File mode specification error: (error org-link is not a valid folding spec) Samuel Wales
2023-06-14  0:12 ` Samuel Wales
2023-06-14 12:34 ` Ihor Radchenko

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).