[Orgmode] blogging from org-mode

2008-03-17 Thread Cezar Halmagean

Hey list,

  I am trying to set up a blog page on my website and I would prefer to
  use org-mode for that. I wonder what are the features provided by
  blorg and org-blog.el and which is better and actively maintained.

  I have tried both
  http://www.cognition.ens.fr/~guerry/org-blogging.html and
  http://dto.freeshell.org/e/org-blog.el but they seem to be down.

Thank you !
Cezar



___
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: Please test links

2008-03-17 Thread Carsten Dominik

Hi Tokuya,

On Mar 16, 2008, at 3:47 PM, Tokuya Kameshima wrote:


Hi Carsten,

I checked org-wl.el and it works fine.

BTW, I have another implementation of org-wl.el.  Is it possible to
merge my version to the git?


sounds good to me, I'd be happy to accomodate your changes.


The differences between git version and mine are:

- Integrated `org-wl-open' function into `org-wl-open'.


What do you really mean here?  That you integrate
org-wl-follow-link into org-wl-open?

Fine.


- org-wl-store-link: If the message on the cursor line is marked as
 refile (o), set the link's folder to the refile destionation
 folder.  I prefer this behavior since I read the email in the inbox
 folder, set the refile mark, and create TODO task using remember
 package from the email before performing the refile operation.
 After I create tasks, I execute the refile.


I don't really know wl at all, so I am not sure how other people
use this and if this would change or limit different set-ups.
Maybe this can be made configurable?  Or is this not necessary
because it only does something when the message is marked for
refiling?

Any other wl users want to comment on this?


- Fixed To: field extraction problem where the function
 `elmo-message-entity-field' returns a string or a list of strings.


Sounds good.


- org-wl-open: Added a workaround for `wl-folder-goto-folder-subr',
 which moves point to the beginning of the current line in the old
 folder.


Sounds good too.

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


[Orgmode] Org mode as an helper tool for my job position (DBA)

2008-03-17 Thread Xavier Maillard
Hi,

I am a DBA (database administrator) with really tons of database (more than 200)
to survey.

As such, I have written many tools for various tasks. Currently these tools
produce logs (tons of) in many different formats. That's not very homogeneous
but that's something I want to remedy.

My current (en)vision is quite simple: outlined document. That's where org-mode
enters the dance :)

Currently reading/parsing/getting the right information from each tools is
rather time consuming. Having org-mode based log format would speed this by a
factor of 1000 (at least).

Let take the example of an update statistics. What informations are really
relevant for me is simply this:

1. server name
2. start date/end date
3. return code
4. database name

Then for each table/index of the given database, I need this:

1. object name
2. status
3. time spent

Each object would have extra informations as a note under the entry.

Producing the right org-mode file structure from any script/c code is rather
simple, in fact, I have done this as a quick and dirty hack for one tool.

Where I am failing is in having a column view of the document (I want to be able
to only view time spent for each object name to measure the performance of the
last update statistics run).

What would I need to add for each of the table/index todo entry to have this
information at hand ?

As an example, updating index statistics will present an org file like this one:

#title Update statistics of sql server

* General information
- start date
- end date
- return code

* Index statistics (I want column view from here for each object name)
** Index name 1
informations for index name 1 go here (time spent, etc...)
** Index name 2
* Index name n
...

I hope I have been clear :)

Thank you for your feedback.

Regards

Xavier



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


Re: [Orgmode] `org-scheduled-past-days' seems not to work

2008-03-17 Thread Carsten Dominik


On Mar 14, 2008, at 8:36 PM, KONDO Kenji wrote:



- emacs-version: GNU Emacs 22.1.1 (i686-pc-linux-gnu)
- org-version: 5.23a

Hi.


I found that `org-scheduled-past-days' seems not to work.


Yes, this variable exists but oddly enough is not implemented... :-(

I'll fix this.

- Carsten





My setting is here.

date:
[2008-03-15 Sat]

.emacs:
(setq org-scheduled-past-days 0)

tmp.org:
* Schedule A
  SCHEDULED: 2007-12-06 Thu

Note that [2007-12-06 Thu] is 100 days before [2008-03-15 Sat].


With tmp.org, I did:
C-c a  a

My expectation is:
Week-agenda:
Saturday  15 March 2008
Sunday16 March 2008
Monday17 March 2008
Tuesday   18 March 2008
Wednesday 19 March 2008
Thursday  20 March 2008
Friday21 March 2008

but actually I got:
Week-agenda:
Saturday  15 March 2008
  tmp:Sched.101x:  Schedule A
Sunday16 March 2008
Monday17 March 2008
Tuesday   18 March 2008
Wednesday 19 March 2008
Thursday  20 March 2008
Friday21 March 2008


Is this a legal action?


Thanks.

--
KONDO Kenji


___
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 mode as an helper tool for my job position (DBA)

2008-03-17 Thread Bernt Hansen
Xavier Maillard [EMAIL PROTECTED] writes:

 Hi,


Hi!

 Producing the right org-mode file structure from any script/c code is rather
 simple, in fact, I have done this as a quick and dirty hack for one tool.

 Where I am failing is in having a column view of the document (I want to be 
 able
 to only view time spent for each object name to measure the performance of the
 last update statistics run).

 What would I need to add for each of the table/index todo entry to have this
 information at hand ?

 As an example, updating index statistics will present an org file like this 
 one:

 #title Update statistics of sql server

 * General information
 - start date
 - end date
 - return code

 * Index statistics (I want column view from here for each object name)
 ** Index name 1
 informations for index name 1 go here (time spent, etc...)
 ** Index name 2
 * Index name n
 ...


Here's a sample org file.  Just add properties to the tasks (objects)
you need in the column view and a #+COLUMNS: line describing what fields
to include in the columns.

,[ Sample org file ]
| #+STARTUP:
| #+COLUMNS: %40ITEM(Task) %30Status(Status) %30TimeSpent(Time Spent){:}
| * General information
| - start date
| - end date
| - return code
| 
| * Index statistics (I want column view from here for each object name)
| ** Index name 1
| informations for index name 1 go here (time spent, etc...)
| :PROPERTIES:
| :TimeSpent: 00:30
| :Status: S42
| :END:
| ** Index name 2
| :PROPERTIES:
| :TimeSpent: 00:17
| :Status: R19
| :END:
| * Index name n
| :PROPERTIES:
| :TimeSpent: 02:16
| :Status: 42
| :END:
`

Hope that helps,

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


Re: [Orgmode] Org mode as an helper tool for my job position (DBA)

2008-03-17 Thread Russell Adams
 Let take the example of an update statistics. What informations are really
 relevant for me is simply this:
 
 1. server name
 2. start date/end date
 3. return code
 4. database name
 
 Then for each table/index of the given database, I need this:
 
 1. object name
 2. status
 3. time spent
 
 Each object would have extra informations as a note under the entry.
 
 Producing the right org-mode file structure from any script/c code is rather
 simple, in fact, I have done this as a quick and dirty hack for one tool.
 
 Where I am failing is in having a column view of the document (I want to be 
 able
 to only view time spent for each object name to measure the performance of the
 last update statistics run).

It sounds like you should explore the property drawer and properties,
using Org's column view. It can summarize properties across items,
which is very handy whether turning out a budget, timeline, etc.

I think you're right, that Org could make reviewing this kind of data
very fast.

Here's a short example you can use with column view (C-c C-x C-c):

*  Jobs
   :PROPERTIES:
   :COLUMNS: %35ITEM %8TODO %5DURATION %2EXITCODE
   :END:

**  Job 1
   :PROPERTIES:
   :STARTTIME: 1:00
   :ENDTIME:  2:00
   :EXITCODE: 0
   :DURATION: 1:00
   :END:

Log from job goes here.

**  Job 2
   :PROPERTIES:
   :STARTTIME: 2:00
   :ENDTIME:  3:30
   :EXITCODE: -1
   :DURATION: 1:30
   :END:

Log from job goes here.


--
Russell Adams[EMAIL PROTECTED]

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

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


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


Re: [Orgmode] `org-scheduled-past-days' seems not to work

2008-03-17 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Mar 14, 2008, at 8:36 PM, KONDO Kenji wrote:



- emacs-version: GNU Emacs 22.1.1 (i686-pc-linux-gnu)
- org-version: 5.23a

Hi.


I found that `org-scheduled-past-days' seems not to work.


My setting is here.

date:
[2008-03-15 Sat]

.emacs:
(setq org-scheduled-past-days 0)

tmp.org:
* Schedule A
  SCHEDULED: 2007-12-06 Thu

Note that [2007-12-06 Thu] is 100 days before [2008-03-15 Sat].


With tmp.org, I did:
C-c a  a

My expectation is:
Week-agenda:
Saturday  15 March 2008
Sunday16 March 2008
Monday17 March 2008
Tuesday   18 March 2008
Wednesday 19 March 2008
Thursday  20 March 2008
Friday21 March 2008

but actually I got:
Week-agenda:
Saturday  15 March 2008
  tmp:Sched.101x:  Schedule A
Sunday16 March 2008
Monday17 March 2008
Tuesday   18 March 2008
Wednesday 19 March 2008
Thursday  20 March 2008
Friday21 March 2008


Is this a legal action?


Thanks.

--
KONDO Kenji


___
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: jump to iso-week in agenda

2008-03-17 Thread Detlef Steuer
On Sat, 15 Mar 2008 17:00:46 +0100
Thomas Baumann [EMAIL PROTECTED] wrote:

 Hi,
 
 I really like the most advanced (pure magic working ...) and easy way of
 entering dates in org mode. When answering a phone call it's only a few
 keystrokes to jump to the date and settle the appointment. However there
 are some people thinking in weeks (iso-week). So when those friends call
 it get's much more complicated. Currently when I would like to jump to
 say week 46, I might find an old paper calendar or M-x
 calendar-goto-iso-week.
 
 How difficult would it be to
 (a) add the current iso-week into the headline of the Week-View
 (b) include magic jump to a certain week eg. *46 to jump to week 46

Here's another user, who begs for iso-week-display and iso-week-jumps.
Woud be a nice addition.

Detlef

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




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


Re: [Orgmode] Re: Please test links

2008-03-17 Thread Joel J. Adamson
Bernt Hansen [EMAIL PROTECTED] writes:

 Bernt Hansen [EMAIL PROTECTED] writes:

 Carsten Dominik [EMAIL PROTECTED] writes:

 Please report back which of these link types you are using, and
 if they are still working after a pull in your it repo.
 If not, I'd appreciate detailed backtraces so that this remaining
 issues can be fixed.

 I use bbdb and gnus links.

 Attempting to org-store-link in a gnus mail message


Howdy,

I updated from git this morning and

gnus
bbdb
hypertext (www)

all work just fine for me.

Joel
-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key: http://pgp.mit.edu

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.





___
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] export to txt files

2008-03-17 Thread Dimitris Kapetanakis
Hello All,
I wanted to ask if there is a way to export an org file as individual txt
files depending on level 1 hierarchy. For example if you have a file like

* Projects
bla bla text etcetc

* Procedures
  bla bla text etcetc

to output two files projects.txt which contains bla bla text etcetc and
another procedures.txt with its text.

I think it would be useful for blogs and other applications, and looking at
export functions like ascii or latex, it could certainly be done but I am
not so fluent in emacs lisp to do it myself. Any help welcome.
Dimitris
___
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] export to txt files

2008-03-17 Thread Sebastian
Dimitris Kapetanakis schrieb:
 Hello All,
 I wanted to ask if there is a way to export an org file as individual
 txt files depending on level 1 hierarchy. For example if you have a
 file like

 * Projects
 bla bla text etcetc

 * Procedures
   bla bla text etcetc
  
 to output two files projects.txt which contains bla bla text etcetc
 and another procedures.txt with its text.

 I think it would be useful for blogs and other applications, and
 looking at export functions like ascii or latex, it could certainly be
 done but I am not so fluent in emacs lisp to do it myself. Any help
 welcome.
 Dimitris
 

 ___
 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
   
Just mark a region and press

C-c C-e RET a RET

will export the region as ascii (I use the git head).

Regards,

Sebastian

-- 
~~~
Sebastian Rose Fachinformatiker/Anwendendungsentwickler
Viktoriastaße 22
30451 Hannover Entwicklung  von Internetanwendungen und
   Programmen  mit  freien  Werkzeugen  und
   Bibliotheken.
[EMAIL PROTECTED]  PHP, Java, C/C++,  Bash,  Perl,  Apache,
   MySQL,  PostgreSQL, xt::commerce, Typo3,
+49 173 / 83 93 417Server,  Netzwerk,  Desktop,  Datenbank.
~~~



___
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] export to txt files

2008-03-17 Thread Phil Jackson
Dimitris Kapetanakis [EMAIL PROTECTED] writes:

 Hello All,
 I wanted to ask if there is a way to export an org file as individual txt
 files depending on level 1 hierarchy. For example if you have a file like

 * Projects
 bla bla text etcetc

 * Procedures
   bla bla text etcetc

 to output two files projects.txt which contains bla bla text etcetc and
 another procedures.txt with its text.

10 points to someone who can do this with just a keyboard macro. 15 if
you can make sure the heading is filesystem safe :)

Cheers,
Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk


___
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] jump to iso-week in agenda

2008-03-17 Thread Carsten Dominik

OK, I will put that in.

- Carsten

On Mar 15, 2008, at 5:00 PM, Thomas Baumann wrote:


Hi,

I really like the most advanced (pure magic working ...) and easy  
way of
entering dates in org mode. When answering a phone call it's only a  
few
keystrokes to jump to the date and settle the appointment. However  
there
are some people thinking in weeks (iso-week). So when those friends  
call

it get's much more complicated. Currently when I would like to jump to
say week 46, I might find an old paper calendar or M-x
calendar-goto-iso-week.

How difficult would it be to
(a) add the current iso-week into the headline of the Week-View
(b) include magic jump to a certain week eg. *46 to jump to week 46

Thomas




___
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] export to txt files

2008-03-17 Thread Daniel Clemente

  Mmmm... I wrote a program which can do this:
  http://www.danielclemente.com/dislines/index.en.html

  however it's not LISP.
  I have written multilingual org files this way, but it's not comfortable 
since it requires several programs and processing phases. I am still looking 
for a solution in Emacs LISP, and if possible, one which integrates nicely with 
org-mode :-)



___
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] export to txt files

2008-03-17 Thread Hugo Schmitt
Hm, I guess I sent this only to Dimitri... I'm resending it to the list..

This seems to do what you want.

(defun org-export-top-levels ()
 (interactive)
 (goto-char (point-min))
 (let (start (point))
   (while (re-search-forward ^*  nil t)
 (write-region start (point-at-bol) (concat (org-get-heading) .txt))
 (setq start (point-at-bol)

Regards,
Hugo

On Mon, Mar 17, 2008 at 4:43 PM, Daniel Clemente [EMAIL PROTECTED] wrote:

   Mmmm... I wrote a program which can do this:
   http://www.danielclemente.com/dislines/index.en.html

   however it's not LISP.
   I have written multilingual org files this way, but it's not comfortable 
 since it requires several programs and processing phases. I am still looking 
 for a solution in Emacs LISP, and if possible, one which integrates nicely 
 with org-mode :-)





  ___
  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] empty todo item at EOF and clock

2008-03-17 Thread Sebastian Rose

Small bug, when clocking in and out (git head from 03.11.2008 11:15)

Adding empty TODO item at end of an org file (no heading, no text) and 
clocking in by changing TODO-state to 'STARTING' and then clock out by 
changing the items state to 'DONE' triggers an error.



My org setup is (setq debug-on-error t) and:

;; Think I have this from the manual:

(defun sr-org-todo-toggle-to-started()
  Start the clock, if the state of a todo item changes to 'STARTED'.
  (if(string= STARTED state)
  (org-clock-in)))

(setq org-after-todo-state-change-hook (quote (org-clock-out-if-current 
sr-org-todo-toggle-to-started))





To reproduce this bug, move to the end of file, hit

M-S-RET

To insert an TODO item

Don't add any text, not even a heading

Toggle it to 'STARTED' using S-RIGHT

Repeat, to toggle to 'DONE'


Debugger entered--Lisp error: (error Clock start time is gone)
  signal(error (Clock start time is gone))
  error(Clock start time is gone)
  byte-code()
  org-clock-out()
  org-clock-out-if-current()
  run-hooks(org-after-todo-state-change-hook)
  byte-code(..)
  org-todo(right)
  call-interactively(org-todo)
  org-shiftright()
  call-interactively(org-shiftright nil nil)


The item gets malformed after toggling to 'DONE' like this:


* DONE CLOCK: [2008-03-18 Di 03:10]
  CLOSED: [2008-03-18 Di 03:11]

Should be

* DONE
  CLOSED: [2008-03-18 Di 03:11]
  CLOCK: [2008-03-18 Di 03:10]--[2008-03-18 Di 03:11] =  0:01




Only in case the item is empty and at end of file, the :CLOCK is 
considered the heading. It's really a edge case :-)



Regards,

   Sebastian





begin:vcard
fn:Sebastian Rose
n:Rose;Sebastian
email;internet:[EMAIL PROTECTED]
title:Fachinformatiker/Anwendendungsentwicklung
tel;cell:+49 173 / 83 93 417
note;quoted-printable:Entwicklung  von Internetanwendungen und Programmen  mit  freien  Werkzeu=
	gen  und Bibliotheken.=0D=0A=
	=0D=0A=
	PHP, Java, C/C++,  Bash,  Perl,  Apache, MySQL,  PostgreSQL, xt::commerce=
	, Typo3, Server,  Netzwerk,  Desktop, Datenbank, gtkmm=0D=0A=
	
x-mozilla-html:FALSE
version:2.1
end:vcard

___
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] export to txt files

2008-03-17 Thread Dimitris Kapetanakis
THANKS EVERYBODY

I was looking at something like Hugo's response. It is a click away since it
saves under a heading.txt the next heading's text. I am trying to take a
look at it with my poor knowledge of Lisp.

2008/3/17, Hugo Schmitt [EMAIL PROTECTED]:

 Hm, I guess I sent this only to Dimitri... I'm resending it to the list..

 This seems to do what you want.


 (defun org-export-top-levels ()
   (interactive)
   (goto-char (point-min))
   (let (start (point))
(while (re-search-forward ^*  nil t)
  (write-region start (point-at-bol) (concat (org-get-heading)
 .txt))
  (setq start (point-at-bol)

 Regards,
 Hugo


 On Mon, Mar 17, 2008 at 4:43 PM, Daniel Clemente [EMAIL PROTECTED]
 wrote:
 
Mmmm... I wrote a program which can do this:
http://www.danielclemente.com/dislines/index.en.html
 
however it's not LISP.
I have written multilingual org files this way, but it's not
 comfortable since it requires several programs and processing phases. I am
 still looking for a solution in Emacs LISP, and if possible, one which
 integrates nicely with org-mode :-)
 
 
 
 
 

   ___
   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