Re: [O] org-envolve?
David Arroyo Menendez davi...@gnu.org writes: Yes, I have some ítems mapcar defun apply cons Then I mark the region of this ítems, apply the function and obtain: + [ ] mapcar + [ ] defun + [ ] apply + [ ] cons FWIW, I use rectangular insertion for this : 1. select region (mark on the first 'm', point on the last 'c', or conversely) 2. add string - [ ] using C-x r t (string-rectangle). -- Nico.
Re: [O] org-envolve?
Nicolas Richard theonewiththeevill...@yahoo.fr writes: David Arroyo Menendez davi...@gnu.org writes: Yes, I have some ítems mapcar defun apply cons Then I mark the region of this ítems, apply the function and obtain: + [ ] mapcar + [ ] defun + [ ] apply + [ ] cons FWIW, I use rectangular insertion for this : 1. select region (mark on the first 'm', point on the last 'c', or conversely) 2. add string - [ ] using C-x r t (string-rectangle). Another way is to - mark the region, C-x C-x if necessary to put point on the first item. - C-c - repeatedly until you get the bullets you want. - C-u C-c C-c to add the boxes. Nick
Re: [O] org-envolve?
Nicolas Richard theonewiththeevill...@yahoo.fr writes: David Arroyo Menendez davi...@gnu.org writes: Yes, I have some ítems mapcar defun apply cons Then I mark the region of this ítems, apply the function and obtain: + [ ] mapcar + [ ] defun + [ ] apply + [ ] cons FWIW, I use rectangular insertion for this : 1. select region (mark on the first 'm', point on the last 'c', or conversely) 2. add string - [ ] using C-x r t (string-rectangle). Thanks for the tip.
Re: [O] org-envolve?
Nick Dokos ndo...@gmail.com writes: Then I mark the region of this ítems, apply the function and obtain: + [ ] mapcar + [ ] defun + [ ] apply + [ ] cons FWIW, I use rectangular insertion for this : 1. select region (mark on the first 'm', point on the last 'c', or conversely) 2. add string - [ ] using C-x r t (string-rectangle). Another way is to - mark the region, C-x C-x if necessary to put point on the first item. - C-c - repeatedly until you get the bullets you want. - C-u C-c C-c to add the boxes. Nick What will we do with davidam-org-envolve-src and davidam-org-src? Must we use another way or make sense store it in a function? Thanks.
Re: [O] org-envolve?
Hi David, David Arroyo Menendez davi...@gnu.org writes: + davidam-org-envolve-src(msg) + davidam-org-src(msg) It's quicker to add values to `org-structure-template-alist' IMO. + davidam-org-envolve-check-list() + davidam-org-envolve-numbered-list() I don't understand what those functions should do and they don't work until the mark is set -- can you tell more? -- Bastien
Re: [O] org-envolve?
Bastien b...@gnu.org writes: Hi David, David Arroyo Menendez davi...@gnu.org writes: + davidam-org-envolve-src(msg) + davidam-org-src(msg) It's quicker to add values to `org-structure-template-alist' IMO. I'm taking a look to org-structure-template-alist, it seems for autocompletion. How can I use it? org-try-structure-completion, it's not an interactive function. + davidam-org-envolve-check-list() + davidam-org-envolve-numbered-list() I don't understand what those functions should do and they don't work until the mark is set -- can you tell more? Yes, I have some ítems mapcar defun apply cons Then I mark the region of this ítems, apply the function and obtain: + [ ] mapcar + [ ] defun + [ ] apply + [ ] cons :)
Re: [O] org-envolve?
Aloha David, David Arroyo Menendez davi...@gnu.org writes: + davidam-org-envolve-src(msg) + davidam-org-src(msg) It's quicker to add values to `org-structure-template-alist' IMO. I'm taking a look to org-structure-template-alist, it seems for autocompletion. How can I use it? org-try-structure-completion, it's not an interactive function. IIUC, org-structure-template-alist is for Easy Templates (Section 15.2 in the manual). I think these function differently from your *-envolve-* functions. The Easy Templates prepare a container to be filled, and your functions (which I find handy, too, thanks!) take extant text and convert it to a source block or list. hth, Tom -- Thomas S. Dye http://www.tsdye.com
[O] org-envolve?
Hello, I've some functions in worg/code/elisp/davidam.el, that could be interesting contribute to org-mode (I use davidam-org-src every day). The functions are: + davidam-org-envolve-src(msg) + davidam-org-src(msg) + davidam-org-envolve-check-list() + davidam-org-envolve-numbered-list() My doubt is if is better work more to create a new file, or if someone thinks that can be integrated in some existing org file. Thanks.