emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* some kind of bisect tool
@ 2011-05-25  6:23 Samuel Wales
  2011-05-25 21:44 ` Bernt Hansen
  0 siblings, 1 reply; 5+ messages in thread
From: Samuel Wales @ 2011-05-25  6:23 UTC (permalink / raw)
  To: emacs-orgmode

I wonder if we can make a bisect tool that will use git bisect, load
org source, and let you tell git whether the bug exists.

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com
I support the Whittemore-Peterson Institute (WPI)
===
I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MRV paper.

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

* Re: some kind of bisect tool
  2011-05-25  6:23 some kind of bisect tool Samuel Wales
@ 2011-05-25 21:44 ` Bernt Hansen
  2011-05-25 22:03   ` Samuel Wales
  0 siblings, 1 reply; 5+ messages in thread
From: Bernt Hansen @ 2011-05-25 21:44 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Samuel Wales <samologist@gmail.com> writes:

> I wonder if we can make a bisect tool that will use git bisect, load
> org source, and let you tell git whether the bug exists.
>
> Samuel

Hi Samuel,

Sure you can - it's called a script.  If you can programmatically tell
if it worked or not you can write a script that tests the commit and
feeds the result to bisect.

This is
   git bisect run

Something like this:
http://permalink.gmane.org/gmane.emacs.orgmode/18877

Regards,
Bernt

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

* Re: some kind of bisect tool
  2011-05-25 21:44 ` Bernt Hansen
@ 2011-05-25 22:03   ` Samuel Wales
  2011-05-25 22:20     ` Bernt Hansen
  0 siblings, 1 reply; 5+ messages in thread
From: Samuel Wales @ 2011-05-25 22:03 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Hi Bernt,

My proposal is for an Emacs command, not a shell script.  The command
would load source for org-mode each time and provide a command that
the user can use to provide feedback to git interactively.  It should
ideally not depend on Magit.  It should work in Emacs 22 and later
versions.

By the way, I am having trouble loading source with c-u c-c c-x ! .  I
notice that some commands, such as m-s-right, are still compiled.

I also notice that org-crypt.el does not load when I go to dired, mark
all .el, and load all marked files.  It says (void-function daemonp) .
 That might or might not be the reason c-u c-c c-x ! fails silently.
There might be other issues.

Emacs 22.  Later versions of Emacs do not work on my computer.

Thanks.

Samuel

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

* Re: some kind of bisect tool
  2011-05-25 22:03   ` Samuel Wales
@ 2011-05-25 22:20     ` Bernt Hansen
  2011-05-26  6:22       ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Bernt Hansen @ 2011-05-25 22:20 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Samuel Wales <samologist@gmail.com> writes:

> Hi Bernt,
>
> My proposal is for an Emacs command, not a shell script.  The command
> would load source for org-mode each time and provide a command that
> the user can use to provide feedback to git interactively.  It should
> ideally not depend on Magit.  It should work in Emacs 22 and later
> versions.

Hi Samuel,

This sounds more complicated.  If you go back in time to when variables
weren't created yet your current emacs session will have those already
defined (from the later commit you were on).  I don't know how (or if)
you can clean up the current emacs state without a restart in that case.

The few times I've used git bisect run with Emacs org-mode I've used a
script with some lisp code to test the conditions in a minimal emacs
setup which is safely reproducible.

Trying to reuse the current session with an org-reload probably won't
work well for the general case.

>
> By the way, I am having trouble loading source with c-u c-c c-x ! .  I
> notice that some commands, such as m-s-right, are still compiled.

I have no idea what is going on here.

>
> I also notice that org-crypt.el does not load when I go to dired, mark
> all .el, and load all marked files.  It says (void-function daemonp) .
>  That might or might not be the reason c-u c-c c-x ! fails silently.
> There might be other issues.
>
> Emacs 22.  Later versions of Emacs do not work on my computer.

Ugh.  Sounds painful. (Sorry)

Regards,
Bernt

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

* Re: some kind of bisect tool
  2011-05-25 22:20     ` Bernt Hansen
@ 2011-05-26  6:22       ` Carsten Dominik
  0 siblings, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2011-05-26  6:22 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode


On 26.5.2011, at 00:20, Bernt Hansen wrote:

> Samuel Wales <samologist@gmail.com> writes:
> 
>> Hi Bernt,
>> 
>> My proposal is for an Emacs command, not a shell script.  The command
>> would load source for org-mode each time and provide a command that
>> the user can use to provide feedback to git interactively.  It should
>> ideally not depend on Magit.  It should work in Emacs 22 and later
>> versions.
> 
> Hi Samuel,
> 
> This sounds more complicated.  If you go back in time to when variables
> weren't created yet your current emacs session will have those already
> defined (from the later commit you were on).  I don't know how (or if)
> you can clean up the current emacs state without a restart in that case.
> 
> The few times I've used git bisect run with Emacs org-mode I've used a
> script with some lisp code to test the conditions in a minimal emacs
> setup which is safely reproducible.
> 
> Trying to reuse the current session with an org-reload probably won't
> work well for the general case.
> 
>> 
>> By the way, I am having trouble loading source with c-u c-c c-x ! .  I
>> notice that some commands, such as m-s-right, are still compiled.
> 
> I have no idea what is going on here.
> 
>> 
>> I also notice that org-crypt.el does not load when I go to dired, mark
>> all .el, and load all marked files.  It says (void-function daemonp) .

THis should be fixed now.

- Carsten

>> That might or might not be the reason c-u c-c c-x ! fails silently.
>> There might be other issues.
>> 
>> Emacs 22.  Later versions of Emacs do not work on my computer.
> 
> Ugh.  Sounds painful. (Sorry)
> 
> Regards,
> Bernt
> 

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

end of thread, other threads:[~2011-05-26  7:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-25  6:23 some kind of bisect tool Samuel Wales
2011-05-25 21:44 ` Bernt Hansen
2011-05-25 22:03   ` Samuel Wales
2011-05-25 22:20     ` Bernt Hansen
2011-05-26  6:22       ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

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

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