unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Ekaitz Zarraga <ekaitz@elenq.tech>
Cc: guix-devel@gnu.org
Subject: Re: guix search: first line(s) not shown
Date: Tue, 30 Jun 2020 11:33:56 +0200	[thread overview]
Message-ID: <87tuys99tn.fsf@nckx> (raw)
In-Reply-To: <mEhGq1HIPaMHk4ESZ9qEeunG7mP3xPDy91g5-e2gv7MkMkFi38iEHE-mWnqoypt_2TFcvpNpO4tCkzp6fl55bcnlzfHuT79hOTE_BeiADP0=@elenq.tech>

[-- Attachment #1: Type: text/plain, Size: 1598 bytes --]

Ekaitz,

Ekaitz Zarraga 写道:
> With the recent adoption of $PAGER in `guix search` I'm 
> experiencing an issue. The some of the firsts lines are not 
> shown if the output long enough to cover the full screen so I 
> can't see the first package name. It forces me to scroll down 
> and up again.
[…]
> Is this happening to others too?

Yes!  It looks like (at least) rendering ‘description’ doesn't 
account for the length of the "description: " prefix itself, 
making the first line too long.  That confuses less and/or makes 
it wrap non-deterministically.

After invoking ‘guix search foo’, name and version are missing, 
and:

--8<---------------cut here---------------start------------->8---
description: This package aims to provide a one-stop solution to 
requirements for footnotes.  It offers: Multiple footnote
+ apparatus superior to that of `manyfoot'.  Footnotes can be 
formatted in separate paragraphs, or be run into a
--8<---------------cut here---------------end--------------->8---

After scrolling down and then up:

--8<---------------cut here---------------start------------->8---
description: This package aims to provide a one-stop solution to 
requirements for footnotes.  It offers: Multiple footnoteus 
superior to that of `manyfoot'.  Footnotes can be formatted in 
separate paragraphs, or be run into a
--8<---------------cut here---------------end--------------->8---

(‘footnoteus’).  The description ‘shrinks’ by 2 lines, making room 
for the name and version fields at the top.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2020-06-30  9:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-30  9:16 guix search: first line not shown Ekaitz Zarraga
2020-06-30  9:33 ` Tobias Geerinckx-Rice [this message]
2020-07-02 22:01   ` guix search: first line(s) " Ludovic Courtès
2020-07-03  1:53 ` guix search: first line " Jack Hill
2020-07-03  1:56   ` Jack Hill

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://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tuys99tn.fsf@nckx \
    --to=me@tobias.gr \
    --cc=ekaitz@elenq.tech \
    --cc=guix-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/guix.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).