From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7401 invoked by alias); 10 Jun 2018 14:02:42 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 42980 Received: (qmail 1622 invoked by uid 1010); 10 Jun 2018 14:02:42 -0000 X-Qmail-Scanner-Diagnostics: from mail-it0-f45.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.214.45):SA:0(-1.9/5.0):. Processed in 0.584901 secs); 10 Jun 2018 14:02:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIMWL_WL_MED,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: dana@dana.is X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=XaH3JJyoXxFkcuA55D/jB3TNlcY07YswsvKwWeyWUoE=; b=oBFb4g1fH4zP0xAm5oriM0N4TCjSyBJUyuygwbrjWQ+adRFPr99MxJ9G3Kz7uXzzKl OUczHkv0X8z3HhJE7VGKizOxmW9EmfG4S1EGnskvQ9vj8X2+v+ba41PmxW3R6htN2xZx aTM7onrOowGHYwb9U8vA9YbdRzAfZd/abQ4fbSTR1Lm6uxfOZvTvICc19M7/gPk7dWiK WBMs4edY+G/JkVgrKvN7mGkz9UtBjpahWnsx1E0d8fhTkYpavPHOrCcPfGfv8+DA25xD Zw58wlIpBOzDIrTW/9FrFE/HCKVQIFo0xqJy20OuCIV6MdQGT3B28SquQYU/FlQEyFcX SKHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=XaH3JJyoXxFkcuA55D/jB3TNlcY07YswsvKwWeyWUoE=; b=i1g0yo7sHAsxR+55HWltUOTryqC+IoqRyKT9u6iYUa8eEsFa0yzjfMZFgPkZTmLRP2 JXX+idBmDiwZWs5DTL0+PyHlN/ygWSeISKJQsFhPPb5EKtqKTiTuBAvuzQUxz3KSQH34 GFZ+Bn6vkXReZ5cA3f2bETEih2I2Xwx5jhty/ex7ioE/VLJzgHnSxUhLH7OqJJeoya2j HjhIeLgU0G6V5ktiWXwolCEgA1gRCL9dCSF/j/uBVVLwQNz3lcs9WQIw914eY14j9m+U JR/ACOqCxWn/xEQwLQSJ2NjqF5ugRWo5ARjsnfXPZU5Pq8YziH56MhNDtQOUllAs68Ji SKew== X-Gm-Message-State: APt69E23oWeY+5Jm5m/ZMshTAMwNuE+ZRsFD6wawadhrm7ukpREDIBmQ xZMcQH4P90RN8JNGbSJE3vIwgIi7epo= X-Google-Smtp-Source: ADUXVKICRFaIdUrQCLZS2qiaO/WUTOJpW72Cv9hY3DBz9GcwJVYJAletETMttMRO+ZB7hFuaW5TkYw== X-Received: by 2002:a24:5594:: with SMTP id e142-v6mr7513166itb.46.1528639359117; Sun, 10 Jun 2018 07:02:39 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [PATCH] Completion: Improve _man From: dana In-Reply-To: <17923.1528636054@thecus> Date: Sun, 10 Jun 2018 09:02:37 -0500 Cc: Oliver Kiddle Content-Transfer-Encoding: quoted-printable Message-Id: References: <9B2A476B-3C9F-4757-9818-4815A9417253@dana.is> <17923.1528636054@thecus> To: Zsh workers X-Mailer: Apple Mail (2.3273) On 10 Jun 2018, at 08:07, Oliver Kiddle wrote: >Is this the line where you removed * from: > dirs=3D( $^_manpath/(sman|man|cat)${^sects}*/ ) > >I think I've seen systems with directories named man1.Z/cat1.Z etc. >HP/UX perhaps. Perhaps also locales have occured such as man3f.fi_FI >I suspect the * was to handle something like that rather than for the >undesirable functionality you describe. It is, and that would make sense. If that is indeed the reason the = pattern was there, maybe it would be more accurate like this? dirs=3D( $^_manpath/(sman|man|cat)${^sects}(|.*)/ ) But then i think we'd need to strip the .* back out afterwards too. On 10 Jun 2018, at 08:07, Oliver Kiddle wrote: >It looks like the sections will be changing with Solaris 11.4: > = >https://blogs.oracle.com/solaris/normalizing-man-page-section-numbers-in-= solaris-114-v2 lol. Well... that's time well spent then. Also i guess that change is going to introduce another issue like the = current _shutdown function has where relying on OSTYPE alone produces false = positives (because all of the Solaris variants report solaris2.11 or whatever, but = some of them are quite different from each other =E2=80=94 now they'll have = different man-page structures). >This results in all sections for which we don't have a description >getting an empty description. The descriptions that we have are then >pushed right over to the right like this: Yeahhh. I identified that problem at some point, but then i forgot about = the actual implications. I like the _describe solution. I'll try to fix any remaining issues with this later. Thanks! dana