"Andreas R." <[EMAIL PROTECTED]> writes:

> When I open a patch (created by simple diff) emacs says it's read-only.

You can force edit it (see the other answers), but I think the best
way to "edit" a patch, is to duplicate the source directory, apply the
patch on one copy, edit this copy of the source files, then invoke
diff  to create a new patch.

cp -r src src-orig
cd src
patch -p1 < ../modifs.patch
emacs *
cd ..
diff -Naur src-orig src > newmodifs.patch


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
You never feed me.
Perhaps I'll sleep on your face.
That will sure show you.
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to