From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Florian Lorenzen Newsgroups: gmane.emacs.help Subject: Show unsaved changes (as diff) Date: Sun, 23 Sep 2007 16:29:41 +0200 Organization: Freie Universitaet Berlin Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1794767808==" X-Trace: sea.gmane.org 1190578106 9731 80.91.229.12 (23 Sep 2007 20:08:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Sep 2007 20:08:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 23 22:08:22 2007 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 1IZXkZ-0008Sc-W6 for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Sep 2007 22:08:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZXkX-000237-Dy for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Sep 2007 16:08:17 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-X-Trace: news.uni-berlin.de g7n24VafFgqnGceoIpKJJQKzJb++6rYcpEbsKu/RTHHmEI Cancel-Lock: sha1:vAs0MbEzlyOGYmhH2LK8FIblNJQ= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:152262 X-Mailman-Approved-At: Sun, 23 Sep 2007 16:06:46 -0400 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:47781 Archived-At: --===============1794767808== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Hello, I have a very innocent question, I'm sorry that I could not figure out the answer myself: is there a quick way to ask Emacs to show the unsaved changes in a file's buffer as a diff? Sometimes, I attempt to kill a bufer and Emacs asks me if I want do discard the changes. As my memory is very weak sometimes, I cannot recall what I had changed and if this was important in any way. So, I'd simply like to see what I'd throw away. Of course, I can copy the file's buffer's content to a new buffer, revert the file's buffer and make a diff on these two. But is there something ready-made for this kind of situation, like M-x show-unsaved-changes? Thanks for any suggestions, best regards, Florian --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG9nhcvjzICpVvX7YRAs2VAJ9F7UVFHUaHETAFZxPK8fv/4hFZDgCdHy85 emxbvhq7mwJOUalSq6IlfFQ= =Eho0 -----END PGP SIGNATURE----- --=-=-=-- --===============1794767808== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1794767808==--