Re: [O] The reportmode report does not count the running clock

2011-12-13 Thread Bernt Hansen
pin...@iro.umontreal.ca (François Pinard) writes:

 Hi, Org people.

 I'm noticing that the R (org-agenda-clockreport-mode) command with the
 *Org Agenda* buffer ignores the running clock.

 To get a result closer to the truth while I work, I have to clock-out
 and clock-in, then retry R.  (Then edit out the spurious clock out and
 the following clock-in, to get rid of the short clocking gap.)

 Could the running clock merely be added / counted in the report?

See the variable

;; Include current clocking task in clock reports
(setq org-clock-report-include-clocking-task t)

Regards
Bernt



Re: [O] The reportmode report does not count the running clock

2011-12-13 Thread François Pinard
Bernt Hansen be...@norang.ca writes:
 pin...@iro.umontreal.ca (François Pinard) writes:

 I'm noticing that the R (org-agenda-clockreport-mode) command with the
 *Org Agenda* buffer ignores the running clock.

 ;; Include current clocking task in clock reports
 (setq org-clock-report-include-clocking-task t)

Isn't that nice! :-)  Thanks again, Bernt.

The variable is not referred to in the Org mode manual (version 7.7
here).  It might be a good idea to include it.

François



Re: [O] The reportmode report does not count the running clock

2011-12-13 Thread Bernt Hansen
pin...@iro.umontreal.ca (François Pinard) writes:

 Bernt Hansen be...@norang.ca writes:
 pin...@iro.umontreal.ca (François Pinard) writes:

 I'm noticing that the R (org-agenda-clockreport-mode) command with the
 *Org Agenda* buffer ignores the running clock.

 ;; Include current clocking task in clock reports
 (setq org-clock-report-include-clocking-task t)

 Isn't that nice! :-)  Thanks again, Bernt.

 The variable is not referred to in the Org mode manual (version 7.7
 here).  It might be a good idea to include it.

 François
It isn't?  Oops.  I'll prepare a patch for this.

Thanks,
Bernt



Re: [O] Time tracking with MobileOrg

2011-12-13 Thread Bill Day
Hey, don't forget us iPhone users!  We'd love to see time tracking, too!  :)

