Re: [Orgmode] refiling x to x kills x

2008-12-16 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Dec 16, 2008, at 2:58 AM, Samuel Wales wrote:


Using the same setup as in my recent ido post, org-refile on a header
to that header seems to kill that header.

Thanks.

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


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




___
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] Links to Org-mode FAQ

2008-12-16 Thread Matthew Lundin

Hi Carsten,

I would be happy to take charge of tending the FAQ and to keep an eye
on the mailing list for (1) questions that are already answered on the
FAQ (2) good answers that should be added to the FAQ.

(I would, of course, also gladly defer to someone with a deeper
knowledge of org-mode.)

Best,

Matt

Carsten Dominik carsten.domi...@gmail.com writes:

 Dear all,

 Sebastian has implemented into his org-info.js to use named
 anchors to link to sections of a document.  This is now
 finally a god way to link to specific FAQ entries,
 without being afraid that the link may not work after
 the next FAQ update.

 So if you com across a question that can be answered with
 a FAQ, go to the FAQ in your webbrowser.  Pressing l or L
 at the location will display a link to this location that you
 can copy and paste into the email answer to that question!
 You can get HTML links, and Org-style links in this way.

 So since this makes the FAQ more useful, if you know a good
 answer to a question that is to yet a FAQ, please consider
 to format the answer nicely and either send it to one of
 the people with Worg access, or get Worg access yourself
 and simply add it.

 Since we are talking about the FAQ:  Is there anyone here who
 would like to volunteer to spear-head the FAQ, by making
 it his/her mission to identify good answers and making sure
 they will get up into the FAQ?

 :-) I think I deserve another volunteer for this after having
 fixed all those LaTeX issues even though I had hope someone
 else would get in and run point on this part... :-)


 Thanks.

 - 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


Re: [Orgmode] question about org-region-active-p

2008-12-16 Thread Robert Goldman
Carsten Dominik wrote:
 Hi Robert,
 
 Samuel has it right, let me add this:
 
 In Emacs, you do never remove the mark from the buffer, it is always
 there, wherever you or some command last left it.  The only way to tell
 if the user intends to apply a command to a region is therefore the
 state of a flag that says if the mark is active.  Setting the mark
 activates the mark, most commands besides cursor motion and search
 deactivate it.
 The state flag does only exist if transient-mark-mode is active.

Thank you both for the clarification.  Here's a question:  would it be
worth adding a message to warn a user when org-region-active-p is called
and transient-mark-mode is off?

So should we have something like

