all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "T.V. Raman" <tv.raman.tv@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Request: Use message instead of message_with_string for user visible output?
Date: Sun, 27 Oct 2013 15:03:16 -0700	[thread overview]
Message-ID: <CADkJX2hJ4XisDPExcUTXBdUZA_xid8sgLabaafsL6xrKqJff4Q@mail.gmail.com> (raw)
In-Reply-To: <jwv7gczswq2.fsf-monnier+emacs@gnu.org>

Thanks Stefan,

Could you please update keyboard.c to call message instead of
message_with_string when the user presses a key that is
undefined?

I understand that opinions re advice is  mixed with some
considering it a kluge, but  kluge or not, it's stood Emacspeak
in good stead and helped create a solution that has made me and
others very productive over the last 18 years:-)

-- 
Best Regards,
--raman


On 10/26/13, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> Except in cases where efficiency is the reason for the choice,
>> could we switch to using message -- instead of
>> message_with_string to produce output in the echo area that is
>>  to be seen by the user?
>
> I doubt there is a place where we call message_with_string for
> efficiency reasons: the added cost of going through Ffuncall of Qmessage
> is negligible compared to the cost of doing the actual display of
> the message.
>
> But there might be cases where we need it for correctness reasons,
> because the context is such that we can't run arbitrary Elisp code.
>
>
>         Stefan
>



  reply	other threads:[~2013-10-27 22:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-26 16:11 Request: Use message instead of message_with_string for user visible output? T.V. Raman
2013-10-26 16:21 ` Eli Zaretskii
2013-10-26 16:33   ` T.V. Raman
2013-10-26 19:47     ` Dmitri Paduchikh
2013-10-27 22:07       ` T.V. Raman
2013-10-28  2:06         ` Richard Stallman
2013-10-28  8:04         ` Jarek Czekalski
2013-10-28 18:53           ` Johan Bockgård
2013-10-29  1:27             ` T.V. Raman
2013-10-29  1:26           ` T.V. Raman
2013-10-26 17:16 ` Drew Adams
2013-10-26 18:41 ` Stefan Monnier
2013-10-27 22:03   ` T.V. Raman [this message]
2013-10-29 20:54     ` Stefan Monnier
2013-10-30  9:17       ` T.V. Raman

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=CADkJX2hJ4XisDPExcUTXBdUZA_xid8sgLabaafsL6xrKqJff4Q@mail.gmail.com \
    --to=tv.raman.tv@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.