rougier / svg-tag-mode

A minor mode for Emacs that replace keywords with nice SVG labels
GNU General Public License v3.0
496 stars 28 forks source link

Freezing with logos narrowing #62

Closed pseudomyne closed 3 months ago

pseudomyne commented 3 months ago

Hi, Thank you for your wonderful packages 💘 When I logos-narrow-dwim using logos with svg-tags in org-mode headlines, I get this freezing error (from the debugger) :

Debugger entered--Lisp error: (args-out-of-range 11821)
  next-single-char-property-change(11821 cursor-sensor-functions nil 12070)
  #f(compiled-function (start end f) "Non-nil if F is missing somewhere between START and END." #<bytecode -0x1d517e45f5092da2>)(11821 12070 svg-tag--cursor-function)
  cursor-sensor--detect(#<window 3 on EMACS.org>)
  run-hook-with-args(cursor-sensor--detect #<window 3 on EMACS.org>)
  redisplay--pre-redisplay-functions(nil)
  redisplay_internal\ \(C\ function\)()

(I posted a similar issue in the logos issues section and deleted the one I posted in svg-lib). Any idea how to survive with this ? thank you.

pseudomyne commented 3 months ago

Seems I've found a workaround : place my svg-tags after at the end of the headline, not at the beginning.