(While we are talking feature requests, it would also be nice to have
clickable http:// links).

On Mon, Dec 12, 2011 at 7:38 PM, Matthew Jones bsdmatb...@gmail.com wrote:

 Hey Tobias, I think this would be a great feature for the Android version.
  It would be helpful if you could add this as a feature request in the
 issue tracker:

 https://github.com/matburt/mobileorg-android/issues

 As well as any ideas you have on how it should work... that will help us
 prioritize it as a feature.

 On Thu, Dec 8, 2011 at 2:40 PM, Tobias Kniep opa.kistb...@web.de wrote:

 A year ago, there has been a discussion on this list about tracking time
 with MobileOrg (http://article.gmane.org/gmane.emacs.orgmode/31486) but
 I couldn't find any more recent information. I'm using the Android
 version of MobileOrg and would really like to do time tracking for my
 orgmode tasks from my mobile. Is there any working solution out there?

 Best regards,
 Tobias









-- 
Bill Day
williamson@gmail.com


Re: [O] The reportmode report does not count the running clock

2011-12-13 Thread Carsten Dominik

On 13.12.2011, at 16:30, Bernt Hansen wrote:

 pin...@iro.umontreal.ca (François Pinard) writes:
 
 Bernt Hansen be...@norang.ca writes:
 pin...@iro.umontreal.ca (François Pinard) writes:
 
 I'm noticing that the R (org-agenda-clockreport-mode) command with the
 *Org Agenda* buffer ignores the running clock.
 
 ;; Include current clocking task in clock reports
 (setq org-clock-report-include-clocking-task t)
 
 Isn't that nice! :-)  Thanks again, Bernt.
 
 The variable is not referred to in the Org mode manual (version 7.7
 here).  It might be a good idea to include it.
 
 François
 It isn't?  Oops.  I'll prepare a patch for this.

Note that there is a million variables which are not referred to
in the manual - simply too many to mention them all.  It might be
useful to mentions this one, otherwise I would urge restraint.

A good way to find unknown variables is described here:

http://orgmode.org/worg/org-tutorials/org-customize.html

- Carsten


Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Achim Gratz
Bastien b...@altern.org writes:
 http://orgmode.org

I think ever since the server moved the favicon has been missing.  Could
it be added back, please?


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

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




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

2011-12-13 Thread Eric S Fraga
Bastien b...@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,

I know I'm coming in late to this but thanks to Jambunathan for
this very useful exporter.  Seems to work very well.

I do have two questions.  My use case is very simple: I sometimes need
to give documents that others insist be in MS Word format.  Exporting to
ODT is an excellent route to achieve this aim.  Other than that, I don't
plan to use this much as I prefer exporting to latex + pdf...  In any
case, my questions are simple:

1. How do I tell the exporter to include the AUTHOR and DATE fields in
   the exported output?

2. I see where the default styles are and I am happy with these
   generally.  However, as a libreoffice n00b, how do I create my own
   style file that would be appropriate for the ODT exporter?  It's not
   so much about the creating of style files (although help in that
   regard would not be sniffed at ;-) but about whether there is a list
   of paragraph styles that can be customised somewhere?

Thanks,
eric
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.7 (release_7.7.381.g05ea.dirty)



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Samuel Wales
Looks beautiful.

Unfortunately, it does not work with large fonts.

Try setting Firefox to the maximum value for the minimum font size to
see what I mean.  You might or might not need to make the window size
smaller also.

Look at the bottom line on the screen, then scroll down once.  Now
look at the top line on the screen.

You should notice that several lines are missing.  The top bar obscures them.

In other words, page down does not work correctly, because the top bar
was designed for normal fonts only.

Thanks.

Samuel

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



Re: [O] Open Drawer using keys or even better automatically

2011-12-13 Thread Samuel Wales
I don't know what the OP was looking for, but:

Confirmed that the visibility property does not keep open any
properties drawer in latest git in 22.

I wonder if that property is only intended for subtrees.  If so, IMO a
value to keep drawers open would be useful.

Samuel

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



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Eric S Fraga
Samuel Wales samolog...@gmail.com writes:

 Looks beautiful.

+1

Thanks!

The only thing I don't particularly care for is the twitter box.  If I
have the browser visible visiting this page, as I do right now, and
especially on a separate monitor, I keep getting distracted by motion in
my peripheral vision!  It's almost worse because of the faint display of
the box when not hovering over it.  Minor point, mind you;  I just don't
like animations on web sites...  others will of course disagree!


 Unfortunately, it does not work with large fonts.

 Try setting Firefox to the maximum value for the minimum font size to
 see what I mean.  You might or might not need to make the window size
 smaller also.

 Look at the bottom line on the screen, then scroll down once.  Now
 look at the top line on the screen.

 You should notice that several lines are missing.  The top bar obscures them.

 In other words, page down does not work correctly, because the top bar
 was designed for normal fonts only.

 Thanks.

 Samuel

Samuel, I'm not sure what you mean here.  I'm using iceweasel 8.0 so am
not sure what version of Firefox this is but if I increase the font size
(via C-=) to the maximum size available, things still work mostly
fine.  The text in the title bar (Org: Your life...) does scroll over
the quote bar but there are no problems scrolling back and forth
otherwise in the main text section.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.7 (release_7.7.381.g05ea.dirty)



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Samuel Wales
Hi Eric,

On 2011-12-13, Eric S Fraga e.fr...@ucl.ac.uk wrote:
 the box when not hovering over it.  Minor point, mind you;  I just don't
 like animations on web sites...  others will of course disagree!

Agreed, though I have animations turned off.  Some find animations to
be an accessibility issue.

 Samuel, I'm not sure what you mean here.  I'm using iceweasel 8.0 so am
 not sure what version of Firefox this is but if I increase the font size
 (via C-=) to the maximum size available, things still work mostly

Go to preferences/content/advanced and set the maximum minimum font
size.  You might or might not need a smaller window or to set lower
resolution.  Probably don't need that unless the whole page appears,
of course.  Keep trying.  You will reproduce.

Samuel

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



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

2011-12-13 Thread Christian Moe



2. I see where the default styles are and I am happy with these
generally.  However, as a libreoffice n00b, how do I create my own
style file that would be appropriate for the ODT exporter?  It's not
so much about the creating of style files (although help in that
regard would not be sniffed at ;-) but about whether there is a list
of paragraph styles that can be customised somewhere?


The easiest way is now described in the manual: write your document in 
Org, including all the sorts of stuff you might want to have styles 
for, then export it to ODT, open it in LibreOffice, and tweak the 
styles you find there. Because you exported it from Org, you can be 
sure that the styles have the names the exporter uses. You can 
customize any style, no limits.


LibreOffice's Styles and Formatting window is your friend (accessible 
from the Format menu or from an icon usually at the far left of the 
toolbar). It has tabbed lists of Paragraph, Character, Page, Frame and 
List styles. Right-click on a style to modify it.


When your LibreOffice document looks like you want it to, simply save 
it somewhere smart. The next time you export from Org, point 
org-export-odt-styles-file to that file as your style template.


hth,
Christian




Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Bastien
Achim Gratz strom...@nexgo.de writes:

 Bastien b...@altern.org writes:
 http://orgmode.org

 I think ever since the server moved the favicon has been missing.  Could
 it be added back, please?

Done - please confirm.

Thanks,

-- 
 Bastien



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Bastien
Hi Samuel,

yes, there are definitely some readability and accessibility issues 
that need to be fixed.  

The css is here: http://orgmode.org/org.css

If anyone wants to send improvement, please do!  We can also use a
different .css, the html file are quite simple.

I hope you understand I'd rather not dedicate too much time on this
(I did already), as I have so many remaining Org bugs to fix... but
help is welcome !

Thanks for all your feedback,

-- 
 Bastien



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Bastien
Hi Eric,

Eric S Fraga e.fr...@ucl.ac.uk writes:

 The only thing I don't particularly care for is the twitter box.  If I
 have the browser visible visiting this page, as I do right now, and
 especially on a separate monitor, I keep getting distracted by motion in
 my peripheral vision!  It's almost worse because of the faint display of
 the box when not hovering over it.  Minor point, mind you;  I just don't
 like animations on web sites...  others will of course disagree!

If people want to get rid of this box in the index* pages, no objection.

But.. wait.. why do you keep the index.html page open then?  I don't
make oops-here-is-another-stupid-bugfix-releases *that* often :)

 Samuel, I'm not sure what you mean here.  I'm using iceweasel 8.0 so am
 not sure what version of Firefox this is but if I increase the font size
 (via C-=) to the maximum size available, things still work mostly
 fine.  

I guess it depends on the screen resolution.  I have a fairly small
screen (on a fairly old computer) and I see what Samuel means...

Best,

-- 
 Bastien



Re: [O] org-time-stamp and org-time-stamp-inactive no longer work

