From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: dired.el Date: 06 Jun 2004 22:19:34 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200406061926.i56JQmL28247@raven.dms.auburn.edu> <200406061940.i56Jeva28268@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086553211 29339 80.91.224.253 (6 Jun 2004 20:20:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Jun 2004 20:20:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jun 06 22:20:04 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BX47g-0003iK-00 for ; Sun, 06 Jun 2004 22:20:04 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BX47g-0007jO-00 for ; Sun, 06 Jun 2004 22:20:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BX48B-0007wg-DT for emacs-devel@quimby.gnus.org; Sun, 06 Jun 2004 16:20:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BX483-0007v9-4Z for emacs-devel@gnu.org; Sun, 06 Jun 2004 16:20:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BX482-0007uS-Gm for emacs-devel@gnu.org; Sun, 06 Jun 2004 16:20:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BX482-0007uD-DM for emacs-devel@gnu.org; Sun, 06 Jun 2004 16:20:26 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BX47E-0006u6-JX for emacs-devel@gnu.org; Sun, 06 Jun 2004 16:19:36 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1BX47D-0002R6-Vj; Sun, 06 Jun 2004 16:19:36 -0400 Original-To: Luc Teirlinck In-Reply-To: <200406061940.i56Jeva28268@raven.dms.auburn.edu> Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24617 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24617 Luc Teirlinck writes: > >From my previous message: > > As an added bonus, it also corrects the modeline problem. (To be > honest, I do not fully understand why, but it does. The patch changes > the scope of the buffer-read-only binding. Does message update modelines?) > > At second thought, it seems obvious: > > ! (message "Change in Dired buffer undone. > ! Actual changes in files cannot be undone by Emacs.")) > > That message has two lines. The echo area needs to grow and hence the > mode line _needs_ to get redisplayed. redraw-modeline is an alias for `force-mode-line-update' in `subr'. (redraw-modeline &optional all) Force redisplay of the current buffer's mode line and header line. With optional non-nil all, force redisplay of all mode lines and header lines. This function also forces recomputation of the menu bar menus and the frame title. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum