From: Lars Ingebrigtsen <larsi@gnus.org>
To: Rodrigo Morales <moralesrodrigo1100@gmail.com>
Cc: 50900@debbugs.gnu.org
Subject: bug#50900: 27.2; Evaluating open-line with a negative argument changes the behavior of self-insert
Date: Wed, 29 Sep 2021 21:11:35 +0200 [thread overview]
Message-ID: <87mtnv6vtk.fsf@gnus.org> (raw)
In-Reply-To: <87ilyjkxrv.fsf@gmail.com> (Rodrigo Morales's message of "Wed, 29 Sep 2021 14:05:40 -0500")
Rodrigo Morales <moralesrodrigo1100@gmail.com> writes:
> In order to reproduce this bug, I deleted my ~/.config/emacs/init.el
> file and made sure that no other Emacs configuration file existed in
> $HOME.
That shouldn't be necessary -- "emacs -Q" will start an Emacs without
any local customisations.
> Steps to reproduce this bug:
>
> 1. Evaluate (open-line -1)
> 2. Insert text in any buffer
I'm unable to reproduce the problem in Emacs 27.2 (or 28). I said:
emacs -Q
M-: (open-line -1)
And then I just get this backtrace:
Debugger entered--Lisp error: (error "Negative repetition argument -1")
self-insert-command(-1)
newline(-1)
open-line(-1)
eval((open-line -1) t)
eval-expression((open-line -1) nil nil 127)
funcall-interactively(eval-expression (open-line -1) nil nil 127)
call-interactively(eval-expression nil nil)
command-execute(eval-expression)
> You will see that whenever a character is inserted, the point is moved
> to the beginning of the line.
I don't see that, either. What does `C-h f open-line RET' say for you?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-09-29 19:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-29 19:05 bug#50900: 27.2; Evaluating open-line with a negative argument changes the behavior of self-insert Rodrigo Morales
2021-09-29 19:11 ` Lars Ingebrigtsen [this message]
2021-09-29 21:07 ` Gregory Heytings
2021-09-30 7:05 ` Lars Ingebrigtsen
2021-09-29 20:22 ` Rodrigo Morales
2021-09-29 20:35 ` Rodrigo Morales
2021-09-29 20:49 ` Rodrigo Morales
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mtnv6vtk.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=50900@debbugs.gnu.org \
--cc=moralesrodrigo1100@gmail.com \
/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 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).