2011-12-13 Thread York Zhao

 Matt reported a similar problem in

 http://thread.gmane.org/gmane.emacs.orgmode/41336/focus=41341

 But it seems the problem just ... fixed itself:

 ,
 | However, oddly, after experiencing the same issue about 6 times in a
 | row, the problem mysteriously disappeared just now, and the procedure
 | is working fine.  I have no idea what the issue is there -- I'll
 | report when I find it again.  Maybe someone on the list can give me
 | suggestions for debugging if it shows up again?
 `

Thanks for the help David and Nick, I would say that my problem looks extremely
similar (if not exactly the same) like Matt had reported.

  1. Try to reproduce the bug with a minimal setup, just Emacs +
     uncompiled Org mode;

I will try this at some point.

  2. If this is possible, see if it occurrs if the calendar buffer is
    already open (e.g. M-x calendar RET) -- maybe this is some kind of
    a weird race condition (?).

I'm sure there was no calendar buffer pre-existing. The wield thing is that
whenever this problem happens, the contents of my other buffer would be replaced
with the calendar while the name of the buffer kept unchanged.

Thanks,

York



[O] Spanish translation of Bernt's document

2011-12-13 Thread Bastien
Dear all,

just to advertise these two facts:

1. Bernt kindly put his document under GNU FDL v1.3 (or later).

2. Alvar (cc'ed) started a spanish translation of Bernt's doc,
   please check the git repo here:

   https://github.com/alvarmaciel/org-mode-doc-es

If there are any native spanish writer/speaker, please give a hand 
to Alvar!  Having more translations of this wonderful document will
certainly help more people enjoy Org.

Best,

-- 
 Bastien



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Samuel Wales
Hi Bastien,

Thanks for reproducing.  And thanks for the release.

Then maybe the bar is specified in pixels instead of ems?  Just a guess.

Samuel

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



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Nick Dokos
Bastien b...@altern.org wrote:

 Achim Gratz strom...@nexgo.de writes:
 
  Bastien b...@altern.org writes:
  http://orgmode.org
 
  I think ever since the server moved the favicon has been missing.  Could
  it be added back, please?
 
 Done - please confirm.
 

Never noticed its absence, but I can see it now :)



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Achim Gratz
Bastien b...@altern.org writes:
 Done - please confirm.

Requesting /favicon.ico succeeds, but gets me a file that is exactly 0
bytes.  Asking for /org-mode-unicorn.ico gets a file that contains the
following text:

HTTP/1.1 200 OK
Date: Sun, 02 Jan 2011 14:48:25 GMT
Server: Apache
Last-Modified: Thu, 18 Jun 2009 21:43:15 GMT
ETag: 90e230f-47e-46ca64b90e2c0
Accept-Ranges: bytes
Content-Length: 1150
Content-Type: image/x-icon

The wayback archive has a correct version of that file:
http://web.archive.org/web/20100925104250/http://orgmode.org/org-mode-unicorn.ico

(and it should probably be linked to /favicon.ico for the benefit of
older browsers).

Firefox seems to prefer the alternate PNG version of the icon and so it does
display.


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

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Viktor Rosenfeld
Hi,

I honestly liked the old one better. Some of my concrete criticism are:

- The old screenshot conveyed what org-mode was all about. Outlining
  and project planning. The new screenshots take a lot longer to load
  and even if you click on them, their content is not always accessible.

- I don't like this particular type writer font. On a Mac it's very thin
  compared to the serifless font that makes up the normal text. But
  that's just aesthetics.

- I don't like the fixed top bar with the Org-Mode motto and the random
  quote.  It takes up about 20% of vertical screen space of my laptop. A
  complete waste in my view. The black background also does not cover
  the text behind it -- one or two pixel of the text are visible above
  the bar.

- The old homepage had all the easily accessible information on one
  page. So you could go to the homepage, search for manual or mailing
  list and go on from there. (I sometimes work like that.) The new
  homepage only contains screenshots (that don't convey a lot of
  meaningful information) and the org-mode mission statement. Useful
  information is available but the links are somewhat hidden in the
  description of what org is about and some are hard to find. (E.g. the
  manual is linked with the text documented extensively.) I believe
  that people quickly scan web pages for relevant information and the
  current format makes that hard.

Cheers,
Viktor

Bastien wrote:

 Dear all,
 
 I made a small refresh of the website.
 
 http://orgmode.org
 
 - random quote (taken from worg/org-quotes.org)
 - random screenshot
 - twitter feed
 - g+/flattr/fb buttons
 - french translation (http://orgmode.org/fr/)
 
 If you want to help with the translation in your language, 
 please send your public key and I will give you push access.
 This is just a bunch of .org files, only 1 hour needed to
 translate the whole website.
 
 Hope you like it!
 
 -- 
  Bastien
 



[O] How to set a property defaults in a capture template.

2011-12-13 Thread dlc
I am trying to set up a capture template to record personal contact  
information for sales lead management. I want to have some properties  
preset to defaults in the capture template


I have created an org file with each person as a top level entry.   
Below is a shortened example.


* Last Name, First Name
:SCHEDULED:  2012-01-01 .+2w
:PROPERTIES:
:Spouse:  Spouse Name
:Status:  New
:Group:  Prospect
:STYLE:  habit
:END:
** Organization
*** Name
:PROPERTIES:
:Organization-Name:  True Homes, Inc.
:END
 Title
:PROPERTIES:
:Title: Owner
:end:
** Phone Numbers
*** cell
:PROPERTIES:
:Number: 222-222-
:end:
*** home
*** fax
** Email Addresses
*** Primary
:PROPERTIES:
:Email:  j...@gmail.com
:end:
** Addresses
*** home
*** work
*** condo
:PROPERTIES:
:Street1:  2833 Beach Blvd.
:City:  Orange Beach
:State:  AL
:Zip-Code:  36561
:end:
** Activities
 2011-12-13 Tue Called in with a referral to sell his property.

I want to use org-capture to create this entry with it's subtree and  
all the properties.  The capture template expansion mechanism supports  
using %^{Property}p .  I want some properties to be created with a  
default without prompting the user. (e.g. :STYLE: habits).
I would also like to support completion on some of the properties  
while creating a new contact. {e.g.  the file people.org already  
exist  and is the target for capture to file to and (#+PROPERTY:
Status_ALL New Incubating Active Purchased Dead) is at the top of the  
file.}


I have attempted to use the expansion %(SEXP) along with the property  
api as in the following but it does not work because Emacs-Lisp  
doesn't support nested strings (right?) I am just learning emacs-lisp,  
so I'm am sure my lack of knowledge is at work here.


(setq org-capture-templates
'(
  (t Test adding property entry (file ~/people.org)
* Test Entry %(org-entry-put (point) STYLE habit)
   )
   ( another template
   )
  ))


David Coate
Coate Connection
www.coateconnection.com
Re/Max Paradise
www.AlabamaParadise.com
Licensed in AL and FL
23525 Perdido Beach Blvd.
Orange Beach, Al 36561
251-213-8811 cell
251-948- fax
1-800-339-2836 direct toll free



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Nick Dokos
Viktor Rosenfeld listuse...@googlemail.com wrote:


 - The old homepage had all the easily accessible information on one
   page. So you could go to the homepage, search for manual or mailing
   list and go on from there. (I sometimes work like that.) The new
   homepage only contains screenshots (that don't convey a lot of
   meaningful information) and the org-mode mission statement. Useful
   information is available but the links are somewhat hidden in the
   description of what org is about and some are hard to find. (E.g. the
   manual is linked with the text documented extensively.)


At least on Firefox, there *is* a panel of links
(Home/Download/Documentation/Community/News/More) and the manual is
available under the Documentation link.

Nick




[O] [babel-bug] Text properties silently stripped from code block evaluation results

2011-12-13 Thread Štěpán Němec
`org-babel-insert-result' unconditionally strips any text properties
from the evaluation result.

