Re: Feature request: Radio button option for lists of checkboxes

2020-02-11 Thread Bastien
Hi Phil, Phil Sainty writes: > A nice feature that may be missing from this implementation > is the ability to mark individual lists as radio-button lists, > and then have C-c C-c do the right thing contextually. Good idea, this is now in. > The syntax John and Matúš used was: > > #+attr_org:

On writing a theme for raw-notes prose legibility

2020-02-11 Thread Texas Cyberthal
I already like and use Leuven themes: https://github.com/fniessen/emacs-leuven-theme It appears to be the correct normie-noob choice. Maybe some raw-notes prose features would fit there. Emacs has many use cases, calling for different settings. But Leuven already has some customize settings, so

Re: [PATCH] ob-sql.el support auto set sql-product in editing sql-mode src block buffer

2020-02-11 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hmmm.. Just a gentle ping ... This might is been missed Let me resume this thread. stardiviner writes: > I tried to write an alist of all database names. and write an function to used > to match name to possible names. But I found this

Re: org-babel strange html print in R

2020-02-11 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeremie Juste writes: > Hello, > > Thanks for the input. > I didn't see the full mail of stardiviner for some reason. About this, I found Gmail put my emails into Spams folder. I can't figure out what reasons. I also found similar situations in

Making info gives error

2020-02-11 Thread Colin Baxter
Making info in org-version: 9.3.4 (release_9.3.4-273-g4028cc) gives the error: Loading /home/redknight/git/org-mode/mk/org-fixup.el (source)... Undefined Org macro: kdb; aborting Makefile:31: recipe for target 'org.texi' failed make[1]: *** [org.texi] Error 255 make[1]: Leaving directory

Re: Bug: broken org-cycle-include-plain-lists integrate [9.3.3 (9.3.3-elpa @ /home/bruce/.emacs.d/elpa/org-9.3.3/)]

2020-02-11 Thread Bruce Tulloch
Thanks for the prompt response guys! :01:nt3r448ppfurl90h: On Tue, Feb 11, 2020 at 5:56 PM Bastien wrote: > Hi Stardiviner, > > stardiviner writes: > > > This this related to recently new added option value. > > the option was introduced just 2-3 hours before Bruce reported his > problem ;) >

Re: org-timer-set-timer from any buffer

2020-02-11 Thread Kyle Meyer
Bastien writes: > Kyle Meyer writes: > >> Ian already addressed it with the patch at >> , >> which was applied as 044e9718c (org-timer.el: Allow org-timer-set-timer >> from non-Org buffers, 2019-11-16). > > Thanks! I

Re: Feature request: Radio button option for lists of checkboxes

2020-02-11 Thread Phil Sainty
On 12/02/20 12:10 pm, Bastien wrote: > From latest master, please try C-c C-x C-r on a checkbox or turn > on M-x org-list-checkbox-radio-mode RET so that C-c C-c consider > all checkboxes as radio buttons. Brilliant, thanks Bastien! A nice feature that may be missing from this implementation is

Re: org-babel strange html print in R

2020-02-11 Thread Jack Kamm
Hi, Jeremie Juste writes: > :results value html in the following code generates an error for me. > (Org mode version 9.2.3,R version 3.6.2). > but :results value output the "html" in an org-table format Hmm, I can confirm that ":session :results value html" is working for me, same as for

Re: Agenda: How to bulk mark regex w/spaces?

2020-02-11 Thread Bastien
Hi Nathan, Nathan Neff writes: > I'm trying to use org-agenda-bulk-mark-regexp and trying to search > for > headings having "Pre Class". > > None of the combinations have worked so far (I've tried with quotes > and without quotes in the prompt) There is nothing special with the regexps you

Re: Bug: ob-scheme.el has two problems: not killing a misbehaving interpreter and sometimes returns nil [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.2/lisp/org/)]

2020-02-11 Thread Bastien
Hi Vladimir, > Note that t is not a registered symbol in scheme (should be #t), but is > shows two errors: Below the quoted text are... 4 errors, one of which has been fixed recently IIRC. Don't hesitate to tell more about remaining problems, preferrably one per report. Thanks! -- Bastien

Re: Bug? Multi day event with times

2020-02-11 Thread Bastien
Hi Detlef, Detlef Steuer writes: > My travel starts at 10am on Thurday and stretches till Sunday 4pm. I would use ** some travel <2020-01-30 Do 10:00-16:00>-<2020-02-01 Sa 10:00-16:00> which should, with a recent Org, display times every three day in the agenda view. Not ideal, but

Re: Feature request: Radio button option for lists of checkboxes

2020-02-11 Thread Bastien
Hi Phil, Phil Sainty writes: > (Where "radio button" means that for a list of checkboxes, only > one may be selected at any given time -- selecting a different > checkbox automatically de-selects the previous one.) >From latest master, please try C-c C-x C-r on a checkbox or turn on M-x

Re: [org-inlinetask] Inquiry of opinion from all users

2020-02-11 Thread D
Thanks! :) Right now I am mostly focused on what features people could want from a package like this without blowing the scope out of proportion. Currently I mostly stick to vanilla org with a few tweaks (such as using the same proportions for org-level-X as LaTeX does for sub*sections), so I

Re: Emacs hangs sometimes for no reason

2020-02-11 Thread briangpowell .
Emacs periodically saves all files that you are visiting; this is called auto-saving . Auto-saving prevents you from losing more than a limited amount of work if the system crashes. By default, auto-saves happen every 300 keystrokes, or after around 30 seconds of idle time. Suggest you try making

Re: Bug: javascript license not recognized by librejs [9.2.6 (9.2.6-elpa @ /home/arne/.guix-profile/share/emacs/site-lisp/guix.d/org-9.2.6/)]

2020-02-11 Thread Arne Babenhauserheide
Hi Bastien, Thank you very much! Best wishes, Arne Bastien writes: > Hi Arne, > > this is fixed in the master branch -- not in maint, as this is just > a (welcome) enhancement. > > Thanks for suggesting this. -- Unpolitisch sein heißt politisch sein ohne es zu merken

Re: Bug: Org-babel can't capture the output of rg/ag/pt with org-babel on OS X [9.2.6 (9.2.6-4-ge30905-elpaplus @ /Users/maxflander/.emacs.d/elpa/org-plus-contrib-20191014/)]

2020-02-11 Thread Samuel Wales
you probably already tried this to judge from your links but it's worth poinitng out for mailing list readers that shell blocks use the exit code. a user who just wants to run a diff or grep for the stdio results (stderr and stdout) has to stop that mechanism. if you want both stdin and stout,

Re: Short captions

2020-02-11 Thread Anthony Cowley
Fraga, Eric writes: > On Monday, 10 Feb 2020 at 23:20, Anthony Cowley wrote: >> I am having trouble understanding how short captions are supposed to >> work. Consider this org document: > > [...] > >> The first matches my expectations. The second is an example of taking >> the last bit of

Re: [PATCH] ox.el: Fix extra character deleted in org-export--update-included-link

2020-02-11 Thread Nicolas Goaziou
Hello, Bastien writes: > Nicolas, does it look good to you? How would I dare to have an opinion m'lord? Only yours matters. Christoffer, unfortunately, this patch is incorrect. It doesn't account for a zero :post-blank value. For the record, (1- (org-element-property :end ...)) is always a

Re: [ANN/RFC] org-ql-view-dispatch command

2020-02-11 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bastien writes: > Hi Adam, > > Adam Porter writes: > >> I've pushed a new feature to org-ql's master branch: a Magit-like view >> dispatcher using Jonas Bernoulli's transient.el library. > > It looks really neat! > > I wish we could unify at the

Re: org-babel strange html print in R

2020-02-11 Thread Jeremie Juste
Hello, Thanks for the input. I didn't see the full mail of stardiviner for some reason. :results value html in the following code generates an error for me. (Org mode version 9.2.3,R version 3.6.2). but :results value output the "html" in an org-table format #+begin_src R :results value html

how to hack section lines in LaTeX export?

2020-02-11 Thread Julius Müller
Hi folks, I would like to add a property's contents to the section line in LaTeX export. Is there a way to do that? Here's a minimal (not) working example. Use it with 'emacs -q', execute the source block to add the class definition to org, then export to LaTeX.

