[Orgmode] org-table export to elisp

2008-07-17 Thread Stephan Schmitt

Hello,

is there an easy way to export an org-table to an elisp data 
structure, e.g. a list of lists or an array of arrays?  Or, 
to be more exact, to get this data structure as a return 
value from a function like orgtbl-to-elisp.


I was looking at the org-table-export function, but found 
only the possibilities to export to a buffer in tsv, csv, 
latex etc.


Thanks for any help, Greetings,
Stephan


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Bug with inserting a heading in narrowed buffer ?

2008-07-17 Thread Jeff Li
Hi, Carsten and list,

It seems there is a bug with inserting a new heading in a narrowed org-mode
buffer. I am using version 6.05

The bug can be reproduced with the following 2 lines test file:

* heading A
* heading B

1. narrow to "heading A" subtree. (C-x n s)
2. goto the end of the buffer
3. insert a new heading.
4. widen the buffer again

Now one can see the "heading B" is folded into the newly created heading.

The problem seems to stem from the fact that "org-insert-heading" is unaware
it is at the beginning of a new heading, because the buffer is narrowed.

Thanks,

-Jeff
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Timestamps for publishing

2008-07-17 Thread Richard G Riley

Would it be possible for the timestamps of #+included files to be taken
into account when publishing?

thanks,
r.




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] exporting src as html

2008-07-17 Thread Jason F. McBrayer
Carsten Dominik <[EMAIL PROTECTED]> writes:

> Hi,
>
> do any of the HTML gurus on this list have an opinion on the
> additional div for specific source examples?
>

Instead of doing something like this:

  
(psychoanalyze-pinhead)
  


you should do something like this:


  (psychoanalyze-pinhead)


Both the src and src-emacs-lisp classes will get applied to that div.

-- 
+---+
| Jason F. McBrayer[EMAIL PROTECTED]  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada|


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] exporting src as html

2008-07-17 Thread Richard G Riley

[EMAIL PROTECTED] (Jason F. McBrayer) writes:

> Carsten Dominik <[EMAIL PROTECTED]> writes:
>
>> Hi,
>>
>> do any of the HTML gurus on this list have an opinion on the
>> additional div for specific source examples?
>>
>
> Instead of doing something like this:
> 
>   
> (psychoanalyze-pinhead)
>   
> 
>
> you should do something like this:
>
> 
>   (psychoanalyze-pinhead)
> 
>
> Both the src and src-emacs-lisp classes will get applied to that div.

Yes, but end result the same. I think it's a nice addition to be able to
customise different src types ones self.



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: column view can't display correctly when add (org-agenda-to-appt) into .emacs

2008-07-17 Thread anhnmncb
Carsten Dominik <[EMAIL PROTECTED]> writes:

> Hi,
>
> Also this should not be a problem.  org-agenda-to-appt is defined in
> org-agenda.el, which is also loading org.el.
>
> On Jul 16, 2008, at 7:11 PM, anhnmncb wrote:
>
>> Carsten Dominik <[EMAIL PROTECTED]> writes:
>>
>>> I have not idea what might be causing this.
>>>
>>> - Carsten
>>>
>>> On Jul 14, 2008, at 9:05 PM, anhnmncb wrote:
>>>
 Is it a bug of org-mode? When enabled (org-agenda-to-appt) in
 .emacs,
 when I use the colum view in client, every column got too long to
 show,
 but in emacs server, display is ok.
 screenshot is here:
  http://paste.ubuntu.org.cn/i8055  <= emacs server
  http://paste.ubuntu.org.cn/i8054  <= emacs client
>>
>> I forgot to attach my emacs version:
>>  GNU Emacs 23.0.60.1 (i686-pc-linux-gnu) of 2008-07-16 on gentoo
>>
>> This issue is gone after I remove (org-agenda-to-appt).

Hmmm, I find that it happens exactly after I add this to .emacs:
  (org-remember-insinuate)

It's not relative to (org-agenda-to-appt). Maybe it's a remember's bug..?
-- 
Regards,

  anhnmncb
 gpg key: 44A31344



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Bug in customize for org-agenda-custom-commands

2008-07-17 Thread Max Mikhanosha
I've redone my org-agenda-custom-commands through customize to learn
about new features, and there is a bug if one uses :other
customization in the variables list.. It pre-defines the variable to be
org-agenda-skip-function and then when I enter the value as 'my-skip.

