From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iMnnDMI1a19JJAAA0tVLHw (envelope-from ) for ; Wed, 23 Sep 2020 11:47:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SBOwCMI1a19OIgAAbx9fmQ (envelope-from ) for ; Wed, 23 Sep 2020 11:47:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 8B1539400EF for ; Wed, 23 Sep 2020 11:47:13 +0000 (UTC) Received: from localhost ([::1]:35106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kL3Eu-0007QY-HT for larch@yhetil.org; Wed, 23 Sep 2020 07:47:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kL390-0001oZ-1h for emacs-orgmode@gnu.org; Wed, 23 Sep 2020 07:41:06 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:38540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kL38y-0007FR-Bl; Wed, 23 Sep 2020 07:41:05 -0400 Received: by mail-pl1-f193.google.com with SMTP id c3so6702695plz.5; Wed, 23 Sep 2020 04:41:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wAFyevUN0nqCCjY2eM5NiOsCVdiHDohuevEB9vT4aa8=; b=JuKY3/Ph2zqmQbY6gcOoBCy4FT7+1NL2mPhFJWqIOv1E+lRYYRtxWfRqT14B4xnCzJ 92RTbNDfvpT8PWOI5BVTwqfjT5S1xMIISNmfvQnWQlHFnwMBA00KXnm3ZRaSCEKYiDNc L7qGMFsvmLWdKDfsrQcBOCXsNWJv9k0ubLyU0cxp2wskuhj0B51HITbOc4+vVcGdBkg+ n+tj+d9jlwZlxqcz9r2BgknyhpX6Hhvzcs+KoJJ5L1PRZufQB4/fi6hEfqP5gPBSQRQ+ PqzqaBiFWfxKiqokktr2PH1lesZ06YEYSsbMwQWCdxiO/R1GaT07dSUFfmv9Ej7UjMA/ Ybug== X-Gm-Message-State: AOAM530mXXRQZRsxGgHFa4NBS9lYGfmZ4pm566C3IM27h0Ca5robByGC 8/8xrBfVaYemMO1+1EsuAOhKadPbd48wcsRzpflOjQdQ X-Google-Smtp-Source: ABdhPJxoZG07277YNLoDj4TKfkLOfQzO8YLviuQOxu6vwmBtZQQaIQK8klHOKDidO/X2j7KYUNegQ6momROFiuqB2JE= X-Received: by 2002:a17:902:d888:b029:d0:cb2d:f274 with SMTP id b8-20020a170902d888b02900d0cb2df274mr8910406plz.13.1600861258815; Wed, 23 Sep 2020 04:40:58 -0700 (PDT) MIME-Version: 1.0 References: <87lfh1arg1.fsf@gnu.org> <87wo0khhgv.fsf@gnu.org> In-Reply-To: <87wo0khhgv.fsf@gnu.org> From: Phil Hudson Date: Wed, 23 Sep 2020 12:40:46 +0100 Message-ID: Subject: Re: [PATCH] Re: RFE: Capture: property prompt: default completion To: Bastien Content-Type: multipart/mixed; boundary="000000000000aad78705aff98e1f" Received-SPF: pass client-ip=209.85.214.193; envelope-from=philhudsonster@gmail.com; helo=mail-pl1-f193.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/23 07:40:59 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs orgmode-mailinglist Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: 5ElV/YgH0jQA --000000000000aad78705aff98e1f Content-Type: text/plain; charset="UTF-8" On Wed, 23 Sep 2020 at 12:15, Bastien wrote: > > Sorry, I should have mentioned this, but the patch does not apply on > master. If you have time to merge recent changes and reformat it, I > can apply it right afterwarsds, otherwise I will try to do it myself > later this week. OK, herewith. --000000000000aad78705aff98e1f Content-Type: text/x-patch; charset="US-ASCII"; name="org-capture-default-for-property.patch" Content-Disposition: attachment; filename="org-capture-default-for-property.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kffbg8y80 b3JnLWNhcHR1cmUuZWw6IEdpdmUgYSBkZWZhdWx0IHZhbHVlIHdoZW4gcHJvbXB0aW5nIGZvciBh IHByb3BlcnR5CgoqIGxpc3Avb3JnLWNhcHR1cmUuZWwgKG9yZy1jYXB0dXJlLXRlbXBsYXRlcywg b3JnLWNhcHR1c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