One problem is that this isn't documented. Another problem is that this
behaviour might not be desirable (I can't imagine why one _would_ want
to have the properties stripped, on the contrary -- I need them
preserved in at least one of my use cases).

Please document the behaviour and either abstain from the strip-tease
altogether or provide a way to switch it off.

-- 
Štěpán



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Bastien
Hi Viktor,

Viktor Rosenfeld listuse...@googlemail.com writes:

 - The old screenshot conveyed what org-mode was all about. Outlining
   and project planning. The new screenshots take a lot longer to load
   and even if you click on them, their content is not always
   accessible.

I agree.  Feel free to contribute to Worg with relevant screenshots 
that we can select as featured on the index page.  Also add title
and caption for these screenshots.

 - I don't like this particular type writer font. On a Mac it's very thin
   compared to the serifless font that makes up the normal text. But
   that's just aesthetics.

 - I don't like the fixed top bar with the Org-Mode motto and the random
   quote.  It takes up about 20% of vertical screen space of my laptop. A
   complete waste in my view. The black background also does not cover
   the text behind it -- one or two pixel of the text are visible above
   the bar.

Can you make an alternate .css with non-fixed top bar and a better font?

 - The old homepage had all the easily accessible information on one
   page. So you could go to the homepage, search for manual or mailing
   list and go on from there. (I sometimes work like that.) The new
   homepage only contains screenshots (that don't convey a lot of
   meaningful information) and the org-mode mission statement. Useful
   information is available but the links are somewhat hidden in the
   description of what org is about and some are hard to find. (E.g. the
   manual is linked with the text documented extensively.) I believe
   that people quickly scan web pages for relevant information and the
   current format makes that hard.

