GNU bug report logs -
#15151
24.3.50; flyspell-mode messes up input method
Previous Next
Reported by: ashish.is <at> lostca.se (Ashish SHUKLA)
Date: Wed, 21 Aug 2013 09:20:02 UTC
Severity: normal
Tags: moreinfo
Found in version 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15151 in the body.
You can then email your comments to 15151 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15151
; Package
emacs
.
(Wed, 21 Aug 2013 09:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ashish.is <at> lostca.se (Ashish SHUKLA)
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 21 Aug 2013 09:20:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
If you enable 'flyspell-mode' in a buffer, and switch to `english-dvorak'
input method, you'll notice keys are not outputting expected characters. As
soon as you disable 'flyspell-mode' it starts working as expected.
I'm running Emacs bzr HEAD r113965.
In GNU Emacs 24.3.50.1 (amd64-portbld-freebsd9.1, X toolkit, Xaw3d scroll bars)
of 2013-08-21 on chateau.d.if
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
Configured using:
`configure --localstatedir=/var --with-x-toolkit=athena --with-xft
--with-m17n-flt --with-libotf --with-imagemagick --with-gsettings
--with-gconf --with-xim --with-sound --with-dbus --with-xml2 --with-gnutls
--with-acl --with-file-notification=gfile --x-libraries=/usr/local/lib
--x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man
--infodir=/usr/local/share/emacs/info/ --build=amd64-portbld-freebsd9.1
CFLAGS='-fstack-protector -march=nocona -g' CPPFLAGS='-I/usr/local/include'
LDFLAGS=' -L/usr/local/lib''
Important settings:
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Group
Minor modes in effect:
gnus-topic-mode: t
gnus-undo-mode: t
shell-dirtrack-mode: t
global-auto-complete-mode: t
delete-selection-mode: t
display-time-mode: t
show-paren-mode: t
tooltip-mode: t
mouse-wheel-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
buffer-read-only: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<up> <return> 3 0 <return> <C-end> q g <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <return> q <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <s-up>
2 <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> g <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> <return> q g <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <return> <C-end>
<up> <up> <up> <up> <up> q <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<C-end> C-u a C-\ J g ; SPC ; j M-x f l y <tab> s p
<tab> m o <tab> <return> <C-down> <down> <up> <down>
<return> <return> <up> K J <backspace> <backspace>
J g ; SPC k j g ; SPC ; g k l f m n o d <backspace>
<backspace> d o SPC J <S-home> <S-up> <S-up> <S-down>
J g SPC G q m SPC A ; j g ; j SPC : J F V P A S-SPC
g k j <backspace> <backspace> <backspace> k j g ; SPC
g ; SPC m t SPC l a m d e C-z c M-x f l y s <tab> m
o <tab> <return> C-\ J g ; ; ; SPC k j g ; SPC C-\
C-z 0 C-c C-k y e s <return> M-x r e p <tab> r <backspace>
o r <tab> b u <tab> <return>
Recent messages:
Can't find directory separator in global.SCORE
No more unseen articles
Mark set
Exiting summary buffer and applying spam rules
Mark set [9 times]
Making completion list...
Flyspell mode disabled
Mark set
Flyspell mode enabled
Making completion list...
Load-path shadows:
/home/abbe/.emacs.d/elisp/apel/env hides /usr/local/share/emacs/24.3.50/lisp/env
/home/abbe/.emacs.d/elisp/apel/timezone hides /usr/local/share/emacs/24.3.50/lisp/timezone
/home/abbe/.emacs.d/elisp/full-ack/.dir-locals hides /usr/local/share/emacs/24.3.50/lisp/gnus/.dir-locals
Features:
(shadow thingatpt emacsbug mm-archive pp mailalias smtpmail sendmail gnus-fun
bbdb-gui sort smiley gnus-bcklg qp quail help-mode flyspell ispell gnus-cite
hashcash footnote nnir gnus-async gnus-ml disp-table gnus-topic utf-7 nndraft
nnmh nnmaildir epa-file epa epg network-stream starttls nnimap parse-time utf7
netrc bbdb-gnus bbdb-snarf mail-extr nnnil gnus-agent gnus-srvr gnus-score
score-mode nnvirtual nntp gnus-cache spam spam-stat bbdb-com warnings bbdb
gnus-uu yenc gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime
smime dig mm-url nnmairix nnml gnus-sum gnus-group gnus-undo nnmail
mail-source nnoo supercite regi w3m browse-url doc-view jka-compr dired
image-mode w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon
w3m-image w3m-proc w3m-util gnus-start gnus-spec gnus-int gnus-range message
idna rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils
mailheader gnus-win gnus gnus-ems nnheader mail-utils server wombat-theme
tramp tramp-compat tramp-loaddefs trampver shell geiser blog metaweblog
xml-rpc timezone url-http tls url url-proxy url-privacy url-expand url-methods
url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
url-cookie url-domsuf url-util url-parse auth-source eieio eieio-core
gnus-util mm-util mail-prsvr password-cache url-gw url-vars xml muse-html
muse-xml-common cus-edit cus-start cus-load muse-publish muse-project
muse-protocols info muse-regexps wid-edit derived muse muse-nested-tags
muse-mode org-agenda org byte-opt bytecomp byte-compile cconv ob-tangle ob-ref
ob-lob ob-table org-footnote org-src ob-comint ob-keys org-pcomplete pcomplete
comint ansi-color ring org-list org-faces org-entities noutline outline
org-version ob-emacs-lisp ob org-compat org-macs ob-eval org-loaddefs
format-spec find-func cal-menu easymenu calendar cal-loaddefs
auto-complete-config auto-complete easy-mmode popup slime-autoloads
clojure-mode edmacro kmacro scim-bridge mule-util advice help-fns alist pym
static apel-ver product elscreen bbdb-autoloads w3m-load erlang-start boxquote
cl-macs gv rect cl cl-loaddefs cl-lib delsel time paren uniquify go-mode-load
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese
hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind gfilenotify dynamic-setting
system-font-setting font-render-setting x-toolkit x multi-tty emacs)
Let me know if you need more information.
Thanks
--
Ashish SHUKLA
“Few false ideas have more firmly gripped the minds of so many intelligent men
than the one that, if they just tried, they could invent a cipher that no one
could break.” (David Kahn, "The Codebreakers", 1967)
Sent from my Emacs
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15151
; Package
emacs
.
(Sun, 25 Aug 2013 02:29:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 15151 <at> debbugs.gnu.org (full text, mbox):
Hello,
I have similar problem with flyspell-mode:
- emacs bzr 113973
- start emacs in terminal emulator:
emacs -Q
- open a text buffer, enable flyspell-mode, switch to 'russian-computer'
input method;
- begin type a text, instead of any punctuation symbols (.,-'"?:;)
letters are typed.
---
WBR, Vladimir Lomov
--
Be careful what you set your heart on -- for it will surely be yours.
-- James Baldwin, "Nobody Knows My Name"
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15151
; Package
emacs
.
(Sun, 03 Nov 2013 18:23:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 15151 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
HI
I have very similar issue with my custom defined keyboard layout. Here it is
;;========================================================
(quail-define-package
"russian-no-windows" "Russian" "RU" nil
"ЙЦУКЕН Russian computer layout"
nil t t t t nil nil nil nil nil t)
;; 1! 2" 3№ 4% 5: 6, 7. 8; 9( 0) -_ =+ \/ ёЁ
;; Й Ц У К Е Н Г Ш Щ З Х Ъ
;; Ф Ы В А П Р О Л Д Ж Э
;; Я Ч С М И Т Ь Б Ю /?
(quail-define-rules
("1" ?1)
("2" ?2)
("3" ?3)
("4" ?4)
("5" ?5)
("6" ?6)
("7" ?7)
("8" ?8)
("9" ?9)
("0" ?0)
("-" ?-)
("=" ?=)
("|" ?Ё)
("`" ?])
("q" ?й)
("w" ?ц)
("e" ?у)
("r" ?к)
("t" ?е)
("y" ?н)
("u" ?г)
("i" ?ш)
("o" ?щ)
("p" ?з)
("[" ?х)
("]" ?ъ)
("a" ?ф)
("s" ?ы)
("d" ?в)
("f" ?а)
("g" ?п)
("h" ?р)
("j" ?о)
("k" ?л)
("l" ?д)
(";" ?ж)
("'" ?э)
("\\" ?\ё)
("z" ?я)
("x" ?ч)
("c" ?с)
("v" ?м)
("b" ?и)
("n" ?т)
("m" ?ь)
("," ?б)
("." ?ю)
("/" ?/)
("!" ?!)
("@" ?\")
("#" ?№)
("$" ?\%)
("%" ?:)
("^" ?,)
("&" ?.)
("*" ?\;)
("(" ?()
(")" ?))
("_" ?_)
("+" ?+)
("~" ?[)
("Q" ?Й)
("W" ?Ц)
("E" ?У)
("R" ?К)
("T" ?Е)
("Y" ?Н)
("U" ?Г)
("I" ?Ш)
("O" ?Щ)
("P" ?З)
("{" ?Х)
("}" ?Ъ)
("A" ?Ф)
("S" ?Ы)
("D" ?В)
("F" ?А)
("G" ?П)
("H" ?Р)
("J" ?О)
("K" ?Л)
("L" ?Д)
(":" ?Ж)
("\"" ?Э)
("|" ?Ё)
("Z" ?Я)
("X" ?Ч)
("C" ?С)
("V" ?М)
("B" ?И)
("N" ?Т)
("M" ?Ь)
("<" ?Б)
(">" ?Ю)
("?" ??)
("§" ?<)
("±" ?>)
)
(global-set-key (kbd "M-2") '(lambda() (interactive) (insert "@")))
(global-set-key (kbd "M-3") '(lambda() (interactive) (insert "#")))
(global-set-key (kbd "M-4") '(lambda() (interactive) (insert "$")))
(global-set-key (kbd "M-5") '(lambda() (interactive) (insert "%")))
(global-set-key (kbd "M-6") '(lambda() (interactive) (insert "^")))
(global-set-key (kbd "M-7") '(lambda() (interactive) (insert "&")))
(global-set-key (kbd "M-8") '(lambda() (interactive) (insert "*")))
(global-set-key (kbd "M--") '(lambda() (interactive) (insert "—")))
;; Local Variables:
;; coding: utf-8
;; End:
;;; russian-nowinkeys.el ends here
(provide 'russian-no-windows)
;;========================================================
Here is my flyspell rules:
(add-to-list
'ispell-local-dictionary-alist
'("russian" ; combo english+russian
"[a-zA-ZАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдеёжзийклмнопрстуфхцчшщьыъэюя]"
"[^a-zA-ZАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдеёжзийклмнопрстуфхцчшщьыъэюя]"
"[-']"
nil
("-d" "en_US,ru_RU")
nil utf-8))
When flyspell mode is turned off everything works OK, but with flyspell
turned on I get strange behavior of "," and "." symbols which are mapped to
"^" and "&" (which are Shift+6 and shift+7. Usually I want type "," at the
end of the word and it doesn't work. "б" typed instead. But when I type
shift+6 in the beginning of the word, I am getting ",", but any subsequent
shift+6 gives me "б" again.
What I want:
Здравствуйте, товарищ!
What I got:
Здравствуйтеб товарищ!
I believe it related to fact that I have rules "^" -> "," and "," -> "б",
but on emacs 24.3 everything worked just fine and still working without
flyspell.
Thanks in advance,
Sergei
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15151
; Package
emacs
.
(Mon, 04 Nov 2013 23:33:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 15151 <at> debbugs.gnu.org (full text, mbox):
> (global-set-key (kbd "M-2") '(lambda() (interactive) (insert "@")))
> (global-set-key (kbd "M-3") '(lambda() (interactive) (insert "#")))
> (global-set-key (kbd "M-4") '(lambda() (interactive) (insert "$")))
> (global-set-key (kbd "M-5") '(lambda() (interactive) (insert "%")))
> (global-set-key (kbd "M-6") '(lambda() (interactive) (insert "^")))
> (global-set-key (kbd "M-7") '(lambda() (interactive) (insert "&")))
> (global-set-key (kbd "M-8") '(lambda() (interactive) (insert "*")))
> (global-set-key (kbd "M--") '(lambda() (interactive) (insert "—")))
[ Unrelated to the bug report itself, sorry. ]
Please don't quote your lambdas.
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15151
; Package
emacs
.
(Thu, 06 Feb 2014 02:25:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 15151 <at> debbugs.gnu.org (full text, mbox):
Hi,
I have the same problem with russian-computer input method.
I was not able to debug it, but I think that it is related to
flyspell delayed commands. When I set flyspell-delay to 0.01, the
problem with input method disappear.
So I suggest as a workaround
(setq flyspell-delay 0.01)
--
With best wishes,
Anton Nazarov mailto:nazarov <at> uchicago.edu
mailto:antonnaz <at> gmail.com
mailto:anton.nazarov <at> hep.phys.spbu.ru
http://hep.phys.spbu.ru/staff/nazarov
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15151
; Package
emacs
.
(Mon, 06 Sep 2021 10:00:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 15151 <at> debbugs.gnu.org (full text, mbox):
ashish.is <at> lostca.se (Ashish SHUKLA) writes:
> If you enable 'flyspell-mode' in a buffer, and switch to `english-dvorak'
> input method, you'll notice keys are not outputting expected characters. As
> soon as you disable 'flyspell-mode' it starts working as expected.
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
I tried reproducing this in Emacs 28 from "emacs -Q":
M-x flyspell-mode
M-x set-input-method english-dvorak
I then typed the qwerty line of keys and got:
',.pyf
I switched flyspell-mode off and repeated:
',.pyf
So this seems to work the same with or without flyspell-mode now. Are
you still seeing this issue in recent Emacs versions?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 06 Sep 2021 10:00:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15151
; Package
emacs
.
(Mon, 06 Sep 2021 12:44:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 15151 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Mon, Sep 06, 2021 at 11:59:21AM +0200, Lars Ingebrigtsen wrote:
> ashish.is <at> lostca.se (Ashish SHUKLA) writes:
>
> > If you enable 'flyspell-mode' in a buffer, and switch to `english-dvorak'
> > input method, you'll notice keys are not outputting expected characters. As
> > soon as you disable 'flyspell-mode' it starts working as expected.
>
> (I'm going through old bug reports that unfortunately weren't resolved
> at the time.)
>
> I tried reproducing this in Emacs 28 from "emacs -Q":
>
> M-x flyspell-mode
> M-x set-input-method english-dvorak
>
> I then typed the qwerty line of keys and got:
>
> ',.pyf
>
> I switched flyspell-mode off and repeated:
>
> ',.pyf
>
> So this seems to work the same with or without flyspell-mode now. Are
> you still seeing this issue in recent Emacs versions?
I tested with Emacs 28.0.50 (git commit: 4c49ec7f865bdad1629d2f125f71f4e506b258f2), and am not able to reproduce it anymore.
Feel free to close this bug report.
Thanks!
--
Ashish | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0
"Should I kill myself, or have a cup of coffee?" (Albert Camus)
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15151
; Package
emacs
.
(Mon, 06 Sep 2021 12:48:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 15151 <at> debbugs.gnu.org (full text, mbox):
Ashish <ashish.is <at> lostca.se> writes:
> I tested with Emacs 28.0.50 (git commit:
> 4c49ec7f865bdad1629d2f125f71f4e506b258f2), and am not able to
> reproduce it anymore.
>
> Feel free to close this bug report.
Thanks for checking; I'm closing this bug report, then.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
15151 <at> debbugs.gnu.org and ashish.is <at> lostca.se (Ashish SHUKLA)
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 06 Sep 2021 12:48:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 05 Oct 2021 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 316 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.