[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67925: 29.1; delete-rectangle fails on multi-column characters
From: |
Juri Linkov |
Subject: |
bug#67925: 29.1; delete-rectangle fails on multi-column characters |
Date: |
Sat, 23 Dec 2023 19:30:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
>> Does the same problem exist for deleting rectangles in texts
>> with a variable-pitch font?
>
> No, with variable pitch fonts there is also a problem but it's
> a different one. Basically the rectangle commands operate by pretending
> your font is monospaced. You can see it with the rectangle highlighting
> of `C-x SPC` where the "rectangle" won't be very rectangular in the
> presence of variable pitch fonts.
>
> For such cases, it's not even clear what The Right Thing™ should be.
I tried "Block Area Selection" in LibreOffice with variable pitch fonts,
and the vertical lines are not straight:
![PNG image](pngpl5i22KJb4.png)
So maybe it's impossible to draw straight rectangle boundaries.
OTOH, with monospaced fonts LibreOffice selects such Block Area
on the reported text:
![PNG image](pngWu18WTNDCq.png)
and DEL deletes the selected text. So maybe Emacs should do the same.
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, awrhygty, 2023/12/20
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, Eli Zaretskii, 2023/12/20
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, awrhygty, 2023/12/21
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, Eli Zaretskii, 2023/12/21
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, awrhygty, 2023/12/21
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, Eli Zaretskii, 2023/12/21
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, Stefan Monnier, 2023/12/21
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, Juri Linkov, 2023/12/22
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, Eli Zaretskii, 2023/12/22
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, Stefan Monnier, 2023/12/22
- bug#67925: 29.1; delete-rectangle fails on multi-column characters,
Juri Linkov <=
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, Eli Zaretskii, 2023/12/23
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, Juri Linkov, 2023/12/24
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, Stefan Kangas, 2023/12/24
- bug#67925: 29.1; delete-rectangle fails on multi-column characters, Eli Zaretskii, 2023/12/28