Re: [O] Symbol's function definition is void: search

2012-10-02 Thread Sanjib Sikder
Hi,

UPDATE: The same files when I ran and exported on my department computer,
it is working fine.

Thanks a lot.

Yesterday I was trying on my laptop. Both the machines have latest
emacs-snapshot and Ubuntu 12.04. Any comment on this will be appreciated.

Thanks again.

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Wed, Oct 3, 2012 at 11:46 AM, Sanjib Sikder wrote:

> Hi,
>
> I am sure it is not a case of missing reference. The reasons are 1) I have
> checked it 2) The reftex shows those references correctly and I can
> incorporate the reference from the search in my org file 3) rtcite
> successfully links the references and I can jump to those references using
> the links made in the document.
>
> So must be there is something needs to be added in the .emacs or there are
> some other ways to solve the problem, if it is not some error in orgmode.
>
> I had provided the files and .emacs content in my first mail. If it is
> needed, I can send the files.
>
>
> Thanks.
>
>
> -
> *Sanjib Sikder
> *Ph.D. Fellow
> Chemical Engineering
> IIT Bombay*
>
> *
>
>
>
> On Wed, Oct 3, 2012 at 11:34 AM, Bastien  wrote:
>
>> Hi Sanjib,
>>
>> Sanjib Sikder  writes:
>>
>> > Can anybody help me out please ? I still could not export it to pdf.
>>
>> It looks like this is a problem of a missing reference, not a problem
>> with Org.  You need to check the BibTeX references.
>>
>> --
>>  Bastien
>>
>
>


Re: [O] ORG_ADD_CONTRIB and org-e-odt.el don't always play well together

2012-10-02 Thread Nick Dokos
Achim Gratz  wrote:

> Nick Dokos writes:
> > I added the following to my local.mk
> >
> > ORG_ADD_CONTRIB = org-e-*
> >
> > so when I do "make autoloads" (running from the git directory and
> > without compiling), it copies (among others) contrib/lisp/org-e-odt.el
> > to lisp/:
> >
> > ,
> > | $ make autoloads
> > | make -C lisp autoloads
> > | make[1]: Entering directory `/home/nick/src/emacs/org/org-mode/lisp'
> > | rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc
> > | install -m 644 -p ../contrib/lisp/org-e-ascii.el 
> > ../contrib/lisp/org-e-beamer.el ../contrib/lisp/org-e-groff.el\
> > |   ../contrib/lisp/org-e-html.el 
> > ../contrib/lisp/org-e-latex.el ../contrib/lisp/org-e-man.el\
> > |   ../contrib/lisp/org-e-odt.el 
> > ../contrib/lisp/org-e-publish.el ../contrib/lisp/org-e-texinfo.el .
> > | org-version: 7.9.2 (release_7.9.2-382-g1ef9ee)
> > `
> >
> > When I then try to org-reload, I get an error because
> > org-e-odt.el restricts the path of the style file to one of three
> > choices (../../etc/styles, ../../etc/org, ../etc/org) relative to where
> > org-e-odt.el is found. None of these is satisfactory in this context: it
> > would have to be ../etc/styles.
> 
> It would work if Bastien had not unilaterally decided to remove the
> configuration variable that allowed one to point to the correct place.
> Until he's made up his mind on how to deal with the breakage, please
> help yourself out with a symlink or similar kludge.
> 
> 

It's no big deal for me: I just stumbled across it and I thought I'd report it.

Nick




Re: [O] Symbol's function definition is void: search

2012-10-02 Thread Sanjib Sikder
Hi,

I am sure it is not a case of missing reference. The reasons are 1) I have
checked it 2) The reftex shows those references correctly and I can
incorporate the reference from the search in my org file 3) rtcite
successfully links the references and I can jump to those references using
the links made in the document.

So must be there is something needs to be added in the .emacs or there are
some other ways to solve the problem, if it is not some error in orgmode.

I had provided the files and .emacs content in my first mail. If it is
needed, I can send the files.

Thanks.


-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Wed, Oct 3, 2012 at 11:34 AM, Bastien  wrote:

> Hi Sanjib,
>
> Sanjib Sikder  writes:
>
> > Can anybody help me out please ? I still could not export it to pdf.
>
> It looks like this is a problem of a missing reference, not a problem
> with Org.  You need to check the BibTeX references.
>
> --
>  Bastien
>


Re: [O] ORG_ADD_CONTRIB and org-e-odt.el don't always play well together

2012-10-02 Thread Achim Gratz
Nick Dokos writes:
> I added the following to my local.mk
>
> ORG_ADD_CONTRIB = org-e-*
>
> so when I do "make autoloads" (running from the git directory and
> without compiling), it copies (among others) contrib/lisp/org-e-odt.el
> to lisp/:
>
> ,
> | $ make autoloads
> | make -C lisp autoloads
> | make[1]: Entering directory `/home/nick/src/emacs/org/org-mode/lisp'
> | rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc
> | install -m 644 -p ../contrib/lisp/org-e-ascii.el 
> ../contrib/lisp/org-e-beamer.el ../contrib/lisp/org-e-groff.el\
> |   ../contrib/lisp/org-e-html.el 
> ../contrib/lisp/org-e-latex.el ../contrib/lisp/org-e-man.el\
> |   ../contrib/lisp/org-e-odt.el 
> ../contrib/lisp/org-e-publish.el ../contrib/lisp/org-e-texinfo.el .
> | org-version: 7.9.2 (release_7.9.2-382-g1ef9ee)
> `
>
> When I then try to org-reload, I get an error because
> org-e-odt.el restricts the path of the style file to one of three
> choices (../../etc/styles, ../../etc/org, ../etc/org) relative to where
> org-e-odt.el is found. None of these is satisfactory in this context: it
> would have to be ../etc/styles.

It would work if Bastien had not unilaterally decided to remove the
configuration variable that allowed one to point to the correct place.
Until he's made up his mind on how to deal with the breakage, please
help yourself out with a symlink or similar kludge.


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

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] Symbol's function definition is void: search

2012-10-02 Thread Bastien
Hi Sanjib,

Sanjib Sikder  writes:

> Can anybody help me out please ? I still could not export it to pdf.

It looks like this is a problem of a missing reference, not a problem
with Org.  You need to check the BibTeX references.

-- 
 Bastien



Re: [O] Symbol's function definition is void: search

2012-10-02 Thread Sanjib Sikder
Hi,

Can anybody help me out please ? I still could not export it to pdf.

Thanks.

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Tue, Oct 2, 2012 at 8:02 PM, Sanjib Sikder wrote:

