From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yBIcGChNgGYnJwAAe85BDQ:P1 (envelope-from ) for ; Sat, 29 Jun 2024 18:06:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id yBIcGChNgGYnJwAAe85BDQ (envelope-from ) for ; Sat, 29 Jun 2024 20:06:32 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=PAVmscMM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719684392; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=te35dJfQnfefla8Pt0/ZlhtMEWLupVnYOZOWi5zTnbg=; b=cUdNqvLoqa7JHOmzkJmsaiUqAOaUmxYceWkhK4rV73QsKXdjx3/2egPMyaS79m+h/xR14j CUa/JNmuB54z+d4VZJgXbUGyMkSJD/KDb6itBJjuBDptYIPzIsRn6pxFIaIQFBWXucCnCX 6mvH9SW7Zr6quPY3/E2CcXzJvAXVF0QaWClrrehlc1Mvb/Ay+EwPQpEgLvE7IR26OpBxQe qe2+/K3QDbnqq2/AleOQXX1WSVVYyYhE1JGvodc9L13MomfuZRLzJNn+6KshfFjRkiz7Js PxK+r79UyU9M3AHTF0hgwXqgoY8Ew+4Hl0bEnVJ35y/71K185Ux2/+F/GJ/soA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719684392; a=rsa-sha256; cv=none; b=fR7pStwnvVzowwfAdjO3lFLfmei+kv72FswOWYIx0RN3IuHjnOUnPENgdwEMw7XDirGph2 lXNQGGhs+QGtHNuYkpTUDCPj/NUcfTSLRvkYfiKwlV9ANDUKPagXUwZ8xcvMSniHXVxNhA m1X7IQI7UvLWJ5k9mhQXMSb5hvRscwHKEsbv0smGlV3hwK+MqBkz5fop2nofUIDEAI/JgM b2omRHAxl6RdXyHwRRn5zzpfZNYsiNmi9QWWM3y5f3HU5MXtphJr4Vye9LOHRqJIytShQl l634umARn2JVZggW0bbMvGock3/Rp8Vm99xioUceQBlpyNfGqJxPa5E/CK0R+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=PAVmscMM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DEA1D90DA for ; Sat, 29 Jun 2024 20:06:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNcSF-0003n1-5E; Sat, 29 Jun 2024 14:05:43 -0400 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 1sNcSE-0003ll-2Z for emacs-orgmode@gnu.org; Sat, 29 Jun 2024 14:05:42 -0400 Received: from mail-vs1-xe30.google.com ([2607:f8b0:4864:20::e30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNcSA-0004Vj-5G for emacs-orgmode@gnu.org; Sat, 29 Jun 2024 14:05:41 -0400 Received: by mail-vs1-xe30.google.com with SMTP id ada2fe7eead31-48f68565fe0so445764137.3 for ; Sat, 29 Jun 2024 11:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719684337; x=1720289137; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=te35dJfQnfefla8Pt0/ZlhtMEWLupVnYOZOWi5zTnbg=; b=PAVmscMMosbXMqReD0a+bZMHNON5ux23/w5IyQ7DwsexzjITrbVlbmQyXa2FfcFqhi 4q1guXuGJlY2YQSWnmPrdDiYIMqRPZqpmuR792wQvbrR3X5/G8sHHG1qmIHEYZwTLi1c FngyEweBRWR5E4+raC7eQM3zN5W0B0YuY0gn9mnDJwKfKhfZRb8Om3ursSSAywxYNpKD 8yH/xH5bJpXuTNOpFqYS44xauKsNRVRTKdDWUfU0INIhpzf09euxKr/fw6vNK+kW++dm GHoNfRr/2jx98S7LJfg/7SkcKeB0vTnuQJbkYUR/385c2SCC3fLBYwvXdUIT825G+ntD vJ/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719684337; x=1720289137; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=te35dJfQnfefla8Pt0/ZlhtMEWLupVnYOZOWi5zTnbg=; b=lvCV2/DEgsCgFsjVBVpBduVPtoDd2N5mgPFP3E1RA3jqrvW12k28NZ0zsSsdVsYEjG dm5RJC/k1bJl/p9juuPxsm4Qn+UUADniI3vpE5iVVCaXUP6h6BJPs8YwbLw/PjAXNNnO hXSTyqp17zkHm15OzNnAGTGtteV30Yb7ksICBOdR4XEHd1T4ETJr5LfVL4/LoJ0+RhKE MlV9IpGYapvlls+PMpg1Fgx4AQQMSYb6iJHE03RWGcOJwHipgGyKTnALExQnHYKwt8TE K9IwLan/T63CJWR+A6jZfyYqGjZJZuTpcCSBiC6cqF3lrbsQ/gLGQu3+0+4b/qD4gIDQ gfzg== X-Gm-Message-State: AOJu0YzBB6N7n11bGvuTpXEZv3mSDxLBy/dIls4Jayy+AkCFLVmIDze9 avYl0EWuNQiPAecHjlT1ad4AhuxxLaxSGL6VXVDz3kBXBnyesbGsaKUCK5cPBZNcA3A1ZOQeF6R XIzSJtCT1KTFTgxoLffB/0l5e3Do= X-Google-Smtp-Source: AGHT+IHM3u5d2RgHsEhLRIZL1teQJpTP+XWSgwBK0yPpVzwkZ7gol8fXiOx/GR6NXEBAg5UnAk8+/m2IkzABNY1l/e0= X-Received: by 2002:a67:fe4e:0:b0:48f:3bcb:b41d with SMTP id ada2fe7eead31-48faef85515mr1610699137.0.1719684336066; Sat, 29 Jun 2024 11:05:36 -0700 (PDT) MIME-Version: 1.0 References: <874j9bzxac.fsf@localhost> In-Reply-To: <874j9bzxac.fsf@localhost> From: Giovanni Pavolini Date: Sat, 29 Jun 2024 13:05:23 -0500 Message-ID: Subject: Re: [BUG] Unexpected behaviour of TAB in table depending on font family [9.6.15 (release_9.6.15 @ /snap/emacs/current/usr/share/emacs/29.4/lisp/org/)] To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000fa2a3d061c0b35f1" Received-SPF: pass client-ip=2607:f8b0:4864:20::e30; envelope-from=giovanni.pavolini@gmail.com; helo=mail-vs1-xe30.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.62 X-Spam-Score: -4.62 X-Migadu-Queue-Id: DEA1D90DA X-Migadu-Scanner: mx11.migadu.com X-TUID: 6g1IMWERYsfn --000000000000fa2a3d061c0b35f1 Content-Type: text/plain; charset="UTF-8" Thanks Ihor for your quick response. I can confirm that in org 9.7.6 the behaviour for the font "Ubuntu" is the expected one. On Sat, 29 Jun 2024 at 08:34, Ihor Radchenko wrote: > Giovanni Pavolini writes: > > > I wanted to customize my default font by `(custom-set-faces '(default > > ((t(:family "Ubuntu")))))`. Then, after `M-x org-table-create` the TAB > > started creating a cell to the left of the one it should have jumped to > > (see a video here (webmd video of the screencast): > > > https://u.pcloud.link/publink/show?code=XZVXhe0Z2K8AAQBKOwQH7uE7LkNtHYGlHQTy > > ). The expected behaviour is that TAB only jumps to the next cell, > > without creating additional ones. The actual behaviour is, depending on > > the family font used, it does create an additional cell. Not every > > font causes the unexpected behaviour. > > [ Side note: we prefer text descriptions on the mailing lists. Videos, > especially uploaded to third-party servers, may disappear after > several years, leading to losing access to discussion context. Also, > not every reader can access non-text information (consider blind users) ] > > From the video the reproducer is the following: > > 1. emacs -q > 2. Create a new Org file > 3. M-x org-table-create 2x2 > 4. a TAB table TAB a TAB table > 5. Observe table filled with "a" and "table" cells > > | a | table | > |---+-------| > | a | table | > > 6. M-: (custom-set-faces '(default ((t (:family "Noto Sans CJK HK"))))) > 7. Move point to the end of buffer > 8. Repeat steps 3-4 > 9. Observe > > | a | | table | > |---+---+------| > | | a | table | > > I was able to reproduce using Org mode version shipped with Emacs 29. > I was unable to reproduce using the latest Org mode version. > > May you please try to upgrade Org mode? Does the problem disappear then? > > P.S. > Attaching the list of working/non-working fonts to keep it available for > future reference. > > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --000000000000fa2a3d061c0b35f1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Ihor for your quick response.

I can confirm that in org 9.7.6 the behaviour for the font "Ubuntu&q= uot; is the expected one.

On Sat, 29 Jun 2024 at 08:34, Ihor Radch= enko <yantar92@posteo.net>= wrote:
Giovanni= Pavolini <giovanni.pavolini@gmail.com> writes:

> I wanted to customize my default font by `(custom-set-faces '(defa= ult
> ((t(:family "Ubuntu")))))`. Then, after `M-x org-table-creat= e` the TAB
> started creating a cell to the left of the one it should have jumped t= o
> (see a video here (webmd video of the screencast):
> https://u.pcloud.= link/publink/show?code=3DXZVXhe0Z2K8AAQBKOwQH7uE7LkNtHYGlHQTy
> ). The expected behaviour is that TAB only jumps to the next cell,
> without creating additional ones. The actual behaviour is, depending o= n
> the family font used, it does create an additional cell. Not every
> font causes the unexpected behaviour.

[ Side note: we prefer text descriptions on the mailing lists. Videos,
=C2=A0 especially uploaded to third-party servers, may disappear after
=C2=A0 several years, leading to losing access to discussion context. Also,=
=C2=A0 not every reader can access non-text information (consider blind use= rs) ]

>From the video the reproducer is the following:

1. emacs -q
2. Create a new Org file
3. M-x org-table-create <RET> 2x2 <RET>
4. a TAB table TAB a TAB table
5. Observe table filled with "a" and "table" cells

| a | table |
|---+-------|
| a | table |

6. M-: (custom-set-faces '(default ((t (:family "Noto Sans CJK HK&= quot;)))))
7. Move point to the end of buffer
8. Repeat steps 3-4
9. Observe

| a |=C2=A0 =C2=A0| table |
|---+---+------|
|=C2=A0 =C2=A0| a | table |

I was able to reproduce using Org mode version shipped with Emacs 29.
I was unable to reproduce using the latest Org mode version.

May you please try to upgrade Org mode? Does the problem disappear then?
P.S.
Attaching the list of working/non-working fonts to keep it available for future reference.


--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>
--000000000000fa2a3d061c0b35f1--