[O] [feature] prepend comment char before org-babel-ref

2018-01-23 Thread numbch...@gmail.com
I'm currently using this advice: ```elisp ;;; prepend comment char ahead of `org-babel-ref'. ;; auto prefix with comment char when create code ref in src block with `org-store-link'. (defun org-babel-ref-prepend-comment-char (arg interactive?) "Prepend comment chart in Org-mode src code block."

Re: [O] compatible issue between MELPA org and source code org

2018-01-23 Thread numbch...@gmail.com
After check your source code, I finally and with your theory: > Org doesn't load automatically.. it autoloads only if you open an Org file or call an org-loading function. After emacs -Q, if you do M-: (featurep 'org), you will get nil. So the user does get a change to set the load path as they

Re: [O] How to set org-tag-alist

2018-01-23 Thread Nick Dokos
Lawrence Bottorff writes: > This describes a org-tag-alist for setting up globally a list of tags, but > I'm not sure how to alter > org-tag-alist. I'm used to doing an M-x customize-variable, but there is no  > org-tag-alist. There is a defcustom for it in org.el, so once

[O] Bug: Option :session cripples the Results output by adding ">" sign

2018-01-23 Thread msj
When I attempt to work with shell source blocks in session mode (:session argument) I'm receiving in RESULTS block an unwanted sign (probably line continuation sign) in multi line commands like 'for' loop. --- How it works

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

2018-01-23 Thread Samuel Wales
i will leave style decisions to the bike shed manufacturer [those who do the work]. but i will opine anyway. i'm with the no indentation people. [except -- not implemented -- plain lists indented by 2. :]] but my reason for posting is that as a default for org, i think (setq

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

2018-01-23 Thread Thomas S. Dye
Aloha all, Nicolas Goaziou writes: Note that I made a few design choices I didn't write about, e.g.,: - use fixed-width area for one-line examples, - use example blocks for Org syntax instead of "begin_src org", - internal links to headlines always start with a star, - tags,

Re: [O] sed tests

2018-01-23 Thread Marco Wahl
Hi Skip, Collins writes: > Recently (last two or three weeks), when I run make test on the latest > git source (currently release_9.1.6-395-g8ecc4c) on my mac with Emacs > 26.0.90 (compiled with brew on my Mac), I get the following results: > > Ran 775 tests, 771 results

Re: [O] Make tag inheritance explicit

2018-01-23 Thread Karl Voit
* Kaushal Modi wrote: > > On Tue, Jan 23, 2018 at 9:45 AM Karl Voit wrote: > >> > 2. Use `org-get-tags-at' with point on "Task 1" heading in your example. >> > `org-get-tags' returns a list of tags *only* at the current heading. >> >

[O] How to set org-tag-alist

