[O] taskjuggler subtract scheduled and deadline

2017-12-26 Thread edgar
Hello, I am trying this: #+BEGIN_SRC org ,* TODO Pay the rent :taskjuggler_project: SCHEDULED: <2017-12-29 Fri 09:00> DEADLINE: <2017-12-29 Fri 11:00> #+END_SRC which gives me this: #+BEGIN_EXAMPLE repeat.tjp:13: Error: The end date (2017-12-29-00:00-

Re: [O] Bug: the code(convert the file to objc-mode) cause orgmode export to html file error

2017-12-26 Thread 陈泼杨
From: Nicolas Goaziou Subject: Re: Bug: the code(convert the file to objc-mode) cause orgmode export to html file error Date: Tue, 26 Dec 2017 14:35:18 +0100 > Your function doesn't handle buffers not associated to a file. You may > want to try > > (and (stringp buffer-file-name) >(eq

Re: [O] Searching all attachments in org-files

2017-12-26 Thread Narendra Joshi
Ihor Radchenko writes: > Dear Narendra, > > Here is what I am using: > > (defun org-att-complete-link (&optional arg) > "Completion dispatcher for att: links (rewritten from org-attach-open)" > (let* ((attach-dir (org-attach-dir t)) >(files (org-attach-file-list attach-dir)) >

Re: [O] Bug: the code(convert the file to objc-mode) cause orgmode export to html file error

2017-12-26 Thread Nicolas Goaziou
陈泼杨 writes: > > (add-to-list 'magic-mode-alist > `(,(lambda () > (and (equal (file-name-extension buffer-file-name) "h") > (re-search-forward "@\\" >

Re: [O] Bug: the code(convert the file to objc-mode) cause orgmode export to html file error

2017-12-26 Thread 陈泼杨
From: Nicolas Goaziou Subject: Re: Bug: the code(convert the file to objc-mode) cause orgmode export to html file error Date: Tue, 26 Dec 2017 12:28:47 +0100 > Hello, > > =E9=99=88=E6=B3=BC=E6=9D=A8 writes: > >> .h file use c/c++ mode or objc-mode base on it's content, so there is ema= > cswi

Re: [O] Bug: the code(convert the file to objc-mode) cause orgmode export to html file error

2017-12-26 Thread Nicolas Goaziou
Hello, 陈泼杨 writes: > .h file use c/c++ mode or objc-mode base on it's content, so there is > emacswiki solution there: > https://www.emacswiki.org/emacs/ObjectiveCMode, so i put the the code in my > configuration: > > ;; header .h add to objc-mode, this cause org unable to export to html file

[O] Bug: the code(convert the file to objc-mode) cause orgmode export to html file error

2017-12-26 Thread 陈泼杨
.h file use c/c++ mode or objc-mode base on it's content, so there is emacswiki solution there: https://www.emacswiki.org/emacs/ObjectiveCMode, so i put the the code in my configuration: ;; header .h add to objc-mode, this cause org unable to export to html file (add-to-list 'magic-mode-alist