GNU bug report logs - #20248
24.3; ido-write-file and control-F writes to the wrong directory

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Don Morrison <dfm@HIDDEN>; merged with #19412; dated Thu, 2 Apr 2015 21:52:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 19412 20248. Request was from Stefan Monnier <monnier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 20248 <at> debbugs.gnu.org:


Received: (at 20248) by debbugs.gnu.org; 2 Apr 2015 22:15:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 02 18:15:36 2015
Received: from localhost ([127.0.0.1]:43505 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YdnOi-0000Tg-Eq
	for submit <at> debbugs.gnu.org; Thu, 02 Apr 2015 18:15:36 -0400
Received: from mail-wi0-f173.google.com ([209.85.212.173]:38904)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <dfmorrison@HIDDEN>) id 1YdnOg-0000TT-62
 for 20248 <at> debbugs.gnu.org; Thu, 02 Apr 2015 18:15:35 -0400
Received: by wibgn9 with SMTP id gn9so121366178wib.1
 for <20248 <at> debbugs.gnu.org>; Thu, 02 Apr 2015 15:15:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:from:date:message-id:subject:to:content-type;
 bh=AJ9bF0wzJIE+5nHLDASaVd9icuSm6/zWIbytgUblCf8=;
 b=X4Jmxn3a7Uz3sgil/qZ1RYqPm4IbIlaTo2YO0+8QnTQXy0XveRKucp/0bM3YHkSc/3
 iM+IDd9Wn4SVJAlIv/rrFB5Dr08eTSarhVOJ18dov8IonOhpBPk0NLPVC39FIBetmPUr
 BHMlKsDngwBVxxrOKdDXHnthYxYMII2LLn3SGCkzVC1IwZvtRvKQWagk9bXFn5be9UI1
 ehB/hvDS9RHvs3olmTGrN+Dx4BOa7lbbqf9bsN64VKvHrlEvcv1QzcHQHspUg4najiCc
 COXlqckJopHKrH58I7XfbipOHu/KWrSRVNWpcIj6XO+htDIwLsMkICHzw3eq6Vvsp6AD
 c6WA==
X-Received: by 10.195.12.97 with SMTP id ep1mr99957642wjd.134.1428012928680;
 Thu, 02 Apr 2015 15:15:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.27.172.79 with HTTP; Thu, 2 Apr 2015 15:14:48 -0700 (PDT)
From: Don Morrison <dfm@HIDDEN>
Date: Thu, 2 Apr 2015 18:14:48 -0400
X-Google-Sender-Auth: ZLTpbxQvyB-JLzMpBkkqwhLgmME
Message-ID: <CAO9hiFWhOJ3LPbdzwLMDA47O9c6FTuPWWp_HQ=Rz2pn-i6JRJw@HIDDEN>
Subject: Apologies, this is a duplicate
To: 20248 <at> debbugs.gnu.org
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 20248
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

I'm sorry, I just discovered I had already submitted this bug back in
December, but completely forgotten about it. Sorry. It's an exact
duplicate of 19412, I believe.


-- 
Don Morrison <dfm@HIDDEN>
"After all these years I have observed that beauty, like happiness,
is frequent. A day does not pass when we are not, for an instant,
in paradise."
        -- Jorge Luis Borges, _Los Conjurados_, tr Willis Barnstone




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#20248; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Apr 2015 21:51:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 02 17:51:20 2015
Received: from localhost ([127.0.0.1]:43500 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Ydn1D-0008MI-Ou
	for submit <at> debbugs.gnu.org; Thu, 02 Apr 2015 17:51:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56509)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <dfmorrison@HIDDEN>) id 1Ydn1C-0008M2-8S
 for submit <at> debbugs.gnu.org; Thu, 02 Apr 2015 17:51:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dfmorrison@HIDDEN>) id 1Ydn15-0006VG-NJ
 for submit <at> debbugs.gnu.org; Thu, 02 Apr 2015 17:51:13 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51174)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dfmorrison@HIDDEN>) id 1Ydn15-0006VC-KT
 for submit <at> debbugs.gnu.org; Thu, 02 Apr 2015 17:51:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58229)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dfmorrison@HIDDEN>) id 1Ydn14-000317-BI
 for bug-gnu-emacs@HIDDEN; Thu, 02 Apr 2015 17:51:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dfmorrison@HIDDEN>) id 1Ydn11-0006Uy-5W
 for bug-gnu-emacs@HIDDEN; Thu, 02 Apr 2015 17:51:10 -0400
Received: from mail-qc0-x231.google.com ([2607:f8b0:400d:c01::231]:35185)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dfmorrison@HIDDEN>) id 1Ydn10-0006Us-W4
 for bug-gnu-emacs@HIDDEN; Thu, 02 Apr 2015 17:51:07 -0400
Received: by qcbii10 with SMTP id ii10so55452562qcb.2
 for <bug-gnu-emacs@HIDDEN>; 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)
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 <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Thu, 02 Apr 2015 14:51:04 -0700 (PDT)
From: Don Morrison <dfm@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 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@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
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-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

$ 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 <backspace> 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 <return>

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 <return> C-g C-h i m e m a c s <return> m 
b u g s <return> <help-echo> <down-mouse-1> <mouse-2> 
<down-mouse-5> <mouse-5> <double-down-mouse-5> <double-mouse-5> 
<down-mouse-5> <mouse-5> <down-mouse-5> <mouse-5> <double-down-mouse-5> 
<double-mouse-5> <down-mouse-4> <mouse-4> <double-down-mouse-4> 
<double-mouse-4> <triple-down-mouse-4> <triple-mouse-4> 
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4> 
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4> 
<down-mouse-5> <mouse-5> <down-mouse-4> <mouse-4> <double-down-mouse-4> 
<double-mouse-4> <help-echo> <down-mouse-1> <mouse-2> 
<help-echo> <down-mouse-1> <mouse-2> M-x r e p o r 
t - e m <tab> <return>

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)




Acknowledgement sent to Don Morrison <dfm@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#20248; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 3 Apr 2015 02:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.