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 2AutD+M92l8eFQAA0tVLHw (envelope-from ) for ; Wed, 16 Dec 2020 17:03:31 +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 sJ/xCeM92l/fLgAA1q6Kng (envelope-from ) for ; Wed, 16 Dec 2020 17:03:31 +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 BA2D7940276 for ; Wed, 16 Dec 2020 17:03:30 +0000 (UTC) Received: from localhost ([::1]:39378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpaD3-0000EL-9J for larch@yhetil.org; Wed, 16 Dec 2020 12:03:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpa8U-0004TL-E0 for emacs-orgmode@gnu.org; Wed, 16 Dec 2020 11:58:46 -0500 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]:37555) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpa8R-0003oh-3y for emacs-orgmode@gnu.org; Wed, 16 Dec 2020 11:58:46 -0500 Received: by mail-qk1-x72a.google.com with SMTP id h4so18318487qkk.4 for ; Wed, 16 Dec 2020 08:58:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:cc:subject:in-reply-to:date:message-id :mime-version; bh=SziUlFoDmbp0JpgDD7Z9EQ+VvAqB3ozPjal8UKK6kxw=; b=H+ODXq6viG/WC0VmCHGC4Gm59kOPZAtoKkaIGL7Qi/rBqFkS8mmIvEYZ15AxN5qtS5 PIHHhbpwGMkhYyhtP9+yJOnmdgxlgOFINasFxTe/Mrfvl/Uxtou9SS3GBq7LlhaLmXS/ Yt/uj98Zn8HY9mdcEOEI4JB2pc2s9XHlLq1NZNe+8dJ/WXqm6IsyEU0Dl8XHknjUm+5e dw6s/VD8pB9NEtT8H8zzDbIzT9i/cVpNwSblTsnXjoxDCWBZK18ChqLytMAOK44kdnnR tHECv9xeISZUyIY202nUCL22WWfUD8npYxPHhUkjyz3WAYHckshhKM1BgT6sRmES0LUh OpcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=SziUlFoDmbp0JpgDD7Z9EQ+VvAqB3ozPjal8UKK6kxw=; b=TIZJ+z61CVNCFERCpvC60kjvshfxEv1evKh3AXKbFuMOLS8hkIrTO5JM1Wc+CNVVhL Rf1Xo29vgsmGj3HKZzepbUL90EyYkdm1ljh/UA7W4oudiUVa5kUjB4a+gpMBqpkcIppa 7fAjNfI5weub1yC09Hzpb2HQTNVTee7dVQuYwzOzBEC3J4YcseLiEmJAbDkbgLpFc4ee cl/VdDTn6M17SbIWOUsmsYtuFkV1Hu1k94PMYNmodKaHJgbqaePHRLpFQChKtw6DxFEd lg0wDtrWz+1vO2W6/TdYHoIv/ra2F+ns1I97dmhJfGVz9Hqptbb72tzRIQe48vUgMcdZ L9IQ== X-Gm-Message-State: AOAM530EvqEq+Desc4/djrq+20UutP1Urf4YAOE8iKZDx9HZA3tq2ACx XHl/FFXlXMIkc7O1K9dRpp8= X-Google-Smtp-Source: ABdhPJy89toMwQCE2Oj9ARWBSd17w9a12QrXTX51ogxR29+84x2tlIF8HdvLAhjRryk0jqSRRkgIDA== X-Received: by 2002:a37:aace:: with SMTP id t197mr45141333qke.175.1608137920091; Wed, 16 Dec 2020 08:58:40 -0800 (PST) Received: from arch ([2601:8b:c300:1024:1266:d0ff:1635:f964]) by smtp.gmail.com with ESMTPSA id q32sm1343540qtb.0.2020.12.16.08.58.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Dec 2020 08:58:39 -0800 (PST) User-agent: mu4e 1.5.6; emacs 28.0.50 From: No Wayman To: pietru@caramail.com Subject: Re: Org Capture Menu cannot be fully viewed In-Reply-To: Date: Wed, 16 Dec 2020 11:58:38 -0500 Message-ID: <878s9xsn5t.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::72a; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qk1-x72a.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Cc: theophilusx@gmail.com, emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.21 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=H+ODXq6v; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: BA2D7940276 X-Spam-Score: -1.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: sx/dXYRDL4/X Pietru: If you are extensively using Org's capture templates I suggest taking a look at: https://github.com/progfolio/doct A brief summary of some of the benefits it provides: - Allows capture template inheritance - Checks for certain errors in template declarations *before* capture. - Automatically computes the keys for nested menus - Makes per-template hooks/contexts easy to declare. - Allows for storing custom metadata with templates which can be used within templates - Declarative: Your template declarations will be easier to read/share. Taking the list of templates provided earlier as an example, It could utilize nested menus/inheritance like so: #+begin_src emacs-lisp :lexical t (doct '( :group "Archaeology" :file "~/histr/archaeol.org" :template "* Site_Type: %?\n %T\n" :children (("Research" :keys "r" :children (("Bioarchaeological" :keys "b") ("Collections" :keys "c") ("Design/Data Recovery" :keys "d") ("Environment" :keys "e") ("Ethnographic" :keys "g") ("Ethnohistoric" :keys "h") ("Historic Eval/Testing" :keys "t"))) ("Survey" :keys "s" :children (("Architectural" :keys "a") ("Geophysical" :keys "g") ("Reconnaissance" :keys "r") ("Recovery/Excavation" :keys "R"))) ("Consultation" :keys "c") ("Architectural Documentation" :keys "d") ("Site Stabilization" :keys "e") ("Ground Disturbance Monitoring" :keys "g") ("Heritage Management" :keys "h") ("Records Search/Inventory Checking" :keys "i") ("Methodology, Theory, Synthesis" :keys "m") ("Archaeological Overview" :keys "o") ("Remote Sensing" :keys "R") ("Site Stewardship Monitoring" :keys "d")))) #+end_src Each template inherits the :file and :template values. The keys for the "Research" and "Survey" children templates are computed by doct, so changing the whole groups prefix key only requires a change on the parent template's :keys. I haven't demoed the custom metadata in this example as I don't know your exact use case, but there is an example in the documentation: https://github.com/progfolio/doct#custom-data Hope this is useful for you. ~ Nick