From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#72392: 30.0.50; Wrong `next-line` behavior Date: Fri, 02 Aug 2024 09:57:25 +0300 Message-ID: <867cczwgx6.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37321"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72392@debbugs.gnu.org, monnier@iro.umontreal.ca To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 02 08:58:04 2024 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 1sZmEi-0009Rb-It for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Aug 2024 08:58:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZmEU-000271-31; Fri, 02 Aug 2024 02:57:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZmES-00021w-NM for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2024 02:57:44 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sZmES-0005Js-E8 for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2024 02:57:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=SVVs7o/Ao9oVM43oJlL6aDEyLErqwc5M9MhtpYs3oJQ=; b=JEejANpNpblT7aosEYuwWFPqgQO54kBzg517M64BROiz00764ESTyeJhqy/UCTQuk3stkjgCmQ5r/lDQtaSdxFbTZk79MDqqjlBxp/EQYviKL4vHVvXCLlrstmIm5QhgdMrEX4xraqBQI5HlzgEtW31276a82Y6C0f/nosCIhb8kt0PJ9ov6YOkJ1Cc4ihnQUkE4t2Cf+dSL56iFYlJRvTwifHw6bYlF2XgrzChN2vzOQoh9+IawNW+5oK1G0bu+ywUU5Z4tSyw47NXVbuz6yXQU/V2xInBazoZXddz7sbnzMWx4Ckbn3rv2PnCKi7C5NmH3SfyC5veI2gkttoRy4Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sZmEj-0006hO-Vh for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2024 02:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Aug 2024 06:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72392 X-GNU-PR-Package: emacs Original-Received: via spool by 72392-submit@debbugs.gnu.org id=B72392.172258187625737 (code B ref 72392); Fri, 02 Aug 2024 06:58:01 +0000 Original-Received: (at 72392) by debbugs.gnu.org; 2 Aug 2024 06:57:56 +0000 Original-Received: from localhost ([127.0.0.1]:52216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZmEe-0006h3-C5 for submit@debbugs.gnu.org; Fri, 02 Aug 2024 02:57:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZmEa-0006go-OH for 72392@debbugs.gnu.org; Fri, 02 Aug 2024 02:57:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZmEC-0005HK-Vh; Fri, 02 Aug 2024 02:57:28 -0400 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=SVVs7o/Ao9oVM43oJlL6aDEyLErqwc5M9MhtpYs3oJQ=; b=aeDZZxSDjI85 bz/vot74Xs6a7tddePhZ1kUcApsbcrCg6lDqPm4iGc8SWirdvjkY/50/GE9jfSDAs7SRP9Z3x/58E rtX9dVXZn8+n6b/GK1l4/9qM+G3ZWY27lAcUoXLhwSOc0YWMPeCCpOvLbyPSmlKayZITWyQsWfjAy kFjEKHYY9BUB563FuwXF7/xVyouTMK/NWg1D3nfJ+70J+rKg0bBdWzWCbbyueBD9gfc9tDlyFJ1QW KL9RL9ESGkVkORHFmrEl9LLHdVLCx/GDW9wDhru3cPPxVNoQqf1aBGmEju6Y8fm93krPvUB+B/4IK uOQAjRpMZ4TDhN+a1foR1A==; In-Reply-To: (bug-gnu-emacs@gnu.org) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289627 Archived-At: > Cc: monnier@iro.umontreal.ca > Date: Wed, 31 Jul 2024 03:43:20 -0400 > From: Stefan Monnier via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > - Apply the `smerge-mode.patch` below to Emacs's` master` (and > recompile `smerge-mode.el`). > - Open the short diff file below with: > > emacs -Q --eval '(setq-default word-wrap t diff-font-lock-prettify t)' \ > .../bug-weird-next-line.diff > > - In my case, when this opens there's a "word wrap" just before "This" > and just before "\id{seg}" (on the 4th and 5th lines, resp). > If that's not the case for you, resize your frame so that this is > the case. > > - Do `C-n` a few times. Any hope of a simpler recipe, which would not require patching Emacs? Cannot you just post the contents of the problematic buffer and the non-default settings to use to reproduce the problem? The bug is probably somewhere in vertical-motion or in line-move and its subroutines, but a simpler recipe will make the investigation less painful. TIA