From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Arg preserve_echo_area is ignored in redisplay_internal () Date: Fri, 08 Jan 2010 22:19:12 +0900 Message-ID: References: <83y6k8agym.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262956777 3330 80.91.229.12 (8 Jan 2010 13:19:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2010 13:19:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 08 14:19:31 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 1NTEkU-0006mk-W3 for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2010 14:19:31 +0100 Original-Received: from localhost ([127.0.0.1]:44626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTEkV-0001g6-FP for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2010 08:19:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NTEkQ-0001g1-NR for emacs-devel@gnu.org; Fri, 08 Jan 2010 08:19:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NTEkP-0001fo-3g for emacs-devel@gnu.org; Fri, 08 Jan 2010 08:19:26 -0500 Original-Received: from [199.232.76.173] (port=51193 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTEkO-0001fe-Rc for emacs-devel@gnu.org; Fri, 08 Jan 2010 08:19:24 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:51558) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NTEkM-0005v0-8f; Fri, 08 Jan 2010 08:19:22 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id o08DJCig022169; Fri, 8 Jan 2010 22:19:16 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id o08DJCWp005209; Fri, 8 Jan 2010 22:19:12 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id o08DJCgZ024649; Fri, 8 Jan 2010 22:19:12 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1NTEkC-0006yi-K2; Fri, 08 Jan 2010 22:19:12 +0900 In-Reply-To: <83y6k8agym.fsf@gnu.org> (message from Eli Zaretskii on Fri, 08 Jan 2010 15:01:21 +0200) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 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:119685 Archived-At: In article <83y6k8agym.fsf@gnu.org>, Eli Zaretskii writes: > > 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. */ Ah, I see. "Actually, our caller does that job" means that the arg can be ignored currently. Thank you. --- Kenichi Handa handa@m17n.org