Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 2/3] jp: Use `(nil)` for empty identifier strings
- X-seq: zsh-workers 42280
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Joey Pabalinas <joeypabalinas@xxxxxxxxx>
- Subject: Re: [PATCH 2/3] jp: Use `(nil)` for empty identifier strings
- Date: Sun, 14 Jan 2018 12:30:52 -0800
- Cc: dana <dana@xxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jMbz7qqnyncrhZXST8KaeP80oZvkEjJhQw/T1zC+qzw=; b=B5XEaJCWOhPX6lXecOov9mujzuJ4vf1RbVDjpnToLte/XOEYwef7Mf990kPktF6+Bc vJU91Hbv+cnCCWW52MgRk6RaIzAAqTDlSwlD0VYO55CdWFWCxJsJd+HaUO+XxUqbSiTS nW02keWh4Vxlkf1JcceD4/axwdhTSfDIUuc426/4NAADV7ca67zNxax72qrSwpwqeDXk irUD204Hz9/UK4uFfmH2TmMWTKotXmMbEnCMIehFFOXrOC8nS2TakE3RDWecUbuAETB6 CXI7OTQv/1OWXd12GdLevM79HBzXQGrCUMLr9wccWVNv7DXG4QYpYJRXeECp9F96rmZq MJrg==
- In-reply-to: <20180114152344.12018-3-joeypabalinas@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20180114152344.12018-1-joeypabalinas@gmail.com> <20180114152344.12018-3-joeypabalinas@gmail.com>
On Sun, Jan 14, 2018 at 7:23 AM, Joey Pabalinas <joeypabalinas@xxxxxxxxx> wrote:
> Indicate the presence of an empty identifier string using `(nil)`; the
> empty string case should still provide a somewhat useful error message using:
>
>> zsh:1: not an identifier: (nil)
>
> rather than:
>
>> zsh:1: not an identifier:
>
> which is fairly confusing and sort of useless.
We use "(nil)" literally nowhere else. This needs some discussion,
especially before any effort is put into changing any of the
zerr*/zwarn* functions.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author