From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: jixiuf <jixiuf@qq.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#45619: 28.0.50; pcase-let on MacOS doesn't work
Date: Sun, 3 Jan 2021 15:59:05 +0800
Message-ID: <tencent_420EB82A750AC42DCD81ECB23589C171FE07@qq.com>
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="39279"; mail-complaints-to="usenet@ciao.gmane.io"
To: 45619@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 03 10:05:15 2021
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1kvzK6-000A2Y-WD
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Jan 2021 10:05:15 +0100
Original-Received: from localhost ([::1]:45512 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1kvzK5-0000Ow-GW
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Jan 2021 04:05:13 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59112)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1kvzJu-0000OO-9N
 for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 04:05:04 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43]:49974)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1kvzJu-0003vn-2t
 for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 04:05:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1kvzJt-0005To-UD
 for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 04:05:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: jixiuf <jixiuf@qq.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 03 Jan 2021 09:05:01 +0000
Resent-Message-ID: <handler.45619.B.160966466721017@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 45619
X-GNU-PR-Package: emacs
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Original-Received: via spool by submit@debbugs.gnu.org id=B.160966466721017
 (code B ref -1); Sun, 03 Jan 2021 09:05:01 +0000
Original-Received: (at submit) by debbugs.gnu.org; 3 Jan 2021 09:04:27 +0000
Original-Received: from localhost ([127.0.0.1]:33287 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1kvzJG-0005Sp-0e
 for submit@debbugs.gnu.org; Sun, 03 Jan 2021 04:04:27 -0500
Original-Received: from lists.gnu.org ([209.51.188.17]:57714)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jixiuf@qq.com>) id 1kvyQ4-00042o-Hx
 for submit@debbugs.gnu.org; Sun, 03 Jan 2021 03:07:21 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53202)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jixiuf@qq.com>) id 1kvyQ3-0001AJ-WB
 for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 03:07:20 -0500
Original-Received: from out203-205-221-153.mail.qq.com ([203.205.221.153]:58979
 helo=qq.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jixiuf@qq.com>) id 1kvyPt-0002Ti-QZ
 for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 03:07:15 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1609661220; bh=pCZc5u7lRToTXivLggVZACJ0nUwj2k5MjeCBSXgV330=;
 h=From:Subject:Date:To;
 b=fZ1bI8ijeDDHdMfzCdl/VjQwQVObR4KLeP+o674Nh977T6uQf/oheV3rUHanYwXM0
 cXJMszJ767rhDo1cwbXVWC7CRQVCQYPLdSv5gRF3/BAAB9rI11UXEKHWppn7RCLDKh
 0q4YOdsWMq8cAvFokbYFokqU0fuPaP0winMTJ4eI=
Original-Received: from [192.168.0.103] ([111.201.51.155])
 by newxmesmtplogicsvrsza6.qq.com (NewEsmtp) with SMTP
 id EC93BE2B; Sun, 03 Jan 2021 15:59:09 +0800
X-QQ-mid: xmsmtpt1609660749tspa32d7o
X-QQ-XMAILINFO: MYG+D1KYzvLe9gffFpT3LBFebizaGOI0EaQ3F2zNLquzqtnDftLHXY9/MO3xOM
 4hHUledmzG1pXJus+ZGr2Tc8JdzeYpRGApcehQb70mH0KrZDne19IpVusamtky9YhSEFCh9hY5xx
 DGIkX1U1xfS251gwlJeShTA01Nd/8vQJtOcCrvw2tTj9uSh7ype8gR+F9w//PXb0Jeirm0WwuudX
 /YyBGl12JpBxvec32VR6eqGryBZ/3qUxTHiXXW3ph1XyG13N4QTxqy4GEA6F+nHdl0yxKhH7gSD5
 Vm2iubZulvInuxd5o3cjzquOuifugw5zjAIQ8y95KoGNdUirFg7VcQoZX9KGCO6L7CN2fj8SxaVD
 /J6w2LVTSs3hhGG4U9eU91rtxhwj9pNFjGrIsUbGj+HShhzJ9lvTNow6u7ZXrfM9I4dpCKNKuzgl
 A8V2O2avzq1mpIcbMvIZ7X9M3z2LMmVVSEnn6Rb9KVzMoNH/u3f/A8SVpL/cC6Px6kUbuVlXfvk0
 RexsFY+Vs7iBzxhEE9RuQAfbCBD1wHkE+cT0xOdC5vWxWoUfweVXe5PnYfOLxqVLnWGq03tqwmTL
 XNSF3cDDel6fgVRTL2uc1F1Ta3StXkJQqifD7Kp/k4o4/Bux82UZlZsmPEjxEMKlKeWWdVL4BA5n
 /OVRoH+CJP8rx9U6pAHqO5ZQDP8DjInhJomZjHRm66scuuTpsDZdK0EDXQjO4rcALrNP1cPEn2yB
 xCsNG8WYSjKJ11O+9aawWnwQ==