Re: Bug: refiling gobbles a newline and absorbs the next heading [9.1.9 (release_9.1.9-65-g5e4542 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2020-02-11 Thread Bastien
Hi Miguel, Miguel Morin writes: > will insert "hello world!" at the beginning and end of the org buffer > and not the org-capture buffer. I'm not sure if this is intended, and > I never use this feature anyway. So I'm happy to close this matter > here. Okay, thanks for confirming the main

Re: org-timer-set-timer from any buffer

2020-02-11 Thread Bastien
Hi Kyle, Kyle Meyer writes: > Ian already addressed it with the patch at > , > which was applied as 044e9718c (org-timer.el: Allow org-timer-set-timer > from non-Org buffers, 2019-11-16). Thanks! I didn't read the whole

Agenda: How to bulk mark regex w/spaces?

2020-02-11 Thread Nathan Neff
Hello all, I'm trying to use org-agenda-bulk-mark-regexp and trying to search for headings having "Pre Class". None of the combinations have worked so far (I've tried with quotes and without quotes in the prompt) Pre Class Pre\sClass Pre\\sClass Pre.*Class {Pre Class} It appears that the

Re: org-timer-set-timer from any buffer

2020-02-11 Thread Kyle Meyer
Hi Bastien, Bastien writes: > Hi Ian, > > ian martins writes: > >> Is it intentional that org-timer start, stop, and pause-or-continue >> all work from any buffer, but org-timer-set-timer only works from an >> org buffer? > > I don't know if this is intentional. > > Is there a problem here?

Re: [PATCH] ox.el: Fix extra character deleted in org-export--update-included-link

2020-02-11 Thread Bastien
Hi Christoffer and Nicolas, thanks for your patch. a...@xkqr.org (Christoffer Stjernlöf) writes: > * ox.el (org-export--update-included-link): Fix bug. > (org-export--update-included-link): Delete region only until one less > than (org-element-property :end link). Nicolas, does it look good to

Re: How to use specific keywords

2020-02-11 Thread Bastien
Hi Pascal, Pascal Quesseveur writes: > Wih Org V7 I had developed a custom latex export that used specific > keywords defined in org-export-inbuffer-options-extra (document > reference, title in the footer, ...). What should I use with recent > versions of Org to add keywords in

Re: org-timer-set-timer from any buffer

2020-02-11 Thread Bastien
Hi Ian, ian martins writes: > Is it intentional that org-timer start, stop, and pause-or-continue > all work from any buffer, but org-timer-set-timer only works from an > org buffer? I don't know if this is intentional. Is there a problem here? If so, how can we fix it? Thanks, --

Re: [PATCH] Add org-agenda-show-indirect variable

2020-02-11 Thread Bastien
Hi Tumashu and Adam, what is the value of this addition? If integrating it into Org is useful, can you resubmit a final patch for this? Thanks! -- Bastien

Re: org-babel strange html print in R

2020-02-11 Thread Jack Kamm
Hi, stardiviner writes: > You should try ~:results value html~. Here is what I got correctly: Yes, this seems like the best solution for this case. On the other hand, it would be desirable if ":results output" didn't mangle the output, due to trying to clean up prompts. There is probably some

Re: ox-html: add option to restore old src block behaviour?

2020-02-11 Thread Bastien
Hi Matt, Matt Price writes: > However, at least one very common syntax highlighter, https:// > highlinghtjs.org, expects just a single tag, as do other > common CSS frameworks. These often leave odd borders or background > color disruptions which somewhat distort the view of the code. >

Re: Visual index for Org based presentation slide sets

2020-02-11 Thread Bastien
Hi Michael, Michael Welle writes: > On [0] you will find an index of reveal based presentations. Is there > something similar for Org based presentations? Maybe even a visual > index? Something where you can learn and stea^Wborrow ideas? If not, > should there be something like that? I don't

Re: Bug: refiling gobbles a newline and absorbs the next heading [9.1.9 (release_9.1.9-65-g5e4542 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2020-02-11 Thread Miguel Morin
Hi Bastien, Yes, it works! I appreciate your work, thank you very much. I tested the code with the Org 9.3.3 and confirm that the first issue I reported is fixed: now when I run `org-capture` and delete lines at the end of the org-capture buffer I cannot delete the newline that in the org

Re: ICS agenda export exceeds max-specpdl-size probably because of org-depend (org-edna same?)

2020-02-11 Thread Karl Voit
* Bastien wrote: > Hi Karl, > > Karl Voit writes: > >> So the issue seems to be gone (for now) but I don't know why it >> appeared in the first place nor why it disappeared in the meantime. > > /me looks for a good xkcd quote. :) Alternatively: https://en.wikipedia.org/wiki/Haiku_in_English

Re: org-capture fails to insert link even on :immediate-finish templates

2020-02-11 Thread Bastien
Hi Leo, Leo Gaspard writes: > Is it possible to make org-capture fail loudly when capturing a > =:immediate-finish t= template for which all the substitutions didn't > succeed, instead of just having empty strings at the substitution > locations? Good idea - I've implemented this just for

Re: ICS agenda export exceeds max-specpdl-size probably because of org-depend (org-edna same?)

2020-02-11 Thread Bastien
Hi Karl, Karl Voit writes: > So the issue seems to be gone (for now) but I don't know why it > appeared in the first place nor why it disappeared in the meantime. /me looks for a good xkcd quote. :) -- Bastien

Re: Bug: org-babel-tangle-comment-links does not honor org-babel-tangle-uncomment-comments in noweb comments [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/local/share/emacs/26.2/lisp/org/)]

2020-02-11 Thread Bastien
Hi Immanuel, immanuel writes: > Try the following code; Fixed, thanks! -- Bastien

Re: ICS agenda export exceeds max-specpdl-size probably because of org-depend (org-edna same?)

2020-02-11 Thread Karl Voit
* Bastien wrote: > Hi Karl, Hi Bastien, > did you manage to fix this one? Well ... > I read "Property drawers allowed before first headline" in > etc/ORG-NEWS from the master branch: > > Property drawers are now allowed before the first headline. > > Org mode is moving more towards making

Re: Bug: Org-babel can't capture the output of rg/ag/pt with org-babel on OS X [9.2.6 (9.2.6-4-ge30905-elpaplus @ /Users/maxflander/.emacs.d/elpa/org-plus-contrib-20191014/)]

2020-02-11 Thread Bastien
Hi Max, Max Flander writes: > I've also tried ag and pt which don't work either. It works with > grep but this is too slow for my use-case. Is there any difference between how grep and ag send their output in the terminal? If so, can it be relevant to the issue at point? Thanks, --

Re: Bug: org-read-date ignores hours?

2020-02-11 Thread Bastien
Hi Marco, Marco Wahl writes: > In summary I can say that this LGTM and I can't reproduce the > problem. Thanks for taking the time and trouble to try reproducing it! -- Bastien

Re: Short captions

2020-02-11 Thread Fraga, Eric
On Monday, 10 Feb 2020 at 23:20, Anthony Cowley wrote: > I am having trouble understanding how short captions are supposed to > work. Consider this org document: [...] > The first matches my expectations. The second is an example of taking > the last bit of markup as the short caption. The third

Re: Bug: org-read-date ignores hours?

2020-02-11 Thread Marco Wahl
Bastien writes: > I tried > > (progn >   (setq org-popup-calendar-for-date-prompt t) >   (org-read-date t)) > > (progn >   (setq org-popup-calendar-for-date-prompt nil) >   (org-read-date t)) > > from master and could not reproduce the problem (not having the > inserted time string taken into

Re: Emacs hangs sometimes for no reason

2020-02-11 Thread Karl Voit
* Sebastian Christ wrote: > Hi list, > > in the last couple weeks (perhaps months?) Emacs hangs for no specific > reason for me. The single constant is, that when it hangs, it hangs > while I'm in org-mode. This occurs on multiple circumstance as > > - changing the outline structure by demoting

Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?

2020-02-11 Thread Bastien
Hi Vladimir, Vladimir Nikishkin writes: > I used org 8 until recently, and it used to be that I could type "<" > at the beginning of a line, and it would be still a single "<" (thus > allowing the expansion of structured templates with TAB) This is still the case for me in latest Org mode

Re: Bug: org-map-entries infinite loop for org file with tags [9.2.6 (9.2.6-elpa @ /home/ian/.emacs.d/elpa/org-9.2.6/)]

2020-02-11 Thread Bastien
ian martins writes: > Thanks for looking into it. The problem was most likely an > incompatibility between emacs 24.5.1 and org 9.2.6. I upgraded emacs > and it went away. Great, thanks for confirming! -- Bastien

Re: Bug: refiling gobbles a newline and absorbs the next heading [9.1.9 (release_9.1.9-65-g5e4542 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2020-02-11 Thread Bastien
Hi Miguel, Miguel Morin writes: > delete newlines from the end of the org-capture buffer I can reproduce your problem when I do delete newlines from the end of the capture buffer, but I don't see why I would delete newlines. Is this just some casual cleanup on your side or do you have a

Re: Bug: LaTeX output of numbered TODO plain list items lose numbering. [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/27.0.50/lisp/org/)]

2020-02-11 Thread Bastien
Hi Brian, thanks for reporting this and for proposing a fix, your fix is now in the maint branch: https://code.orgmode.org/bzg/org-mode/commit/5acf4d46 @Eric, let me know if there is something I overlooked while accepting Brian's fix, I tested the change and it looks good to me. Thanks, --

Re: Bug: org-map-entries infinite loop for org file with tags [9.2.6 (9.2.6-elpa @ /home/ian/.emacs.d/elpa/org-9.2.6/)]

2020-02-11 Thread ian martins
Thanks for looking into it. The problem was most likely an incompatibility between emacs 24.5.1 and org 9.2.6. I upgraded emacs and it went away. On Wed, Feb 5, 2020 at 2:13 AM Bastien wrote: > Hi Ian, > > > Running org-map-entries on an org file with tags results in an infinite > > loop. > >

Re: Bug: Effort prompt write malformed input in agenda file even after reporting the error [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/local/share/emacs/26.3/lisp/org/)]

2020-02-11 Thread Bastien
Hi Firmin, Firmin Martin writes: > In the agenda buffer, I've called the `org-set-effort` function > with the `e` key, and input "-" which is malformed. I did receive > an error `Invalid duration format: "-"`, but the "-" has still been > written in the entry as an effort property. > > As a

Re: Bug: Re: ob-scheme.el has two problems: not killing a misbehaving interpreter and sometimes returns nil [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.2/lisp/org/)]

2020-02-11 Thread Bastien
Hi, Vladimir Nikishkin writes: > The super-pedestrian patch I wrote to patch this issue is: I implemented a similar "fix" in Org master, thanks. -- Bastien

Re: Powershell scripting with org-babel

2020-02-11 Thread Bastien
Hi Brian, emacs-orgmode@gnu.org is for discussing Org bugs and features, not free software in general. Also, everyone here is encouraged to read and follow the GNU Kind communication guidelines as a way to keep an appropriate attitude when talking with each other:

Re: [issue] Small typo in ox-html

2020-02-11 Thread Bastien
Hi Gerry, Gerry Agbobada writes: > There's a small typo in latest ox-html commits Fixed, thanks for reporting this! -- Bastien

[issue] Small typo in ox-html

2020-02-11 Thread Gerry Agbobada
There's a small typo in latest ox-html commits https://code.orgmode.org/bzg/org-mode/src/master/lisp/ox-html.el#L244 The "code-highlighted" string needs to keep the escaped ". It breaks otherwise. (exact commit :

Re: Powershell scripting with org-babel

2020-02-11 Thread briangpowell .
Damn straight it's "mature and appropriate" MicroSoft has been found guilty of MANY crimes that set the software industry back many years through serial acquisitions & monopolistic practices Corporate immaturity, unfair and illegal practices have driven the rise of the Free Software Foundation,

Re: Bug: org-read-date ignores hours?

2020-02-11 Thread Bastien
Hi, I tried (progn   (setq org-popup-calendar-for-date-prompt t)   (org-read-date t)) (progn   (setq org-popup-calendar-for-date-prompt nil)   (org-read-date t)) from master and could not reproduce the problem (not having the inserted time string taken into account). Marco, can you reproduce

Re: Bug: org-mime-htmlize generates unwanted equations numbers in mail [9.2.5 (release_9.2.5-521-gdea0c7 @ /home/oub/emacs/site-lisp/packages/org/)]

2020-02-11 Thread Bastien
Hi Uwe, Uwe Brauer writes: > I am puzzled, Thibault Marin proposed a patch > the 9th of December > From: Nicolas Goaziou > replied and even attached the patch, I think to master, I will forward > these messages to you privately. Perhaps I missed it, no problem and thanks for replying. --

Re: Bug: org-mime-htmlize generates unwanted equations numbers in mail [9.2.5 (release_9.2.5-521-gdea0c7 @ /home/oub/emacs/site-lisp/packages/org/)]

2020-02-11 Thread Uwe Brauer
>>> "B" == Bastien writes: Hi Bastian > Hi Uwe, > Uwe Brauer writes: >> I contacted the org-mime maintainer and he claims the fault is in org >> (or the org preview engine) > can you cc the org-mime maintainer in this thread so that he can guide > us through where he thinks Org is faulty?

Re: Bug: javascript license not recognized by librejs [9.2.6 (9.2.6-elpa @ /home/arne/.guix-profile/share/emacs/site-lisp/guix.d/org-9.2.6/)]

2020-02-11 Thread Bastien
Hi Arne, this is fixed in the master branch -- not in maint, as this is just a (welcome) enhancement. Thanks for suggesting this. -- Bastien

Re: Bug: export html with nice urls [9.1.9 (release_9.1.9-65-g5e4542 @ /gnu/store/djza93lqjcndsldf4794bp8mvipd6fz4-emacs-26.3/share/emacs/26.3/lisp/org/)]

2020-02-11 Thread Bastien
Hi Arne, ArneBab writes: > To make this work with every org-link would require hacking > org-html-link to not only allow keeping the org-link (if > :html-link-org-files-as-html is nil), but also to allow stripping the > extension alltogether. >From the latest master branch, using an empty

Re: Bug: org-mime-htmlize generates unwanted equations numbers in mail [9.2.5 (release_9.2.5-521-gdea0c7 @ /home/oub/emacs/site-lisp/packages/org/)]

2020-02-11 Thread Bastien
Hi Uwe, Uwe Brauer writes: > I contacted the org-mime maintainer and he claims the fault is in org > (or the org preview engine) can you cc the org-mime maintainer in this thread so that he can guide us through where he thinks Org is faulty? Thanks, -- Bastien

Re: Fixed vs variable pitch font [legibility 4/6]

2020-02-11 Thread Joost Kremers
On Tue, Feb 11 2020, Bastien wrote: Hi Texas, Texas Cyberthal writes: Why does there need to be an Org version of mixed-pitch-mode? It already works for Org. Yes, indeed. Besides, there's also `org-variable-pitch`, available on Melpa. -- Joost Kremers Life has its moments

Re: ox-html: Bug or feature for export of title and meta information?

2020-02-11 Thread Bastien
Hi Jens, it is difficult to justify existing code, it is easier to answer to bug reports. If you think there is a bug in this aread, can you tell what it is? https://orgmode.org/org.html#Feedback might help. Thanks! -- Bastien

Re: org-mode functional programming library

2020-02-11 Thread Bastien
Hello Nathan, this looks very interesting and promising, thanks for this work. I hope you can work with Nicolas to spot possible enhancements to your own library or to org-element.el, if that's relevant. I will reference om.el (or org-ml.el?) on Worg, but if you want to do it yourself, please

Re: ICS agenda export exceeds max-specpdl-size probably because of org-depend (org-edna same?)

2020-02-11 Thread Bastien
Hi Karl, did you manage to fix this one? I read "Property drawers allowed before first headline" in etc/ORG-NEWS from the master branch: Property drawers are now allowed before the first headline. Org mode is moving more towards making things before the first headline behave just as if