Re: [O] Long table with NAME but no CAPTION

2014-11-19 Thread Eric S Fraga
On Tuesday, 18 Nov 2014 at 22:28, Nicolas Goaziou wrote:
 Hello,

 presn...@member.fsf.org writes:

[...]

 One more minor comment: I notice that org-mode's latex export puts the
 \label{} inside the argument of the \caption{} command.  This seems
 unusual to me.

 It isn't wrong, though.

and in fact is common practice!

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-558-g83d8a2



Re: [O] clock gone error, fixing it issues, and K does not clock out

2014-11-19 Thread Eric S Fraga
On Tuesday, 18 Nov 2014 at 20:01, Samuel Wales wrote:
 maint.

 when i am clocking something, when i clock out, it says byte-code:
 Clock start time is gone.

[...]

 i'm kind of amazed that heavy clockers haven't been all over these
 issues on the list before.  is it just me?

Maybe just you?  What version of org are you using?  How are you
clocking out?

I use clocking a lot and my only problems are due to my errors, not
org's!
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-558-g83d8a2



[O] Problem with links whose description looks like a link

2014-11-19 Thread Daniel Bausch
Hi!

I'm using Org from Git master.  If I have a link like, e.g.

[[file:somefile.c::int whatsoever][file:somefile.c::int whatsoever]]

and a a file somefile.c with the lines

int some;
int whatsoever;

then opening the link with the cursor before the space jumps to the
first line, while opening the link on the word whatsoever jumps to the
second line.  It seems like Org detects a link within the link as if the
brackets were missing.

This also happens if the link looks (non-sensically) like the following

[[file:somefile.c::int whatsoever][file:someotherfile.txt]]

.  Then it would try to open someotherfile.txt instead of somefile.c.

In contrast, using

[[file:somefile.c::int whatsoever]]

works works as expected, i.e. it jumps to the second line.

Regards,
Daniel
-- 
MSc. Daniel Bausch
Research Assistant (Computer Science)
Technische Universität Darmstadt
http://www.dvs.tu-darmstadt.de/staff/dbausch




Re: [O] Bug (regression) in org-replace-disputed-keys. Bisected.

2014-11-19 Thread Miro Bezjak
Ahh, hadn't thought of that. Thanks for the suggestion.

Regards,
Miro

On Tue, Nov 18, 2014 at 10:32 PM, Nicolas Goaziou
m...@nicolasgoaziou.fr wrote:
 Hello,

 Miro Bezjak bezjak.m...@gmail.com writes:

 I rather like that `org-read-date` takes over windmove keys during the
 second or two that I'm using it. By reverting this, I guess I'll have
 to copy and paste the whole `defvar` just to add
 `(org-replace-disputed-keys nil)`.

 I fail to see why you would need to copy the whole defvar. Just override
 the bindings you need with

   (define-key org-read-date-minibuffer-local-map ...)


 Regards,

 --
 Nicolas Goaziou



Re: [O] Undocumented command: org-table-blank-field (C-c SPC)

2014-11-19 Thread Rasmus
Vicente Vera vicente...@gmail.com writes:

 Hello. I was browsing Emacs StackExchange and found this question:
 https://emacs.stackexchange.com/questions/15/how-to-clear-a-cell-in-an-org-mode-table.
 One of the answers mentions the org-table-blank-field command and that
 For some reason it's missing from the manual.. I'm using Org
 release_8.3beta-580-g787733 and yes, it is not mentioned in the Tables
 section, nor in the indexes.
 It might be a good idea to document this.

I have no opinion about this.

 I would do it myself but haven't got my head around submiting patches,

It's pretty easy and everyone on the list is eager to help.

 http://orgmode.org/worg/org-contribute.html

 filling papers (although is not always necessary?), 

My understanding is that you can submit around 10 lines of change as
TINYPATCHes.

The paperwork is not particularly demanding either (depending on your
country the only hard part might be sending a snail-mail).

 but I might, if nobody has the time. I don't want this message to be
 understood as a demand.

OK.

—Rasmus

-- 
Together we will make the possible totay impossible!




[O] emacs 24.4 on windows doesn't load elpa version of org-mode

2014-11-19 Thread Gerhard
Hi, I use Emacs on Win 7 Professional. The versions are
GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN
Org-mode version 8.2.10 (8.2.10-18-g59111b-elpaplus @
c:/Users/Gerhard/AppData/Roaming/.emacs.d/elpa/org-plus-contrib-20141117/)

I saw that emacs 24.4 for windows is available
(emacs-24.4-bin-i686-pc-mingw32.zip) but when I start it and check the
versions, I see the following
GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570
Org-mode version 8.2.10 (release_8.2.10 @
c:/bin_portable/emacs-24.4-bin-i686-pc-mingw32/share/emacs/24.4/lisp/org/)

I did not change anything in my configuration file. Why does emacs 24.4
not load the elpa version of org-mode?



Re: [O] org for screenwriting

2014-11-19 Thread Paul Rankin
Rustom Mody rustompmody at gmail.com writes:

 
 HiI vaguely remember something about orgmode for screenwriting.Something like 
http://fountain.io/ for org available?Rusi-- 
http://www.the-magus.inhttp://blog.languager.org

Fountain mode now integrates outline mode and org-like visibility cycling.

Available via MELPA and MELPA-stable.




Re: [O] org-mode pretty entities has \perp but not \parallel

2014-11-19 Thread Rasmus
Brady Trainor algeb...@uw.edu writes:

 I think they are not the same.  I'd use $\|x\|_2$ for a norm, say.
 Parallel is a relation: $a\parallel b$.

 Ah yes. Now this \| makes more sense. 

Great! 

 If you want to go all in, which is a lot of fun, you have to submit a
 TINY PATCH:

  http://orgmode.org/worg/org-contribute.html
 
 Yes please do submit when you have the time, though I will try to get
 closer to being setup for this when I can. (E.g., I'm currently on
 Elpa Org-mode... and my commits are mostly linear for personal files.)

Pushed.

My work Org (is /usr/share/emacs/site-lisp) is different from my
develop Org checkout (in ~/src/org-mode), though both are based on
master.

Feel free to come back and contribute some more later!

—Rasmus

-- 
Bang bang



[O] [Prelim. patch] extend org-meta-return to keywords

2014-11-19 Thread Rasmus
Hi,

Something I have wanted for a while is to have M-RET work as
expected(?)  on keyword lines such as #+LATEX_HEADER, #+CAPTION etc.

An animation to illustrate, where '|' is point:

#+CAPTION: this is a |long caption

#   click M-RET ⇒ 

#+CAPTION: this is a 
#+CAPTION: |long caption

Would anyone else like this?

Attached is a quick patch that works surprisingly well.  I would work
more on it if you guys agree this would be useful.  It probably need
much more work for corner-cases (any ideas what these are)?

Thanks,
Rasmus

-- 
When the facts change, I change my mind. What do you do, sir?
From 60a9cefcc2997cc53a448d1c57ca71935ea6426f Mon Sep 17 00:00:00 2001
From: rasmus ras...@gmx.us
Date: Wed, 19 Nov 2014 15:39:19 +0100
Subject: [PATCH] org.el: Add keyword-support to M-RET

