From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4DCgCP7cFWOGywAAbAwnHQ (envelope-from ) for ; Mon, 05 Sep 2022 13:26:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iFPvB/7cFWPhBgAAG6o9tA (envelope-from ) for ; Mon, 05 Sep 2022 13:26:54 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DD85515043 for ; Mon, 5 Sep 2022 13:26:53 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D13C45F374; Mon, 5 Sep 2022 11:26:50 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 4226E5F36E for ; Mon, 5 Sep 2022 11:26:49 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 74FAA5FBC0; Mon, 5 Sep 2022 07:26:48 -0400 (EDT) Received: (nullmailer pid 1885154 invoked by uid 1000); Mon, 05 Sep 2022 11:26:47 -0000 From: David Bremner To: Alexander Adolf , notmuch@notmuchmail.org Subject: Re: feature request: notmuch-show-print-message w/prefix to print PS to file In-Reply-To: References: Date: Mon, 05 Sep 2022 08:26:47 -0300 Message-ID: <87k06i5afc.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: UNKSMXERPXEUM6ZOQISTTBGVJA7C42QE X-Message-ID-Hash: UNKSMXERPXEUM6ZOQISTTBGVJA7C42QE X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662377213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=AjPIiNhrbii/oACjecA6oHAnaXNOm+VRA/t+a5A3gKI=; b=VQvUKowOpKu85N+RS3pM7OZo7/2u1AaIjNbuMkGZ0VvSkjjDDx4KTxVCX3n0AXAHTUMhBv 5GdWNB2HCIh0/6s5fzLeCHPRCbec9ScnZGujRGGOh2qgRV9qxT/HeJdN6Nf2ZZvT908YAh tH/LkGVjkJOoiyD6VRCe33LY8cBhK49SIEFE6ZHyYvS04rzes/J+tWhQ5Kvklf/u10MuU2 v5S/5esw9HwAbzcEV8+XuvA1/WfjBQDduJCTrbuDRiVV96EEY3EtjR+iMzpkmZcZukYsFj NFb6ITfy7NjiXWeuKUAwezauBhMXb2WR/VOmI/fI4Zfj/j9ci3qBPqKS2ReSHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662377213; a=rsa-sha256; cv=none; b=h51/+bhkzhmzkPaaBXLxGZRiHNEre71GNpuKnj2P3HZXpplzWm2hFRzBeXcNMxx1I3RDwG Ooz0fC26d1e8+Znpmc2PhRrp18Kydcyl34n+YBqb3Pdj8qVC28+4nqPMejRMM4wyJdAOft xDjDl66pUW6bH5/JC30TSyz0xYn1HrQ6Bwl1KGCZj6hxDvYtL+zqC9PdVbx/mXb2TUnzMk QTLFn7P7yzReqJlXwyPmDjRFFDeeyFCJZsJErtus5tXYEiHJqH2hf4vUcAMQ1UdoNZeRlX iqNJtjU+ACcuA3r9v46G0bmBFDBbMMNGb2PfR2l9cu5fSwJxYzDFi1TWhEZZMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: DD85515043 X-Spam-Score: -2.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: kLYP7FJfCBdo Alexander Adolf writes: > Hello, > > I'd like to request a feature. My intent is to redirect PostScript > printing of a message via `notmuch-show-print-message` to a file. > Ideally (IMHO) `notmuch-show-print-message` would accept an optional > prefix argument ("C-u"), which would be passed down to > `ps-print-buffer`, which would then prompt me for the name of the file, > and save the PS to that file. > > This would be specific to ps-print, and does not make sense for lpr > printing, of course. > One workaround is to set notmuch-print-mechanism to notmuch-print-ps-print/evince, and save the file from evince.