When I apply the changes, it puts ((...) (...)
((org-agenda-skip-function (quote my-skip into the agenda command,
note the extra level of parenthesis, and trying to run that agenda item
gives "not a symbol" error.. If I use "any variable" and put
org-agenda-skip-function and 'my-skip then it works fine.

This is with .git version

Regards,
  Max


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] exporting src as html

2008-07-17 Thread Carsten Dominik


On Jul 17, 2008, at 7:24 AM, Richard G Riley wrote:



[EMAIL PROTECTED] (Jason F. McBrayer) writes:


Carsten Dominik <[EMAIL PROTECTED]> writes:


Hi,

do any of the HTML gurus on this list have an opinion on the
additional div for specific source examples?



Instead of doing something like this:

 
   (psychoanalyze-pinhead)
 


you should do something like this:


 (psychoanalyze-pinhead)


Both the src and src-emacs-lisp classes will get applied to that div.


Yes, but end result the same. I think it's a nice addition to be  
able to

customise different src types ones self.


OK, you got it.  src-emacs-lisp for emacs list and accordingly for  
other modes.  BEGIN_EXAMPLE get the "example" class.


- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug in customize for org-agenda-custom-commands

2008-07-17 Thread Carsten Dominik

Fixed, thanks.

- Carsten
On Jul 17, 2008, at 8:05 AM, Max Mikhanosha wrote:


I've redone my org-agenda-custom-commands through customize to learn
about new features, and there is a bug if one uses :other
customization in the variables list.. It pre-defines the variable to  
be

org-agenda-skip-function and then when I enter the value as 'my-skip.

When I apply the changes, it puts ((...) (...)
((org-agenda-skip-function (quote my-skip into the agenda command,
note the extra level of parenthesis, and trying to run that agenda  
item

gives "not a symbol" error.. If I use "any variable" and put
org-agenda-skip-function and 'my-skip then it works fine.

This is with .git version

Regards,
 Max


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug with inserting a heading in narrowed buffer ?

2008-07-17 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Jul 16, 2008, at 7:06 PM, Jeff Li wrote:


Hi, Carsten and list,

It seems there is a bug with inserting a new heading in a narrowed  
org-mode buffer. I am using version 6.05


The bug can be reproduced with the following 2 lines test file:

* heading A
* heading B

1. narrow to "heading A" subtree. (C-x n s)
2. goto the end of the buffer
3. insert a new heading.
4. widen the buffer again

Now one can see the "heading B" is folded into the newly created  
heading.


The problem seems to stem from the fact that "org-insert-heading" is  
unaware it is at the beginning of a new heading, because the buffer  
is narrowed.


Thanks,

-Jeff
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-table export to elisp

2008-07-17 Thread Carsten Dominik
There is not, get the latest git version and look for the function  
`org-table-to-lisp'.


HTH

- Carsten

On Jul 17, 2008, at 12:27 AM, Stephan Schmitt wrote:


Hello,

is there an easy way to export an org-table to an elisp data  
structure, e.g. a list of lists or an array of arrays?  Or, to be  
more exact, to get this data structure as a return value from a  
function like orgtbl-to-elisp.


I was looking at the org-table-export function, but found only the  
possibilities to export to a buffer in tsv, csv, latex etc.


Thanks for any help, Greetings,
Stephan


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Timestamps for publishing

2008-07-17 Thread Carsten Dominik


On Jul 17, 2008, at 7:14 AM, Richard G Riley wrote:



Would it be possible for the timestamps of #+included files to be  
taken

into account when publishing?


Not easily, no,  Maybe when a general overhaul of org-publish happens,  
not before that.


- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-table export to elisp

2008-07-17 Thread Carsten Dominik


On Jul 17, 2008, at 10:09 AM, Carsten Dominik wrote:

There is not, get the latest git version and look for the function  
`org-table-to-lisp'.


I meant to say:  There is *now*.




HTH

- Carsten

On Jul 17, 2008, at 12:27 AM, Stephan Schmitt wrote:


Hello,

is there an easy way to export an org-table to an elisp data  
structure, e.g. a list of lists or an array of arrays?  Or, to be  
more exact, to get this data structure as a return value from a  
function like orgtbl-to-elisp.


I was looking at the org-table-export function, but found only the  
possibilities to export to a buffer in tsv, csv, latex etc.


Thanks for any help, Greetings,
Stephan


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Google Tech Talk

2008-07-17 Thread Carsten Dominik

Hi,

I was over at Google on Tuesday and gave a Google Tech Talk about Org- 
mode.
If you are interested, I have put a link to the video on the Org-mode  
home page.

Or go directly to youtube at

   http://www.youtube.com/watch?v=oJTwQvgfgMM

- Carsten


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] blorg users?

2008-07-17 Thread Rick Moynihan
Well, in response to David's original request.  I've finally got round
to publishing my rather minimal blorg theme and config on github:

http://github.com/InkyHarmonics/sourcesmouth-blorg-theme/tree/theme-branch

I've untangled many of the dependencies on my system, but there are a
few left.  If anyone attempts to use this, then it would be good to
untangle some of these also.  I'm not an elisp hacker, and know that
there is much work left to be done.

The release includes a slightly modified version of blorg.el, it could
really be patched upto Bastien's more recent 0.75e release.

One of the reasons for me publishing this is to help an incredibly
small blorg community get a little bigger.  I suspect I'm the only
user at the moment!!  It's clear there is some more work needed
ironing out some of blorg's niggles also.  Hopefully some more
experienced elispers can help me do this, until Bastien gets around to
rewriting it on top of org-publish.

There is a function called publish-blog which copies all the source
images, style sheets etc into the upload directory.  It also calls
org-publish to generate static pages (which share much of the theme
also).

Be sure to let the me know if you're using this, and hopefully we can
iron out some problems.


R.

2008/6/30 Rick Moynihan <[EMAIL PROTECTED]>:
> David O'Toole wrote:
>>
>> I've abandoned my old program "org-blog.el" and have started to set up
>> Bastien's "Blorg" software. But there seems to be a lot of templates to
>> customize, and I also have to come up with styles. Are there any other
>> blorg users out there who would share their configs and templates with
>> me, and maybe I could piece together a style? I promise to tweak
>> everything and change the colors so that it won't look too much like
>> your site. what I'm mainly hoping for is to borrow someone's layout, and
>> then do my own color scheme.
>>
>> I also promise to release my theme back to the community for further
>> copying.
>>
>> Any thoughts?
>>
>
> Hi David,
>
> Yes there are quite a lot of blorg templates etc to customize, and
> configuration could be better.  And I spent quite a lot of time developing
> my rather minimal blorg theme which I use on my blog at
> http://sourcesmouth.co.uk/blog/
>
> Anyway, I'm happy to share my configs with you and the org community, as I'd
> very much like to see some more blorgers, and some of the outstanding issues
> with blorg resolved (most notably links not rendering properly).
>
> I have begun seperating my blorg configs into something that's hopefully a
> little more meaningfull to others.  When I've completed this work, I'll push
> it into a git repository for you and others to look at.
>
> I've also made some minor mods to Bastien's blorg.el branched from v0.75,
> which support use of a 3rd party feed etc and add some css classes etc to
> various HTML snippets.
>
> I've seen Bastien has made some changes since 0.75 with v0.75e.  I tried
> merging these changes but found the newer version to be more problematic
> than the older version.
>
> I'll send out an email with a link to the git repo when I've seperated the
> configuration a bit more.  I hope this helps.
>
>
>
> R.

-- 
Rick Moynihan
[EMAIL PROTECTED]
http://sourcesmouth.co.uk/blog/


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Google Tech Talk

2008-07-17 Thread Bernt Hansen
Carsten Dominik <[EMAIL PROTECTED]> writes:

> I was over at Google on Tuesday and gave a Google Tech Talk about Org- 
> mode.
> If you are interested, I have put a link to the video on the Org-mode
> home page.
> Or go directly to youtube at
>
>http://www.youtube.com/watch?v=oJTwQvgfgMM

Hi Carsten!  It's nice to finally see you :)

Even though I've been an org-mode user for years I listened to your
entire talk to see what else I could pick up and use and I wasn't
disappointed!  Great job!

Thanks for the tip on replacing outline-mode with org-mode as the
default for my .txt files.

I also never use priorities.  I've tried it a few times but always end
up turning it off and just scheduling the top priority things onto
today's agenda.

Thanks again for making this resource available!

Cheers!

-Bernt


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode