Re: [Orgmode] - when selecting entries in the agenda view

2009-09-08 Thread Carsten Dominik

Hi Bastien,

please go ahead an apply this patch.

- Carsten

On Sep 8, 2009, at 1:31 AM, Bastien wrote:


Hi Carsten and all,

when selecting entries in the agenda view, I find the  prefix a
bit heavy.  I would like to replace it with a simple  .

Objections?  Other suggestions?

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 60cb113..04b5514 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -6559,7 +6559,7 @@ This is a command that has to be installed in  
`calendar-mode-map'.

  (unless m (error Nothing to mark at point))
  (push m org-agenda-bulk-marked-entries)
  (setq ov (org-make-overlay (point-at-bol) (+ 2 (point-at-bol
-  (org-overlay-display ov 
+  (org-overlay-display ov  
   (org-get-todo-face TODO)
   'evaporate)
  (org-overlay-put ov 'type 'org-marked-entry-overlay))

--
Bastien
___
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] Remove redundant Select link prompt in C-c C-o

2009-09-08 Thread Carsten Dominik

OK to this change as well.

- Carsten

On Sep 8, 2009, at 1:35 AM, Bastien wrote:


Since the minibuffer already prompts the user to select a link
when C-c C-o triggers a choice, no need to prompt this again in
the temporary window.

Objections?

diff --git a/lisp/org.el b/lisp/org.el
index b58cacc..39ef466 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -8094,7 +8094,6 @@ there is one, offer it as link number zero.
(save-window-excursion
  (delete-other-windows)
  (with-output-to-temp-buffer *Select Link*
-   (princ Select link\n\n)
(mapc (lambda (l)
(if (not (string-match org-bracket-link-regexp l))
(princ (format [%c]  %s\n (incf cnt)

--
Bastien
___
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] Re: schedule tasks

2009-09-08 Thread William Xu
PT spamfilteracco...@gmail.com writes:

 I use a similar setup. As I understand if you want items to
 appear on the date they are due you have to use the daily agenda.

 So I use a custom agenda which shows the agenda items and the
 todo list together:


 (setq org-agenda-custom-commands
   '((h My Agenda  TODO
  ((agenda )
   (alltodo home)

 The agenda part is empty if there are no due items today and the
 regular todo items are under it.

 Invoke the agenda with M-1 prefix to show items only for today.
 It can be assigned to a keyboard macro, of course.

Great! Thanks!

-- 
William

http://xwl.appspot.com



___
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] Re: Fwd: loading org changes faces in other modes

2009-09-08 Thread Carsten Dominik


On Sep 7, 2009, at 2:53 PM, Bastien wrote:


Hi Tassilo,

Tassilo Horn tass...@member.fsf.org writes:

with all those troubles, what's the point in `org-modules' anyway?   
Are
there any benefits over plain requires in users' .emacs files  
except the

nice and explanatory customize interface?


One advantage I see is that org.el can define a default set of loaded
modules, while suggesting the user that there are many others to load.


Exactly.  I did not like the planner setup, where you have to go
in and put a significant number of require statements before
the thing will actually work.  So while I wanted a modular
package,  also wanted to ship a fully activated package.

Secondly, just as Bastien says, I want to make it easy to
find modules you might want to use.

But it is not easy to get the loading of the modules right,
the timing is important.  It has worked pretty well so far
though, I would say.

For the problem with gnus, I have now found a solution, I think.
I do now (in org-gnus.el):

