From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mathias Dahl" Newsgroups: gmane.emacs.devel Subject: Re: Dired patch for `i' - bounce between subdir line and its inserted listing Date: Mon, 31 Mar 2008 09:58:56 +0200 Message-ID: <7dbe73ed0803310058t2b4488ccj5efc0189194e7690@mail.gmail.com> References: <002601c88172$2a0dc720$0600a8c0@us.oracle.com> <7dbe73ed0803291813t6d266884w7b0343e995f2c2fb@mail.gmail.com> <87ej9sukpy.fsf@jurta.org> <7dbe73ed0803301503o619ce687l6995e09bbc152fee@mail.gmail.com> <003701c892b8$a99aa060$0200a8c0@us.oracle.com> <87zlsfkbj6.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206950378 13870 80.91.229.12 (31 Mar 2008 07:59:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 07:59:38 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org To: "Juri Linkov" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 31 10:00:09 2008 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 1JgEw3-0000Le-Li for ged-emacs-devel@m.gmane.org; Mon, 31 Mar 2008 10:00:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgEvR-0000KW-U7 for ged-emacs-devel@m.gmane.org; Mon, 31 Mar 2008 03:59:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JgEux-0008P9-S2 for emacs-devel@gnu.org; Mon, 31 Mar 2008 03:58:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JgEuw-0008NW-9j for emacs-devel@gnu.org; Mon, 31 Mar 2008 03:58:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgEuw-0008NN-3w for emacs-devel@gnu.org; Mon, 31 Mar 2008 03:58:58 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JgEuv-0005WS-Mj for emacs-devel@gnu.org; Mon, 31 Mar 2008 03:58:57 -0400 Original-Received: by wa-out-1112.google.com with SMTP id k34so1891024wah.10 for ; Mon, 31 Mar 2008 00:58:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=NbSdO7e1FAvZJLwJE8XWhkwanvpTP5BN2mAcCO4+GIA=; b=dNyZgCoepBwzJCcnr+0Y0lRexVpZ9K98/mI0egGFu0V+o3pBk86d6Sjq6F0we9o9gN7ta5zf1DaXWl2PyCoOjjOWDibarTiGTe3y9vMBOzWZdtTLXrQYaFobssDi2xVoLsxwuVJ2D+QVDPntgM5FY/nQ7Or9Ue43beOAYzFq95Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KJkqI75c5NcmUTkaV/haQJscsQarZJ7Ruo3XVPr1r3ZO3nHB1tuGv8PfHCkRlJ1yv/xNPbtASb5aD+MVcK4oJP1NiKgDvq0Zr06RskLBNUWZwM4zNTak6hfq03g/o8XxJmsCwNg+sU077mzCdLhABXwa5dRFZ9Y4Pvs7FOw0CF4= Original-Received: by 10.114.255.1 with SMTP id c1mr9421785wai.93.1206950336243; Mon, 31 Mar 2008 00:58:56 -0700 (PDT) Original-Received: by 10.114.146.9 with HTTP; Mon, 31 Mar 2008 00:58:56 -0700 (PDT) In-Reply-To: <87zlsfkbj6.fsf@jurta.org> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:94026 Archived-At: > I think `i' on a file line should be reserved for something more useful. > `i' means "insert", so it makes sense to insert a file into the dired > buffer, as some file managers already do. Can you explain how that would work, inserting a file into the dired buffer? Would it be like a copy, i.e. you execute `i', get a prompt for a file, and then that file is copied there? However, using the same key for different things in the same buffer, depending on context, might not be a good idea. Depending on if you use font lock, what colors etc, a user might not necessarily notice he is not on a dir and might be surprised if it works very differently. The current error message at least makes him aware of the fact that he is not on a dir line.