all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom <adatgyujto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Seeing which commits modified a range of lines?
Date: Thu, 6 Nov 2014 20:56:21 +0000 (UTC)	[thread overview]
Message-ID: <loom.20141106T214711-793@post.gmane.org> (raw)
In-Reply-To: jwvtx2dp9yo.fsf-monnier+gmane.emacs.help@gnu.org

Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> For most backends, such a loop will take forever to terminate 

The termination problem could be mitigated by introducing 
a limit for the search. For example, after going back, say,
10 revisions (or if it's a time limit then after working for,
say, 5 seconds) the loop stops and emacs asks the user if
it should continue working or the user wants to see the 
results up to that point.

If the latter then the user can peruse the results and 
if more info is needed then he can restart the search 
which picks up where it left off using the previously 
collected info and continues working until the limit 
is reached again, etc.

Usually the user looks for some specific change impacting
that code chunk, so there is no need to go back to the 
beginning of time. If the user can control the process
the above described way then he goes back only as far
as needed, so the termination problem may be less of
an issue.





  reply	other threads:[~2014-11-06 20:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.12815.1415132057.1147.help-gnu-emacs@gnu.org>
2014-11-04 22:36 ` Seeing which commits modified a range of lines? Stefan Monnier
2014-11-05 20:27   ` Tom
2014-11-05 22:31     ` Stefan Monnier
2014-11-06 20:56       ` Tom [this message]
     [not found]       ` <mailman.13069.1415307407.1147.help-gnu-emacs@gnu.org>
2014-11-06 22:42         ` Stefan Monnier
2014-11-04 20:13 Tom
2014-11-05  8:37 ` Tassilo Horn
2014-11-05 20:30   ` Tom
2014-11-06  7:13     ` Tassilo Horn
2014-11-06 20:46       ` Tom
2014-11-07  7:53         ` Thien-Thi Nguyen
2014-11-07 21:42           ` Tom
2014-11-08  8:26             ` Thien-Thi Nguyen

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=loom.20141106T214711-793@post.gmane.org \
    --to=adatgyujto@gmail.com \
    --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.
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.