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 6AJQC6xrQV+2LgAAsNZ9tg (envelope-from ) for ; Sat, 22 Aug 2020 19:02:04 +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 iIRVB6xrQV+fTAAAB5/wlQ (envelope-from ) for ; Sat, 22 Aug 2020 19:02:04 +0000 Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (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 D51949403A5 for ; Sat, 22 Aug 2020 19:02:03 +0000 (UTC) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 04DC5EA005; Sat, 22 Aug 2020 15:02:02 -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=Pn7sdKLzTdwmkNqwWTWa0nNMn aw=; b=GcUIvUkNzHb7UtYz3vx42kaHFTgQKvm3Pw88km5taW1QHz6OWAV/6dV+h Xqn/tcJh7rnT+8DzzGpFDw3Yu14mYeijH8d1vVUSeWO2qXebB1nVggP6iLxFwBoQ EyCQ8ZII6C4dMyOcT0HO7H3tK2Ykgl4PLvoLdRFOT2QFcNjiQk= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id F1BB2EA004; Sat, 22 Aug 2020 15:02:01 -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=HB1WZlWOAGFGfa9mdS3aRQJXb1K9HICtU4XApadOtJI=; b=wpX0OlOyQgR+MStutLLXvZHs0X0VZbd04cWwvwSo0ViIshcspgBOzM2saiql9zhDUsZwJnZ9ghHbu0YXzBXA+x54AheQYFQ+rtETV4h+1/7DjW1D4fdiVoRlJtx74ZAsJiaFY4WtSYPHcgNepRtZhPdwoodOUhSZCTs0GkLFqP8= 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-smtp21.pobox.com (Postfix) with ESMTPSA id 5C355EA001; Sat, 22 Aug 2020 15:01:59 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: piem@inbox.kyleam.com Subject: [PATCH 1/3] inject: Abbreviate piem-maildir-directory in message Date: Sat, 22 Aug 2020 15:01:28 -0400 Message-Id: <20200822190130.20397-2-kyle@kyleam.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200822190130.20397-1-kyle@kyleam.com> References: <20200822190130.20397-1-kyle@kyleam.com> MIME-Version: 1.0 X-Pobox-Relay-ID: F4AEFA14-E4A9-11EA-B875-843F439F7C89-24757444!pb-smtp21.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=GcUIvUkN; dkim=fail (body hash did not verify) header.d=kyleam.com header.s=mesmtp header.b=wpX0OlOy; dmarc=none; spf=pass (aspmx1.migadu.com: domain of kyle@kyleam.com designates 173.228.157.53 as permitted sender) smtp.mailfrom=kyle@kyleam.com X-Spam-Score: 2.50 X-TUID: YglzSoQmPMqY The message is going to get longer when skip counts are reported, so try to save some characters. --- piem.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/piem.el b/piem.el index 3669cfe..5fc7f04 100644 --- a/piem.el +++ b/piem.el @@ -444,7 +444,8 @@ (defun piem--inject-thread-callback (status mid messa= ge-only) (piem--url-decompress)) (let ((message-count (piem--write-mbox-to-maildir))) (message "%d message(s) for %s moved to %s" - message-count mid piem-maildir-directory)) + message-count mid + (abbreviate-file-name piem-maildir-directory))) (run-hook-with-args 'piem-after-mail-injection-functions mid= ))) (and (buffer-live-p buffer) (kill-buffer buffer))))) --=20 2.28.0