Re: [O] Org-Mode Reference Card bug

2013-03-02 Thread Bastien
Hi Nick,

Nick Dokos nicholas.do...@hp.com writes:

 However, the formula without the @ in front of III *also* works in this
 case.  I don't know whether that's an accident or intended behavior.

FWIW, I don't know neither... maybe Carsten can tell.

-- 
 Bastien



Re: [O] Org-Mode Reference Card bug

2013-02-28 Thread Sebastien Vauban
Hello Frank and Nick,

Nick Dokos wrote:
 Frank Mueller fm.em...@web.de wrote:

 Just a remark to the Org-Mode Reference Card
 (http://orgmode.org/orgcard.pdf).
 
 There is a little bug in the spreadsheet description.
 
 wrong:
 sum from 2nd to 3rd hline |:=vsum(@II..@III)|
 
 correct:
 sum from 2nd to 3rd hline |:=vsum(@II..III)|
 
 The second at symbol must be deleted for correct working.

 Why do you think so?

I second Nick: your proposition is wrong; it can't work like that.

Now, maybe you're hit by a feature here: when setting
`org-hide-emphasis-markers' to t, some `@' disappear from the formula (as you
see them, while they're there: enable visible-mode and check it!).

Is this what happens to you?

That's a feature...

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Org-Mode Reference Card bug

2013-02-28 Thread Bastien
Hi Sébastien,

Sebastien Vauban
wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes:

 Now, maybe you're hit by a feature here: when setting
 `org-hide-emphasis-markers' to t, some `@' disappear from the formula (as you
 see them, while they're there: enable visible-mode and check it!).

Why would @ disappear with `org-hide-emphasis-markers' set to t?

-- 
 Bastien



Re: [O] Org-Mode Reference Card bug

2013-02-28 Thread Sebastien Vauban
Bastien,

Bastien wrote:
 Sebastien Vauban writes:

 Now, maybe you're hit by a feature here: when setting
 `org-hide-emphasis-markers' to t, some `@' disappear from the formula (as
 you see them, while they're there: enable visible-mode and check it!).

 Why would @ disappear with `org-hide-emphasis-markers' set to t?

They should not visually disappear, but they do.

Consider the following formula line:

|---+---|
|   |   |
|---+---|
#+TBLFM: @1$1=vsum(@-I..@-II)

It becomes this:

#+TBLFM: 1$1=vsum(-I..@-II)
 ^^

when `org-hide-emphasis-markers' is turned on.

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Org-Mode Reference Card bug

2013-02-28 Thread Bastien


Sebastien Vauban
wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes:

 They should not visually disappear, but they do.

No... chances are that it comes from your configuration.
Please always assume it does first, then provide a recipe
if it's with emacs -Q.  Thanks!

-- 
 Bastien




Re: [O] Org-Mode Reference Card bug

2013-02-28 Thread Nick Dokos
Sebastien Vauban wxhgmqzgw...@spammotel.com wrote:

 Hello Frank and Nick,
 
 Nick Dokos wrote:
  Frank Mueller fm.em...@web.de wrote:
 
  Just a remark to the Org-Mode Reference Card
  (http://orgmode.org/orgcard.pdf).
  
  There is a little bug in the spreadsheet description.
  
  wrong:
  sum from 2nd to 3rd hline |:=vsum(@II..@III)|
  
  correct:
  sum from 2nd to 3rd hline |:=vsum(@II..III)|
  
  The second at symbol must be deleted for correct working.
 
  Why do you think so?
 
 I second Nick: your proposition is wrong; it can't work like that.
 

I heard from Frank privately: there was another error in the formula and
he thought he had to get rid of the second @ to make it work. That's not
correct: the @III form works fine

However, the formula without the @ in front of III *also* works in this
case.  I don't know whether that's an accident or intended behavior.

Nick

 Now, maybe you're hit by a feature here: when setting
 `org-hide-emphasis-markers' to t, some `@' disappear from the formula (as you
 see them, while they're there: enable visible-mode and check it!).
 
 Is this what happens to you?

 That's a feature...
 
 Best regards,
   Seb
 
 -- 
 Sebastien Vauban
 
 



Re: [O] Org-Mode Reference Card bug

2013-02-28 Thread Sebastien Vauban
Bastien,

Bastien wrote:
 Sebastien Vauban writes:
 They should not visually disappear, but they do.

 No... chances are that it comes from your configuration. Please always
 assume it does first, then provide a recipe if it's with emacs -Q. Thanks!

Yes, it does. I still had the following code, from when `@' was unofficially
supported in Beamer to render alert calls:

--8---cut here---start-8---
  (defface my/org-alert-face
'((t (:weight bold :foreground black :foreground #FF)))
Face used to display alert'ed items.)

  (add-to-list 'org-emphasis-alist
   '(@ my/org-alert-face span class=\alert\ /span))

  (add-to-list 'org-export-latex-emphasis-alist
   '(@ \\alert{%s} nil))
--8---cut here---end---8---

Without that, the problem disappears.

Sorry for the noise.

Best regards,
  Seb

-- 
Sebastien Vauban




[O] Org-Mode Reference Card bug

2013-02-27 Thread Frank Mueller
Just a remark to the Org-Mode Reference Card (http://orgmode.org/orgcard.pdf).
There is a little bug in the spreadsheet description.
wrong:sum from 2nd to 3rd hline :=vsum(@II..@III)
correct:sum from 2nd to 3rd hline :=vsum(@II..III)
The second at symbol must be deleted for correct working.
Regards,-frank




Re: [O] Org-Mode Reference Card bug

2013-02-27 Thread Nick Dokos
Frank Mueller fm.em...@web.de wrote:

 Just a remark to the Org-Mode Reference Card (http://orgmode.org/orgcard.pdf).
 
 There is a little bug in the spreadsheet description.
 
 wrong:
 sum from 2nd to 3rd hline |:=vsum(@II..@III)|
 
 correct:
 sum from 2nd to 3rd hline |:=vsum(@II..III)|
 
 The second at symbol must be deleted for correct working.
 

Why do you think so?

Nick