Re: [Orgmode] Re: Feature idea: Automatic clocking

2009-08-23 Thread Carsten Dominik

Hi

I am also very skeptical to automate something like this.  This is
a typical are where it is all about the discipline to establish a habit.
May experience is that if you cannot find the discipline to do it,
an automatic process might does *something* for you, but you are
not going to make any use of the collected data.


:-(

- Carsten

On Aug 21, 2009, at 8:26 PM, Bernt Hansen wrote:


PT spamfilteracco...@gmail.com writes:


I just started using clocking and it seems really useful. It
occured me it could also be done automatically for certain tasks
which are performed in the org buffer.

For example, I work on some text which I keep in an org subtree,
the branches of the subtree hold the chapters, etc.

If the main subtree which is the root of the document has a CLOCK
property (put there by a previous manual clocking) and also an
AUTOCLOCK or similar property then it could monitor if I modify
the text within the subtree and start the clock automatically. If
I stop modifying the subtree then after a while (say, 30 seconds,
configurable) it would stop the clock automatically.

So for subtrees explicitly marked for automatic clocking the user
wouldn't have to start/stop the clock manually at all, org could
do it itself.

What do you think?


Hi PT,

I've been using org-mode clocking since 2006-08-29 Tue 11:44 and I am
skeptical about how useful this would really be in the general case.

Most of my tasks involve *thinking* not just typing so stopping the
clock when I'm working on solving a problem would be bad.  I also  
clock

tasks while working on another machine which org-mode knows nothing
about so stopping the clock due to inactivity isn't appropriate.

I don't like the idea of automatic clocking for a number of reasons:

 - It lets you be sloppy about starting and stopping the clock --  
which

   means the clock won't be running for some task you are working on
   (say one that is not marked for automatic clocking).  This means
   you're going to work on stuff and not have it clocked when you need
   it to be at some point.  I bill based on clock time and it needs to
   be correct.

 - Clocking stuff in and out rigorously is a good habit to learn if
   clock data is really important to you.  Automatic clocking defeats
   this goal.

 - If you're clocking some important project task and you happen to
   touch the task marked for automatic clocking you'll clock out the
   project task and clock in the new task... and a short time later  
the

   clock stops when you move back to the project task but you're still
   really working on that original project task.

Clocking the right task usually takes more intelligence than just what
part of an org-file changes.

I have org-clock-out-when-done set to nil so that org-mode does not  
stop

the clock when a task is marked DONE.  This makes me responsible for
when the clock starts and stops for all tasks - I clock in and out for
everything that matters.  I change the clock when I switch tasks and I
think it's really hard to get that right automatically.

So there's my two cents :)

Regards,
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




___
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: skip-entry-if category

2009-08-23 Thread Carsten Dominik


On Aug 22, 2009, at 2:47 PM, Matt Lundin wrote:


Hi Memnon

Memnon Anon wrote:

However, there is one thing I am not able to figure out:

Using skipping, it is easy to limit my daily agenda to certain tags  
like:
(org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp  
:STUDIUM:


Is it possible to do the same with Categories?
I think there must be a way, but all my attempts did not work :(.


I believe this is not possible with the built in org agenda skip
functions, since they search only the text within the subtree and do
not recognize inherited tags and properties.

However, I suspect that one could build a skip function using
org-entry-properties that would accomplish this goal.


Much faster in this special case will be to use `org-get-category'
instead of accessing all properties of the entry with
org-entry-properties.

- 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] Anything like org-hide-others/org-close-others?

2009-08-23 Thread Carsten Dominik


On Aug 21, 2009, at 6:24 PM, Peter Jones wrote:


I'd like to have an interactive function that will return the entire
buffer to the outline state (all headings closed/folded), and then
reopen the heading at point.

Usually I'm working in one specific location in an org file.  I might
jump around and open a few other headings, then continue working in my
original heading.  At this point, the buffer seems a bit messy with  
most

headings closed except the one I'm working on and a few others I've
opened.

It would be nice to hit a key and close everything except the heading
I'm in.


How about

  S-TAB  C-c C-r

S-TAB goes to overview, and `C-c C-r' reveals the location of point.

If you need in on a single key, write a function that calls
`org-overview' and then `org-reveal'.



Is this something that is already in org and I'm missing it?  If not,
any pointers on how to implement something like this?

Thanks.

--
Peter Jones - 303-219-0226
pmade inc.  - http://pmade.com



___
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: autoload filed to load ical functions....more info

2009-08-23 Thread Carsten Dominik


On Aug 22, 2009, at 3:43 PM, David A. Gershman wrote:



Any thoughts on this?  I'm still stuck.  I have the same version of
emacs on both my desktop and laptop, same version of Org on both, and
same .emacs on both.  Yet on my laptop I get the errors but on my
desktop I don't.


Please read the installation section in the manual and extract from
it that you need to say

(require 'org-install)

in .emacs.

- Carsten



Crazy ideas welcome...


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






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




___
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-e skips incrementally to end of a long line

2009-08-23 Thread Alan E. Davis
Some time ago, I learned about a *feature* to allow C to go forward to the
end of the line BEFORE the tags, and similarly to enable that C-a in a
headline would only proceed to the beginning of the headline text, and not
to the absolute line beginning.

For a while, I have been suffering what appears to be a corollary of this:
C-e on any long line (possibly longer than a fill-column distance) skips by
increment of approximately a fill-column length, and C-e must be repeated
several times on a long line to get to the end.

This is somewhat annoying when using org-remember via org-protocol or
org-annotation-helper, that only yank text paragraphs as a long line.  I see
no rhyme or reason to the pattern of the skips.

Is this a bug in my setup?

My customized parameter for Org Special Ctrl A/E was set C-a and C-e
separately in the customize buffer.  When this variable is reset to after
stars/bullet and before tags first, the same thing seems to happen.

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
___
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] Feature idea: Automatic clocking

2009-08-23 Thread Bastien
Here is another approach to this auto-clocking question.

Maybe what you really want to track is not how much time you spend on a
specific task but rather how you distribute your time over the tasks.

In this case, you don't need to explicitely clock in and out.  You can
act as if a clock was always running¹ and then you register any action
you take on your Org file.  Working on this X task would just be an
action among others like switching task X from TODO state to NEXT,
closing task X, Archiving task X, Moving task X under Tree T, 
etc.

Thus, instead of automating the aggregation of clocked-in tasks, you
consider yourself always clocked in and you automate the logging of
stuff you do (from which you can extract clock information later.)

I guess this idea come closer to what Samuel had in mind when he talked
about profiling.

¹ Actually, astronomers from this list could tell us that the universe
  is such a running clock in itself :)

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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread waterloo
copy below in an org file:
 http://swift.siphos.be/linux_sea/

sea is denoted as subscript.


2009/8/23 Bastien bastiengue...@googlemail.com

 waterloo waterloo2...@gmail.com writes:

   But when link address includes `_' , `_' is always thought of as a
  math mode in latex.

 I cannot reproduce this - can you give an example?

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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread Bastien
waterloo waterloo2...@gmail.com writes:

  But when link address includes `_' , `_' is always thought of as a
 math mode in latex.

I cannot reproduce this - can you give an example?

-- 
 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: Preventing (or mitigating) accidental deletion in org-mode

2009-08-23 Thread Leo
On 2009-08-23 11:58 +0100, Nick Bell wrote:
 Org-mode is great and I'd like to commit to it. However, I'm held back
 by the apparent fragility of data stored in org-files. For example,
 it's easy to delete entire folded trees of data with just a couple of
 keystrokes or a mouse click.

This should not be a problem as long as you know how the undo in Emacs
works. You can even use browse-kill-ring¹ to see what you have deleted in
Emacs.

Footnotes: 
¹  http://www.emacswiki.org/emacs/BrowseKillRing
-- 
Emacs uptime: 5 days, 21 hours, 45 minutes, 22 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] About `_' in link address .

2009-08-23 Thread Bastien
waterloo waterloo2...@gmail.com writes:

 copy below in an org file:
  http://swift.siphos.be/linux_sea/

Works fine here.  I get this:

  \href{http://swift.siphos.be/linux_sea/}{http://swift.siphos.be/linux\_sea/}

Please provide more information:
  http://orgmode.org/org.html#Feedback

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


Re: [Orgmode] C-e skips incrementally to end of a long line

2009-08-23 Thread Bastien
Alan E. Davis lngn...@gmail.com writes:

 Some time ago, I learned about a *feature* to allow C to go forward to the end
 of the line BEFORE the tags, and similarly to enable that C-a in a headline
 would only proceed to the beginning of the headline text, and not to the
 absolute line beginning.

 For a while, I have been suffering what appears to be a corollary of this: C-e
 on any long line (possibly longer than a fill-column distance) skips by
 increment of approximately a fill-column length, and C-e must be repeated
 several times on a long line to get to the end. 

 This is somewhat annoying when using org-remember via org-protocol or
 org-annotation-helper, that only yank text paragraphs as a long line.  I see 
 no
 rhyme or reason to the pattern of the skips.

 Is this a bug in my setup?

No.  Try this in your .emacs.el :

(setq line-move-visual nil)

PS: this variable is on by default in Emacs 23, which annoys many users.

-- 
 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: Preventing (or mitigating) accidental deletion in org-mode

2009-08-23 Thread PT
Nick Bell mail at nickbell.org writes:

 
 Dear List,
 
 Org-mode is great and I'd like to commit to it. However, I'm held back
 by the  apparent fragility of  data stored in org-files.  For example,
 it's easy to delete entire folded  trees of data with just a couple of
 keystrokes or a mouse click.
 

This shouldn't be a big problem, because you have automatic
backup of your org and other files, right?

Combining this with the builtin undo and setting up Emacs' own
backup properly (http://www.emacswiki.org/emacs/ForceBackups)
makes any recent or older version of your org files easily
retrievable, so no information can be lost.




___
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: Preventing (or mitigating) accidental deletion in org-mode

2009-08-23 Thread Nick Bell

PT wrote:

Nick Bell mail at nickbell.org writes:

Org-mode is great and I'd like to commit to it. However, I'm held back
by the  apparent fragility of  data stored in org-files.  For example,
it's easy to delete entire folded  trees of data with just a couple of
keystrokes or a mouse click.

This shouldn't be a big problem, because you have automatic
backup of your org and other files, right?


Yes, I have, but I'd like something a bit better.

I'm trying to write a little function using before-save-hook to compare 
the current buffer to the saved version and output the result of 
diffstat, asking the user whether they want to go ahead with the save or 
view the full diff. Or has someone done something like this before?


I suppose one could do this with some kind of before-change- type 
function if feeling particularly paranoid.


--
Nick Bell



___
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: Preventing (or mitigating) accidental deletion in org-mode

2009-08-23 Thread Andrew Stribblehill
2009/8/23 Leo sdl@gmail.com:
 On 2009-08-23 11:58 +0100, Nick Bell wrote:
 Org-mode is great and I'd like to commit to it. However, I'm held back
 by the apparent fragility of data stored in org-files. For example,
 it's easy to delete entire folded trees of data with just a couple of
 keystrokes or a mouse click.

 This should not be a problem as long as you know how the undo in Emacs
 works. You can even use browse-kill-ring¹ to see what you have deleted in
 Emacs.

...Provided you know that you killed something you didn't intend to.
However, it's easy to kill a tree without noticing it had content.

Maybe we could augment org-kill-line with some optional facility that
checks that it doesn't encompass a collapsed section -- or less
intrusively, emits a message saying it's killed a collapsed section.
I'm having a hard time seeing how to code it though.


___
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] About `_' in link address .

2009-08-23 Thread waterloo
I mean when I export to html the `sea' become subscript.

2009/8/23 Bastien bastiengue...@googlemail.com

 waterloo waterloo2...@gmail.com writes:

  copy below in an org file:
   http://swift.siphos.be/linux_sea/

 Works fine here.  I get this:

  
 \href{http://swift.siphos.be/linux_sea/}{http://swift.siphos.be/linuxhttp://swift.siphos.be/linux_sea/%7D%7Bhttp://swift.siphos.be/linux
 \_sea/}

 Please provide more information:
  http://orgmode.org/org.html#Feedback

 --
  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: Preventing (or mitigating) accidental deletion in org-mode

2009-08-23 Thread Leo
On 2009-08-23 13:27 +0100, Nick Bell wrote:
 I'm trying to write a little function using before-save-hook to
 compare the current buffer to the saved version and output the result
 of diffstat, asking the user whether they want to go ahead with the
 save or view the full diff. Or has someone done something like this
 before?

See diff-buffer-with-file.

-- 
Emacs uptime: 5 days, 22 hours, 23 minutes, 6 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] About `_' in link address .

2009-08-23 Thread Bastien
waterloo waterloo2...@gmail.com writes:

 I mean when I export to html the `sea' become subscript.

I cannot reproduce this.

Your first email didn't mention that you wanted to export to HTML, 
and it mentioned the LaTeX math mode...

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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread waterloo
Sorry .

When I copy `http://swift.siphos.be/linux_sea/ ' to an org file , it was
transformed to a link.
After I export that file to html , I find `sea' in that link is subscript.
It should be normal scale.

This is because in org `_' was recognized as Latex command.

I recommand that in link we should disable the function of `_' .




2009/8/23 Bastien bastiengue...@googlemail.com

 waterloo waterloo2...@gmail.com writes:

  I mean when I export to html the `sea' become subscript.

 I cannot reproduce this.

 Your first email didn't mention that you wanted to export to HTML,
 and it mentioned the LaTeX math mode...

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


Re: [Orgmode] Re: Preventing (or mitigating) accidental deletion in org-mode

2009-08-23 Thread Nick Bell

Leo wrote:

On 2009-08-23 13:27 +0100, Nick Bell wrote:

I'm trying to write a little function using before-save-hook to
compare the current buffer to the saved version and output the result
of diffstat, asking the user whether they want to go ahead with the
save or view the full diff. Or has someone done something like this
before?


See diff-buffer-with-file.


Yes, that was the idea. I was going to hook a function into 
before-save-hook which does pipe diff -u $1 $2 | diffstat and  show the 
result in some kind of minibuffer. Not sure how to set $1 and $2 (in 
fact, I've never written any elisp at all). I don't suppose anyone could 
whip up the code in a moment or two? ;-)


Nick

--
Nick Bell


___
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] Add 2 customizations to org-annotation-helper: template-shortcut, auto-finalize-remember

