From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#68881: 30.0.50;
 [PATCH] Field properties confuse 'outline-minor-mode'
Date: Sun, 11 Feb 2024 08:07:47 +0200
Message-ID: <865xyvttxo.fsf@gnu.org>
References: <83986cee-a32d-707f-6ee0-ec1ba2bd42c2@gmail.com>
 <86a5ocgp74.fsf@mail.linkov.net>
 <a80f3421-18cf-6376-5a35-a7978c05f32f@gmail.com> <86cyt4t96u.fsf@gnu.org>
 <254d7a98-d39d-2481-5a2a-01eea80fb657@gmail.com>
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="741"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 68881@debbugs.gnu.org, juri@linkov.net
To: Jim Porter <jporterbugs@gmail.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 11 07:09:09 2024
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1rZ31Z-000AXI-LE
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Feb 2024 07:09:09 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1rZ31D-0004sL-Tj; Sun, 11 Feb 2024 01:08:47 -0500
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 <Debian-debbugs@debbugs.gnu.org>)
 id 1rZ31C-0004sC-Cy
 for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 01:08:47 -0500
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 <Debian-debbugs@debbugs.gnu.org>)
 id 1rZ31C-0007QN-5D
 for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 01:08:46 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rZ31R-0004Kx-Po
 for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 01:09:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Eli Zaretskii <eliz@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 11 Feb 2024 06:09:01 +0000
Resent-Message-ID: <handler.68881.B68881.170763169716584@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 68881
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
Original-Received: via spool by 68881-submit@debbugs.gnu.org id=B68881.170763169716584
 (code B ref 68881); Sun, 11 Feb 2024 06:09:01 +0000
Original-Received: (at 68881) by debbugs.gnu.org; 11 Feb 2024 06:08:17 +0000
Original-Received: from localhost ([127.0.0.1]:51194 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rZ30i-0004JP-R9
 for submit@debbugs.gnu.org; Sun, 11 Feb 2024 01:08:17 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44974)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@gnu.org>) id 1rZ30e-0004J1-Dv
 for 68881@debbugs.gnu.org; Sun, 11 Feb 2024 01:08:14 -0500
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 <eliz@gnu.org>)
 id 1rZ30H-0007H5-Vh; Sun, 11 Feb 2024 01:07:50 -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=omBU1vcJ6oBpzyhOv0nc5RnNYnSUoiR2kACYev6t5kY=; b=pIgVxJ5QE+Cj
 YoVzlwUTKhLcOIlAWMY93PSPo2gniaFD6H6NN6IdkI+3niMN5KnoX7F7CPWGs3pjkRYns0NaaQj5y
 Apd7t2x+GZyOIwZcd7xYi2XVOmXQh1toewvGSOAXKFE3L3NeTF4nCm35ZT4nb/QARVXWIaa6hyhK5
 1RJGbosJ3N25YdNezIff46IyiwPfAoQQnxZhKs0HgUmS3N7a96XN/EQoHRZ22j9Jr+CA92LSe5sBv
 Pjeiwgw/iLmQyyUBJkVIbVmWikuzpwi03luxpMj1Q1LQ9WOZNdhpd+F4UeKzCM5f1uzgdptfh8bDM
 yt5Vee77WbhznwUlbp9rig==;
In-Reply-To: <254d7a98-d39d-2481-5a2a-01eea80fb657@gmail.com> (message from
 Jim Porter on Sat, 10 Feb 2024 13:14:34 -0800)
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=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:279816
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/279816>

> Date: Sat, 10 Feb 2024 13:14:34 -0800
> Cc: 68881@debbugs.gnu.org, juri@linkov.net
> From: Jim Porter <jporterbugs@gmail.com>
> 
> On 2/10/2024 11:23 AM, Eli Zaretskii wrote:
> > I don't understand what text directionality has to do with the issue
> > at hand.  If you elaborate, I could perhaps be of assistance in this
> > matter.
> 
> I think nothing in this case. I just wasn't sure initially whether 
> 'pos-bol' and 'line-beginning-position' handled directionality 
> differently. Since they handle it the same way, I think there's no harm 
> in using 'pos-bol' in this case.

They both go to the smallest buffer position of the line (modulo the
fields issue).  If an LTR line starts with RTL characters, that buffer
position will not be the leftmost one, but that's all.  (I don't think
we have a function to go to the position that is the leftmost on
display, probably because that was never needed.)