Re: [O] How to get ordinal of an element in the subtree when exporting?

2019-01-17 Thread Kaushal Modi
On Thu, Jan 17, 2019 at 8:21 AM mgcyung wrote: > > The function "org-export-get-ordinal" returns the ordinal of an element > in the whole file. How to get ordinal of an element in the subtree when > exporting? > Do you mean you want the ordinal counting to reset when the subtree begins? In that

[O] How to get ordinal of an element in the subtree when exporting?

2019-01-17 Thread mgcyung
The function "org-export-get-ordinal" returns the ordinal of an element in the whole file. How to get ordinal of an element in the subtree when exporting? -- mgcyung

[O] How to get clock data for today?

2018-08-28 Thread Marcin Borkowski
Hi Orgers, I'd like to be able to get all clock data for a given period, say today, from a given file(s) (like what `org-agenda-log-mode' does). And I'd like to have it in an Elisp program, so ideally as some data structure. Any hints? -- Marcin Borkowski http://mbork.pl

Re: [O] How to get <

2018-08-13 Thread Bernt Hansen
Sharon Kimble writes: > I'm not sure if this is an org-mode problem or a general emacs one, so if its > in the wrong place, sorry, and if you can tell me where it should be placed > for a better result, then great. :) > > Anyway, I'm writing something that has interspersed things like <> > or <

[O] How to get <

2018-08-11 Thread Sharon Kimble
I'm not sure if this is an org-mode problem or a general emacs one, so if its in the wrong place, sorry, and if you can tell me where it should be placed for a better result, then great. :) Anyway, I'm writing something that has interspersed things like <> or <<10-08-2018>> or <<2018-08-11>>, s

Re: [O] How to get 'repeating footnotes' please?

2018-04-14 Thread Berry, Charles
> On Apr 13, 2018, at 3:40 AM, Sharon Kimble wrote: > > "Berry, Charles" writes: > >>> On Apr 10, 2018, at 5:42 AM, Sharon Kimble >>> wrote: >>> >>> Samuel Wales writes: >>> [fn:apples: ...] [fn:apples] >>> >>> I'm sorry Samuel, but it seems like you haven't read all of

Re: [O] How to get 'repeating footnotes' please?

2018-04-13 Thread Sharon Kimble
"Berry, Charles" writes: >> On Apr 10, 2018, at 5:42 AM, Sharon Kimble >> wrote: >> >> Samuel Wales writes: >> >>> [fn:apples: ...] >>> >>> [fn:apples] >> >> I'm sorry Samuel, but it seems like you haven't read all of my initial >> question, where I stated 'All my footnotes are 4 digits li

Re: [O] How to get 'repeating footnotes' please?

2018-04-10 Thread Berry, Charles
> On Apr 10, 2018, at 5:42 AM, Sharon Kimble wrote: > > Samuel Wales writes: > >> [fn:apples: ...] >> >> [fn:apples] > > I'm sorry Samuel, but it seems like you haven't read all of my initial > question, where I stated 'All my footnotes are 4 digits like > '[fn:0010]'.' I'm not going to cha

Re: [O] How to get 'repeating footnotes' please?

2018-04-10 Thread Sharon Kimble
Samuel Wales writes: > [fn:apples: ...] > > [fn:apples] I'm sorry Samuel, but it seems like you haven't read all of my initial question, where I stated 'All my footnotes are 4 digits like '[fn:0010]'.' I'm not going to change my habits of using numerical footnotes that have been in documents for

Re: [O] How to get 'repeating footnotes' please?

2018-04-08 Thread Samuel Wales
[fn:apples: ...] [fn:apples] -- The Kafka Pandemic: The disease DOES progress. MANY people have died from it. And ANYBODY can get it at any time. "You’ve really gotta quit this and get moving, because this is murder by neglect." ---

[O] How to get 'repeating footnotes' please?

2018-04-08 Thread Sharon Kimble
How can I have repeat footnotes in an org-mode file that is exported to latex and then built into a pdf file please? All my footnotes are 4 digits like '[fn:0010]'. For example, if I had '[fn:0001] Apples are green' on page 3 of my document, how can I then have the same footnote on page 53 please

Re: [O] How to get a list of all TODO keywords from defined variable `org-todo-keywords`?

2018-01-03 Thread Adam Porter
This might do: (completing-read "Todo keyword: " org-todo-keywords-for-agenda nil t)

[O] How to get a list of all TODO keywords from defined variable `org-todo-keywords`?

