Re: [Orgmode] orgmode under XEmacs

2006-11-06 Thread Carsten Dominik

Hi York,

we definitely need more information in order to find what the problem  
is.


1. org-mode version
   Always make sure you are using the latest version of org-mode because
   you bug may already have been found and fixed.

2. A copy of your entire configuration regarding org-mode.

3. A back-trace of the error.  This you can produce in the following  
way:

   - start a fresh xemacs and make sure that you load noutline.el and
 org.el instead of the byte-compiled .elc versions.  For example,
 I do this with

  xemacs -l /path/to/noutline.el -l /path/to/org.el

   - go to the menu Options->Troubleshooting
 and select "Debug on Error" there.

4. Go ahead and do whatever you have to do to hit the bug, like loading
   an org-mode file.

5. When the error is hit, xemacs will pop up a "*Backtrace*" buffer.
   We need to see the full content of this buffer.  As this buffer
   may contain very long lines, it is better to send it as an attachment
   than to copy it into the email.

With this information I often can find the bug already, or at least
know what else to ask from you.

- Carsten

On Nov 6, 2006, at 2:39, York Block wrote:


Hi,

I am trying to get orgmode working under XEmacs 21.4 (patch 18)  
without any
luck. I have followed the instruction, installed noutline-mode and set  
all the

variables as requested but I keep getting the following error:

Meta-x org-mode --> Wrong type argument: stringp, nil
If I load a .org file --> File mode specification error:  
(wrong-type-argument

stringp nil)

Thanks in advance,

York P. Block

ps. I am not an expert on XEmacs or Emacs configuration, I usually  
copy the

config  from what I find in the web.



___ 
___
Check out the New Yahoo! Mail - Fire up a more powerful email and get  
things done faster.

