emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Giovanni Pavolini <giovanni.pavolini@gmail.com>
Cc: emacs-orgmode@gnu.org
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/)]
Date: Sat, 29 Jun 2024 13:35:55 +0000	[thread overview]
Message-ID: <874j9bzxac.fsf@localhost> (raw)
In-Reply-To: <CABSpfxFfD_Pw8wQ6PKt=5TX3eeJwiABFKQ6bQf4U1d8GWongTA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]

Giovanni Pavolini <giovanni.pavolini@gmail.com> 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 <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")))))
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.


[-- Attachment #2: test.org --]
[-- Type: application/vnd.lotus-organizer, Size: 3235 bytes --]

Abyssinica SIL: *OK*
Andale Mono: *OK*
Ani: *OK*
AnjaliOldLipi: *OK*
Arial Black: *FAILS*
Arial: *OK*
Bitstream Charter: *OK*
C059: *OK*
Chandas: *OK*
Chilanka: *OK*
Comic Sans MS: *OK*
Courier 10 Pitch: *OK*
Courier New: *OK*
D050000L: *FAILS*
DejaVu Sans Mono: *OK*
DejaVu Sans: *OK*
DejaVu Serif: *OK*
Dhurjati: *OK*
Droid Sans Fallback: *OK*
Dyuthi: *FAILS*
FreeMono: *OK*
FreeSans: *FAILS*
FreeSerif: *OK*
Gargi: *FAILS*
Garuda: *OK*
Gayathri: *FAILS*
Georgia: *OK*
Gidugu: *FAILS*
Gubbi: *OK*
Gurajada: *OK*
Impact: *FAILS*
Jamrul: *FAILS*
KacstArt: *FAILS*
KacstBook: *FAILS*
KacstDecorative: *FAILS*
KacstDigital: *FAILS*
KacstFarsi: *FAILS*
KacstLetter: *FAILS*
KacstNaskh: *FAILS*
KacstOffice: *FAILS*
KacstOne: *OK*
KacstPen: *OK*
KacstPoster: *OK*
KacstQurn: *OK*
KacstScreen: *OK*
KacstTitle: *OK*
KacstTitleL: *OK*
Kalapi: *OK*
Kalimati: *OK*
Karumbi: *OK*
Keraleeyam: *OK*
Khmer OS System: *OK*
Khmer OS: *OK*
Kinnari: *OK*
LKLUG: *OK*
LakkiReddy: *OK*
Laksaman: *OK*
Liberation Mono: *OK*
Liberation Sans Narrow: *OK*
Liberation Sans: *OK*
Liberation Serif: *OK*
Likhan: *OK*
Lohit Assamese: *OK*
Lohit Bengali: *OK*
Lohit Devanagari: *OK*
Lohit Gujarati: *OK*
Lohit Gurmukhi: *OK*
Lohit Kannada: *OK*
Lohit Malayalam: *OK*
Lohit Odia: *OK*
Lohit Tamil Classical: *OK*
Lohit Tamil: *OK*
Lohit Telugu: *OK*
Loma: *OK*
Mallanna: *OK*
Mandali: *OK*
Manjari: *FAILS*
Meera: *OK*
Mitra: *OK*
Mukti: *FAILS*
NATS: *OK*
NTR: *OK*
Nakula: *OK*
Navilu: *OK*
Nimbus Mono PS: *OK*
Nimbus Roman: *OK*
Nimbus Sans Narrow: *OK*
Nimbus Sans: *OK*
Norasi: *OK*
Noto Color Emoji: *OK*
Noto Mono: *OK*
Noto Sans CJK HK: *FAILS*
Noto Sans CJK JP: *FAILS*
Noto Sans CJK KR: *FAILS*
Noto Sans CJK SC: *FAILS*
Noto Sans CJK TC: *FAILS*
Noto Sans Mono CJK HK: *OK*
Noto Sans Mono CJK JP: *OK*
Noto Sans Mono CJK KR: *OK*
Noto Sans Mono CJK SC: *OK*
Noto Sans Mono CJK TC: *OK*
Noto Sans Mono: *OK*
Noto Serif CJK HK: *FAILS*
Noto Serif CJK JP: *FAILS*
Noto Serif CJK KR: *FAILS*
Noto Serif CJK SC: *FAILS*
Noto Serif CJK TC: *FAILS*
OpenSymbol: *OK*
P052: *OK*
Padauk Book: *OK*
Padauk: *OK*
Pagul: *OK*
Peddana: *OK*
Phetsarath OT: *OK*
Ponnala: *OK*
Pothana2000: *OK*
Potti Sreeramulu: *FAILS*
Purisa: *OK*
Rachana: *OK*
RaghuMalayalamSans: *OK*
Ramabhadra: *OK*
Ramaraja: *OK*
Rasa: *OK*
RaviPrakash: *OK*
Rekha: *OK*
Saab: *OK*
Sahadeva: *OK*
Samanata: *OK*
Samyak Devanagari: *OK*
Samyak Gujarati: *OK*
Samyak Malayalam: *OK*
Samyak Tamil: *OK*
Sarai: *OK*
Sawasdee: *OK*
Sree Krushnadevaraya: *OK*
Standard Symbols PS: *FAILS*
Suranna: *OK*
Suravaram: *OK*
Suruma: *FAILS*
Syamala Ramana: *FAILS*
TenaliRamakrishna: *OK*
Tibetan Machine Uni: *OK*
Times New Roman: *OK*
Timmana: *OK*
Tlwg Mono: *OK*
Tlwg Typewriter: *OK*
Tlwg Typist: *OK*
Tlwg Typo: *OK*
Trebuchet MS: *OK*
URW Bookman: *OK*
URW Gothic: *OK*
Ubuntu Condensed: *OK*
Ubuntu Mono: *OK*
Ubuntu: *FAILS*
UbuntuMono Nerd Font Mono: *OK*
UbuntuMono Nerd Font Propo: *OK*
UbuntuMono Nerd Font: *OK*
Umpush: *OK*
Uroob: *OK*
Vemana2000: *OK*
Verdana: *OK*
VictorMono Nerd Font Mono: *OK*
VictorMono Nerd Font Propo: *OK*
VictorMono Nerd Font: *OK*
Waree: *OK*
Webdings: *OK*
Yrsa: *OK*
Z003: *OK*
aakar: *OK*
mry_KacstQurn: *OK*
ori1Uni: *OK*
padmaa-Bold.1.1: *OK*
padmaa: *OK*

[-- Attachment #3: Type: text/plain, Size: 224 bytes --]


-- 
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>

  reply	other threads:[~2024-06-29 13:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-29  2:48 [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/)] Giovanni Pavolini
2024-06-29 13:35 ` Ihor Radchenko [this message]
2024-06-29 18:05   ` Giovanni Pavolini
2024-06-29 18:15     ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874j9bzxac.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=giovanni.pavolini@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).