2018-01-03 Thread numbch...@gmail.com
I'm trying to select TODO keyword when doing org-capture. Like this: (setq org-capture-templates '(("c" "[C]apture" entry (file "") ;; HACK: select todo keyword interactively from `org-todo-keywords'. ;; 1. command `org-todo' "* %(completing-read \"Todo keyword: \" (mapca

Re: [O] How to get the eacute above the e in saute or Saute?

2017-10-25 Thread Adonay Felipe Nogueira
See if [[help:org-latex-default-packages-alist]] has at something similar to "inputenc" and "fontenc" inside. In any case, please report back the results. ;) Sharon Kimble writes: > I'm copying out loads of old recipes into org-mode exported to latex and > build a pdf, which is working very nice

Re: [O] How to get the eacute above the e in saute or Saute?

2017-10-12 Thread Nick Helm
On Fri, 13 Oct 2017 at 05:58:20 +1300, Sharon Kimble wrote: > Ok, thanks, that works, but how can I assign a keypress to it as I need > to use it very often, several times each day. Plus I've got a backlog to > work through too. If you only need that one character, you could temporarily assign a

Re: [O] How to get the eacute above the e in saute or Saute?

2017-10-12 Thread Göktuğ Kayaalp
On 2017-10-12 17:58 +01, Sharon Kimble wrote: > Ok, thanks, that works, but how can I assign a keypress to it as I need > to use it very often, several times each day. Plus I've got a backlog to > work through too. See "International" in the Emacs manual, especially "Input Methods" and "Select In

Re: [O] How to get the eacute above the e in saute or Saute?

2017-10-12 Thread Sharon Kimble
Kaushal Modi writes: > On Thu, Oct 12, 2017 at 10:08 AM Sharon Kimble > wrote: > > I'm copying out loads of old recipes into org-mode exported to latex and > build a pdf, which is working very nicely, except for one thing - > >   > > I can't work out how to get the eacute in 'Saute'

Re: [O] How to get the eacute above the e in saute or Saute?

2017-10-12 Thread Eric S Fraga
On Thursday, 12 Oct 2017 at 14:13, Kaushal Modi wrote: [...] > 1. You mean.. how to type that in Emacs in the first place? > 2. Or it's fine in the Org file, but does not export correctly? > > I can help if it's the first question.. just type "C-x 8 ' e" to get "é" > (and "C-x 8 ` e" to get "è").

Re: [O] How to get the eacute above the e in saute or Saute?

2017-10-12 Thread Eric S Fraga
On Thursday, 12 Oct 2017 at 14:13, Kaushal Modi wrote: [...] > 1. You mean.. how to type that in Emacs in the first place? > 2. Or it's fine in the Org file, but does not export correctly? > > I can help if it's the first question.. just type "C-x 8 ' e" to get "é" > (and "C-x 8 ` e" to get "è").

Re: [O] How to get the eacute above the e in saute or Saute?

2017-10-12 Thread Kaushal Modi
On Thu, Oct 12, 2017 at 10:08 AM Sharon Kimble wrote: > > I'm copying out loads of old recipes into org-mode exported to latex and > build a pdf, which is working very nicely, except for one thing - > I can't work out how to get the eacute in 'Saute' or 'saute'. How can I > get it please? 1.

[O] How to get the eacute above the e in saute or Saute?

2017-10-12 Thread Sharon Kimble
I'm copying out loads of old recipes into org-mode exported to latex and build a pdf, which is working very nicely, except for one thing - I can't work out how to get the eacute in 'Saute' or 'saute'. How can I get it please? Its the little thing above the letter 'e' which is slanting from bottom

Re: [O] how to get version information on title slide with org beamer

2017-08-27 Thread Eric S Fraga
For completeness, here is my final code based on Charles's suggestion: #+begin_src org ,* date formatting with version information :ignoreheading: ,#+NAME: mydateline ,#+BEGIN_SRC emacs-lisp (format "#+DATE: \\copyright{} %s\n" *this*) ,#+END_SRC src_shell[:post mydatel

Re: [O] how to get version information on title slide with org beamer

2017-08-27 Thread Eric S Fraga
On Saturday, 26 Aug 2017 at 23:54, Berry, Charles wrote: > Use a :post header to format a date keyword line. Many thanks! Works perfectly. -- : Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-796-gbae41a signature.asc Description: PGP signature

Re: [O] how to get version information on title slide with org beamer

2017-08-26 Thread Berry, Charles
> On Aug 26, 2017, at 10:57 AM, Eric S Fraga wrote: > > Hello all, > > I know I can use {{{modification-time(...,t)}}} say to get the revision > control system information about when the repository was last > modified. However, I would like to have other information (e.g. the > mercurial id).

[O] how to get version information on title slide with org beamer

2017-08-26 Thread Eric S Fraga
Hello all, I know I can use {{{modification-time(...,t)}}} say to get the revision control system information about when the repository was last modified. However, I would like to have other information (e.g. the mercurial id). More importantly, I would like this information to appear on my beam

Re: [O] How to get rid of first line indent?

2017-06-17 Thread Birnle
Sorry, Marcin, Since your answer came in the other thread, I didn’t realize that three have answered my questions. Thank you for your Manual and Lisp book tip. I’ll try to work through all of them. Another thousands of pages … "Of making many books there is no end, and much study is a wearine

Re: [O] How to get rid of first line indent?

2017-06-13 Thread Birnle
Thank you, Marcin, In fact, rectangle deletion doesn’t work since the text has over 700 header lines that are not indented. But replace-regexp works. Best, Birnle On 13 Jun 2017, at 5:21, Marcin Borkowski wrote: On 2017-06-12, at 23:42, Birnle wrote: Thank you, John, for your answer. And

Re: [O] How to get rid of first line indent?

2017-06-13 Thread Eric S Fraga
On Monday, 12 Jun 2017 at 16:14, Birnle wrote: > But I’ve read that it is possible to directly export to Markdown – > that is the format I usually work with. By exporting an Org mode file > these unnecessary spaces should be erased. I just have to figure out > how to export to Markdown from Org mod

Re: [O] How to get rid of first line indent?

2017-06-12 Thread Marcin Borkowski
On 2017-06-13, at 03:24, Birnle wrote: > Yes, John, you are surely right. From the beginning I use the Prelude > Emacs distribution (http://batsov.com/prelude/) that comes with > a bunch of preinstalled packages, so I don’t know yet what is original > Emacs/Org and what is optional. So much to l

Re: [O] How to get rid of first line indent?

2017-06-12 Thread Marcin Borkowski
On 2017-06-12, at 23:42, Birnle wrote: > Thank you, John, for your answer. And no, it’s much too early for me > to be sure … But C-c n does actually indent each (first) line with > whitespace according to the number of asterisks in the heading. > > The easiest and fastest solution is in fact del

Re: [O] How to get rid of first line indent?

2017-06-12 Thread Birnle
Yes, John, you are surely right. From the beginning I use the Prelude Emacs distribution (http://batsov.com/prelude/) that comes with a bunch of preinstalled packages, so I don’t know yet what is original Emacs/Org and what is optional. So much to learn, so little time. Even for a text editing

Re: [O] How to get rid of first line indent?

2017-06-12 Thread John Kitchin
The C-c n binding is not defined in org-mode though as far as I know. That suggests it is something outside of org-mode doing that. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213

Re: [O] How to get rid of first line indent?

2017-06-12 Thread Birnle
Yes, John, thank you! Sometimes it is so easy … if you know it. Great. Now I can export to Markdown and ODT directly. On 12 Jun 2017, at 19:15, John Ankarström wrote: Birnle writes: But I’ve read that it is possible to directly export to Markdown – that is the format I usually work with. B

Re: [O] How to get rid of first line indent?

2017-06-12 Thread Birnle
Thank you, John, for your answer. And no, it’s much too early for me to be sure … But C-c n does actually indent each (first) line with whitespace according to the number of asterisks in the heading. The easiest and fastest solution is in fact deleting the leading whitespace in every line by r

Re: [O] How to get rid of first line indent?

2017-06-12 Thread John Ankarström
Birnle writes: > But I’ve read that it is possible to directly export to Markdown – that is the > format I usually work with. By exporting an Org mode file these unnecessary > spaces should be erased. I just have to figure out how to export to Markdown > from Org mode … Do you know a good online

Re: [O] How to get rid of first line indent?

2017-06-12 Thread John Kitchin
On Mon, Jun 12, 2017 at 11:49 AM, Birnle wrote: > crux-cleanup-buffer-or-region > if that command is what does it, then it is happening outside of org-mode. I guess it is a command from here: https://github.com/bbatsov/crux and that it is in a hook function somewhere. However, I am skeptical th

Re: [O] How to get rid of first line indent?

2017-06-12 Thread Birnle
Yes, Eric, thank you again. This is what I knew, I can do it with regexp. I just thought there would be a simple command that could undo the "cleanup". But I’ve read that it is possible to directly export to Markdown – that is the format I usually work with. By exporting an Org mode file these u

Re: [O] How to get rid of first line indent?

2017-06-12 Thread Eric S Fraga
On Monday, 12 Jun 2017 at 15:49, Birnle wrote: > Is there no command to "unclean" the file again? Difficulty is defining what "unclean" means. For instance, if it is simply removing spaces at the start of a line, you could use ,[ C-h f replace-regexp RET ] | replace-regexp is an interactive

Re: [O] How to get rid of first line indent?

2017-06-12 Thread Birnle
Yes, Eric, thank you, that is a good idea. Now I've found that it is more a feature than a failure – org mode thinks of it as "cleaning up", and it does it automagically together with some commands. There is even a special command for it: C-c n (crux-cleanup-buffer-or-region). But I cannot find

Re: [O] How to get rid of first line indent?

2017-06-11 Thread Eric S Fraga
On Thursday, 8 Jun 2017 at 20:57, Birnle wrote: > Dear group, > > How do I get rid of the (first) line indent in org mode? I type some > text (book length) in: [...] > Then I do something – I don’t know what it is, but suddenly the > first line of the same text is indented to the level of the

[O] How to get rid of first line indent?

2017-06-08 Thread Birnle
Dear group, How do I get rid of the (first) line indent in org mode? I type some text (book length) in: * Some heading text Here is some text in one line in visual mode that wraps nicely and looks like it should. ** Another header And some more text in just one line in visual mode that wraps

Re: [O] How to get "clean" markdown export

2017-03-11 Thread Nicolas Goaziou
Hello, stefano franchi writes: > On Thu, Mar 9, 2017 at 12:30 PM, Eric S Fraga wrote: > >> On Thursday, 9 Mar 2017 at 17:44, stefano franchi wrote: >> > Hi all, >> > >> > I 'm just beginning with org-mode and I' trying to understand how to >> > get a clean export to markdown. By "clean" I mean

Re: [O] How to get "clean" markdown export

2017-03-09 Thread stefano franchi
On Thu, Mar 9, 2017 at 12:30 PM, Eric S Fraga wrote: > On Thursday, 9 Mar 2017 at 17:44, stefano franchi wrote: > > Hi all, > > > > I 'm just beginning with org-mode and I' trying to understand how to > > get a clean export to markdown. By "clean" I mean: no extraneous html > > Just tested what

Re: [O] How to get "clean" markdown export

2017-03-09 Thread Eric S Fraga
On Thursday, 9 Mar 2017 at 17:44, stefano franchi wrote: > Hi all, > > I 'm just beginning with org-mode and I' trying to understand how to > get a clean export to markdown. By "clean" I mean: no extraneous html Just tested what I suggested and, actually, adding #+options: toc:nil removes all t

Re: [O] How to get "clean" markdown export

2017-03-09 Thread Eric S Fraga
On Thursday, 9 Mar 2017 at 17:44, stefano franchi wrote: > Hi all, > > I 'm just beginning with org-mode and I' trying to understand how to > get a clean export to markdown. By "clean" I mean: no extraneous html One bit that will help is adding #+options: toc:nil to your org file to not request

[O] How to get "clean" markdown export

2017-03-09 Thread stefano franchi
Hi all, I 'm just beginning with org-mode and I' trying to understand how to get a clean export to markdown. By "clean" I mean: no extraneous html code should be inserted or interspersed with the markdown code. Using the installation-provided exporter, I get very different results, with a lot of e

Re: [O] How to get sum from remote table + how to put in bold?

2015-12-07 Thread Rasmus
Hi, I didn't read OP. Fabrice Niessen writes: > Any idea how to solve my problem #2: get the computed amount in bold > and/or in another color and/or in bigger font? Cf. the manual you can use printf syntax, http://orgmode.org/manual/Formula-syntax-for-Calc.html#Formula-syntax-for-Calc

Re: [O] How to get sum from remote table + how to put in bold?

2015-12-07 Thread Fabrice Niessen
Hello, Eric S Fraga writes: > On Sunday, 6 Dec 2015 at 15:16, Fabrice Niessen wrote: >> >> I'm trying to build a template for invoices written in >> Org... exporting to PDF (and HTML). Will be officially public as soon >> as it's DONE. >> >> Though, I have 2 problems currently: >> >> - I'd like

Re: [O] How to get sum from remote table + how to put in bold?

2015-12-07 Thread Eric S Fraga
On Sunday, 6 Dec 2015 at 15:16, Fabrice Niessen wrote: > Hello, > > I'm trying to build a template for invoices written in Org... exporting > to PDF (and HTML). Will be officially public as soon as it's DONE. > > Though, I have 2 problems currently: > > - I'd like to sum up, in table `total', the

[O] How to get sum from remote table + how to put in bold?

2015-12-06 Thread Fabrice Niessen
Hello, I'm trying to build a template for invoices written in Org... exporting to PDF (and HTML). Will be officially public as soon as it's DONE. Though, I have 2 problems currently: - I'd like to sum up, in table `total', the sub-total column of table `items'. But the `remote' call does not s

Re: [O] How to get list item depth within the exporter framework?

2015-07-29 Thread Marcin Borkowski
On 2015-07-27, at 19:51, Richard Lawrence wrote: > Hi Marcin, > > Marcin Borkowski writes: > >> as I mentioned, I'm writing a simple exporter. However, I stumbled on >> something apparently simple. How to get the current list level within >> org-whatever-item transcoder? > > I ran into this p

Re: [O] How to get list item depth within the exporter framework?

2015-07-27 Thread Richard Lawrence
Hi Marcin, Marcin Borkowski writes: > as I mentioned, I'm writing a simple exporter. However, I stumbled on > something apparently simple. How to get the current list level within > org-whatever-item transcoder? I ran into this problem once; the solution I found was to just walk up the AST vi

Re: [O] How to get list item depth within the exporter framework?

2015-07-27 Thread Marcin Borkowski
On 2015-07-27, at 10:46, Marcin Borkowski wrote: > On 2015-07-27, at 10:17, Marcin Borkowski wrote: > >> Hi all, >> >> as I mentioned, I'm writing a simple exporter. However, I stumbled on >> something apparently simple. How to get the current list level within >> org-whatever-item transcoder

Re: [O] How to get list item depth within the exporter framework?

2015-07-27 Thread Marcin Borkowski
On 2015-07-27, at 10:17, Marcin Borkowski wrote: > Hi all, > > as I mentioned, I'm writing a simple exporter. However, I stumbled on > something apparently simple. How to get the current list level within > org-whatever-item transcoder? By inspecting values of org-whatever-item's arguments, I

[O] How to get list item depth within the exporter framework?

2015-07-27 Thread Marcin Borkowski
Hi all, as I mentioned, I'm writing a simple exporter. However, I stumbled on something apparently simple. How to get the current list level within org-whatever-item transcoder? TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science

Re: [O] How to get inline python code to work with :session option?

2015-03-30 Thread Ken Mankoff
I've modified my config to use IPython. doesn't work: src_python[]{return 2+3} {{{results(==)}}} works w/o 'return': src_python[:session]{2+3} {{{results(=5=)}}} doesn't work: src_python[:session]{return 2+3} -k. On 2015-03-30 at 02:41, Richard Stanton wrote: > :session doesn't seem

[O] How to get inline python code to work with :session option?

2015-03-29 Thread Richard Stanton
:session doesn't seem to play well with inline code blocks. For example, if I press C-c C-c with the cursor in the middle of the following inline code, src_python[]{return 2+3} it gets expanded to src_python[]{return 2+3} {{{results(=5=)}}} However, if I do the same with this code bl

Re: [O] How to get LATEX_HEADER items to appear *after* default packages?

2015-03-10 Thread Nick Dokos
Richard Stanton writes: > When I export an org file to LaTeX using the class rhs-article, defined as > follows: > >‘("rhs-article" > "\\documentclass{article} > \\usepackage[top=1in, bottom=1.in, left=1in, right=1in]{geometry} > [PACKAGES] > [

[O] How to get LATEX_HEADER items to appear *after* default packages?

2015-03-10 Thread Richard Stanton
When I export an org file to LaTeX using the class rhs-article, defined as follows: ‘("rhs-article" "\\documentclass{article} \\usepackage[top=1in, bottom=1.in, left=1in, right=1in]{geometry} [PACKAGES] [EXTRA]" ;;header-string

Re: [O] how to get images support in Emacs on Windows?

2015-02-22 Thread Herbert Sitz
Ben gmail.com> writes: > Actually, I use few inline images. Most of my images are large. They should be resized to look pretty on emacs. But to resize them I need to build emacs with ImageMagick. And I haven't tried that yet. > Are you sure you need to rebuild Emacs? On my Linux machine I run

Re: [O] how to get images support in Emacs on Windows?

2015-02-22 Thread Ben
I haven't tried other types except jpeg and png. Actually, I use few inline images. Most of my images are large. They should be resized to look pretty on emacs. But to resize them I need to build emacs with ImageMagick. And I haven't tried that yet. On Sat, Feb 21, 2015 at 3:18 AM, Herbert Sitz

Re: [O] how to get images support in Emacs on Windows?

2015-02-20 Thread Herbert Sitz
Ben gmail.com> writes: > > You can download the corresponding dlls from ezwinports [fn:1] and put them into emacs's `bin` directory. > > There are some instructions in the "Image support" part on page [fn:2]. > > [fn:2] https://ftp.gnu.org/gnu/emacs/windows/ > Strangely, the instructions and

Re: [O] how to get images support in Emacs on Windows?

2015-02-19 Thread Herbert Sitz
Ben gmail.com> writes: > > You can download the corresponding dlls from ezwinports [fn:1] and put them into emacs's `bin` directory. > > There are some instructions in the "Image support" part on page [fn:2]. > > [fn:1] http://sourceforge.net/projects/ezwinports/files/ > > [fn:2] https://ftp.g

Re: [O] how to get images support in Emacs on Windows?

2015-02-19 Thread Ben
You can download the corresponding dlls from ezwinports [fn:1] and put them into emacs's `bin` directory. There are some instructions in the "Image support" part on page [fn:2] . [fn:1] http://sourceforge.

Re: [O] how to get images support in Emacs on Windows?

2015-02-19 Thread Ista Zahn
You could use http://vgoulet.act.ulaval.ca/en/emacs/windows/ which comes bundled with image support (and other stuff that you may or may not want). On Feb 19, 2015 6:20 PM, "Herbert Sitz" wrote: > I'm trying to use inline images on Windows and (I think?) I've gotten to > the > point where I under

Re: [O] how to get images support in Emacs on Windows?

2015-02-19 Thread Yuri Niyazov
It's not called "image.dll", which may be a source of confusion. Here are the instructions specifically for PNG images. For each type, a different DLL is required: http://stackoverflow.com/questions/2650041/emacs-under-windows-and-png-files On Thu, Feb 19, 2015 at 3:19 PM, Herbert Sitz wrote: >

[O] how to get images support in Emacs on Windows?

2015-02-19 Thread Herbert Sitz
I'm trying to use inline images on Windows and (I think?) I've gotten to the point where I understand that this is not available with the standard GNU Emacs installation on Windows. My understanding is that I need an "image.dll" that I can put in the bin directory. I think that comes as part of E

Re: [O] How to get a column correctly formatted in Babel + R (w/ or w/o name)?

2015-02-19 Thread Charles C. Berry
On Thu, 19 Feb 2015, Sebastien Vauban wrote: #+PROPERTY: session *R* * Source #+name: table | ID | User1 | User2 | |-+---+---| | 26/0163 | lrp | nil | | 37/0001 | nil | nil | | 37/0003 | nil | nil | [snip] * First column (with name) When I try to get the

[O] How to get a column correctly formatted in Babel + R (w/ or w/o name)?

2015-02-19 Thread Sebastien Vauban
#+PROPERTY: session *R* * Source #+name: table | ID | User1 | User2 | |-+---+---| | 26/0163 | lrp | nil | | 37/0001 | nil | nil | | 37/0003 | nil | nil | #+begin_src R :var df=table :colnames yes df #+end_src #+results: | ID | User1 | User2 | |-+--

Re: [O] How to get your list of categories?

2015-01-04 Thread John Kitchin
rene writes: (org-buffer-property-keys) will give you all the categories in a buffer. > I'd like to dynamically get the list of all of my categories (:CATEGORY: > property). Is there an easy way to do that? > > How can I write a command that would operate much the same way I get > > - the lis

[O] How to get your list of categories?

2014-12-26 Thread rene
I'd like to dynamically get the list of all of my categories (:CATEGORY: property). Is there an easy way to do that? How can I write a command that would operate much the same way I get - the list of all my TODO keywords (using C-c a T), or - the list of all my TAGS (using C-c a M)? -- Rene

Re: [O] How to get "remember" working properly?

2014-11-20 Thread Sharon Kimble
Nick Dokos writes: > Sharon Kimble writes: > >> ... >> >> However, org-capture is working well, prefacing my "timelog.org"" >> with CAPTURE- in front, like "CAPTURE-timelog.org". Maybe then it is >> time to retire "remember" as "org-capture" seems to have taken over? >> But that's for another po

Re: [O] How to get "remember" working properly?

2014-11-19 Thread Nick Dokos
Sharon Kimble writes: > ... > > However, org-capture is working well, prefacing my "timelog.org"" > with CAPTURE- in front, like "CAPTURE-timelog.org". Maybe then it is > time to retire "remember" as "org-capture" seems to have taken over? > But that's for another post. > As I said before, org-

Re: [O] How to get "remember" working properly?

2014-11-19 Thread Sharon Kimble
Richard Lawrence writes: > Hi Sharon, > > Sharon Kimble writes: > >> #+BEGIN_SRC emacs-lisp >> (setq org-remember-templates >> '(("Todo" ?t "* TODO %^{Brief Description} %^g\n%?\nAdded: %U" >> "~/.emacs.d/org/remember.org" "Tasks") >> ("Journal" ?j "** %^{Head Line} %U %^g\n%i%?" >

Re: [O] How to get "remember" working properly?

2014-11-18 Thread Richard Lawrence
Hi Sharon, Sharon Kimble writes: > #+BEGIN_SRC emacs-lisp > (setq org-remember-templates > '(("Todo" ?t "* TODO %^{Brief Description} %^g\n%?\nAdded: %U" > "~/.emacs.d/org/remember.org" "Tasks") > ("Journal" ?j "** %^{Head Line} %U %^g\n%i%?" > "~/.emacs.d/org/journal.org") >

[O] How to get "remember" working properly?

2014-11-18 Thread Sharon Kimble
I am using "remember" as well as "org-capture", meaning that I have them both setup and working, but there are two things that I'm not sure about. This is my "remember setup" - --8<---cut here---start->8--- * remember ** setup remembering #+BEGIN_SRC emacs-lisp

Re: [O] How to get to the link destination?

2014-10-21 Thread John Kitchin
Marcin Borkowski writes: that looks like a great way to me! > Hi all, > > as in the subject. I want to do something /at the destination of the > link/ the point is at (more precisely: get some text property of that > place). This is what I came up with: > > (save-excursion > (org-open-at-poi

[O] How to get to the link destination?

2014-10-21 Thread Marcin Borkowski
Hi all, as in the subject. I want to do something /at the destination of the link/ the point is at (more precisely: get some text property of that place). This is what I came up with: (save-excursion (org-open-at-point) (get-text-property (point) :some-property)) Is there a better/faster w

Re: [O] How to get the link the point is on?

2014-09-27 Thread Sebastien Vauban
Marcin Borkowski wrote: > On 2014-09-25, at 23:50, Thorsten Jolitz wrote: >> Marcin Borkowski writes: >>> >>> my question is as in subject. It is done by org-open-at-point >>> (somehow), but the logic seems to be buried in that function. What I'd >>> like to have is a function that would just ex

Re: [O] How to get the link the point is on?

2014-09-26 Thread Subhan Michael Tindall
[SNIP] > -Original Message- > From: emacs-orgmode-bounces+subhant=familycareinc@gnu.org > [mailto:emacs-orgmode-bounces+subhant=familycareinc@gnu.org] On > Behalf Of Marcin Borkowski > Sent: Thursday, September 25, 2014 3:45 PM > To: emacs-orgmode@gnu.org > Su

Re: [O] How to get the link the point is on?

2014-09-25 Thread Jorge A. Alfaro-Murillo
Rasmus writes: If point is on a link you can (org-element-property :raw-link (org-element-context)) That's way easier =) -- Jorge.

Re: [O] How to get the link the point is on?

2014-09-25 Thread Marcin Borkowski
On 2014-09-25, at 23:50, Thorsten Jolitz wrote: > Marcin Borkowski writes: > >> Hi list, >> >> my question is as in subject. It is done by org-open-at-point >> (somehow), but the logic seems to be buried in that function. What I'd >> like to have is a function that would just extract the link

Re: [O] How to get the link the point is on?

2014-09-25 Thread Thorsten Jolitz
Marcin Borkowski writes: > Hi list, > > my question is as in subject. It is done by org-open-at-point > (somehow), but the logic seems to be buried in that function. What I'd > like to have is a function that would just extract the link portion > (which is normally invisible) and displayed it i

Re: [O] How to get the link the point is on?

2014-09-25 Thread Jorge A. Alfaro-Murillo
Marcin Borkowski writes: Hi list, my question is as in subject. It is done by org-open-at-point (somehow), but the logic seems to be buried in that function. What I'd like to have is a function that would just extract the link portion (which is normally invisible) and displayed it in the e

Re: [O] How to get the link the point is on?

2014-09-25 Thread Kyle Meyer
Marcin Borkowski wrote: [...] > What I'd like to have is a function that would just extract the link > portion (which is normally invisible) and displayed it in the echo > area (something like hovering over a link in a web browser). There may be a better way, but I think below does what you want.

Re: [O] How to get the link the point is on?

2014-09-25 Thread Rasmus
Marcin Borkowski writes: > Hi list, > > my question is as in subject. It is done by org-open-at-point > (somehow), but the logic seems to be buried in that function. What I'd > like to have is a function that would just extract the link portion > (which is normally invisible) and displayed it i

[O] How to get the link the point is on?

2014-09-25 Thread Marcin Borkowski
Hi list, my question is as in subject. It is done by org-open-at-point (somehow), but the logic seems to be buried in that function. What I'd like to have is a function that would just extract the link portion (which is normally invisible) and displayed it in the echo area (something like hoveri

Re: [O] How to get cookies working with TODOs?

2014-08-22 Thread Sharon Kimble
Nick Dokos writes: > Sharon Kimble writes: > >> >> ** WAITING Anise >> CLOSED: [2014-08-20 Wed 10:29] >> >> >> And only _waiting_ shows as closed, none of these other conditions do - >> >> #+TODO: TODO DONE NEXT IN-PROGRESS NOTES FIXME WAITING >> >> ... >> >> I think that the problems all stem f

Re: [O] How to get cookies working with TODOs?

2014-08-20 Thread Nick Dokos
Sharon Kimble writes: > > ** WAITING Anise > CLOSED: [2014-08-20 Wed 10:29] > > > And only _waiting_ shows as closed, none of these other conditions do - > > #+TODO: TODO DONE NEXT IN-PROGRESS NOTES FIXME WAITING > > ... > > I think that the problems all stem from my set-up, but I can't see exact

Re: [O] How to get cookies working with TODOs?

2014-08-20 Thread Eric S Fraga
On Wednesday, 20 Aug 2014 at 11:46, Sharon Kimble wrote: [...] > Hmm, if they work for you then its something in my set-up. And after > having a play, the cookie is only changed when it is toggled [C-c C-t] to > "Waiting" which then shows > > ** WAITING Anise > CLOSED: [2014-08-20 Wed 10:29] > >

Re: [O] How to get cookies working with TODOs?

2014-08-20 Thread Sharon Kimble
Eric Abrahamsen writes: > Sharon Kimble writes: > >> I'm trying to get cookies working with TODO items. The source document >> is a book I'm writing and is an outline of each section and chapters so >> that I can see what is still to be done. I'm writing it in latex but >> doing the outline in o

Re: [O] How to get cookies working with TODOs?

2014-08-19 Thread Nick Dokos
Eric Abrahamsen writes: > Sharon Kimble writes: > >> I'm trying to get cookies working with TODO items. The source document >> is a book I'm writing and is an outline of each section and chapters so >> that I can see what is still to be done. I'm writing it in latex but >> doing the outline in o

Re: [O] How to get cookies working with TODOs?

2014-08-19 Thread Eric Abrahamsen
Sharon Kimble writes: > I'm trying to get cookies working with TODO items. The source document > is a book I'm writing and is an outline of each section and chapters so > that I can see what is still to be done. I'm writing it in latex but > doing the outline in orgs-mode. > > * TODO CHAPTER 1 -

[O] How to get cookies working with TODOs?

2014-08-19 Thread Sharon Kimble
I'm trying to get cookies working with TODO items. The source document is a book I'm writing and is an outline of each section and chapters so that I can see what is still to be done. I'm writing it in latex but doing the outline in orgs-mode. --8<---cut here---start---

Re: [O] How to get results into export?

2014-07-25 Thread Manfred Lotz
On Fri, 25 Jul 2014 11:11:23 +0200 Manfred Lotz wrote: > On Fri, 25 Jul 2014 10:03:14 +0200 > Thorsten Jolitz wrote: > > > Manfred Lotz writes: > > > > > I have this minimal example using minted: > > > > > > #+TITLE: Minimal example > > > #+LaTeX_HEADER: \usemintedstyle{emacs} > > > * Example

Re: [O] How to get results into export?

2014-07-25 Thread Manfred Lotz
On Fri, 25 Jul 2014 10:03:14 +0200 Thorsten Jolitz wrote: > Manfred Lotz writes: > > > I have this minimal example using minted: > > > > #+TITLE: Minimal example > > #+LaTeX_HEADER: \usemintedstyle{emacs} > > * Example > > - some code > > #+BEGIN_SRC sh :results values code > > echo # of i

Re: [O] How to get results into export?

2014-07-25 Thread Thorsten Jolitz
Manfred Lotz writes: > I have this minimal example using minted: > > #+TITLE: Minimal example > #+LaTeX_HEADER: \usemintedstyle{emacs} > * Example > - some code > #+BEGIN_SRC sh :results values code > echo # of items > echo \# of items > echo "# of items" > #+END_SRC > > #+RESULTS: >

[O] How to get results into export?

2014-07-24 Thread Manfred Lotz
I have this minimal example using minted: #+TITLE: Minimal example #+LaTeX_HEADER: \usemintedstyle{emacs} * Example - some code #+BEGIN_SRC sh :results values code echo # of items echo \# of items echo "# of items" #+END_SRC #+RESULTS: #+BEGIN_SRC sh # of items # of items #+

Re: [O] how to get "org-version" using emacs batch mode.

2014-04-23 Thread Nicolas Richard
Supriya Sawant writes: > Is it possible to redirect or get the output of batch mode command in > variable. Assuming you use bash : $ MYOUTPUT=$(emacs --batch --eval '(princ (org-version))') $ echo $MYOUTPUT 8.2.5c -- Nico.

Re: [O] how to get "org-version" using emacs batch mode.

2014-04-23 Thread Supriya Sawant
Is it possible to redirect or get the output of batch mode command in variable. cmd = emacs --batch --eval '(message (org-version))' ouput=cmd print output i.e output contains version no.(output=7.9.3f) On Wed, Apr 23, 2014 at 12:00 PM, Bastien wrote: > Supriya Sawant writes: > > > emacs

  1   2   >