Re: [O] How to use xml src block as data input?

2018-04-29 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thanks, I forgot to mention I know example block can be used as input. But this will lose the syntax highlighting. If there is no better solution. I guess it is the best for now. - -- [ stardiviner ] don't need to convince with trends. Blog:

Re: [O] org-open-link-from-string truncates file path at spaces

2018-04-29 Thread Joon Ro
Hi - > Nicolas Goaziou writes: > The initial report is wrong anyway, because "file:test test.hmtl" is not > a valid link syntax, i.e., plain links cannot contain spaces. It should > be: > > (org-open-link-from-string "[[file:test test.hmtl]]") > > IMO, there is nothing to fix in the first pl

Re: [O] Testing master branch

2018-04-29 Thread Samuel Wales
fwiw i use make oldorg from the shell and restart emacs. never trusted loading from emacs, but i guess it works. the interesting thing is that restarting emacs is necessary as keybindings immediately change. odd that all i did was run something from shell, and didn't afaik do anything inside ema

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Bernt Hansen
Bastien writes: > Hi Nicolas, > > Nicolas Goaziou writes: > >> You disagreed with me in the first place with commit 71ad7b1. It was my >> original intent to not load Org Tempo by default. > > Sorry if I missed the statement where you explicitely said you thought > org-tempo should not be enabled

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Bastien
Hi Tim, thanks for your thorough and balanced feedback. Tim Cross writes: > There is no solution which will make everyone happy. However, as a long > term org user who hopes to continue using org for many more years, I > tend to come down on the side of whatever will make org easier to > mainta

Re: [O] org-note-abort

