* bug#45005: 28.0.50; input method does not switch back @ 2020-12-02 10:49 Jean Louis 2020-12-08 8:43 ` Juri Linkov 0 siblings, 1 reply; 5+ messages in thread From: Jean Louis @ 2020-12-02 10:49 UTC (permalink / raw) To: 45005 This is report for which I do not think that it is reproducible as I tried to invoke it with emacs -Q and I would need to perform some work from which I could not find out what invokes the bug. My other input method is by default set to german-postfix. My Emacs uptime now is about 1 day, 15 hours. About 15 hours ago, I could observe that I cannot turn off the input method with C-\ but that it remains engaged. Mode line may show DE<U: and when I press C-\ it shows U: but again I can write ü ö ä and some words in other languages collide. I am using other few input methods for other languages, then it becomes difficult writing English as some combinations of letters get converted in other letters, then I have to delete, etc. If I make new session it will of course be alright. For my last 5 years I have not encountered this situation that input-method kind of remains turned on even if I turn it off. I do not believe that closing unreproducible bugs is useful, it is reference for future discoveries. Tag them as not being able to solve or tag them somehow. To "close" such bug makes them not searchable by set of people who may relate to it or in future could find the solution. In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.8, Xaw3d scroll bars) of 2020-11-25 built on protected.rcdrun.com Repository revision: 30c437752df0a3a9410f1249fa0f237110811af2 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11907000 System Description: Hyperbola GNU/Linux-libre Configured using: 'configure --prefix=/package/text/emacs --with-modules --with-x-toolkit=lucid' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim locale-coding-system: utf-8-unix Major mode: Mail Minor modes in effect: sly-symbol-completion-mode: t jabber-activity-mode: t say-minor-mode: t TeX-PDF-mode: t recentf-mode: t timeclock-mode-line-display: t symon-mode: t show-paren-mode: t savehist-mode: t save-place-mode: t immortal-scratch-mode: t electric-pair-mode: t display-time-mode: t display-battery-mode: t helm-ff-cache-mode: t shell-dirtrack-mode: t async-bytecomp-package-mode: t persistent-scratch-autosave-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t auto-fill-function: mail-mode-auto-fill transient-mark-mode: t Load-path shadows: ~/Programming/git/emacs-libpq/test hides /home/data1/protected/Programming/emacs-lisp/test /home/data1/protected/.emacs.d/elpa/rcd-db-1.15/rcd-db hides /home/data1/protected/Programming/emacs-lisp/rcd-db /home/data1/protected/.emacs.d/elpa/rcd-utilities-1.30/rcd-utilities hides /home/data1/protected/Programming/emacs-lisp/rcd-utilities /home/data1/protected/.emacs.d/elpa/rcd-db-init-1.8/rcd-db-init hides /home/data1/protected/Programming/emacs-lisp/rcd-db-init /home/data1/protected/Programming/emacs-lisp/rcd-cf hides /home/data1/protected/.emacs.d/elpa/rcd-cf-1.14/rcd-cf /home/data1/protected/Programming/emacs-lisp/rcd-password hides /home/data1/protected/.emacs.d/elpa/rcd-password-1.1/rcd-password /home/data1/protected/Programming/emacs-lisp/rcd-translations hides /home/data1/protected/.emacs.d/elpa/rcd-translations-1.3/rcd-translations /home/data1/protected/.emacs.d/elpa/rcd-db-1.15/rcd-db-autoloads hides /home/data1/protected/.emacs.d/elpa/rcd-db-1.13/rcd-db-autoloads /home/data1/protected/.emacs.d/elpa/rcd-db-1.15/rcd-db hides /home/data1/protected/.emacs.d/elpa/rcd-db-1.13/rcd-db /home/data1/protected/.emacs.d/elpa/rcd-db-1.15/rcd-db-pkg hides /home/data1/protected/.emacs.d/elpa/rcd-db-1.13/rcd-db-pkg /home/data1/protected/.emacs.d/elpa/rcd-utilities-1.30/rcd-utilities-pkg hides /home/data1/protected/.emacs.d/elpa/rcd-utilities-1.28/rcd-utilities-pkg /home/data1/protected/.emacs.d/elpa/rcd-utilities-1.30/rcd-utilities hides /home/data1/protected/.emacs.d/elpa/rcd-utilities-1.28/rcd-utilities /home/data1/protected/.emacs.d/elpa/rcd-utilities-1.30/rcd-utilities-autoloads hides /home/data1/protected/.emacs.d/elpa/rcd-utilities-1.28/rcd-utilities-autoloads ~/Programming/git/emacs-libvterm/vterm hides /home/data1/protected/.emacs.d/elpa/vterm-0.0.1/vterm /home/data1/protected/.emacs.d/packages/printing hides /package/text/emacs/share/emacs/28.0.50/lisp/printing /home/data1/protected/.emacs.d/elpa/org-20201019/ob-css hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-css /home/data1/protected/.emacs.d/elpa/org-20201019/ob-dot hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-dot /home/data1/protected/.emacs.d/elpa/org-20201019/ob-sed hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-sed /home/data1/protected/.emacs.d/elpa/org-20201019/ob-stan hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-stan /home/data1/protected/.emacs.d/elpa/org-20201019/ob-sqlite hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-sqlite /home/data1/protected/.emacs.d/elpa/org-20201019/ol-bbdb hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ol-bbdb /home/data1/protected/.emacs.d/elpa/org-20201019/ol-gnus hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ol-gnus /home/data1/protected/.emacs.d/elpa/org-20201019/org-src hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-src /home/data1/protected/.emacs.d/elpa/org-20201019/ob-lob hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-lob /home/data1/protected/.emacs.d/elpa/org-20201019/ob-calc hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-calc /home/data1/protected/.emacs.d/elpa/org-20201019/ob-mscgen hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-mscgen /home/data1/protected/.emacs.d/elpa/org-20201019/ob-core hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-core /home/data1/protected/.emacs.d/elpa/org-20201019/ox-beamer hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ox-beamer /home/data1/protected/.emacs.d/elpa/org-20201019/ob-sass hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-sass /home/data1/protected/.emacs.d/elpa/org-20201019/ob-plantuml hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-plantuml /home/data1/protected/.emacs.d/elpa/org-20201019/org-keys hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-keys /home/data1/protected/.emacs.d/elpa/org-20201019/ob-coq hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-coq /home/data1/protected/.emacs.d/elpa/org-20201019/ob-js hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-js /home/data1/protected/.emacs.d/elpa/org-20201019/org-plot hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-plot /home/data1/protected/.emacs.d/elpa/org-20201019/org-macro hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-macro /home/data1/protected/.emacs.d/elpa/org-20201019/org-inlinetask hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-inlinetask /home/data1/protected/.emacs.d/elpa/org-20201019/org-timer hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-timer /home/data1/protected/.emacs.d/elpa/org-20201019/ox hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ox /home/data1/protected/.emacs.d/elpa/org-20201019/ob-forth hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-forth /home/data1/protected/.emacs.d/elpa/org-20201019/ob-groovy hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-groovy /home/data1/protected/.emacs.d/elpa/org-20201019/ob-perl hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-perl /home/data1/protected/.emacs.d/elpa/org-20201019/ob-gnuplot hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-gnuplot /home/data1/protected/.emacs.d/elpa/org-20201019/ox-latex hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ox-latex /home/data1/protected/.emacs.d/elpa/org-20201019/ob-sql hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-sql /home/data1/protected/.emacs.d/elpa/org-20201019/ob-screen hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-screen /home/data1/protected/.emacs.d/elpa/org-20201019/org-archive hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-archive /home/data1/protected/.emacs.d/elpa/org-20201019/ob-haskell hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-haskell /home/data1/protected/.emacs.d/elpa/org-20201019/org-footnote hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-footnote /home/data1/protected/.emacs.d/elpa/org-20201019/ox-man hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ox-man /home/data1/protected/.emacs.d/elpa/org-20201019/ol-w3m hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ol-w3m /home/data1/protected/.emacs.d/elpa/org-20201019/org-protocol hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-protocol /home/data1/protected/.emacs.d/elpa/org-20201019/org-num hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-num /home/data1/protected/.emacs.d/elpa/org-20201019/ob-ref hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-ref /home/data1/protected/.emacs.d/elpa/org-20201019/ob-processing hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-processing /home/data1/protected/.emacs.d/elpa/org-20201019/org-habit hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-habit /home/data1/protected/.emacs.d/elpa/org-20201019/org-indent hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-indent /home/data1/protected/.emacs.d/elpa/org-20201019/ob-maxima hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-maxima /home/data1/protected/.emacs.d/elpa/org-20201019/ol-info hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ol-info /home/data1/protected/.emacs.d/elpa/org-20201019/org-list hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-list /home/data1/protected/.emacs.d/elpa/org-20201019/org-entities hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-entities /home/data1/protected/.emacs.d/elpa/org-20201019/ob-fortran hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-fortran /home/data1/protected/.emacs.d/elpa/org-20201019/ob-eshell hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-eshell /home/data1/protected/.emacs.d/elpa/org-20201019/ob-comint hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-comint /home/data1/protected/.emacs.d/elpa/org-20201019/ol-eshell hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ol-eshell /home/data1/protected/.emacs.d/elpa/org-20201019/ol-docview hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ol-docview /home/data1/protected/.emacs.d/elpa/org-20201019/ob-ruby hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-ruby /home/data1/protected/.emacs.d/elpa/org-20201019/org hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org /home/data1/protected/.emacs.d/elpa/org-20201019/ol-eww hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ol-eww /home/data1/protected/.emacs.d/elpa/org-20201019/org-macs hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-macs /home/data1/protected/.emacs.d/elpa/org-20201019/org-agenda hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-agenda /home/data1/protected/.emacs.d/elpa/org-20201019/ox-org hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ox-org /home/data1/protected/.emacs.d/elpa/org-20201019/ob-C hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-C /home/data1/protected/.emacs.d/elpa/org-20201019/org-install hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-install /home/data1/protected/.emacs.d/elpa/org-20201019/ob-makefile hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-makefile /home/data1/protected/.emacs.d/elpa/org-20201019/ob-java hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-java /home/data1/protected/.emacs.d/elpa/org-20201019/ob-org hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-org /home/data1/protected/.emacs.d/elpa/org-20201019/org-table hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-table /home/data1/protected/.emacs.d/elpa/org-20201019/ob hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob /home/data1/protected/.emacs.d/elpa/org-20201019/org-id hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-id /home/data1/protected/.emacs.d/elpa/org-20201019/ob-eval hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-eval /home/data1/protected/.emacs.d/elpa/org-20201019/ob-clojure hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-clojure /home/data1/protected/.emacs.d/elpa/org-20201019/ob-ledger hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-ledger /home/data1/protected/.emacs.d/elpa/org-20201019/ob-shen hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-shen /home/data1/protected/.emacs.d/elpa/org-20201019/ox-ascii hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ox-ascii /home/data1/protected/.emacs.d/elpa/org-20201019/ox-publish hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ox-publish /home/data1/protected/.emacs.d/elpa/org-20201019/ox-texinfo hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ox-texinfo /home/data1/protected/.emacs.d/elpa/org-20201019/org-duration hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-duration /home/data1/protected/.emacs.d/elpa/org-20201019/org-colview hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-colview /home/data1/protected/.emacs.d/elpa/org-20201019/org-datetree hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-datetree /home/data1/protected/.emacs.d/elpa/org-20201019/ob-vala hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-vala /home/data1/protected/.emacs.d/elpa/org-20201019/ob-table hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-table /home/data1/protected/.emacs.d/elpa/org-20201019/ob-tangle hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-tangle /home/data1/protected/.emacs.d/elpa/org-20201019/org-pcomplete hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-pcomplete /home/data1/protected/.emacs.d/elpa/org-20201019/org-version hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-version /home/data1/protected/.emacs.d/elpa/org-20201019/ob-R hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-R /home/data1/protected/.emacs.d/elpa/org-20201019/ob-picolisp hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-picolisp /home/data1/protected/.emacs.d/elpa/org-20201019/ob-lua hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-lua /home/data1/protected/.emacs.d/elpa/org-20201019/ox-odt hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ox-odt /home/data1/protected/.emacs.d/elpa/org-20201019/ob-awk hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-awk /home/data1/protected/.emacs.d/elpa/org-20201019/ob-exp hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-exp /home/data1/protected/.emacs.d/elpa/org-20201019/ox-md hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ox-md /home/data1/protected/.emacs.d/elpa/org-20201019/ob-abc hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-abc /home/data1/protected/.emacs.d/elpa/org-20201019/ol-mhe hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ol-mhe /home/data1/protected/.emacs.d/elpa/org-20201019/ob-ocaml hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-ocaml /home/data1/protected/.emacs.d/elpa/org-20201019/org-crypt hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-crypt /home/data1/protected/.emacs.d/elpa/org-20201019/ob-python hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-python /home/data1/protected/.emacs.d/elpa/org-20201019/ox-html hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ox-html /home/data1/protected/.emacs.d/elpa/org-20201019/ob-matlab hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-matlab /home/data1/protected/.emacs.d/elpa/org-20201019/org-attach hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-attach /home/data1/protected/.emacs.d/elpa/org-20201019/ol-irc hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ol-irc /home/data1/protected/.emacs.d/elpa/org-20201019/ob-hledger hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-hledger /home/data1/protected/.emacs.d/elpa/org-20201019/org-loaddefs hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-loaddefs /home/data1/protected/.emacs.d/elpa/org-20201019/ob-octave hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-octave /home/data1/protected/.emacs.d/elpa/org-20201019/org-ctags hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-ctags /home/data1/protected/.emacs.d/elpa/org-20201019/ob-asymptote hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-asymptote /home/data1/protected/.emacs.d/elpa/org-20201019/ob-ditaa hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-ditaa /home/data1/protected/.emacs.d/elpa/org-20201019/ol hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ol /home/data1/protected/.emacs.d/elpa/org-20201019/org-compat hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-compat /home/data1/protected/.emacs.d/elpa/org-20201019/org-feed hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-feed /home/data1/protected/.emacs.d/elpa/org-20201019/ob-J hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-J /home/data1/protected/.emacs.d/elpa/org-20201019/ob-shell hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-shell /home/data1/protected/.emacs.d/elpa/org-20201019/ob-lilypond hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-lilypond /home/data1/protected/.emacs.d/elpa/org-20201019/ol-rmail hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ol-rmail /home/data1/protected/.emacs.d/elpa/org-20201019/org-element hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-element /home/data1/protected/.emacs.d/elpa/org-20201019/ob-io hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-io /home/data1/protected/.emacs.d/elpa/org-20201019/org-faces hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-faces /home/data1/protected/.emacs.d/elpa/org-20201019/org-capture hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-capture /home/data1/protected/.emacs.d/elpa/org-20201019/org-goto hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-goto /home/data1/protected/.emacs.d/elpa/org-20201019/org-lint hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-lint /home/data1/protected/.emacs.d/elpa/org-20201019/ol-bibtex hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ol-bibtex /home/data1/protected/.emacs.d/elpa/org-20201019/ob-lisp hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-lisp /home/data1/protected/.emacs.d/elpa/org-20201019/org-tempo hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-tempo /home/data1/protected/.emacs.d/elpa/org-20201019/org-clock hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-clock /home/data1/protected/.emacs.d/elpa/org-20201019/ob-ebnf hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-ebnf /home/data1/protected/.emacs.d/elpa/org-20201019/org-mobile hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-mobile /home/data1/protected/.emacs.d/elpa/org-20201019/ob-scheme hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-scheme /home/data1/protected/.emacs.d/elpa/org-20201019/ob-latex hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-latex /home/data1/protected/.emacs.d/elpa/org-20201019/ob-emacs-lisp hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ob-emacs-lisp /home/data1/protected/.emacs.d/elpa/org-20201019/org-attach-git hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-attach-git /home/data1/protected/.emacs.d/elpa/org-20201019/org-mouse hides /package/text/emacs/share/emacs/28.0.50/lisp/org/org-mouse /home/data1/protected/.emacs.d/elpa/org-20201019/ox-icalendar hides /package/text/emacs/share/emacs/28.0.50/lisp/org/ox-icalendar /home/data1/protected/.emacs.d/elpa/flim-20200908.1428/sasl hides /package/text/emacs/share/emacs/28.0.50/lisp/net/sasl Features: (shadow helm-misc mm-archive proced org-agenda helm-system-packages-pacman helm-system-packages sort find-dired calc-yank rcd-devel-utilities calc-alg calc-ext calc-menu calc calc-loaddefs calc-macs cal-iso rcd/business dired-x ix grapnel emacsbug jabber-rtt jabber-otr jabber-keepalive jabber-ping autoload lisp-mnt log-edit pcvs-util add-log rcd-translations sly sly-completion sly-buttons sly-messages sly-common apropos arc-mode archive-mode hyperspec jabber jabber-notifications notifications jabber-libnotify jabber-awesome jabber-osd jabber-wmii jabber-xmessage jabber-festival jabber-sawfish jabber-ratpoison jabber-tmux jabber-screen jabber-socks5 jabber-ft-server jabber-si-server jabber-ft-client jabber-ft-common jabber-si-client jabber-si-common jabber-feature-neg jabber-truncate jabber-time jabber-autoaway jabber-vcard-avatars jabber-chatstates jabber-events jabber-vcard jabber-avatar jabber-activity jabber-watch jabber-modeline jabber-ahc-presence jabber-ahc jabber-version jabber-ourversion jabber-muc-nick-completion hippie-exp jabber-browse jabber-search jabber-register jabber-roster jabber-presence jabber-muc jabber-bookmarks jabber-private jabber-muc-nick-coloring hexrgb jabber-widget jabber-disco jabber-chat jabber-history jabber-chatbuffer jabber-alert jabber-iq jabber-core jabber-console sgml-mode ewoc jabber-keymap jabber-sasl sasl sasl-anonymous sasl-login sasl-plain fsm jabber-logon jabber-conn srv dns starttls tls jabber-xml jabber-menu jabber-util mu4e desktop frameset mu4e-speedbar mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-context mu4e-draft mu4e-actions ido rfc2368 smtpmail mu4e-mark mu4e-message flow-fill mu4e-proc mu4e-utils mu4e-lists mu4e-vars mu4e-meta timer-list boxquote shr-color uni-input compose mule-diag elp dichromacy-theme deeper-blue-theme winner helm-ring helm-elisp helm-eval edebug helm-info rect quail ox-org ox-latex ox-html table ox-ascii ox-publish ox preview tex-buf font-latex latex latex-flymake flymake-proc flymake tex-ispell tex-style tex crm texmathp tex-mode rx mail-extr wordnut wordnut-history wordnut-u ispell gnutls network-stream url-http url-gw nsm url-cache url-auth vc-git vc vc-dispatcher cl-print debug backtrace emms-volume emms-volume-mixerctl emms-volume-pulse emms-volume-amixer emms-playlist-mode emms-source-playlist emms-source-file emms emms-compat shortdoc dabbrev hi-lock ffap two-column iso-transl hywconfig server hmouse-tag etags fileloop xref project modus-vivendi-theme pcase cus-theme cus-edit help-fns radix-tree tramp-sh recentf tree-widget mailalias vterm term ehelp vterm-module face-remap goto-addr mule-util hyperscope sendmail vc-filewise vc-rcs sql smerge-mode diff-mode diff dired-aux dired-launch bookmark pp misearch multi-isearch imenu disp-table woman warnings man ol-w3m ol-rmail ol-mhe ol-irc ol-info org-id org-refile ol-gnus nnselect gnus-search eieio-opt cl-extra speedbar ezimage dframe ol-eww eww xdg url-queue thingatpt mm-url ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ob-dot ob-lisp ob-perl ob-scheme ob-shell ob-sql ob-ditaa ob-plantuml timeclock symon paren scroll-all savehist saveplace immortal-scratch hl-line elec-pair time battery cus-start cus-load festival rcd-wrs-variables bbdb bbdb-site timezone mutt-tools maildir qp maildir-index dash s noflet cl-indent dotassoc kv gnus-art mm-uu mml2015 gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mailabbrev gmm-utils gnus-win gnus nnheader wid-edit mm-view mml-smime mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs mail-utils smime dig mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailheader windmove rcd-cf chart rcd-db helm-mode helm-files tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell parse-time iso8601 ls-lisp helm-buffers helm-occur helm-tags helm-locate helm-grep wgrep-helm wgrep grep compile text-property-search helm-regexp helm-utils helm-help helm-types helm async-bytecomp helm-global-bindings helm-source eieio-compat helm-multi-match helm-lib async time-stamp rcd-db-init skeleton pq rcd-sent-folder rcd-password rcd-utilities ivy delsel ivy-faces ivy-overlay colir color persistent-scratch gold-price units edmacro kmacro hyperbole hinit hibtypes hib-doc-id klink hib-kbd hib-debbugs hib-social hsys-www hib-org hsys-org org-element avl-tree generator org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities time-date org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs format-spec find-func hactypes hui-mini hui hui-mouse hmouse-key hargs hui-menu hyrolo-menu hui-jmenu noutline outline hmouse-sh hmouse-drv hypb locate dired dired-loaddefs hui-window pulse hycontrol hsettings hui-em-but hyrolo hmail hbut view hact hpath hhist hbdata htz cal-julian cal-menu calendar cal-loaddefs hbmap hmoccur help-mode hui-select hvar set hversion hload-path hyperbole-autoloads kotl-autoloads tex-site helm-easymenu finder-inf cl easy-mmode sly-autoloads info package easymenu browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib 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 tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 cl-preloaded nadvice button loaddefs faces cus-face macroexp files window 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 cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 2446961 216594) (symbols 48 64405 1) (strings 32 560140 32859) (string-bytes 1 18639384) (vectors 16 181696) (vector-slots 8 3267905 219044) (floats 8 1790 13906) (intervals 56 182262 2629) (buffers 984 289)) -- Thanks, Jean Louis ⎔ λ 🄯 𝍄 𝌡 𝌚 ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#45005: 28.0.50; input method does not switch back 2020-12-02 10:49 bug#45005: 28.0.50; input method does not switch back Jean Louis @ 2020-12-08 8:43 ` Juri Linkov 2020-12-08 10:10 ` Jean Louis 2020-12-09 19:31 ` Juri Linkov 0 siblings, 2 replies; 5+ messages in thread From: Juri Linkov @ 2020-12-08 8:43 UTC (permalink / raw) To: Jean Louis; +Cc: 45005 [-- Attachment #1: Type: text/plain, Size: 2286 bytes --] tags 45005 + patch quit > This is report for which I do not think that it is reproducible as I > tried to invoke it with emacs -Q and I would need to perform some work > from which I could not find out what invokes the bug. > > My other input method is by default set to german-postfix. > > My Emacs uptime now is about 1 day, 15 hours. About 15 hours ago, I > could observe that I cannot turn off the input method with C-\ but > that it remains engaged. > > Mode line may show DE<U: and when I press C-\ it shows U: but again I > can write ü ö ä and some words in other languages collide. I am using > other few input methods for other languages, then it becomes difficult > writing English as some combinations of letters get converted in other > letters, then I have to delete, etc. If I make new session it will of > course be alright. For my last 5 years I have not encountered this > situation that input-method kind of remains turned on even if I turn > it off. This problem can happen only when the default global value of input-method-function is changed, so it still translates keys while the input method is disabled. When an input method is activated, 'quail-activate' uses (setq-local input-method-function #'quail-input-method) to set the buffer-local value, and when an input method is deactivated, removes the buffer-local value: (kill-local-variable 'input-method-function) So it doesn't change its default global value. The only place on the whole Emacs tree that can change the default global value of input-method-function is 'isearch-done': (if isearch-input-method-local-p (setq input-method-function isearch-input-method-function) (kill-local-variable 'input-method-function)) Many functions in international/isearch-x.el set isearch-input-method-local-p to 't', but never set it to 'nil'. So when after using an input method in Isearch (enabling and disabling it) on exiting Isearch, this code always changes the default global value of input-method-function. Instead of this, this code should use the same logic as used by 'quail-activate': when a previous input method should be re-activated, then set its buffer-local value, otherwise use kill-local-variable. This logic will obsolete the variable isearch-input-method-local-p: [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: isearch-input-method-local-p.patch --] [-- Type: text/x-diff, Size: 4148 bytes --] diff --git a/lisp/isearch.el b/lisp/isearch.el index a0aa250c4b..69c553deda 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -965,10 +965,6 @@ isearch-hidden ;; The value of input-method-function when isearch is invoked. (defvar isearch-input-method-function nil) -;; A flag to tell if input-method-function is locally bound when -;; isearch is invoked. -(defvar isearch-input-method-local-p nil) - (defvar isearch--saved-overriding-local-map nil) ;; Minor-mode-alist changes - kind of redundant with the @@ -1238,7 +1234,6 @@ isearch-mode search-ring-yank-pointer nil isearch-opened-overlays nil isearch-input-method-function input-method-function - isearch-input-method-local-p (local-variable-p 'input-method-function) regexp-search-ring-yank-pointer nil isearch-pre-scroll-point nil @@ -1259,8 +1254,6 @@ isearch-mode ;; We must bypass input method while reading key. When a user type ;; printable character, appropriate input method is turned on in ;; minibuffer to read multibyte characters. - (or isearch-input-method-local-p - (make-local-variable 'input-method-function)) (setq input-method-function nil) (looking-at "") @@ -1418,8 +1411,8 @@ isearch-done (set-window-group-start (selected-window) found-start t)))) (setq isearch-mode nil) - (if isearch-input-method-local-p - (setq input-method-function isearch-input-method-function) + (if isearch-input-method-function + (setq-local input-method-function isearch-input-method-function) (kill-local-variable 'input-method-function)) (if isearch-tool-bar-old-map diff --git a/lisp/international/isearch-x.el b/lisp/international/isearch-x.el index f50f86a035..94716721b5 100644 --- a/lisp/international/isearch-x.el +++ b/lisp/international/isearch-x.el @@ -35,8 +35,7 @@ isearch-toggle-specified-input-method (interactive) (let ((overriding-terminal-local-map nil)) (toggle-input-method t)) - (setq isearch-input-method-function input-method-function - isearch-input-method-local-p t) + (setq isearch-input-method-function input-method-function) (setq input-method-function nil) (isearch-update)) @@ -46,8 +45,7 @@ isearch-toggle-input-method (interactive) (let ((overriding-terminal-local-map nil)) (toggle-input-method)) - (setq isearch-input-method-function input-method-function - isearch-input-method-local-p t) + (setq isearch-input-method-function input-method-function) (setq input-method-function nil) (isearch-update)) @@ -57,8 +55,7 @@ isearch-transient-input-method (interactive) (let ((overriding-terminal-local-map nil)) (activate-transient-input-method)) - (setq isearch-input-method-function input-method-function - isearch-input-method-local-p t) + (setq isearch-input-method-function input-method-function) (setq input-method-function nil) (isearch-update)) diff --git a/lisp/language/korea-util.el b/lisp/language/korea-util.el index 3821785da7..13cd6a015d 100644 --- a/lisp/language/korea-util.el +++ b/lisp/language/korea-util.el @@ -70,8 +70,7 @@ isearch-toggle-korean-input-method (interactive) (let ((overriding-terminal-local-map nil)) (toggle-korean-input-method)) - (setq isearch-input-method-function input-method-function - isearch-input-method-local-p t) + (setq isearch-input-method-function input-method-function) (setq input-method-function nil) (isearch-update)) @@ -79,8 +78,7 @@ isearch-hangul-switch-symbol-ksc (interactive) (let ((overriding-terminal-local-map nil)) (quail-hangul-switch-symbol-ksc)) - (setq isearch-input-method-function input-method-function - isearch-input-method-local-p t) + (setq isearch-input-method-function input-method-function) (setq input-method-function nil) (isearch-update)) @@ -88,8 +86,7 @@ isearch-hangul-switch-hanja (interactive) (let ((overriding-terminal-local-map nil)) (quail-hangul-switch-hanja)) - (setq isearch-input-method-function input-method-function - isearch-input-method-local-p t) + (setq isearch-input-method-function input-method-function) (setq input-method-function nil) (isearch-update)) ^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#45005: 28.0.50; input method does not switch back 2020-12-08 8:43 ` Juri Linkov @ 2020-12-08 10:10 ` Jean Louis 2020-12-08 19:18 ` Juri Linkov 2020-12-09 19:31 ` Juri Linkov 1 sibling, 1 reply; 5+ messages in thread From: Jean Louis @ 2020-12-08 10:10 UTC (permalink / raw) To: Juri Linkov; +Cc: 45005 * Juri Linkov <juri@linkov.net> [2020-12-08 12:10]: > tags 45005 + patch That is great if it is solved not to happen again. I cannot see through. Are you sure you found the right culprit? > > This is report for which I do not think that it is reproducible as I > > tried to invoke it with emacs -Q and I would need to perform some work > > from which I could not find out what invokes the bug. > > > > My other input method is by default set to german-postfix. > > > > My Emacs uptime now is about 1 day, 15 hours. About 15 hours ago, I > > could observe that I cannot turn off the input method with C-\ but > > that it remains engaged. > > > > Mode line may show DE<U: and when I press C-\ it shows U: but again I > > can write ü ö ä and some words in other languages collide. I am using > > other few input methods for other languages, then it becomes difficult > > writing English as some combinations of letters get converted in other > > letters, then I have to delete, etc. If I make new session it will of > > course be alright. For my last 5 years I have not encountered this > > situation that input-method kind of remains turned on even if I turn > > it off. > > This problem can happen only when the default global value of > input-method-function is changed, so it still translates keys > while the input method is disabled. > > When an input method is activated, 'quail-activate' uses > > (setq-local input-method-function #'quail-input-method) > > to set the buffer-local value, and when an input method is deactivated, > removes the buffer-local value: > > (kill-local-variable 'input-method-function) > > So it doesn't change its default global value. > > The only place on the whole Emacs tree that can change the > default global value of input-method-function is 'isearch-done': > > (if isearch-input-method-local-p > (setq input-method-function isearch-input-method-function) > (kill-local-variable 'input-method-function)) > > Many functions in international/isearch-x.el set isearch-input-method-local-p > to 't', but never set it to 'nil'. So when after using an input method > in Isearch (enabling and disabling it) on exiting Isearch, this code > always changes the default global value of input-method-function. > > Instead of this, this code should use the same logic as used by > 'quail-activate': when a previous input method should be re-activated, > then set its buffer-local value, otherwise use kill-local-variable. > > This logic will obsolete the variable isearch-input-method-local-p: > > diff --git a/lisp/isearch.el b/lisp/isearch.el > index a0aa250c4b..69c553deda 100644 > --- a/lisp/isearch.el > +++ b/lisp/isearch.el > @@ -965,10 +965,6 @@ isearch-hidden > ;; The value of input-method-function when isearch is invoked. > (defvar isearch-input-method-function nil) > > -;; A flag to tell if input-method-function is locally bound when > -;; isearch is invoked. > -(defvar isearch-input-method-local-p nil) > - > (defvar isearch--saved-overriding-local-map nil) > > ;; Minor-mode-alist changes - kind of redundant with the > @@ -1238,7 +1234,6 @@ isearch-mode > search-ring-yank-pointer nil > isearch-opened-overlays nil > isearch-input-method-function input-method-function > - isearch-input-method-local-p (local-variable-p 'input-method-function) > regexp-search-ring-yank-pointer nil > > isearch-pre-scroll-point nil > @@ -1259,8 +1254,6 @@ isearch-mode > ;; We must bypass input method while reading key. When a user type > ;; printable character, appropriate input method is turned on in > ;; minibuffer to read multibyte characters. > - (or isearch-input-method-local-p > - (make-local-variable 'input-method-function)) > (setq input-method-function nil) > > (looking-at "") > @@ -1418,8 +1411,8 @@ isearch-done > (set-window-group-start (selected-window) found-start t)))) > > (setq isearch-mode nil) > - (if isearch-input-method-local-p > - (setq input-method-function isearch-input-method-function) > + (if isearch-input-method-function > + (setq-local input-method-function isearch-input-method-function) > (kill-local-variable 'input-method-function)) > > (if isearch-tool-bar-old-map > diff --git a/lisp/international/isearch-x.el b/lisp/international/isearch-x.el > index f50f86a035..94716721b5 100644 > --- a/lisp/international/isearch-x.el > +++ b/lisp/international/isearch-x.el > @@ -35,8 +35,7 @@ isearch-toggle-specified-input-method > (interactive) > (let ((overriding-terminal-local-map nil)) > (toggle-input-method t)) > - (setq isearch-input-method-function input-method-function > - isearch-input-method-local-p t) > + (setq isearch-input-method-function input-method-function) > (setq input-method-function nil) > (isearch-update)) > > @@ -46,8 +45,7 @@ isearch-toggle-input-method > (interactive) > (let ((overriding-terminal-local-map nil)) > (toggle-input-method)) > - (setq isearch-input-method-function input-method-function > - isearch-input-method-local-p t) > + (setq isearch-input-method-function input-method-function) > (setq input-method-function nil) > (isearch-update)) > > @@ -57,8 +55,7 @@ isearch-transient-input-method > (interactive) > (let ((overriding-terminal-local-map nil)) > (activate-transient-input-method)) > - (setq isearch-input-method-function input-method-function > - isearch-input-method-local-p t) > + (setq isearch-input-method-function input-method-function) > (setq input-method-function nil) > (isearch-update)) > > diff --git a/lisp/language/korea-util.el b/lisp/language/korea-util.el > index 3821785da7..13cd6a015d 100644 > --- a/lisp/language/korea-util.el > +++ b/lisp/language/korea-util.el > @@ -70,8 +70,7 @@ isearch-toggle-korean-input-method > (interactive) > (let ((overriding-terminal-local-map nil)) > (toggle-korean-input-method)) > - (setq isearch-input-method-function input-method-function > - isearch-input-method-local-p t) > + (setq isearch-input-method-function input-method-function) > (setq input-method-function nil) > (isearch-update)) > > @@ -79,8 +78,7 @@ isearch-hangul-switch-symbol-ksc > (interactive) > (let ((overriding-terminal-local-map nil)) > (quail-hangul-switch-symbol-ksc)) > - (setq isearch-input-method-function input-method-function > - isearch-input-method-local-p t) > + (setq isearch-input-method-function input-method-function) > (setq input-method-function nil) > (isearch-update)) > > @@ -88,8 +86,7 @@ isearch-hangul-switch-hanja > (interactive) > (let ((overriding-terminal-local-map nil)) > (quail-hangul-switch-hanja)) > - (setq isearch-input-method-function input-method-function > - isearch-input-method-local-p t) > + (setq isearch-input-method-function input-method-function) > (setq input-method-function nil) > (isearch-update)) > ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#45005: 28.0.50; input method does not switch back 2020-12-08 10:10 ` Jean Louis @ 2020-12-08 19:18 ` Juri Linkov 0 siblings, 0 replies; 5+ messages in thread From: Juri Linkov @ 2020-12-08 19:18 UTC (permalink / raw) To: Jean Louis; +Cc: 45005 >> tags 45005 + patch > > That is great if it is solved not to happen again. > > I cannot see through. Are you sure you found the right culprit? If you used isearch before this problem started to occur then I'm quite sure this was the culprit. Meanwhile, until this patch is applied, you can neutralize the consequences of this problem by evaluating: (setq-default input-method-function nil) ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#45005: 28.0.50; input method does not switch back 2020-12-08 8:43 ` Juri Linkov 2020-12-08 10:10 ` Jean Louis @ 2020-12-09 19:31 ` Juri Linkov 1 sibling, 0 replies; 5+ messages in thread From: Juri Linkov @ 2020-12-09 19:31 UTC (permalink / raw) To: Jean Louis; +Cc: 45005 tags 45005 fixed close 45005 28.0.50 quit >> This is report for which I do not think that it is reproducible as I >> tried to invoke it with emacs -Q and I would need to perform some work >> from which I could not find out what invokes the bug. > > This problem can happen only when the default global value of > input-method-function is changed, so it still translates keys > while the input method is disabled. Now this bug is fixed, the patch pushed to master, and bug report closed. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-12-09 19:31 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-12-02 10:49 bug#45005: 28.0.50; input method does not switch back Jean Louis 2020-12-08 8:43 ` Juri Linkov 2020-12-08 10:10 ` Jean Louis 2020-12-08 19:18 ` Juri Linkov 2020-12-09 19:31 ` Juri Linkov
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).