From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: problem opening files in dired Date: Thu, 9 Dec 2010 09:16:16 -0800 Message-ID: <6FF105A4D2C041B987BE5539349DE129@us.oracle.com> References: <7495a16c-7214-4144-9733-999b3bd1ff9f@k30g2000vbn.googlegroups.com> <8180b6da-0bf9-4da2-9d5b-2a02df2a1447@a4g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291932783 19437 80.91.229.12 (9 Dec 2010 22:13:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 22:13:03 +0000 (UTC) To: "'Xah Lee'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 23:12:58 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQojR-0007RX-VV for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 23:12:58 +0100 Original-Received: from localhost ([127.0.0.1]:54786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQojQ-0000cB-UF for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 17:12:57 -0500 Original-Received: from [140.186.70.92] (port=47988 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQk6a-0003Cy-Vp for help-gnu-emacs@gnu.org; Thu, 09 Dec 2010 12:16:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQk6Z-00061t-Vt for help-gnu-emacs@gnu.org; Thu, 09 Dec 2010 12:16:32 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:18591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQk6Z-00061R-Mh for help-gnu-emacs@gnu.org; Thu, 09 Dec 2010 12:16:31 -0500 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oB9HGRg0013037 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 9 Dec 2010 17:16:28 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oB9GoICt002006; Thu, 9 Dec 2010 17:16:25 GMT Original-Received: from abhmt021.oracle.com by acsmt354.oracle.com with ESMTP id 840553401291914977; Thu, 09 Dec 2010 09:16:17 -0800 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 09 Dec 2010 09:16:17 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <8180b6da-0bf9-4da2-9d5b-2a02df2a1447@a4g2000prm.googlegroups.com> Thread-Index: AcuXXGghkk8XstY3TyOXrYohZauM/QAZ/RdA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77089 Archived-At: > > 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. > > start emacs with -Q, and see if this still happens. If not, that means > something in your .emacs. And that something tries to modify the current buffer (in this case Dired). Look, e.g., for something that gets added to `post-command-hook' somewhere. In any case, Xah's advice is the best way to start. Once you know the problem comes from something you're doing (e.g. code you're loading, things you're activating), bisect your .emacs repeatedly (binary search) until you narrow down the culprit.