unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: 73880@debbugs.gnu.org
Cc: acm@muc.de
Subject: bug#73880: Master: emacs-lisp-mode: Tab completion for a function position fails in a `let' form.
Date: Sat, 19 Oct 2024 13:09:00 +0000	[thread overview]
Message-ID: <ZxOvbMAB2oW-qCLG@MAC.fritz.box> (raw)

Hello, Emacs.

In a recent master version, for example this commit:

commit 5340fdaade1f8fe7af08293619cca89ae0796fcf (HEAD -> master, origin/master, origin/HEAD)
Author: Alan Mackenzie <acm@muc.de>
Date:   Wed Oct 16 13:17:26 2024 +0000

    CC Mode: Fix dodgy lisp `let' form.

, start emacs -Q, followed by entering the following incomplete form:

(defun foo ()
  (let (
        )
    (match-b

With point after match-b, type M-TAB.  This should complete to
match-beginning or show that function as a completion option.  Instead
it signals the error "No match".  This is a bug.

It would seem the completion function elisp-completion-at-point thinks
it is completing a variable symbol rather than a function symbol.

-- 
Alan Mackenzie (Nuremberg, Germany).





                 reply	other threads:[~2024-10-19 13:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=ZxOvbMAB2oW-qCLG@MAC.fritz.box \
    --to=acm@muc.de \
    --cc=73880@debbugs.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).