* [BUG] org-indent-line edge case in empty Org mode buffer [9.8-pre (release_9.7.6-107-gf21415 @ /home/jschmidt/work/org-mode/lisp/)]
@ 2024-07-16 18:00 Jens Schmidt
2024-07-17 14:11 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Jens Schmidt @ 2024-07-16 18:00 UTC (permalink / raw)
To: emacs-orgmode
The following sequence of commands:
make vanilla
M-x org-mode RET
M-x erase-buffer RET SPC
M-: (setq org-adapt-indentation 'headline-data)
M-x org-indent-line RET
results in:
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
org-indent-line()
funcall-interactively(org-indent-line)
command-execute(org-indent-line record)
execute-extended-command(nil "org-indent-line" "org-indent-li")
funcall-interactively(execute-extended-command nil "org-indent-line" "org-indent-li")
command-execute(execute-extended-command)
`org-indent-line' probably should test ELEMENT on nil-ness, but I'm not
sure where exactly.
Emacs : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0)
of 2024-06-25, modified by Debian
Package: Org mode version 9.8-pre (release_9.7.6-107-gf21415 @ /home/jschmidt/work/org-mode/lisp/)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-17 14:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-16 18:00 [BUG] org-indent-line edge case in empty Org mode buffer [9.8-pre (release_9.7.6-107-gf21415 @ /home/jschmidt/work/org-mode/lisp/)] Jens Schmidt
2024-07-17 14:11 ` 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).