From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id E1F9B6DE0946 for ; Sat, 22 Oct 2016 02:57:03 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.238 X-Spam-Level: X-Spam-Status: No, score=-0.238 tagged_above=-999 required=5 tests=[AWL=-0.218, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gm-zkNcecXxJ for ; Sat, 22 Oct 2016 02:57:02 -0700 (PDT) Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by arlo.cworth.org (Postfix) with ESMTPS id F3E576DE02AC for ; Sat, 22 Oct 2016 02:57:01 -0700 (PDT) Received: by mail-lf0-f66.google.com with SMTP id b75so7528692lfg.3 for ; Sat, 22 Oct 2016 02:57:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=I0p/V/b6i8SeNEEnPLzbLYfWQAiUk/kpANJcQ4M6N6Y=; b=YErVZxSQk229JNEOK3dquuxf1taI/hr+QntzEk03zgIxMom1kThr14MN/Xd7ytOlLU 3cPfBb3Qvb41lX9QFTAf0V+kDPTdEzAUspJxYPTfyt92zgkixWulz3E5o6CeC44QwVCg kWg3pGrW/QqkCN+3pd4jAbNu8PCP51tYyhGtq2AkN3AbS5dMPTIwGxhwW393JLVC2vBH sj1zejyGxnTucJ88inQ0MvSRW6FBOVoDw4Vv+cv7o+Z0zXcEiwkJN1P4ezMIi3TWTYST tPYZt5n/vWFxd3WVDcuY7np5YezZ8olue+pxRQIq3h1Z91AJGtoR8/KlFEMexHzzggHc roRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=I0p/V/b6i8SeNEEnPLzbLYfWQAiUk/kpANJcQ4M6N6Y=; b=luPeNP7H397xwVvF35n+0trbgwqrFThYGCKeg8I8DZll2jeMbFWwOXVui+rDzrT+Ig B1DlPAmPgo8Wwv3zQrqRgFjBzXICDpaPVjXIyFMgGs26qH5YtukP0FY0uMawyHGD4E/X 3r28H5W4whaoJmekZeqjNGX6img9y+VnG5s17n7NHb0pBGMuLTI5tPYpJB2WYQ9+tL6O o+Qz8av0CcLsciDB3kU1AptaFOAXaojzwFlAJIaDt1AGSCQO6MrmR4u8tWcu45XOLkcp B2ucoOlKPXMNrueLBZ81WnowuBWJWPaOtB/2v6yDVpYAHwoDhYnRAIRdDvB38/Orgv0c WN9Q== X-Gm-Message-State: ABUngveOke+2r+34pzOPwVIrKN06o/6dG4Vb+AYKEdXWPxfDUu8CASeiARhnSW3Md4MkdQ== X-Received: by 10.25.77.197 with SMTP id a188mr2532046lfb.55.1477130219917; Sat, 22 Oct 2016 02:56:59 -0700 (PDT) Received: from localhost (mobile-access-bceef0-89.dhcp.inet.fi. [188.238.240.89]) by smtp.gmail.com with ESMTPSA id g63sm1165534lji.45.2016.10.22.02.56.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Oct 2016 02:56:59 -0700 (PDT) From: Jani Nikula To: Mark Walters , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: add mimetype completions to searches In-Reply-To: <1474968416-3572-1-git-send-email-markwalters1009@gmail.com> References: <1474968416-3572-1-git-send-email-markwalters1009@gmail.com> Date: Sat, 22 Oct 2016 12:55:09 +0300 Message-ID: <871sz8zp1e.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2016 09:57:04 -0000 On Tue, 27 Sep 2016, Mark Walters wrote: > When doing the patch for commit > f94921520778ae4005500f5d1b943e2d4ddd3b2a emacs: show: let the user > override the mime-type of an attachment, I discovered how to do > mimetype completion (in particular where to get a list of mimetypes), > so we may as well add this completion for searches too. Any ideas how to get a list of mime types in shell, so I could do the same in bash completion without hard-coding some limited list? BR, Jani.