emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problems with org-bibtex
@ 2013-11-21  3:55 Marvin Doyley
  2013-11-21  4:00 ` Jambunathan K
  2013-11-21  8:25 ` Sean O'Halpin
  0 siblings, 2 replies; 8+ messages in thread
From: Marvin Doyley @ 2013-11-21  3:55 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi there,

I have decided to give org-bibtex a try. I have loaded it in my .emacs
file, but whenever I copy a bibtex entry and try to use org-bibtex-yank I
get the following error

Symbol's function definition is void: bibtex-beginning-of-entry

Could someone tell me what this mean and how to fix it.

Thanks
M

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

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

* Re: Problems with org-bibtex
  2013-11-21  3:55 Problems with org-bibtex Marvin Doyley
@ 2013-11-21  4:00 ` Jambunathan K
  2013-11-21  4:09   ` Marvin Doyley
  2013-11-21  8:25 ` Sean O'Halpin
  1 sibling, 1 reply; 8+ messages in thread
From: Jambunathan K @ 2013-11-21  4:00 UTC (permalink / raw)
  To: Marvin Doyley; +Cc: emacs-orgmode

Marvin Doyley <marvinpas@gmail.com> writes:

> Symbol's function definition is void: bibtex-beginning-of-entry

Whenever you get an error, do

    M-x toggle-debug-on-error

and post the *Backtrace* buffer.

I am still surprised why (even) regulars in this list fail to do it.

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

* Re: Problems with org-bibtex
  2013-11-21  4:00 ` Jambunathan K
@ 2013-11-21  4:09   ` Marvin Doyley
  0 siblings, 0 replies; 8+ messages in thread
From: Marvin Doyley @ 2013-11-21  4:09 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode

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

Sorry about that, I agree I should know better.

Here is the Backtrace that I got,
Cheers,
M

Debugger entered--Lisp error: (void-function bibtex-beginning-of-entry)
  bibtex-beginning-of-entry()
  org-bibtex-read()
  org-bibtex-yank()
  call-interactively(org-bibtex-yank record nil)
  command-execute(org-bibtex-yank record)
  (progn (setq prefix-arg current-prefix-arg) (setq this-command
chosen-item) (command-execute chosen-item (quote record)))
  (unwind-protect (progn (setq prefix-arg current-prefix-arg) (setq
this-command chosen-item) (command-execute chosen-item (quote record)))
(smex-rank chosen-item) (smex-show-key-advice chosen-item) (run-at-time
0.01 nil (function (lambda (cmd) (setq last-repeatable-command cmd)))
chosen-item))
  (if smex-custom-action (let ((action smex-custom-action)) (setq
smex-custom-action nil) (funcall action chosen-item)) (unwind-protect
(progn (setq prefix-arg current-prefix-arg) (setq this-command chosen-item)
(command-execute chosen-item (quote record))) (smex-rank chosen-item)
(smex-show-key-advice chosen-item) (run-at-time 0.01 nil (function (lambda
(cmd) (setq last-repeatable-command cmd))) chosen-item)))
  (let ((chosen-item (intern (smex-completing-read commands
initial-input)))) (if smex-custom-action (let ((action smex-custom-action))
(setq smex-custom-action nil) (funcall action chosen-item)) (unwind-protect
(progn (setq prefix-arg current-prefix-arg) (setq this-command chosen-item)
(command-execute chosen-item (quote record))) (smex-rank chosen-item)
(smex-show-key-advice chosen-item) (run-at-time 0.01 nil (function (lambda
(cmd) (setq last-repeatable-command cmd))) chosen-item))))
  smex-read-and-run(("toggle-debug-on-error" "org-mode" "org-capture"
"global-hl-line-mode" "load-file" "hl-sentence-mode" "text-scale-increase"
"org-bibtex-yank" "gtd" "org-bibtex-read" "org-bibtex-search"
"marv:toggle-line-spacing" "dnotes" "org-bibtex" "org-mobile-push" "notes"
"print-buffer" "ps-print-buffer" "org-bibtex-create" "org-insert-drawer"
"org-mode-reftex-search" "org-beamer-export-to-pdf"
"org-beamer-export-as-latex" "org-bibtex-import-from-file"
"org-bibtex-export-to-kill-ring" "a" "cd" "5x5" "any" "arp" "dbx" "dig"
"erc" "ert" "esv" "ftp" "gdb" "irc" "jdb" "man" "mpc" "pdb" "pwd" "rsh"
"sdb" "xdb" "yow" "calc" "diff" "dirs" ...))
  (if (smex-already-running) (smex-update-and-rerun) (and smex-auto-update
(smex-detect-new-commands) (smex-update)) (smex-read-and-run
smex-ido-cache))
  smex()
  call-interactively(smex nil nil)


On Wed, Nov 20, 2013 at 11:00 PM, Jambunathan K <kjambunathan@gmail.com>wrote:

> Marvin Doyley <marvinpas@gmail.com> writes:
>
> > Symbol's function definition is void: bibtex-beginning-of-entry
>
> Whenever you get an error, do
>
>     M-x toggle-debug-on-error
>
> and post the *Backtrace* buffer.
>
> I am still surprised why (even) regulars in this list fail to do it.
>

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

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

* Re: Problems with org-bibtex
  2013-11-21  3:55 Problems with org-bibtex Marvin Doyley
  2013-11-21  4:00 ` Jambunathan K
