[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#73330: 31.0.50; Incorrect completions for 'cond' clauses
From: |
Eli Zaretskii |
Subject: |
bug#73330: 31.0.50; Incorrect completions for 'cond' clauses |
Date: |
Thu, 19 Sep 2024 19:38:12 +0300 |
> From: Eshel Yaron <me@eshelyaron.com>
> Cc: 73330@debbugs.gnu.org
> Date: Thu, 19 Sep 2024 16:33:11 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Does "helps" mean the original scenario is fixed? or are there any
> > leftovers in that scenario?
>
> Yes, it fixed the original scenario.
>
> >> but also seems to cause a regression. With this change I get:
> >>
> >> 1. emacs -Q
> >> 2. Insert "(cond ((current-p"
> >> ^note the additional parenthesis
> >> 3. Hit M-TAB to complete
> >>
> >> This shows an opposite bug: Emacs should complete function names (and
> >> without the change, it does), but with the change we now get variable
> >> name completion.
> >
> > How about the patch below?
>
> That works well in both the original scenario and the modified one.
Thanks, installed on master, and closing the bug.