From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 08:00:14 2022 Received: (at submit) by debbugs.gnu.org; 5 Feb 2022 13:00:15 +0000 Received: from localhost ([127.0.0.1]:34056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGKfm-0003qu-CS for submit@debbugs.gnu.org; Sat, 05 Feb 2022 08:00:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:59734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGKfk-0003qi-L1 for submit@debbugs.gnu.org; Sat, 05 Feb 2022 08:00:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGKfk-0001KH-Ap for bug-gnu-emacs@gnu.org; Sat, 05 Feb 2022 08:00:12 -0500 Received: from [78.47.144.35] (port=49940 helo=metalevel.at) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGKfi-0008Kj-Cj for bug-gnu-emacs@gnu.org; Sat, 05 Feb 2022 08:00:11 -0500 Received: from mt-mbpro.localdomain (localhost [127.0.0.1]) by metalevel.at (Postfix) with ESMTP id 9F5CA9C73F for ; Sat, 5 Feb 2022 14:00:08 +0100 (CET) Received: by mt-mbpro.localdomain (Postfix, from userid 501) id 4297A14E463B; Sat, 5 Feb 2022 14:00:07 +0100 (CET) From: Markus Triska To: bug-gnu-emacs@gnu.org Subject: 27.1; Entered text sometimes appears on the preceding line Date: Sat, 05 Feb 2022 14:00:07 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.47.144.35 (failed) Received-SPF: none client-ip=78.47.144.35; envelope-from=triska@metalevel.at; helo=metalevel.at X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) To reproduce this issue, please start Emacs with "$ emacs -Q", and do: M-x report-emacs-bug RET RET C-n In the resulting buffer, point is now placed so that the cursor is shown on the letter "I" in the following text: "If Emacs crashed, and you have the Emacs process ..." If you then type any letter with the intention of entering text on this line, it unexpectedly appears in the preceding line. For example, with point at the "I" of "If", when I enter "a", I get: a If whereas one would expect to obtain: aIf This behaviour seems to only occur on this specific line, and therefore seems unusual. This is only a very minor issue, yet still a bit surprising, especially since "I" remains highlighted the entire time, also if multiple characters are entered, all appearing on the preceding line, such as in: abcd If Thank you a lot! Markus In GNU Emacs 27.1 (build 1, x86_64-apple-darwin15.3.0, X toolkit, Xaw scroll bars) of 2020-12-12 built on mt-macbook Windowing system distributor 'The X.Org Foundation', version 11.0.11502000 System Description: Mac OS X 10.11.3 Configured using: 'configure --prefix=/opt/local --disable-silent-rules --without-ns --without-dbus --without-gconf --without-libotf --without-m17n-flt --with-gmp --with-gnutls --with-json --with-xml2 --with-modules --infodir /opt/local/share/info/emacs --with-x-toolkit=lucid --without-xaw3d --without-imagemagick --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-lcms2 --without-rsvg --with-xft 'CFLAGS=-pipe -Os -arch x86_64' CPPFLAGS=-I/opt/local/include 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -lfreetype -lfontconfig -Wl,-no_pie -arch x86_64'' Configured features: XPM JPEG TIFF GIF PNG GSETTINGS GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 08:16:13 2022 Received: (at 53799) by debbugs.gnu.org; 5 Feb 2022 13:16:13 +0000 Received: from localhost ([127.0.0.1]:34069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGKvF-0004EC-9G for submit@debbugs.gnu.org; Sat, 05 Feb 2022 08:16:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGKvD-0004Dz-Ln for 53799@debbugs.gnu.org; Sat, 05 Feb 2022 08:16:12 -0500 Received: from [2001:470:142:3::e] (port=34528 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGKv8-0002lo-Eo; Sat, 05 Feb 2022 08:16:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZqqzRqCMB+kjgS0NzBHCxdhZV31y+TUtBOEheZuvdFk=; b=VrZ5P3ICZ+vJ vldi43bsAqi+ms2YBGAWz7DXHRnqFn5s927PAuQq3pZqHUZ+BGhYAbYCefc7Xp/8ttd7CNuViVstV idos/VScSovvToJ9G3LaW8+K0SPJtSHcPFFvPqnxzKeJFjRi8Y/hzQN5k/iIA0z6tdLwPhqk2t0v1 yY48qUCpHR11e+MibLhNhJjDTfhNour9rSzKd8a9dsLucAJ7Y6LILUi94Dng+Dj4XNGFq+2VNIXMn lcJz+vCNVBSf4iuOggcpaHDftNaB4MPPlgmVmGq/xFZ9cs0Mb0gT5bZsK0WtZdx/6nVn7VomM1x9p evRTzhBmEETGBkV4Fj5WJg==; Received: from [87.69.77.57] (port=4975 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGKv7-0007n0-Iq; Sat, 05 Feb 2022 08:16:06 -0500 Date: Sat, 05 Feb 2022 15:15:47 +0200 Message-Id: <83k0e91mkc.fsf@gnu.org> From: Eli Zaretskii To: Markus Triska In-Reply-To: (message from Markus Triska on Sat, 05 Feb 2022 14:00:07 +0100) Subject: Re: bug#53799: 27.1; Entered text sometimes appears on the preceding line References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53799 Cc: 53799@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Markus Triska > Date: Sat, 05 Feb 2022 14:00:07 +0100 > > To reproduce this issue, please start Emacs with "$ emacs -Q", > and do: > > M-x report-emacs-bug RET RET C-n > > In the resulting buffer, point is now placed so that the cursor is shown > on the letter "I" in the following text: > > "If Emacs crashed, and you have the Emacs process ..." > > If you then type any letter with the intention of entering text on this > line, it unexpectedly appears in the preceding line. For example, with > point at the "I" of "If", when I enter "a", I get: > > a > If > > whereas one would expect to obtain: > > aIf > > This behaviour seems to only occur on this specific line, and therefore > seems unusual. > > This is only a very minor issue, yet still a bit surprising, especially > since "I" remains highlighted the entire time, also if multiple > characters are entered, all appearing on the preceding line, such as in: > > abcd > If This text is shown as a 'display' property, so that the user couldn't accidentally erase the instructions. The 'display' property begins with a newline, and that's what causes the above "surprising" effect. The solution is not to use C-n, or overcome the surprise. I think we don't need to do anything with this issue.