unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Rodrigo Morales <moralesrodrigo1100@gmail.com>
To: 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 15:22:13 -0500	[thread overview]
Message-ID: <CAGxMbPahgb3dErhgW=_diTeq2qSGw6UDM+V-G9+h2McT7X1H4g@mail.gmail.com> (raw)
In-Reply-To: <87ilyjkxrv.fsf@gmail.com>

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

Sorry, I wasn't clear in my previous message.

Before you evaluate the expression, you have to be in a buffer with no
read-only-mode. This means that if you tried to reproduce the issue in
the "*GNU Emacs*" buffer, you didn't fully reproduce the bug. For
some reason, the bug doesn't happen when the expression is evaluated
in a buffer with read-only-mode.

Here are more clearer steps:

1. Execute "emacs -Q"
2. Evaluate (open-line -1) in the "*scratch*" buffer.
3. Move your cursor to the "*scratch*" buffer.
4. Insert any text
5. (At this point, whenever you insert a character, the cursor is
   moved to the beginning of the line which makes it seem that you are
   typing from left to right.)

I was able to reproduce this issue in emacs 27.2 (in two systems) and
emacs 26.2 (in one system).

On Wed, 29 Sept 2021 at 14:07, Rodrigo Morales <moralesrodrigo1100@gmail.com>
wrote:

>
> 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.
>
> Steps to reproduce this bug:
>
> 1. Evaluate (open-line -1)
> 2. Insert text in any buffer
>
> You will see that whenever a character is inserted, the point is moved
> to the beginning of the line.
>

[-- Attachment #2: Type: text/html, Size: 1691 bytes --]

  parent reply	other threads:[~2021-09-29 20:22 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
2021-09-29 21:07   ` Gregory Heytings
2021-09-30  7:05     ` Lars Ingebrigtsen
2021-09-29 20:22 ` Rodrigo Morales [this message]
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='CAGxMbPahgb3dErhgW=_diTeq2qSGw6UDM+V-G9+h2McT7X1H4g@mail.gmail.com' \
    --to=moralesrodrigo1100@gmail.com \
    --cc=50900@debbugs.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 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).