Re: [O] Typo org-switchb org-iswitchb

2018-03-03 Thread Bastien
"Th. Rikl" writes: > Newest ... The manual and the guide talk about "org-iswitchb", the > code contains only "org-switchb". Fix, thanks! -- Bastien

[O] Patch for documentation standards

2018-03-03 Thread Thomas S. Dye
Aloha all, A lightly edited and augmented version of the Org documentation standards is attached. All the best, Tom >From 010294deec9d35217bdc991bec55a80ab0f40853 Mon Sep 17 00:00:00 2001 From: "Thomas S. Dye" Date: Sat, 3 Mar 2018 16:06:27 -1000 Subject: [PATCH] Update documentation standar

[O] Bug: Mode line face is not updated when clock overruns [9.1.7 (release_9.1.7-466-ga16590.dirty @ /home/luke/elisp/org-mode/lisp/)]

2018-03-03 Thread Luke
The face of the clocked time does not seem to change when the clock overruns (typically it changes to a red background). I'm no lisp expert, but after digging around in the code it looks like the problem is in org-clock-get-clock-string(): 662 (defun org-clock-get-clock-string () 663

Re: [O] Bug: org-capture inserts empty line before title

2018-03-03 Thread Luke
Hi, On 04/03/18 06:40, Nicolas Goaziou wrote: Hello, Luke writes: org-capture seems to be inserting an extra line before the task heading. So the narrowed buffer for editing the task looks something like this: Top of window --- ** TODO My new task [201

Re: [O] Automatic tangling/detangling

2018-03-03 Thread Diego Zamboni
Interesting! I didn’t know about org-babel-detangle. I’d be very interested in what you come up with. I’ll try to do some exploration on my own as well. Best, —Diego > On 3 Mar 2018, at 22:50, Matthew Bauer wrote: > > Yes, detangling works okay for me. I just setup properties like this: > > *

Re: [O] Bug: org-capture inserts empty line before title

2018-03-03 Thread Nicolas Goaziou
Hello, Luke writes: > org-capture seems to be inserting an extra line before the task > heading. So the narrowed buffer for editing the task looks something > like this: > > Top of window --- > > ** TODO My new task >[2018-03-02 Fri] >[[file:~/.notes]] >

Re: [O] Bug: org-gnus-store-link wrong if used from article buffer when point moved in summary [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.3/lisp/org/)]

2018-03-03 Thread Nicolas Goaziou
Hello, Kevin Brubeck Unhammer writes: > If you open an article in Gnus, then move the point away from the > summary line of that article in the Summary buffer, then go back to the > Article buffer and M-x org-store-link, it will link to the article > you're pointing at in the Summary, not the ar

Re: [O] Automatic tangling/detangling

2018-03-03 Thread Matthew Bauer
Yes, detangling works okay for me. I just setup properties like this: * Emacs Init file :PROPERTIES: :header-args: :tangle yes :comments link :END: ...etc. And you can open the generated file and run "org-babel-detangle" when you are done editing it. I guess I'm interesting in finding some "sma

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-03 Thread Thorsten Jolitz
Thorsten Jolitz writes: PS One more to show that one can not only easily modify a certain org element, but that its just as easy to convert it to another type of org element. Use this (call M-x tj/obch) #+BEGIN_SRC emacs-lisp (defun tj/obch () "docstring" (interactive) (org-dp-rewire '

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-03 Thread Thorsten Jolitz
John Kitchin writes: Hallo, > This is a neat idea. This is quite a nice use/show case for org-dp too. I did not really try to solve the users feature request, just wanted to demonstrate how different a possible solution looks using declarative programming, leaving all the low-level parsing an

Re: [O] [RFC] Moving "manual.org" into core

2018-03-03 Thread Glenn Morris
I'm sure this is an impressive technical achievement, but can I urge you to raise this on emacs-devel first, because I think it's potentially problematic. I'm not entirely sure what you are proposing here. If the .org version will become the "preferred form" for modification, it would eg need to

Re: [O] is there a macro to have backend-specific behavior?

2018-03-03 Thread Adonay Felipe Nogueira
> Is there a way to define a macro that has different behaviors depending > on export backend? I have macros that use the @@latex:foo@@ syntax, but > in that case I "foo" is supposed to be literal latex. Perhaps this might do something similar to what you expect: --8<---cut here-

Re: [O] Automatic tangling/detangling