> Hi,
>
> I did what you said but still it is giving the same error,..[undefined
> reference]
>
> There is one line in the org file
>
>
> [[papers:paper2012][paper2012-paper]]
> [[bib:paper2012][paper2012-bib]]
> [[biblist:paper2012][paper2012-biblist]]
>
> This line is giving the error. If I remove this line from my org file,
> then everything is perfect. While I am trying to export pdf including that
> line, i am getting the error .[undefined reference].
>
> Thanks a lot.
>
>
> -
> *Sanjib Sikder
> *Ph.D. Fellow
> Chemical Engineering
> IIT Bombay*
>
> *
>
>
>
> On Tue, Oct 2, 2012 at 7:55 PM, Bastien  wrote:
>
>> Hi Sanjib,
>>
>> Sanjib Sikder  writes:
>>
>> > or only
>> >
>> > (search "rtcite:" desc)))
>> >
>> >
>> >
>> > with this
>> >
>> >   (or search "rtcite:" desc)))
>>
>> only this line.
>>
>> You get this error because Emacs tries to evaluate
>>
>>   (search "rtcite:" desc)
>>
>> ... and it cannot, because search is not a function.
>> Search here is a variable (a string), hence
>> (or search "rtcite:" desc))) should return something
>> sensible.
>>
>> HTH,
>>
>> --
>>  Bastien
>>
>
>


Re: [O] From latest maint/master, no need to (require 'org-install)

2012-10-02 Thread Torsten Wagner
On 2 October 2012 22:49, Bastien  wrote:
> Hi Torsten,
>
> Torsten Wagner  writes:
>
>> Anyhow I just realized that ELPA contains
>> "org" and "org-plus-contrib"
>> I stupidly overlooked that and always read
>> "org" or "org-contrib"
>>
>> Well, thats the way many Linux distros does that kind of things. Sure
>> enough org-contrib would need org as a requirement.
>> Maybe thats not possible in ELPA yet?!
>
> org-plus-contrib has this lenghthy name precisely to make sure that
> people know this is Org + Contributed files, not just contributed files.

Well I said  "I stupidly overlooked that", did I ;)

Greetings

Torsten



Re: [O] Clocktable: Put summary line as table caption

2012-10-02 Thread Nicolas Goaziou


Hello,

"Sebastien Vauban"
 writes:

> Here it is:

It looks good to me.

