Re: [BUG] [PATCH] ox-odt: Avoid warning when everything is fine [9.6.21 ( @ /nix/store/m6x04fr6nmhxk44qr0m8xsyr8vapppgr-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6.21/)]

2024-03-17 Thread Damien Cassou
Ihor Radchenko writes: > It would be nice to attach the patch :) I'm sorry. Here it is. -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill >From 9dd17fcb7c774f148166d999fd1d021dae9fda3b Mon Sep 17 00

[BUG] [PATCH] ox-odt: Avoid warning when everything is fine [9.6.21 ( @ /nix/store/m6x04fr6nmhxk44qr0m8xsyr8vapppgr-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6.21/)]

2024-03-17 Thread Damien Cassou
+ Version 3.24.41, cairo version 1.18.0) Package: Org mode version 9.6.21 ( @ /nix/store/m6x04fr6nmhxk44qr0m8xsyr8vapppgr-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6.21/) -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill

Re: [BUG] [PATCH] org-babel-execute-buffer: Prevent executing non-code blocks [9.6.20 ( @ /home/cassou/.emacs.d/lib/org/lisp/)]

2024-03-16 Thread Damien Cassou
Ihor Radchenko writes: > Yes. You can add > #+property: header-args:text :eval no > on top of your Org file or add > (setq org-babel-default-header-args:text '((:eval . "no"))) > to your config. org is amazing! Thank you very much for all your work. -- Damien Cassou

Re: [BUG] [PATCH] org-babel-execute-buffer: Prevent executing non-code blocks [9.6.20 ( @ /home/cassou/.emacs.d/lib/org/lisp/)]

2024-03-16 Thread Damien Cassou
#+end_src #+RESULTS: show-tree #+begin_SRC text :eval no foo #+end_SRC It works very well, thanks! Would you say this is how you would have done it as well or is there a better way? -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill

Re: [BUG] [PATCH] org-babel-execute-buffer: Prevent executing non-code blocks [9.6.20 ( @ /home/cassou/.emacs.d/lib/org/lisp/)]

2024-03-12 Thread Damien Cassou
(HEAD -> main) Empty #+end_SRC The second block can't be executed because no `org-babel-execute:text` function exists. Best -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill

[BUG] [PATCH] Use new face org-caption for #+caption lines [9.6.21 ( @ /home/cassou/.emacs.d/lib/org/lisp/)]

2024-03-10 Thread Damien Cassou
x-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) Package: Org mode version 9.6.21 ( @ /home/cassou/.emacs.d/lib/org/lisp/) -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill >From 9535fa8c078ca5ecb583ec4862f8

[BUG] [PATCH] org-babel-execute-buffer: Prevent executing non-code blocks [9.6.20 ( @ /home/cassou/.emacs.d/lib/org/lisp/)]

2024-03-08 Thread Damien Cassou
Emacs 29.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) Package: Org mode version 9.6.20 ( @ /home/cassou/.emacs.d/lib/org/lisp/) -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churc

[BUG] [PATCH] org-odt-plain-text: Fix when text contains only spaces [9.7-pre (release_9.6.4-346-g7d41bd @ /home/cassou/.emacs.d/lib/org/lisp/)]

2023-04-30 Thread Damien Cassou
Best [1] https://list.orgmode.org/orgmode/87v8i3y135@cassou.me/ Emacs : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) Package: Org mode version 9.7-pre (release_9.6.4-346-g7d41bd @ /home/cassou/.emacs.d/lib/org/lisp/) -- Damien Cassou

Re: [BUG] [ox-odt] Added leading spaces

2023-04-11 Thread Damien Cassou
Ihor Radchenko writes: > Fixed, on bugfix. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=60ce29dc4 thank you very much. -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill

[BUG] [ox-odt] Added leading spaces

2023-04-10 Thread Damien Cassou
ng spaces. Is that the expected behavior or is that a bug? Best -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill

Re: [PATCH] Avoid crash in `org-file-contents' in case of network failure

2023-02-24 Thread Damien Cassou
Ihor Radchenko writes: > I think you forgot to attach the updated patch :) typical. I'm so sorry. -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill >From c116e27a84972f9e12a869f2b4983bb84ee50b15 Mon Sep

Re: [PATCH] Avoid crash in `org-file-contents' in case of network failure

