From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: Re: desktop-missing-file-warning doc Date: Sun, 14 May 2006 08:40:53 +0200 Message-ID: <4466D0F5.6020503@soem.dk> References: <200605132236.k4DManEm007081@jane.dms.auburn.edu> <200605140037.k4E0bQwQ007255@jane.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1147588886 30483 80.91.229.2 (14 May 2006 06:41:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 May 2006 06:41:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 14 08:41:24 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FfAI4-0005l0-1M for ged-emacs-devel@m.gmane.org; Sun, 14 May 2006 08:41:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfAI3-0008FH-Hg for ged-emacs-devel@m.gmane.org; Sun, 14 May 2006 02:41:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FfAHj-0008E5-Hk for emacs-devel@gnu.org; Sun, 14 May 2006 02:40:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FfAHh-0008DS-Nt for emacs-devel@gnu.org; Sun, 14 May 2006 02:40:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfAHh-0008DO-J5 for emacs-devel@gnu.org; Sun, 14 May 2006 02:40:57 -0400 Original-Received: from [212.99.225.245] (helo=odin.broadcom.dk) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FfAJp-0001Rx-Jy for emacs-devel@gnu.org; Sun, 14 May 2006 02:43:09 -0400 Original-Received: from pppoe3-ves.broadcom.dk ([212.99.255.42] helo=[10.17.0.131]) by odin.broadcom.dk with esmtp (Exim 4.24; FreeBSD) id 1FfAGi-000LaI-OE; Sun, 14 May 2006 08:39:56 +0200 User-Agent: Debian Thunderbird 1.0.2 (X11/20060423) X-Accept-Language: en-us, en Original-To: Luc Teirlinck In-Reply-To: <200605140037.k4E0bQwQ007255@jane.dms.auburn.edu> 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:54433 Archived-At: Luc Teirlinck wrote: >===File ~/desktop.el-diff=================================== >*** desktop.el 13 May 2006 11:24:56 -0500 1.100 >--- desktop.el 13 May 2006 16:56:13 -0500 >*************** >*** 201,207 **** > :version "22.1") > > (defcustom desktop-missing-file-warning nil >! "*If non-nil then `desktop-read' asks if a non-existent file should be recreated. > Also pause for a moment to display message about errors signaled in > `desktop-buffer-mode-handlers'. > >--- 201,207 ---- > :version "22.1") > > (defcustom desktop-missing-file-warning nil >! "If non-nil,`desktop-read' offers to recreate a deleted file. > Also pause for a moment to display message about errors signaled in > `desktop-buffer-mode-handlers'. > >============================================================ > > This is definitely an improvement. However, the file is not recreated, only its buffer. So maybe it should be If non-nil,`desktop-read' offers to recreate the buffer of a deleted file. But that text is to wide. Maybe If non-nil, offer to recreate the buffer of a deleted file. then? Also, the prompt (y-or-n-p (concat msg " Re-create? ")) in desktop-restore-file-buffer should be changed to (y-or-n-p (concat msg " Re-create buffer? "))