From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs 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 Message-ID: <87mtnv6vtk.fsf@gnus.org> References: <87ilyjkxrv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18206"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 50900@debbugs.gnu.org To: Rodrigo Morales Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 29 21:13:16 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVf11-0004Wk-FS for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Sep 2021 21:13:15 +0200 Original-Received: from localhost ([::1]:43918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVf0z-000321-Ms for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Sep 2021 15:13:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVf0o-000316-Ps for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 15:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38741) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVf0o-0004T5-I3 for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 15:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVf0o-00020j-Dr for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 15:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Sep 2021 19:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50900 X-GNU-PR-Package: emacs Original-Received: via spool by 50900-submit@debbugs.gnu.org id=B50900.16329427307632 (code B ref 50900); Wed, 29 Sep 2021 19:13:02 +0000 Original-Received: (at 50900) by debbugs.gnu.org; 29 Sep 2021 19:12:10 +0000 Original-Received: from localhost ([127.0.0.1]:50281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVezy-0001z2-F7 for submit@debbugs.gnu.org; Wed, 29 Sep 2021 15:12:10 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:32884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVezf-0001xn-Lm for 50900@debbugs.gnu.org; Wed, 29 Sep 2021 15:12:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VAgXfiCJBayUYzHF4TZl8G2qoq3vXIJM36xXojr+X6Q=; b=CQGnys4AG9oBBzAW+EBU7LOHTM Xz4aT54JuV/PoNtUslzct8H98thE+SA7fmKPvLb0B7FE1zlee2yDJ/+cmhZS3fLOoUIhsUM2G691Z uX3T+KhPis5oojaa2uu0wn6zX6sOAyt+eLSUuBent6gfJv4WmxgIU+uoQun0SN+mYNpU=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVezW-0004KP-A2; Wed, 29 Sep 2021 21:11:45 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWchWA5NTGXoo7/ ///Neu3HAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UJHRMJE24iKhwAAAF2SURBVCjPbdHBSuRAEAbg SpgC6ZPKtODNy8DYT5GFDbg5xaErSG57EKSfIoYMLHNcyGVPMRho/6e0Ekedw/Yh5KO6/+pUiDPa 1EDj4qNQLwvg8MeSyNOtizQeGppRYyDizCYzdqSLxYooyhmJiJ8rXt/PKZfsiLQjK0vAriGyJXvi Oe0wkPfWr2YUAPn1Pk1Y914BUdEOTFveAKO1N3qQOls74IVdcyY0JJVeM+YhNkwuyhE3CtigkDBS rriooeUAbZqCq1hDoWcILPEBvGCbsdzdpRyMAlxuS0qvw9USXcBKex3WK9G0S/SSGtifQsDrjDBY /VJtqNvSYmXvewUURWa45AUivzO87PhYyVJg/YFeTIu4yclMbtx7YzAMmrZ33VSZX0XD2qdr/06+ 05myDnFtLycfWVbP80Sbw1QhEZ/kChwm+VgkHu0X9v7N99X4zwRo2jhJ/1lx+vvsJ36I5F+Qk0X3 +shPK08neIj2G9nzfwNO8Q7Idr3PjVvZ8QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wOS0yOVQx OTowOToxOSswMDowMHMNhO8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDktMjlUMTk6MDk6MTkr MDA6MDACUDxTAAAAAElFTkSuQmCC X-Now-Playing: The Notwist's _The Devil, You + Me_: "Gone Gone Gone" In-Reply-To: <87ilyjkxrv.fsf@gmail.com> (Rodrigo Morales's message of "Wed, 29 Sep 2021 14:05:40 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:215907 Archived-At: Rodrigo Morales 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