Re: [O] The Org->ODT exporter is now in Org's core (latest git)

2011-12-10 Thread Christian Moe

Wonderful!

Yours,
Christian

On 12/10/11 6:22 PM, Bastien wrote:

Dear all,

as the subject says.  Please all test this heavily and report
any problems.  This will be part of Org 7.8 and soon in Emacs.

Thanks a lot to Jambunathan for all this efforts, let's make
sure everything is smooth before the release!

Best,






Re: [O] [feature request] Org as an Excerpt Database (or Multivalue Properties)

2011-12-10 Thread Christian Moe

Hi,

I've successfully used the regular expression searches Herbert Sitz 
describes to search and query a small (~ 500 kB) Org database of all 
my source materials (text clippings) for a project, where some of the 
properties I used had multiple values.


You will find Matt Lundin's Advanced searching tutorial invaluable:

http://orgmode.org/worg/org-tutorials/advanced-searching.html

Org has some basic support for multivalue properties, mainly for 
editing (getting, putting, adding, removing) and also a membership 
test. See the manual:


[[info:org#Using%20the%20property%20API]]

Note that unlike your example setup, the values are not comma-separated.

The multivalue support does not, as far as I remember, extend to match 
expressions for searches etc. This would probably be non-trivial to 
implement. Something could probably be cobbled up with 
org-entry-member-in-multivalued-property. But regexp searches are 
fairly simple to use, and work now.


You'll want to think carefully about what you put in properties, what 
you put in tags, and what you put in multi-value properties, with a 
view to making this easy to search and change as your file grows.


Yours,
Christian



On 12/11/11 1:09 AM, Herbert Sitz wrote:

Sven Bretfeld  gmx.ch>  writes:



A property search for "code-writing" should match this citation and all
others with this property. An additional search for "career" should
narrow the matches down. But orgmode understands "money, ... ethics" as
ONE value, not FOUR. That's the problem.


Sven --

I think you should be able to get results you want using "regular expression"
searches on your 'keyword' field.  E.g., the following tags-todo search should
find headings that have both 'career' and 'code-writing' in a 'keyword' 
property:

keyword={career}keyword={code-writing}

This search would find headings that had one or the other or both:

keyword={career\|code-writing}

Regular expressions start out simple but can get very complex.  I expect there's
a way to get whatever you want out of the "multi-value" property strings you
want to use.

-- Herb










Re: [O] Making ePub books

2011-12-10 Thread Nick Dokos
I said:

> > Back when Avdi Green was working on his book, there was some

and I managed to mangle Avdi's name pretty badly: it is "Avdi Grimm".

Apologies,
Nick




Re: [O] Making ePub books

2011-12-10 Thread Nick Dokos
Alan L Tyree  wrote:

> >   http://thread.gmane.org/gmane.emacs.orgmode/41826/focus=41849
> 
> Yes, Calibre does a nice job of converting XHTML to ePub; it can be
> read in all the readers that I use, but it won't pass the validation
> tests. OK unless you want to publish on sites that require validation.

Have you tried submitting an enhancement request to the calibre people?
It sounds (from my vantage point of a million miles away...) like a simple
thing for them to do and it might be a good thing for them as well as
for you: they can integrate the validation step in their testing and
catch errors that might be difficult to catch any other way. And it
seems to be a very active project, so you might get results pronto.

Nick




Re: [O] Export all clocks or find last clock out. Is it possible?

2011-12-10 Thread Mikhail Titov
On 12/11/2011 01:10 AM, Puneeth Chaganti wrote:
> On 12/11/11, Mikhail Titov  wrote:
>> Hello!
>>
>> I wonder if I can see all clocks in a table or export them somehow as
>> csv or alike?
> Look at `org-clock-report' function [
> http://orgmode.org/manual/The-clock-table.html ]
This does not show all clocks. I've tried clock table with :timestamp.
It shows task time and deadlines and alike but not all clock-in &
clock-out for a task.
>> Also how can I navigate to the last clock out?
> `org-clock-goto' function can do this for you.
>
> Use `M-x org-clock-goto' (By default, it is bound to C-c C-x C-j)
This results in "No active or recent clock task". Generally it works
find while I'm working on document. But if I open old document, it does
not work for some reason :(

I've tried both your suggestions before and that is why I'm asking here
in the list.

M.




Re: [O] Making ePub books

2011-12-10 Thread Alan L Tyree
On 11/12/11 18:07:48, Nick Dokos wrote:
> Alan L Tyree  wrote:
> 
> > Debian Squeeze; org 7.7; emacs 23.2.1
> > 
> > I am back to trying to make ePub books from org articles/books. I
> am=20
> > working on a book which currently produces about 100 pages in
> LaTeX=20
> > export. It will be about 200 pages when finished.
> > 
> > ePub uses XHTML for the main content. So, I export the org file
> to=20
> > HTML. It verifies as a valid XHTML1.0 file at the w3c
> verification=20
> > site: http://validator.w3.org/
> > 
> > OK. Then wrap it up in the mess that is the ePub specification.
> It=20
> > actually reads OK in FBReader and in Iceweasel with the ePub add
> on,=20
> > BUT it does not validate. There are several problems, but most of
> the=20
> > errors involve the "name" attribute. For example:
> > 
> >  class=3D"sectio=
> > n-
> > number-2">1 History
> > 
> > ePub does not like the name in there. Wipe out all the name=3D"xxx"
> and=20
> > the problem goes away. Everything else still works.
> > 
> > I know that I can do a post export clean up of the XHTML file, but
> I=20
> > wonder if this is set in some variable that I cannot find.
> > 
> > And, as a general question, whay have both name=3D"sec-1" and
> id=3D"sec-1"=20
> > in the same element?
> > 
> > I would like to automate everything to go from org to ePub. It
> doesn't=20
> > seem too hard, but I'm a legal academic, not a programmer :-).
> Any=20
> > pointers appreciated.
> > 
> 
> Back when Avdi Green was working on his book, there was some
> discussion
> of this and Anthony Lander provided a pointer to 
> http://calibre-ebook.com/
> - see 
> 
>   http://thread.gmane.org/gmane.emacs.orgmode/41826/focus=41849

Yes, Calibre does a nice job of converting XHTML to ePub; it can be 
read in all the readers that I use, but it won't pass the validation 
tests. OK unless you want to publish on sites that require validation.

Cheers,
Alan



> Nick
> 
> 



-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:172...@iptel.org





Re: [O] [ANN][RFC] org-odt.texi/org-odt.pdf preview (was Re: Org-odt table format)

2011-12-10 Thread Christian Moe

Great news!

I'll go over the documentation as promised.

Yours,
Christian

On 12/11/11 12:13 AM, Jambunathan K wrote:


Hello Christian

Christian Moe  writes:

Hi,

Great, I'll just wait for your revised draft so we don't get versions
mixed up.


You would have seen this announcement[1] by Bastien. I have checked in
the revised Info documentation for ODT exporter in to the master repo. I
have tried my best to act on all your inputs.

Let me know what you think.

[1] http://www.mail-archive.com/emacs-orgmode@gnu.org/msg49545.html


Yours,
Christian

On 10/28/11 6:19 AM, Jambunathan K wrote:

I will work on your suggestions and circulate a
revised draft shortly.

Once an initial org.texi gets in to the repo, improving it would be a
breeze.











Re: [O] Export all clocks or find last clock out. Is it possible?

2011-12-10 Thread Puneeth Chaganti
On 12/11/11, Mikhail Titov  wrote:
> Hello!
>
> I wonder if I can see all clocks in a table or export them somehow as
> csv or alike?

Look at `org-clock-report' function [
http://orgmode.org/manual/The-clock-table.html ]

Also, hitting R in the agenda mode enables a clockreport mode.

> Also how can I navigate to the last clock out?

`org-clock-goto' function can do this for you.

Use `M-x org-clock-goto' (By default, it is bound to C-c C-x C-j)

HTH,
Puneeth



Re: [O] Making ePub books

2011-12-10 Thread Nick Dokos
Alan L Tyree  wrote:

> Debian Squeeze; org 7.7; emacs 23.2.1
> 
> I am back to trying to make ePub books from org articles/books. I am=20
> working on a book which currently produces about 100 pages in LaTeX=20
> export. It will be about 200 pages when finished.
> 
> ePub uses XHTML for the main content. So, I export the org file to=20
> HTML. It verifies as a valid XHTML1.0 file at the w3c verification=20
> site: http://validator.w3.org/
> 
> OK. Then wrap it up in the mess that is the ePub specification. It=20
> actually reads OK in FBReader and in Iceweasel with the ePub add on,=20
> BUT it does not validate. There are several problems, but most of the=20
> errors involve the "name" attribute. For example:
> 
>  n-
> number-2">1 History
> 
> ePub does not like the name in there. Wipe out all the name=3D"xxx" and=20
> the problem goes away. Everything else still works.
> 
> I know that I can do a post export clean up of the XHTML file, but I=20
> wonder if this is set in some variable that I cannot find.
> 
> And, as a general question, whay have both name=3D"sec-1" and id=3D"sec-1"=20
> in the same element?
> 
> I would like to automate everything to go from org to ePub. It doesn't=20
> seem too hard, but I'm a legal academic, not a programmer :-). Any=20
> pointers appreciated.
> 

Back when Avdi Green was working on his book, there was some discussion
of this and Anthony Lander provided a pointer to  http://calibre-ebook.com/
- see 

  http://thread.gmane.org/gmane.emacs.orgmode/41826/focus=41849

Nick




[O] Making ePub books

2011-12-10 Thread Alan L Tyree
Debian Squeeze; org 7.7; emacs 23.2.1

I am back to trying to make ePub books from org articles/books. I am 
working on a book which currently produces about 100 pages in LaTeX 
export. It will be about 200 pages when finished.

ePub uses XHTML for the main content. So, I export the org file to 
HTML. It verifies as a valid XHTML1.0 file at the w3c verification 
site: http://validator.w3.org/

OK. Then wrap it up in the mess that is the ePub specification. It 
actually reads OK in FBReader and in Iceweasel with the ePub add on, 
BUT it does not validate. There are several problems, but most of the 
errors involve the "name" attribute. For example:

1 History

ePub does not like the name in there. Wipe out all the name="xxx" and 
the problem goes away. Everything else still works.

I know that I can do a post export clean up of the XHTML file, but I 
wonder if this is set in some variable that I cannot find.

And, as a general question, whay have both name="sec-1" and id="sec-1" 
in the same element?

I would like to automate everything to go from org to ePub. It doesn't 
seem too hard, but I'm a legal academic, not a programmer :-). Any 
pointers appreciated.

Cheers,
Alan

-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:172...@iptel.org





[O] Export all clocks or find last clock out. Is it possible?

2011-12-10 Thread Mikhail Titov
Hello!

I wonder if I can see all clocks in a table or export them somehow as
csv or alike?

Also how can I navigate to the last clock out?

I know I can do some exercise with awk or perl, but perhaps there should
be a better solution. I tried to google but I can't find anything :(

--
Mikhail




Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks

2011-12-10 Thread Puneeth Chaganti
On 12/11/11, Sankalp  wrote:
> Hi,
> I've been using org mode's #+BEGIN_SRC ...  #+END_SRC feature to
> display source code.
>
> I was wondering if there's a way to include code from an external file.
> Like the *\lstinputlisting* feature in the LaTeX *listings* package.

You could use the #+INCLUDE directive.
http://orgmode.org/manual/Include-files.html

HTH,
Puneeth



Re: [O] benefit to having org files in one folder

2011-12-10 Thread Jason Earl
On Sat, Dec 10 2011, Herbert Sitz wrote:

> prad  towardsfreedom.com> writes:
>> 
>> i read somewhere that we should keep orgfiles in an org folder.  i've
>> used org casually that way and otherwise.
>> 
>> what advantages are there to having them in a single folder?
>>
>
> It can be easier to specify agenda files if you have all of them in a
> single directory.  If you include a directory in the agenda-files
> variable then all .org files in that directory will automatically be
> included in agenda-files.

Perhaps the biggest advantage is that you can use a revision control
system to keep your files in sync across several computers.  If you have
your org files scatter all over your file system that becomes much more
difficult.

Jason



[O] Including source code *from* a file in #+BEGIN_SRC blocks

2011-12-10 Thread Sankalp
Hi,
I've been using org mode's #+BEGIN_SRC ...  #+END_SRC feature to
display source code.

I was wondering if there's a way to include code from an external file.
Like the *\lstinputlisting* feature in the LaTeX *listings* package.

I have a source code file that keeps getting modified, and each time I
publish my project to the web (htmlize), I'd like to have the latest
version of it in my source code block instead of having to copy-paste its
contents each time.

---
Sankalp


Re: [O] [org-babel] [PATCH] Improve ditta.jar finding heuristics

2011-12-10 Thread Eric Schulte
Andrey Smirnov  writes:

> I wrote a letter describing the situation, to the maintainer of
> Debian's `emacs-snapshot' package and the issue has been fixed in the
> latest snapshot for both Ubuntu and Debian.
>
> Andrey Smirnov

Fantastic, Thanks for running this issue to ground,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



[O] Simple reference card browser by Anything.el

2011-12-10 Thread SAKURAI Masashi
Hi,

I made simple reference browser.
Just browsing, not executing commands.

https://gist.github.com/1345100

Sample setting:
(eval-after-load "org"
  '(progn
 (require 'anything-orgcard)
 (define-key org-mode-map (kbd "M-4") 'aoc:anything-orgcard)
   ))

Here is a screenshot.
https://cacoo.com/diagrams/pU53GOElYyHbXtpa-0D3F5.png

This program retrieves the reference card for text version.
http://orgmode.org/orgcard.txt
Then, parses simply and just makes it enumerate for anything.


--
SAKURAI, Masashi (family, given)
m.saku...@kiwanami.net



Re: [O] Minimal overhead Org-mode blogging system

2011-12-10 Thread Nathan Neff
On Sun, Dec 4, 2011 at 10:51 AM, Karl Voit  wrote:
> Hi!
>
> I got a nice idea on how a very easy to use Org-mode blog system
> should look like.
>
> Currently, I am using Serendipidy with web-based editor to write
> HTML. Org-mode enabled me to write blog entries and export it to
> HTML. Then I paste the HTML and have to modify minor things (images,
> ...) a bit. I guess the time from finishing the Org-mode entry to
> the final blog entry is approximately ten to twenty minutes.
>
> Overall, I do not want to do this process when I just want to
> quickly write a view paragraphs within a couple of minutes. I need
> a workflow with much less annoying overhead.

Hello,

I agree with you about the "Much less annoying overhead".

I love the org-mode format, but I do not like the existing solutions
that others are using to blog with org-mode.  The main reasons is that
it seems like a lot of overhead to create the look & feel of the site
and how blog posts are shown, etc.

So, I've been using Jekyll, and have found it to be okay, once you have it
set up the way you want.  Now that I have it set up the way I want, I want to
just use org-mode formatted files, instead of markdown.

After some googling, I found this project, which looks promising:
https://github.com/abhiyerra/jekyll

It's just a small fork of Jekyll, that uses org-ruby to find *.org
files in your project
and convert it to HTML.

The main advantages that I can see are:

  - Edit my blog posts in Emacs or Vim, using Org-mode format, which I
like better than Markdown.
  - Jekyll has an outstanding feature set, including auto-preview.  So
I can just run jekyll --watch (or something like that) in my blog's
directory and it will automatically detect changes and re-render the
HTML.
  - Jekyll has lots of meta-data tags (I think they're called YAML
front matter and liquid templates). and I'll make sure that org-ruby
can parse these tags as well.

I will see if it works for me, and then report back to the mailing list :-)

--Nate



Re: [O] [org-babel] [PATCH] Improve ditta.jar finding heuristics

2011-12-10 Thread Andrey Smirnov
I wrote a letter describing the situation, to the maintainer of
Debian's `emacs-snapshot' package and the issue has been fixed in the
latest snapshot for both Ubuntu and Debian.

Andrey Smirnov



Re: [O] The Org->ODT exporter is now in Org's core (latest git)

2011-12-10 Thread Mehul Sanghvi
On Sat, Dec 10, 2011 at 19:52, suvayu ali  wrote:
> On Sat, Dec 10, 2011 at 18:22, Bastien  wrote:
>> as the subject says.  Please all test this heavily and report
>> any problems.  This will be part of Org 7.8 and soon in Emacs.
>>
>> Thanks a lot to Jambunathan for all this efforts, let's make
>> sure everything is smooth before the release!
>
> A big thank you to Jambu for his amazing efforts and of course to you
> and others involved. :)
>


Agreed.  An excellent job on the org-odt functionality.  Although I still prefer
using LaTeX to write my resume in, I have switched to using org-odt for writting
normal, basic documents.  I do have my resume in org format now as well, just
have to work out some issues regarding headers, etc.  which Jambunathan has
been very helpful with.

Little by little org-mode will take over my life.


cheers,

   mehul


-- 
Mehul N. Sanghvi
email: mehul.sang...@gmail.com



Re: [O] benefit to having org files in one folder

2011-12-10 Thread suvayu ali
On Sun, Dec 11, 2011 at 01:23, Herbert Sitz  wrote:
> If you include a directory in the agenda-files variable then all
> .org files in that directory will automatically be included in agenda-files.

And I believe all archive files are included in the text search (C-c a s).

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] The Org->ODT exporter is now in Org's core (latest git)

