Re: [O] org-sync doesn't work with recent org-element.el

2012-12-16 Thread Jonas Hörsch
hej aurélien, list,

as hoped for i got it to work with the current org-element.el with only
few changes to org-sync. i pushed my changes to my github at [1]. please
feel free to comment and/or merge.

the commit

bdcbae os-github: use authentication data also for
os-github-fetch-json-page 

is optional and i wouldn't mind moving that to a separate feature branch
if you prefer.

cheers,
jonas



Footnotes:

[1] https://github.com/coroa/org-sync.git
https://github.com/coroa/org-sync




Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-16 Thread Le Wang
On Fri, Dec 14, 2012 at 5:39 PM, Bastien b...@altern.org wrote:
 Le Wang l26w...@gmail.com writes:

;; Move marker with inserted text for case when src block is
;; just one empty line, i.e. beg == end.
 -  (end (copy-marker (make-marker) t))
 +  (end (let ((marker (make-marker)))
 + (set-marker-insertion-type marker t)
 + marker))

 There is a (make-marker) in both case, the first one is okay.

Well in the first case two marker are made (make-marker, then
copy-marker), in the second one is made, IIUC of course; but it's not
a big deal.

I just had a chance to catch up on your changes.  Tests pass fine now
without structured error handling.  So I'm happy with the state of
things.


Thanks.

-- 
Le



Re: [O] new latex exporter and attr_latex

2012-12-16 Thread François Allisson

Le jeudi 12 décembre 2012 à 15h24, Nicolas Goaziou a écrit:
 Or, perhaps better, since it will work across all export back-ends:

 | l  | c|   r |
 | left | center | right |


Thanks for this cross-back-ends tips, this is indeed a powerful tool.

Best,
François



Re: [O] prevent drawer from folding for specific subtree

2012-12-16 Thread Rainer Stengele
Am 14.12.2012 16:51, schrieb Rainer Stengele:
 Hi all!
 
 I have subtrees which I do clock regularly, never closing them.
 I always do have to adjust the clockings manually.
 When I am bookmark-jumping to one of these subtrees and then clock in
 the clock drawer is always closed - which normally is fine. But in this
 case I would like to maybe have a property signaling the drawer to open
 as soon as I do clock the task in.
 
 Any idea?
 
 Thanks,
 Rainer
 
 
 
Hi again,

what I really intended to get was this (see doc string)

(defun rst/clock-organisation-todo ()
  jump to organisation todo, clock in and out,
move starttime to previous full quarter of hour, endtime to following full 
quarter of hour,
place point on starttime to be able to adjust the clockings
  (interactive)
  (save-excursion
(bookmark-jump Organisation)
(outline-previous-visible-heading 1)
(show-subtree)
(org-clock-in)
(search-forward CLOCK: )
(end-of-line)
(backward-char 2)
(org-shiftcontroldown)
(org-clock-out)
(org-shiftcontrolup)
(org-shiftdown)))

This will save me several keystrokes every day.
Sorry this is beginners emacs lisp.

Rainer