My only concern is about export back-ends that do not support captions
(I can't think of any atm). For them, the information will be lost.

On the other hand, adding a defcustom or a dynamic block property to
toggle between captioned and non-captioned table would be overkill.

I will commit it if there is no objection.


Regards,

-- 
Nicolas Goaziou




Re: [O] tables once again

2012-10-02 Thread Thomas S. Dye
Neuwirth Erich  writes:

> Here is my example (slightly modified) again,
> I still cannot get it to work the way I want it:
>
>
>
> In my .emacs I have (among other things)
>
>
> (require 'org-install)
> (require 'org-e-latex)
> (require 'org-e-html)
> ;;(require 'org-e-ascii)
>
> ;; using the new exporter
> (global-set-key (kbd "C-c C-e") 'org-export-dispatch)
>
>
> Doing C-c C-e still gives me the old dispatcher, not the new one.
> M-x org-export-dispatch
> does give me the new dispatcher.
>
> How can I bind the new dispatcher to C-c C-e?

I bind it to C-c e, so I can use either the old exporter or the new one.

  (define-key org-mode-map (kbd "C-c e") 'org-export-dispatch)

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] Bug: Bad timestamp 'habit'

2012-10-02 Thread Bill Jacobson

On 10/02/2012 05:05 PM, T.F. Torrey wrote:

Hello,

I am currently unable to produce an agenda from my files.  This bug
crept in somewhere in the last few days, but I'm not sure exactly when.

This habit timestamp:

SCHEDULED: <2012-08-08 Wed .+1d>

Produces this error:

condition-case: Bad timestamp `habit' at 210773 in buffer `Writing.org'
Error was: (Not a standard Org-mode time string: habit)

It works if I use the min/max format (<2012-08-08 Wed .+1d/2d>), but I
don't want to do that, and according to the manual, that isn't required.

Also, in this bug report data, I wonder why org-loaddefs.el can not be
found.  I run the org from a git repo, not compiled.

Emacs : GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2) of
  2012-09-28 on louvi, modified by Debian Package: Org-mode version 7.9.2
  (release_7.9.2-383-g09d6bc-git @ org-loaddefs.el can not be found!)

If no one else sees this, I'll dig through my files to see what's
broken, but I see lots of work has been done to the agenda creator
recently, and maybe this is a new problem and an easy fix.

Best,
Terry

Same problem here: GNU Emacs 24.2.1 Org-mode version 7.9.2 
(release_7.9.2-382-g1ef9ee)


I pull nightly and first noticed this behavior today.

-Bill




Re: [O] tables once again

2012-10-02 Thread Neuwirth Erich
Here is my example (slightly modified) again,
I still cannot get it to work the way I want it:



In my .emacs I have (among other things)


(require 'org-install)
(require 'org-e-latex)
(require 'org-e-html)
;;(require 'org-e-ascii)

;; using the new exporter
(global-set-key (kbd "C-c C-e") 'org-export-dispatch)


Doing C-c C-e still gives me the old dispatcher, not the new one.
M-x org-export-dispatch
does give me the new dispatcher.

How can I bind the new dispatcher to C-c C-e?






Re: [O] From latest maint/master, no need to (require 'org-install)

2012-10-02 Thread Charles

Bastien,

Early this morning, i.e. before your message, I pulled from git, ran 
make update2 and at the end of compiling org-loaddefs.el was mentioned 
as  not loaded. This in cygwin.


This evening I followed your instructions (I think!)  and ran 
~/elisp/org-mode  && make autoloads


Then make update2; at the end of this it complained about org-version.el

I ran make autoloads again and then make update2 - no complaints this time.

Was this to be expected?

Windows 7 HP 64
Emacs 24.2.1
cygwin 1.7.16
org version 7.9.2 (release_7.9.2-383-g09d6bc) (which I obtained by M-x 
org-version)


Charlie Millar

On 10/2/2012 9:15 AM, Bastien wrote:

Hi all,

there is no need to (require 'org-install) anymore from the maint
and master branches.

When using the Org distribution that comes with Emacs, Emacs will add
Org's autoloaded core functions to [emacs]/lisp/loaddefs.el and the rest
of the autoloaded functions to [emacs]/lisp/org/org-loaddefs.el.  This
is an improvement over the present situation, where *all* autoloaded
functions where added to Emacs' loaddefs.el -- too much.  This is not
yet in Emacs trunk but will be in Emacs 24.3.

When getting Org as a .tar.gz/.zip archive file, you'll have a file
org-loaddefs.el in the lisp/ directory -- this file is now loaded when
org.el is loaded.

When getting Org from ELPA (either "org" or "org-plus-contrib"),
org-loaddefs.el will also be in the load-path.

When getting Org from git, you *HAVE* to created org-loaddefs.el with
`make autoloads' (which is also run by a simple `make'), otherwise
some needed functions will not be autoloaded.

You can check whether org-loaddefs.el has been correctly been loaded
with M-x org-version RET.

Thanks,






[O] Bug: Bad timestamp 'habit'

2012-10-02 Thread T.F. Torrey
Hello,

I am currently unable to produce an agenda from my files.  This bug
crept in somewhere in the last few days, but I'm not sure exactly when.

This habit timestamp:

SCHEDULED: <2012-08-08 Wed .+1d>

Produces this error:

condition-case: Bad timestamp `habit' at 210773 in buffer `Writing.org'
Error was: (Not a standard Org-mode time string: habit)

It works if I use the min/max format (<2012-08-08 Wed .+1d/2d>), but I
don't want to do that, and according to the manual, that isn't required.

Also, in this bug report data, I wonder why org-loaddefs.el can not be
found.  I run the org from a git repo, not compiled.

Emacs : GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2) of
 2012-09-28 on louvi, modified by Debian Package: Org-mode version 7.9.2
 (release_7.9.2-383-g09d6bc-git @ org-loaddefs.el can not be found!)

If no one else sees this, I'll dig through my files to see what's
broken, but I see lots of work has been done to the agenda creator
recently, and maybe this is a new problem and an easy fix.

Best,
Terry
-- 
T.F. Torrey



Re: [O] Source code files and org mode files

2012-10-02 Thread Fabrice Popineau
--8<---cut here---start->8---
> #+include: "foo.c" src c
> --8<---cut here---end--->8---
>
> See (info "(org) Include files") for details.
>
> Thanks a lot. I was looking around "block_example" and source code
handling.
I should have broaden my mind :-)

Greetings,

Fabrice


Re: [O] Source code files and org mode files

2012-10-02 Thread Nick Dokos
Fabrice Popineau  wrote:

> Hi,
> 
> Is it possible to link to an external source code file from an org mode file 
> (for example from an org mode code block)
> so that the source code file will be exported "inline" wrt to the org-mode 
> file ?
> 
> Thanks for any clue,
> 

--8<---cut here---start->8---
#+include: "foo.c" src c
--8<---cut here---end--->8---

See (info "(org) Include files") for details.

Nick



[O] Source code files and org mode files

2012-10-02 Thread Fabrice Popineau
Hi,

Is it possible to link to an external source code file from an org mode
file
(for example from an org mode code block)
so that the source code file will be exported "inline" wrt to the org-mode
file ?

Thanks for any clue,

Fabrice


[O] [PATCH] make org-agenda-later honor arg when current span is a number

2012-10-02 Thread Ingo Lohmar
Hi All,

I just fixed an oversight (I suppose) in org-agenda.el.  When
org-current-agenda-span is a number of days (my standard agenda
shows 2 days), org-agenda-later does not respect the argument.
In particular that means pressing "b" goes forward instead of
backward!  The trivial patch for release 7.9.2:

--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -7071,7 +7071,7 @@
 greg2)
 (cond
  ((numberp span)
-  (setq sd (+ span sd)))
+  (setq sd (+ (* span arg) sd)))
  ((eq span 'day)
   (setq sd (+ arg sd)))
  ((eq span 'week)

Regards,
Ingo





Re: [O] Add number of items in the lists

2012-10-02 Thread Sebastien Vauban
Hi Bastien,

Bastien wrote:
> "Sebastien Vauban" writes:
>
>> * org-agenda.el (org-todo-list): Add the number of items in the lists.
>
> I don't think this is useful in general, but might be useful for some users
> with a lot of items in their agendas :)

I personally think that, even for small numbers, it is a nice nice-to-have...

> Maybe some `org-agenda-header-format' custom variable could do.

But I have no problem to make that optional.

What do you have in mind: something like `org-clock-file-time-cell-format'
where one can write %s or not (for disabling the display of the number), and
to add decorations around, such as parentheses or spaces or ...?

> Also have a look at `org-agenda-title-append' which is currently
> only used by org-mobile to add stuff here.  But could be combined
> with a format string, or an option to add an overlay...

I must admit I did not really understand how `org-agenda-title-append' is
used, not using OrgMobile myself. IIUC, it's a property (i.e., not displayed
as such in the buffer, right?).

You also evoke an overlay (instead of a real string inserted in the buffer):
any reason for preferring that approach?

FYI, my patch works well, except that the number is not updated when we apply
tag filtering (while the list of items is well reduced). Does this (in your
point of view) exclude any of the mentioned alternatives to go?

Best regards,
  Seb

-- 
Sebastien Vauban




[O] ORG_ADD_CONTRIB and org-e-odt.el don't always play well together

2012-10-02 Thread Nick Dokos
I added the following to my local.mk

ORG_ADD_CONTRIB = org-e-*

so when I do "make autoloads" (running from the git directory and
without compiling), it copies (among others) contrib/lisp/org-e-odt.el
to lisp/:

,
| $ make autoloads
| make -C lisp autoloads
| make[1]: Entering directory `/home/nick/src/emacs/org/org-mode/lisp'
| rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc
| install -m 644 -p ../contrib/lisp/org-e-ascii.el 
../contrib/lisp/org-e-beamer.el ../contrib/lisp/org-e-groff.el\
|   ../contrib/lisp/org-e-html.el 
../contrib/lisp/org-e-latex.el ../contrib/lisp/org-e-man.el\
|   ../contrib/lisp/org-e-odt.el 
../contrib/lisp/org-e-publish.el ../contrib/lisp/org-e-texinfo.el .
| org-version: 7.9.2 (release_7.9.2-382-g1ef9ee)
`

When I then try to org-reload, I get an error because
org-e-odt.el restricts the path of the style file to one of three
choices (../../etc/styles, ../../etc/org, ../etc/org) relative to where
org-e-odt.el is found. None of these is satisfactory in this context: it
would have to be ../etc/styles.

Nick








Re: [O] Clocktable: Put summary line as table caption

2012-10-02 Thread Sebastien Vauban
Hello Nicolas,

Nicolas Goaziou wrote:
> "Sebastien Vauban" writes:
>> Looking at the presentation of the clocktable, I find that its "summary" line
>> should be converted into a caption, as any legend would be for any regular
>> table.
>>
>> You can see its effect:
>>
>> #+BEGIN: clocktable :maxlevel 1 :scope file
>> #+CAPTION: Clock summary at [2012-10-01 Mon 23:18]
>>
>> | Headline| Time |
>> |-+--|
>> | Total time  | 4:00 |
>> |-+--|
>> | Development | 4:00 |
>> #+END:
>
> There shouldn't be any space between the caption an the table.

Here it is:

>From 5b990eeb2cd6f75a1292ff90c967019ce69fec98 Mon Sep 17 00:00:00 2001
From: Sebastien Vauban 
Date: Tue, 2 Oct 2012 22:20:36 +0200
Subject: [PATCH] Put the clocktable summary line as a CAPTION

* org-clock.el (org-clocktable-write-default): Insert the summary as a
  standard #+CAPTION keyword for the (clock) table.

TINYCHANGE
---
 lisp/org-clock.el |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index fc34bf9..e90c1d6 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -2349,13 +2349,14 @@ from the dynamic block definition."
  (or header
 ;; Format the standard header
 (concat
+ "#+CAPTION: "
  (nth 9 lwords) " ["
  (substring
   (format-time-string (cdr org-time-stamp-formats))
   1 -1)
  "]"
  (if block (concat ", for " range-text ".") "")
- "\n\n")))
+ "\n")))

 ;; Insert the narrowing line
 (when (and narrow (integerp narrow) (not narrow-cut-p))
--
1.7.9

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] From latest maint/master, no need to (require 'org-install): Lisp error

2012-10-02 Thread Achim Gratz
johnl...@johnrakestraw.com writes:
> fwiw, I updated via git this morning and entered the same problem with
> the same error message. I'm swamped and didn't have time to debug
> further (though I did check list-load-path-shadows and didn't see a
> problem there).

That's what Git is for:

git reflog -5 HEAD

will show you where your branch head was for the last five operations
that moved it.  If you want to go back 2 steps you'd say

git checkout HEAD@{2}

for instance.  No need to deal with pesky tar files.


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

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs




Re: [O] From latest maint/master, no need to (require 'org-install): Lisp error

2012-10-02 Thread johnlist

On 02.10.2012 11:28, Rainer Stengele wrote:

run

make autoloads

at least once before

make update


sorry but no.

Still complaining about org-version ..

Rainer


fwiw, I updated via git this morning and entered the same problem with 
the same error message. I'm swamped and didn't have time to debug 
further (though I did check list-load-path-shadows and didn't see a 
problem there).


I reverted to current stable version (tar.gz) and this loads fine.

emacs 24.2.1
Org-mode version 7.9.2 (7.9.2-dist @ /home/me/elisp/org-mode/lisp/)

--
John



Re: [O] From latest maint/master, no need to (require 'org-install): Lisp error

2012-10-02 Thread Bastien
Rainer Stengele  writes:

> Still complaining about org-version ..

Dong!  Fixed.  Please pull again.

-- 
 Bastien



Re: [O] From latest maint/master, no need to (require 'org-install): Lisp error

2012-10-02 Thread Rainer Stengele
Am 02.10.2012 17:20, schrieb Bastien:
> Rainer Stengele  writes:
> 
>> What is wrong in my setup?
> 
> run
> 
> make autoloads 
> 
> at least once before 
> 
> make update
> 
sorry but no.

Still complaining about org-version ..

Rainer



Re: [O] From latest maint/master, no need to (require 'org-install)

2012-10-02 Thread Bastien
Rainer M Krug  writes:

> I guess you mean instead of the make ... commands - right? The git
> ... have to stay I assume?

Nope... `make update' will do everything for you.

Try `make helpall' to get more info.

> now I can sleep a little better,

:)

-- 
 Bastien



Re: [O] From latest maint/master, no need to (require 'org-install): Lisp error

2012-10-02 Thread Bastien
Rainer Stengele  writes:

> What is wrong in my setup?

run

make autoloads 

at least once before 

make update

-- 
 Bastien



Re: [O] From latest maint/master, no need to (require 'org-install): Lisp error

2012-10-02 Thread Rainer Stengele
Am 02.10.2012 16:20, schrieb Bastien:
> Hi Rainer,
> 
> Rainer M Krug  writes:
> 
>> Org-mode version 7.9.2 (release_7.9.2-352-g7f74da.dirty @
>> /home/rkrug/.emacs.d/org-mode/lisp/)
> 
> Looks fine.
> 
>> I use org mode from git, and my update script for org from git is:
>>
>> #!/bin/sh
>> cd ~/.emacs.d/org-mode-git/org-mode
> 
> Okay.
> 
>> git checkout master
>> git fetch --tags origin
>>
>> # git clone git://repo.or.cz/org-mode.git
>> git pull
>> git gc
>>
>> git checkout master
>>
>> make clean
>> make
>> make autoloads
>> make doc
>> make info
>>
>> # make install
> 
> Instead of the above quote you can simply use
> 
> make update
> 
> (And you can clone from git://orgmode.org/org-mode.git
> it will be faster and more recent. repo.or.cz is behind
> by one hour.) 
> 
>> Is this OK, or should I change something in the script? Or switch to ELPA 
>> (emacs 24.2.1)?
> 
> Things look okay.  My suggestions are just to spare some lines.
> 
> Best,
> 
Hi!

I tried "make update" and ended up here:

Debugger entered--Lisp error: (error "Required feature `org-version' was
not provided")
  require(org-version
"c:/Users/rainer/AppData/Roaming/.emacs.d/org/lisp/org-version.el" noerror)
  (if (require (quote org-version) org-version\.el (quote noerror))
(quote (progn (autoload (quote org-release) "org-version.el") (autoload
(quote org-git-version) "org-version.el"))) (if (require (quote
org-fixup) org-fixup\.el (quote noerror)) (quote (org-fixup)) (warn
"Could not define org version correctly.  Check installation!") (quote
(progn (defun org-release nil "N/A") (defun org-git-version nil "N/A
!!check installation!!")
  (let* ((org-dir (org-find-library-dir "org")) (org-version\.el (concat
org-dir "org-version.el")) (org-fixup\.el (concat org-dir
"../mk/org-fixup.el"))) (if (require (quote org-version) org-version\.el
(quote noerror)) (quote (progn (autoload (quote org-release)
"org-version.el") (autoload (quote org-git-version) "org-version.el")))
(if (require (quote org-fixup) org-fixup\.el (quote noerror)) (quote
(org-fixup)) (warn "Could not define org version correctly.  Check
installation!") (quote (progn (defun org-release nil "N/A") (defun
org-git-version nil "N/A !!check installation!!"))
  (lambda nil "Try very hard to provide sensible version strings." (let*
((org-dir (org-find-library-dir "org")) (org-version\.el (concat org-dir
"org-version.el")) (org-fixup\.el (concat org-dir
"../mk/org-fixup.el"))) (if (require (quote org-version) org-version\.el
(quote noerror)) (quote (progn (autoload (quote org-release)
"org-version.el") (autoload (quote org-git-version) "org-version.el")))
(if (require (quote org-fixup) org-fixup\.el (quote noerror)) (quote
(org-fixup)) (warn "Could not define org version correctly.  Check
installation!") (quote (progn (defun org-release nil "N/A") (defun
org-git-version nil "N/A !!check installation!!")))()
  (org-check-version)
  eval-buffer(#> nil
"c:/Users/rainer/AppData/Roaming/.emacs.d/org/lisp/org.el" nil t)  ;
Reading at buffer position 9046

load-with-code-conversion("c:/Users/rainer/AppData/Roaming/.emacs.d/org/lisp/org.el"
"c:/Users/rainer/AppData/Roaming/.emacs.d/org/lisp/org.el" nil t)
  require(org)
  byte-code("\300\301!\210\300\302!\207" [require org find-func] 2)
  require(org-exp-blocks)
  eval-buffer(# nil
"c:/Users/rainer/AppData/Roaming/.emacs" nil t)  ; Reading at buffer
position 6546
  load-with-code-conversion("c:/Users/rainer/AppData/Roaming/.emacs"
"c:/Users/rainer/AppData/Roaming/.emacs" t t)
  load("~/.emacs" t t)
  #[0 "\205\262


What is wrong in my setup?

Rainer



Re: [O] Add number of items in the lists

2012-10-02 Thread Bastien


Hi Sébastien,

"Sebastien Vauban"
 writes:

> * org-agenda.el (org-todo-list): Add the number of items in the lists.

I don't think this is useful in general, but might be 
useful for some users with a lot of items in their agendas :)

Maybe some `org-agenda-header-format' custom variable could do.

Also have a look at `org-agenda-title-append' which is currently
only used by org-mobile to add stuff here.  But could be combined
with a format string, or an option to add an overlay...

5 cts,

-- 
 Bastien




Re: [O] From latest maint/master, no need to (require 'org-install)

2012-10-02 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/10/12 16:20, Bastien wrote:
> Hi Rainer,
> 
> Rainer M Krug  writes:
> 
>> Org-mode version 7.9.2 (release_7.9.2-352-g7f74da.dirty @ 
>> /home/rkrug/.emacs.d/org-mode/lisp/)
> 
> Looks fine.

Good to know.

> 
>> I use org mode from git, and my update script for org from git is:
>> 
>> #!/bin/sh cd ~/.emacs.d/org-mode-git/org-mode
> 
> Okay.

> 
>> git checkout master git fetch --tags origin
>> 
>> # git clone git://repo.or.cz/org-mode.git git pull git gc
>> 
>> git checkout master
>> 
>> make clean make make autoloads make doc make info
>> 
>> # make install
> 
> Instead of the above quote you can simply use
> 
> make update

I guess you mean instead of the make ... commands - right? The git ... have to 
stay I assume?

> 
> (And you can clone from git://orgmode.org/org-mode.git it will be faster and 
> more recent.
> repo.or.cz is behind by one hour.)

Switched some time ago - the repo.or.cz in the comment is just a leftover.

> 
>> Is this OK, or should I change something in the script? Or switch to ELPA 
>> (emacs 24.2.1)?
> 
> Things look okay.  My suggestions are just to spare some lines.

Thanks a lot,

now I can sleep a little better,

Rainer

> 
> Best,
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBq/6AACgkQoYgNqgF2egpPoQCfYYHZ+t+tP5s6Sg4TICTQwigA
jSMAn21qlfBzymy0vCM4p63Y0QFdeEzg
=GFcW
-END PGP SIGNATURE-



Re: [O] Clean logs for all tasks

2012-10-02 Thread Michael Brand
Hi Ilya

On Wed, Sep 19, 2012 at 9:44 PM, Ilya Zonov  wrote:
> I have calendar.org file with some tasks which should be done every day or
> week. Logging is on for them (in :LOGBOOK: drawer). After few month I have
> too big file with many logs and only ten tasks. So I want to clean up logs
> which are older one or two month for example.
>
> If there are no cleaning logs feature in org-mode, I will try to write it.

This is something I always wished to have.

If I don't miss too much, LOG_INTO_DRAWER is now supported to be just
nil or t. I suggest to extend it like this:

- number of entries :: “:LOG_INTO_DRAWER: 5” would mean logging is on
 and all logs but the newest 5 will be removed
- age :: “:LOG_INTO_DRAWER: 2w” would mean logging is on and all logs
 older than two weeks will be removed
- date :: “:LOG_INTO_DRAWER: [2012-01-01 Sun]” would mean logging is
  on and all logs older than this date will be removed

“age” is my favourite for the first approach of an implementation
because I estimate it to be the best compromise between “simplicity”
and usability. “number of entries” would be comparably useful for me
but needs updating some state information when parsing and a second
pass to remove the logs. “date” I mentioned more for completeness but
could also be useful together with occasional manual backup to keep
log history.

Michael



Re: [O] Symbol's function definition is void: search

2012-10-02 Thread Sanjib Sikder
Hi,

I did what you said but still it is giving the same error,..[undefined
reference]

There is one line in the org file

[[papers:paper2012][paper2012-paper]]
[[bib:paper2012][paper2012-bib]]
[[biblist:paper2012][paper2012-biblist]]

This line is giving the error. If I remove this line from my org file, then
everything is perfect. While I am trying to export pdf including that line,
i am getting the error .[undefined reference].

Thanks a lot.

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Tue, Oct 2, 2012 at 7:55 PM, Bastien  wrote:

> Hi Sanjib,
>
> Sanjib Sikder  writes:
>
> > or only
> >
> > (search "rtcite:" desc)))
> >
> >
> >
> > with this
> >
> >   (or search "rtcite:" desc)))
>
> only this line.
>
> You get this error because Emacs tries to evaluate
>
>   (search "rtcite:" desc)
>
> ... and it cannot, because search is not a function.
> Search here is a variable (a string), hence
> (or search "rtcite:" desc))) should return something
> sensible.
>
> HTH,
>
> --
>  Bastien
>


Re: [O] Symbol's function definition is void: search

2012-10-02 Thread Bastien
Hi Sanjib,

Sanjib Sikder  writes:

> or only
>
> (search "rtcite:" desc)))
>
>
>
> with this
>
>   (or search "rtcite:" desc)))   

only this line.

You get this error because Emacs tries to evaluate

  (search "rtcite:" desc)

... and it cannot, because search is not a function.  
Search here is a variable (a string), hence 
(or search "rtcite:" desc))) should return something
sensible.

HTH,

-- 
 Bastien



Re: [O] Symbol's function definition is void: search

2012-10-02 Thread Sanjib Sikder
Hi,

Shall i replace

>(equal 0 (search "rtcite:" desc)))
>  ^^^
>
or only

> (search "rtcite:" desc)))
>


with this

  (or search "rtcite:" desc)))



I tried with replacing the whole line i.e (equal 0 (search "rtcite:" desc)))

Now the last error message os gone but during pdf export i get a new error
message
"Exporting to pdf... done, with some errors: [undefined reference]"

thanks a lot :)


-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Tue, Oct 2, 2012 at 7:21 PM, Bastien  wrote:

> > (cond ((eq format 'latex)
> >   (if (or (not desc)
> >   (equal 0 (search "rtcite:" desc)))
>  ^^^
>
> Replace this last line with this
>
>  (or search "rtcite:" desc)))
>
>
> I did no test this, though, just a wild guess.
>


Re: [O] From latest maint/master, no need to (require 'org-install)

2012-10-02 Thread Bastien
Hi Rainer,

Rainer M Krug  writes:

> Org-mode version 7.9.2 (release_7.9.2-352-g7f74da.dirty @
> /home/rkrug/.emacs.d/org-mode/lisp/)

Looks fine.

> I use org mode from git, and my update script for org from git is:
>
> #!/bin/sh
> cd ~/.emacs.d/org-mode-git/org-mode

Okay.

> git checkout master
> git fetch --tags origin
>
> # git clone git://repo.or.cz/org-mode.git
> git pull
> git gc
>
> git checkout master
>
> make clean
> make
> make autoloads
> make doc
> make info
>
> # make install

Instead of the above quote you can simply use

make update

(And you can clone from git://orgmode.org/org-mode.git
it will be faster and more recent. repo.or.cz is behind
by one hour.) 

> Is this OK, or should I change something in the script? Or switch to ELPA 
> (emacs 24.2.1)?

Things look okay.  My suggestions are just to spare some lines.

Best,

-- 
 Bastien



Re: [O] Conditional capture template headline based on tag?

2012-10-02 Thread Bastien
Hi John,

John Hendy  writes:

> As in the expansion elements or defining a custom function for the
> =target= element?

I'm thinking of this part of org-capture-templates's docstring:

  (function function-finding-location)
 Most general way, write your own function to find both
 file and location

HTH,

-- 
 Bastien



Re: [O] capture encrypted for some reason

2012-10-02 Thread Bastien
Hi Samuel,

Samuel Wales  writes:

> I can't reproduce this now, but recently I have had issues with
> capture encrypting upon finalizing.  The entry was not encrypted to
> begin with.
>
> It only occurred with a certain template.
>
> Is this a known bug?

The feature was unstable for one day or two, so perhaps you tested
it in this time window.  But please test this heavily and report any
problem in this area, this is important.

Thanks!

-- 
 Bastien



Re: [O] Control the entries of the index in org-mode exporting

2012-10-02 Thread Bastien
Hi,

twiki  writes:

> I have a document in Org and I would like to add 
> an index exporting to LaTeX, I would like to control 
> the formatting of the entries in the index 
> as is done in LaTeX with the command \index, e.g. 
>
> \index{Actors!Jack Nicholson} 
>
> Any suggestions? 

You can simply use \index{Actors!Jack Nicholson} in your
.org file.  It will added verbatim to your .tex file.
Then compiling your index and your .tex file will add
this entry.

HTH,

-- 
 Bastien



Re: [O] From latest maint/master, no need to (require 'org-install)

2012-10-02 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/10/12 15:15, Bastien wrote:
> Hi all,
> 
> there is no need to (require 'org-install) anymore from the maint and master 
> branches.
> 
> When using the Org distribution that comes with Emacs, Emacs will add Org's 
> autoloaded core 
> functions to [emacs]/lisp/loaddefs.el and the rest of the autoloaded 
> functions to 
> [emacs]/lisp/org/org-loaddefs.el.  This is an improvement over the present 
> situation, where 
> *all* autoloaded functions where added to Emacs' loaddefs.el -- too much.  
> This is not yet in 
> Emacs trunk but will be in Emacs 24.3.
> 
> When getting Org as a .tar.gz/.zip archive file, you'll have a file 
> org-loaddefs.el in the 
> lisp/ directory -- this file is now loaded when org.el is loaded.
> 
> When getting Org from ELPA (either "org" or "org-plus-contrib"), 
> org-loaddefs.el will also be 
> in the load-path.
> 
> When getting Org from git, you *HAVE* to created org-loaddefs.el with `make 
> autoloads' (which 
> is also run by a simple `make'), otherwise some needed functions will not be 
> autoloaded.
> 
> You can check whether org-loaddefs.el has been correctly been loaded with M-x 
> org-version RET.

But how do I see it? I get:

Org-mode version 7.9.2 (release_7.9.2-352-g7f74da.dirty @ 
/home/rkrug/.emacs.d/org-mode/lisp/) [2
times]

I am getting confused.

I use org mode from git, and my update script for org from git is:

#!/bin/sh
cd ~/.emacs.d/org-mode-git/org-mode

git checkout master
git fetch --tags origin

# git clone git://repo.or.cz/org-mode.git
git pull
git gc

git checkout master

make clean
make
make autoloads
make doc
make info

# make install

Is this OK, or should I change something in the script? Or switch to ELPA 
(emacs 24.2.1)?

Rainer
> 
> Thanks,
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBq8i8ACgkQoYgNqgF2egqrNwCdGy9+Lz2biQWGWIQcZJzYy+4Q
2IgAoIHL2JxB+MVu3ZvKszB4wZXvBJnr
=RDan
-END PGP SIGNATURE-



Re: [O] Symbol's function definition is void: search

2012-10-02 Thread Bastien
Hi Sanjib,

Sanjib Sikder  writes:

>     (cond ((eq format 'latex)
>   (if (or (not desc)
>   (equal 0 (search "rtcite:" desc)))
 ^^^ 

Replace this last line with this

 (or search "rtcite:" desc)))


I did no test this, though, just a wild guess.

HTH,

-- 
 Bastien



Re: [O] From latest maint/master, no need to (require 'org-install)

2012-10-02 Thread Bastien
Hi Torsten,

Torsten Wagner  writes:

> Anyhow I just realized that ELPA contains
> "org" and "org-plus-contrib"
> I stupidly overlooked that and always read
> "org" or "org-contrib"
>
> Well, thats the way many Linux distros does that kind of things. Sure
> enough org-contrib would need org as a requirement.
> Maybe thats not possible in ELPA yet?!

org-plus-contrib has this lenghthy name precisely to make sure that
people know this is Org + Contributed files, not just contributed files.

> Anyhow any reason for the above way?

Apparently it's not possible/easy to handle dependancies between ELPA
packages so we're good like this (for now.)

All best,

-- 
 Bastien



Re: [O] From latest maint/master, no need to (require 'org-install)

2012-10-02 Thread Torsten Wagner
Hi Bastien,

nice. One line less in u  how long is my emacs config, but it
was a constant trap for people and hence this is smoothed out... good
job ;)
Anyhow I just realized that ELPA contains
"org" and "org-plus-contrib"
I stupidly overlooked that and always read
"org" or "org-contrib"

Well, thats the way many Linux distros does that kind of things. Sure
enough org-contrib would need org as a requirement.
Maybe thats not possible in ELPA yet?!

Anyhow any reason for the above way?

Greetings

Torsten


On 2 October 2012 22:15, Bastien  wrote:
> Hi all,
>
> there is no need to (require 'org-install) anymore from the maint
> and master branches.
>
> When using the Org distribution that comes with Emacs, Emacs will add
> Org's autoloaded core functions to [emacs]/lisp/loaddefs.el and the rest
> of the autoloaded functions to [emacs]/lisp/org/org-loaddefs.el.  This
> is an improvement over the present situation, where *all* autoloaded
> functions where added to Emacs' loaddefs.el -- too much.  This is not
> yet in Emacs trunk but will be in Emacs 24.3.
>
> When getting Org as a .tar.gz/.zip archive file, you'll have a file
> org-loaddefs.el in the lisp/ directory -- this file is now loaded when
> org.el is loaded.
>
> When getting Org from ELPA (either "org" or "org-plus-contrib"),
> org-loaddefs.el will also be in the load-path.
>
> When getting Org from git, you *HAVE* to created org-loaddefs.el with
> `make autoloads' (which is also run by a simple `make'), otherwise
> some needed functions will not be autoloaded.
>
> You can check whether org-loaddefs.el has been correctly been loaded
> with M-x org-version RET.
>
> Thanks,
>
> --
>  Bastien
>
>



[O] From latest maint/master, no need to (require 'org-install)

2012-10-02 Thread Bastien
Hi all,

there is no need to (require 'org-install) anymore from the maint
and master branches.

When using the Org distribution that comes with Emacs, Emacs will add
Org's autoloaded core functions to [emacs]/lisp/loaddefs.el and the rest
of the autoloaded functions to [emacs]/lisp/org/org-loaddefs.el.  This
is an improvement over the present situation, where *all* autoloaded
functions where added to Emacs' loaddefs.el -- too much.  This is not
yet in Emacs trunk but will be in Emacs 24.3.

When getting Org as a .tar.gz/.zip archive file, you'll have a file
org-loaddefs.el in the lisp/ directory -- this file is now loaded when
org.el is loaded.

When getting Org from ELPA (either "org" or "org-plus-contrib"),
org-loaddefs.el will also be in the load-path.

When getting Org from git, you *HAVE* to created org-loaddefs.el with
`make autoloads' (which is also run by a simple `make'), otherwise
some needed functions will not be autoloaded.

You can check whether org-loaddefs.el has been correctly been loaded
with M-x org-version RET.

Thanks,

-- 
 Bastien




Re: [O] Clocktable: Put summary line as table caption

2012-10-02 Thread Nicolas Goaziou


Hello,

"Sebastien Vauban"
 writes:

> Hello,
>
> Looking at the presentation of the clocktable, I find that its "summary" line
> should be converted into a caption, as any legend would be for any regular
> table.
>
> You can test it, and see its effect, with such a ECM file:
>
> * Development
>   :LOGBOOK:
>   CLOCK: [2012-09-28 Fri 10:00]--[2012-09-28 Fri 11:00] =>  1:00
>   :END:
>
> ** Task 1
>:LOGBOOK:
>CLOCK: [2012-09-28 Fri 11:00]--[2012-09-28 Fri 12:00] =>  1:00
>:END:
>
> ** Task 2
>
> *** Task 2a
> :LOGBOOK:
> CLOCK: [2012-09-28 Fri 12:00]--[2012-09-28 Fri 13:00] =>  1:00
> :END:
>
> *** Task 2b
> :LOGBOOK:
> CLOCK: [2012-09-28 Fri 13:00]--[2012-09-28 Fri 14:00] =>  1:00
> :END:
>
> * Clock tables
>
> #+BEGIN: clocktable :maxlevel 1 :scope file
> #+CAPTION: Clock summary at [2012-10-01 Mon 23:18]
>
> | Headline| Time |
> |-+--|
> | Total time  | 4:00 |
> |-+--|
> | Development | 4:00 |
> #+END:

There shouldn't be any space between the caption an the table.


Regards,

-- 
Nicolas Goaziou




Re: [O] Orgmode Latex export of multiple org file

2012-10-02 Thread Sebastien Vauban
Hello Sanjib Sikder,

Sanjib Sikder wrote:
> Like in latex, i can include another .tex file (like chapter1.tex,
> conclusion.tex etc.), how can I do that with org files (like chapter1.org,
> conclusion.org etc.) ?

See the first hit of http://www.google.be/search?q=org-mode+include+file,
that is http://orgmode.org/manual/Include-files.html.

Best regards,
  Seb

-- 
Sebastien Vauban




[O] Symbol's function definition is void: search

2012-10-02 Thread Sanjib Sikder
Hi,

I was trying to manage my technical journal papers using Orgmode.
I followed instructions from the following links

http://tincman.wordpress.com/2011/01/04/research-paper-management-with-emacs-org-mode-and-reftex/
http://www-public.it-sudparis.eu/~berger_o/weblog/2012/03/23/how-to-manage-and-export-bibliographic-notesrefs-in-org-mode/

I have three files
1. bibliography file with extension .bib (bibPhD.bib)
2. one list file where I save names of papers etc with .org extension
(bibListDrBx.org)
3. one notes file with .org extension where I write notes related to papers
listed in item 2 (bibNotesDrBx.org)

There are links with rtcite , so that i can jump from one file to another
at desired location.

The following is the content of bibNotesDrBx.org
---
#+LINK: biblist
rtcite:~/Dropbox/OrgDrBx/ResearchDrBx/BibListOrgDrBx/bibListDrBx.org::#%s
#+LINK: bib rtcite:~/Dropbox/OrgDrBx/ResearchDrBx/BibDrBx/bibPhD.bib::%s
# \bibliography{~/Dropbox/OrgDrBx/ResearchDrBx/BibDrBx/bibPhD}


** Name of one of the paper :mytag:
:PROPERTIES:
:Custom_ID: paper2012
:END:[[papers:paper2012][paper2012-paper]]
[[bib:paper2012][paper2012-bib]][[biblist:paper2012][paper2012-biblist]]


--
The above file works fine. It can connect with other files perfectly. It
can make pdf wth C-c C-e p.
--
Problem is in the following file bibListDrBx.org
The following is the content of bibListDrBx.org file
-

Research Notes
#+STARTUP: indent hidestars
#+TITLE: Research Notes
#+LINK: notes
rtcite:~/Dropbox/OrgDrBx/ResearchDrBx/BibNotesOrgDrBx/bibNotesDrBx.org::#%s
#+LINK: bib rtcite:~/Dropbox/OrgDrBx/ResearchDrBx/BibDrBx/bibPhD.bib::%s
#+TODO: TODO | DONE
#+TODO: HOLD | HALT
#+title: My Title
#+author: My Name
# \bibliography{~/Dropbox/OrgDrBx/ResearchDrBx/BibDrBx/bibPhD}
* Tasks
* Research :Research:
* Papers :paper:
** Name of my journal entry
:PROPERTIES:
:Custom_ID: paper2012
:END:
[[papers:paper2012][paper2012-paper]][[bib:paper2012][paper2012-bib]]
** Other Papers
* Resources
* Data
\bibliography{~/Dropbox/OrgDrBx/ResearchDrBx/BibDrBx/bibPhD}{}
\bibliographystyle{plain}
-
This file also successfully connects with pdf and other files.
Problem is, when I press C c C e p to make pdf of the file bibListDrBx.org
, it says *"Symbol's function definition is void: search"*

i have located the lines which are causing error.
and those are
** Name of my journal entry
:PROPERTIES:
:Custom_ID: paper2012
:END:
[[papers:paper2012][paper2012-paper]][[bib:paper2012][paper2012-bib]]

Now these lines were there in my bibNotesDrBx.org files also and I have no
issue in making pdf of that file. What is wrong with the other file
(bibListDrBx.org)  ?


-
Following is my .emacs set up
---
;;Last updated : 28 Sep2012: 12:26 AM



(global-visual-line-mode 1)
;;;===


;;;Inhibit start-up window
===
(setq inhibit-startup-message t)
;;Following lines will get shown on start up
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.

;;;enable syntax
highlighting=
;;;different colour to different types of text like comments, maths etc
(global-font-lock-mode t)
;;;highlights marked regions
(setq transient-mark-mode t)
;;;
;;;font lock, word wrap, truncate lines, fyspell...
(add-hook 'org-mode-hook
(lambda ()
'turn-on-font-lock
(setq word-wrap 1)
(setq truncate-lines nil)
(flyspell-mode 1)))

;;;=
;;predictive
(add-to-list 'load-path "~/.emacs.d/predictive")
(add-to-list 'load-path "~/.emacs.d/predictive/texinfo")
(add-to-list 'load-path "~/.emacs.d/predictive/latex")
(add-to-list 'load-path "~/.emacs.d/predictive/html")
(require 'predictive)

;;;=
;;;Recent files menu in emacs
(require 'recentf)
(recentf-mode 1)
;;;org mode


;;enable org-mode
(require 'org)

;;make org-mode work with files ending in .org
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))

;;;org mode Capture
;;;..
;;capture
(setq org-directory "~/Ubuntu One/EmacsFilesUO/OrgFilesUO/")
(setq org-default-notes-file (concat org-directory "no

Re: [O] error capturing with emacs 24

2012-10-02 Thread Giovanni Ridolfi
Da: Martin Gross 
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



[O] error capturing with emacs 24

2012-10-02 Thread Martin Gross
Dear helpers,

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.

The relevant lines in my .emacs I suppose are:

(custom-set-variables
'(org-capture-templates (quote (("t" "trabajo" entry (file
"/home/mg/trabajo.org") "" :empty-lines 1)

Then, when I execute C-cc t, I get this:

Debugger entered--Lisp error: (error "Capture abort:
(wrong-number-of-arguments #[(buffer &optional norecord) \\303^H
#\\207 [buffer display-buffer--same-window-action norecord
#pop-to-buffer] 4 2139099] 3)")
  signal(error ("Capture abort: (wrong-number-of-arguments #[(buffer
  &optional norecord) \\303^H \n#\\207 [buffer
  display-buffer--same-window-action norecord pop-to-buffer] 4
  2139099] 3)")) error("Capture abort: %s"
  (wrong-number-of-arguments #[(buffer &optional norecord) "\303^H
  \n#\207" [buffer display-buffer--same-window-action norecord
  pop-to-buffer] 4 2139099] 3))
  byte-code("\301\302!\203\n^@\303\302!\210\300\304^H\"\207" [error
  get-buffer "*Capture*" kill-buffer "Capture abort: %s"] 3)
  org-capture(nil) call-interactively(org-capture nil nil)

What could I do?

Thank you very much in advance!

Sincerely,

Martin



[O] Control the entries of the index in org-mode exporting

2012-10-02 Thread twiki
I have a document in Org and I would like to add 
an index exporting to LaTeX, I would like to control 
the formatting of the entries in the index 
as is done in LaTeX with the command \index, e.g. 

\index{Actors!Jack Nicholson} 

Any suggestions? 
THANKS




Re: [O] [org-mobile] iOS MobileOrg transition updates

2012-10-02 Thread Chris Trompette
Kyle Sexton  wrote:

> ** Documentation for MobileOrg
> Confluence is an easy to use wiki system that we have been granted an
> open-source license for, but users may prefer something based on Worg
> for maintaining information.  Any preference which direction I should
> build the website?

I would say that Worg would be a more natural fit for this project
than Confluence. Writing documentation in org-mode would be far
better, and we could even use MobileOrg to edit it.


> ** Future development
> What are everyone's thoughts on the current status of MobileOrg
> development?  The Dropbox API currently in use is set to be
> deprecated, which means that portion will have to be rewritten.  Does
> anyone have experience with development kits like Titanium
> Appcelerator or PhoneGap?  Would moving to something like one
> of those projects help new developers get involved in the project or
> hinder?

I have no experience with Appcelerator, nor PhoneGap. I do not know
either if this would help new developers. Maybe we could consider it
later on.

> ** Features
> What features would everyone like to see added to the MobileOrg
> application?
>
> Some of the things I would like to see are:
>
> - UI updates to streamline information viewing and capture
> - Ability to capture photos and transfer them in the sync process
> - Siri integration (may not be possible or kludgy)
> - Calendar integration

I would add the possibility the integration with the notification
center for tasks with deadlines for instance.