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

[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
64-pc-linux-gnu, GTK+ 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 C

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
echo foo #+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
text cfd2b (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
(build 1, x86_64-pc-linux-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 953

[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
acs : GNU 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." --Win

[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
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

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

2023-02-23 Thread Damien Cassou
network error, and it may 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 cur

[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." --Win

Re: Request for feedback: ox-linuxmag

2022-10-26 Thread Damien Cassou
anges there 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
-template`. 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 cod

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

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 "-"

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

2022-10-19 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
ncludes '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
writes: > 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! -- Dami

Reading the parameters of a special-block

2022-10-17 Thread Damien Cassou
lock transcoder 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

Need for dedicated kinds of paragraphs

2022-10-17 Thread Damien Cassou
erty :style paragraph) "Text_20_body") "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
t;) and 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/) -- Dam

[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
/cassou/.emacs.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
;)) * 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? -- Damien Cass

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 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 to take care of

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
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
ycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)" "CANCELLED(c)")) org-time-stamp-rounding-minutes '(10 10) org-modules '(org-protocol org-capture ox-beamer) org-catch-

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
.g., #emacs and 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
org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-odt-format-drawer-function '(lambda (name contents) contents) org-html-format-headline-function 'ignore org-html-for

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
mit-bug-report' 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

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 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. -- Da

[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. -