2011-12-10 Thread suvayu ali
On Sat, Dec 10, 2011 at 18:22, Bastien  wrote:
> as the subject says.  Please all test this heavily and report
> any problems.  This will be part of Org 7.8 and soon in Emacs.
>
> Thanks a lot to Jambunathan for all this efforts, let's make
> sure everything is smooth before the release!

A big thank you to Jambu for his amazing efforts and of course to you
and others involved. :)

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] The Org->ODT exporter is now in Org's core (latest git)

2011-12-10 Thread Herbert Sitz
Bastien  altern.org> writes:
> 
> Dear all,
> 
> as the subject says.  Please all test this heavily and report 
> any problems.  This will be part of Org 7.8 and soon in Emacs.
> 
> Thanks a lot to Jambunathan for all this efforts, let's make
> sure everything is smooth before the release!
> 
> Best,
> 

Great.  I'm wondering what sort of progress has been made on the ODT importer. 
For example, is it able to convert an Org export to ODT back to Org format with
result being same as the original Org file that was exported?  If something is
lost, what is lost?







Re: [O] benefit to having org files in one folder

2011-12-10 Thread Herbert Sitz
prad  towardsfreedom.com> writes:
> 
> i read somewhere that we should keep orgfiles in an org folder.
> i've used org casually that way and otherwise.
> 
> what advantages are there to having them in a single folder?
>

