From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Arg preserve_echo_area is ignored in redisplay_internal () Date: Fri, 08 Jan 2010 15:01:21 +0200 Message-ID: <83y6k8agym.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1262955821 32481 80.91.229.12 (8 Jan 2010 13:03:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2010 13:03:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 08 14:03:33 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NTEV2-0000yE-TO for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2010 14:03:33 +0100 Original-Received: from localhost ([127.0.0.1]:58790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTEV3-0002ej-IE for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2010 08:03:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NTEUx-0002dl-6E for emacs-devel@gnu.org; Fri, 08 Jan 2010 08:03:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NTEUs-0002aq-J3 for emacs-devel@gnu.org; Fri, 08 Jan 2010 08:03:26 -0500 Original-Received: from [199.232.76.173] (port=56155 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTEUs-0002al-ER for emacs-devel@gnu.org; Fri, 08 Jan 2010 08:03:22 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:40730) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NTEUr-0007aE-S2 for emacs-devel@gnu.org; Fri, 08 Jan 2010 08:03:22 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0KVX00F00ITG6000@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Fri, 08 Jan 2010 15:03:17 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.222.44]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KVX00CDBIXGG0P0@a-mtaout20.012.net.il>; Fri, 08 Jan 2010 15:03:17 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119682 Archived-At: > From: Kenichi Handa > Date: Fri, 08 Jan 2010 21:34:22 +0900 > > In xdisp.c, redisplay_internal has the arg > preserve_echo_area but it is not used in that function. > Does it mean that the arg is obsolete now, or that there's > some bug in the function? Neither. It's a provision for future development, as the commentary says: /* If PRESERVE_ECHO_AREA is nonzero, it means this redisplay is not in response to any user action; therefore, we should preserve the echo area. (Actually, our caller does that job.) Perhaps in the future avoid recentering windows if it is not necessary; currently that causes some problems. */