From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: mode-line-inactive and toggle-input-method
Date: 16 Feb 2002 23:34:51 +0100 [thread overview]
Message-ID: <5xy9ht3vjo.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <1438-Sat16Feb2002104635+0200-eliz@is.elta.co.il>
"Eli Zaretskii" <eliz@is.elta.co.il> writes:
> It seems like under some circumstances, the selected window is still
> displayed with an inactive mode line. With today's CVS, try this:
>
> emacs -q --no-site-file
> C-x 4 f FTP RET
> M-% C-u C-\ latin-2-prefix RET 'i
>
> (The "C-u C-\" part is needed if you want to replace non-ASCII
> characters: it lets you select a non-default input method.) Watch
> closely: as soon as you type "C-u C-\", the mode line of the selected
> window becomes displayed in the mode-line-inactive face. Perhaps the
> code gets confused because fact that read-input-method binds
> enable-recursive-minibuffers to t?
You are right.
If you try looking at minibuffer-scroll-window, it contains the
previous minibuffer while entering latin-2-p....
What's even worse is that if you hit TAB at that point, the completion
window appears - with the mode line indicating it as the selected window.
So the idea to use minibuffer-scroll-window as the "selected window"
while the minibuffer window is selected has some drawbacks.
I guess I need to make a new internal variable similar to
"minibuffer-scroll-window" which does NOT change while the minibuffer
window is the selected window...
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2002-02-16 22:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-16 8:46 mode-line-inactive and toggle-input-method Eli Zaretskii
2002-02-16 22:34 ` Kim F. Storm [this message]
2002-02-17 9:08 ` Eli Zaretskii
2002-02-17 16:48 ` Richard Stallman
2002-02-26 23:15 ` Kim F. Storm
2002-02-27 0:13 ` Al Petrofsky
2002-02-27 9:59 ` Kim F. Storm
2002-02-27 10:24 ` Eli Zaretskii
2002-02-27 13:34 ` Kim F. Storm
2002-02-27 16:20 ` Eli Zaretskii
2002-02-27 17:13 ` Al Petrofsky
2002-02-27 10:24 ` Eli Zaretskii
2002-02-27 15:29 ` Andreas Schwab
2002-02-28 4:08 ` Richard Stallman
2002-02-27 19:45 ` Richard Stallman
2002-02-27 19:45 ` Richard Stallman
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=5xy9ht3vjo.fsf@kfs2.cua.dk \
--to=storm@cua.dk \
--cc=emacs-devel@gnu.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).