Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id CE297431FBC for ; Mon, 26 Mar 2012 18:37:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id us80l6szoIOG for ; Mon, 26 Mar 2012 18:37:21 -0700 (PDT) Received: from dmz-mailsec-scanner-6.mit.edu (DMZ-MAILSEC-SCANNER-6.MIT.EDU [18.7.68.35]) by olra.theworths.org (Postfix) with ESMTP id A1504431FAE for ; Mon, 26 Mar 2012 18:37:21 -0700 (PDT) X-AuditID: 12074423-b7f9c6d0000008c3-b8-4f7119d06af9 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP id 35.F8.02243.0D9117F4; Mon, 26 Mar 2012 21:37:20 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id q2R1bK0d023370 for ; Mon, 26 Mar 2012 21:37:20 -0400 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q2R1bIAo004567 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 26 Mar 2012 21:37:20 -0400 (EDT) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) (envelope-from ) id 1SCLLa-0005Ka-Cu for notmuch@notmuchmail.org; Mon, 26 Mar 2012 21:37:18 -0400 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH 0/2] Escape message ID queries in Emacs Date: Mon, 26 Mar 2012 21:37:14 -0400 Message-Id: <1332812236-20387-1-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 1.7.7.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjkeLIzCtJLcpLzFFi42IR4hTV1r0gWehvcGqahcX1mzOZHRg9nq26 xRzAGMVlk5Kak1mWWqRvl8CV8WBlacE9porj+5YyNjAuZepi5OSQEDCRWLZ2LjOELSZx4d56 ti5GLg4hgX2MEudbZjFBOOcYJRbsbGWBcJ4zSUzZsZ8VwrnIKHGoqZcVpJ9NQENi2/7ljCC2 iIC0xM67s4HiHBzCAuYSC1b4goRZBFQl1i6ZyQZi8wo4SGz6dQLqDAWJGVOuME5g5FnAyLCK UTYlt0o3NzEzpzg1Wbc4OTEvL7VI10wvN7NELzWldBMjyNvsLso7GP8cVDrEKMDBqMTDazi9 wF+INbGsuDL3EKMkB5OSKC8vMFSE+JLyUyozEosz4otKc1KLDzFKcDArifDePAlUzpuSWFmV WpQPk5LmYFES59XQeucnJJCeWJKanZpakFoEk5Xh4FCS4OUBGSpYlJqeWpGWmVOCkGbi4AQZ zgM0XAekhre4IDG3ODMdIn+KUVFKnJcRJCEAksgozYPrhUXjK0ZxoFeEeWVBqniAkQzX/Qpo MBPQ4CVH8kEGlyQipKQaGLOX/FJ1mL7mQPeM6dINbcEBR5PEciXDX/o6sRse0/1/Y8PWs2Hi e7+El5TNfWry5e+fppMMnbzbnl5tP2v1TfzuBde4DX/mvkhiz3v80vbzmbfFbncvf3/wR/NC uqD8oeZDL+qfTH30nOk6axTL98RN55pT+/cLvWf5dP529snZVcaa/WUN25mUWIozEg21mIuK EwG29zcUoQIAAA== X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Tue, 27 Mar 2012 01:37:23 -0000 Currently, Emacs does not escape message ID queries and is inconsistent about quoting them. This patch centralizes this in one function that always produces a properly quoted and escaped message ID query. With this, Emacs no longer gets confused by Tomi's crazy message, id:"id:""1332281811-24710-2b-git-send-email-tomi.ollila@iki.fi"""