From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#37552: 27.0.50; Unexpected cursor position after ispell-complete-word Date: Sun, 29 Sep 2019 08:44:48 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002b2d040593afa69f" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="88832"; mail-complaints-to="usenet@blaine.gmane.org" To: 37552@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 29 13:46:34 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEXes-000N0b-E5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Sep 2019 13:46:34 +0200 Original-Received: from localhost ([::1]:38284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEXeq-0002Og-Im for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Sep 2019 07:46:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49327) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEXeO-0002MT-KL for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 07:46:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEXeM-0003mf-Sn for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 07:46:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43622) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEXeM-0003lI-Pk for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 07:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEXeM-00029X-8D for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 07:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Sep 2019 11:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37552 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.15697575108198 (code B ref -1); Sun, 29 Sep 2019 11:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Sep 2019 11:45:10 +0000 Original-Received: from localhost ([127.0.0.1]:52443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEXdV-000289-S1 for submit@debbugs.gnu.org; Sun, 29 Sep 2019 07:45:10 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEXdU-000282-Op for submit@debbugs.gnu.org; Sun, 29 Sep 2019 07:45:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49225) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEXdR-0001d3-Vk for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 07:45:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEXdP-0001OC-4A for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 07:45:04 -0400 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:44533) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEXdO-0001FV-Kl for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 07:45:03 -0400 Original-Received: by mail-lj1-x22f.google.com with SMTP id m13so6571935ljj.11 for ; Sun, 29 Sep 2019 04:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=RR59f4xIjbblSQwJgU0CDALjHIGn+9F4y6mewpeuDeg=; b=b8+4rfboOp2YFm4ZqTFSps6ntvnEk+bQNUdTsiOUfnlimi1tFz7vWJ+SFQZ12kb9NU so3EggPj4hB5XfEI2LMrCbUCHDMOYs5o8kQlPgHgEvm4GsQorRXMBm2+cIzsz0xq7sL7 pqR7Atf64FEuE1PzW7toO9sFCefGaAGWX9jUqQ0aHwWoe8iD8pVGZXSe05i8EWa+/PJM P9UFkkXnmlqgeZzK8chZadJRnWc1BEA9UhekIrzML5A2q6b6zPL+/SKJlDj9VTS3vixX 19IAr90KND1u6ccEu7cwDsTUdyQbb1dacVZnzxvRH3WpIt9yxgCnSwHwz3x4h475xuIG KalA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=RR59f4xIjbblSQwJgU0CDALjHIGn+9F4y6mewpeuDeg=; b=D7Oe+z3rBmT1+WCTh38h4u7w3D+3pTCfuGLY66+iUYCcXnfqvbmlDjxCsmTYZCjaEU olvpcSFSwBDNtPqBWZEQxHXllp8jYZDoEfW2/F3yGHHPiG5z4/WC6bNUOAw6+pmr9EKZ 7DhKyXqQ3iFuV+HIb/NExI0YY+WDJcWBfTS6RZq7n2fAE4MnWxVTrXo7HFgNx+YocGRJ 1U1f21ym05yEuAOhZKHK3RLE1O9dKS8XCkTPUJ18cfZZfSASMd/JAVsrtpoJUZZf3SkC ioOsjcaLK1DfX2N6kSWsWJc+ubb9o/p03g4H0CwOAQmG7wEm4vR9ZCrdy9+aqZiKVf0Z ewJw== X-Gm-Message-State: APjAAAW26Er0tRDaxxqY+dlBjAU7q+FlyaOJla9NhOFOyIK/qAHX1hu/ 5Eppvtba82VjN3bxomTaKgKuDN0Kv7QQ+EqsguixYUSr X-Google-Smtp-Source: APXvYqyGwqEAU+BS7I7Yp3kAgsBPlKrFmWL/Fy7YbdIBHsd0IxQsFPF2oZIl7n0kOmoiFny8ACYP0AWw92FOYjHO65o= X-Received: by 2002:a2e:8846:: with SMTP id z6mr8682206ljj.77.1569757499959; Sun, 29 Sep 2019 04:44:59 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:167649 Archived-At: --0000000000002b2d040593afa69f Content-Type: text/plain; charset="UTF-8" Hello. Recipe to reproduce this bug, starting from emacs -Q: 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. Best regards, Mauro. In GNU Emacs 27.0.50 (build 51, i686-pc-linux-gnu, GTK+ Version 3.18.9) of 2019-09-29 built on the-blackbeard Repository revision: 46eb6df45358f413847ceb882898b2326f7584c8 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 16.04.6 LTS Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. (New file) Starting "look" process... Configured using: 'configure --enable-check-lisp-object-type' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.utf8 value of $XMODIFIERS: locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils ispell tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 8 48799 6392) (symbols 24 6117 1) (strings 16 16510 1760) (string-bytes 1 541197) (vectors 8 10909) (vector-slots 4 137958 17442) (floats 8 19 42) (intervals 28 194 7) (buffers 564 12) (heap 1024 7419 858)) --0000000000002b2d040593afa69f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

