From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4DVUGH8VrmGcpgAAgWs5BA (envelope-from ) for ; Mon, 06 Dec 2021 14:51:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mLAbFH8VrmHjQAAA1q6Kng (envelope-from ) for ; Mon, 06 Dec 2021 13:51:59 +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 E0D5B1381F for ; Mon, 6 Dec 2021 14:51:57 +0100 (CET) Received: from localhost ([::1]:37456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muEPN-000126-2R for larch@yhetil.org; Mon, 06 Dec 2021 08:51:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muDx9-0004O4-Br for emacs-orgmode@gnu.org; Mon, 06 Dec 2021 08:22:48 -0500 Received: from [2a00:1450:4864:20::333] (port=42919 helo=mail-wm1-x333.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muDx5-0002f0-6a for emacs-orgmode@gnu.org; Mon, 06 Dec 2021 08:22:47 -0500 Received: by mail-wm1-x333.google.com with SMTP id d72-20020a1c1d4b000000b00331140f3dc8so7588310wmd.1 for ; Mon, 06 Dec 2021 05:22:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew.cmu.edu; s=google-2021; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/IU96G4nS89gsKnV3acHGw49ot4PM98fRI1GiQKJRko=; b=Bk0kijcUlalhyo3iAoGZ4u3NTCcE3q532SmOxXVD34lMcin9RghOdt6h0aEaJsbHhy XWN+h/VXaZIofN1xc8dC7BlFCHKBf2LW8VQS79brkhPdGFV2xOpl4OWz0PZd/dJdhFUN p3NBS0CX3qGh4dbGkIfEvpb3/quZKSmSpgwt0/6UXowDMUOSujF3NFbNY5NT7lVLZQ34 pSMCNiybdIFdr6k2nQB2e74ExdxG7lnK/nGAGvQTNT8dfXWZXQQJxPinuvcbMZ2bCzyx knO6PscB3ESObA7+LkJthhs2ZmdrLjTq1H/tAGMviLR3dgXmMDkphh+xL81TSsKVoGaa 1EmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/IU96G4nS89gsKnV3acHGw49ot4PM98fRI1GiQKJRko=; b=A5uWImpp+aL9Rpjjyo88WHly1k+35FReZVTrpWT4O1aR6XLpAo/6vqAZ9zaogbCPKL 9f2KQ/OAj3RQ3Grd6CZ4CQ0ZGI6+0db1OPJhaK4whG6elIGOI7mqh13jS859Pfeug4hR zQ/dl8E8zLt+niEB8V9CedHWMNFe8VsO0Pul5Bg7UQ80dd0RClrHkztcGhCyvO6YrvBC Ytr7QnuFEfk+2GOrKpNVX4dSRkZGIXqqEKKlX3pfd1uzX1zx/cZiIEywXlSzkkJQ5S0v Zlr+995sbkh3Cqgm6xAjPV07elsVQlraPMC5Wv3bCWuxjeSnoBiXQmHgkhiOBkbpgGPL so/g== X-Gm-Message-State: AOAM531A+g8kK2a5prcBdMTZlgQIqAelGYkPX3nMVyUp7hrjPMLthTTK 1Ft0ckOvj21h4VXklBc4gfoU1qtxLl+pC87Jbds= X-Google-Smtp-Source: ABdhPJxaCaRAGi9iVIOYWpmrDbMFwvvIlOYIkzMH+8SQp8tVV/ZVz/pY6ZK+hbl3FEcFvUHvPP9V5D4F862LbuZYo/M= X-Received: by 2002:a05:600c:21cd:: with SMTP id x13mr39463223wmj.52.1638796960819; Mon, 06 Dec 2021 05:22:40 -0800 (PST) MIME-Version: 1.0 References: <87bl1tgazd.fsf@pompo.co> In-Reply-To: <87bl1tgazd.fsf@pompo.co> From: John Kitchin Date: Mon, 6 Dec 2021 08:22:29 -0500 Message-ID: Subject: Re: Org-cite stuck in Helm minibuffer [9.5.1 (9.5.1-g36086a @ /home/dan/.emacs.d/elpa/org-9.5.1/)] To: Daniel Nemenyi Content-Type: multipart/alternative; boundary="000000000000b56d8305d27a2607" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::333 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=johnrkitchin@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638798719; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=/IU96G4nS89gsKnV3acHGw49ot4PM98fRI1GiQKJRko=; b=AwiWUNPCeySDHOkG49EP7CxNOkfkTPeAdI6oCJCii2tDqnR03Zon9WT1PiISZKnOCW4A36 kOeuquu5DvaQxy4PKIiIayZeRZYug5f7mcpoDxtWJtg7XxrDw+1GdoLmk/ayOVq3oBru6t QEh60OMvKTX6n944WeZ87QtXUR/1oK+M9xQz1KwEu+tlBmDLJMxuYWU0YIjgiWkJbLNotO OcFu3y8izEV7U8FOh3gNPaNfrxPbyTlGnUVeGVN09Hm8p3gGi5ha3a6tu+JRWuXog/li+c AbkRLfMXoinzRim6CSlMIBaRjTxZjtrA/gpqJN0XtcRC7z34lC9JScY4Egl2cA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638798719; a=rsa-sha256; cv=none; b=VCRTxxqXeSU+ykVfNOqg9ZeCyuRGVMNRPF90c63I54ocV4VsNVgyOBaNp2dDvm+z/AVGAo sjEcPBOBUYLpHeLJW6TtZV+4O0ZJq3q8jo9k6pMuRvofnC+DG7lLFPjlKakbvIsciuHaGB gQly6cKW061TCfiZcwY3R1bQtqi2Hq4+iQ1vKe9BlG7iLMmcYDiqC+2+Lbxdkv9CMnIj93 w2YF/C5gvIpun1l8DEBbicGIO7XtlVds+6+WS1Cftj+AlHTb76iLCImSNKyMnBKjQ5Sl9k HTjteoVY4LlcHXzrJCxHKr5HZxXWpHXKdUH7V118pqWaWrPLRFVs5iT8W5mqKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=Bk0kijcU; dmarc=pass (policy=none) header.from=andrew.cmu.edu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=Bk0kijcU; dmarc=pass (policy=none) header.from=andrew.cmu.edu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E0D5B1381F X-Spam-Score: -3.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: svEwNbN0kVGF --000000000000b56d8305d27a2607 Content-Type: text/plain; charset="UTF-8" org-ref should not get any credit for this. That is a feature of the built in org-cite library, which uses completing-read for that behavior. completing-read is only for reading one thing at a time, and org-cite works around that in a way that leads to the behavior you see. It looks like helm (if you use helm-mode), but it is actually the helm version of completing read, and not a helm selection command. Other completion backends use different bindings, e.g. ivy uses C-M-j I think. John ----------------------------------- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Mon, Dec 6, 2021 at 7:57 AM Daniel Nemenyi wrote: > > Hello, > > I'm finding myself stuck in the `HELM Org Cite Insert` buffer that lists > possible citations after calling org-cite-insert using Helm. After > selecting a reference I am prompted to select more, and there isn't an > obvious way to say, 'Thanks org-ref I'm done, kill this minibuffer and > insert the refs I have chosen.' > > I was eventually told on Stack Overflow that M-RET does the job, but I > would have expected either the first option in the HELM buffer to do this, > or else there to be an option in the HELM Select Action list? > > Thanks! > Daniel > > Emacs : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.24, cairo version 1.16.0) > Package: Org mode version 9.5.1 (9.5.1-g36086a @ > /home/dan/.emacs.d/elpa/org-9.5.1/). Helm (20211205.1111) > > --000000000000b56d8305d27a2607 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
org-ref should not get any credit for this. That is a feat= ure of the built in org-cite library, which uses completing-read for that b= ehavior. completing-read is only for reading one thing at a time, and org-c= ite works around that in a way that leads to the behavior you see.

=
It looks like helm=C2=A0(if you use helm-mode), but it is actual= ly the helm version of completing read, and not a helm selection command.= =C2=A0

Other completion backends use different bindi= ngs, e.g. ivy uses C-M-j I think.

John

-----------------------------= ------
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Depa= rtment of Chemical Engineering
Carnegie Mellon University
Pittsburgh,= PA 15213
412-268-7803

=

= On Mon, Dec 6, 2021 at 7:57 AM Daniel Nemenyi <daniel@pompo.co> wrote:

Hello,

I'm finding myself stuck in the `HELM Org Cite Insert` buffer that list= s possible citations after calling org-cite-insert using Helm. After select= ing a reference I am prompted to select more, and there isn't an obviou= s way to say, 'Thanks org-ref I'm done, kill this minibuffer and in= sert the refs I have chosen.'

I was eventually told on Stack Overflow that M-RET does the job, but I woul= d have expected either the first option in the HELM buffer to do this, or e= lse there to be an option in the HELM Select Action list?

Thanks!
Daniel

Emacs=C2=A0 : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.= 24.24, cairo version 1.16.0)
Package: Org mode version 9.5.1 (9.5.1-g36086a @ /home/dan/.emacs.d/elpa/or= g-9.5.1/). Helm (20211205.1111)

--000000000000b56d8305d27a2607--