(and (or transient-mark-mode
 (error Transient mark mode must be active for this command to work.)
 mark-active)

Error is likely not the right thing here, but on the other hand it seems
to me that the user should somehow know that the current command will
not work as expected, because an expectation of the org-mode code has
been violated.

As I said, I discovered this because I was trying to publish a subtree
of an org file as HTML, and instead of publishing the subtree, I got the
 whole file, and the output went to an unexpected location (because my
export file setting, attached to the heading, was ignored).

So the above is a case where the software quietly does something
radically different from what I expected (and what was documented)
because an expectation (really a code precondition) was violated.  That
seems to me to be an exception condition that should be brought to the
user's attention.

A complicating issue is that the system should just go ahead and publish
the whole file if there is no region selected, but there doesn't seem to
me to be any way for the system to tell that the user intended to
publish only a region if transient-mark-mode is off.

Maybe the user should just be told not to use org-mode without t-m-m?
Even this seems too extreme, because the user might never intend to
publish anything  Or the user might never intend to publish anything
except a whole file, in which case who cares if tmm is off?

A very knotty issue

Best,
r

 
 - Carsten
 
 On Dec 16, 2008, at 2:51 AM, Robert Goldman wrote:
 
 The definition of org-region-active-p in my copy of org-mode is as
 follows:


 (defun org-region-active-p ()
  Is `transient-mark-mode' on and the region active?
 Works on both Emacs and XEmacs.
  (if org-ignore-region
  nil
(if (featurep 'xemacs)
 (and zmacs-regions (region-active-p))
  (if (fboundp 'use-region-p)
   (use-region-p)
 (and transient-mark-mode mark-active)

 What seems odd to me is that this command will only work on an emacs 22
 (like my Aquamacs) if transient-mark-mode is enabled.  Is that correct,
 and is that what's desired?

 [I found this because I tried to publish a subtree of an org file, and I
 found that org-region-active-p was NIL even after C-c @
 (outline-mark-subtree).]

 This may be an oddity of aquamacs -- it seems to prefer cua-mode and
 turn off transient-mark-mode by default.  I confess to not really
 understanding that decision or its implications.

 thanks,
 r


 ___
 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] question about org-region-active-p

2008-12-16 Thread William Henney
Hi Robert

On Mon, Dec 15, 2008 at 7:51 PM, Robert Goldman rpgold...@sift.info wrote:
 [I found this because I tried to publish a subtree of an org file, and I
 found that org-region-active-p was NIL even after C-c @
 (outline-mark-subtree).]

 This may be an oddity of aquamacs -- it seems to prefer cua-mode and
 turn off transient-mark-mode by default.  I confess to not really
 understanding that decision or its implications.

I use Aquamacs with org-mode every day, and I have never run into this
problem. I just checked by turning off my customizations and
transient-mark-mode is indeed on by default. After doing C-c @ in an
org file, then M-: (org-region-active-p) gives t, as expected.
Maybe it is a problem with your customizations. You can check by
running M-x start-vanilla-aquamacs.

I am running Aquamacs 1.5, org-mode 6.12b

Cheers

Will


-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia


___
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] Print headlines including DEADLINE?

2008-12-16 Thread Christopher DeMarco
On Tue, Dec 09, 2008 at 08:17:38AM +0100, Carsten Dominik wrote:

 you may want to take a look at column view, which can show the deadline.
 Get back here when you cannot figure out how to do this.

OK, so I can't figure out how to do this :-)

First, how I'm using org-mode:

Inside ~/working I have nested project directories; some for home and
some for work; projects within projects within projects.  Whenever I
need a new PROJECTNAME.org, I create it wherever in the hierarchy it
belongs, and then symlink it into the proper toplevel (which roughly
corresponds to the start of a particular SVN or Git repository).  This
way, I have much smaller list of org-agenda-files to maintain.

I have some custom agenda views defined, that tell me things like what
I have to do today, and what to do in various contexts etc.  For this
I aggregate all of the .org files I've written.

I don't want to go adding a :COLUMNS: property to every .org file that
I want to include in a custom view; I'd rather define :COLUMNS: for
types of views that I want.  Where would I define this?  I suppose
that I could write definitions in hidden files that get explicitly
sourced based on what view I want, but that seems roundabout...

Thanks... and org-mode rocks!


-- 
Christopher DeMarco dema...@maya.com
IT Director
MAYA Group
+1-412-708-9660



___
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: Links to Org-mode FAQ

2008-12-16 Thread Sivaram Neelakantan
Matthew Lundin m...@imapmail.org writes:

 Hi Carsten,

 I would be happy to take charge of tending the FAQ and to keep an eye
 on the mailing list for (1) questions that are already answered on the
 FAQ (2) good answers that should be added to the FAQ.

 (I would, of course, also gladly defer to someone with a deeper
 knowledge of org-mode.)

 Best,

 Matt

And I'd too would like to help in whatever fashion Matt would require
help on. :-)

Me being an org user and all.

[...]



 sivaram
 -- 



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


[Orgmode] [PATCH] org-mode typos

2008-12-16 Thread Bernt Hansen
Hi Carsten,

I decided to scour the org-mode code today and fix up all the typos I
could find easily.

I've pushed the result to my 'fix-typos' branch at
git://git.norang.ca/org-mode.

I also fixed up some whitespace changes as separate commits (which you
can drop if you don't like them).

Let me know if you want me to rework any of this.  Most of the typos are
in comments and docstrings but there are a few that affect logic in
org.el and the commit message reflects that.

Please review.  I'll tweak this series anyway you like so you can
include it easily including rebasing it on newer work that you may have
in progress.

Hope this helps!

Bernt Hansen (34):
  Fix typos in org-agenda.el
  Fix typos in org-archive.el
  Fix typo in org-attach.el
  Fix typo in org-bibtex.el comments
  Fix typos in org-clock.el comments
  Fix typos in org-colview.el
  Fix typos on org-colview-xemacs.el
  Fix typos in org.el
  Fix typos in logic for org.el
  Whitespace
  Fix typos in org-exp.el
  Whitespace
  Fix typos in org-export-latex.el and whitespace
  Whitespace
  Fix comment typo in org-faces.el
  Fix typos in description of org-id.el
  Fix comment typo in org-irc.el
  Whitespace
  Fix typos in org-jsinfo.el
  Whitespace
  Fix typos in org-list.el
  Fix typo in org-macs.el
  Whitespace
  Whitespace
  Fix typos in org-mouse.el
  Whitespace
  Fix typo in org-plot.el
  Whitespace
  Fix typo in org-publish.el
  Fix typos in org-remember.el
  Whitespace
  Fix typos in org-table.el
  Fix typos in org-timer.el
  Fix typos and whitespace in org-w3m.el

Diffstat follows:

 lisp/org-agenda.el |   36 +++---
 lisp/org-archive.el|4 +-
 lisp/org-attach.el |2 +-
 lisp/org-bibtex.el |2 +-
 lisp/org-clock.el  |4 +-
 lisp/org-colview-xemacs.el |   12 +-
 lisp/org-colview.el|   10 +-
 lisp/org-exp.el|  268 ++--
 lisp/org-export-latex.el   |   34 +++---
 lisp/org-faces.el  |2 +-
 lisp/org-id.el |   16 ++--
 lisp/org-irc.el|  180 +++---
 lisp/org-jsinfo.el |4 +-
 lisp/org-list.el   |  224 ++--
 lisp/org-macs.el   |2 +-
 lisp/org-mhe.el|   62 +-
 lisp/org-mouse.el  |   32 +++---
 lisp/org-plot.el   |   52 +-
 lisp/org-publish.el|   66 ++--
 lisp/org-remember.el   |   12 +-
 lisp/org-table.el  |  116 ++--
 lisp/org-timer.el  |6 +-
 lisp/org-w3m.el|   12 +-
 lisp/org.el|   98 
 24 files changed, 628 insertions(+), 628 deletions(-)

I can post the 34 patches here but decided that's probably not worth
flooding the list with this.  If you are interested the patches are
available for viewing here:

http://git.norang.ca/?p=org-mode;a=shortlog;h=refs/heads/fix-typos

Cheers!
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] Org Mdoe Auto Complete Source

2008-12-16 Thread Jonathan Arkell
Hi list!

I have just finished a little something to hook org mode into the 
auto-complete.  Right now it does a verbatim copy of most of org-complete 
(which is bad).  Carsten, would it be possible to separate the gathering of 
completion candidates from the actual UI, that way other completion systems can 
be hooked in?  (Anything, Auto-Complete, etc.)

Enjoy!

Jonathan Arkell
Sr. Web Developer
Inspired by Drum + Bass, Scheme, Kawaii
402 – 11 Avenue SE
Calgary, AB T2G 0Y4
t: 403.206.4377
www.criticalmass.com


The information contained in this message is confidential. It is intended to be 
read only by the individual or entity named above or their designee. If the 
reader of this message is not the intended recipient, you are hereby notified 
that any distribution of this message, in any form, is strictly prohibited. If 
you have received this message in error, please immediately notify the sender 
and delete or destroy any copy of this message.


auto-complete-org.el
Description: auto-complete-org.el
___
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] org-mode typos

2008-12-16 Thread Carsten Dominik

Hi Bernt,

wow, what a great job, and how well it reflects my being a terrible  
typist.  Thanks so much.
I'll take a look at them and then install.  Did you change any code at  
all, or only docstrings?


- Carsten

On Dec 16, 2008, at 6:41 PM, Bernt Hansen wrote:


Hi Carsten,

I decided to scour the org-mode code today and fix up all the typos I
could find easily.

I've pushed the result to my 'fix-typos' branch at
git://git.norang.ca/org-mode.

I also fixed up some whitespace changes as separate commits (which you
can drop if you don't like them).

Let me know if you want me to rework any of this.  Most of the typos  
are

in comments and docstrings but there are a few that affect logic in
org.el and the commit message reflects that.

Please review.  I'll tweak this series anyway you like so you can
include it easily including rebasing it on newer work that you may  
have

in progress.

Hope this helps!

Bernt Hansen (34):
 Fix typos in org-agenda.el
 Fix typos in org-archive.el
 Fix typo in org-attach.el
 Fix typo in org-bibtex.el comments
 Fix typos in org-clock.el comments
 Fix typos in org-colview.el
 Fix typos on org-colview-xemacs.el
 Fix typos in org.el
 Fix typos in logic for org.el
 Whitespace
 Fix typos in org-exp.el
 Whitespace
 Fix typos in org-export-latex.el and whitespace
 Whitespace
 Fix comment typo in org-faces.el
 Fix typos in description of org-id.el
 Fix comment typo in org-irc.el
 Whitespace
 Fix typos in org-jsinfo.el
 Whitespace
 Fix typos in org-list.el
 Fix typo in org-macs.el
 Whitespace
 Whitespace
 Fix typos in org-mouse.el
 Whitespace
 Fix typo in org-plot.el
 Whitespace
 Fix typo in org-publish.el
 Fix typos in org-remember.el
 Whitespace
 Fix typos in org-table.el
 Fix typos in org-timer.el
 Fix typos and whitespace in org-w3m.el

Diffstat follows:

lisp/org-agenda.el |   36 +++---
lisp/org-archive.el|4 +-
lisp/org-attach.el |2 +-
lisp/org-bibtex.el |2 +-
lisp/org-clock.el  |4 +-
lisp/org-colview-xemacs.el |   12 +-
lisp/org-colview.el|   10 +-
lisp/org-exp.el|  268 + 
+--

lisp/org-export-latex.el   |   34 +++---
lisp/org-faces.el  |2 +-
lisp/org-id.el |   16 ++--
lisp/org-irc.el|  180 +++---
lisp/org-jsinfo.el |4 +-
lisp/org-list.el   |  224 ++--
lisp/org-macs.el   |2 +-
lisp/org-mhe.el|   62 +-
lisp/org-mouse.el  |   32 +++---
lisp/org-plot.el   |   52 +-
lisp/org-publish.el|   66 ++--
lisp/org-remember.el   |   12 +-
lisp/org-table.el  |  116 ++--
lisp/org-timer.el  |6 +-
lisp/org-w3m.el|   12 +-
lisp/org.el|   98 
24 files changed, 628 insertions(+), 628 deletions(-)

I can post the 34 patches here but decided that's probably not worth
flooding the list with this.  If you are interested the patches are
available for viewing here:

   http://git.norang.ca/?p=org-mode;a=shortlog;h=refs/heads/fix-typos

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