(require 'org)
(eval-when-compile (require 'gnus-sum))
;; The following line suppresses a compier warning stemming from gnus- 
sum.el

;; because this function is used before being defined
(declare-function gnus-summary-last-subject gnus-sum nil)

That does compile without errors, and it delays loading gnus
until it is actually used.

I'd like to hear if anyone still has problems with the latest
git release.

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] Re: How to get \\ in title or author?

2009-09-08 Thread Sébastien Vauban
Hi Bastien,

Bastien wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 I have a small problem when I want to put a double backslash in the list of
 authors, for example.

 #+AUTHOR:Main author \\ Second one

 gets exported in LaTeX as

 \author{Main author \\textbackslash{} Second one}

 What's not the expected result...

 Is this a bug?  Is there a workaround?

 The workaround I can think of is to use \linebreak instead of \\.
 \\ really means new paragraph and it doesn't really make sense in the
 author or title environment, does it?

Of course, starting a new paragraph has no sense. But (AFAIK) -- unlike `\par'
-- `\\' does mean start a new line, doesn't it?

Before sending this question, I had already tried a workaround with
`\newline', but though the authors and the title were on 2 lines, their
centering on the title page was completely broken.

But your solution using `\linebreak':

--8---cut here---start-8---
#+TITLE: Main title \linebreak Subtitle
#+AUTHOR:Main author \linebreak Second one
--8---cut here---end---8---

DOES WORK. Thanks for your precious help!

I'm not sure to understand the subtle differences between `\\', `\newline' and
`\linebreak', though...

Best regards,
  Seb

-- 
Sébastien Vauban



___
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] Re: Fwd: loading org changes faces in other modes

2009-09-08 Thread Tassilo Horn
Bastien bastiengue...@googlemail.com writes:

Hi Bastien,

 with all those troubles, what's the point in `org-modules' anyway?
 Are there any benefits over plain requires in users' .emacs files
 except the nice and explanatory customize interface?

 One advantage I see is that org.el can define a default set of loaded
 modules, while suggesting the user that there are many others to load.

Yes, I agree.  On the other hand a listing in the info doc's
installation section would be nearly as good as the customize interface.

Anyway, those strange fontification troubles arising when org loads
modules automatically via org-modules are definitively a bug.  Not sure
if its on our or the emacs side...

Bye,
Tassilo



___
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] Line folding

2009-09-08 Thread Somayaji, Ananth
Hi,

Any pointers on how to enable line-folding like the one done in filladapt-mode 
in org-mode ? I tried doing it but the syntax highlighting is all gone bad.

Best Regards, Ananth

___
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] Re: RSI

2009-09-08 Thread B Smith-Mannschott
On Tue, Sep 8, 2009 at 07:50, PTspamfilteracco...@gmail.com wrote:
 Daniel Martins danielemc at gmail.com writes:

 Sticky keys takes some getting used to. It makes every modifier key
 work a little like caps lock. Sounds horrible, doesn't it? Well, it's
 not really. Basically, if you press control once, it locks control
 down for the next keystroke only, after which point the keyboard
 returns to normal. Press control twice, and it locks down until you
 release it with a third press.
 C-x C-f
 Used to be: press and hold control. Press and release x. press and
 release f. Release control.
 Now it's Press and release control twice. Press and release x. press
 and release f. Press and release control.

 I don't know which implementation you use, but with Windows' built-in
 sticky key setup there is no change compared to the usual order of keys:


 press/release ctrl, press/release x, press/release ctrl, press/release f

 No need to press and release control twice at the beginning, so it's the
 same number of keypresses as the usual method, you only need to pay
 attention you release the previous key before pressing the next one.

yes, you can do it this way too, in fact I usually do for two-key
sequences. You do have the option of locking down a modifier key by
pressing it twice. Press once more to release it. Occasionally I find
myself inputting a burst of keystrokes under the same modifier, in
cases like that it can make sense to do this. (Think of it as a
mode, in the way that word is used among the vi crowd.) I use that
when I'm going to be repeating the same control key binding often,
i.e. when I'm isearching through a document looking at all the
matches:

[ctrl] [s] sometext [ctrl][ctrl] [s] [s] [s] [s] [s] [s] [s] ... [ctrl]

instead of

[ctrl] [s] sometext [ctrl] [s] [ctrl] [s] [ctrl] [s] [ctrl] [ctrl] [s]
[ctrl] [s] [ctrl] [s] [ctrl] [s] ...

// Ben


___
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] Re: Subversion for backups?

2009-09-08 Thread Greg Newman
Thanks Bastien.

On Mon, Sep 7, 2009 at 6:31 PM, Bastien bastiengue...@googlemail.comwrote:

 Hi Greg,

 Greg Newman g...@20seven.org writes:

  In light of this topic I've posted my process using mercurial and
 bitbucket
  from my Mac.  I've added an hourly bash script to my daemons to push to
 my repo
  every hour.  You can get all the details at
 http://www.20seven.org/journal/2009
  /09/backing-up-org-mode-files.html

 I've added a link to this blog entry at the end of this page:

  http://orgmode.org/worg/org-tutorials/org-vcs.php

 Thanks,

 --
  Bastien

___
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] - when selecting entries in the agenda view

2009-09-08 Thread Bastien
Carsten Dominik carsten.domi...@gmail.com writes:

 please go ahead an apply this patch.

Done!

-- 
 Bastien


___
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] Remove redundant Select link prompt in C-c C-o

2009-09-08 Thread Bastien
Carsten Dominik carsten.domi...@gmail.com writes:

 OK to this change as well.

Done as well.

-- 
 Bastien


___
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] Line folding

2009-09-08 Thread Sebastian Rose
Somayaji, Ananth gs_ana...@ti.com writes:
 Hi,

 Any pointers on how to enable line-folding like the one done in filladapt-mode
 in org-mode ? I tried doing it but the syntax highlighting is all gone bad.

 Best Regards, Ananth

Hi Ananth,

not sure, what you mean by `line-folding'. But if you want to have
automatic line breaks on, just turn on auto-fill-mode for your Org-files:

 (add-hook 'org-mode-hook 'turn-on-auto-fill)

I simply have

 (add-hook 'text-mode-hook 'turn-on-auto-fill)

to turn on auto-fill-mode in any text file. text-mode-hook is called
from outline-mode.


Not sure if this helps. I use fill-adapt for very special cases like
comments in C/C++ file and so on.



Best regards,

  Sebastian


___
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] Re: How to get \\ in title or author?

2009-09-08 Thread Bastien
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 #+TITLE: Main title \linebreak Subtitle
 #+AUTHOR:Main author \linebreak Second one

 DOES WORK. Thanks for your precious help!

 I'm not sure to understand the subtle differences between `\\', `\newline' and
 `\linebreak', though...

Me neither :)

I've found this, which might help:

  http://www.personal.ceu.hu/tex/breaking.htm

Maybe \linebreak is less context-sensitive than \newline, which would
mean that there are more contexts (like \title and \author) in which 
it behaves as expected.  Just a guess.

-- 
 Bastien


___
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] Clocktable not appearing in exports @84c24359689

2009-09-08 Thread Jeff Kowalczyk
I updated to org-mode @ 84c24359689004cc646221ad5c4399bb0acffdd8 on emacs 23.1

I don't get any clocktable clock summary output when exporting. I've tested 
this for pdflatex and ASCII to temp buffer.

The pdflatex output has some other issues I haven't fully identified by visual 
inspection alone.

I did revert to 25226d7d65e4620cbe1b814b85226547cd2642eb, and the output is 
fine with that tree.

Thanks,
Jeff Kowalczyk


  


___
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] Clocktable not appearing in exports @84c24359689

2009-09-08 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Sep 8, 2009, at 2:52 PM, Jeff Kowalczyk wrote:

I updated to org-mode @ 84c24359689004cc646221ad5c4399bb0acffdd8 on  
emacs 23.1


I don't get any clocktable clock summary output when exporting. I've  
tested this for pdflatex and ASCII to temp buffer.


The pdflatex output has some other issues I haven't fully identified  
by visual inspection alone.


I did revert to 25226d7d65e4620cbe1b814b85226547cd2642eb, and the  
output is fine with that tree.


Thanks,
Jeff Kowalczyk





___
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] iPhone app for Org view and capture

2009-09-08 Thread Bastien
Richard Moreland r...@ncogni.to writes:

 Here is a teaser video of the app running in the simulator:
 http://ncogni.to/ mobileorg-demo1.mov

WOW... Great work!

-- 
 Bastien


___
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] iPhone app for Org view and capture

2009-09-08 Thread Greg Newman
Bastien took the words out of my mouth! :D

On Tue, Sep 8, 2009 at 4:36 AM, Bastien bastiengue...@googlemail.comwrote:

 Richard Moreland r...@ncogni.to writes:

  Here is a teaser video of the app running in the simulator:
  http://ncogni.to/ mobileorg-demo1.mov

 WOW... Great work!

 --
  Bastien


 ___
 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] iPhone app for Org view and capture

2009-09-08 Thread peter . frings


On 08 Sep 2009, at 16:24, Richard Moreland wrote:

I've been working with Carsten on a free iPhone app for Org.  We are  
still working out some of the details, but so far we have it running  
on the phone in a fairly usable state.  It needs some polish, but it  
is very nice to see my Org data easily accessible on a mobile device  
with offline access.  To be clear, we aren't trying to run Emacs on  
the device.  The goal is to view Org files and agendas as well as  
capture new notes.


Here is a teaser video of the app running in the simulator:  
http://ncogni.to/mobileorg-demo1.mov

Once we feel the basics are worked out, we will solicit a request  
for beta testers and feedback, but for now you'll have to be  
satisfied with the demo video :)



Wow indeed. Some things immediately came up when viewing the movie; I  
hope you don't mind me posting them so soon.


I imagine the app does not require a live connection to the server. In  
order to work offline, I think that the app must

- clearly show the time of downloading each document,
- be able to capture and store multiple notes when offline and forward  
them when online. A way of reviewing the stored notes, possibly edit  
or remove them would be a bonus.


I could imagine that captured but not yet forwarded notes appear in  
the 'capture.org' document entry (on the App), marked as not-forwarded  
and being editable and removable. After syncing, these notes become  
part of the real capture.org document and thus read-only, just like  
the rest.



Oh well, you probably thought of all that, so I'll just shut up now...

Cheers,
Peter.___
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] iPhone app for Org view and capture

2009-09-08 Thread Richard Moreland
Hi all,

I've been working with Carsten on a free iPhone app for Org.  We are still
working out some of the details, but so far we have it running on the phone
in a fairly usable state.  It needs some polish, but it is very nice to see
my Org data easily accessible on a mobile device with offline access.  To be
clear, we aren't trying to run Emacs on the device.  The goal is to view Org
files and agendas as well as capture new notes.

Here is a teaser video of the app running in the simulator:
http://ncogni.to/mobileorg-demo1.mov

Once we feel the basics are worked out, we will solicit a request for beta
testers and feedback, but for now you'll have to be satisfied with the demo
video :)

Thanks,
Richard
___
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] patch for git: org-ascii.el

2009-09-08 Thread Wes Hardaker

org-ascii uses org-float-time which is in org-compat:

diff --git a/lisp/org-ascii.el b/lisp/org-ascii.el
index 4fd5675..e6ad8d1 100644
--- a/lisp/org-ascii.el
+++ b/lisp/org-ascii.el
@@ -27,6 +27,7 @@
 ;;; Commentary:

 (require 'org-exp)
+(require 'org-compat)

 (defgroup org-export-ascii nil
   Options specific for ASCII export of Org-mode files.


-- 
\ Wes Hardaker   http://pontifications.hardakers.net /
 \_ In the bathtub of history the truth is harder to hold than /
   \___ the soap, and much more difficult to find. ___/
   \_ -- Terry Pratchett __/
 \__/


___
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] iPhone app for Org view and capture

2009-09-08 Thread John Rakestraw
 Here is a teaser video of the app running in the simulator:
 http://ncogni.to/mobileorg-demo1.mov

For some reason I can't get to the video just now, but I'll still say
that this is really good news. Looking forward to the app.

-- 
John Rakestraw


___
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] Prefixing a function call with C-digit

2009-09-08 Thread Raffi R
Dear org users,

I'd like to write some advice or a wrapper function for org-export
such that it defaults to a heading level of 0.

In org-mode normally, I can get this behaviour by pressing C-0 C-x
C-e.  Looking at org.el suggested that I should be able to simply
provide the 0 as an argument, i.e. using (org-export 0). However,
org-export seems to ignore that 0.

Thank you very much,
- Raffi.


___
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] patch for git: org-ascii.el

2009-09-08 Thread Andrew Stribblehill
Are you sure you need this? Try make clean; make, without it?

2009/9/8 Wes Hardaker wjhns...@hardakers.net:

 org-ascii uses org-float-time which is in org-compat:

 diff --git a/lisp/org-ascii.el b/lisp/org-ascii.el
 index 4fd5675..e6ad8d1 100644
 --- a/lisp/org-ascii.el
 +++ b/lisp/org-ascii.el
 @@ -27,6 +27,7 @@
  ;;; Commentary:

  (require 'org-exp)
 +(require 'org-compat)

  (defgroup org-export-ascii nil
   Options specific for ASCII export of Org-mode files.


 --
 \ Wes Hardaker                           http://pontifications.hardakers.net /
  \_ In the bathtub of history the truth is harder to hold than /
       \___ the soap, and much more difficult to find. ___/
               \_ -- Terry Pratchett __/
                         \__/


 ___
 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] Correct Way to Customize LaTeX Export?

2009-09-08 Thread Peter Jones
I recently started exporting some org headlines to LaTeX.  I poked
around but couldn't find the best way to customize the output, e.g. add
a call to hypersetup.  The best I came up with was:

,
| (setq org-export-latex-classes
|   '((article
|  \\documentclass[11pt]{article}
| \\usepackage[utf8]{inputenc}
| \\usepackage[T1]{fontenc}
| \\usepackage{graphicx}
| \\usepackage{longtable}
| \\usepackage{soul}
| \\usepackage{hyperref}
| \\hypersetup{
|   hyperindex=true,
|   plainpages=false,
|   colorlinks=true,
|   linkcolor=black
| }
|  (\\section{%s} . \\section*{%s})
|  (\\subsection{%s} . \\subsection*{%s})
|  (\\subsubsection{%s} . \\subsubsection*{%s})
|  (\\paragraph{%s} . \\paragraph*{%s})
|  (\\subparagraph{%s} . \\subparagraph*{%s}
`

But by doing that, I would have to update this variable when pulling
down a new org version that might have changed the default value of
org-export-latex-classes.

Is there a better way to do stuff like insert a call to hypersetup?

-- 
Peter Jones - 303-219-0226
pmade inc.  - http://pmade.com



___
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] Correct Way to Customize LaTeX Export?

2009-09-08 Thread Russell Adams
That's where the export header comes in handy.

In .emacs:

 ,
 | (setq org-export-latex-classes
 |   '((article
 |  \\documentclass[11pt]{article}
 |  (\\section{%s} . \\section*{%s})
 |  (\\subsection{%s} . \\subsection*{%s})
 |  (\\subsubsection{%s} . \\subsubsection*{%s})
 |  (\\paragraph{%s} . \\paragraph*{%s})
 |  (\\subparagraph{%s} . \\subparagraph*{%s}
 `

At the top of your .org file:

#+LATEX_HEADER \\usepackage[utf8]{inputenc}
#+LATEX_HEADER \\usepackage[T1]{fontenc}
#+LATEX_HEADER \\usepackage{graphicx}
#+LATEX_HEADER \\usepackage{longtable}
#+LATEX_HEADER \\usepackage{soul}
#+LATEX_HEADER \\usepackage{hyperref}
#+LATEX_HEADER \\hypersetup{
#+LATEX_HEADER   hyperindex=true,
#+LATEX_HEADER   plainpages=false,
#+LATEX_HEADER   colorlinks=true,
#+LATEX_HEADER   linkcolor=black
#+LATEX_HEADER }

On Tue, Sep 08, 2009 at 02:41:17PM -0600, Peter Jones wrote:
 I recently started exporting some org headlines to LaTeX.  I poked
 around but couldn't find the best way to customize the output, e.g. add
 a call to hypersetup.  The best I came up with was:
 
 
 But by doing that, I would have to update this variable when pulling
 down a new org version that might have changed the default value of
 org-export-latex-classes.
 
 Is there a better way to do stuff like insert a call to hypersetup?
 
 -- 
 Peter Jones - 303-219-0226
 pmade inc.  - http://pmade.com
 
 
 
 ___
 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
 


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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] Re: How to get \\ in title or author?

2009-09-08 Thread Sébastien Vauban
Hi Bastien,

Bastien wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
 I'm not sure to understand the subtle differences between `\\', `\newline'
 and `\linebreak', though...

 Me neither :)

 I've found this, which might help:

   http://www.personal.ceu.hu/tex/breaking.htm

I don't really understand the differences, and it's not that correct: just
look at \\ which is supposed to start a new paragraph (in index) but a new
line (in rest of text)!??


 Maybe \linebreak is less context-sensitive than \newline, which would mean
 that there are more contexts (like \title and \author) in which it behaves
 as expected. Just a guess.

I've asked the question on FCTT (fr.comp.text.tex) and already got an answer
of Maneul Pegourie-Gonnard (who is expert on that matter):

http://groups.google.fr/group/fr.comp.text.tex/browse_thread/thread/1b1af2e5291270e2#

Sorry (for the others), it's in French.

Seb

-- 
Sébastien Vauban



___
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] Correct Way to Customize LaTeX Export?

2009-09-08 Thread Nick Dokos
 On Tue, Sep 08, 2009 at 02:41:17PM -0600, Peter Jones wrote:
  I recently started exporting some org headlines to LaTeX.  I poked
  around but couldn't find the best way to customize the output, e.g. add
  a call to hypersetup.  The best I came up with was:
  
  
  But by doing that, I would have to update this variable when pulling
  down a new org version that might have changed the default value of
  org-export-latex-classes.
  
  Is there a better way to do stuff like insert a call to hypersetup?
  
Russell Adams rlad...@adamsinfoserv.com wrote:

 That's where the export header comes in handy.
 
 In .emacs:
 
  ,
  | (setq org-export-latex-classes
  |   '((article
  |  \\documentclass[11pt]{article}
  |  (\\section{%s} . \\section*{%s})
  |  (\\subsection{%s} . \\subsection*{%s})
  |  (\\subsubsection{%s} . \\subsubsection*{%s})
  |  (\\paragraph{%s} . \\paragraph*{%s})
  |  (\\subparagraph{%s} . \\subparagraph*{%s}
  `
 
 At the top of your .org file:
 
 #+LATEX_HEADER \\usepackage[utf8]{inputenc}
 #+LATEX_HEADER \\usepackage[T1]{fontenc}
 #+LATEX_HEADER \\usepackage{graphicx}
 #+LATEX_HEADER \\usepackage{longtable}
 #+LATEX_HEADER \\usepackage{soul}
 #+LATEX_HEADER \\usepackage{hyperref}
 #+LATEX_HEADER \\hypersetup{
 #+LATEX_HEADER   hyperindex=true,
 #+LATEX_HEADER   plainpages=false,
 #+LATEX_HEADER   colorlinks=true,
 #+LATEX_HEADER   linkcolor=black
 #+LATEX_HEADER }
 

Two things:

o It needs colons after the LATEX_HEADER and single backslashes:

#+LATEX_HEADER: \hypersetup{
etc.

o The \usepackage commands are already (mostly) provided by the standard 
definition
  of org-export-latex-classes. The longtable \usepackage can be added by
  an option:

#+ATTR_LaTeX: longtable

Thanks,
Nick

  


___
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] orgstruct and orgtbl mode inhibit TAB completion of addresses in gnus

2009-09-08 Thread Sebastian Rose
Hi,


I don't remember when this started, but since some days orgstruct-mode
and orgtbl-mode inhibit TAB-completion in the `To:', `Cc:' and 'Bcc:'
lines in gnus. I have to turn off _both_ of them to make it work
again.


I have:

  (add-hook 'message-mode-hook 'turn-on-orgtbl)
  (add-hook 'message-mode-hook 'turn-on-orgstruct)

in my init file.


I use
  * GNU Emacs 23.1.1,
  * Org-mode version 6.30trans (release_6.30d.26.g9252)




___
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] iPhone app for Org view and capture

2009-09-08 Thread Sven Bretfeld
Richard Moreland r...@ncogni.to writes:

 Here is a teaser video of the app running in the simulator:  http://ncogni.to/
 mobileorg-demo1.mov

Very nice, congratulations. The unavoidable question: Will there be an
Android port as well?

Greetings

Sven


___
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] Prefixing a function call with C-digit

2009-09-08 Thread Haroldo Stenger
Raffi,

Off the top of mi mind, you pass arguments to commands by issueing C-u
parameter command keychord

best,
haroldo

2009/9/8 Raffi R raf...@gmail.com

 Dear org users,

 I'd like to write some advice or a wrapper function for org-export
 such that it defaults to a heading level of 0.

 In org-mode normally, I can get this behaviour by pressing C-0 C-x
 C-e.  Looking at org.el suggested that I should be able to simply
 provide the 0 as an argument, i.e. using (org-export 0). However,
 org-export seems to ignore that 0.

 Thank you very much,
 - Raffi.


 ___
 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] Prefixing a function call with C-digit

2009-09-08 Thread Raffi R
Ordinarily that is the case, but for org-export the convention seems
to be C-digit, which passes the digit as an argument to the next
function called (in this case, org-export).

On Tue, Sep 8, 2009 at 8:42 PM, Haroldo Stengerharold.sten...@gmail.com wrote:
 Raffi,

 Off the top of mi mind, you pass arguments to commands by issueing C-u
 parameter command keychord

 best,
 haroldo

 2009/9/8 Raffi R raf...@gmail.com

 Dear org users,

 I'd like to write some advice or a wrapper function for org-export
 such that it defaults to a heading level of 0.

 In org-mode normally, I can get this behaviour by pressing C-0 C-x
 C-e.  Looking at org.el suggested that I should be able to simply
 provide the 0 as an argument, i.e. using (org-export 0). However,
 org-export seems to ignore that 0.

 Thank you very much,
 - Raffi.


 ___
 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] Re: How to get \\ in title or author?

2009-09-08 Thread Brian van den Broek

Bastien said unto the world at 09-09-07 11:33 PM:

Sébastien Vauban wxhgmqzgw...@spammotel.com writes:


#+TITLE: Main title \linebreak Subtitle
#+AUTHOR:Main author \linebreak Second one

DOES WORK. Thanks for your precious help!

I'm not sure to understand the subtle differences between `\\', `\newline' and
`\linebreak', though...


Me neither :)

I've found this, which might help:

  http://www.personal.ceu.hu/tex/breaking.htm

Maybe \linebreak is less context-sensitive than \newline, which would
mean that there are more contexts (like \title and \author) in which 
it behaves as expected.  Just a guess.




Hi all,

The pages are old, but the resource is still very helpful:
http://www.giss.nasa.gov/tools/latex/ltx-99.html
http://www.giss.nasa.gov/tools/latex/ltx-293.html

Best,

Brian vdB


___
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] iPhone app for Org view and capture

2009-09-08 Thread Richard Moreland
Thanks for checking it out.  Unfortunately I don't have access to any  
Android hardware, and now that I've got Org on my iPhone, I probably  
won't be looking at any other hardware for a while :)  But I would be  
happy to help contribute code/ideas/experience/etc to any developers  
interested in taking it on.


On Sep 8, 2009, at 7:43 PM, Sven Bretfeld wrote:


Very nice, congratulations. The unavoidable question: Will there be an
Android port as well?

Greetings

Sven




___
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] iPhone app for Org view and capture

2009-09-08 Thread Richard Moreland

Hi Peter,

You nailed nearly point-for-point the current state of capturing notes  
in the app (as of today, after the demo video was made).  Thanks for  
your comments, I hadn't considered displaying the last sync time.   
That will indeed be handy.


As you imagined, you can operate entirely offline (that was my goal in  
the first place, after all).  You can view your outlines, add as many  
notes as you like, and sync whenever you care to.  You can edit/delete  
notes if they haven't been synced yet.  There's also a handy indicator  
on the bottom of the screen letting you know how many notes aren't yet  
synced.


Thanks,
Richard

On Sep 8, 2009, at 11:18 AM, peter.fri...@agfa.com wrote:

Wow indeed. Some things immediately came up when viewing the movie;  
I hope you don't mind me posting them so soon.


I imagine the app does not require a live connection to the server.  
In order to work offline, I think that the app must

- clearly show the time of downloading each document,
- be able to capture and store multiple notes when offline and  
forward them when online. A way of reviewing the stored notes,  
possibly edit or remove them would be a bonus.


I could imagine that captured but not yet forwarded notes appear in  
the 'capture.org' document entry (on the App), marked as not- 
forwarded and being editable and removable. After syncing, these  
notes become part of the real capture.org document and thus read- 
only, just like the rest.



Oh well, you probably thought of all that, so I'll just shut up now...

Cheers,
Peter.
___
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] Re: How to get \\ in title or author?

2009-09-08 Thread Bastien
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Maybe \linebreak is less context-sensitive than \newline, which would mean
 that there are more contexts (like \title and \author) in which it behaves
 as expected. Just a guess.

 I've asked the question on FCTT (fr.comp.text.tex) and already got an answer
 of Maneul Pegourie-Gonnard (who is expert on that matter):

 http://groups.google.fr/group/fr.comp.text.tex/browse_thread/thread/1b1af2e5291270e2#

 Sorry (for the others), it's in French.

Merci!   Here is a summary:

- none of \\ \linebreak or \newline change a paragraph, they just start
  a new line

- with \linebreak, LaTeX tries to justify the resulting text, not with
  \newline

- \linebreak can take an argument to let LaTeX decides whether the line
  should be broken or not.  The default \linebreak always triggers a
  break, but \linebreak[2] will let LaTeX decides depending on whether
  the result is acceptable or not, and \linebreak[0] prevents any line
  break...

- \\ can take two arguments: one star and one digit.  The star prevents
  the line break to trigger a page break, and the digit lets you add a
  vertical space between the two lines.

  In environments like \flushleft \flushright \centering \raggedleft
  \raggedright, \\ doesn't have its normal definition (whereas \newline
  behaves normally).

- \newline is the version of \\ with no argument

HTH,

-- 
 Bastien


___
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] Re: How to get \\ in title or author?

2009-09-08 Thread Nick Dokos
Bastien bastiengue...@googlemail.com wrote:

 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
 
  Maybe \linebreak is less context-sensitive than \newline, which would mean
  that there are more contexts (like \title and \author) in which it behaves
  as expected. Just a guess.
 
  I've asked the question on FCTT (fr.comp.text.tex) and already got an answer
  of Maneul Pegourie-Gonnard (who is expert on that matter):
 
  http://groups.google.fr/group/fr.comp.text.tex/browse_thread/thread/1b1af2e5291270e2#
 
  Sorry (for the others), it's in French.
 
 Merci!   Here is a summary:
 
 - none of \\ \linebreak or \newline change a paragraph, they just start
   a new line
 
 - with \linebreak, LaTeX tries to justify the resulting text, not with
   \newline
 
 - \linebreak can take an argument to let LaTeX decides whether the line
   should be broken or not.  The default \linebreak always triggers a
   break, but \linebreak[2] will let LaTeX decides depending on whether
   the result is acceptable or not, and \linebreak[0] prevents any line
   break...
 
 - \\ can take two arguments: one star and one digit.  The star prevents
   the line break to trigger a page break, and the digit lets you add a
   vertical space between the two lines.
 
   In environments like \flushleft \flushright \centering \raggedleft
   \raggedright, \\ doesn't have its normal definition (whereas \newline
   behaves normally).
 
 - \newline is the version of \\ with no argument
 

Bastien,

Thanks for the summary. There is still one problem, I think, with #+AUTHOR:

  \author{one \\ two}

and

  \author{one \linebreak two}

behave differently (the \linebreak has no effect), so if one wants the
first behavior, the exporter's penchant to change \\ to
\\textbackslash{} will not allow it. I'm not sure why \title and \author
behave differently: I guess it's because \author is expanded inside a
\tabular, whereas \title is not.

Thanks,
Nick




___
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] iPhone app for Org view and capture

2009-09-08 Thread Stefan Vollmar


On 08.09.2009, at 16:24, Richard Moreland wrote:


Hi all,

I've been working with Carsten on a free iPhone app for Org.  We are  
still working out some of the details, but so far we have it running  
on the phone in a fairly usable state.  It needs some polish, but it  
is very nice to see my Org data easily accessible on a mobile device  
with offline access.  To be clear, we aren't trying to run Emacs on  
the device.  The goal is to view Org files and agendas as well as  
capture new notes.


Here is a teaser video of the app running in the simulator:  
http://ncogni.to/mobileorg-demo1.mov


EXCELLENT! Looking forward to this one.

Warm regards,
 Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: voll...@nf.mpg.de   http://www.nf.mpg.de







___
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] is there a hook to save a remember buffer?

2009-09-08 Thread Alan E. Davis
Is there a hook to save the remember buffer when I type C-c C-r when I'm in
an unsaved remember buffer?  That would be almost as good, perhaps better,
than saving the remember buffer to a special file or directory.


Alan

You can know the name of a bird in all the languages of the world,  but when
you're finished, you'll know absolutely nothing whatever about the bird...
So let's look at the bird and see what it's doing---that's what counts.

   Richard Feynman
___
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