* org.el (org-insert-keyword): New function.
(org-meta-return): May call `org-insert-keyword'.
---
 lisp/org.el | 25 +++--
 1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index dbd2cb7..627c409 100755
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -21286,6 +21286,18 @@ number of stars to add.
 	   (forward-line)))
 (unless toggled (message Cannot toggle heading from here
 
+(defun org-insert-keyword (optional arg)
+  Insert a new keyword at point.
+
+ARG may be used to specify a keyword.  Otherwise the keyword is determined from the context.
+
+Mainly used for `org-meta-return'.
+  (interactive P)
+  (let* ((elm (org-element-at-point))
+	 (key (or arg (and (eq 'keyword (org-element-type elm))
+			   (org-element-property :key elm)
+(and key (insert (format \n#+%s:  key)
+
 (defun org-meta-return (optional arg)
   Insert a new heading or wrap a region in a table.
 Calls `org-insert-heading' or `org-table-wrap-region', depending
@@ -21298,12 +21310,13 @@ on context.  See the individual commands for more information.
 (when (eq type 'table-row)
   (setq element (org-element-property :parent element))
   (setq type 'table))
-(if (and (eq type 'table)
- (eq (org-element-property :type element) 'org)
- (= (point) (org-element-property :contents-begin element))
- ( (point) (org-element-property :contents-end element)))
-(call-interactively 'org-table-wrap-region)
-  (call-interactively 'org-insert-heading)
+(cond  ((and (eq type 'table)
+		  (eq (org-element-property :type element) 'org)
+		  (= (point) (org-element-property :contents-begin element))
+		  ( (point) (org-element-property :contents-end element)))
+		(call-interactively 'org-table-wrap-region))
+	   ((eq type 'keyword) (call-interactively 'org-insert-keyword))
+	   (t (call-interactively 'org-insert-heading))
 
 ;;; Menu entries
 
-- 
2.1.3



Re: [O] #+CALL get the first row of output table lost when using latex export

2014-11-19 Thread iemacs
#+NAME: t2
#+CALL: t1() :exports results :hlines yes
will give the right latex output,  thank you!


Kind regards,

Tian Qiu


On Mon, Nov 17, 2014 at 11:08 AM, Charles C. Berry ccbe...@ucsd.edu wrote:
 On Mon, 17 Nov 2014, iem...@gmail.com wrote:

 Thank you, Charles.  And =:colnames yes= does work here.  But the
 results are the same when I evaluate t1 and t2 with
 `org-babel-execute-maybe'.

 When I take another try, new problem seems to occur.

 The test file is:
 #+BEGIN_EXAMPLE
 #+NAME: t1
 #+BEGIN_SRC python :exports results
  return [['A'],None,[2],None,[3]]
 #+END_SRC

 #+CAPTION: T1
 #+RESULTS: t1

 #+NAME: t2
 #+CALL: t1() :exports results

 #+CAPTION: T2
 #+RESULTS: t2
 #+END_EXAMPLE

 The results of `org-babel-execute-maybe' on t1 and t2 are identical:
 #+BEGIN_SRC org
  | A |
  |---|
  | 2 |
  |---|
  | 3 |
 #+END_SRC


 Not in my world (unless you add `:hlines').

 ,
 | #+NAME: t1
 | #+BEGIN_SRC python :exports results
 |   return [['A'],None,[2],None,[3]]
 | #+END_SRC
 |
 | #+CAPTION: T1
 | #+RESULTS: t1
 | | A |
 | |---|
 | | 2 |
 | |---|
 | | 3 |
 |
 | #+NAME: t2
 | #+CALL: t1() :exports results
 |
 | #+CAPTION: T2
 | #+RESULTS: t2
 | | A |
 | | 2 |
 | | 3 |
 `


 ob-python.el seems to be doing its own thing here.

 What you see in the second instance is the usual Babel output for a table.

 In my view this is a bug in ob-python.el.

 See: (info (org) hlines) for the proper idiom.

 HTH,

 Chuck



Re: [O] Problem with links whose description looks like a link

2014-11-19 Thread Nicolas Goaziou
Hello,

Daniel Bausch bau...@dvs.tu-darmstadt.de writes:


 I'm using Org from Git master.  If I have a link like, e.g.

 [[file:somefile.c::int whatsoever][file:somefile.c::int whatsoever]]

 and a a file somefile.c with the lines

 int some;
 int whatsoever;

 then opening the link with the cursor before the space jumps to the
 first line, while opening the link on the word whatsoever jumps to the
 second line.  It seems like Org detects a link within the link as if the
 brackets were missing.

This is correct. 

Org allows plain links (e.g. file:foo.org) within bracket links. This is
the sole way to have, for example, an inline image as a link.


Regards,

-- 
Nicolas Goaziou



[O] orgmode batch publishing failure

2014-11-19 Thread henry atting
org-mode version 8.3beta (release_8.3beta-581-g0e52f0)

After updating orgmode from git batch publishing does not work anymore,
the error message says:

Autoloading failed to define function time-add

The according part of Makefile

--8---cut here---start-8---

sheet: $(HOME)/misc/horg/ledger-queries.org $(HOME)/.org_batch_publish
touch $(HOME)/misc/horg/ledger-queries.org
emacs --batch -Q -l $(HOME)/.org_batch_publish --eval '(org-publish 
org)'

--8---cut here---end---8---


.org_batch_publish

--8---cut here---start-8---
  ;; -*- mode: emacs-lisp  -*-


(let* ((my-lisp-dir ~/dummy_layer/rechner/emacs+/)
   (default-directory my-lisp-dir)
   (orig-load-path load-path))
  (setq load-path (cons my-lisp-dir nil))
  (normal-top-level-add-subdirs-to-load-path)
  (nconc load-path orig-load-path))

(require 'org)
;;setup


 (org-babel-do-load-languages 
'org-babel-load-languages
   '((emacs-lisp . t)
(dot . t)
(ditaa . t)
(awk . t)
(ledger . t)
(python . t)
(shell . t)
(gnuplot . t)
(latex . t)))
  

;; I don't want to be prompted on every code block evaluation
(setq org-confirm-babel-evaluate nil)

 (setq 
 org-export-allow-BIND t
 org-export-creator-info nil
 org-html-creator-string 
 org-html-date-format-string %d/%m/%Y %R
 org-html-postamble nil)


 (setq org-publish-project-alist
   '((org
  :base-directory ~/misc/horg/
  :publishing-directory ~/misc/public
  :section-numbers nil
;  :table-of-contents t
;  :html-preamble nil
  :publishing-function org-html-publish-to-html
  :style link rel=\stylesheet\ href=\../.style.css\ 
type=\text/css\/)
(org-static
 :base-directory ~/misc/horg/
 :base-extension 
css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf
 :publishing-directory ~/misc/public/
 :recursive t
 :publishing-function org-publish-attachment
 )
))


--8---cut here---end---8---




Re: [O] Orgmode links trouble with Emacs 24.4 on Windows 7: ShellExecute failed: ...

2014-11-19 Thread AW
Am Dienstag, 18. November 2014, 22:36:46 schrieb Nicolas Goaziou:
 Hello,
 
 AW alexander.will...@t-online.de writes:
  I installed Emacs 24.4 on Windows 7.
  
  Everything works, except some of my links in orgmode. They worked under
  Emacs 24.3, and they work with Emacs 24.4 under Linux.
  
  The non-working links have a certain structure: I'm using shorcuts. I have
  a file AW-org-file.el, containing lines like:
  
  (setq org-link-abbrev-alist
  '(name . //SBS2011/path/to/folder/%s))
 
 It should be
 
   (setq org-link-abbrev-alist '((name . //SBS2011/path/to/folder/%s)))
 
  The links in the org-files look like this:
  
  [[name:filename]]
  
  or
  
  [[name:./path/down/the/folder/filename.pdf]]
 
 Use
 
   M-: (org-element-property :path (org-element-context))
 
 with point on each of them. Is the path a valid (according to Windows)
 file name?
 
 
 Regards,

Hello,

yes, I did that and the path is valid, it becomes, well, say, expanded. 

Except that it contains slashes ( / ) instead of backslashes, it is exactly 
what I expected. And to be clear: the same link works with Emacs 24.3 under 
Windows 7 as well as under Linux and Emacs 24.4.

Thank you for your much appreciated help! 

Regards,

Alexander



Re: [O] emacs 24.4 on windows doesn't load elpa version of org-mode

2014-11-19 Thread Gerhard
Ista, you made me check my .emacs file again. Thanks for the hint, but
.emacs is loaded in both versions. My agenda files were set correctly.
But the lines
(require 'package)
(package-initialize)
did not work with my new emacs. Then I moved those two lines at the very
beginning of .emacs and now it works. That's enough for me at the moment
Thanks for helping.

Am 19.11.2014 um 14:13 schrieb Gerhard:
 Hi, I use Emacs on Win 7 Professional. The versions are
 GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN
 Org-mode version 8.2.10 (8.2.10-18-g59111b-elpaplus @
 c:/Users/Gerhard/AppData/Roaming/.emacs.d/elpa/org-plus-contrib-20141117/)

 I saw that emacs 24.4 for windows is available
 (emacs-24.4-bin-i686-pc-mingw32.zip) but when I start it and check the
 versions, I see the following
 GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570
 Org-mode version 8.2.10 (release_8.2.10 @
 c:/bin_portable/emacs-24.4-bin-i686-pc-mingw32/share/emacs/24.4/lisp/org/)

 I did not change anything in my configuration file. Why does emacs 24.4
 not load the elpa version of org-mode?




Re: [O] orgmode batch publishing failure

2014-11-19 Thread Nick Dokos
henry atting s...@online.de writes:

 org-mode version 8.3beta (release_8.3beta-581-g0e52f0)

 After updating orgmode from git batch publishing does not work anymore,
 the error message says:

 Autoloading failed to define function time-add

 The according part of Makefile


 sheet: $(HOME)/misc/horg/ledger-queries.org $(HOME)/.org_batch_publish
   touch $(HOME)/misc/horg/ledger-queries.org
   emacs --batch -Q -l $(HOME)/.org_batch_publish --eval '(org-publish 
 org)'


For problems like this, I try doing it without --batch. Start emacs:

emacs -Q -l $(HOME)/.org_batch_publish

turn on debug-on-error and then eval (org-publish org).

time-add is defined in time-date.el which is required by org.el, so I'm
not sure why you are getting this. The backtrace (assuming you get one)
might shed some more light.

There have been situations where I get the error with --batch but not
without. These cases are more difficult to debug unfortunately.

Nick




[O] Unexpected macro error

2014-11-19 Thread Thomas S. Dye
Aloha all,

A document I've been working on for several weeks broke recently without
changes on my part. However, I've been tracking the master git branch
every once in a while and I suspect some change in Org is the culprit.

Org-mode version 8.3beta (release_8.3beta-580-g787733 @ 
/Users/dk/.emacs.d/src/org-mode/lisp/)

I haven't tried to make an ECM because I don't know what the problem
could be.  Here is a backtrace:

Debugger entered--Lisp error: (error Undefined Org macro: ad; aborting.)
  signal(error (Undefined Org macro: ad; aborting.))
  error(Undefined Org macro: %s; aborting. ad)
  org-macro-replace-all(((author . #(Thomas S. Dye 0 13 (:parent (#(Thomas 
S. Dye 0 13 (:parent #4)) (date . \\today) (email . 
t...@tsdye.com) (title . #(Dating human dispersal in Remote Oceania: A 
view from Hawai`i 0 61 (:parent (#(Dating human dispersal in Remote Oceania: 
A view from Hawai`i 0 61 (:parent #4))) finalize)
  org-export-as(latex nil nil nil (:output-file ./dispersals.tex))
  org-export-to-file(latex ./dispersals.tex nil nil nil nil nil #[(file) 
\301!\207 [file org-latex-compile] 2])
  org-latex-export-to-pdf(nil nil nil nil)
  (org-open-file (org-latex-export-to-pdf nil s v b))
  (if a (org-latex-export-to-pdf t s v b) (org-open-file 
(org-latex-export-to-pdf nil s v b)))
  (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file 
(org-latex-export-to-pdf nil s v b(nil nil nil nil)
  org-export-dispatch(nil)
  call-interactively(org-export-dispatch nil nil)
  command-execute(org-export-dispatch)

The error message refers to a macro, ad.  I don't have an ad macro.
Where does this come from?

The next header line, after the headers that become macros, is
#+ADDRESS:, which starts with ad, although the case is different.

Also, the string ad occurs frequently in my writing as the path in a
custom link that sets the path as small caps in LaTeX output,
e.g. [[sc:ad][AD]].

You can see that I'm groping in the dark.  Any suggestions how I might
go about debugging this?

All the best,
Tom

-- 
T.S. Dye  Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com



Re: [O] How to get remember working properly?

2014-11-19 Thread Sharon Kimble
Richard Lawrence richard.lawre...@berkeley.edu writes:

 Hi Sharon,

 Sharon Kimble boudic...@skimble.plus.com writes:

 #+BEGIN_SRC emacs-lisp
 (setq org-remember-templates
 '((Todo ?t * TODO %^{Brief Description} %^g\n%?\nAdded: %U 
 ~/.emacs.d/org/remember.org Tasks)
  (Journal   ?j ** %^{Head Line} %U %^g\n%i%?  
 ~/.emacs.d/org/journal.org) 
   (Clipboard ?c ** %^{Head Line} %U %^g\n%c\n%?  
 ~/.emacs.d/org/remember.org)
   (Receipt   ?r ** %^{BriefDesc} %U %^g\n%?   
 ~/.emacs.d/org/finances.org)
   (Book ?b ** %^{Book Title} %t :BOOK: 
 \n%[~/.emacs.d/.book_template.txt]\n
  ~/org/journal.org)
   (Film ?f ** %^{Film Title} %t :FILM: 
 \n%[~/.emacs.d/.film_template.txt]\n
  ~/org/journal.org)
   (Someday   ?s ** %^{Someday Heading} %U\n%?\n  
 ~/.emacs.d/org/someday.org)
   (Private ?p \n* %^{topic} %T \n%i%?\n 
 ~/.emacs.d/org/privnotes.org)
   (Contact ?o \n* %^{Name} :CONTACT:\n% ~/.emacs.d/org/contact.txt]\n
~/org/privnotes.org)
  )
)
 #+END_SRC

 With everything that I remember it shows it as, example only -

 * peace [2014-11-18 Tue 11:30] 

 i.e. headline before the date. How do I get it the other way round
 please, meaning date - headline?

 I think all you need to do here is move the %U in your templates
 before the %^{ ... } that represents where you type in the headline.

 For example, the Journal template becomes:

   (Journal   ?j ** %U %^{Head Line} %^g\n%i%?  
 ~/.emacs.d/org/journal.org) 
   
 See the section on Template Expansion in the Capture section of the
 manual for an explanation of what's going on here.

 Also you close the entry by C-c C-c which, in my case, calls
 Tags again. How can I get it working right in this case please?

 Not sure about this -- I don't use remember -- but a good place to start
 is to do C-h k C-c C-c in your capture buffer; this will tell you which
 function is bound to C-c C-c.  If it's not what you expect, the next
 step is to figure out what it should be bound to and set the appropriate
 function in the relevant keymap.

 Best,
 Richard

Thanks Richard.
You were on the ball with swapping the dates position, and that’s now
working okay.

However, the same can't be said for my C-c C-c problem. I've never
been able to get C-h anything working, so I just F1 k which has
the same effect. *Help* says -

--8---cut here---start-8---
org-ctrl-c-ctrl-c is an interactive compiled Lisp function in
`org.el'.

(org-ctrl-c-ctrl-c optional ARG)

Set tags in headline, or update according to changed information at point.

This command does many different things, depending on context:

- If a function in `org-ctrl-c-ctrl-c-hook' recognizes this location,
  this is what we do.

- If the cursor is on a statistics cookie, update it.

- If the cursor is in a headline, prompt for tags and insert them
  into the current line, aligned to `org-tags-column'.  When called
  with prefix arg, realign all tags in the current buffer.

- If the current buffer is a capture buffer, close note and file it.
--8---cut here---end---8---

which explains why it is using the tag instruction as it only works
if it is on the header part of the item. But it seems that it is not
registering my *remember* buffer as a capture buffer.

However, org-capture is working well, prefacing my timelog.org
with CAPTURE- in front, like CAPTURE-timelog.org. Maybe then it is
time to retire remember as org-capture seems to have taken over?
But that's for another post. 

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0


signature.asc
Description: PGP signature


Re: [O] Long table with NAME but no CAPTION

2014-11-19 Thread presnell

Nicolas Goaziou m...@nicolasgoaziou.fr writes:

 You can use a table filter to remove \label and \\ from longtables. See
 (info (org) Advanced configuration)

Thanks.  Just to be clear, you are suggesting a filter that would remove
\label and \\ from longtables that have no caption, but that would leave
them in for longtables that do have a caption.  Is that right?



Re: [O] orgmode batch publishing failure

2014-11-19 Thread henry atting
 henry atting s...@online.de writes:

 org-mode version 8.3beta (release_8.3beta-581-g0e52f0)

 After updating orgmode from git batch publishing does not work anymore,
 the error message says:

 Autoloading failed to define function time-add

 The according part of Makefile


 sheet: $(HOME)/misc/horg/ledger-queries.org $(HOME)/.org_batch_publish
  touch $(HOME)/misc/horg/ledger-queries.org
  emacs --batch -Q -l $(HOME)/.org_batch_publish --eval '(org-publish 
 org)'


 For problems like this, I try doing it without --batch. Start emacs:

 emacs -Q -l $(HOME)/.org_batch_publish

 turn on debug-on-error and then eval (org-publish org).

This worked flawlessly without any error...

 time-add is defined in time-date.el which is required by org.el, so I'm
 not sure why you are getting this. The backtrace (assuming you get one)
 might shed some more light.

 There have been situations where I get the error with --batch but not
 without. These cases are more difficult to debug unfortunately.


I could not track down the exact cause of this misbehaviour but I did
assume that it had something to with my migration from emacs 24* to 25*,
most probably some wrong lisp/etc directories. I removed everything and
built emacs anew, now it works again as expected.

 Nick

Thanks,
henry

  




Re: [O] Org-edu-HTML

2014-11-19 Thread Samuel Loury
Hi,
Marcin Borkowski mb...@wmi.amu.edu.pl writes:

 as I mentioned some time ago, I started working on a custom exporter
 from Org to HTML for educational materials.  My vision is that there
 will be (some kind) of syntax in Org (most probably, I'm going to
 (ab)use the existing syntax) for specifying various kinds of exercises.

I really like the idea.

Unfortunately, I don't have any use of this library for now. I hope that
when I will, the project will still be alive :-)!

Best regards,
-- 
Konubinix
GPG Key: 7439106A
Fingerprint: 5993 BE7A DA65 E2D9 06CE  5C36 75D2 3CED 7439 106A


signature.asc
Description: PGP signature


Re: [O] Long table with NAME but no CAPTION

2014-11-19 Thread Nicolas Goaziou
presn...@member.fsf.org writes:

 Nicolas Goaziou m...@nicolasgoaziou.fr writes:

 You can use a table filter to remove \label and \\ from longtables. See
 (info (org) Advanced configuration)

 Thanks.  Just to be clear, you are suggesting a filter that would remove
 \label and \\ from longtables that have no caption, but that would leave
 them in for longtables that do have a caption.  Is that right?

Correct.


Regards,



Re: [O] How to get remember working properly?

2014-11-19 Thread Nick Dokos
Sharon Kimble boudic...@skimble.plus.com writes:

 ...

 However, org-capture is working well, prefacing my timelog.org
 with CAPTURE- in front, like CAPTURE-timelog.org. Maybe then it is
 time to retire remember as org-capture seems to have taken over?
 But that's for another post. 


As I said before, org-remember is obsolete.

   http://thread.gmane.org/gmane.emacs.orgmode/92509/focus=92522





Re: [O] Org-edu-HTML

2014-11-19 Thread Grant Rettke
Project sounds great. Looked for something like this with LaTeX long
ago; this looks like the modern solution.

On Wed, Nov 19, 2014 at 2:19 PM, Samuel Loury konubi...@gmail.com wrote:
 Hi,
 Marcin Borkowski mb...@wmi.amu.edu.pl writes:

 as I mentioned some time ago, I started working on a custom exporter
 from Org to HTML for educational materials.  My vision is that there
 will be (some kind) of syntax in Org (most probably, I'm going to
 (ab)use the existing syntax) for specifying various kinds of exercises.

 I really like the idea.

 Unfortunately, I don't have any use of this library for now. I hope that
 when I will, the project will still be alive :-)!

 Best regards,
 --
 Konubinix
 GPG Key: 7439106A
 Fingerprint: 5993 BE7A DA65 E2D9 06CE  5C36 75D2 3CED 7439 106A



-- 
Grant Rettke
g...@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson



Re: [O] clock gone error, fixing it issues, and K does not clock out

2014-11-19 Thread Samuel Wales
On 11/19/14, Eric S Fraga e.fr...@ucl.ac.uk wrote:
 Maybe just you?  What version of org are you using?  How are you
 clocking out?

maint.  c-c c-x c-o.

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.



Re: [O] Problem with links whose description looks like a link

2014-11-19 Thread Daniel Bausch
Hello and thanks for the answer!

Nicolas Goaziou m...@nicolasgoaziou.fr writes:

 Daniel Bausch bau...@dvs.tu-darmstadt.de writes:

 I'm using Org from Git master.  If I have a link like, e.g.

 [[file:somefile.c::int whatsoever][file:somefile.c::int whatsoever]]

 and a a file somefile.c with the lines

 int some;
 int whatsoever;

 then opening the link with the cursor before the space jumps to the
 first line, while opening the link on the word whatsoever jumps to the
 second line.  It seems like Org detects a link within the link as if the
 brackets were missing.

 This is correct. 

 Org allows plain links (e.g. file:foo.org) within bracket links. This is
 the sole way to have, for example, an inline image as a link.

Hmm, ok, I understand the intention regarding the detection and display
of inline images as part of a link description; however, even for inline
images following the link jumps to the target of the outer link and not
the image itself -- as long as inline images are toggled on.  Without
showing inline images following the link opens the image regardless of
the original link target.

I think that the effective target of a link should never be affected by
its description.  Even fontification and mouse hovering info thinks that
the link still targets at its target, i.e. when hovering over the link
the whole link gets highlighted and not just the inner one and the
tooltip shows the whole target of the outer link, while clicking jumps
to the link contained within the description.

If there is a real application/need for nested links (besides inline
images used as part of link description) I would rather expect them to
be written explicitly by typing another pair of brackets nested within
the description; however, this syntax is currently not parsed as such.

Regards,
Daniel
-- 
MSc. Daniel Bausch
Research Assistant (Computer Science)
Technische Universität Darmstadt
http://www.dvs.tu-darmstadt.de/staff/dbausch




[O] Could org-mode implement multiple rows in tables?

2014-11-19 Thread Ma Jiehong

Hello!

First of all, I am pleased to send my first email to the mailing list of 
org-mode! I have been using org-mode for several years, and I am very 
happy with it.


However, I would like to know if a new feature could be implemented.

Currently, org-mode tables are neat, and very easy to use. One of the 
features available, is column grouping by adding  and  to the 
required columns.


But what about  having some cells spanning through more than 1 row (that 
is to say, vertically)?


Was that already been considered in the past, and if so, why was it 
rejected? Perhaps, this could be feasible now?


Regards,

Jiehong