unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Van Ly <van.ly@sdf.org>
Cc: 73813@debbugs.gnu.org
Subject: bug#73813: 30.0.91; icomplete-mode keymap unusable in xterm for for/backward completions
Date: Wed, 16 Oct 2024 17:01:19 +0300	[thread overview]
Message-ID: <86v7xsp2og.fsf@gnu.org> (raw)
In-Reply-To: <dcsttdcjj39.fsf@sdf.org> (message from Van Ly on Wed, 16 Oct 2024 13:03:22 +0000)

> From: Van Ly <van.ly@sdf.org>
> Cc: 73813@debbugs.gnu.org
> Date: Wed, 16 Oct 2024 13:03:22 +0000
> 
> 
> There seems to be a problem for emacsclient in the xterm.
> 
> The "modifyOtherKeys: 1" xresource setting results in emacs receiving
> 
>  ";5;44~" for C-, and 
>  ";5;46~" for C-. when wanting to cycle the icomplete completions
> 
> To demonstrate,
> 
>  # start graphical UI emacs from shell prompt
> 
>  1. start, emacs --init-dir=/path/name
>  2. use, M-x server-start
>  3. use, M-x icomplete-mode
> 
>  # at a second xterm
> 
>  x. start from wrapper script, 
>     env TERM=vt100 emacsclient -f "/path/name/server/file" -ta "" "$@"
>  y. M-x man RET fe
>  z. use C-, and C-. shows,
>     Manual entry: fe;5;44~;5;46~ [No matches]
> 
> 
> The following are scripts for how emacs and emacsclient are launched.
> 
> I wasn't able to use the "emacs -Q" invocation with emacsclient to
> produce the observed unexpected behavior.
> 
> 
> 
> # emacs-30x.sh
> 
> 1 #!/bin/sh
> 2 P=/u/w/src/emacs/build-30-2/src/emacs
> 3 D="/u/w/sys/emacs/30x"
> 4 $P --init-dir="$D"
> 
> # emacsclient-plain-30x.sh
> 
> 1 #!/bin/sh
> 2 P=/u/w/src/emacs/build-30-2/lib-src/emacsclient
> 3 F=/u/w/sys/emacs/30x/server/server
> 4 env TERM=vt100 $P -f "$F" -ta "" "$@"

I don't get it: you tell Emacs that your terminal is vt100, but expect
it to behave as if the terminal were xterm?  Why should it?





  parent reply	other threads:[~2024-10-16 14:01 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-15  5:44 bug#73813: 30.0.91; icomplete-mode keymap unusable in xterm for for/backward completions Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-15 12:27 ` Eli Zaretskii
2024-10-15 14:07   ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-15 14:47     ` Eli Zaretskii
2024-10-15 16:46       ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-16 13:03       ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-16 13:58         ` Robert Pluim
2024-10-17  6:30           ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-17  7:15             ` Robert Pluim
2024-10-17  9:34               ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-17 10:05                 ` Robert Pluim
2024-10-17 12:27                   ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-17 12:46                   ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-17 13:17                     ` Robert Pluim
2024-10-17 15:53                       ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-18  7:59                         ` Robert Pluim
2024-10-18 11:48                           ` Robert Pluim
2024-10-18 12:48                             ` Eli Zaretskii
2024-10-18 13:50                           ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-18 11:54                         ` Robert Pluim
2024-10-18 12:46                           ` João Távora
2024-10-18 13:57                           ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-16 14:01         ` Eli Zaretskii [this message]
2024-10-17  6:21           ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86v7xsp2og.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=73813@debbugs.gnu.org \
    --cc=van.ly@sdf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).