[O] Feature suggestion: #+toc figures

2019-07-29 Thread Emmanuel Charpentier
Currently, org-mode is able to produce (among other) tables, figures and listings, recognized and captioned/numbered as such. It can also produce a list of tables and a list of listings of a document. However, it currently /cannot/ produce a list of figures. Is that an oversight ? Or is there a

[O] Feature suggestion: support "scale=" includegraphics option in the builtin latex exporter.

2019-04-19 Thread Emmanuel Charpentier
Dear list, Most graphics-able exporters support some form of a scale parameter, sizing the resultant image as a function of the original graphics file (intended) size. This is true for: * built-in ODT exporter * ox-pandoc Latex/ODT/DOCX exporters. This possibility comes handy to avoid (or at

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-04 Thread John Kitchin
I guess this is a feature of deleting a region with the point in it. This code, for example, does not preserve point. #+BEGIN_SRC emacs-lisp "<>" (save-excursion (let* ((p1 (point)) (p2 (re-search-backward (concat "<" ">"))) (content (buffer-substring-no-properties p1 p2))) (delete-region p1

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-04 Thread Thorsten Jolitz
John Kitchin writes: > Thanks for the examples. > > There is an interesting issue, the following does not save-excursion! > > (save-excursion > (org-dp-rewire 'src-block t t ;cont ins > t ;aff > nil ;elem > :parameters ":results output")) > > The point gets moved. Do you know why that happens? H

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-04 Thread John Kitchin
Thanks for the examples. There is an interesting issue, the following does not save-excursion! (save-excursion (org-dp-rewire 'src-block t t ;cont ins t ;aff nil ;elem :parameters ":results output")) The point gets moved. Do you know why that happens? John

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-03 Thread Thorsten Jolitz
Thorsten Jolitz writes: PS One more to show that one can not only easily modify a certain org element, but that its just as easy to convert it to another type of org element. Use this (call M-x tj/obch) #+BEGIN_SRC emacs-lisp (defun tj/obch () "docstring" (interactive) (org-dp-rewire '

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-03 Thread Thorsten Jolitz
John Kitchin writes: Hallo, > This is a neat idea. This is quite a nice use/show case for org-dp too. I did not really try to solve the users feature request, just wanted to demonstrate how different a possible solution looks using declarative programming, leaving all the low-level parsing an

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-03 Thread Akater
Thank you, I'll make use of 's. Not well versed in Elisp libraries. save-excursion is certainly an improvement, too. signature.asc Description: PGP signature

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-02 Thread John Kitchin
This is a neat idea. I sometimes want to switch to silent, or between value and results. I don't know if you would consider the code below an improvement, but it seems to do what you want, and is shorter. It has less checking of things, and is more of a replace the header kind of approach. Persona

[O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-02-28 Thread Akater
When I have a chance, I enjoy the following development workflow: the code is written in org files and is tangled into conventional source code files more or less regularly. I find that source blocks mostly fall into three categories, numbered here for further reference: - examples/test cases/desi

[O] Feature suggestion: org-extend-today-until

2014-10-15 Thread Marcin Borkowski
Hi all, how difficult would it be to extend the meaning of `org-extend-today-until' to the clock tables generated with `:block today'? Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University

[O] Feature suggestion: VISIBILITY: n children

2013-01-03 Thread Muchenxuan Tong
Right now for 'VISIBILITY' property Org has the following options: folded, children, content, all I think one more flexible options--n children--would be useful (n is a integer) It restricts how many top children you can see under the current headline. This is inspired by Things for Mac app,

Re: [O] Feature suggestion

2012-01-02 Thread Bastien
Hi York, York Zhao writes: > I think this is a good idea. By `org-babel-execute:tex' do you mean > `org-babel-execute-tex'? No, I mean org-babel-execute:tex. There is a whole family of Babel functions that let C-c C-c act upon a source block, with respect to the langage used. Do `C-h f org-b

Re: [O] Feature suggestion

2012-01-02 Thread York Zhao
> York Zhao writes: > >> May I suggest a feature that when the point is inside a TeX source block and >> "C-c C-c" is pressed, instead of showing the error "No org-babel-execute >> function for tex!", can we process the current tex block to output the dvi or >> pdf file? > > I'd rather define a or

Re: [O] Feature suggestion

2012-01-02 Thread Bastien
Hi York, York Zhao writes: > May I suggest a feature that when the point is inside a TeX source block and > "C-c C-c" is pressed, instead of showing the error "No org-babel-execute > function for tex!", can we process the current tex block to output the dvi or > pdf file? I'd rather define a or

[O] Feature suggestion

2012-01-01 Thread York Zhao
Hi, May I suggest a feature that when the point is inside a TeX source block and "C-c C-c" is pressed, instead of showing the error "No org-babel-execute function for tex!", can we process the current tex block to output the dvi or pdf file? Thanks, York

Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-12-31 Thread Bastien
Hi Brian, Brian van den Broek writes: > I very much appreciate orgmode's ability to parse the content of a > yank for date and time information while entering a timestamp. I think > it would be even cooler were orgmode able to parse the content of a > selected region and extract the same informa

Re: [O] Feature suggestion

2011-11-28 Thread Markus Grebenstein
I'd especially would love to be able to use Markdown to write equations which -to me- is much more comfortable than writing latex equations. Second I'd love to be able to export to MMD when I run into problems with the latex exporter (I had plenty!). Third in my eyes it would be nice to have as fe

Re: [O] Feature suggestion

2011-11-06 Thread Herbert Sitz
Markus Grebenstein mgrebenstein.de> writes: > > since I used Scrivener (Windows Beta) quite a while I'd love to have > more of fletcher penny's multimarkdown (or MMD- like Syntax) integrated > in orgmode to make it more versatile. Sadly I am not a lisp programmer > at all... > Markus -- Wha

[O] Feature suggestion

2011-11-06 Thread Markus Grebenstein
Dear community, since I used Scrivener (Windows Beta) quite a while I'd love to have more of fletcher penny's multimarkdown (or MMD- like Syntax) integrated in orgmode to make it more versatile. Sadly I am not a lisp programmer at all... Best Markus

Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-10-26 Thread Brian van den Broek
On 26 Oct 2011 09:56, "Eric S Fraga" wrote: > > Brian van den Broek writes: > > [...] > > > Various people upthread convinced me that my feature request wasn't > > really worth it. (I do hope it didn't cost you too much time!) So, I > > am content to drop it here :-) > > but did you try a simple

Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-10-26 Thread Eric S Fraga
Brian van den Broek writes: [...] > Various people upthread convinced me that my feature request wasn't > really worth it. (I do hope it didn't cost you too much time!) So, I > am content to drop it here :-) but did you try a simple keyboard macro in the end as suggested by the first response?

Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-10-25 Thread Brian van den Broek
On 24 October 2011 08:00, Bastien wrote: > Hi Brian, > > suvayu ali writes: > >> Ah I see it now, you want the org-timestamp command to work on a >> region. Maybe you can write your own function with lisp if you are >> doing this too often. Should be quite simple to try. > > Please check `org-loo

Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-10-23 Thread Bastien
Hi Brian, suvayu ali writes: > Ah I see it now, you want the org-timestamp command to work on a > region. Maybe you can write your own function with lisp if you are > doing this too often. Should be quite simple to try. Please check `org-loop-over-headlines-in-active-region' from latest git rep

Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-10-08 Thread suvayu ali
On Fri, Oct 7, 2011 at 4:36 PM, Brian van den Broek wrote: > What I was suggesting was it would be cool and a small time-saver if I > could select the text "Tuesday at 3pm" and hit C-u C-c . and have the > region replaced with the stamp <2011-10-11 Tue 15:00>, entirely > bypassing the kill and yan

Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-10-07 Thread Nick Dokos
Brian van den Broek wrote: > ... > Say I have a buffer with the following contents: > > <--> > Some text in a buffer with orgmode enabled. > > Blah blah, Tuesday at 3pm blah blah September 19, 2003, 14:00-15:00 blah blah > <--> > > As it is now, if I kill the text "Tuesday at 3pm", an

Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-10-07 Thread Brian van den Broek
On 7 October 2011 10:12, suvayu ali wrote: > Hi Brian, > > On Fri, Oct 7, 2011 at 12:38 AM, Brian van den Broek > wrote: >> It just seemed that since orgmode parse text yanked into the dt prompt, it >> would be in keeping with the general spirit of the mode to parse selected >> text, too. But, as

Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-10-07 Thread suvayu ali
Hi Brian, On Fri, Oct 7, 2011 at 12:38 AM, Brian van den Broek wrote: > It just seemed that since orgmode parse text yanked into the dt prompt, it > would be in keeping with the general spirit of the mode to parse selected > text, too. But, as I said, it isn't a big deal. I don't quite understan

Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-10-06 Thread Brian van den Broek
On 6 Oct 2011 21:46, "Achim Gratz" wrote: > > Brian van den Broek writes: > > It wouldn't stun me were orgmode already able to do what I have in > > mind, but trying it and consulting the fine manual didn't suggest that > > it does. > [snip] > > I'm not exactly sure what you are trying to achieve

Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-10-06 Thread Achim Gratz
Brian van den Broek writes: > It wouldn't stun me were orgmode already able to do what I have in > mind, but trying it and consulting the fine manual didn't suggest that > it does. [snip] I'm not exactly sure what you are trying to achieve, but it seems that you could define a keyboard macro for

[O] feature suggestion: apply datetime prompt magic to selected region

2011-10-06 Thread Brian van den Broek
Hi all, It wouldn't stun me were orgmode already able to do what I have in mind, but trying it and consulting the fine manual didn't suggest that it does. I very much appreciate orgmode's ability to parse the content of a yank for date and time information while entering a timestamp. I think it w

[O] feature suggestion: apply datetime prompt magic to selected region

2011-10-06 Thread Brian van den Broek
Hi all, [Apologies to the mods and to all if this goes through twice; I sent from the wrong gmail tab :-[ ] It wouldn't stun me were orgmode already able to do what I have in mind, but trying it and consulting the fine manual didn't suggest that it does. I very much appreciate orgmode's ability