unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "52901@debbugs.gnu.org" <52901@debbugs.gnu.org>
Subject: bug#52901: [External] : Re: bug#52901: 26.3; (emacs) `Completion Styles': provide more guidance
Date: Thu, 30 Dec 2021 18:53:31 +0000	[thread overview]
Message-ID: <SJ0PR10MB548808CEEDC26FFEE8A63765F3459@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <835yr6hsq4.fsf@gnu.org>

> > 1. Mention `completion-styles-alist', as does the doc string of
> >    `completion-styles'.  (We do mention `completion-category-overrides',
> >    at least.)
> 
> The alist variable is documented in the ELisp manual, since it is not
> of interest to users.  I added a cross-reference to there.

That's fine, thanks.

> > 2. Say something about combinations of the styles.  The completion
> >    behavior depends on the combination that's the value of option
> >    `completion-styles'.
> >
> >    It's not enough to describe each predefined style individually, and
> >    say that they are tried in order.  Please consider providing some
> >    comparison of the predefined styles: which of them in some sense
> >    include or subsume (or partially so) which others.  Give users an
> >    idea of which they don't need to include if they include this or that
> >    other.
> >
> > In general, a little more guidance for users, please.
> 
> The text already says quite a lot about that (it is not clear to me
> whether you reviewed the latest text, since you don't tell, and the
> Emacs version from which you reported this is quite old).  If you have
> specific suggestions for more detailed descriptions, please present
> them.  Otherwise I see no candidates for picking up the gauntlet, and
> we should just close this bug report, because people who work the most
> on completion are generally reluctant to document more of their work
> in terms that would be understandable by users.

Everything I said applies to the latest Emacs release
also (Emacs 27.2).  (There's no MS Windows binary for
the Emacs 28 pretest.)

Based on your saying that "the text already says quite
a lot" about what's requested, I nevertheless
downloaded the latest (master) *.texi doc for this node.

Unfortunately it, like prior versions, says _nothing_
about the relations among the (predefined) styles.  It
just says that they're tried in sequence till one finds
completions, and it describes each predefined style
individually.  That's always been said.  That's needed
info, but it's not sufficient help.

It's too bad, if those who currently could provide this
guidance aren't willing to do so.  But that's not, IMO,
a reason to close the bug report.  Perhaps at some point
someone who understands the style relations well enough
will offer to fix this.

A _start_ might be to say whether there are some styles
that are useless to specify when a particular other
style precedes them in the list.





  reply	other threads:[~2021-12-30 18:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-30 17:25 bug#52901: 26.3; (emacs) `Completion Styles': provide more guidance Drew Adams
2021-12-30 18:07 ` Eli Zaretskii
2021-12-30 18:53   ` Drew Adams [this message]
2022-01-15  9:53   ` Lars Ingebrigtsen
2022-01-15 21:56     ` bug#52901: [External] : " Drew Adams

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=SJ0PR10MB548808CEEDC26FFEE8A63765F3459@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=52901@debbugs.gnu.org \
    --cc=eliz@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).