unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Andreas R." <newsgroupsREMOVE@freenet.de>
Subject: Re: How to edit/modify patches using emacs?
Date: Mon, 09 May 2005 21:52:32 +0200	[thread overview]
Message-ID: <427fbef8$0$15822$9b622d9e@news.freenet.de> (raw)
In-Reply-To: 427df645$0$26177$9b622d9e@news.freenet.de

Peter Dyballa wrote:
> Shouldn't they be read-only from nature? If you want to edit them, you
> can press e in that buffer. If that does not help, check the
> permissions of that patch file! Are you its owner? Are you allowed to
> create a backup copy of the file in its directory?
No that's not the problem. If I open a file like <file>.patch or <file>.diff
emacs opens it read-only (OK, I can rename the file, e.g. just to <file>,
then the problem no longer persists).

Miles Bader wrote:
>> When I open a patch (created by simple diff) emacs says it's read-only.
> 
> `toggle-read-only' (normally bound to C-x C-q I think).

Thanks, C-x C-q or M-x toggle-read-only work.

  parent reply	other threads:[~2005-05-09 19:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-08 11:23 How to edit/modify patches using emacs? Andreas R.
2005-05-08 11:43 ` Peter Dyballa
2005-05-08 12:09 ` Miles Bader
2005-05-08 12:19 ` Reiner Steib
2005-05-08 13:42 ` Pascal Bourguignon
2005-05-08 14:45   ` Miles Bader
2005-05-08 21:54     ` Micha Feigin
     [not found]     ` <mailman.4139.1115590433.2819.help-gnu-emacs@gnu.org>
2005-05-08 23:38       ` Miles Bader
2005-05-09 19:52 ` Andreas R. [this message]
2005-05-09 20:48   ` Stefan Monnier
2005-05-09 22:38     ` Miles Bader
     [not found]     ` <mailman.4311.1115678467.2819.help-gnu-emacs@gnu.org>
2005-05-09 22:53       ` Stefan Monnier
2005-05-09 23:41         ` Miles Bader
2005-05-10 19:39     ` Alan Mackenzie

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='427fbef8$0$15822$9b622d9e@news.freenet.de' \
    --to=newsgroupsremove@freenet.de \
    /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).