From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24705 invoked from network); 3 Jul 2020 16:23:05 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 3 Jul 2020 16:23:05 -0000 Received: (qmail 19821 invoked by alias); 3 Jul 2020 16:22:51 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: Sender: zsh-users@zsh.org X-Seq: 24975 Received: (qmail 10910 invoked by uid 1010); 3 Jul 2020 16:22:51 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25857. spamassassin: 3.4.4. Clear:RC:0(66.111.4.25):SA:0(-2.6/5.0):. Processed in 5.08885 secs); 03 Jul 2020 16:22:51 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrtdeigddutdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth hqredtreerjeenucfhrhhomhepfdffrghnihgvlhcuufhhrghhrghffdcuoegurdhssegu rghnihgvlhdrshhhrghhrghfrdhnrghmvgeqnecuggftrfgrthhtvghrnhepfefhkeefve eileelheeiffdtkedujeelvdfhtdejtdeggedvuefffeelhefhvdfgnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrd hshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-dev0-576-gfe2cd66-fm-20200629.001-gfe2cd668 Mime-Version: 1.0 Message-Id: In-Reply-To: <911983023.281006.1593691210724@mail2.virginmedia.com> References: <3580763ca2a81e24786f92071be073833b820b83.camel@ntlworld.com> <20200702113640.3343ff0c@tarpaulin.shahaf.local2> <911983023.281006.1593691210724@mail2.virginmedia.com> Date: Fri, 03 Jul 2020 16:21:22 +0000 From: "Daniel Shahaf" To: zsh-users@zsh.org Subject: =?UTF-8?Q?Hyphens,_minuses,_and_dashes_(was:_Re:_How_to_impose_a_numeric?= =?UTF-8?Q?_sort_on_negative_numbers=3F)?= Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Peter Stephenson wrote on Thu, 02 Jul 2020 12:00 +00:00: > So it's sort of doing the right thing at least from the point of what'= s visible > in text. >=20 > However(!), what we really want here is indeed an ASCII hyphen, becaus= e this > is what your're typing. To be clear, I never proposed to change the definition of DASH(); I only= said the new text shouldn't use that macro. We seem to be in agreement on th= at. Thanks for the background on TeX's handling of hyphens. (I was already familiar with most of those details, actually, though not with info(1)'s= handling of runs of hyphens.) > (It's not even actually a minus sign because this is an input code, > not a mathematical expression. For what it's worth, which is very > little, this would be different in TeX, $-$, but no other format I > know of really cares.) TeX is not the only format that distinguishes hyphen and minus; Unicode does, too. (There's U+2010 HYPHEN, U+2212 MINUS SIGN, and even U+00AD SOFT HYPHEN.) > I have a vague memory we got into problems with such things in YODL > once, which is why I used the macro. But looking at the current doc > source doesn't suggest any trace of it, so I'll abandon that. There > have been many improvements in YODL since then. Hmm. This reminds me: in the HTML FAQ emdash() renders as =C2=AB"---"=C2= =BB, whereas in the HTML manual =C2=ABDASH()-=C2=BB is rendered as "=E2=80=94= ". Looking at the respective Makefiles, I suspect this might be because the= FAQ is built by yodl2html(1), whereas the manual is built by yodl + texi2any(1) [=3D $(TEXI2HTML)]. > pws Cheers, Daniel