[O] fontifying superscript/subscript

2012-10-13 Thread Benjamin Slade
Is there a way to have org-mode fontify superscript/subscript the way
that AUCTeX does?

(A second, but related, question---especially assuming that the answer
to the first question may be no---is there any straightforward way of
getting emacs to raise/lower text as part of a face? [I looked at
font-latex.el of AUCTeX, but it's not clear to me exactly how the
raising/lowering is being implementd.])


-- 
~
Dr Benjamin Slade http://ling.uta.edu/~ben/
  Dept. of Linguistics  TESOL 
University of Texas at Arlington
  132E Hammond Hall | Office Hours: tba
~
{sent by mu4e on Emacs running under GNU/Linux}



Re: [O] fontifying superscript/subscript

2012-10-13 Thread Carsten Dominik

On 13.10.2012, at 08:04, Benjamin Slade wrote:

 Is there a way to have org-mode fontify superscript/subscript the way
 that AUCTeX does?

C-c C-x \

 
 (A second, but related, question---especially assuming that the answer
 to the first question may be no---is there any straightforward way of
 getting emacs to raise/lower text as part of a face? [I looked at
 font-latex.el of AUCTeX, but it's not clear to me exactly how the
 raising/lowering is being implementd.])
 
 
 -- 
 ~
 Dr Benjamin Slade http://ling.uta.edu/~ben/
  Dept. of Linguistics  TESOL 
University of Texas at Arlington
  132E Hammond Hall | Office Hours: tba
 ~
{sent by mu4e on Emacs running under GNU/Linux}
 




Re: [O] fontifying superscript/subscript

2012-10-13 Thread Benjamin Slade
Thanks. 

I suppose that:

(add-hook 'org-mode-hook 'org-toggle-pretty-entities)

is the way the auto-enable it?


On Sat, 13 Oct 2012, Carsten Dominik wrote:

 On 13.10.2012, at 08:04, Benjamin Slade wrote:

 Is there a way to have org-mode fontify superscript/subscript the way
 that AUCTeX does?

 C-c C-x \

 
 (A second, but related, question---especially assuming that the answer
 to the first question may be no---is there any straightforward way of
 getting emacs to raise/lower text as part of a face? [I looked at
 font-latex.el of AUCTeX, but it's not clear to me exactly how the
 raising/lowering is being implementd.])
 
 
 -- 
 ~
 Dr Benjamin Slade http://ling.uta.edu/~ben/
  Dept. of Linguistics  TESOL 
University of Texas at Arlington
  132E Hammond Hall | Office Hours: tba
 ~
{sent by mu4e on Emacs running under GNU/Linux}
 


-- 
~
Dr Benjamin Slade http://ling.uta.edu/~ben/
  Dept. of Linguistics  TESOL 
University of Texas at Arlington
  132E Hammond Hall | Office Hours: tba
~
{sent by mu4e on Emacs running under GNU/Linux}



Re: [O] Question about HTML export, drawers, and links

2012-10-13 Thread Sebastien Vauban
Hi Thomas,

Thomas Moyer wrote:
 So what would I need to do to use the new exporter?