X-OQ-MSGID: <C576CC0F-8EC0-46CD-B31C-E84317CD119E@qq.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Received-SPF: pass client-ip=203.205.221.153; envelope-from=jixiuf@qq.com;
 helo=qq.com
X-Spam_score_int: -10
X-Spam_score: -1.1
X-Spam_bar: -
X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, 
 RCVD_IN_DNSWL_NONE=-0.0001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Mailman-Approved-At: Sun, 03 Jan 2021 04:04:21 -0500
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.bugs:197238
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/197238>



(pcase-let ((`(,default-directory) '( "/tmp/")))
    (call-interactively 'find-file))

Expected behavior: Find file in "/tmp/"
Observed behavior: Find file in "~"

Original Bug: https://github.com/minad/consult/issues/108



In GNU Emacs 28.0.50 (build 3, x86_64-apple-darwin19.6.0, NS =
appkit-1894.60 Version 10.15.7 (Build 19H114))
of 2021-01-02 built on jxfhome
Repository revision: 0f561ee55348ff451600cc6027db5940ee14606f
Repository branch: master
Windowing system distributor 'Apple', version 10.3.1894
System Description:  Mac OS X 10.15.7

Configured using:
'configure --disable-silent-rules
--enable-locallisppath=3D/usr/local/share/emacs/site-lisp
--prefix=3D/Users/jixiuf/gccemacs --with-nativecomp --with-ns
--disable-ns-self-contained CC=3Dclang LDFLAGS=3D-L/usr/local/lib/gcc/10
'CFLAGS=3D-I/usr/local/opt/openssl@1.1/include
-I/usr/local/opt/texinfo/include -I/usr/local/opt/gnu-sed/include
-I/usr/local/opt/gcc/include -I/usr/local/opt/libxml2/include
-I/usr/local/opt/jpeg/include -I/usr/local/opt/libtiff/include
-I/usr/local/opt/gnutls/include -I/usr/local/opt/nettle/include
-I/usr/local/opt/libtasn1/include -I/usr/local/opt/p11-kit/include '
'CPPFLAGS=3D-I/usr/local/opt/openssl@1.1/include
-I/usr/local/opt/texinfo/include -I/usr/local/opt/gnu-sed/include
-I/usr/local/opt/gcc/include -I/usr/local/opt/libxml2/include
-I/usr/local/opt/jpeg/include -I/usr/local/opt/libtiff/include
-I/usr/local/opt/gnutls/include -I/usr/local/opt/nettle/include
-I/usr/local/opt/libtasn1/include -I/usr/local/opt/p11-kit/include ''

Configured features:
JPEG TIFF PNG RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER LCMS2

Important settings:
  value of $LC_ALL: zh_CN.UTF-8
  value of $LANG: zh_CN.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml easymenu mml-sec epa derived epg epg-config gnus-util rmail
rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json map text-property-search time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
pcase china-util iso-transl tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize
mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads kqueue cocoa ns lcms2
multi-tty make-network-process emacs)

Memory information:
((conses 16 52619 7203)
(symbols 48 6722 1)
(strings 32 18551 2095)
(string-bytes 1 611982)
(vectors 16 12909)
(vector-slots 8 230707 8768)
(floats 8 21 43)
(intervals 56 296 4)
(buffers 984 10))