Recipe to reproduce this bug, starting from = emacs -Q:
1) C-x b test
2) M-x text-mode
3) Type something like th= is:
One sentence.
Other sentence.

4) Go to the first sentence,= after the period.=C2=A0 Type anything and then
type C-M-i to complete i= t.
I type "comple" and complete it to "complete".
5) I expect the cursor to be at the end of the word just completed.=C2= =A0 But
I see it moving to the next line.=C2=A0 With different words com= pleted, the
exact position changes, but to me the cursor always ends up = in an
unexpected position.

Best regards,
Mauro.


In = GNU Emacs 27.0.50 (build 51, i686-pc-linux-gnu, GTK+ Version 3.18.9)
=C2= =A0of 2019-09-29 built on the-blackbeard
Repository revision: 46eb6df453= 58f413847ceb882898b2326f7584c8
Repository branch: master
Windowing sy= stem distributor 'The X.Org Foundation', version 11.0.11906000
S= ystem Description: Ubuntu 16.04.6 LTS

Recent messages:
For inform= ation about GNU Emacs and the GNU system, type C-h C-a.
(New file)
St= arting "look" process...

Configured using:
=C2=A0'c= onfigure --enable-check-lisp-object-type'

Configured features:XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFYACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB<= br>TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS PDUMPER LCMS2 GMP

I= mportant settings:
=C2=A0 value of $LANG: en_US.utf8
=C2=A0 value of = $XMODIFIERS:
=C2=A0 locale-coding-system: utf-8-unix

Major mode:= Text

Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 glo= bal-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-m= ode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file= -name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock= -mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t<= br>=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2= =A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Load-path s= hadows:
None found.

Features:
(shadow sort mail-extr emacsbug = message rmc puny dired dired-loaddefs
format-spec rfc822 mml easymenu mm= l-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-lo= addefs text-property-search time-date
subr-x seq byte-opt gv bytecomp by= te-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailab= brev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ie= tf-drums mm-util mail-prsvr mail-utils
ispell tooltip eldoc electric uni= quify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/c= ommon-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-l= ist replace newcomment
text-mode elisp-mode lisp-mode prog-mode register= page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-loc= k font-lock
syntax facemenu font-core term/tty-colors frame cl-generic c= ham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao k= orean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech europ= ean
ethiopic indian cyrillic chinese composite charscript charprop
ca= se-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl= -preloaded nadvice loaddefs button faces cus-face macroexp files
text-pr= operties overlay sha1 md5 base64 format env code-pages mule
custom widge= t hashtable-print-readable backquote threads dbusbind
inotify lcms2 dyna= mic-setting system-font-setting font-render-setting
move-toolbar gtk x-t= oolkit x multi-tty make-network-process emacs)

Memory information:((conses 8 48799 6392)
=C2=A0(symbols 24 6117 1)
=C2=A0(strings 16 = 16510 1760)
=C2=A0(string-bytes 1 541197)
=C2=A0(vectors 8 10909)
= =C2=A0(vector-slots 4 137958 17442)
=C2=A0(floats 8 19 42)
=C2=A0(int= ervals 28 194 7)
=C2=A0(buffers 564 12)
=C2=A0(heap 1024 7419 858))
--0000000000002b2d040593afa69f--