all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gautier Ponsinet <gautier@gautierponsinet.xyz>
To: Roland Winkler <winkler@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Bibtex new entry key prompt
Date: Fri, 08 Nov 2024 17:04:17 +0200	[thread overview]
Message-ID: <87ttch7oni.fsf@gautierponsinet.xyz> (raw)
In-Reply-To: <87ses123hd.fsf@gnu.org>

Hello,

Roland Winkler <winkler@gnu.org> [2024-11-08 08:40 -0600]:
> I am wondering: is the prompt a big deal if you can just leave it blank
> (that is, hit RET when the command asks for a key)?  I expect that's why
> nobody worried about this for the many years this command behaves the
> way it does.  Of course, providing a user option to bypass the prompt
> altogether is easy to add, too.  (That's what the autokey approach is
> for, but it can only do its job after all fields have been filled in.)

It is indeed not a big deal. I still prefer to bypass the prompt, and so
I made the change in my config by rewriting/advising the function. This
is the content of the patch attached to my previous email. And I was
simply wondering if other users would be interested.

Still, to support the change, in case the user configures the autokey
system (which I would expect many people do), the prompt for a key is
completely useless.

(Moreover, I don't use the default emacs completion system but the
vertico package, which by default select the first candidate if I hit
ENTER. I then need to enter M-ENTER to bypass the key prompt. I prefer
to insert a template and to start filling the fields immediatly.)

All the best,
Gautier.



  reply	other threads:[~2024-11-08 15:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-08 13:17 Bibtex new entry key prompt Gautier Ponsinet
2024-11-08 14:40 ` Roland Winkler
2024-11-08 15:04   ` Gautier Ponsinet [this message]
2024-11-15  5:42     ` Roland Winkler
2024-11-15  9:56       ` Gautier Ponsinet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ttch7oni.fsf@gautierponsinet.xyz \
    --to=gautier@gautierponsinet.xyz \
    --cc=emacs-devel@gnu.org \
    --cc=winkler@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.