[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to edit/modify patches using emacs?
From: |
Andreas R. |
Subject: |
Re: How to edit/modify patches using emacs? |
Date: |
Mon, 09 May 2005 21:52:32 +0200 |
User-agent: |
KNode/0.8.2 |
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.