I somehow agree that it was good to have everything in one page, but I
don't think that page was *that* readable.  In any case, you can always
pull the website (it's just a git repository) and you have everything
in one directory.

If you have any patch that would make the website better to your eyes,
please send it!

Thanks,

-- 
 Bastien



[O] Simple source block breaks LaTeX export

2011-12-13 Thread Daniel E . Doherty

If I try to export the following org file to LaTeX, I get a stringp
violation.

==
* Hello
#+begin_src ruby
  $f = []
  $f[0] = $f[1] = 1
#+end_src
==

Here is the traceback:
==
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match(ORG-LIST-END-MARKER\\' nil)
  org-export-latex-preprocess((:emph-multiline t :for-backend latex :comments 
nil :tags not-in-toc :priority nil :footnotes t :drawers nil :timestamps t 
:todo-keywords t :tasks t :add-text nil :skip-before-1st-heading nil 
:select-tags (export) :exclude-tags (noexport) :LaTeX-fragments nil))
  org-export-preprocess-string(#(* Hello\n#+begin_src ruby\n  $f = []\n  $f[0] 
= $f[1] = 1\n#+end_src\n\n 0 2 (fontified nil org-category junk) 2 7 
(fontified nil org-category junk) 7 8 (fontified nil org-category junk) 8 
24 (font-lock-fontified t org-category Notes fontified nil) 24 25 
(font-lock-fontified t org-category Notes fontified nil) 25 27 
(font-lock-fontified t org-category Notes fontified nil) 27 28 
(font-lock-fontified t org-category Notes fontified nil) 28 29 
(font-lock-fontified t org-category Notes fontified nil) 29 30 
(font-lock-fontified t org-category Notes fontified nil) 30 37 
(font-lock-fontified t org-category Notes fontified nil) 37 38 
(font-lock-fontified t org-category Notes fontified nil) 38 39 
(font-lock-fontified t org-category Notes fontified nil) 39 40 
(font-lock-fontified t org-category Notes fontified nil) 40 45 
(font-lock-fontified t org-category Notes fontified nil) 45 46 
(font-lock-fontified t org-category Notes fontified nil) 46 47 
(font-lock-fontified t org-category Notes fontified nil) 47 48 
(font-lock-fontified t org-category Notes fontified nil) 48 54 
(font-lock-fontified t org-category Notes fontified nil) 54 55 
(font-lock-fontified t org-category Notes fontified nil) 55 64 
(font-lock-fontified t org-category Notes fontified nil) 64 65 (org-category 
Notes fontified nil rear-nonsticky t) 65 66 (fontified nil)) :emph-multiline 
t :for-backend latex :comments nil :tags not-in-toc :priority nil :footnotes t 
:drawers nil :timestamps t :todo-keywords t :tasks t :add-text nil 
:skip-before-1st-heading nil :select-tags (export) :exclude-tags (noexport) 
:LaTeX-fragments nil)
  org-export-as-latex(nil nil nil nil nil nil)
  org-export-as-pdf(nil)
  call-interactively(org-export-as-pdf)
  org-export(nil)
  call-interactively(org-export nil nil)
  recursive-edit()
  debug(error (error No window right from selected window))
  signal(error (No window right from selected window))
  error(No window %s from selected window right)
  windmove-do-window-select(right nil)
  windmove-right(nil)
  call-interactively(windmove-right nil nil)
=

Any ideas what may be causing it?  Looks like something going wrong with
org-export-footnotes-seen, but that's as much as I can tell.
-- 



Law Offices of Daniel E. Doherty
7300 W. 110th Street, Suite 930
Overland Park, KS 66210
913.338.7182 (Phone)
913.338.7164 (FAX)
ded-...@ddoherty.net



[O] ePub construction

2011-12-13 Thread Alan L Tyree
G'day,

Here are the modifications that I needed to make to the exported html 
file (using the standard exporter) in order to get a valid ePub 
document. http://threepress.org/document/epub-validate provides an 
on-line validation service.

My document is relatively simple, but does have footnotes, citations 
and formatting commands.

I will be happy to add a fuller description to worg if someone will 
point me to some instructions.


1. Make the html file have utf-8 encoding; there are probably several 
ways to do this, but I used the emacs23 menu MULE options on the org 
document.

2 Change the language statement by removing the lang= attribute:

From: html xmlns=http://www.w3.org/1999/xhtml; lang=en 
xml:lang=en

To: html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en

3 Change anchor descriptions associated with section headings by
   removing name= entries, for example,

From: a name=sec-1 id=sec-1/a

To: a id=sec-1/a

NOTE: this can now be done by customising org-export-html-headline-
anchor-format (Thanks Bastien!!)

4. Change anchor class=footref by replacing name= with id=. For
   example:

from: a class=footref name=fnr.2 href=#fn.2

to: a class=footref id=fnr.2 href=#fn.2

5. Change anchor class=footnum by replacing name= with id=. For
   example:

from: a class=footnum name=fn.1 href=#fnr.11/a

to: a class=footnum id=fn.1 href=#fnr.11/a

Cheers,
Alan


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





Re: [O] Simple source block breaks LaTeX export

2011-12-13 Thread Nick Dokos
Daniel E. Doherty ded-...@ddoherty.net wrote:

 
 If I try to export the following org file to LaTeX, I get a stringp
 violation.
 
 ==
 * Hello
 #+begin_src ruby
   $f = []
   $f[0] = $f[1] = 1
 #+end_src
 ==
 
 Here is the traceback:
 ==
 Debugger entered--Lisp error: (wrong-type-argument stringp nil)
   string-match(ORG-LIST-END-MARKER\\' nil)

What version? It works fine with Org-mode version 7.7 (release_7.7.624.gda56)
which is not quite the latest, but it's close. I also took the opportunity
to pull latest (Org-mode version 7.8.02 (release_7.8.02.2.g490d6a)) and it
works fine there too.

Nick




Re: [O] Simple source block breaks LaTeX export

2011-12-13 Thread Nick Dokos
Daniel E. Doherty ded-...@ddoherty.net wrote:

 Nick,
 
 Oops, yeah, its version 7.7, as distributed with emacs 24.0.92.  I've tried 
 exporting to HTML also.  It
 works.
 

This was fixed shortly thereafter. You have to either upgrade or cherry-pick
the fix. The relevant commit is

,
| $ git show c3631aae7e68565978433cad8c4a2b286e91dfac
| commit c3631aae7e68565978433cad8c4a2b286e91dfac
| Author: Nicolas Goaziou n.goaz...@gmail.com
| Date:   Sat Jul 30 12:38:06 2011 +0200
| 
| org-footnote: prevent LaTeX export from catching footnotes in protect 
environment
| 
| * lisp/org-footnote.el (org-footnote-in-valid-context-p): check
|   `org-protected' property before allowing to match a footnote.
| (org-footnote-at-reference-p): remove an obsolete test. It's now done
| in the previous function.
| 
| diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
| index 6fadd28..68b1412 100644
| --- a/lisp/org-footnote.el
| +++ b/lisp/org-footnote.el
| @@ -171,8 +171,10 @@ (defun org-footnote-in-valid-context-p ()
|(save-match-data
|  (not (or (org-in-commented-line)
|(org-in-indented-comment-line)
| -  (org-in-verbatim-emphasis)
| +  ;; Avoid protected environments (LaTeX export)
| +  (get-text-property (point) 'org-protected)
|;; Avoid literal example.
| +  (org-in-verbatim-emphasis)
|(save-excursion
|  (beginning-of-line)
|  (looking-at [ \t]*:[ \t]+))
| @@ -223,8 +225,7 @@ (defun org-footnote-at-reference-p ()
|;; optional argument of the command.  Thus, check
|;; the `org-protected' property of that command.
|(or (not (org-inside-latex-macro-p))
| -  (and (get-text-property (1- beg) 'org-protected)
| -   (not (get-text-property beg 'org-protected)
| +  (get-text-property (1- beg) 'org-protected)))
|   (list label beg end
| ;; Definition: ensure this is an inline footnote first.
| (and (or (not label) (match-string 1))
`

Nick

 At Tue, 13 Dec 2011 17:51:05 -0500,
 Nick Dokos wrote:
  
  Daniel E. Doherty ded-...@ddoherty.net wrote:
  
   
   If I try to export the following org file to LaTeX, I get a stringp
   violation.
   
   ==
   * Hello
   #+begin_src ruby
 $f = []
 $f[0] = $f[1] = 1
   #+end_src
   ==
   
   Here is the traceback:
   ==
   Debugger entered--Lisp error: (wrong-type-argument stringp nil)
 string-match(ORG-LIST-END-MARKER\\' nil)
  
  What version? It works fine with Org-mode version 7.7 
  (release_7.7.624.gda56)
  which is not quite the latest, but it's close. I also took the opportunity
  to pull latest (Org-mode version 7.8.02 (release_7.8.02.2.g490d6a)) and it
  works fine there too.
  
  Nick
  
 



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Eric Schulte
Viktor Rosenfeld listuse...@googlemail.com writes:

 Hi,

 I honestly liked the old one better. Some of my concrete criticism are:

 - The old screenshot conveyed what org-mode was all about. Outlining
   and project planning. The new screenshots take a lot longer to load
   and even if you click on them, their content is not always accessible.


+1 for preferring the old screenshot, for exactly those reasons
   mentioned above.  While it is fun for me to look at random
   screenshots from Worg, part of the purpose of this site is as a
   gateway to Org-mode, and I fear many of these random screenshots are
   meaningless (or even intimidating) unless you already have a good
   understanding of Org-mode.


 - I don't like the fixed top bar with the Org-Mode motto and the random
   quote.  It takes up about 20% of vertical screen space of my laptop. A
   complete waste in my view. The black background also does not cover
   the text behind it -- one or two pixel of the text are visible above
   the bar.


I also find that (in part because of the new larger screenshots) I can't
see any content upon first loading the page (see this screenshot [1]).


 - The old homepage had all the easily accessible information on one
   page. So you could go to the homepage, search for manual or mailing
   list and go on from there. (I sometimes work like that.) The new
   homepage only contains screenshots (that don't convey a lot of
   meaningful information) and the org-mode mission statement. Useful
   information is available but the links are somewhat hidden in the
   description of what org is about and some are hard to find. (E.g. the
   manual is linked with the text documented extensively.)

I agree that the manual should be linked with the term manual, as
(unfortunately IMO) it seems many Emacs and Org-mode users aren't
comfortable using the build in Emacs info system and prefer to use the
online manual exclusively.

Aside from those items mentioned above I do generally like the style of
the new site.

Best,

 I believe that people quickly scan web pages for relevant information
 and the current format makes that hard.

 Cheers,
 Viktor

 Bastien wrote:

 Dear all,
 
 I made a small refresh of the website.
 
 http://orgmode.org
 
 - random quote (taken from worg/org-quotes.org)
 - random screenshot
 - twitter feed
 - g+/flattr/fb buttons
 - french translation (http://orgmode.org/fr/)
 
 If you want to help with the translation in your language, 
 please send your public key and I will give you push access.
 This is just a bunch of .org files, only 1 hour needed to
 translate the whole website.
 
 Hope you like it!
 
 -- 
  Bastien
 



Footnotes: 
[1]  http://imgur.com/mL3zb

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



Re: [O] [babel-bug] Text properties silently stripped from code block evaluation results

2011-12-13 Thread Eric Schulte
Štěpán Němec step...@gmail.com writes:

 `org-babel-insert-result' unconditionally strips any text properties
 from the evaluation result.

 One problem is that this isn't documented. Another problem is that this
 behaviour might not be desirable (I can't imagine why one _would_ want
 to have the properties stripped, on the contrary -- I need them
 preserved in at least one of my use cases).

 Please document the behaviour and either abstain from the strip-tease
 altogether or provide a way to switch it off.

The results of code blocks can be plain text or vectors of plain text,
Emacs-lisp textual object with properties are not a result type
supported by Org-mode code blocks.  I think it would generally be more
surprising if /fancier/ elisp objects were returned rather than plain
text.  Also, this would raise issues about how to pass properties to
other (non elisp) programming languages.

If you want to remove the property stripping behavior locally add the
following elisp snippet to your .emacs which should have the desired
effect.

  (defun org-babel-clean-text-properties (it) it)

I just did this locally and all test cases still passed, so it should be
safe.

Best -- Eric

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



Re: [O] ePub construction

2011-12-13 Thread Nick Dokos
Alan L Tyree alanty...@gmail.com wrote:

 G'day,
 
 Here are the modifications that I needed to make to the exported html 
 file (using the standard exporter) in order to get a valid ePub 
 document. http://threepress.org/document/epub-validate provides an 
 on-line validation service.
 
 My document is relatively simple, but does have footnotes, citations 
 and formatting commands.
 
 I will be happy to add a fuller description to worg if someone will 
 point me to some instructions.
 
 
 1. Make the html file have utf-8 encoding; there are probably several 
 ways to do this, but I used the emacs23 menu MULE options on the org 
 document.
 
 2 Change the language statement by removing the lang= attribute:
 
 From: html xmlns=http://www.w3.org/1999/xhtml; lang=en 
 xml:lang=en
 
 To: html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en
 
 3 Change anchor descriptions associated with section headings by
removing name= entries, for example,
 
 From: a name=sec-1 id=sec-1/a
 
 To: a id=sec-1/a
 
 NOTE: this can now be done by customising org-export-html-headline-
 anchor-format (Thanks Bastien!!)
 
 4. Change anchor class=footref by replacing name= with id=. For
example:
 
 from: a class=footref name=fnr.2 href=#fn.2
 
 to: a class=footref id=fnr.2 href=#fn.2
 
 5. Change anchor class=footnum by replacing name= with id=. For
example:
 
 from: a class=footnum name=fn.1 href=#fnr.11/a
 
 to: a class=footnum id=fn.1 href=#fnr.11/a
 

Interesting - I downloaded the epub validator, ran Calibre on a silly
little org-produced HTML file and duplicated your lang problem.

AFAICT, all of the problems you mention above are legal HTML4, so either
the epub spec (which I have not looked at: do you have a pointer?) is
made to trip people up by enforcing restrictions that they dreamed up,
or the validator is not quite as smart as it should be.

Just for kicks, I ran it against the Calibre Quick Start Guide (the only
real ebook I had access to) and it gave me an error :-)

,
| Epubcheck Version 3.0b3
| 
| ERROR: Calibre Quick Start Guide - John 
Schember.epub/OEBPS/content.opf(5,57): attribute file-as not allowed here; 
expected attribute id, opf:file-as, opf:role or xml:lang
| 
| Check finished with warnings or errors!
`

so, presuming that the ebook is fine, I'm not sure how seriously to
take the validator.

Nick

PS In case it's not obvious, all I know about ebooks is what is
   contained in this email. Caveat emptor.



Re: [O] Simple source block breaks LaTeX export

2011-12-13 Thread Daniel E . Doherty
Thanks, Nick.  That was it alright.  Having the package manage in Emacs
24 makes this kind of fix really easy.

Regards,

At Tue, 13 Dec 2011 19:45:59 -0500,
Nick Dokos wrote:
 
 Daniel E. Doherty ded-...@ddoherty.net wrote:
 
  Nick,
  
  Oops, yeah, its version 7.7, as distributed with emacs 24.0.92.  I've tried 
  exporting to HTML also.  It
  works.
  
 
 This was fixed shortly thereafter. You have to either upgrade or cherry-pick
 the fix. The relevant commit is
 
 ,
 | $ git show c3631aae7e68565978433cad8c4a2b286e91dfac
 | commit c3631aae7e68565978433cad8c4a2b286e91dfac
 | Author: Nicolas Goaziou n.goaz...@gmail.com
 | Date:   Sat Jul 30 12:38:06 2011 +0200
 | 
 | org-footnote: prevent LaTeX export from catching footnotes in protect 
 environment
 | 
 | * lisp/org-footnote.el (org-footnote-in-valid-context-p): check
 |   `org-protected' property before allowing to match a footnote.
 | (org-footnote-at-reference-p): remove an obsolete test. It's now done
 | in the previous function.
 | 
 | diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
 | index 6fadd28..68b1412 100644
 | --- a/lisp/org-footnote.el
 | +++ b/lisp/org-footnote.el
 | @@ -171,8 +171,10 @@ (defun org-footnote-in-valid-context-p ()
 |(save-match-data
 |  (not (or (org-in-commented-line)
 |  (org-in-indented-comment-line)
 | -(org-in-verbatim-emphasis)
 | +;; Avoid protected environments (LaTeX export)
 | +(get-text-property (point) 'org-protected)
 |  ;; Avoid literal example.
 | +(org-in-verbatim-emphasis)
 |  (save-excursion
 |(beginning-of-line)
 |(looking-at [ \t]*:[ \t]+))
 | @@ -223,8 +225,7 @@ (defun org-footnote-at-reference-p ()
 |  ;; optional argument of the command.  Thus, check
 |  ;; the `org-protected' property of that command.
 |  (or (not (org-inside-latex-macro-p))
 | -(and (get-text-property (1- beg) 'org-protected)
 | - (not (get-text-property beg 'org-protected)
 | +(get-text-property (1- beg) 'org-protected)))
 | (list label beg end
 |   ;; Definition: ensure this is an inline footnote first.
 |   (and (or (not label) (match-string 1))
 `
 
 Nick
 
  At Tue, 13 Dec 2011 17:51:05 -0500,
  Nick Dokos wrote:
   
   Daniel E. Doherty ded-...@ddoherty.net wrote:
   

If I try to export the following org file to LaTeX, I get a stringp
violation.

==
* Hello
#+begin_src ruby
  $f = []
  $f[0] = $f[1] = 1
#+end_src
==

Here is the traceback:
==
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match(ORG-LIST-END-MARKER\\' nil)
   
   What version? It works fine with Org-mode version 7.7 
   (release_7.7.624.gda56)
   which is not quite the latest, but it's close. I also took the opportunity
   to pull latest (Org-mode version 7.8.02 (release_7.8.02.2.g490d6a)) and it
   works fine there too.
   
   Nick
   
  



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Scott Randby
On 12/12/2011 06:39 PM, Bastien wrote:
 Dear all,
 
 I made a small refresh of the website.
 
 http://orgmode.org
 
 - random quote (taken from worg/org-quotes.org)
 - random screenshot
 - twitter feed
 - g+/flattr/fb buttons
 - french translation (http://orgmode.org/fr/)
 
 If you want to help with the translation in your language, 
 please send your public key and I will give you push access.
 This is just a bunch of .org files, only 1 hour needed to
 translate the whole website.
 
 Hope you like it!
 

The random screenshot I saw was one of mine. :)

Scott Randby



[O] odt export error

2011-12-13 Thread Kevin Emerson
Hello all,
I am relatively new to org-mode, but I am certainly a convert - a
great piece of work!  I usually export things as html, but my employer
always wants updates in doc format.  I was hoping to use the new odt
export functionality and then I can save the odt as a doc file.  This
works for me sometimes - but not always.

I can not pinpoint exactly what yields the error, but it reads Format
error discovered in the file in sub-document styles.xml at
415,108(row,col) when the file attempts to open in openoffice 3.2.  I
am using org-mode 7.6.

I have attached my org file and the resulting odt file.

Any thoughts would be greatly appreciated.

Cheers,
Kevin

-- 
--
--
Kevin J. Emerson, Ph.D.
Post-Doctoral Researcher, Bradshaw-Holzapfel Lab
Institute of Ecology and Evolution
335 Pacific Hall
5289 University of Oregon
Eugene, OR 97403
web: http://www.uoregon.edu/~kemerson
email: kemer...@uoregon.edu, kevin.j.emer...@gmail.com
--


2011-12-13-periodAnnotationTranscriptome2.odt
Description: application/vnd.oasis.opendocument.text


2011-12-13-periodAnnotationTranscriptome2.org
Description: Binary data


Re: [O] ePub construction

2011-12-13 Thread Alan L Tyree
On 14/12/11 12:42:38, Nick Dokos wrote:
 Alan L Tyree alanty...@gmail.com wrote:
 
  G'day,
  
  Here are the modifications that I needed to make to the exported
 html 
  file (using the standard exporter) in order to get a valid ePub 
  document. http://threepress.org/document/epub-validate provides an 
  on-line validation service.
  
  My document is relatively simple, but does have footnotes, 
 citations
 
  and formatting commands.
  
  I will be happy to add a fuller description to worg if someone will 
  point me to some instructions.
  
  
  1. Make the html file have utf-8 encoding; there are probably
 several 
  ways to do this, but I used the emacs23 menu MULE options on the 
 org
 
  document.
  
  2 Change the language statement by removing the lang= attribute:
  
  From: html xmlns=http://www.w3.org/1999/xhtml; lang=en 
  xml:lang=en
  
  To: html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en
  
  3 Change anchor descriptions associated with section headings by
 removing name= entries, for example,
  
  From: a name=sec-1 id=sec-1/a
  
  To: a id=sec-1/a
  
  NOTE: this can now be done by customising org-export-html-headline-
  anchor-format (Thanks Bastien!!)
  
  4. Change anchor class=footref by replacing name= with id=.
 For
 example:
  
  from: a class=footref name=fnr.2 href=#fn.2
  
  to: a class=footref id=fnr.2 href=#fn.2
  
  5. Change anchor class=footnum by replacing name= with id=.
 For
 example:
  
  from: a class=footnum name=fn.1 href=#fnr.11/a
  
  to: a class=footnum id=fn.1 href=#fnr.11/a
  
 
 Interesting - I downloaded the epub validator, ran Calibre on a silly
 little org-produced HTML file and duplicated your lang problem.
 
 AFAICT, all of the problems you mention above are legal HTML4, so
 either
 the epub spec (which I have not looked at: do you have a pointer?) is
 made to trip people up by enforcing restrictions that they dreamed 
 up,
 or the validator is not quite as smart as it should be.

Yes, the org export file validates at w3c as a valid XHTML1.0 file. The 
ePub spec is here: http://idpf.org/epub but I admit fatigue in trying 
to wade through it, so I don't know what XHTML1.0 constructions it 
objects to. It seems like the kind of document that nobody has ever 
read: sort of like EULAs and express warranties.

I just made the changes in response to the validation errors.

 
 Just for kicks, I ran it against the Calibre Quick Start Guide (the
 only
 real ebook I had access to) and it gave me an error :-)
 
 ,
 | Epubcheck Version 3.0b3
 | 
 | ERROR: Calibre Quick Start Guide - John
 Schember.epub/OEBPS/content.opf(5,57): attribute file-as not 
 allowed
 here; expected attribute id, opf:file-as, opf:role or 
 xml:lang
 | 
 | Check finished with warnings or errors!
 `
 
 so, presuming that the ebook is fine, I'm not sure how seriously to
 take the validator.

There is something to that. Calibre explicitly disclaims any intent to 
produce an epub file that validates. In fact, the FAQ seems to suggest 
that a Calibre produced file is *better* than one that validates:

http://manual.calibre-ebook.com/faq.html#the-epub-i-produced-with-app-is-not-valid

The problem is that some marketing sites require validation, although I 
am not sure how much that is enforced.


 
 Nick
 
 PS In case it's not obvious, all I know about ebooks is what is
contained in this email. Caveat emptor.

Ahhh, what about statutory warranties :-).

Cheers,
Alan

 



-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206





[O] Bastiens talk

2011-12-13 Thread Rustom Mody
Ive been studying Bastien's gnu hacker talk.
I was wondering if there is any brief index into the talk?
[I thought I saw something yesterday but cant seem to find it today :-) ]