It can be easier to specify agenda files if you have all of them in a single
directory.  If you include a directory in the agenda-files variable then all
.org files in that directory will automatically be included in agenda-files.

-- Herb






Re: [O] Viewing all entries of a file in Agenda

2011-12-10 Thread Herbert Sitz
Sven Bretfeld  gmx.ch> writes:
> It is the last line that puzzles me. If I have it like above, every call
> of this agenda is interrupted by the question which tag I want to query
> for. Hitting RET does what I want, namely displaying all headlines of
> the file. How is that possible without Emacs asking me? The file can
> contain different todo-keywords and tags or none at all. I want to
> display everything.
> 
> Thanks for a hint
> 
> Sven

One of the special properties of every Org heading is 'Level', which is an
integer representing the outline level of the heading.  Doing the following
search should return all the headings in an Org document:

Level>=1

This search would return only first and second level headings:

 







Re: [O] [feature request] Org as an Excerpt Database (or Multivalue Properties)

2011-12-10 Thread Herbert Sitz
Sven Bretfeld  gmx.ch> writes:
> 
> 
> A property search for "code-writing" should match this citation and all
> others with this property. An additional search for "career" should
> narrow the matches down. But orgmode understands "money, ... ethics" as
> ONE value, not FOUR. That's the problem.

