Re: [PATCH] I updated patch by deleteing duplicate tags

2020-12-02 Thread stardiviner
[stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Dec 2, 2020 at 5:30 PM stardiviner wrote: > The default [C-c C

Re: Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec?

2020-12-02 Thread Tim Cross
TRS-80 writes: >> On 2020-12-02 16:59, Tim Cross wrote: >>> TRS-80 writes: >>> >> I note that in the email thread you referenced, the last post suggests >> setting up a custom readme format which would allow you to use HTML. >> Maybe that is the easiest route to take - org -> html with custom

Re: Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec?

2020-12-02 Thread TRS-80
On 2020-12-02 16:59, Tim Cross wrote: TRS-80 writes: I think the problem is actually because Sourcehut are sanitizing the id attribute out of links, as I have replied already to some other people in this thread. From what I can tell, yes your right. However, it also seems that this is an ar

Re: Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec?

2020-12-02 Thread Tim Cross
TRS-80 writes: >> On 2020-12-02 14:44, Tim Cross wrote: >> > I think the problem is actually because Sourcehut are sanitizing the id > attribute out of links, as I have replied already to some other people > in this thread. > >From what I can tell, yes your right. However, it also seems that t

Re: Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec?

2020-12-02 Thread TRS-80
On 2020-12-02 14:56, TRS-80 wrote: On 2020-12-02 14:12, Jean Louis wrote: Try using pandoc Org to Markdown as that could help until Org exporting start working how it should. Great minds must think alike! :) I tried that already but in-page links which look like: ``` [[*Setup][Setup]] ```

Re: Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec?

2020-12-02 Thread TRS-80
On 2020-12-02 14:44, Tim Cross wrote: I could be completely wrong here, but I suspect this is a combination of the evolving markdown spec (or more specifically, no one standard spec) and the age of the org mode markdown exporter. FWIW, it sort of feels that way to me, too. One of the challeng

Re: Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec?

2020-12-02 Thread TRS-80
On Wed, Dec 2, 2020 at 7:54 PM TRS-80 wrote: Some further digging revealed that the ox-md exporter (which itself is derived from the HTML exporter(?) makes extensive use of the id attribute in links. And Sourcehut's HTML sanitizer only allows href and title attributes (not id).[1] [1] https://

Re: Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec?

2020-12-02 Thread TRS-80
On 2020-12-02 14:12, Jean Louis wrote: Try using pandoc Org to Markdown as that could help until Org exporting start working how it should. Great minds must think alike! :) I tried that already but in-page links which look like: ``` [[*Setup][Setup]] ``` Somehow get exported to: ``` *Set

Re: Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec?

2020-12-02 Thread Diego Zamboni
Hi TRS-80, Note that according to https://man.sr.ht/markdown/#post-processing, Sourcehut uses CommonMark, not plain Markdown, so I guess that's why it doesn't allow all HTML tags. (note: Markdown allows embedded HTML, so ox-md's behavior is not incorrect) There seems to be no ox-commonmark (that

Re: Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec?

2020-12-02 Thread Tim Cross
TRS-80 writes: > Hallo, > > I became quite interested in what Drew Devault was doing with his > Sourcehut project, so I decided to join. I was really enjoying > everything except for the fact that .org files are not supported insofar > as automatic rendering into nice looking HTML in the same

Re: Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec?

2020-12-02 Thread Jean Louis
Try using pandoc Org to Markdown as that could help until Org exporting start working how it should.

Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec?

2020-12-02 Thread TRS-80
Hallo, I became quite interested in what Drew Devault was doing with his Sourcehut project, so I decided to join. I was really enjoying everything except for the fact that .org files are not supported insofar as automatic rendering into nice looking HTML in the same way that Markdown files are f

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-02 Thread Jean Louis
Thank you for script, I will see to use it. That is exactly that I need for indexing of some important references. Today I had need for this. > Maybe it is possible to add necessary features to pdf.js and to serve the > viewer from purely static site (no authorization and no API > endpoints). Th

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-02 Thread Maxim Nikulin
2020-12-01 Jean Louis wrote: * Maxim Nikulin [2020-11-30 20:10]: To note is that not every PDF has text inside. They may be made from images. Images do not necessary mean absence of text. Tesseract can generate PDF files with text layer in addition to original scans. and prepares `captur

Re: is org-export-preserve-breaks incompatible with org verse blocks?

2020-12-02 Thread mousebot
hi again, i had a look at the content.xml file in each case. with org-export-preserve-breaks disabled, whitespace is exported (correctly) like so: text here indented 5 spaces. with the option enabled, the the spaces are directly transferred to the file: text printed after 5 spaces, whi

overloading of internal priority calculations in agenda

2020-12-02 Thread Adam Spiers
Hi all, I'm currently working on adding a feature to org-agenda which allows manual ordering of entries in combination with the existing automatic ordering (as dictated by `org-agenda-sorting-strategy'). During my investigations I noticed that while `org-get-priority' converts [#B] style cookies

Re: Remembrance Agents

2020-12-02 Thread Jean Louis
* hpgislero...@bluewin.ch [2020-12-02 12:57]: > > The more information user > > enters into the database and the more tags and relations have been > > created the better the relevance. > > Isn't the real problem-to-solve finding the actual semantic context and > then to relate it matching informa

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-02 Thread Jean Louis
* Ihor Radchenko [2020-12-02 12:50]: > Jean Louis writes: > > I can see that Python is reading QUTE FIFO and then sending commands > > to browser from there. > > Yes, but QUTE_FIFO variable is only available for the userscripts called > from inside qutebrowser. Probably, there is some way to obt

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-02 Thread Maxim Nikulin
2020-11-24 Ihor Radchenko wrote: Also, you can capture webpage as a heading using org-capture + org-protocol: 1. https://addons.mozilla.org/en-US/firefox/addon/org-capture/ 2. https://chrome.google.com/webstore/detail/org-capture/kkkjlfejijcjgjllecmnejhogpbcigdc 3. https://seds.nl/notes/orgmode

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-02 Thread Jean Louis
* Ihor Radchenko [2020-12-02 12:53]: > Jean Louis writes: > > > What I do not know is how do I invoke script from qutebrowser to use > > the environment variables? > > https://www.qutebrowser.org/doc/userscripts.html > > Basically, script can be just a bash script. > You need to put it into us

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-02 Thread Ihor Radchenko
Jean Louis writes: > What I do not know is how do I invoke script from qutebrowser to use > the environment variables? https://www.qutebrowser.org/doc/userscripts.html Basically, script can be just a bash script. You need to put it into userscripts directory and then you can call it from inside

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-02 Thread Ihor Radchenko
Jean Louis writes: > I can see that Python is reading QUTE FIFO and then sending commands > to browser from there. Yes, but QUTE_FIFO variable is only available for the userscripts called from inside qutebrowser. Probably, there is some way to obtain FIFO location, but I am not aware about it. >

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-02 Thread Jean Louis
* Ihor Radchenko [2020-11-25 10:17]: > > - qutebrowser, once HTML is loaded or any file, can transmit this file > > in a script to external program to parse it, collect meta data and > > index it somewhere > > .html version of the current page is always available to userscripts via > $QUTE_HT

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-02 Thread Jean Louis
* Ihor Radchenko [2020-11-25 10:17]: > > While I did use qutebrowser many times, did not know about the > > scripts. Please state some examples how you call those external > > scripts. I am interested if: > > - https://www.qutebrowser.org/doc/userscripts.html > - > https://github.com/qutebrowser

Re: One vs many directories

2020-12-02 Thread Jean Louis
* Ihor Radchenko [2020-11-26 16:29]: > > Sorry for that vague expression. Let us say I open Completions buffer > > I can switch into it, inspect it, ask for defined keys, evaluate with > > M-:, Emacs allows me to remain in the window and go to other > > window. Agenda buffer does not do that, this

[PATCH] [C-c C-q] completing tags from both buffer-local and global alist of tags

2020-12-02 Thread stardiviner
The default [C-c C-q] completing tags only retrieve tags from current buffer locally. By this patch, will merge both buffer-local tags and user defined global `org-tags-alist`. This is more reasonable. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner

Re: One vs many directories

2020-12-02 Thread Jean Louis
* Ihor Radchenko [2020-11-25 14:48]: > > When I do C-c a it runs (org-agenda) but I do not have "g" and I am on > > development version. The C-c a window is made so that I cannot go with > > cursor inside and that I cannot even expect the key map neither invoke > > command by M-x and I cannot even

Re: Bug: LaTeX inline maths expression \(+\) wrongly toggles strike-through face

2020-12-02 Thread tomas
On Wed, Dec 02, 2020 at 03:19:27AM +0100, Firmin Martin wrote: > > Consider the following lines: > - $+$ foobar $+$ > - \[+\] foobar \[+\] > - $$+$$ foobar $$+$$ > - \(+\) foobar \(+\) > Each of them is correct LaTeX inline/display maths expressions, but only the > last one toggles strike-throu

generate an org file for today's appointments

2020-12-02 Thread Alan Schmitt
Hello, I have my calendars converted to org files (using ical2orgpy), and as I include them as agenda files, I have this nice view in org-agenda: 9:10.. now - - - - - - - - - - - - - - - - - - - - - - - - - AlanWork: 10:00-12:00 Event A - Chris: 10:00-11:00 Event B -

Re: Remembrance Agents

2020-12-02 Thread hpgisleropen
> The more information user > enters into the database and the more tags and relations have been > created the better the relevance. Isn't the real problem-to-solve finding the actual semantic context and then to relate it matching information? After all, words (TAGS, ...) have different meaning