unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michal <rabbitko@tenbit.pl>
To: help-gnu-emacs@gnu.org
Subject: how to create the patch from current file
Date: Wed, 15 Jul 2009 11:22:03 +0200	[thread overview]
Message-ID: <m2zlb6xpvo.fsf@tenbit.pl> (raw)

Hallo group readers.

Imagine the following situation:
I just changed some part of file, but did not save it.
Now I want to create a patch comparing to the original file.
Do You know any emacs command that would do it for me?

Optionally I can imagine that this might even be possible after I saved
a file. Then file~ could be used as a version before changes?

best regards,
Michal


             reply	other threads:[~2009-07-15  9:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15  9:22 Michal [this message]
2009-07-15  9:40 ` how to create the patch from current file Teemu Likonen
2009-07-15  9:52   ` Pascal J. Bourguignon
2009-07-15 15:04   ` Michal
2009-07-15  9:46 ` Pascal J. Bourguignon
     [not found] ` <87ab36jnco.fsf@iki.fi>
2009-07-15 10:34   ` Bernardo

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=m2zlb6xpvo.fsf@tenbit.pl \
    --to=rabbitko@tenbit.pl \
    --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).