From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Request: Use message instead of message_with_string for user visible output? Date: Sat, 26 Oct 2013 14:41:19 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1382812897 26394 80.91.229.3 (26 Oct 2013 18:41:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Oct 2013 18:41:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: "T.V. Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 26 20:41:41 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Va8nt-00032Q-1B for ged-emacs-devel@m.gmane.org; Sat, 26 Oct 2013 20:41:41 +0200 Original-Received: from localhost ([::1]:35665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va8ns-0001Vr-LZ for ged-emacs-devel@m.gmane.org; Sat, 26 Oct 2013 14:41:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va8ni-0001VV-15 for emacs-devel@gnu.org; Sat, 26 Oct 2013 14:41:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Va8na-0003rN-L1 for emacs-devel@gnu.org; Sat, 26 Oct 2013 14:41:29 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:63830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va8na-0003rJ-H6 for emacs-devel@gnu.org; Sat, 26 Oct 2013 14:41:22 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd/hu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOfXIUegV6DEw X-IPAS-Result: Av4EABK/CFFLd/hu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOfXIUegV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="36419696" Original-Received: from 75-119-248-110.dsl.teksavvy.com (HELO pastel.home) ([75.119.248.110]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 26 Oct 2013 14:41:20 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 9E75F60F12; Sat, 26 Oct 2013 14:41:19 -0400 (EDT) In-Reply-To: (T. V. Raman's message of "Sat, 26 Oct 2013 09:11:41 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164566 Archived-At: > 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