GNU bug report logs -
#39146
[PATCH] gnu: icecat: Remove compiler paths from about:buildconfig
Previous Next
Reported by: Jakub Kądziołka <kuba <at> kadziolka.net>
Date: Wed, 15 Jan 2020 22:22:01 UTC
Severity: normal
Tags: patch
Done: Jakub Kądziołka <kuba <at> kadziolka.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Jakub, all,
On Mon, Feb 10, 2020 at 7:38 PM, Jakub =?UTF-8?b?S8SFZHppb8WCa2E=?=
<kuba <at> kadziolka.net> wrote:
> On Thu, Jan 23, 2020 at 09:53:48PM -0500, Mark H Weaver wrote:
>> I like the approach of Tobias' proposed patch, but to avoid losing
>> information (most of the hash), how about changing:
>>
>> (string-append store (string-take hash 8) "…")
>>
>> to something like:
>>
>> (string-append store (string-take hash 2) "." (string-drop hash
>> 2))
>>
>> What do you think? Anyway, I don't feel strongly about it, and I
>> acknowledge that neither approach is perfect.
> I feel like the unicode character "…" makes it much more clear that
> the
> path has been modified, but it's a moot point considering that if
> someone might get confused by this, they probably won't be able to
> make
> use of the hash.
>
> However, now that I come back to this after some time, I realize that
> there is another solution:
>
> (string-append store (string-take hash 8) "<span></span>"
> (string-drop hash 8))
>
> This would neuter the reference without having any user-visible
> impact on
> about:buildconfig. What do you think?
The truncation of these very long paths was fully intended as a
feature, but if people do think they're actually useful I think this is
a clever hack worthy of Guix :-)
Have you tested whether copying & pasting still works fine with this?
Kind regards,
T G-R, adrift without mu4e
This bug report was last modified 5 years and 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.