2023-02-23 Thread Damien Cassou
y be unclear to the user > which function is failing to make the connection. I tried to make that a little bit clearer: (message "Org could't download \"%s\": %s %S" file (car error) (cdr error)) Do you want me to explicitly refer to the current function name? -- Damie

[PATCH] Avoid crash in `org-file-contents' in case of network failure

2023-02-18 Thread Damien Cassou
* lisp/org.el (org-file-contents): Wrap the `url-retrieve-synchronously' call into a `condition-case' block to avoid throwing an error when NOERROR is non-nil. -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churc

Re: Request for feedback: ox-linuxmag

2022-10-26 Thread Damien Cassou
e as well? I took care of all your other feedback. Thank you so much for taking the time to help me. Best -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill

Re: Request for feedback: ox-linuxmag

2022-10-24 Thread Damien Cassou
. Any recommendation? >> ox-linuxmag--export-to-odt > > Why is it marked as private function? By convention, Org exporters > provide public function to export programatically. You are perfectly right. This is now fixed. Thank you very much for helping me improve the code! I reall

Request for feedback: ox-linuxmag

2022-10-23 Thread Damien Cassou
Hi, I'm done writing ox-linuxmag, an exporter for the French GNU/Linux Magazine: https://github.com/DamienCassou/ox-linuxmag. I would be happy to receive feedback. Thank you for your help during the implementation of this exporter. Best, -- Damien Cassou "Success is the ability to go

Re: Weird behavior of org-element-object-lex

2022-10-20 Thread Damien Cassou
Damien Cassou writes: > Ihor Radchenko writes: >> Damien Cassou writes: >>> (defun ox-linuxmag--item (item contents info) >>> ... >>> The reason `ox-linuxmag--item` has to parse ITEM again is because >>> CONTENTS contains "item 1 ;" &

Re: Weird behavior of org-element-object-lex

2022-10-20 Thread Damien Cassou
Ihor Radchenko writes: > Damien Cassou writes: >> (defun ox-linuxmag--item (item contents info) >> ... >> The reason `ox-linuxmag--item` has to parse ITEM again is because >> CONTENTS contains "item 1 ;" >> which misses the initial dash &qu

Re: Weird behavior of org-element-object-lex

2022-10-20 Thread Damien Cassou
Ihor Radchenko writes: > Damien Cassou writes: >> Is that a bug? > > Not really. table-cell and citation-reference do not have a regexp > signature and are handled specially. For these two types of objects, > org-element--object-lex is called only when the parent is a ta

Weird behavior of org-element-object-lex

2022-10-19 Thread Damien Cassou
s 'table-cell (or 'citation-reference), and if the content isn't a table-cell, `org-element--object-lex` will immediately return nil without trying other object types. Is that a bug? -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill

Re: Need for dedicated kinds of paragraphs

2022-10-17 Thread Damien Cassou
es: > If you have derived your export backend from ox-odt then you may use > something like > > #+attr_odt: :type attention > or perhaps even > #+attr_linuxmag: :type attention This is exactly what I finally decided to use. Thank you very much all of you! -- Damien

Reading the parameters of a special-block

2022-10-17 Thread Damien Cassou
coder I'm writing, I have no clue how to access the parameters. I can't find any parameters function in org that would be related. What is the best way to access the parameters of a special-block? [1] https://orgmode.org/worg/dev/org-syntax.html#Greater_Blocks -- Damien Cassou "Success is t

Need for dedicated kinds of paragraphs

2022-10-17 Thread Damien Cassou
t;) "OrgCenter" "Quotations")) Could I use the :style property? What would the markup be like to make that work? Thank you so much for Org! [1] https://orgmode.org/worg/dev/org-syntax.html#Affiliated_Keywords -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill

Bug: Babel+R handles spaces wrongly in tables [9.3.6 (release_9.3.6 @ /home/cassou/.emacs.d/lib/org/lisp/)]

2020-09-06 Thread Damien Cassou
nd not 3. Apparently, R receives this array instead: '("A B" "C" nil). Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.21, cairo version 1.16.0) Package: Org mode version 9.3.6 (release_9.3.6 @ /home/cassou/.emacs.d/lib/org/lisp/) -- Damien Cassou