--8---cut here---start-8---
(require 'org-export)

(require 'org-e-ascii) ; if you want

(require 'org-e-html)  ; if you want

;; LaTeX back-end for Org generic export engine
(require 'org-e-latex)

(require 'org-e-beamer)

;; bind the new exporter dispatch to a key sequence
(define-key org-mode-map (kbd C-c E) 'org-export-dispatch)
--8---cut here---end---8---

and then use `C-c E' instead of `C-c C-e'.

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Bug: org-read-date: problem with year in dotted european date input [7.9.2 (release_7.9.2-436-g9b11e6 @ /home/grfz/src/org-mode/lisp/)]

2012-10-13 Thread Gregor Zattler
Hi Nicolas,
* Nicolas Goaziou n.goaz...@gmail.com [12. Oct. 2012]:
 Gregor Zattler telegr...@gmx.net writes:
 
 I now believe I found a bug in org-read-date.  There is a problem
 parsing European dotted dates.  In Dates the like DD.MM. or
 DD.MM.YY or DD.MM. `MM' is recognised as year instead of month:

 Today is 2012-10-11:

 (org-read-date t nil Kommt am 27.10.2012 um 14:00 Uhr)
 gives
 2010-10-27
 expectet outcome is
 2012-10-27
 
 AFAICT `org-read-date' expects a date string alone, not a date string in
 the middle of some text.
 
   (org-read-date t nil 12.10.) = 2012-10-12

For me this is about the date/time prompt when capturing.  I had
a look at org-time-stamp and had the impression that the actual
parsing of the users input is done in org-read-date.  But
obviously my basic elisp knowledge isn't up to such complex
functions.  

Back to square one: Does anybody know How to customise
Emacs/org-mode so that dotted European dates are parsed correctly
at the date/time prompt?

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



Re: [O] Bug: org-read-date: problem with year in dotted european date input [7.9.2 (release_7.9.2-436-g9b11e6 @ /home/grfz/src/org-mode/lisp/)]

2012-10-13 Thread Nicolas Goaziou
Hello,

Gregor Zattler telegr...@gmx.net writes:

 Back to square one: Does anybody know How to customise
 Emacs/org-mode so that dotted European dates are parsed correctly
 at the date/time prompt?

Again, dotted European dates are parsed correctly without customization.
Would you provide a time string that isn't?


Regards,

-- 
Nicolas Goaziou



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

2012-10-13 Thread Ingo Lohmar
Hey folks,

I am slightly puzzled that there has been no reaction at all to this patch.
To me it seems entirely unambiguous, and it fixes a bug (as per the docstring
of org-agenda-{later,earlier}).

Is there anything I can do to help include this half-line patch in org?  I am
sorry that I do not use the git version of org, but I checked that the state
of affairs has not changed.

Thanks and regards,
Ingo




Re: [O] [PATCH] * org-insert-link: use ido when inserting links

2012-10-13 Thread Nicolas Goaziou
Hello,

tony day zygom...@gmail.com writes:

 And a revised patch for your reviewing pleasure :)

Ok. I have applied it and added you to the list of contributors.

Thank you again for the patch.


Regards,

-- 
Nicolas Goaziou



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

2012-10-13 Thread Nicolas Goaziou
Hello,

Ingo Lohmar i.loh...@gmail.com writes:

 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:

I've applied it. Thank you.


Regards,

-- 
Nicolas Goaziou



Re: [O] Question about HTML export, drawers, and links

2012-10-13 Thread Nick Dokos
Sebastien Vauban wxhgmqzgw...@spammotel.com wrote:

 Hi Thomas,
 
 Thomas Moyer wrote:
  So what would I need to do to use the new exporter?
 
 (require 'org-export)
 

IIUC, this is not needed any longer: each specific exporter
below does a require on it.

Nick

 (require 'org-e-ascii) ; if you want
 
 (require 'org-e-html)  ; if you want
 
 ;; LaTeX back-end for Org generic export engine
 (require 'org-e-latex)
 
 (require 'org-e-beamer)
 
 ;; bind the new exporter dispatch to a key sequence
 (define-key org-mode-map (kbd C-c E) 'org-export-dispatch)
 
 and then use `C-c E' instead of `C-c C-e'.
 
 Best regards,
   Seb
 
 -- 
 Sebastien Vauban
 
 



[O] Bib file path relative to home using tilde ~ in Ubuntu

2012-10-13 Thread Sanjib Sikder
Hi,

Can I use the bib file path using tilde (~) when doing latex export ?

for example, Why can not I use \bibliography{~/Bib/RefAbv} ?
where my bibliography file name is RefAbv.bib
It gives error : undefined citation

I do not want to use \bibliography{/home/USERNAME/Bib/RefAbv}

I use dropbox. So if I can use tilde , then synchronzation is perfect. I
can work in any machine without changing the path of my bib files.

Also I do not want to put the bib file in my working directory.

I am using Ubuntu 12.04

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

*


Re: [O] Bib file path relative to home using tilde ~ in Ubuntu

2012-10-13 Thread Yagnesh Raghava Yakkala

Hello Sanjib,

Sanjib Sikder sanjibju2...@gmail.com writes:

 Hi,

 Can I use the bib file path using tilde (~) when doing latex export ?

 for example, Why can not I use \bibliography{~/Bib/RefAbv} ?
 where my bibliography file name is RefAbv.bib
 It gives error : undefined citation

 I do not want to use \bibliography{/home/USERNAME/Bib/RefAbv}

 I use dropbox. So if I can use tilde , then synchronzation is perfect. I can
 work in any machine without changing the path of my bib files.

 Also I do not want to put the bib file in my working directory.

 I am using Ubuntu 12.04

Its more of bibtex not finding than org-export problem.

I have this in my .bashrc (~/git/bib is the folder I put my citations)

--8---cut here---start-8---
export BIBINPUTS=.:$HOME/git/bib:
export BSTINPUTS=.:$HOME/git/bib:
export TEXINPUTS=.:$HOME/git/bib:
--8---cut here---end---8---

And in my org file I don't even give any path name..
--8---cut here---start-8---
\bibliographystyle{plain}
\bibliography{bibfile}
--8---cut here---end---8---


Thanks.,
-- 
ఎందరో మహానుభావులు అందరికి వందనములు
YYR



Re: [O] Bib file path relative to home using tilde ~ in Ubuntu

2012-10-13 Thread Sanjib Sikder
Hi,

Thank you for the reply.

I have put the following in my .bashrc file

export BIBINPUTS=.:$HOME/bib:
export BSTINPUTS=.:$HOME/bst:
export TEXINPUTS=.:$HOME/bib:


where bib and bst are my two folders whose actual path are
/home/USERNAME/bib for example.

But it is still not working.

Thanks

[I did one mistake, initially instead of placing these in .bashrc, i had
run those in terminal. Is it causing any problem?]

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

*



On Sat, Oct 13, 2012 at 7:41 PM, Yagnesh Raghava Yakkala 
h...@yagnesh.orgwrote:


 Hello Sanjib,

 Sanjib Sikder sanjibju2...@gmail.com writes:

  Hi,
 
  Can I use the bib file path using tilde (~) when doing latex export ?
 
  for example, Why can not I use \bibliography{~/Bib/RefAbv} ?
  where my bibliography file name is RefAbv.bib
  It gives error : undefined citation
 
  I do not want to use \bibliography{/home/USERNAME/Bib/RefAbv}
 
  I use dropbox. So if I can use tilde , then synchronzation is perfect. I
 can
  work in any machine without changing the path of my bib files.
 
  Also I do not want to put the bib file in my working directory.
 
  I am using Ubuntu 12.04

 Its more of bibtex not finding than org-export problem.

 I have this in my .bashrc (~/git/bib is the folder I put my citations)

 --8---cut here---start-8---
 export BIBINPUTS=.:$HOME/git/bib:
 export BSTINPUTS=.:$HOME/git/bib:
 export TEXINPUTS=.:$HOME/git/bib:
 --8---cut here---end---8---

 And in my org file I don't even give any path name..
 --8---cut here---start-8---
 \bibliographystyle{plain}
 \bibliography{bibfile}
 --8---cut here---end---8---


 Thanks.,
 --
 ఎందరో మహానుభావులు అందరికి వందనములు
 YYR



Re: [O] Remembrance Agent and Orgmode

2012-10-13 Thread Alan Schmitt
Benjamin Slade sl...@jnanam.net writes:

 So do you have it working now? I don't run Macs, so I didn't have
 anything to suggest earlier.

Yes, it's working now.

 That sounds like something which should
 be documented somewhere (i.e. which now someone should document).

Yes, probably. I don't know where, though, since it does not seem to be
actively maintained.

Alan



Re: [O] fontifying superscript/subscript

2012-10-13 Thread Thomas S. Dye
Aloha Benjamin,

I don't know if your supposition will work. However, org-pretty-entities
can be customized, or you can put (setq org-pretty-entities t) in your
.emacs.

I prefer to do this on a per-file basis with:
#+startup: entitiespretty

hth,
Tom

Benjamin Slade sl...@jnanam.net writes:

 Thanks. 

 I suppose that:

 (add-hook 'org-mode-hook 'org-toggle-pretty-entities)

 is the way the auto-enable it?


 On Sat, 13 Oct 2012, Carsten Dominik wrote:

 On 13.10.2012, at 08:04, Benjamin Slade wrote:

 Is there a way to have org-mode fontify superscript/subscript the way
 that AUCTeX does?

 C-c C-x \

 
 (A second, but related, question---especially assuming that the answer
 to the first question may be no---is there any straightforward way of
 getting emacs to raise/lower text as part of a face? [I looked at
 font-latex.el of AUCTeX, but it's not clear to me exactly how the
 raising/lowering is being implementd.])
 
 
 -- 
 ~
 Dr Benjamin Slade http://ling.uta.edu/~ben/
  Dept. of Linguistics  TESOL 
University of Texas at Arlington
  132E Hammond Hall | Office Hours: tba
 ~
{sent by mu4e on Emacs running under GNU/Linux}
 

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



Re: [O] fontifying superscript/subscript

2012-10-13 Thread Benjamin Slade
It seemed to work, but (setq org-pretty-entities t) is probably cleaner,
so I switched to that.

thanks,  --Ben

On Sat, 13 Oct 2012, Thomas S. Dye t...@tsdye.com wrote:

 Aloha Benjamin,

 I don't know if your supposition will work. However, org-pretty-entities
 can be customized, or you can put (setq org-pretty-entities t) in your
 .emacs.

 I prefer to do this on a per-file basis with:
 #+startup: entitiespretty

 hth,
 Tom

 Benjamin Slade sl...@jnanam.net writes:

 Thanks. 

 I suppose that:

 (add-hook 'org-mode-hook 'org-toggle-pretty-entities)

 is the way the auto-enable it?


 On Sat, 13 Oct 2012, Carsten Dominik wrote:

 On 13.10.2012, at 08:04, Benjamin Slade wrote:

 Is there a way to have org-mode fontify superscript/subscript the way
 that AUCTeX does?

 C-c C-x \

 
 (A second, but related, question---especially assuming that the answer
 to the first question may be no---is there any straightforward way of
 getting emacs to raise/lower text as part of a face? [I looked at
 font-latex.el of AUCTeX, but it's not clear to me exactly how the
 raising/lowering is being implementd.])
 
 
 -- 
 ~
 Dr Benjamin Slade http://ling.uta.edu/~ben/
  Dept. of Linguistics  TESOL 
University of Texas at Arlington
  132E Hammond Hall | Office Hours: tba
 ~
{sent by mu4e on Emacs running under GNU/Linux}
 


-- 
~
Dr Benjamin Slade http://ling.uta.edu/~ben/
  Dept. of Linguistics  TESOL 
University of Texas at Arlington
  132E Hammond Hall | Office Hours: tba
~
{sent by mu4e on Emacs running under GNU/Linux}



Re: [O] external process modifying buffers

2012-10-13 Thread Ken Mankoff
Hi Moritz,

On Tue, Sep 18, 2012 at 2:28 PM, Moritz Ulrich mor...@tarn-vedra.de wrote:
 Please note that `global-auto-revert-mode' reverts ALL Emacs buffers
 when the underlaying file changes. This isn't just active for the
 iCal.org buffer, but for all open buffers.

 If you like this behavior, ok, but if you prefer it for the iCal.org
 buffer only, enable auto-revert-mode (without global-) via a file-local
 variable in it:

 http://www.gnu.org/software/emacs/manual/html_node/emacs/File-Variables.html

You are right, global revert-mode causes other issues.

Can you suggest how to have it as a local file variable when the
command that generates the file over-writes it? I have modified the
code that produces the iCal.org file so the top line now is:

# -*- coding: utf-8; auto-revert-mode: t; -*-

But emacs does not seem to be obeying the command. I've restarted
emacs, but when I modify that file with an external command, I still
get the changed on disk warning. If I ESC-x auto-revert-mode it
toggles to off, implying it was on. If I do that again, toggling to
on, it then works correctly.

Thanks,

   -k.



Re: [O] external process modifying buffers

2012-10-13 Thread Sean O'Halpin
On Sat, Oct 13, 2012 at 5:27 PM, Ken Mankoff mank...@gmail.com wrote:

 Can you suggest how to have it as a local file variable when the
 command that generates the file over-writes it? I have modified the
 code that produces the iCal.org file so the top line now is:

 # -*- coding: utf-8; auto-revert-mode: t; -*-


 But emacs does not seem to be obeying the command.

I've found this works for me:

  # -*- coding: utf-8; eval: (auto-revert-mode 1); -*-

Regards,
Sean



Re: [O] Bib file path relative to home using tilde ~ in Ubuntu

2012-10-13 Thread Sanjib Sikder
Hi,

The following link says Emacs doesn't read .bashrc at all

http://lists.gnu.org/archive/html/auctex/2006-01/msg00085.html

any idea ?

My BIBINPUTS is not working.

I have put the following in my .bashrc file

export BIBINPUTS=.:$HOME/bib:
export BSTINPUTS=.:$HOME/bst:
export TEXINPUTS=.:$HOME/bib:


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

*



On Sat, Oct 13, 2012 at 8:06 PM, Sanjib Sikder sanjibju2...@gmail.comwrote:

 Hi,

 Thank you for the reply.

 I have put the following in my .bashrc file

 export BIBINPUTS=.:$HOME/bib:
 export BSTINPUTS=.:$HOME/bst:
 export TEXINPUTS=.:$HOME/bib:


 where bib and bst are my two folders whose actual path are
 /home/USERNAME/bib for example.

 But it is still not working.

 Thanks

 [I did one mistake, initially instead of placing these in .bashrc, i had
 run those in terminal. Is it causing any problem?]


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

 *



 On Sat, Oct 13, 2012 at 7:41 PM, Yagnesh Raghava Yakkala 
 h...@yagnesh.orgwrote:


 Hello Sanjib,

 Sanjib Sikder sanjibju2...@gmail.com writes:

  Hi,
 
  Can I use the bib file path using tilde (~) when doing latex export ?
 
  for example, Why can not I use \bibliography{~/Bib/RefAbv} ?
  where my bibliography file name is RefAbv.bib
  It gives error : undefined citation
 
  I do not want to use \bibliography{/home/USERNAME/Bib/RefAbv}
 
  I use dropbox. So if I can use tilde , then synchronzation is perfect.
 I can
  work in any machine without changing the path of my bib files.
 
  Also I do not want to put the bib file in my working directory.
 
  I am using Ubuntu 12.04

 Its more of bibtex not finding than org-export problem.

 I have this in my .bashrc (~/git/bib is the folder I put my citations)

 --8---cut here---start-8---
 export BIBINPUTS=.:$HOME/git/bib:
 export BSTINPUTS=.:$HOME/git/bib:
 export TEXINPUTS=.:$HOME/git/bib:
 --8---cut here---end---8---

 And in my org file I don't even give any path name..
 --8---cut here---start-8---
 \bibliographystyle{plain}
 \bibliography{bibfile}
 --8---cut here---end---8---


 Thanks.,
 --
 ఎందరో మహానుభావులు అందరికి వందనములు
 YYR





Re: [O] Bib file path relative to home using tilde ~ in Ubuntu

2012-10-13 Thread Yagnesh Raghava Yakkala

Hello Sanjib,

Sanjib Sikder sanjibju2...@gmail.com writes:

 export BIBINPUTS=.:$HOME/bib:
 export BSTINPUTS=.:$HOME/bst:
 export TEXINPUTS=.:$HOME/bib:

Actually TEXINPUTS variable is for tex sources (classes, packages ..). (not
relevant to the current topic)


 where bib and bst are my two folders whose actual path are /home/USERNAME/bib
 for example.

 But it is still not working. 

may be the environment variables didn't get exported. The easiest way to
update is logout from the computer, login again and start emacs.

 [I did one mistake, initially instead of placing these in .bashrc, i had run
 those in terminal. Is it causing any problem?]

I don't think so.

Thanks.,
-- 
ఎందరో మహానుభావులు అందరికి వందనములు
YYR



Re: [O] Bib file path relative to home using tilde ~ in Ubuntu

2012-10-13 Thread Sanjib Sikder
Hi,

The easiest way to update is logout from the computer, login again and
start emacs.

I did that. Still not working :(

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

*



On Sat, Oct 13, 2012 at 11:10 PM, Yagnesh Raghava Yakkala 
h...@yagnesh.orgwrote:

 The easiest way to
 update is logout from the computer, login again and start emacs.



Re: [O] Bug: org-read-date: problem with year in dotted european date input [7.9.2 (release_7.9.2-436-g9b11e6 @ /home/grfz/src/org-mode/lisp/)]

2012-10-13 Thread Gregor Zattler
Hi Nicolas, org-mode users and developers,
* Nicolas Goaziou n.goaz...@gmail.com [13. Oct. 2012]:
 Gregor Zattler telegr...@gmx.net writes:
 
 Back to square one: Does anybody know How to customise
 Emacs/org-mode so that dotted European dates are parsed correctly
 at the date/time prompt?
 
 Again, dotted European dates are parsed correctly without customization.
 Would you provide a time string that isn't?

Naked dotted european dates without surrounding text are
parsed correctly by org-read-date.

But with date/time prompt I mean the prompt which asks me for a
date/time when invoking org-time-stamp.  Here I'm allowed to
insert Dates like the event takes place at 27.10. at 14:00 in
the pub.  Org-mode is supposed to parse these, see
[[info:org#The%20date/time%20prompt][info:org#The date/time prompt]].

If I now yank Kommt am 27.10.2012 um 14:00 zum in this
date/time prompt, the result is 2010-10-27 Mi 14:00 instead
of 2012-10-27 Sa 14:00.  ^   ^^
^   ^^


I had a look at org-time-stamp which is invoked by C-c .  I do
not understand how this function parses dates/times from text.
Therefore I looked for functions with appropriate names which are
called by org-time-stamp.  The only one I could find is
org-read-date.  It obviously parses dates from a string and
identifies parts (day, month, year).  I thought org-read-date
does the heavy lifting with respect to date parsing.  But now I
think you are right and org-read-dates parses naked dates.  But
where does the parsing of texts which contain dates take place?



Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



[O] BIBINPUT in .bashrc not recognized by Emacs

2012-10-13 Thread Sanjib Sikder
Hi,

I was trying to set a location for my bibliography files which can be found
by org mode. The following lines in .bashrc does not work with orgmode
latex export

export TEXINPUTS=.//:$HOME/bibFiles//:$TEXINPUTS
export BSTINPUTS=.//:$HOME/bibFiles//:$BIBINPUTS
export BIBINPUTS=.//:$HOME/bst//:$BSTINPUTS


I have put these lines in .gnomerc and .profile also


Normal pdflatex and bibtex runs from terminal successfully locates the bib
folder and bib files and generates the document with correct references but
orgmode latex export does not. If I put the .bib file where my .org file
is, then orgmode successfuly creates the document with reeerences.

How can i set BIBINPUT correctly so that emacs finds the bib files ?

the following link says that emacs does not recognize .bashrc. Even after
putting those codes in .gnomerc and .profile, emacs does not find the bib
files

http://lists.gnu.org/archive/html/auctex/2006-01/msg00085.html

Please help

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

*


Re: [O] Trouble with in-line images and iimage.el

2012-10-13 Thread Joao Brito
John Hendy jw.hendy at gmail.com writes:

 I had to track down a bunch of .dlls and copy them into my Emacs bin/
 directory. From there it worked. For the record, I added the following
 
Thanks, John, it worked for me too. It was easier than I thought, I've never 
noticed I didn't have these libraries.






Re: [O] BIBINPUT in .bashrc not recognized by Emacs

2012-10-13 Thread Myles English

Hi Sanjib,

Sanjib Sikder writes:

 Hi,

 I was trying to set a location for my bibliography files which can be found
 by org mode. The following lines in .bashrc does not work with orgmode
 latex export

 export TEXINPUTS=.//:$HOME/bibFiles//:$TEXINPUTS
 export BSTINPUTS=.//:$HOME/bibFiles//:$BIBINPUTS
 export BIBINPUTS=.//:$HOME/bst//:$BSTINPUTS

That doesn't look quite right, this looks better:

export TEXINPUTS=./:${HOME}/bibFiles:${TEXINPUTS}

Then type echo $TEXINPUTS in a terminal to see what it says.

 I have put these lines in .gnomerc and .profile also

I suggest you try one thing at a time.

 Normal pdflatex and bibtex runs from terminal successfully locates the bib
 folder and bib files

If the directory where you run these commands from is the same directory
that your files are in it doesn't have to look up the environment
variables.  What happens if you type 'echo $BIBINPUTS' in that
directory?

 and generates the document with correct references but orgmode latex
 export does not. If I put the .bib file where my .org file is, then
 orgmode successfuly creates the document with reeerences.

 How can i set BIBINPUT correctly so that emacs finds the bib files ?

 the following link says that emacs does not recognize .bashrc. Even after
 putting those codes in .gnomerc and .profile, emacs does not find the bib
 files


I wonder if you have another file that is loaded first so that the
~/.profile is not loaded:

$ man bash

it first reads and executes commands from the file /etc/profile, if
 that file exists.  After reading that file, it looks for
 ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and
 reads and executes commands from the first one that exists and is
 readable.


Myles



[O] Error reloading Org features

2012-10-13 Thread Thomas S. Dye
Aloha all,

Earlier today via make update:
Org-mode version 7.9.2 (release_7.9.2-441-gf287ab @
/Users/dk/.emacs.d/src/org-mode/lisp/)

Then, reloading Org mode:
...
Loading /Users/dk/.emacs.d/src/org-mode/lisp/ob-tangle...done
Loading /Users/dk/.emacs.d/src/org-mode/contrib/babel/langs/ob-tcl.el 
(source)...done
Had to fall back onto load-path, something is not quite right...
...
Loading /Users/dk/.emacs.d/src/org-mode/lisp/org...done
Some error occured while reloading Org features
(ob-tcl)
Please check *Messages*!

I searched the list for this and didn't find anything, but I haven't
been paying close attention to the discussions of the current
configuration issues, so I might have missed it.

All the best,
Tom

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



[O] possible bug? org-indent-mode breaks org-clock-display

2012-10-13 Thread Not Sure
Hi!
I am using

Org-mode version 7.9.2 (7.9.2-44-g93f4b7-elpa @
/home/johannes/.emacs.d/elpa/org-20121008/)

and have the following problem:

After I clocked some work I have done and issue the command
org-clock-display, the subtotals are only displayed if the buffer is not
currently in org-indent-mode. Switching modes will solve the problem. If
I switch back the problem comes back.

I attached two screenshots of the two states.

Thanks,

Johannes
attachment: Selection_006.pngattachment: Selection_004.png

[O] Org-sync with redmine

2012-10-13 Thread Tim
I would really like to use org-sync to keep my org file and redmine in sync.
Unfortunately , this is completly unusable for me at the moment.  I followed 
the instructions , but it just clears the buffer of any text and doesnt do 
anything else.  There are messages in the *Messages* buffer saying that it is 
pulling tickets, but they are not added to the buffer, and i get the following 
error:

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  substring(nil 0 -1)
  (replace-regexp-in-string ^ :  (substring (org-element-property :value 
fixed-width) 0 -1))
  org-element-fixed-width-interpreter((fixed-width (:value nil)) nil)
  funcall(org-element-fixed-width-interpreter (fixed-width (:value nil)) nil)
  (cond ((not type) (mapconcat ... data )) ((eq type ...) (mapconcat ... ... 
))
 ((stringp data) data) ((not ...) (funcall ... data nil)) (t (let* ... ...)))
  (let* ((type ...) (results ...)) (if (memq type ...) results (let ... ...)))
  org-element-interpret-data((fixed-width (:value nil)) (section nil 
(property-drawer (:properties ...))
 (fixed-width (:value nil
 ...

Any idea where i should look for what may be causing the error ?

-Tim



Re: [O] Bib file path relative to home using tilde ~ in Ubuntu

2012-10-13 Thread Yagnesh Raghava Yakkala

Hello Sanjib,

Sanjib Sikder sanjibju2...@gmail.com writes:

 Hi,

 The easiest way to update is logout from the computer, login again and start
 emacs.

 I did that. Still not working :(

First of all can you confirm your .bashrc setting is working.?

in the terminal
--8---cut here---start-8---
echo $BIBINPUTS
--8---cut here---end---8---

and also can you check what is the value of BIBINPUTS in emacs.? Within Emacs
evaluate the following (either in scratch buffer or with key press `M-:' or
with `M-x eval-expression')

--8---cut here---start-8---
(getenv BIBINPUTS)
--8---cut here---end---8---

If you don't get what you set in your .bashrc, means the shell in Emacs is not
getting BIBINPUTS variable.

May be the last resort would be setting the variable within your .emacs

--8---cut here---start-8---
(setenv BIBINPUTS .:$HOME/bib:)
--8---cut here---end---8---

BTW how you are starting emacs? (command line or gui mouse click?)

Thanks.,
-- 
ఎందరో మహానుభావులు అందరికి వందనములు
YYR



Re: [O] Bib file path relative to home using tilde ~ in Ubuntu

2012-10-13 Thread Nick Dokos
Sanjib Sikder sanjibju2...@gmail.com wrote:

 Hi,
 
 The easiest way to update is logout from the computer, login again and start 
 emacs.
 
 I did that. Still not working :(
 

When you have problems like this, you need to take it in small
steps.

o What shell are you using? Yagnesh's recommendation assumes
  that you are running bash as your shell (presumably on some
  Linux/Unix system). Is this assumption correct?

o Assuming you are using bash, there are two relevant initialization
  files: a login shell sources $HOME/.profile and any shell (be it a login
  shell or one that is started as a descendant of your login shell) sources
  $HOME/.bashrc.

o Adding

  export FOO=bar

  to such an initialization file causes the variable FOO to be defined (with 
value bar)
  and to be exported (i.e. it is available in the environment of *any* 
subprocess of
  this shell).

o So log out and log back in[fn:2], start a shell and at the prompt say

  echo $FOO

  Does it say bar? If not, don't go any further: the problem has nothing to 
do with
  emacs (note that this is the first time I mention emacs).

o If this part is OK, start emacs *from this shell*: it should inherit the 
variable.
  You can check by evaluating this form:

  (getenv FOO)

  Then the variable will also be available to any subprocesses started by emacs.

o In particular, if you define BIBINPUTS as Yagnesh suggests, then the bibtex 
invoked
  by the latex exporter under emacs will find the bib file where you told it.
  
o What can go wrong? The usual problem is that you use some graphical
  desktop environment and start emacs by clicking on some icon. Then
  the emacs process does not have a bash shell as its parent, so it does
  not inherit the exported variables. Try starting emacs from a bash
  command line.[fn:2]

Nick

Footnotes:
[fn:1] If you define it in .bashrc, you shouldn't have to log out and log
   back in: just start a new bash shell.

[fn:2] I prefer defining variables in my .profile and I have arranged
   for my .profile to be sourced by the appropriate initialization
   file of my graphical desktop environment, so I get it whether I
   log in at the console or through the graphical login. That
   way *every* process, no matter how it is started, has the
   variables available to it. I use .bashrc only for aliases (which
   I use very rarely, so most of the time I don't have a .bashrc
   file at all).




Re: [O] Bug: org-read-date: problem with year in dotted european date input [7.9.2 (release_7.9.2-436-g9b11e6 @ /home/grfz/src/org-mode/lisp/)]

2012-10-13 Thread Nick Dokos
Gregor Zattler telegr...@gmx.net wrote:

 Hi Nicolas, org-mode users and developers,
 * Nicolas Goaziou n.goaz...@gmail.com [13. Oct. 2012]:
  Gregor Zattler telegr...@gmx.net writes:
  
  Back to square one: Does anybody know How to customise
  Emacs/org-mode so that dotted European dates are parsed correctly
  at the date/time prompt?
  
  Again, dotted European dates are parsed correctly without customization.
  Would you provide a time string that isn't?
 
 Naked dotted european dates without surrounding text are
 parsed correctly by org-read-date.
 
 But with date/time prompt I mean the prompt which asks me for a
 date/time when invoking org-time-stamp.  Here I'm allowed to
 insert Dates like the event takes place at 27.10. at 14:00 in
 the pub.  Org-mode is supposed to parse these, see
 [[info:org#The%20date/time%20prompt][info:org#The date/time prompt]].
 
 If I now yank Kommt am 27.10.2012 um 14:00 zum in this
 date/time prompt, the result is 2010-10-27 Mi 14:00 instead
 of 2012-10-27 Sa 14:00.  ^   ^^
 ^   ^^
 

org-read-date calls org-read-date-analyze which does not recognize
this as any kind of time string format it knows about (all the regexps
it tries fail to match), so it calls parse-time-string. Lo and behold,

(parse-time-string Kommt am 27.10.2012 um 14:00 zum)

returns

(0 0 14 27 nil 2010 nil nil nil)


 
 I had a look at org-time-stamp which is invoked by C-c .  I do
 not understand how this function parses dates/times from text.
 Therefore I looked for functions with appropriate names which are
 called by org-time-stamp.  The only one I could find is
 org-read-date.  It obviously parses dates from a string and
 identifies parts (day, month, year).  I thought org-read-date
 does the heavy lifting with respect to date parsing.  But now I
 think you are right and org-read-dates parses naked dates.  But
 where does the parsing of texts which contain dates take place?
 

org-read-date does fine with Kommt am 2012-10-27 um 14:00 zum,
because parse-time-string can figure out the iso date, even
though it cannot figure out the dotted european one:

(parse-time-string Kommt am 2012-10-27 um 14:00 zum)

returns

(0 0 14 27 10 2012 nil nil nil)

Nick