From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QELGIFT8o2WIMwEAqHPOHw:P1 (envelope-from ) for ; Sun, 14 Jan 2024 16:23:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QELGIFT8o2WIMwEAqHPOHw (envelope-from ) for ; Sun, 14 Jan 2024 16:23:00 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fastmail.fm header.s=fm3 header.b=i5XwhH2o; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=RqiVhaq9; 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"; dmarc=pass (policy=none) header.from=fastmail.fm ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705245780; 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=tx9TGNO3EFx2EcLxzalbRVjHoP3KKGzldv0jv7D7t74=; b=chtcPojP/Qnwp/006dmVugpiik1HbnlVwTn0cPTCdX9FgPeZ4IK+5mNo0r0VG/tfJXPHyl YPg4kwV5LhGAIJmZTNfar7POVZvc8t/SVaKB0ueZxYieAnfP63E5516Ek23bl34SNfzJ7j uZNUfgGqUeRhGs9KJ+Pn2A1zwLOgKzoNchyeRvy0M/u66JBFICE9lDq1lSM3OPve0bgmkZ N7odKot3tTnnMyLXKW8ZO65/Bi1iFS0tHWCV9O+tSDAf52DZsRJ2PCsu3X9scpluszbwp+ aEvMoX60fNDryPWMh4qcJIoQTRfGt7PDdxx6rfKj78eY2d58gv3HGOyTMz6/iw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fastmail.fm header.s=fm3 header.b=i5XwhH2o; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=RqiVhaq9; 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"; dmarc=pass (policy=none) header.from=fastmail.fm ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705245780; a=rsa-sha256; cv=none; b=IPz0AWipPYKhP28YS2ZLv0HytQ1eo3I86QlYSclge6o0+TQES2Z5dh7Hdm8UlFpuWtU4/d u7Uc1rVAvnxDAUFpn2ZeBtJPDR9Mp0uVolSYfh4XDBzoyC+ImfXoZej2NTfrZMnpT4Dugt M9uEOD2oTCMw9txCEI2GRxulBfUmQhhMal/ZH1gE3jdO+lUiCHQrDGb29Yswwl4PK4k2h7 xVG48EzkuuiN01lHoKWXC7cpctkyxZOh/YyEZL9zGT/oAWhjTCKfVeFrWr/WQ9HNCwnHqq IdAEWwIAljgTx1TZN4Jsk+tuAfIkXoBB2KQmpK/GD70x3LydYsd5RAf2bDlqWA== 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 96BEB469D7 for ; Sun, 14 Jan 2024 16:22:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rP2JA-0006c5-93; Sun, 14 Jan 2024 10:21:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rP2J8-0006br-4e for emacs-orgmode@gnu.org; Sun, 14 Jan 2024 10:21:54 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rP2J5-0003ZZ-R8 for emacs-orgmode@gnu.org; Sun, 14 Jan 2024 10:21:53 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id AB92C3200A04; Sun, 14 Jan 2024 10:21:45 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 14 Jan 2024 10:21:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1705245705; x=1705332105; bh=tx9TGNO3EF x2EcLxzalbRVjHoP3KKGzldv0jv7D7t74=; b=i5XwhH2oDHnI/FBM3WtxJcIasm BNFLrN64QEIuLyV9ucDIsRzPMd7WmAR0n8EGkqvGZF4Nw0PqQKeuksx6B4ZPw9ls O02VXFJwauMu11KXHGpNISKWgRK0HRKHaYgs1LmY5i52HPXiIeRiNnnAZ796RP11 /eS0p6OF5/IszCi3Tj2wisM7Mgdo2azyndH2c9dW52OOG61fZnnshR3EBTgzbv5c nHo7QKdlWPXzi0v1T/Cl7iRXXLDNy+iwoDKM+fXlNaaSHioFiz6unb2S6TogOST+ BjoPIDs04gnpjpfR7KwSj0BgwQ7jgGpxFSlnCu9encTa1HQ0vcure67BnD+A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1705245705; x=1705332105; bh=tx9TGNO3EFx2EcLxzalbRVjHoP3K KGzldv0jv7D7t74=; b=RqiVhaq9iQm36v3XQ9tRwEYrO/p02rCXRN2/kDd1CYVF fi56y45dp440hXM7S96vqyOosuOwVgcmcPXJq0P+L9Hi+3jPLjs00Gtzep/kXFp7 gsQlMQ7OM3Wu1Nu0KTpaM7iWbV/QKdABX7AFrFJJA19YZVP7VngtRxFTQtfWEsaZ PDxTGqOtqVixxHiR5gsTXNR3tTGkhV0uNpMzp8g3+AxVXMXMFbKcfV5YYqW0lt37 H69lt+e87o5NH7hsoGIKKFxs3ZzSE8sNTxjeJIH5ECYir8c9HVgkcZfxusDPvD9b 9dkGB+Y97Ci9eAPzZ/I7d7uGZM9+z9K/Pax/4u5cNQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeiledgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvvefuffgjkfggtgesthdtredttdertdenucfhrhhomheplfhoohhs thcumfhrvghmvghrshcuoehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh eqnecuggftrfgrthhtvghrnheptdegteeuudejgfeileffteefkeethfelffdvhfduleeh jeffkefhgedvieeukeevnecuffhomhgrihhnpehsthgrtghkohhvvghrfhhlohifrdgtoh hmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhho ohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Feedback-ID: ie15541ac:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 14 Jan 2024 10:21:43 -0500 (EST) References: <87ply8jbh2.fsf@localhost> <87ttnht5oj.fsf@localhost> User-agent: mu4e 1.10.7; emacs 29.1 From: Joost Kremers To: William Denton Cc: emacs-orgmode@gnu.org Subject: Re: Basic citations: should default citation style have a name and style code? Date: Sun, 14 Jan 2024 16:16:34 +0100 In-reply-to: Message-ID: <861qakvt2z.fsf@p200300d6273f79e11e2d0dfc813aedab.dip0.t-ipconnect.de> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.24; envelope-from=joostkremers@fastmail.fm; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.86 X-Migadu-Queue-Id: 96BEB469D7 X-Spam-Score: -9.86 X-Migadu-Scanner: mx11.migadu.com X-TUID: ZR78pYeFmkFe On Sun, Jan 14 2024, William Denton wrote: > On Sunday, January 14th, 2024 at 00:08, William Denton > wrote: > >> While we're talking about citations, I'm stuck on something else. If I run >> "C-c C-x @" to insert a citation into a file, I'm shown a list of bibliography >> entries and I can go up and down and hit RET on any I chose. That works well. >> But---the prompt says, "Key (empty input exits)." What makes empty input? I >> can't figure it out. I've never seen that phrase before. I can't make it exit >> properly---I either keep adding citations or C-g or DEL cancels it---so I >> can't make the function work. If anyone knows, I can try making a patch to >> make it clearer. > > As so often happens, a few minutes after sending an email I think I found the > answer: it's seems to be a problem with the completion mechanism Ivy. > > https://stackoverflow.com/q/77489325/854346 > > I ran "emacs -Q" and I see how it works there, with RET closing things off, > which makes sense. > > Last year I looked at Vertico and thought about trying it out, but since > everything was working fine, I didn't. Now I've found a reason, I guess. Ah, > Emacs! You'll run into the same issue with Vertico, I suspect. Completion mechanisms such as Ivy and Vertico tend to default to the first visible candidate when you just hit RET, not to the current input. This is so that you don't need to complete the top candidate, you can just hit a few characters and if the candidate you want is at the top, you can just hit RET. A consequence of this is that you cannot use RET to select the empty input. Both Ivy and vertico provide a command for that, though. I don't know which command Ivy uses and to which it is bound, but the docs should be able to tell you. -- Joost Kremers Life has its moments