[Orgmode] Re: text color + highlight

2010-08-10 Thread Dan Davison
Carsten Dominik writes: > Hi, > > Can we please first read Samuels post about extensible syntax? Before > we invent 20 other new syntaxes? > > http://thread.gmane.org/gmane.emacs.orgmode/10204/focus=10204 May I add this thread to the discussion as an example of another feature that was suggeste

Re: [Orgmode] text color + highlight

2010-08-10 Thread Jan Böcker
On 08/11/2010 01:14 AM, Samuel Wales wrote: > i suggest begin-end pairs, not putting text in the syntax itself. > though you could, if you want, using quotes. > > $[class begin :title animals]Some text about animals$[class end > :title animals] > Why not allow both? If I want to highlight one

[Orgmode] Re: Tip: How to copy&paste a table from Firefox to Org

2010-08-10 Thread Jan Böcker
On 08/11/2010 03:42 AM, Bernt Hansen wrote: > Jan Böcker writes: > >> Hi all, >> >> posting in case this is useful to someone else: >> >> I just figured out how to copy & paste tabular data from Firefox to an >> Org buffer (in my case: a train schedule from www.bahn.de). >> >> - Select data in Fi

[Orgmode] Re: ReRe[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Noorul Islam K M
"Thomas S. Dye" writes: > Aloha Dmitry, > > Another reason for working in topic branches is it leaves your master > branch clean so that changes in the remote are easily merged. You're > are probably more computer savvy than I am, but my struggles with > merges after making changes to the master

[Orgmode] Re: Clock history, C-u C-c C-x C-i not working properly

2010-08-10 Thread Bernt Hansen
Markus Heller writes: > Hello all, > > I have had this issue for quite a while, and now it's finally time to > post it. I'm using emacs 23.2.1 and orgmode 7.01trans > (release_7.01g.73.g29354) on windoze XP, together with Bernt's clock > history setup. > > If I hit C-u C-c C-x C-i, the list of t

[Orgmode] Re: Tip: How to copy&paste a table from Firefox to Org

2010-08-10 Thread Bernt Hansen
Jan Böcker writes: > Hi all, > > posting in case this is useful to someone else: > > I just figured out how to copy & paste tabular data from Firefox to an > Org buffer (in my case: a train schedule from www.bahn.de). > > - Select data in Firefox > - Paste into Org, select it as the region > - M-

Re: [Orgmode] text color + highlight

2010-08-10 Thread Eric Schulte
Christian Moe writes: [...] > > Admittedly, though, all the currently defined link types mean "do > something when clicked", which a =color:red= link does not. > well this may be trivial, but at least it's an action --8<---cut here---start->8--- (org-add-link-

Re: [Orgmode] Feature request: IDs on anything

2010-08-10 Thread Samuel Wales
On 2010-08-10, Samuel Wales wrote: > I wrote this a long time ago in response to Carsten's reply > to Eric in the first link below. I guess it was a response to Eric. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Em

[Orgmode] extensible syntax example using link features

2010-08-10 Thread Samuel Wales
I wrote this a very long time ago but did not send it to the list. (There is more where this came from.) Samuel === Here is an arbitrary example of extensible link syntax. This one allows two features we don't currently have: link coloring and a different label for when the link is exported. Th

Re: [Orgmode] Feature request: IDs on anything

2010-08-10 Thread Samuel Wales
I wrote this a long time ago in response to Carsten's reply to Eric in the first link below. === 1) http://thread.gmane.org/gmane.emacs.orgmode/11896 extensible syntax with an application in id markers (which themselves have an application in many things, including graph theoreti

Re: [Orgmode] text color + highlight

2010-08-10 Thread Samuel Wales
i suggest begin-end pairs, not putting text in the syntax itself. though you could, if you want, using quotes. $[class begin :title animals]Some text about animals$[class end :title animals] i wrote the following long ago, but never sent it to the list. it is not polished at all -- needs more

Re: [Orgmode] Re: Insert TODO or plain heading depending on context

2010-08-10 Thread Nathan Neff
On Tue, Aug 10, 2010 at 5:07 PM, Jan Böcker wrote: > On 08/10/2010 11:41 PM, Nathan Neff wrote: >> Is there a function in org-mode that returns the TODO >> status of the heading that the cursor is currently in? >> > > Yes, try "org-get-todo-state". (Found this using C-h f, typing "org", > then usi

Re: [Orgmode] text color + highlight

2010-08-10 Thread Christian Moe
I wrote (against my own suggestion): A drawback with using links for markup is that the user sees things that look like links, but do nothing when clicked, except give error messages. David Maus wrote: It's not just a drawback but a more fundamental problem: This solution abolishes the semanti

Re: [Orgmode] Re: Insert TODO or plain heading depending on context

2010-08-10 Thread Jan Böcker
On 08/10/2010 11:41 PM, Nathan Neff wrote: > Is there a function in org-mode that returns the TODO > status of the heading that the cursor is currently in? > Yes, try "org-get-todo-state". (Found this using C-h f, typing "org", then using I-Search in the completion buffer.) This returns something

[Orgmode] Re: [babel] strategies for generating multiple graphics files from same code block

2010-08-10 Thread Dan Davison
"Eric Schulte" writes: > Hi Erik, > > Given that arbitrary lisp forms can be used to assign header arguments, > the following can be used to achieve this functionality under the > current setup. > > #+Title: Export Target Conditional Header Arguments > > The following generates an =.eps= image fo

[Orgmode] Re: Insert TODO or plain heading depending on context

2010-08-10 Thread Nathan Neff
Sorry for the bump -- maybe I'll phrase the question differently Is there a function in org-mode that returns the TODO status of the heading that the cursor is currently in? Thanks, --Nate On Thu, Aug 5, 2010 at 10:43 AM, Nathan Neff wrote: > Sorry for a rudimentary question, but someone a

Re: [Orgmode] text color + highlight

2010-08-10 Thread David Maus
Christian Moe wrote: >Hi, Eric, >Thanks for trying this out -- I should have taken the trouble to write >out sample code myself. >> Just for completeness I'm adding an example of a color handler which can >> be added to a users config to enable colorization of exported text to >> html and latex.

[Orgmode] Clock history, C-u C-c C-x C-i not working properly

2010-08-10 Thread Markus Heller
Hello all, I have had this issue for quite a while, and now it's finally time to post it. I'm using emacs 23.2.1 and orgmode 7.01trans (release_7.01g.73.g29354) on windoze XP, together with Bernt's clock history setup. If I hit C-u C-c C-x C-i, the list of tasks to clock in starts somewhere in t

Re: [Orgmode] Table caption produces trailing "nil" in pdf export

2010-08-10 Thread John Hendy
@David: Saw your other email, so you should be good to go with the files. Sorry for the confusion! @Nicolas: the patch worked. Hopefully I did it right: $ cd .elisp/org.git/lisp $ patch < ~/Downloads/0001..bug.patch Thanks! John On Tue, Aug 10, 2010 at 4:07 PM, David Maus wrote: > John Hendy

Re: [Orgmode] Bug? Table caption produces trailing "nil" in pdf export

2010-08-10 Thread David Maus
John Hendy wrote: >Drat... some gmail shortcut went off and this thing sent prematurely... here's >the rest... Erm... Forget my last message. Processing messages sequential has some disadvantages ;) Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...

Re: [Orgmode] Table caption produces trailing "nil" in pdf export

2010-08-10 Thread David Maus
John Hendy wrote: >Hi, >Suddenly I'm getting a line with nothing but "nil" between the >caption and the table when exporting from org-mode to LaTeX. I swear >this not happening. I believe I did a git pull on Friday or some time >last week. The only reason I noticed is that I just set up emacs, >o

Re: [Orgmode] Re: Email from org?

2010-08-10 Thread David Maus
Eric Schulte wrote: >Hi Ethan, >Ethan Ligon writes: >> Eric Schulte gmail.com> writes: >>> The following function might get part way towards what you describe. >>> >>> --8<---cut here---start->8--- >>> (defun org-send-email-of-headline () >>> (interactive)

[Orgmode] Re: [PATCH] Table caption produces trailing "nil" in pdf export

2010-08-10 Thread Nicolas Goaziou
Hello, > John Hendy writes: > Suddenly I'm getting a line with nothing but "nil" between the caption and > the table when exporting from org-mode to LaTeX. I swear this not happening. > I believe I did a git pull on Friday or some time last week. The only reason > I noticed is that I just set

Re: [Orgmode] Re: need detailed instructions for submitting the patch

2010-08-10 Thread David Maus
Dan Davison wrote: >Nick Dokos writes: >> Bastien wrote: >> >> >>> > For example, I have a modified file org-whatever.el. What commands >>> > must I run? >>> >>> Please follow the instructions on Worg and let us know what is not >>> crystal-clear -- that will help improve the doc if necessary. >

[Orgmode] org-feed XML entities and character encoding

2010-08-10 Thread Michael Brand
Hi all, org-feed is becoming very useful for me, so far to manage the episodes of podcasts. Now I have a patch and a request for help. 1. patch for an issue with XML entities === I found that some XML entities in my feeds are not substituted. The comments of

[Orgmode] Table caption produces trailing "nil" in pdf export

2010-08-10 Thread John Hendy
Hi, Suddenly I'm getting a line with nothing but "nil" between the caption and the table when exporting from org-mode to LaTeX. I swear this not happening. I believe I did a git pull on Friday or some time last week. The only reason I noticed is that I just set up emacs, org, and LaTeX on a new c

Re: [Orgmode] [babel] strategies for generating multiple graphics files from same code block

2010-08-10 Thread Eric Schulte
Hi Erik, Given that arbitrary lisp forms can be used to assign header arguments, the following can be used to achieve this functionality under the current setup. --8<---cut here---start->8--- #+Title: Export Target Conditional Header Arguments The following ge

[Orgmode] ReStructured Text table exporter

2010-08-10 Thread Ethan
Hi, I found it useful to have Org mode export a table into ReStructured Text. Here's my code: ;; RST export for orgtbl (defun orgtbl-to-rst-line (line) (apply 'format (cons *org-rst-lfmt* line))) (defun orgtbl-to-rst (table params) "Convert the Orgtbl mode TABLE to ReStructured

[Orgmode] Re: How to get pretty printed source code in PDFLaTeX

2010-08-10 Thread Thomas S. Dye
Hi Dan, Yes, sorry, "gory" was off the mark. I think your approach with minted, etc. to gain out of the box functionality like this is very useful. I'm following the conversation with interest because I am planning a publication that includes some code snippets. My reservation comes from

Re: [Orgmode] text color + highlight

2010-08-10 Thread Christian Moe
Hi, Eric, Thanks for trying this out -- I should have taken the trouble to write out sample code myself. Just for completeness I'm adding an example of a color handler which can be added to a users config to enable colorization of exported text to html and latex. --8<---cut here-

[Orgmode] Tip: How to copy&paste a table from Firefox to Org

2010-08-10 Thread Jan Böcker
Hi all, posting in case this is useful to someone else: I just figured out how to copy & paste tabular data from Firefox to an Org buffer (in my case: a train schedule from www.bahn.de). - Select data in Firefox - Paste into Org, select it as the region - M-x replace-regexp C-i \ | ^ |

Re: Re[2]: [Orgmode] Re[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Thomas S. Dye
Aloha Dmitry, Another reason for working in topic branches is it leaves your master branch clean so that changes in the remote are easily merged. You're are probably more computer savvy than I am, but my struggles with merges after making changes to the master branch have been trying. I

Re: Re[2]: [Orgmode] Re[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Nick Dokos
Ivanov Dmitry wrote: > Yes, Nick, I was asking about the git commands. Thanks. It seems, that > creating a topic branch is more complicated, then simply editing the > local master copy, creating a diff file and sending it to the mailing > list. I think it should be used only in complicated cases.

Re[2]: [Orgmode] Re[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Ivanov Dmitry
Yes, Nick, I was asking about the git commands. Thanks. It seems, that creating a topic branch is more complicated, then simply editing the local master copy, creating a diff file and sending it to the mailing list. I think it should be used only in complicated cases. Dmitry _

[Orgmode] Re: need detailed instructions for submitting the patch

2010-08-10 Thread Dan Davison
Nick Dokos writes: > Bastien wrote: > > >> > For example, I have a modified file org-whatever.el. What commands >> > must I run? >> >> Please follow the instructions on Worg and let us know what is not >> crystal-clear -- that will help improve the doc if necessary. >> > > I think Dmitry is as

Re: [Orgmode] Re[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Nick Dokos
Bastien wrote: > > For example, I have a modified file org-whatever.el. What commands > > must I run? > > Please follow the instructions on Worg and let us know what is not > crystal-clear -- that will help improve the doc if necessary. > I think Dmitry is asking for the git commands and I'm

Re: [Orgmode] Re[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Bastien
Hi Ivanov, Ivanov Dmitry writes: >> Ivanov, please register at http://repo.or.cz and drop me an email with >> your username -- then you'll be able to improve this page. > > My username is usr345 Thanks - I added you, you can now push changes to Worg. > 1. Put the email into .git/config > > | [

[Orgmode] Re: How to get pretty printed source code in PDFLaTeX

2010-08-10 Thread Dan Davison
"Thomas S. Dye" writes: > Hi Dan, > > One of the design goals of LaTeX is to use semantic markup in the > source and to keep details of representation separate, typically in a > style or class file that is used to render the semantic markup. From > this perspective, the cleanest implementation w

Re[2]: [Orgmode] Re[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Ivanov Dmitry
> Ivanov, please register at http://repo.or.cz and drop me an email with > your username -- then you'll be able to improve this page. My username is usr345 > Please reread Bernt's email before doing so, it might help keeping > things clear. I was trying to understand, how to create a topic bra

Re: [Orgmode] Re: How to get pretty printed source code in PDFLaTeX

2010-08-10 Thread Thomas S. Dye
Hi Dan, One of the design goals of LaTeX is to use semantic markup in the source and to keep details of representation separate, typically in a style or class file that is used to render the semantic markup. From this perspective, the cleanest implementation would be to create a LaTeX st

Re: [Orgmode] Re: Email from org?

2010-08-10 Thread Eric Schulte
Hi Ethan, Ethan Ligon writes: > Eric Schulte gmail.com> writes: >> The following function might get part way towards what you describe. >> >> --8<---cut here---start->8--- >> (defun org-send-email-of-headline () >> (interactive) >> (let ((subject (org-ge

Re: [Orgmode] What license for Worg?

2010-08-10 Thread Bastien
David Maus writes: > IIRC there was some back and forth about compatibility of this > statement and the GPL, but cannot remember where I read this. This is > obvious, but why not just drop a message to FSF legal team with the > question about this issue? I'm in touch with RMS about this issue.

Re: [Orgmode] Re[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Eric Schulte
Added. Thanks -- Eric Ivanov Dmitry writes: > Carsten, can you kindly add this to > http://orgmode.org/worg/org-contribute.php#sec-3 > > " > To submit the patch follow the instructions: > > This command will make a patch between the staging area > (in your computer), and the file you modified:

Re: [Orgmode] Re[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Bastien
Ivanov Dmitry writes: > Carsten, can you kindly add this to > http://orgmode.org/worg/org-contribute.php#sec-3 Ivanov, please register at http://repo.or.cz and drop me an email with your username -- then you'll be able to improve this page. Please reread Bernt's email before doing so, it might

Re: [Orgmode] [PATCH] /contrib/lisp/org-collector.el

2010-08-10 Thread Eric Schulte
Hi, This patch has been applied with some very minor indentation and whitespace changes. Thanks for the patch and the elucidation of the comments and code. Best -- Eric Ivanov Dmitry writes: > * org-read-prop > ** added a more detailed comment > ** changed 2 if stements to 1 cond to make the

Re: [Orgmode] text color + highlight

2010-08-10 Thread Eric Schulte
Hi Christian, Christian Moe writes: > Hi, > > I'm sorry my point was buried in quoted text. I did read Samuel's > post. But my question was whether we couldn't *avoid inventing new > syntaxes*, by using the already existing link syntax with custom links > and export handlers (plus possibly some

[Orgmode] Re[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Ivanov Dmitry
Carsten, can you kindly add this to http://orgmode.org/worg/org-contribute.php#sec-3 " To submit the patch follow the instructions: This command will make a patch between the staging area (in your computer), and the file you modified: git diff -p org-whatever.el > org-whatever.el.diff If y

Re: [Orgmode] why not auto-renumbering list ?

2010-08-10 Thread Nicolas Goaziou
> Andrew Swann writes: > Many thanks for this suggestion. It is certainly useful. Is there a local > solution that could be used just around this line? It would be nice if one > could escape the period. Enforce numbering to 2 with [...@start:2]. It will still be treated as a list, but it w

Re: [Orgmode] why not auto-renumbering list ?

2010-08-10 Thread Andrew Swann
On 10/8/10 11:46 , "Nicolas Goaziou" wrote: > Hello, > >> Andrew Swann writes: > >> I have a related but slightly off topic question that arose when setting up >> org versions of Danish course homepages. How do I get something like > >> 2. kvartal > >> (meaning 2nd quarter) on a line on

[Orgmode] [PATCH] /contrib/lisp/org-collector.el

2010-08-10 Thread Ivanov Dmitry
* org-read-prop ** added a more detailed comment ** changed 2 if stements to 1 cond to make the code more comprehensible. ** added (condition-case nil (read prop) (error prop))) instead of (read prop) so, if any error occurs during the conversion of prop to lisp expression - a s

Re: [Orgmode] why not auto-renumbering list ?

2010-08-10 Thread Nicolas Goaziou
Hello, > Andrew Swann writes: > I have a related but slightly off topic question that arose when setting up > org versions of Danish course homepages. How do I get something like > 2. kvartal > (meaning 2nd quarter) on a line on its own that is *not* treated as a list > (and thus renumbere

Re: [Orgmode] text color + highlight

2010-08-10 Thread Christian Moe
Hi, I'm sorry my point was buried in quoted text. I did read Samuel's post. But my question was whether we couldn't *avoid inventing new syntaxes*, by using the already existing link syntax with custom links and export handlers (plus possibly some some new functionality to user-customize the

Re: [Orgmode] why not auto-renumbering list ?

2010-08-10 Thread Andrew Swann
On 9/8/10 14:35 , "Nicolas Goaziou" wrote: [...] > Thinking about it, we could even lighten [...@start:xx] syntax by making > it [...@num]. It would also make more sense since it can be used > repeatedly in a list. Thus: > > 6. [...@6] I like > 28. [...@28] perfect numbered > 496. [...@496] list

[Orgmode] OT: smex.el (was Re: keys and command name info)

2010-08-10 Thread Austin Frank
On Mon, Aug 09 2010, Carsten Dominik wrote: > I don't think anyone calls Org commands with M-x, and if a hacker > needs to find a command name, `C-h b' and in particular `C-h k' are > the perfect ways to get to the names. I don't have a horse in this race, but I will note that I call Org commands

Re: [Orgmode] text color + highlight

2010-08-10 Thread Carsten Dominik
Hi, Can we please first read Samuels post about extensible syntax? Before we invent 20 other new syntaxes? http://thread.gmane.org/gmane.emacs.orgmode/10204/focus=10204 Thanks! On Aug 10, 2010, at 8:14 AM, Christian Moe wrote: Hi, >> >> - this would be extensible, e.g. >> >> [backgroun