GNU bug report logs -
#44594
tabulated-list-mode: column header needlessly truncated
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Thu, 12 Nov 2020 15:28:01 UTC
Severity: minor
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44594 in the body.
You can then email your comments to 44594 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
stephen.berman <at> gmx.net, bug-gnu-emacs <at> gnu.org
:
bug#44594
; Package
emacs
.
(Thu, 12 Nov 2020 15:28:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Kangas <stefan <at> marxist.se>
:
New bug report received and forwarded. Copy sent to
stephen.berman <at> gmx.net, bug-gnu-emacs <at> gnu.org
.
(Thu, 12 Nov 2020 15:28:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Severity: minor
The column header in tabulated-list-mode is needlessly truncated.
Steps to reproduce:
0. emacs -Q
1. M-x list-buffers RET
2. C-x o
3. C-4 C-f
4. C-1 C-4 {
Result: The header is truncated to "Buff..." even though there is enough
space to show it all.
Expected result: The header is not truncated.
---
Here is a list of commands where this could be tested:
list-buffers, list-bookmarks, list-packages, list-processes,
list-dynamic-libraries, org-lint and flymake-diagnostics-buffer-mode
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44594
; Package
emacs
.
(Sat, 14 Nov 2020 16:09:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 44594 <at> debbugs.gnu.org (full text, mbox):
[0001-doc-add-a-note-about-relabling-after-upgrades-to-the.patch (text/x-patch, inline)]
From b29749885c93811f901d0ec4e13de38f70f8c100 Mon Sep 17 00:00:00 2001
From: Daniel Brooks <db48x <at> db48x.net>
Date: Sat, 14 Nov 2020 08:04:30 -0800
Subject: [PATCH v4] doc: add a note about relabling after upgrades to the
SELinux Support section of the manual
* doc/guix.texi (SELinux Support): add note about upgrades
---
doc/guix.texi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/guix.texi b/doc/guix.texi
index 8440ffffc7..67f5155b9f 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1398,6 +1398,11 @@ install and run it, which lifts it into the @code{guix_daemon_t} domain.
At that point SELinux could not prevent it from accessing files that are
allowed for processes in that domain.
+You will need to relabel the @file{/gnu} directory after all upgrades to
+@file{guix-daemon}, such as with @code{guix pull}. You can do this with
+@code{restorecon -vR /gnu}, or by other means provided by your operating
+system.
+
We could generate a much more restrictive policy at installation time,
so that only the @emph{exact} file name of the currently installed
@code{guix-daemon} executable would be labelled with
--
2.26.2
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44594
; Package
emacs
.
(Sat, 14 Nov 2020 16:37:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 44594 <at> debbugs.gnu.org (full text, mbox):
Daniel Brooks <db48x <at> db48x.net> writes:
>>From b29749885c93811f901d0ec4e13de38f70f8c100 Mon Sep 17 00:00:00 2001
> From: Daniel Brooks <db48x <at> db48x.net>
> Date: Sat, 14 Nov 2020 08:04:30 -0800
> Subject: [PATCH v4] doc: add a note about relabling after upgrades to the
> SELinux Support section of the manual
>
> * doc/guix.texi (SELinux Support): add note about upgrades
This mail ended up in the Emacs bug tracker, so it sounds like it was
sent to the wrong bug number?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44594
; Package
emacs
.
(Sat, 14 Nov 2020 16:49:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 44594 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Daniel Brooks <db48x <at> db48x.net> writes:
>
>>>From b29749885c93811f901d0ec4e13de38f70f8c100 Mon Sep 17 00:00:00 2001
>> From: Daniel Brooks <db48x <at> db48x.net>
>> Date: Sat, 14 Nov 2020 08:04:30 -0800
>> Subject: [PATCH v4] doc: add a note about relabling after upgrades to the
>> SELinux Support section of the manual
>>
>> * doc/guix.texi (SELinux Support): add note about upgrades
>
> This mail ended up in the Emacs bug tracker, so it sounds like it was
> sent to the wrong bug number?
Oops, I transposed two digits in the bug number. Sorry about the noise!
db48x
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44594
; Package
emacs
.
(Fri, 27 Aug 2021 16:43:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 44594 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Stefan Kangas <stefan <at> marxist.se> writes:
> The column header in tabulated-list-mode is needlessly truncated.
>
> Steps to reproduce:
>
> 0. emacs -Q
> 1. M-x list-buffers RET
> 2. C-x o
> 3. C-4 C-f
> 4. C-1 C-4 {
>
> Result: The header is truncated to "Buff..." even though there is enough
> space to show it all.
>
> Expected result: The header is not truncated.
The issue is basically this:
(truncate-string-to-width "Buffer" 5 nil nil t)
=> "Buff…"
Or... Uhm... Oh! I've never noticed that the mode lets column overlap:
;; Truncate labels if necessary (except last column).
;; Don't truncate to `width' if the next column is align-right
;; and has some space left, truncate to `available-space' instead.
(when (and not-last-col
(> label-width available-space))
(setq label (truncate-string-to-width
label available-space nil nil t t)
label-width available-space))
[Message part 2 (image/png, inline)]
[Message part 3 (text/plain, inline)]
So we allow column data to extend into the next column (if the next
column is right-aligned). But we don't do the same computation in the
header? Right.
Now fixed in Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug marked as fixed in version 28.1, send any further explanations to
44594 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Fri, 27 Aug 2021 16:43:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 25 Sep 2021 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 326 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.