2018-03-03 Thread Diego Zamboni
Hi Matthew, How do you do the untangling? I have been using an after-hook call to org-babel-tangle, which works quite well. It is a bit slow for large files with many code segments (like my Emacs init file at https://github.com/zzamboni/dot-emacs/blob/master/init.org

Re: [O] emacs laggs with saving clipboard to X clipboard manager

2018-03-03 Thread Grégoire Jadi
Joseph Vidal-Rosset writes: > Hello everybody, > > I apologize, I know that this topic is org-mode specific, but it is > related to emacs. > > My problem is exactly the same that is explained here : > [[https://github.com/syl20bnr/spacemacs/issues/9691]] > and my OS is the same (Gnu Linux

Re: [O] [RFC] Moving "manual.org" into core

2018-03-03 Thread Joseph Vidal-Rosset
Le sam. 03 mars 2018 à 04:57:33 , Bastien Guerry a envoyé ce message: > The rationale for using org.org (which, I agree, sounds a bit > childish) is that this is the current convention for naming GNU > manual is [package-name].[extension]. > > See emacs.texi, gnus.texi, calc.texi, etc. > > If usi

Re: [O] [RFC] Moving "manual.org" into core

2018-03-03 Thread Bastien Guerry
Hi Nicolas, Nicolas Goaziou writes: > I don't understand this part. Currently, "manual.org" is exported as > "org.texi" per > > #+export_file_name: org.texi > > So we are getting the best of both worlds. Am I missing something? No, I was missing the "#+export_file_name: org.texi" part. >> Or

Re: [O] question on org-element-interpret-data and when it works

2018-03-03 Thread Thorsten Jolitz
Nicolas Goaziou writes: > Thorsten Jolitz writes: > >> You used the word 'discrepancy', > > True. I inferred it from > > (funny enough, some org elements have 'value' as their content, others > 'content'). > > which, IMO, sounds like it is a surprising fact. > >> I simply needed to know for

Re: [O] Exploring picolisp

2018-03-03 Thread Thorsten Jolitz
Lawrence Bottorff writes: Hi Lawrence, > I'm looking at picolisp -- and wondering how it works, or better, why it > doesn't really work work with babel. First problem, I couldn't get any > form of picolisp to work in Emacs -- until I stopped starting Emacs with > [...] > I don't mean to complai

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-03 Thread Akater
Thank you, I'll make use of 's. Not well versed in Elisp libraries. save-excursion is certainly an improvement, too. signature.asc Description: PGP signature

Re: [O] question on org-element-interpret-data and when it works

2018-03-03 Thread Nicolas Goaziou
Thorsten Jolitz writes: > You used the word 'discrepancy', True. I inferred it from (funny enough, some org elements have 'value' as their content, others 'content'). which, IMO, sounds like it is a surprising fact. > I simply needed to know for each org > element what is interpreted and

Re: [O] question on org-element-interpret-data and when it works

2018-03-03 Thread Thorsten Jolitz
Nicolas Goaziou writes: > Thorsten Jolitz writes: > >> I have defined these two constants in org-dp.el to work around this >> discrepancy (and to know which elements do not have interpreted content >> at all): >> >> , >> | (defconst org-dp-no-content-elems >> | (list 'babel-call 'clock 'co

Re: [O] emacs laggs with saving clipboard to X clipboard manager

2018-03-03 Thread Eric S Fraga
I have found that this setting can help: (setq x-selection-timeout 10) Not always, mind you, and sometimes you will have to ask to paste the selection more than once. -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-191-g90607d signature.asc Description: PGP signature

Re: [O] question on org-element-interpret-data and when it works

2018-03-03 Thread Nicolas Goaziou
Thorsten Jolitz writes: > I have defined these two constants in org-dp.el to work around this > discrepancy (and to know which elements do not have interpreted content > at all): > > , > | (defconst org-dp-no-content-elems > | (list 'babel-call 'clock 'comment 'comment-block 'diary-sexp > |

Re: [O] How to keep correct filepaths when using the #+INCLUDE derivative?

2018-03-03 Thread Daniel P Gomez
Hi, > `org-export--prepare-file-contents' is called from the including > document, so you can get its path with (buffer-file-name > (buffer-base-buffer)). > > However, we need to handle the case where the including buffer is not > associated to a file, i.e., the Sexp above returns nil. > I notic

Re: [O] question on org-element-interpret-data and when it works

2018-03-03 Thread Thorsten Jolitz
Nicolas Goaziou writes: Hello, > Thorsten Jolitz writes: > >> (funny enough, some org elements have 'value' as their content, others >> 'content'). > > Could you point out where there is such discrepancy in "org-element.el"? I have defined these two constants in org-dp.el to work around this d

[O] emacs laggs with saving clipboard to X clipboard manager

2018-03-03 Thread Joseph Vidal-Rosset
Hello everybody, I apologize, I know that this topic is org-mode specific, but it is related to emacs. My problem is exactly the same that is explained here : [[https://github.com/syl20bnr/spacemacs/issues/9691]] and my OS is the same (Gnu Linux Debian 9). I do not succeed to find the so

Re: [O] question on org-element-interpret-data and when it works

2018-03-03 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > (funny enough, some org elements have 'value' as their content, others > 'content'). Could you point out where there is such discrepancy in "org-element.el"? Thank you. Regards, -- Nicolas Goaziou

Re: [O] Typo in the compact Org Mode Guide

2018-03-03 Thread Nicolas Goaziou
Hello, sira...@disroot.org writes: > I have encountered a typo. It's on page 10 of the PDF of the latest > release (9.1.7). The sentence in question is: > >> Org mode providing methods to give you an overview of all the things that >> you have to do, collected >> from many files. > > The correct

Re: [O] how do you compose mails in Gnus with org-mode

2018-03-03 Thread Thorsten Jolitz
Joseph Vidal-Rosset writes: Hallo > I know that the subject of my email exists already. > [[https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html]] This works perfectly for your subject: ,[ C-h f outorg-edit-as-org RET ] | outorg-edit-as-org is an interactive Lisp function

Re: [O] question on org-element-interpret-data and when it works

2018-03-03 Thread Thorsten Jolitz
John Kitchin writes: Hello John, > I am trying to find some ways to programatically modify org-elements > that use fewer regexps and motion commands. It seems like org-dp > (https://github.com/tj64/org-dp) was intended to do that thats right, that's it's exact use case > but it is not clear en

Re: [O] [RFC] Moving "manual.org" into core

2018-03-03 Thread Nicolas Goaziou
Hello, Bastien Guerry writes: > Nothing, please move ahead. Great. > I suggest to rename the file org.org, which will produce org.texi. I don't understand this part. Currently, "manual.org" is exported as "org.texi" per #+export_file_name: org.texi So we are getting the best of both world

Re: [O] what settings would make original export to pdf as good as pandoc conversion?

2018-03-03 Thread Eric S Fraga
On Friday, 2 Mar 2018 at 11:53, Samuel Wales wrote: > On 3/2/18, Eric S Fraga wrote: >> Why can you not use any LaTeX settings? Org has very extensive support >> for allowing tweaking of the formatting. > > delighted to learn of settings. So, I am not sure what it is you want to do but maybe a

Re: [O] Bug: [ob-clojure] Surprising evaluation result [9.1.6 (release_9.1.6-491-g70b029 @ /Users/xcy/src/org-mode/lisp/)]

2018-03-03 Thread Xu Chunyang
"numbch...@gmail.com" writes: > No, it's not expected result. It should be caused by my commit here > https://code.orgmode.org/bzg/org-mode/pulls/5 I don't think so, your pull request is about ob-clojure-literate, while I am talking about ob-clojure. I want to know what authors of ob-clojure thi

Re: [O] [RFC] Moving "manual.org" into core

2018-03-03 Thread Bastien Guerry
Hi Nicolas, Nicolas Goaziou writes: > I'm bumping the thread. What is still needed for that to move > forward? Nothing, please move ahead. I suggest to rename the file org.org, which will produce org.texi. Or org-manual.org, which seems more readable. It would be great to have org-guide.org

Re: [O] [RFC] Moving "manual.org" into core

2018-03-03 Thread Nicolas Goaziou
Hello, Bastien Guerry writes: > To be continued, I'm bumping the thread. What is still needed for that to move forward? Again, the first step could be to move manual.org to core and have it generate a new org.texi, overwriting the previous one. I would also be nice to think about what can be d

[O] bibliographystyle in scimax

2018-03-03 Thread Joseph Vidal-Rosset
Dear John, I am happy to tell you that your scimax [[https://github.com/jkitchin/scimax ]] is a wonderful tool for emacs, for org-mode and for exporting in LaTeX with references. I advice strongly its use. I am using Gnus and not mu4e to write emails and it works well now thanks of t