@ 2013-11-21  8:25 ` Sean O'Halpin
  2013-11-21 10:43   ` Christopher Witte
  1 sibling, 1 reply; 8+ messages in thread
From: Sean O'Halpin @ 2013-11-21  8:25 UTC (permalink / raw)
  To: Marvin Doyley; +Cc: emacs-orgmode

Hi,

I was just trying the same thing (prompted by the recent discussion).
It turned out I had to

#+begin_src emacs-lisp
  (bibtex-set-dialect)
#+end_src

first.

Regards,
Sean


On Thu, Nov 21, 2013 at 3:55 AM, Marvin Doyley <marvinpas@gmail.com> wrote:
> Hi there,
>
> I have decided to give org-bibtex a try. I have loaded it in my .emacs file,
> but whenever I copy a bibtex entry and try to use org-bibtex-yank I get the
> following error
>
> Symbol's function definition is void: bibtex-beginning-of-entry
>
> Could someone tell me what this mean and how to fix it.
>
> Thanks
> M

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

* Re: Problems with org-bibtex
  2013-11-21  8:25 ` Sean O'Halpin
@ 2013-11-21 10:43   ` Christopher Witte
  2013-11-21 15:12     ` Marvin Doyley
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Witte @ 2013-11-21 10:43 UTC (permalink / raw)
  To: Sean O'Halpin; +Cc: Marvin Doyley, emacs-orgmode

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

I have found that opening a (any) bibtex file fixes this for the session. I
have no idea why though.

Chris.


On 21 November 2013 09:25, Sean O'Halpin <sean.ohalpin@gmail.com> wrote:

> Hi,
>
> I was just trying the same thing (prompted by the recent discussion).
> It turned out I had to
>
> #+begin_src emacs-lisp
>   (bibtex-set-dialect)
> #+end_src
>
> first.
>
> Regards,
> Sean
>
>
> On Thu, Nov 21, 2013 at 3:55 AM, Marvin Doyley <marvinpas@gmail.com>
> wrote:
> > Hi there,
> >
> > I have decided to give org-bibtex a try. I have loaded it in my .emacs
> file,
> > but whenever I copy a bibtex entry and try to use org-bibtex-yank I get
> the
> > following error
> >
> > Symbol's function definition is void: bibtex-beginning-of-entry
> >
> > Could someone tell me what this mean and how to fix it.
> >
> > Thanks
> > M
>
>

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

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

* Re: Problems with org-bibtex
  2013-11-21 10:43   ` Christopher Witte
