emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: lisp error on user error [9.3.6 (9.3.6-43-gc77edd-elpa @ /home/minshall/.emacs.d/elpa/org-20200413/)]
@ 2020-04-24 21:57 Greg Minshall
  2020-05-24 14:10 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Minshall @ 2020-04-24 21:57 UTC (permalink / raw)
  To: emacs-orgmode

hi.  the following example should possibly result in an error message,
but actually causes a lisp error/backtrace.  i have a code block with
":results vertatim :colnames yes", and am returning a simple character
string (so, no headers -- tsk, tsk, a user error).  this happens with
'emacs -Q'.  if either the ":results verbatim" or the ":colnames yes" is
left out, i get no error.  below is a sample file.  cheers.

Emacs  : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10)
 of 2019-08-29
Package: Org mode version 9.3.6 (9.3.6-43-gc77edd-elpa @ /home/minshall/.emacs.d/elpa/org-20200413/)

----
evaluating the R code block gives an error in lisp code

#+name: getRenabled
#+BEGIN_SRC elisp
  (progn
    (setq debug-on-error t)
    (org-babel-do-load-languages
     'org-babel-load-languages
     '((R . t)))
    1)
#+END_SRC

#+begin_src R :var first=getRenabled :results verbatim :colnames yes
"that"
#+end_src


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

* Re: Bug: lisp error on user error [9.3.6 (9.3.6-43-gc77edd-elpa @ /home/minshall/.emacs.d/elpa/org-20200413/)]
  2020-04-24 21:57 Bug: lisp error on user error [9.3.6 (9.3.6-43-gc77edd-elpa @ /home/minshall/.emacs.d/elpa/org-20200413/)] Greg Minshall
@ 2020-05-24 14:10 ` Bastien
  2020-05-25 17:54   ` Greg Minshall
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2020-05-24 14:10 UTC (permalink / raw)
  To: Greg Minshall; +Cc: emacs-orgmode

Hi Greg,

Greg Minshall <minshall@umich.edu> writes:

> hi.  the following example should possibly result in an error message,
> but actually causes a lisp error/backtrace.  i have a code block with
> ":results vertatim :colnames yes", and am returning a simple character
> string (so, no headers -- tsk, tsk, a user error).  this happens with
> 'emacs -Q'.  if either the ":results verbatim" or the ":colnames yes" is
> left out, i get no error.  below is a sample file.

thanks for reporting this.  I've pushed a quick fix in master so that
it now displays an error as the output and does not choke at the user
as it did before.

Best,

-- 
 Bastien


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

* Re: Bug: lisp error on user error [9.3.6 (9.3.6-43-gc77edd-elpa @ /home/minshall/.emacs.d/elpa/org-20200413/)]
  2020-05-24 14:10 ` Bastien
@ 2020-05-25 17:54   ` Greg Minshall
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Minshall @ 2020-05-25 17:54 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Bastien,

> thanks for reporting this.  I've pushed a quick fix in master so that
> it now displays an error as the output and does not choke at the user
> as it did before.

thank you!


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

end of thread, other threads:[~2020-05-25 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 21:57 Bug: lisp error on user error [9.3.6 (9.3.6-43-gc77edd-elpa @ /home/minshall/.emacs.d/elpa/org-20200413/)] Greg Minshall
2020-05-24 14:10 ` Bastien
2020-05-25 17:54   ` Greg Minshall

Code repositories for project(s) associated with this 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).