From: Keith David Bershatsky <esq@lawlist.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Problems with move_it_in_display_line_to X when tabs exist.
Date: Sun, 03 Dec 2017 19:01:47 -0800 [thread overview]
Message-ID: <m28tejci1w.wl%esq@lawlist.com> (raw)
I built Emacs 26 for Windows (using my modification patch) and ran the same series of tests along with taking a screen-shot at the link below. it.pixel_width is correct on Emacs 26 for Windows, whereas it.pixel_width is wrong on Emacs 26 for OSX 10.6.8. it.what reports IT_CHARACTER on both platforms, however, I expected the result to be IT_STRETCH. Later this evening, I will experiment with the recipe that you tried in your previous email.
SCREEN-SHOT:
https://www.lawlist.com/images/pgrowx_c.png
GDB:
(gdb) frame 2
#2 0x01027098 in mc_draw_crosshairs (w=0x53df718) at xdisp.c:1917
1917 emacs_abort ();
(gdb) pgrowx glyph_row
TEXT: 17 glyphs
0 0: CHAR[x] pos=1102 blev=0,btyp=L w=8 a+d=12+4 MB
1 8: CHAR[x] pos=1103 blev=0,btyp=L w=8 a+d=12+4 MB
2 16: CHAR[x] pos=1104 blev=0,btyp=L w=8 a+d=12+4 MB
3 24: CHAR[0xbb] pos=1105 blev=0,btyp=L w=8 a+d=12+4 face=30 MB
4 32: STRETCH[16+12] pos=1105 w=16 a+d=12+4 face=29 MB
5 48: CHAR[h] pos=1106 blev=0,btyp=L w=8 a+d=12+4 MB
6 56: CHAR[e] pos=1107 blev=0,btyp=L w=8 a+d=12+4 MB
7 64: CHAR[l] pos=1108 blev=0,btyp=L w=8 a+d=12+4 MB
8 72: CHAR[l] pos=1109 blev=0,btyp=L w=8 a+d=12+4 MB
9 80: CHAR[o] pos=1110 blev=0,btyp=L w=8 a+d=12+4 MB
10 88: CHAR[-] pos=1111 blev=0,btyp=L w=8 a+d=12+4 MB
11 96: CHAR[w] pos=1112 blev=0,btyp=L w=8 a+d=12+4 MB
12 104: CHAR[o] pos=1113 blev=0,btyp=L w=8 a+d=12+4 MB
13 112: CHAR[r] pos=1114 blev=0,btyp=L w=8 a+d=12+4 MB
14 120: CHAR[l] pos=1115 blev=0,btyp=L w=8 a+d=12+4 MB
15 128: CHAR[d] pos=1116 blev=0,btyp=L w=8 a+d=12+4 MB
16 136: CHAR[ ] pos=0 blev=0,btyp=B w=8 a+d=12+4 MB
(gdb) print it.pixel_width
$1 = 16
(gdb) print it.what
$2 = IT_CHARACTER
(gdb) print it.current_x
$3 = 32
(gdb) print it.method
$4 = GET_FROM_DISPLAY_VECTOR
(gdb) print it.c
$5 = 9
(gdb) print it.char_to_display
$6 = 9
next reply other threads:[~2017-12-04 3:01 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-04 3:01 Keith David Bershatsky [this message]
2017-12-04 16:26 ` Problems with move_it_in_display_line_to X when tabs exist Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2018-01-23 7:38 Keith David Bershatsky
2018-01-21 20:32 Keith David Bershatsky
2018-01-16 17:53 Keith David Bershatsky
2018-01-16 4:41 Keith David Bershatsky
2018-01-16 17:00 ` Eli Zaretskii
2018-01-15 5:48 Keith David Bershatsky
2018-01-15 12:06 ` Eli Zaretskii
2017-12-06 16:24 Keith David Bershatsky
2017-12-04 8:03 Keith David Bershatsky
2017-12-03 20:56 Keith David Bershatsky
2017-12-04 15:48 ` Eli Zaretskii
2017-12-03 3:38 Keith David Bershatsky
2017-12-03 14:29 ` Eli Zaretskii
2017-12-02 22:28 Keith David Bershatsky
2017-12-03 3:32 ` Eli Zaretskii
2017-12-02 19:52 Keith David Bershatsky
2017-12-02 21:14 ` Eli Zaretskii
2017-11-30 4:29 Keith David Bershatsky
2017-11-29 6:12 Keith David Bershatsky
2017-11-29 18:04 ` Eli Zaretskii
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m28tejci1w.wl%esq@lawlist.com \
--to=esq@lawlist.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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.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).