From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: in dired hit v on a .zip archive Date: Tue, 13 Apr 2004 17:02:29 -0600 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <407C7185.6010905@yahoo.com> References: <16503.7503.197216.954177@ihs.com> <87ekqt55wk.fsf@jidanni.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 1081897435 22046 80.91.224.253 (13 Apr 2004 23:03:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Apr 2004 23:03:55 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 14 01:03:45 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BDWwS-00060c-00 for ; Wed, 14 Apr 2004 01:03:44 +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 1BDWvv-0004oq-Ib for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Apr 2004 19:03:11 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BDWvn-0004mk-9F for bug-gnu-emacs@gnu.org; Tue, 13 Apr 2004 19:03:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BDWvG-0004Tq-K6 for bug-gnu-emacs@gnu.org; Tue, 13 Apr 2004 19:03:01 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BDWvG-0004Tl-8J for bug-gnu-emacs@gnu.org; Tue, 13 Apr 2004 19:02:30 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BDWvD-0001lh-00 for ; Wed, 14 Apr 2004 01:02:29 +0200 Original-Received: from 170.207.51.80 ([170.207.51.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Apr 2004 01:02:27 +0200 Original-Received: from ihs_4664 by 170.207.51.80 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Apr 2004 01:02:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 170.207.51.80 User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:7595 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:7595 Dan Jacobson wrote: > Well, what is it going to be for all of these, yoo hoo, oh father of > free software? Strict RET and v divided, like Kevin wants, or v=RET > muddled, like I seem to maybe still want? Here's what RMS wrote to me regarding my patch: | This change would not achieve its aim. view-file on a Dired buffer | does nothing except switch-to-buffer, because Dired mode is a special | mode: | | (interactive "fView file: ") | (unless (file-exists-p file) (error "%s does not exist" file)) | (let ((had-a-buf (get-file-buffer file)) | (buffer (find-file-noselect file))) | (if (eq (with-current-buffer buffer | (get major-mode 'mode-class)) | 'special) | (progn | (switch-to-buffer buffer) | (message "Not using View mode because the major mode is special")) | | This recognizes that using view-mode on a directory listing is not | very useful. The code should do what it does now. -- Kevin Rodgers