* Can't open files using ctrl+x ctrl+f
@ 2011-01-19 18:46 sauparna
2011-01-20 4:39 ` rusi
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: sauparna @ 2011-01-19 18:46 UTC (permalink / raw)
To: help-gnu-emacs
I am using emacs23-nox. Opening files using ctrl+x ctrl+f has stopped
working. Specifying a file (say, filexyz) prints this line in Emacs :
Directory /home/rup/olpc/filexyz
filexyz
For some reason it is mistaking files for directories. If I start
emacs with filexyz as a command-line argument, the file opens fine.
What's could have gone wrong ?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can't open files using ctrl+x ctrl+f
2011-01-19 18:46 Can't open files using ctrl+x ctrl+f sauparna
@ 2011-01-20 4:39 ` rusi
2011-01-20 9:54 ` Peter Dyballa
[not found] ` <mailman.2.1295517268.16468.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: rusi @ 2011-01-20 4:39 UTC (permalink / raw)
To: help-gnu-emacs
On Jan 19, 11:46 pm, sauparna <sauparna.p...@gmail.com> wrote:
> I am using emacs23-nox. Opening files using ctrl+x ctrl+f has stopped
> working. Specifying a file (say, filexyz) prints this line in Emacs :
>
> Directory /home/rup/olpc/filexyz
> filexyz
>
> For some reason it is mistaking files for directories. If I start
> emacs with filexyz as a command-line argument, the file opens fine.
>
> What's could have gone wrong ?
Is that (also) the behavior when emacs is started with emacs -Q ??
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can't open files using ctrl+x ctrl+f
2011-01-19 18:46 Can't open files using ctrl+x ctrl+f sauparna
2011-01-20 4:39 ` rusi
@ 2011-01-20 9:54 ` Peter Dyballa
[not found] ` <mailman.2.1295517268.16468.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2011-01-20 9:54 UTC (permalink / raw)
To: sauparna; +Cc: help-gnu-emacs
Am 19.01.2011 um 19:46 schrieb sauparna:
> What's could have gone wrong ?
Look into your init file! How does GNU Emacs work when you launch it
with -q or -Q?
--
Greetings
<]
Pete o __o |__ o recumbo
___o /I -\<, |o \ -\),-% ergo sum!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can't open files using ctrl+x ctrl+f
[not found] ` <mailman.2.1295517268.16468.help-gnu-emacs@gnu.org>
@ 2011-01-20 10:41 ` sauparna
0 siblings, 0 replies; 4+ messages in thread
From: sauparna @ 2011-01-20 10:41 UTC (permalink / raw)
To: help-gnu-emacs
Well, I didn't have to try with -Q, emacs is working properly again.
But I still have no clue why such a thing happened.
I will try to recollect some of the things that I think I did which
could have affected its functioning:
(a)
I had added these lines to .emacs, by copying and pasting from a web
page. I checked by removing them but emacs was still misbehaving.
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
(b)
Rebooting the system didn't correct it; with and without those lines
in .emacs.
(c)
I tried opening a file with a by appending a space at the end of the
file name. i.e. "c-x c-f filename ". It failed to open anything saying
the file does not exist. But just after this I tried "c-x c-f
filename" and it worked fine.
I wonder if these two events can ring a bell with anybody reading this
post. Or they may have nothing to do with my problem. Thank you for
the help.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-20 10:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-19 18:46 Can't open files using ctrl+x ctrl+f sauparna
2011-01-20 4:39 ` rusi
2011-01-20 9:54 ` Peter Dyballa
[not found] ` <mailman.2.1295517268.16468.help-gnu-emacs@gnu.org>
2011-01-20 10:41 ` sauparna
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).