Re: [O] How to setup a development for org-mode?

2016-06-08 Thread Xi Shen
I found the minimal-org trick works for me.


On Wed, Jun 8, 2016 at 3:04 PM Robert Klein  wrote:

> Hi,
>
> On Wed, 08 Jun 2016 06:55:08 +
> Xi Shen  wrote:
>
> > Tried that at first, but got:
> >
> > Symbol's function definition is void: org-babel--get-vars
> >
> > Maybe it is because I am in cygwin environment, so Emacs eval buffers
> > differently?
>
> You are using org-mode 8.3.4 from then maint branch (or earlier) which
> hasn't org-babel--get-vars.  The version of ob-sql.el you are editing
> is from the master branch.
>
> Best regards
> Robert
>
>
> >
> >
> > Thanks,
> > David
> >
> >
> > On Wed, Jun 8, 2016 at 2:42 PM Rasmus  wrote:
> >
> > > Xi Shen  writes:
> > >
> > > > Hi,
> > > >
> > > > I want to make some change to the ob-sql.el file. But I don't
> > > > want to
> > > "make
> > > > install" every time I change something. I tried to use
> > > > “load-file" to reload the file I changed, but I got symbol not
> > > > found error.
> > >
> > > Open the file you've edited and do,
> > >
> > > M-x eval-buffer RET
> > >
> > > Hope it helps,
> > > Rasmus
> > >
> > >
> > > --
> > > Hvor meget poesi tror De kommer ud af et glas isvand?
> > >
> > >
> > > --
> >
> > Thanks,
> > David S.
>
> --

Thanks,
David S.


Re: [O] How to setup a development for org-mode?

2016-06-08 Thread Robert Klein
Hi,

On Wed, 08 Jun 2016 06:55:08 +
Xi Shen  wrote:

> Tried that at first, but got:
> 
> Symbol's function definition is void: org-babel--get-vars
> 
> Maybe it is because I am in cygwin environment, so Emacs eval buffers
> differently?

You are using org-mode 8.3.4 from then maint branch (or earlier) which
hasn't org-babel--get-vars.  The version of ob-sql.el you are editing
is from the master branch.

Best regards
Robert


> 
> 
> Thanks,
> David
> 
> 
> On Wed, Jun 8, 2016 at 2:42 PM Rasmus  wrote:
> 
> > Xi Shen  writes:
> >
> > > Hi,
> > >
> > > I want to make some change to the ob-sql.el file. But I don't
> > > want to
> > "make
> > > install" every time I change something. I tried to use
> > > “load-file" to reload the file I changed, but I got symbol not
> > > found error.
> >
> > Open the file you've edited and do,
> >
> > M-x eval-buffer RET
> >
> > Hope it helps,
> > Rasmus
> >
> >
> > --
> > Hvor meget poesi tror De kommer ud af et glas isvand?
> >
> >
> > --
> 
> Thanks,
> David S.




Re: [O] How to setup a development for org-mode?

2016-06-08 Thread Xi Shen
Tried that at first, but got:

Symbol's function definition is void: org-babel--get-vars

Maybe it is because I am in cygwin environment, so Emacs eval buffers
differently?


Thanks,
David


On Wed, Jun 8, 2016 at 2:42 PM Rasmus  wrote:

> Xi Shen  writes:
>
> > Hi,
> >
> > I want to make some change to the ob-sql.el file. But I don't want to
> "make
> > install" every time I change something. I tried to use “load-file" to
> > reload the file I changed, but I got symbol not found error.
>
> Open the file you've edited and do,
>
> M-x eval-buffer RET
>
> Hope it helps,
> Rasmus
>
>
> --
> Hvor meget poesi tror De kommer ud af et glas isvand?
>
>
> --

Thanks,
David S.


Re: [O] How to setup a development for org-mode?

2016-06-08 Thread Rasmus
Xi Shen  writes:

> Hi,
>
> I want to make some change to the ob-sql.el file. But I don't want to "make
> install" every time I change something. I tried to use “load-file" to
> reload the file I changed, but I got symbol not found error.

Open the file you've edited and do,

M-x eval-buffer RET

Hope it helps,
Rasmus


-- 
Hvor meget poesi tror De kommer ud af et glas isvand?




[O] How to setup a development for org-mode?

2016-06-07 Thread Xi Shen
Hi,

I want to make some change to the ob-sql.el file. But I don't want to "make
install" every time I change something. I tried to use “load-file" to
reload the file I changed, but I got symbol not found error.

Any suggestions?


Thanks,
David

-- 

Thanks,
David S.