all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* About file saving
@ 2009-08-05  8:46 ibear
  2009-08-05  9:08 ` Anselm Helbig
  0 siblings, 1 reply; 5+ messages in thread
From: ibear @ 2009-08-05  8:46 UTC (permalink / raw
  To: help-gnu-emacs

emacs 23.1.50.1 (i386-mingw-nt5.1.2600), build by myself under windows
xp

In a folder there is a file "XXX.abc", and I want to save the buffer
to a new file "XXX.ab"
so I press C-x C-w and input the string "XXX.ab" and press RET, emacs
autocomplete the "XXX.ab" to "XXX.abc" and just save the buffer to
"XXX.abc" not "XXX.ab"!

Why?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: About file saving
  2009-08-05  8:46 About file saving ibear
@ 2009-08-05  9:08 ` Anselm Helbig
  2009-08-05 13:52   ` ibear
  2009-08-06  7:39   ` Xah Lee
  0 siblings, 2 replies; 5+ messages in thread
From: Anselm Helbig @ 2009-08-05  9:08 UTC (permalink / raw
  To: help-gnu-emacs

At Wed, 5 Aug 2009 01:46:48 -0700 (PDT),
ibear <bearsprite@gmail.com> wrote:
> 
> emacs 23.1.50.1 (i386-mingw-nt5.1.2600), build by myself under windows
> xp
> 
> In a folder there is a file "XXX.abc", and I want to save the buffer
> to a new file "XXX.ab"
> so I press C-x C-w and input the string "XXX.ab" and press RET, emacs
> autocomplete the "XXX.ab" to "XXX.abc" and just save the buffer to
> "XXX.abc" not "XXX.ab"!
> 
> Why?

Are you using ido-mode? Well, I do. You should be able to save it to
XXX.ab if you use C-j instead of RET, then. The whole point of
ido-mode is that you shouldn't need to type in complete filenames, so
it makes sense to pick the best match on RET.

HTH, 

Anselm


-- 
Anselm Helbig 
mailto:anselm.helbig+news2009@googlemail.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: About file saving
  2009-08-05  9:08 ` Anselm Helbig
@ 2009-08-05 13:52   ` ibear
  2009-08-06  7:39   ` Xah Lee
  1 sibling, 0 replies; 5+ messages in thread
From: ibear @ 2009-08-05 13:52 UTC (permalink / raw
  To: help-gnu-emacs

On 8月5日, 下午5时08分, Anselm Helbig <anselm.helbig
+news2...@googlemail.com> wrote:
> At Wed, 5 Aug 2009 01:46:48 -0700 (PDT),
>
> ibear <bearspr...@gmail.com> wrote:
>
> > emacs 23.1.50.1 (i386-mingw-nt5.1.2600), build by myself under windows
> > xp
>
> > In a folder there is a file "XXX.abc", and I want to save the buffer
> > to a new file "XXX.ab"
> > so I press C-x C-w and input the string "XXX.ab" and press RET, emacs
> > autocomplete the "XXX.ab" to "XXX.abc" and just save the buffer to
> > "XXX.abc" not "XXX.ab"!
>
> > Why?
>
> Are you using ido-mode? Well, I do. You should be able to save it to
> XXX.ab if you use C-j instead of RET, then. The whole point of
> ido-mode is that you shouldn't need to type in complete filenames, so
> it makes sense to pick the best match on RET.
>
> HTH,
>
> Anselm
>
> --
> Anselm Helbig
> mailto:anselm.helbig+news2...@googlemail.com

Thx!


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: About file saving
  2009-08-05  9:08 ` Anselm Helbig
  2009-08-05 13:52   ` ibear
@ 2009-08-06  7:39   ` Xah Lee
  2009-08-06  8:49     ` Anselm Helbig
  1 sibling, 1 reply; 5+ messages in thread
From: Xah Lee @ 2009-08-06  7:39 UTC (permalink / raw
  To: help-gnu-emacs

On Aug 5, 2:08 am, Anselm Helbig <anselm.helbig
+news2...@googlemail.com> wrote:
> At Wed, 5 Aug 2009 01:46:48 -0700 (PDT),
>
> ibear <bearspr...@gmail.com> wrote:
>
> > emacs 23.1.50.1 (i386-mingw-nt5.1.2600), build by myself under windows
> > xp
>
> > In a folder there is a file "XXX.abc", and I want to save the buffer
> > to a new file "XXX.ab"
> > so I press C-x C-w and input the string "XXX.ab" and press RET, emacs
> > autocomplete the "XXX.ab" to "XXX.abc" and just save the buffer to
> > "XXX.abc" not "XXX.ab"!
>
> > Why?
>
> Are you using ido-mode? Well, I do. You should be able to save it to
> XXX.ab if you use C-j instead of RET, then. The whole point of
> ido-mode is that you shouldn't need to type in complete filenames, so
> it makes sense to pick the best match on RET.
>

lol. it seems to me a dangerous bug.

 Xah


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: About file saving
  2009-08-06  7:39   ` Xah Lee
@ 2009-08-06  8:49     ` Anselm Helbig
  0 siblings, 0 replies; 5+ messages in thread
From: Anselm Helbig @ 2009-08-06  8:49 UTC (permalink / raw
  To: help-gnu-emacs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]

At Thu, 6 Aug 2009 00:39:21 -0700 (PDT),
Xah Lee <xahlee@gmail.com> wrote:
> 
> On Aug 5, 2:08 am, Anselm Helbig <anselm.helbig
> +news2...@googlemail.com> wrote:
> > At Wed, 5 Aug 2009 01:46:48 -0700 (PDT),
> >
> > ibear <bearspr...@gmail.com> wrote:
> >
> > > emacs 23.1.50.1 (i386-mingw-nt5.1.2600), build by myself under windows
> > > xp
> >
> > > In a folder there is a file "XXX.abc", and I want to save the buffer
> > > to a new file "XXX.ab"
> > > so I press C-x C-w and input the string "XXX.ab" and press RET, emacs
> > > autocomplete the "XXX.ab" to "XXX.abc" and just save the buffer to
> > > "XXX.abc" not "XXX.ab"!
> >
> > > Why?
> >
> > Are you using ido-mode? Well, I do. You should be able to save it to
> > XXX.ab if you use C-j instead of RET, then. The whole point of
> > ido-mode is that you shouldn't need to type in complete filenames, so
> > it makes sense to pick the best match on RET.
> >
> 
> lol. it seems to me a dangerous bug.

Well, there's a reason why ido-mode isn't enabled by default. I mean,
that's why our .emacs files get so big: so we can enable all that
confusing, useful stuff. 8-)

Greetings, 

Anselm


-- 
Anselm Helbig 
mailto:anselm.helbig+news2009@googlemail.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-06  8:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-05  8:46 About file saving ibear
2009-08-05  9:08 ` Anselm Helbig
2009-08-05 13:52   ` ibear
2009-08-06  7:39   ` Xah Lee
2009-08-06  8:49     ` Anselm Helbig

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.