Sven -- 

I think you should be able to get results you want using "regular expression"
searches on your 'keyword' field.  E.g., the following tags-todo search should
find headings that have both 'career' and 'code-writing' in a 'keyword' 
property:

keyword={career}keyword={code-writing}

This search would find headings that had one or the other or both:

keyword={career\|code-writing}

Regular expressions start out simple but can get very complex.  I expect there's
a way to get whatever you want out of the "multi-value" property strings you
want to use.

-- Herb






[O] [babel] speed of continued source blocks

2011-12-10 Thread Andreas Leha
Hi all,

there is a significant performance drop connected to (the quite old) commit
 8c37281cb63a0b5cb0d84d22960e3a33d7680d40
 ob-tangle: continued code blocks now implemented with the :noweb-ref header arg
which introduces the continued code blocks.

On the test file ([fn:1] for the old syntax, [fn:2] for the new
syntax) do org-babel-expand-src-block (C-c C-v v) on
the first source code block to see the effect.

Just before this commit I get instantaneous reaction (elp: [fn:3]), with
the commit I have to wait about 20 seconds (elp: [fn:4])
Recently things improved a bit, but still it takes about 10 seconds
to expand the source block (elp: [fn:5]).

Since working interactively with the (R-)code in the org-file is
impossible this way, here comes my question:

Is it possible to either
(a) speed up the continued source blocks
or
(b) make the continued code blocks an optional feature
in order to improve the performance to the previous state again?

I'd be happy with solution (b), but unfortunately, it is beyond my
elisp to do so.

Any help highly appreciated,
Andreas


[fn:1] test file with old syntax: http://pastebin.com/aL9axJMJ

[fn:2] test file with new syntax: http://pastebin.com/c42jS1Be

[fn:3] elp result last good commit:
  org-babel-expand-src-block1   
0.853276  0.853276
  org-edit-src-code 1   
0.58143   0.58143
  org-entry-get 2220
0.469903  0.0002116684
  org-babel-edit-prep:R 1   
0.46897   0.46897
  org-babel-R-initiate-session  1   
0.468958  0.468958
  org-babel-expand-noweb-references 5   
0.340635  0.068127
  org-babel-get-src-block-info  7   
0.32633   0.0466185714
  org-babel-parse-src-block-match   7   
0.325632  0.046518
  org-babel-params-from-properties  7   
0.311787  0.044541
  org-entry-get-with-inheritance518 
0.308870  0.0005962760
  org-up-heading-safe   1702
0.088341  5.190...e-05
  org-get-property-block1702
0.084672  4.974...e-05
  org-back-to-heading   3404
0.062372  1.832...e-05
  org-edit-src-find-region-and-lang 1   
0.052575  0.052575
  org-before-first-heading-p2220
0.026047  1.173...e-05
  org-babel-params-from-buffer  7   
0.011711  0.001673
  org-outline-level 2886
0.004712  1.632...e-06
  org-babel-find-named-block4   
0.003625  0.00090625
  org-babel-merge-params29  
0.001489  5.137...e-05
  org-babel-parse-header-arguments  28  
0.00076   2.714...e-05
  org-babel-where-is-src-block-head 7   
0.000354  5.057...e-05
  org-do-remove-indentation 8   
0.000321  4.024...e-05
  org-not-nil   518 
0.000262  5.077...e-07
  org-babel-read30  
0.000171  5.700...e-06
  org-uniquify  96  
0.000161  1.687...e-06
  org-src-switch-to-buffer  1   
0.000161  0.000161
  org-switch-to-buffer-other-window 1   
0.000153  0.000153
  org-edit-src-find-buffer  1   
0.00014   0.00014
  org-mode-flyspell-verify  1   
0.000123  0.000123
  org-babel-trim4   
8.999...e-05  2.249...e-05
  org-make-options-regexp   28  
7.900...e-05  2.821...e-06
  org-babel-chomp   38  
6.899...e-05  1.815...e-06
  org-babel-strip-protective-commas 7   
6.000...e-05  8.571...e-06
  org-edit-src-get-indentation  1   
5.4e-05   5.4e-05
  org-babel-number-p30  
5.000...e-05  1.666...e-06
  org-get-indentation   1   
4.6e-05   4.6e-05
  org-babel-process-params 

Re: [O] [ANN][RFC] org-odt.texi/org-odt.pdf preview (was Re: Org-odt table format)

2011-12-10 Thread Jambunathan K
Christian Moe  writes:

> - References and captions (not covered): It would be worth mentioning
> in the Tables and Images sections that these will work, but that you
> may need to use Tools>Update>Fields in LibreOffice to get them
> displayed right.

I removed the above restriction - which was there in the initial
releases - long ago. So update of fields will no longer be
necessary. The exported document will have up-to-date index.

-- 



Re: [O] [ANN][RFC] org-odt.texi/org-odt.pdf preview (was Re: Org-odt table format)

2011-12-10 Thread Jambunathan K

Hello Christian

Christian Moe  writes:
> Hi,
>
> Great, I'll just wait for your revised draft so we don't get versions
> mixed up.

You would have seen this announcement[1] by Bastien. I have checked in
the revised Info documentation for ODT exporter in to the master repo. I
have tried my best to act on all your inputs.

Let me know what you think.

[1] http://www.mail-archive.com/emacs-orgmode@gnu.org/msg49545.html

> Yours,
> Christian
>
> On 10/28/11 6:19 AM, Jambunathan K wrote:
>> I will work on your suggestions and circulate a
>> revised draft shortly.
>>
>> Once an initial org.texi gets in to the repo, improving it would be a
>> breeze.
>
>
>

-- 



Re: [O] Worg migration complete

2011-12-10 Thread Achim Gratz
Nick Dokos  writes:
> ... but then you'll encounter problems when you try to push, right?

Yes.  It's sorted now, thanks to Jason.  First there was some bogus
newlines in the authentication file of the server, so some keys were not
recognized.  The remote to push to must be

  w...@orgmode.org:worg.git

Alternatively, in URL syntax that is

  git+ssh://w...@orgmode.org/~/worg.git

The crucial part is the "~", otherwise it'd search the repository in the
root directory.  Since I pull via the public interface to avoid the
overhead of an encrypted connection unless it is really needed, I've put

