[PATCH] updating manual: visibility of ARCHIVEd subtrees

2021-10-19 Thread Giovanni Ridolfi
Hallo everyone,
please find attached a patch updating the documentation file:

08e9d34907e8c50da22f2981b3965a7b3fedda3a/doc/org-manual.org

showing the correct sequence of keystrokes to force cycling of
archived subtrees.

From: "You can force cycling archived subtrees
 with           ‘C-’, "
to:    ‘C-c C-’.

Sorry for not using git :-/,
and thank you again for maintaing and contributing to Org mode.

Take care,
Giovanni


org-manual-archive.patch
Description: Binary data


Re: [O] Open linked file outside Emacs

2013-11-13 Thread Giovanni Ridolfi


Hi, Christof,


Il Mercoledì 13 Novembre 2013 11:19, Christof Spitz christof.sp...@gmail.com 
ha scritto:
 
 
 how does org-mode 'decide' whether a linked filed (C-c C-l) should be opened 
 (C-c C-o) inside an Emacs buffer or opened by an external 
 program? I am using Emacs 24.3 for Windows and org-mode 8.2
 
reading the /HOME/USER/.mailcap file.

please, have a look at the  FAQ:
http://orgmode.org/worg/org-faq.html#text-external-application-launched-to-open-file-link

cheers,
Giovanni


Re: [O] Upgrade to org 8.0

2013-06-21 Thread Giovanni Ridolfi


hi, Chao Lu Chris,

do you have the git version or 

