[mc 4.6.2] mc-utf8.patch disables visible whitespace feature

Bug #243790 reported by Alexey Borzenkov
2
Affects Status Importance Assigned to Milestone
mc (Debian)
Fix Released
Unknown
mc (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: mc

When I built and installed mc-4.6.2~git20080311 I found that it lacks the feature I love the most: visible tabs and whitespace in the editor. I found that the cause is debian/patches/utf8/mc-utf8.patch, which pretty much removes the heart of the feature (search for visible_tabs and visible_tws handled in case '\t' and case ' ' in file mc/edit/editdraw.c). Is this deliberate or accidental?

The way I see it it doesn't make any sense removing it (it has nothing to do with utf8), so I think it was done accidentally by some maintainer.

Please review and get this feature back! :)

Revision history for this message
Alexey Borzenkov (snaury) wrote :

Ah! Yes. Now I see why. Working on a patch.

Revision history for this message
Alexey Borzenkov (snaury) wrote :

The patch is completed. Either place it in debian/patches/utf8 and add to the series or merge with mc-utf8.patch. Builds fine on my Ubuntu 8.04 amd64. There's a bug in vte (gnome-terminal) though, which causes cursor to disappear (there's no such bug in xterm or konsole), but here's a patch for vte, see here:

https://savannah.gnu.org/bugs/?13146#comment17

Changed in mc:
status: Unknown → New
Revision history for this message
Alexey Borzenkov (snaury) wrote :

Actually, forget this. This makes cursor disappear in vt consoles, was a pain when I wanted to edit some files with this feature enabled, so I'm not against it.

Changed in mc:
status: New → Invalid
Changed in mc:
status: New → Fix Committed
Changed in mc:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.