|
From: | Juri Linkov |
Subject: | bug#36516: Wrong dynamic abbrev expansion after space |
Date: | Fri, 05 Jul 2019 21:38:39 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
0. emacs -Q 1. Type these two lines: str 1 str 2 2. On the third line type: s ;; self-insert-command t ;; self-insert-command r ;; self-insert-command SPC ;; self-insert-command M-/ ;; dabbrev-expand M-/ ;; dabbrev-expand 3. The result is correct, the third line is correctly expanded to: str 1 Now the test case that exposes the error: 0. emacs -Q 1. Type these two lines: str 1 str 2 2. On the third line type: s ;; self-insert-command M-/ ;; dabbrev-expand SPC ;; self-insert-command M-/ ;; dabbrev-expand M-/ ;; dabbrev-expand 3. The word after "str " is expanded to some random word.
[Prev in Thread] | Current Thread | [Next in Thread] |