Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666780 - app-editors/emacs-26.1-r3 with x11-terms/rxvt-unicode-9.22-r1 - after entering six spaces, the seventh space is not displayed until the eighth space is entered
Summary: app-editors/emacs-26.1-r3 with x11-terms/rxvt-unicode-9.22-r1 - after enterin...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-23 00:45 UTC by Hadrien Lacour
Modified: 2018-09-25 13:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
video describing the problem (ffmpeg-capture_644x388+957,525_2018-09-23_02:21:15_0-21.217000_4MB.webm,333.02 KB, video/webm)
2018-09-23 00:45 UTC, Hadrien Lacour
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hadrien Lacour 2018-09-23 00:45:30 UTC
Created attachment 547536 [details]
video describing the problem

Hello,

sorry for the poor description of the bug, but I have no idea where's it's coming from. I couldn't reproduce by using x11-terms/st or another editor (tried with busybox vi or simply cat).
This is by using emacs -Q -nw (so no surprises with config files), and I tried with removing all the urxvt Xresources from the X server.

Every 6 spaces, the seventh doesn't display and I get a sudden jump of two when typing the eigth (makes me think something is wrong with tabs or maybe the terminfo). Attached is a video of the bug (sorry for displaying problems, this is 4:4:4 chroma subsampling).
Comment 1 Ulrich Müller gentoo-dev 2018-09-25 12:26:01 UTC
Looks like this is a known problem:
https://bbs.archlinux.org/viewtopic.php?pid=1018150#p1018150

Does starting the terminal with "urxvt +ptab" fix it for you?
Comment 2 Hadrien Lacour 2018-09-25 13:03:05 UTC
Yes, it does! Too bad I didn't land on this page during my search. Incidentally, even after reading the manpage, I still don't understand it fully.
Comment 3 Ulrich Müller gentoo-dev 2018-09-25 13:10:27 UTC
Maybe worthwhile to report this to emacs or (and?) rxvt upstream. I fear there isn't much we can do about this at the distro level.
Comment 4 Hadrien Lacour 2018-09-25 13:12:30 UTC
rxvt-unicode is kind of dead, but emacs has a chance. Anyway, just leaving the bug open is already plenty.
Comment 5 Hadrien Lacour 2018-09-25 13:28:19 UTC
I was on the verge of reporting it, but the more I look at it, the more it doesn't look like a bug; more like a strange default.