[Orgmode] Re: Error "while: Stack overflow in regexp matcher"

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

> Can I give this thread a bump?  I still have the problem with not being able
> to share my `.emacs' file, and get to the last publishing step.
>
>> So, exactly the same problem when the file gets longer...

Any news about the HTMLize problem with long files?

Best regards,
  Seb

-- 
Sébastien Vauban



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


[Orgmode] File modification date

2009-08-20 Thread Sébastien Vauban
Hi,

I've always found the DATE header to be kind of useless, as it only indicates
the creation date of the file.

For me, it would be better if it would be the last edit date as it is the case
with the Emacs time-stamp.

Here a proposition to make this automagic:

--8<---cut here---start->8---
(add-hook 'org-mode-hook
  (lambda ()
(set (make-local-variable 'time-stamp-format) "%:y-%02m-%02d")
(set (make-local-variable 'time-stamp-start) "^#\\+DATE: +")
(set (make-local-variable 'time-stamp-end) "$")))
--8<---cut here---end--->8---

Of course, `time-stamp-format' may be changed according to your taste.

Shouldn't be such a thing be the default?

Seb

-- 
Sébastien Vauban



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


Re: [Orgmode] presentation and... first question

2009-08-20 Thread Carsten Dominik
It is the standard color scheme, with some extra colors for TODO  
keywords.


- Carsten

On Aug 19, 2009, at 10:57 AM, Godofredo Fdez. Requena wrote:


Hello.

I am Godo, and I am working with org-mode from one year ago. I would  
like to congratulate developers on their great effort.


The question: I used to work with a black background on emacs, but  
now, I would like to change to a white background... I have seen the  
capture screen on the site: http://orgmode.org/, so... does anyone  
know which color theme is that?


Thanks.
___
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] [patch] now possible to search for text in folded blocks

2009-08-20 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Aug 19, 2009, at 10:19 PM, Eric Schulte wrote:


Please apply, I don't *think* this can break anything. Thanks -- Eric

From f73d4b67c027209905dd90868d57440ceacdea28 Mon Sep 17 00:00:00 2001
From: Eric Schulte 
Date: Wed, 19 Aug 2009 15:17:09 -0600
Subject: [PATCH] now possible to search for text inside of folded  
blocks


---
lisp/org.el |   38 --
1 files changed, 24 insertions(+), 14 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index e2cdce8..14adeda 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5364,24 +5364,34 @@ the range."
(beginning-of-line)
(if (re-search-forward org-block-regexp nil t)
(let ((start (- (match-beginning 4) 1)) ;; beginning of body
-  (end (match-end 0))
- ov) ;; end of entire body
+  (end (match-end 0)) ;; end of entire body
+  ov)
  (if (memq t (mapcar (lambda (overlay)
(eq (org-overlay-get overlay  
'invisible)

-   'org-hide-block))
+'org-hide-block))
  (org-overlays-at start)))
- (if (or (not force) (eq force 'off))
- (mapc (lambda (ov)
- (when (member ov org-hide-block-overlays)
-   (setq org-hide-block-overlays
- (delq ov org-hide-block-overlays)))
- (when (eq (org-overlay-get ov 'invisible)
-   'org-hide-block)
-   (org-delete-overlay ov)))
-   (org-overlays-at start)))
-   (setq ov (org-make-overlay start end))
+  (if (or (not force) (eq force 'off))
+  (mapc (lambda (ov)
+  (when (member ov org-hide-block-overlays)
+(setq org-hide-block-overlays
+  (delq ov org-hide-block-overlays)))
+  (when (eq (org-overlay-get ov 'invisible)
+'org-hide-block)
+(org-delete-overlay ov)))
+(org-overlays-at start)))
+(setq ov (org-make-overlay start end))
(org-overlay-put ov 'invisible 'org-hide-block)
-   (push ov org-hide-block-overlays)))
+;; make the block accessible to isearch
+(org-overlay-put
+ ov 'isearch-open-invisible
+ (lambda (ov)
+   (when (member ov org-hide-block-overlays)
+ (setq org-hide-block-overlays
+   (delq ov org-hide-block-overlays)))
+   (when (eq (org-overlay-get ov 'invisible)
+ 'org-hide-block)
+ (org-delete-overlay ov
+(push ov org-hide-block-overlays)))
  (error "Not looking at a source block"

;; org-tab-after-check-for-cycling-hook
--
1.6.4.73.gc144

___
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] [patch] now possible to search for text in folded blocks

2009-08-20 Thread Yuva
hi,
  i've implemented a simple idea, but thought it could be done in a better
way. Need your feedback.
  At work, i am running emacs+org-mode on windoze-xp computer, and i am happy
with my setup. Whenever i am away from my computer, or i am off for the day,
i generally lock my workstation and just leave (I dont shut my system down).
The org-mode clock runs even when i am not doing anything. I want it to
switch it to default task when i am away. So, i developed a simple
application which makes use of 'emacsclientw' and sends messages to
emacs-server to notify the status of my workstation.

  Briefly, my setup is like this :

in my "orged.el"

-8<-8<--

;;-
;; for listening to windows-session events.
;;-


;; sets default task.
;; @todo make it more intutive
(require 'org-clock)
(set-marker org-clock-default-task
34 (find-file "~/orged/personal/personal.org"))


;; Custom org-win-lock and org-win-unlock functions.
(defun org-win-lock()
  "runs org-preferences when workstation gets locked
Switches to default task."
  (interactive)
  (find-file (buffer-file-name (marker-buffer org-clock-default-task)))
  (goto-char org-clock-default-task)
  (org-clock-in))

(defun org-win-unlock()
  "runs org-preferences when workstation gets un-locked
Switches to interrupted task."
  (interactive)
  (find-file (buffer-file-name (marker-buffer org-clock-interrupted-task)))
  (goto-char org-clock-default-task)
  (org-clock-in))

;; start the server and notification application.
(server-start)
(start-process
 "eval-a-exe" "buf-eval-a-exe" "~/sandbox/windows-lock-notif/a.exe")

-8<-8<--


  i also wrote a small application which polls on session events and send
messages to this emacs-server (see attachment).


My question is : Can it be done better?


main.c
Description: Binary data
___
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 get notifications about system lock/unlock on Windows machine?

2009-08-20 Thread Yuva
hi,
 i've implemented a simple idea, but thought it could be done in a better
way. Need your feedback.
 At work, i am running emacs+org-mode on windoze-xp computer, and i am happy
with my setup. Whenever i am away from my computer, or i am off for the day,
i generally lock my workstation and just leave (I dont shut my system down).
The org-mode clock runs even when i am not doing anything. I want it to
switch it to default task when i am away. So, i developed a simple
application which makes use of 'emacsclientw' and sends messages to
emacs-server to notify the status of my workstation.

 Briefly, my setup is like this :

in my "orged.el"

-8<-8<--

;;-
;; for listening to windows-session events.
;;-


;; sets default task.
;; @todo make it more intutive
(require 'org-clock)
(set-marker org-clock-default-task
           34 (find-file "~/orged/personal/personal.org"))


;; Custom org-win-lock and org-win-unlock functions.
(defun org-win-lock()
 "runs org-preferences when workstation gets locked
Switches to default task."
 (interactive)
 (find-file (buffer-file-name (marker-buffer org-clock-default-task)))
 (goto-char org-clock-default-task)
 (org-clock-in))

(defun org-win-unlock()
 "runs org-preferences when workstation gets un-locked
Switches to interrupted task."
 (interactive)
 (find-file (buffer-file-name (marker-buffer org-clock-interrupted-task)))
 (goto-char org-clock-default-task)
 (org-clock-in))

;; start the server and notification application.
(server-start)
(start-process
 "eval-a-exe" "buf-eval-a-exe" "~/sandbox/windows-lock-notif/a.exe")

-8<-8<--


 i also wrote a small application which polls on session events and send
messages to this emacs-server (see attachment).


My question is : Can it be done better?



-- 
YUVA


main.c
Description: Binary data
___
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] now possible to search for text in folded blocks

2009-08-20 Thread Yuva
On Thu, Aug 20, 2009 at 3:33 PM, Yuva wrote:
> hi,
>  i've implemented a simple idea, but thought it could be done in a better
[snip]

really sorry, i forgot to edit the subject. Please ignore my mail in
this thread.
;-(

-- 
YUVA


___
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] Faces bug in org-indent-mode

2009-08-20 Thread Jason F. McBrayer
There's a little problem with faces in org-indent-mode.  Faces that
highlight to the end of the line (hl-line-face, org-level-faces if
org-fontify-whole-header-line is on, etc) get carried over to the start
of text on the next line.  Faces like that are pretty rare, but I
thought I'd go ahead and report this.
-- 
+---+  
| Jason F. McBrayerjmcb...@carcosa.net  |  
| If someone conquers a thousand times a thousand others in |  
| battle, and someone else conquers himself, the latter one |  
| is the greatest of all conquerors.  --- The Dhammapada|  


___
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] Faces bug in org-indent-mode

2009-08-20 Thread Daniel Clemente

I don't know if it's the same as what you report, but I can see the same 
behaviour also in this file:


* something
aaa =eee
* two= *iii
ooo* uuu


  Open/close/expand/contract as needed. In my Emacs 23 with latest org I see it 
wrongly highlighted just after opening it (headings contracted):
  What I see wrong is:
- the „code“ face comprises =eee \n* two=
- the „bold“ face comprises *iii\nooo*
( \n = ⏎ = line break ). So both span past the end of the line. This only 
happens if the next line is consecutive (with no blank lines).

-- Daniel



El dj, ago 20 2009 a les 15:07, Jason F. McBrayer va escriure:
> There's a little problem with faces in org-indent-mode.  Faces that
> highlight to the end of the line (hl-line-face, org-level-faces if
> org-fontify-whole-header-line is on, etc) get carried over to the start
> of text on the next line.  Faces like that are pretty rare, but I
> thought I'd go ahead and report this.


___
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-tags-exclude-from-inheritance

2009-08-20 Thread Desmond Rivet
As this seems to have been fixed pretty recently (March 2009) it's
possible that the fix is not yet included in the version of emacs I'm
using.  I'll try installing the latest org-mode and see if the problem
goes away.

-- 
Desmond Rivet

Pain is weakness leaving the body.


___
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: Error "while: Stack overflow in regexp matcher"

2009-08-20 Thread Bastien
Sébastien Vauban  writes:

>> Can I give this thread a bump?  I still have the problem with not being able
>> to share my `.emacs' file, and get to the last publishing step.
>>
>>> So, exactly the same problem when the file gets longer...
>
> Any news about the HTMLize problem with long files?

Sorry no - some unexpected job constraints make me travel again, I
have to prepare this.  Maybe someone else can take this challenge?

Best,

-- 
 Bastien


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


[Orgmode] Re: Use remember to file an item to a list

2009-08-20 Thread Leo
On 2009-08-19 09:55 +0100, Bastien wrote:
> Hi Leo,
>
> Leo  writes:
>
>> I want to use a special org file to collect quotes. The file is special
>> in that it contains only a plain list. I want to use remember to quickly
>> file a quote to it but it seems this is not yet possible to do in
>> orgmode. I wonder if this feature is useful to have?
>
> For this I would have two files: the one with usual headlines, where
> you can remember your quotes, and another one where those headings are
> converted to list items. It shouldn't be hard to automate.
>
> Otherwise I don't understand how remembering a plain list would work,
> since remembering heavily relies on the target structure.

I finally decided to use bookmark to jump to the file quickly and insert
quotes directly.

-- 
Emacs uptime: 2 days, 23 hours, 47 minutes, 0 seconds


___
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] Use remember to file an item to a list

2009-08-20 Thread Carsten Dominik


On Aug 19, 2009, at 11:10 AM, Leo wrote:


Hi there,

I want to use a special org file to collect quotes. The file is  
special
in that it contains only a plain list. I want to use remember to  
quickly

file a quote to it but it seems this is not yet possible to do in
orgmode. I wonder if this feature is useful to have?


This was one of the plans for org-remember that James TD Smith was  
working on.

Maybe you can get him to release these changes :-)

- 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


Re: [Orgmode] org-tags-exclude-from-inheritance

2009-08-20 Thread Desmond Rivet
Desmond Rivet  writes:

> As this seems to have been fixed pretty recently (March 2009) it's
> possible that the fix is not yet included in the version of emacs I'm
> using.  I'll try installing the latest org-mode and see if the problem
> goes away.

Just tried Org 6.29c and the bug seems to be gone. Cool!

-- 
Desmond Rivet

Pain is weakness leaving the body.


___
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] Use remember to file an item to a list

2009-08-20 Thread John Rakestraw
Hi Alan --

> I have found a need for a remember template to add a row to a table
> in which I have been keeping a series of data on (for what it's
> worth) CPU and GPU temperatures.  This could be useful in a number of
> contexts.  A remember template would save some time, each time data
> is entered.

Not sure this is the best way, but I do this with a remember template
including prompts for properties (so, for example, you would have a
template prompting you for CPU temps Nd GPU temps), and then use
columnview to display the relevant information in columns.

See
http://orgmode.org/manual/Capturing-column-view.html#Capturing-column-view

Someday (When I Have Time) I'm going to investigate org-collector.el,
which I think might be better. But this is working for me now.

-- 
John Rakestraw


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


Re: [Orgmode] Use remember to file an item to a list

2009-08-20 Thread Alan E. Davis
I have found a need for a remember template to add a row to a table in which
I have been keeping a series of data on (for what it's worth) CPU and GPU
temperatures.  This could be useful in a number of contexts.  A remember
template would save some time, each time data is entered.

Perhaps there is another way?

Alan Davis

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

   Richard Feynman



On Fri, Aug 21, 2009 at 12:35 AM, Carsten Dominik  wrote:

>
> On Aug 19, 2009, at 11:10 AM, Leo wrote:
>
>  Hi there,
>>
>> I want to use a special org file to collect quotes. The file is special
>> in that it contains only a plain list. I want to use remember to quickly
>> file a quote to it but it seems this is not yet possible to do in
>> orgmode. I wonder if this feature is useful to have?
>>
>
> This was one of the plans for org-remember that James TD Smith was working
> on.
> Maybe you can get him to release these changes :-)
>
> - 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
>
___
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] clock *list*

2009-08-20 Thread meingbg
Sometimes I find myself in the need of a clocklist (or clock log if you
prefer) rather than a clock table, that is a list of the clock lines
(cutting out any text after the "^\ *CLOCK\:\ ") with the path added to the
end, ordered by the clock start time in decending order. It would be great
to have this feature as a dynamic block function, (defun
org-dblock-write:clocklist). The scope and block parameters from
clocktable would also be of great benefit. If the scope parameter is
implemented the path should probably be relative to that scope.

Below is an example of how I'd imagine the result. Is this a good idea at
all? Would it be hard to implement?

//meingbg


---BEGIN EXAMPLE ORG FILE---
* a
any clock lines under this heading are not included
* b
  CLOCK: [2009-08-20 Thu 12:53]--[2009-08-20 Thu 12:54] no colon
#+BEGIN: clocklist :scope tree :block 2009-08
[2009-08-20 Thu 12:58]--[2009-08-20 Thu 12:59] comment : d/f
[2009-08-20 Thu 12:56]--[2009-08-20 Thu 12:57] =>  0:01 : d/f
[2009-08-20 Thu 12:54]--[2009-08-20 Thu 12:55] =>  0:01 : d
[2009-08-20 Thu 12:53]--[2009-08-20 Thu 12:54] no colon
[2009-08-20 Thu 12:52]--[2009-08-20 Thu 12:53] =>  0:01 : c
[2009-08-20 Thu 12:50]--[2009-08-20 Thu 12:51] =>  0:01 : c
#+END
** c
   :CLOCK:
   CLOCK: [2009-08-20 Thu 12:52]--[2009-08-20 Thu 12:53] =>  0:01
   CLOCK: [2009-08-20 Thu 12:50]--[2009-08-20 Thu 12:51] =>  0:01
   :END:
text
** d
   CLOCK: [2009-08-20 Thu 12:54]--[2009-08-20 Thu 12:55] =>  0:01
*** f
:CLOCK:
CLOCK: [2009-08-20 Thu 12:58]--[2009-08-20 Thu 12:59] comment
CLOCK: [2009-08-20 Thu 12:56]--[2009-08-20 Thu 12:57] =>  0:01
:END:
---END EXAMPLE ORG FILE---
___
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 log "diary" or "journal" entries

2009-08-20 Thread meingbg
Christer,
I think what you want to do is similar to my "clock list" suggestion made to
the orgmode mailing list half an hour ago, only that I was looking for time
intervals rather than points in time. It's good to know I'm not the only one
looking for a feature of this kind.

Please look at my suggestion and tell how well it matches the feature you'd
like to see.

//meingbg

On Mon, Aug 17, 2009 at 7:58 PM, Christer Enfors  wrote:

> Hi. I discovered org-mode only last week, when I was looking around
> for Outline editors. It matched every last one of my requirements, and
> THEN some. It's awesome, as I'm sure you all know. As an added bonus,
> I can even access my outlines by connecting to my home machine through
> my phone's SSH client (my phone has a hardware keyboard and can fit
> 80x24 characters on the screen). And I've been using Emacs on and off
> since 1995, so it was a perfect fit for me. I am *blown away*.
>
> Anyway!
>
> When I work on items, I like to add little "log" or "diary" entries in
> the text, describing things that have happened or things that I've
> done. Like this:
>
> --
> * Get SAD 2.0.1 ready for shipping
> DEADLINE: 2009-08-21
> [2009-08-17 07:58] I've been asked to get 2.0.1 ready as soon as
> possible.
>
> ** DONE Fix errors in version 2.0.0
> CLOSED: [2009-08-17]
> - [X] Log file ownership and permissions
> - [X] Wrong permissions on /usr/local
> - [X] Admin menu inaccessible
> [2009-08-17 10:03] After some tinkering around, I managed to fix all
> bugs.
>
> ** TODO Test SAD 2.0.1
> I should test using the latest replication software. I can get that
> from Sven-Åke.
>
> [2009-08-17 10:33] I need to find a machine to test with.
>
> [2009-08-17 10:55] Found one! Carl says I can use his testing machine.
>
> [2009-08-17 15:25] Ok, testing done. Found some bugs to fix.
>
> --
>
> See? Interspersed with the "normal" outline text, I put little log
> notes, sometimes more than one per entry.
>
> Now for my actual question: I want to see all these comments, from all
> over the file in ONE place. Perhaps in the Agenda view? The timeline?
> Perhaps in emacs's diary? It wouldn't hurt if this view also showed
> when I had completed todos. The purpose of this would that I would be
> able to look back at a specific day in the past, to see what I did
> that day. This would be helpful when it's time to write the time
> report.
>
> Is this possible?
>
> --
> -=-=- Christer Enfors -=-=-
>
>   "I do my music in pure machine code using an assembler."
>- Rob Hubbard
>
>
> ___
> 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: agenda cycling

2009-08-20 Thread Samuel Wales
A minor correction.

On 2009-08-19, Samuel Wales  wrote:
> 1) folded
> 2) only the first subtask shows, with no indication
>that there are any other subtasks
> 3) same as 2

This of course shows body text.  But it is otherwise the same as 2.

> 4) everything except logbook
> 5) everything including logbook

I do believe that there are several interesting possibilities for
cycling in the outline (I have notes on this elsewhere).  But,
whatever cycling there is, I think that it is probably good to have
the same cycling functionality in the agenda and the outline for
consistency, with the possible exception of a one-window state in the
agenda.


___
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: [PATCH 0/2] org-version fix for windows

2009-08-20 Thread Bernt Hansen
Hi Carsten,

As it turns out these patches are okay.  Manish retested them on his
system today and they work.

Please apply.

Both of these commits are available at git://git.norang.ca/org-mode
for-carsten

Regards,
Bernt

PS: Manish> Thanks for testing!!

Bernt Hansen  writes:

> Carsten,
>
> Please do NOT apply these patches yet.  Manish reported a problem with
> them on his system.  I'll post improved ones tomorrow.
>
> Thanks,
> Bernt
>
>
> Bernt Hansen  writes:
>
>> Here are two patches which fix org-version for windows.
>>
>> This should handle cygwin and msysGit where git is installed for use
>> by the default Windows command shell.  This does not currently support
>> msysGit where git is not installed in the user's PATH.
>>
>> The series is available at git://git.norang.ca/org-mode for-carsten
>>
>> Bernt Hansen (2):
>>   Use lisp cd function to change directories to avoid shell
>> dependencies
>>   Skip git-version determination if git command fails
>>
>>  lisp/org.el |   42 +++---
>>  1 files changed, 23 insertions(+), 19 deletions(-)


___
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: [PATCH 0/2] org-version fix for windows

2009-08-20 Thread Carsten Dominik

Applied, thanks

- Carsten

On Aug 20, 2009, at 8:06 PM, Bernt Hansen wrote:


Hi Carsten,

As it turns out these patches are okay.  Manish retested them on his
system today and they work.

Please apply.

Both of these commits are available at git://git.norang.ca/org-mode
for-carsten

Regards,
Bernt

PS: Manish> Thanks for testing!!

Bernt Hansen  writes:


Carsten,

Please do NOT apply these patches yet.  Manish reported a problem  
with

them on his system.  I'll post improved ones tomorrow.

Thanks,
Bernt


Bernt Hansen  writes:


Here are two patches which fix org-version for windows.

This should handle cygwin and msysGit where git is installed for use
by the default Windows command shell.  This does not currently  
support

msysGit where git is not installed in the user's PATH.

The series is available at git://git.norang.ca/org-mode for-carsten

Bernt Hansen (2):
 Use lisp cd function to change directories to avoid shell
   dependencies
 Skip git-version determination if git command fails

lisp/org.el |   42 +++---
1 files changed, 23 insertions(+), 19 deletions(-)




___
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] Faces bug in org-indent-mode

2009-08-20 Thread Carsten Dominik

Hi,

that is an Emacs bug, not an Org-mode bug.

- Carsten

On Aug 20, 2009, at 2:07 PM, Jason F. McBrayer wrote:


There's a little problem with faces in org-indent-mode.  Faces that
highlight to the end of the line (hl-line-face, org-level-faces if
org-fontify-whole-header-line is on, etc) get carried over to the  
start

of text on the next line.  Faces like that are pretty rare, but I
thought I'd go ahead and report this.
--
+---+
| Jason F. McBrayerjmcb...@carcosa.net  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada|


___
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] Faces bug in org-indent-mode

2009-08-20 Thread Carsten Dominik

On Aug 20, 2009, at 2:34 PM, Daniel Clemente wrote:



I don't know if it's the same as what you report, but I can see the  
same behaviour also in this file:



* something
aaa =eee
* two= *iii
ooo* uuu


 Open/close/expand/contract as needed. In my Emacs 23 with latest  
org I see it wrongly highlighted just after opening it (headings  
contracted):

 What I see wrong is:
- the „code“ face comprises =eee \n* two=
- the „bold“ face comprises *iii\nooo*
( \n = ⏎ = line break ). So both span past the end of the line.  
This only happens if the next line is consecutive (with no blank  
lines).


Yes, this is kind of hard to fix..  And a minor issue, I guess... ?

- Carsten




-- Daniel



El dj, ago 20 2009 a les 15:07, Jason F. McBrayer va escriure:

There's a little problem with faces in org-indent-mode.  Faces that
highlight to the end of the line (hl-line-face, org-level-faces if
org-fontify-whole-header-line is on, etc) get carried over to the  
start

of text on the next line.  Faces like that are pretty rare, but I
thought I'd go ahead and report this.



___
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] File modification date

2009-08-20 Thread Carsten Dominik


On Aug 20, 2009, at 10:12 AM, Sébastien Vauban wrote:


Hi,

I've always found the DATE header to be kind of useless, as it only  
indicates

the creation date of the file.

For me, it would be better if it would be the last edit date as it  
is the case

with the Emacs time-stamp.

Here a proposition to make this automagic:

--8<---cut here---start->8---
(add-hook 'org-mode-hook
 (lambda ()
   (set (make-local-variable 'time-stamp-format) "%:y-%02m- 
%02d")
   (set (make-local-variable 'time-stamp-start) "^#\\+DATE:  
+")

   (set (make-local-variable 'time-stamp-end) "$")))
--8<---cut here---end--->8---

Of course, `time-stamp-format' may be changed according to your taste.

Shouldn't be such a thing be the default?



DATE was implemented exactly to specify a fixed date.  You can get
the modification date with

{{{modification-time(%Y-%m-%d)}}}

and the current date with

{{{date(%Y-%m-%d)}}}

These will be expanded upon export.  So you can, in fact, do

#+DATE: {{{modification-time(%Y-%m-%d)}}}

HTH

- 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] Minor nit - LaTeX header contents and footnotes

2009-08-20 Thread Nick Dokos
I define a LaTeX macro at the top of my document, like so:

,
| ...
| #+LATEX_HEADER: \newcommand{\rowstyle}[1]{\gdef\currentrowstyle{#1}%
| #+LATEX_HEADER:   #1\ignorespaces
| #+LATEX_HEADER: }
| ...
`

and export - I get the following inserted:

,
| ...
| \begin{document}
| 
| 
| 
| 
| 
| \$\^{}{1}\$ FOOTNOTE DEFINITION NOT FOUND: 1
| ...
`

Obviously, the macro argument spec is mistaken for a footnote.
 
Work-around: add a space like so:

#+LATEX_HEADER: \newcommand{\rowstyle}[ 1]{\gdef\currentrowstyle{#1}%

HTH,
Nick


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


[Orgmode] BEGIN_SRC

2009-08-20 Thread Kyle Sexton
Is it possible to have BEGIN_SRC use the mode for the programming
language within it's block? 

For example:

#+BEGIN_SRC emacs-lisp
; Treat this block with emacs-lisp-mode
#+END_SRC

My first thought is that this would require mmm-mode.  Anyone doing
something similar?


-- 
Kyle Sexton


___
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] BEGIN_SRC

2009-08-20 Thread Eric Schulte
Hi Kyle,

I tried this with MuMaMo-minor-mode a while back.  There is discussion
and some code available in the old email threads, see [1] and [2].

Unfortunately MuMaMo-minor-mode fought with Org-mode and the result was
too buggy to really use.  I believe the author of MuMaMo has been
intending a rewrite for some time now, so maybe after that occurs this
would be worth another try.

Best -- Eric

Kyle Sexton  writes:

> Is it possible to have BEGIN_SRC use the mode for the programming
> language within it's block? 
>
> For example:
>
> #+BEGIN_SRC emacs-lisp
> ; Treat this block with emacs-lisp-mode
> #+END_SRC
>
> My first thought is that this would require mmm-mode.  Anyone doing
> something similar?

Footnotes: 
[1]  http://article.gmane.org/gmane.emacs.orgmode/8112/

[2]  http://article.gmane.org/gmane.emacs.orgmode/12399/



___
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] File modification date

2009-08-20 Thread Eric S Fraga
At Thu, 20 Aug 2009 11:12:54 +0200,
Sébastien Vauban wrote:

> I've always found the DATE header to be kind of useless, as it only indicates
> the creation date of the file.

I agree completely and have typically used emacs's time-stamp as well
although I never thought of putting the settings into a hook (I
typically use emacs's own local variables for individual files)!
Thanks for that.


___
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: BEGIN_SRC

2009-08-20 Thread Bernt Hansen
Kyle Sexton  writes:

> Is it possible to have BEGIN_SRC use the mode for the programming
> language within it's block? 
>
> For example:
>
> #+BEGIN_SRC emacs-lisp
> ; Treat this block with emacs-lisp-mode
> #+END_SRC
>
> My first thought is that this would require mmm-mode.  Anyone doing
> something similar?

You probably know this already but just in case... you can use C-c '
inside the block and it switches to that mode with just the contents of
the block.  C-c ' gets out again.

-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: BEGIN_SRC

2009-08-20 Thread Kyle Sexton
At Thu, 20 Aug 2009 18:41:05 -0400,
Bernt Hansen  wrote:
> 
> Kyle Sexton  writes:
> 
> > Is it possible to have BEGIN_SRC use the mode for the programming
> > language within it's block? 
> >
> > For example:
> >
> > #+BEGIN_SRC emacs-lisp
> > ; Treat this block with emacs-lisp-mode
> > #+END_SRC
> >
> > My first thought is that this would require mmm-mode.  Anyone doing
> > something similar?
> 

Bernt,

Didn't know that trick and it's perfect for what I'm trying to do.

Thanks a bunch!

-- 
Kyle Sexton


___
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] Way to get agenda for a date?

2009-08-20 Thread David A. Gershman

Hello All,

Is there a way to enter a date and have the agenda show up?

i.e. (for me) C-caa shows me the current week's agenda
  C-u 1 C-caa brings up the current day's agenda

Is there a way to enter be prompted for a date, say:
  
   2009-08-20

or even select it from the calendar view and have that day's agenda come up?


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
"It's all about the path!" --d. gershman


___
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: Way to get agenda for a date?

2009-08-20 Thread Matt Lundin
At Thu, 20 Aug 2009 19:35:48 -0700 (PDT),
David A. Gershman wrote:
> 
> Is there a way to enter a date and have the agenda show up?
> 
> i.e. (for me) C-caa shows me the current week's agenda
>   C-u 1 C-caa brings up the current day's agenda
> 
> Is there a way to enter be prompted for a date, say:
>   
>2009-08-20

Have you tried hitting "j" in the agenda view?

> 
> or even select it from the calendar view and have that day's agenda come up?

Try hitting "c" in the calendar view.

Best,
Matt


___
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] autoload filed to load ical functions....I'm doing something wrong...

2009-08-20 Thread David A. Gershman

Hello Again,

I'm running Xubuntu 8.10 which has Emacs 22.2.1 which Org 6.29c says
will still work on with some restrictions (none of which were ical issues).

As root, I 'make'd and 'make installed' and loaded emacs verifying Org
6.29c was in fact in place.  When I issue a C-cC-ei to export an ical I
get the following error:

  Autoloading failed to define function org-export-icalendar-this-file

I get similar errors for '...all-agenda...' files.  It worked on m XP
*cough* box, why not here?

Thanks.


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
"It's all about the path!" --d. gershman


___
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] Way to get agenda for a date?

2009-08-20 Thread Nick Dokos
David A. Gershman  wrote:

> 
> Hello All,
> 
> Is there a way to enter a date and have the agenda show up?
> 
> i.e. (for me) C-caa shows me the current week's agenda
>   C-u 1 C-caa brings up the current day's agenda
> 
> Is there a way to enter be prompted for a date, say:
>   
>2009-08-20
> 
> or even select it from the calendar view and have that day's agenda come up?
> 

Matt pointed out the "j" key in the agenda already, but there is a useful
trick that I wanted to point out: C-h m will print out a description of 
whatever mode the buffer is in and that includes key bindings. It's a good
way to remind yourself about forgotten keybindings, but I also find that
it is helpful as an introduction to an unfamiliar mode.

HTH,
Nick


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