From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: how having the basename of a file or directory Date: Wed, 02 Feb 2011 21:27:51 +0900 Message-ID: <87lj1y39ko.fsf@uwakimon.sk.tsukuba.ac.jp> References: <8739o9ilfs.fsf@gmail.com> <877hdl4grd.fsf@uwakimon.sk.tsukuba.ac.jp> <87y661h2ju.fsf@gmail.com> <8739o83r6u.fsf@uwakimon.sk.tsukuba.ac.jp> <87tygnwyt8.fsf@red-bean.com> <87sjw73elr.fsf@uwakimon.sk.tsukuba.ac.jp> <874o8nvgrl.fsf@red-bean.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1296674638 6439 80.91.229.12 (2 Feb 2011 19:23:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Feb 2011 19:23:58 +0000 (UTC) Cc: Thierry Volpiatto , emacs-devel@gnu.org To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 02 20:23:54 2011 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.69) (envelope-from ) id 1PkiIz-0002wP-DD for ged-emacs-devel@m.gmane.org; Wed, 02 Feb 2011 20:23:53 +0100 Original-Received: from localhost ([127.0.0.1]:43943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkeMk-0001Mo-8r for ged-emacs-devel@m.gmane.org; Wed, 02 Feb 2011 10:11:30 -0500 Original-Received: from [140.186.70.92] (port=35108 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pkdgu-0001z3-75 for emacs-devel@gnu.org; Wed, 02 Feb 2011 09:28:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pkbx9-0003Ic-Vd for emacs-devel@gnu.org; Wed, 02 Feb 2011 07:36:56 -0500 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:37412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pkbx9-0002zf-Ix for emacs-devel@gnu.org; Wed, 02 Feb 2011 07:36:55 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id 71AC4970679; Wed, 2 Feb 2011 21:36:25 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 945541A300C; Wed, 2 Feb 2011 21:27:51 +0900 (JST) In-Reply-To: <874o8nvgrl.fsf@red-bean.com> X-Mailer: VM undefined under 21.5 (beta29) "garbanzo" ed3b274cc037 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.158.97.224 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:135480 Archived-At: Karl Fogel writes: > FWIW, for me the compelling argument for a `basename' function is that > then M-x apropos will find it (and programmers often need it). Both points are true, but I find it a little less than compelling. I use "filename" with apropos in this context. The argument you make is similar to the arguments often made for changing or aliasing "kill" to "cut" and "yank" to "paste", and I find them not quite compelling, too. Emacs is different from other applications; "kill" and "yank" are quite a bit more general (and useful) in Emacs than "cut" (to clipboard) and "paste" (to clipboard) IMO. (I guess with modern clipboards that can handle multiple cuttings you can do the same kinds of things that you can do with Emacs's kill-ring, but I don't know anybody who actually does, a strong contrast to Emacs practice.) YMMV, IMHO of course.