From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eduard Wiebe Newsgroups: gmane.emacs.devel Subject: Re: find-file-literally-at-point Date: Fri, 06 Nov 2009 11:20:22 +0100 Message-ID: <86aaz0uf89.fsf@nirvana.pusto.de> References: <3b31caf90911051613w80af4cu61352a29ce5dcd77@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257502984 16460 80.91.229.12 (6 Nov 2009 10:23:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Nov 2009 10:23:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 06 11:22:57 2009 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 1N6Ly4-00037L-LJ for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2009 11:22:57 +0100 Original-Received: from localhost ([127.0.0.1]:40193 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6Ly3-0005Fv-Ty for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2009 05:22:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6Lw5-0004LL-Ih for emacs-devel@gnu.org; Fri, 06 Nov 2009 05:20:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6Lw0-0004K0-QO for emacs-devel@gnu.org; Fri, 06 Nov 2009 05:20:52 -0500 Original-Received: from [199.232.76.173] (port=39854 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6Lw0-0004Jv-C0 for emacs-devel@gnu.org; Fri, 06 Nov 2009 05:20:48 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:43439) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N6Lvz-0006rq-Rd for emacs-devel@gnu.org; Fri, 06 Nov 2009 05:20:48 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1N6Lvx-0002CP-4U for emacs-devel@gnu.org; Fri, 06 Nov 2009 11:20:45 +0100 Original-Received: from g227139241.adsl.alicedsl.de ([92.227.139.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Nov 2009 11:20:45 +0100 Original-Received: from usenet by g227139241.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Nov 2009 11:20:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: g227139241.adsl.alicedsl.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) Cancel-Lock: sha1:pNOMccMZqexL2WRyhKjNYWRZKKc= 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:116681 Archived-At: "Edward O'Connor" writes: > Hi, > > I recently found myself in need of such a function (I was going through > a bunch of files to strip out their UTF-8 BOMs, if you're curious), and > it was quick enough to put together: I need/use `find-fil-literaly' often from dired. For this purpose i have (define-key dired-mode-map (kbd "") (lambda () (interactive) (find-file-literally (dired-get-file-for-visit)))) in my .emacs. -- Eduard Wiebe