From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: Re: Moving handlers out of desktop.el Date: Sat, 10 Apr 2004 23:31:31 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <407867B3.4060900@math.ku.dk> References: <407298C7.4040009@math.ku.dk> <87vfkaajor.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1081632847 1430 80.91.224.253 (10 Apr 2004 21:34:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2004 21:34:07 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Apr 10 23:33:55 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 1BCQ6t-0003Ka-00 for ; Sat, 10 Apr 2004 23:33:55 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BCQ6t-0003Yk-00 for ; Sat, 10 Apr 2004 23:33:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BCQ5j-0002Nc-3y for emacs-devel@quimby.gnus.org; Sat, 10 Apr 2004 17:32:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BCQ5A-0002JX-2C for emacs-devel@gnu.org; Sat, 10 Apr 2004 17:32:08 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BCQ4d-0001rW-Kn for emacs-devel@gnu.org; Sat, 10 Apr 2004 17:32:06 -0400 Original-Received: from [213.170.224.162] (helo=smtp.kabelnettet.dk) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BCQ4d-0001pH-3t for emacs-devel@gnu.org; Sat, 10 Apr 2004 17:31:35 -0400 Original-Received: from math.ku.dk (0x52b410da.dhcp.kabelnettet.dk [82.180.16.218]) by smtp.kabelnettet.dk (Postfix) with ESMTP id 7E85D609847; Sat, 10 Apr 2004 23:31:30 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021213 Debian/1.2.1-2.bunk X-Accept-Language: en Original-To: Juri Linkov In-Reply-To: <87vfkaajor.fsf@mail.jurta.org> 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:21455 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21455 Juri Linkov wrote: >if `Info-mode' was able to set a literally visited Info file to Info mode, >then no handler would be needed in desktop.el, because just calling >`Info-mode' from `desktop-buffer-file' on a restored Info file would do >exactly what `desktop-buffer-info' currently does. > >If all other special modes would do the same then no new variable like >`desktop-buffer-mode-handlers' will be needed. > > This is true for buffers visiting a file only. It would not work for dired buffers.