From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#57669: 29.0.50; C-n, C-p off under long lines Date: Fri, 09 Sep 2022 21:28:03 +0000 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26700"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 57669@debbugs.gnu.org To: dick Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 09 23:29:12 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 1oWlYl-0006lt-T9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Sep 2022 23:29:12 +0200 Original-Received: from localhost ([::1]:56266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWlYk-0002UL-Jk for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Sep 2022 17:29:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWlYd-0002U3-7W for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 17:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47149) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWlYb-0000WB-RU for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 17:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWlYb-0005da-NN for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 17:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Sep 2022 21:29: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.166275888921607 (code B ref 57669); Fri, 09 Sep 2022 21:29:01 +0000 Original-Received: (at 57669) by debbugs.gnu.org; 9 Sep 2022 21:28:09 +0000 Original-Received: from localhost ([127.0.0.1]:35847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWlXk-0005cR-O0 for submit@debbugs.gnu.org; Fri, 09 Sep 2022 17:28:08 -0400 Original-Received: from heytings.org ([95.142.160.155]:34326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWlXg-0005cH-Sl for 57669@debbugs.gnu.org; Fri, 09 Sep 2022 17:28:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1662758883; bh=9g3uIxKrqEl38D1RylFAv0zs14zWrN2vfOhtTN7TOBc=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=xCL9LkjhOIzwz+OztMuILNe4DXkSt7ErF1ckfH4CvYNLpBlbOPt4yqWsMtmXfgjCA qhT2yHk7/CMTzOdUaBcMSRuI5Ax0mgnmfPms9LXc5Ws7Xj7GlWnAYvYpEbbAV6e44C afGjf0GGKRS9PZi1wbaZ4x4QHFVZfwuec2fSFHn4+GruR+fW/Veu8BGEuZAtw0WNsP nY90WTGRwjFDmWuwVAjLiD6dtP459eqMs7xVX6KnnWlPDWf251Iy+cu2S++31ABFYA ENDLX70Ry/iIFStQ056e1UOEjMJvAf04q+1eKxTTl+z4sYEsM54kX49RBwDgaoWm+0 mLOe1QiQqyAdw== In-Reply-To: <87wnace31g.fsf@dick> 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:242040 Archived-At: > > xdisp.c[9319,9369]: Calculates dy algebraically without char-by-char. > > xdisp.c[9537,9577]: Calculates CAPPED to limit char-by-char scan for > moving backwards (Blandy and Moellmann wrote xdisp like a singly linked > list -- fast and precise forwards, much less so going backwards). > Thanks, finally we get an indication of what your code does and where. I looked at it briefly, and the first thing I saw does not seem promising. Your algebraic calculations are enabled when behaved_p, which depends on buffer->text->monospace. That field is set (unconditionally) to true in Fget_buffer_create, and reset only in only one place, in add_properties. Can you please elaborate a bit and explain why doing that would be TRT?