From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id 1bR5HUSAOV/RQQAAsNZ9tg (envelope-from ) for ; Sun, 16 Aug 2020 18:51:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WC7PGESAOV/cKwAAB5/wlQ (envelope-from ) for ; Sun, 16 Aug 2020 18:51:48 +0000 Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D6B1A940653 for ; Sun, 16 Aug 2020 18:51:47 +0000 (UTC) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 1F6127C080; Sun, 16 Aug 2020 14:51:47 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=3VbZahOr1u3s8Osh5nvlEyvMp y8=; b=KKOs/l/b+EMQNP2sKOjdTpTAgLb8i2bOtQ1EX6q/spDfF17l1u9cn2GDM 1m3V5hfQhC6Fxc7JTuyEz9n046dfQCakGwIbLjAKR9gMoirOcEuQxqZxlWoI068z KfLPSmP6D+rRWmpAzxcdPkC/fb8rKQ2uUPzl7T+Zwa2OHpZj58= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 17B397C07F; Sun, 16 Aug 2020 14:51:47 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:date:message-id:in-reply-to:references:mime-version:content-transfer-encoding; s=mesmtp; bh=FUSvEZl+nbZ8r3gMbAfaehRxRboZVlriqyPQeDSMw2s=; b=bZx9ocO6pg/7KOE9/i6+cpZ55S7kwLxA1p92fuw2QaGKnnQ9LbaOuE6cfR9ihBebghIza0JFty46qQdgfNxdA4R+K/7951BGGpjfOjDiFZJqffXZeyB6a3x4pwifWAZ4dKMX0Q0LNXSUiCSj05zb26pB8OOvtwbmSCqFEyKC4Dg= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 925027C07E; Sun, 16 Aug 2020 14:51:46 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: piem@inbox.kyleam.com Subject: [PATCH v2 4/4] piem-inbox-coderepo-maybe-read: Expand paths from projectile Date: Sun, 16 Aug 2020 14:51:30 -0400 Message-Id: <20200816185130.32703-4-kyle@kyleam.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <877dty4eme.fsf@kyleam.com> References: <877dty4eme.fsf@kyleam.com> MIME-Version: 1.0 X-Pobox-Relay-ID: 88F57490-DFF1-11EA-B0BE-2F5D23BA3BAF-24757444!pb-smtp2.pobox.com Content-Transfer-Encoding: quoted-printable X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=KKOs/l/b; dkim=fail (body hash did not verify) header.d=kyleam.com header.s=mesmtp header.b=bZx9ocO6; dmarc=none; spf=pass (aspmx1.migadu.com: domain of kyle@kyleam.com designates 64.147.108.71 as permitted sender) smtp.mailfrom=kyle@kyleam.com X-Spam-Score: 2.50 X-TUID: q14+k6bkH5gn The other methods return expanded absolute paths. Do the same here. --- piem.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/piem.el b/piem.el index f4ba96b..e958ada 100644 --- a/piem.el +++ b/piem.el @@ -295,13 +295,13 @@ (defun piem-inbox-coderepo-maybe-read () (let ((inbox (or (piem-inbox-coderepo) (and (bound-and-true-p projectile-known-projects) - (completing-read - "Project: " - projectile-known-projects nil t nil nil - (when-let ((current (and (fboundp 'projectile-project= -root) - (projectile-project-root)))) - (abbreviate-file-name current)))) - + (expand-file-name + (completing-read + "Project: " + projectile-known-projects nil t nil nil + (when-let ((current (and (fboundp 'projectile-projec= t-root) + (projectile-project-root)))= ) + (abbreviate-file-name current))))) (and piem-use-magit (fboundp 'magit-read-repository) (magit-read-repository)) --=20 2.28.0