2018-01-23 Thread Lawrence Bottorff
This describes a org-tag-alist for setting up globally a list of tags, but I'm not sure how to alter org-tag-alist. I'm used to doing an M-x customize-variable, but there is no org-tag-alist. Later on the page it has this form: (setq

[O] sed tests

2018-01-23 Thread Skip Collins
Recently (last two or three weeks), when I run make test on the latest git source (currently release_9.1.6-395-g8ecc4c) on my mac with Emacs 26.0.90 (compiled with brew on my Mac), I get the following results: Ran 775 tests, 771 results as expected, 4 unexpected (2018-01-23 11:37:59-0500) 11

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

2018-01-23 Thread Kaushal Modi
On Tue, Jan 23, 2018 at 11:33 AM Nicolas Goaziou wrote: > > If `org-src-fontify-natively' is non-nil, contents of source blocks is > not shown verbatim. In this particular case, contents are displayed as > in an Org buffer, which means links are partly invisible. >

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

2018-01-23 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > On Mon, Jan 22, 2018 at 2:52 PM Nicolas Goaziou > wrote: > >> There is another issue with "begin_src org" blocks. If your example >> contains a link, you only see the description part, not the whole >> syntax. Thus

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

2018-01-23 Thread Julius Dittmar
Am 23.01.2018 um 16:19 schrieb Kaushal Modi: > There is another issue with "begin_src org" blocks. If your example > contains a link, you only see the description part, not the whole > syntax. Thus > > #+begin_src org > [[path][description]] > #+end_src > >

Re: [O] compatible issue between MELPA org and source code org

2018-01-23 Thread Kaushal Modi
On Tue, Jan 23, 2018 at 11:09 AM numbch...@gmail.com wrote: > Thanks for your advice. After your code inspiration. I got an idea. After > test, it works fine. I try to load `use-package` and `(use-package org :pin > manaul ..)` ahead of `(package-initialize)`. Half of the

Re: [O] compatible issue between MELPA org and source code org

2018-01-23 Thread numbch...@gmail.com
Thanks for your advice. After your code inspiration. I got an idea. After test, it works fine. I try to load `use-package` and `(use-package org :pin manaul ..)` ahead of `(package-initialize)`. Half of the problem is solved. The another half of the problem is that Emacs still will load built-in

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

2018-01-23 Thread Kaushal Modi
On Mon, Jan 22, 2018 at 2:52 PM Nicolas Goaziou wrote: > Kaushal Modi writes: > > There is another issue with "begin_src org" blocks. If your example > contains a link, you only see the description part, not the whole > syntax. Thus > >

Re: [O] Make tag inheritance explicit

2018-01-23 Thread Kaushal Modi
On Tue, Jan 23, 2018 at 9:45 AM Karl Voit wrote: > > > 2. Use `org-get-tags-at' with point on "Task 1" heading in your example. > > `org-get-tags' returns a list of tags *only* at the current heading. > > `org-get-tags-at' returns inherited tags too. > > You mean for

Re: [O] Make tag inheritance explicit

2018-01-23 Thread Karl Voit
Hi Carsten, * Carsten Dominik wrote: > > On Tue, Jan 23, 2018 at 11:22 AM, Karl Voit wrote: > >> Background: Org-mode has perfect tag inheritance but unfortunately >> the export methods I am using do export the tags only to the >> headings they are assigned

Re: [O] Make tag inheritance explicit

2018-01-23 Thread Karl Voit
Hi, * Kaushal Modi wrote: > > On Tue, Jan 23, 2018, 5:24 AM Karl Voit wrote: > >> Org-mode has perfect tag inheritance but unfortunately >> the export methods I am using do export the tags only to the >> headings they are assigned to and not to

Re: [O] compatible issue between MELPA org and source code org

2018-01-23 Thread Kaushal Modi
On Mon, Jan 22, 2018, 4:41 AM numbch...@gmail.com wrote: > > Does anybody have a perfect solution to use latest source code Org in > Emacs way? > I've been using a solution that's working perfectly for me. Unfortunately, the only way is to: 1. Uninstall all the Org

Re: [O] Make tag inheritance explicit

2018-01-23 Thread Carsten Dominik
On Tue, Jan 23, 2018 at 11:22 AM, Karl Voit wrote: > Hi! > > Is it possible to lookup inherited tags and add them explicitly to > the current heading? > > Example: > > * Project:ProjectX: > ** Sub-Project :@Joe: > *** Task 1 > *** Task 2 > > When I go to "Task 1"

Re: [O] Make tag inheritance explicit

2018-01-23 Thread Kaushal Modi
On Tue, Jan 23, 2018, 5:24 AM Karl Voit wrote: > Org-mode has perfect tag inheritance but unfortunately > the export methods I am using do export the tags only to the > headings they are assigned to and not to their sub-headings via > inheritance. Hello, I am curious how

[O] Make tag inheritance explicit

2018-01-23 Thread Karl Voit
Hi! Is it possible to lookup inherited tags and add them explicitly to the current heading? Example: * Project:ProjectX: ** Sub-Project :@Joe: *** Task 1 *** Task 2 When I go to "Task 1" (or 2), I want to invoke a command which "copies" the tags ProjectX and @Joe to the heading of

Re: [O] Feature request: #+INCLUDE: with anchors

2018-01-23 Thread Rasmus
BTW: For your original request there’s a hack here that might work for you. AFAIR it works by updating the lines. http://endlessparentheses.com/updating-org-mode-include-statements-on-the-fly.html At one point I considered adding some sort of regexp delimiters, but I think including named

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

2018-01-23 Thread Christian Moe
Bastien Guerry writes: > Hi Nicolas, > >> "manual.org" was updated a month ago, and, so far, nobody complained >> about it. So, I think it's a good time to discuss about what could be >> done next. > > Having the manual in .org is a great achievement, congrats to anyone > who worked on this

[O] org-adapt-indentation 'content (was Re: [RFC] Moving "manual.org" into core)

2018-01-23 Thread Christian Moe
Nicolas Goaziou writes: > Bastien Guerry writes: > >> I've added (org-list-description-max-indent . 5) > > OK. > >> Me too, for the same argument. But this points to a strong limitation >> to `org-adapt-indentation' for which I'd like to propose this change. >> >>(setq