From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: find-alternate-file default filename annoyance Date: Mon, 22 Jan 2007 03:50:36 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1169437868 22096 80.91.229.12 (22 Jan 2007 03:51:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Jan 2007 03:51:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 22 04:51:05 2007 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 1H8qD2-0002jc-W6 for ged-emacs-devel@m.gmane.org; Mon, 22 Jan 2007 04:51:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H8qD2-0003At-7X for ged-emacs-devel@m.gmane.org; Sun, 21 Jan 2007 22:51:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H8qCm-0003AX-8w for emacs-devel@gnu.org; Sun, 21 Jan 2007 22:50:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H8qCi-00036f-Ta for emacs-devel@gnu.org; Sun, 21 Jan 2007 22:50:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H8qCi-00036L-Nr for emacs-devel@gnu.org; Sun, 21 Jan 2007 22:50:44 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H8qCi-0005ZF-9M for emacs-devel@gnu.org; Sun, 21 Jan 2007 22:50:44 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H8qCe-0000sf-Cd for emacs-devel@gnu.org; Mon, 22 Jan 2007 04:50:40 +0100 Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Jan 2007 04:50:40 +0100 Original-Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Jan 2007 04:50:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 39 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: sl392.st-edmunds.cam.ac.uk Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= User-Agent: No Gnus v0.6, Emacs/22.0.92.8 (2007-01-20), Fedora 6 gnu/linux Cancel-Lock: sha1:m50OiMClAbTxldgUp2TM4O4ijqM= 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:65369 Archived-At: --=-=-= On 2007-01-21, Richard Stallman said: > You can see 'find-alternate-file' will put `buffer-file-name' as > its filename by default. > > This is what it has always done. Indeed the default behavior is not too bad since it places the cursor at the beginning of the filename and can be easily removed if user wants to choose another one. *HOWEVER*, there must be a bug in either ffap or ido which cause Emacs to place the cursor at the end of the filename. I have narrowed it down to the following recipe: 1. emacs -q -l faf 2. Open an existing file 3. C-x C-v --=-=-= Content-Disposition: attachment; filename=faf Content-Description: faf ;;-*-mode: emacs-lisp;coding: utf-8;-*- (setq ffap-require-prefix t) (ffap-bindings) ;;; ido (require 'ido) (ido-mode t) (ido-everywhere t) --=-=-= -- Leo (GPG Key: 9283AA3F) --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--