@ 2013-11-21 15:12     ` Marvin Doyley
  2013-11-21 15:35       ` Nick Dokos
  2013-11-21 16:00       ` Marvin Doyley
  0 siblings, 2 replies; 8+ messages in thread
From: Marvin Doyley @ 2013-11-21 15:12 UTC (permalink / raw)
  To: Christopher Witte; +Cc: emacs-orgmode

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

Hi Chris,
That didn't work either.

When I did
#+begin_src emacs-lisp
  (bibtex-set-dialect)
#+end_src

I got the following error
Debugger entered--Lisp error: (void-function bibtex-set-dialect)
  (bibtex-set-dialect)
  (progn (bibtex-set-dialect))
  eval((progn (bibtex-set-dialect)))
  org-babel-execute:emacs-lisp("(bibtex-set-dialect)" ((:comments . "")
(:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle .
"no") (:exports . "code") (:results . "replace") (:session . "none")
(:hlines . "no") (:result-type . value) (:result-params "replace")
(:rowname-names) (:colname-names)))
  org-babel-execute-src-block(nil)
  org-babel-execute-src-block-maybe()
  org-babel-execute-maybe()
  org-babel-execute-safely-maybe()
  run-hook-with-args-until-success(org-babel-execute-safely-maybe)
  org-ctrl-c-ctrl-c(nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)



On Thu, Nov 21, 2013 at 5:43 AM, Christopher Witte <chris@witte.net.au>wrote:

> I have found that opening a (any) bibtex file fixes this for the session.
> I have no idea why though.
>
> Chris.
>
>
> On 21 November 2013 09:25, Sean O'Halpin <sean.ohalpin@gmail.com> wrote:
>
>> Hi,
>>
>> I was just trying the same thing (prompted by the recent discussion).
>> It turned out I had to
>>
>> #+begin_src emacs-lisp
>>   (bibtex-set-dialect)
>> #+end_src
>>
>> first.
>>
>> Regards,
>> Sean
>>
>>
>> On Thu, Nov 21, 2013 at 3:55 AM, Marvin Doyley <marvinpas@gmail.com>
>> wrote:
>> > Hi there,
>> >
>> > I have decided to give org-bibtex a try. I have loaded it in my .emacs
>> file,
>> > but whenever I copy a bibtex entry and try to use org-bibtex-yank I get
>> the
>> > following error
>> >
>> > Symbol's function definition is void: bibtex-beginning-of-entry
>> >
>> > Could someone tell me what this mean and how to fix it.
>> >
>> > Thanks
>> > M
>>
>>
>

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

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

* Re: Problems with org-bibtex
  2013-11-21 15:12     ` Marvin Doyley
@ 2013-11-21 15:35       ` Nick Dokos
  2013-11-21 16:00       ` Marvin Doyley
  1 sibling, 0 replies; 8+ messages in thread
From: Nick Dokos @ 2013-11-21 15:35 UTC (permalink / raw)
  To: emacs-orgmode

Marvin Doyley <marvinpas@gmail.com> writes:

> Hi Chris,
> That didn't work either.
>
> When I did
> #+begin_src emacs-lisp
>   (bibtex-set-dialect)
> #+end_src
>
> I got the following error
> Debugger entered--Lisp error: (void-function bibtex-set-dialect)
>   (bibtex-set-dialect)