[url "git+ssh://w...@orgmode.org/~/"]
pushInsteadOf = git://orgmode.org/

in my global .gitconfig; you could also have that in the repository
config or configure separate pull and push URL for the remote.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra




Re: [O] agenda secondary filtering by category

2011-12-10 Thread Rainer Stengele
Am 04.11.2011 14:02, schrieb Rainer Stengele:
> Hi Bastien,
> 
> excellent!
> Thanks a lot.
> This will speed up working in the agenda!
> 
> Rainer
> 
> Am 04.11.2011 13:34, schrieb Bastien:
>> Hi Rainer,
>>
>> This is a frequent request, and a very reasonable one.
>> I have a patch for this, I just need to polish it a bit.
>>
>> I will commit it over the week-end.
>>
>> Thanks,
>>
> 
> 
Hi Bastien,

did you commit the patch?
I can't seem to find it by pressing "/" in agenda view.
I would still find it very interesting and useful.

Thanks,
Rainer



[O] Viewing all entries of a file in Agenda

2011-12-10 Thread Sven Bretfeld
Hi all 

I have written an org-agenda-custom-command for a daily review of my
dates and todos. It contains several todos and tags as block-agendas.
The last block should tell me if there are new items to be refiled in a
certain file which I use as an Inbox (synced from MobileOrg). I cannot
find the proper command for this.

