From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Don Morrison Newsgroups: gmane.emacs.bugs Subject: bug#20248: 24.3; ido-write-file and control-F writes to the wrong directory Date: Thu, 02 Apr 2015 17:51:09 -0400 Message-ID: <874moyp5bm.fsf@skipton.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1428011544 31787 80.91.229.3 (2 Apr 2015 21:52:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Apr 2015 21:52:24 +0000 (UTC) To: 20248@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 02 23:52:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ydn24-0001WW-6S for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Apr 2015 23:52:12 +0200 Original-Received: from localhost ([::1]:60252 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydn23-00036A-6X for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Apr 2015 17:52:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydn1y-00035B-HA for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 17:52:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ydn1v-0006Z7-BD for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 17:52:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydn1v-0006Z3-73 for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 17:52:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ydn1u-0008NI-Kt for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 17:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Don Morrison Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Apr 2015 21:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142801148032139 (code B ref -1); Thu, 02 Apr 2015 21:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Apr 2015 21:51:20 +0000 Original-Received: from localhost ([127.0.0.1]:43500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ydn1D-0008MI-Ou for submit@debbugs.gnu.org; Thu, 02 Apr 2015 17:51:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56509) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ydn1C-0008M2-8S for submit@debbugs.gnu.org; Thu, 02 Apr 2015 17:51:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ydn15-0006VG-NJ for submit@debbugs.gnu.org; Thu, 02 Apr 2015 17:51:13 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:51174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydn15-0006VC-KT for submit@debbugs.gnu.org; Thu, 02 Apr 2015 17:51:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydn14-000317-BI for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 17:51:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ydn11-0006Uy-5W for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 17:51:10 -0400 Original-Received: from mail-qc0-x231.google.com ([2607:f8b0:400d:c01::231]:35185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydn10-0006Us-W4 for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 17:51:07 -0400 Original-Received: by qcbii10 with SMTP id ii10so55452562qcb.2 for ; Thu, 02 Apr 2015 14:51:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=63fbLR0V1aaDK3l+URYGV7vpjEI0CAZ0gXPvtdTr1CI=; b=a/kMIoeKKV5+UglKiIlk8xUcvqQY75C3+3tmxsYsQB94aogPkfv+ck5YcT8ainFqaZ 3ydw9R+WZ2o+DOJLg5fXFx1n291XqADFbZoQEVgaZm37+3tBUu76chwLMd+J/0r+u6FV GL/HSo7/5fvTLDzUT+OATHj0ontXXWA6Qq1FmRgqZVG0k9o/C/AalB884IjNip7W6bBk 2VjztURL90Nk/J7sB+E+7laBfm72VCt2NvgYZbMvTf4DgSyuQHUc4+qDr6E9HCVhbY+l +cGmNxbE+rXdgvGsZtKpt2RrJo7/vGunwSbrO6nC8+51M18y/UE9h+wnRvOws7XbbJ0/ R+GQ== X-Received: by 10.140.235.208 with SMTP id g199mr66352743qhc.89.1428011465761; Thu, 02 Apr 2015 14:51:05 -0700 (PDT) Original-Received: from localhost (pool-108-32-69-180.pitbpa.fios.verizon.net. [108.32.69.180]) by mx.google.com with ESMTPSA id 78sm4336755qks.47.2015.04.02.14.51.04 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 02 Apr 2015 14:51:04 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101143 Archived-At: $ mkdir /tmp/foodir $ echo "some text" > /tmp/foodir/bar.txt $ emacs -Q M-x ido-mode C-x C-f /tmp/foodir/bar.txt now edit the file a little C-x C-w C-f the prompt in the mini-buffer now reads Write-file: /tmp/ from which you naturally assume it will write the file there, with the name bar.txt. Type It instead tries to write it back to /tmp/foodir/bar.txt In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11600000 System Description: Ubuntu 14.04.2 LTS Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Info Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: M-x b u g C-g C-h i m e m a c s m b u g s M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit Composing main Info directory...done byte-code: Beginning of buffer [3 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils jka-compr info easymenu time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)