[Orgmode] org-indent-mode, yet showing stars ?

2010-03-22 Thread Eliseo Papa

Hi All,

is it possible to have every setting of org-indent-mode apply,  
*except* for the hiding of stars?
Sometimes I am in the middle of a document and can't determine which  
hierarchical level I am at. I like to keep the number of stars as an  
helpful visual cue.


Any help is appreciated.
Thanks,
eli


___
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 there a way to fill org-mode's table cell with the values nearby?

2010-03-22 Thread Carsten Dominik


On Mar 21, 2010, at 12:22 PM, filebat Mark wrote:


Hi All

I am wondering whether we have a handy way to fill table's cell with  
the values nearby.

Like in office excel:
- C-d: Fill current cell with the value of the upper cell
- C-r: Fill current cell with the value of the left cell.


No we do not, but this would be easily programmed.

The keys you propose are not possible though.

- 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: [PATCH] Allow regexps in org-file-apps to capture link parameters using groups

2010-03-22 Thread Carsten Dominik

Hi Jan,

I have now applied this patch.

Hi everyone,

I am not sure if I completely understood every part of it,  so if
anyone finds strange behavior of links, make sure to report it so
that we (Jan, that is :-) gets a chance to fix it.

Thanks!

- Carsten

On Mar 21, 2010, at 3:43 PM, Jan Böcker wrote:


On 20.03.2010 16:07, Carsten Dominik wrote:

Hi Jan,

I forgot what the last status of this thread was.  Could you please
remind me?

Thanks.

- Carsten



Hi Carsten,

The patch is ready to be applied. I have been using it since January  
16

without any problems.
As mentioned in the description, it does introduce a
backwards-incompatible change, but I know of no existing code which
depends on the old behavior.

However, I noticed an error in the docstrings and commit message: in
several places where it says (string-match n link), it should say
(match-string n link).
I have attached a fixed version, which is also available via:
git pull http://github.com/jboecker/org-mode.git for-carsten

The motivation for this patch went something like this:
- I wanted to link to PDFs, so I wrote org-docview.el
- Someone pointed out that docview links did not respect
org-link-file-path-type, which I fixed
- Daniel M. German started integrating evince and xournal with
org-protocol and asked if there was a link syntax to link to a  
specific

page of a PDF (there were docview: links, but these are hard-coded to
open within emacs)
- I realized that docview: links are/should be a special case of file:
links, so I wrote this patch


On Jan 27, 2010, at 10:29 AM, Jan Böcker wrote:


Btw, since posting the patch I stumbled upon another disadvantage:
'extended' link types defined this way will only support  
autocompletion
for the file name, i.e. you will not be prompted for a page number  
when
entering a link using C-c C-l file RET, then specifying the path  
to

some PDF file.


I do no longer count this as a reason against this patch, because  
normal
file: links do not prompt you for a line number, either, and you  
should

not be typing in links by hand anyway most of the time.

A better way to extend file links might be to make it easy to  
create new
links with file behaviour, instead of applying this patch (so a  
pdf

link would look like file+pdf:/document.pdf::4, and because the link
type starts with file+, it will e.g. respect org-link-file-path- 
type

automatically).
What do you think?


Because I no longer care about prompting for a page number, I no  
longer

care about this crazy idea of mine, too. Please go ahead and apply the
patch in its current state.

Unfortunately, I won't have much time for programming for about a  
month

due to exams.


This has also changed, I passed all three :)
Now that I again have time to code and Daniel M German's patches to
xournal and evince are functional, my next steps will be the two  
things

mentioned under What's next? in the initial patch description.

If you have any further questions, just ask!
- Jan


PS:
On 27.01.2010 11:53, Carsten Dominik wrote:

It is in my list, and I will get to it
When the author of org-mode says it's on his list, you know he will  
come

back to it and you don't have to add it to yours :)
0001-Allow-regexps-in-org-file-apps-to-capture-link-param.patch


- 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] Is there a way to fill org-mode's table cell with the values nearby?

2010-03-22 Thread filebat Mark
Many thanks, Chris and Carsten!

I got your points. It show me a way which solves my problem gracefully.

Regards,
Denny

On 3/22/10, Carsten Dominik carsten.domi...@gmail.com wrote:


 On Mar 21, 2010, at 12:22 PM, filebat Mark wrote:

  Hi All

 I am wondering whether we have a handy way to fill table's cell with the
 values nearby.
 Like in office excel:
 - C-d: Fill current cell with the value of the upper cell
 - C-r: Fill current cell with the value of the left cell.


 No we do not, but this would be easily programmed.

 The keys you propose are not possible though.

 - Carsten




-- 
Thanks  Regards

Denny Zhang
___
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] Problem using bracket with the LaTeX backend

2010-03-22 Thread Carsten Dominik

Hi Günter,

nice catch, but I actually like the old way better!  It is a
good way to specify the bullet if you like.  Org-mode does
intentionally remove that white space.

Now, I agree that this is inconsistent with the other backends, but
I do still like this possibility.

Why do you need [A] there?  Maybe

1. =[A]= foo bar...

would even be better, depending on what the [A] is supposed to mean?

HTH

- Carsten

On Mar 21, 2010, at 3:46 PM, Günter Kolousek wrote:



I think there is a problem using brackets at the beginning
of plain list items with the LaTeX backend:

  1. [A] foo bar...

The generated LaTeX code looks like:

 \item[A] foo bar...

but rather this would be the expected output:

 \item{}[A] foo bar...

Here follows the patch:

*** org-list.el 2010-03-21 15:33:49.0 +0100
--- org-list.el.old 2010-03-21 15:26:38.0 +0100
***
*** 1336,1342 
   :dstart \\begin{description} :dend \\end{description}
   :dtstart [ :dtend ]
   :ddstart  :ddend 
!  :istart \\item{}  :iend 
   :isep \n :lsep \n
   :cbon \\texttt{[X]} :cboff \\texttt{[ ]})
 params)))
--- 1336,1342 
   :dstart \\begin{description} :dend \\end{description}
   :dtstart [ :dtend ]
   :ddstart  :ddend 
!  :istart \\item  :iend 
   :isep \n :lsep \n
   :cbon \\texttt{[X]} :cboff \\texttt{[ ]})
 params)))

Cheers and thanks a lot for the wonderful org-mode!
Günter


___
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] org-indent-mode, yet showing stars ?

2010-03-22 Thread Carsten Dominik


On Mar 21, 2010, at 11:48 PM, Eliseo Papa wrote:


Hi All,

is it possible to have every setting of org-indent-mode apply,  
*except* for the hiding of stars?
Sometimes I am in the middle of a document and can't determine which  
hierarchical level I am at. I like to keep the number of stars as an  
helpful visual cue.


(setq org-indent-mode-turns-on-hiding-stars nil)

HTH

- 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] ordered list items start with letters?

2010-03-22 Thread Xiao-Yong Jin
On Mon, 22 Mar 2010 08:08:36 +0100, David Maus wrote:

 Xiao-Yong Jin wrote:
 Hi, is it possible to use a single letter to start an
 ordered list item?  Such as

 a) first
 b) second?

 No, not yet.  Although sometimes I would like have single letter
 lists.

 The question would be:  What to do when we reach z)?

Simply print out a message saying we have reached maximum
number of items possible?  I guess usually we don't need to
count to 'z' for such kind of lists.
-- 
Jc/*__o/*
X\ * (__
Y*/\  


___
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] question about org-batch-agend-csv

2010-03-22 Thread Emin.shopper Martinian.shopper
Dear Experts,

I have a question about org-batch-agenda-csv. I would like to be able
to export my org-agenda to Microsoft outlook. Attempts to do this via
ical files failed because outlook can't seem to read those properly. I
tried using the export for ical discussed at
http://www.mail-archive.com/emacs-orgmode@gnu.org/msg00039.html and
also tried putting in a line which just said METHOD: as suggested in
that thread but this didn't work.

Further research suggested that outlook can read a simple csv file
format to import. This led me to think that the org-batch-agenda-csv
command could be easily used to produce the csv needed for outlook to
import. Unfortunately, this doesn't work because when I do something
like

   emacs -batch -eval (org-batch-agenda-csv \a\)

on cygwin I get results like

journal,quick morning
stuff,scheduled,,plan:daily,2010-3-22,700,Scheduled:,,1099,2010-3-22

where the start time (700) is shown but the end time is not.

My questions are:

  1. Is there a way to get the start/end times to show up better?
  2. Is there a better way to export to outlook?

Thanks,
-Emin


___
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] question on missing scheduled entries in agenda

2010-03-22 Thread Emin.shopper Martinian.shopper
Dear Experts,

I have noticed that if I have a nested entry in an org-mode file, it
does not get picked up properly in my agenda.

For example, if I have something like the stuff shown below in an
org-mode file and I create an agenda or export it, I sometimes get an
entry for the top level item which includes the bottom level item. For
example, if I do C-c C-e c and export this to an icalendar agenda
then I get an entry for PLAN even though it is not schedule but I get
no entry for quick morning stuff even though it is scheduled. Any
thoughts on what I can do so that such scheduled items are handled
properly?

Thanks,
-Emin

example org-mode contents illustrating problem are shown below

* PLAN 2010-03-22 Mon  :PLAN:DAILY:

** quick morning stuff
SCHEDULED: 2010-03-22 Mon 07:00-07:40


___
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] Exporting non utf8 org documents

2010-03-22 Thread Francesco Pizzolante
Hi Carsten,

I'm sorry for my very very late reply on this topic, but I'm just observing
problem with this.

 you can remove the code I sent you again, and instead grab the latest git
 release.

 Then you can also do

 (setq org-export-latex-inputenc-alist '((utf8 . utf8x)))

 to get utf8x instead of utf8.

I still get the utf8 encoding even if, as you said, I set this:

--8---cut here---start-8---
(setq org-export-latex-inputenc-alist '((utf8 . utf8x)))
--8---cut here---end---8---


So, we get the following code:

--8---cut here---start-8---
(defun org-export-latex-fix-inputenc ()
  Set the codingsystem in inputenc to what the buffer is.
  (let* ((cs buffer-file-coding-system)
 (opt (or (ignore-errors (latexenc-coding-system-to-inputenc cs))
  utf8)))
(when opt
  ;; Translate if that is requested
  (setq opt (or (cdr (assoc opt org-export-latex-inputenc-alist)) opt))
  ;; find the \usepackage statement and replace the option
  (goto-char (point-min))
  (while (re-search-forward usepackage\\[\\(AUTO\\)\\]{inputenc}
nil t)
(goto-char (match-beginning 1))
(delete-region (match-beginning 1) (match-end 1))
(insert opt))
  (and buffer-file-name
   (save-buffer)
--8---cut here---end---8---

If I print the opt variable (message opt), I can see that its value is
correctly set to utf8x.

But, the re-search-forward command always fails. In effect, if I change the
last argument from t to nil, I get the following error:

--8---cut here---start-8---
while: Search failed: usepackage\\[\\(AUTO\\)\\]{inputenc}
--8---cut here---end---8---

I'm using an almost empty Org buffer with no option at all, so it generates a
simple article document class.

I would like to give you more input, but I don't know how to better debug
this. If you have any idea, please let me know.

Thanks a lot,
Francesco


___
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] (org-entry-properties nil 'all) doesn't return inherited properties

2010-03-22 Thread Holger Macht
Hi,

(org-entry-properties nil 'all) does not return properties specified in
the file (inherited properties) via a directive such as

#+PROPERTY: stylesheet /stylesheets/stylesheet.org

Is this by intention? If so, is there a easy method to return a list of
all properties, also inherited ones?

Thanks,
 Holger


___
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] (org-entry-properties nil 'all) does not return inherited properties

2010-03-22 Thread Holger Macht
Hi,

(org-entry-properties nil 'all) does not return inherited properties
added with a file directive like that:

#+PROPERTY: propkey propval

Is this by intention? If so, is there a method to get all the properties
of an item, also inherited ones?

Currently I was just able to find (org-entry-get), but this only returns
one specific property of which I need to know the name.

Thanks,
 Holger


___
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-mode on iPhone or Android: recommendations?

2010-03-22 Thread Matthew Jones
Hi Martin, I'm working on the Android port of MobileOrg.  Currently it is in
an early alpha stage and has very limited features.  The goal is to reach
feature parity with the iPhone and then to extend it and add niceties like a
Widget that would let you view your agenda.  Another poster mentioned using
the N900 which is a great option if you want a full blown emacs and org-mode
at your fingertips.

The goal of MobileOrg (at least from my perspective) is not to implement
100% of Org's features (since I'm not interested in porting emacs itself),
but rather to make MobileOrg a good compliment to Org on your workstation.

There's a certain core set of features that will be implemented and then
based on community feedback, that can be extended.  Right now it is fairly
useful for staying synchronized on your mobile device but without the
ability to change task states or push new notes back to the server... that's
what I am currently working on.

If you have any questions please feel free to email me, or if you want to
get involved or check out the code, or run it through an emulator to get a
feel for it then you can grab the source from github at:
http://github.com/matburt/mobileorg-android

73,
Matthew W. Jones (KI4ZIB)
http://matburt.net


On Fri, Mar 19, 2010 at 2:00 PM, Martin Stemplinger mstemplin...@gmx.dewrote:

 Hi all,

 I currently think if I should buy a new smartphone but of course I need
 support for org-mode ☺. Now
 there is mobileorg  for the iPhone and a port to Android.

 I tend to prefer an Android phone but would like to be able to access
 org-mode. May I ask for advice or feedback from people
 who tested the port?

 Thanks in advance
 Martin



 ___
 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: using orgmode to send html mail?

2010-03-22 Thread Matt Price
On Sun, Mar 21, 2010 at 10:34 PM, Matt Price mopto...@gmail.com wrote:
 Hi,

 I just wondered whether anyone composes mail in orgmode  then
 generates html from the source code.  I'd like to be able to do that
 sometimes in wanderlust, e.g. when I'm responding to html mail with
 links in it.

found the following in the middle of a thread from the emacs-vm newsgroup:

http://groups.google.com/group/gnu.emacs.vm.info/attach/2cf9c04b3607df35/org-html-mail.el?part=2

see also
http://www.mail-archive.com/emacs-orgmode@gnu.org/msg05045.html

does anyone on the list still use this code?  I'm not finding that it
works for me, either with wancerlust or just straight M-x mail, and
since all these functionalities are fairly ocmplex I[m not really sure
where to begin to look for answers.  Thanks so much in advance, 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


Re: [Orgmode] ordered list items start with letters?

2010-03-22 Thread Thomas S. Dye


On Mar 22, 2010, at 3:23 AM, Xiao-Yong Jin wrote:


On Mon, 22 Mar 2010 08:08:36 +0100, David Maus wrote:


Xiao-Yong Jin wrote:

Hi, is it possible to use a single letter to start an
ordered list item?  Such as



a) first
b) second?



No, not yet.  Although sometimes I would like have single letter
lists.



The question would be:  What to do when we reach z)?


Simply print out a message saying we have reached maximum
number of items possible?  I guess usually we don't need to
count to 'z' for such kind of lists.
--
Jc/*__o/*
X\ * (__
Y*/\  




Aloha all,

Here is an error message raised with a 27 item list in LaTeX:

ERROR: LaTeX Error: Counter too large.

--- TeX said ---

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...

l.31 \item ?

--- HELP ---
1. Some object that is numbered with letters, probably an item in a
enumerated list, has received a number greater than 26. Either you're
making a very long list or you've been resetting counter values.

2. Footnotes are being ``numbered'' with letters or footnote symbols
and LaTeX has run out of letters or symbols. This is probably caused
by too many \thanks commands.

All the best,
Tom


___
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: (org-entry-properties nil 'all) does not return inherited properties

2010-03-22 Thread Emilio Jesús Gallego Arias
Holger Macht hol...@homac.de writes:

 (org-entry-properties nil 'all) does not return inherited properties
 added with a file directive like that:

 #+PROPERTY: propkey propval

 Is this by intention? If so, is there a method to get all the properties
 of an item, also inherited ones?

 Currently I was just able to find (org-entry-get), but this only returns
 one specific property of which I need to know the name.

See:

,[ C-h v org-use-property-inheritance RET ]
| org-use-property-inheritance is a variable defined in `org.el'.
| Its value is nil
| 
| Documentation:
| Non-nil means properties apply also for sublevels.
| 
| This setting is chiefly used during property searches. Turning it on can
| cause significant overhead when doing a search, which is why it is not
| on by default.
| 
| When nil, only the properties directly given in the current entry count.
| When t, every property is inherited.  The value may also be a list of
| properties that should have inheritance, or a regular expression matching
| properties that should be inherited.
| 
| However, note that some special properties use inheritance under special
| circumstances (not in searches).  Examples are CATEGORY, ARCHIVE, COLUMNS,
| and the properties ending in _ALL when they are used as descriptor
| for valid values of a property.
| 
| Note for programmers:
| When querying an entry with `org-entry-get',  you can control if inheritance
| should be used.  By default, `org-entry-get' looks only at the local
| properties.  You can request inheritance by setting the inherit argument
| to t (to force inheritance) or to `selective' (to respect the setting
| in this variable).
| 
| You can customize this variable.
| 
| [back]
`

Regards,
Emilio



___
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: (org-entry-properties nil 'all) does not return inherited properties

2010-03-22 Thread Holger Macht
On Mo 22. Mär - 18:44:38, Emilio Jesús Gallego Arias wrote:
 Holger Macht hol...@homac.de writes:
 
  (org-entry-properties nil 'all) does not return inherited properties
  added with a file directive like that:
 
  #+PROPERTY: propkey propval
 
  Is this by intention? If so, is there a method to get all the properties
  of an item, also inherited ones?
 
  Currently I was just able to find (org-entry-get), but this only returns
  one specific property of which I need to know the name.
 
 See:
 
 ,[ C-h v org-use-property-inheritance RET ]

Have you tried? At least this doesn't have an effect on
(org-entry-properties in current git head.

Regards,
 Holger


P.S. Sorry for the double post.

 | org-use-property-inheritance is a variable defined in `org.el'.
 | Its value is nil
 | 
 | Documentation:
 | Non-nil means properties apply also for sublevels.
 | 
 | This setting is chiefly used during property searches. Turning it on can
 | cause significant overhead when doing a search, which is why it is not
 | on by default.
 | 
 | When nil, only the properties directly given in the current entry count.
 | When t, every property is inherited.  The value may also be a list of
 | properties that should have inheritance, or a regular expression matching
 | properties that should be inherited.
 | 
 | However, note that some special properties use inheritance under special
 | circumstances (not in searches).  Examples are CATEGORY, ARCHIVE, COLUMNS,
 | and the properties ending in _ALL when they are used as descriptor
 | for valid values of a property.
 | 
 | Note for programmers:
 | When querying an entry with `org-entry-get',  you can control if inheritance
 | should be used.  By default, `org-entry-get' looks only at the local
 | properties.  You can request inheritance by setting the inherit argument
 | to t (to force inheritance) or to `selective' (to respect the setting
 | in this variable).
 | 
 | You can customize this variable.
 | 
 | [back]
 `
 
 Regards,
 Emilio
 
 
 
 ___
 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] Basic orgmode tutorial

2010-03-22 Thread Alexander Poslavsky
Hello,

lately there is some talk about a basic org-mode tutorial. Something simpler 
then the documentation, that will help a person new to emacs and org-mode start 
using org. I would like to put the following on worg, if people would think 
something like this would fit the bill. What do you think? If the response is 
positive then I would add more chapters to it.

greetings,

alex



org4beginners.org
Description: Binary data
___
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: org-mode on iPhone or Android: recommendations?

2010-03-22 Thread tr
Eric S Fraga ucecesf at ucl.ac.uk writes:

 
 On Fri, 19 Mar 2010 19:00:04 +0100, Martin Stemplinger mstemplinger at
gmx.de wrote:
  
  Hi all,
  
  I currently think if I should buy a new smartphone but of course I need
support for org-mode ☺. Now 
  there is mobileorg  for the iPhone and a port to Android. 
  
  I tend to prefer an Android phone but would like to be able to access
org-mode. May I ask for advice or
 feedback from people
  who tested the port? 
  
  Thanks in advance
  Martin
 
 I can't help you with your direct query but I can suggest that there
 is another alternative to both the iPhone and Android systems: the
 nokia internet tablet systems which now include the N900 smartphone.
 I have the N810 and run Emacs 22 with org-mode on it very nicely.
 Although I don't have the N900, there are reports of it running Emacs

The n900 runs emacs and org-mode very well.  The keyboard has to be remapped but
it is easily done.  Someone's also figured out texting and calling from bbdb.  I
got the device specifically to run emacs and it's worked out much better than
I'd hoped.

tr



___
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] Basic orgmode tutorial

2010-03-22 Thread Adam
On Tuesday 23 March 2010 06:59 am, Alexander Poslavsky wrote:
 Hello,

 lately there is some talk about a basic org-mode tutorial. Something
 simpler then the documentation, that will help a person new to emacs and
 org-mode start using org. I would like to put the following on worg, if
 people would think something like this would fit the bill. What do you
 think? If the response is positive then I would add more chapters to it.

 greetings,

 alex

Timely, Alex.  The learning curve is a little steep for some of us 
org-mode newbies. Have been through the FAQ but its the basics, 
and interaction with diary, and calendar, and a few other things.   

I'll take a look and maybe get back with thoughts. Thanks.   



___
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: (org-entry-properties nil 'all) does not return inherited properties

2010-03-22 Thread Emilio Jesús Gallego Arias
Holger Macht hol...@homac.de writes:

 On Mo 22. Mär - 18:44:38, Emilio Jesús Gallego Arias wrote:
 Holger Macht hol...@homac.de writes:
 
  (org-entry-properties nil 'all) does not return inherited properties
  added with a file directive like that:
 
  #+PROPERTY: propkey propval
 
  Is this by intention? If so, is there a method to get all the properties
  of an item, also inherited ones?
 
  Currently I was just able to find (org-entry-get), but this only returns
  one specific property of which I need to know the name.
 
 See:
 
 ,[ C-h v org-use-property-inheritance RET ]

 Have you tried? At least this doesn't have an effect on
 (org-entry-properties in current git head.

Sorry Holger I misunderstood your question. I guess you should modify
org-entry-properties in order to include global properties like is done
in the inheritance case.

It could be something like:

(when org-use-property-inheritance
  (setq props (append org-file-properties props)
props (append org-global-properties props)
props (append org-global-properties-fixed props)))

I don't know what may this change break.

Regards,
Emilio



___
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] using orgmode to send html mail?

2010-03-22 Thread David Maus
Matt Price wrote:
Hi,

I just wondered whether anyone composes mail in orgmode  then
generates html from the source code.  I'd like to be able to do that
sometimes in wanderlust, e.g. when I'm responding to html mail with
links in it.

Just pushed to hacks to Worg on how to send html messages in
Wanderlust using Org's html exporter and how to attach html markup of
a region or subtree in Wanderlust.  Latter is a follow-up on

http://lists.gnu.org/archive/html/emacs-orgmode/2009-11/msg00746.html

Until Worg picks it up:

1 Send html messages and attachments with Wanderlust
~
  -- David Maus

These two hacks below add the capability of using Org to send out html
via email.  Both focus on Wanderlust but could be easily adopted for
Gnus, I think.

1.1 Send HTML message
==

Putting the code below in your .emacs adds following four functions:

   - dmj/wl-send-html-message

 Function that does the job: Convert everything between --text
 follows this line-- and first mime entity (read: attachment) or
 end of buffer into HTML markup using `org-export-region-as-html'
 and replaces original body with a mime entity of text/html,
 content-disposition: inline.  Line breaks of the signature are
 preserved.

 Cannot be called interactively: It is hooked into SEMI's
 `mime-edit-translate-hook' if message should be HTML message.

   - dmj/wl-send-html-message-draft-init

 Cannot be called interactively: It is hooked into WL's
 `wl-mail-setup-hook' and `wl-draft-reedit-hook' and provides a
 buffer local variable to toggle.

   - dmj/wl-send-html-message-draft-maybe

 Cannot be called interactively: It is hooked into WL's
 `wl-draft-send-hook' and hooks `dmj/wl-send-html-message' into
 `mime-edit-translate-hook' depending on whether HTML message is
 toggled on or off

   - dmj/wl-send-html-message-toggle

 Toggles sending of HTML message.  If toggled on, the letters
 HTML appear in the mode line.

 Call it interactively!  Or bind it to a key in `wl-draft-mode'.

If you have to send HTML messages regularly you can set a global
variable `dmj/wl-send-html-message-toggled-p' to the string HTML to
toggle on sending HTML message by default.

The image [here] shows an example of how the HTML message looks like in
Google's web front end.  As you can see you have the whole markup of
Org at your service: *bold*, /italics/, tables, lists...

So even if you feel uncomfortable with sending HTML messages at least
you send HTML that looks quite good.


  (defun dmj/wl-send-html-message ()
Send message as html message.
Convert body of message to html using
`org-export-region-as-html'.
(require 'org)
(save-excursion
  (let (beg end html text)
(goto-char (point-min))
(re-search-forward ^--text follows this line--$)
;; move to beginning of next line
(beginning-of-line 2)
(setq beg (point))
(if (not (re-search-forward ^--\\[\\[ nil t))
(setq end (point-max))
  ;; line up
  (end-of-line 0)
  (setq end (point)))
;; grab body
(setq text (buffer-substring-no-properties beg end))
;; convert to html
(with-temp-buffer
  (org-mode)
  (insert text)
  ;; handle signature
  (when (re-search-backward ^-- \n nil t)
;; preserve link breaks in signature
(insert \n#+BEGIN_VERSE\n)
(goto-char (point-max))
(insert \n#+END_VERSE\n)
;; grab html
(setq html (org-export-region-as-html
(point-min) (point-max) t 'string
(delete-region beg end)
(insert
 (concat
  --[text/html\nContent-Disposition: inline]\n
  html)

  (defun dmj/wl-send-html-message-toggle ()
Toggle sending of html message.
(interactive)
(setq dmj/wl-send-html-message-toggled-p
  (if dmj/wl-send-html-message-toggled-p
  nil HTML))
(message Sending html message toggled %s
 (if dmj/wl-send-html-message-toggled-p
 on off)))

(defun dmj/wl-send-html-message-draft-init ()
  Create buffer local settings for maybe sending html message.
  (unless (boundp 'dmj/wl-send-html-message-toggled-p)
(setq dmj/wl-send-html-message-toggled-p nil))
  (make-variable-buffer-local 'dmj/wl-send-html-message-toggled-p)
  (add-to-list 'global-mode-string
   '(:eval (if (eq major-mode 'wl-draft-mode)
   dmj/wl-send-html-message-toggled-p

(defun dmj/wl-send-html-message-maybe ()
  Maybe send this message as html message.

If buffer local variable `dmj/wl-send-html-message-toggled-p' is
non-nil, add `dmj/wl-send-html-message' to
`mime-edit-translate-hook'.
  (if dmj/wl-send-html-message-toggled-p
  (add-hook 

Re: [Orgmode] Publish atom feeds based on Org files

2010-03-22 Thread David Maus
Eric S Fraga wrote:
On Fri, 19 Mar 2010 23:00:23 +0100, David Maus dm...@ictsoc.de wrote:

 Carving another stone that might fit into the cathedral known as
 Emacs/Orgmode I am glad to present attached file org-atom.el that
 provides an exporting and a publishing function to create atom feeds
 based on Org files.

David,

many thanks for this.  I have been waiting for something like this for
a very long time now (but haven't had the time or knowledge to do it
myself unfortunately)!

I have played around with it and it works very well indeed.

  - use the w3c feed validator at http://validator.w3.org/feed/

The validation came through with flying colours as well.

Sweet.

The only thing missing in your documentation was how to make your
exported org (i.e. the html) file be recognised as an RSS feed by the
browsers.  I found that adding this to my org setup did the job:

--8---cut here---start-8---
#+STYLE: link rel=alternate type=application/rss+xml title=your page 
title here href=the URL to the atom file here /
--8---cut here---end---8---

Right, thanks, updated it on the homepage.  But of course the type
should be application/atom+xml ;)

 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpzlrC7Ibv40.pgp
Description: PGP signature
___
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] Publish atom feeds based on Org files

2010-03-22 Thread Eric S Fraga
On Mon, 22 Mar 2010 21:23:12 +0100, David Maus dm...@ictsoc.de wrote:
 
 Eric S Fraga wrote:
 The only thing missing in your documentation was how to make your
 exported org (i.e. the html) file be recognised as an RSS feed by the
 browsers.  I found that adding this to my org setup did the job:
 
 --8---cut here---start-8---
 #+STYLE: link rel=alternate type=application/rss+xml title=your page 
 title here href=the URL to the atom file here /
 --8---cut here---end---8---
 
 Right, thanks, updated it on the homepage.  But of course the type
 should be application/atom+xml ;)

And so it should!  I was too quick to cut and paste without actually
reading what I'd borrowed off the web... :(  Thanks!


___
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: Publish atom feeds based on Org files

2010-03-22 Thread Daniel Brunner
Hello David,

I have been waiting for that feature as well. A nice thing and for me it
seem to work very nicely. 

 I would definitely vote for org-atom.el to be included in the standard
 org distribution!

Me too! 

Thanks, 

Daniel. 


___
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] Basic orgmode tutorial

2010-03-22 Thread John Hendy
I'll also take a look and see what I think. Just been using org-mode and
learning for about a week. Thanks for your efforts on this! While some have
pointed out that org-mode may never be for a 'beginner', I still think
allowing others to have the best chance possible to evaluate it and at least
give it a shot is great.


John

On Mon, Mar 22, 2010 at 3:09 PM, Adam ah...@ihug.co.nz wrote:

 On Tuesday 23 March 2010 06:59 am, Alexander Poslavsky wrote:
  Hello,
 
  lately there is some talk about a basic org-mode tutorial. Something
  simpler then the documentation, that will help a person new to emacs and
  org-mode start using org. I would like to put the following on worg, if
  people would think something like this would fit the bill. What do you
  think? If the response is positive then I would add more chapters to it.
 
  greetings,
 
  alex

 Timely, Alex.  The learning curve is a little steep for some of us
 org-mode newbies. Have been through the FAQ but its the basics,
 and interaction with diary, and calendar, and a few other things.

 I'll take a look and maybe get back with thoughts. Thanks.



 ___
 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] org-babel-load-file can't use properties drawers ?

2010-03-22 Thread Eric Schulte
Hi Julien,

I just pushed up a small commit which will allow you to pull property
values from a headline by embedding a small amount of elisp into
your :var header argument.  In this way the `org-entry-get' function can
be used with our existing tangle-then-load elisp machinery.

Best -- Eric

,[from the commit message]
| babel: variable references which look like lisp forms are now evaluated
| 
|   for example, the following simple example
| #+begin_src emacs-lisp :var two=(+ 1 1)
|   (sqrt two)
| #+end_src
| 
| #+results:
| : 1.4142135623730951
| 
|   Or this more interesting usage, which pulls variable values from
|   headline properties
| *** example headline w/property
| :PROPERTIES:
| :special:  89
| :last-name: schulte
| :END:
| 
| #+begin_src emacs-lisp :var special=(string-to-number (org-entry-get 
nil special t))
|   (+ special 1)
| #+end_src
| 
| #+results:
| : 90
| 
| #+begin_src emacs-lisp :var last-name=(org-entry-get nil last-name 
t))
|   (message hello %s last-name)
| #+end_src
| 
| #+results:
| : hello schulte
`

Julien Fantin julien.fan...@gmail.com writes:

 I've been using this init file to load my org-mode-contained emacs 
 configuration  :

 ;;; init.el --- Where all the magic begins
 ;;
 ;; This file loads both
 ;; - Org-mode : http://orgmode.org/ and
 ;; - Org-babel: 
 http://orgmode.org/worg/org-contrib/babel/org-babel.php#library-of-babel
 ;;
 ;; It then loads the rest of our Emacs initialization from Emacs lisp
 ;; embedded in literate Org-mode files.
 ;; Load up Org Mode and Org Babel for elisp embedded in Org Mode files
 (setq dotfiles-dir (file-name-directory (or (buffer-file-name) 
 load-file-name)))

 (let* ((org-dir (expand-file-name
                  lisp (expand-file-name
                          org-mode (expand-file-name
                                 elisp dotfiles-dir
        (org-contrib-dir (expand-file-name
                          lisp (expand-file-name
                                  contrib (expand-file-name
                                             .. org-dir
        (load-path (append (list org-dir org-contrib-dir)
                           (or load-path nil
   ;; load up Org-mode and Org-babel
   (require 'org-install)
   (require 'org-babel-init)
   (require 'org-babel-emacs-lisp))
 ;; load up all literate org-mode files in this directory
 (mapc 'org-babel-load-file (directory-files dotfiles-dir t \\.org$))
 ;;; init.el ends here

 It's been working nicely until I tried to clean things up by setting some 
 commonly used variables  in properties drawers, and access them from 
 emacs-lisp src blocks.

 The following illustrates my intent, and will behave as expected with 
 org-babel-execute-buffer, but fails when it is loaded by org-babel-load-file :

 * Configuration
 :PROPERTIES:
 :ELISP-DIR:~/emacs.d/elisp/
 :END:

 ** Load Path
 #+begin_src emacs-lisp 
 (add-to-list 'load-path (org-entry-get nil ELISP-DIR t))
 #+end_src

 From my understanding, orb-babel-load-file tangles then loads the file, 
 losing the variables in the process.

 I've been using this function to get the expected behaviour, but the default 
 somewhat breaks expectations, don't you think ?
  (defun
         ba/org-babel-load-file (file) (with-temp-buffer (insert-file-contents
         file) (org-mode) (org-babel-execute-buffer)))

 Or, is there a cleaner way to achieve this ?

 Regards,
 julien

 ___
 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: [babel] problems with org-babel-src-block-regexp (full text)

2010-03-22 Thread Eric Schulte
Hi Maurizio,

Thanks for finding and demonstrating this bug.  It should now be fixed.

Best -- Eric

Maurizio Vitale
m...@cuma.i-did-not-set--mail-host-address--so-tickle-me writes:

 [sorry for the double posting, but the control char in the regexp
 prevented the full message from appearing. This is what I meant to send]

 There're problems with org-babel-src-block-regexp when the src block
 contains the block delimiters (for instance in strings or comments).

 Granted, this is an uncommon occurrence (which I discovered by accident)
 editing an org-file containing elisp code that needed to insert
 #+begin_src...#+end_src pairs, but if it is not too difficult to fix it
 would be nice to have a more useful behaviour.

 This is my setting (replaced 0x0 with ^@ to avoid posting problems):
 org-babel-src-block-regexp is a variable defined in `org-babel.el'.
 Its value is 
 ^[   ]*#\\+begin_src[]+\\(python\\|sh\\|emacs-lisp\\)[   
 ]*\\([^\:\n]*\[^\\n*]*\[^\:\n]*\\|[^\:\n]*\\)\\([^\n]*\\)\n\\([...@]+?\\)#\\+end_src

 And these are two test cases. I'm particularly puzzled by the first,
 because the regexp seems to be anchored to the begin of line and hence
 it shouldn't match the begin_src inside the string.
 For end_src, it should probably be anchored to the begin of line.

 #+begin_src emacs-lisp
 ;;; evaluating the following C-x C-e with the point at the end is ok
 (org-babel-where-is-src-block-head)
 (defun foo () (insert #+begin_src emacs-lisp))
 ;;; evaluating the following C-x C-e with the point at the end is not ok
 (org-babel-where-is-src-block-head)
 #+end_src

 #+begin_src emacs-lisp
 ;;; evaluating the following C-x C-e with the point at the end is ok
 (org-babel-where-is-src-block-head)
 (defun foo () (insert #+end_src emacs-lisp))
 ;;; evaluating the following C-x C-e with the point at the end is not ok
 (org-babel-where-is-src-block-head)
 #+end_src

 Best regards,

  Maurizio 





 ___
 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] bug exporting code blocks to html

2010-03-22 Thread Eric Schulte
Hi Martin,

This appears to be a bug in org-mode at large, rather than anything
specifically babel related.

notice that the following slight alteration of your new reference syntax
works as expected

#+begin_src xml -n -r -l ref:%s
test
  important/ ref:imp
/test
#+end_src

Line no. [[(imp)]] is important!

Best -- Eric

Martin G. Skjæveland mart...@ifi.uio.no writes:

 Hi,

 when I export

 ---start
 * test
 #+begin_src xml -n -r -l !--(ref:%s)--
 test
   important/ !--(ref:imp)--
 /test
 #+end_src

 Line no. [[(imp)]] is important!
 ---end

 to html I get (copying from my browser)

 ---start
 1 test

 1:  test
 2:important/ !--(ref:imp)--
 3:  /test

 Line no. nil is important!
 ---end

 I would like !--(ref:imp)-- in line 2 of the block to be removed
 from output and the last line to read Line no. 2 is important!.

 Thanks!

 Martin


 ___
 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] ordered list items start with letters?

2010-03-22 Thread David Maus
Thomas S. Dye wrote:

On Mar 22, 2010, at 3:23 AM, Xiao-Yong Jin wrote:

 On Mon, 22 Mar 2010 08:08:36 +0100, David Maus wrote:

 Xiao-Yong Jin wrote:
 Hi, is it possible to use a single letter to start an
 ordered list item?  Such as

 a) first
 b) second?

 No, not yet.  Although sometimes I would like have single letter
 lists.

 The question would be:  What to do when we reach z)?

 Simply print out a message saying we have reached maximum
 number of items possible?  I guess usually we don't need to
 count to 'z' for such kind of lists.
 --

Aloha all,

Here is an error message raised with a 27 item list in LaTeX:

Okay, so at least when it comes to LaTeX 26 items are the limit.  I
have the feeling to remember that there was something with letters as
numbered lists that made me skip the idea, but can't remember :|

I'l see if it will work out and if no one else sees a problem provide
a patch.

 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpdipxsGGmFd.pgp
Description: PGP signature
___
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] Basic orgmode tutorial

2010-03-22 Thread Alexander Poslavsky
Hi!

On Mar 22, 2010, at 9:51 PM, John Hendy wrote:

 I'll also take a look and see what I think. Just been using org-mode and 
 learning for about a week. Thanks for your efforts on this! While some have 
 pointed out that org-mode may never be for a 'beginner', I still think 
 allowing others to have the best chance possible to evaluate it and at least 
 give it a shot is great.
snip
thanks!

attached is an updated version of the file, added agenda and some lines on gtd 
and exporting.

Thanks for reading,
alex



org4beginners.org
Description: Binary data
___
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] org-beamer Outline Slide

2010-03-22 Thread Nurullah Akkaya
Hi,

I have been through the archives, but I can not seem to find an option to
remove the Outline slide from the pdf that org-beamer generates.

Is it possible to tell org-beamer to not create a TOC slide?

Thanks...
--
Nurullah Akkaya
http://nakkaya.com


___
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: (org-entry-properties nil 'all) does not return inherited properties

2010-03-22 Thread Holger Macht
On Mon 22. Mar - 21:07:43, Emilio Jesús Gallego Arias wrote:
 Holger Macht hol...@homac.de writes:
 
  On Mo 22. Mär - 18:44:38, Emilio Jesús Gallego Arias wrote:
  Holger Macht hol...@homac.de writes:
  
   (org-entry-properties nil 'all) does not return inherited properties
   added with a file directive like that:
  
   #+PROPERTY: propkey propval
  
   Is this by intention? If so, is there a method to get all the properties
   of an item, also inherited ones?
  
   Currently I was just able to find (org-entry-get), but this only returns
   one specific property of which I need to know the name.
  
  See:
  
  ,[ C-h v org-use-property-inheritance RET ]
 
  Have you tried? At least this doesn't have an effect on
  (org-entry-properties in current git head.
 
 Sorry Holger I misunderstood your question. I guess you should modify
 org-entry-properties in order to include global properties like is done
 in the inheritance case.

This does exactly what I want, thanks for the pointer. However, I'm
missing the overview to know what impact this might have. Just for
reference:

---
diff --git a/lisp/org.el b/lisp/org.el
index aa22309..ce57451 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -12663,7 +12663,11 @@ things up because then unnecessary parsing is avoided.
(setq key (org-match-string-no-properties 1)
  value (org-trim (or (org-match-string-no-properties 2) 
)))
(unless (member key excluded)
- (push (cons key (or value )) props)
+ (push (cons key (or value )) props
+   (when org-use-property-inheritance
+ (setq props (append org-file-properties props)
+   props (append org-global-properties props)
+   props (append org-global-properties-fixed props
  (if clocksum
  (push (cons CLOCKSUM
  (org-columns-number-to-string (/ (float clocksum) 60.)


___
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] Basic orgmode tutorial

2010-03-22 Thread Dan Davison
Alexander Poslavsky alexander.poslav...@gmail.com writes:

 Hi!

 On Mar 22, 2010, at 9:51 PM, John Hendy wrote:

 I'll also take a look and see what I think. Just been using org-mode and 
 learning for about a week. Thanks for your efforts on this! While some have 
 pointed out that org-mode may never be for a 'beginner', I still think 
 allowing others to have the best chance possible to evaluate it and at least 
 give it a shot is great.
 snip
 thanks!

 attached is an updated version of the file, added agenda and some lines on 
 gtd and exporting.

Hi Alex,

Please do put the tutorial on Worg (in the org-tutorials dir) for easy
updating and editing. One change I was going to suggest is to

  - *C-x f* -- means holding both Control /and/ x, then release Control
and press f

as when I follow that literally I get

xxxf

:)

Dan


 Thanks for reading,
 alex


 ___
 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: (org-entry-properties nil 'all) does not return inherited properties

2010-03-22 Thread Emilio Jesús Gallego Arias
Holger Macht hol...@homac.de writes:

 This does exactly what I want, thanks for the pointer. However, I'm
 missing the overview to know what impact this might have. Just for
 reference:

IMHO, this change should be safe to include.

Regards,
Emilio



___
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] 'Double-entry' journals

2010-03-22 Thread John Hendy
I'm still sorting through how I will use this. I have settled (for now) on
project specific .org files as I just can't bring myself to have everything
in one file alone, even if that is what will eventually be what I do.

I'm fine with this, but it is crucial for me to be able to export to html or
pdf for printing purposes. So... take two project files to start as an
example: 1.org and 2.org

My current structure for each project looks like this (I'm in RD):

* Background
Description of the project, it's status when it came to us, where it's
going, aims/goals, etc.

* Journals
Notes and todos all go here in this format (one per day)
**Timestamp day1
What I did that day
**Timestamp day2

* Ideas
Random ideas that perhaps don't fit in the journal entry... I very well may
ditch this section as I need my ideas exported and I'm sure to export the
journals so I may just include this in the journals as the day goes on.

So... 1.org and 2. org will be like this. The problem is that when I export
I want the output to look like this:

*Timestamp day1
**Activity for project 1 on day 1 here
**Activity for project2 on day 1 here
*Timestamp day2
**Activity for project 1 on day 2 here
**Activity for project2 on day 2 here

This way, I export chronologically such that all activity on any day covers
all the projects I touched that day. Then I print them and tape them in a
notebook for Intellectual Property purposes and have my printouts witnessed.
This has currently worked great via TiddlyWiki since I create one journal
per day with all projects. There has to be a way to do this in org-mode. I
think it's just a simple agenda view export, right?

In the end, it's not the true 'double entry' that is the issue, as agenda is
basically doing that. This is what my TiddlyWiki is doing -- it's not
actually allowing me to edit the same information in two places, it just
creates a view in a journal and the same text in a project. Agenda seems
like it's doing the same thing. It's hunting for text based on tags or
timestamps or properties and then recreating all those that match in a
different view. I should be able to create a view of one day's activities,
print it, then pull up the next day's, print it, etc.


John


On Mon, Mar 22, 2010 at 5:29 PM, Haroldo Stenger
haroldo.sten...@gmail.comwrote:

 hi ,

 2010/3/19 Jan Böcker jan.boec...@jboecker.de:
  generated the project specific ones automatically from that. The normal
  Org approach is to go the opposite direction: you edit your project
  files directly and use the agenda to view tasks (and notes, if you
  include an active timestamp in them or tell the agenda to show inactive
  timestamps) by date in daily, weekly or monthly views.


 Combining these two posibilities , I wondered myself whether it would
 we useful to have a org-mode tree-like view of the agenda view , and
 other reports. Something like a text generator that bases its output
 on agenda output , and renders or re-renders output based on agenda
 view. If someone comments on it , I'd be wishful to start hacking it ,
 up to my knowledge, which is lispy to some extend (a common-lisp
 background, and little elisp yet.)

 best regards ,
 haroldo

___
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-beamer Outline Slide

2010-03-22 Thread Eric S Fraga
On Mon, 22 Mar 2010 23:49:19 +0200, Nurullah Akkaya nurul...@nakkaya.com 
wrote:
 
 Hi,
 
 I have been through the archives, but I can not seem to find an option to
 remove the Outline slide from the pdf that org-beamer generates.
 
 Is it possible to tell org-beamer to not create a TOC slide?
 
 Thanks...
 --
 Nurullah Akkaya
 http://nakkaya.com
 
 
 ___
 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

Do you have a line for org setup that looks like this:

#+OPTIONS:   H:5 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t :t

if so, make sure that toc:nil is there instead of toc:t; if not,
you need such a line as the default is to include the table of
contents, I believe.  You can create the default setup lines by C-c
C-e t (org-export and option t for inserting the org-export template).

HTH.


___
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-beamer Outline Slide

2010-03-22 Thread Nurullah Akkaya
On Tue, Mar 23, 2010 at 1:03 AM, Eric S Fraga ucec...@ucl.ac.uk wrote:
 On Mon, 22 Mar 2010 23:49:19 +0200, Nurullah Akkaya nurul...@nakkaya.com 
 wrote:

 Hi,

 I have been through the archives, but I can not seem to find an option to
 remove the Outline slide from the pdf that org-beamer generates.

 Is it possible to tell org-beamer to not create a TOC slide?

 Thanks...
 --
 Nurullah Akkaya
 http://nakkaya.com


 ___
 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

 Do you have a line for org setup that looks like this:

 #+OPTIONS:   H:5 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t :t

 if so, make sure that toc:nil is there instead of toc:t; if not,
 you need such a line as the default is to include the table of
 contents, I believe.  You can create the default setup lines by C-c
 C-e t (org-export and option t for inserting the org-export template).

 HTH.


Eric,

Thanks that worked.

--
Nurullah Akkaya
http://nakkaya.com


___
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-mac-addressbook.el

2010-03-22 Thread Christopher Suckling
On Sun, 21 Mar 2010 18:32:17 +0100, Carsten Dominik carsten.domi...@gmail.com 
wrote:

 this is awesome, thank you very much.

Quite so.

 I would like to integrate this into org-mac-message.el - I don't
 think it makes much sense to put this into a separate file.

My inclination is to integrate it into the almost complete
org-mac-protocol. It seems to be working robustly on my system, but
could use some better error handling at the AppleScript level in case
things do go wrong.

http://github.com/claviclaws/org-mac-protocol

That way there is one consistent method of sending data to orgmode from
OS X applications.


 Christopher, could I ask you to verify this code and work together
 with Alexander on integrating it (if Alexander agrees, of course).


I'll take a closer look in the next couple of days.

Best, Christopher


___
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-mac-addressbook.el

2010-03-22 Thread Alexander Poslavsky

On Mar 23, 2010, at 12:51 AM, Christopher Suckling wrote:
snip
 
 My inclination is to integrate it into the almost complete
 org-mac-protocol. It seems to be working robustly on my system, but
 could use some better error handling at the AppleScript level in case
 things do go wrong.
 
 http://github.com/claviclaws/org-mac-protocol
 
 That way there is one consistent method of sending data to orgmode from
 OS X applications.
 
 
 Christopher, could I ask you to verify this code and work together
 with Alexander on integrating it (if Alexander agrees, of course).
 
 
 I'll take a closer look in the next couple of days.
 
 Best, Christopher

Sounds good to me. I have been looking at other apps that I use as well, and I 
would like to integrate netnewswire as well, it's applescript is fine. Colloquy 
is the last app I regularly use, but I have not yet found out how to script 
that.

thanks,
alex___
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] Publish atom feeds based on Org files

2010-03-22 Thread Eric S Fraga
On Fri, 19 Mar 2010 23:00:23 +0100, David Maus dm...@ictsoc.de wrote:
 Hello all,
 
 Carving another stone that might fit into the cathedral known as
 Emacs/Orgmode I am glad to present attached file org-atom.el that
 provides an exporting and a publishing function to create atom feeds
 based on Org files.
 
 To use org-atom.el you need the library atom-syndication.el, an

David,

a simple point: I added (require 'org-atom) to my initialisation file
and Emacs fails starting up with:

,
| Debugger entered--Lisp error: (void-variable 
org-export-inbuffer-options-extra)
|   byte-code(���...@���  C\\nA��*��!� 
[org-atom-infile-options opt --cl-dolist-temp-- 
org-export-inbuffer-options-extra nil append provide org-atom] 4)
|   require(org-atom)
`

What dependencies are there that I should have satisfied before the
require statement above?  I guess, from the error message, that it's
something to do with cl...  you may wish to ensure the appropriate
libraries are required by your code.

Still working otherwise!


___
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: Clocking in the current task should clock it out first

2010-03-22 Thread Bernt Hansen
Hi,

I tried playing with this again last weekend and I can't get it to break
on my Linux machine with GNU Emacs 22.2.1

I've seen it break (at least once) on windows at work... but I haven't
tried to reproduce that in my spare time.  Somehow I just can't get
myself to use Windows for 'fun' :-P

I tried the auto clock resolution with my normal clocking setup (where
the clock runs all the time, and I explicitly clock in and out
regardless of todo state changes).

I can't get the clock resolution/idle time code to do anything really
useful in my setup.  If I do org-resolve-clocks when my current task is
clocking it asks for how many minutes to keep etc, and then clocks in
from *now* leaving a hole in my clock data which I don't want.

I'm not sure exactly how this stuff is supposed to work - maybe John can
shed some light on this.  I can't find documentation about resolving
clocks in the regular org-mode documentation either.  I remember an
article John posted on the mailing list but I don't think that got into
the official org-mode documentation other than the lisp functions and
docstrings.

I have also notice that clock resolution (in the distant past) would
overlap clock times.  If it finds more than one open clock it can
resolve them so that they overlap with other clock entries and for me
that's _really_ _really_ bad.  I'd rather have it to nothing than create
hard-to-find overlapping clock entries.

For now I'll continue to run with org-clock-auto-clock-resolution set to
nil until I understand how this is supposed to work and make life better
for me :)

I would really like it to be more useful than it is in my setup but I'm
not really missing this functionality alot at the moment and my time to
play with it is extremely limited at present.

Regards,
Bernt


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

 Hi,

 strangely enough, this does not happen for me.  Maybe you
 have some setup for clock resolution that I do not have?

 - Carsten

 On Mar 17, 2010, at 2:06 PM, Bernt Hansen wrote:

 Daniel Clemente n142...@gmail.com writes:

 Hi,
  in recent org-modes a new behaviour was added: when doing C-c C-x
 C-i on the current task, it isn't clocked out first. It shows the
 message „Clock continues in [task]“ and adds a new line for the
 clock in.
  This creates a clock section like:

 #+BEGIN_EXAMPLE
 *** after pressing many successive C-c C-x C-i …
 :CLOCK:
 CLOCK: [2010-03-17 dc 10:25]--[2010-03-17 dc 10:30] =  0:05
 CLOCK: [2010-03-17 dc 10:20]
 CLOCK: [2010-03-17 dc 10:20]
 CLOCK: [2010-03-17 dc 10:20]
 CLOCK: [2010-03-17 dc 10:20]
 CLOCK: [2010-03-17 dc 10:20]
 CLOCK: [2010-03-17 dc 10:20]
 CLOCK: [2010-03-12 dv 16:38]--[2010-03-12 dv 16:39] =  0:01
 :END:
 #+END_EXAMPLE


  They are later correctly found to be dangling clocks.
  I presume this is a bug?

 Hi Daniel,

 Yes I believe this is a bug.  I think I've also run into this issue
 but
 I have auto clock resolution disabled so this is not leaving open
 clocks
 in my setup.

 (setq org-clock-auto-clock-resolution nil)

 This of course is only a temporary work around until a real fix
 occurs.
 I haven't had the time to investigate this yet but it is on my list of
 things to look at.

 -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

 - 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] org-mobile-pull and flagged entries

2010-03-22 Thread Jose Sazo
Hi,

I'm using MobileOrg and, when I pull from mobileorg and there's a item to
flag, I always get errors and the flagged entries change to:

* EXECUTION FAILED F() Example Entry Link

I wonder what's wrong. I'm using the latest org-mode (6.34c) and the latest
MobileOrg (1.1) and it seems like it doesn't happen a lot (I couldn't find
anything about this problem on this mailing list or on the web).

Thanks,

José Sazo.
___
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] [mobileorg] org-mobile-pull and flagged entries

2010-03-22 Thread Jose Sazo
Hi,

I'm using MobileOrg and, when I pull from mobileorg and there's a item to
flag, I always get errors and the flagged entries change to:

* EXECUTION FAILED F() Example Entry Link

I wonder what's wrong. I'm using the latest org-mode (6.34c) and the latest
MobileOrg (1.1) and it seems like it doesn't happen a lot (I couldn't find
anything about this problem on this mailing list or on the web).

Thanks,

José Sazo.
___
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