("D" "Daily Review"
 ((agenda "" ((org-agenda-ndays 1)))
  (todo "WAITING")
  (todo "DELEGATED")
  (tags "PROJECT")
  (stuck "")
  (tags "BIGROCK")
  (tags "MIT")
  (tags "OFFICE/NEXT")
  (tags "HOME/NEXT")
  (tags "PHONE/NEXT")
  (tags "READING/NEXT")
  (tags "WRITING/NEXT")
  (tags "" ((org-agenda-files '("~/Dropbox/myconf/from-mobile.org"))

It is the last line that puzzles me. If I have it like above, every call
of this agenda is interrupted by the question which tag I want to query
for. Hitting RET does what I want, namely displaying all headlines of
the file. How is that possible without Emacs asking me? The file can
contain different todo-keywords and tags or none at all. I want to
display everything.

Thanks for a hint

Sven



[O] [feature request] Org as an Excerpt Database (or Multivalue Properties)

2011-12-10 Thread Sven Bretfeld
Hi all

Is it possible to give a property more than one value? 

I have an org file with a collection of citations and I want to give
them a number of keywords. For example:

* Ethics of a Hacker's Life
  :PROPERTIES:
  :author: Richard Stallmann
  :source: http://www.brainyquote.com/quotes/authors/r/richard_stallman.html
  :keywords:  money, code-writing, career, ethics
  :END:
  I could have made money this way, and perhaps amused myself writing
  code. But I knew that at the end of my career, I would look back on
  years of building walls to divide people, and feel I had spent my life
  making the world a worse place.

A property search for "code-writing" should match this citation and all
others with this property. An additional search for "career" should
narrow the matches down. But orgmode understands "money, ... ethics" as
ONE value, not FOUR. That's the problem.

Of course, this could be done with Tags, but with more than four or five
tags the line would become unreadable. It would also be possible to have
several properties "keyword_1: money", "keyword_2: code-writing" etc.
But then property searches would be useless (because sometimes you have
"money" as keyword_1, sometimes as keyword_2 or keyword_15).

*Why I consider this a worthwhile feature request:*

It is meant for authors or researchers. When I read something, I use to
make and collect excerpts of passages I find useful or interesting. When
writing an article or book, this excerpt-collection can be queried like
a database for certain keywords in order to find what you have read on
the topic. I think that many of us could use such a possibility. 

This should be a fairly easy thing to do with orgmode. Is there already
a module capable of doing what I want?

Thanks

Sven



Re: [O] back to a multiple-file configuration

2011-12-10 Thread Andrea Crotti
On 12/10/2011 06:31 PM, Andrea Crotti wrote:
> For quite a long time I had my emacs configuration in a big org-mode
> file (https://github.com/AndreaCrotti/Emacs-configuration).
>
> The file has is more than 3500 lines now, and I think the experiment has
> failed in a sense.  The problem is that this even if this style is great
> to produce nice documents and add a lot of useful text, is quite bad to
> actually write modular code.
>
> I rely quite heavily on the order in which things are declared for
> example, instead of having different libraries to load.
>
> So I guess I will switch to a multiple files structure again, which is
> more "programmer friendly in a sense".
> Anyone else had similar experiences?

It's quite a hard task to migrate more than 3500 lines :S
This little function is helping a lot, I replace all the :tangle yes
setting the right destination name for the given block,
so at least I do the first big transiction with org-babel..

(defun ca-replace-with-file (fname)
 (interactive "sWith String:?\n")
 (let ((fname (format "modules/ca-%s.el" fname)))
   (query-replace ":tangle yes" (concat ":tangle " fname))
 ))



[O] orgtbl-to-latex: with hlines and |

2011-12-10 Thread Uwe Brauer
Hello

How can I modify the send command in orgtbl such that the
resulting LaTeX table contains 
\hlines and {|r|r|}?

\begin{comment}
#+ORGTBL: SEND test orgtbl-to-latex :splice nil :skip 0
|  4 | 5 |
|  3 | 8 |
\end{comment}
of course \hlines I can  generate by adding them to the org
table, but is there a simpler solution?

Thanks

Uwe Brauer 




Re: [O] Worg migration complete

2011-12-10 Thread Nick Dokos
Achim Gratz  wrote:

> Bastien  writes:
> > We also migrated all public keys from repo.or.cz to orgmode.org:
> > so people who had push access to Worg can push without bothering
> > about sending their public key again.  Just do:
> >
> >   ~$ git clone w...@orgmode.org:worg.git
> 
> That does not seem to work for me, how to proceeed?
> 
> Cloning into 'worg.test'...
> Permission denied (publickey).
> fatal: The remote end hung up unexpectedly
> 
> I've tried both "worg" as user name and my username from repo.or.cz, but
> get the same error.  Cloning the repo via the public interface (not ssh)
> works well, thank you.
> 

... but then you'll encounter problems when you try to push, right?

Nick



[O] back to a multiple-file configuration

2011-12-10 Thread Andrea Crotti
For quite a long time I had my emacs configuration in a big org-mode
file (https://github.com/AndreaCrotti/Emacs-configuration).

The file has is more than 3500 lines now, and I think the experiment has
failed in a sense.  The problem is that this even if this style is great
to produce nice documents and add a lot of useful text, is quite bad to
actually write modular code.

I rely quite heavily on the order in which things are declared for
example, instead of having different libraries to load.

So I guess I will switch to a multiple files structure again, which is
more "programmer friendly in a sense".
Anyone else had similar experiences?



[O] benefit to having org files in one folder

2011-12-10 Thread prad
i read somewhere that we should keep orgfiles in an org folder.
i've used org casually that way and otherwise.

what advantages are there to having them in a single folder?

-- 
in friendship,
prad




Re: [O] Worg migration complete

2011-12-10 Thread Bastien
Achim Gratz  writes:

> That does not seem to work for me, how to proceeed?

Please resend your public key to Jason or to me, we will
add it if it has not been copied (some keys maybe be missing.)

Thanks!

-- 
 Bastien



[O] The Org->ODT exporter is now in Org's core (latest git)

2011-12-10 Thread Bastien
Dear all,

as the subject says.  Please all test this heavily and report 
any problems.  This will be part of Org 7.8 and soon in Emacs.

Thanks a lot to Jambunathan for all this efforts, let's make
sure everything is smooth before the release!

Best,

-- 
 Bastien



[O] Is it possible for checkbox items to have :LOGBOOK: drawers?

2011-12-10 Thread Steinar Bang
Platform: Ubuntu 10.10
  GNU Emacs 23.1.1
  git version of org-mode

When I create a TODO task, I first create the task, then I create
checkboxes for the things I would like to do, ie.

* My tasks
** TODO here's a new task [/]
 - [ ] First I need to do this
 - [ ] Then I need to do that
 - [ ] Finally I need to finish this

The reason for using checkboxes, is that I find them more visually
pleasing than nested TODOs.  But when logging progress, I can't use the
logbook functionality (like I could have done with nested TODOs).  I
have ended up doing this:

* My tasks
** TODO here's a new task [/]
 - [ ] First I need to do this
  - Logbook:
- My first note
- My second note
 - [ ] Then I need to do that
 - [ ] Finally I need to finish this

That works, after a fashion.  But I get no timestamp on the notes,
unless I remember to do a `C-.'

I've tried putting :LOGBOOK: drawers in the checkboxes, and that seemed
to work at first, but then I discovered that all notes ended up in the
topmost checkbox, which just happened to reside under the first
checkbox.

Is there some variable that I can set to make :LOGBOOK: drawers work
under checkboxes?  Is there some other similar solution?  (I'm on git
org-mode at home, and use native emacs 23 org-mode and 7.7 on the
windows boxes at work)

Thanks!


- Steinar





Re: [O] Worg migration complete

2011-12-10 Thread Achim Gratz
Bastien  writes:
> We also migrated all public keys from repo.or.cz to orgmode.org:
> so people who had push access to Worg can push without bothering
> about sending their public key again.  Just do:
>
>   ~$ git clone w...@orgmode.org:worg.git

That does not seem to work for me, how to proceeed?

Cloning into 'worg.test'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

I've tried both "worg" as user name and my username from repo.or.cz, but
get the same error.  Cloning the repo via the public interface (not ssh)
works well, thank you.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves




Re: [O] orgtbl send and auto-capitalize-mode, cursor jumps

2011-12-10 Thread Uwe Brauer
>> On Sat, 10 Dec 2011 16:00:19 +0100, Carsten Dominik 
>>  wrote:

   > Hi Uwe,
   > I am not able to reproduce this.

   > - Carsten

It seems a special configuration of auto-capitalize-mode
with respect to texmathp.

(autoload 'auto-capitalize-mode "auto-capitalize"
  "Toggle auto-capitalize minor mode in this buffer." t)
(autoload 'turn-on-auto-capitalize-mode "auto-capitalize"
  "Turn on auto-capitalize minor mode in this buffer." t)

(add-hook 'LaTeX-mode-hook 'turn-on-auto-capitalize-mode)
(add-hook 'TeX-mode-hook 'turn-on-auto-capitalize-mode) 
;; for auto-cap with LaTeX
(add-hook 'LaTeX-mode-hook
  (lambda ()
(set (make-local-variable 'auto-capitalize-predicate)
 (lambda () (not (texmathp))





[O] [PATCH] fix org-indent-mode for org-indent-indentation-per-level != 2

2011-12-10 Thread Ingo Lohmar
Dear All,

After two years with explicit whitespace indentation, I am now a happy
user of org-indent-mode.  But I like org-indent-indentation-per-level
set to 1 (instead of 2), which rendered the indented parts not aligned
with their heading.

In the old thread http://thread.gmane.org/gmane.emacs.orgmode/26169 a
fix for org-indent-add-properties was described, but the thread died
with the implication that this is not a bug, but a matter of style.  I
disagree: the sole purpose of using org-indent-mode is to have the body
text align (no ambiguity here IMO) with its heading.

Below is an updated patch that works with the 7.7 release (sorry for not
using the development version right now).  I have been using this for
weeks without any issues.  As discussed in the above thread, the
calculated indentation is negative before the first heading, but the
function is never actually used there.

Best,
Ingo



--- org-indent.el   2011-12-10 13:18:16.920914213 +0200
+++ org-indent.el   2011-12-10 13:27:42.660937366 +0200
@@ -255,15 +255,15 @@
   (aref org-indent-stars nstars)
   'wrap-prefix
   (aref org-indent-strings
-(* (funcall get-real-level e level)
-   org-indent-indentation-per-level)
+   (+ 2 (* (1- (funcall get-real-level e level))
+  org-indent-indentation-per-level))
  (when (> e b)
(add-text-properties
 b  e (list 'line-prefix (aref org-indent-strings n)
'wrap-prefix (aref org-indent-strings n
  (setq b (1+ (point-at-eol))
-   n (* (funcall get-real-level b level)
-org-indent-indentation-per-level)))
+   n (+ 2 (* (1- (funcall get-real-level b level))
+  org-indent-indentation-per-level
 
 (defvar org-inlinetask-min-level)
 (defun org-indent-refresh-section ()



Re: [O] orgtbl send and auto-capitalize-mode, cursor jumps

2011-12-10 Thread Uwe Brauer
>> On Sat, 10 Dec 2011 16:00:19 +0100, Carsten Dominik
>>  wrote: 

   > Hi Uwe,
   > I am not able to reproduce this.

   > - Carsten

Hi Carsten,

Hm, I don't hope this is a xemacs thing. I will continue
tracking down the problem. Just in case can you send me your
version of auto-capitalise.

thanks

Uwe 




Re: [O] Worg migration complete

2011-12-10 Thread Bastien
Dear all,

thanks a lot to Jason for taking care of Worg's migration.

We also migrated all public keys from repo.or.cz to orgmode.org:
so people who had push access to Worg can push without bothering
about sending their public key again.  Just do:

  ~$ git clone w...@orgmode.org:worg.git

Thanks to Tycho Garen for this!  And to all repo.or.cz admins
for their continuous support.

-- 
 Bastien



Re: [O] orgtbl send and auto-capitalize-mode, cursor jumps

2011-12-10 Thread Carsten Dominik
Hi Uwe,

I am not able to reproduce this.

- Carsten

On 10.12.2011, at 15:51, Uwe Brauer wrote:

> Hello
> 
> In a latex file orgtbl-insert-radio-table works as
> expected. However when I use Kevin Rodgers
> auto-capitalize-mode, which I do regularly in a Latex file a
> strange thing happen, when I insert a new line via the TAB
> command and want to fill in the first colum, then the cursor
> jumps to just before the \begin{document}
> like 
> \documentclass{article}
> 
> 9\begin{document}
> % BEGIN RECEIVE ORGTBL test
> \begin{tabular}{rr}
> 4 & 5 \\
> 7 & 8 \\
> \end{tabular}
> % END RECEIVE ORGTBL test
> \begin{comment}
> #+ORGTBL: SEND test orgtbl-to-latex :splice nil :skip 0
> | 4 | 5 |
> | 7 | 8 |
> |  |   |
> \end{comment}
> 
> 
> \end{document}
> when I turn off auto-capitalize-mode then everything works
> as expected. Is there any workaround?
> 
> 
> thanks
> 
> Uwe Brauer 
> 
> 




[O] orgtbl send and auto-capitalize-mode, cursor jumps

2011-12-10 Thread Uwe Brauer
Hello

In a latex file orgtbl-insert-radio-table works as
expected. However when I use Kevin Rodgers
auto-capitalize-mode, which I do regularly in a Latex file a
strange thing happen, when I insert a new line via the TAB
command and want to fill in the first colum, then the cursor
jumps to just before the \begin{document}
like 
\documentclass{article}

9\begin{document}
% BEGIN RECEIVE ORGTBL test
\begin{tabular}{rr}
4 & 5 \\
7 & 8 \\
\end{tabular}
% END RECEIVE ORGTBL test
\begin{comment}
#+ORGTBL: SEND test orgtbl-to-latex :splice nil :skip 0
| 4 | 5 |
| 7 | 8 |
|  |   |
\end{comment}


\end{document}
when I turn off auto-capitalize-mode then everything works
as expected. Is there any workaround?


thanks

Uwe Brauer 




Re: [O] fill-paragraph?

2011-12-10 Thread Samuel Wales
Hi Andrea,

See fill-paragraph-function.

See also filladapt.el and my improvement to filladapt for Org posted
to this list.

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com
===
Bigotry against people with serious diseases is still bigotry.