Re: [O] Problems with org-bibtex

2013-11-21 Thread Sean O'Halpin
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 marvin...@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



Re: [O] Problems with org-bibtex

2013-11-21 Thread Christopher Witte
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.ohal...@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 marvin...@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




Re: [O] Problems with org-bibtex

2013-11-21 Thread Jambunathan K
Marvin Doyley marvin...@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.



Re: [O] Problems with org-bibtex

2013-11-21 Thread Marvin Doyley
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 marvin...@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 ch...@witte.net.auwrote:

 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.ohal...@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 marvin...@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






Re: [O] Problems with org-bibtex

2013-11-21 Thread Marvin Doyley
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 ch...@witte.net.auwrote:

 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.ohal...@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 marvin...@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





Re: [O] Problems with org-bibtex

2013-11-21 Thread Nick Dokos
Marvin Doyley marvin...@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 marvin...@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




[O] Problems with org-bibtex

2013-11-20 Thread Marvin Doyley
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


Re: [O] Problems with org-bibtex

2013-11-20 Thread Marvin Doyley
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 kjambunat...@gmail.comwrote:

 Marvin Doyley marvin...@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.