From: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 51459@debbugs.gnu.org
Subject: bug#51459: C-u RET fails with "Wrong type argument" (was: bug#51459: 29.0.50; org-return and org-return-and-maybe-indent)
Date: Thu, 28 Oct 2021 16:53:28 +0200 [thread overview]
Message-ID: <8735ol5hg7.fsf_-_@gmail.com> (raw)
In-Reply-To: <87cznp5ktq.fsf@gmail.com> ("Kévin Le Gouguec"'s message of "Thu, 28 Oct 2021 15:40:33 +0200")
Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:
>> When calling C-u RET, get "org--newline: Wrong type argument:
>> number-or-marker-p, (4)"
>
> That does look like a bug, however.
And it's not tied to Org, AFAICT. C-u RET borks in fundamental-mode as
well, since ARG is (1) interactively obtained as a raw prefix argument
(2) used in a numeric comparison:
(defun newline (&optional arg interactive)
[…]
(interactive "*P\np")
(barf-if-buffer-read-only)
(when (and arg
(< arg 0))
IIUC this comparison comes from 2021-09-30 "Make `newline' check the
argument earlier" (d1aacceae9); Lars, should there be a
prefix-numeric-value or something thrown in there somewhere?
next prev parent reply other threads:[~2021-10-28 14:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-28 10:17 bug#51459: 29.0.50; org-return and org-return-and-maybe-indent Andreas Röhler
2021-10-28 13:40 ` Kévin Le Gouguec
2021-10-28 14:53 ` Kévin Le Gouguec [this message]
2021-10-28 21:39 ` bug#51459: C-u RET fails with "Wrong type argument" Lars Ingebrigtsen
2021-10-28 17:54 ` bug#51459: 29.0.50; org-return and org-return-and-maybe-indent Andreas Röhler
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=8735ol5hg7.fsf_-_@gmail.com \
--to=kevin.legouguec@gmail.com \
--cc=51459@debbugs.gnu.org \
--cc=andreas.roehler@easy-emacs.de \
--cc=larsi@gnus.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.