did you download the tar.gz archive?


 Before I was using (require 
 'org-install) to get org code evaluated. Seems org-install is obsolete 
 now,  then what should I put in my .emacs to get org loaded?


in my .emacs I have: 

(setq load-path (cons  ... /my/path
then 

(require 'org)  ; but I don't know if it is necessary


Please, let's fix the installation then the exporter.

cheers,
Giovanni



 Da: Chao Lu loochao.l...@gmail.com
A: emacs-orgmode@gnu.org 
Inviato: Venerdì 21 Giugno 2013 9:43
Oggetto: [O] Upgrade to org 8.0
 
I'm trying to upgrade to org 8.0.3 and met some difficulty that could not 
solve. Please help.


1. About installation

Currently I'm using Emacs 24.3 under MacOSX mountain lion.
The org mode shipped with this version of emacs is 7.9


I followed the instruction, successfully compiled org 8.0.3 and put all the 
*.elc file into my load-path.
Here is the first confusion:
Before I was using (require 'org-install) to get org code evaluated. Seems 
org-install is obsolete now,  then what should I put in my .emacs to get org 
loaded?


Although I do know why, but seems my old settings get org(8.0.3) loaded, i.e. 
M-x org-version gives 8.0.3. But when I try ffap on (require 'org-publish) 
seems emacs wants to jump to 
/Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-publish.el.gz,
 which is the old org version shipped with Emacs itself.


2. About org-export

I read through the upgrading notes from worg, but still haven't got a working 
configuration file, maybe that's the issue of my org installation. But is 
there's working conf on org-export that I can start with?


I attached my  lch-org-export.el, could somebody have a look how to improve 
them to get 8.0.3 working. 





Re: [O] Copyright of contributions to org-mode

2013-03-13 Thread Giovanni Ridolfi


 Da: Carsten Dominik carsten.domi...@gmail.com

Inviato: Mercoledì 13 Marzo 2013 11:50

Hi, Carsten,
 you are placing these changes 

 under GPL version 3, 

 with 


shouldn't it be: 
you are placing these changes 

under either version 3 of the GPL, or (at your option) 

any later version, 


with 


or my version is too long?

Giovanni



[O] org export Taskjuggler (was: Re: [ANN] Merge of new export framework on Wednesday - )

2013-02-05 Thread Giovanni Ridolfi
- Messaggio originale -

 Da: Nicolas Goaziou n.goaz...@gmail.com
 Inviato: Domenica 3 Febbraio 2013 20:00
 
   2. As a consequence, three export back-ends are not available
      anymore: Taskjuggler, XOXO and Docbook.  

Are there any plans to have a taskjuggler export
compatible with the new exoprt framework?

If not, is there a way I can help/contribute?

By the way, I tried to use the taskjuggler 
export with taskjugler 3.3.0, and it worked 
quite well, only I have not been able to get 
the report part of the tjp file working.
Anyway thank you, Christian an Yann for 
the work.

cheers,
Giovanni



Re: [O] boxquote in plain lists

2012-12-03 Thread Giovanni Ridolfi
Da: Julien Cubizolles j.cubizol...@free.fr

Inviato: Mercoledì 28 Novembre 2012 23:03

 I very often use boxquoted text in my org files to insert excerpts of
 config files but I have trouble using it in plain lists : the boxquoted
 text won't be folded by TAB, you have to manually indent each line of
 the boxquote for the folding to work.

Hi, Julien,

I suggest to you to use headlines: 
-+---
 boxquoted
,
| The default style looks like this.
`
-+
and if you press TAB the text will be folded.

But if you insist ;-) to use tab... well
use headlines :-), 
/then/ convert the headlines in list (selecting the headlines
and pressing C-c -  and you''ll find a nicely
indented list
-
    - boxquoted
  ,
  | The default style looks like this.
  `
---
that can be folded. 

hth, cheers,
Giovanni



Re: [O] boxquote in plain lists

2012-12-03 Thread Giovanni Ridolfi
Hi, Julien, 


Da: Julien Cubizolles j.cubizol...@free.fr

Inviato: Lunedì 3 Dicembre 2012 16:44

Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

--8---cut here---start-8---
- boxquoted
,
| test
`
--8---cut here---end---8---
 with no indentation, can't be folded.
 I must some options badly configured

Actually, I think you haven't converted the headline
like I said. Did you? How?

 But if you insist ;-) to use _lists_   .. well
 use headlines :-), 

 /then/ CONVERT the headlines in list

 (selecting the headlines
 and pressing C-c -  and you''ll find a nicely
 indented list
 -
     - boxquoted
   ,
   | The default style looks like this.
   `
 ---
 that can be folded. 

ah, please, let us know your:
- Org version
-  Emacs version
- Operating system

thanks,
Giovanni



Re: [O] boxquote in plain lists

2012-12-03 Thread Giovanni Ridolfi
Da: Julien Cubizolles j.cubizol...@free.fr

Inviato: Lunedì 3 Dicembre 2012 17:34

 Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

 I think I did :
 * created headline with star
 * add boxquoted text
 * checked that the headline can be folded

C-c @ on the headline
so that the whole text is selected

 * C-c - on the headline
Actually,
C-c - on the selected text: i.e. the first line ( the headline
    and the whole text below)

 * headline gets converted to a plain list that can't be folded anymore

the whole text, i.e.  headline+text is converted
in an item of a list and indented correctly.

for further information, please, read the manual regarding plain lists.

cheers,
Giovanni




Re: [O] New exporter (org-e-odt) not creating content.xml

2012-11-28 Thread Giovanni Ridolfi
Da: Ista Zahn istaz...@gmail.com
Inviato: Martedì 27 Novembre 2012 15:55

 I can't seem to get the new odt exporter working on my Windows machine
 at work (it works fine on Linux at home).
 [...]

 So it seems that the new exporter is not creating content.xml, or
 META-INF/manifest.xml. Again this only happens on Windows. It is
 reproducible every time, and is reproducible starting with emacs -q
 and then loading only org and org-e-odt.


 Specifically, when I call
 'M-x export-dispatch o o'  I get an odt archive with the following
 contents.

 M Filemode      Length  Date         Time      File
- --    ---    --
  -rw-rw-rw-        39  26-Nov-2012  17:31:16  mimetype
  drwxrwxrwx         0  26-Nov-2012  17:31:16  meta-inf/
  -rw-rw-rw-       782  26-Nov-2012  17:31:16  meta.xml
  -rw-rw-rw-     66559  26-Nov-2012  17:31:16  styles.xml
- --    ---    --
                 67380                         4 files

 Like Rainer I cannot reproduce.

 what is
 -  your org-version ?
'M-org-version' produces

 Org-mode version N/A (N/A @ c:/Documents and
 Settings/IZAHN/.emacs.d/izahn/org-mode/lisp/)

 but this is orgmode from git, updated yesterday.
well I cannot trust you ;-)

I think you did not configure/build org properly (Achim may confirm here).

Please read the documentation (M-x org-info) and the worg page here:

http://orgmode.org/worg/org-hacks.html

and please, configure org properly. Then we can investigate if this behaviour 
is 
really a bug or is it due to misconfiguration.

 -  emacs version?
GNU Emacs 24.2.1 (i386-mingw-nt5.1.2600) of 2012-08-28 on MARVIN
  emacs is the windows version fromhttp://ftp.gnu.org/gnu/emacs/windows/

The OS is Windows XP professional with service pack 3.

 Here:
 Org-mode version 7.9.2 (d344fda @
 GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN
 Windows 7

Same as me. 
Please check your configuration/activation.

 I started emacs with emacs -q and evaluated the following lines with 'C-x-e':
Is is not useful if you have not configured/activated org.


cheers,
Giovanni



Re: [O] New exporter (org-e-odt) not creating content.xml

2012-11-27 Thread Giovanni Ridolfi
Hi, Ista,


Da: Ista Zahn istaz...@gmail.com
Inviato: Lunedì 26 Novembre 2012 23:44

 I can't seem to get the new odt exporter working on my Windows machine
 at work (it works fine on Linux at home). 
[...]

 So it seems that the new exporter is not creating content.xml, or
 META-INF/manifest.xml. Again this only happens on Windows. It is
 reproducible every time, and is reproducible starting with emacs -q
 and then loading only org and org-e-odt.



 Specifically, when I call
 'M-x export-dispatch o o'  I get an odt archive with the following
 contents.
 
 M Filemode      Length  Date         Time      File
- --    ---    --
  -rw-rw-rw-        39  26-Nov-2012  17:31:16  mimetype
  drwxrwxrwx         0  26-Nov-2012  17:31:16  meta-inf/
  -rw-rw-rw-       782  26-Nov-2012  17:31:16  meta.xml
  -rw-rw-rw-     66559  26-Nov-2012  17:31:16  styles.xml
- --    ---    --
                 67380                         4 files

Like Rainer I cannot reproduce.

what is
-  your org-version ?
-  emacs version?
- are you under cygwin ?

Here:
Org-mode version 7.9.2 (d344fda @ 
GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN
Windows 7

with my .emacs: 
(require 'org)
... 
(require 'org-export) 
(require 'org-e-odt)


I call with M-x export-dispatch  3 o o 
(3 is to select the subtree)

With this subtree:
---
*** test
test B /b/ *g*   +Carsten+
 test 2
hello
---

 *Message*  buffer:
Using vacuous schema
Unknown LaTeX option.  Forcing verbatim.
Formatting LaTeX using verbatim
Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/meta.xml
Using schema c:/Users/. 
./programs/emacs-o/org/etc/schema/od-schema-v1.2-cs01.rnc [2 times]
Saving file c:/Users/. ./AppData/Local/Temp/odt-3456fvm/styles.xml...
Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/styles.xml
Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/mimetype
Using vacuous schema
Saving file c:/Users/. ./AppData/Local/Temp/odt-3456fvm/META-INF/manifest.xml...
Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/META-INF/manifest.xml
Saving file c:/Users/. ./AppData/Local/Temp/odt-3456fvm/content.xml...
Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/content.xml
(No changes need to be saved)
Creating ODT file...
Running c:/Users/. ./programs/zip/bin/zip -mX0 test.odt mimetype
Running c:/Users/. ./programs/zip/bin/zip -rmTq test.odt .
Created c:/Users/. ./AppData/Roaming/test.odt
Parsing archive file...done.


 file  test.odt:

M Filemode  Length  Date Time  File
- --    ---    -
  -rw-rw-rw-    39  27-Nov-2012  09:23:16  mimetype
  -rw-rw-rw- 21823  27-Nov-2012  09:23:16  content.xml
  drwxrwxrwx 0  27-Nov-2012  09:23:16  meta-inf/
  -rw-rw-rw-   573  27-Nov-2012  09:23:16  META-INF/manifest.xml
  -rw-rw-rw-   818  27-Nov-2012  09:23:16  meta.xml
  -rw-rw-rw- 66559  27-Nov-2012  09:23:16  styles.xml
- --    ---    -
 89812 6 files


cheers,
Giovanni



Re: [O] [ANN] e-latex back-end: changes to attributes syntax

2012-11-23 Thread Giovanni Ridolfi
Da: Alan Schmitt alan.schm...@polytechnique.org

A: Nicolas Goaziou n.goaz...@gmail.com
Inviato: Venerdì 23 Novembre 2012 13:37

 Nicolas Goaziou n.goaz...@gmail.com writes:

 This is a bug which I fixed some hours ago. Though, you need to escape
  the backslash.

 OK, it's working now.

 By the way, do I need to fully restart emacs after installing a new
 version of org-mode, or is there a simpler way to load it?

I think M-x org-reload should suffice.

Giovanni




Re: [O] Bug in publishing to LaTeX

2012-11-20 Thread Giovanni Ridolfi
Da: Harri Kiiskinen harki...@gmail.com
Inviato: Lunedì 19 Novembre 2012 20:45


Hi, Harri,

 it seems that there is a bug in publishing to LaTeX:
 org-publish-org-to calls org-export-as -functions with six arguments:
 but org-export-as-latex accepts only five:

thanks for catching, however

org-export-as-latex is an interactive autoloaded Lisp function in
`org-latex.el'.

This export engine will be dropped and replaced by the new exporter,
so I don't think it will be fixed.

cheers,
Giovanni



Re: [O] exporting clock-in and clock-out times

2012-11-09 Thread Giovanni Ridolfi
Da: Peter Salazar cycleofs...@gmail.com

Inviato: Venerdì 9 Novembre 2012 10:50

Hi, Peter,

 I'm exporting to HTML and trying to get my clock-in and clock-out 

 times to export as well, but it's not working. 
 My org file looks like this:


 #+OPTIONS:   d:t timestamp:t
 * foo   
  CLOCK: [2012-11-09 Fri 03:58]--[2012-11-09 Fri 03:59] =  0:01
  foo.



FIRST : always, please, always. Please, always,
  did I already say always? 

please always send: 

Org-version,
Emacs version
Operatig System

and in this case, dealing with the exporter, if you used the new or the old 
exporter.

Here:
Org-mode version 7.9.2 (854ddf6 @ c:/Users/ridolfi/programs/emacs-o/org/lisp/)
GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN


1. I can  export the clock line *IF* I have a property drawer:

#+OPTIONS:   d:t timestamp:t
* foo   
  CLOCK: [2012-11-09 Fri 03:58]--[2012-11-09 Fri 03:59] =  0:01
:PROPERTIES:
:END:
  foo.
-+HTML
1 foo
CLOCK:  11/09/12 ven 03:58– 11/09/12 ven 03:59 =  0:01 
PROPERTIES 
foo. 
2 bye    ARCHIVE
-+


so this is a quick and dirty solution.


2. Otherwise  I cannot get the clock line in the HTML file:
- without (i.e. commenting out) the :PROPERTIES: drawer

- with the new exporter 

  (with or without propertiies)



cheers,
Giovanni



Re: [O] tags

2012-11-09 Thread Giovanni Ridolfi
Da: johnrarell...@aol.com johnrarell...@aol.com

Inviato: Venerdì 9 Novembre 2012 14:00


hi,  John,


 Related to a recent question, is there a way to bookmark a spot in a
 long text?

how about
(info (emacs)bookmarks)

cheers,
Giovanni /who sometimes think we forget Org is in Emacs ;-)



Re: [O] Include a limited level of subheadings for export/publish? :TNX

2012-11-09 Thread Giovanni Ridolfi
Da: Phil! Gold phi...@pobox.com

Inviato: Venerdì 9 Novembre 2012 15:57

Hi, Phil!,

 I started looking into agenda views in a lot more detail and discovered a
 few things that I was able to put together into pretty much what I
 wanted.  I documented it here for posterity: 

  http://aperiodic.net/phil/archives/Geekery/org-mode-project-overviews.html

many thanks.

A typo:
displays any
deaslines on the
s/deasline/deadline/

cheers,
Giovanni





Re: [O] Need tip/suggesting:org-mode for note taking

2012-11-08 Thread Giovanni Ridolfi
Da: 包乾 houkens...@gmail.com

Inviato: Giovedì 8 Novembre 2012 10:58

Hi, 包乾,

 Hi emacser! 

I'd say orgers.

 Emacs could handle org file quite well, but WITHOUT emacs, on windows pc,
?-)

I have been using Emacs on a Windows PC, without Administator privileges,
   both under XP and Windows 7, since 2005.


  I don't know how organize all my contents when it become more and more. 

- you can use tags:
   please copy this text in you Emacs:


(info (org)tags) 

go with the cursor at the end of the line and press C-x C-e; you can read the 

Org manual.


- and also internal links in your file

(info (org) internal links) 


 With a hand writing notebook, I have physical pages, in Microsoft Word, 

 I also have virtual pages. 

 In org-mode org file, I don't. It's like my org file is a endless roll of 
 toilet paper

You can use headlines 

(info (org) document structure) 

 3. Hard to import pictures, web pages...into org file.(In fact I don't know 
 how). 
you can't import but you can have links to them:


(info (org) hyperlinks) 



Hope these useful tips regarding info will help:
But `i' (M-x Info-index) will really make your life easier.
  `l' Info-history-back
  `L' Info-history
  `]' Info-forward-node


cheers,
Giovanni



[O] solved (Re: BUG ? [new HTML exporter] subtree: newline and slash)

2012-11-07 Thread Giovanni Ridolfi
Da: Nicolas Goaziou n.goaz...@gmail.com
inviato: Martedì 6 Novembre 2012 18:20

Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

 did you try to replicate the bug?  
 Yes, sir.


Thank you very much for having fixed it 

some time ago and, please,
accept my apology for having overreacted
yesterday evening,  without double checking.


I would have sworn I had installed the latest version
BUT I was wrong.

I really loaded the a99402fac, that is a version more or less 

the 6th of november.
I got confused: too much org-tar.gz in my directory :-(


Today I installed the *real* last but one Org-mode version 7.9.2 (854ddf6
and the bug is gone.


Again sorry for the noise,

Giovanni



[O] BUG ? [new exporter HTML] subtree: Headlines numbering

2012-11-06 Thread Giovanni Ridolfi

Hello everybody,

Org-mode version 7.9.2 (a99402fac 
GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN

When I try to HTML export the whole file the result is as expected.

When I try to HTML export *a subtree* with the new exporter the exporter does 
not 
complain with what I set in the EXPORT_OPTIONS,
Please try to export the second subtree I am interested in this
with C-@ M-x org-export-dispatch h o
--
 -*- mode: org; truncate-lines: nil coding:utf-8 -*-
* Another headline
* I am interested in this
:PROPERTIES:
:EXPORT_OPTIONS: H:5 num:nil toc:nil \n:t @:t ::t |:t ^:t f:nil *:t tags:nil 
TeX:t LaTeX:t skip:t p:nil  author:nil  email:nil  creator:nil timestamp:t
:END:
** 2nd
*** hello UP
 hello
hello hello (newline) 
hi hi   (newline and blank!)

Up with the new exporter

-+-

this is the result:
//
1 I am interested in this
1.1 2nd
1.1.1 hello UP

    1. hello

   hello hello (newline) \\ hi hi (newline and blank!) \\

   Up with the new exporter \\ 

//

This does not happen if I export the whole file.

cheers,
Giovanni



[O] BUG ? [new HTML exporter] subtree: newline and slash

2012-11-06 Thread Giovanni Ridolfi
Hello everybody,

Org-mode version 7.9.2 (a99402fac 
GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN

When I try to HTML export the whole file the result is as expected.

When I try to HTML export a *subtree* 
with the new exporter I get \\ if in the org file there is a newline
Please try to export the second heading I am interested in this
with C-@ M-x org-export-dispatch h o


--Example-
 -*- mode: org; truncate-lines: nil coding:utf-8 -*-
* Another headline
* I am interested in this
:PROPERTIES:
:EXPORT_OPTIONS: H:5 num:nil toc:nil \n:t @:t ::t |:t ^:t f:nil *:t tags:nil 
TeX:t LaTeX:t skip:t p:nil  author:nil  email:nil  creator:nil timestamp:t
:END:
** 2nd
*** hello UP
 hello
hello hello (newline) 
hi hi   (newline and blank!)

Up with the new exporter

Up with the new exporter

--Result
1 I am interested in this
1.1 2nd
1.1.1 hello UP

    hello

    hello hello (newline) \\ hi hi (newline and blank!) \\

    Up with the new exporter \\

    Up with the new exporter \\

-+--

this happens 

- if I do not set any PROPERTY drawer
- if the :EXPORT_OPTION: is both \n:t and \n:nil

as you can see it happens *even* at the end of the list.

cheers, 
Giovanni



Re: [O] BUG ? [new HTML exporter] subtree: newline and slash

2012-11-06 Thread Giovanni Ridolfi
Da: Nicolas Goaziou n.goaz...@gmail.com

Inviato: Martedì 6 Novembre 2012 17:48

Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

 When I try to HTML export a *subtree* 
 with the new exporter I get \\ if in the org file there is a newline

  I fixed this several days ago.

did you try to replicate the bug?  

 You need to update Org.

As you can read in my previous email my org version is 

Org-mode version 7.9.2 (a99402fac 

downloaded and installed from the tar.gz - 24 hours ago  Nicolas GoaziouMerge 
branch 'maint'

i.e. there is only one commit after my snapshot.

Regards,

Giovanni




Re: [O] org tex: label and footnote make a problem

2012-10-26 Thread Giovanni Ridolfi
Hi, Nicolas,

 works well. Example 2:
 \chapter{Vie politique et économique \protect\footnote{\cite{CARCERI2001}}}
\label{sec-1-2}


Org-mode version 7.9.2 (b5aded1 @ c:/Users/ridolfi/programs/emacs-o/org/lisp/)
GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN

Cannot reproduce, *with the new exporter*:
file.org:
-
#+LaTeX_CLASS:book
#+LaTeX_CLASS_OPTIONS: [a4paper,oneside]
#+LATEX_HEADER: \usepackage[frenchb]{babel} \pagestyle{empty}   
#+LATEX_HEADER: \usepackage[style=verbose-trad2]{biblatex} 
\bibliography{/home/nicopro/Documents/INFORMATIQUE/TEX/texmf/tex/latex/THESE/BIBLIOGRAPHIE/biblio.bib}
#+LATEX_HEADER: \frenchbsetup{StandardLists=true} 
\renewcommand\labelitemi{\textbullet} \renewcommand\labelitemiii{\diamond} 
\renewcommand\labelitemii{\circ}
other ...

# * [2012-10-26 ven 10:08] 

** Vie politique et économique [fn::\cite{CARCERI2001}]
*** Organisation administrative
---
M-x org-export-dispatch l L gives:
-   TEX -
% Created 2012-10-26 ven 10:12
\documentclass[a4paper,oneside]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usepackage[frenchb,english]{babel} \pagestyle{empty}
\usepackage[style=verbose-trad2]{biblatex} 
\bibliography{/home/nicopro/Documents/INFORMATIQUE/TEX/texmf/tex/latex/THESE/BIBLIOGRAPHIE/biblio.bib}
\frenchbsetup{StandardLists=true} \renewcommand\labelitemi{\textbullet} 
\renewcommand\labelitemiii{\diamond} \renewcommand\labelitemii{\circ}
\author{Giovanni Ridolfi}
\date{\today}
\title{test-2}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Generated by Org mode 7.9.1 in Emacs 24.1.1.}}
\begin{document}

\maketitle
\tableofcontents
\vspace*{1cm}

other \ldots{}

\part{Vie politique et économique [fn::\cite{CARCERI2001}]}
\label{sec-1}
\chapter{Organisation administrative}
\label{sec-1-1}
% Generated by Org mode 7.9.1 in Emacs 24.1.1.
\end{document}

-

Please provide: 

1. org- version
2. emacs version
3. which exporter didi you use

cheers,
Giovanni


elano



Re: [O] Sort Phrases

2012-10-22 Thread Giovanni Ridolfi
Da: Sanjib Sikder sanjibju2...@gmail.com

Inviato: Lunedì 22 Ottobre 2012 13:27


 I know it is possible to sort words and sort lines alphabetically in emacs 
 org-mode 

Would you please be so kind to explain to me how?

I have only:
org-sort-entries      M-x ... RET     Sort entries on a certain level of an 
outline tree.
org-sort-list          M-x ... RET       Sort list items.
org-table-sort-lines   Sort lines in region in a 
table.


Is it possible to sort words like:

banana fruit chees  apple

or lines like 


banana 

fruit
chees 

apple 



 but is it possible to sort phrases ?

 Face the music, Fifteen minutes of fame, A beautiful mind.
 I want to sort it alphabetically like, 
  A beautiful mind, Face the music, Fifteen minutes of fame.

In Emacs everything is possible.

- substitute , with \n
- sort region
- substitute \n with ,

Cheers,

Giovanni




Re: [O] Some links no longer work

2012-10-03 Thread Giovanni Ridolfi
Da: Simon Thum simon.t...@gmx.de
Inviato: Mercoledì 3 Ottobre 2012 14:45

Hi Simon,

 recently my UNC links stopped working; [...]
  I have links, say, [[\\server\share\some\dir\]] which (on win32) would open 
an explorer at the location. 
 This is pretty handy; 
it is.

However 
(dired-at-point //myserver/dir)  
then C-x C-e at the end of the line is really a killer (provided you read 
dired's manual).

 Now, UNC links get me an error saying something like file not found right 
 in emacs.
cannot reproduce.

[[\\myserver\dir]]

here it works. 

Org-mode version 7.9.1 (a99402facf8726 
 quite old: 17 Sept 2012 

GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN

Tschüß,

Giovanni




Re: [O] error capturing with emacs 24

2012-10-02 Thread Giovanni Ridolfi
Da: Martin Gross m-gr...@gmx.net
Inviato: Martedì 2 Ottobre 2012 11:34

Dear Martin,

 trying to capture with Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+
 Version 2.22.0) the same way I have done successfully with Emacs 23, I
 get an error.  
 In both cases I am using org-mode 7.7.
 What could I do?

You colud update Org
- by ELPA package
  http://orgmode.org/elpa/
- within your distribution
- with git

Or you colud update Emacs, the latest stable version is 24.2.

Giovanni



Re: [O] No title in org-export-as-odt

2012-09-24 Thread Giovanni Ridolfi
Da: Miguel Ruiz rbeni...@yahoo.es
Inviato: Lunedì 24 Settembre 2012 8:03

 Bastien 
 Miguel Ruiz rbeni...@yahoo.es writes:
 
 Any hint to get rid of the title in a org-export-as-odt
 session?
 
 I don't think you can

 org-odt-format-preamble function says:

 ...
 (when title
      (concat
  (org-odt-format-stylized-paragraph
  'title (org-odt-format-tags
         '(text:title . /text:title) title))
    ;; separator
    text:p text:style-name=\OrgTitle\/))

 So I only need to find a way to assign nil to title variable inside the 
 document.
#+TITLE:   - leave a blank space here?

the new  HTML exporter works.

 I would appreciate any idea.

HTH,
Giovanni /shooting in the dark.



[O] New exporter: no custom timestamps

2012-09-17 Thread Giovanni Ridolfi
Hello everybody,

I am not able to export with custiom timestamps with the new exporter. 

file:
---
* [2012-09-17 lun]
** [2013-04-28 dom] sunday
* COMMENT s
# Local Variables:
# org-display-custom-times: t
# org-time-stamp-custom-formats: (%d/%m/%Y %A . %d/%m/%Y %A %H:%M)
# End:
--
If I open the file the local variables are set. I toggle the timestamp format 

C-c C-x C-t and C-c C-e H exports to HTML with my custom timestamp in
the headline:

h2 id=sec-1span class=section-number-21/span span 
class=timestamp-wrapper span class=timestamp17/09/2012 
lunedì/span/span/h2

Whereas with the new exporter

M-x org-export-dispatch h H

I get the ISO format:
h2 id=sec-1span class=section-number-21/span span 
class=timestamp-wrapperspan class=timestamp2012-09-17 
lun/span/span/h2

cheers,
Giovanni




[O] New exporter: export to ics ?

2012-09-17 Thread Giovanni Ridolfi
Hello everybody,

the new exporter does not have options to export to ics format.

Are there plans to keep this feature or will it be dropped with the old-export?
or will we have access to it via a new interface, not the export interface?

thank you in advance, cheers,

Giovanni 




Re: [O] [PATCH] org-insert-link: allow ido usage when inserting links

2012-09-14 Thread Giovanni Ridolfi
Hi, Tony,

thanks for submitting the patch,


however I suspect it is longer than 20 lines. 
Therefore it could be applied only if you've 
assigned the copyright to the FSF. For more infos please refer to:

http://orgmode.org/worg/org-contribute.html

Would it be possible for you?

Thanks,

Giovanni


- Messaggio originale -
Da: tony day zygom...@gmail.com
A: emacs-orgmode@gnu.org
Cc: 
Inviato: Venerdì 14 Settembre 2012 11:21
Oggetto: [O] [PATCH] org-insert-link: allow ido usage when inserting links

This time with patch inlined.

I had a look through and couldn't see an obvious reason why you can't use ido 
with org-insert-link, so here's a patch to enable it.

I haven't looked at using ido for editing links yet, but I figure org-capture 
would be a good pattern to do this.  The other thought here is to add an 'org:' 
link type so you can fire up ido just like org-capture (not sure what non-ido 
org-capture looks like).

This is my first patch, so please let me know if I'm not doing things right.

Tony

[PATCH] org-insert-link: allow ido usage when inserting links

* lisp/org.el (org-insert-link): added all-links to cleanly create 
prefix+stored links for use in ido
(org-i-read-file-name): new defun to allow ido to read a file: link if allowed

TINYCHANGE
---
lisp/org.el | 39 +--
1 file changed, 25 insertions(+), 14 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 1c18d70..a918cfc 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -9397,7 +9397,7 @@ be used as the default description.
     tmphist ; byte-compile incorrectly complains about this
     (link link-location)
     (abbrevs org-link-abbrev-alist-local)
-     entry file all-prefixes auto-desc)
+     entry file all-links all-prefixes auto-desc)
     (cond
      (link-location) ; specified by arg, just use it.
      ((org-in-regexp org-bracket-link-regexp 1)
@@ -9443,19 +9443,19 @@ Use TAB to complete link prefixes, then RET for 
type-specific completion support
                 org-link-types))
       (unwind-protect
      (progn
+        (setq all-links (append
+                 (mapcar 'car org-stored-links)
+                 (mapcar 'cadr org-stored-links)
+                 (mapcar (lambda (x) (concat x :))
+                     all-prefixes)))
+        (setq all-links (delete nil all-links))
        (setq link
-          (let ((org-completion-use-ido nil)
-            (org-completion-use-iswitchb nil))
-            (org-completing-read
-             Link: 
-             (append
-              (mapcar (lambda (x) (list (concat x :)))
-                  all-prefixes)
-              (mapcar 'car org-stored-links)
-              (mapcar 'cadr org-stored-links))
-             nil nil nil
-             'tmphist
-             (caar org-stored-links
+          (org-completing-read
+           Link: 
+           all-links
+           nil nil nil
+           'tmphist
+           (caar org-stored-links)))
        (if (not (string-match \\S- link))
        (error No link selected))
        (mapc (lambda(l)
@@ -9542,7 +9542,7 @@ Use TAB to complete link prefixes, then RET for 
type-specific completion support
(defun org-file-complete-link (optional arg)
   Create a file link using completion.
   (let (file link)
-    (setq file (read-file-name File: ))
+    (setq file (org-i-read-file-name File: ))
     (let ((pwd (file-name-as-directory (expand-file-name .)))
      (pwd1 (file-name-as-directory (abbreviate-file-name
                     (expand-file-name .)
@@ -9560,6 +9560,17 @@ Use TAB to complete link prefixes, then RET for 
type-specific completion support
        (t (setq link (concat file: file)
     link))

+(defun org-i-read-file-name (rest args)
+  Read-file-name using `ido-mode' speedup if available.
+  (org-without-partial-completion
+   (if (and org-completion-use-ido
+            (fboundp 'ido-read-file-name)
+            (boundp 'ido-mode) ido-mode
+            (listp (second args)))
+       (let ((ido-enter-matching-directory nil))
+         (apply 'ido-read-file-name args))
+     (apply 'read-file-name args
+
(defun org-completing-read (rest args)
   Completing-read with SPACE being a normal character.
   (let ((enable-recursive-minibuffers t)
-- 
1.7.12



Re: [O] Creating Gantt charts by Exporting to TaskJuggler 3.3.0

2012-09-14 Thread Giovanni Ridolfi
Hi, Seb,


 Buddy Butterfly wrote:
 Am 14.09.2012 15:13, schrieb Sebastien Vauban:
 I'm trying to use the export to TJ3 on Windows (I installed Ruby from 
 Cygwin),
 but don't succeed to get the first view of the project, as shown on
 http://orgmode.org/worg/org-tutorials/org-taskjuggler.html.


almost one month ago Yann Hodique proposed 10 patches for the taskjuggler 
exporter,
please see:


http://article.gmane.org/gmane.emacs.orgmode/58851

Bastien has a branch with these patches, but he'll apply them
when he will have received the FSF papers signed.
I hope soon :-)

But I'm pretty sure you can apply them to your file.

cheers,

Giovanni




Re: [O] documentation bug

2012-09-13 Thread Giovanni Ridolfi
Da: Tyler Smith tyler.sm...@mail.mcgill.ca

Inviato: Giovedì 13 Settembre 2012 16:50

 I'm using org-mode 7.8.03, which shipped with Emacs 24.0.94.1. 

 `C-c C-e h     (`org-export-as-html')'
     Export as HTML file.  [...] If there is an active region(1), only
   the region will be      exported.
 However, I think this is incorrect. 
 If there is an active region, org-export will turn on subtree-p. This results 
 in unexpected
 behaviour. For example, if an active region is marked that contains
 two subtrees, 

This is a corner case. With your org version you are expected to export a well 
organized document:
- A headline and its subtrees
- or a subtree, 

not two subtrees.

But, here, Org-mode version 7.9.1 (2eb1456bfd
the new exporter handles this case well and exports the two subtrees.

Please upgrade Org and use the new exporter as suggested in the release notes:

http://orgmode.org/Changes.html

cheers,

Giovanni



[O] how to locate a function?

2012-09-12 Thread Giovanni Ridolfi
Hello everyone,

Org-mode version 7.9.1 (2eb1456bfd 
GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN

How can I know if a function is present in org
and if it is loaded?

Rationale: I needed to transpose a table 
(Resolved via the babel/emacs-lisp thanks to Tom Dye!).
I read the worg page:
http://orgmode.org/worg/org-hacks.html#transpose-table
but it seems to me that I cannot call the function
org-table-transpose-table-at-point 

the only completion offered by M-x org-tr is: org-tr_anspose-element.

So either I am not able to find the function or the worg documentation is 
outdated.

Maybe with git will be easy to track the org-table-transpose function...

TIA

Giovanni




Re: [O] how to locate a function?

2012-09-12 Thread Giovanni Ridolfi
Hi, Sebastien,

Sebastien Vauban wxhgmqzgw...@spammotel.com
Mercoledì 12 Settembre 2012 13:30

 Giovanni Ridolfi wrote:
 How can I know if a function is present in org
 and if it is loaded?

 C-h a org.*transpose RET

thanks!!

Giovanni



Re: [O] Question on latex source block

2012-09-11 Thread Giovanni Ridolfi


Da: Nick Dokos nicholas.do...@hp.com

Inviato: Lunedì 10 Settembre 2012 22:53

Hi, Nick,

 (I prefer using \(...\) over $...$ but that's just me).

it is not just you, it is also (!) the Org Manual:

     To avoid conflicts with
 currency specifications, single `$' characters are only recognized
 as math delimiters if the enclosed text contains at most two line
 breaks, is directly attached to the `$' characters with no
 whitespace in between, and if the closing `$' is followed by
 whitespace, punctuation or a dash.  For the other delimiters,
 there is no such restriction, 


so when in doubt, use `\(...\)' asinline math delimiters.


[[info:org#fragments]]

cheers,

Giovanni




Re: [O] [Contest] Redesign orgmode.org by the end of august

2012-09-10 Thread Giovanni Ridolfi
Da: Bastien b...@altern.org
Inviato: Lunedì 10 Settembre 2012 13:00

   http://localhost/org-mode/features.html

http://orgmode.org/features.html

chers,
Giovanni



Re: [O] [Orgmode] [SOLVED] Bug: LaTeX export of subscripts and superscripts in Tables. [7.9.1]

2012-09-05 Thread Giovanni Ridolfi
The new exporter exports the table correctly:

\begin{tabular}{l}
\hline
10$^3$\\
H$_2$O\\
\hline
\end{tabular}

please use it as suggested in the Release notes[1]


cheers,
Giovanni

[1] http://orgmode.org/Changes.html


Make sure contrib/lisp/ is in your load-path
M-: (require 'org-export) RET
M-: (require 'org-e-latex) RET ; or any other library
M-x org-export-dispatch RET




- Messaggio originale -
Da: gyaman...@gmail.com gyaman...@gmail.com
A: emacs-orgmode@gnu.org
Cc: 
Inviato: Martedì 4 Settembre 2012 10:07
Oggetto: [O] [Orgmode] Bug: LaTeX export of subscripts and superscripts in 
Tables. [7.9.1]

Using the following orgmode text:
* table 
- table
  ||
  | 10^{3} |
  | H_{2}O |
  ||

- 10^{3} 
- H_{2}O

==EOF==



the LaTeX exporter produces in version 7.9.1:

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}
\section{table}
\label{sec-1}

\begin{itemize}
\item table

\begin{center}
\begin{tabular}{l}
\hline
10^\{3\}  \\      % may be Bug
H_\{2\}O  \\      %
\hline
\end{tabular}
\end{center}


\item 10$^{3}$
\item H$_{2}$O
\end{itemize}

==EOF==

\end{document}


Emacs: GNU Emacs 24.2.1 (x86_64-apple-darwin12.1.0, NS apple-appkit-1187.00)



Re: [O] Emacs mode first line and Org-mode

2012-09-05 Thread Giovanni Ridolfi
Da: Fabrice Popineau fabrice.popin...@supelec.fr

A: emacs-orgmode@gnu.org 
Inviato: Mercoledì 5 Settembre 2012 8:12

Hi, Fabrice,

 Something changed recently with the handling of emacs mode first line. I used 
 to have :

 #+-*- coding:utf-8; mode:org; mode:org-e-beamer; 
 ispell-local-dictionary:fr_FR_hunspell -*-

 as the first line of my file. Recently, it started to get exported in 
 LaTeX/Beamer, even with :
 #+OPTIONS: skip:t


Please try leaving a space between # and + 


# +-*- coding:utf-8; mode:org; mode:org-e-beamer; 
ispell-local-dictionary:fr_FR_hunspell -*-

hth
Giovanni



Re: [O] Emacs mode first line and Org-mode

2012-09-05 Thread Giovanni Ridolfi


Da: Fabrice Popineau fabrice.popin...@supelec.fr
A: Giovanni Ridolfi giovanni.rido...@yahoo.it 
Inviato: Mercoledì 5 Settembre 2012 10:35

Please try leaving a space between # and +

 Ok, a bit strange but it works :-)

Hi, Fabrice,

it is not strange at all, it is even documented in the release notes
of the software you're using.


Release notes of version 7.9.1 :
Org Editing
[...]
Comments start with [ \t]*#  anywhere on a line

Note that the space after the hashtag is mandatory.  Comments with ^#+
are not supported anymore.   [1] 


[1] you can find the Release Notes in the file: your-org-path/etc/ORG-NEWS here 
a link:

[[file:   please write here  your path      
/org/etc/ORG-NEWS::*s%20start%20with%20^%5B%20/t%5D*#%20%20anywhere%20on%20a%20line][Comments
 start with ^{ \t}*#  anywhere on a line]


cancel these characters to close the parenthesis ]


or, if you prefer, reading online [2].

Thanks for understanding,

Giovanni


[2] http://orgmode.org/Changes.html




Re: [O] org-pretty-entities and org-cdlatex

2012-09-05 Thread Giovanni Ridolfi
Da: Thomas Holst thomas.ho...@de.bosch.com
Inviato: Mercoledì 5 Settembre 2012 12:20

· Carsten Dominik carsten.domi...@gmail.com wrote:

 On 5.9.2012, at 11:08, Thomas Holst wrote:

 Hello,
 
 there is a different behaviour of sub (_) and superscripts (^) depending
 on =org-pretty-entities=. When I type:
 
  =ab_cdef=
 
 inside LaTeX fragments with =org-pretty-entities= enabled I get:
 
  \( ab_{c}def \)
          
 
 With =org-pretty-entities= disabled I get:
 
  \( ab_{cdef} \)
          

 I am not able to reproduce this, I get the second behavior always.

 I also tested it with emacs 23.2 on WinXP. 

 Maybe it is a problem related to emacs on Windows.
Hi, Thomas and Carsten,

I downloaded texmathp.el from here:
https://raw.github.com/jwiegley/auctex/master/texmathp.el
cdlatex from here:
http://staff.science.uva.nl/~dominik/Tools/cdlatex/cdlatex.el

loaded them M-x load-file

Org-mode version 7.9.1 (c276eeebeec 
GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN
Windows 7

org-pretty-entities  nil  (default)

M-x org-cdlatex-mode

** CDLatex

\( ab_{cdef} \)

if org-pretty-entities on (via customization interface)  I get: 

\(  ab_{c}def  \)

so I confirm the behaviour of Thomas under Windows

cheers
Giovanni




Re: [O] can't find org-version?

2012-09-04 Thread Giovanni Ridolfi
On 9/3/12 12:23 AM, Giovanni Ridolfi wrote:
 Da: Benjamin Slade sl...@jnanam.net
 Since updating to org 7.9, I've had an odd problem with another package 
 that depends on org-mode (org-toodledo).
 It reports that it can't find org-version.
 
 So the problem is  in org-toodledo. Did you ask its maintainer?

 Da: Christopher J. White orgm...@grierwhite.com
 Inviato: Lunedì 3 Settembre 2012 16:48

 I'm the maintainer of the org-toodledo and the OP did indeed contact me first.

Hi, Christopher,

 org-toodledo effectively does:
   (require 'org)
 Then uses the variable org-version.  
 This has worked just fine for a few years, but 

... but since few months the place where org-version is defined has changed 
from org.el
to org-version.el 
that is generated during compilation IIRC (!)   If I'm wrong  Achim Gratz will 
correct me.

 when the OP upgraded to 7.9, the org-toodledo function that checks
 the org-version yields an error along the lines of variable not defined.

 I did some googling and came across these threads which seemed relevant:
  http://thread.gmane.org/gmane.emacs.orgmode/59337
(august 2012)
  http://comments.gmane.org/gmane.emacs.orgmode/55412
(april 2012, really old thread)

 It seems wrong to me that hacking org-toodledo is the appropriate solution.  
I disagree.

Would you please try to add (require 'org-install) instead of (require 'org)  
and see if org-toodledo works?

 As mentioned in one of the above threads, the version of a package is pretty 
 fundamental
  and I'd expect it to be provided by the base require.

The variable org-version *is indeed provided* but not in the file your code 
expects it. 


cheers,
Giovanni



Re: [O] can't find org-version?

2012-09-04 Thread Giovanni Ridolfi
Da: Nick Dokos nicholas.do...@hp.com

Inviato: Martedì 4 Settembre 2012 14:04

 Giovanni Ridolfi giovanni.rido...@yahoo.it wrote:
 Would you please try to add (require 'org-install) instead of (require 
 'org)  and see if org-toodledo works?
 
  As mentioned in one of the above threads, the version of a package is 
  pretty fundamental
   and I'd expect it to be provided by the base require.
 
 The variable org-version *is indeed provided* but not in the file your code 
 expects it. 
 
 Is it? I can only find a function named org-version, not a variable.

Hi, Nick,

you're right, therfore, obviously ;-) I was wrong.

The function is org-version and it gets its arguments from  the variables
org-release
and
org-git-version
defined in the file  lisp/org-version.el

thanks for pointing it up.

cheers,
Giovanni



Re: [O] can't find org-version?

2012-09-03 Thread Giovanni Ridolfi
Da: Benjamin Slade sl...@jnanam.net

Inviato: Lunedì 3 Settembre 2012 5:46

 Since updating to org 7.9, I've had an odd problem with another package that 
 depends on org-mode (org-toodledo). 

 It reports that it can't find org-version.

So the problem is  in org-toodledo. Did you ask its maintainer?


 The following work-around patches the problem, 


 (require 'org-version)
 (setq org-version (org-release))

 but I was wondering how to really solve it:

hack org-toodledo.

cheers,
Giovanni




Re: [O] [BUG] Traceback on Org-Export

2012-08-03 Thread Giovanni Ridolfi
Da: Luis Anaya papoan...@hotmail.com
Inviato: Venerdì 3 Agosto 2012 12:43

 Ok... my bad... pilot error... missing (require 'org). 

 [...]  Anyway, this solved the
 problem by adding the require on my .emacs file.


?-)

why is this needed? 
The documentation doesn't mention it and I commented it out in my .emacs
few weeks ago.


Perhaps you do run the export in batch mode?


Giovanni /a bit puzzled


Org-mode version 7.8.11 (4732f153f



Re: [O] Feature that org mode needs most

2012-07-19 Thread Giovanni Ridolfi
Da: John Hendy jw.he...@gmail.com
Inviato: Mercoledì 18 Luglio 2012 20:26

Hi, John

 You might want to check out Brent's answer to a similar question I
 asked a bit back (basically an expanded version of some answers given
 above):
 - http://www.mail-archive.com/emacs-orgmode@gnu.org/msg40499.html

I haven't tought to the K option!
really thank you!

...Giovanni



Re: [O] defining custom timestamps

2012-07-19 Thread Giovanni Ridolfi
Hi, Matt,

Da: Matt Price mopto...@gmail.com
Inviato: Giovedì 19 Luglio 2012 16:54


 On HTML export,  want my timestamps to display as:

 Thursday, July 19


get the variable:  C-h v org-time-stamp-custom-formats


and customize with this:

(%A , %B %e . %A , %B %e %H:%M)


 or maybe:
 July 19 (Thu)
exercise for you ;-)

then goto your file and toggle time-stamp overlays: 

C-c C-x C-t (`org-toggle-time-stamp-overlays')



 I've tried setting org-time-stamp-custom-formats but I haven't been able to 
 find the documentation that explains the formatting 
 strings. `format-time-string' 



 Also I'm not exactly sure which variables control the display of custom times 
 on HTML export.  

they can.

cheers,
Giovanni




Re: [O] Feature that org mode needs most

2012-07-18 Thread Giovanni Ridolfi


Hi, Joseph,
(I cc'ed also Bernt Hansen, aka the king of clocking ;-)
maybe he has better ideas; he's more experience than me, for sure ;)


Da: Joseph Thomas six50...@gmail.com
Inviato: Martedì 17 Luglio 2012 23:15

 there's no easy way I can see to make quick adjustments to clocked time 
 between activities.  

 Every day I will forget to clock to a new activity at some point.  

 By the time I remember, time has passed.  For example, I come back from a 
 meeting and begin to work on a project. 

  20 minutes into it, I clock in. 

  But I must then manually adjust both the previous activity and the current 
one so that they are accurate and don't overlap in the agenda view.  


When you can back from a meeting you can resolve idel time
    [[info:org#Resolving%20idle%20time][info:org#Resolving idle time]]


If you changed your task but you forgot to clock outyou should check:

[[info:org#Clocking%20commands][info:org#Clocking commands]]

 (`org-clock-in-last')'
 Reclock the last clocked task.  With one `C-u' prefix argument,
 select the task from the clock history.  With two `C-u' prefixes,
 force continuous clocking by starting the clock when the last clock
 stopped.


Be careful to have a recent git version since this is a new feature, but it had 
bugs and
the bugs have been fixed.


Other thoughts:

You can change the time from the agenda (never tried) but:

[[info:org#Agenda%20commands][info:org#Agenda commands]]
`v c'
 Show overlapping clock entries, clocking gaps, and other clocking
 problems in the current agenda range.  You can then visit clocking
 lines and fix them manually.  See the variable
 `org-agenda-clock-consistency-checks' for information on how to
 customize the definition of what constituted a clocking problem.
 To return to normal agenda display, press `l' to exit Logbook mode.


Finally you can also use the brute force method:
clock in the new task   

then run 

M-x org-resolve-clocks


so that you can restart your current task by, say, 20 minutes
then you can set 


(defcustom org-clock-out-remove-zero-time-clocks t
  Non-nil means remove the clock line when the resulting time is zero.
  :group 'org-clock
  :type 'boolean)

However the last clocked-out task (the meeting) has been clocked out 20 minutes 
later.

cheers,
Giovanni




[O] [PATCH] fix documentation for org-clock-in-last

2012-07-18 Thread Giovanni Ridolfi
Hi,

this patch updates the key bindings in the manual for 
org-clock-in-last and org-clock-cancel, after commit 
fea1b82befb 

cheers,
Giovanni





org.texi Update the key sequence for org-clock-in-last and org-clock-cancel

* doc/org.texi (org-clock-in-last and org-clock-cancel) Update the defkeys

After commit fea1b82befb the manual has not been updated, let's do it now.


--- org.texi    2012-07-17 20:49:31.0 +0200
+++ org-2.texi    2012-07-18 11:34:58.041089500 +0200
@@ -6066,5 +6066,5 @@
 timestamp@footnote{The corresponding in-buffer setting is:
 @code{#+STARTUP: lognoteclock-out}}.
-@orgcmd{C-c C-x C-I,org-clock-in-last}
+@orgcmd{C-c C-x C-x,org-clock-in-last}
 @vindex org-clock-continuously
 Reclock the last clocked task.  With one @kbd{C-u} prefix argument,
@@ -6086,5 +6086,5 @@
 Changing the TODO state of an item to DONE automatically stops the clock
 if it is running in this same item.
-@orgcmd{C-c C-x C-x,org-clock-cancel}
+@orgcmd{C-c C-x C-q,org-clock-cancel}
 Cancel the current clock.  This is useful if a clock was started by
 mistake, or if you ended up working on something else.




Re: [O] [new exporter] problems exporting mathmode to LaTeX

2012-07-18 Thread Giovanni Ridolfi
Da: Thomas Holst thomas.ho...@de.bosch.com
Inviato: Mercoledì 18 Luglio 2012 12:13

 So here is the next one:
 #+BEGIN_SRC org
   160\(^\circ\}\nbsp{}C
  -11^{\circ}\nbsp{}C
 # +END_SRC

 With the new exporter it becomes:
 #+BEGIN_SRC latex
  160\(^\circ\)~C
  -11$^{\mathrm{\^{}}}$~C
 #+END_SRC
 in LaTeX. Where the second construct obviously is not what is expected

same here:

(emacs-version)
 GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-09-19 on 3249CTO

GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN

(org-version)
 Org-mode version 7.8.11
 (release_7.8.11-201-g528b17

Org-mode version 7.8.11 (66767db5 

-- 
Bis neulich ...
  Thomas

- Messaggio originale -




Re: [O] Feature that org mode needs most

2012-07-18 Thread Giovanni Ridolfi
Da: Joseph Thomas six50...@gmail.com
Inviato: Mercoledì 18 Luglio 2012 16:01

  I did download the latest snapshot of org from git, but as I need to 
maintain my todo.in 

 NT emacs at work, I don't have make 

 and so 

and so . 

you read the nice page on worg written by Achim Gratz  
http://orgmode.org/worg/org-hacks.html
and followed the instructions for us leaving through the Windows

great!

 juice of the instructions---    BUT PLEASE 
READ THEM  ALL -

your current directory must be where org has been unpacked into

Windows CMD.exe has quite different quoting rules and this won't work, so your 
other option is to start Emacs like this 
emacs -Q -L lisp -l ../UTILITIES/org-fixup 
then paste the following into the *scratch* buffer 
(let ((org-fake-release 7.8.11) (org-fake-git-version 7.8.11-fake)) 
(org-make-autoloads)) 
position the cursor after the closing paren and press C-j or C-x   C-e to 
evaluate the form.
-



Re: [O] Emacs23 on Ubuntu recognizes 'remember', not 'capture'

2012-07-17 Thread Giovanni Ridolfi
Da: Rian Murphy rianmur...@yahoo.com
Inviato: Martedì 17 Luglio 2012 15:32
Oggetto: [O] Emacs23 on Ubuntu recognizes 'remember', not 'capture'

Hi, Rian

 I am using emacs 23 on an Ubuntu server. I also use emacs 22 on a Macbook pro.
 On the Macbook, I set up my .emacs file to use orgmode and defined several
 capture templates. They work fine on the Macbook.

 So I set up the .emacs file in the Ubuntu environment to start up org mode, 
 and
 copied my capture templates over. When I tried to do a capture, however, emacs
 (on Ubuntu) didn't recognize 'org-capture'. The only way I could get it to 
 work 
 is to change all the'capture' references in .emcas to 'remember', and 
 redo the templates using the remember syntax.

 I'd prefer to use capture on my Ubuntu installation. I searched the gmane 
 archives and didn't find any clues.

Pelase, do 
M-x emacs-version
and
M-x org-version 

in both systems; then if version is  than 6.36, you should not have capture, 
but only remember
[[info:org#Capture]]

 Would I have to somehow uninstall emacs 23 and install emacs 22? 
 Any other ideas? 
- Wouldn't be possible for you to Install emacs 24?
- yopu can also try to download and install latest org (see org website)

cheers,
Giovanni



Re: [O] No inline property value after subtree export

2012-07-17 Thread Giovanni Ridolfi
Da: Miguel Ruiz rbeni...@yahoo.es
Inviato: Martedì 17 Luglio 2012 15:20

 --org-mode file start
 #+OPTIONS: toc:nil
#+AUTHOR:
#+DATE:
* Level 1
  :PROPERTIES:
  :ID:       527b694d-8288-4d37-a06a-a288bd9592b5
  :END:
This is level 1 with ID {{{property(ID)}}}
** Level 2
   :PROPERTIES:
   :ID:       1cf7847a-0977-4f18-8dc1-c3058a89a596
   :END:
This is level 2 with ID {{{property(ID)}}}
*** Level 3
    :PROPERTIES:
    :ID:       2b9390ca-17ea-452f-be68-28c134dd376e
    :END:
This is level 3 with ID{{{property(ID)}}}
--org-mode file end ---

if I do org-export then 1(subtree) then d(LaTeX) with the cursor in the 
Level 2 
 heading,  
  I get Level 2 as document title, but the ID value is not evaluated so I 
 get {{{property(ID)}}} instead. The level 3 ID value is correctly exported.


I can confirm this bug Org-mode version 7.8.11 (69af0913b28d )

Also if I select C-c @ the first subtree (level 1) the ID value is not 
evaluated for 

Level 1 but it is evaluated for level 2 and 3.
The ID values are evaluated when exporting the entire document.


unfortunately I have not been able to export this file with the new exporter.

Giovanni




Re: [O] Using HTML or ODF to get content from Org to Word (was: How to integrate org-mode in a MS Windows-/Office-based environment?)

2012-07-14 Thread Giovanni Ridolfi
Karl Voit devn...@karl-voit.at

Inviato: Sabato 14 Luglio 2012 11:56

Hi, Karl,
* Luis Anaya papoan...@hotmail.com wrote:
 Using HTML for export is a good way to transfer content as has been
 suggested.

 I thought that using the ODF-exporter would be
 the format of choice to get content from Org to Word. Why do you
 guys prefer HTML?

A reason could be (in my case) because we cannot have LibreOffice installed :-(

But you're right in remembering me that write (and perhaps word?) can read 
odf files.
I will try odf, thanks!

cheers,
Giovanni



Re: [O] How to integrate org-mode in a MS Windows-/Office-based environment?

2012-07-13 Thread Giovanni Ridolfi
Da: M elwood...@web.de
Inviato: Giovedì 12 Luglio 2012 23:06

 I'd like to
 know how you integrate org-mode in your work on MS Windows.

Hi Martin,

I use Org in a Windows 7 environment too.

Regarding he interaction with collegues, (as Russel have already suggested) 
I write my reports in  Org, then export to HTML with the proper stilesheet and 
then open in word
for the last editing.
If I had installed LibreOffice my life'd have been a lot easier (hint, hint ;)

In Org I can open dired link to pdf files (clicking o them), but I haven't yet 
managed 
to open links to word and excel files.

In my home directory I have a .mailcap file:
-
application/pdf;  C:/Program Files (x86)/Adobe/Reader 
10.0/Reader/AcroRd32.exe %s
a plic tion/w rd; C:/Program Files (x86)/Microsoft Office/Office12/win 
ord.exe %s    - DOES NOT WORK and certain letters are missing.
--

Like Mikhail pointed out dired is really useful and
I use Dired extensively; it can also resolve addresses through the Intranet 
evaluating expressions like:

(dired-at-point //Server1/everybody/my-dir)

I also open the files with the appropriate program (excel, word, reader..) in 
the Dired buffer
pressing F3, having the following  code in my .emacs:

;; Dired 
;=
(setq delete-by-moving-to-trash t)
;;; Open files with i.e.
; 
http://stackoverflow.com/questions/2284319/opening-files-with-default-windows-application-from-within-emacs
(defun w32-browser (doc) (w32-shell-execute 1 doc))

(eval-after-load dired '(define-key dired-mode-map [f3] (lambda () 
(interactive) (w32-browser (dired-replace-in-string / \\ 
(dired-get-filename))

cheers,
Giovanni




[O] BUG! Re: Byte compiler warnings in org-clock.el

2012-07-13 Thread Giovanni Ridolfi
Da: Bastien b...@gnu.org
Inviato: Venerdì 13 Luglio 2012 1:46

 Achim Gratz strom...@nexgo.de writes:

  The corresponding defvar should probably be moved:
probably not.

@Achim that's why I wanted to have the last version: to report bugs, 
as stated in the documentation  [[info:org#Feedback]]

For bug reports, please first try to reproduce the bug with the
latest version of Org available

 Done, thanks.

Unfortunately this introduces a bug:

In a new file (with a pending clock)

with Org-mode version 7.8.11 (3ecd7a9ad03323 

when I try to start a clock I get the error:

Symbol's function definition is void: org-clock-in-last 
Debugger entered--Lisp error: (void-function org-clock-in-last)

whereas I can clock in with version: Org-mode version 7.8.11 (1fe42fd0b 
[and the pending clock is resolved]

If the file is already opened and after M-x org-reload
I the current clock is closed 
when one try to clock in a new subheading
the last subtree is clocked-in 

cheers,

Giovanni



Re: [O] [PATCH] org version under Windows 7

2012-07-12 Thread Giovanni Ridolfi
Da: Achim Gratz strom...@nexgo.de
Inviato: Mercoledì 11 Luglio 2012 23:15

 Bastien writes:
 Achim Gratz strom...@nexgo.de writes:
 I'll update org
 hacks with the instructions when you have installed the patch.

 I just installed the patch, thanks.

 Documentation on WOrg is updated to reflect the new reality...
 :-)

that does not work.  )-:

- downloaded snapshot  7445ee7d0
- un-tar-zipped
- followed the instructions on worg from The above assumes  i.e.:
- started Emacs with:
  c:\Users\me programs/emacs/bin/emacs.exe emacs -Q -L lisp -l 
org/UTILITIES/org-fixup
  - BUT  emacs *opens* the file org-fixup (? uh ?!)
  then I tried:
  c:\Users\me programs/emacs/bin/emacs.exe emacs -Q -L lisp -l 
org/UTILITIES/org-fixup.el
  emacs opens the file org-fixup.el

-  then evaluated in the *scratch* buffer the let expression and got the error:

Debugger entered--Lisp error: (void-function org-make-autoloads-compile)
  (org-make-autoloads-compile)
  (let ((org-fake-release 7.8.11) (org-fake-git-version 7.8.11-fake)) 
(org-make-autoloads-compile))
  eval((let ((org-fake-release 7.8.11) (org-fake-git-version 7.8.11-fake)) 
(org-make-autoloads-compile)) nil)
  eval-last-sexp-1(t)
  eval-last-sexp(t)
  eval-print-last-sexp()
  call-interactively(eval-print-last-sexp nil nil)

then I 
- restarted Emacs
- in the *scratch* buffer
- evaluated  (org-make-org-version 7.8.11 7445ee7d0 
c:/Users/me/programs/odt/styles/) in the scratch buffer,
  this command  creates the file 
c:/Users/me/programs/emacs/bin/org-version.el
    ^^
that has all the parameters at the right places but the version is not loaded:
M-x org-version:

Org-mode version N/A-fixup (N/A-fixup !!check installation!! @ 
c:/Users/ridolfi/programs/emacs-o/org/lisp/)

Then I copied to c:/Users/me/org/lisp/org-version.el
  ^^^
and org got it 

Org-mode version 7.8.11 (7445ee7d0 @ c:/Users/me/org/lisp/) \o/

If I start Emacs  and

in the *scratch* buffer evaluate:(defvar my/org-lisp-directory 
c:/Users/me/org/lisp/ Directory where your org-mode files live.)

(org-make-org-version 7.8.11 7445ee7d0 c:/Users/me/programs/odt/styles/)

the file org-version.el is saved in the directroy of the scratch buffer, that 
is c:/Users/me/programs/emacs/bin/

So, Achim how can I tell Emacs to change directory and save org-version.el in 
my org/lisp/ directory? 

cheers,
Giovanni



[O] org version under Windows 7

2012-07-11 Thread Giovanni Ridolfi
Hello everybody (especially Achim Gratz ;-)

I'm back. I'd like to install org on my Windows 7 machine, but

I have some constraints:
- I am not the Administrator 

- I cannot use make 

- I cannot use git


So
1   I downloaded from http://orgmode.org/w/org-mode.git
    the last git snapshot (c75120aa71257604)
2  un(tar-zipped) it
3  As suggested by Achim a month ago,
    in my scratch buffer I evaluated
    (let ((generated-autoload-file c:/Users/me/emacs-o/org/org-install.el))
     (update-directory-autoloads c:/Users/me/emacs-o/org//lisp))
messages in the Message buffer were:

Saving file c:/Users/me/emacs-o/org/org-install.el...
Wrote c:/Users/me/emacs-o/org/org-install.el
nil

So this seems not to be the way to set the version

4. Then I run emacs:
    (as suggested in http://orgmode.org/worg/org-hacks.html
c:\Users\me\programs\emacs\bin\emacs.exe -batch -Q -L lisp -l 
org/UTILITIES/org-fixup.el --eval '(org-make-org-version 7.8.11 
c75120aa71257 blabla)'

but the command ended with: End of file during parsing

and, obviously,  M-x org-version says: Org-mode version N/A-fixup 

5. then I followed the instruction with the defvars and evaluated my/compile-org
 but the result was the same.

what can I do?

thank you in advance,

Giovanni




Re: [O] org-program-exists vs executable-find

2012-06-14 Thread Giovanni Ridolfi
Da: Sebastien Vauban wxhgmqzgw...@spammotel.com
Inviato: Venerdì 20 Aprile 2012 22:24


 Bastien wrote:
 If there is an equivalent of `which' on windows let me know,
 Not that I know 


the command where [1][2]
cheers,
Giovanni


[1] 
http://stackoverflow.com/questions/304319/is-there-an-equivalent-of-which-on-windows

[2] 
http://superuser.com/questions/207707/what-is-windows-equivalent-of-which-command-in-linux-is-there-is-equivalent

Some versions of Windows (I think Windows 2003 and up) have the where command:
c:\where ping
C:\Windows\System32\PING.EXE



Re: [O] C-c a t doesn't give yield list of all TODO items

2012-05-08 Thread Giovanni Ridolfi
 jeremiah.do...@gmail.com jeremiah.do...@gmail.com
Inviato: Domenica 4 Marzo 2012 9:11

 Christopher W. Ryan cr...@binghamton.edu writes:

 But when I try to type C-c a

 I only get that far, and emacs tells me, C-c a is undefined

 There is a drop-down menu item under the Org item, called Agenda Command...
 which offers me lettered choices, and t will list all TODO entries. But what 
 is
 the keyboard shortcut, if not C-a a t ?

 You have to bind it yourself. Put 

    (global-set-key \C-ca 'org-agenda)

 somewhere sensible. This *is* mentioned somewhere in the org docs, but I
 can't remember where off the top of my head.

Thanks, Jeremiah;  it is indeed mentioned in the Activation
section of the manual,

cheers,
Giovanni




Re: [O] SOLVED problems with mathjax CDN and HTML export

2011-11-09 Thread Giovanni Ridolfi
Christian Moe m...@christianmoe.com writes:

Hi, Christian,

thank you for cheching again well *MY* mistake
was setting the option: 

:EXPORT_OPTIONS:  H:3 num:nil toc:nil \n:t @:t ::t |:t ^:t f:nil *:t
 tags:nil TeX:t LaTeX:nil
^^
Consequently the LaTeX fragments are converted in  HTML format e.g.:

 u(alpha;) = delta;alpha; =  {\left(
 \left[\frac{-(Delta; L+c)}{Lsub0/subsdot;  [...]

Why not, since I set this option? :-(

Sorry for the noise and thank you again for your time,

Giovanni



Re: [O] [BUG] Unable to use TODO(t@!) to track TODO state changes

2011-11-09 Thread Giovanni Ridolfi
Jason Dunsmore jasondunsm...@gmail.com writes:

Hi, _Jason, 

 After reading http://orgmode.org/org.html#Tracking-TODO-state-changes,
 I  expected the @! TODO syntax, eg. TODO(t@!), to do the following: 

 - Log timestamp when entering state
 - Add note when entering state

Well the  TODO(t@!) syntax seems not to be allowed.

It is your expectation, I'd say a feature request ;-)

cheers,
Giovanni


 This syntax appears to break the functionality, because it does neither.
 The state is changed with no logging or note prompt.  Is this a bug?

 I verified that the TODO(t@/!) syntax does work as indicated in the
 manual.

 - Add note when entering state
 - Log timestamp when entering state
 - Log timestamp when exiting state



Re: [O] problems with mathjax CDN and HTML export

2011-11-08 Thread Giovanni Ridolfi
Christian Moe m...@christianmoe.com writes:

Hi Christian, thank you for checking,

 On 11/7/11 5:02 PM, Giovanni Ridolfi wrote:
 the math snippets are always converted in HTML format e.g.:alpha; = 
 \frac{1}{Lsub0/sub}

 Do I understand correctly that this is your problem? 
yes.
 (Not very clear
 from your long example, which starts with the CDN service.)
sorry for that


 If so, I can't reproduce it. Your

 $$
 \alpha = \frac{1}{L_{0}} \left( \frac{L_2-L_1}{T_2-T_1} \right)
 = \frac{1}{L_0}\frac{\Delta L}{\Delta T}
 $$

 exports verbatim for me, and is correctly formatted.

I tried. Yes and no.

Yes, You're right. It is exported correctly and correctly formatted
if you export only *this* subheading. The subheading ** $$.

But, if you export the whole subtree, from the 
* mathjax test  heading, the equation is 
converted in HTML format e.g.:alpha; = \frac{1}{Lsub0/sub}

Giovanni



Re: [O] View inherited DEADLINEs in agenda

2011-11-07 Thread Giovanni Ridolfi
Fabrizio Chiarello fabrizio.chiare...@ieee.org writes:


 I have many tasks with a DEADLINE, and I wish to have their subtasks to
 inherit such DEADLINE. To this aim, I set:

   (setq org-use-property-inheritance (quote (DEADLINE)))


 The problem is that the agenda only shows deadlines for the tasks that
 define them 

is DEADLINE  a property that can be inherited?

would you please post an example file?
Thanks,

Giovanni





[O] Bug: :tags: in title [7.7 f8168144a]

2011-11-07 Thread Giovanni Ridolfi

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.

Hello everybody,

Emacs  : GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600)
of 2011-03-10 on 3249CTO
Package: Org-mode version 7.7 f8168144a95136ab93650a3c80ac28bb0b69fd90

I know this is a corner case...

When I export the subtree mathjax test: C-c @ C-c C-e B of the example file
below, 
(please note that the PROPERTY EXPORT_TITLE does not have a value!!)
the exported HTML file (00-b.html) has 

the tag :EXPORTFILENAME: 00-b.html as a title.

---
 -*- mode: org -*-
* some data
* mathjax test
:PROPERTIES:
:EXPORT_TITLE: 
:EXPORT_FILE_NAME: 00-b.html
:EXPORT_OPTIONS:  H:3 num:nil toc:nil \n:t @:t ::t |:t ^:t f:nil *:t tags:nil 
TeX:t LaTeX:nil skip:t p:nil  author:nil  email:nil  creator:nil timestamp:nil
:END:
** test one
** Test
http://www.mathjax.org/docs/1.1/start.html#putting-mathematics-in-a-web-page
--


cheers,
Giovanni

current state:
==
(setq
 org-log-done 'time
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
 org-agenda-custom-commands '((3 c3i agenda 
   ((org-agenda-ndays 7) 
(org-agenda-start-on-weekday 0) (org-agenda-time-grid nil)
(org-agenda-repeating-timestamp-show-all t)
(org-agenda-entry-types (quote (:todo 
:scheduled :timestamp :sexp)))
(org-agenda-files
 (quote
  (c:/Documents and Settings/a.txt
   c:/Documents and Settings/c.txt)
  )
 )
(org-agenda-text-search-extra-files nil))
   )
  )
 org-agenda-files '(
)
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-babel-load-languages '((gnuplot . t) (emacs-lisp . t) (calc . t) (sh . t) 
(ditaa . t))
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-tab-first-hook '(org-hide-block-toggle-maybe 
org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
 org-finalize-agenda-hook '(my-org-agenda-to-appt)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-use-property-inheritance '(DEADLINE)
 org-blank-before-new-entry nil
 org-babel-pre-tangle-hook '(save-buffer)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 
org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-export-preprocess-before-normalizing-links-hook 
'(org-remove-file-link-modifiers)
 org-mode-hook '((lambda nil
  (org-add-hook (quote change-major-mode-hook) (quote 
org-show-block-all) (quote append) (quote local)))
 (lambda nil
  (org-add-hook (quote change-major-mode-hook) (quote 
org-babel-show-result-all) (quote append)
   (quote local))
  )
 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point 
org-babel-execute-safely-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src 
org-babel-exp-inline-src-blocks))
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-enforce-todo-dependencies t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp nil
 org-export-preprocess-before-selecting-backend-code-hook 
'(org-beamer-select-beamer-code)
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc 
org-beamer-auto-fragile-frames
   org-beamer-place-default-actions-for-lists)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-export-blocks '((src org-babel-exp-src-block nil) (comment 
org-export-blocks-format-comment t)
 (ditaa org-export-blocks-format-ditaa nil) (dot 
org-export-blocks-format-dot nil))
 )



Re: [O] [SOLVED] Bug: :tags: in title [7.7 f8168144a]

2011-11-07 Thread Giovanni Ridolfi
suvayu ali fatkasuvayu+li...@gmail.com writes:

Hi suvayu

 Since you CC'd me, did my patch to org-exp.el introduce this
 behaviour?
I thought so

 Anyway, I can't reproduce this. I see mathjax test as the title,
 which is expected behaviour.

uh???  I cannot reproduce as well !!

I don't know what happened, but I saw it twice ?-/

Let's consider it as solved.

Thank you for checking,

Giovanni



Re: [O] Archive to date-tree

2011-11-02 Thread Giovanni Ridolfi
Andrew Hyatt ahy...@gmail.com writes:

Hi, Andrew,
 Would anyone be interested in the ability to archive to the current
 date in date-tree instead of an archive file?  I'm toying with the
 idea of implementing this, and I could send it in as a patch when it
 is done, 
I agree with  suvayu.
 or just leave it as a personal module if no one is
 particularly interested.

:-) egoist ! :-)

Pleae, consider also to upload it on worg as a hack or function.

cheers,
Giovanni



Re: [O] org-capture template property completion

2011-10-31 Thread Giovanni Ridolfi
dlc d...@coateconnection.com writes:

 While prompting the user for property MyProtperty, Is there a way to
 get completion on the MyProperty value while in the org-capture
 bufffer?

e.g. :

:PROPERTIES:
:Effort: %^{prompt|0:10|0:20|0:30|1:00|2:00|3:00}
:END:

so you can choose the value of 'effort'?


hth
Giovanni



Re: [O] Clocktable summary at ... line not showing up right in export

2011-10-28 Thread Giovanni Ridolfi
Herbert Sitz hes...@gmail.com writes:

Hi, Herbert,
 I'm exporting 

exporting-to-what ?

 a file with a clocktable and the first line of the Clocktable
 shows up with no date or time info, just:

 Clock summary at [followed by nothing]
 | Headline|   Time |
 |-+|
 | *Total time*| *5:11* |
 |-+|
 | DONE Tasks and States   |   1:01 |
 | FIXME Custom agenda views   |   0:01 |

Well, here, 
the HTML, ascii, LaTeX  export of the *subtree*

work as expected,

Org-mode version 7.7 679a0e1fe93d630820185f931087328d32e81077
GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO

 I'm using Org 7.4 and Emacs 23.1.

I suggest you to update your org, if the error persists, perhaps, even
your Emacs. 

hth
Giovanni



Re: [O] Tags included in subtree export title despite tags:nil in header

2011-10-27 Thread Giovanni Ridolfi
suvayu ali fatkasuvayu+li...@gmail.com writes:

Hi, Suvayu,

 I also have a subtree where I
 wrote beamer presentation about the project. I would like to exclude
 this from the html export, so I tag it with noexport.

 Now when I do a subtree export 
 ^
 to get the beamer presentation, my
 presentation has the title: Text in headline :noexport:. Is there
 any way to exclude the tag from the exported title short of toggling
 the tag before export or setting the EXPORT_TITLE property?


 I was expecting this to work out of the box since I already have
 tags:nil in the file header. 
   
 Would this be considered as a bug?
I don't think so. 

Options for *the* specific subtree have to be defined in the subtree:

* file
** beamer :noexport:
:PROPERTIES:
:EXPORT_TITLE: beamer
:EXPORT_FILE_NAME: test.html
:EXPORT_OPTIONS:  H:3 num:nil toc:nil \n:t @:t ::t |:t ^:t f:nil *:t tags:nil 
TeX:t LaTeX:nil skip:t p:nil  author:nil  email:nil  creator:nil timestamp:nil
:END:
beamer 2
*** beamer 3

hth
Giovanni



Re: [O] Problems with Org Mobile (was:org-mode)

2011-10-27 Thread Giovanni Ridolfi
Renger van Nieuwkoop ren...@ecoplan.ch writes:

Hi Renger

 I have the following problem with org-mobile: If I want to push my
 org-files, I get the message that I should set my org-directory.
 This directory is set in my .emacs file, 
how? 
did you customize it with the custom interface?

I didn't. So when I press  C-h v  on org-directory

- Windows XP, Emacs 23.3   Org mode: 7.7 
679a0e1fe93d630820185f931087328d32e81077 
  ^^^
I get:

  org-directory is a variable defined in `org.el'.
  Its value is ~/org

~/ means: 

c:/Documents and Settings/MyUserName/Application Data/

hth
Giovanni



[O] [SOLVED] Re: Problems with Org Mobile

2011-10-27 Thread Giovanni Ridolfi

Forwarding to the list.

Renger van Nieuwkoop ren...@ecoplan.ch writes:

 Thanks Giovanni
 There it was set to an old, non-existing directory.
 Now it works



Re: [O] table alignment failed for Asian characters

2011-10-27 Thread Giovanni Ridolfi
Torsten Wagner torsten.wag...@gmail.com writes:

 Well the FAQ tells me
 what I thought already. I will post here a specific solution for
 Japanese and it might be added to the FAQ later. Maybe others can
 contribute to add Chinese, Korean and other languages.

Personally I think that it does not woth to add a *specific*
solution for the faq, who knows how many non-fixed-width *fonts*
are out there ! ;-)

But I leave the last word to Matt Lundin. (cc)

Cheers,
Giovanni



Re: [O] [RFC] Standardized code block keywords

2011-10-26 Thread Giovanni Ridolfi
Nick Dokos nicholas.do...@hp.com writes:

 Eric Schulte schulte.e...@gmail.com wrote:

 Surprisingly (to me) srcname is the winner here, but luckily I haven't
 yet voted, and although I would have though #+source: would have been
 the winner I like the simplicity of using #+name: for named code blocks
 as well as named data.  So I'll vote for #+name: here making it a tie,
 and I'll also take tie-breaking powers upon myself giving #+name: the
 win.
 

 This is going to cost you, Schulte! It's not going to go down that easily.
 I'll call the FTC, the FCC, the SCOTUS, the POTUS, the NYT, the BDFL, the
 NFL and the MLB: an outrage I tell you! An affront to the democratic rules
 some of us cherish! We'll fight to the death! Who's with me?

+1 srcname

:-)
Power to the people! Democracy forever!

Giovanni /who has not used babel yet.



Re: [O] Bug: tags search in org-sparse-tree is broken

2011-10-26 Thread Giovanni Ridolfi
suvayu ali fatkasuvayu+li...@gmail.com writes:

Hi, suvayu

 The tags search for org-sparse-tree seems to be broken. 
 With a minimal
 setup, C-c / m match RET doesn't perform a tags search.

well, with my org-version, 2 commits before the leading edge:

Org-mode version 7.7 679a0e1fe93d630820185f931087328d32e81077
GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO

I cannot reproduce it.

C-c m / tag on this file
---
  -*- mode: org; -*-
* [2011-10-26 mer]
** number one
*** hello   :tag:
*** one
*** two
** game
*** game2 :tag:
 game 3
---
C-c m /  tag gives:

* [2011-10-26 mer] 
** number one 
*** hello
*:tag:
** game 
*** game2 :tag:
 game 3

/// /// ///

cheers,
Giovanni







Re: [O] Bug: tags search in org-sparse-tree is broken

2011-10-26 Thread Giovanni Ridolfi
Suvayu Ali fatkasuvayu+li...@gmail.com writes:

Hi, Suvayu

 Are the matched headlines highlighted? 
No. you're right, there's a bug

 Can you move to the next match with next-error 
 (C-x ` or M-g n)? 
No. bug. :-/

 When I try to move through the
 matches with M-g n or M-g p, I get the following error.

 Debugger entered--Lisp error: (error No more matches)

me too.

thanks for explaining.

cheers,
Giovanni




[O] Bug?: handling asterisks * in HTML export

2011-10-25 Thread Giovanni Ridolfi

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.

Emacs  : GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600)
 of 2011-03-10 on 3249CTO
Package: Org-mode version 7.7 2429e834915a11b58c85f18488976e274d6ce387

I found two errors of org while handling asterisks * in HTML export.
I don't think this is a bug, but I think it is worth to report.

I wrote my test.org file (see below). 
Then I tried to html-export a subtree: 

C-c @  C-c  C-e B

and I got the errors:

(wrong-type-argument stringp nil) or 
(args-out-of-range [nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil 
nil nil nil nil nil] -1)

Before trying to reporduce, please, remember to change the tag :noexport:
e.g. adding a letter :noexporti: ne eksporti  ;-)
so you can export only a section of the file.
The complete debug trace is under the heading * backtraces.
The culprit sholud be  string-match(^ *QUOTE\\( +\\|[ ]*$\\) nil).

cheers,
Giovanni

 test.org --
 -*- mode: org; -*-
* [2011-10-25 mar] test list asterisk 
hello
** 1 * without space :noexport:
 *
hello
** test 2 **  without space :noexport:
 **
I found a bug? an error?
** test 3: *  with a space :noexporti:
 * 
newline

* backtraces

** backtrace 1 
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match(^ *QUOTE\\( +\\|[   ]*$\\) nil)
  (if (string-match quote-re0 txt) (setq txt (replace-match  t t txt)))
  (cond ((string-match \\(\\*+\\)\\(?: +\\(.*?\\)\\)?[ ]*$ line) 
(setq level ... txt ...) (if ... ...) (if ... ...) (setq first-heading-pos ...) 
(org-html-level-start level txt umax ... head-count opt-plist) (when ... ... 
... ...)) ((and org-export-with-tables ...) (when ... ...) (setq table-buffer 
... table-orig-buffer ...) (when ... ... ... ...)) (t (when ... ...) (when ... 
... ...) (if ... ...) (when org-export-with-footnotes ... ...) (cond ... ...) 
(let ... ...) (insert line \n)))
  (catch (quote nextline) (when (and inquote ...) (insert /pre\n) 
(org-open-par) (setq inquote nil)) (when inquote (insert ... \n) (throw ... 
nil)) (when (and org-export-with-fixed-width ...) (when ... ... ... ...) 
(insert ... \n) (when ... ... ... ...) (throw ... nil)) (when (and ... ...) 
(let ... ... ... ... ...) (throw ... nil)) (when (equal ORG-BLOCKQUOTE-START 
line) (org-close-par-maybe) (insert blockquote\n) (org-open-par) (throw ... 
nil)) (when (equal ORG-BLOCKQUOTE-END line) (org-close-par-maybe) (insert 
\n/blockquote\n) (org-open-par) (throw ... nil)) (when (equal 
ORG-VERSE-START line) (org-close-par-maybe) (insert \np 
class=\verse\\n) (setq org-par-open t) (setq inverse t) (throw ... nil)) 
(when (equal ORG-VERSE-END line) (insert /p\n) (setq org-par-open nil) 
(org-open-par) (setq inverse nil) (throw ... nil)) (when (equal 
ORG-CENTER-START line) (org-close-par-maybe) (insert \ndiv 
style=\text-align: center\) (org-open-par) (throw ... nil)) (when (equal 
ORG-CENTER-END line) (org-close-par-maybe) (insert \n/div) (org-open-par) 
(throw ... nil)) (run-hooks (quote org-export-html-after-blockquotes-hook)) 
(when inverse (let ... ... ...)) (setq start 0) (while (string-match 
?\\([^]*\\)?\\((INVISIBLE)\\)?[ ]*\n? line start) (cond ... ... 
... ...)) (setq line (org-html-handle-time-stamps line)) (or (string-match 
org-table-hline-regexp line) (string-match ^[  ]*\\([+]-\\||[ ]\\)[-+ 
|]*[+|][ ]*$ line) (setq line ...)) (setq line (org-html-handle-links 
line opt-plist)) (if (and org-todo-line-regexp ... ...) (setq line ...)) (when 
org-export-with-footnotes (setq start 0) (while ... ...)) (cond (... ... ... 
... ... ... ...) (... ... ... ...) (t ... ... ... ... ... ... ...)))
  (while (setq line (pop lines) origline line) (catch (quote nextline) (when 
... ... ... ...) (when inquote ... ...) (when ... ... ... ... ...) (when ... 
... ...) (when ... ... ... ... ...) (when ... ... ... ... ...) (when ... ... 
... ... ... ...) (when ... ... ... ... ... ...) (when ... ... ... ... ...) 
(when ... ... ... ... ...) (run-hooks ...) (when inverse ...) (setq start 0) 
(while ... ...) (setq line ...) (or ... ... ...) (setq line ...) (if ... ...) 
(when org-export-with-footnotes ... ...) (cond ... ... ...)))
  (let ((case-fold-search nil) (org-odd-levels-only odd)) (mapc (lambda ... 
...) org-export-plist-vars) (setq umax (if arg ... org-export-headline-levels)) 
(setq umax-toc (if ... ... umax)) (unless body-only (insert ...) (when ... ...) 
(insert ... \nh1 class=\title\ title /h1\n)) (if (and 
org-export-with-toc ...) (progn ... ... ... ... ... ... ...)) (setq head-count 
0) (org-init-section-numbers) (org-open-par) (while (setq line ... origline 
line) (catch ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 
... ... ... ... 

Re: [O] Bug?: handling asterisks * in HTML export

2011-10-25 Thread Giovanni Ridolfi
Nicolas Goaziou n.goaz...@gmail.com writes:

 I found two errors of org while handling asterisks * in HTML export.
 I don't think this is a bug, but I think it is worth to report.

 I've pushed a fix in master. Could you confirm that it is working?

yes it works,
thanks,

Giovanni



Re: [O] property values and timestamps

2011-10-14 Thread Giovanni Ridolfi
Nick Dokos nicholas.do...@hp.com writes:

 Skip Collins skip.coll...@gmail.com wrote:

 I store a timestamp in a property. 

You can  use a capture template:

(setq org-capture-templates (quote ((a vArious entry (file+headline
c:/myfile.org Appt) :PROPERTIES:
:Birthday:  %^u
:END:

hth
Giovanni



Re: [O] Column view capture specific parts only

2011-10-13 Thread Giovanni Ridolfi
Johnny yggdra...@gmx.co.uk writes:

 Hi Johnny

 I have a nice outline set up in column view and would like to capture
 different versions of this into org-tables. There is far too many
 properties to get quick overviews, e.g. one table-capture I'd like to do
 contains only the task name and the committed delivery in ascending
 order, 


A case-study org file would have helped here. :-(

No file? vague answers :-(

Use different definition of columns:

* first 2 properties
:PROPERTIES:
:COLUMNS:  %40prop_1 %Prop_2
:END:
#+BEGIN: columnview :hlines 1 

#+END
 and another would contain only task and task-lead in ascending
 order. 

* other propts 
:PROPERTIES:
:COLUMNS:  %40prop_3 %Prop_4
:END:
#+BEGIN: columnview :hlines 1 

#+END

you can change the order with M-x org-sort

hth
Giovanni



Re: [O] Merge Properties into Template; [babel]

2011-10-06 Thread Giovanni Ridolfi
Richard Parsons richard.lee.pars...@gmail.com writes:

 Hi Richard,

 I have a node with properties and I would like to merge that data into
 a template.  For example:

 * Dogs
 ** Fido
   :PROPERTIES:
   :BREED:West Highland Terrier
   :COLOR:White
   :AGE:  2
   :END:
 * Templates
 ** Dog Template
 Your dog, called [HEADLINE], is a [COLOR] [BREED], who is [AGE] years old.

 I want to merge the item called Fido into the template called Dog 
 Template.

 Could someone point me to the right bit of the manual 

I think that the only way to extract the information of a property,
in org, is column view.[1]

However you may be able to use something like perl or awk to extract the info
and babel to use in the org file.

I'm a babel ignorant. CCed Eric Schulte for help ;-)

hth,
Giovanni

[1] But you'll end with this:
* DOGS
** Fido 
  :PROPERTIES:
  :ID: dog 
  :COLUMNS: %dog %ITEM %is %BREED %whos %AGE %old
  :dog: Your dog, called
  :is: , is a
  :BREED:West Highland Terrier
  :COLOR:White
  :whos: , who is
  :AGE:  2
  :old: years old.
  :END:
** Templates
*** Dog Template
Your dog, called [HEADLINE], is a [COLOR] [BREED], who is [AGE] years old.
*** Dog column
#+BEGIN: columnview :hlines 1 :id dog
| dog  | ITEM| is | BREED | whos | AGE 
| old|
|--+-++---+--+-+|
| Your dog, called | ** Fido | , is a | West Highland Terrier | , who is |   2 
| years old. |
#+END





Re: [O] Printing in indent mode

2011-09-30 Thread Giovanni Ridolfi
Jarmo Hurri jarmo.hu...@syk.fi writes:

Hi, Jarmo ,

 Jambunathan K kjambunat...@gmail.com writes:

 Is there a way to print the document tree in indent mode so that the
 hidden stars would not show up in the printed version?

 Don't you think exporting the buffer to say pdf is a better option
 than printing the buffer directly?

 That would be very nice, but I do not know how to do this for a
 hierarchical list so that the result would look like a list. I tried
 org-export-as-pdf, but it gives me an output that is far from a list:
 the result is a complete document, with a table of contents, section
 numbering and each item in the list either as a section or a
 subsection.

For a subtree:
* A list
:PROPERTIES:
:EXPORT_TITLE: 
:EXPORT_OPTIONS:  H:0 num:nil toc:nil \n:t @:t ::t |:t ^:t f:nil *:t tags:nil 
TeX:t LaTeX:nil skip:t p:nil  author:nil  email:nil  creator:nil timestamp:nil
:END:
** title of list
*** item 1
 item 1.2
* item 1.3
** item 1.4
*** item 2

C-c @  C-c C-e b [for html]

If you want to export the whole document, please configure the 
#+OPTIONS:  
line accordingly.

hth
Giovanni



[O] [BUG] Re: Time range end in agenda view not displayed

2011-09-30 Thread Giovanni Ridolfi
michael holzer michi_holzer_n...@gmx.at writes:

 When I have an entry that contains a time range, for example:

 * timerange
   2011-09-30 Fri 14:00--2011-09-30 Fri 18:00

 this shows up in the agenda view as:

   uni:14:00.. timerange

 while I would expect something like:

   uni:14:00-18:00 timerange


|the manual says:
|Time ranges can be specified with two timestamps, 
|like ‘2005-05-10 Tue 20:30--2005-05-10 Tue 22:15’.
|
| 20:30-22:15 Marvin escorts the Hitchhikers to the bridge

I confirm this bug.

Org-mode version 7.7 0e9d401519c020af29a7e35da7acfca25e6c3be4
GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO

Giovanni




Re: [O] ODT image export

2011-09-22 Thread Giovanni Ridolfi
Jambunathan K kjambunat...@gmail.com writes:

Hi, Jambunathan,

I've noticed that in the pdf file, you've sent, the 
second headings:

 * Converter Setup
 ** Install BasicODConverter-0.8.0.oxt 
   ^^^
 *** See contrib/odt/BasicODConverter/ 

does _not_ have a space between the dot * and the following word,
i.e. Install, while it does have for the third i.e. *** See
or the fourth heading.

cheers,
Giovanni



Re: [O] ODT image export

2011-09-21 Thread Giovanni Ridolfi
Derek Thomas derekctho...@gmail.com writes:

Hi, Derek
 I got the odt export working and I'm very excited about the
 possibility of using it, but when I export a file with an image link,
 the image isn't embedded.  Instead there's a link to the file.  Do I
 need to take any special steps to embed images in export?

how's your link? could you please verify with the HTML export? 

from the manual Images in HTML export:

By default(1), images are inlined if a link does not have a description.  
So
`[[file:myimg.jpg]]' will be inlined, while 
`[[file:myimg.jpg][the image]]'will just produce a link `the image' that
points to the image.

I think the odt exporter follows such conventions.

hth
Giovanni



Re: [O] question/error concerning EXPORT_OPTIONS

2011-09-19 Thread Giovanni Ridolfi
Rainer Stengele rainer.steng...@online.de writes:

Hi  Rainer,

 for subtree specific html export options what's wrong with

 ** Subtree
   :PROPERTIES:
   :EXPORT_OPTIONS: :t todo:t
   :END:
- contents

 I get this error:

 or: Assertion failed: (functionp (symbol-value fun-var-sym)), nil
I do not.

Org-mode version 7.7 0d580520cc438659bab67004bf1789b2305f6d58
(Yes I'm a bit behind ;-)
GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO

Did you select the subtree ( C-c C-@ ) before exporting ? I did.

cheers,
Giovanni




Re: [O] Org, latex and asymptote in a math project

2011-09-12 Thread Giovanni Ridolfi
Jarmo Hurri jarmo.hu...@syk.fi writes:

Hi, Jarmo,

 1. If I have understood correctly, in order for an asymptote image to be
included as an inline image, one has to specify a file name at the
beginning of the code block, as in

#+CAPTION: A test caption.
#+begin_src asymptote :file foo.pdf
size (1cm, 0);
filldraw (unitsquare, red);
#+end_src

It would be convenient if the user would not need to specify a
(unique) invented file name for the inline image. 
can't you use the link facility?

1. open dired
2. go over the name of the file you need
3. C-c l
   [the path/namefile is saved in the kill ring]
4. back to the buffer you're editing
5. C-c C-l  
   store the link

then you may find worth reading the  section of the manual:
Images in  export
-
 #+CAPTION:The black-body emission of the disk around HR 4049
 #+LABEL:  fig:SED-HR4049
 #+ATTR_LaTeX: width=5cm,angle=90
 [[./img/sed-hr4049.pdf]]
 
 #+ATTR_LaTeX: width=0.38\textwidth wrap placement={r}{0.4\textwidth}
 [[./img/hst.png]]


 2. At least for me, _by far_ the most common way of referring to a
floating element (table or figure) is immediately before or after the
latex code that defines the float. For this, having to generate a
unique label for the float has always been an overkill, and I have
wanted a way to just refer to the previous or next float in the
document. In org this could mean something like specifying
#+AUTOLABEL and then some way of referring to the labels of the next
and previous float (regardless of whether they would be automatically
generated labels or standard named labels). Any support for this? Any
ideas regarding the syntax?
maybe you can use the property  :CUSTOM_ID: ? Manual: Internal links

hth,

Giovanni



Re: [O] Outline and org-mode don't insert text into folded sections logically

2011-09-05 Thread Giovanni Ridolfi
Kelly Dean kellydea...@yahoo.com writes:

 Using Emacs 23.2.1, make a buffer in outline mode and enter this:
 *1A
 Body of 1A
 **2A
 Body of 2A
 ***3A
 Body of 3A

 Org-mode exhibits the same problem which outline mode does. Put spaces
 after the asterisks as org-mode requires, switch to org-mode, and
 cycle visibility to _overview_ to get:  
 * 1A...
 * 1B...

 Put the point at the beginning of the line * 1B..., type test2 and press 
 enter. Now you have:
 * 1A...
 test2
 * 1B...

 Cycle visibility to _show all_, and you see that test2 has been
 entered into the body of 3A.

joking

  thou shalt not edit folded subtrees.

/joking

Hi, Kelly,

I can understand that this seems to be illogical from your point of
view, but  folded subtrees are meant for a faster and cleaner
organization of the text, not for editing.

Once you've decided to edit a subtree you should expand it.

Hope that explains,

Giovanni



Re: [O] CLOCKTABLE multiply time expended by hourly rate?

2011-07-21 Thread Giovanni Ridolfi
Daniel E. Doherty ded-...@ddoherty.net writes:

 Hi all,

 I am trying to use orgmode to bill for time.  My idea is to add a column
 that multiplies the elapsed time column by an hourly rate.

what about using a minute rate?

(/ 50 60.0) 0.83 so:

| Argo Status Hearing 2011-06-28 Tue 09:00 |   |   | 1:09 |  57.27 |
| Letter of Discovery Deficiencies   |   |   | 2:48 | 139.44 |
#+TBLFM: $5=$4*0.83;Df2

cheers,
Giovanni



Re: [O] CLOCKTABLE multiply time expended by hourly rate?

2011-07-21 Thread Giovanni Ridolfi
Daniel E. Doherty ded-...@ddoherty.net writes:

 That's certainly thinking outside the box, but I don't think it
 works. 

Actually, Daniel you don't have to *think*, you've to demonstrate 
that it works or that it doesn't /tertium non datur/.

 In your example, 1:09 represents 1/9th in calc's fraction mode,
 not 1+9/60 which it would have to in order to compute with it.
Not with GNU/Emacs 23.3 calc.

If you bill 50 per 1 hour, you bill

(/ 50 60.0 ) is 0.83 per minute.

If you bill 1 hour + 9 minutes it is 69 minutes

(* 0.83 69) 57.266  = 57.27

isn't it ?

And the fifth column in my table (see below) does compute 57.27 or not?

   You may say: Ah but this is only one example, you've been lucky!

 I reply, what about the second line?

(* (+ 120 48) 0.83) = 139.44

Calc is *really* smart, isn't it?

cheers,
Giovanni


 Regards,

 At Thu, 21 Jul 2011 13:07:28 +0200,
 Giovanni Ridolfi wrote:
 
 Daniel E. Doherty ded-...@ddoherty.net writes:
 
  Hi all,
 
  I am trying to use orgmode to bill for time.  My idea is to add a column
  that multiplies the elapsed time column by an hourly rate.
 
 what about using a minute rate?
 
 (/ 50 60.0) 0.83 so:
 
 | Argo Status Hearing 2011-06-28 Tue 09:00 |   |   | 1:09 |  57.27 |
 | Letter of Discovery Deficiencies   |   |   | 2:48 | 139.44 |
 #+TBLFM: $5=$4*0.83;Df2
 
 



Re: [O] CLOCKTABLE multiply time expended by hourly rate?

2011-07-21 Thread Giovanni Ridolfi
Jonathan Leech-Pepin jonathan.leechpe...@gmail.com writes:

 
  | Argo Status Hearing 2011-06-28 Tue 09:00 |   |   | 1:15 |  62.25 |
  | Letter of Discovery Deficiencies   |   |   | 2:48 | 139.44 |
  #+TBLFM: $5=$4*0.83;Df2

 Or if you want to preserve your rounding until the last point in your
 calculations:

 | Test 1 |   |   | 1:15 |  62.50 |  76 |
 | Test 2 |   |   | 2:48 | 140.00 | 169 |
 #+TBLFM: $5=$4*(50/60.0);Df2::$6=$4+1

 Since 50/60 is 0.8333... by rounding it prematurely you lose some of the
 precision in your billing.

yes, you're right.

Thanks for pointing it out, Jonathan

Giovanni



Re: [O] New backend for org-agenda:

2011-07-20 Thread Giovanni Ridolfi
SAKURAI Masashi m.saku...@kiwanami.net writes:

Hi Masashi,

 At Tue, 19 Jul 2011 01:06:14 +0200,
 Bastien wrote:
 :
  I'm sure that the caching mechanism is useful, but I'm not sure that
  we should do it with paying the large cost of rewrite whole codes.
 
 FWIW, this is a two separate steps process: 1) write a usable cache, 
 then 2) re-implement (parts of) the agenda by using it.
 
 I think (1) could be interesting /per-se/ and if it helps calfw, then
 it's even more interesting.

 What does '/per-se/' mean ?

:-)
it is Latin, an ancient  *European* language
it means:
- 'In itself' 
- Also by itself 
or:
- Without referring to anything else, intrinsically, 
  taken without qualifications, 

 Excuse me for asking a trivial word.
You should excuse our Eurocentrism ;-) 

cheers,
Giovanni 



Re: [O] Can't follow links with id property

2011-07-20 Thread Giovanni Ridolfi
Suvayu Ali fatkasuvayu+li...@gmail.com writes:

 Hi everyone,

 I can't follow links with an ID property. I have attached a minimal
 example org file. Org complains it cannot find a match and prompts to
 create a new headline. Answering yes to the prompt creates a new
 headline like this:

 * id:9dfdc23e-f9ce-413b-b950-fc20fd152e42

Org-mode version 7.6 fe0c013965bc5a15309cec2e4ab4ad78689bc4af
GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO

I confirm Suvayu's bug.

I clicked with the mouse on the link. The backtrace follows.
cheers,
Giovanni


  (save-current-buffer (set-buffer (or reference-buffer ...)) (if (string-match 
 +\\' path) (setq path ...)) (if (and org-link-translation-function ...) (let 
... ...)) (cond (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) 
(... ...) (... ... ...) (... ...) (... ...) (...) (... ... ...) (t ...)))
  (with-current-buffer (or reference-buffer (current-buffer)) (if (string-match 
 +\\' path) (setq path ...)) (if (and org-link-translation-function ...) (let 
... ...)) (cond (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) 
(... ...) (... ... ...) (... ...) (... ...) (...) (... ... ...) (t ...)))
  (let (type path link line search (pos ...)) (catch (quote match) 
(save-excursion ... ...) (when ... ... ...) (save-excursion ...) 
(save-excursion ...) (when ... ... ...)) (unless path (error No link found)) 
(with-current-buffer (or reference-buffer ...) (if ... ...) (if ... ...) (cond 
... ... ... ... ... ... ... ... ... ... ... ... ...)))
  (cond ((and ... ... ...) (or ... ...)) ((run-hook-with-args-until-success 
...)) ((org-at-timestamp-p t) (org-follow-timestamp-link)) ((and ... ...) 
(org-footnote-action)) (t (let ... ... ... ...)))
  (if (call-interactively (function org-babel-open-src-block-result)) nil 
(org-load-modules-maybe) (move-marker org-open-link-marker (point)) (setq 
org-window-config-before-follow-link (current-window-configuration)) 
(org-remove-occur-highlights nil nil t) (cond (... ...) (...) (... ...) (... 
...) (t ...)) (move-marker org-open-link-marker nil) (run-hook-with-args (quote 
org-follow-link-hook)))
  (unless (call-interactively (function org-babel-open-src-block-result)) 
(org-load-modules-maybe) (move-marker org-open-link-marker (point)) (setq 
org-window-config-before-follow-link (current-window-configuration)) 
(org-remove-occur-highlights nil nil t) (cond (... ...) (...) (... ...) (... 
...) (t ...)) (move-marker org-open-link-marker nil) (run-hook-with-args (quote 
org-follow-link-hook)))
  org-open-at-point()
  org-open-at-mouse((mouse-2 (#window 105 on myfile.txt 46572 (258 . 40) 
25770435 nil 46572 (32 . 2) nil (2 . 8) (8 . 16
  call-interactively(org-open-at-mouse nil nil)



Re: [O] entering a date through C-c ! or C-c . in edit mode of column view does not work

2011-07-18 Thread Giovanni Ridolfi
Jean Wallemacq jean.wallem...@skynet.be writes:

Hi, Jean,
 I get the message: C-c ! is undefined

 Actually, I need to record a date for each item, and I would like to
 enter the date using the column mode.  Any idea on how to do it?


would you please 
1. specify Org-version and Emacs version
2. send us a file as a minimal example of the file you're working on and
   a description of what you're trying to achieve.

cheers,
Giovanni
 
Perhaps you should have a property :Date: [2011-06-14 mar] then you
could modify its value with e in column view



Re: [O] agenda view: global todo list

2011-07-15 Thread Giovanni Ridolfi
Sebastien Vauban wxhgmqzgw...@spammotel.com writes:

 Hi William,

 William H. Daffer wrote:
 I'm relatively new to org-mode, I'm liking what I see so far, but I have two
 questions.

 Welcome, then!

 I'm using emacs  23.2.1, org-mode 6.33x

ops! William, this is quite old. please consider update to version 7.6.
You can download it from the orgmode.org site,

and migrate your remember templates to capture templates, as Sebastien
suggested.  From the manual:

  To convert your `org-remember-templates', run the command
 M-x org-capture-import-remember-templates RET
and *then customize* 
  the new variable with `M-x customize-variable org-capture-templates', 
  check the result, and save the customization.
  You can then use both remember and capture until you are familiar with
  the new mechanism.

cheers,
Giovanni



Re: [O] Using org-mode for Research and Notetaking

2011-07-12 Thread Giovanni Ridolfi
Florian Beck abstrakt...@t-online.de writes:

Hi, Florian,

My org version is:
Org-mode version 7.5 311b09d92644f39040087327d6a1dbeb09a9ab6e

 I don't want to see todo-keywords and TAGs in
  the output. How do I get rid of them?
In the manual,

Export options.
#+OPTIONS:  todo: nil

manual explanation:

#+OPTIONS:  todo:   turn on/off inclusion of TODO keywords into exported 
text
tags:turn on/off inclusion of tags, may also be  
`not-in-toc'

 How about caching the data and update on saving
  an org-agenda file?

Bastien just said:
 I've never been a big fan of caching Org files information, because Org
  files are often modified in impredictible ways.  But if we can update
  the cache quickly, then it will certainly be useful.

  However it will stress the disk.


  3. By default, tags cannot contain spaces or commas. 
yes, but you can use underscore: _

[...]
 a TODO item should
  not be part of your text but disappear when it is done.

you can archive the task/headline, when it is done.

cheers,
Giovanni



Re: [O] Problem with ''Emphasis and monospace`` text

2011-07-07 Thread Giovanni Ridolfi
Guido Van Hoecke gu...@vanhoecke.org writes:

Hi, Guido,
 Hi,

 The orgmode help file states that text 
Actually the manual states that *words*, not 'text' or lines [1]

[1] manual: Emphasis and monospace

 can be changed to *bold* by
 embedding it in a couple of '*' characters. 

 *This works file with text
 that is not longer than three lines*.

Try to write the text in the same line (M-x toggle-truncate-lines should
help ;).

See also Jambunathan's answer here:
http://lists.gnu.org/archive/html/emacs-orgmode/2011-05/msg00194.html

 I was wondering whether this limitation is configurable?
no

cheers, 
Giovanni



Re: [O] Release 7.6

2011-07-07 Thread Giovanni Ridolfi
Bastien b...@altern.org writes:

Hi, Bastien

 I'm releasing Org 7.6.
Thanks. However in commit:

http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=0fba25a37fadef195ad02eeb035dd61c75919b08

|--- a/doc/org.texi
|+++ b/doc/org.texi
|@@ -4,8 +4,8 @@
| @setfilename ../../info/org
| @settitle The Org Manual
| 
|-@set VERSION 7.5
|-@set DATE March 2011
|+@set VERSION 7.6
|+@set DATE juillet 2011
| ^^^

irony on
why did you not change in:

|+@set JOUR juillet 2011

;-)

I see, perhaps you did not like the alliteration.
:-D

cheers,
Giovanni



Re: [O] Problem loading org-odt [Re: Release 7.6]

2011-07-07 Thread Giovanni Ridolfi
Pere Quintana Seguí pquint...@obsebre.es writes:

 I was very happy to see the new release with ODT support. This is great.

 I downloaded org-mode 7.6 and installed it as I always do.

 1. Untar
[...]

 (setq load-path (cons ~/.emacs.d/lisp/org-7.6/lisp load-path))
 (require 'org-install)
[...]

 5. Then I loaded an org file and tried to export: C-c C-e o, and I got
 the following message: =Cannot open load file: org-odt=

 I'm sure I'm missing something very simple.


(setq load-path (cons ~/.emacs.d/lisp/org-7.6/CONTRIB/lisp load-path))
 ^^^

cheers
Giovanni



Re: [O] bug: footnotes do not export to HTML

2011-07-05 Thread Giovanni Ridolfi
Nicolas Goaziou n.goaz...@gmail.com writes:

 Hello,

 Samuel Wales samolog...@gmail.com writes:

 I find that in recent git org, footnotes do not export to HTML.  The
 calls export, but the footnotes do not.

 As I cannot reproduce this on my test files, I will need an ECM to debug
 this.
could it be an Emacs 22 specific issue?

Giovanni



Re: [O] org-install ?

2011-07-01 Thread Giovanni Ridolfi
Memnon Anon gegendosenflei...@googlemail.com writes:

Memnon and Michael, thank you for your time,

this is just for archival purpose.

 Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

 GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO
 Org-mode version 7.5 9c582ceed8c4ffc1b83f719f8bcabbc2e23027b2 

 I used to have a 
 \lisp\org-install.el
 file in my load path. This file was there since 
 20th October 2010 and everythig has been fine untill today.

 I've just found that in the latest version of org-mode 
 there's no  \lisp\org-install.el anymore.

 ma@mymachine:~/tmp/bin/org-mode$ git pull
[...]
4f3a31d..ffa016b  master - origin/master
 [...]
 ma@mymachine:~/tmp/bin/org-mode$ make clean
 [...]
 ma@mymachine:~/tmp/bin/org-mode$ make
 [...]
 ma@mymachine:~/tmp/bin/org-mode$ ls -alh lisp/org-install.*
 -rw-r--r-- 1 ma ma 66K 30. Jun 20:07 lisp/org-install.el

 Its still there.

I am on a windows machine where I cannot have git neither cygwin,
since I have only user permission.

This morning (in Italy, 8.00 UTC) I downloaded the tar.gz of
Org-mode version 7.5 311b09d92644f39040087327d6a1dbeb09a9ab6e

and the org-install.el file is not in the tar.gz file.

I surfed the git repository with my browser and found that
in the /org/lisp directory:

http://orgmode.org/w/?p=org-mode.git;a=tree;f=lisp;h=5be11d857b3b180d058ad25b5a985d0ac798e41b;hb=311b09d92644f39040087327d6a1dbeb09a9ab6e

there's no org-install.el.

This is (now) obvious, since org-install.el is generated by make, as can be
read in the makefile.
---
# The following variables need to be defined by the maintainer
LISPF  = [snip]
LISPFILES0  = $(LISPF:%=lisp/%)
LISPFILES   = $(LISPFILES0) lisp/org-install.el
[...]
mv org-install.el lisp # ! aha! :-/


However searching the history of makefile
http://orgmode.org/w/?p=org-mode.git;a=history;f=Makefile;hb=912ca556015c745a035d481b18d3e3bf8e930955

I was not able to find when this procedure was introduced. 
Moreover the commits arount 20th October 2010 leave 
untouched such part of the makefile.
Where does my org-install.el come from? Impossible to know.

Even it is a complex file! this is its head:

  ;;;### (autoloads (org-customize org-reload org-require-autoloaded-modules
  ;;  org-submit-bug-report org-cycle-agenda-files org-switchb
  ;;  org-map-entries org-open-link-from-string org-open-at-point-global
  ;;  org-insert-link-global org-store-link org-run-like-in-org-mode
  ;;  turn-on-orgstruct++ turn-on-orgstruct orgstruct-mode org-global-cycle
  ;;  org-mode org-babel-do-load-languages) org lisp/org.el
  ;;  (19641 15028))
  ;;; Generated autoloads from lisp/org.el

So I have some questions and answers: 

- (Since we are aiming to release org 7.6) will the org-install.el be
  generated during such process?
- and during the compilation of Emacs 24?  

+ I checked  version 6.21b (2009-02-02), shipped with Emacs 23.1,
  and it seems to me that there's no org-install file.
  so probably it will be generated during the compilation of Emacs 24.

- Is it possible that, after 20th october 2010, something changed and 
  the install file is generated *only* with the make command? 

+ well looking through the history of makefile it seems that org-install
  has been generated at least since 
  2008-01-31 Carsten Dominik Release 5.18  release_5.18.
  bah?!

cheers,
Giovanni 
/who have to find a way to create the org-install.el without using make
 or using make, but without compiling org-mode. No .elc file around,
 please! :-)
Perhaps it is time to get Emacs 24 or package manager ;-)



Re: [O] Jambunathan's ODT exporter now in contrib/

2011-07-01 Thread Giovanni Ridolfi
Niels Giesen niels.gie...@gmail.com writes:

Hi, Niels,
 Using latest org-mode, with org-odt included.

 C-c C-e O complained about not finding OrgOdtAutomaticStyles.xml.
 I patched org-odt.el to the following so that it could find it:

it was applied 22 minutes ago by Bastien.

a51c5637f9c9c8a20eaa063cd35427ffd211787d

cheers
Giovanni



[O] org-install ?

2011-06-30 Thread Giovanni Ridolfi
Hello everyone,

GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO
Org-mode version 7.5 9c582ceed8c4ffc1b83f719f8bcabbc2e23027b2 

I used to have a 
\lisp\org-install.el
file in my load path. This file was there since 
20th October 2010 and everythig has been fine.

I've just found that in the latest version of org-mode 
there's no  \lisp\org-install.el anymore.

For this reason I cannot call babel from my .emacs

(org-babel-do-load-languages 
anymore, because shows the error:
 Symbol's function definition is void: org-babel-do-load-languages

If I comment babel's lines with a just opened Emacs

I cannot open a capture buffer 
C-c c 
Symbol's function definition is void: org-capture

However I can run the *agenda* C-c a command that, correctly,
loads org and shows me the buffer with agenda options.

I'm puzzled.

cheers,

Giovanni



  1   2   3   4   >