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

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

bug#64903: 28.2; completion-at-point deletes next line(s) when completin


From: Stefan Kangas
Subject: bug#64903: 28.2; completion-at-point deletes next line(s) when completing a single character in elisp
Date: Sun, 3 Sep 2023 02:43:17 -0700

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Thu, 27 Jul 2023 16:10:23 +0000
>> From:  Thalis Charakas via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>>
>> This bug happens with "emacs -q -Q"
>>
>> When completing a single character with completion-at-point (M-C-i) in elsip,
>> after you select the desiered completion, it is inserted in the buffer
>> but some of the following lines are deleted. This does not happen when
>> the line has two characters.
>>
>> Examples are with "emacs -q -Q"
>>
>> Example 1:
>> - Write "(setq foo nil)" in scratch.
>> - Go to the line before that and type "(".
>> - Press M-C-i.
>> - Select any outecome.
>> The (setq foo nil) is no longer there.
>
> Why do you consider this a bug?  The documentation of the command
> says:
>
>   Perform completion on the text around point.
>
> It doesn't tell what it considers to be "text around point", but why
> shouldn't it consider the line you say is deleted as "text around
> point", and therefore replace it with the completion candidate you
> select from the list?

More information was requested, but none was given within 5 weeks, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.





reply via email to

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