2018-04-29 Thread Nicolas Goaziou
Hello, Brad Knotwell writes: > I had some time to test your changes (though not fully as I never > could figure out how to reproduce getting org-note-abort to stick at > 't) and they appear to be working.  In doing so, I noticed the > following behaviors on the table addition usecase: > * regard

Re: [O] Testing master branch

2018-04-29 Thread Bernt Hansen
Marco Wahl writes: > Bernt Hansen writes: > >> Can I do make uncompiled instead and skip the restart? >> >> What do you recommend? > > I always rebuild (with "make" or "make test") followed by org-reload > (C-c C-x !). > > Possibly the rebuild can be omitted if you configure variable > `load-pre

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Bastien
Hi Tim, Tim Cross writes: > Given that Emacs has eww, linking to a web page for NEWS from the menu > seems to be OK. I added a new menu entry "Org Browse News" which takes the user to https://orgmode.org/Changes.html > However, I just noticed that org-plus-contrib and org > from the org repos

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Tim Cross
Bastien writes: > Hi Nicolas, > > Nicolas Goaziou writes: > >> Bastien writes: >> >>> Again, I may be wrong in thinking disabling this will cause trouble to >>> many users. Let's just take a moment to see what users think. >> >> It will case trouble during the time necessary to read ORG-NEWS

Re: [O] Testing master branch

2018-04-29 Thread Bernt Hansen
Achim Gratz writes: > Bernt Hansen writes: >> I intend to update and track the master branch git repo changes daily in >> order to identify problems as early as possible. >> >> Does it matter if I compile or not for this? >> >> Normally I do: >> >> git pull >> make >> and restart emac

Re: [O] Inheriting some local variables from source code block editing buffers

2018-04-29 Thread Bastien
Hi Göktuğ, thanks for your patch. Kayaalp writes: > when editing a source block, passing some local variables from the > original buffer into the buffer in which the source code is edited might > be useful. My use case is passing the value of ‘lexical-binding’ when > editing Elisp source code

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Tim Cross
Bastien writes: > "Thomas S. Dye" writes: > >> Would it be difficult to add an ORG-NEWS option to the Documentation >> section of the Org drop-down menu? It's an interesting document. > > Yes, I see why this how this could be useful, but there are problems: > > - ORG-NEWS is not in the ELPA an

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Nicolas Goaziou
Hello, Rasmus writes: > FWIW, I strongly disagree that Yasnippet is a suitable replacement. IMO > it’s not at all intuitive. You must be kidding. Consider the following snippet: # key: Why is using tempo NIH? Using Tempo is fine. But we're writing a template system on top of it, which is

Re: [O] git://orgmode.org/org-mode.git --> g...@code.orgmode.org:bzg/org-mode.git : Now password is required

2018-04-29 Thread Brent Goodrick
Thanks! On Thu, Apr 26, 2018 at 4:34 PM, Bastien wrote: > Hi Brent, > > https cloning is for users who just want to git pull: > https://code.orgmode.org/bzg/org-mode.git > > git:// cloning is for developers with a username on code.orgmode.org: > git clone git://code.orgmode.org/bzg/org-mode.git

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Bastien
Hi Thomas, "Thomas S. Dye" writes: > Would it be difficult to add an ORG-NEWS option to the Documentation > section of the Org drop-down menu? It's an interesting document. Yes, I see why this how this could be useful, but there are problems: - ORG-NEWS is not in the ELPA and ELPAPLUS package

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Bastien
Hi Diego, thanks for your input. Zamboni writes: > So, to summarize: I don’t mind having to load org-tempo explicitly, > but it wold be nice to make the change visible (maybe make ORG-NEWS > more visible) and to fix the bug I mentioned. Can you give a recipe on how to reproduce the bug? And m

Re: [O] add blocks to org-structure-template-alist

2018-04-29 Thread Rasmus
Bastien writes: > Hi Nicolas, > > Nicolas Goaziou writes: > >> In master branch, the format has changed. > > With the new template mechanism, can we have rich templates like the > one Charles quotes? > > (add-to-list 'org-structure-template-alist '("r" "#+begin_src rec :data? > :type \n#+end_

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Rasmus
Hi, Diego Zamboni writes: > Since a few weeks ago (around 9.1.10-11, maybe?) the “ seems a bit broken - if I try to use it in the middle of a file and > there is a block of the same type further down in the file, then only > the opening line of the block is inserted. So I’ve been using "C-c > C-

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Rasmus
Hi, Nicolas Goaziou writes: > We introduced a new expansion mechanism, recently bound to `C-c C-,'. > This mechanism is more in line with usual Org functions: it operates on > regions like, say, `org-insert-drawer'. It is an obvious default > expansion mechanism. > > If the big menu, we could ho

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Diego Zamboni
Hi, > On 29 Apr 2018, at 13:05, Bastien wrote: > Again, I may be wrong in thinking disabling this will cause trouble to > many users. Let's just take a moment to see what users think. Here’s my 2 cents: I’ve only been using org-mode for a few months now, but almost from the beginning I learned

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Thomas S. Dye
Bastien writes: I wish I'd be as optimistic as you are and assume every user reads ORG-NEWS! I seriously doubt a majority of users do. Those installing Org from ELPA cannot possibly know where to find ORG-NEWS, Org gives no indication where it lives: IOW, it's not even because users are l

Re: [O] How to use xml src block as data input?

2018-04-29 Thread John Kitchin
Here is one approach: #+name: xml-data #+BEGIN_EXAMPLE Tove Jani Reminder Don't forget me this weekend! #+END_EXAMPLE #+BEGIN_SRC python :var data=xml-data import xml.etree.ElementTree as ET root = ET.fromstring(data) for child in root: print(child.tag, child.attrib) #+END_SRC #+RESULTS:

[O] Inheriting some local variables from source code block editing buffers

2018-04-29 Thread Göktuğ Kayaalp
Hello, when editing a source block, passing some local variables from the original buffer into the buffer in which the source code is edited might be useful. My use case is passing the value of ‘lexical-binding’ when editing Elisp source code blocks in my literate .emacs so that I don't mistakenl

Re: [O] Moving from Jekyll to Orgmode

2018-04-29 Thread Grant Rettke
On Sat, Apr 28, 2018 at 4:05 PM, ST wrote: > 3. is there a free modern "corporate" style theme for org-mode? Twitter Bootstrap https://github.com/marsmining/ox-twbs and and these themes https://github.com/fniessen/org-html-themes are corporate-ish.

Re: [O] How to use xml src block as data input?

2018-04-29 Thread Bastien
Hi, stardiviner writes: > How can I use this xml data as input in another src block? You would need to enclose the xml code within #+begin_example instead of #+begin_src. Also, elfeed-xml-parse-region will not work on a string, it expects other arguments, so you might need to write your own pa

Re: [O] How to use xml src block as data input?

2018-04-29 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Is there somebody have any idea or hints about this question? - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89A

Re: [O] [PATCH 3/4] ob-clojure.el: Use :ns flag in org-src-edit

2018-04-29 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 roberthambr...@gmail.com writes: How about the progress now? - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89A

Re: [O] [PATCH 2/4] ob-clojure.el: Add ClojureScript interface

2018-04-29 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 roberthambr...@gmail.com writes: How about the progress now? - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89A

Re: [O] Moving from Jekyll to Orgmode

2018-04-29 Thread Scott Randby
On 04/29/2018 04:50 AM, ST wrote: > Hi Scott, > > thank you, and all other responders, for the shared information. The > reason I want to leave Jekyll is because I don't want to depend on a > tool that relies on language (Ruby)/environment that I don't know/use > (in this respect Hugo is the same

Re: [O] how to convert org file: link path into shell path?

2018-04-29 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bastien writes: > Maybe by replacing "%s -ss %s %s" by "%s -ss %s \"%s\"", i.e. adding > double-quotes around the filename? Thanks, Bastien, this solved my problem. - -- [ stardiviner ] don't need to convince with trends. Blog: https://s

[O] [SOLVED] Re: Let org table support move region selected fields

2018-04-29 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 > They are, but within "special" commands -- see this in org.el: > > (org-defkey org-mode-map (kbd "C-c C-x C-w") #'org-cut-special) > (org-defkey org-mode-map (kbd "C-c C-x M-w") #'org-copy-special) > (org-defkey org-mode-map (kbd "C-c C-x C-y") #'

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Charles Millar
Hi all, On 04/29/2018 07:05 AM, Bastien wrote: Hi Nicolas, Nicolas Goaziou writes:     Let's just take a moment to see what users think. I was aware of tempo.el and tempo from postings to the list. However It was not until I upgraded to version 9.1.12 from 9.1.11 that I realized that temp

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Christian Moe
So, user feedback: I'm fine with not enabling by default. I don't use any of these, but it sounds like the new default expansion mechanism Nicolas mentioned might suit me if I ever switch from my homemade insert-block function (which does prompts and regions). Yours, Christian Bastien writes:

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > Bastien writes: > >> Again, I may be wrong in thinking disabling this will cause trouble to >> many users. Let's just take a moment to see what users think. > > It will case trouble during the time necessary to read ORG-NEWS > incompatible changes section

Re: [O] Moving from Jekyll to Orgmode

2018-04-29 Thread Ista Zahn
On Sun, Apr 29, 2018 at 4:50 AM, ST wrote: > Hi Scott, > > thank you, and all other responders, for the shared information. The > reason I want to leave Jekyll is because I don't want to depend on a > tool that relies on language (Ruby)/environment that I don't know/use > (in this respect Hugo is

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Nicolas Goaziou
Bastien writes: > Again, I may be wrong in thinking disabling this will cause trouble to > many users. Let's just take a moment to see what users think. It will case trouble during the time necessary to read ORG-NEWS incompatible changes section or ask the mailing list, and then adding (require

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > You disagreed with me in the first place with commit 71ad7b1. It was my > original intent to not load Org Tempo by default. Sorry if I missed the statement where you explicitely said you thought org-tempo should not be enabled by default, I thought it was j

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Nicolas Goaziou
Hello, Bastien writes: > You seem to disagree as you just disabled Org tempo in commit 4c13d0a > ("Do not load Org Tempo by default"), saying: You disagreed with me in the first place with commit 71ad7b1. It was my original intent to not load Org Tempo by default. > I wonder what users on this

Re: [O] Let org table support move region selected fields

2018-04-29 Thread Bastien
Hi, stardiviner writes: > Thanks, this solved my problem. BTW, my curious why those commands are > not actived with keybindings in org-mode? They are, but within "special" commands -- see this in org.el: (org-defkey org-mode-map (kbd "C-c C-x C-w") #'org-cut-special) (org-defkey org-mode-map (

[O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-29 Thread Bastien
Hi Nicolas, I enabled org-tempo by default in commit 71ad7d1 ("org.el: Add org-tempo to the list of default modules") and I completed the commit message with this explanation: "Template expansion is likely to be expected by many users, as it was on by default in previous releases. Let's load

Re: [O] Testing master branch

2018-04-29 Thread Marco Wahl
Bernt Hansen writes: > Hi, > > I intend to update and track the master branch git repo changes daily in > order to identify problems as early as possible. > > Does it matter if I compile or not for this? > > Normally I do: > > git pull > make > and restart emacs every morning > > Can

Re: [O] Testing master branch

2018-04-29 Thread Achim Gratz
Bernt Hansen writes: > I intend to update and track the master branch git repo changes daily in > order to identify problems as early as possible. > > Does it matter if I compile or not for this? > > Normally I do: > > git pull > make > and restart emacs every morning > > Can I do make

Re: [O] Moving from Jekyll to Orgmode

2018-04-29 Thread ST
On Sun, 2018-04-29 at 11:07 +0200, Bastien wrote: > Hi ST, > > ST writes: > > > Could you, please, share your website publishing workflow (considering > > the 3 issues I've mentioned)? > > if people take the time to share this on the list, would you be kind > enough to take the time to enhance

[O] Testing master branch

2018-04-29 Thread Bernt Hansen
Hi, I intend to update and track the master branch git repo changes daily in order to identify problems as early as possible. Does it matter if I compile or not for this? Normally I do: git pull make and restart emacs every morning Can I do make uncompiled instead and skip the rest

Re: [O] Moving from Jekyll to Orgmode

2018-04-29 Thread Bastien
Hi ST, ST writes: > Could you, please, share your website publishing workflow (considering > the 3 issues I've mentioned)? if people take the time to share this on the list, would you be kind enough to take the time to enhance Worg documentation with a readable synthesis of all answers? If a m

Re: [O] Moving from Jekyll to Orgmode

2018-04-29 Thread ST
Hi Scott, thank you, and all other responders, for the shared information. The reason I want to leave Jekyll is because I don't want to depend on a tool that relies on language (Ruby)/environment that I don't know/use (in this respect Hugo is the same for me). I prefer something more simplistic, e

Re: [O] Bug: Usability for tags in master branch [9.1.12 (release_9.1.12-646-gb08245 @ c:/D-Drive/bin/org-mode/lisp/)]

2018-04-29 Thread Bastien
Hi Bernt, Bernt Hansen writes: >> Fixed. Thank you. > > Confirmed. Thanks!!! Indeed, thanks too! > I am always amazed at how fast bugs are addressed on this project. That's because the place we report bugs is also the place we solve them ;) -- Bastien

Re: [O] Bug: Usability for tags in master branch [9.1.12 (release_9.1.12-646-gb08245 @ c:/D-Drive/bin/org-mode/lisp/)]

2018-04-29 Thread Bernt Hansen
Nicolas Goaziou writes: > Bastien writes: > 4) SPC now does not work to insert a space after the TODO so I can type my headline I have to use C-f >> >> I still have this issue with current master. > > > Fixed. Thank you. Confirmed. Thanks!!! I am always amazed at how fast b

Re: [O] Bug: org-agenda no more aligns tags to the set column

2018-04-29 Thread Nicolas Goaziou
Hello, Rainer Stengele writes: > Please change org-agenda-tags-column to something other than the default, for > example -160. > Does the standard agenda ("C-c a a") respect the variable in your case? > It doesn't seem to in my setting. Fixed. Thank you. Regards, -- Nicolas Goaziou

Re: [O] Bug: org-agenda-tags-column does not work anymore [9.1.12 (release_9.1.12-677-g4c13d0 @ /Users/xcy/src/org-mode/lisp/)]

2018-04-29 Thread Nicolas Goaziou
Hello, Xu Chunyang writes: > I'm using latest Org mode built from latest git repository, the HEAD > is 4c13d0a1a870a450627ce1d8449a3b7204202250. I notice tags are no longer > aligned in *Org Agenda*. > > It seems the issue is introduced by > > e87ebca2a755620a13a49cc748ba987b17d2d64d Use `or

Re: [O] Moving from Jekyll to Orgmode

2018-04-29 Thread Saša Janiška
ST writes: > I would like to rewrite my website using Orgmode (till now I used > Jekyll). It would be nice if you could help me with following questions: I recommend you to take look at ox-hugo (https://ox-hugo.scripter.co/) Sincerely, Gour -- As the embodied soul continuously passes, in thi