help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: POST successful when function not called interactively, fails silent


From: Tim Visher
Subject: Re: POST successful when function not called interactively, fails silently when it is?
Date: Thu, 5 Sep 2013 13:55:50 -0400

Sorted this out. The problem was that the argument was a string when
calling it interactively and a number when not. One of those 'solution
staring me right in the face' moments. :)


On Wed, Sep 4, 2013 at 11:42 PM, Tim Visher <address@hidden> wrote:

> Hi all,
>
> I'm trying to add [the ability to create stories][] to the
> [pivotal-tracker project][].
>
> I've got everything just about working except for one strange problem.
>
> When I call the function from elisp, it behaves exactly as expected (other
> than occasionally failing to retrieve the page prior to returning the
> buffer to me, but that's a topic for another post). The message "Story
> added!" is printed and Pivotal reflects it.
>
> When I call it interactively, however, the same message prints but the
> story is not, indeed, added to Pivotal.
>
> I verified that the arguments are the same between calls but `setq`ing a
> monitor after the args are set and comparing them between runs and the
> arguments are indeed exactly the same.
>
> What could be happening here?
>
> [the ability to create stories]:
> https://github.com/timvisher/pivotal-tracker/blob/96f4ba074f79241a6861803c1d4852ffc78eeb74/pivotal-tracker.el#L384-L421
> [pivotal-tracker project]: https://github.com/jxa/pivotal-tracker
>
> --
>
> In Christ,
>
> Timmy V.
>
> http://blog.twonegatives.com/
> http://five.sentenc.es/ -- Spend less time on mail
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]