Try
        (require 'bibtex)

That should have been done automatically (e.g. when you load org-bibtex) but it seems to
not have been, for unknown reasons.

Nick


>         On Thu, Nov 21, 2013 at 3:55 AM, Marvin Doyley <marvinpas@gmail.com> wrote:
>         > Hi there,
>         >
>         > I have decided to give org-bibtex a try. I have loaded it in my .emacs file,
>         > but whenever I copy a bibtex entry and try to use org-bibtex-yank I get the
>         > following error
>         >
>         > Symbol's function definition is void: bibtex-beginning-of-entry
>         >
>         > Could someone tell me what this mean and how to fix it.
>         >
>         > Thanks
>         > M

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

* Re: Problems with org-bibtex
  2013-11-21 15:12     ` Marvin Doyley
  2013-11-21 15:35       ` Nick Dokos
@ 2013-11-21 16:00       ` Marvin Doyley
  1 sibling, 0 replies; 8+ messages in thread
From: Marvin Doyley @ 2013-11-21 16:00 UTC (permalink / raw)
  To: Christopher Witte; +Cc: emacs-orgmode

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

Hi there,

I found the bug.

It turned out that an old copy of bibtex.el was the culprit, deleting this
fixed  the problem.
Thanks again for all your help.
Cheers,
M


On Thu, Nov 21, 2013 at 10:12 AM, Marvin Doyley <marvinpas@gmail.com> wrote:

> Hi Chris,
> That didn't work either.
>
> When I did
> #+begin_src emacs-lisp
>   (bibtex-set-dialect)
> #+end_src
>
> I got the following error
> Debugger entered--Lisp error: (void-function bibtex-set-dialect)
>   (bibtex-set-dialect)
>   (progn (bibtex-set-dialect))
>   eval((progn (bibtex-set-dialect)))
>   org-babel-execute:emacs-lisp("(bibtex-set-dialect)" ((:comments . "")
> (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle .
> "no") (:exports . "code") (:results . "replace") (:session . "none")
> (:hlines . "no") (:result-type . value) (:result-params "replace")
> (:rowname-names) (:colname-names)))
>   org-babel-execute-src-block(nil)
>   org-babel-execute-src-block-maybe()
>   org-babel-execute-maybe()
>   org-babel-execute-safely-maybe()
>   run-hook-with-args-until-success(org-babel-execute-safely-maybe)
>   org-ctrl-c-ctrl-c(nil)
>   call-interactively(org-ctrl-c-ctrl-c nil nil)
>
>
>
> On Thu, Nov 21, 2013 at 5:43 AM, Christopher Witte <chris@witte.net.au>wrote:
>
>> I have found that opening a (any) bibtex file fixes this for the session.
>> I have no idea why though.
>>
>> Chris.
>>
>>
>> On 21 November 2013 09:25, Sean O'Halpin <sean.ohalpin@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I was just trying the same thing (prompted by the recent discussion).
>>> It turned out I had to
>>>
>>> #+begin_src emacs-lisp
>>>   (bibtex-set-dialect)
>>> #+end_src
>>>
>>> first.
>>>
>>> Regards,
>>> Sean
>>>
>>>
>>> On Thu, Nov 21, 2013 at 3:55 AM, Marvin Doyley <marvinpas@gmail.com>
>>> wrote:
>>> > Hi there,
>>> >
>>> > I have decided to give org-bibtex a try. I have loaded it in my .emacs
>>> file,
>>> > but whenever I copy a bibtex entry and try to use org-bibtex-yank I
>>> get the
>>> > following error
>>> >
>>> > Symbol's function definition is void: bibtex-beginning-of-entry
>>> >
>>> > Could someone tell me what this mean and how to fix it.
>>> >
>>> > Thanks
>>> > M
>>>
>>>
>>
>

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

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

end of thread, other threads:[~2013-11-21 16:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-21  3:55 Problems with org-bibtex Marvin Doyley
2013-11-21  4:00 ` Jambunathan K
2013-11-21  4:09   ` Marvin Doyley
2013-11-21  8:25 ` Sean O'Halpin
2013-11-21 10:43   ` Christopher Witte
2013-11-21 15:12     ` Marvin Doyley
2013-11-21 15:35       ` Nick Dokos
2013-11-21 16:00       ` Marvin Doyley

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