Re: [Orgmode] Org-mode version 5.17

2008-01-03 Thread Carsten Dominik


On Dec 30, 2007, at 12:22 PM, Adam Spiers wrote:


On Thu, Dec 20, 2007 at 07:28:42AM +0100, Carsten Dominik wrote:

Changes in Version 5.17
~~~


[snipped]


   - When a remember template contains the string `%!', the note
 will be stored immediately after all template parts have
 been filled in, so you don't even have to press `C-c
 C-c'. The was a proposal by Adam Spiers.


Thanks, works great!  Looks like you forgot to add the help text to
the defcustom again though ;-)


Fixed, thanks.





   - The new command `org-remember-goto-last-stored' will jump
 to the location of the remember note stored most recently.
 If you have `org-remember' on a key like `C-c r', then you
 can go to the location with a double prefix arg: `C-u C-u
 C-c r'.  This was a proposal by Rainer Stengele.


This is also great - it would be *even* better if we also had the
per-template option of automatically jumping there.



We do, this is from the 5.14 release notes:

   You can now use a C-u prefix on `org-remember' to jump to the  
location where
   a specific templates stores its notes. For example, if you have  
`org-remember'
   bound to `C-c r', then `C-u C-c r n' will get you to the file and  
headline given in

  the template associated with the letter n.

- 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-mode version 5.17

2008-01-03 Thread Adam Spiers
On Thu, Jan 03, 2008 at 10:01:37AM +0100, Carsten Dominik wrote:
 On Dec 30, 2007, at 12:22 PM, Adam Spiers wrote:
 On Thu, Dec 20, 2007 at 07:28:42AM +0100, Carsten Dominik wrote:
- The new command `org-remember-goto-last-stored' will jump
  to the location of the remember note stored most recently.
  If you have `org-remember' on a key like `C-c r', then you
  can go to the location with a double prefix arg: `C-u C-u
  C-c r'.  This was a proposal by Rainer Stengele.
 
 This is also great - it would be *even* better if we also had the
 per-template option of automatically jumping there.
 
 We do, this is from the 5.14 release notes:
 
You can now use a C-u prefix on `org-remember' to jump to the
location where a specific templates stores its notes. For
example, if you have `org-remember' bound to `C-c r', then `C-u
C-c r n' will get you to the file and headline given in the
template associated with the letter n.

Sorry, I should have been clearer.  I'm aware of that functionality,
but for some templates, I really want it to *automatically* jump to
where the note has been stored *immediately* after storing has
happened, rather than requiring extra keystrokes.  This is because for
some templates, I will *always* want to review the new note in its
final context.  That's why I suggested implementing it by reusing the
really nice idea you had of defining %! within a template to mean
don't prompt me - similarly you could have % or some other sequence
to mean jump straight to the destination.  And in some cases, a
combination of both (%!%) will be very effective.

Additionally it would provide a workaround to the problems described
here:

  http://thread.gmane.org/gmane.emacs.orgmode/4692

since if the new item is immediately moved to its final context,
keywords/tags/priorities etc. can be set there rather than from within
the *Remember* buffer.

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] Org-mode version 5.17

2007-12-30 Thread Adam Spiers
On Thu, Dec 20, 2007 at 07:28:42AM +0100, Carsten Dominik wrote:
 Changes in Version 5.17
 ~~~

[snipped]

 - When a remember template contains the string `%!', the note
   will be stored immediately after all template parts have
   been filled in, so you don't even have to press `C-c
   C-c'. The was a proposal by Adam Spiers.

