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 2IR4EbSB1l86EAAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 21:03:48 +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 YNdHDbSB1l8pPgAA1q6Kng (envelope-from ) for ; Sun, 13 Dec 2020 21:03:48 +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 4A9329403EB for ; Sun, 13 Dec 2020 21:03:47 +0000 (UTC) Received: from localhost ([::1]:57326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koYWw-0001xz-8k for larch@yhetil.org; Sun, 13 Dec 2020 16:03:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koYWW-0001xa-Qe for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 16:03:20 -0500 Received: from mout.gmx.net ([212.227.17.22]:47775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koYWU-0003e2-Ow for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 16:03:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607893363; bh=OOXR3riuZVIRYsxx9MXn/IaS1MOFDKTTX497eeGnoZw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=NDU0r/xEvGH7z534S4h0VrisOJjYx/dLLSB00zCeg1AvuF6jUtjrqyl+VWhBte+RL Z6ZWYZxxgYyuNPyhZkWu/bWv8PYK+q7qWaQ9N1Dy5LLkAL5ZEcCD0BklMi+r5IFOln 1+LWgQEQGOBOogPxRemzUNXI9oEG8NYUrkpNbdL0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs09.server.lan [172.19.170.177]) (via HTTP); Sun, 13 Dec 2020 22:02:43 +0100 MIME-Version: 1.0 Message-ID: From: pietru@caramail.com To: Jean Louis Subject: Re: Org Capture Menu cannot be fully viewed Content-Type: text/plain; charset=UTF-8 Date: Sun, 13 Dec 2020 22:02:43 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:b+T7jBq3GPFYFIp7QXL0GvaMsT1hO9IGMrJdAbV7A2Ulv5OZHxwnRxAlAqiKvPieMX+/M HeC/GKaABamCiKFeVdg5j1BQr0MCM90DsystHejnTsxLsBdfbad4+iJwj509l5yqPQ5jx2a3Hw7Z VBvRVBfZ0C2oGvn8o2Q+tk3SxKXe6UEAkie4Ay5z+FJ84l+VQklboId2OE/cLevdqYh0lGVdn1fv FSoDOprvnMHP3Mj6EnikrsNZbTdRB/Ak+9ifwXswr5hmw/dZ568AXymb6RDIQe8xds5pOqXER6Hq Pw= X-UI-Out-Filterresults: notjunk:1;V03:K0:PNItUK3RM0I=:hd2q18+A7eg61ssYxRmkrV PAashvAPOR0hG70MD0sUvKcj1cFuBd5FxcM7ZbU14RdX2NmoKS5J3P/Hmtif1Rx6COxh2xMWj CjH4H8xL+K3LFyMFTwWWSDnfPZ6V5ByzsqBOqpLV9o+NZr/JpalbrIJRRrYZ6/PUWN8xsVhRQ X6frhJxRsL57+8awuiftvYojnnXm5Vnbq1aitqEeBKlaAjKgLNdLJzC7oJFqYrAQWpYVZS1LM 4SlZxxKD890icgkrQTsVpycePGBTBWhYPjEz7xqGFkxbVnG65ZrUtJbSvex7mxAbIPGEyhC3L e9f0DtdCgGY6b9g+hpHfl41X9UZf1He6zixvpaHRPkxkvtZ8WWEEuVEVAq4qGht37S+h+PQUg KcKXeBFRu4+NzFES3KR/y4s05qtLxO01H2uW+eZGSsyj4PvikZstsAuOnAmwIfpIoCbSPazr4 o31gnVKIamd5FtJCKkPZpd7S2AV0Tqo3j7tkc4btrU/PMp7nx1h2OoQYXcu8cXI8eOqJe/VN6 tJa8DiI1V/v+6JQqYUvAR4pra8ozkDJSX3ofNLO8JaPHDMYSXZ+ZgXVy59zcjZM1kr3YYfsn6 Oi01+yixdeCug= Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.227.17.22; envelope-from=pietru@caramail.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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: 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: -0.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=NDU0r/xE; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=caramail.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: 4A9329403EB X-Spam-Score: -0.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: UES15vVx+cjc > Sent: Sunday, December 13, 2020 at 9:37 PM > From: "Jean Louis" > To: pietru@caramail.com > Cc: emacs-orgmode@gnu.org > Subject: Re: Org Capture Menu cannot be fully viewed > > * pietru@caramail.com [2020-12-13 21:28]: > > > Why not provide completing-read for Org capture templates? That woul= d > > > solve the problem fully. > > > > I think it might work fine as you say. Is that similar to what > > "%^{prompt|default|completion2|completion3...}" does? Or something si= milar? > > I also know of icomplete. > > I suggest that you install package ivy that you see how it works. Then > you could try find-file or open file function to see completions. > > You can try evaluating this here: > > (setq collection '("I think it might" "Is that similar" "Or something si= milar")) > > (completing-read "Choose: " collection) > > You may then use TAB or C-j to complete among various options. Similar to what I thought. Put things in a file, thun capture from there. One would not need to write long entries to the org file, but simply go th= rough the possibilities, then insert in capture org file. > ivy and helm packages (maybe) enhances that and allow you to type just > "som" to reach to "Or something similar" or "think" to reach to "I > think it might" and offers basic relevance search if you use few > words. > > Standard completion may use joker symbol * > > Choose: *thingTAB > > would expand to "Or something similar" > > That is good way to go in Emacs if you have to chose among large > number of items of anything. Would that apply with respect to inserting long headings or descriptions in org file? Example: ;; "Site_SubType: ;; [1a] Settlement > Encampment ;; [1a] Settlement > Hamlet or Village ;; [1a] Settlement > Town or City ;; [1b] Domestic Structure > Brush Structure ;; [1b] Domestic Structure > Cave ;; [1b] Domestic Structure > House ;; [1b] Domestic Structure > House Mound ;; [1b] Domestic Structure > Wattle & Daub (Jacal) Struc= ture ;; [1b] Domestic Structure > Long House ;; [1b] Domestic Structure > Pit House / Earth Lodge ;; [1b] Domestic Structure > Room Block / Compound / Pue= blo ;; [1b] Domestic Structure > Rock Shelter ;; [1b] Domestic Structure > Shade Structure / Ramada ;; [1b] Domestic Structure > Tent Ring / Tipi Ring ;; [1b] Domestic Structure > Platform Mound ;; [1b] Domestic Structure > Shell Mound ;; [1b] Domestic Structure > Wigwam / Wetu ;; [1b] Domestic Structure > Plank House" > Jean > > > > >