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 cLMBOi1Q1l8XagAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 17:32:29 +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 MLy/NS1Q1l8tdAAAbx9fmQ (envelope-from ) for ; Sun, 13 Dec 2020 17:32:29 +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 3DE769403A7 for ; Sun, 13 Dec 2020 17:32:29 +0000 (UTC) Received: from localhost ([::1]:33022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koVER-00082p-LT for larch@yhetil.org; Sun, 13 Dec 2020 12:32:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVDp-00082c-OV for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 12:31:49 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:58887) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVDn-00028w-GJ for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 12:31:49 -0500 Received: from localhost ([::ffff:197.157.34.185]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000308F4.000000005FD64FFF.00004CC4; Sun, 13 Dec 2020 10:31:43 -0700 Date: Sun, 13 Dec 2020 12:44:32 +0300 From: Jean Louis To: pietru@caramail.com Subject: Re: Org Capture Menu cannot be fully viewed Message-ID: References: <87y2i2ttl7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, SPF_HELO_PASS=-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: Tim Cross , 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: -2.30 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-Migadu-Queue-Id: 3DE769403A7 X-Spam-Score: -2.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: mUfNjzxIzR06 * pietru@caramail.com [2020-12-13 05:09]: > 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") > > ("b" "Systematic Survey Data Recovery/Excavation" entry > (file "~/histr/archaeol.org") > "* Site_Type: %?\n %T\n") Your example is good real world practical example. The capture menu was designed in the same degraded way as Org agenda menu. Difference is that Capture menu is customizable and not meant for users like you who need more than few categories. It is not expandable. Would the menu be made as read only Org displayed in a buffer then: - Emacs interface, such as using other windows during capture process, would not be blocked during Capture selection - User could at least scroll or enlarge the buffer what currently does not work Comparing it to my Hyperscope system if I wish to file or capture anything I may choose any set where to file it by using completion function which dwelles below in `hyperscope-select-set'. I am using semantic or meaning related search. (defun hyperscope-add-note-to-set () (interactive) (let ((parent (hyperscope-select-set))) (hlink-add-generic name nil 9 parent nil note))) When key press is invoked I am capturing a note or some other type of a node into a set. Could be anything, it could be URL, Action similar to TODO, note, file, picture, voice note, just anything: - press key - type what you think where it should be filed, press ENTER on selection - edit the note Description of `org-capture' org-capture is an autoloaded interactive compiled Lisp function in ‘org-capture.el’. It is bound to C-c c. (org-capture &optional GOTO KEYS) Capture something. This will let you select a template from ‘org-capture-templates’, and then file the newly captured information. The text is immediately inserted at the target location, and an indirect buffer is shown where you can edit it. Pressing ‘C-c C-c’ brings you back to the previous state of Emacs, so that you can continue your work. ----------- In your case "This will NOT let you select a template from org-capture-template". Function org-capture is written more in structured way of programming than functional way. It wants to do everything for user at once. https://en.wikipedia.org/wiki/Structured_programming versus https://en.wikipedia.org/wiki/Functional_programming What is here missing is `org-capture-by-completing-read' so that user may select among many various capture templates. Compensating for initial bad design is expensive effort. Jean