From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0CVeLryH1V+kagAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 03:17:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AGJBKryH1V83VAAA1q6Kng (envelope-from ) for ; Sun, 13 Dec 2020 03:17:16 +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 3769C9402A7 for ; Sun, 13 Dec 2020 03:17:16 +0000 (UTC) Received: from localhost ([::1]:47070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koHsp-00020o-3L for larch@yhetil.org; Sat, 12 Dec 2020 22:17:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koHsI-00020S-VL for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 22:16:43 -0500 Received: from server173-4.web-hosting.com ([68.65.122.210]:40260) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koHsF-00068p-Rl for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 22:16:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=isnotmyreal.name; s=default; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:To:From:Date:MIME-Version:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=dS2SUjQl49eZMafbt7Di9BVVHytp9TT2juWjCubvp5E=; b=AvHot8mFUWxqp2fpHRX1a3jUCA hMS4dlJ0Vmd5uHMyK50z+tKvyT36PhBYR2xW7D50fPlyKI2hI5/6cY/XVFD07zfuY4JJTabs7lNSd 0xs7OmHIrqwGt5e2DmR62IC0sV0cvFsgKXXIruviA8LuOZJeD/xFBjpnfNmUNjsYrQFM0MnsgRbrq XpCweB6G8cKpHc1mT/C/CmpgMB+U0SeOIdlo9a+lKmZg4Ug9nk2OODKU1lClCtYCFLSY7/aO51O8E UMKldoVLJVipyHhr99ANKvAcyqP1LTbRYDmdNJE167jA8W6VB338tbsQMzF7LRSac4OrwLn9YUD5O 42iOJ6LQ==; Received: from [::1] (port=47194 helo=server173.web-hosting.com) by server173.web-hosting.com with esmtpa (Exim 4.93) (envelope-from ) id 1koHs9-003c7r-0R for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 22:16:37 -0500 MIME-Version: 1.0 Date: Sat, 12 Dec 2020 22:16:32 -0500 From: TRS-80 To: emacs-orgmode@gnu.org Subject: Re: Org Capture Menu cannot be fully viewed In-Reply-To: References: <87y2i2ttl7.fsf@gmail.com> Message-ID: X-Sender: lists.trs-80@isnotmyreal.name User-Agent: Roundcube Webmail/1.3.15 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-0.2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server173.web-hosting.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - isnotmyreal.name X-Get-Message-Sender-Via: server173.web-hosting.com: authenticated_id: lists.trs-80@isnotmyreal.name X-Authenticated-Sender: server173.web-hosting.com: lists.trs-80@isnotmyreal.name X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched Received-SPF: pass client-ip=68.65.122.210; envelope-from=lists.trs-80@isnotmyreal.name; helo=server173-4.web-hosting.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.30 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=isnotmyreal.name header.s=default header.b=AvHot8mF; 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-Migadu-Queue-Id: 3769C9402A7 X-Spam-Score: -1.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: unW6qRFgRzjz On 2020-12-12 21:08, pietru@caramail.com wrote: > Here is one version of a template > > (setq capture-template-investigation-type '( > > ("a" "Historic Background Research Site Evaluation/Testing" entry > (file "~/histr/archaeol.org") > "* Site_Type: %?\n %T\n") > > [...] > > ("u" "Remote Sensing" entry > (file "~/histr/archaeol.org") > "* Site_Type: %?\n %T\n") )) > Are there any more to these templates you did not show? Because, (and unless I am missing something) what I see are essentially all the same (and quite simple). You would end up with something like the following in your target file (with the cursor ending up at the x): #+begin_example * Site_Type: x [2020-12-12 Sat 21:58] #+end_example In fact I don't even see where the type name ends up in the result? If all my assumptions above are true, I think you would probably be better served with a simple completing-read (or similar) function to select the "Investigation Type" from a list and then simply insert that along with a timestamp. Which it will take you longer to reply to this email and confirm than it would take me to write such a function. :) Benefit of that way also removes possibility of typos in the type name. In fact, the above could even be done with something as simple as Yankpad[0]. I have no idea what your workflow looks like, or where this data ends up. However, thinking further, I would imagine it might even be helpful to set one or more Org properties[1] for things like "Investigation Type" (along with some other things I could speculate like "Location" etc.). But all of that depends on even more things I don't know about. If you care to share a slightly bigger picture view, particularly about the structure of the data you are trying to capture (and/or, your workflow) we could likely come up with something that would work much better for you than a capture template, at least in this particular case. Cheers, TRS-80 [0] https://github.com/Kungsgeten/yankpad [1] https://orgmode.org/manual/Properties-and-Columns.html