all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "File mode specification error: (user-error Empty table - created default table)"
@ 2019-03-22  2:33 William Denton
  2019-03-22 13:23 ` John Kitchin
  2019-03-22 21:02 ` Nicolas Goaziou
  0 siblings, 2 replies; 3+ messages in thread
From: William Denton @ 2019-03-22  2:33 UTC (permalink / raw)
  To: emacs-orgmode

I've updated Org from source a couple of times in the last couple of days and 
this started happening:  when I restart Emacs, I get an error saying "File mode 
specification error: (user-error Empty table - created default table)" and this 
happens:  an empty table is added!  Here's an example:

#----- begin

#+NAME: count
#+BEGIN_SRC sql :engine mysql :dbuser user :database db_name :exports results
SELECT count(*) AS foo FROM bar
#+END_SRC

|   |   |   |   |   |
|---+---+---+---+---|
|   |   |   |   |   |
#+RESULTS: count
| foo   |
|-------|
|  2782 |

#----- end

Anyone else seeing this?

Bill
--
William Denton :: Toronto, Canada   ---   Listening to Art: https://listeningtoart.org/
https://www.miskatonic.org/         ---   GHG.EARTH: https://ghg.earth/
Caveat lector.                      ---   STAPLR: http://staplr.org/

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

* Re: "File mode specification error: (user-error Empty table - created default table)"
  2019-03-22  2:33 "File mode specification error: (user-error Empty table - created default table)" William Denton
@ 2019-03-22 13:23 ` John Kitchin
  2019-03-22 21:02 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: John Kitchin @ 2019-03-22 13:23 UTC (permalink / raw)
  To: William Denton; +Cc: org-mode-email

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

I saw something like this recently in a little different context. In the
output of a babel block I saw the empty table get inserted around the
results. It only happened in one file, and I didn't notice if there was a
user-error.  I can't reproduce it at the moment, and didn't spend any time
tracking it down. If I see it again I will see if I can track anything
down.

I am using Org mode version 9.2.1 (9.2.1-23-g126a37-elpaplus @
/Users/jkitchin/vc/jkitchin-github/scimax/elpa/org-plus-contrib-20190218/)

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Thu, Mar 21, 2019 at 10:47 PM William Denton <wtd@pobox.com> wrote:

> I've updated Org from source a couple of times in the last couple of days
> and
> this started happening:  when I restart Emacs, I get an error saying "File
> mode
> specification error: (user-error Empty table - created default table)" and
> this
> happens:  an empty table is added!  Here's an example:
>
> #----- begin
>
> #+NAME: count
> #+BEGIN_SRC sql :engine mysql :dbuser user :database db_name :exports
> results
> SELECT count(*) AS foo FROM bar
> #+END_SRC
>
> |   |   |   |   |   |
> |---+---+---+---+---|
> |   |   |   |   |   |
> #+RESULTS: count
> | foo   |
> |-------|
> |  2782 |
>
> #----- end
>
> Anyone else seeing this?
>
> Bill
> --
> William Denton :: Toronto, Canada   ---   Listening to Art:
> https://listeningtoart.org/
> https://www.miskatonic.org/         ---   GHG.EARTH: https://ghg.earth/
> Caveat lector.                      ---   STAPLR: http://staplr.org/
>
>

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

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

* Re: "File mode specification error: (user-error Empty table - created default table)"
  2019-03-22  2:33 "File mode specification error: (user-error Empty table - created default table)" William Denton
  2019-03-22 13:23 ` John Kitchin
@ 2019-03-22 21:02 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2019-03-22 21:02 UTC (permalink / raw)
  To: William Denton; +Cc: emacs-orgmode

Hello,

William Denton <wtd@pobox.com> writes:

> I've updated Org from source a couple of times in the last couple of days and 
> this started happening:  when I restart Emacs, I get an error saying "File mode 
> specification error: (user-error Empty table - created default table)" and this 
> happens:  an empty table is added!  Here's an example:

You may want to start Emacs with --debug-on-init flag, and report the
backtrace here.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2019-03-22 21:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-22  2:33 "File mode specification error: (user-error Empty table - created default table)" William Denton
2019-03-22 13:23 ` John Kitchin
2019-03-22 21:02 ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.