[Orgmode] bug? no newline at beginning of file

2008-11-22 Thread Arun Persaud
Hi

found a possible bug and a quick search in google didn't return any
results, so I thought I send an email to the list (although I'm not
subscribed), but I couldn't find any other place to report it. So here
we go:

My version of the emacs and org:

GNU Emacs 22.2.1 (x86_64-suse-linux-gnu, GTK+ Version 2.12.9) of
2008-09-11 on hammer22

Org-mode version 6.12b (updated from git every weekend)

what to do:

* open a new file
* switch to orgtbl-mode
* create a new table at the beginning of the file (e.g. starting in the
first line)
* got to beginning of the file
* hit enter to add a newline
* nothing happens! I can add newlines everywhere else in the file though

expected behavior: a newline would be added before the table (works if I
turn table mode off)

HTH, great work btw, org-mode is one of my most used emacs modes ;)

Arun


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


Re: [Orgmode] change maxlevel for agenda view

2008-11-22 Thread Carsten Dominik

Hi Flavio,

I have answered your question here:

http://orgmode.org/worg/org-customize.php

HTH

- Carsten

On Nov 22, 2008, at 3:07 AM, Flávio de Souza wrote:



Hi everybody! Here I am with another question...

I started trying to use org-mode for logging my work.

Basically a I have one org file for project. I have only a
few projects to work on, but I have detailed outline with all
my tasks for each one.

They have a structure like this one:

* My Project Tasks
** Configuration
*** Task 1
*** Task 2
** Tests
*** Task 3
*** Task 4

As showed above, my tasks are devided into groups
( Configuration an Tests). The groups are level two headers.

Every end of day, I go to agenda view and pres S-R to get
a summary of worked hours.

I enter this information in my company's system. They use
the system to sum up project's team worked hours to bill
our customer.

The org-mode summary works great!

But now my company's system is forcing me to enter total
worked ours by task. So I will need a summary by Task, I
mean I need summary of Tasks in level 3 headers. How can I
configure my summary in agenda view to show me this information?

I see in the org-mode manual that I could specify level
when generating summary inside the org file. But I'd like
to use in agenda view, since this gives me the summary for all
my project files in one place easily.

Regards,

--
Flávio de Souza




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




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


[Orgmode] Re: change maxlevel for agenda view

2008-11-22 Thread Flávio de Souza

I don't have words!! What I can say... JUST PERFECT!!

By the way Carsten, don't you ever sleep??

I am just kidding... thanks for the fast support. Awesome!

I think the secret of org-mode is flexibility. It is a tool full 
of features, even if you don't find what you need you can easily 
customize it.

I have projects with lots of task lists, but now I have eveything
under control with accurate time tracking.

Org-mode fits to everybody's needs!

Flávio.


Carsten Dominik [EMAIL PROTECTED] writes:

 Hi Flavio,

 I have answered your question here:

 http://orgmode.org/worg/org-customize.php

 HTH

 - Carsten

 On Nov 22, 2008, at 3:07 AM, Flávio de Souza wrote:


 Hi everybody! Here I am with another question...

 I started trying to use org-mode for logging my work.

 Basically a I have one org file for project. I have only a
 few projects to work on, but I have detailed outline with all
 my tasks for each one.

 They have a structure like this one:

 * My Project Tasks
 ** Configuration
 *** Task 1
 *** Task 2
 ** Tests
 *** Task 3
 *** Task 4

 As showed above, my tasks are devided into groups
 ( Configuration an Tests). The groups are level two headers.

 Every end of day, I go to agenda view and pres S-R to get
 a summary of worked hours.

 I enter this information in my company's system. They use
 the system to sum up project's team worked hours to bill
 our customer.

 The org-mode summary works great!

 But now my company's system is forcing me to enter total
 worked ours by task. So I will need a summary by Task, I
 mean I need summary of Tasks in level 3 headers. How can I
 configure my summary in agenda view to show me this information?

 I see in the org-mode manual that I could specify level
 when generating summary inside the org file. But I'd like
 to use in agenda view, since this gives me the summary for all
 my project files in one place easily.

 Regards,

 -- 
 Flávio de Souza




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


[Orgmode] feature request: face lock for important thing.

2008-11-22 Thread anhnmncb
Sometimes I need to bold some item so it's more notiable, for example:

* I need them to achieve it.
 - a table which contents some important *items*.

Here, I need to bold the items so when I see the list, items will be
more noticiable.



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


[Orgmode] C-c C-o bug.

2008-11-22 Thread anhnmncb
`C-c C-o' opens link at point by browse-url-generic-program without
browse-url-generic-args.

My relevent setting is:

(setq browse-url-generic-program firefox.exe
  browse-url-generic-args (list  -P portable -profile  (concat 
(getenv emacs_dir) /../../MozillaFirefox/Profiles/aujthov1.portable/))
  browse-url-browser-function 'browse-url-generic)

When C-c C-o on link, then orgmode runs firefox.exe without the args.

emacs version:
GNU Emacs 23.0.60.1 (i386-mingw-nt5.0.2195) of 2008-11-18 on mybox

orgmode version:
Org-mode version 6.12a



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


[Orgmode] [Patch] Fixes elisp links in org files

2008-11-22 Thread Christopher Suckling
Following elisp links in org files has been broken since
commit 4954225ce37.
This small patch fixes them.

Best wishes,

Christopher

diff --git a/lisp/org.el b/lisp/org.el
index 395..6d52dd9 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6877,8 +6877,8 @@ application the system uses for this file type.
 'face 'org-warning
  (message %s = %s cmd
   (if (equal (string-to-char cmd) ?\()
-  (call-interactively (read cmd))
-(eval (read cmd
+  (eval (read cmd))
+  (call-interactively (read cmd
(error Abort

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


[Orgmode] Writing in Org Mode - line wrap and tables

2008-11-22 Thread Graham Smith
I am really enjoying Org Mode / Emacs but find the line wrap issue a
bit irritating and wondering if I am missing an obvious solution.

When I am just writing I use longlines mode, which is fine, but I also
use a lot of tables, and the tables feature is great, but tables wrap
unusably when longlines mode is enabled, which is OK when I don't need
to refer to them, but difficult when I do.

So, at the moment, I am toggling longlines mode off and on every few
seconds/minutes to let me write.

Is there a better way of dealing with this?

Many thanks,

Graham


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


Re: [Orgmode] Writing in Org Mode - line wrap and tables

2008-11-22 Thread Eric Schulte
Graham Smith [EMAIL PROTECTED] writes:

 I am really enjoying Org Mode / Emacs but find the line wrap issue a
 bit irritating and wondering if I am missing an obvious solution.

 When I am just writing I use longlines mode, which is fine, but I also
 use a lot of tables, and the tables feature is great, but tables wrap
 unusably when longlines mode is enabled, which is OK when I don't need
 to refer to them, but difficult when I do.

 So, at the moment, I am toggling longlines mode off and on every few
 seconds/minutes to let me write.

 Is there a better way of dealing with this?


Have you tried `auto-fill-mode'?  With this turned on Emacs will break
all of your lines automatically as you type, and your tables will be
able to grow unaffected.  If you do begin to use auto-fill-mode you will
probably want to become familiar with the `fill-paragraph' command
(mapped to M-q) which you can use to tidy up paragraphs which have
gotten away from `auto-fill-mode'.

I don't know of any way to enable longlines-mode without affecting
tables.

Cheers -- Eric


 Many thanks,

 Graham


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


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


Re: [Orgmode] Writing in Org Mode - line wrap and tables

2008-11-22 Thread Graham Smith
Eric

 Have you tried `auto-fill-mode'?

I have now :-)

Thanks this seems to do the job

Graham


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


[Orgmode] Agenda view logging time summary problem

2008-11-22 Thread Flávio de Souza

I 'd like to report a small problem.

When I write a org file and put a header level 1 in the first 
line, then level 2 and 3 in second and third lines, like this:

* Header 1
** Header 2
*** Header 3

Then I log work time under Header 3. If I go to agenda
view and press S-R, the summary will look like this:


| File| L | Headline | Time   |  |  |
|-+---+--++--+--|
| |   | *Total time* | *6:00* |  |  |
|-+---+--++--+--|
| prj_icc.org |   | *File time*  | *5:00* |  |  |
| prj_icc.org | 1 | Header 1 | 5:00   |  |  |
| prj_icc.org | 2 | Header 2 || 5:00 |  |
| prj_icc.org | 3 | Header 3 ||  | 5:00 |
|-+---+--++--+--|
| fazer.org   |   | *File time*  | *1:00* |  |  |
| fazer.org   | 2 | Header 2 || 1:00 |  |
| fazer.org   | 3 | Header 3 ||  | 1:00 |
| |   |  ||  |  |

This is a view with two files, only fazer.org has Header 1
in the first line of the file.

If I go to fazer.org file and press RET ( just insert a blank 
first line ) and the Header 1 starts in the second line,
the summary will show up ok, with all the three headers.

My emacs version is:

GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.14.1) of 
2008-09-05 on vernadsky, modified by Ubuntu

My org-mode version is:

6.12b

By the way, fazer.org means todo.org, fazer is todo 
in portuguese :)

Regards,


-- 
Flávio de Souza
[EMAIL PROTECTED]







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


[Orgmode] Archiving according to the CLOSED timestamp

2008-11-22 Thread Samuel Wales
Is there a command that will archive all headlines that were
CLOSED more than a certain number of days ago?

I read the manual and every customizable variable, and
looked at archiving and expiry.

Thanks.

-- 
Professional myalgic encephalomyelitis denialists are knowingly
causing further suffering and death by opposing biomedical research on
this fast-spreading serious disease.  Do you care about the world?
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


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


[Orgmode] How to make a todo entry in plain text?

2008-11-22 Thread anhnmncb
For example:

* TODO Things I need to do
 - [] get foo1, foo2, foo3.
  * TODO foo2 is got by this way
 - [] do thing 2
 - [] ...



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


Re: [Orgmode] [Patch] Fixes elisp links in org files

2008-11-22 Thread Carsten Dominik

Indeed, thank you very much.

Fixed, thanks.

- Carsten

On Nov 22, 2008, at 5:22 PM, Christopher Suckling wrote:

Following elisp links in org files has been broken since commit  
4954225ce37.


This small patch fixes them.

Best wishes,

Christopher

diff --git a/lisp/org.el b/lisp/org.el
index 395..6d52dd9 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6877,8 +6877,8 @@ application the system uses for this file type.
 'face 'org-warning
  (message %s = %s cmd
   (if (equal (string-to-char cmd) ?\()
-  (call-interactively (read cmd))
-(eval (read cmd
+  (eval (read cmd))
+  (call-interactively (read cmd
(error Abort

(t


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


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


Re: [Orgmode] How to make a todo entry in plain text?

2008-11-22 Thread Oliver Charles
You haven't made your question very clear here... and I don't really
understand what you're asking.

On Sat, Nov 22, 2008 at 11:29 PM, anhnmncb [EMAIL PROTECTED] wrote:
 For example:

 * TODO Things I need to do
  - [] get foo1, foo2, foo3.
  * TODO foo2 is got by this way
  - [] do thing 2
  - [] ...



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



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


[Orgmode] Re: How to make a todo entry in plain text?

2008-11-22 Thread Bernt Hansen
Oliver Charles [EMAIL PROTECTED] writes:

 On Sat, Nov 22, 2008 at 11:29 PM, anhnmncb [EMAIL PROTECTED] wrote:
 For example:

 * TODO Things I need to do
  - [] get foo1, foo2, foo3.
  * TODO foo2 is got by this way
  - [] do thing 2
  - [] ...

 You haven't made your question very clear here... and I don't really
 understand what you're asking.


The second TODO should have 2 stars

,
| * TODO Things I need to do
|  - [ ] get foo1, foo2, foo3.
| ** TODO foo2 is got by this way
|  - [ ] do thing 2
|  - [ ] ...
`

I'm assuming your - [] are supposed to be checkboxes (they need a space
in there)

Headlines have leading stars.  Org-mode can hide leading stars but they
are still present physically in the file and are required for marking
headlines.

-Bernt



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


[Orgmode] Re: How to make a todo entry in plain text?

2008-11-22 Thread anhnmncb
Bernt Hansen [EMAIL PROTECTED] writes:

 Oliver Charles [EMAIL PROTECTED] writes:

 On Sat, Nov 22, 2008 at 11:29 PM, anhnmncb [EMAIL PROTECTED] wrote:
 For example:

 * TODO Things I need to do
  - [] get foo1, foo2, foo3.
  * TODO foo2 is got by this way
  - [] do thing 2
  - [] ...

 You haven't made your question very clear here... and I don't really
 understand what you're asking.

Pardon for my poor English, if I don't expree clearly then let me know
:)

I need a way to make a TODO entry in plain text, not just at header



 The second TODO should have 2 stars

My fault :)


 ,
 | * TODO Things I need to do
 |  - [ ] get foo1, foo2, foo3.
 | ** TODO foo2 is got by this way
 |  - [ ] do thing 2
 |  - [ ] ...
 `

In such case, the level 2 TODO will break up my the one plain list into
two. So assume that the original header is:

* TODO Things I need to do [0/3]

Now it will become: 

* TODO Things I need to do [0/1]


 I'm assuming your - [] are supposed to be checkboxes (they need a space
 in there)

My fault again ..


 Headlines have leading stars.  Org-mode can hide leading stars but they
 are still present physically in the file and are required for marking
 headlines.

 -Bernt

Thank you.



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


[Orgmode] org-browse-url.el: Bookmark from a browser into org links

2008-11-22 Thread Ross Patterson
For some time now I've been wanting to put pages from FF into the org
stored links where the page title is used as the description.  I ran
across org-annotation-helper.el but I don't use remember and didn't like
it's approach of automatically inserting the link somewhere or popping
up a buffer.

I prefer the way org-mode handles links which allows me to collect links
while I'm there and then file them into my org buffers when I get back
to them.  So I wrote the attached library to accomodate exactly this.
To use it, follow the instructions in the commentary.

Enjoy!
Ross



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


Re: [Orgmode] Agenda view logging time summary problem

2008-11-22 Thread Carsten Dominik

Hi Flavio,

I have fixed his issue - note however, that there are
a few more occasions where Org does not seem to work perfectly
when the first line is a headline.  It is safer to avoid
this, many people have a #+STARTUP line or so at the beginning.

- Carsten

On Nov 22, 2008, at 8:15 PM, Flávio de Souza wrote:



I 'd like to report a small problem.

When I write a org file and put a header level 1 in the first
line, then level 2 and 3 in second and third lines, like this:

* Header 1
** Header 2
*** Header 3

Then I log work time under Header 3. If I go to agenda
view and press S-R, the summary will look like this:


| File| L | Headline | Time   |  |  |
|-+---+--++--+--|
| |   | *Total time* | *6:00* |  |  |
|-+---+--++--+--|
| prj_icc.org |   | *File time*  | *5:00* |  |  |
| prj_icc.org | 1 | Header 1 | 5:00   |  |  |
| prj_icc.org | 2 | Header 2 || 5:00 |  |
| prj_icc.org | 3 | Header 3 ||  | 5:00 |
|-+---+--++--+--|
| fazer.org   |   | *File time*  | *1:00* |  |  |
| fazer.org   | 2 | Header 2 || 1:00 |  |
| fazer.org   | 3 | Header 3 ||  | 1:00 |
| |   |  ||  |  |

This is a view with two files, only fazer.org has Header 1
in the first line of the file.

If I go to fazer.org file and press RET ( just insert a blank
first line ) and the Header 1 starts in the second line,
the summary will show up ok, with all the three headers.

My emacs version is:

GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.14.1) of
2008-09-05 on vernadsky, modified by Ubuntu

My org-mode version is:

6.12b

By the way, fazer.org means todo.org, fazer is todo
in portuguese :)

Regards,


--
Flávio de Souza
[EMAIL PROTECTED]







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




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


[Orgmode] Re: org-browse-url.el: Bookmark from a browser into org links

2008-11-22 Thread Ross Patterson
Ross Patterson [EMAIL PROTECTED] writes:

 For some time now I've been wanting to put pages from FF into the org
 stored links where the page title is used as the description.  I ran
 across org-annotation-helper.el but I don't use remember and didn't like
 it's approach of automatically inserting the link somewhere or popping
 up a buffer.

 I prefer the way org-mode handles links which allows me to collect links
 while I'm there and then file them into my org buffers when I get back
 to them.  So I wrote the attached library to accomodate exactly this.
 To use it, follow the instructions in the commentary.

 Enjoy!
 Ross

Always with forgetting the attachment.  All this technology, and I still
don't know how to use it.  :)

Ross



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


Re: [Orgmode] C-c C-o bug.

2008-11-22 Thread Carsten Dominik

Hi, I cannot reproduce this, my browser is called with the arguments.

- Carsten

On Nov 22, 2008, at 2:48 PM, anhnmncb wrote:


`C-c C-o' opens link at point by browse-url-generic-program without
browse-url-generic-args.

My relevent setting is:

(setq browse-url-generic-program firefox.exe
 browse-url-generic-args (list  -P portable -profile  
 (concat (getenv emacs_dir) /../../MozillaFirefox/Profiles/ 
aujthov1.portable/))

 browse-url-browser-function 'browse-url-generic)

When C-c C-o on link, then orgmode runs firefox.exe without the args.

emacs version:
GNU Emacs 23.0.60.1 (i386-mingw-nt5.0.2195) of 2008-11-18 on mybox

orgmode version:
Org-mode version 6.12a



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




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


[Orgmode] Re: org-browse-url.el: Bookmark from a browser into org links

2008-11-22 Thread Ross Patterson
Ross Patterson [EMAIL PROTECTED] writes:

 Ross Patterson [EMAIL PROTECTED] writes:

 For some time now I've been wanting to put pages from FF into the org
 stored links where the page title is used as the description.  I ran
 across org-annotation-helper.el but I don't use remember and didn't like
 it's approach of automatically inserting the link somewhere or popping
 up a buffer.

 I prefer the way org-mode handles links which allows me to collect links
 while I'm there and then file them into my org buffers when I get back
 to them.  So I wrote the attached library to accomodate exactly this.
 To use it, follow the instructions in the commentary.

 Enjoy!
 Ross

 Always with forgetting the attachment.  All this technology, and I still
 don't know how to use it.  :)

One more note.  I use this by also giving the bookmarklet a keyword of
l.  Then whenever I want to org-link a page, I just hit C-l to get the
location bar and then type l and hit RET.  Then the page is in the org
links ring.  This is only valuable if like me you don't have the
bookmarks tool bar or side bar cause you hate wasting space.  :)

Ross



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