unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Cc: Daniel Mendler <mail@daniel-mendler.de>
Subject: Re: [elpa] externals/cape e5e11f30f0: cape-file: Mark completion table as non-essential
Date: Mon, 14 Feb 2022 08:50:47 -0500	[thread overview]
Message-ID: <jwvee45imsc.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20220214115720.489E9C00891@vcs2.savannah.gnu.org> (ELPA Syncer's message of "Mon, 14 Feb 2022 06:57:20 -0500 (EST)")

Hi Daniel!

> +(defun cape--nonessential-table (table)
> +  "Mark completion TABLE as `non-essential'."
> +  (lambda (str pred action)
> +    (let ((non-essential t))
> +      (let ((result (funcall table str pred action)))
> +        (when (and (eq action 'completion--unquote) (functionp (cadr result)))
> +          (cl-callf cape--nonessential-table (cadr result)))
> +        result))))

Oh, crap!

Is this `completion--unquote` handling really necessary?


        Stefan




           reply	other threads:[~2022-02-14 13:50 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20220214115720.489E9C00891@vcs2.savannah.gnu.org>]

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=jwvee45imsc.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=mail@daniel-mendler.de \
    /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).