From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dick Newsgroups: gmane.emacs.bugs Subject: bug#57669: 29.0.50; C-n, C-p off under long lines Date: Sat, 10 Sep 2022 08:07:24 -0400 Message-ID: <87bkrne8lf.fsf@dick> References: <87y1uujufi.fsf@dick> <83k06effg6.fsf@gnu.org> <87tu5ijcqg.fsf@dick> <2e25ca87e3d9ee13ba3e@heytings.org> <87illxka46.fsf@dick> <8335d1dr39.fsf@gnu.org> <87mtb8hezl.fsf@dick> <838rmsd4cc.fsf@gnu.org> <878rmsh9me.fsf@dick> <87zgf8fsv3.fsf@dick> <83zgf8bkmn.fsf@gnu.org> <83v8pwbjvy.fsf@gnu.org> <87a678fnnz.fsf@dick> <83r10kbex8.fsf@gnu.org> <875yhwflw7.fsf@dick> <83pmg4bcjt.fsf@gnu.org> <87wnace31g.fsf@dick> <838rmrbrkp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19981"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/29.0.50 (gnu/linux) Cc: 57669@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 10 15:09:14 2022 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 1oX0ET-00055I-J6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Sep 2022 15:09:13 +0200 Original-Received: from localhost ([::1]:34326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oX0ER-00061e-PU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Sep 2022 09:09:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oX0EI-00060r-L3 for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2022 09:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oX0EI-000462-CG for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2022 09:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oX0EI-00076d-0L for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2022 09:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: dick Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Sep 2022 13:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57669 X-GNU-PR-Package: emacs Original-Received: via spool by 57669-submit@debbugs.gnu.org id=B57669.166281528227214 (code B ref 57669); Sat, 10 Sep 2022 13:09:01 +0000 Original-Received: (at 57669) by debbugs.gnu.org; 10 Sep 2022 13:08:02 +0000 Original-Received: from localhost ([127.0.0.1]:36805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oX0DH-00074W-3w for submit@debbugs.gnu.org; Sat, 10 Sep 2022 09:08:02 -0400 Original-Received: from mail-qk1-f169.google.com ([209.85.222.169]:40539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWzGm-0003Po-5L for 57669@debbugs.gnu.org; Sat, 10 Sep 2022 08:07:32 -0400 Original-Received: by mail-qk1-f169.google.com with SMTP id c19so1105442qkm.7 for <57669@debbugs.gnu.org>; Sat, 10 Sep 2022 05:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=FJ4GRywfSeHxGUW9PlN51jnts2Jzo12q3G1rvdlicpw=; b=VjLaB/KAWNYsTaMflbnQKZ8wXy4M0+kvTTjBClMcKNtUinHSYynfYfcoCQN7VCfoXt xXaXwnBfv9jveDcQ15lvcmTx2LhBAlMB8FivggbU6qHMxAyudHIyxSlGM1cjLIUlY3ov 3TPPF4yX9YfXxDpoADL31yh622N07i08U8ZraCkomULsbzXhPo0HryI4I5agPnUCHxPh tzmw/m3pl/oss4Tqq8+B0cV7cgqcQ+EGuf7JqvhghjMFfTls9nC6eJRlD3MS9htcijqM Vb3Vx67ffAqLXnvVDiv0jU/1HxpbGnITJX8BhLDUAlC937dlaFW3c3yaxeQajwnYDjkp 3Eag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=FJ4GRywfSeHxGUW9PlN51jnts2Jzo12q3G1rvdlicpw=; b=El5wtWsFuup+FrGfnkWM/vwYORgiEzTafCXVikfazNWLIm2ZsRfyfOyBpPnJve4UCa na7x9Nqd679tN4t0fi5FC49aXXS4b4fQko1BOKX7s/wkd11KXedU+sq8ik9eWT+8LNT1 77x4eXH5vsE7aIhbmSpm5ppQuqWjzyKXmhkiuw0NtckYsmVZ09EONkmu88L/+r6pZ8mz 9zCbWjJnNYPSNzbTz/IvahkTqP8uVUDLGGr+tCZEy6FDC5dQaGKqOg3Q8gP8QvVmLpny vNOBrrsEimyqqKgvc2YZ1gFy4KB0U1tb4rCUsMmUxPwbIoJIMssaJ1Dh7KmU8helmB6Q iP5A== X-Gm-Message-State: ACgBeo0HMp4mgDvIeQai9EwKnKM56KsBQM5PxZe/0RybE7qO/na4ME5s WdSvtN7CkM49TiCF0ceD2PI= X-Google-Smtp-Source: AA6agR5VR83IViLtgBqf8/W7c0ga131IFjMvGLwNOe5OLca2AhnLfJrpH0vuQe1ujIrdEK47hr+cIA== X-Received: by 2002:a05:620a:9d9:b0:6cd:d438:8b8a with SMTP id y25-20020a05620a09d900b006cdd4388b8amr4324810qky.300.1662811646581; Sat, 10 Sep 2022 05:07:26 -0700 (PDT) Original-Received: from localhost (pool-173-56-234-28.nycmny.fios.verizon.net. [173.56.234.28]) by smtp.gmail.com with ESMTPSA id j20-20020a05620a289400b006bbf85cad0fsm2979629qkp.20.2022.09.10.05.07.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Sep 2022 05:07:25 -0700 (PDT) In-Reply-To: <838rmrbrkp.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 10 Sep 2022 10:45:42 +0300") X-Mailman-Approved-At: Sat, 10 Sep 2022 09:07:57 -0400 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:242098 Archived-At: EZ> So I think this part of the code is equivalent to what we do, in EZ> back_to_previous_visible_line_start I'm glad you noticed! It means you're actually reading the code! One difference is I gate line scanning (as opposed to character scanning) with behaved_p, whereas GNU crosses its fingers and hopes its POS_LIMIT estimate is far enough. So oddly enough, for all my cavailier assumptions, at least this part of the code [xdisp.c 9537:9577] is *more* conservative than GNU.