all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ivan Kanis <ivan.kanis@googlemail.com>
To: Juri Linkov <juri@jurta.org>
Cc: emacs devel <emacs-devel@gnu.org>
Subject: Re: [PATCH] show difference when recovering file
Date: Mon, 17 Dec 2012 12:16:44 +0100	[thread overview]
Message-ID: <877goh7wtf.fsf@kanis.fr> (raw)
In-Reply-To: <87pq2912vp.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 17 Dec 2012 11:27:38 +0200")

Juri Linkov <juri@jurta.org> wrote:

>> This trivial patch offer to see the difference between the current file
>> and the backup file. This helps making the decision whether one wants to
>> recover the file.
>
> `save-some-buffers' provides the key `d' in `save-some-buffers-action-alist'
> to do almost the same.

Do you propose I take that code in a function?

The idea is that it will be called by 'save-some-buffer' and
'recover-file'. That would get rid of the duplication
-- 
Ivan Kanis
http://ivan.kanis.fr

O Love, O fire! Once he drew
With one long kiss my whole soul through
My lips, as sunlight drinketh dew.
    -- Alfred, Lord Tennyson



      reply	other threads:[~2012-12-17 11:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-16 16:56 [PATCH] show difference when recovering file Ivan Kanis
2012-12-16 18:12 ` martin rudalics
2012-12-16 21:55 ` Stefan Monnier
2012-12-17 10:53   ` Ivan Kanis
2012-12-17 14:16     ` Stefan Monnier
2012-12-17 16:04       ` Ivan Kanis
2012-12-17 17:50         ` Stefan Monnier
2012-12-17 20:27           ` Ivan Kanis
2012-12-17 17:03       ` Wolfgang Jenkner
2012-12-17 23:15         ` Stephen J. Turnbull
2012-12-17 17:35       ` Achim Gratz
2012-12-17  9:27 ` Juri Linkov
2012-12-17 11:16   ` Ivan Kanis [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877goh7wtf.fsf@kanis.fr \
    --to=ivan.kanis@googlemail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.