From: Jens Schmidt <jschmidt4gnu@vodafonemail.de>
To: emacs-orgmode@gnu.org
Subject: [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/)]
Date: Tue, 16 Jul 2024 20:00:41 +0200 [thread overview]
Message-ID: <87ed7tb4ja.fsf@sappc2.mail-host-address-is-not-set> (raw)
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/)
next reply other threads:[~2024-07-16 18:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-16 18:00 Jens Schmidt [this message]
2024-07-17 14:11 ` [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/)] 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ed7tb4ja.fsf@sappc2.mail-host-address-is-not-set \
--to=jschmidt4gnu@vodafonemail.de \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.