From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michal Newsgroups: gmane.emacs.help Subject: how to create the patch from current file Date: Wed, 15 Jul 2009 11:22:03 +0200 Organization: education Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247650905 5821 80.91.229.12 (15 Jul 2009 09:41:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jul 2009 09:41:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 15 11:41:38 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MR0zY-0006cy-MF for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jul 2009 11:41:37 +0200 Original-Received: from localhost ([127.0.0.1]:51083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MR0zY-0005Rk-41 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jul 2009 05:41:36 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!goblin2!goblin.stu.neva.ru!feeder.erje.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: jupiter.adlex.com Original-X-Trace: news.task.gda.pl 1247649802 12990 157.25.157.162 (15 Jul 2009 09:23:22 GMT) Original-X-Complaints-To: abuse@news.task.gda.pl Original-NNTP-Posting-Date: Wed, 15 Jul 2009 09:23:22 +0000 (UTC) X-Mailer: KMail/1.7.1 User-Agent: mozilla news reader Cancel-Lock: sha1:l7X8jt8RMLKi6EO+y1w5m7CyIN0= Original-Xref: news.stanford.edu gnu.emacs.help:170900 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66096 Archived-At: 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