From unknown Tue Jun 17 20:19:26 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23902 <23902@debbugs.gnu.org> To: bug#23902 <23902@debbugs.gnu.org> Subject: Status: 25.1.50; Strange warning on string-collate-equalp's docstring Reply-To: bug#23902 <23902@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:19:26 +0000 retitle 23902 25.1.50; Strange warning on string-collate-equalp's docstring reassign 23902 emacs submitter 23902 oscarfv@telefonica.net (=C3=93scar Fuentes) severity 23902 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 05 18:06:18 2016 Received: (at submit) by debbugs.gnu.org; 5 Jul 2016 22:06:18 +0000 Received: from localhost ([127.0.0.1]:38668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKYTy-0001Aq-HC for submit@debbugs.gnu.org; Tue, 05 Jul 2016 18:06:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKYTw-0001Ae-Fv for submit@debbugs.gnu.org; Tue, 05 Jul 2016 18:06:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKYTq-0000jz-Fd for submit@debbugs.gnu.org; Tue, 05 Jul 2016 18:06:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKYTq-0000jE-CH for submit@debbugs.gnu.org; Tue, 05 Jul 2016 18:06:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKYTo-0007hL-8y for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 18:06:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKYTi-0000f3-59 for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 18:06:07 -0400 Received: from smtp20.acens.net ([86.109.99.144]:36446 helo=smtp.movistar.es) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKYTh-0000cl-Pa for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 18:06:02 -0400 X-CTCH-RefID: str=0001.0A0B0207.577C2F47.0019, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Received: from qcore (217.125.182.141) by smtp.movistar.es (8.6.122.03) (authenticated as 981711563$telefonica.net) id 571F297703B0ED99 for bug-gnu-emacs@gnu.org; Tue, 5 Jul 2016 22:05:59 +0000 From: oscarfv@telefonica.net (=?utf-8?Q?=C3=93scar?= Fuentes) To: bug-gnu-emacs@gnu.org Subject: 25.1.50; Strange warning on string-collate-equalp's docstring Date: Wed, 06 Jul 2016 00:05:57 +0200 Message-ID: <87vb0jeo56.fsf@telefonica.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) The mentioned docstring ends with Do _not_ use this function to compare file names for equality, only for sorting them. which makes no sense to me. First of all, what's so special about file names to mention them here? And then, how one is supposed to use an equality predicate for sorting? (We have string-collate-lessp for that) In GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, X toolkit) of 2016-06-29 built on qcore Repository revision: 652b638b0f80fda2abc316f3d1b0f005c7d28e1a Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 System Description: Ubuntu 16.04 LTS From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 10:34:31 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 14:34:31 +0000 Received: from localhost ([127.0.0.1]:39626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKnuJ-0000i4-HP for submit@debbugs.gnu.org; Wed, 06 Jul 2016 10:34:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKnuH-0000hr-VE for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 10:34:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKnu6-00052J-S8 for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 10:34:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKnu6-00051w-PA; Wed, 06 Jul 2016 10:34:18 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4395 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKnu4-0005GX-UL; Wed, 06 Jul 2016 10:34:17 -0400 Date: Wed, 06 Jul 2016 17:34:02 +0300 Message-Id: <831t36omxx.fsf@gnu.org> From: Eli Zaretskii To: oscarfv@telefonica.net (=?utf-8?Q?=C3=93scar?= Fuentes) In-reply-to: <87vb0jeo56.fsf@telefonica.net> (oscarfv@telefonica.net) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: oscarfv@telefonica.net (Óscar Fuentes) > Date: Wed, 06 Jul 2016 00:05:57 +0200 > > The mentioned docstring ends with > > Do _not_ use this function to compare file names for equality, only > for sorting them. > > which makes no sense to me. First of all, what's so special about file > names to mention them here? As with any such notes in doc strings, we warn about popular mistakes that people make frequently. Trying to compare file names using this function is such a mistake. Any string that is actually a kind of handle to a system object, for which the system itself uses binary comparison, will do as an example of such a mistake, but doing that with file names is a common enough example to warrant mentioning. > And then, how one is supposed to use an > equality predicate for sorting? (We have string-collate-lessp for that) A sorting algorithm can have its own ideas what to do when string-collate-lessp returns zero. In any case, the important part here is not to use this function for file-name comparison. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:08:44 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 15:08:44 +0000 Received: from localhost ([127.0.0.1]:39664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKoRM-00038A-Cp for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:08:44 -0400 Received: from mout.web.de ([217.72.192.78]:63573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKoRG-00037s-QG for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 11:08:38 -0400 Received: from drachen.dragon ([88.67.73.210]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0Lb1wz-1bitpz25RR-00kcQn; Wed, 06 Jul 2016 17:08:26 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> Date: Wed, 06 Jul 2016 17:08:25 +0200 In-Reply-To: <831t36omxx.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Jul 2016 17:34:02 +0300") Message-ID: <87bn2aolcm.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:gBMgUQ0HxvcZDXRMIhd/IiDYYrCOcs6xTjPi4LkGsahAwRAkQo7 pG7dpWTjusqilKmt4zHYTkt27RwsyRr+AWpeufMJsdkmRv3BPUi5LG9H91KbMOJmKehnWk0 m6Te/qFtzbmvixhoqg+1RN1q5HBgWcIC/Cb/mb6qKBkQ0KtlNVtVFouAXFszdMEC50L5mxW zsU8PurCg3ReW5xXkm7GA== X-UI-Out-Filterresults: notjunk:1;V01:K0:4sQYvB3t8A8=:5WAWBC7MtZM+cKRDy8FlAm 7ne8RhMtep2FV1UxBNpnbwl+cjZHPetqZZONFJ9jCYY4Dj61vdWsPAz9KzI5DAnrQO1sW8p+u MJLfprXr5j2g8iiPJyIcC08R8Wil4jLmN33A8mv2R6BCKhMbAniUbcMIMZFcJUDeajArbEkaY 330pp3zVQe3c5fnny71dfvDJ0sXP3kdjjjSz4Lfy0/3A2wxC1TxUz5gE8VhL8MzEICuVq3qXQ Z2RshbMKdgVHxwd5zki77ol6oXy2/qhdmfCSUROAlxGHoKJkMYa8y2nigmpkVw8gxvpZhWwd/ UZ8HOHb8e6AWuspKCVvhuqbQs05OJJQ6aMK29FAvQxrhPUXPCFTvw3QDwltdoICPio27veY4B lRippECihCVGcSblPas0BWffPxQTw0SSbzt5rhk/WfSYTaJOlPb6TfAQ7mD/xAU3b4m39qmMT 71YFP/v2YukUcfD/4jhCh+7R+IyFVZl5OtfqUxfoUwr4MogTiURbR9ibVcNfIXD9zcwnL6MhY IHEG3dcKgggNmiIL0QFnh7rr+HoCqFpKomvhNdFE5OY6/Y1AOVRQLSHb6DEXJu+pb+e3ozZ9l 44aUV/fNDH71yXcvq28uD8u/Kruc8eQTnYKBfq3jWTr5Ymszgko4S95+Z1rZuOpEJpdhm3nES ebrBCXLEe48Zc10x9+YZnOBZyk4HtOfKv/2aIEcm8ow4ujp1m175Nn+3enGkLDiiWImqKVFwU H3rCr3jdJ3ywV6O4vXyLoowCL7cnJI+teGPf6TxMlEXRt9pgl0zQi6vG2rDkWaywIK815oIEO 438Hb07 X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 23902 Cc: =?utf-8?Q?=C3=93scar?= Fuentes , 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) Eli Zaretskii writes: > As with any such notes in doc strings, we warn about popular mistakes > that people make frequently. Trying to compare file names using this > function is such a mistake. Any string that is actually a kind of > handle to a system object, for which the system itself uses binary > comparison, will do as an example of such a mistake, but doing that > with file names is a common enough example to warrant mentioning. I also have trouble to understand. How can I compare file names modulo collate-equality, if not with this function? > > And then, how one is supposed to use an > > equality predicate for sorting? (We have string-collate-lessp for that) > > A sorting algorithm can have its own ideas what to do when > string-collate-lessp returns zero. But we are speaking about the docstring of `string-collate-equal-p'. It is not clear here how it (as an equivalence predicate) could be useful for sorting at all. Michael. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:28:58 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 15:28:58 +0000 Received: from localhost ([127.0.0.1]:39688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKokw-0003cH-IT for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:28:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKokr-0003bx-Fc for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 11:28:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKokj-0002cH-Q4 for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 11:28:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKokj-0002bh-Mk; Wed, 06 Jul 2016 11:28:41 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4451 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKokh-0006vx-Gj; Wed, 06 Jul 2016 11:28:40 -0400 Date: Wed, 06 Jul 2016 18:28:25 +0300 Message-Id: <83inwin5uu.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-reply-to: <87bn2aolcm.fsf@web.de> (message from Michael Heerdegen on Wed, 06 Jul 2016 17:08:25 +0200) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Michael Heerdegen > Cc: oscarfv@telefonica.net (Óscar Fuentes), > 23902@debbugs.gnu.org > Date: Wed, 06 Jul 2016 17:08:25 +0200 > > Eli Zaretskii writes: > > > As with any such notes in doc strings, we warn about popular mistakes > > that people make frequently. Trying to compare file names using this > > function is such a mistake. Any string that is actually a kind of > > handle to a system object, for which the system itself uses binary > > comparison, will do as an example of such a mistake, but doing that > > with file names is a common enough example to warrant mentioning. > > I also have trouble to understand. How can I compare file names modulo > collate-equality, if not with this function? With string=, of course. (Or, better yet, with file-equal-p, but that's a different story.) > But we are speaking about the docstring of `string-collate-equal-p'. It > is not clear here how it (as an equivalence predicate) could be useful > for sorting at all. If it is not useful, then the issue against which the note warns doesn't exist, does it? From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:46:57 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 15:46:57 +0000 Received: from localhost ([127.0.0.1]:39739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKp2L-0005ar-By for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:46:57 -0400 Received: from smtp21.acens.net ([86.109.99.145]:58963 helo=smtp.movistar.es) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKp2F-0005RZ-DU for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 11:46:51 -0400 X-CTCH-RefID: str=0001.0A0B0208.577D27E1.0022, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Received: from qcore (217.125.182.141) by smtp.movistar.es (8.6.122.03) (authenticated as 981711563$telefonica.net) id 574060E7024B1FA8; Wed, 6 Jul 2016 15:46:41 +0000 From: oscarfv@telefonica.net (=?utf-8?Q?=C3=93scar?= Fuentes) To: Eli Zaretskii Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> Date: Wed, 06 Jul 2016 17:46:39 +0200 In-Reply-To: <83inwin5uu.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Jul 2016 18:28:25 +0300") Message-ID: <87oa6aepls.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23902 Cc: Michael Heerdegen , 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> I also have trouble to understand. How can I compare file names modulo >> collate-equality, if not with this function? > > With string=, of course. (Or, better yet, with file-equal-p, but > that's a different story.) I understand why comparing file names with string-collate-equalp is a bad idea (it can return t for cases where the names are different from the POV of the file system) but then explaining this in full and pointing to file-equal-p doesn't take too much space (about the same as the current note, I'll say). (using string= for comparing file names is a bad idea for the same reason idea when the FS is case-insensitive, BTW) >> But we are speaking about the docstring of `string-collate-equal-p'. It >> is not clear here how it (as an equivalence predicate) could be useful >> for sorting at all. > > If it is not useful, then the issue against which the note warns > doesn't exist, does it? Putting notes about non-existing issues is surely confusing, isn't it? From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:48:30 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 15:48:30 +0000 Received: from localhost ([127.0.0.1]:39743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKp3o-0005m4-Sb for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:48:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKp3h-0005lm-Vi for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 11:48:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKp3b-0007s0-6q for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 11:48:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKp3Y-0007oj-8d; Wed, 06 Jul 2016 11:48:08 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bKp3V-0005tZ-K0; Wed, 06 Jul 2016 11:48:05 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> X-Spook: $400 million in gold bullion Taiwan 9705 Samford Road X-Ran: =y0<\=QeiD8b<]lG8U)iv!TU4[mNj{?+"DZfAR*B)?Dq5ki=YNx*n=yQH6\|p7^`PK1nBi X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 06 Jul 2016 11:48:03 -0400 In-Reply-To: <831t36omxx.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Jul 2016 17:34:02 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: =?utf-8?Q?=C3=93scar?= Fuentes , 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) FWIW, I also think the doc would be better without this addition. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:55:36 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 15:55:36 +0000 Received: from localhost ([127.0.0.1]:39747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpAi-0005vs-5l for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:55:36 -0400 Received: from mout.web.de ([212.227.17.11]:57746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpAc-0005vZ-9e for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 11:55:30 -0400 Received: from drachen.dragon ([88.67.73.210]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0LnB1F-1bmCEq1n3d-00hNCy; Wed, 06 Jul 2016 17:55:17 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> Date: Wed, 06 Jul 2016 17:55:16 +0200 In-Reply-To: <83inwin5uu.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Jul 2016 18:28:25 +0300") Message-ID: <877fcyoj6j.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:9GkK6G9Qs295yhGTzZ03D6EhpgfhAN/DdeFu89cwCf3eqeHa0i7 gKHRjKIGt+hqf8pssCoAPdrRCOc3THSIm0mioHvCBZk0XMFsjhAnvSljGAyXTOVfbKBKUFW oJ0rtgpRX410p4r8QqHeuol6u833aOf3OqyS07twvG5Ggj3Nq1ppPKzrOWy7G4BfWsrNDWU ZhcYYT5/W660CH01XOTpw== X-UI-Out-Filterresults: notjunk:1;V01:K0:xANa2qRPzso=:GrB8mlcnL3Bc1brkGMcOkx 3GvIQ9m20ObzysAMlim7ZTe7fO4B1z7yK0hmqJYlREEv9tETPxyge9y4yqjSiO8e39xxKShOk osYRsBgMQPuGJSq05UhFOoz5+82o/ccBjCUoECji073knZFeP3R1N/7WZJd62hc9M9CslFU5M XTGU4r/o+YQUK33HIiYRpnLlOzIC+N/yb/0VDa7FUY/6O7Mh1Wls7njgkGxUdsTUuNlQ/wLsW tzzNdYncSwA3X2j8sFjrXDtHqrSeu7r8LPIUyKs09XufnuRjIa3CfCg0gjJruD/tnX38gx1l8 R2lLaeKsqHzRV3UQ/hHPua1NutkHMCs6un/7lmUHv4IJ35zFxHchTHySZjZNvt01c6k3AuGKQ UtyGWPd5C6w3Q2Ux9gZNo53g3Li1etRY75DgjEhUpusdhmv5kFxVB0h/pzA3ptm8W7z1cHxF6 PDWhcAYz5hoO78A1e4EuTK7aBnmN3omlhs9RYtKSLzNx1vpvQe+HDs0ds2uaWxJrrAuATpa/e lHGWOGXSsX6ns8dir2kmz1o3CC+WyckKNJmfOM4W+y3Dvx8R1Hh+epvZ38mjmYeISVSyFDXzk WvQ/xSxQ8rIaNe+TH0hkA14quomdsEhKyTN+3Y8khNIS90rflFqmoDrG5F+GCVnrZrORyAVE1 /T2KbMA9/ZH7VmD4XasP7ii0Q3BmA+uu7qUjpqDGeA+g6MRNXxM/zASIxDeBcqRNPDD6RP5Pa lmT96+WovX6HBmM1E+LgZWFWfOgEiAg+K1oN7hznrW5vs/WfAOrIsHIbR3h9FQTqPYGj57J88 iPq744Q X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 23902 Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) Eli Zaretskii writes: > > I also have trouble to understand. How can I compare file names modulo > > collate-equality, if not with this function? > > With string=, of course. (Or, better yet, with file-equal-p, but > that's a different story.) Does that compare mod collate-equality? > > But we are speaking about the docstring of `string-collate-equal-p'. > > It is not clear here how it (as an equivalence predicate) could be > > useful for sorting at all. > > If it is not useful, then the issue against which the note warns > doesn't exist, does it? Useful for equality testing, or for comparing (and sorting)? You speak about the latter in the doc. I don't understand why the doc of `string-collate-equal-p' mentions sorting at all. Is it useful for that? (not a rhetorical question but for my understanding of the current text) Thanks, Michael. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 12:26:55 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 16:26:55 +0000 Received: from localhost ([127.0.0.1]:39782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpf5-0006gB-Aa for submit@debbugs.gnu.org; Wed, 06 Jul 2016 12:26:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpf4-0006fx-5u for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 12:26:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKpeu-00027k-Sk for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 12:26:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKpeu-00027X-Pj; Wed, 06 Jul 2016 12:26:44 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4627 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKpes-00074j-PD; Wed, 06 Jul 2016 12:26:43 -0400 Date: Wed, 06 Jul 2016 19:26:28 +0300 Message-Id: <838txen363.fsf@gnu.org> From: Eli Zaretskii To: oscarfv@telefonica.net (=?iso-8859-1?Q?=D3scar?= Fuentes) In-reply-to: <87oa6aepls.fsf@wanadoo.es> (oscarfv@telefonica.net) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <87oa6aepls.fsf@wanadoo.es> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: michael_heerdegen@web.de, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: oscarfv@telefonica.net (Óscar Fuentes) > Cc: Michael Heerdegen , 23902@debbugs.gnu.org > Date: Wed, 06 Jul 2016 17:46:39 +0200 > > Eli Zaretskii writes: > > >> I also have trouble to understand. How can I compare file names modulo > >> collate-equality, if not with this function? > > > > With string=, of course. (Or, better yet, with file-equal-p, but > > that's a different story.) > > I understand why comparing file names with string-collate-equalp is a > bad idea (it can return t for cases where the names are different from > the POV of the file system) but then explaining this in full and > pointing to file-equal-p doesn't take too much space (about the same as > the current note, I'll say). If you think adding that will make the issue more clear, go ahead and propose or push a patch. > (using string= for comparing file names is a bad idea for the same > reason idea when the FS is case-insensitive, BTW) Which is why I mentioned file-equal-p. > Putting notes about non-existing issues is surely confusing, isn't it? Indeed. But this issue does exist, and is real. See, for example: http://archives.miloush.net/michkap/archive/2005/10/17/481600.html (CompareString is what we use on MS-Windows to implement string-collate-equalp and string-collate-lessp.) From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 12:27:42 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 16:27:43 +0000 Received: from localhost ([127.0.0.1]:39786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpfq-0006hg-Kk for submit@debbugs.gnu.org; Wed, 06 Jul 2016 12:27:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpfp-0006hQ-Gv for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 12:27:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKpfg-0002I4-9S for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 12:27:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKpfg-0002Hr-6X; Wed, 06 Jul 2016 12:27:32 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4628 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKpfd-0007BC-V0; Wed, 06 Jul 2016 12:27:30 -0400 Date: Wed, 06 Jul 2016 19:27:16 +0300 Message-Id: <837fcyn34r.fsf@gnu.org> From: Eli Zaretskii To: Glenn Morris In-reply-to: (message from Glenn Morris on Wed, 06 Jul 2016 11:48:03 -0400) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Glenn Morris > Cc: oscarfv@telefonica.net (Óscar Fuentes), > 23902@debbugs.gnu.org > Date: Wed, 06 Jul 2016 11:48:03 -0400 > > > FWIW, I also think the doc would be better without this addition. I obviously disagree. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 12:30:38 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 16:30:38 +0000 Received: from localhost ([127.0.0.1]:39800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpig-0006nR-59 for submit@debbugs.gnu.org; Wed, 06 Jul 2016 12:30:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpie-0006nF-KQ for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 12:30:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKpiV-0003WF-C6 for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 12:30:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKpiV-0003Vu-9b; Wed, 06 Jul 2016 12:30:27 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4629 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKpiR-0001yv-Dz; Wed, 06 Jul 2016 12:30:23 -0400 Date: Wed, 06 Jul 2016 19:30:09 +0300 Message-Id: <8360sin2zy.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-reply-to: <877fcyoj6j.fsf@web.de> (message from Michael Heerdegen on Wed, 06 Jul 2016 17:55:16 +0200) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <877fcyoj6j.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Michael Heerdegen > Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org > Date: Wed, 06 Jul 2016 17:55:16 +0200 > > Eli Zaretskii writes: > > > > I also have trouble to understand. How can I compare file names modulo > > > collate-equality, if not with this function? > > > > With string=, of course. (Or, better yet, with file-equal-p, but > > that's a different story.) > > Does that compare mod collate-equality? Sorry, I cannot parse this. > > > But we are speaking about the docstring of `string-collate-equal-p'. > > > It is not clear here how it (as an equivalence predicate) could be > > > useful for sorting at all. > > > > If it is not useful, then the issue against which the note warns > > doesn't exist, does it? > > Useful for equality testing, or for comparing (and sorting)? Could be for either. It depends on what the programmer wants to achieve; we are talking some hypothetical application here. > I don't understand why the doc of `string-collate-equal-p' mentions > sorting at all. Is it useful for that? It could be used to gather similar "equivalent" file names together, for example. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 12:44:46 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 16:44:46 +0000 Received: from localhost ([127.0.0.1]:39816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpwM-00077o-Bf for submit@debbugs.gnu.org; Wed, 06 Jul 2016 12:44:46 -0400 Received: from mout.web.de ([217.72.192.78]:61023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpwK-00077c-LP for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 12:44:45 -0400 Received: from drachen.dragon ([88.67.73.210]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0LyljP-1bOYy348nP-016BJr; Wed, 06 Jul 2016 18:44:37 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <877fcyoj6j.fsf@web.de> <8360sin2zy.fsf@gnu.org> Date: Wed, 06 Jul 2016 18:44:35 +0200 In-Reply-To: <8360sin2zy.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Jul 2016 19:30:09 +0300") Message-ID: <87a8hug1ho.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:sChD7p4aUEEMN73VEBD7RAvXeK3OmEq7ylK12uvtNOf4aWRqjxN 1i0UPq9AOXjjoXSm9Oy2ew2OwE8xpwva0MbfzP6S4mz48K4NXqWTMucMBYSHF+mkA511B9S XdNtLAVWhiVIb9dXxZH4KYWhdeogohTUWefnHx8ayMvzWmmZCCja/x9KFlr1b/kU2ACZqMJ +AUIFLgEPOSNvhxScIQbg== X-UI-Out-Filterresults: notjunk:1;V01:K0:YslnI5EaYOk=:iDXtXZeEazTGtkcR5fLC8X NG0dCjPWE17R1WloXkSMFuUqF+FZJkk/2GgnXcoNhXGTShdUv1K8rKItsAZ4aMrbMjBJHyNsR t8u78yt0TTkwk2ab8Jasus31tI6Q84uvi/clOj6DN9YP3tZAkrmjJCAQR+szq/KpIBzJb43dO 5fFald+oOLQqu/x/YQH1bOpQAeGAmW8mGS3X409qEdZfRN0tk4l/PC9mNzLaMNT79fqJEJxY8 v7p4mc1k3pUrx6ieUQz833gxd57O2n3dK0PYT3LiVLIP5ZSmouXOv2TF2AiiE+q8Cm4qRNnJc Y3y+tE1YITQ3lJQzdCi9vH9fRb/YJJchx+MyfW40/6WJaZK5ed95LPNTpCdgRJd3pT/ng2bws 2JUWe2vobryqHfZUAfVFZYfkuUzDwGwttm46lQ5X5o86OskftrM08vWyAU9mR2jxy93+sAxoS abO+8eg2xOJ76enrKo+1ZQR7BS5YNkMzk+krXvsBbWPFaJnabu6W5F415QrCJxuZ0hva8dcOR hnnzNXE++Tt9aghcXmdHaS9/Qu9vaS6oy6JGBwCJVMkYURYZJnBvh8RWc3U6/lw1TVEJ4/ucf gyLN86Sgx6hNhs3pKNKjlFDeWlQAGiQDyfmH9MQwTxD1F2hL/kAf2WhHvociNS+k9EPUthqVm m6otX+dU7Nygsa3S+NSV1jbd0lD6MZFsOz5YE0BtnRvuu5g8rvHOGvyaMTNzaH32aAVtA8Nfr 4bjsctldr/SQvtp+1mMc4vVFhC1DA1xU2TJieJp8vVIUmCYwxHQizHk8fXDvPvmB33UPrpBlB tTFAWTN X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 23902 Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) Eli Zaretskii writes: > > > With string=, of course. (Or, better yet, with file-equal-p, but > > > that's a different story.) > > > > Does that compare mod collate-equality? > > Sorry, I cannot parse this. I can, but I think my question didn't make sense. > > I don't understand why the doc of `string-collate-equal-p' mentions > > sorting at all. Is it useful for that? > > It could be used to gather similar "equivalent" file names > together, for example. Like this? (doesn't work) (sort (list "b" "c" "a" "f" "b" "a" "c") #'string-collate-equalp) Would you agree to remove "only for sorting them" at the end of the docstring? Michael. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 13:18:48 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 17:18:48 +0000 Received: from localhost ([127.0.0.1]:39832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKqTI-0007va-3E for submit@debbugs.gnu.org; Wed, 06 Jul 2016 13:18:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKqTG-0007vO-CL for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 13:18:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKqT6-0005cW-74 for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 13:18:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKqT6-0005cH-3y; Wed, 06 Jul 2016 13:18:36 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4665 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKqT3-0005BY-8d; Wed, 06 Jul 2016 13:18:33 -0400 Date: Wed, 06 Jul 2016 20:18:18 +0300 Message-Id: <83zipulm79.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-reply-to: <87a8hug1ho.fsf@web.de> (message from Michael Heerdegen on Wed, 06 Jul 2016 18:44:35 +0200) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <877fcyoj6j.fsf@web.de> <8360sin2zy.fsf@gnu.org> <87a8hug1ho.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Michael Heerdegen > Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org > Date: Wed, 06 Jul 2016 18:44:35 +0200 > > Would you agree to remove "only for sorting them" at the end of the docstring? Yes, if that's the confusing part, feel free to remove. The important part is the one that precedes it. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 13:45:00 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 17:45:00 +0000 Received: from localhost ([127.0.0.1]:39850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKqse-000062-3W for submit@debbugs.gnu.org; Wed, 06 Jul 2016 13:45:00 -0400 Received: from relaycp01.dominioabsoluto.net ([217.116.26.68]:37732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKqsc-00005o-54 for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 13:44:59 -0400 Received: from smtp.movistar.es (smtp10.acens.net [86.109.99.134]) by relaycp01.dominioabsoluto.net (Postfix) with ESMTP id 868884332; Wed, 6 Jul 2016 19:44:51 +0200 (CEST) X-CTCH-RefID: str=0001.0A0B0201.577D4393.00B8, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Received: from qcore (217.125.182.141) by smtp.movistar.es (8.6.122.03) (authenticated as 981711563$telefonica.net) id 5746394E020F6460; Wed, 6 Jul 2016 17:44:52 +0000 From: oscarfv@telefonica.net (=?utf-8?Q?=C3=93scar?= Fuentes) To: Eli Zaretskii Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <87oa6aepls.fsf@wanadoo.es> <838txen363.fsf@gnu.org> Date: Wed, 06 Jul 2016 19:44:50 +0200 In-Reply-To: <838txen363.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Jul 2016 19:26:28 +0300") Message-ID: <87k2gyek4t.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23902 Cc: michael_heerdegen@web.de, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> I understand why comparing file names with string-collate-equalp is a >> bad idea (it can return t for cases where the names are different from >> the POV of the file system) but then explaining this in full and >> pointing to file-equal-p doesn't take too much space (about the same as >> the current note, I'll say). > > If you think adding that will make the issue more clear, go ahead and > propose or push a patch. What about replacing the paragraph with this one: Note that this function is not adequate for testing if two strings name the same file. Use `file-equal-p' for that purpose. ? From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 14:32:35 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 18:32:35 +0000 Received: from localhost ([127.0.0.1]:39887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKrch-0001Gz-Ka for submit@debbugs.gnu.org; Wed, 06 Jul 2016 14:32:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKrcf-0001Gl-Hd for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 14:32:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKrcX-0005lK-9W for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 14:32:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKrcX-0005lA-6k; Wed, 06 Jul 2016 14:32:25 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4722 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKrcV-0002EV-9Y; Wed, 06 Jul 2016 14:32:23 -0400 Date: Wed, 06 Jul 2016 21:32:09 +0300 Message-Id: <83twg2lis6.fsf@gnu.org> From: Eli Zaretskii To: oscarfv@telefonica.net (=?iso-8859-1?Q?=D3scar?= Fuentes) In-reply-to: <87k2gyek4t.fsf@wanadoo.es> (oscarfv@telefonica.net) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <87oa6aepls.fsf@wanadoo.es> <838txen363.fsf@gnu.org> <87k2gyek4t.fsf@wanadoo.es> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: michael_heerdegen@web.de, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: oscarfv@telefonica.net (Óscar Fuentes) > Cc: michael_heerdegen@web.de, 23902@debbugs.gnu.org > Date: Wed, 06 Jul 2016 19:44:50 +0200 > > What about replacing the paragraph with this one: > > Note that this function is not adequate for testing if two strings > name the same file. Use `file-equal-p' for that purpose. > > ? I'd rather just drop the reference to sorting, and leave everything else intact. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 18:49:29 2016 Received: (at 23902) by debbugs.gnu.org; 6 Jul 2016 22:49:29 +0000 Received: from localhost ([127.0.0.1]:39977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKvdJ-0000pp-FE for submit@debbugs.gnu.org; Wed, 06 Jul 2016 18:49:29 -0400 Received: from mout.web.de ([212.227.15.14]:59557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKvdF-0000pZ-96 for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 18:49:27 -0400 Received: from drachen.dragon ([88.67.73.210]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0LrJxk-1bQO9J18Jw-0137Gk; Thu, 07 Jul 2016 00:49:17 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <877fcyoj6j.fsf@web.de> <8360sin2zy.fsf@gnu.org> <87a8hug1ho.fsf@web.de> <83zipulm79.fsf@gnu.org> Date: Thu, 07 Jul 2016 00:49:15 +0200 In-Reply-To: <83zipulm79.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Jul 2016 20:18:18 +0300") Message-ID: <87shvmtmac.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:w7mE/6smeALLEIKmQdrkkGzoMb1Hu4BGx3A0Q1AufaTk/PSj5qp Si08LZhKyzvE4mESic327mkYNmEjnf/h70FyJdSiH1WulleW5yu7tj1XT/mJjFLedAHOJ+s HmqcIa1XgsVSBJ/P61TecDtYTH3VmowGvNT0FKJ2P6PaJRVg7FEO8x2kGUEdLW/tDDbrsLe 8rVKngca9ZzXhn5klrI+Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:oBxFaqfk+/4=:4Cle5rIvRL0vscZyiXUpPG tlIvHXSpb0qfY9oUKvm/BvJXp0xFuYFMK0Zz0tuAs7zkVv5QBQbFU36atLJH8UbXDdMmGfem3 ZcbVCQayTC0fCC2Jcsm7XzOlxgUS/qKcddtkGCXNxZdC0U/uSq0i9vweJcneFeVxwPDARCrfG gGUTJa6xMN+l3gYEbyN5kojMn9KoteomfJ6DP1cXiXKhO6PauDZCJ/LWLVjvz1Vu6YWyo2ZAi HMrLkl/G6LENQB+8pLpX/POuk8Iovlc0i0sT2/i+p5+P/INrvCffSQsgNVkiGzg3YJvumVYXM cqDd2Fg6h+DjeJumfZkmQdJbts2+X/J4YP0dbGCq4ixSXFW2ZfaTBdJKjYbrf1mg/sS+h9xQO CoVsk75/1y0iwV8sIlZ+oRLB0By8IEmH+gyzuX/zVqqUxT2TpTe0HHtOjcWYbNj36bRStlsyL tspL38tlFZs2CX7Lrv4qOakCFzC9yzyDqz0gITaaIYoG8ztABVl44yt87PbNYYjU1j0xb0ye1 wpqroGcfLOg0jRnmc1t6pFy6nhJcVyNyWjF62dFIFR7O4lnXNZ13Am63JwbCzMHl2apfpbFO4 Dx6rC5i4Q+dXSxd4LyLRP48sOfbr5+BLXn72UcOHoOVNlCQE5/MsME4qDG7yNYftm1QACtfYd 3v5iI3kBVNIy9srPkaRVJEfaTJoN+ieeooi5ltruXRvzS06kRzXZa2EMIGxIpZjmt9phUMJUG TC3ZOUl8v/gxNO6cEJAZX0d893EEurTLqRqIJ0FJfdMBiOqJZF9trqqHAOHrOfXBhUECiO+GG ynueckz X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 23902 Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) Eli Zaretskii writes: > Yes, if that's the confusing part, feel free to remove. The important > part is the one that precedes it. Ok, then I'll do this tomorrow. On which branch, emacs-25 still ok for this? Michael. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 22:38:39 2016 Received: (at 23902) by debbugs.gnu.org; 7 Jul 2016 02:38:39 +0000 Received: from localhost ([127.0.0.1]:40085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKzD4-0002mY-Q9 for submit@debbugs.gnu.org; Wed, 06 Jul 2016 22:38:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKzD3-0002mM-05 for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 22:38:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKzCu-0008L9-PE for 23902@debbugs.gnu.org; Wed, 06 Jul 2016 22:38:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKzCu-0008Kk-Lt; Wed, 06 Jul 2016 22:38:28 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1286 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKzCs-0004Zp-Nf; Wed, 06 Jul 2016 22:38:27 -0400 Date: Thu, 07 Jul 2016 05:38:14 +0300 Message-Id: <83lh1ekwa1.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-reply-to: <87shvmtmac.fsf@web.de> (message from Michael Heerdegen on Thu, 07 Jul 2016 00:49:15 +0200) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <877fcyoj6j.fsf@web.de> <8360sin2zy.fsf@gnu.org> <87a8hug1ho.fsf@web.de> <83zipulm79.fsf@gnu.org> <87shvmtmac.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Michael Heerdegen > Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org > Date: Thu, 07 Jul 2016 00:49:15 +0200 > > Eli Zaretskii writes: > > > Yes, if that's the confusing part, feel free to remove. The important > > part is the one that precedes it. > > Ok, then I'll do this tomorrow. On which branch, emacs-25 still ok for > this? Yes, documentation changes are okay on emacs-25. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 07 17:52:44 2016 Received: (at 23902) by debbugs.gnu.org; 7 Jul 2016 21:52:44 +0000 Received: from localhost ([127.0.0.1]:41598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLHDv-0006ay-KZ for submit@debbugs.gnu.org; Thu, 07 Jul 2016 17:52:44 -0400 Received: from mout.web.de ([212.227.15.3]:50727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLHDs-0006ah-M7 for 23902@debbugs.gnu.org; Thu, 07 Jul 2016 17:52:41 -0400 Received: from drachen.dragon ([88.67.73.210]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0MIvaT-1bJLHV2nHt-002WUq; Thu, 07 Jul 2016 23:52:32 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <877fcyoj6j.fsf@web.de> <8360sin2zy.fsf@gnu.org> <87a8hug1ho.fsf@web.de> <83zipulm79.fsf@gnu.org> <87shvmtmac.fsf@web.de> <83lh1ekwa1.fsf@gnu.org> Date: Thu, 07 Jul 2016 23:52:30 +0200 In-Reply-To: <83lh1ekwa1.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 07 Jul 2016 05:38:14 +0300") Message-ID: <871t35ru8x.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:a6saZzYMhEhIcy2egfDfeeg/s06VMsoHU+OoA6kp5GT8qiARK6p Wa/B3LRV7M+1OtfwJcXoNKXqrIISojY7jKhIXLVMN5N2dacc2pB+AoeY8S+CBUkEPnl0hE7 H1kMhjheW1Pw8eHTk2/FuVuX2mJ0WaTO5Jn+cRJAhcZ1fdOdlXpR4wncMuvFPWhOXBwz+bC CSrAPxw07fZ8A3oPIJYDQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:IFI2/xhh9oI=:5oGSLzqO7pLU+BYvTqK0yk PT9th07oDWPq65LV19obvfgkvhX+3SpdKGusCw5k9v2V2+ErQP9rt/PpdM6U2zmG33rBBcdvH Qr+4Z9xRSOGhJvoe+CI1htNOgdZV7SAUg1xdtl+v6ALxPQWONT2RmoF5Z1B+dw6FxJ+jT9s6Z MjXUetbpe/taz/sUCYxlqCn5FvSJTmUD6IYBSuW7DSu3vocdL3dlvHRaQAlE6vZZkwPtxm5oW cJ6vzx+PSvMFQaAIk4TFnTtwJE4kV/y+rFkk4cATOc8jLXtIBAQvaOGICGxD/9zZyOeIF13Kx Ew45AesIhAMhOd0mnmV1ASD3S7KmyHX+Kov1iA84pyD4b/1psJBmX/IsHfGAUTU+NXvNOrxvs e4jQvPttUQSC0krTpXukJ8UnEmEnETQJnA0PfXp7nh0I7Z8gsEUPiEh59yMFxm9nc3wzjhEtt RSR9ucl5swm37FFBfGPtsdM9HFrfK9BVy54Dov80O+1sCUxg2IIROi9hc4SHStWt/XigYLPr9 S7kNtr1RnMgu+ev06bkYShOZZtcNZH596ay7GO43VsqDsctlmbO/JfJLNIScJuM65MEuZFRZF IhuxJRl/EdN7FhxnTT/Lv5ZFt4z5RQ6sqQYirIKQmfzWD96QcHLM6B4ON2E6NtV6dm4rhc3XK v8kJHsjxltfIQl5a5sCgbMKbi0pEMZ8sHWRE0qzmyw8PIl0VgyrZmBk+UVJF71NLuUMbcwYEZ gh401TYluIsim/NwQnSHgP8tYk3JHz/gTv7gxqbsuu81DCMU2R3g4KO04G8AoC37bwbIJA8Aj 3UaM6Rp X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 23902 Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) Eli Zaretskii writes: > Yes, documentation changes are okay on emacs-25. Oh, I see now this function is defined in C. I'm not sure what I exactly have to do (the docstring is in a comment?). Maybe you can make the change this time, Eli? Thanks, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 06:11:43 2016 Received: (at 23902-done) by debbugs.gnu.org; 8 Jul 2016 10:11:43 +0000 Received: from localhost ([127.0.0.1]:41750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLSl5-0002FD-0E for submit@debbugs.gnu.org; Fri, 08 Jul 2016 06:11:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLSl3-0002F2-13 for 23902-done@debbugs.gnu.org; Fri, 08 Jul 2016 06:11:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLSku-0001NW-G8 for 23902-done@debbugs.gnu.org; Fri, 08 Jul 2016 06:11:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLSku-0001NO-D2; Fri, 08 Jul 2016 06:11:32 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3168 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bLSks-00016J-FL; Fri, 08 Jul 2016 06:11:30 -0400 Date: Fri, 08 Jul 2016 13:11:20 +0300 Message-Id: <83shvkigmv.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-reply-to: <871t35ru8x.fsf@web.de> (message from Michael Heerdegen on Thu, 07 Jul 2016 23:52:30 +0200) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <877fcyoj6j.fsf@web.de> <8360sin2zy.fsf@gnu.org> <87a8hug1ho.fsf@web.de> <83zipulm79.fsf@gnu.org> <87shvmtmac.fsf@web.de> <83lh1ekwa1.fsf@gnu.org> <871t35ru8x.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902-done Cc: oscarfv@telefonica.net, 23902-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Michael Heerdegen > Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org > Date: Thu, 07 Jul 2016 23:52:30 +0200 > > Eli Zaretskii writes: > > > Yes, documentation changes are okay on emacs-25. > > Oh, I see now this function is defined in C. I'm not sure what I > exactly have to do (the docstring is in a comment?). Yes, doc strings in C are comments. They are collected by make-docfile and written to etc/DOC at build time. > Maybe you can make the change this time, Eli? I did, but you shouldn't be scared like that of making such trivial changes in the C sources. There are lots of examples in the *.c files that you could use to see the simple formatting we use. The results are easy to check: just build Emacs and type "C-h f". And of course, you can ask questions if you feel uncertain of something. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 16:59:40 2016 Received: (at 23902-done) by debbugs.gnu.org; 8 Jul 2016 20:59:40 +0000 Received: from localhost ([127.0.0.1]:42948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLcs7-00079z-Rf for submit@debbugs.gnu.org; Fri, 08 Jul 2016 16:59:40 -0400 Received: from mout.web.de ([212.227.15.4]:53175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLcs4-00079g-Jt for 23902-done@debbugs.gnu.org; Fri, 08 Jul 2016 16:59:38 -0400 Received: from drachen.dragon ([88.67.73.210]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0LZet2-1ayhi807Aa-00lT13; Fri, 08 Jul 2016 22:59:28 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <877fcyoj6j.fsf@web.de> <8360sin2zy.fsf@gnu.org> <87a8hug1ho.fsf@web.de> <83zipulm79.fsf@gnu.org> <87shvmtmac.fsf@web.de> <83lh1ekwa1.fsf@gnu.org> <871t35ru8x.fsf@web.de> <83shvkigmv.fsf@gnu.org> Date: Fri, 08 Jul 2016 22:59:25 +0200 In-Reply-To: <83shvkigmv.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Jul 2016 13:11:20 +0300") Message-ID: <871t33q21e.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:xKJGTWbKDKOKuTlNW8ApUcQz6SD6GjIrQOXRa/5l0J9e1aIhGMv 89voXzgRO9Uw0AxBc2X8Wh0Pfvg55uvdmHtDX6QEvQ30hZMGe0OQIXj4/YTkafvYj2wkqek 3/5vUvzOAz3r3sZMOFPVv+QPqDYJMTn44SE+4RKeTqWAGfW1LBYF3RER67amJGyygS+bood PudnepC/ngw0DGOMYBDCw== X-UI-Out-Filterresults: notjunk:1;V01:K0:KFFEfip1OFQ=:nct70dskHngnReQiTLL6AJ OF0z7Ha2YLEF5ImJP1atGcunYszSbcrUL4nBxAHPfgt4lWcm6vPRTWKhgTefLnNkwncMg9e2w uC72Ya7aDYpG/OgljZFmX/9ud8RAa/hZVXVCGlzx8pUyAgw6gSUgKMq2YcShOVUdLbSiAeD5N QeIJXEzWjpwjs74gYn3JUoJ/K6g/wWY0GXDMkdKN/SJT5g6APPHOfVk1HwPGMbOEfPLFshhr0 KPD736vGhvUvYOn7Hh1HEL4hqQ6u3NzlfJD6+ybP349fuI3Ly54iJ58Kt3FY8G9yPdVViHCbF yT7THHDG4pITMrsJ/yc3UBFKolXGsbw3d+H65Cyp1tSl//nGbkOfqq2o3A02I8+xH+9IqR4Cw Tn1XrdcyIe+vF6KHLzzzcasrMGLovcdlxWaErqg4yhSUqz1hivH1hdx5BVYPGmFlbj3dN89af rkSRfDAsO/Em+o+jJCHEZBo2NJ9fX5zf1AbtwhUmTr24Q9puWroR8jwB/4LODXW+RY8KRZbZ+ G41Z6p4Fsmt5VeArhH6vjlJ71TuYxpI7beCjRxN+Nc1awbwkyONkt4KRaFbODhXvXiBHzRL2e onNZfaxKmJsiv1kXtwcZkuRFHHWy77chgbbLfNLDOgE5hW9E12zuaBmttdeEbBwgCs7AtLIGI B5hNd7YMGPm6+diURr08YsLhlkWFjoYyf5Dmvvu9g50qnILqTisejk0HWmiBopzfFvYM7UmsN nH357X/z7OiuDlsdHbD0IWs/zAsKohL6NAynw/vBKRB/GhAIhIoV5+gesFiMvmzZt/9sqzXQI V1wk9OW X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 23902-done Cc: oscarfv@telefonica.net, 23902-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) Eli Zaretskii writes: > I did, but you shouldn't be scared like that of making such trivial > changes in the C sources. There are lots of examples in the *.c files > that you could use to see the simple formatting we use. Sure, I was just working on several other things, and I thought it would be better when it's just done. > [...] And of course, you can ask questions if you feel uncertain of > something. Thanks - Are the spaces before the closing comment delimiter (delimiting the docstring) significant? When not, why are they used? Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 02:53:03 2016 Received: (at 23902) by debbugs.gnu.org; 9 Jul 2016 06:53:03 +0000 Received: from localhost ([127.0.0.1]:43198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLm8N-0003LP-Fm for submit@debbugs.gnu.org; Sat, 09 Jul 2016 02:53:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLm8M-0003Kw-5W for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 02:53:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLm8C-0001Pc-4P for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 02:52:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLm8C-0001PY-1L; Sat, 09 Jul 2016 02:52:52 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4173 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bLm8B-00033f-4q; Sat, 09 Jul 2016 02:52:51 -0400 Date: Sat, 09 Jul 2016 09:52:43 +0300 Message-Id: <831t33i9qc.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-reply-to: <871t33q21e.fsf@web.de> (message from Michael Heerdegen on Fri, 08 Jul 2016 22:59:25 +0200) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <877fcyoj6j.fsf@web.de> <8360sin2zy.fsf@gnu.org> <87a8hug1ho.fsf@web.de> <83zipulm79.fsf@gnu.org> <87shvmtmac.fsf@web.de> <83lh1ekwa1.fsf@gnu.org> <871t35ru8x.fsf@web.de> <83shvkigmv.fsf@gnu.org> <871t33q21e.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Michael Heerdegen > Cc: oscarfv@telefonica.net, 23902-done@debbugs.gnu.org > Date: Fri, 08 Jul 2016 22:59:25 +0200 > > Are the spaces before the closing comment delimiter (delimiting > the docstring) significant? You mean, before the closing "*/" ? No, these are not significant. > When not, why are they used? To keep C comments in their usual GNU C style, I suppose. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 13:07:06 2016 Received: (at 23902) by debbugs.gnu.org; 9 Jul 2016 17:07:06 +0000 Received: from localhost ([127.0.0.1]:44339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLvic-0002yf-0s for submit@debbugs.gnu.org; Sat, 09 Jul 2016 13:07:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLviZ-0002y9-Mc for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 13:07:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLviT-0001zA-OF for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 13:06:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLviN-0001xh-HJ; Sat, 09 Jul 2016 13:06:51 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bLviF-0005Pk-2U; Sat, 09 Jul 2016 13:06:44 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Eli Zaretskii In-reply-to: <831t33i9qc.fsf@gnu.org> (message from Eli Zaretskii on Sat, 09 Jul 2016 09:52:43 +0300) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <877fcyoj6j.fsf@web.de> <8360sin2zy.fsf@gnu.org> <87a8hug1ho.fsf@web.de> <83zipulm79.fsf@gnu.org> <87shvmtmac.fsf@web.de> <83lh1ekwa1.fsf@gnu.org> <871t35ru8x.fsf@web.de> <83shvkigmv.fsf@gnu.org> <871t33q21e.fsf@web.de> <831t33i9qc.fsf@gnu.org> Message-Id: Date: Sat, 09 Jul 2016 13:06:43 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: michael_heerdegen@web.de, oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Are the spaces before the closing comment delimiter (delimiting > > the docstring) significant? > You mean, before the closing "*/" ? No, these are not significant. > > When not, why are they used? > To keep C comments in their usual GNU C style, I suppose. We often put two spaces there so that M-e will see it as the end of a sentence. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 13:07:18 2016 Received: (at 23902) by debbugs.gnu.org; 9 Jul 2016 17:07:18 +0000 Received: from localhost ([127.0.0.1]:44342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLvio-0002zH-9L for submit@debbugs.gnu.org; Sat, 09 Jul 2016 13:07:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLvin-0002z4-GT for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 13:07:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLvih-00022f-Fp for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 13:07:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLvic-00020u-0o; Sat, 09 Jul 2016 13:07:06 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bLviV-0005S3-9r; Sat, 09 Jul 2016 13:06:59 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <87oa6aepls.fsf@wanadoo.es> <838txen363.fsf@gnu.org> X-Spook: spy Gunfight Gazprom Violence Police Food Poisoning Stuck X-Ran: (${`>RjoB3VAp+)hWy4)q,L*5LNJB#Pb5g,C]AXJK|tKI,oE&ATP0u7T>>Z (Eli Zaretskii's message of "Wed, 06 Jul 2016 19:26:28 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: michael_heerdegen@web.de, =?utf-8?Q?=C3=93scar?= Fuentes , 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) Eli Zaretskii wrote: > Indeed. But this issue does exist, and is real. See, for example: > > http://archives.miloush.net/michkap/archive/2005/10/17/481600.html > > (CompareString is what we use on MS-Windows to implement > string-collate-equalp and string-collate-lessp.) But no-one using Emacs will reason in this way. "I want to compare if two files are the same. I don't know about file-equal-p, so I will just do a string comparison of the filenames. I know that the MS Windows function to compare strings is CompareString. Therefore I will see which Emacs function uses that. Ah, it is string-collate-equalp. Therefore I will use string-collate-equalp to compare two file names. I won't use the more obvious string-equal, nor will I read the documentation of string-collate-equalp, which makes it obvious that this is wrong." And suppose I have two strings, and want to know if they are equal, respecting my locale's convention about characters that are not literally identical, but have the same meaning. I should use string-collate-equalp for this. This is true whether the strings represent the names of elephants in a zoo, or files on a disk. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 13:22:10 2016 Received: (at 23902) by debbugs.gnu.org; 9 Jul 2016 17:22:10 +0000 Received: from localhost ([127.0.0.1]:44348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLvxC-0003Om-L0 for submit@debbugs.gnu.org; Sat, 09 Jul 2016 13:22:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLvxA-0003OY-Tt for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 13:22:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLvx2-0004iK-Js for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 13:22:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLvx2-0004i5-GY; Sat, 09 Jul 2016 13:22:00 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1988 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bLvwy-0002tF-9U; Sat, 09 Jul 2016 13:21:56 -0400 Date: Sat, 09 Jul 2016 20:21:49 +0300 Message-Id: <83shvig21e.fsf@gnu.org> From: Eli Zaretskii To: Glenn Morris In-reply-to: (message from Glenn Morris on Sat, 09 Jul 2016 13:06:57 -0400) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <87oa6aepls.fsf@wanadoo.es> <838txen363.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: michael_heerdegen@web.de, oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Glenn Morris > Cc: oscarfv@telefonica.net (Óscar Fuentes), > michael_heerdegen@web.de, 23902@debbugs.gnu.org > Date: Sat, 09 Jul 2016 13:06:57 -0400 > > But no-one using Emacs will reason in this way. > "I want to compare if two files are the same. > I don't know about file-equal-p, so I will just do a string comparison > of the filenames. > I know that the MS Windows function to compare strings is CompareString. > Therefore I will see which Emacs function uses that. > Ah, it is string-collate-equalp. > Therefore I will use string-collate-equalp to compare two file names. > I won't use the more obvious string-equal, nor will I read the > documentation of string-collate-equalp, which makes it obvious that this > is wrong." No, no one will reason this way. But they can reason this way instead: "I want to compare two file names. Collation is a way to compare strings, for example the man page for strcoll says the function returns zero if one string is equal to the other. And Emacs just learned how to use collation to compare strings, it has this great new function string-collate-equalp. Therefore, let's use string-collate-equalp for comparing two file names." > And suppose I have two strings, and want to know if they are equal, > respecting my locale's convention about characters that are not > literally identical, but have the same meaning. I should use > string-collate-equalp for this. This is true whether the strings > represent the names of elephants in a zoo, or files on a disk. And that is exactly the fallacy that the note warns against. Because filesystems don't compare as equal characters that have the same meaning, they compare bytes in a byte stream that is the file name in its raw byte form, as recorded on disk. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 17:36:48 2016 Received: (at 23902) by debbugs.gnu.org; 9 Jul 2016 21:36:48 +0000 Received: from localhost ([127.0.0.1]:44423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLzvc-0002mc-6P for submit@debbugs.gnu.org; Sat, 09 Jul 2016 17:36:48 -0400 Received: from relaycp01.dominioabsoluto.net ([217.116.26.68]:57137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLzvZ-0002mN-E4 for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 17:36:46 -0400 Received: from smtp.movistar.es (smtp10.acens.net [86.109.99.134]) by relaycp01.dominioabsoluto.net (Postfix) with ESMTP id 353B6429C; Sat, 9 Jul 2016 23:36:38 +0200 (CEST) X-CTCH-RefID: str=0001.0A0B0208.57816E66.0017, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Received: from qcore (217.125.182.141) by smtp.movistar.es (8.6.122.03) (authenticated as 981711563$telefonica.net) id 5746394E02367B6F; Sat, 9 Jul 2016 21:36:39 +0000 From: oscarfv@telefonica.net (=?utf-8?Q?=C3=93scar?= Fuentes) To: Eli Zaretskii Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <87oa6aepls.fsf@wanadoo.es> <838txen363.fsf@gnu.org> <83shvig21e.fsf@gnu.org> Date: Sat, 09 Jul 2016 23:36:37 +0200 In-Reply-To: <83shvig21e.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 09 Jul 2016 20:21:49 +0300") Message-ID: <87eg72cx3u.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23902 Cc: michael_heerdegen@web.de, Glenn Morris , 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > But they can reason this way instead: > > "I want to compare two file names. > Collation is a way to compare strings, for example the man page for > strcoll says the function returns zero if one string is equal to the > other. > And Emacs just learned how to use collation to compare strings, it > has this great new function string-collate-equalp. > Therefore, let's use string-collate-equalp for comparing two file > names." This implies that the user knows about string comparisons with collation but he is a complete ignoramus about file systems. A bit unrealistic. Anyway, saying "don't use this for comparing file names" is cryptic. Mentioning file-equal-p would be helpful if you insist on mentioning file names on the docstring of string-collate-equalp. >> And suppose I have two strings, and want to know if they are equal, >> respecting my locale's convention about characters that are not >> literally identical, but have the same meaning. I should use >> string-collate-equalp for this. This is true whether the strings >> represent the names of elephants in a zoo, or files on a disk. > > And that is exactly the fallacy that the note warns against. Because > filesystems don't compare as equal characters that have the same > meaning, they compare bytes in a byte stream that is the file name in > its raw byte form, as recorded on disk. I think that Glenn is saying that you can compare file names for other purposes than knowing if they name the same file. Maybe the user wishes to find a file with a given name, modulo collation. Search for "tu.txt" and find "t=C3=BA.txt". From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 18:59:34 2016 Received: (at 23902) by debbugs.gnu.org; 9 Jul 2016 22:59:34 +0000 Received: from localhost ([127.0.0.1]:44466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bM1Di-0001Cr-GN for submit@debbugs.gnu.org; Sat, 09 Jul 2016 18:59:34 -0400 Received: from mout.web.de ([212.227.17.11]:51730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bM1Dh-0001Cd-HW for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 18:59:34 -0400 Received: from drachen.dragon ([88.67.73.210]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0MF3jD-1bbkoQ0yU7-00GKRC; Sun, 10 Jul 2016 00:59:25 +0200 From: Michael Heerdegen To: Richard Stallman Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <877fcyoj6j.fsf@web.de> <8360sin2zy.fsf@gnu.org> <87a8hug1ho.fsf@web.de> <83zipulm79.fsf@gnu.org> <87shvmtmac.fsf@web.de> <83lh1ekwa1.fsf@gnu.org> <871t35ru8x.fsf@web.de> <83shvkigmv.fsf@gnu.org> <871t33q21e.fsf@web.de> <831t33i9qc.fsf@gnu.org> Date: Sun, 10 Jul 2016 00:59:24 +0200 In-Reply-To: (Richard Stallman's message of "Sat, 09 Jul 2016 13:06:43 -0400") Message-ID: <8737nifmer.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:OdKUhY1kJ/VUZ2w5mU8avHkJkHGcZ44oLSUnIyJYWrfDRZxmkAV sG8YZ7HeWtMvjiLFs/TfZqvSDJMpIWrnjVBJpsLLXqnEW2/qufvFwE9nnG7F7CcekZynV76 rRpS45e8gPUdqEceYLKgFNQ3bIs/L7SHE20XIBGf+b03FHmccPrrpTSWqfGHt/53K7+lWuA 3ku/W/TE9nFxn75ckluKw== X-UI-Out-Filterresults: notjunk:1;V01:K0:/wc49KxrgY0=:hhZmfKl6KYHpBDiyZ8eCsv s91EFHYXk2/etwvZeE5JVwhvuxpeemPjFA1o9tfVVbizdGHCj/+ZxKf/cOHEUJsqSeX6bOEn6 vH7EIkkDwKyf6F70RRPKxd13Jxm5o/dwoAhYTeeQ6ZmWN4UKYujSQFA+6ema9Iah8SNlZ2TFJ 2h/3IKqt0LeBpXARdOuCdimIaPfYfXfHWhX05Ay54u5sRyghCrAzazXdxXra6QiCnvsu/6DrJ STDbOs3ZAelSAd8/Bg87ddtsjj8fyH0Wc/aVhB1KHXGillbmdewY8SAoyExD75YWfb+Fg/9xs fqnITP5pA8OF54GV6zvT82C222cXhjOCI35x0U2ewtbppUNcN0OAB/p+C68S7drnLa1io1qxp efilQzMhuKxWVwGdKDAmbacSjhrsIvpDDD+RoLVJL0HGKpU/sCxH75F7DHY6pQAsmOwgM7eW7 eH93zfVa+xgnW8TqKaqhN+gQiy5d4ykKEOZahpd9efkyzXHRhEirssC+SVs5dWrPo5gZnixJ+ J5NToF0JxUfmEUi0m+STg3eunOxGfgFuNVCx6icpfYc93WWdLY+bQPoTGEjWAJt8XUmIhpUFz 2UXAb4cUFky8kb3vNQvKL0znZWvLhhSDJjI/YNuIOtX1hZFA40dK6H2D13yoTvRfixK2bwWBf kXAU2PusT0vki9+2BIyts1j5FAY6VKe6Rb5x0XdDXWsdaypZj6j1bEtG50ryI5iLFzDiItXvh 4rlS7HjkTsNFkwJq5KXKYTcolCWOQq+8iIsGcqQw3/Dv9QladL68w3YY3rKfM7UpZ7txId5BV ttk/Qd9 X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 23902 Cc: 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) Richard Stallman writes: > We often put two spaces there so that M-e will see it as the end of a > sentence. I see, thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 22:40:46 2016 Received: (at 23902) by debbugs.gnu.org; 10 Jul 2016 02:40:46 +0000 Received: from localhost ([127.0.0.1]:44544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bM4fm-0001QM-Dp for submit@debbugs.gnu.org; Sat, 09 Jul 2016 22:40:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bM4fj-0001Q9-CO for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 22:40:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bM4fZ-0003Vq-Ir for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 22:40:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bM4fZ-0003Up-6U; Sat, 09 Jul 2016 22:40:33 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2502 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bM4fW-0004Bk-Tf; Sat, 09 Jul 2016 22:40:31 -0400 Date: Sun, 10 Jul 2016 05:40:25 +0300 Message-Id: <83oa66fc6e.fsf@gnu.org> From: Eli Zaretskii To: oscarfv@telefonica.net (=?utf-8?Q?=C3=93scar?= Fuentes) In-reply-to: <87eg72cx3u.fsf@wanadoo.es> (oscarfv@telefonica.net) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <87oa6aepls.fsf@wanadoo.es> <838txen363.fsf@gnu.org> <83shvig21e.fsf@gnu.org> <87eg72cx3u.fsf@wanadoo.es> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: michael_heerdegen@web.de, rgm@gnu.org, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: oscarfv@telefonica.net (Óscar Fuentes) > Cc: Glenn Morris , michael_heerdegen@web.de, 23902@debbugs.gnu.org > Date: Sat, 09 Jul 2016 23:36:37 +0200 > > Eli Zaretskii writes: > > > But they can reason this way instead: > > > > "I want to compare two file names. > > Collation is a way to compare strings, for example the man page for > > strcoll says the function returns zero if one string is equal to the > > other. > > And Emacs just learned how to use collation to compare strings, it > > has this great new function string-collate-equalp. > > Therefore, let's use string-collate-equalp for comparing two file > > names." > > This implies that the user knows about string comparisons with collation > but he is a complete ignoramus about file systems. A bit unrealistic. I'm not sure. People might know a lot about strings, but not how the filesystem stores file names. > >> And suppose I have two strings, and want to know if they are equal, > >> respecting my locale's convention about characters that are not > >> literally identical, but have the same meaning. I should use > >> string-collate-equalp for this. This is true whether the strings > >> represent the names of elephants in a zoo, or files on a disk. > > > > And that is exactly the fallacy that the note warns against. Because > > filesystems don't compare as equal characters that have the same > > meaning, they compare bytes in a byte stream that is the file name in > > its raw byte form, as recorded on disk. > > I think that Glenn is saying that you can compare file names for other > purposes than knowing if they name the same file. Then it's not "equality", it's "equivalence". From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 23:07:01 2016 Received: (at 23902) by debbugs.gnu.org; 10 Jul 2016 03:07:01 +0000 Received: from localhost ([127.0.0.1]:44563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bM55A-00023m-TB for submit@debbugs.gnu.org; Sat, 09 Jul 2016 23:07:01 -0400 Received: from mout.web.de ([212.227.17.11]:56128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bM558-00023Z-Mv for 23902@debbugs.gnu.org; Sat, 09 Jul 2016 23:06:59 -0400 Received: from drachen.dragon ([88.67.73.210]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0LoYjO-1atrnt0Axe-00gXp8; Sun, 10 Jul 2016 05:06:51 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <87oa6aepls.fsf@wanadoo.es> <838txen363.fsf@gnu.org> <83shvig21e.fsf@gnu.org> <87eg72cx3u.fsf@wanadoo.es> <83oa66fc6e.fsf@gnu.org> Date: Sun, 10 Jul 2016 05:06:49 +0200 In-Reply-To: <83oa66fc6e.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Jul 2016 05:40:25 +0300") Message-ID: <87wpkumbsm.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:WTQH3kVrb1iQJ32EgIVpTCYpUcnzEYV9kxXJLE2qhuduMIU5zzn OT8VlRJC+CO56GQhd8U9OHln+yWb2R+Xc4dJlwXnTX6g2EXLesdOTTpFLDfZq0DKgYocmUL d0BNKDPVCn8jwS64W1UXQwZN3hynNik7RFqdce3Ft1Udwz1clnVDZHxpZqwqYy3ATj9xFWs F0SFh1/ru5Uhlqc/JvV0g== X-UI-Out-Filterresults: notjunk:1;V01:K0:b9LDlb6SeyY=:2qA/5O8BkbjcNTg2aEFcLt TQIgxthf8MeP7lim4dvjGK1d9kIp/61xB2kTmGZ0RBD2hY3Eq9WNOQDintOKqLyrq79SuA0EC yrXiwTuheBRfWS84HvaL8WHqbd+lFQkkSi2u9gLUuxaJu+h4XwmryKkQ5rsbHwOxBXd6b4c5D ol7KKTeKkon/JCbiFnLvlzGMBfwwl9yJAB1ekNwqB4OJ+BC4vC++PFoMT4WBnIqQnTAHwYKQ3 CxJ1Igw0+4EBnZY5KOf6OlX8s+Mh1iXhyIfNkB+7SyHMchC63zDaP7OiYc6tIBCP7p5f5qOZn oVXiihfSgU69jKhX18BF3BWhtBY3n0aNKXzi4E1z3wXHaL6/oUOaSIGNXABC23Z0XLi9u04Ls V2jSwD2I4kNWE22/bsUFNb9fAalMSiovc+LYwfsUWpFEXmwn6ZX0hi0UovkswPpnnWmUxCl1A 6M4foMtkKq6d10ESORRtTQLDEG0E11VUacj6LdUQFkyuyikeFH7mLqXoZZx6u19CDD62sul2K LTyZ57mD1IvB6o9IInC3zYx184pVS9XbfhdlHXH3hqleyRHTNTDaLIs/vzn/61DPf8lXN5QCd MS6ZtS4dk6x/WCAVZ1/DNk5O24t3SEDxtG0ehJqFhAXTW/AmuCaJvJqsRyRNtyGlByVddPSJM WLbLaa9TfLONzqf0Q2XR1nBiom43gnJWlioBU3Bi+jDGM1saPOFkrZtOLdUnU3puA/4nTRHQe qIU43i9w2Rd68FwktCosXqkVPMwfeeu5lOFnNtw1+ZVnOL96DPxcBtwWZiI9RJAwzFOEEbeUk RKrNPm0 X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 23902 Cc: =?utf-8?Q?=C3=93scar?= Fuentes , 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) Eli Zaretskii writes: > > I think that Glenn is saying that you can compare file names for other > > purposes than knowing if they name the same file. > > Then it's not "equality", it's "equivalence". Equivalence implies equality of equivalence classes. These terms depend on the viewpoint. Does `file-equal-p' test whether the files named by the strings are equal, or whether these strings name the same file and are thus equivalent (Maybe it should be named `file-names-equivalent-p')? Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 10:40:28 2016 Received: (at 23902) by debbugs.gnu.org; 10 Jul 2016 14:40:28 +0000 Received: from localhost ([127.0.0.1]:45223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMFuG-00078N-3i for submit@debbugs.gnu.org; Sun, 10 Jul 2016 10:40:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMFuE-00078B-Nr for 23902@debbugs.gnu.org; Sun, 10 Jul 2016 10:40:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMFu5-0007F0-Gr for 23902@debbugs.gnu.org; Sun, 10 Jul 2016 10:40:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMFu5-0007Eu-Dk; Sun, 10 Jul 2016 10:40:17 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2849 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bMFu3-000365-7p; Sun, 10 Jul 2016 10:40:15 -0400 Date: Sun, 10 Jul 2016 17:40:10 +0300 Message-Id: <83furhftf9.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-reply-to: <87wpkumbsm.fsf@web.de> (message from Michael Heerdegen on Sun, 10 Jul 2016 05:06:49 +0200) Subject: Re: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring References: <87vb0jeo56.fsf@telefonica.net> <831t36omxx.fsf@gnu.org> <87bn2aolcm.fsf@web.de> <83inwin5uu.fsf@gnu.org> <87oa6aepls.fsf@wanadoo.es> <838txen363.fsf@gnu.org> <83shvig21e.fsf@gnu.org> <87eg72cx3u.fsf@wanadoo.es> <83oa66fc6e.fsf@gnu.org> <87wpkumbsm.fsf@web.de> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23902 Cc: oscarfv@telefonica.net, 23902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Michael Heerdegen > Cc: oscarfv@telefonica.net (Óscar Fuentes), > 23902@debbugs.gnu.org > Date: Sun, 10 Jul 2016 05:06:49 +0200 > > Eli Zaretskii writes: > > > > I think that Glenn is saying that you can compare file names for other > > > purposes than knowing if they name the same file. > > > > Then it's not "equality", it's "equivalence". > > Equivalence implies equality of equivalence classes. I think we shouldn't split hair on this matter. File-name equality is something that doesn't need explanation, and we don't want to muddy the waters by looking how to confuse matters even more. > Does `file-equal-p' test whether the files named by the strings are > equal, or whether these strings name the same file and are thus > equivalent IIUC, it does neither (e.g., because it supports links and other stuff). Now, can we please move on to more important things? From unknown Tue Jun 17 20:19:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 Aug 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator