Re: [Orgmode] org-export-latex.el renamed

2009-04-12 Thread Carsten Dominik

Hi Christopher,

On Apr 9, 2009, at 7:23 PM, Christopher Suckling wrote:


On 9 Apr 2009, at 17:33, Carsten Dominik wrote:


the file org-export-latex.el has been renamed to org-latex.el.

I think some of you might have

(require 'org-export-latex)

in your setup, this needs to be changed.

Also, after pulling from the git repo,
running

 make clean
 make

to produce the correct autoloads will be important.


Hi Carsten,

I did as above and additionally removed any latex stuff from  
my .emacs (org-export-latex-classes and org-export-latex-default- 
class).



You can leave the variables in, they are still unchanged.  Just change  
the require statement.




On trying to export to latex, I get the following error:

org-export-latex-set-initial-vars: Symbol's value as variable is  
void: org-export-html-style-include-default


I think tis is fixed now, can you please try and report back?

Thanks.

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] New Feature: org-refile can create new headings

2009-04-12 Thread Jason Jackson
Hey,
I use org-refile very often to move things around and reorganize my notes.
But one annoyance is when I want to reorganize an Item into a *new heading*
.

Typically, this happens when I'm doing my weekly GTD task sorting.

I have a huge 'bucket' of things I added during the week. And i'd like to
organize it all really quickly; but right now, anytime I want to make a new
heading, I have to scroll around and do it manually, loosing my place in the
bucket.

Could this be a new feature of org-mode, or any other ideas for a solution?

Cheers,
Jason
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] fixed error in my code

2009-04-12 Thread dericbytes
- changed regex
- it now works if there is no clock running

(defun change-todo-state-on-old-clock ()
; old-clock needs state changed if STARTED
(save-excursion
(progn
(when (marker-buffer org-clock-marker)
(set-buffer (marker-buffer org-clock-marker))
(goto-char (point-min))
(when  (re-search-forward ^\*+ STARTED nil t)
(org-todo WAITING))



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] problems with org-protocol in firefox on a mac

2009-04-12 Thread Manuel Hermenegildo

I am trying to set up firefox (3.0.8) to handle org-protocol on a mac
with little success. I had no problems on Linux, by the way. Perhaps
someone out there that is more mac-savvy than me can help?

Basically I followed the standard instructions (setting up
network.prtocol-handler.* through about:config etc.) but I kept
getting the infamous protocol (org-protocol) isn't associated with
any program no matter what target I tried
(/usr/local/bin/emacsclient, etc.).  Then I found a hint that maybe it
had to be changed globally for the whole mac (using
http://www.monkeyfood.com/software/moreInternet/) but this application
does not allow me to point to /usr/local/bin/emacsclient. I did allow
me to point the protocol to, e.g., Emacs.app, and that worked popping
up emacs, but it is not what one wants. Then I came upon the
Platypus wrapper and made an emacsclient.app but moreInternet did
not like that either.

Can someone who has been successful with a mac give me a hint? 

Thanks in advance. --MH

-- 
---
 Manuel Hermenegildo | Prof., C.S.Dept., T.U. Madrid (UPM)
 Director, IMDEA-Software and CLIP Group | +34-91-336-7435 (W) -352-4819 (Fax)
---


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] matching color themes with org mode

2009-04-12 Thread Carsten Dominik

Hi Rustom,

On Apr 11, 2009, at 5:03 PM, Rustom Mody wrote:

The only 'color-theme' Ive been able to use so far is to set  
background to wheat.


I am now trying some more attractive (aka darker) color themes

Now I have

(custom-set-faces
 '(org-hide background light)) (:foreground wheat)

which is done to hide stars in org mode. [That's a fearful number of  
'('s even for an ol-lisper!]


I would like to generalize wheat to whatever is the background  
color



I don't think you can do it easily in the face definition, but later  
you can do


(set-face-attribute 'org-hide nil
:foreground
(face-attribute 'default :background))

HTH

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Orgtable column width control to Latex?

2009-04-12 Thread Carsten Dominik


On Apr 9, 2009, at 4:51 PM, Madhu Rao wrote:


Is there a way I can specify the |p{width}| in a org-mode table?
Some ATTR_LaTeX method?
I am not able to get the latex table to wrap-around text on very
wide columns that I have in a table.
Could someone please suggest a solution?


#+ATTR_LaTeX: align=llp{3cm}rl

HTH

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-export-latex.el renamed

2009-04-12 Thread Carsten Dominik

Yes, I just saw that too.

Fixed now.

- Carsten

On Apr 12, 2009, at 6:56 PM, Christopher Suckling wrote:


On 12 Apr 2009, at 07:23, Carsten Dominik wrote:


Hi Christopher,

On Apr 9, 2009, at 7:23 PM, Christopher Suckling wrote:


On 9 Apr 2009, at 17:33, Carsten Dominik wrote:


the file org-export-latex.el has been renamed to org-latex.el.

I think some of you might have

(require 'org-export-latex)

in your setup, this needs to be changed.

Also, after pulling from the git repo,
running

make clean
make

to produce the correct autoloads will be important.


Hi Carsten,

I did as above and additionally removed any latex stuff from  
my .emacs (org-export-latex-classes and org-export-latex-default- 
class).



You can leave the variables in, they are still unchanged.  Just  
change the require statement.


Done.



On trying to export to latex, I get the following error:

org-export-latex-set-initial-vars: Symbol's value as variable is  
void: org-export-html-style-include-default


I think tis is fixed now, can you please try and report back?


Above error message fixed but new problem:

Exporting to LaTeX...
org-export-as-latex: Wrong type argument: number-or-marker-p, nil

Best,

Christopher





___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-export-latex.el renamed

2009-04-12 Thread Christopher Suckling


On 12 Apr 2009, at 19:01, Carsten Dominik wrote:


Yes, I just saw that too.

Fixed now.


Indeed it is. Thanks.

Christopher


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Format for timestamp export

2009-04-12 Thread Daniel Clemente
El jue, abr 09 2009, Carsten Dominik va escriure:

 Can I format timestamps on export?

 You can customize them for display, which will also
 transfer to exported files.
 Check out the variables `org-display-custom-times' and
 `org-time-stamp-custom-formats'.

  Thanks; I didn't know that org-display-custom-times would affect also the 
export. Could the documentation say that?



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Format for timestamp export

2009-04-12 Thread Christopher Suckling


On 12 Apr 2009, at 19:37, Daniel Clemente wrote:


El jue, abr 09 2009, Carsten Dominik va escriure:


Can I format timestamps on export?


You can customize them for display, which will also
transfer to exported files.
Check out the variables `org-display-custom-times' and
`org-time-stamp-custom-formats'.

 Thanks; I didn't know that org-display-custom-times would affect  
also the export. Could the documentation say that?




BTW, this doesn't work in the latex exporter. I used the attached ugly  
hack rather than fix the latex exporter - I suspect I was in a rush to  
get a piece of work out to someone. Anyway, the function cas/org- 
export-as-latex-to-buffer-with-timestamp behaves the same as org- 
export-as-latex-to-buffer, but translates all timestamps to org-time- 
stamp-custom-formats.


Best,

Christopher



org-latex-timestamp.el
Description: Binary data


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Error message when running remember - byte-code: Before first headline at position 363 in buffer *Remember*

2009-04-12 Thread Carsten Dominik


On Apr 9, 2009, at 3:37 PM, Deric Bytes wrote:


I was hoping to add a top-level heading to my file. I changed


Set the headline field in the template to 'top or 'bottom to get top- 
level headlines and the beginning or end of the file, respectively.


- Carsten




 (setq org-remember-templates
 '((* Task ?t %^{Task status|TODO|STARTED|SUBTASK} %^{Brief
Description} %^G\n %^{subject}p  %^{other-subjects}p
%^{sub-subjects}p  %^{keywords}p %?\nCalled from: %a\nAdded: %U
~/notes/notes-log-090410.org))

to this  ( subsituted '* Task'  for 'Task' )

 (setq org-remember-templates
 '((Task ?t %^{Task status|TODO|STARTED|SUBTASK} %^{Brief
Description} %^G\n %^{subject}p  %^{other-subjects}p
%^{sub-subjects}p  %^{keywords}p %?\nCalled from: %a\nAdded: %U
~/notes/notes-log-090410.org))

i did this because it was adding double stars.

I got the following error message when adding properties to my  
template


byte-code: Before first headline at position 363 in buffer *Remember*


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] problems with org-protocol in firefox on a mac

2009-04-12 Thread Robert Goldman

 I am trying to set up firefox (3.0.8) to handle org-protocol on a mac
 with little success. I had no problems on Linux, by the way. Perhaps
 someone out there that is more mac-savvy than me can help?
 
 Basically I followed the standard instructions (setting up
 network.prtocol-handler.* through about:config etc.) but I kept
 getting the infamous protocol (org-protocol) isn't associated with
 any program no matter what target I tried
 (/usr/local/bin/emacsclient, etc.).  Then I found a hint that maybe it
 had to be changed globally for the whole mac (using
 http://www.monkeyfood.com/software/moreInternet/) but this application
 does not allow me to point to /usr/local/bin/emacsclient. I did allow
 me to point the protocol to, e.g., Emacs.app, and that worked popping
 up emacs, but it is not what one wants. Then I came upon the
 Platypus wrapper and made an emacsclient.app but moreInternet did
 not like that either.
 
 Can someone who has been successful with a mac give me a hint? 
 
 Thanks in advance. --MH
 

I have been similarly unsuccessful with the Mac.  As far as I can tell,
this is actually a bug in the Mac version of Firefox.  I have posted to
the mozilla zine forums about this
(http://forums.mozillazine.org/viewtopic.php?f=38t=889745), and have
also filed a bug on the Mozilla bugzilla
(https://bugzilla.mozilla.org/show_bug.cgi?id=471724).

Alas, there does not seem to be any interest in fixing this bug evinced
by the organization, and I am not at all a C++ programmer, so can't do
anything myself.  I can only encourage you, and all Org users, to vote
for this bug.

And meanwhile you can at least save yourself some hours of fruitless
wrestling with Firefox preferences!

Best,
R


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] another bug in remote references in spreadsheet

2009-04-12 Thread Rares Vernica
Hi,

I think I found another bug related to remote references. When I
insert/remove a row/column using the table commands, the remote
references to other tables are also updated. I think org treats remote
as a regular function and updates the references inside it.

Here is an example:

#+TBLNAME: TableA
| 101 |
#+TBLFM: @1$1=remote(TableB,@1$1)

#+TBLNAME: TableB
| 101 |

If I go in the cell of TableA and do M-S-down arrow, I get the
following:

#+TBLNAME: TableA
| |
| 101 |
#+TBLFM: @2$1=remote(TableB,@2$1)


As you can see the remote reference has been updated. I similar update
happens when I remove a row or insert/remove a column.

Here is version info (I updated both emacs and org-mode from repository
on April 6th):

emacs-version is a variable defined in `version.el'.
Its value is 23.0.92.2

org-version is a variable defined in `org.el'.
Its value is 6.25d

Thanks,
Rares



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Point trapped in link

2009-04-12 Thread Leo
Hi all,

I came across this bug by accident.

1. Create a new buffer and put it in org-mode
2. Create a new heading
3. Copy a url in for example http://www.google.com/
4. C-c C-l on the link and change the description to 'google' without
   the quotes.
5. Move point (I use left and right) inside the link description.

You can see the point sometimes trapped in the beginning of the
description, left or right not able to move it.


I am running: GNU Emacs 23.0.92.1 (i386-apple-darwin9.6.0, NS
apple-appkit-949.43) of 2009-04-12 on 64-71-7-214.static.wiline.com

and org 6.21b.

Best,
-- 
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Bold links not working

2009-04-12 Thread Daniel Clemente

  With org-mode 6.25trans from git from right now, I get this output:

p
A *a href=#destinationbold link/a*, a strongbold word/strong.
/p


  From this input:

A *[[destination][bold link]]*, a *bold word*.


  Both links are however correctly hightlighted with a bold face.

  At the moment I don't know if this is a regression or did never work before.
  I have seen that [[destination][*bold link*]] works, but writing *some words 
and a [[d][bold]] link* is an easier syntax than *some bold words* [[d][*and a 
bold link*]].


  The problem seeems to be in org-html-expand. It is breaking the line in these 
parts:
- A *
- [[destination][bold link]]
- *, a *bold word*.
   …and calling org-html-do-expand on each. But the first part alone does not 
activate bold because it doesn't match org-emph-re.

  What I don't know is how org-html-do-expand could receive the full unbroken 
string so that it can detect the first bold and yet can't be fooled by 
asterisks inside the link, as in *[[de][oops* broken]] (this matches 
org-emph-re).


-- Daniel




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Point trapped in link

2009-04-12 Thread Daniel Clemente

 You can see the point sometimes trapped in the beginning of the
 description, left or right not able to move it.

  I can also see this bug; org-mode 6.25trans. The cursor is in fact moving 
through the invisible syntax, which at the beginning is 
[[http://www.google.com/][ (so after 26 right, you see it move again).

-- Daniel



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Orgtable column width control to Latex?

2009-04-12 Thread Madhu Rao


On 12-Apr-09, at 10:36 PM, Carsten Dominik wrote:



On Apr 9, 2009, at 4:51 PM, Madhu Rao wrote:


Is there a way I can specify the |p{width}| in a org-mode table?
Some ATTR_LaTeX method?
I am not able to get the latex table to wrap-around text on very
wide columns that I have in a table.
Could someone please suggest a solution?


#+ATTR_LaTeX: align=llp{3cm}rl

HTH



Thanks very much Carsten. Saved me an extra step of editing tex.


- Carsten





___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode