all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: Potential problem of minibuffer-message
Date: Fri, 11 Apr 2003 11:22:01 +0900 (JST)	[thread overview]
Message-ID: <200304110222.LAA18413@etlken.m17n.org> (raw)
In-Reply-To: <200304101344.h3ADiMe3003713@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu)

In article <200304101344.h3ADiMe3003713@rum.cs.yale.edu>, "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu> writes:
> As part of my still-in-progress rewrite of completion in elisp,
> I use the following (partly taken from complete.el where it is
> called PC-temp-minibuffer-message or somesuch).

Ah! Your version is surely superior.  But...

> Note how it already works in both case: from the minibuffer or
> from some other buffer.

This facility is surplus in my case (i.e. in quail) because
quail should show different guidance messages in a normal
case and in a minibuffer case anyway.

Richard Stallman <rms@gnu.org> writes:
> These changes seem good to me.

I've just installed this bug fix only.

2003-04-11  Kenichi Handa  <handa@m17n.org>

	* lisp.h (temp_echo_area_glyphs): Adjust prototype.

	* minibuf.c (temp_echo_area_glyphs): Change the arg to Lisp
	string.  Caller changed.

I'll leave it Stefan and Richard as to these matters.

o Should minibuffer-message has the same argument as message?

o Should it pay attention to the case of being called from
  non-minibuffer?  Should it automatically re-format the
  message to " [...]"?

o Should it use minibuffer-message-timeout as timeout?

For the moment, for quail, I'll use my own version
quail-minibuffer-message which is the simplified version of
Stefan's one.

By the way, I'd like to raise these points too.

o Isn't it better to take care of modified and read-only
  flags of the minibuffer?

o If a rear-advancing overlay is in the minibufer and it
  has face (or any hooks) property, simply inserting a
  message yields an unpleasant result.  It seems that we
  should have a new function insert-after-markers (analogous
  to insert-before-markers).

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

  reply	other threads:[~2003-04-11  2:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-10  1:44 Potential problem of minibuffer-message Kenichi Handa
2003-04-10 13:44 ` Stefan Monnier
2003-04-11  2:22   ` Kenichi Handa [this message]
2003-04-11  2:38     ` Miles Bader
2003-04-11  4:31       ` Kenichi Handa
2003-04-11  4:37         ` Miles Bader
2003-04-11  4:53           ` overlay property `after-string' Kenichi Handa
2003-04-11  5:02             ` Miles Bader
2003-04-11  6:30               ` Kenichi Handa
2003-04-13 11:23     ` Potential problem of minibuffer-message Richard Stallman
2003-04-10 22:47 ` 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

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

  git send-email \
    --in-reply-to=200304110222.LAA18413@etlken.m17n.org \
    --to=handa@m17n.org \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.