emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Errors with current version (git pull'ed at 10:30 CET)
Date: Tue, 28 Jun 2011 16:26:46 +0200	[thread overview]
Message-ID: <80d3hyf2vt.fsf@somewhere.org> (raw)
In-Reply-To: 87ei2egldi.fsf@gnu.org

Hi Bastien,

Bastien wrote:
> "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:
>
>> Just want to report 2 errors I got with the latest version of Org-mode. I'm
>> sure (with 5 nine, ie 99.999%) that I did not change anything in my setup
>> which could explain this.
>>
>> Both errors were generated after a fresh Emacs startup.
>>
>> * First
>>
>> I try to open the file Work.org in which I had an open clock, on task "TODO
>> Organize work" (misc for project organization, etc.).
>
> Can you send a minimal .org file to help reproduce the problem?
>
>> * Second
>>
>> I try to write a mail -- this launches Org thanks to autoloads, here for
>> correctly highlighting code blocks in Gnus.
>
> This looks like a problem with Babel -- can you help narrow down the problem
> a bit more?

Very difficult to send an ECM -- otherwise, I'd have done it since this
morning -- as the errors I get are not always exactly the same.

Though, I now can tell that adding the following Org file to the list of
agenda files (and restarting Emacs) *does* make a difference, and is at least
the source of the second problem.

    Note -- This file is part of my agenda files for months, and has been
    unchanged for many, many weeks. Why it now is a problem is very obscure to
    me.

The disturbing file:

--8<---------------cut here---------------start------------->8---
#+TITLE:     Babel ECM
#+DATE:      2011-06-28
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en_US

#+LaTeX_CLASS: mcreport
#+LaTeX_CLASS_OPTIONS: [final]

#+BABEL:     :eval never :engine msosql :cmdline -S cauchy -U sa -P LpmdlP -d pfi-paiestag -n -w 700 :results output :exports both :noweb yes

* Introduction

This library is an extensible *collection of* ready-made *code blocks* for
handling common tasks.

* "Generic" Transact-SQL

** Add a column into a table

#+srcname: add-column-in-table(table, column, type, nullability)
#+begin_src sql
-- add column `$column' (if column does not exist yet)
IF NOT EXISTS (SELECT *
               FROM INFORMATION_SCHEMA.COLUMNS
               WHERE TABLE_NAME = '$table'
               AND COLUMN_NAME = '$column')
BEGIN
    ALTER TABLE $table
    ADD $column $type $nullability
END
#+end_src

--8<---------------cut here---------------end--------------->8---

Having it in org-agenda-files causes troubles, such as this other error:

--8<---------------cut here---------------start------------->8---
if: Agenda file c:/home/sva/Personal/House.org is not in `org-mode'
--8<---------------cut here---------------end--------------->8---

This error message occurred a couple of times to me, over the last few weeks.
Today, I got it many times.

I now am aware that a couple of colleagues already saw it as well. Current
workaround: restart Emacs (and, often, the problem is "solved" by itself).
Very disturbing.

Can anyone confirm my observation by adding the above file in his org-agenda
ones, and restarting Emacs?  Thanks.

Best regards,
  Seb

-- 
Sebastien Vauban

      parent reply	other threads:[~2011-06-28 14:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28  8:46 Errors with current version (git pull'ed at 10:30 CET) Sebastien Vauban
2011-06-28 13:02 ` Bastien
2011-06-28 14:19   ` Darlan Cavalcante Moreira
2011-06-28 14:26   ` Sebastien Vauban [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=80d3hyf2vt.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).