emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to setup a development for org-mode?
@ 2016-06-08  3:55 Xi Shen
  2016-06-08  6:40 ` Rasmus
  0 siblings, 1 reply; 5+ messages in thread
From: Xi Shen @ 2016-06-08  3:55 UTC (permalink / raw)
  To: Emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 287 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 533 bytes --]

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

* Re: How to setup a development for org-mode?
  2016-06-08  3:55 How to setup a development for org-mode? Xi Shen
@ 2016-06-08  6:40 ` Rasmus
  2016-06-08  6:55   ` Xi Shen
  0 siblings, 1 reply; 5+ messages in thread
From: Rasmus @ 2016-06-08  6:40 UTC (permalink / raw)
  To: emacs-orgmode

Xi Shen <davidshen84@gmail.com> 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?

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

* Re: How to setup a development for org-mode?
  2016-06-08  6:40 ` Rasmus
@ 2016-06-08  6:55   ` Xi Shen
  2016-06-08  7:04     ` Robert Klein
  0 siblings, 1 reply; 5+ messages in thread
From: Xi Shen @ 2016-06-08  6:55 UTC (permalink / raw)
  To: Rasmus, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

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 <rasmus@gmx.us> wrote:

> Xi Shen <davidshen84@gmail.com> 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.

[-- Attachment #2: Type: text/html, Size: 1350 bytes --]

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

* Re: How to setup a development for org-mode?
  2016-06-08  6:55   ` Xi Shen
@ 2016-06-08  7:04     ` Robert Klein
  2016-06-08  7:40       ` Xi Shen
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Klein @ 2016-06-08  7:04 UTC (permalink / raw)
  To: Xi Shen; +Cc: emacs-orgmode, Rasmus

Hi,

On Wed, 08 Jun 2016 06:55:08 +0000
Xi Shen <davidshen84@gmail.com> 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 <rasmus@gmx.us> wrote:
> 
> > Xi Shen <davidshen84@gmail.com> 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.

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

* Re: How to setup a development for org-mode?
  2016-06-08  7:04     ` Robert Klein
@ 2016-06-08  7:40       ` Xi Shen
  0 siblings, 0 replies; 5+ messages in thread
From: Xi Shen @ 2016-06-08  7:40 UTC (permalink / raw)
  To: Robert Klein; +Cc: emacs-orgmode, Rasmus

[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]

I found the minimal-org trick works for me.


On Wed, Jun 8, 2016 at 3:04 PM Robert Klein <roklein@roklein.de> wrote:

> Hi,
>
> On Wed, 08 Jun 2016 06:55:08 +0000
> Xi Shen <davidshen84@gmail.com> 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 <rasmus@gmx.us> wrote:
> >
> > > Xi Shen <davidshen84@gmail.com> 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.

[-- Attachment #2: Type: text/html, Size: 2299 bytes --]

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

end of thread, other threads:[~2016-06-08  7:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-08  3:55 How to setup a development for org-mode? Xi Shen
2016-06-08  6:40 ` Rasmus
2016-06-08  6:55   ` Xi Shen
2016-06-08  7:04     ` Robert Klein
2016-06-08  7:40       ` Xi Shen

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