From: Mauro Aranda <maurooaranda@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 37552@debbugs.gnu.org
Subject: bug#37552: 27.0.50; Unexpected cursor position after ispell-complete-word
Date: Sun, 29 Sep 2019 10:14:13 -0300 [thread overview]
Message-ID: <CABczVwcwfy4KcKQXTbo9yqTV9+S4JRuHuLS2n4SnkiuWOCQrJQ@mail.gmail.com> (raw)
In-Reply-To: <83d0fjffo3.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Mauro Aranda <maurooaranda@gmail.com>
>> Date: Sun, 29 Sep 2019 08:44:48 -0300
>>
>> 1) C-x b test
>> 2) M-x text-mode
>> 3) Type something like this:
>> One sentence.
>> Other sentence.
>>
>> 4) Go to the first sentence, after the period. Type anything and then
>> type C-M-i to complete it.
>> I type "comple" and complete it to "complete".
>>
>> 5) I expect the cursor to be at the end of the word just completed. But
>> I see it moving to the next line. With different words completed, the
>> exact position changes, but to me the cursor always ends up in an
>> unexpected position.
>
> Looks like it expects you to invoke the command at the beginning of a
> word.
I see. That works as I expected, right.
But what I described still looks like a bug to me, though...I mean, I
think the user shouldn't have to type M-b to then type C-M-i, in order
to be able to continue typing after the completed word.
Furthermore, the documentation under Spelling, in the Emacs Manual says:
Complete the word before point based on the spelling dictionary
(‘ispell-complete-word’).
and then:
Insert the beginning of a word, and then type ‘M-<TAB>’;
Note the "before point". That's what I did. The only thing different I
did was that I wanted to complete a word that was not at the end of the
buffer. And knowing only that much, I expected the cursor to be at the
end of the completed word.
[-- Attachment #2: Type: text/html, Size: 1872 bytes --]
next prev parent reply other threads:[~2019-09-29 13:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-29 11:44 bug#37552: 27.0.50; Unexpected cursor position after ispell-complete-word Mauro Aranda
2019-09-29 12:30 ` Eli Zaretskii
2019-09-29 13:14 ` Mauro Aranda [this message]
2019-09-29 13:35 ` Eli Zaretskii
2021-08-31 2:31 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABczVwcwfy4KcKQXTbo9yqTV9+S4JRuHuLS2n4SnkiuWOCQrJQ@mail.gmail.com \
--to=maurooaranda@gmail.com \
--cc=37552@debbugs.gnu.org \
--cc=eliz@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.