2009-08-23 Thread Carsten Dominik


Hi

It is my feeling that org-annotation-helper is largely a subset
of what org-protocol does.  Would it not be useful to merge this
new functionality into org-protocol.el?

- Carsten

On Aug 20, 2009, at 3:33 PM, Gaizka Villate wrote:


Hi there!

I have added a couple of customization variables to org-annotation- 
helper:


   Add 2 customizations to org-annotation-helper: template-shortcut,  
auto-finalize-remember


   - org-annotation-helper-template-shortcut : So you can choose which
 shortcut to use with org-annotation (I already use ?w for work
 template)

   - org-annotation-helper-auto-finalize-remember:
 Set to true if you want org-annotation-helper to call org- 
remember-finalize after filling the template.



Maybe somebody is interested in applying the patch.

¡¡Thanks for org-mode!! ¡¡It's awesome!!

-- Gaizka
0001-Add-2-customizations-to-org-annotation-helper- 
templ.patch___

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] Format of headings spanning days in agenda day/week view

2009-08-23 Thread Nick Bell

At present they look like this:

(1/2):  John's Event 2009-09-03 Thu--2009-09-04 Fri

I would rather the 2009-09-03 Thu--2009-09-04 Fri was missed off 
entirely as it's obvious from the agenda when the dates are.


