unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ediff pause after finishing session
@ 2014-04-29 16:47 Sam Halliday
  2014-04-29 17:00 ` Sam Halliday
  0 siblings, 1 reply; 5+ messages in thread
From: Sam Halliday @ 2014-04-29 16:47 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

When I use ediff to merge conflicts between two files, I will finish the session by typing 'q' and then 'y' to confirm that I am finished.

But then there is a 3 second wait before asking for confirmation to save the buffer (which in itself is superfluous at this stage).

The pause is frustrating (especially when I have lots of trivial file merges to make).

Does anybody have any experience in skipping the pause? (or at least explain why it happens and why it cannot be disabled).

Best regards,
Sam


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ediff pause after finishing session
  2014-04-29 16:47 ediff pause after finishing session Sam Halliday
@ 2014-04-29 17:00 ` Sam Halliday
  2014-04-29 20:58   ` Michael Heerdegen
       [not found]   ` <mailman.325.1398805155.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Sam Halliday @ 2014-04-29 17:00 UTC (permalink / raw)
  To: help-gnu-emacs

On Tuesday, 29 April 2014 17:47:44 UTC+1, Sam Halliday  wrote:
> When I use ediff to merge conflicts between two files, I will finish the session by typing 'q' and then 'y' to confirm that I am finished.

(actually there are three questions:

* quit (y/n)
* overwrite (y/n)
* (3 second pause)
* kill buffer (y/n)

I'd really like to get that down to

* save and quit (y/n)

(with no pause)

> Does anybody have any experience in skipping the pause? (or at least explain why it happens and why it cannot be disabled).


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ediff pause after finishing session
  2014-04-29 17:00 ` Sam Halliday
@ 2014-04-29 20:58   ` Michael Heerdegen
       [not found]   ` <mailman.325.1398805155.1147.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Heerdegen @ 2014-04-29 20:58 UTC (permalink / raw)
  To: help-gnu-emacs

Sam Halliday <sam.halliday@gmail.com> writes:

> * quit (y/n)
> * overwrite (y/n)
> * (3 second pause)
> * kill buffer (y/n)

Looks like `ediff-write-merge-buffer-and-maybe-kill' is the culprit.

> > Does anybody have any experience in skipping the pause? (or at least
> > explain why it happens and why it cannot be disabled).

In Ediff, lots of such stuff is hardcoded - including the behavior you
see.  The pause was probably added to make the user see the feedback
from writing the file.

I too find the behavior irritating, but there's probably no easy way to
fix it on a user basis.  You can try a bug report, but I doubt it will
be treated soon.


Michael.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ediff pause after finishing session
       [not found]   ` <mailman.325.1398805155.1147.help-gnu-emacs@gnu.org>
@ 2014-04-29 21:27     ` Dan.Espen
  2014-04-29 22:45       ` Michael Heerdegen
  0 siblings, 1 reply; 5+ messages in thread
From: Dan.Espen @ 2014-04-29 21:27 UTC (permalink / raw)
  To: help-gnu-emacs

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Sam Halliday <sam.halliday@gmail.com> writes:
>
>> * quit (y/n)
>> * overwrite (y/n)
>> * (3 second pause)
>> * kill buffer (y/n)
>
> Looks like `ediff-write-merge-buffer-and-maybe-kill' is the culprit.

sit-for is supposed to respond as soon as you hit a key.
Maybe type a space after "overwrite (y/n)"?

-- 
Dan Espen


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ediff pause after finishing session
  2014-04-29 21:27     ` Dan.Espen
@ 2014-04-29 22:45       ` Michael Heerdegen
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Heerdegen @ 2014-04-29 22:45 UTC (permalink / raw)
  To: help-gnu-emacs

despen@verizon.net (Dan.Espen) writes:

> > Looks like `ediff-write-merge-buffer-and-maybe-kill' is the culprit.
>
> sit-for is supposed to respond as soon as you hit a key.
> Maybe type a space after "overwrite (y/n)"?

But AFAIK this event would not be discarded, and the following y-or-n-p
would grasp it and barf.  But just hitting y y y (blindly) in fast
succession should be fine, I think.

Michael.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-29 22:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-29 16:47 ediff pause after finishing session Sam Halliday
2014-04-29 17:00 ` Sam Halliday
2014-04-29 20:58   ` Michael Heerdegen
     [not found]   ` <mailman.325.1398805155.1147.help-gnu-emacs@gnu.org>
2014-04-29 21:27     ` Dan.Espen
2014-04-29 22:45       ` Michael Heerdegen

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).