unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Hansen <david.hansen@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: How to refresh a buffer?
Date: Mon, 05 Feb 2007 19:41:29 +0100	[thread overview]
Message-ID: <87r6t4ih0m.fsf@localhorst.mine.nu> (raw)
In-Reply-To: 1170693641.635670.113980@s48g2000cws.googlegroups.com

On 5 Feb 2007 08:40:41 -0800 Vols wrote:

> I opened a file in Emacs and found it was read-only. I use the
> terminal command "chmod +w file.cpp" to make it writable. After I
> return to Emacs the file is still read-only. I have to close this file
> and re-open it.
> How to refresh this buffer? Thanks.

`toggle-read-only' C-x C-q is what you need.  You don't need to chmod
the file then.  Emacs will save it anyway (if it has the permission to
do so) after confirmation.

David

  parent reply	other threads:[~2007-02-05 18:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-05 16:40 How to refresh a buffer? Vols
2007-02-05 16:55 ` HS
2007-02-06  7:25   ` Piet van Oostrum
2007-02-05 17:08 ` Marc Tfardy
2007-02-05 17:13 ` Pascal Bourguignon
2007-02-05 17:44 ` Drew Adams
2007-02-05 18:41 ` David Hansen [this message]
2007-02-06  7:35 ` Mathias Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r6t4ih0m.fsf@localhorst.mine.nu \
    --to=david.hansen@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).