From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rotlas Newsgroups: gmane.emacs.help Subject: opening a buffer as read-only as default Date: Tue, 10 Nov 2009 04:19:53 -0800 (PST) Message-ID: <26282458.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1257931602 10975 80.91.229.12 (11 Nov 2009 09:26:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Nov 2009 09:26:42 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 11 10:26:35 2009 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.50) id 1N89Sn-0000Qm-Gv for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Nov 2009 10:26:05 +0100 Original-Received: from localhost ([127.0.0.1]:49833 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N89Sm-00069H-R9 for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Nov 2009 04:26:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7phZ-0005Ds-SK for help-gnu-emacs@gnu.org; Tue, 10 Nov 2009 07:20:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7phU-0005Ba-CZ for Help-gnu-emacs@gnu.org; Tue, 10 Nov 2009 07:20:00 -0500 Original-Received: from [199.232.76.173] (port=55550 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7phU-0005BK-8g for Help-gnu-emacs@gnu.org; Tue, 10 Nov 2009 07:19:56 -0500 Original-Received: from kuber.nabble.com ([216.139.236.158]:53841) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7phT-0005Td-Us for Help-gnu-emacs@gnu.org; Tue, 10 Nov 2009 07:19:56 -0500 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N7phR-00057U-OQ for Help-gnu-emacs@gnu.org; Tue, 10 Nov 2009 04:19:53 -0800 X-Nabble-From: katofa@gmail.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 11 Nov 2009 04:22:11 -0500 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:69651 Archived-At: Which is the simplest way to have Emacs opening all files as read-only? That is not only by using C-x C-r but also when selecting a file in a directory buffer. And also preventing C-x C-f from opening a file as writable. I would like it to be possible to toggle the read-only state, though. -- View this message in context: http://old.nabble.com/opening-a-buffer-as-read-only-as-default-tp26282458p26282458.html Sent from the Emacs - Help mailing list archive at Nabble.com.