emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>, rudolf@adamkovic.org
Subject: Re: PATCH] Auto-complete PRINT_BIBLIOGRAPHY with a trailing colon
Date: Sat, 04 May 2024 06:15:55 +0000	[thread overview]
Message-ID: <87v83udrvo.fsf@localhost> (raw)
In-Reply-To: <CAO48Bk_Dd9p5yzVvsbQwa72AWjfQBOCT0fzbirCyeGrYeH4rmQ@mail.gmail.com>

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

>> * lisp/org.el (org-options-keywords): Add a trailing colon to the
>> 'PRINT_BIBLIOGRAPHY' keyword to avoid unnecessary user confusion.
>
> Hi Rudolf,
>
> I don't see any confusion by not having a trailing colon in
> #+print_bibliography. Where would there be? (I'm asking, because I'm
> tutoring a couple novel users and it would be good to have an answer ready
> if they ask ;-) )

It is very simple. The patch simply removed inconsistency in completion.
Here is the previous value of `org-options-keywords':

("ARCHIVE:" "AUTHOR:" "BIBLIOGRAPHY:" "BIND:" "CATEGORY:"
 "CITE_EXPORT:" "COLUMNS:" "CREATOR:" "DATE:" "DESCRIPTION:"
 "DRAWERS:" "EMAIL:" "EXCLUDE_TAGS:" "FILETAGS:" "INCLUDE:" "INDEX:"
 "KEYWORDS:" "LANGUAGE:" "MACRO:" "OPTIONS:" "PROPERTY:"
 "PRINT_BIBLIOGRAPHY" "PRIORITIES:" "SELECT_TAGS:" "SEQ_TODO:"
 "SETUPFILE:" "STARTUP:" "TAGS:" "TITLE:" "TODO:" "TYP_TODO:"
 "SELECT_TAGS:" "EXCLUDE_TAGS:" "EXPORT_FILE_NAME:")

See how only PRINT_BIBLIOGRAPHY does not have a trailing
colon. Everything else will be completed with colon.
So, users who are accustomed to the completion adding colons can be
surprised when for PRINT_BIBLIOGRAPHY in particular the colon is not
added.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


      reply	other threads:[~2024-05-04  6:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-04  5:29 PATCH] Auto-complete PRINT_BIBLIOGRAPHY with a trailing colon Pedro Andres Aranda Gutierrez
2024-05-04  6:15 ` Ihor Radchenko [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87v83udrvo.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=paaguti@gmail.com \
    --cc=rudolf@adamkovic.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).