unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Inactive Minibuffer Requires Redisplay for Input Methods
@ 2003-01-06 17:27 Andrew Choi
  2003-01-08  5:16 ` Kenichi Handa
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Choi @ 2003-01-06 17:27 UTC (permalink / raw)


Certain Quail input methods display a list of word choices in an
/inactive/ minibuffer for the user to select by typing 0 to 9.  The
change below in xdisp.c (redisplay_window) prevents this minibuffer from
being displayed.

To see a manifestation of the problem, switch to the input method
chinese-ctlaub, for example, and type `ngoh'.  Before the change, a list
of choices labeled by their respective numbers are displayed in the
minibuffer.  After the change they don't appear.

-----
2002-12-22  Richard M. Stallman  <rms@gnu.org>

	* xdisp.c (try_cursor_movement): Don't call try_window here.
	(redisplay_window): Never redisplay minibuffer when inactive.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Inactive Minibuffer Requires Redisplay for Input Methods
  2003-01-06 17:27 Inactive Minibuffer Requires Redisplay for Input Methods Andrew Choi
@ 2003-01-08  5:16 ` Kenichi Handa
  2003-01-08  6:58   ` Miles Bader
  2003-01-08 10:13   ` Kim F. Storm
  0 siblings, 2 replies; 4+ messages in thread
From: Kenichi Handa @ 2003-01-08  5:16 UTC (permalink / raw)
  Cc: emacs-devel

In article <m2k7hijihz.fsf@owlbear.local>, Andrew Choi <akochoi@shaw.ca> writes:

> Certain Quail input methods display a list of word choices in an
> /inactive/ minibuffer for the user to select by typing 0 to 9.  The
> change below in xdisp.c (redisplay_window) prevents this minibuffer from
> being displayed.

> To see a manifestation of the problem, switch to the input method
> chinese-ctlaub, for example, and type `ngoh'.  Before the change, a list
> of choices labeled by their respective numbers are displayed in the
> minibuffer.  After the change they don't appear.

> -----
> 2002-12-22  Richard M. Stallman  <rms@gnu.org>

> 	* xdisp.c (try_cursor_movement): Don't call try_window here.
> 	(redisplay_window): Never redisplay minibuffer when inactive.

The reason why Quail does that is that the text must be shown
with some face.  Previously, we couldn't use `message' for
that.   But, now we can do something like this:
  (message (propertize "hello" 'face 'highlight))
So, if requested, I can make quail to use `message' instead
of minibuffer.  Actually, that change will make the code
simpler.  The only drawback I can think of now is that it
consumes *Messages* buffer too much.

---
Ken'ichi HANDA
handa@m17n.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Inactive Minibuffer Requires Redisplay for Input Methods
  2003-01-08  5:16 ` Kenichi Handa
@ 2003-01-08  6:58   ` Miles Bader
  2003-01-08 10:13   ` Kim F. Storm
  1 sibling, 0 replies; 4+ messages in thread
From: Miles Bader @ 2003-01-08  6:58 UTC (permalink / raw)
  Cc: emacs-devel

Kenichi Handa <handa@m17n.org> writes:
> So, if requested, I can make quail to use `message' instead
> of minibuffer.  Actually, that change will make the code
> simpler.  The only drawback I can think of now is that it
> consumes *Messages* buffer too much.

It could bind `message-log-max' to nil during operation.

-Miles
-- 
Come now, if we were really planning to harm you, would we be waiting here, 
 beside the path, in the very darkest part of the forest?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Inactive Minibuffer Requires Redisplay for Input Methods
  2003-01-08  5:16 ` Kenichi Handa
  2003-01-08  6:58   ` Miles Bader
@ 2003-01-08 10:13   ` Kim F. Storm
  1 sibling, 0 replies; 4+ messages in thread
From: Kim F. Storm @ 2003-01-08 10:13 UTC (permalink / raw)
  Cc: emacs-devel

Kenichi Handa <handa@m17n.org> writes:

> The reason why Quail does that is that the text must be shown
> with some face.  Previously, we couldn't use `message' for
> that.   But, now we can do something like this:
>   (message (propertize "hello" 'face 'highlight))
> So, if requested, I can make quail to use `message' instead
> of minibuffer.  Actually, that change will make the code
> simpler.  The only drawback I can think of now is that it
> consumes *Messages* buffer too much.

You can let-bind message-log-max to nil around the message call
to avoid this.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-08 10:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-06 17:27 Inactive Minibuffer Requires Redisplay for Input Methods Andrew Choi
2003-01-08  5:16 ` Kenichi Handa
2003-01-08  6:58   ` Miles Bader
2003-01-08 10:13   ` Kim F. Storm

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).