[O] Bug: Git repository doesn't ignore contributed lisp/*.el files [9.0.9 (release_9.0.9-690-g27e5be @ /home/cassou/.emacs.d/lib/org/lisp/)]

2017-07-31 Thread Damien Cassou
macs.d/lib/org/lisp/) -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill

Re: [O] Bug: Image export with link does not support query delimiter [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/25.2/lisp/org/)]

2017-05-02 Thread Damien Cassou
" . "\\.foo\\'")) * Test [[http://orgmode.org/image.foo]] This assumes `org-export-allow-bind-keywords' is non-nil, which may not be the case within Github's Org engine. Maybe it could be set to a non-nil value there. I can't make that work on GitHub. Any other suggestion

Re: [O] Bug: Image export with link does not support query delimiter [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/25.2/lisp/org/)]

2017-04-18 Thread Damien Cassou
Damien Cassou <dam...@cassou.me> writes: thanks for the suggestion. I have tried several ways to specify a value for this variable inside the file but failed to make the export change in any way. I can't change the value of the file in my .emacs.d as I expect github's org engine t

Re: [O] Bug: Image export with link does not support query delimiter [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/25.2/lisp/org/)]

2017-04-18 Thread Damien Cassou
. I can't change the value of the file in my .emacs.d as I expect github's org engine to take care of exporting the html. Thanks -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill

[O] Bug: Image export with link does not support query delimiter [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/25.2/lisp/org/)]

2017-03-23 Thread Damien Cassou
t;)) org-time-stamp-rounding-minutes '(10 10) org-modules '(org-protocol org-capture ox-beamer) org-catch-invisible-edits 'error org-export-allow-bind-keywords t org-babel-tangle-lang-exts '(("python" . "py") ("java" . "java") ("emacs-lisp" . "el

Re: [O] Bug: OpenDocument export failed: End of file during parsing [8.2.10 (release_8.2.10 @ /nix/store/2v8f4l0ikhjnqmbqn0lm9vshssm5apaq-emacs-24.5/share/emacs/24.5/lisp/org/)]

2016-02-08 Thread Damien Cassou
nd I can be contacted through many IM ways (see my website). Best, -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill

[O] Bug: OpenDocument export failed: End of file during parsing [8.2.10 (release_8.2.10 @ /nix/store/2v8f4l0ikhjnqmbqn0lm9vshssm5apaq-emacs-24.5/share/emacs/24.5/lisp/org/)]

2016-02-04 Thread Damien Cassou
own-hook '(org-babel-pop-to-session-maybe) org-odt-format-drawer-function '(lambda (name contents) contents) org-html-format-headline-function 'ignore org-html-format-inlinetask-function 'ignore org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) -- Damien Cassou http://damiencass

[O] Bug: Can't report org bugs when org-pomodoro is installed [8.2.1 (8.2.1-15-ge5cecc-elpaplus @ /home/cassou/.emacs.d/.cask/24.3.1/elpa/org-plus-contrib-20131021/)]

2013-11-05 Thread Damien Cassou
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

Re: [O] Bug: Can't report org bugs when org-pomodoro is installed [8.2.1 (8.2.1-15-ge5cecc-elpaplus @ /home/cassou/.emacs.d/.cask/24.3.1/elpa/org-plus-contrib-20131021/)]

2013-11-05 Thread Damien Cassou
On Tue, Nov 5, 2013 at 5:30 PM, Bastien b...@gnu.org wrote: This is a bug in org-pomodoro.el, better to report it to the author: https://github.com/lolownia/org-pomodoro I've just did: https://github.com/lolownia/org-pomodoro/issues/6 However, I'm not sure I agree with you. -- Damien Cassou

Re: [O] Bug: Can't report org bugs when org-pomodoro is installed [8.2.1 (8.2.1-15-ge5cecc-elpaplus @ /home/cassou/.emacs.d/.cask/24.3.1/elpa/org-plus-contrib-20131021/)]

2013-11-05 Thread Damien Cassou
' that should pay attention to what it is doing. -- Damien Cassou http://damiencassou.seasidehosting.st Success is the ability to go from one failure to another without losing enthusiasm. Winston Churchill