* bug#57201: 29.0.50; Input method doesn't work in Term char mode
@ 2022-08-14 8:33 Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-14 12:56 ` Phil Sainty
2022-08-14 21:36 ` Phil Sainty
0 siblings, 2 replies; 6+ messages in thread
From: Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-14 8:33 UTC (permalink / raw)
To: 57201
[-- Attachment #1: Type: text/plain, Size: 17680 bytes --]
In Term, input method doesn't work in char mode. However, it works fine
in line mode. I think it has something to do with read-only-ness.
To reproduce the bug:
1. Start Emacs with "emacs -Q".
2. Run Term with "M-x term RET"
3. Switch to line mode with "C-c C-j". The buffer is writable now.
4. Change input method with "C-\". (I have tested with
programmer-dvorak and bengali-probhat.)
5. Try to write something. Input method should work.
6. Switch to char mode with "C-c C-k". The buffer is read-only now.
7. Try to write something again. Input method no longer works.
------------------------------------------------------------------------
In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Guix System
Configured using:
'configure
CONFIG_SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash
SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash
--prefix=/gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b
--enable-fast-install --with-native-compilation --with-sqlite3
--with-xinput2 --with-xwidgets --with-modules --with-cairo
--disable-build-details'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3
ZLIB
Important settings:
value of $EMACSLOADPATH: /home/akib/.guix-profile/share/emacs/site-lisp:/gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp
value of $LANG: en_US.utf8
value of $XMODIFIERS: @im=exwm-xim
locale-coding-system: utf-8-unix
Major mode: Term
Minor modes in effect:
magit-auto-revert-mode: t
shell-dirtrack-mode: t
diff-hl-margin-mode: t
diff-hl-flydiff-mode: t
gcmh-mode: t
server-mode: t
gtags-mode: t
corfu-doc-mode: t
corfu-history-mode: t
global-corfu-mode: t
corfu-mode: t
isearch-mb-mode: t
global-auto-revert-mode: t
save-place-mode: t
electric-pair-mode: t
gc-buffers-mode: t
which-key-mode: t
marginalia-mode: t
vertico-mode: t
minibar-mode: t
workroom-mode: t
savehist-mode: t
recentf-mode: t
shackle-mode: t
blow-mode: t
leaf-key-override-global-mode: t
el-patch-use-package-mode: t
global-eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
buffer-read-only: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
/home/akib/.config/emacs/elpa/transient-20220806.2224/transient hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/transient
/home/akib/.config/emacs/elpa/jsonrpc-1.0.15.0.20220714.101331/jsonrpc hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/jsonrpc
/home/akib/.config/emacs/elpa/xref-1.5.0.0.20220723.181339/xref hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/progmodes/xref
/home/akib/.config/emacs/elpa/project-0.8.1.0.20220617.122301/project hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/progmodes/project
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-desktop-notifications hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-desktop-notifications
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-speedbar hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-speedbar
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-imenu hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-imenu
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-pcomplete hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-pcomplete
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-compat hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-compat
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-replace hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-replace
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-notify hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-notify
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-stamp hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-stamp
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-capab hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-capab
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-lang hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-lang
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-loaddefs hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-loaddefs
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-match hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-match
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-list hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-list
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-truncate hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-truncate
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-services hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-services
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-sound hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-sound
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-button hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-button
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-dcc hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-dcc
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-page hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-page
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-log hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-log
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-goodies hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-goodies
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-ezbounce hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-ezbounce
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-menu hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-menu
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-join hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-join
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-xdcc hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-xdcc
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-ibuffer hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-ibuffer
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-status-sidebar hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-status-sidebar
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-netsplit hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-netsplit
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-spelling hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-spelling
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-networks hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-networks
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-autoaway hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-autoaway
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-track hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-track
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-backend hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-backend
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-ring hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-ring
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-identd hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-identd
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20220727.51909/erc-fill hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-fill
/home/akib/.config/emacs/elpa/eldoc-1.13.0.0.20220802.95655/eldoc hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/emacs-lisp/eldoc
/home/akib/.config/emacs/elpa/seq-2.23.0.20210925.195432/seq hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/emacs-lisp/seq
Features:
(ind-util two-column quail magit-core magit-autorevert magit-margin
magit-transient magit-process with-editor magit-mode transient magit-git
term ehelp emms-volume emms-volume-sndioctl emms-volume-mixerctl
emms-volume-pulse emms-volume-amixer emms-last-played emms-playlist-mode
emms-source-playlist emms-source-file locate emms-player-mpv
emms-playing-time emms-info emms-later-do emms-player-simple emms
emms-compat magit-base magit-section crm compat-27 compat-26 shadow
emacsbug find-dired ffap grep smerge-mode flow-fill gnus-fun dired-aux
vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs diredfl cape hi-lock
misearch multi-isearch checkdoc consult-vertico consult compat-28
kind-icon svg-lib gnus-bcklg shell epa-file gnus-async mailalias
smtpmail qp highlight-defined package-lint-flymake package-lint
let-alist finder lisp-mnt paredit highlight-quoted aggressive-indent
highlight-numbers parent-mode highlight-indent-guides highlight-thing
flymake-popon posframe popon flymake-proc flymake compile org-element
avl-tree generator ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus
ol-docview doc-view image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi
org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro
org-footnote org-src ob-comint org-pcomplete pcomplete org-list
org-faces org-entities noutline outline org-version ob-emacs-lisp
ob-core ob-eval org-table oc-basic bibtex ol org-keys oc org-compat
advice org-macs org-loaddefs cal-menu calendar cal-loaddefs ecomplete
vc-git diff-hl-margin diff-hl-dired diff-hl-flydiff diff diff-hl
log-view pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode why-this bbdb
bbdb-site timezone eudc-capf eudc cus-start eudc-vars gnus-cite
mail-extr footnote flyspell ispell display-fill-column-indicator
ws-butler hl-todo compat sort gnus-ml nndraft nnmh mm-archive
gnus-search eieio-opt speedbar ezimage dframe nnrss nnselect nnmaildir
nnfolder nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp
gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud
nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range
message sendmail yank-media dired dired-loaddefs rfc822 mml mml-sec epa
derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader gnus-win lin hl-line display-line-numbers sh-script
smie executable rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc
rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns
nxml-mode nxml-outln nxml-rap sgml-mode facemenu nxml-util nxml-enc
xmltok sql view shr-color color elisp-demos info-colors
rainbow-delimiters helpful imenu edebug debug backtrace info-look
find-func f f-shortdoc shortdoc elisp-refs s dash parse-time iso8601
cc-awk cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs shr-tag-pre-highlight language-detection
jka-compr textsec uni-scripts idna-mapping ucs-normalize uni-confusable
textsec-check gnutls network-stream url-http mail-parse rfc2231 rfc2047
rfc2045 ietf-drums url-gw nsm url-cache url-auth format-spec face-remap
iwindow eww xdg url-queue thingatpt shr pixel-fill kinsoku url-file svg
dom puny mm-url gnus nnheader gnus-util mail-utils range mm-util
mail-prsvr dmenu comint ansi-color mode-line-bell battery dbus xml
mule-util orderless mb-depth pinentry time-date modus-vivendi-theme
modus-themes gcmh init comp comp-cstr warnings exwm-xim xcb-xim xcb-xlib
exwm-randr xcb-randr exwm exwm-input xcb-keysyms xcb-xkb exwm-manage
exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core
xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types xcb-debug server
auth-source-pass gtags-mode files-x xref project corfu-doc corfu-history
corfu isearch-mb autorevert filenotify saveplace elec-pair gc-buffers
which-key marginalia vertico minibar workroom bookmark
text-property-search disp-table savehist recentf tree-widget shackle
trace blow edmacro kmacro pcase cl-extra cus-edit pp cus-load icons
wid-edit leaf finder-inf vterm-autoloads guix-emacs cape-autoloads
corfu-autoloads crux-autoloads easy-mmode el-patch el-patch-stub
eldoc-autoloads async-autoloads consult-autoloads forge-autoloads
geiser-impl help-fns radix-tree help-mode geiser-custom geiser-base ring
ghub-autoloads rx geiser-autoloads magit-autoloads git-commit-autoloads
mastodon-autoloads modus-themes-autoloads notmuch-autoloads
nov-autoloads org-roam-ui-autoloads org-roam-autoloads
magit-section-autoloads sx-autoloads transient-autoloads
vertico-autoloads which-key-autoloads with-editor-autoloads info
compat-autoloads package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp
byte-compile cconv url-vars cl-loaddefs cl-lib rmc iso-transl tooltip
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
faces cus-face macroexp files window text-properties overlay sha1 md5
base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads xwidget-internal dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process native-compile emacs)
Memory information:
((conses 16 1595061 1542781)
(symbols 48 78516 38)
(strings 32 426498 348967)
(string-bytes 1 18135029)
(vectors 16 371565)
(vector-slots 8 4433776 1739465)
(floats 8 91674 4306)
(intervals 56 54985 20784)
(buffers 992 61))
--
Akib Azmain Turja
Find me on Mastodon at @akib@hostux.social.
This message is signed by me with my GnuPG key. Its fingerprint is:
7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#57201: 29.0.50; Input method doesn't work in Term char mode
2022-08-14 8:33 bug#57201: 29.0.50; Input method doesn't work in Term char mode Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-14 12:56 ` Phil Sainty
2022-08-14 15:01 ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-14 21:36 ` Phil Sainty
1 sibling, 1 reply; 6+ messages in thread
From: Phil Sainty @ 2022-08-14 12:56 UTC (permalink / raw)
To: Akib Azmain Turja; +Cc: 57201
On 2022-08-14 20:33, Akib Azmain Turja wrote:
> In Term, input method doesn't work in char mode.
I don't think it's expected to work?
The purpose of char mode is to immediately send each keystroke
to the inferior process, and then let the process provide updates
to the buffer.
Input methods rely on keystrokes being intercepted and combined,
so I suspect the two things are incompatible.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#57201: 29.0.50; Input method doesn't work in Term char mode
2022-08-14 12:56 ` Phil Sainty
@ 2022-08-14 15:01 ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 0 replies; 6+ messages in thread
From: Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-14 15:01 UTC (permalink / raw)
To: Phil Sainty; +Cc: 57201
[-- Attachment #1: Type: text/plain, Size: 846 bytes --]
Phil Sainty <psainty@orcon.net.nz> writes:
> On 2022-08-14 20:33, Akib Azmain Turja wrote:
>> In Term, input method doesn't work in char mode.
>
> I don't think it's expected to work?
>
> The purpose of char mode is to immediately send each keystroke
> to the inferior process, and then let the process provide updates
> to the buffer.
>
> Input methods rely on keystrokes being intercepted and combined,
> so I suspect the two things are incompatible.
>
>
I don't think so. How can you input characters not on the keyboard in
Term char mode then? And if it's really expected, please add an user
option to configure it.
--
Akib Azmain Turja
Find me on Mastodon at @akib@hostux.social.
This message is signed by me with my GnuPG key. Its fingerprint is:
7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#57201: 29.0.50; Input method doesn't work in Term char mode
2022-08-14 8:33 bug#57201: 29.0.50; Input method doesn't work in Term char mode Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-14 12:56 ` Phil Sainty
@ 2022-08-14 21:36 ` Phil Sainty
2022-08-15 5:13 ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-15 7:08 ` Lars Ingebrigtsen
1 sibling, 2 replies; 6+ messages in thread
From: Phil Sainty @ 2022-08-14 21:36 UTC (permalink / raw)
To: Akib Azmain Turja; +Cc: 57201
Akib Azmain Turja wrote:
> I don't think so. How can you input characters not on the keyboard
> in Term char mode then?
It's emulating a terminal. In char mode you can't input *keys* that
are not on the keyboard of the terminal being emulated. That's the
point of the emulation -- it's behaving as if you were using a real
terminal rather than Emacs.
We can switch to line mode when we want to use Emacs features that are
not supported by the terminal.
> And if it's really expected, please add an user option to configure
> it.
A user option to configure... what?
Do you mean an option which would *allow* using input methods in char
mode? As above, I don't believe that makes any sense as a concept,
so I don't see how that could work.
(Perhaps someone else will correct me, though.)
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#57201: 29.0.50; Input method doesn't work in Term char mode
2022-08-14 21:36 ` Phil Sainty
@ 2022-08-15 5:13 ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-15 7:08 ` Lars Ingebrigtsen
1 sibling, 0 replies; 6+ messages in thread
From: Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-15 5:13 UTC (permalink / raw)
To: Phil Sainty; +Cc: 57201
[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]
Phil Sainty <psainty@orcon.net.nz> writes:
> Akib Azmain Turja wrote:
>> I don't think so. How can you input characters not on the keyboard
>> in Term char mode then?
>
> It's emulating a terminal. In char mode you can't input *keys* that
> are not on the keyboard of the terminal being emulated. That's the
> point of the emulation -- it's behaving as if you were using a real
> terminal rather than Emacs.
>
> We can switch to line mode when we want to use Emacs features that are
> not supported by the terminal.
>
>
>> And if it's really expected, please add an user option to configure
>> it.
>
> A user option to configure... what?
>
> Do you mean an option which would *allow* using input methods in char
> mode? As above, I don't believe that makes any sense as a concept,
> so I don't see how that could work.
>
> (Perhaps someone else will correct me, though.)
>
Why it doesn't make sense? IMHO the point of char mode is to bypass key
bindings like C-x, C-c, etc. And if one wants to not use any input
method, they can disable it with "C-\".
--
Akib Azmain Turja
Find me on Mastodon at @akib@hostux.social.
This message is signed by me with my GnuPG key. Its fingerprint is:
7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#57201: 29.0.50; Input method doesn't work in Term char mode
2022-08-14 21:36 ` Phil Sainty
2022-08-15 5:13 ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-15 7:08 ` Lars Ingebrigtsen
1 sibling, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-15 7:08 UTC (permalink / raw)
To: Phil Sainty; +Cc: 57201, Akib Azmain Turja
Phil Sainty <psainty@orcon.net.nz> writes:
> Do you mean an option which would *allow* using input methods in char
> mode? As above, I don't believe that makes any sense as a concept,
> so I don't see how that could work.
I think it could make some sort of sense -- in a normal terminal
(outside Emacs, like xterm), you usually have access to the OS input
methods, even though the terminal is in "char mode".
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-08-15 7:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-14 8:33 bug#57201: 29.0.50; Input method doesn't work in Term char mode Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-14 12:56 ` Phil Sainty
2022-08-14 15:01 ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-14 21:36 ` Phil Sainty
2022-08-15 5:13 ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-15 7:08 ` Lars Ingebrigtsen
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).