Also, I'm using custom time formats which these events spanning days 
don't seem to take with them to agenda views (but as I said I'd rather 
the days/times were missed off entirely)


Is there any way of doing this?

Thanks

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


Re: [Orgmode] Preventing (or mitigating) accidental deletion in org-mode

2009-08-23 Thread Sebastian Rose
Nick Bell m...@nickbell.org writes:
 It there any way I can confirm all deletions of significant amounts of
 data?

 I've  tried wimpy-del.el http://www.emacswiki.org/emacs/wimpy-del.el
 but,  although  it  seems  to  work when  called  directly  (e.g.  M-x
 kill-region-wimpy)  it  doesn't intercept  all  other functions  which
 might cause data deletion.

Re-bind keys like C-w et al in org-mode-hook?


Untested:


(defun org/wimpy-kill-setup ()
  Re-bind keys, that remove a significant amount of data.
  (define-key org-mode-map [(control ?w)] 'kill-region-wimpy)
  ;; ...
)

(add-hook 'org-mode-hook 'org-/wimpy-kill-setup)



  Sebastian


___
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] Add 2 customizations to org-annotation-helper: template-shortcut, auto-finalize-remember

2009-08-23 Thread Sebastian Rose
Carsten Dominik carsten.domi...@gmail.com writes:
 Hi

 It is my feeling that org-annotation-helper is largely a subset
 of what org-protocol does.  Would it not be useful to merge this
 new functionality into org-protocol.el?


org-annotation-helper is part of org-protocol.el - that's why the
authors of org-annotation-helper.el are mentioned in the head of
org-protocol.el. It was what I started from actually.

The functionality is included there (unless I missed something).

 
  Sebastian


___
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] About `_' in link address .

2009-08-23 Thread Mark Elston

waterloo wrote:

Sorry .

When I copy `http://swift.siphos.be/linux_sea/ ' to an org file , it was 
transformed to a link.
After I export that file to html , I find `sea' in that link is 
subscript. It should be normal scale.


This is because in org `_' was recognized as Latex command.

I recommand that in link we should disable the function of `_' .




I can reproduce this, though I am not sure what the reason for it is.

GNU Emacs 22.3.1, Org-mode version 6.29trans
(release_6.29c.55.ga48f.dirty)


Mark


___
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] Why does open time still show?

2009-08-23 Thread Carsten Dominik

Hi David,

On Aug 19, 2009, at 2:56 AM, David A. Gershman wrote:



Hi All,

I have my agenda as:

Tuesday18 August 2009
   [...removed for simplicity...]
 reference:  19:25-19:40 Stuff
 reference:  19:40-20:00 Stuff
 20:00.. 
 reference:  21:00-21:45 Stuff
 reference:  21:45-22:00 Stuff
 dag:22:00-23:00 Stuff
 22:00.. 
 reference:  23:00-23:30 Stuff
 reference:  23:30-23:45 Stuff

As you can see there is nothing from 20:00-21:00 so I have the
'' marker.  But why does the marker still show up for  
22:00

even though I have 'Stuff' set for 22:00-23:00?



Because we have so far not bothered to implement this in a better
way.  The only times that are removed are times where there is an
item starting on that time.

The reason why I did not go further with this is this:

If we are going to changes this, then is should be to a
interface with visually indicates the actual duration of
items in the time grid.  This is complex, and I do not
really know how to do this without a lot of effort.

- 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] Custom agenda question

2009-08-23 Thread Carsten Dominik


On Aug 19, 2009, at 11:59 AM, Manish wrote:


On Wed, Aug 19, 2009 at 3:04 PM, Carsten Dominik wrote:


On Aug 19, 2009, at 3:44 AM, Anthony Fairchild wrote:


Hi,

Is there a way to get the text underneath a todo heading to show  
up in the

agenda screen?


No this is not possible.


It would be real nice to be able to toggle the effect of
org-agenda-add-entry-text-maxlines even in agenda view.  Follow mode  
is not
exactly the same thing because when turning it off it leaves the  
window behind

which has to be killed with C-x 1.


You can also kill the window with o, a bit easier.


But since we have it already working for
printing agenda and not for screen display, I am sure there are  
sufficient

reasons behind it.  But then it's Org mode -- anything is possible. :)



For me, the reason is that the agenda should be compact, as
much as possible.

- 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] can't see emphasized text in org

2009-08-23 Thread Daniel Goldin

Non-programmer-type can't see markup like /this/ as emphasized. I looked 
through manual and searched web but found no answer.  Any thoughts?

d.

--
Daniel Goldin 
213.926.1960



___
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] Preventing (or mitigating) accidental deletion in org-mode

2009-08-23 Thread Russell Adams
You're recreating what version control is for.

I have my org-files setup in a Bazaar repo, and if any changes were
made it auto-commits hourly via cron. I can also manually commit.

Prior to committing, I can press C-x v = to see a diff of what has
changes, and the Bazaar tools make it easy to step backward through
the history to see changes.

Version control is your backup and your protection against data loss.

On Sun, Aug 23, 2009 at 04:39:16PM +0200, Sebastian Rose wrote:
 Nick Bell m...@nickbell.org writes:
  It there any way I can confirm all deletions of significant amounts of
  data?
 
  I've  tried wimpy-del.el http://www.emacswiki.org/emacs/wimpy-del.el
  but,  although  it  seems  to  work when  called  directly  (e.g.  M-x
  kill-region-wimpy)  it  doesn't intercept  all  other functions  which
  might cause data deletion.
 
 Re-bind keys like C-w et al in org-mode-hook?
 
 
 Untested:
 
 
 (defun org/wimpy-kill-setup ()
   Re-bind keys, that remove a significant amount of data.
   (define-key org-mode-map [(control ?w)] 'kill-region-wimpy)
   ;; ...
 )
 
 (add-hook 'org-mode-hook 'org-/wimpy-kill-setup)
 
 
 
   Sebastian
 
 
 ___
 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
 


--
Russell Adamsrlad...@adamsinfoserv.com

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] can't see emphasized text in org

2009-08-23 Thread Nick Bell

Daniel Goldin wrote:
Non-programmer-type can't see markup like /this/ as emphasized. I looked 
through manual and searched web but found no answer.  Any thoughts?
Are you using a font which has a separate italic form? Try switching to 
a font which you know does, such as Courier New.


Now wait for an expert to come along.


___
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] Preventing (or mitigating) accidental deletion in org-mode

2009-08-23 Thread Nick Bell

Russell Adams wrote:

You're recreating what version control is for.


I don't need all the functionality of version control, just a check 
against the last saved version to make sure I haven't inadvertently 
deleted too much.


I've used Hg and bzr in the past and they work fine but I don't think I 
need them for this.



Version control is your backup and your protection against data loss.


It's *a* form of backup. Another might be more appropriate.

Thanks for the input

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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread Nick Dokos
waterloo waterloo2...@gmail.com wrote:

 Sorry ,  And Thanks .
 
 I will say it more detailedly.
 
 Yes ,  copy the link to org file and export to html , the link works( it can 
 link to that web page).
 
 Please see the link in html .
 
 The word `sea' in link is smaller than other characters of links.
 
 That is because ` _ '  is used as math subscript ( just like: \sum_0^{100} ) .
 
 I recommand in link like this `_' does not take effect of math subscript.
 

You can use 

,
| #+OPTIONS: ^: nil
| 
| * http://swift.siphos.be/linux_sea/
| 
| a_b
`

to turn off the super/subscript magic in the file (or customize
org-export-with-sub-superscripts to turn it on/off globally).

If you want to mix and match in the same file, you can use

,
| #+OPTIONS: ^:{}
| 
| * http://swift.siphos.be/linux_sea/
| 
| a_{b}
`

Only the a_{b} construct will undergo sub/super magic.

See section 12.3 Export options of the Org-mode manual.

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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread waterloo
I just want to disable this function in link address .
I think  this is more suitble .
How to do it ?
Thanks

2009/8/24 Nick Dokos nicholas.do...@hp.com

 waterloo waterloo2...@gmail.com wrote:

  Sorry ,  And Thanks .
 
  I will say it more detailedly.
 
  Yes ,  copy the link to org file and export to html , the link works( it
 can link to that web page).
 
  Please see the link in html .
 
  The word `sea' in link is smaller than other characters of links.
 
  That is because ` _ '  is used as math subscript ( just like:
 \sum_0^{100} ) .
 
  I recommand in link like this `_' does not take effect of math subscript.
 

 You can use

 ,
 | #+OPTIONS: ^: nil
 |
 | * http://swift.siphos.be/linux_sea/
 |
 | a_b
 `

 to turn off the super/subscript magic in the file (or customize
 org-export-with-sub-superscripts to turn it on/off globally).

 If you want to mix and match in the same file, you can use

 ,
 | #+OPTIONS: ^:{}
 |
 | * http://swift.siphos.be/linux_sea/
 |
 | a_{b}
 `

 Only the a_{b} construct will undergo sub/super magic.

 See section 12.3 Export options of the Org-mode manual.

 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


Re: [Orgmode] Format of headings spanning days in agenda day/week view

2009-08-23 Thread Chris Leyon
On Sun, Aug 23, 2009 at 10:17, Nick Bellm...@nickbell.org wrote:
 At present they look like this:

        (1/2):  John's Event 2009-09-03 Thu--2009-09-04 Fri

 I would rather the 2009-09-03 Thu--2009-09-04 Fri was missed off
 entirely as it's obvious from the agenda when the dates are.
 Nick

In my experience, putting the timestamp range on a separate line,
though still part of the entry, will do what you want.


___
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] About `_' in link address .

2009-08-23 Thread waterloo
revise the lisp code of org mode .
I think this should be fixed.

2009/8/24 Nick Dokos nicholas.do...@hp.com

 waterloo waterloo2...@gmail.com wrote:

  I just want to disable this function in link address .
  I think  this is more suitble .
  How to do it ?
  Thanks
 

 AFAIK, it's not possible to disable sub/super magic just inside
 links.

 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


Re: [Orgmode] About `_' in link address .

2009-08-23 Thread Nick Dokos
waterloo waterloo2...@gmail.com wrote:

 revise the lisp code of org mode .
 I think this should be fixed.
 

I disagree, but that is not my call: Carsten is the ultimate arbiter and
he might (or might not) decide to change the behavior. In the meantime,
instead of demanding changes, why don't you develop a solution that you
like, carry it in your tree for a while, and test it to make sure that
it not only works in this case, but also does not break *anything else*?
Then send a patch to the mailing list.






___
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] can't see emphasized text in org

2009-08-23 Thread Daniel Goldin

Doesn't help, I'm afraid.

On Sun, 23 Aug 2009, Nick Bell wrote:


Daniel Goldin wrote:
Non-programmer-type can't see markup like /this/ as emphasized. I 
looked through manual and searched web but found no answer.  Any 
thoughts?
Are you using a font which has a separate italic form? Try switching to  
a font which you know does, such as Courier New.


Now wait for an expert to come along.


___
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


--
Daniel Goldin 
213.926.1960



___
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] Format of headings spanning days in agenda day/week view

2009-08-23 Thread Nick Bell

Chris Leyon wrote:

On Sun, Aug 23, 2009 at 10:17, Nick Bellm...@nickbell.org wrote:

At present they look like this:

   (1/2):  John's Event 2009-09-03 Thu--2009-09-04 Fri

I would rather the 2009-09-03 Thu--2009-09-04 Fri was missed off
entirely as it's obvious from the agenda when the dates are.
Nick


In my experience, putting the timestamp range on a separate line,
though still part of the entry, will do what you want.


Perfect, 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


[Orgmode] time profiling and other meta-analytic commands (was automatic clocking)

2009-08-23 Thread Samuel Wales
My idea, which might or might not meet the automatic clocking thread's
OP's need, should be called time profiling to avoid confusion.

The idea is to figure out where in the outline hierarchy you
spend your time, in an approximate fashion, much like
profiling code. This is done

  - without polluting the numerous entries with LOGBOOK drawers
  - without the need to clock in and out of hundreds of tasks
  - with exheritance (that is, times get summed up the hierarchy)

It is only one example of a general class of possible
commands that do meta-analysis of the way you use org.
Other members of this class might include

  1) rate measurement, where we display how rapidly you add
 tasks vs. dispose of them on average over a period of
 time.  For example, if you add 10 tasks per day, but
 only mark 5 tasks per day as done, your rate is 0.5.
 This could even be charted.  X axis is time.
  2) design element utilization, where we display,
 numerically, how often you use each todo keyword, tag,
 priority, etc.  If you almost never use a todo keyword,
 it might or might not be useful.  You might discover
 that you are being lazy by marking everything TODO
 instead of using more specific todo keywords.
  3) todo state transition utilization.  Draw a nice
 graph-theoretical chart.
  4) space profiling, where we do something like the du
 command in Unix, counting the subtrees that are large
 recursively.
  5) linting, where we check for integrity of the outline
 tree, checking that all nodes have parents, aligning
 tags, enforcing indentation preferences, etc.

-- 
Myalgic encephalomyelitis causes death (Jason et al. 2006)
and severe suffering.  Conflicts of interest are destroying
research. What people know is wrong. Silence = death.
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


Re: [Orgmode] can't see emphasized text in org

2009-08-23 Thread Nick Dokos
Daniel Goldin danielgol...@gmail.com wrote:

 On Sun, 23 Aug 2009, Nick Bell wrote:
 
  Daniel Goldin wrote:
  Non-programmer-type can't see markup like /this/ as emphasized. I
  looked through manual and searched web but found no answer.  Any
  thoughts?
  Are you using a font which has a separate italic form? Try switching
  to  a font which you know does, such as Courier New.
 
  Now wait for an expert to come along.
 
 Doesn't help, I'm afraid.

 
I've seen this problem before and I never chased it down but when I saw
Nick Bell's idea, I figured that's got to be it. It *almost* works
but not quite (as Daniel found out).

If you enter /italic/ in an org buffer, place your cursor in there and
say M-x describe-text-properties, you get:

,
| Text content at position 48:
| 
| 
| There are text properties here:
|   face (italic)
|   font-lock-multiline  t
|   fontifiedt
`

You can then M-x describe-face italic RET. For me, that had
the :underline attribute set, and the :slant attribute unset.
If you customize the face, set the :slant attribute (e.g. to italic)
and unset the :underline attribute and *then* change to a font that
provides an italic form, then /italic/ is indeed italicized.

The problem seems to be in faces.el:

,
| (defface italic
|   'supports :slant italic))
|  :slant italic)
| (((supports :underline t))
|  :underline t)
| (t
|  ;; default to italic, even it doesn't appear to be supported,
|  ;; because in some cases the display engine will do it's own
|  ;; workaround (to `dim' on ttys)
|  :slant italic))
|   Basic italic face.
|   :group 'basic-faces)
`

which apparently looked at my default font[1], found that it does not
support italics but does support underlines and set the attributes
accordingly. *Why* it falls back to underlining is probably a question
that should be addressed to the emacs developers, but it looks like
a bug to me (hence copied to the emacs bugs list - version info appended[2])

HTH,
Nick

[1] I have

(set-default-font -misc-fixed-medium-r-normal--15-120-100-100-c-90-iso8859-1)

in my .emacs. I think this is what used to be called 9x15 at some point in
the past, but I'm really not sure.


[2] Version info:

GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-08-09 on 
gamaville.dokosmarshall.org
Org-mode version 6.29trans (release_6.29c.55.ga48f)


___
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] can't see emphasized text in org

2009-08-23 Thread Bastien
Nick Dokos nicholas.do...@hp.com writes:

 *Why* it falls back to underlining is probably a question
 that should be addressed to the emacs developers, but it looks like
 a bug to me (hence copied to the emacs bugs list - version info
 appended[2])

Wow, thanks for tracking this down!

I'm not sure I would consider the fallback on underline a bug.
As I understand it, the italic face is equivalent to the LaTeX
emphasize -- which means that the font has to be more readable
in any fashion, either by slanting the text or by underlining it.

This is an incorrect use of italic but I guess fixing this would 
break things backward.

Thanks again for the helpful information,

-- 
 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] Will using org-tags-exclude-from-inheritance make org run slower?

2009-08-23 Thread Samuel Wales
Will using org-tags-exclude-from-inheritance make org run slower?

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


Re: [Orgmode] can't see emphasized text in org

2009-08-23 Thread Nick Dokos
Bastien bastiengue...@googlemail.com wrote:

 Nick Dokos nicholas.do...@hp.com writes:
 
  *Why* it falls back to underlining is probably a question
  that should be addressed to the emacs developers, but it looks like
  a bug to me (hence copied to the emacs bugs list - version info
  appended[2])
 
 
 I'm not sure I would consider the fallback on underline a bug.
 As I understand it, the italic face is equivalent to the LaTeX
 emphasize -- which means that the font has to be more readable
 in any fashion, either by slanting the text or by underlining it.
 
 This is an incorrect use of italic but I guess fixing this would 
 break things backward.
 

Yes, you may very well be right. I just thought I'd let the emacs
developers know about the possible confusion and deal with it as
they see fit. Maybe they'll choose to do nothing.

Nick

PS. BTW, I've deleted emacs-bugs from the CC list in this message, but
it's still in Bastien's message. Be careful about reply-all: you might
end up creating emacs bugs with every response. 

Also, btw, the bug report is at

  http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4242


___
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] Custom agenda question

2009-08-23 Thread Manish
On Sun, Aug 23, 2009 at 10:27 PM, Carsten Dominik wrote:

 On Aug 19, 2009, at 11:59 AM, Manish wrote:

 On Wed, Aug 19, 2009 at 3:04 PM, Carsten Dominik wrote:

 On Aug 19, 2009, at 3:44 AM, Anthony Fairchild wrote:

 Hi,

 Is there a way to get the text underneath a todo heading to show up in
 the
 agenda screen?

 No this is not possible.

 It would be real nice to be able to toggle the effect of
 org-agenda-add-entry-text-maxlines even in agenda view. Follow mode is
 not
 exactly the same thing because when turning it off it leaves the window
 behind
 which has to be killed with C-x 1.

 You can also kill the window with o, a bit easier.

Oh, yes.  I had forgotten about this.  Thanks.



 But since we have it already working for
 printing agenda and not for screen display, I am sure there are sufficient
 reasons behind it. But then it's Org mode -- anything is possible. :)


 For me, the reason is that the agenda should be compact, as
 much as possible.

Once you've got your agenda organized right with todo's in order etc. then
it's just a little disruptive to go anywhere else for a little extra detail to
get some more context.  But I agree agenda should be as compact as
possible.. may be the extra lines could be a toggle switch?

-- 
Manish


___
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] Gnus link bug

2009-08-23 Thread Bastien
Hi Leo,

Leo sdl@gmail.com writes:

 I haven't used org to store links from Gnus for almost two years and
 today I tried it again and found at least one annoying bug.

 In the summary buffer, calling org-store-link will display the article
 buffer which is uncalled for. It also causes visual disturbance as well
 as asks Gnus to download the article while all the information required
 is already available.

