From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems Date: Tue, 08 Jun 2021 14:14:53 +0200 Message-ID: <87r1hcmu2q.fsf@gnus.org> References: <51cb-60bf4900-1dd-2840bc80@23790836> <875yyoo9gy.fsf@gnus.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="11546"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48902@debbugs.gnu.org, Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= , naofumi@yasufuku.dev To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 08 14:17:03 2021 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 1lqafH-0002k6-7Z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 14:17:03 +0200 Original-Received: from localhost ([::1]:54148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqafG-0005c7-7H for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 08:17:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqaeI-0003T1-16 for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 08:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqaeH-00067t-NT for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 08:16:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqaeH-0005D8-Jh for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 08:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Jun 2021 12:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48902 X-GNU-PR-Package: emacs Original-Received: via spool by 48902-submit@debbugs.gnu.org id=B48902.162315451019959 (code B ref 48902); Tue, 08 Jun 2021 12:16:01 +0000 Original-Received: (at 48902) by debbugs.gnu.org; 8 Jun 2021 12:15:10 +0000 Original-Received: from localhost ([127.0.0.1]:57618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqadR-0005Bp-Ro for submit@debbugs.gnu.org; Tue, 08 Jun 2021 08:15:10 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:54190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqadP-0005BB-Sb for 48902@debbugs.gnu.org; Tue, 08 Jun 2021 08:15:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From: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=/Q9nGTS+HIA8Vom0+L3XaaZDl1XULgfeYXQRV+/voSw=; b=p5aBmxFJim6KVLkjt6BNVo4h4a Ufn9Pb5XAXVduL/0IZo2Ce1v36+KkQFHSsd4Mjd6mFWuOR/V+Ue068+r68d8ja73f6JEdaGr66sgR mG54Ou9P9Wf05BZRIvUt8yT+H9PZOb8grKff8sZlN9xINuSj59/qR44y+zPb77CdrSDY=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqadC-0008V4-3K; Tue, 08 Jun 2021 14:14:56 +0200 X-Now-Playing: Boris's _bootleg -feedbacker- remaster_: "boris at last -feedbacker-" In-Reply-To: (Alan Third's message of "Tue, 8 Jun 2021 13:12:56 +0100") 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:208229 Archived-At: Alan Third writes: >> > image = [[EmacsImage alloc] initByReferencingFile: >> > - [NSString stringWithLispString: found]]; >> > + [NSString stringWithUTF8String: SSDATA (found)]]; >> >> Hm... I'm not very familiar at all with the Objective C code here... >> but shouldn't "found" here be a Lisp string so that stringWithLispString >> would do the right thing? > > It's always possible that stringWithLispString isn't doing the right > thing. It's implemented at nsfns.m:3026. I know almost nothing about > UTF8/UTF16 so while it looks like it's doing the right thing to me, I > could be entirely wrong. Right -- and that was written by Mattias, so I've added him to the CCs. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no