Thanks, works great!  Looks like you forgot to add the help text to
the defcustom again though ;-)

 - The new command `org-remember-goto-last-stored' will jump
   to the location of the remember note stored most recently.
   If you have `org-remember' on a key like `C-c r', then you
   can go to the location with a double prefix arg: `C-u C-u
   C-c r'.  This was a proposal by Rainer Stengele.

This is also great - it would be *even* better if we also had the
per-template option of automatically jumping there.  This could be
implemented in exactly the same way as you did the don't prompt me
%! option above.  The justification is that each remember template
defines a mini-workflow, and some will then require immediate editing
of the new item in its final context.  Additionally it would provide a
workaround to the problems described here:

  http://thread.gmane.org/gmane.emacs.orgmode/4692

since if the new item is immediately moved to its final context,
keywords/tags/priorities etc. can be set there rather than from within
the *Remember* buffer.

 - Template items that are being prompted for can now specify
   a default value and a completion table.  Furthermore,
   previous inputs at a specific prompt are captured in a
   history variable.  For example:
 
%^{Author|Roald Dahl|Thomas Mann|Larry Niven}
 
   will prompt for an author name.  Pressing RET without
   typing anything will select Roald Dahl.  Completion will
   give you any of the three names.  And a history will be
   kept, so you can use the arrow keys to get to previous
   input.  The history is tied to the prompt.  By using the
   same prompt in different templates, you can build a history
   across templates.  The ideas for this came from proposals
   by Bastien and Adam.

This is really cool, however there is one problem: SPC is now bound to
minibuffer-complete-word in this context.


___
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 version 5.17

2007-12-22 Thread Bastien
Bastien [EMAIL PROTECTED] writes:

 Here is the only slight oddity I've found so far:  when moving folded
 trees, sometimes the moved tree will be swallowed in the previous or
 next fold...

More on this: I think this is due to the fact that any empty line at the
end of a subtree is considered to be part of the *next* subtree...

Maybe it is reasonable to consider that any subtree ends with a minimum
of 1 empty line?  I guess this would solve the problem of wrongly folded
subtrees...

-- 
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] Org-mode version 5.17

2007-12-20 Thread Bastien
Hi Carsten,

Carsten Dominik [EMAIL PROTECTED] writes:

 I am releasing version 5.17 of org-mode, hopefully the last release
 before the holidays.  Lots of stuff is still on my TODO list, but this
 is how far I have gotten.

That's great!  Thanks a lot.

 - When cutting, pasting, or moving subtrees and items, the
   empty lines *before* the subtree/item now belong to the
   part and will be moved with it.  There is one exception to
   this rule: If the first child is moved down (or,
   equivalently, the second is moved up), the amount of empty
   lines *above* the first child to be moved along with it is
   limited by the number of empty lines *below* it.  This
   sounds complicated, but it allows to have extra empty space
   before the first child and still have good behavior of the
   subtree motion commands.

Here is the only slight oddity I've found so far:  when moving folded
trees, sometimes the moved tree will be swallowed in the previous or
next fold...

Here is an example:

--8---cut here---start-8---
#+TITLE: Test file
#+STARTUP: fold

* headline 1

** subheadline 1

Content.

** subheadline 2

Content.

** subheadline 3

Content.
--8---cut here---end---8---


1. make sure this file is folded

2. go to headline 1

3. TAB to unfold

4. go to subheadline 2

5. M-down 
   = subheadline 1 goes below subheadline 2 [OK]

6. M-down 
   = subheadline 1 disappears (is in subheadline 3 fold)

IIRC, moving subtrees never ended up in them disappearing before.  
Is there a simple way to make sure that the moving subtree always 
remains visible?

Thanks!  And happy holidays --

-- 
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] Org-mode version 5.17

2007-12-19 Thread Carsten Dominik
Hi,

I am releasing version 5.17 of org-mode, hopefully the last
release before the holidays.  Lots of stuff is still on my TODO list,
but this is how far I have gotten.

Enjoy, and happy holidays.

- Carsten

Changes in Version 5.17
~~~

Details
===

Whitespace
--

- When cutting, pasting, or moving subtrees and items, the
  empty lines *before* the subtree/item now belong to the
  part and will be moved with it.  There is one exception to
  this rule: If the first child is moved down (or,
  equivalently, the second is moved up), the amount of empty
  lines *above* the first child to be moved along with it is
  limited by the number of empty lines *below* it.  This
  sounds complicated, but it allows to have extra empty space
  before the first child and still have good behavior of the
  subtree motion commands.

- Plain lists items work the same.

I believe we have finally nailed this one.  Thanks to Daniel
Pittman for bring this up again and to Eric Schulte for
pointing out that it is the empty lines *before* an entry
that really count.

This change was non-trivial, please give it a good test and
let me know about any problems.

Remember


- The new command `org-remember-goto-last-stored' will jump
  to the location of the remember note stored most recently.
  If you have `org-remember' on a key like `C-c r', then you
  can go to the location with a double prefix arg: `C-u C-u
  C-c r'.  This was a proposal by Rainer Stengele.

- Template items that are being prompted for can now specify
  a default value and a completion table.  Furthermore,
  previous inputs at a specific prompt are captured in a
  history variable.  For example:

   %^{Author|Roald Dahl|Thomas Mann|Larry Niven}

  will prompt for an author name.  Pressing RET without
  typing anything will select Roald Dahl.  Completion will
  give you any of the three names.  And a history will be
  kept, so you can use the arrow keys to get to previous
  input.  The history is tied to the prompt.  By using the
  same prompt in different templates, you can build a history
  across templates.  The ideas for this came from proposals
  by Bastien and Adam.

- When a remember template contains the string `%!', the note
  will be stored immediately after all template parts have
  been filled in, so you don't even have to press `C-c
  C-c'. The was a proposal by Adam Spiers.

Refile
--

- `org-refile-targets' has a new parameter to specify a
  maximum level for target selection.  Thanks to Wanrong Lin
  for this proposal.

- When the new option `org-refile-use-outline-path' is set,
  refile targets will be presented like a file path to the
  completion interface: level 1/level 2/level 3.  This
  may be the fastest interface yet to get to a certain
  outline entry.  Do we need to use this interface in other
  places?  Thanks to Jose Ruiz for this proposal.


___
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