Should be fixed now in git, please try it.

 Possible solution (not real patch):

 In Gnus summary buffer the header of each article is already downloaded
 and can be obtained by (gnus-summary-article-header). To get the mid,
 use (mail-header-id (gnus-summary-article-header)).

I followed your suggestion, but only for when we are in the summary
buffer, as I found out that the output of `gnus-summary-article-header'
in the article buffer is not very reliable.

 Could Carsten or Tassilo use that in org-gnus? Thank you.

Please Gnus army test it!

Thanks,

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


Re: [Orgmode] Please test org-indent-mode

2009-08-23 Thread Manish
On Fri, Aug 21, 2009 at 11:45 AM, Carsten Dominik wrote:
 Hi everyone,

 this is only relevant for people who use the latest CVS Emacs.
 If you do that, please consider doing some testing of the new
 org-indent-mode which establishes the clean outline view
 without any by-hand indentation.

 Emacs 23.1 did still crashes occasionally with this new mode, due to
 a bug in the Emacs display engine. But I have, during the last week,
 used this new mode without problems, with the latest CVS.
 And I *loved* it, so I would like to have it tested more and then
 advertise it more.

It appears to add an extra level of indentation to subheadings.

When you do S-right on the second heading in the outline below.

,
| * This is heading one.
|   This is some text.
| * This is heading one point one.
`

It turns into this:

,
| * This is heading one.
|   This is some text.
| * This is heading one point one.
`

-- 
Manish
PS: I have added two spaces at the beginning of line no. 2 and 3 to make it
appear like it does in Org Ind buffer.
PPS: I use oddlevels.


___
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] Percent signs in org-remember-templates

2009-08-23 Thread Desmond Rivet
Hi all,

I'm attempting to use the remember package to insert a diary-sexp into a
file for use by the org-mode agenda.  It looks like this;

%%(diary-remind '(diary-date  %^{Month} %^{Day} t) -%^{Remind days}) %^{Brief 
Description}%?

The double percent at the beginning is causing problems.  Is there any
way to escape the percent signs?

-- 
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] Will using org-tags-exclude-from-inheritance make org run slower?

2009-08-23 Thread Carsten Dominik


On Aug 24, 2009, at 1:10 AM, Samuel Wales wrote:


Will using org-tags-exclude-from-inheritance make org run slower?


A bit, during agenda searches.  But I'd expect this t be a
minor effect.

- 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] Percent signs in org-remember-templates

2009-08-23 Thread Carsten Dominik


On Aug 24, 2009, at 3:27 AM, Desmond Rivet wrote:


Hi all,

I'm attempting to use the remember package to insert a diary-sexp  
into a

file for use by the org-mode agenda.  It looks like this;

%%(diary-remind '(diary-date  %^{Month} %^{Day} t) -%^{Remind days})  
%^{Brief Description}%?


The double percent at the beginning is causing problems.  Is there any
way to escape the percent signs?


Hi Desmond,

Please pull from git, and then escape like this:

%\%(diary-remind '(diary-date  %^{Month} %^{Day} t) -%^{Remind days})  
%^{Brief Description}%?



HTH

- Carsten




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




___
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] Making an org file more readable

2009-08-23 Thread PT
My main gripe with org is that the appearance is too
crowded. Even if the header lines have different colors the
individual projects and sections I keep in the file have no visual
separation between them. For example, sometimes I'd like to add
empty lines after a header, so there is some visual space before
the next header begins. The problem is the empty lines at the end
of the content are folded too when the content is folded.

I know it's more of an outline issue than an org issue, but I ask
here nevertheless: did anyone find a good way to separate the
headers from each other in a big org file visually, so it is more
readable?




___
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] Making an org file more readable

2009-08-23 Thread Nick Dokos
PT spamfilteracco...@gmail.com wrote:

 My main gripe with org is that the appearance is too
 crowded. Even if the header lines have different colors the
 individual projects and sections I keep in the file have no visual
 separation between them. For example, sometimes I'd like to add
 empty lines after a header, so there is some visual space before
 the next header begins. The problem is the empty lines at the end
 of the content are folded too when the content is folded.
 
 I know it's more of an outline issue than an org issue, but I ask
 here nevertheless: did anyone find a good way to separate the
 headers from each other in a big org file visually, so it is more
 readable?
 

You *can* get an empty line between two headers by having two empty lines at
the end of the first section: the first empty line is considered part of
the section and is folded with it, but the second one remains. E.g.


,
| 
| * foo
| This is a test.
| ** baz
| and another
| 
| 
| ** hunoz
| and one more
| 
| 
| * bar
`

When you fold it, it becomes

,
| 
| * foo...
| 
| * bar
`

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] Re: Making an org file more readable

2009-08-23 Thread PT
Nick Dokos nicholas.dokos at hp.com writes:
 
 You *can* get an empty line between two headers by having two empty lines at
 the end of the first section: the first empty line is considered part of
 the section and is folded with it, but the second one remains. E.g.

For some reason, I didn't try that. :) Thanks. One annoyance less.



___
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