(http://advision.webevents.yahoo.com/mailbeta)



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Tag search in agenda buffer and #+CATEGORY

2006-11-06 Thread Carsten Dominik

This bug is not caused by the full CATEGORY line, but already by the
"#" character directly after the headline.  Thank you for the report.
Temporary work-around: leave an empty line.

Fixed for 4.54.

- Carsten

On Nov 4, 2006, at 21:01, Bastien wrote:


Hi,

Tag search from agenda buffer does not match a headline if it is
followed by #+CATEGORY string, and following sublevel headlines are
skipped as well.

Example :

* headline:tag:
#+CATEGORY category

** sublevel headline 1
** sublevel headline 1

Searching for "tag" from agenda buffer gives no result when #+CATEGORY
is here. This problem does not happen from an org buffer with C-c \.
Maybe use of #+CATEGORY in the middle of an org file is not orthodox
... but i prefer to have several categories instead of splitted
files.

I use org-mode 4.53 with org-tags-match-list-sublevels and
org-use-tag-inheritance both turned on.

Regards,

--
Bastien


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org <-> Palm

2006-11-06 Thread Christopher Kuettner
On the Palm there is one open source outliner called Progect.  It's a 
good tool, I used it for quite a while successfully.  It coorporates 
with the standard Plam apps (ie you can see progect todos as tasks in 
plam tasks) http://sourceforge.net/project/showfiles.php?group_id=9244


It works with some standard database file format.  And it supports 
nearly all the same data-"atoms" as org does.


Just write a converter script between org and that database file format 
and you are done.


Another solution I was thinking about the last couple of weeks...

As I learned coding on the Amiga side of things, I searches for Rexx for 
the Palm.  It is available. (http://www.jaxo.com/rexx/) Then we have 
that tool, I think it is called MacNoteTaker, which is a basic 
text-editor on the palm side of things, but syncs to a directory on the 
desktop.  You can put your org-files into that directory, and write 
rexx-macros on the palm which emulate org-mode's basic functionality.


There are thousands of possibilities...
http://www.khngai.com/emacs/palm.php


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] link bug

2006-11-06 Thread Eddward DeVilla

Hi,

   I'm not on the latest version yet and it will be a few day until I
can get there.  However, I found a bug in 4.51 when trying to store a
link using C-c C-l.  I believe that's org-insert-link.  In any case
org-insert-link gets called in there somewhere and dies calling
(file-truename buffer-file-name) to determine if the link is in the
same file as the org buffer.  This is invalid when the buffer doesn't
have a file behind it.   There needs to be a check to make sure
buffer-file-name is not nil.  (Or org has to not allow file-less
buffers).  The reason for the file-less buffer was that I've started
creating small outlines with links when I want to throw together a
quick code review.

I'm not sure what the right answer is.  may you just skip the case if
there is not file behind the buffer since links into file-less buffer
would seem to be impossible.  On the other hand, You may want to allow
links back to the same buffer just in case the user decides to save it
to a file later.  For now, I'm going to hack mine by wrapping the "(if
(equal ..." inside an "(if (buffer-file-name) ..."

Edd


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org <-> Palm

2006-11-06 Thread Ramon Diaz-Uriarte

On 11/6/06, Christopher Kuettner <[EMAIL PROTECTED]> wrote:

On the Palm there is one open source outliner called Progect.  It's a
good tool, I used it for quite a while successfully.  It coorporates
with the standard Plam apps (ie you can see progect todos as tasks in
plam tasks) http://sourceforge.net/project/showfiles.php?group_id=9244

It works with some standard database file format.  And it supports
nearly all the same data-"atoms" as org does.



It looks very nice (but not a lot of active devel, though).



Just write a converter script between org and that database file format
and you are done.



Umm, sounds tempting, but the approach of simple having an editor for
text files, and just opening there the org files is ... well, tempting
enough for now.



Another solution I was thinking about the last couple of weeks...

As I learned coding on the Amiga side of things, I searches for Rexx for
the Palm.  It is available. (http://www.jaxo.com/rexx/) Then we have
that tool, I think it is called MacNoteTaker, which is a basic
text-editor on the palm side of things, but syncs to a directory on the
desktop.  You can put your org-files into that directory, and write
rexx-macros on the palm which emulate org-mode's basic functionality.

There are thousands of possibilities...
http://www.khngai.com/emacs/palm.php



You are right (I just found a scheme for the palm). I apologize for
the question: had I done my homework better, and searched more
carefully, I am sure PalmEd and Progect whould have shown up.

Thanks to all who answered.

Best,

R.





___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




--
Ramon Diaz-Uriarte
Statistical Computing Team
Structural Biology and Biocomputing Programme
Spanish National Cancer Centre (CNIO)
http://ligarto.org/rdiaz


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org <-> Palm

2006-11-06 Thread Carsten Dominik

Also I would be interested in a good way to use information maintained
under org-mode on portable devices, and I would support such a
development by writing the lisp code for the correct exporters and
importers.  However, I don't want to write five different
exporters/importers, so agreeing to some format would be mandatory.

Currently in this area, there are the following "Ansätze".  They
mostly work one-way, to get information from Org-mode to a
portable device, not the other way round.  But there are exceptions,
see below.

- Bonsai Outliner
  ===
  This is a two-way interface for basic outlines.
  I don't know what the status is and I have not not used it myself
  so far.  Thomas, would you like to comment?

- iCalendar export
  
  Org-mode can export items with datestamps and deadlines as well as
  TODO items into a standard iCalendar file.  These files can be
  read by most calendar programs both on PC/Mac/Linux machines, and
  as far as I know also on portable devices.  I am using this mechanism
  to get information from org-mode into iCal on the Mac.  Unfortunately,
  there is no good way to get the changed info back into org-mode. But
  it is useful to see what your TODO items and schedule are.

- Fast external updates
  =
  Some time ago I worked with Tim O'Callaghan on the idea of delayed
  updates of Org-mode files, a feature he called "fast updates".
  His idea was to copy an org-mode file to a mobile device, and to
  use some basic editor to mark lines that should be changed later
  the file gets back into an Emacs environment.  Tim's idea was to
  mark headline with a single character *before* the stars.
  For example, if I have a todo item

 *** TODO Do this

  it could be marked

 d*** TODO Do this

  and next time Org-mode opens this file in Emacs, it would find this
  line and switch the TODO to DONE.  The idea behind this is that
  input on mobile devices is never fun, on phones it is really terrible,
  so you want to be done with a single keystroke.  And you could
  trigger more complex operations like archiving in this way.

  Some time ago I implemented this basic functionality.  I still have
  the code if someone is  interested.  But unfortunately
  the project somehow got stuck.  There were technical reasons, but
  I believe the underlying reason may be that by just putting the
  org-mode file into an editor on a mobile device with a small
  screen and no show/hide capabilities makes it much harder to read
  and handle than in Emacs.  But I am not sure, and may be this
  project could be revived.

- Editor on the Palm-side
  ===
  Putting whole Org-mode files into a Palm editor has the advantage
  that you can keep them up-to-date on both machines using
  synchronization or, for example, cvs merging.  Having an editor that
  actually implements a subset of Org-modes functionality using some
  scripting language (Rexx was mentioned) sounds attractive to me.

- Print/export only the current TODO list
  ===
  You can create TODO lists and then print them or export them to
  your Palm.  Then you tick items off while on the go, and when you
  get back to a real computer you create the same TODO list again and
  update the done items (idea from Pete Phillips).  While this sounds
  like double work, you can make it part of the review process to
  check where your projects stand.

Carsten

On Nov 5, 2006, at 22:39, Ramon Diaz-Uriarte wrote:


Dear All,

I am wondering if anybody has found out how to export from org, and
get the stuff in a usable way into a Palm, and (ideally) edit it there
and bring it back to org later.

I saw in a fomer post

 "From: Carsten Dominik  science.uva.nl>
 Subject: Other software development for Org-mode
 Newsgroups: gmane.emacs.orgmode
 Date: 2006-03-14 10:39:25 GMT (33 weeks, 5 days and 49 minutes ago)

 (...)

 Bonsai Outliner for Windows/PalmOS, export/import options for Org-mode
 files  Thomas Baumann has been working on these, but not finished the
 org-to-bonsai branch if I remember correctly because of problems
 with the data format  on the Palm."

But my googling didn't find anything else.

I actually have lowered my expectations to just (?) two things: a)
outlines; b) calendar/deadlines info.

a) For outlines, I used to use Shadow Plan (http://www.codejedi.com/)
on my Palm. Getting the outlines into org is a piece of cake (at least
under Linux); from the Shadow Desktop one exports as ASCII, and using
sed (or whatever) one replaces \t by *. So now all that info is an org
outline. I assume similar things can be done with other Palm
outliners. But:

a.1. How do I go back to the Palm?
a.1.1. Via Plucker; export from org as html, use plucker for html ->
pdb. That works, but that is not editable in the Palm

a.1.2. Convert the org file to a pdb using pyrite publisher
(http://www.pyrite.org/publisher/index.html). That is a regular file
that can be

Re: [Orgmode] link bug

2006-11-06 Thread Carsten Dominik

There are two issues here:

The first is when you want to *store* a link to a file-less buffer,
using `C-c l'.
This should be an error, because links are for the future and if there
is no file, there is no point linking to it.  Org-mode is throwing
an error, but there is a bug if the file-less buffer is in org-mode.

The second problem is the one you describe.  I am fixing it in the way
you propose.

Both problems fixed for 4.54.  Thanks for the report.

- Carsten

On Nov 6, 2006, at 18:44, Eddward DeVilla wrote:


Hi,

   I'm not on the latest version yet and it will be a few day until I
can get there.  However, I found a bug in 4.51 when trying to store a
link using C-c C-l.  I believe that's org-insert-link.  In any case
org-insert-link gets called in there somewhere and dies calling
(file-truename buffer-file-name) to determine if the link is in the
same file as the org buffer.  This is invalid when the buffer doesn't
have a file behind it.   There needs to be a check to make sure
buffer-file-name is not nil.  (Or org has to not allow file-less
buffers).  The reason for the file-less buffer was that I've started
creating small outlines with links when I want to throw together a
quick code review.

I'm not sure what the right answer is.  may you just skip the case if
there is not file behind the buffer since links into file-less buffer
would seem to be impossible.  On the other hand, You may want to allow
links back to the same buffer just in case the user decides to save it
to a file later.  For now, I'm going to hack mine by wrapping the "(if
(equal ..." inside an "(if (buffer-file-name) ..."

Edd


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode