[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

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

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

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"

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

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.

[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

[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

Re: [O] Feature suggestion

2012-01-02 Thread Bastien
Hi York, York Zhao gtdplatf...@gmail.com 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

Re: [O] Feature suggestion

2012-01-02 Thread York Zhao
York Zhao gtdplatf...@gmail.com 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

Re: [O] Feature suggestion

2012-01-02 Thread Bastien
Hi York, York Zhao gtdplatf...@gmail.com 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

[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 van...@gmail.com 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

[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

2011-11-06 Thread Herbert Sitz
Markus Grebenstein post at 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 --

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

2011-10-26 Thread Eric S Fraga
Brian van den Broek brian.van.den.br...@gmail.com 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

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 e.fr...@ucl.ac.uk wrote: Brian van den Broek brian.van.den.br...@gmail.com 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

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 b...@altern.org wrote: Hi Brian, suvayu ali fatkasuvayu+li...@gmail.com 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

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

2011-10-24 Thread Bastien
Hi Brian, suvayu ali fatkasuvayu+li...@gmail.com 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

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 brian.van.den.br...@gmail.com 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

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 brian.van.den.br...@gmail.com 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

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 fatkasuvayu+li...@gmail.com wrote: Hi Brian, On Fri, Oct 7, 2011 at 12:38 AM, Brian van den Broek brian.van.den.br...@gmail.com wrote: It just seemed that since orgmode parse text yanked into the dt prompt, it would be in keeping with the general spirit of

[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

[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

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

2011-10-06 Thread Achim Gratz
Brian van den Broek brian.van.den.br...@gmail.com 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

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 strom...@nexgo.de wrote: Brian van den Broek brian.van.den.br...@gmail.com 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