unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer
@ 2024-02-18 21:08 StrawberryTea
  2024-02-19 12:27 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: StrawberryTea @ 2024-02-18 21:08 UTC (permalink / raw)
  To: 69259

[-- Attachment #1: Type: text/plain, Size: 39207 bytes --]

Hi. So I noticed that sometimes magit-section-post-command-hook was giving an
ars-out-of-range error and I have narrowed it down to a C function in Emacs:

Debugger entered--Lisp error: (args-out-of-range 9482 9482)
cursor-sensor--intangible-p(9483)
cursor-sensor-tangible-pos(9483 #<window 3 on magit: emacs>)
cursor-sensor-move-to-tangible(#<window 3 on magit: emacs>)
#<subr magit-section-post-command-hook>()
apply(#<subr magit-section-post-command-hook> nil)
(condition-case err (apply func args) ((debug error) (signal (car err) (cdr err))))
cae-debug-reraise-error(#<subr magit-section-post-command-hook>)
apply(cae-debug-reraise-error #<subr magit-section-post-command-hook> nil)
magit-section-post-command-hook()

Within cursor-sensor--intangible-p, (get-pos-property 9483 'cursor-intangible)
is giving that error in the Magit buffer even though that 9483 number is less
than (point-max).


In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version
 1.18.0) of 2024-02-17 built on localhost
Repository revision: 20997aa20728a6fc2a3de736e9fc718b97dcef99
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101011
System Description: Gentoo Linux

Configured using:
 'configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
 --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share
 --disable-silent-rules --docdir=/usr/share/doc/emacs-30.0.9999
 --htmldir=/usr/share/doc/emacs-30.0.9999/html --libdir=/usr/lib64
 --program-suffix=-emacs-30-vcs --includedir=/usr/include/emacs-30-vcs
 --infodir=/usr/share/info/emacs-30-vcs --localstatedir=/var
 --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp
 --without-compress-install --without-hesiod --without-pop
 --with-file-notification=inotify --with-pdumper --enable-acl --enable-xattr
 --with-dbus --with-modules --with-gameuser=:gamestat --with-libgmp --with-gpm
 --with-native-compilation=aot --with-json --without-kerberos
 --without-kerberos5 --with-lcms2 --with-xml2 --with-mailutils --without-selinux
 --with-sqlite3 --with-gnutls --with-libsystemd --with-threads
 --with-tree-sitter --without-wide-int --with-sound=oss --with-zlib --with-x
 --without-pgtk --without-ns --without-gconf --without-gsettings
 --without-toolkit-scroll-bars --with-xpm --with-xft --with-cairo
 --with-harfbuzz --with-libotf --with-m17n-flt --with-x-toolkit=lucid
 --with-xaw3d --with-gif --with-jpeg --with-png --with-rsvg --with-tiff
 --with-webp --with-imagemagick --with-dumping=pdumper 'CFLAGS=-march=native
 -Ofast -fno-stack-protector -fno-finite-math-only -pipe -fno-lto -Wno-error=odr
 -Wno-error=lto-type-mismatch -Wno-error=strict-aliasing'
 'LDFLAGS=-Wl,--as-needed -Wl,-Ofast -Wl,--sort-common''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ IMAGEMAGICK JPEG JSON
LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XAW3D
XDBE XIM XINPUT2 XPM LUCID ZLIB

Important settings:
  value of $LANG: C.utf8
  locale-coding-system: utf-8-unix

Major mode: mu4e:main

Minor modes in effect:
  isearch-mb-mode: t
  dap-tooltip-mode: t
  dap-ui-mode: t
  treemacs-filewatch-mode: t
  treemacs-git-mode: t
  treemacs-fringe-indicator-mode: t
  dap-mode: t
  diff-hl-flydiff-mode: t
  pomm-mode-line-mode: t
  midnight-mode: t
  pdf-occur-global-minor-mode: t
  org-ai-global-mode: t
  org-msg-mode: t
  mu4e-search-minor-mode: t
  mu4e-update-minor-mode: t
  mu4e-context-minor-mode: t
  mu4e-modeline-mode: t
  eat-eshell-visual-command-mode: t
  eat-eshell-mode: t
  abridge-diff-mode: t
  winum-mode: t
  async-bytecomp-package-mode: t
  delete-selection-mode: t
  org-roam-db-autosync-mode: t
  eros-mode: t
  save-place-mode: t
  global-so-long-mode: t
  envrc-global-mode: t
  envrc-mode: t
  magit-wip-initial-backup-mode: t
  magit-wip-before-change-mode: t
  magit-wip-after-apply-mode: t
  magit-wip-after-save-mode: t
  magit-wip-mode: t
  global-git-commit-mode: t
  beacon-mode: t
  wakatime-ui-mode: t
  global-wakatime-mode: t
  wakatime-mode: t
  which-key-mode: t
  better-jumper-mode: t
  better-jumper-local-mode: t
  vertico-multiform-mode: t
  vertico-mouse-mode: t
  vertico-mode: t
  nerd-icons-completion-mode: t
  marginalia-mode: t
  corfu-history-mode: t
  corfu-popupinfo-mode: t
  evil-goggles-mode: t
  evil-snipe-override-mode: t
  evil-snipe-mode: t
  evil-owl-mode: t
  repeat-mode: t
  restore-point-mode: t
  kill-ring-deindent-mode: t
  aas-global-mode: t
  aas-mode: t
  beginend-global-mode: t
  auto-sudoedit-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  savehist-mode: t
  recentf-mode: t
  global-corfu-mode: t
  corfu-mode: t
  gcmh-mode: t
  winner-mode: t
  smartparens-global-mode: t
  projectile-mode: t
  undo-fu-session-global-mode: t
  undo-fu-mode: t
  global-flycheck-mode: t
  fancy-compilation-mode: t
  ws-butler-global-mode: t
  editorconfig-mode: t
  global-yank-indent-mode: t
  exwm-mff-mode: t
  persp-mode: t
  minions-mode: t
  mlscroll-mode: t
  server-mode: t
  evil-mode: t
  evil-local-mode: t
  +popup-mode: t
  override-global-mode: t
  general-override-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  window-divider-mode: t
  undelete-frame-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  abbrev-mode: t

Load-path shadows:
/home/st/.config/emacs/.local/straight/build-30.0.50/ivy/elpa hides /home/st/.config/emacs/.local/straight/build-30.0.50/lispy/elpa
/home/st/.config/emacs/.local/straight/build-30.0.50/ef-themes/theme-loaddefs hides /home/st/.config/emacs/.local/straight/build-30.0.50/standard-themes/theme-loaddefs
/home/st/.config/emacs/.local/straight/build-30.0.50/ef-themes/theme-loaddefs hides /home/st/.config/emacs/.local/straight/build-30.0.50/modus-themes/theme-loaddefs
/home/st/.config/emacs/.local/straight/build-30.0.50/cmake-mode/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs/site-lisp/ratpoison hides /usr/share/emacs/site-lisp/ratpoison/ratpoison
/home/st/.config/emacs/.local/straight/build-30.0.50/bind-key/bind-key hides /usr/share/emacs/30.0.50/lisp/bind-key
/home/st/.config/emacs/.local/straight/build-30.0.50/jsonrpc/jsonrpc hides /usr/share/emacs/30.0.50/lisp/jsonrpc
/home/st/.config/emacs/.local/straight/build-30.0.50/ef-themes/theme-loaddefs hides /usr/share/emacs/30.0.50/lisp/theme-loaddefs
/home/st/.config/emacs/.local/straight/build-30.0.50/transient/transient hides /usr/share/emacs/30.0.50/lisp/transient
/home/st/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-bind-key hides /usr/share/emacs/30.0.50/lisp/use-package/use-package-bind-key
/home/st/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-core hides /usr/share/emacs/30.0.50/lisp/use-package/use-package-core
/home/st/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-delight hides /usr/share/emacs/30.0.50/lisp/use-package/use-package-delight
/home/st/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-diminish hides /usr/share/emacs/30.0.50/lisp/use-package/use-package-diminish
/home/st/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-ensure hides /usr/share/emacs/30.0.50/lisp/use-package/use-package-ensure
/home/st/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-jump hides /usr/share/emacs/30.0.50/lisp/use-package/use-package-jump
/home/st/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-lint hides /usr/share/emacs/30.0.50/lisp/use-package/use-package-lint
/home/st/.config/emacs/.local/straight/build-30.0.50/use-package/use-package hides /usr/share/emacs/30.0.50/lisp/use-package/use-package
/home/st/.config/emacs/.local/straight/build-30.0.50/project/project hides /usr/share/emacs/30.0.50/lisp/progmodes/project
/home/st/.config/emacs/.local/straight/build-30.0.50/xref/xref hides /usr/share/emacs/30.0.50/lisp/progmodes/xref
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-C hides /usr/share/emacs/30.0.50/lisp/org/ob-C
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-awk hides /usr/share/emacs/30.0.50/lisp/org/ob-awk
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-calc hides /usr/share/emacs/30.0.50/lisp/org/ob-calc
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-clojure hides /usr/share/emacs/30.0.50/lisp/org/ob-clojure
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-core hides /usr/share/emacs/30.0.50/lisp/org/ob-core
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-ditaa hides /usr/share/emacs/30.0.50/lisp/org/ob-ditaa
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-dot hides /usr/share/emacs/30.0.50/lisp/org/ob-dot
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-emacs-lisp hides /usr/share/emacs/30.0.50/lisp/org/ob-emacs-lisp
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-eshell hides /usr/share/emacs/30.0.50/lisp/org/ob-eshell
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-exp hides /usr/share/emacs/30.0.50/lisp/org/ob-exp
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-forth hides /usr/share/emacs/30.0.50/lisp/org/ob-forth
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-gnuplot hides /usr/share/emacs/30.0.50/lisp/org/ob-gnuplot
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-haskell hides /usr/share/emacs/30.0.50/lisp/org/ob-haskell
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-julia hides /usr/share/emacs/30.0.50/lisp/org/ob-julia
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-lilypond hides /usr/share/emacs/30.0.50/lisp/org/ob-lilypond
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-lisp hides /usr/share/emacs/30.0.50/lisp/org/ob-lisp
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-lob hides /usr/share/emacs/30.0.50/lisp/org/ob-lob
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-makefile hides /usr/share/emacs/30.0.50/lisp/org/ob-makefile
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-octave hides /usr/share/emacs/30.0.50/lisp/org/ob-octave
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-perl hides /usr/share/emacs/30.0.50/lisp/org/ob-perl
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-plantuml hides /usr/share/emacs/30.0.50/lisp/org/ob-plantuml
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-processing hides /usr/share/emacs/30.0.50/lisp/org/ob-processing
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-python hides /usr/share/emacs/30.0.50/lisp/org/ob-python
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-ref hides /usr/share/emacs/30.0.50/lisp/org/ob-ref
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-ruby hides /usr/share/emacs/30.0.50/lisp/org/ob-ruby
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-R hides /usr/share/emacs/30.0.50/lisp/org/ob-R
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-comint hides /usr/share/emacs/30.0.50/lisp/org/ob-comint
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-css hides /usr/share/emacs/30.0.50/lisp/org/ob-css
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-eval hides /usr/share/emacs/30.0.50/lisp/org/ob-eval
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-fortran hides /usr/share/emacs/30.0.50/lisp/org/ob-fortran
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-groovy hides /usr/share/emacs/30.0.50/lisp/org/ob-groovy
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-java hides /usr/share/emacs/30.0.50/lisp/org/ob-java
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-latex hides /usr/share/emacs/30.0.50/lisp/org/ob-latex
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-lua hides /usr/share/emacs/30.0.50/lisp/org/ob-lua
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-matlab hides /usr/share/emacs/30.0.50/lisp/org/ob-matlab
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-maxima hides /usr/share/emacs/30.0.50/lisp/org/ob-maxima
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-ocaml hides /usr/share/emacs/30.0.50/lisp/org/ob-ocaml
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-org hides /usr/share/emacs/30.0.50/lisp/org/ob-org
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-js hides /usr/share/emacs/30.0.50/lisp/org/ob-js
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-sass hides /usr/share/emacs/30.0.50/lisp/org/ob-sass
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-scheme hides /usr/share/emacs/30.0.50/lisp/org/ob-scheme
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-screen hides /usr/share/emacs/30.0.50/lisp/org/ob-screen
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-sed hides /usr/share/emacs/30.0.50/lisp/org/ob-sed
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-shell hides /usr/share/emacs/30.0.50/lisp/org/ob-shell
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-sql hides /usr/share/emacs/30.0.50/lisp/org/ob-sql
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-sqlite hides /usr/share/emacs/30.0.50/lisp/org/ob-sqlite
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-table hides /usr/share/emacs/30.0.50/lisp/org/ob-table
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob-tangle hides /usr/share/emacs/30.0.50/lisp/org/ob-tangle
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ob hides /usr/share/emacs/30.0.50/lisp/org/ob
/home/st/.config/emacs/.local/straight/build-30.0.50/org/oc-basic hides /usr/share/emacs/30.0.50/lisp/org/oc-basic
/home/st/.config/emacs/.local/straight/build-30.0.50/org/oc-biblatex hides /usr/share/emacs/30.0.50/lisp/org/oc-biblatex
/home/st/.config/emacs/.local/straight/build-30.0.50/org/oc-bibtex hides /usr/share/emacs/30.0.50/lisp/org/oc-bibtex
/home/st/.config/emacs/.local/straight/build-30.0.50/org/oc-csl hides /usr/share/emacs/30.0.50/lisp/org/oc-csl
/home/st/.config/emacs/.local/straight/build-30.0.50/org/oc-natbib hides /usr/share/emacs/30.0.50/lisp/org/oc-natbib
/home/st/.config/emacs/.local/straight/build-30.0.50/org/oc hides /usr/share/emacs/30.0.50/lisp/org/oc
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-bbdb hides /usr/share/emacs/30.0.50/lisp/org/ol-bbdb
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-bibtex hides /usr/share/emacs/30.0.50/lisp/org/ol-bibtex
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-docview hides /usr/share/emacs/30.0.50/lisp/org/ol-docview
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-doi hides /usr/share/emacs/30.0.50/lisp/org/ol-doi
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-eshell hides /usr/share/emacs/30.0.50/lisp/org/ol-eshell
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-eww hides /usr/share/emacs/30.0.50/lisp/org/ol-eww
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-gnus hides /usr/share/emacs/30.0.50/lisp/org/ol-gnus
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-info hides /usr/share/emacs/30.0.50/lisp/org/ol-info
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-irc hides /usr/share/emacs/30.0.50/lisp/org/ol-irc
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-man hides /usr/share/emacs/30.0.50/lisp/org/ol-man
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-mhe hides /usr/share/emacs/30.0.50/lisp/org/ol-mhe
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-rmail hides /usr/share/emacs/30.0.50/lisp/org/ol-rmail
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol-w3m hides /usr/share/emacs/30.0.50/lisp/org/ol-w3m
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ol hides /usr/share/emacs/30.0.50/lisp/org/ol
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-agenda hides /usr/share/emacs/30.0.50/lisp/org/org-agenda
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-archive hides /usr/share/emacs/30.0.50/lisp/org/org-archive
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-attach-git hides /usr/share/emacs/30.0.50/lisp/org/org-attach-git
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-attach hides /usr/share/emacs/30.0.50/lisp/org/org-attach
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-capture hides /usr/share/emacs/30.0.50/lisp/org/org-capture
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-clock hides /usr/share/emacs/30.0.50/lisp/org/org-clock
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-colview hides /usr/share/emacs/30.0.50/lisp/org/org-colview
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-compat hides /usr/share/emacs/30.0.50/lisp/org/org-compat
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-crypt hides /usr/share/emacs/30.0.50/lisp/org/org-crypt
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-ctags hides /usr/share/emacs/30.0.50/lisp/org/org-ctags
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-cycle hides /usr/share/emacs/30.0.50/lisp/org/org-cycle
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-datetree hides /usr/share/emacs/30.0.50/lisp/org/org-datetree
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-duration hides /usr/share/emacs/30.0.50/lisp/org/org-duration
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-element hides /usr/share/emacs/30.0.50/lisp/org/org-element
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-entities hides /usr/share/emacs/30.0.50/lisp/org/org-entities
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-faces hides /usr/share/emacs/30.0.50/lisp/org/org-faces
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-feed hides /usr/share/emacs/30.0.50/lisp/org/org-feed
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-fold-core hides /usr/share/emacs/30.0.50/lisp/org/org-fold-core
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-fold hides /usr/share/emacs/30.0.50/lisp/org/org-fold
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-footnote hides /usr/share/emacs/30.0.50/lisp/org/org-footnote
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-goto hides /usr/share/emacs/30.0.50/lisp/org/org-goto
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-habit hides /usr/share/emacs/30.0.50/lisp/org/org-habit
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-id hides /usr/share/emacs/30.0.50/lisp/org/org-id
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-indent hides /usr/share/emacs/30.0.50/lisp/org/org-indent
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-inlinetask hides /usr/share/emacs/30.0.50/lisp/org/org-inlinetask
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-keys hides /usr/share/emacs/30.0.50/lisp/org/org-keys
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-lint hides /usr/share/emacs/30.0.50/lisp/org/org-lint
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-list hides /usr/share/emacs/30.0.50/lisp/org/org-list
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-macro hides /usr/share/emacs/30.0.50/lisp/org/org-macro
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-macs hides /usr/share/emacs/30.0.50/lisp/org/org-macs
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-mobile hides /usr/share/emacs/30.0.50/lisp/org/org-mobile
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-mouse hides /usr/share/emacs/30.0.50/lisp/org/org-mouse
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-num hides /usr/share/emacs/30.0.50/lisp/org/org-num
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-pcomplete hides /usr/share/emacs/30.0.50/lisp/org/org-pcomplete
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-persist hides /usr/share/emacs/30.0.50/lisp/org/org-persist
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-plot hides /usr/share/emacs/30.0.50/lisp/org/org-plot
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-protocol hides /usr/share/emacs/30.0.50/lisp/org/org-protocol
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-refile hides /usr/share/emacs/30.0.50/lisp/org/org-refile
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-src hides /usr/share/emacs/30.0.50/lisp/org/org-src
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-table hides /usr/share/emacs/30.0.50/lisp/org/org-table
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-tempo hides /usr/share/emacs/30.0.50/lisp/org/org-tempo
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-timer hides /usr/share/emacs/30.0.50/lisp/org/org-timer
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-version hides /usr/share/emacs/30.0.50/lisp/org/org-version
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org hides /usr/share/emacs/30.0.50/lisp/org/org
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox-ascii hides /usr/share/emacs/30.0.50/lisp/org/ox-ascii
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox-beamer hides /usr/share/emacs/30.0.50/lisp/org/ox-beamer
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox-html hides /usr/share/emacs/30.0.50/lisp/org/ox-html
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox-icalendar hides /usr/share/emacs/30.0.50/lisp/org/ox-icalendar
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox-koma-letter hides /usr/share/emacs/30.0.50/lisp/org/ox-koma-letter
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox-latex hides /usr/share/emacs/30.0.50/lisp/org/ox-latex
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox-man hides /usr/share/emacs/30.0.50/lisp/org/ox-man
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox-md hides /usr/share/emacs/30.0.50/lisp/org/ox-md
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox-odt hides /usr/share/emacs/30.0.50/lisp/org/ox-odt
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox-org hides /usr/share/emacs/30.0.50/lisp/org/ox-org
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox-publish hides /usr/share/emacs/30.0.50/lisp/org/ox-publish
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox-texinfo hides /usr/share/emacs/30.0.50/lisp/org/ox-texinfo
/home/st/.config/emacs/.local/straight/build-30.0.50/org/ox hides /usr/share/emacs/30.0.50/lisp/org/ox
/home/st/.config/emacs/.local/straight/build-30.0.50/org/org-loaddefs hides /usr/share/emacs/30.0.50/lisp/org/org-loaddefs
/home/st/.config/emacs/.local/straight/build-30.0.50/soap-client/soap-client hides /usr/share/emacs/30.0.50/lisp/net/soap-client
/home/st/.config/emacs/.local/straight/build-30.0.50/soap-client/soap-inspect hides /usr/share/emacs/30.0.50/lisp/net/soap-inspect
/home/st/.config/emacs/.local/straight/build-30.0.50/compat/compat hides /usr/share/emacs/30.0.50/lisp/emacs-lisp/compat
/home/st/.config/emacs/.local/straight/build-30.0.50/eldoc/eldoc hides /usr/share/emacs/30.0.50/lisp/emacs-lisp/eldoc
/home/st/.config/emacs/.local/straight/build-30.0.50/seq/seq hides /usr/share/emacs/30.0.50/lisp/emacs-lisp/seq

Features:
(shadow char-fold cape-char evil-nerd-commenter evil-nerd-commenter-operator
evil-nerd-commenter-sdk smartparens-html html-mode-expansions sgml-mode facemenu
shortdoc vertico-buffer scrollkeeper emacsbug info-colors yasnippet-capf
misearch multi-isearch isearch-mb anzu elisp-def ert elisp-demos
evil-collection-helpful helpful cc-langs trace info-look evil-collection-info
info evil-collection-elisp-refs elisp-refs lsp-jq lsp-zig lsp-tilt lsp-steep
lsp-svelte lsp-sqls lsp-solidity lsp-ruby-syntax-tree lsp-ruby-lsp lsp-yaml
lsp-xml lsp-vimscript lsp-vhdl lsp-volar lsp-vetur lsp-html lsp-verilog lsp-vala
lsp-v lsp-typeprof lsp-ttcn3 lsp-toml lsp-terraform lsp-tex lsp-sorbet
lsp-solargraph lsp-semgrep lsp-rust lsp-rubocop lsp-rf lsp-ruff-lsp lsp-remark
lsp-racket lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-pls
lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml lsp-mojo lsp-magik lsp-nix
lsp-nim lsp-nginx lsp-move lsp-mint lsp-mdx lsp-marksman lsp-markdown lsp-lua
lsp-kotlin lsp-json lsp-javascript lsp-idris lsp-haxe lsp-groovy lsp-hack
lsp-graphql lsp-glsl lsp-gleam lsp-golangci-lint lsp-gdscript lsp-fsharp
lsp-fortran lsp-eslint lsp-erlang lsp-emmet lsp-elixir lsp-elm lsp-dockerfile
lsp-dhall lsp-d lsp-cypher lsp-css lsp-csharp lsp-crystal lsp-credo lsp-cmake
lsp-clojure lsp-clangd lsp-bufls lsp-go lsp-completion lsp-beancount lsp-bash
lsp-astro lsp-asm lsp-awk lsp-autotools lsp-ansible lsp-angular lsp-ada
lsp-semantic-tokens lsp-actionscript evil-textobj-tree-sitter
evil-textobj-tree-sitter-thing-at-point evil-textobj-tree-sitter-core
tree-sitter-langs tree-sitter-langs-build tree-sitter-hl tree-sitter
tree-sitter-load tree-sitter-cli tsc tsc-dyn tsc-dyn-get dired-aux tsc-obsolete
dap-mouse dap-ui lsp-treemacs lsp-treemacs-generic lsp-treemacs-themes
treemacs-treelib treemacs-magit treemacs-persp treemacs-projectile treemacs-evil
treemacs-nerd-icons treemacs treemacs-header-line treemacs-compatibility
treemacs-mode treemacs-bookmarks treemacs-tags treemacs-interface
treemacs-persistence treemacs-filewatch-mode treemacs-follow-mode
treemacs-rendering treemacs-annotations treemacs-async treemacs-workspaces
treemacs-dom treemacs-visuals treemacs-fringe-indicator treemacs-faces
treemacs-icons treemacs-scope treemacs-themes treemacs-core-utils pfuture
treemacs-logging treemacs-customization treemacs-macros gdb-mi gud bui bui-list
bui-info bui-entry bui-core bui-history bui-button bui-utils lsp-lens dap-mode
dap-tasks dap-launch lsp-docker dap-overlays lsp-mode lsp-protocol
network-stream macrostep-c cmacexp evil-collection-macrostep macrostep
smart-semicolon subword-mode-expansions cap-words superword subword
smartparens-c cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs flycheck-cask evil-collection-help
nerd-icons-corfu dabbrev cl-print vertico-directory evil-collection-indent
debbugs-gnu debbugs-compat tramp-cmds vc-backup vc-hg vc-svn diff-hl-flydiff
backline toc-org org-eldoc evil-org org-appear iscroll cdlatex
evil-collection-reftex reftex-toc reftex-cite reftex-ref reftex-parse reftex
reftex-loaddefs reftex-vars texmathp org-indent image-file image-converter
oc-basic ol-bibtex bibtex tramp-cache time-stamp evil-collection-debbugs debbugs
soap-client rng-xsd xsd-regexp pomm alert gntp evil-collection-leetcode leetcode
log4e spinner graphql mm-url password-generator lorem-ipsum zone-nyan esxml
zone-rainbow zone-matrix snow flames-of-freedom fireplace klondike dunnet
bubbles evil-collection-tetris tetris speed-type evil-collection-snake snake
gamegrid neato-graph-bar evil-collection-daemons daemons
evil-collection-disk-usage disk-usage pulseaudio-control evil-collection-trashed
trashed helm-rage helm-utils helm-linux-disks linux-disk helm-system-packages
midnight consult-gh pdf-occur evil-collection-tablist tablist tablist-filter
semantic/wisent/comp semantic/wisent semantic/wisent/wisent pdf-isearch pdf-misc
evil-collection-pdf pdf-history pdf-tools saveplace-pdf-view pdf-view pdf-cache
pdf-info pdf-util pdf-macs image-mode exif gnus-srvr chatgpt-shell shell-maker
goto-addr ielm greader evil-collection-view view greader-espeak whisper org-ai
org-ai-oobabooga websocket org-ai-sd org-ai-talk org-ai-on-project org-ai-useful
org-ai-openai-image org-ai-openai org-ai-block helm-emms helm-adaptive
emms-setup emms-mpris emms-librefm-stream emms-librefm-scrobbler
emms-playlist-limit emms-i18n emms-history emms-stream-info
emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon emms-browser
sort emms-volume emms-volume-sndioctl emms-volume-mixerctl emms-volume-pulse
emms-volume-amixer emms-playlist-sort emms-player-xine emms-player-mpd
emms-playing-time emms-lyrics emms-url emms-player-simple emms-streams
emms-show-all emms-tag-editor emms-tag-tracktag emms-mark emms-mode-line
emms-info-tinytag emms-info-metaflac emms-info-opusinfo emms-info-ogginfo
emms-info-mp3info emms-playlist-mode emms-source-playlist emms-source-file
locate emms-info-exiftool emms-info-native emms-info-native-spc
emms-info-native-mp3 emms-info-native-ogg emms-info-native-opus
emms-info-native-flac emms-info-native-vorbis bindat emms-last-played emms-score
emms-cache emms-info emms-later-do evil-collection-emms emms emms-compat somafm
request evil-collection-mpc mpc elfeed-tube-mpv mpv tq org-timer org-clock
elfeed-tube elfeed-tube-utils aio elfeed-org evil-collection-elfeed elfeed-show
elfeed-search elfeed-csv elfeed elfeed-curl elfeed-log elfeed-db elfeed-lib
url-queue xml-query empv iimage consult-flycheck evil-collection-consult consult
org-msg ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn
nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table
ox-ascii ox-publish ox htmlize gnus-icalendar icalendar diary-lib diary-loaddefs
gnus-dired evil-collection-mu4e mu4e mu4e-org mu4e-notification notifications
mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-draft mu4e-actions smtpmail
mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message flow-fill
mu4e-contacts mu4e-update mu4e-folders mu4e-context mu4e-query-items mu4e-server
mu4e-modeline mu4e-vars mu4e-helpers mu4e-window mu4e-obsolete
evil-collection-vterm vterm magit-bookmark evil-collection-bookmark bookmark
vterm-module em-rebind em-elecslash em-alias em-term em-script em-ls em-hist
em-glob em-extpipe em-cmpl em-basic em-banner em-smart em-tramp
eshell-did-you-mean esh-help evil-collection-man man em-unix eshell-z em-dirs
evil-collection-eshell em-prompt eshell esh-mode esh-var eat term/xterm xterm
evil-collection-term term ehelp theme-magic esh-cmd esh-ext esh-opt ewal
esh-proc esh-io esh-arg zone esh-module esh-groups org-agenda abridge-diff
evil-collection-magit-todos magit-todos code-review code-review-actions
code-review-comment code-review-section code-review-bitbucket code-review-faces
emojify evil-collection-apropos apropos evil-collection-tar-mode tar-mode
evil-collection-arc-mode arc-mode archive-mode ht code-review-gitlab
code-review-utils evil-collection-forge forge-list hl-line forge-commands
forge-semi forge-bitbucket buck forge-gogs gogs forge-gitea gtea forge-gitlab
glab forge-github forge-notify forge-revnote forge-pullreq forge-issue
forge-topic yaml bug-reference forge-post smartparens-markdown
evil-collection-markdown-mode markdown-mode edit-indirect forge-repo forge
forge-core forge-db code-review-parse-hunk code-review-github code-review-db
uuidgen calc-misc calc-ext calc calc-loaddefs calc-macs a code-review-interfaces
deferred ghub-graphql treepy gsexp ghub url-http url-gw nsm url-auth closql
magit-autoloads evil-collection-magit magit-submodule magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply winum face-remap mb-depth vertico-repeat hide-mode-line
tramp-archive tramp-gvfs helm-external helm-net helm-help helm
helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source
helm-multi-match helm-lib async mule-util evil-collection-vc-git vc-git
evil-collection-diff-hl diff-hl evil-collection-log-view log-view
evil-collection-vc-dir vc-dir ewoc vc vc-dispatcher auto-minor-mode disp-table
whitespace git-auto-commit-mode embrace lispyville hercules lispy delsel
lispy-inline avy etags fileloop evil-collection-xref xref evil-collection-edebug
edebug evil-collection-debug debug backtrace help-fns radix-tree lispy-tags
zoutline semantic/db semantic/util-modes semantic/util semantic semantic/tag
semantic/lex semantic/fw mode-local cedet evil-collection-ediff ediff ediff-merg
ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util iedit
iedit-lib the-org-mode-expansions evil-collection-org evil-collection-org-roam
org-roam-migrate org-roam-log org-roam-mode org-roam-capture org-roam-id
org-roam-node org-roam-db emacsql-sqlite-builtin sqlite org-roam-utils
org-roam-compat org-roam org-capture org-attach emacsql-sqlite
emacsql-sqlite-common emacsql emacsql-compiler smartparens-org org-yt
org-element org-persist org-id org-refile org-element-ast inline avl-tree
generator org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src
evil-collection-sh-script sh-script smie treesit executable ob-comint
org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp
org-table ol org-keys oc org-loaddefs evil-collection-calendar cal-menu calendar
cal-loaddefs eros nameless pcre2el rxt re-builder breadcrumb highlight-quoted
rainbow-delimiters outline-minor-faces noutline outline vi-tilde-fringe
highlight-numbers parent-mode display-line-numbers cape hl-todo
evil-collection-flymake flymake copilot copilot-balancer jsonrpc saveplace
evil-collection-so-long so-long envrc inheritenv magit-wip magit-log which-func
magit-diff smerge-mode diff evil-collection-diff-mode diff-mode git-commit
evil-collection-log-edit log-edit nice-citation gnus-cite spam spam-stat gnus-uu
yenc gnus-msg gnus-registry registry eieio-base gnus-art mm-uu mml2015 mm-view
mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom
gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail
mail-source utf7 nnoo gnus-spec gnus-win gnus-int gnus-range
evil-collection-gnus gnus nnheader range message sendmail yank-media puny
magit-core magit-autorevert magit-margin magit-transient magit-process
magit-mode transient magit-git magit-base evil-collection-magit-section
magit-section cursor-sensor crm beacon wakatime-ui wakatime-mode
evil-collection-which-key which-key better-jumper vertico-multiform
vertico-mouse evil-collection-vertico vertico orderless nerd-icons-completion
marginalia corfu-history corfu-popupinfo evil-goggles pulse color
evil-easymotion evil-snipe evil-owl repeat restore-point indent-aux aas
evil-collection-beginend beginend rfc822 mml mml-sec evil-collection-epa epa epg
rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils
mailheader pcvs-util add-log esh-util with-editor auto-sudoedit
evil-collection-dired dired dired-loaddefs tramp-sh f s tramp trampver
tramp-message doom-snippets doom-snippets-lib yasnippet eldoc-box
evil-collection-elisp-mode elisp-mode tramp-integration files-x savehist
tramp-compat xdg shell pcomplete parse-time iso8601 tramp-loaddefs recentf
evil-collection-corfu corfu tree-widget gcmh winner smartparens-config
smartparens-text smartparens loadhist projectile project evil-collection-grep
grep ibuffer-vc ibuf-ext evil-collection-ibuffer ibuffer ibuffer-loaddefs dash
undo-fu-session undo-fu flycheck-posframe posframe flycheck-package package-lint
evil-collection-imenu imenu evil-collection-finder finder finder-inf lisp-mnt
evil-collection-flycheck flycheck find-func jka-compr fancy-compilation
evil-collection-compile compile text-property-search evil-collection-comint
comint ansi-osc ws-butler editorconfig evil-collection-package-menu
evil-collection-custom cus-edit cus-start cus-load wid-edit evil-collection
annalist doom-packages ansi-color package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source password-cache json map
url-vars editorconfig-core editorconfig-core-handle editorconfig-fnmatch
yank-indent exwm-mff hydra lv autorevert filenotify time-date nerd-icons
nerd-icons-faces nerd-icons-data nerd-icons-data-mdicon nerd-icons-data-flicon
nerd-icons-data-codicon nerd-icons-data-devicon nerd-icons-data-sucicon
nerd-icons-data-wicon nerd-icons-data-faicon nerd-icons-data-powerline
nerd-icons-data-octicon nerd-icons-data-pomicon nerd-icons-data-ipsicon
persp-mode minions compat dtrt-indent modus-vivendi-tinted-theme modus-themes
define-repeat-map expand-region-improved expand-region text-mode-expansions
er-basic-expansions expand-region-core expand-region-custom mlscroll
exwm-firefox-evil exwm-firefox-core exwm-evil exwm-evil-core exwm-config ido
exwm-systemtray xcb-systemtray xcb-xembed exwm-randr xcb-randr exwm exwm-input
xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout
exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types xcb-debug
eieio eieio-core server mu4e-config html2text smartparens-lua let-alist ob-core
org-cycle org-fold org-fold-core org-compat ob-eval org-version org-macs
format-spec ibuf-macs evil evil-integration evil-maps evil-commands reveal
evil-jumps evil-command-window evil-types evil-search evil-macros evil-repeat
evil-states evil-core advice evil-common thingatpt rect evil-vars ring derived
edmacro kmacro byte-opt use-package-bind-key bind-key easy-mmode comp comp-cstr
warnings icons comp-run comp-common doom-editor doom-projects doom-ui
doom-keybinds pp cl-extra help-mode use-package-core bytecomp byte-compile
general realgud-recursive-autoloads tex-site rx site-gentoo doom-start :system
doom-modules cl-seq doom doom-lib cl-macs cl-loaddefs cl-lib gv harfbuzz jansson
dynamic-modules pcase subr-x rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register page
tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse
jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese composite
emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev
obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face
macroexp files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote threads
dbusbind inotify lcms2 dynamic-setting font-render-setting cairo x-toolkit
xinput2 x multi-tty move-toolbar make-network-process native-compile emacs)

Memory information:
((conses 16 2893472 2149878) (symbols 48 149621 1119) (strings 32 481336 151467)
 (string-bytes 1 17397680) (vectors 16 184909) (vector-slots 8 3027619 841597)
 (floats 8 2960 17081) (intervals 56 37317 4067) (buffers 984 58))

[-- Attachment #2.1.1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2.1.2: Type: text/html, Size: 669 bytes --]

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

* bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer
  2024-02-18 21:08 bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer StrawberryTea
@ 2024-02-19 12:27 ` Eli Zaretskii
  2024-02-20 15:42   ` StrawberryTea
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2024-02-19 12:27 UTC (permalink / raw)
  To: StrawberryTea; +Cc: 69259

> From: StrawberryTea <look@strawberrytea.xyz>
> Date: Sun, 18 Feb 2024 15:08:20 -0600
> 
> Hi. So I noticed that sometimes magit-section-post-command-hook was giving an
> ars-out-of-range error and I have narrowed it down to a C function in Emacs:
> 
> Debugger entered--Lisp error: (args-out-of-range 9482 9482)
> cursor-sensor--intangible-p(9483)
> cursor-sensor-tangible-pos(9483 #<window 3 on magit: emacs>)
> cursor-sensor-move-to-tangible(#<window 3 on magit: emacs>)
> #<subr magit-section-post-command-hook>()
> apply(#<subr magit-section-post-command-hook> nil)
> (condition-case err (apply func args) ((debug error) (signal (car err) (cdr err))))
> cae-debug-reraise-error(#<subr magit-section-post-command-hook>)
> apply(cae-debug-reraise-error #<subr magit-section-post-command-hook> nil)
> magit-section-post-command-hook()
> 
> Within cursor-sensor--intangible-p, (get-pos-property 9483 'cursor-intangible)
> is giving that error in the Magit buffer even though that 9483 number is less
> than (point-max).

Can you show a recipe to reproduce this, preferably without using
Magit?

I suspect some code narrows the buffer while this code runs, which is
why the error is signaled.





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

* bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer
  2024-02-19 12:27 ` Eli Zaretskii
@ 2024-02-20 15:42   ` StrawberryTea
  2024-02-21 12:31     ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: StrawberryTea @ 2024-02-20 15:42 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 69259

[-- Attachment #1: Type: text/plain, Size: 2345 bytes --]

Hi Eli. I inserted a print function into magit-post-command-hook:

(defadvice! cae-magit-section-post-command-hook-a (oldfun)
  :around #’magit-section-post-command-hook
  (condition-case e
      (funcall oldfun)
    (error
     (+log “magit-post-command-hook error:”
           (current-buffer) (selected-window) (buffer-narrowed-p) (point-min)
  (point-max) (buffer-size)))))

and it outputted this:
Values: magit-post-command-hook error:, magit: emacs, #<window 156 on
*Messages*>, nil, 1, 20993, 20992 Eli Zaretskii <eliz@gnu.org>

So basically, the situation is that the (current-buffer) is magit: emacs whereas
the window is on \*Messages\* and so when we call (get-pos-property pos
’cursor-intangible), it uses a point value from magit: emacs on the messages
buffer.

Why exactly are the window-buffer and the current-buffer different? I think this
has to do with persp-mode. My guess is that when it sets the new window
configuration, the current-buffer is not updated to the new window’s buffer
immediately.

Sincerely,
StrawberryTea

writes:

>> From: StrawberryTea <look@strawberrytea.xyz>
>> Date: Sun, 18 Feb 2024 15:08:20 -0600
>>
>> Hi. So I noticed that sometimes magit-section-post-command-hook was giving an
>> ars-out-of-range error and I have narrowed it down to a C function in Emacs:
>>
>> Debugger entered–Lisp error: (args-out-of-range 9482 9482)
>> cursor-sensor–intangible-p(9483)
>> cursor-sensor-tangible-pos(9483 #<window 3 on magit: emacs>)
>> cursor-sensor-move-to-tangible(#<window 3 on magit: emacs>)
>> #<subr magit-section-post-command-hook>()
>> apply(#<subr magit-section-post-command-hook> nil)
>> (condition-case err (apply func args) ((debug error) (signal (car err) (cdr err))))
>> cae-debug-reraise-error(#<subr magit-section-post-command-hook>)
>> apply(cae-debug-reraise-error #<subr magit-section-post-command-hook> nil)
>> magit-section-post-command-hook()
>>
>> Within cursor-sensor–intangible-p, (get-pos-property 9483 ’cursor-intangible)
>> is giving that error in the Magit buffer even though that 9483 number is less
>> than (point-max).
>
> Can you show a recipe to reproduce this, preferably without using
> Magit?
>
> I suspect some code narrows the buffer while this code runs, which is
> why the error is signaled.

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

* bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer
  2024-02-20 15:42   ` StrawberryTea
@ 2024-02-21 12:31     ` Eli Zaretskii
  2024-02-21 14:30       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2024-02-21 12:31 UTC (permalink / raw)
  To: StrawberryTea, Stefan Monnier; +Cc: 69259, Jonas Bernoulli

> From: StrawberryTea <look@strawberrytea.xyz>
> Cc: 69259@debbugs.gnu.org
> Date: Tue, 20 Feb 2024 09:42:36 -0600
> 
> Hi Eli. I inserted a print function into magit-post-command-hook:
> 
> (defadvice! cae-magit-section-post-command-hook-a (oldfun)
>   :around #’magit-section-post-command-hook
>   (condition-case e
>       (funcall oldfun)
>     (error
>      (+log “magit-post-command-hook error:”
>            (current-buffer) (selected-window) (buffer-narrowed-p) (point-min)
>   (point-max) (buffer-size)))))
> 
> and it outputted this:
> Values: magit-post-command-hook error:, magit: emacs, #<window 156 on
> *Messages*>, nil, 1, 20993, 20992 Eli Zaretskii <eliz@gnu.org>
> 
> So basically, the situation is that the (current-buffer) is magit: emacs whereas
> the window is on \*Messages\* and so when we call (get-pos-property pos
> ’cursor-intangible), it uses a point value from magit: emacs on the messages
> buffer.
> 
> Why exactly are the window-buffer and the current-buffer different? I think this
> has to do with persp-mode. My guess is that when it sets the new window
> configuration, the current-buffer is not updated to the new window’s buffer
> immediately.

It is more likely that the post-command-hook was somehow invoked
inside with-selected-window or save-window-excursion or something like
that.

I think cursor-sensor is written under the assumption that the
selected window's buffer is also the current buffer, and if so,
magit-post-command-hook should abide by that protocol.  Stefan, am I
right?





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

* bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer
  2024-02-21 12:31     ` Eli Zaretskii
@ 2024-02-21 14:30       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-02-21 23:29         ` StrawberryTea
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-02-21 14:30 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 69259, Jonas Bernoulli, StrawberryTea

Eli wrote:
> I think cursor-sensor is written under the assumption that the
> selected window's buffer is also the current buffer, and if so,
> magit-post-command-hook should abide by that protocol.  Stefan, am I
> right?

Not `cursor-sensor.el` in its entirety, but
`cursor-sensor-move-to-tangible` presumes that it is called with the
current-buffer already set to (window-buffer window).

StrawberryTea wrote:
> Why exactly are the window-buffer and the current-buffer different?

Good question.  AFAIK the code that runs `post-command-hook` normally
tries to avoid such situations.

> I think this has to do with persp-mode.  My guess is that when it sets
> the new window configuration, the current-buffer is not updated to the
> new window’s buffer immediately.

Could be a "bad citizen" on `post-command-hook`, indeed, which messes up
subsequent functions on the hook.  Maybe the code that runs
`post-command-hook` should be more careful to (re)set current-buffer
after each function, but it seems easier to fix the rare functions which
mess it up.


        Stefan






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

* bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer
  2024-02-21 14:30       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-02-21 23:29         ` StrawberryTea
  2024-02-22  6:42           ` Eli Zaretskii
  2024-02-22 15:17           ` Jonas Bernoulli via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 10+ messages in thread
From: StrawberryTea @ 2024-02-21 23:29 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Eli Zaretskii, Jonas Bernoulli, 69259

[-- Attachment #1: Type: text/plain, Size: 2325 bytes --]

Thanks for the explanation Stefan and Eli. I ended up making a PR to magit. And
I think Tarsius is going to merge it. He just asked me to test it after he made
a small change.

Sincerely,
StrawberryTea

modified   lisp/magit-section.el
@@ -1635,10 +1635,14 @@ evaluated its BODY.  Admittedly that’s a bit of a hack.“
   (setq magit-section-pre-command-section (magit-current-section)))

(defun magit-section-post-command-hook ()
• (cursor-sensor-move-to-tangible (selected-window))
• (when (or magit–context-menu-buffer
• magit–context-menu-section)
• (magit-menu-highlight-point-section))
⁃ (let ((window (selected-window)))
⁃ ;; The command may have used `set-window-buffer’ to change
⁃ ;; the window’s buffer without changing the current buffer.
⁃ (when (eq (current-buffer) (window-buffer window))
⁃ (cursor-sensor-move-to-tangible window)
⁃ (when (or magit–context-menu-buffer
⁃ magit–context-menu-section)
⁃ (magit-menu-highlight-point-section))))
  (unless (memq this-command ’(magit-refresh magit-refresh-all))
    (magit-section-update-highlight)))
Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Eli wrote:
>> I think cursor-sensor is written under the assumption that the
>> selected window’s buffer is also the current buffer, and if so,
>> magit-post-command-hook should abide by that protocol.  Stefan, am I
>> right?
>
> Not `cursor-sensor.el` in its entirety, but
> `cursor-sensor-move-to-tangible` presumes that it is called with the
> current-buffer already set to (window-buffer window).
>
> StrawberryTea wrote:
>> Why exactly are the window-buffer and the current-buffer different?
>
> Good question.  AFAIK the code that runs `post-command-hook` normally
> tries to avoid such situations.
>
>> I think this has to do with persp-mode.  My guess is that when it sets
>> the new window configuration, the current-buffer is not updated to the
>> new window’s buffer immediately.
>
> Could be a “bad citizen” on `post-command-hook`, indeed, which messes up
> subsequent functions on the hook.  Maybe the code that runs
> `post-command-hook` should be more careful to (re)set current-buffer
> after each function, but it seems easier to fix the rare functions which
> mess it up.
>
>         Stefan

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

* bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer
  2024-02-21 23:29         ` StrawberryTea
@ 2024-02-22  6:42           ` Eli Zaretskii
  2024-02-22 15:17           ` Jonas Bernoulli via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2024-02-22  6:42 UTC (permalink / raw)
  To: StrawberryTea; +Cc: 69259-done, jonas, monnier

> From: StrawberryTea <look@strawberrytea.xyz>
> Cc: Eli Zaretskii <eliz@gnu.org>, 69259@debbugs.gnu.org, Jonas  Bernoulli
>  <jonas@bernoul.li>
> Date: Wed, 21 Feb 2024 17:29:54 -0600
> 
> Thanks for the explanation Stefan and Eli. I ended up making a PR to magit. And
> I think Tarsius is going to merge it. He just asked me to test it after he made
> a small change.

Thanks, I'm therefore closing this bug.





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

* bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer
  2024-02-21 23:29         ` StrawberryTea
  2024-02-22  6:42           ` Eli Zaretskii
@ 2024-02-22 15:17           ` Jonas Bernoulli via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-02-22 15:30             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 10+ messages in thread
From: Jonas Bernoulli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-02-22 15:17 UTC (permalink / raw)
  To: StrawberryTea, Stefan Monnier; +Cc: Eli Zaretskii, 69259

StrawberryTea <look@strawberrytea.xyz> writes:

> Thanks for the explanation Stefan and Eli. I ended up making a PR to magit. And
> I think Tarsius is going to merge it. He just asked me to test it after he made
> a small change.

It would have helped me if you had mentioned this discussion there.
I only became aware of this because Eli cced me.  It is useful for
me because it confirms some speculation of mine.  When I merged the
Magit pull-request I mentioned that I am doing so as a quick fix for
the issue, but that I intend to look at it again at a later time.

>>> I think cursor-sensor is written under the assumption that the
>>> selected window’s buffer is also the current buffer, and if so,
>>> magit-post-command-hook should abide by that protocol.  Stefan, am I
>>> right?
>>
>> Not `cursor-sensor.el` in its entirety, but
>> `cursor-sensor-move-to-tangible` presumes that it is called with the
>> current-buffer already set to (window-buffer window).

That was my guess.  The merged commit just forgoes calling that function
if things aren't as expected.  My plan was (and obviously still is) to
look into instead ensuring that the expected buffer is current, making
it current if necessary.

     Jonas





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

* bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer
  2024-02-22 15:17           ` Jonas Bernoulli via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-02-22 15:30             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-02-22 17:15               ` StrawberryTea
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-02-22 15:30 UTC (permalink / raw)
  To: Jonas Bernoulli; +Cc: Eli Zaretskii, 69259, StrawberryTea

> That was my guess.  The merged commit just forgoes calling that function
> if things aren't as expected.  My plan was (and obviously still is) to
> look into instead ensuring that the expected buffer is current, making
> it current if necessary.

As alluded to in my other message, maybe we should consider it a bug
if `post-command-hook` functions get called with (current-buffer)
different from (window-buffer) and similarly I'd consider it a bug if
such a function breaks this invariant.

[ Just putting this out there, hoping to influence who you
  blame at the end of your "look into" 🙂  ]


        Stefan






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

* bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer
  2024-02-22 15:30             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-02-22 17:15               ` StrawberryTea
  0 siblings, 0 replies; 10+ messages in thread
From: StrawberryTea @ 2024-02-22 17:15 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Eli Zaretskii, Jonas Bernoulli, 69259

[-- Attachment #1: Type: text/plain, Size: 1770 bytes --]

Ok. I was looking at:

(defun view-echo-area-messages ()
  “View the log of recent echo-area messages: the `*Messages*’ buffer.
The number of messages retained in that buffer is specified by
the variable `message-log-max’.”
  (interactive)
  (with-current-buffer (messages-buffer)
    (goto-char (point-max))
    (let ((win (display-buffer (current-buffer))))
      ;; If the buffer is already displayed, we need to forcibly set
      ;; the window point to scroll to the end of the buffer.
      (set-window-point win (point))
      win)))

and it’s an example of a function which updates the window-buffer but not the
current-buffer. When I look at the C code for set-window-point, it explicitly
restores the current-buffer to the state it was in before the call. So overall,
this function pops messages-buffer up but will activate the post-command-hook
for the buffer that was current before the call.

I’m not sure if this is a bug or not, but it’s definitely an edge case that
catches a lot of packages off guard.

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> That was my guess.  The merged commit just forgoes calling that function
>> if things aren’t as expected.  My plan was (and obviously still is) to
>> look into instead ensuring that the expected buffer is current, making
>> it current if necessary.
>
> As alluded to in my other message, maybe we should consider it a bug
> if `post-command-hook` functions get called with (current-buffer)
> different from (window-buffer) and similarly I’d consider it a bug if
> such a function breaks this invariant.
>
> [ Just putting this out there, hoping to influence who you
>   blame at the end of your “look into” 🙂  ]
>
>         Stefan

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

end of thread, other threads:[~2024-02-22 17:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-18 21:08 bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer StrawberryTea
2024-02-19 12:27 ` Eli Zaretskii
2024-02-20 15:42   ` StrawberryTea
2024-02-21 12:31     ` Eli Zaretskii
2024-02-21 14:30       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-21 23:29         ` StrawberryTea
2024-02-22  6:42           ` Eli Zaretskii
2024-02-22 15:17           ` Jonas Bernoulli via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-22 15:30             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-22 17:15               ` StrawberryTea

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).