[Orgmode] Non-breaking space

2010-04-29 Thread Nicolas Girard
Hi,

How can I typeset, for instance, 100 €, in such a way that, once
exported in LaTeX, it gives: 100~€ (with a non-breaking space) ?

Thanks in advance !
Nicolas


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


[Orgmode] Re: Non-breaking space

2010-04-29 Thread Rémi Vanicat
Nicolas Girard nicolas.gir...@nerim.net writes:

 Hi,

 How can I typeset, for instance, 100 €, in such a way that, once
 exported in LaTeX, it gives: 100~€ (with a non-breaking space) ?

You can use the utf-8 non breaking space (on my keyboard it's
compose space space or alt-gr shift space or C-x 8 space)
-- 
Rémi Vanicat



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


Re: [Orgmode] Final Question: Usage

2010-04-29 Thread Sven Bretfeld
David Frascone d...@frascone.com writes:

 Organization:  I'm using one monolithic file now.  And, agenda mode
 doesn't know about it till I add it.  Should I be using agenda mode to
 track todos?  (This goes with my calendar questions a bit in the other
 mail).  If I do use agenda mode, how do I add multiple files?

You can define a variable for this.

--8---cut here---start-8---
(defvar org-gtd-file ~/aktuell/mygtd.org)
(defvar org-gtd-other-files)

(setq org-gtd-file ~/aktuell/mygtd.org)
(setf org-gtd-other-files (list ~/aktuell/notes.org))
(setf org-agenda-files (cons org-gtd-file org-gtd-other-files))
--8---cut here---end---8---

The fourth line can contain as many files as you want to be evaluated by
the agenda-view, separated by space.

 How do I work with multiple files?  Is there an easy way to jump back
 and forth from them, if I start making one file for Bugs, one for
 Escalations, one for projects, one for notes, etc?

You can use bookmarks, buffer-cycling, links or just define keys to find
the files.

Greetings,

Sven


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


Re: [Orgmode] Is this the best place for noob questions too?

2010-04-29 Thread Jan Böcker
On 28.04.2010 09:27, Ian Barton wrote:
 Quite often when browsing the list I
 find posts that give me ideas of a new way of doing something, or
 introduce me to some feature I wasn't aware of.

Same here, that's one of the reasons I read this list.

I guess most of us on this list are still a noob regarding some aspects
of Org, simply because they have never needed and used them.

I do not remember a single instance of a literal RTFM response on this
list. If you do ask a question that is answered in the documentation
somewhere, you tend to get a friendly pointer in the right direction.

Besides the Org Manual (which I recommend you to skim from cover to
cover to get a general idea of what features are available), the mailing
list archives, worg, and google, there is also C-h v (describe-variable).

A lot of settings cannot be found in the manual, but are described in
detail in the docstrings of their variables.

Press C-h v org- TAB to get a list of all Org related variables,
then switch to the completion window with C-x o and use isearch (C-s)
to search for a keyword.

For example, if I want to change some aspect of the agenda, I might type
C-h v org-agenda- TAB to get a list of all agenda related settings.
(I think I found org-agenda-remove-times-when-in-prefix that way.)

Best regards,
Jan


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


[Orgmode] Faces for deadlines?

2010-04-29 Thread Sébastien Vauban
Hello,

I'm trying to customize the display of deadlines.

I currently have:

--8---cut here---start-8---
(org-upcoming-deadline ((t (:foreground white :background rgb:E9/A3/6A 
:weight bold
(org-warning ((t (:foreground white :background rgb:D8/00/00 :weight 
bold
--8---cut here---end---8---

in my color-theme, but I would like to have (for example):

- red for actions due in the past (In -2 d.)

- orange for actions due today (Deadline)

- green for actions due in the next coming days (In 3 d.)
  (DEADLINE = `org-agenda-skip-deadline-prewarning-if-scheduled')

- blue for longer-term deadlines (In 13 d.)
  (DEADLINE  `org-agenda-skip-deadline-prewarning-if-scheduled' and
   DEADLINE = `org-deadline-warning-days')

Is this possible?

Best regards,
  Seb

-- 
Sébastien Vauban



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


[Orgmode] Re: Non-breaking space

2010-04-29 Thread Sébastien Vauban
Hi Nicolas and Rémi,

Rémi Vanicat wrote:
 Nicolas Girard nicolas.gir...@nerim.net writes:
 How can I typeset, for instance, 100 €, in such a way that, once
 exported in LaTeX, it gives: 100~€ (with a non-breaking space) ?

 You can use the utf-8 non breaking space (on my keyboard it's
 compose space space or alt-gr shift space or C-x 8 space)

Or the Non-Breaking SPaces automatically added. See
http://article.gmane.org/gmane.emacs.orgmode/15116 and the code
`my-insert-colon'.

Best regards,
  Seb

-- 
Sébastien Vauban



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


Re: [Orgmode] Is this the best place for noob questions too?

2010-04-29 Thread Eric S Fraga
On Thu, 29 Apr 2010 10:46:33 +0200, Jan Böcker jan.boec...@jboecker.de 
wrote: On 28.04.2010 09:27, Ian Barton wrote:
  Quite often when browsing the list I
  find posts that give me ideas of a new way of doing something, or
  introduce me to some feature I wasn't aware of.

[...]

 Besides the Org Manual (which I recommend you to skim from cover to
 cover to get a general idea of what features are available), the mailing
 list archives, worg, and google, there is also C-h v (describe-variable).

[...]

and I would add, to the nice list of alternative sources of
information on org that Jan has given, the following:

  M-x customize-group RET org RET 

This puts you in emacs's customization interface.  Although some
people love this feature of Emacs and others hate it, the nice thing
is that it allows you to browse all (most of) the configuration
variables that exist.
-- 
Eric S Fraga, GnuPG Fingerprint: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC 
F67D
___
Emacs-orgmode mailing list
Please 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-generic patch

2010-04-29 Thread Carsten Dominik

Hi Robert,

have you already discussed your patch with Wes?

- Carsten

On Apr 28, 2010, at 11:39 PM, Robert P. Goldman wrote:



This patch adds handling of blockquotes and flowed output formats to
org-export-generic per earlier email.


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


- Carsten





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


[Orgmode] Re: Problem with sectioning function for LaTeX export

2010-04-29 Thread Sebastian Hofer
Hi Carsten,
thanks for your reply!

At Tue, 27 Apr 2010 17:44:07 +0200,
Carsten Dominik wrote:
 I think it must be
 
 (Heading \section[year]{%s} \section*[year]{%s})
 
 Note the %s for the heading, and also it i just one flat list of 3  
 items.
 
 And yes, this is not too well documented. 

I tried that actually but to no avail. I tracked down the problem to the 
following code in org-latex.el

(if (consp (cdr sec))
(setq start (nth (if num 0 2) sec)
  end (nth (if num 1 3) sec))
  (setq start (if num (car sec) (cdr sec

For a flat list as you suggested sec is (\section[year]{%s} 
\section*[year]{%s}). The thing is that then (consp (cdr sec)) evaluates to 
true, which I think is not the supposed behaviour. Replacing (cdr sec) by (cadr 
sec) would fix this. Is this a bug or just me being too stupid?

On another subject: Wouldn't it be nice if the properties of the current 
headline would be accessible by the sectioning function? I think that would 
proof very powerful to create customized export classes (together with 
customized latex commands). And I guess it would be quite easy to implement, 
right?

Anyway, thanks for your help (and of course for your great work on org-mode, I 
really love it!)
Sebastian



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


[Orgmode] Re: Copying and Pasting (and Selecting)

2010-04-29 Thread Štěpán Němec
David Frascone d...@frascone.com writes:
 I didn't like org-refile.  It didn't seem to want to refile under anything
 but a top level (or maybe I was refiling a level 2) . . . I'll try to play
 with it some more, but it didn't make my cheat sheet of cool tricks :)

You have to adjust the `org-refile-targets' setting -- by default, it
only lets you refile to top-level headings.

With this, for instance:

  (setq org-refile-targets '((nil . (:maxlevel . 5

... you'll be able to refile anywhere in the buffer up to 5th level.


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


Re: [Orgmode] [BUG] fill-paragraph on commented line

2010-04-29 Thread Carsten Dominik

Hi Dan,

On Apr 28, 2010, at 3:12 AM, Dan Davison wrote:

I can see from the archives that fill-paragraph is a bit of a  
headache,


:-) yes, indeed.


but, still, I have a couple of queries...

Firstly, with point on the # character below, M-q wraps the long line
below, rather than the commented line, which is suprising.

--8---cut here---start-8---
# long line here long line here long line here long line here long  
line here long line here long line here long line here long line  
here long line here


second long line here second long line here second long line here  
second long line here second long line here second long line here  
second long line here second long line here

--8---cut here---end---8---


No idea what is causing this.  I have been at war with the
comment prefix issue and never being able to resolve it
- except for using filladapt, that is.



Also, would you mind reminding me what the intended behaviour is for  
M-q

on list items?

If I have

- item1
  stuff here stuff here stuff here stuff here stuff here stuff here

and do M-q, ideally I'd like it not to put the stuff here line onto
the item1 line. Is that desirable but hard / not desirable /  
supposed to

be happening?


I think this should definitely put the second lin back into the first.
What would be nice though would be this:

- item1 \\
  stuff here stuff here stuff here stuff here stuff here stuff her

When \\ is there to specifically terminate the line, I'd love if the  
refilling
could respect this.  I am afraid I don't know how to do this, though.   
Maybe it can be done using filladapt, but I don't know.


A revision of the entire filling code might be a useful thing!

- Carsten



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


Re: [Orgmode] Turning on TOC export of timestamps for headlines

2010-04-29 Thread Carsten Dominik


On Apr 28, 2010, at 2:25 AM, Rick Moynihan wrote:


I can't seem to get timestampts to export to HTML as part of the TOC
when they're in a headline, e.g. the following org-mode headline

** Foo 2010-04-04

Exports to the table of contents as just Foo, is there anyway to get
the timestamp listed also?  I've tried setting a timestamp:t option
for my #+OPTIONS: but it doesn't seem to work.

Any help appreciated.


M-x customize-apropos RET org.*time.*toc RET

:-)

- Carsten



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


Re: [Orgmode] Turning on TOC export of timestamps for headlines

2010-04-29 Thread Rick Moynihan
On 29 April 2010 13:52, Carsten Dominik carsten.domi...@gmail.com wrote:

 On Apr 28, 2010, at 2:25 AM, Rick Moynihan wrote:

 I can't seem to get timestampts to export to HTML as part of the TOC
 when they're in a headline, e.g. the following org-mode headline

 ** Foo 2010-04-04

 Exports to the table of contents as just Foo, is there anyway to get
 the timestamp listed also?  I've tried setting a timestamp:t option
 for my #+OPTIONS: but it doesn't seem to work.

 Any help appreciated.

 M-x customize-apropos RET org.*time.*toc RET

Excellent!

R.


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


Re: [Orgmode] [PATCH] Alignment problem with org-format-org-table-html

2010-04-29 Thread Carsten Dominik

Hi Stephen, nice catch, thank you very much!

I have applied the patch.

- Carsten

On Apr 27, 2010, at 8:39 PM, Stephen Peters wrote:


When creating a table, I was noticing that the
colgroupcol... provides useful alignment information based on
whether or not the column has numbers in it.  I think, however, that
there is a mistake in this routine.  Take, for example, the following
table:

|  Id | Task | Developer | Estimate | Spent | Remaining |  
Comp.% | Updated |
|-+--+---+--+---+--- 
++-|
|   1 | Task One | SLP   |1 | 0 | 1  
|  0 | SLP, 2010-04-27 |
|   2 | Task Two | SLP   |1 | 0 | 1  
|  0 | SLP, 2010-04-27 |
|   3 | Task Three   | SLP   |2 | 0 | 2  
|  0 | SLP, 2010-04-27 |
|   4 | Task Four| SLP   |2 | 0 | 2  
|  0 | SLP, 2010-04-27 |
|   5 | Task Five| SLP   |  .25 | 0 |  0.25  
|  0 | SLP, 2010-04-27 |
| 5.1 | Another Task | XML team  |0 | 1 | 0  
|  0 | SLP, 2010-04-27 |
|   6 | Task Six | SLP   |  .25 | 0 |  0.25  
|  0 | SLP, 2010-04-27 |
| 6.1 | More Tasks   | DB team   |3 | 0 | 3  
|  0 | SLP, 2010-04-27 |
|   7 | Task Seven   | SLP   |3 | 0 | 3  
|  0 | SLP, 2010-04-27 |


When the colgroup list is created for this table, it reads:

colgroupcol align=right /col align=left /col  
align=left /col align=right /col align=right /col  
align=left /col align=left /col align=left /

/colgroup

Note that the first columns are correct, but the last few are not.
It should read right, left, left, right, right, right, right, left.

I believe that this is due to the ( i nline) comparison within org- 
format-org-table-html, which is nonsensical because it's trying to  
compare a column number with a number of rows.  I've attached a  
patch for the problem.




diff --git a/lisp/org-html.el b/lisp/org-html.el
index 3ac2b18..0ffde15 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -1659,8 +1659,7 @@ lang=\%s\ xml:lang=\%s\
  (mapconcat
   (lambda (x)
 (setq i (1+ i))
-(if (and ( i nline)
- (string-match org-table-number-regexp x))
+(if (string-match org-table-number-regexp x)
 (incf (aref fnum i)))
 (cond
  (head
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





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


Re: [Orgmode] Can org accept letter (a.b.c) as ordered list?

2010-04-29 Thread Carsten Dominik


On Apr 27, 2010, at 5:49 PM, Xin Shi wrote:


Hello Experts,

I'm wondering if it's easy to make ordered list like this:


No.

- Carsten



1. This is the first level
a. This is in the second level
b. Same level
c. Same ...
2. This is the first level again

It is more readable than the current one.

Thanks!

Xin

___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Orgmode[PATCH 4/4] Add handling of blockquote and output formats that must be flowed.

2010-04-29 Thread Wes Hardaker
 On Wed, 28 Apr 2010 16:39:59 -0500, Robert P. Goldman 
 rpgold...@sift.info said:

RPG Added a handler for blockquotes.

That looks great.  Thanks!

RPG Also added :body-newline-paragraph to the org-set-generic-type.

I'm fine with that too, but in the end couldn't you just put a \n in
the format strings?  I thought about what to do about newlines when I
wrote the code base and in the end I decided that with the existing
methods you could always add \ns everywhere you needed them which
provided the maximum flexibility.  The downside is that reading \ns
everywhere isn't exactly pretty on the specification side :-/

(Carsten, go ahead and apply it on your end)
-- 
Wes Hardaker 
My Pictures:  http://capturedonearth.com/
My Thoughts:  http://pontifications.hardakers.net/


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


Re: [Orgmode] Re: orgcard.txt in Makefile

2010-04-29 Thread Carsten Dominik

Hi Osamu,

this looks really good!  What is imperfect?

- Carsten

On Apr 27, 2010, at 3:32 PM, Osamu OKANO wrote:


Hi, all.
I wrote the (sami) auto convert script
to generate from orgcard.tex to orgcard.txt.
http://gist.github.com/378941

This script is not perfect, but may boost update of orgcard.txt and
org-help.org.

On Thu, Apr 15, 2010 at 8:08 PM, Carsten Dominik
carsten.domi...@gmail.com wrote:


On Apr 14, 2010, at 10:24 PM, Alan E. Davis wrote:

I intended this for the list, for what it's worth, so I am  
forwarding it

now.

Alan

Hello:

I tried at some point to reduce the orgcard to an org-mode file.  I
have a copy, but it's way out of date.  Org is changing too fast for
me to keep up.  It's perhaps worthwhile, though, and maybe  
useful.  It

is to me. It's attached.



Actually, the orgcard is changing only very slowly.

- Carsten



I started by running, I think, untex on orgcard.tex, then formatting
the output by hand.

Alan

On Thu, Apr 15, 2010 at 2:05 AM, Nathan Neff nathan.n...@gmail.com
wrote:



On Tue, Apr 13, 2010 at 2:33 AM, Christian Egli christian.e...@sbszh.ch 


wrote:


Hi

Nathan Neff nathan.n...@gmail.com writes:

I'd like to use the orgcard.txt file that's included in the org- 
mode

source.
I like being able to search through a text file for relevant  
keyboard

shortcuts.

It doesn't seem like it's been updated since org version 6.10.

I tried running make doc, but I don't think that orgcard.txt is
generated in
the make doc task.


AFAIK It is not.

Is orgcard.txt generated from orgcard.tex?  If so, can anyone  
tell me

how
to do it?


I presume that it is converted by hand. I tried a few automated  
tools

(pdftotext, latex2html + w3m) but they all give very bad results.

I would recommend to either

 a) compare the existing orgcard.pdf and orgcard.txt and update  
the

   existing orgcard.txt accordingly or
 b) cut'n'paste the text from a pdf viewer into emacs and do  
some magic
   with rectangles (as the text is in three columns) to achieve  
the

   desired result.

Then submit the newest orgcard.txt as a patch so you will not  
have to

keep it locally.

Thanks
Christian



Very cool.  I want to contribute back to org-mode, but I don't
want to manually modify orgcard.txt :-)

I will write a script that can parse the orgcard.tex file and  
pull out

the
goodies that we want in the orgcard.txt file.

Regardless of whether that script is accepted into the org-mode  
base, I

can
run the script when there's an update to orgcard.tex, then submit  
the

updated orgcard.txt.

I should have a quick  dirty script (Perl) done by next week.

Thanks,
--Nate



--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland



___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



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


- Carsten





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


orgcard.6.35trans.txt___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





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


[Orgmode] Re: OrgmodeOrg-export-generic and wikis...

2010-04-29 Thread Wes Hardaker
 On Wed, 28 Apr 2010 14:38:47 -0500, Robert Goldman rpgold...@sift.info 
 said:

RG 1. Would it be reasonable to move the documentation for
RG org-export-generic into the contrib/ directory of org-mode?  It
RG seems ... suboptimal to have this package be maintained in the org
RG git repo, but its documentation in the worg git repo.  At least from
RG my PoV this raises the bar for keeping the documentation up-to-date
RG and synchronized to a pretty high level.

I'll let Carsten answer questions like that ;-)

RG 2. Is the existing handle each line separately algorithm going to
RG permit us to handle faces correctly?  Seems like we'll need a lot of
RG hair to handle, e.g., a phrase in italics that straddles a line-break,
RG won't we?

Well, that's a good question and one I don't have a great answer for.
We could switch the parser to be multi-line based regexp matches but I
suspect the complexity of when to stop those regexps will get rather
harry too!
-- 
Wes Hardaker 
My Pictures:  http://capturedonearth.com/
My Thoughts:  http://pontifications.hardakers.net/


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


Re: [Orgmode] Re: Orgmode[PATCH 4/4] Add handling of blockquote and output formats that must be flowed.

2010-04-29 Thread Carsten Dominik

Applied, thanks.

I had two email saying patch 4/4, I too one of them, what happened  
with 1/4, 2/4, 3/4?


Please verify that this went well.

Thanks!

- Carsten

On Apr 29, 2010, at 3:54 PM, Wes Hardaker wrote:

On Wed, 28 Apr 2010 16:39:59 -0500, Robert P. Goldman rpgold...@sift.info 
 said:


RPG Added a handler for blockquotes.

That looks great.  Thanks!

RPG Also added :body-newline-paragraph to the org-set-generic-type.

I'm fine with that too, but in the end couldn't you just put a \n in
the format strings?  I thought about what to do about newlines when I
wrote the code base and in the end I decided that with the existing
methods you could always add \ns everywhere you needed them which
provided the maximum flexibility.  The downside is that reading \ns
everywhere isn't exactly pretty on the specification side :-/

(Carsten, go ahead and apply it on your end)
--
Wes Hardaker
My Pictures:  http://capturedonearth.com/
My Thoughts:  http://pontifications.hardakers.net/


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


- Carsten





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


Re: [Orgmode] Re: OrgmodeOrg-export-generic and wikis...

2010-04-29 Thread Carsten Dominik


On Apr 29, 2010, at 3:57 PM, Wes Hardaker wrote:

On Wed, 28 Apr 2010 14:38:47 -0500, Robert Goldman rpgold...@sift.info 
 said:


RG 1. Would it be reasonable to move the documentation for
RG org-export-generic into the contrib/ directory of org-mode?  It
RG seems ... suboptimal to have this package be maintained in the org
RG git repo, but its documentation in the worg git repo.  At least  
from
RG my PoV this raises the bar for keeping the documentation up-to- 
date

RG and synchronized to a pretty high level.

I'll let Carsten answer questions like that ;-)


The reason for this is the following.

Many of the contributed packages where written by people who were active
in Org-mode for a while and then less so.  Many of these package had no
documentation at all.  So I started a page on WOrg where this
documentation can be added and edited by other users, with quite
some success - now most package do have documentation.

Keeping documentation for a contributed package the the org-repo would  
be OK, but there would be no mechanism to automatically put the latest  
version up on on the web.


Changing this would require a volunteer who commits to keep the  
documentation
of contributed packages in a consistent and web-publishable way in the  
contrib directory.


- Carsten



RG 2. Is the existing handle each line separately algorithm going  
to
RG permit us to handle faces correctly?  Seems like we'll need a  
lot of
RG hair to handle, e.g., a phrase in italics that straddles a line- 
break,

RG won't we?

Well, that's a good question and one I don't have a great answer for.
We could switch the parser to be multi-line based regexp matches but I
suspect the complexity of when to stop those regexps will get rather
harry too!
--
Wes Hardaker
My Pictures:  http://capturedonearth.com/
My Thoughts:  http://pontifications.hardakers.net/


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


- Carsten





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


[Orgmode] Is the No comment syntax is defined problem fixed?

2010-04-29 Thread Leo
Hello Carsten,

I remember occasionally org mode asked about No comment syntax is
defined; use: . Has this been fixed? I have found that whenever a
function calls comment-indent (directly or indirectly), this question
will be asked. To see it, in an org buffer, eval (comment-indent).

Thanks.

Leo



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


[Orgmode] Re: Copying and Pasting (and Selecting)

2010-04-29 Thread David Frascone
On Thu, Apr 29, 2010 at 6:35 AM, Štěpán Němec step...@gmail.com wrote:

 David Frascone d...@frascone.com writes:
  I didn't like org-refile.  It didn't seem to want to refile under
 anything
  but a top level (or maybe I was refiling a level 2) . . . I'll try to
 play
  with it some more, but it didn't make my cheat sheet of cool tricks :)

 You have to adjust the `org-refile-targets' setting -- by default, it
 only lets you refile to top-level headings.

 With this, for instance:

  (setq org-refile-targets '((nil . (:maxlevel . 5

 ... you'll be able to refile anywhere in the buffer up to 5th level.



Thanks!  I'll play with that!
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Does anyone use Jump C-c C-j

2010-04-29 Thread David Frascone
On Wed, Apr 28, 2010 at 4:56 PM, Eric S Fraga ucec...@ucl.ac.uk wrote:

 On Wed, 28 Apr 2010 14:09:22 -0500, Nathan Neff nathan.n...@gmail.com
 wrote:
 
  On Wed, Apr 28, 2010 at 12:42 PM, David Frascone d...@frascone.com
 wrote:
  
    Jump - seems really hard to use.
  
 
  I agree -- I've been on a quest to easily navigate my org-files also.
 
   C-c C-j.  Opens help window with cursor in it, so I have to C-x o to
   get to Org-goto window.
 
  I use Aquamacs, and the help window sometimes pops out, and sometimes
  stays in the main frame.  It's annoying.

 I'm not sure what either of you is saying here.  C-c C-j works very
 simply: the little help window pops up but the key sequences (arrows
 and TAB basically) allow me to move in the original buffer until I hit
 RET at which point the popup disappears and I'm in the original buffer
 at the new location.

 Am I missing something?


When I did that, it started with all of the headings closed.  If I'm looking
for something nested, it's VERY hard to use, or, I am doing something
wrong.  See how easy it is for you to find something at level 3, for
example.
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Does anyone use Jump C-c C-j

2010-04-29 Thread Anthony Lander


On 10-Apr-29, at 10:27 AM, David Frascone wrote:
On Wed, Apr 28, 2010 at 4:56 PM, Eric S Fraga ucec...@ucl.ac.uk  
wrote:


I'm not sure what either of you is saying here.  C-c C-j works very
simply: the little help window pops up but the key sequences (arrows
and TAB basically) allow me to move in the original buffer until I hit
RET at which point the popup disappears and I'm in the original buffer
at the new location.

Am I missing something?

When I did that, it started with all of the headings closed.  If I'm  
looking for something nested, it's VERY hard to use, or, I am doing  
something wrong.  See how easy it is for you to find something at  
level 3, for example.


David,

You are also able to do incremental search from the jump command. Just  
start typing the level 3 heading you're looking for, and you will be  
brought there as if you used C-s.


  -Anthony


___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Linking Mail ?

2010-04-29 Thread David Frascone
On Wed, Apr 28, 2010 at 5:15 PM, Simon Brown si...@cliffestones.demon.co.uk
 wrote:

 At Wed, 28 Apr 2010 16:14:59 -0400,
 Matt Lundin m...@imapmail.org wrote:
  David Frascone d...@frascone.com writes:
   2) Which mail subsystem would be most compatible and easiest to use?
   MH?  Gnus?  And, would it be worth the trouble setting up on a mac?
 
  You might want to check out this recent ML discussion:
 
  http://thread.gmane.org/gmane.emacs.orgmode/23481/focus=23588
 I started that thread, the answer I suspect is simply no. Your options
 are MH-E, Gnus, Wanderlust, VM and MEW. I tried Gnus, Wanderlust and
 VM trying the hardest with Gnus and Wanderlust.

 Gnus has a lot going for it as it is included in emacs, very active
 development and I had it reading my IMAP mail very quickly. It is
 however a news reader and that didn't suit me at all.

 Installing Wanderlust I understand is tricky, you need to get it and
 it's dependancies from the right branch from CVS as the last release
 occured some time ago. I use the ubuntu wl-beta package so didn't have
 to do this.

 Configuration is far from trvial, my config file has 300 lines. It
 took me a week of tweaking to get to a state where I was happier than
 I was with my previous mail client. There are still some rough edges.

 I do like and use the org integration, but have found the bigger
 advantage is that I've now one less reason to leave emacs. How emacs
 centric is your current computer use?

 Postbox http://forums.appleinsider.com/showthread.php?t=94402 looks
 like a very capable application. By all means try all 5 out, I suspect
 though that they're not the mail clients you're looking for.


I finally got gnus working with my gmail account.  (I didn't want to try my
work account first, because too many failed logins will lock it, and I have
to call IT . . . Pain in the . . )
But, in a nutshell, it is simply WAY too slow.  I don't mind a command line
mail, though I prefer a gui with nice keyboard shutcuts.  I used mutt for
many, many years . . . . but, gnus is not mutt.  I don't think an e-macs
mail reader will really work for links, so, I'm going to be stuck with
either Mail.app, which I'd rather not go back to, or trying to make an addon
for Thunderbird / Postifx. . . sounds like it's addon time :)

But, that's secondary to actually getting org-mode integrated into my daily
life . . . . so, I'll shelve this issue for now.

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


Re: [Orgmode] Calendars Agenda mode

2010-04-29 Thread David Frascone
On Wed, Apr 28, 2010 at 7:52 PM, Takaaki ISHIKAWA ishik...@takaxp.comwrote:

 Dear David,

 I have used iCalendar exporter to export an important schedule
 on orgmode.
 So it is org-mode - iCalendar.

 Actually, I use this exporter with Dropbox service.
 1. Export a iCal file to Dropbox directory
   (Dropbox will upload the file to the internet automatically)
 2. iCal.app on Mac get the iCal file from the internet,
and display the schedule as a special item.


Cool!  I'll start playing with that, once I have agenda mode working!
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Simplify link handling?

2010-04-29 Thread Richard Riley

99 times out of a hundred my link usage when creating a new remember
item is simply last link (using C-c C-l org-insert-link as opposed to
using a link specifier in the template) - could there be a way to
configure, or is there already a way for org-insert-link to
automatically insert the last one stored? If there is only one link in
the stored links array then i feel that should probably default too - as
it is you need to arrow to it - possibly the simplest would be to be
allowed to set something like org-keep-one-link-only and if this is
set org-insert-link automatically inserts the one single link
maintained.

I daresay its already there and I missed it ;)



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


[Orgmode] Bug in Agenda mode?

2010-04-29 Thread J. David Boyd

If I do a C-a a, I see my weekly agenda, starting 'today'.

Then I can hit 'd', and see today laid out better.   Back to 'w', and I
see the weekly agenda again.

I can scroll down to tomorrow, hit 'd', and see tomorrow.  But when I
hit 'w', I'm back to the week view, but now it starts on tomorrow, and
not today.

And if I scroll down two days, and hit 'd', then 'w' to come back to the
week view, I'm misplaced forward 2 days.

Is this a bug, or 'just the way it works'.  I'd never noticed before,
but I don't think I had actually tried that.

I'm using the (release_6.34c.149.gf0f5.dirty) version of org.



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


Re: [Orgmode] Simplify link handling?

2010-04-29 Thread Nick Dokos
Richard Riley rileyrg...@gmail.com wrote:

 
 99 times out of a hundred my link usage when creating a new remember
 item is simply last link (using C-c C-l org-insert-link as opposed to
 using a link specifier in the template) - could there be a way to
 configure, or is there already a way for org-insert-link to
 automatically insert the last one stored? If there is only one link in
 the stored links array then i feel that should probably default too - as
 it is you need to arrow to it - possibly the simplest would be to be
 allowed to set something like org-keep-one-link-only and if this is
 set org-insert-link automatically inserts the one single link
 maintained.
 
 I daresay its already there and I missed it ;)
 
 

Doesn't ``C-c C-l RET'' insert the last link? My usage is very
much the same as yours, but I never had to arrow to it.

Nick


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


Re: [Orgmode] Does anyone use Jump C-c C-j

2010-04-29 Thread Eric S Fraga
On Thu, 29 Apr 2010 08:27:58 -0600, David Frascone d...@frascone.com wrote:
 
 On Wed, Apr 28, 2010 at 4:56 PM, Eric S Fraga ucec...@ucl.ac.uk wrote:
 
  On Wed, 28 Apr 2010 14:09:22 -0500, Nathan Neff nathan.n...@gmail.com
  wrote:
  
   On Wed, Apr 28, 2010 at 12:42 PM, David Frascone d...@frascone.com
  wrote:
   
 Jump - seems really hard to use.
   
  
   I agree -- I've been on a quest to easily navigate my org-files also.
  
C-c C-j.  Opens help window with cursor in it, so I have to C-x o to
get to Org-goto window.
  
   I use Aquamacs, and the help window sometimes pops out, and sometimes
   stays in the main frame.  It's annoying.
 
  I'm not sure what either of you is saying here.  C-c C-j works very
  simply: the little help window pops up but the key sequences (arrows
  and TAB basically) allow me to move in the original buffer until I hit
  RET at which point the popup disappears and I'm in the original buffer
  at the new location.
 
  Am I missing something?
 
 
 When I did that, it started with all of the headings closed.  If I'm looking
 for something nested, it's VERY hard to use, or, I am doing something
 wrong.  See how easy it is for you to find something at level 3, for
 example.

Use the arrow keys to navigate to the top level heading, hit TAB to
expand the next level in that sub-tree, use the arrow keys again, hit
TAB on the second level heading, and recurse...  I find this quite
intuitive and easy to use.

of course, this assumes you know the hierarchy (i.e. under which
higher level headings your particular destination is to be found).  if
you don't know the hierarchy, I would suggest doing an expansion of
the whole file into the headings view (I can't remember what it is
called but C-u TAB cycles through the different views) and search
using C-s instead... remembering that you always have the full power
of emacs at hand which is partly what makes org so powerful!  For
example, you can also use

  M-x occur RET 

to search for particular strings in the whole file.
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Linking Mail ?

2010-04-29 Thread Matt Lundin
David Frascone d...@frascone.com writes:

 I finally got gnus working with my gmail account.  (I didn't want to
 try my work account first, because too many failed logins will lock it,
 and I have to call IT . . . Pain in the . . )
 But, in a nutshell, it is simply WAY too slow.  

Could you explain what was slow? I find Gnus to be as fast as any mail
reader I've used, but it all depends on how one sets it up and whether
one uses other processes to fetch mail:

http://www.emacswiki.org/emacs/GnusSpeed

 I don't mind a command line mail, though I prefer a gui with nice
 keyboard shutcuts.  I used mutt for many, many years . . . . but, gnus
 is not mutt.  I don't think an e-macs mail reader will really work for
 links, 

I do not understand what you mean here.

Best,
Matt


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


[Orgmode] Re: Orgmode[PATCH 4/4] Add handling of blockquote and output formats that must be flowed.

2010-04-29 Thread Robert Goldman
On 4/29/10 Apr 29 -8:54 AM, Wes Hardaker wrote:
 On Wed, 28 Apr 2010 16:39:59 -0500, Robert P. Goldman 
 rpgold...@sift.info said:
 
 RPG Added a handler for blockquotes.
 
 That looks great.  Thanks!
 
 RPG Also added :body-newline-paragraph to the org-set-generic-type.
 
 I'm fine with that too, but in the end couldn't you just put a \n in
 the format strings?  I thought about what to do about newlines when I
 wrote the code base and in the end I decided that with the existing
 methods you could always add \ns everywhere you needed them which
 provided the maximum flexibility.  The downside is that reading \ns
 everywhere isn't exactly pretty on the specification side :-/

No, unfortunately, I couldn't make this work for the tikiwiki export.
As far as I can tell, if you give the tikiwiki a block of text with
newlines in it, the tikiwiki will decide that you wanted to set the
linebreaks yourself, and will format the block as pre, making it
impossible for a browser to reflow the text.  This is not what I wanted.
 I want paragraphs in my org document to look like paragraphs when exported.

So what I wanted here was newlines /only/ where the paragraphs break.

Honestly, I don't understand how this is done in the wiki engine --- it
seems hard to specify this as an unambiguous translation and get the
edge cases (like single-line paragraphs) right.  However, my appetite
for reading PHP code is /extremely/ limited, so I have been learning the
format rules by experimentation.

Hope that explains things,

Best,


r



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


Re: [Orgmode] Re: Orgmode[PATCH 4/4] Add handling of blockquote and output formats that must be flowed.

2010-04-29 Thread Robert Goldman
On 4/29/10 Apr 29 -8:58 AM, Carsten Dominik wrote:
 Applied, thanks.
 
 I had two email saying patch 4/4, I too one of them, what happened with
 1/4, 2/4, 3/4?

What happened was that I am incompetent with git.  Somehow git thinks
that my copy is four patches away from origin/master.  But, in fact,
only the last patch (hence 4/4) is a bona fide diff from origin/master
(your version).

To use a cliche, I need to figure out how to convince git that I am now
on the same page as the origin.  I think this may have something to do
with submitting patches by email instead of pushing them.  I will try to
figure this out before submitting my next patch.
 
 Please verify that this went well.

Looks good to me, thanks,
r

 
 Thanks!
 
 - Carsten
 
 On Apr 29, 2010, at 3:54 PM, Wes Hardaker wrote:
 
 On Wed, 28 Apr 2010 16:39:59 -0500, Robert P. Goldman
 rpgold...@sift.info said:

 RPG Added a handler for blockquotes.

 That looks great.  Thanks!

 RPG Also added :body-newline-paragraph to the org-set-generic-type.

 I'm fine with that too, but in the end couldn't you just put a \n in
 the format strings?  I thought about what to do about newlines when I
 wrote the code base and in the end I decided that with the existing
 methods you could always add \ns everywhere you needed them which
 provided the maximum flexibility.  The downside is that reading \ns
 everywhere isn't exactly pretty on the specification side :-/

 (Carsten, go ahead and apply it on your end)
 -- 
 Wes Hardaker
 My Pictures:  http://capturedonearth.com/
 My Thoughts:  http://pontifications.hardakers.net/


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



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


[Orgmode] Re: Linking Mail ?

2010-04-29 Thread David Frascone
On Thu, Apr 29, 2010 at 9:08 AM, Matt Lundin m...@imapmail.org wrote:

 David Frascone d...@frascone.com writes:

  I finally got gnus working with my gmail account.  (I didn't want to
  try my work account first, because too many failed logins will lock it,
  and I have to call IT . . . Pain in the . . )
  But, in a nutshell, it is simply WAY too slow.

 Could you explain what was slow? I find Gnus to be as fast as any mail
 reader I've used, but it all depends on how one sets it up and whether
 one uses other processes to fetch mail:

 http://www.emacswiki.org/emacs/GnusSpeed


It's slow because I use nnimap :)

Maybe I don't need to.  I think I need nnimap so I can check mail with my
phone too.  But, perhaps I am mistaken.  Do any of you use gnus  another
device to read mail, when you're not at your computer?  If so, how do you
handle things?




  I don't mind a command line mail, though I prefer a gui with nice
  keyboard shutcuts.  I used mutt for many, many years . . . . but, gnus
  is not mutt.  I don't think an e-macs mail reader will really work for
  links,

 I do not understand what you mean here.


I was simply saying that I was not biased away from gnus because it wasn't
pretty.  In fact, I'm still willing to give it a shot.  Even if IMAP isn't
the best solution, I can always work out something with fetchmail /
procmail, but, I still need a way to be able to read / check e-mail on my
phone, even if it has already been gathered by fetchmail.  I used to love
the way Mail.app could download mail, but still leave it on the server for
some time . . that could be a solution, since I'm sure fetchmail can do that
too . . .

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


Re: [Orgmode] Does anyone use Jump C-c C-j

2010-04-29 Thread David Frascone
On Thu, Apr 29, 2010 at 8:56 AM, Eric S Fraga ucec...@ucl.ac.uk wrote:


 
  When I did that, it started with all of the headings closed.  If I'm
 looking
  for something nested, it's VERY hard to use, or, I am doing something
  wrong.  See how easy it is for you to find something at level 3, for
  example.

 Use the arrow keys to navigate to the top level heading, hit TAB to
 expand the next level in that sub-tree, use the arrow keys again, hit
 TAB on the second level heading, and recurse...  I find this quite
 intuitive and easy to use.


TAB was the secret here.  I was using arrows, the right arrow, in
particular, to try to traverse the hierarchy.  With tab, it is now very
useful, except for aquamacs opening the help in another window.  I think I
need to go back to Emacs.app


 of course, this assumes you know the hierarchy (i.e. under which
 higher level headings your particular destination is to be found).  if
 you don't know the hierarchy, I would suggest doing an expansion of
 the whole file into the headings view (I can't remember what it is
 called but C-u TAB cycles through the different views) and search
 using C-s instead... remembering that you always have the full power
 of emacs at hand which is partly what makes org so powerful!  For
 example, you can also use

  M-x occur RET

 to search for particular strings in the whole file.

 --
 Eric S Fraga
 GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D


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


Re: [Orgmode] Re: OrgmodeOrg-export-generic and wikis...

2010-04-29 Thread Robert Goldman
On 4/29/10 Apr 29 -9:14 AM, Carsten Dominik wrote:
 
 On Apr 29, 2010, at 3:57 PM, Wes Hardaker wrote:
 
 On Wed, 28 Apr 2010 14:38:47 -0500, Robert Goldman
 rpgold...@sift.info said:

 RG 1. Would it be reasonable to move the documentation for
 RG org-export-generic into the contrib/ directory of org-mode?  It
 RG seems ... suboptimal to have this package be maintained in the org
 RG git repo, but its documentation in the worg git repo.  At least from
 RG my PoV this raises the bar for keeping the documentation up-to-date
 RG and synchronized to a pretty high level.

 I'll let Carsten answer questions like that ;-)
 
 The reason for this is the following.
 
 Many of the contributed packages where written by people who were active
 in Org-mode for a while and then less so.  Many of these package had no
 documentation at all.  So I started a page on WOrg where this
 documentation can be added and edited by other users, with quite
 some success - now most package do have documentation.
 
 Keeping documentation for a contributed package the the org-repo would
 be OK, but there would be no mechanism to automatically put the latest
 version up on on the web.
 
 Changing this would require a volunteer who commits to keep the
 documentation
 of contributed packages in a consistent and web-publishable way in the
 contrib directory.

Here's the particular problem for org-export-generic --- maybe there's a
solution:

org-export-generic is primarily data-driven.  To specify an export
technique, you populate a very big data structure using a macro with
what look like common-lisp keywords.  Here's an example:



(org-set-generic-type
 tikiwiki
 '(:file-suffix .txt
   :key-binding ?U

   ;; lifted from wikipedia exporter
   :header-prefix   
   :header-suffix   

   :title-format-= %s =-\n

   :date-export nil

   :toc-exportnil

   :body-header-section-numbers   nil
   :body-section-prefix   \n

   :body-section-header-prefix(!  !!  !!!   
   !  !!  !!! )
   :body-section-header-suffix( \n  \n  \n
\n  \n  \n)


   :body-line-export-preformated  t ;; yes/no/maybe???
   :body-line-format  %s 
   :body-line-wrapnil

   :body-line-fixed-format%s\n

   :body-list-format  * %s\n
   :body-number-list-format   # %s\n
;;:body-list-prefix  LISTSTART
;;:body-list-suffix  LISTEND
   :blockquote-start  \n^\n
   :blockquote-end^\n\n
   :body-newline-paragrapht
   ))

The problem is that this is VERY difficult to document as the set of
keywords expands (e.g., I add :body-newline-paragraph, :blockquote-start
and :blockquote-end).  These aren't arguments, so they can't get
documented in the code in a docstring.  org-set-generic-type is a
function, not a mode, so there's no docstring for the mode to hold the
documentation.

This is already not working, AFAICT, the worg docs don't seem to be
complete or accurate.

I'm pretty convinced from general code and document-writing practice
that the best solution would be one that puts the documentation as close
to the code as possible.

If this were common-lisp, I would add a new method to the DOCUMENTATION
generic function, so that one could say

(documentation :body-newline-paragraph :org-export-keyword)

Then we could add a declaration macro, and put the docstring there:

(def-generic-export-keyword :body-newline-paragraph
  :boolean
  Should newlines ONLY be used as paragraph breaks.  If
the associated value is true, then org-export-generic will
flow contiguous paragraphs into one long line, adding newlines
only where there is a blank line.  Should be coupled with a
value for :body-line-format that does NOT contain a newline
character, e.g., \%s \)

I suppose we could add something like this, and possibly even
write a script that would blat the docstring into something that
Worg could display.

Any thoughts?

Best,

r




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


Re: [Orgmode] Does anyone use Jump C-c C-j

2010-04-29 Thread Eric S Fraga
On Thu, 29 Apr 2010 09:15:53 -0600, David Frascone d...@frascone.com wrote:
 
 On Thu, Apr 29, 2010 at 8:56 AM, Eric S Fraga ucec...@ucl.ac.uk wrote:
 
 
  
   When I did that, it started with all of the headings closed.  If I'm
  looking
   for something nested, it's VERY hard to use, or, I am doing something
   wrong.  See how easy it is for you to find something at level 3, for
   example.
 
  Use the arrow keys to navigate to the top level heading, hit TAB to
  expand the next level in that sub-tree, use the arrow keys again, hit
  TAB on the second level heading, and recurse...  I find this quite
  intuitive and easy to use.
 
 
 TAB was the secret here.  I was using arrows, the right arrow, in
 particular, to try to traverse the hierarchy.  With tab, it is now very
 useful, 

Ah, excellent!  

 except for aquamacs opening the help in another window.  I think I
 need to go back to Emacs.app

This, unfortunately, I cannot help with, having never used a
Mac... (I'm linux 100% and have been since '92).  I have no idea what
the difference between Emacs.app and Aquamacs may be...
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug in Agenda mode?

2010-04-29 Thread Carsten Dominik


On Apr 29, 2010, at 4:51 PM, J. David Boyd wrote:



If I do a C-a a, I see my weekly agenda, starting 'today'.

Then I can hit 'd', and see today laid out better.   Back to 'w',  
and I

see the weekly agenda again.

I can scroll down to tomorrow, hit 'd', and see tomorrow.  But when I
hit 'w', I'm back to the week view, but now it starts on tomorrow, and
not today.

And if I scroll down two days, and hit 'd', then 'w' to come back to  
the

week view, I'm misplaced forward 2 days.

Is this a bug, or 'just the way it works'.  I'd never noticed before,
but I don't think I had actually tried that.


looks like you have set org-agenda-start-on-weekday to nil.  The is  
works like you describe.  If you set it to a number, the week will  
always start on that day.


The problem is that, if you are still in the current week, it might  
make sense to have the week start at today when you switch back to  
week view.  But when you are further away from today, the week view  
must be constructed in a way that the day which was last shown in day  
view is also shown.  Since you have opted to have your week view start  
at whatever weekday is today, Org assumes now that you want a week  
starting on the last shown day.


H.

I am not sure what would be best here.

- Carsten



I'm using the (release_6.34c.149.gf0f5.dirty) version of org.



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


- Carsten





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


Re: [Orgmode] Does anyone use Jump C-c C-j

2010-04-29 Thread Carsten Dominik


On Apr 29, 2010, at 5:27 PM, Eric S Fraga wrote:

On Thu, 29 Apr 2010 09:15:53 -0600, David Frascone  
d...@frascone.com wrote:


On Thu, Apr 29, 2010 at 8:56 AM, Eric S Fraga ucec...@ucl.ac.uk  
wrote:






When I did that, it started with all of the headings closed.  If  
I'm

looking
for something nested, it's VERY hard to use, or, I am doing  
something
wrong.  See how easy it is for you to find something at level 3,  
for

example.


Use the arrow keys to navigate to the top level heading, hit TAB to
expand the next level in that sub-tree, use the arrow keys again,  
hit

TAB on the second level heading, and recurse...  I find this quite
intuitive and easy to use.



TAB was the secret here.  I was using arrows, the right arrow, in
particular, to try to traverse the hierarchy.  With tab, it is now  
very

useful,


Ah, excellent!


except for aquamacs opening the help in another window.  I think I
need to go back to Emacs.app


This, unfortunately, I cannot help with, having never used a
Mac... (I'm linux 100% and have been since '92).  I have no idea what
the difference between Emacs.app and Aquamacs may be...


AquaEmacs tries to be like other Mac Applications, which all open a  
new frame for each document.


I think you can get i back to more normal Emacs behavior by customizing

`pop-up-frames', `pop-up-windows', `display-buffer-reuse-frames'.

- Carsten



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


Re: [Orgmode] Does anyone use Jump C-c C-j

2010-04-29 Thread Nick Dokos
David Frascone d...@frascone.com wrote:

 ... 
 TAB was the secret here.  I was using arrows, the right arrow, in particular, 
 to try to traverse the hierarchy.  With tab, it is now very useful, except
 for aquamacs opening the help in another window.  I think I need to go back 
 to Emacs.app
 

[disclaimer: I don't know anything about aquamacs.]

I see org-get-location creating the help buffer and trying *not* to
pop up a frame by 

  (let (...
(pop-up-frames nil)
...)
...)

Maybe you can check the global value of the pop-up-frames variable? If
non-nil, set it to nil and try again (although that's going to change
other things as well.) If it's nil, then I throw up my hands. But if
that stops the frame from popping up, that might indicate a bug in the
aquamacs emacs-lisp implementation: I think the setting above should
percolate down so that when display-buffer gets called, it should listen
to it.

Nick


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


[Orgmode] Frequently used files/headings

2010-04-29 Thread Nathan Neff
Currently, I'm using org-id-get-create to generate a unique ID
for headings that I frequently go to in org-mode.

* Foo
:PROPERTIES:
:ID: F3B14102-A66D-408C-8833-1F9CF7E5047C
:END:

Then, I copy the newly created ID to the kill-ring,
and paste it into a block like this:

(global-set-key (kbd f6 f) (lambda () Goto Foo Org File
(interactive)
(org-id-goto F3B14102-A66D-408C-8833-1F9CF7E5047C)))

This will map F6-f to jump to Foo.

I know that there are many ways to navigate org-files, but using the
ID is great because it requires only two keystrokes.

This works pretty good, except I'd like to improve three things:

1)  I'd like to be able to see a menu of where I've mapped my shortcuts
2)  I'd like to simplify the creation of these IDs and shortcut keys.
3)  I have about 10 quick-keys now, so I have 30 lines of very similar code

I'm sensing an org-babel type approach where I could define an org-mode
table like this:

| Name | Key   | ID |
| Foo| f6 f  | 123456779 |

Then, I could loop through the table, and for each row, I could
run this code:

(global-set-key (kbd COLUMN 2) (lambda () COLUMN 1
(interactive)
(org-id-goto COLUMN 3)))

Before I do something like this, I'd like to know if anyone's done something
similar or if anyone wants to chime in.

Thanks!

--Nate


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


Re: [Orgmode] Simplify link handling?

2010-04-29 Thread Richard Riley
Nick Dokos nicholas.do...@hp.com writes:

 Richard Riley rileyrg...@gmail.com wrote:

 
 99 times out of a hundred my link usage when creating a new remember
 item is simply last link (using C-c C-l org-insert-link as opposed to
 using a link specifier in the template) - could there be a way to
 configure, or is there already a way for org-insert-link to
 automatically insert the last one stored? If there is only one link in
 the stored links array then i feel that should probably default too - as
 it is you need to arrow to it - possibly the simplest would be to be
 allowed to set something like org-keep-one-link-only and if this is
 set org-insert-link automatically inserts the one single link
 maintained.
 
 I daresay its already there and I missed it ;)
 
 

 Doesn't ``C-c C-l RET'' insert the last link? My usage is very
 much the same as yours, but I never had to arrow to it.

 Nick


Yes it does but I would prefer it to just insert immediately without the
buffer coming up and the need to hit return. Not earth shatteringly
important of course, but just another of those little tweaks which makes
usage that much more slick.


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


Re: [Orgmode] Can org accept letter (a.b.c) as ordered list?

2010-04-29 Thread Xin Shi
Okay. Thanks for this confirmation :)

Xin


On Thu, Apr 29, 2010 at 9:02 AM, Carsten Dominik
carsten.domi...@gmail.comwrote:


 On Apr 27, 2010, at 5:49 PM, Xin Shi wrote:

  Hello Experts,

 I'm wondering if it's easy to make ordered list like this:


 No.

 - Carsten


 1. This is the first level
a. This is in the second level
b. Same level
c. Same ...
 2. This is the first level again

 It is more readable than the current one.

 Thanks!

 Xin

 ___
 Emacs-orgmode mailing list
 Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Bug in Agenda mode?

2010-04-29 Thread J. David Boyd
Carsten Dominik carsten.domi...@gmail.com writes:

 On Apr 29, 2010, at 4:51 PM, J. David Boyd wrote:


 If I do a C-a a, I see my weekly agenda, starting 'today'.

 Then I can hit 'd', and see today laid out better.   Back to 'w',
 and I
 see the weekly agenda again.

 I can scroll down to tomorrow, hit 'd', and see tomorrow.  But when I
 hit 'w', I'm back to the week view, but now it starts on tomorrow, and
 not today.

 And if I scroll down two days, and hit 'd', then 'w' to come back to
 the
 week view, I'm misplaced forward 2 days.

 Is this a bug, or 'just the way it works'.  I'd never noticed before,
 but I don't think I had actually tried that.

 looks like you have set org-agenda-start-on-weekday to nil.  The is
 works like you describe.  If you set it to a number, the week will
 always start on that day.

 The problem is that, if you are still in the current week, it might
 make sense to have the week start at today when you switch back to
 week view.  But when you are further away from today, the week view
 must be constructed in a way that the day which was last shown in day
 view is also shown.  Since you have opted to have your week view start
 at whatever weekday is today, Org assumes now that you want a week
 starting on the last shown day.

 H.

 I am not sure what would be best here.

 - Carsten


I can live with that.   I only set the agenda to start from the current
day because I didn't really care about seeing days that had already gone
by.

I think what surprised me the most was that, once I went to a specific
day, and then back to week mode, and I started on a different day, was
that I couldn't reset it to what it had previously been without exiting
the agenda and starting over.

I don't consider it a problem, just 'the way it is'.   Now that I know
that is how it works, I can deal with it.   

No, sorry, that's not saying it correctly.   I have no problems
what-so-ever with how it works, I just didn't understand it.

Thanks for a great program!

Dave in Largo, FL



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


[Orgmode] Re: Orgmode[PATCH 4/4] Add handling of blockquote and output formats that must be flowed.

2010-04-29 Thread Bernt Hansen
Robert Goldman rpgold...@real-time.com writes:

 On 4/29/10 Apr 29 -8:58 AM, Carsten Dominik wrote:
 Applied, thanks.
 
 I had two email saying patch 4/4, I too one of them, what happened with
 1/4, 2/4, 3/4?

 What happened was that I am incompetent with git.  Somehow git thinks
 that my copy is four patches away from origin/master.  But, in fact,
 only the last patch (hence 4/4) is a bona fide diff from origin/master
 (your version).

 To use a cliche, I need to figure out how to convince git that I am now
 on the same page as the origin.  I think this may have something to do
 with submitting patches by email instead of pushing them.  I will try to
 figure this out before submitting my next patch.

git format-patch -1

should give you a single patch with no numbers.  You can specify how
many commits to include with -n  (eg. git format-patch -3 ) and it
numbers the 3 patches appropriately.

You can turn off the patch numbering if they are unrelated with
--no-numbered.

If you are using git send-email it uses the same format-patch parameters
IIRC.

I use git send-email --annotate

which brings each patch into an edit buffer where I can add extra
(non-commit message) information before the diffstat.

HTH,
Bernt


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


[Orgmode] error message with agenda

2010-04-29 Thread charles snyder
Hi

I am having a weird problem with GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
and orgmode 6.35i Windows XP

When I run the agenda command for the current week day C-a a, I get a error
message eval-buffer: Required feature `diary-loaddefs' was not provided
with the agenda view only showing Week-agenda (W17): and no entries.

I deleted everything from my .emacs file except this:

(add-to-list 'load-path C:/Documents and Settings/csnyder/Desktop/My
Dropbox/emacs_org/remember/)
(add-to-list 'load-path C:/Documents and Settings/csnyder/Desktop/My
Dropbox/emacs_org/org-mode/lisp)

(require 'org)
(require 'remember)
(require 'org-install)

and the problem remains

Any ideas?

Thanks!

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


Re: [Orgmode] Simplify link handling?

2010-04-29 Thread Carsten Dominik


On Apr 29, 2010, at 5:49 PM, Richard Riley wrote:


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


Richard Riley rileyrg...@gmail.com wrote:



99 times out of a hundred my link usage when creating a new remember
item is simply last link (using C-c C-l org-insert-link as  
opposed to

using a link specifier in the template) - could there be a way to
configure, or is there already a way for org-insert-link to
automatically insert the last one stored? If there is only one  
link in
the stored links array then i feel that should probably default  
too - as

it is you need to arrow to it - possibly the simplest would be to be
allowed to set something like org-keep-one-link-only and if this  
is

set org-insert-link automatically inserts the one single link
maintained.

I daresay its already there and I missed it ;)




Doesn't ``C-c C-l RET'' insert the last link? My usage is very
much the same as yours, but I never had to arrow to it.

Nick



Yes it does but I would prefer it to just insert immediately without  
the

buffer coming up and the need to hit return. Not earth shatteringly
important of course, but just another of those little tweaks which  
makes

usage that much more slick.


Do you not even want it to prompt you for the description (or  
confirmation of it?)


- Carsten



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


Re: [Orgmode] Simplify link handling?

2010-04-29 Thread Carsten Dominik


On Apr 29, 2010, at 5:49 PM, Richard Riley wrote:


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


Richard Riley rileyrg...@gmail.com wrote:



99 times out of a hundred my link usage when creating a new remember
item is simply last link (using C-c C-l org-insert-link as  
opposed to

using a link specifier in the template) - could there be a way to
configure, or is there already a way for org-insert-link to
automatically insert the last one stored? If there is only one  
link in
the stored links array then i feel that should probably default  
too - as

it is you need to arrow to it - possibly the simplest would be to be
allowed to set something like org-keep-one-link-only and if this  
is

set org-insert-link automatically inserts the one single link
maintained.

I daresay its already there and I missed it ;)




Doesn't ``C-c C-l RET'' insert the last link? My usage is very
much the same as yours, but I never had to arrow to it.

Nick



Yes it does but I would prefer it to just insert immediately without  
the

buffer coming up and the need to hit return. Not earth shatteringly
important of course, but just another of those little tweaks which  
makes

usage that much more slick.


Do you not even want it to prompt you for the description (or  
confirmation of it?)


- Carsten





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


Re: [Orgmode] A shorter manual

2010-04-29 Thread Dan Davison
Carsten Dominik carsten.domi...@gmail.com writes:

 On Apr 28, 2010, at 8:43 PM, Matti De Craene wrote:

 - 2.8 Drawers
 - 3.2 Column width and alignment
 - 3.3 The Spreadsheet (4 rather technical pages)
 - 7.4 Property Inheritance and 7.5 Column View
 (do beginners really need properties at all ??)


 I would agree on this list (except maybe drawers).

 If there is room for additional sections maybe:
 - include the org ref card as an appendix (which in itself offers a
 very good overview of org)
 - include some pointers into getting emacs for different OSes and
 getting started with emacs. If there would be an O´Reilly book on
 Org-mode this would be in the first chapter or so. For people who
 started using emacs because of org (like me) the current Introduction
 might still be too cryptic (?)

 Hi Dan, Matti,

 I think I agree, just cannot easliy let go of the spreadsheet
 as a core feature - you caught me there :-), and you are right, also

 I would be very glad to hand over the control over this document
 to either of you or to another volunteer.

Hi Carsten,

I'm afraid I don't want to take responsibility for this (a predictable
position). Apart from anything else there are several areas of Org
that I don't know enough about. If there isn't a volunteer, perhaps we
could place this document on Worg, and someone could periodically review
the changes and judge whether they should be applied to the master copy
on the Org website? We could request on this list volunteers for someone
to make specific entries (e.g. adding a Further reading section for a
specific chapter).

Dan


  Maybe then we could
 make something really nice out of this experiment - I will not
 be able to spend much more time on it

 - Carsten



 --

 Matti




 On Wed, Apr 28, 2010 at 7:05 PM, Dan Davison
 davi...@stats.ox.ac.uk wrote:
 Erik Iverson er...@ccbr.umn.edu writes:

 Carsten Dominik wrote:
 Dear all,

 with the Org-mode manual moving toward 200 pages,  I am
 starting to worry that people with stop in their tracks
 when considering Org-mode, just because of the sheer size
 of the manual.

 So I did a little experiment.  I took the manual and stripped
 everything which could be considered advanced material, but
 keeping all features and all basic commands and customizations.

 What remains are about 50 pages.  A document with the same
 structure (even the same chapter numbers) as the manual.
 I am wondering if it would be useful to have this as a beginners
 document - or if the existence of this document would lead
 to more confusion than relief.

 http://orgmode.org/orgguide.pdf

 I don't see this a an alternative for the manual - just
 as an additional, rather static document, with little need for
 updates.  The manual would continue to be the comprehensive
 and constantly updated document.

 Comments are welcome.

 Hi Carsten,

 I think this would be a good thing to have.

 It would be good to have active HTML links to the relevant main
 manual
 sections in PDF and HTML versions. (even if this is not encouraged by
 texinfo format).

 I'm tempted to suggest going even a little further than you have
 done.
 If you were to make it shorter, I would suggest removing the
 following
 sections, and to replace removed sections with very short non-
 technical
 advertisements for features that are covered in the main manual.

 - 2.8 Drawers
 - 3.2 Column width and alignment
 - 3.3 The Spreadsheet (4 rather technical pages)
 - 7.4 Property Inheritance and 7.5 Column View
  (do beginners really need properties at all ??)

 Dan


 I think it's a great idea.  The R project has something called An
 Introduction to R for beginners, separate from the complete manual.
 I think that as a beginner, and wondering how to break into
 learning a
 new package, that reading the manual has certain negative
 psychological connotations that reading the intro document does
 not,
 not the least of which is the length of full manual.

 And since knowing just the basics of org can be immensely
 beneficial,
 I think it's even more reason to have a basic intro document.

 --Erik


 ___
 Emacs-orgmode mailing list
 Please 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
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode


 - Carsten





 ___
 Emacs-orgmode mailing list
 Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Orgmode[PATCH 4/4] Add handling of blockquote and output formats that must be flowed.

2010-04-29 Thread Robert Goldman
On 4/29/10 Apr 29 -12:00 PM, Bernt Hansen wrote:
 Robert Goldman rpgold...@real-time.com writes:
 
 On 4/29/10 Apr 29 -8:58 AM, Carsten Dominik wrote:
 Applied, thanks.

 I had two email saying patch 4/4, I too one of them, what happened with
 1/4, 2/4, 3/4?

 What happened was that I am incompetent with git.  Somehow git thinks
 that my copy is four patches away from origin/master.  But, in fact,
 only the last patch (hence 4/4) is a bona fide diff from origin/master
 (your version).

 To use a cliche, I need to figure out how to convince git that I am now
 on the same page as the origin.  I think this may have something to do
 with submitting patches by email instead of pushing them.  I will try to
 figure this out before submitting my next patch.
 
 git format-patch -1
 
 should give you a single patch with no numbers.  You can specify how
 many commits to include with -n  (eg. git format-patch -3 ) and it
 numbers the 3 patches appropriately.
 
 You can turn off the patch numbering if they are unrelated with
 --no-numbered.
 
 If you are using git send-email it uses the same format-patch parameters
 IIRC.
 
 I use git send-email --annotate
 
 which brings each patch into an edit buffer where I can add extra
 (non-commit message) information before the diffstat.

Thanks, Bernt.  That's /very/ helpful.  git send-email and format-patch
have a pretty overwhelming set of options, and this will help me focus
on the ones I should use.

A quick follow-up --- I got into trouble by sending patches computed
versus origin/master.  It turns out that this is not what I (or anyone
else, I would have thought) wants.  What I want is to get patches
relative to the merge commit that brings together my local commits and
origin/master.  Is there a common way to encourage git to do that?

thanks,
r


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


Re: [Orgmode] Does anyone use Jump C-c C-j

2010-04-29 Thread William Henney
Hi all

On Thu, Apr 29, 2010 at 10:37 AM, Carsten Dominik
carsten.domi...@gmail.com wrote:

 On Apr 29, 2010, at 5:27 PM, Eric S Fraga wrote:

 On Thu, 29 Apr 2010 09:15:53 -0600, David Frascone d...@frascone.com
 wrote:

 On Thu, Apr 29, 2010 at 8:56 AM, Eric S Fraga ucec...@ucl.ac.uk wrote:

 except for aquamacs opening the help in another window.  I think I
 need to go back to Emacs.app

 This, unfortunately, I cannot help with, having never used a
 Mac... (I'm linux 100% and have been since '92).  I have no idea what
 the difference between Emacs.app and Aquamacs may be...

 AquaEmacs tries to be like other Mac Applications, which all open a new
 frame for each document.

 I think you can get i back to more normal Emacs behavior by customizing

 `pop-up-frames', `pop-up-windows', `display-buffer-reuse-frames'.


Actually, I think you just need to do

(setq special-display-regexps nil)

to get Aquamacs to behave properly

See http://www.emacswiki.org/emacs/AquamacsEmacsCompatibilitySettings

Cheers

Will


-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia


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


[Orgmode] Archiving

2010-04-29 Thread J. David Boyd

I've read all the archiving information, and I _think_ that I understand
it, bu there is my question.


I would like to put archived entries into a file, but keep the headlines
that existed when they were 'live', so that when I show them in the
clock, they line up under the parents that owned them.  That way I can
see how much total time I have spent on certain projects, and just by
changing the 'agenda-with-archives' to something else, _not_ see them if
I don't want to.

Is this possible?   Does some guru know how to do this?

Thanks!

Dave in Largo, FL



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


[Orgmode] Re: Orgmode[PATCH 4/4] Add handling of blockquote and output formats that must be flowed.

2010-04-29 Thread Bernt Hansen
Robert Goldman rpgold...@real-time.com writes:

 A quick follow-up --- I got into trouble by sending patches computed
 versus origin/master.  It turns out that this is not what I (or anyone
 else, I would have thought) wants.  What I want is to get patches
 relative to the merge commit that brings together my local commits and
 origin/master.  Is there a common way to encourage git to do that?

Hi Robert.

Just as a quick test I branched 10 commits back in origin/master
with

git checkout -b foo origin/master~10

and then created a couple of throw-away commits for format-patch to play
with (by editing and committing lisp/ChangeLog)

My history now looks something like this:


 o -- o -- B -- o -- o -- o -- ... -- o -- o -- A origin/master
\
 X -- Y  foo

From anywhere in the history I can do

git format-patch origin/master..foo

and I get only the X and Y commits created as patches.  You can
experiment with the git log command instead of format-patch to show the
commits you get.  Basically it lists the commits not in origin/master on
the foo branch.

If you happen to be at foo (commit Y) you can omit the second branch
name since HEAD is assumed so origin/master..foo is the same as
origin/master..

HTH,

Bernt


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


[Orgmode] Re: Bug in Agenda mode?

2010-04-29 Thread Bernt Hansen
da...@adboyd.com (J. David Boyd) writes:

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

 On Apr 29, 2010, at 4:51 PM, J. David Boyd wrote:


 If I do a C-a a, I see my weekly agenda, starting 'today'.

 Then I can hit 'd', and see today laid out better.   Back to 'w',
 and I
 see the weekly agenda again.

 I can scroll down to tomorrow, hit 'd', and see tomorrow.  But when I
 hit 'w', I'm back to the week view, but now it starts on tomorrow, and
 not today.

 And if I scroll down two days, and hit 'd', then 'w' to come back to
 the
 week view, I'm misplaced forward 2 days.

 Is this a bug, or 'just the way it works'.  I'd never noticed before,
 but I don't think I had actually tried that.

 looks like you have set org-agenda-start-on-weekday to nil.  The is
 works like you describe.  If you set it to a number, the week will
 always start on that day.

 The problem is that, if you are still in the current week, it might
 make sense to have the week start at today when you switch back to
 week view.  But when you are further away from today, the week view
 must be constructed in a way that the day which was last shown in day
 view is also shown.  Since you have opted to have your week view start
 at whatever weekday is today, Org assumes now that you want a week
 starting on the last shown day.

 H.

 I am not sure what would be best here.

 - Carsten


 I can live with that.   I only set the agenda to start from the current
 day because I didn't really care about seeing days that had already gone
 by.

 I think what surprised me the most was that, once I went to a specific
 day, and then back to week mode, and I started on a different day, was
 that I couldn't reset it to what it had previously been without exiting
 the agenda and starting over.

 I don't consider it a problem, just 'the way it is'.   Now that I know
 that is how it works, I can deal with it.   

 No, sorry, that's not saying it correctly.   I have no problems
 what-so-ever with how it works, I just didn't understand it.

Hi David,

I have two org-mode setups and of course they are different :/

At home I don't know what day of the week it is normally (honest!) and I
want to see the next 7 days so my week starts from today (or whatever
day I'm looking at).

I normally just look at today so my agenda remembers to display day view
since that is what I used last.  Looking at and planning my entire week
is something I normally due on Monday's during my weekly review.

For work my week runs Saturday - Friday and it's useful to see the week
starting from Saturday.  If I want to see the week view (at work)
hitting w brings up this week starting from last Saturday (showing the
week including the day I'm displaying -- which is almost always today).

At work I report my hours from Saturday through Friday.  I often want a
clock report of what I've worked on this week so I look at the week view
and hit R and I have my report.

Hopefully some of this description is useful and doesn't confuse you
more :).

Regards,
Bernt



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


[Orgmode] Re: Archiving

2010-04-29 Thread Bernt Hansen
da...@adboyd.com (J. David Boyd) writes:

 I've read all the archiving information, and I _think_ that I understand
 it, bu there is my question.


 I would like to put archived entries into a file, but keep the headlines
 that existed when they were 'live', so that when I show them in the
 clock, they line up under the parents that owned them.  That way I can
 see how much total time I have spent on certain projects, and just by
 changing the 'agenda-with-archives' to something else, _not_ see them if
 I don't want to.

 Is this possible?   Does some guru know how to do this?

I don't know of an automatic way to do this but I have this manually set
up in my org-files.

I keep level 1 headings as categories/topics and archive level 2
subtrees only.

Each of the level 1 headings has a property that defines where the
archived items should go - so they end up in the same tree structure in
the archive file.

,
| * Appointments
|   :PROPERTIES:
|   :CATEGORY: Appt
|   :ARCHIVE:  %s_archive::* Appointments
|   :END:  
|   ...
| * Miscellaneous
|   :PROPERTIES:
|   :CATEGORY: todo
|   :ARCHIVE: %s_archive::* Miscellaneous
|   :END:
`

Regards,
Bernt


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


[Orgmode] Vim folding/syntax highlighting?

2010-04-29 Thread Nathan Neff
Does anyone know of an org-mode syntax file and/or folding definition
for Vim?

I use Vim quite a bit, and would like to have *.org files highlighted nicely.

I'd also like to use Vim's folding capabilities to be able to fold the
headlines like org-mode does.

I'll probably write a syntax file and a folding method if nobody
knows of any existing ones.

Thanks,
--Nate


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


Re: [Orgmode] Does anyone use Jump C-c C-j

2010-04-29 Thread David Frascone
On Thu, Apr 29, 2010 at 11:31 AM, William Henney when...@gmail.com wrote:



 Actually, I think you just need to do

 (setq special-display-regexps nil)

 to get Aquamacs to behave properly


That one did it!
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Turning on TOC export of timestamps for headlines

2010-04-29 Thread Jan Böcker
On 28.04.2010 02:25, Rick Moynihan wrote:
 I can't seem to get timestampts to export to HTML as part of the TOC
 when they're in a headline

Hi Rick,

customize the variable org-export-remove-timestamps-from-toc.

HTH, Jan


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


[Orgmode] Re: Archiving

2010-04-29 Thread J. David Boyd
Bernt Hansen be...@norang.ca writes:

 da...@adboyd.com (J. David Boyd) writes:

 I've read all the archiving information, and I _think_ that I understand
 it, bu there is my question.


 I would like to put archived entries into a file, but keep the headlines
 that existed when they were 'live', so that when I show them in the
 clock, they line up under the parents that owned them.  That way I can
 see how much total time I have spent on certain projects, and just by
 changing the 'agenda-with-archives' to something else, _not_ see them if
 I don't want to.

 Is this possible?   Does some guru know how to do this?

 I don't know of an automatic way to do this but I have this manually set
 up in my org-files.

 I keep level 1 headings as categories/topics and archive level 2
 subtrees only.

 Each of the level 1 headings has a property that defines where the
 archived items should go - so they end up in the same tree structure in
 the archive file.

 ,
 | * Appointments
 |   :PROPERTIES:
 |   :CATEGORY: Appt
 |   :ARCHIVE:  %s_archive::* Appointments
 |   :END:  
 |   ...
 | * Miscellaneous
 |   :PROPERTIES:
 |   :CATEGORY: todo
 |   :ARCHIVE: %s_archive::* Miscellaneous
 |   :END:
 `

 Regards,
 Bernt




That would work, but _way_ more work than I would like to do   I
just want a clean, hide 'em, but keep track of 'em, kind of structure.

Thanks for the info though, maybe I can write a perl script to run that
can go in and modify my .org files to create that

Dave



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


[Orgmode] Re: Bug in Agenda mode?

2010-04-29 Thread J. David Boyd
Bernt Hansen be...@norang.ca writes:

 da...@adboyd.com (J. David Boyd) writes:


 Hi David,

 I have two org-mode setups and of course they are different :/

 At home I don't know what day of the week it is normally (honest!) and I
 want to see the next 7 days so my week starts from today (or whatever
 day I'm looking at).

 I normally just look at today so my agenda remembers to display day view
 since that is what I used last.  Looking at and planning my entire week
 is something I normally due on Monday's during my weekly review.

 For work my week runs Saturday - Friday and it's useful to see the week
 starting from Saturday.  If I want to see the week view (at work)
 hitting w brings up this week starting from last Saturday (showing the
 week including the day I'm displaying -- which is almost always today).

 At work I report my hours from Saturday through Friday.  I often want a
 clock report of what I've worked on this week so I look at the week view
 and hit R and I have my report.

 Hopefully some of this description is useful and doesn't confuse you
 more :).

 Regards,
 Bernt



That makes sense to me.   I think I am just going to change it so that I
see everything starting on Monday, and showing 7 days,  as that will
work fine here where I work.   I _rarely_ work on Saturday or Sunday
(which makes _me_ happy!)

Dave



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


Re: [Orgmode] Specify page number in hyperlink [to pdf]

2010-04-29 Thread Jan Böcker
On 28.04.2010 20:30, Joe Riel wrote:
 The hyperlink syntax allows specifying a line number, however,
 that doesn't do anything (other than force the document to
 be opened inside of emacs) with a non-text file (say a pdf).
 
 Is therea an extension to allow specifying a page number
 so that a link to a pdf is opened at the specified page?

There is in the current git version, its not yet documented though.


Add an entry to the variable org-file-apps like this:
(\\.pdf::\\([0-9]+\\)\\' . evince \%s\ -p %1)

Or as seen in the customize interface:
Extension: \.pdf::\([0-9]+\)\'
Command:   evince %s -p %1

The subexpression \([0-9]+\) in the regex captures the page number,
which replaces the %1 in the command string. (This example assumes you
want to open your PDFs with evince, which accepts a page number after
the -p option.)

You can then reference a specific page of a PDF like this:
[[file:/path/to/document.pdf::42]]

I had planned to document this yesterday, but unfortunately spent the
better part of the day recovering from a cold. I will send a patch
describing how this works, when exactly the new behaviour kicks in and
the implications for backwards compatibility as soon as I find time to
describe it compactly enough to fit into the docstring.

HTH, Jan


PS: Here is my first draft of the change to the docstring; it does not
mention custom lisp forms yet, and still makes the docstring too long
for my taste. I guess I'll write a separate tutorial on worg which I'll
reference in the docstring, and include in the docstring only one
example of the extended feature and information on backwards compatibility.


 \regex\ Regular expression matched against the file name.  For
backward
compatibility, this can also be a string with only
alphanumeric
characters, which is then interpreted as an extension.
+
+   If this regular expression captures parts of the
+   match using groups (subexpressions), it is matched
+   against the whole link instead; \%n\ in a
+   command string will be replaced by the n-th
+   subexpression match, just like \%s\ is replaced
+   with the file name.
+
+   For backwards compatibility, this behaviour is not
+   triggered if the command string does not contain
+   any \%n\, i.e. in that case the regexp is still
+   matched against the file name.
+
+   If you want to use groups in your regexp but do not want
+   it matched against the whole link, use shy groups like this:
+  \\\(?:txt|html\\)\


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


[Orgmode] Re: Linking Mail ?

2010-04-29 Thread Rémi Vanicat
David Frascone d...@frascone.com writes:

 On Thu, Apr 29, 2010 at 9:08 AM, Matt Lundin m...@imapmail.org wrote:

 David Frascone d...@frascone.com writes:

  I finally got gnus working with my gmail account.  (I didn't want to
  try my work account first, because too many failed logins will lock it,
  and I have to call IT . . . Pain in the . . )
  But, in a nutshell, it is simply WAY too slow.

 Could you explain what was slow? I find Gnus to be as fast as any mail
 reader I've used, but it all depends on how one sets it up and whether
 one uses other processes to fetch mail:

 http://www.emacswiki.org/emacs/GnusSpeed


 It's slow because I use nnimap :)

A good solution for gnus+imap is
http://sachachua.com/wp/2008/05/geek-how-to-use-offlineimap-and-the-dovecot-mail-server-to-read-your-gmail-in-emacs-efficiently/
 

Of course, it's way to much complicated, but it work.

-- 
Rémi Vanicat



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


Re: [Orgmode] Re: Linking Mail ?

2010-04-29 Thread John Rakestraw

On Thu, 29 Apr 2010, Rémi Vanicat wrote:

 A good solution for gnus+imap is
 http://sachachua.com/wp/2008/05/geek-how-to-use-offlineimap-and-the-dovecot-mail-server-to-read-your-gmail-in-emacs-efficiently/
  

 Of course, it's way to much complicated, but it work.

I'm by no means a techie. First I used emacs occasionally as a simple text
editor. Then I stumbled onto org-mode (by way of Planner). Then I wanted
what David wants -- an integration of email with org-mode. 

After some investigation, I went with gnus and a local imap server.
(Remember -- I'm not a techie.)

This howto made the process relatively painless for me:

http://jfm3-repl.blogspot.com/2008/10/no-seriously-use-gnus-for-email.html

-- 
John Rakestraw


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


Re: [Orgmode] Vim folding/syntax highlighting?

2010-04-29 Thread Bastien
Nathan Neff nathan.n...@gmail.com writes:

 I'll probably write a syntax file and a folding method if nobody
 knows of any existing ones.

That would be really great!

-- 
 Bastien


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


[Orgmode] Vim folding/syntax highlighting?

2010-04-29 Thread Michael Brand

Hi Nathan

Does it matter for you if the modal (i/ESC etc.) editor with the vi key 
bindings that you like to use is run by Vim or Emacs? If not, then you can 
use Emacs with viper-mode as a minor mode for the emulation of the vi key 
bindings together with org-mode as the major mode. This is how I use Emacs 
and it feels just like a Vim that would have the full implementation of the 
org-mode and more.


See also here:
http://www.gnu.org/software/emacs/manual/html_node/viper/index.html
http://thread.gmane.org/gmane.emacs.orgmode/17508

Michael


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


Re: [Orgmode] Final Question: Usage

2010-04-29 Thread Stephan Schmitt


Sven Bretfeld wrote:

David Frascone d...@frascone.com writes:


How do I work with multiple files?  Is there an easy way to jump back
and forth from them, if I start making one file for Bugs, one for
Escalations, one for projects, one for notes, etc?


You can use bookmarks, buffer-cycling, links or just define keys to find
the files.

Greetings,

Sven


You can also bind the function org-iswitchb to a key of your choice.

Greetings,
Stephan


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


Re: [Orgmode] A shorter manual

2010-04-29 Thread Carsten Dominik


On Apr 29, 2010, at 7:23 PM, Dan Davison wrote:


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


On Apr 28, 2010, at 8:43 PM, Matti De Craene wrote:


- 2.8 Drawers
- 3.2 Column width and alignment
- 3.3 The Spreadsheet (4 rather technical pages)
- 7.4 Property Inheritance and 7.5 Column View
(do beginners really need properties at all ??)



I would agree on this list (except maybe drawers).

If there is room for additional sections maybe:
- include the org ref card as an appendix (which in itself offers a
very good overview of org)
- include some pointers into getting emacs for different OSes and
getting started with emacs. If there would be an O´Reilly book on
Org-mode this would be in the first chapter or so. For people who
started using emacs because of org (like me) the current  
Introduction

might still be too cryptic (?)


Hi Dan, Matti,

I think I agree, just cannot easliy let go of the spreadsheet
as a core feature - you caught me there :-), and you are right, also

I would be very glad to hand over the control over this document
to either of you or to another volunteer.


Hi Carsten,

I'm afraid I don't want to take responsibility for this (a predictable
position).


Sure, I understand.


Apart from anything else there are several areas of Org
that I don't know enough about. If there isn't a volunteer, perhaps we
could place this document on Worg, and someone could periodically  
review
the changes and judge whether they should be applied to the master  
copy
on the Org website? We could request on this list volunteers for  
someone
to make specific entries (e.g. adding a Further reading section  
for a

specific chapter).


Hmmm, I am not sure how efficient this would be.

I have it now down to 40 pages, with live links to the manual and to  
tutorials at the end of each chapter...


http://orgmode.org/orgguide.pdf

I guess I am done here - a volunteer con still take this up...

- Carsten



Dan



Maybe then we could
make something really nice out of this experiment - I will not
be able to spend much more time on it

- Carsten




--

Matti




On Wed, Apr 28, 2010 at 7:05 PM, Dan Davison
davi...@stats.ox.ac.uk wrote:

Erik Iverson er...@ccbr.umn.edu writes:


Carsten Dominik wrote:

Dear all,

with the Org-mode manual moving toward 200 pages,  I am
starting to worry that people with stop in their tracks
when considering Org-mode, just because of the sheer size
of the manual.

So I did a little experiment.  I took the manual and stripped
everything which could be considered advanced material, but
keeping all features and all basic commands and customizations.

What remains are about 50 pages.  A document with the same
structure (even the same chapter numbers) as the manual.
I am wondering if it would be useful to have this as a beginners
document - or if the existence of this document would lead
to more confusion than relief.

   http://orgmode.org/orgguide.pdf

I don't see this a an alternative for the manual - just
as an additional, rather static document, with little need for
updates.  The manual would continue to be the comprehensive
and constantly updated document.

Comments are welcome.


Hi Carsten,

I think this would be a good thing to have.

It would be good to have active HTML links to the relevant main
manual
sections in PDF and HTML versions. (even if this is not  
encouraged by

texinfo format).

I'm tempted to suggest going even a little further than you have
done.
If you were to make it shorter, I would suggest removing the
following
sections, and to replace removed sections with very short non-
technical
advertisements for features that are covered in the main manual.

- 2.8 Drawers
- 3.2 Column width and alignment
- 3.3 The Spreadsheet (4 rather technical pages)
- 7.4 Property Inheritance and 7.5 Column View
(do beginners really need properties at all ??)

Dan



I think it's a great idea.  The R project has something called An
Introduction to R for beginners, separate from the complete  
manual.

I think that as a beginner, and wondering how to break into
learning a
new package, that reading the manual has certain negative
psychological connotations that reading the intro document does
not,
not the least of which is the length of full manual.

And since knowing just the basics of org can be immensely
beneficial,
I think it's even more reason to have a basic intro document.

--Erik


___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org

Re: [Orgmode] A shorter manual

2010-04-29 Thread Dan Davison
Carsten Dominik carsten.domi...@gmail.com writes:

 On Apr 29, 2010, at 7:23 PM, Dan Davison wrote:

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

 On Apr 28, 2010, at 8:43 PM, Matti De Craene wrote:

 - 2.8 Drawers
 - 3.2 Column width and alignment
 - 3.3 The Spreadsheet (4 rather technical pages)
 - 7.4 Property Inheritance and 7.5 Column View
 (do beginners really need properties at all ??)


 I would agree on this list (except maybe drawers).

 If there is room for additional sections maybe:
 - include the org ref card as an appendix (which in itself offers a
 very good overview of org)
 - include some pointers into getting emacs for different OSes and
 getting started with emacs. If there would be an O´Reilly book on
 Org-mode this would be in the first chapter or so. For people who
 started using emacs because of org (like me) the current
 Introduction
 might still be too cryptic (?)

 Hi Dan, Matti,

 I think I agree, just cannot easliy let go of the spreadsheet
 as a core feature - you caught me there :-), and you are right, also

 I would be very glad to hand over the control over this document
 to either of you or to another volunteer.

 Hi Carsten,

 I'm afraid I don't want to take responsibility for this (a predictable
 position).

 Sure, I understand.

 Apart from anything else there are several areas of Org
 that I don't know enough about. If there isn't a volunteer, perhaps we
 could place this document on Worg, and someone could periodically
 review
 the changes and judge whether they should be applied to the master
 copy
 on the Org website? We could request on this list volunteers for
 someone
 to make specific entries (e.g. adding a Further reading section
 for a
 specific chapter).

 Hmmm, I am not sure how efficient this would be.

 I have it now down to 40 pages, with live links to the manual and to
 tutorials at the end of each chapter...

 http://orgmode.org/orgguide.pdf

That looks great. Having the links to Worg and other tutorials is really
nice.

I noticed a couple of typos in the live links:

- p.29  in John Wiegely's name
- p.36 persentation

and to split hairs
- p.33 from the manual - of the manual for consistency

Dan





 I guess I am done here - a volunteer con still take this up...




 - Carsten


 Dan


 Maybe then we could
 make something really nice out of this experiment - I will not
 be able to spend much more time on it

 - Carsten



 --

 Matti




 On Wed, Apr 28, 2010 at 7:05 PM, Dan Davison
 davi...@stats.ox.ac.uk wrote:
 Erik Iverson er...@ccbr.umn.edu writes:

 Carsten Dominik wrote:
 Dear all,

 with the Org-mode manual moving toward 200 pages,  I am
 starting to worry that people with stop in their tracks
 when considering Org-mode, just because of the sheer size
 of the manual.

 So I did a little experiment.  I took the manual and stripped
 everything which could be considered advanced material, but
 keeping all features and all basic commands and customizations.

 What remains are about 50 pages.  A document with the same
 structure (even the same chapter numbers) as the manual.
 I am wondering if it would be useful to have this as a beginners
 document - or if the existence of this document would lead
 to more confusion than relief.

http://orgmode.org/orgguide.pdf

 I don't see this a an alternative for the manual - just
 as an additional, rather static document, with little need for
 updates.  The manual would continue to be the comprehensive
 and constantly updated document.

 Comments are welcome.

 Hi Carsten,

 I think this would be a good thing to have.

 It would be good to have active HTML links to the relevant main
 manual
 sections in PDF and HTML versions. (even if this is not
 encouraged by
 texinfo format).

 I'm tempted to suggest going even a little further than you have
 done.
 If you were to make it shorter, I would suggest removing the
 following
 sections, and to replace removed sections with very short non-
 technical
 advertisements for features that are covered in the main manual.

 - 2.8 Drawers
 - 3.2 Column width and alignment
 - 3.3 The Spreadsheet (4 rather technical pages)
 - 7.4 Property Inheritance and 7.5 Column View
 (do beginners really need properties at all ??)

 Dan


 I think it's a great idea.  The R project has something called An
 Introduction to R for beginners, separate from the complete
 manual.
 I think that as a beginner, and wondering how to break into
 learning a
 new package, that reading the manual has certain negative
 psychological connotations that reading the intro document does
 not,
 not the least of which is the length of full manual.

 And since knowing just the basics of org can be immensely
 beneficial,
 I think it's even more reason to have a basic intro document.

 --Erik


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

Re: [Orgmode] org-html link building diff

2010-04-29 Thread Tom Breton (Tehom)
 Hi Tom,

 On Apr 28, 2010, at 5:01 AM, Tom Breton (Tehom) wrote:


 The changes are essentially made and pass my tests now, there's mostly
housekeeping now: pull, merge, push.

 Yes.  Send me your name on repo.or.cz and I'll add push for you.
Please create your own branch and stay on it.

 It is Tehom.

 I have added you.

Oops, when I went to push, I realized that I had capitalized that but it's
apparently not capitalized on repo.or.cz.  It's tehom.

My branch is called tehom-master and the branch that treats link export
based on it is called html-export-refactor-build-link

Tom Breton (Tehom)






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


[Orgmode] Re: Vim folding/syntax highlighting?

2010-04-29 Thread Štěpán Němec
Michael Brand michael.br...@alumni.ethz.ch writes:

 Hi Nathan

 Does it matter for you if the modal (i/ESC etc.) editor with the vi key
 bindings that you like to use is run by Vim or Emacs? If not, then you can use
 Emacs with viper-mode as a minor mode for the emulation of the vi key bindings
 together with org-mode as the major mode. This is how I use Emacs and it feels
 just like a Vim that would have the full implementation of the org-mode and
 more.

 See also here:
 http://www.gnu.org/software/emacs/manual/html_node/viper/index.html
 http://thread.gmane.org/gmane.emacs.orgmode/17508

...and (if you really want Vim, not Vi) here:

http://www.emacswiki.org/emacs/?action=browse;id=Vimpulse


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


Re: [Orgmode] A shorter manual

2010-04-29 Thread Samuel Wales
Is there an HTML version?

-- 
Q: How many CDC scientists does it take to change a lightbulb?
A: You only think it's dark. [CDC has denied a deadly disease for 25 years]
==
Retrovirus: http://www.wpinstitute.org/xmrv/index.html


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


Re: [Orgmode] A shorter manual

2010-04-29 Thread Samuel Wales
On 2010-04-28, Sebastian Rose sebastian_r...@gmx.de wrote:
 I'd prefer to keep the full manual as texinfo file. It's so easy to
 search in info files for what ever you're looking for.

It would be easy in org, too.  But you'd have to have org export to
texinfo or info, which is probably difficult.

-- 
Q: How many CDC scientists does it take to change a lightbulb?
A: You only think it's dark. [CDC has denied a deadly disease for 25 years]
==
Retrovirus: http://www.wpinstitute.org/xmrv/index.html


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


[Orgmode] Re: Problem with sectioning function for LaTeX export

2010-04-29 Thread Sebastian Hofer

Oh, nevermind. I figured it out,
(cons Heading (cons \section[year]{%s} \section*[year]{%s}))
solves the problem. I guess I really need to learn more about the 
different types of sequences in lisp. Sorry for that.


Cheers, Sebastian

On 29.04.10 14:10 Uhr, Sebastian Hofer wrote:

Hi Carsten,
thanks for your reply!

At Tue, 27 Apr 2010 17:44:07 +0200,
Carsten Dominik wrote:

I think it must be

(Heading \section[year]{%s} \section*[year]{%s})

Note the %s for the heading, and also it i just one flat list of 3
items.

And yes, this is not too well documented.


I tried that actually but to no avail. I tracked down the problem to the 
following code in org-latex.el

(if (consp (cdr sec))
 (setq start (nth (if num 0 2) sec)
  end (nth (if num 1 3) sec))
   (setq start (if num (car sec) (cdr sec

For a flat list as you suggested sec is (\section[year]{%s} 
\section*[year]{%s}). The thing is that then (consp (cdr sec)) evaluates to true, which 
I think is not the supposed behaviour. Replacing (cdr sec) by (cadr sec) would fix this. Is this a 
bug or just me being too stupid?

On another subject: Wouldn't it be nice if the properties of the current 
headline would be accessible by the sectioning function? I think that would 
proof very powerful to create customized export classes (together with 
customized latex commands). And I guess it would be quite easy to implement, 
right?

Anyway, thanks for your help (and of course for your great work on org-mode, I 
really love it!)
Sebastian



___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-29 Thread Samuel Wales
Hi Dan,

On 2010-04-27, Dan Davison davi...@stats.ox.ac.uk wrote:
 Another way to look at it is that this is an annotation mechanism.  It
 can be used for any type of file or buffer.  This would include text,
 websites (i.e. pointing to and annotating documents on the web),
 dired, source code, org files, html source, etc.

 Modifying existing link syntax will be difficult, especially because
 there might be additional features we need a year or two from now.
 For maximum flexibility and simplicity, this might be a good first use
 of extensible syntax.

 Hi Samuel,

 I'm not quite clear what you're referring to when you say this in the
 above sentences. Also, when you say extensible syntax, are you
 referring to the existing link syntax, or to a proposed extension?

this means the idea in this thread.

Extensible syntax is a specific, documented proposal.  I posted some
of the idea to this list a long time ago, as Carsten pointed out.

One application of extensible syntax is this.  :)

You can use extensible syntax for any feature you want.  this is
links with special subfeatures that would be difficult to program into
ordinary link syntax.

Samuel


 Thanks,

 Dan


 Samuel



-- 
Q: How many CDC scientists does it take to change a lightbulb?
A: You only think it's dark. [CDC has denied a deadly disease for 25 years]
==
Retrovirus: http://www.wpinstitute.org/xmrv/index.html


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


Re: [Orgmode] Specify page number in hyperlink [to pdf]

2010-04-29 Thread Joe Riel

Jan Böcker wrote:

On 28.04.2010 20:30, Joe Riel wrote:
  

The hyperlink syntax allows specifying a line number, however,
that doesn't do anything (other than force the document to
be opened inside of emacs) with a non-text file (say a pdf).

Is therea an extension to allow specifying a page number
so that a link to a pdf is opened at the specified page?



There is in the current git version, its not yet documented though.


Add an entry to the variable org-file-apps like this:
(\\.pdf::\\([0-9]+\\)\\' . evince \%s\ -p %1)

Or as seen in the customize interface:
Extension: \.pdf::\([0-9]+\)\'
Command:   evince %s -p %1

The subexpression \([0-9]+\) in the regex captures the page number,
which replaces the %1 in the command string. (This example assumes you
want to open your PDFs with evince, which accepts a page number after
the -p option.)

You can then reference a specific page of a PDF like this:
[[file:/path/to/document.pdf::42]]


  

Thanks.  Just cloned the git and built.  This feature
does precisely what I want.



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


Re: [Orgmode] Specify page number in hyperlink [to pdf]

2010-04-29 Thread Joe Riel

Jan Böcker wrote:

On 28.04.2010 20:30, Joe Riel wrote:
  

The hyperlink syntax allows specifying a line number, however,
that doesn't do anything (other than force the document to
be opened inside of emacs) with a non-text file (say a pdf).

Is therea an extension to allow specifying a page number
so that a link to a pdf is opened at the specified page?



There is in the current git version, its not yet documented though.


Add an entry to the variable org-file-apps like this:
(\\.pdf::\\([0-9]+\\)\\' . evince \%s\ -p %1)

Or as seen in the customize interface:
Extension: \.pdf::\([0-9]+\)\'
Command:   evince %s -p %1

The subexpression \([0-9]+\) in the regex captures the page number,
which replaces the %1 in the command string. (This example assumes you
want to open your PDFs with evince, which accepts a page number after
the -p option.)

You can then reference a specific page of a PDF like this:
[[file:/path/to/document.pdf::42]]

I had planned to document this yesterday, but unfortunately spent the
better part of the day recovering from a cold. I will send a patch
describing how this works, when exactly the new behaviour kicks in and
the implications for backwards compatibility as soon as I find time to
describe it compactly enough to fit into the docstring.

HTH, Jan
  

A related question; can this extension be used with link abbreviations?

I tried

#+LINK: sample file:/home/joe/sample.pdf

with

[[sample::3]]

but that does not work.


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