[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem opening files in dired
From: |
Russ P. |
Subject: |
Re: problem opening files in dired |
Date: |
Wed, 08 Dec 2010 15:28:54 -0000 |
User-agent: |
G2/1.0 |
On Sep 17, 12:41 pm, Xah Lee <xah...@gmail.com> wrote:
> On Sep 17, 12:29 pm, "Russ P." <russ.paie...@gmail.com> wrote:
>
> > I am trying to switch from XEmacs to Emacs. When I try to open a file
> > in dired or a buffer in the buffer menu, I get a message saying
> > "Buffer is read-only" and it doesn't open. When I run Emacs remotely
> > from home on the same machine, I do not have this problem. Any clues
> > about what might be going on? I am using Emacs 23 on Red Hat. Thanks.
>
> > Russ P.
>
> start emacs with -Q, and see if this still happens. If not, that means
> something in your .emacs.
>
> Xah
Thanks for the suggestion. I was able to isolate the problem to this
line in my .emacs file:
(add-hook 'font-lock-mode-hook #'(lambda()(use-local-map nil)))
It's something I must have added many years ago, when I still had a
clue what I was doing. I forgot what it does.
Russ P.