From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Eglen Newsgroups: gmane.emacs.bugs Subject: bug#56443: 28.1; Mac segmentation fault with ffap Date: Fri, 08 Jul 2022 11:02:20 +0100 Message-ID: References: <83sfnc40yi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33329"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.5; emacs 28.1 Cc: Eli Zaretskii , 56443@debbugs.gnu.org, sje30@cam.ac.uk To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 08 12:13:15 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o9kz5-0008TM-1F for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Jul 2022 12:13:15 +0200 Original-Received: from localhost ([::1]:48732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9kz3-0003Vf-KB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Jul 2022 06:13:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9kys-0003UW-9S for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2022 06:13:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9kyr-0004tA-Ov for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2022 06:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9kyr-0006ni-Ie for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2022 06:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Eglen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Jul 2022 10:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56443 X-GNU-PR-Package: emacs Original-Received: via spool by 56443-submit@debbugs.gnu.org id=B56443.165727516226087 (code B ref 56443); Fri, 08 Jul 2022 10:13:01 +0000 Original-Received: (at 56443) by debbugs.gnu.org; 8 Jul 2022 10:12:42 +0000 Original-Received: from localhost ([127.0.0.1]:58885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9kyY-0006mh-KE for submit@debbugs.gnu.org; Fri, 08 Jul 2022 06:12:42 -0400 Original-Received: from ppsw-32.srv.uis.cam.ac.uk ([131.111.8.132]:38342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9kyU-0006mN-Dc for 56443@debbugs.gnu.org; Fri, 08 Jul 2022 06:12:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cam.ac.uk; s=20210802.ppsw; h=Content-Type:MIME-Version:Message-ID:In-reply-to:Date: Subject:Cc:To:From:References:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KI87xU+kFCt22J6y3R34CoeH2hpoq0BzhWna9Mz78gM=; b=l9PfFzorYeU6fkUpDuSkmKaSKc 6JX6woKVd1DIUceJQIbeROhxHmcjlsAszyauJgIhvZa2z1jt0Ej0DPjGFuTcyOSJ600kt+q9K9Rak TPCdfsPgHEYC3w+8u6wsppoc69Di1sWfvZ7F1yBY54R8dEpBAT+XMrbDNtjEhHGfT1/A=; X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: https://help.uis.cam.ac.uk/email-scanner-virus Original-Received: from smtp.maths.cam.ac.uk ([131.111.20.158]:53867 helo=evander.maths.cam.ac.uk) by ppsw-32.srv.uis.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.136]:25) with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1o9kyT-000HX5-9l (Exim 4.96) for 56443@debbugs.gnu.org (return-path ); Fri, 08 Jul 2022 11:12:37 +0100 Original-Received: from 33.196.93.209.dyn.plus.net ([209.93.196.33] helo=localhost) by evander.maths.cam.ac.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1o9ks3-005Ekz-Gg; Fri, 08 Jul 2022 11:05:59 +0100 In-reply-to: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:236443 Archived-At: Thanks everyone for help debugging this. > BTW, I don't really understand the semantics of > file-name-case-insensitive-p. The docstring says that it returns nil if > the file is not found, but these calls return t on my system: > > (file-name-case-insensitive-p "") > (file-name-case-insensitive-p "FileThatDoesNotExist") I also find that those two expressions return t on my mac, and nil on my linux machine. This seems to be consistent with the doc string: Return t if file FILENAME is on a case-insensitive filesystem. Return nil if FILENAME does not exist or is not on a case-insensitive filesystem, or if there was trouble determining whether the filesystem is case-insensitive. It returns t on mac as it is case-insensitive by default, presumbly irrespective of whether the file exists. One small suggestion for the docstring might be to remove the double negative in the second sentence: "is not on a case-insensitive filesystem" could be "is on a case-sensitive filesystem" ? Stephen