From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Gallagher - NOAA Affiliate via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#50506: 28.0.50; display-line-numbers equivalent for linum-format? Date: Wed, 15 Sep 2021 10:08:49 -0600 Message-ID: References: <87czpgc1yb.fsf@noaa.gov> <83fsucipdz.fsf@gnu.org> <87tuirnwu0.fsf@gnus.org> <83sfy8cpvz.fsf@gnu.org> <83pmtccovd.fsf@gnu.org> <834kancb73.fsf@gnu.org> <83ilz1bzyx.fsf@gnu.org> Reply-To: Michael Gallagher - NOAA Affiliate Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000083a8505cc0aeca9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6170"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50506@debbugs.gnu.org, Lars Ingebrigtsen To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 15 18:11:07 2021 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 1mQXV5-0001UE-Dl for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Sep 2021 18:11:07 +0200 Original-Received: from localhost ([::1]:39770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQXV4-0005Va-Cv for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Sep 2021 12:11:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQXU3-0005Ps-Ph for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2021 12:10:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQXU3-0003QK-H9 for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2021 12:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQXU3-0002cV-8x for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2021 12:10:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Gallagher - NOAA Affiliate Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Sep 2021 16:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50506 X-GNU-PR-Package: emacs Original-Received: via spool by 50506-submit@debbugs.gnu.org id=B50506.16317221739986 (code B ref 50506); Wed, 15 Sep 2021 16:10:03 +0000 Original-Received: (at 50506) by debbugs.gnu.org; 15 Sep 2021 16:09:33 +0000 Original-Received: from localhost ([127.0.0.1]:53013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXTZ-0002ay-3r for submit@debbugs.gnu.org; Wed, 15 Sep 2021 12:09:33 -0400 Original-Received: from mail-pg1-f170.google.com ([209.85.215.170]:43688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXTX-0002al-9H for 50506@debbugs.gnu.org; Wed, 15 Sep 2021 12:09:32 -0400 Original-Received: by mail-pg1-f170.google.com with SMTP id r2so3169346pgl.10 for <50506@debbugs.gnu.org>; Wed, 15 Sep 2021 09:09:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa.gov; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+5pdlojNSPBtCjt15KHsQkOpFipvdW6kc4UmCHqIoDI=; b=NM30OEaqI06le/YkqAumxAUcUA4y+S0JaXXBs+9RbNnPdBOIkBXdDqsZcLBIOkXAO0 sAuBKhUWUmt1C0VqCD83+ot9FJ8vUsMEGFEVTGsuRes0MQKl/I0cLNCcxBDVVK9UhCJx PtPI8jB2Pke3zdCxYfGr7gvpjwMfbBV6R+eCnseAFE7w7TczZontjsYF63vnAdtJ35C1 HFNSK5vmI+paYct22mJPzfdW9uvkwX3XVYb7UnlM08zBD3Wenfm0NmzQkNDyOOxW4ztw YGlfrMD1AyVfOT+7Ra8YplWFFosAgCYROfnggJe2Rhcw2SVkK28fuQ8YdkoOzECNnp16 nauA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+5pdlojNSPBtCjt15KHsQkOpFipvdW6kc4UmCHqIoDI=; b=a0QnOuWqvb7mja0/7VPuzHlZr6TYJQitK9/i18Lqm1G5gLGlEw4CZGwsu/e/UbYJZ6 +eL1QcmNaSpTZ/XJJy9tAX8i/osDbhusXd7rLTurJ/b+FG/T8CYBerEj3wQFi6WB9jOC gqqz7wgTGNLe64ra1ue2qDZZR7kcxKFEf938HaIFzpFH9sljFi4oprSCT76dBBRkENLl X4zrHIpQPpNPF2sT/LuHQiQbuLWDnImsHbN4TugfmKJ8/NNCdAiLeLVpV5ca3pxeH9Bi M+BK7KKeGhGKGC/oe/maF45xDdwAUUboNE1RcU+UKEFYWqs6dHj7sLbVaJJOq8QNG2rP 3NVA== X-Gm-Message-State: AOAM532UJveraz4SS+iBZBAwA3P0T8Y3tTitvQkEa9NF68Aa6ZNgT98f x1lVvmSK5qoWzevWz2xjxLw0bLN3fA/CD0rJfJfNMg== X-Google-Smtp-Source: ABdhPJxkb4E/BnC6yFLN6jrRQb0vyQILBXnQqN4Ojtej+Ru+XxtJ8gz1kFpap63zE6qNIJGY8mtskzfD8FEOogKH6Qg= X-Received: by 2002:a63:9d44:: with SMTP id i65mr486312pgd.69.1631722165222; Wed, 15 Sep 2021 09:09:25 -0700 (PDT) In-Reply-To: <83ilz1bzyx.fsf@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" Xref: news.gmane.io gmane.emacs.bugs:214407 Archived-At: --000000000000083a8505cc0aeca9 Content-Type: text/plain; charset="UTF-8" The code as it stands displays correctly with TUTORIAL.he. As I'm not an expert in the emacs display code, I was confused about the relationship between paragraph_embedding and bidi-paragraph_direction. I'm assuming you're saying there needs to be an additional check on the value of para_direction in the if statements? On Wed, Sep 15, 2021 at 9:50 AM Eli Zaretskii wrote: > > From: Michael Gallagher - NOAA Affiliate > > Date: Wed, 15 Sep 2021 09:22:18 -0600 > > Cc: Lars Ingebrigtsen , 50506@debbugs.gnu.org > > > > Eli, I did indeed. I've added corrections to account for L2R vs R2L and > the updated patch is attached. Let me > > know what you think > > Thanks, but does this work in buffers where bidi-paragraph-direction > is nil? AFAIR, it->paragraph_embedding is only set when the buffer > has a non-nil value of bidi-paragraph-direction. > > Did you try that in TUTORIAL.he, as I suggested? > -- Michael Gallagher, PhD CIRES Research Scientist Polar Observations and Processes Team (ESRL/NOAA/PSD) 325 Broadway, Boulder, Colorado 80305 --000000000000083a8505cc0aeca9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The code as it stands displays correctly with TUTORIAL.he.= As I'm not an expert in the emacs display code, I was confused about t= he relationship between paragraph_embedding and bidi-paragraph_direction. I= 'm assuming you're saying there needs to be an additional check on = the value of para_direction in the if statements?

On Wed, Sep 15, 2021= at 9:50 AM Eli Zaretskii <eliz@gnu.org<= /a>> wrote:
&= gt; From: Michael Gallagher - NOAA Affiliate <michael.r.gallagher@noaa.gov>= ;
> Date: Wed, 15 Sep 2021 09:22:18 -0600
> Cc: Lars Ingebrigtsen <larsi@gnus.org>, 50506@debbugs.gnu.org
>
> Eli, I did indeed. I've added corrections to account for L2R vs R2= L and the updated patch is attached. Let me
> know what you think

Thanks, but does this work in buffers where bidi-paragraph-direction
is nil?=C2=A0 AFAIR, it->paragraph_embedding is only set when the buffer=
has a non-nil value of bidi-paragraph-direction.

Did you try that in TUTORIAL.he, as I suggested?


--
Michael Gallagher, PhD
CIRES Research Scientist
<= /div>
Polar Obser= vations and Processes Team (ESRL/NOAA/PSD)
325 Broadway, Boulder, Colorado 80305
--000000000000083a8505cc0aeca9--