From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: desktop.el - only one desktop file per directory? Date: Fri, 22 Jan 2010 16:16:23 -0800 Message-ID: <2AF6C5F140884701AF25EE459EE3C87F@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264205835 12170 80.91.229.12 (23 Jan 2010 00:17:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Jan 2010 00:17:15 +0000 (UTC) To: "'Emacs-Devel devel'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 23 01:17:08 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 1NYTgX-0007EO-2m for ged-emacs-devel@m.gmane.org; Sat, 23 Jan 2010 01:17:05 +0100 Original-Received: from localhost ([127.0.0.1]:44574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYTgY-0007qX-2l for ged-emacs-devel@m.gmane.org; Fri, 22 Jan 2010 19:17:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NYTgS-0007qQ-Os for emacs-devel@gnu.org; Fri, 22 Jan 2010 19:17:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NYTgN-0007pi-3s for emacs-devel@gnu.org; Fri, 22 Jan 2010 19:16:59 -0500 Original-Received: from [199.232.76.173] (port=50478 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYTgM-0007pd-Uy for emacs-devel@gnu.org; Fri, 22 Jan 2010 19:16:54 -0500 Original-Received: from rcsinet12.oracle.com ([148.87.113.124]:61069) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NYTgL-000686-VZ for emacs-devel@gnu.org; Fri, 22 Jan 2010 19:16:54 -0500 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o0N0Godj005810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 23 Jan 2010 00:16:51 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o0N0GmTr005905 for ; Sat, 23 Jan 2010 00:16:49 GMT Original-Received: from abhmt001.oracle.com by acsmt358.oracle.com with ESMTP id 1397173491264205783; Fri, 22 Jan 2010 18:16:23 -0600 Original-Received: from dradamslap1 (/141.144.233.232) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 22 Jan 2010 16:16:23 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcqbwUvX058jlLWVS/GX2xG9W4qGRw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt356.oracle.com [141.146.40.156] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4B5A3FF2.0054:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:120299 Archived-At: For anyone familiar with Desktop or its code - (I tried contacting the author, but the email address for him in desktop.el is apparently no longer valid.) I haven't used desktop.el. I was thinking of using it from some Lisp code. Looking over the code, it seems that it only allows for a single desktop file per directory. Is that right? If so, is it an important restriction (to maintain)? With code I can of course create multiple desktop files in a dir. But `desktop-read' seems to expect only one. I guess I can plow through the `desktop-read' code and figure out which bits of it I really need (beyond just calling `load' for the file). But I thought I'd ask here first. Suggestions about which bits of the `desktop-read' code are essential? Is there a good reason that the basic functions don't just accept a (full) file name (and potentially allow for multiple files per dir)? Would the mere existence of more than one desktop file in some dir wreak havoc with the normal use of Desktop (provided it is not pointed to such a dir and thus left guessing)? Lock or owner problems, perhaps?