Re: [Orgmode] further on compiling development version of org-mode without make command

2009-07-09 Thread Sebastian Rose
Eric S Fraga  writes:
> Hello again,
>
> Although Sebastian's elisp code was perfect for batch compiling the
> lisp/*.el files in the org distribution, it doesn't address one key
> element of the make step required: the creation of the
> org-install.el file.


I wonder where I have that file. I couldn't find `org-install.el'
anywhere but it seems to work fine here without. What is it needed for?
Speed up things, I guess? As I never compile Org-mode, I never used that
file.


> I've (with my rather rudimentary elisp skills) modified the function
> as follows to incorporate the commands from the Makefile which are
> used to create the org-install.el file:
>
>
> ;; functions from Sebastian Rose  
> ;; to compile all org files in lieu of a make utility,
> ;; modified by me to create and compile the org-install.el file
> (defvar my/org-lisp-directory "~/git/org-mode/lisp"
>   "Directory where your org-mode files live.")
> ;; adjust my/org-lisp-directory: 
> (setq my/org-lisp-directory "~/git/org-mode/lisp")
> (defun my/compile-org()
>   "Compile all *.el files that come with org-mode."
>   (interactive)
>   (dired my/org-lisp-directory)
>   (dired-mark-files-regexp "\\.el$")
>   (setq list-of-org-files (dired-get-marked-files))
>   (dired-do-load)
>   (dired-do-byte-compile)
>   ;; create the org-install file 
>   (require 'autoload)
>   (setq esf/org-install-file (concat my/org-lisp-directory "org-install.el"))
>   (find-file esf/org-install-file)
>   (erase-buffer)
>   (mapc (lambda (x)
>   (generate-file-autoloads x))
> list-of-org-files
> )
>   (insert "\n(provide (quote org-install))\n")
>   (save-buffer)
>   (byte-compile-file esf/org-install-file)
>   
> )
>
> Comments of any sort are more than welcome!  It seems to work (but
> only time will tell).  Actually, I probably need to delete any
> existing org-install.el file first... any suggestions on the best way
> to do this would be more than welcome!


Yes - and we should remove all the *.elc files first (which I missed),
in case some are obsolete after a `git pull'.
Could be done via dired again:

   (dired-mark-files-regexp "\\.el$")
   (setq list-of-org-files (dired-get-marked-files))
   ;; ADD THIS:
   ;; this deletes obsolete files:
   (dolist (f list-of-org-files)
 (delete-file (concat f "c")))



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


[Orgmode] Org as a minor mode (tables)

2009-07-09 Thread Andrew Lawson
Hello

Today I found myself sending various bits of tabular text via email
(emacs in mutt) and found myself wondering whether it might be possible
to use the org mode table support while composing messages. At the
moment I have mail-mode enabled while writing and I've switched on
orgstruct++-mode too but I note that that doesn't seem to have any table
support. Is there any way of getting such a thing running?

cheers

Andrew

-- 

 Andrew Lawson 
adl at absentis dot com

A notebook, a fountain pen, a good book for inspiration, a spot of tea
and an expansive view, could one ask for anything more?


___
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 as a minor mode (tables)

2009-07-09 Thread Mikael Fornius
Andrew Lawson  writes:

>Is there any way of getting such a thing running?

Try orgtbl-mode.

cheers

-- 
Mikael Fornius


___
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 as a minor mode (tables)

2009-07-09 Thread Charles Philip Chan
Andrew Lawson  writes:

> Today I found myself sending various bits of tabular text via email
> (emacs in mutt) and found myself wondering whether it might be
> possible to use the org mode table support while composing messages.

Of course you can:

http://orgmode.org/manual/Orgtbl-mode.html#Orgtbl-mode

Reading the manual is a good idea. :-)

Charles

-- 
I did this 'cause Linux gives me a woody.  It doesn't generate revenue.
(Dave '-ddt->` Taylor, announcing DOOM for Linux)


pgpJOpIYj7I7h.pgp
Description: PGP signature
___
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 as a minor mode (tables)

2009-07-09 Thread Andrew Lawson
On Thu, Jul 09, 2009 at 05:57:24AM -0400, Charles Philip Chan wrote:
> Andrew Lawson  writes:
> 
> > Today I found myself sending various bits of tabular text via email
> > (emacs in mutt) and found myself wondering whether it might be
> > possible to use the org mode table support while composing messages.
> 
> Of course you can:
> 
> http://orgmode.org/manual/Orgtbl-mode.html#Orgtbl-mode
> 
> Reading the manual is a good idea. :-)

Yes, well, it was obvious in retrospect, somehow I missed it ...

thanks

-- 

 Andrew Lawson 
adl at absentis dot com

A notebook, a fountain pen, a good book for inspiration, a spot of tea
and an expansive view, could one ask for anything more?


___
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] broken link in manual

2009-07-09 Thread Greg Newman
I found a broken link in the manual just now.  The appendix link A
extensions (on the left nav) gives a 404.


*Greg Newman*

http://20seven.org

twitter: 20seven
___
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] further on compiling development version of org-mode without make command

2009-07-09 Thread Sebastian Rose
Eric S Fraga  writes:
> Hello again,

Thanks Eric!

Here is the same with some more additions.

1.) Ensure a slash is appended to the directory (i.e. do not create
~/.emacs.d/org/lisporg-install.el)
2.) Optionally, do not compile the sources, but create the
org-install.el file. Will this work?
3.) Take an optional argument: the directory to be compiled.
4.) Fix the bug in my previous mail: only existing files can be
deleted...


As a next step, we could as well drop the usage of dired, right?


  Sebastian





binC9DsEyHUfR.bin
Description: application/emacs-lisp
___
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] [BUG] HTML exporting numbered literal examples

2009-07-09 Thread Ulf Stegemann
With latest CVS Emacs and Git Org mode exporting literal examples
(example/src) with the `-n' switch results in numbering starting on line
*2* of the example in the resulting HTML file (LaTeX seems to be okay).

The example in the manual ...

--8<--snip-->8---
  #+BEGIN_SRC emacs-lisp -n -r
  (save-excursion  (ref:sc)
 (goto-char (point-min))   (ref:jump)
  #+END_SRC
  In line [[(sc)]] we remember the current positon.  [[(jump)][Line (jump)]]
  jumps to point-min.
--8<--snap-->8---

... (which is BTW not working as the manual misses the underscore in
`#+END_SRC') results (visually) in

--8<--snip-->8---
(save-excursion  (ref:sc)
1: (goto-char (point-min))
--8<--snap-->8---

with reference `sc' broken.

Can anyone reproduce this?

And while we are at it: Would it be feasible to have `-r' in literal
examples even without `-n', thus removing the label in the source code
block even if the example is not numbered. I have no concrete case where
this may be necessary but I think that usually labels shouldn't be
displayed in /literal/ examples.

Ulf



___
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] further on compiling development version of org-mode without make command

2009-07-09 Thread Eric S Fraga
At Thu, 09 Jul 2009 12:19:52 +0200,
Sebastian Rose wrote:
> Here is the same with some more additions.

many thanks!  Yes, the missing / was an error I noted just after sending the 
email...

> As a next step, we could as well drop the usage of dired, right?

that would make sense!

I'll play around with this and will get back to you.

Regarding the org-install file, I'm not entirely sure it's necessary
after all.  It's only that the instructions on the org site say to use
that file to initialise org-mode properly!  More exploring to be done...

Thanks again,
eric


___
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] Markup for export question

2009-07-09 Thread Ulf Stegemann
When writing documentations I often come across expressions like

  doMagic('myVariable')

In an ideal world the HTML code for this after exporting the org file
would look like this:

  doMagic('myVariable')

The purpose is of course to indicate that `doMagic' is a literal
function/method name while `myVariable' is not meant literal and is to
be replaced something more or less sensible.

However, I find that rather hard to achieve and was only able to produce
this with quoted HTML tags.  In order to find a simpler solution I was
fiddling with `org-emphasis-alist' and `org-emphasis-regexp-components'
but to no avail.  Does anybody have an idea how to create that HTML code
from a simple markup in an org file?  BTW: Same applies probably for
LaTeX export but I haven't been playing around with this.

Ulf



___
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] Underscores again - HTML and LaTeX exporting.

2009-07-09 Thread Nick Dokos
Carsten Dominik  wrote:

> 
> Pretty sick examples ... :-)
> 
> I fixed those anyway...
> 

You can blame me for the headline one, but the AUTHOR one is all Bernt's
fault :-)

In any case, I thought you were on vacation or something: go have some
fun - oh, I forgot: this *is* fun. Or maybe, as Bastien noted, the fix
was done by one instance of a (possibly infinite) number of
AI-Carstens. Or, perhaps, the "falling off the grid" message might have
been sent by one of those instances? How can one tell? How does one
define ``eq'' for Carsten-instances? Does equality imply identity? My
head is spinning...

Cheers,
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] Markup for export question

2009-07-09 Thread Giovanni Ridolfi

--- Gio 9/7/09, Ulf Stegemann  ha scritto:
> When writing documentations I often
> come across expressions like
> 
>   doMagic('myVariable')
> 
> In an ideal world the HTML code for this after exporting
> the org file
> would look like this:
> 
>  
> doMagic('myVariable')
> 
> The purpose is of course to indicate that `doMagic' is a
> literal
> function/method name while `myVariable' is not meant
> literal and is to
> be replaced something more or less sensible.
> 

... did you play with  "Literal examples",  
chapter 12.1 of the manual?

or "12.6.6 Text areas" ?
cheers,

Giovanni





___
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] Markup for export question

2009-07-09 Thread Sebastian Rose
Ulf Stegemann  writes:
> When writing documentations I often come across expressions like
>
>   doMagic('myVariable')
>
> In an ideal world the HTML code for this after exporting the org file
> would look like this:
>
>   doMagic('myVariable')


Example:


  #+MACRO: macname (eval (format "Macro says '%s'" $1))
  
  * Some headline
  
{{{macname("Something to say here")}}}



It does _not_ work without the `eval'.



See:

  http://orgmode.org/Changes.html#sec-2.1.1




  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] Markup for export question

2009-07-09 Thread Sebastian Rose

Haha, just for the fun of it: While trying to document this via
Org-mode, I had to define this macro here:


  #+MACRO: macro {{{$1}}}
  
  * Predefined Macros
  
 * ={{{macro(date(TIME_FORMAT_STRING))}}}=
 * ={{{macro(modification-time(TIME_FORMAT_STRING))}}}=
 * ={{{macro(time(TIME_FORMAT_STRING))}}}=
 * ={{{macro(input-file)}}}=


  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] further on compiling development version of org-mode without make command

2009-07-09 Thread Stefan Vollmar

Gentlemen,

we have tried the lisp-version for updating a the plain vanilla MS  
Windows emacs (http://ftp.gnu.org/gnu/emacs/windows) and I think we  
are almost there - thanks for all the help so far!


When running make update on MacOS X with Aquamacs 1.8b I get lots of  
warnings about "functions not known to be defined" or "functions might  
not be defined at runtime", however, everything seems to work just fine.


Running Sebastian's script on the Windows version yields a number of  
similar warnings but has in addition some "cannot open load file"  
errors (see below). My feeling is that something comparatively simple  
is missing, many thanks in advance for any help with this!


Warm regards,
 Stefan

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
agenda.el at Thu Jul 09 13:50:09 2009


In org-prepare-agenda:
org-agenda.el:2369:11:Warning: assignment to free variable
  `org-agenda-contributing-files'
org-agenda.el:2371:34:Warning: org-agenda-files called with 2  
arguments, but

  accepts only 0-1

In org-agenda-fontify-priorities:
org-agenda.el:2450:31:Warning: reference to free variable `org- 
priority-faces'


In org-agenda-list:
org-agenda.el:2862:14:Warning: org-agenda-files called with 2  
arguments, but

  accepts only 0-1
org-agenda.el:2867:38:Warning: org-agenda-files called with 2  
arguments, but

  accepts only 0-1

[...]

In org-search-view:
org-agenda.el:2991:18:Warning: org-agenda-files called with 2  
arguments, but

  accepts only 0-1
Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
ascii.el at Thu Jul 09 13:50:10 2009

org-ascii.el:29:1:Error: Cannot open load file: org-exp

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
attach.el at Thu Jul 09 13:50:10 2009


In end of data:
org-attach.el:417:1:Warning: the following functions are not known to  
be defined:

  org-fit-window-to-buffer, org-ido-completing-read

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
bbdb.el at Thu Jul 09 13:50:10 2009


In end of data:
org-bbdb.el:388:1:Warning: the following functions are not known to be  
defined:

  bbdb-record-name, bbdb-current-record, bbdb-record-getprop,
  bbdb-name, bbdb-company, bbdb, bbdb-split, bbdb-string-trim,
  bbdb-records, diary-ordinal-suffix, bbdb-completing-read-record

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
bibtex.el at Thu Jul 09 13:50:10 2009


In end of data:
org-bibtex.el:205:1:Warning: the following functions are not known to  
be defined:

  bibtex-beginning-of-entry, bibtex-parse-entry,
  bibtex-generate-autokey, bibtex-url

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
clock.el at Thu Jul 09 13:50:10 2009


In org-clock-get-clock-string:
org-clock.el:354:61:Warning: reference to free variable
  `org-time-clocksum-format'

In org-clock-out:
org-clock.el:775:65:Warning: reference to free variable
  `org-time-clocksum-format'

[...]

In end of data:
org-timer.el:261:1:Warning: the function `org-indent-line-to' is not  
known to

  be defined.

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
vm.el at Thu Jul 09 13:50:13 2009


In end of data:
org-vm.el:134:1:Warning: the following functions are not known to be  
defined: vm-summarize,

  vm-follow-summary-cursor, vm-select-folder-buffer, vm-su-subject,
  vm-get-header-contents, vm-su-message-id, org-add-link-props,
  vm-isearch-update, vm-isearch-narrow, vm-preview-current-message

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
w3m.el at Thu Jul 09 13:50:13 2009


In end of data:
org-w3m.el:173:1:Warning: the function `w3m-anchor' is not known to be
  defined.

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
wl.el at Thu Jul 09 13:50:13 2009


In end of data:
org-wl.el:147:1:Warning: the following functions are not known to be  
defined:

  wl-summary-message-number, wl-summary-registered-temp-mark,
  elmo-message-field, elmo-msgdb-overview-get-entity,
  wl-summary-buffer-msgdb, wl-summary-line-from,
  elmo-message-entity-field, wl-summary-line-subject,
  org-add-link-props, wl, elmo-folder-exists-p,
  wl-folder-goto-folder-subr, wl-summary-jump-to-msg-by-message-id,
  wl-summary-redisplay

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
xoxo.el at Thu Jul 09 13:50:13 2009

org-xoxo.el:29:1:Error: Cannot open load file: org-exp

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org.el  
at Thu Jul 09 13:50:13 2009

org.el:88:1:Error: Cannot open load file: org-compat
Leaving directory `d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/'

Compiling file D:/Program Files (x86)/emacs-22.3/org-6.28e/lisporg- 
install.el at Thu Jul 09 13:50:15 2009

Entering directory `d:/Program Files (x86)/emacs-22.3/org-6.28e/'



On 09.07.2009, at 11:17, Sebastian Rose wrote:


Eric S Fraga  writes:

Hello again,

Although Sebastian's elisp code was perfect for batch compiling the
lisp/*.el 

Re: [Orgmode] Markup for export question

2009-07-09 Thread Sebastian Rose
Sebastian Rose  writes:
> Ulf Stegemann  writes:
>> When writing documentations I often come across expressions like
>>
>>   doMagic('myVariable')
>>
>> In an ideal world the HTML code for this after exporting the org file
>> would look like this:
>>
>>   doMagic('myVariable')
>
>
> Example:
>
>
>   #+MACRO: macname (eval (format "Macro says '%s'" $1))
>
>   * Some headline
>
> {{{macname("Something to say here")}}}
>
>
>
> It does _not_ work without the `eval'.
>
>
>
> See:
>
>   http://orgmode.org/Changes.html#sec-2.1.1
>



Can someone here tell me, what I read when looking at the OP's email?




This works, but not in #+BEGIN_SRC or `  : ' protected:

  @doMagic('@myVariable@')@



  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] further on compiling development version of org-mode without make command

2009-07-09 Thread Sebastian Rose
Stefan Vollmar  writes:
> Gentlemen,
>
> we have tried the lisp-version for updating a the plain vanilla MS Windows 
> emacs
> (http://ftp.gnu.org/gnu/emacs/windows) and I think we  are almost there - 
> thanks
> for all the help so far!
>
> When running make update on MacOS X with Aquamacs 1.8b I get lots of warnings
> about "functions not known to be defined" or "functions might  not be defined 
> at
> runtime", however, everything seems to work just fine.
>
> Running Sebastian's script on the Windows version yields a number of similar
> warnings but has in addition some "cannot open load file"  errors (see
> below). My feeling is that something comparatively simple  is missing, many
> thanks in advance for any help with this!
>
> Warm regards,
>  Stefan
>
> Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org-
> agenda.el at Thu Jul 09 13:50:09 2009
>
> In org-prepare-agenda:
> org-agenda.el:2369:11:Warning: assignment to free variable
>   `org-agenda-contributing-files'
> org-agenda.el:2371:34:Warning: org-agenda-files called with 2 arguments, but
>   accepts only 0-1
>
> In org-agenda-fontify-priorities:
> org-agenda.el:2450:31:Warning: reference to free variable `org-
> priority-faces'
>
> In org-agenda-list:
> org-agenda.el:2862:14:Warning: org-agenda-files called with 2 arguments, but
>   accepts only 0-1
> org-agenda.el:2867:38:Warning: org-agenda-files called with 2 arguments, but
>   accepts only 0-1
>
> [...]
>
> In org-search-view:
> org-agenda.el:2991:18:Warning: org-agenda-files called with 2 arguments, but
>   accepts only 0-1
> Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org-
> ascii.el at Thu Jul 09 13:50:10 2009
> org-ascii.el:29:1:Error: Cannot open load file: org-exp



Hello Stefan,



this last one is because of the line 
(require 'org-exp)
in `org-ascii.el'



...OK, I tried with a vanilla emacs (emacs -Q) and saw, we either need a
list of files in the right order, or we compile all the files 5 times
(which is bad, since that value could change).


The list is in the Makefile already (that list could change too). I'll
try it that way and post the results here.




  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] further on compiling development version of org-mode without make command

2009-07-09 Thread Sebastian Rose
Hello Stefan,



this works here with `emacs -Q'

 we forgot the load path 
The function is likely to change some more. I just send this version, so
you can compile this way (hopefully).


Sebastian






binZI12hwAFZV.bin
Description: application/emacs-lisp
___
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] further on compiling development version of org-mode without make command

2009-07-09 Thread Sebastian Rose
Hi Eric and Stefan,


I push the results of this thread to

  http://orgmode.org/org-hacks.html#compiling-org-without-make


This will be available only in one or two hours. If you follow worg.git,
feel free to pull and edit it (Eric, you're a worger, aren't you?). That
way we don't have to send that stuff back and forth all the time.




BTW:  Great how fast the FAQ et al are updated these times. Great work
  everyone! That is fun! :-)




   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


[Orgmode] Latest Org and Carbon Emacs

2009-07-09 Thread Karl Maihofer
Until now I used Org with Debian GNU/Linux. Today I bought a MacBook Pro 
13" and I spent the evening making my first steps with MacOS. I 
installed the Carbon Emacs package and configured Emacs to use the 
latest Org-Version that I copied to ~/elisp/org-mode/.


(add-to-list 'load-path "~/elisp/org-mode/lisp/")
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))

When I try to export an org-file to LaTeX I get the following error:

org-export-latex-first-lines: Symbol's function definition is void: 
org-cleaned-string-for-export


I think I saw this error already some time ago and the reason was, that 
an old org-version conflicts with the one I use. Under Debian I renamed 
the Org-elisp-files in the Emacs-Program-Directory and the problem was 
solved. But under MacOS I cannot find these files - as I wrote, I am 
completely new to MacOS. I scanned the Folders /Applications/Emacs.app/* 
but couldn't find the org elisp files.


Could anybody give me a hint where to find the files and how to solve my 
problem?


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] Newbie Questions

2009-07-09 Thread Andrew M. Nuxoll
Ok, newb here.  I have only been using org-mode for a few days now.  But 
I've been an emacs guy since 1992, I have read the manual and I've also 
searched the archive of this mailing list.  So, forgive me if these 
questions are repeats.  Also, Dominick said you had to be nice to me 
while he was away.


1.  When I view my agenda for a day it displays TODO items twice if they 
are both SCHEDULED and DEADLINEd (a common occurrence for me).  Can this 
be avoided?  Here's a generic example snippet from my agenda:

   Thursday9 July 2009
 nux:Scheduled:  TODO [#B] Call Mary :PROJECT::
 nux:In   1 d.:  TODO [#B] Call Mary :PROJECT::

2.  Once a TODO item has been marked as DONE, it still shows up on my 
agenda.  Can this be avoided? 



Meta-Comments on Questions 1&2:  I realize I have the option of using 
the "ToDo Items" agenda view instead of the day/week agenda view but 
that doesn't work for me because I use the SCHEDULED property as a way 
of selecting a small subset of tasks for the day from a long list of 
TODO items.  I also rely heavily upon repeating tasks to automate most 
of this.  So maybe the solution to #1 and #2 is to use a custom agenda 
of some sort but I don't see an obvious way to create one that does what 
I want.


3.  Once I set a deadline for a task, it'd be nice if the priority would 
increase as the deadline approached.  Ideally the  criteria for 
increasing the priority could be specified via a customizable formula.  
Does this functionality (or anything like it) exist?


Thanks,
:AMN:



___
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] Latest Org and Carbon Emacs

2009-07-09 Thread Nick Dokos
Karl Maihofer  wrote:

> Until now I used Org with Debian GNU/Linux. Today I bought a MacBook
> Pro 13" and I spent the evening making my first steps with MacOS. I
> installed the Carbon Emacs package and configured Emacs to use the
> latest Org-Version that I copied to ~/elisp/org-mode/.
> 
> (add-to-list 'load-path "~/elisp/org-mode/lisp/")
> (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
> 
> When I try to export an org-file to LaTeX I get the following error:
> 
> org-export-latex-first-lines: Symbol's function definition is void:
> org-cleaned-string-for-export
> 
> I think I saw this error already some time ago and the reason was,
> that an old org-version conflicts with the one I use. Under Debian I
> renamed the Org-elisp-files in the Emacs-Program-Directory and the
> problem was solved. But under MacOS I cannot find these files - as I
> wrote, I am completely new to MacOS. I scanned the Folders
> /Applications/Emacs.app/* but couldn't find the org elisp files.
> 
> Could anybody give me a hint where to find the files and how to solve
> my problem?
> 

You are missing a

(require 'org-install)

after the  load path is set.

HTH,
Nick

PS. Checking org-version is always a good idea: M-x org-version

You can find where emacs is picking up the files by evaluating this:
 (locate-library "org")

or interactively:
 M-x locate-library  org 


___
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] Newbie Questions

2009-07-09 Thread Brian van den Broek

Andrew M. Nuxoll said unto the world at 09/07/09 04:37 PM:

2.  Once a TODO item has been marked as DONE, it still shows up on my 
agenda.  Can this be avoided?


I have the following lines in my .emacs:

(setq org-agenda-skip-scheduled-if-done t)
(setq org-agenda-skip-deadline-if-done t)


Best,

Brian vdB


___
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] Latest Org and Carbon Emacs

2009-07-09 Thread Karl Maihofer
Thanks! I was able to find the org-lisp-files of the old org-version 
with "locate-library". Then I renamed the files and added the following 
to my configuration:


(require 'org-latex)

Now LaTeX export works!

Thanks again!

Karl

Nick Dokos schrieb:

Karl Maihofer  wrote:

  

Until now I used Org with Debian GNU/Linux. Today I bought a MacBook
Pro 13" and I spent the evening making my first steps with MacOS. I
installed the Carbon Emacs package and configured Emacs to use the
latest Org-Version that I copied to ~/elisp/org-mode/.

(add-to-list 'load-path "~/elisp/org-mode/lisp/")
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))

When I try to export an org-file to LaTeX I get the following error:

org-export-latex-first-lines: Symbol's function definition is void:
org-cleaned-string-for-export

I think I saw this error already some time ago and the reason was,
that an old org-version conflicts with the one I use. Under Debian I
renamed the Org-elisp-files in the Emacs-Program-Directory and the
problem was solved. But under MacOS I cannot find these files - as I
wrote, I am completely new to MacOS. I scanned the Folders
/Applications/Emacs.app/* but couldn't find the org elisp files.

Could anybody give me a hint where to find the files and how to solve
my problem?




You are missing a

(require 'org-install)

after the  load path is set.

HTH,
Nick

PS. Checking org-version is always a good idea: M-x org-version

You can find where emacs is picking up the files by evaluating this:
 (locate-library "org")

or interactively:
 M-x locate-library  org 

  




___
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: Latest Org and Carbon Emacs

2009-07-09 Thread Matthew Lundin
Karl Maihofer  writes:

> Until now I used Org with Debian GNU/Linux. Today I bought a MacBook
> Pro 13" and I spent the evening making my first steps with MacOS. I
> installed the Carbon Emacs package and configured Emacs to use the
> latest Org-Version that I copied to ~/elisp/org-mode/.

I'll have to rely on my memory here, since I went in the opposite
direction (from MacOS to GNU/Linux). ;)

> (add-to-list 'load-path "~/elisp/org-mode/lisp/")
> (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
>
> When I try to export an org-file to LaTeX I get the following error:
>
> org-export-latex-first-lines: Symbol's function definition is void:
> org-cleaned-string-for-export
>
> I think I saw this error already some time ago and the reason was,
> that an old org-version conflicts with the one I use. Under Debian I
> renamed the Org-elisp-files in the Emacs-Program-Directory and the
> problem was solved. But under MacOS I cannot find these files - as I
> wrote, I am completely new to MacOS. I scanned the Folders
> /Applications/Emacs.app/* but couldn't find the org elisp files.

If I remember correctly. the old org lisp files are located in
/Applications/Emacs.app/Contents/Resources/lisp/textmodes.

I found it easiest to install the new org files directly to the
Emacs.app directory. And fortunately, I still have my Makefile
modifications in an org-file:

--8<---cut here---start->8---
# Name of your emacs binary
EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs

# Where local software is found
prefix=/usr/local

# Where local lisp files go.
lispdir = /Applications/Emacs.app/Contents/Resources/site-lisp

# Where info files go.
infodir = /Applications/Emacs.app/Contents/Resources/info 
--8<---cut here---end--->8---

If you install the files to site-lisp, they are loaded instead of the
files in lisp/textmodes.

Best,
Matt


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


[Orgmode] Re: A MindMap export would be awesome

2009-07-09 Thread Charles Cave

> org-mode can export to freemind with a contrib package. Take a look at
> org-export-freemind-0.1.0 in the contrib/packages directory in the
> org-mode source.

It would be good if the Freemind exporting package would include the
text of a headline in the node itself rather than a subnode.
Would someone like to have a go at modifying the package to do that
or make it configurable?

With Mind Maps, usually you would brainstorm and create your
presentation in a Mind Map and then create the details.  Converting
the org-mode back to a Mind Map introduces the challenge of making
each Mind Map node into a keyword or very short phrase.

I will follow this discussion with great interest!

Charles





___
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] Newbie Questions

2009-07-09 Thread Nick Dokos
Andrew M. Nuxoll  wrote:

> Also, Dominick said you had to be nice to me while he was away.
> 

Just an FYI (a nice one since Carsten said so :-): Carsten is the first
name, Dominik (no c) is the surname of the creator of Org-mode. And I
promise we'll be nice even after he comes back :-)

> 1.  When I view my agenda for a day it displays TODO items twice if they 
> are both SCHEDULED and DEADLINEd (a common occurrence for me).  Can this 
> be avoided?  Here's a generic example snippet from my agenda:
> Thursday9 July 2009
>   nux:Scheduled:  TODO [#B] Call Mary :PROJECT::
>   nux:In   1 d.:  TODO [#B] Call Mary :PROJECT::
> 

I think you SCHEDULE an item on a given day, in order to start working
on it on that day. There is generally no penalty for taking perhaps a
long time to finish it, or rescheduling it for a later time. All that
happens is that at some point in the future it'll pop up in the
agenda. DEADLINE on the other hand implies a penalty: if you don't
finish it by the deadline, something bad is going to happen. It then
starts appearing in the agenda a few days before the actual deadline to
remind you of the dire consequences, should you miss the deadline. How
many days before is controllable either by a global variable or by
modifying the timestamp (see section 8.3 of the manual: Deadlines and
Scheduling). Apologies if you already know the details, but I wanted
to highlight the difference between these two.

So let me turn the question around: why do you need to both SCHEDULE
and DEADLINE the same item?

> 2.  Once a TODO item has been marked as DONE, it still shows up on my 
> agenda.  Can this be avoided? 
> 

I believe this was answered already.

> 
> Meta-Comments on Questions 1&2:  I realize I have the option of using 
> the "ToDo Items" agenda view instead of the day/week agenda view but 
> that doesn't work for me because I use the SCHEDULED property as a way 
> of selecting a small subset of tasks for the day from a long list of 
> TODO items.  I also rely heavily upon repeating tasks to automate most 
> of this.  So maybe the solution to #1 and #2 is to use a custom agenda 
> of some sort but I don't see an obvious way to create one that does what 
> I want.
> 
> 3.  Once I set a deadline for a task, it'd be nice if the priority would 
> increase as the deadline approached.  Ideally the  criteria for 
> increasing the priority could be specified via a customizable formula.  
> Does this functionality (or anything like it) exist?
> 

I don't think anything like that exists, but with a Small[1] Amount of
Programming (TM), it could probably be cobbled up - maybe as a cron job?


Nick

[1] OK, maybe not so small...


___
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] Newbie Questions

2009-07-09 Thread Andrew M. Nuxoll

Nick Dokos wrote:

Just an FYI (a nice one since Carsten said so :-): Carsten is the first
name, Dominik (no c) is the surname of the creator of Org-mode. And I
promise we'll be nice even after he comes back :-)
  

Err, whoops!

So let me turn the question around: why do you need to both SCHEDULE
and DEADLINE the same item?
  
In my mind, there is no conflict between scheduling and deadlining.  So, 
I may be missing something.  In my case, I am scheduling myself to work 
on an item that has a deadline.  I don't think that's an unusual 
scenario.  For example, I have a grant proposal I need to have a draft 
of by Monday (DEADLINE) but I've scheduled Thursday afternoon to work on 
it.  By putting SCHEDULED on it means that it gets attention on that day 
unless Murphy steps in.  If Murphy does, then I still have the benefit 
of the DEADLINE to keep me apprised of my dire situation.


An alternative (which I don't like) is to not use DEADLINE on a 
SCHEDULED item.  Instead, I can just attach a second date to the item 
and label it "deadline" or "drop dead date."  So, the best option I have 
now is to ignore the double entry.  I was hoping there was a magic 
variable(TM) for this like there was with the other issue. 

  
2.  Once a TODO item has been marked as DONE, it still shows up on my 
agenda.  Can this be avoided? 

I believe this was answered already.
  

Yes it was.  Thanks, Brian.



___
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: further on compiling development version of org-mode without make command

2009-07-09 Thread Rainer Stengele
Sebastian Rose schrieb:
> Hi Eric and Stefan,
> 
> 
> I push the results of this thread to
> 
>   http://orgmode.org/org-hacks.html#compiling-org-without-make
> 
> 
> This will be available only in one or two hours. If you follow worg.git,
> feel free to pull and edit it (Eric, you're a worger, aren't you?). That
> way we don't have to send that stuff back and forth all the time.
> 
> 
> 
> 
> BTW:  Great how fast the FAQ et al are updated these times. Great work
>   everyone! That is fun! :-)
> 
> 
> 
> 
>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
> 

Hi Sebastian,


I cannot find contents under
http://orgmode.org/org-hacks.html#compiling-org-without-make


Is that the correct place for the link?
http://orgmode.org/worg/org-faq.php#installing-org-without-make-tools


Rainer


___
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: further on compiling development version of org-mode without make command

2009-07-09 Thread Bastien
Hi Rainer,

Rainer Stengele  writes:

> Is that the correct place for the link?
> http://orgmode.org/worg/org-faq.php#installing-org-without-make-tools

This one works:
http://orgmode.org/worg/org-hacks.php#compiling-org-without-make

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