Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] _describe and literal \n
- X-seq: zsh-workers 39584
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] _describe and literal \n
- Date: Fri, 7 Oct 2016 13:50:44 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=YSWRZH2sG3b0KKKhXOuTe++2oqw=; b=UxaQP/ a5PgdY0L0m0XM5uYx0cF3V2KJoCdnsu+VzqcqOb5dvsD34o2UNvd8GozYn8HTSaM Dyu1NTHq72vFmSM4v9PpqOty11H417FLpAPL2v8pSUvLmgrVaoKu/H911RQr4Af4 sXNtOnP1Vp3ww5ojvbxKjo6zTqSbmBB6jOk8U=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=YSWRZH2sG3b0KKKhXOuTe++2oqw=; b=pjH// TaeeVjYQNf7ngFrhEr/MJE7wjo3dm/6CF2Xo5GQwvdx9JoKQFVZw8UYwDTlFY8d2 tfhDBTaxiljJCCpPc4IP+YzexS3PlBTpK36nzcElALHgdpeBw16bwgGHNmu2SF7C WnJGiae8SbftHfGdJcFnoEPNDj5/HD+M7sywPo=
- In-reply-to: <20160929141139.GA5059@fujitsu.shahaf.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20160723180430.GA22451@tarsus.local2> <160723130059.ZM19333@torch.brasslantern.com> <20160723212345.GA2982@tarsus.local2> <5530.1469316428@hydra.kiddle.eu> <20160724213046.GB27932@tarsus.local2> <92023.1475008338@hydra.kiddle.eu> <20160929141139.GA5059@fujitsu.shahaf.local2>
Daniel Shahaf wrote on Thu, Sep 29, 2016 at 14:11:39 +0000:
> compadd prints the description using nice*() functions, but _describe
> does its width computations using the raw string length; hence compadd
> prints a longer string than _describe computed.
>
> @@ -199,11 +199,11 @@ cd_calc(void)
> - if ((l = MB_METASTRWIDTH(str->str)) > cd_state.premaxw)
> + if ((l = ZMB_nicewidth(str->str)) > cd_state.premaxw)
I haven't forgotten about this; I'd like to review it again before
pushing, but haven't yet had time to do so.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author