bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48356: 28.0.50; choose-completion discards the suffix after the comp


From: Dmitry Gutov
Subject: bug#48356: 28.0.50; choose-completion discards the suffix after the completion boundary
Date: Thu, 11 Apr 2024 13:36:00 +0300
User-agent: Mozilla Thunderbird

On 11/04/2024 09:55, Eli Zaretskii wrote:
Cc: 48356@debbugs.gnu.org, Daniel Mendler <mail@daniel-mendler.de>,
  JD Smith <jdtsmith@gmail.com>, Juri Linkov <juri@linkov.net>
Date: Thu, 11 Apr 2024 04:00:35 +0300
From: Dmitry Gutov <dmitry@gutov.dev>

All right, please see the new function completion-base-suffix added in
0288bc6c949. Any docstring improvements (and others) are welcome.

I tried to do that.

Is there any reason why this function shouldn't be called
completion-boundary-suffix instead?

For such a name, I would probably expect the return value to be

  (buffer-substring (point) (cdr (completion-boundaries ...)))

Opinions welcome.

I guess we should also mention it in NEWS...

Yes, please.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]