From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: [Noah Friedman] Man-softhyphen-to-minus Date: Sat, 02 Aug 2014 03:46:02 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1406965592 29711 80.91.229.3 (2 Aug 2014 07:46:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Aug 2014 07:46:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 02 09:46:24 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XDU1I-0001mt-3e for ged-emacs-devel@m.gmane.org; Sat, 02 Aug 2014 09:46:24 +0200 Original-Received: from localhost ([::1]:43304 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDU1H-0006Sn-NZ for ged-emacs-devel@m.gmane.org; Sat, 02 Aug 2014 03:46:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDU16-0006Rg-VG for emacs-devel@gnu.org; Sat, 02 Aug 2014 03:46:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XDU0z-0006gi-Cz for emacs-devel@gnu.org; Sat, 02 Aug 2014 03:46:12 -0400 Original-Received: from smtp-pri-02-2.vtxnet.net ([212.147.62.156]:36448 helo=smtp-pri-02.vtxnet.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDU0z-0006gT-6Y for emacs-devel@gnu.org; Sat, 02 Aug 2014 03:46:05 -0400 Original-Received: from fmsmemgm.homelinux.net (dyn.83-228-141-040.dsl.vtx.ch [83.228.141.40]) by smtp-pri-02.vtxnet.net (VTX Services SA) with ESMTP id 1C54637DCBE; Sat, 2 Aug 2014 09:46:03 +0200 (CEST) Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 10D7EAE2A0; Sat, 2 Aug 2014 03:46:02 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 212.147.62.156 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173367 Archived-At: Return-Path: X-Original-To: monnier@iro.umontreal.ca Delivered-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 3089B84F45 for ; Thu, 31 Jul 2014 19:30:30 -0400 (EDT) X-Greylist: delayed 2334 seconds by postgrey-1.27 at pinpin.iro.umontreal.ca; Thu, 31 Jul 2014 19:30:15 EDT Received: from splode.com (bacon-event-horizon.splode.com [74.207.245.10]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id 88C603B907B for ; Thu, 31 Jul 2014 19:30:15 -0400 (EDT) Received: from unexploded-cow.prv.splode.com (prv.splode.com [173.8.128.9]) (authenticated bits=0) by splode.com (8.14.5/8.14.5) with ESMTP id s6VMpIL2020366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 31 Jul 2014 15:51:19 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=splode.com; s=splode-20130101; t=1406847079; bh=wWUVdcBbA09veHnwdACIGcEA90EaJnedEDu73MUJFIM=; h=From:To:Subject:Reply-To:Date; b=JHIXYqXA1CLFM4fAS+d5TC3+9s1bDE1+BCMwTrSJ/916HPb76IDWjvTBOTkXIL5J9 5ymoWbeEz2ePk38FP4JSn829lzSTH4CaYCw9aX+lCfCcUVVgt6LleV2NOolsX7toZM 1tSCKMnc6rrvEO3EbtNqwsqEV9NogwWvxwD/6Sic= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Noah Friedman To: monnier@iro.umontreal.ca Subject: Man-softhyphen-to-minus Reply-To: Noah Friedman Date: Thu, 31 Jul 2014 15:51:18 -0700 (PDT) Message-Id: <20140731155118.94932.FMU1898@unexploded-cow.prv.splode.com> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (splode.com [74.207.245.10]); Thu, 31 Jul 2014 15:51:19 -0700 (PDT) X-Spam-Status: No, score=-3.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,T_DATE_IN_FUTURE_Q_PLUS, URIBL_BLOCKED autolearn=ham version=3.3.2, No X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on bacon-event-horizon.splode.com X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.086, requis 5, autolearn=not spam, BAYES_40 -1.10, MC_POURMOI 0.01, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: noah@splode.com Now that compare-strings is more rigidly bounds checking, the function Man-softhyphen-to-minus is signalling an error when I have current-language-environment set to "UTF-8". I think (compare-strings "latin-" 0 nil current-language-environment 0 6 t) should probably be (compare-strings "latin-" 0 nil current-language-environment 0 nil t) I'm not sure what the current rules of the tree are, so I didn't want to commit this myself.