[Orgmode] org-annotation-helper

2009-05-03 Thread thierry . volpiatto
Hi all,
I use org-annotation-helper.el with firefox.
When i have a region with multilines marked in firefox and i use
remember, the region is  sended to emacs but on one line (the newlines
are removed). 
Somebody know how to fix that?
Thanks.
-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France



___
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] Bug: org-plain-list-ordered-item-terminator

2009-05-03 Thread Carsten Dominik

Fixed.

However, bullet cycling also seems to have bugs when this
variable is not equal to t.

Why do you need to change the variable?

- Carsten

On Apr 26, 2009, at 3:39 AM, Matthew Lundin wrote:


When I set org-plain-list-ordered-item-terminator to 'paren like in
"2)"' in the customize interface, I no longer able to use plain  
lists in

org-mode, but instead get the following error:

,
| org-at-item-p: Invalid regexp: "Unmatched ( or \\("
`

In my custom settings, the setting looks like this:

,
| [snip]
| '(org-plain-list-ordered-item-terminator 41)
| [snip]
`

Here's the backtrace:

,
| Debugger entered--Lisp error: (error "Cannot return from the  
debugger in an error")
|   looking-at("\\([ 	]*\\([-+]\\|\\([0-9]+))\\)\\|[ 	]+\\*\\)\\( \\| 
$\\)")

|   org-at-item-p()
|   org-metaright(nil)
|   call-interactively(org-metaright nil nil)
`

And here are my other plain list settings:

--8<---cut here---start->8---
(setq org-blank-before-new-entry '((heading . auto) (plain-list- 
item . auto)))

(setq org-empty-line-terminates-plain-lists nil)
(setq org-cycle-include-plain-lists nil)
--8<---cut here---end--->8---

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




___
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] 12h time format for agenda view only?

2009-05-03 Thread Carsten Dominik

No, this is currently not possible.

- Carsten

On Apr 29, 2009, at 1:16 AM, Jason Jackson wrote:


Is there a way to show am/pm time format in the agenda view?

Cheers,
Jason
___
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] Two questions about latex export

2009-05-03 Thread Carsten Dominik


On Apr 27, 2009, at 7:34 PM, Robert Goldman wrote:


1.  I am making a table of conditional probabilities.  This means the
table headers look like this: p(e|\omega), for example.  The vbar in  
the
header confuses orgmode.  It thinks that's a column-delimiter.   
Adding a

prefix \ does not help.  Is there a work around?  For the moment I put
\newcommand{\vbar}{|} in a latex block and use \vbar in place of |.
Works, but makes the table a little less readable than I'd like.


\vert, as pointed out by Giovanni.



more importantly:

2.  I put an eqnarray* environment in my org file.  The equation  
breaks

across multiple lines so it looks like this:

\begin{eqnarray*}

x &=& blah blah blah \\
 &=& blah blah blah \\
   &=& blah blah blah \\
\end{eqnarray*}

org-mode quotes (backslashes) the &=& so they don't get interpreted
correctly.  Is there something I can do to keep that from happening?


This is a bug, fixed now, 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


Re: [Orgmode] bugs in org-remember-backup-directory

2009-05-03 Thread Carsten Dominik


On Apr 26, 2009, at 12:08 AM, Samuel Wales wrote:


I noticed the following regarding
org-remember-backup-directory:

 1) auto-saving does not save contents
- solution: put (auto-save-mode 1) before or after (not
  sure which) the call to org-set-local in the
  following lines in org-remember:

   #  (expand-file-name
   #   (format-time-string "remember-%Y-%m-%d-%H-%M-%S")
   #   org-remember-backup-directory))
   # (save-buffer)
   # (org-set-local 'auto-save-visited-file-name t))
   #   (when (save-excursion


Done.



 2) save-buffer is called before there are any contents
- this causes files without useful content to stick
  around in the dir if the buffer is killed or
  something.
- solution: don't save the buffer; let auto-saving do
  that work.  will this work?


Usually, the template expansion will have filled in stuff like
links and initial contents, so I would prefer to keep the
save-buffer here and let the user deal with the extra files.


 3) if you have auto-save-file-name-transforms set,
auto-saving is done according to that variable instead
of saving in place.


I am now turning that variable off, locally in the remember buffer.
Does that fix the problem?

- Carsten


- solution: is this an emacs bug?  i am not sure.  the
  auto-saving should be done in place, saving in
  org-remember-backup-directory and not saving in the
  place where the transforms variable tells it to save.
  perhaps each user can kludge transforms or perhaps
  emacs needs fixing?  i have reached debugging ability
  limit.

Thanks.

--  
Myalgic encephalomyelitis denialism is causing death and severe  
suffering
worse than MS.  Greed is corrupting science into foul nonsense.   
Anybody can
get the disease at any time permanently.  Do science and justice  
matter to

you?  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] Sorting org-mode Outlines with xemacs

2009-05-03 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Apr 23, 2009, at 5:00 PM, Hendrik Radke wrote:


Hello,

first, thank you for this wonderful program that helps me organize  
my day.


I am using XEmacs 21.4.21 on a Debian Lenny system, together with
Org-Mode version 6.25d, which works quite well.

However, while trying to sort a list by priority, I encountered an
error: "Wrong type argument: stringp, ?B"

This error stems from org.el, function "org-sort-entries-or-items", in
line 6136. Obviously, it tries to convert a string to a char, but the
argument is already a character, so it fails with type mismatch.

Remedy: I substituted the line
(string-to-char (match-string 2))
with
(match-string 2)
, which fixed the mentioned error.

regards,
Hendrik Radke


___
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: Sorting org-mode Outlines with xemacs

2009-05-03 Thread Carsten Dominik

XEmacs 21 is still supported.

- Carsten

On Apr 27, 2009, at 7:31 PM, Eric S Fraga wrote:


"Hendrik Radke"  writes:


Hello,

first, thank you for this wonderful program that helps me organize  
my day.


I am using XEmacs 21.4.21 on a Debian Lenny system, together with
Org-Mode version 6.25d, which works quite well.


Hi,

I think there was a recent announcement on the org-mode list that  
emacs

21 is no longer supported?  Isn't emacs 22 available for lenny?
Upgrading your emacs would probably be beneficial in other ways as
well.  Just a thought.

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




___
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: org-mode on sloooow computer

2009-05-03 Thread Carsten Dominik


On Apr 25, 2009, at 6:25 PM, Bernt Hansen wrote:


Eric S Fraga  writes:


Carsten Dominik writes:

Ummm, this doesn't work for me?  C-c C-x r is undefined.


You need to be in an org-mode buffer for this..


Ah.  Yes.



I just use M-x org-reload and C-u M-x org-reload since that works
everywhere.

C-c C-x r doesn't work in the agenda either which feels weird.



Hmm, I just noticed that `C-c C-x r' is one of the bindings also
used for Emacs in a terminal, to replace `M-right'.

org-reload is now on `C-c C-x !', both in Org buffers and in the agenda.

- 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] Re: org-mode on sloooow computer

2009-05-03 Thread Carsten Dominik


On Apr 28, 2009, at 12:33 PM, Rainer Stengele wrote:


Carsten Dominik schrieb:
I have just pushed one more optimization which may improve things a  
bit

for you, Rainer.

- Carsten
...



Hi Carsten,

results see here:


before your last optimsation:

org-run-agenda-series  
1   1.797 1.797


after your optimisation (see below):

org-run-agenda-series  
1   1.703 1.703
org-agenda 
1   1.703 1.703
org-let2   
2   1.39  0.695000
org-agenda-list
1   1.281000  1.281000
org-agenda-get-day-entries 
12  1.202 0.100166
org-agenda-get-scheduled   
10  0.796999  0.0797
org-end-of-subtree 
15330.44  0.0002870189
org-time-string-to-absolute
16350.236000  0.0001443425
org-prepare-agenda 
3   0.218999  0.073
org-prepare-agenda-buffers 
1   0.202999  0.202999
org-parse-time-string  
18050.188 0.0001041551
org-agenda-get-timestamps  
10  0.14  0.014000
org-todo-list  
1   0.109 0.109
org-agenda-get-deadlines   
10  0.094 0.0094
org-closest-date   
240 0.094 0.000391
org-back-to-heading
22060.094 4.26...e-005
org-finalize-agenda
3   0.094 0.031333
org-let
1   0.094 0.094
org-outline-level  
15330.094 6.13...e-005
org-agenda-get-todos   
2   0.093 0.0465
org-date-to-gregorian  
480 0.078 0.0001625
org-agenda-fontify-priorities  
1   0.078 0.078
org-get-entries-from-diary 
5   0.063 0.0126
org-agenda-skip
32200.063 1.95...e-005
org-agenda-skip-if 
167 0.063 0.0003772455
org-agenda-skip-entry-if   
167 0.063 0.0003772455
org-refresh-category-properties
2   0.047000  0.023500
org-get-todo-state 
335 0.047 0.0001402985
org-agenda-get-blocks  
10  0.046 0.0046
org-agenda-files   
4   0.032 0.008
org-get-effort 
72  0.031 0.000430
org-entry-get  
72  0.031 0.000430
org-format-agenda-item 
74  0.031 0.0004189189
org-at-date-range-p
219 0.031 0.0001415525
org-get-wdays  
150 0.016 0.000106
org-entries-lessp  
219 0.016 7.30...e-005
org-agenda-get-sexps   
10  0.016 0.0016
org-agenda-align-tags  
1   0.016 0.016
org-finalize-agenda-entries
5   0.016 0.0032
org-check-agenda-file  
14  0.015 0.0010714285
org-get-property-block 
72  0.015 0.000208




So it looks like I have come from 1.797 down to 1.703.
And by the way - the times are even now varying between
org-run-agenda-series  
1   1.563 1.563

and little over 2 seconds.


Will I see much improvement when archiving a lot of subtrees inside  
the org file?


I don't think so, archiving to a separate file is the best way to keep  
things fast.


- Carsten




Thanks so much for this special "Rainer" optimisation ;)

Re: [Orgmode] ical filename : enhancement request

2009-05-03 Thread Carsten Dominik

Hi Richard,

this is the variable org-combined-agenda-icalendar-file.

- Carsten

On Apr 26, 2009, at 12:58 AM, Richard Riley wrote:



I don't immediately see if I can customise the org ical export file  
name

- it says it stores it in the current dir which is a pretty nebulous
think for a long running emacs session - generally it generates  
org.ics

in my home directory. I would like to be able to customise the ical
output file if possible.


___
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: markup in environments in latex export

2009-05-03 Thread Carsten Dominik

Hi Chris,

I have been pondering about this idea, and I prefer to not integrate
it into the Org core because I think it may lead to undesired behavior,
in particular in the other backends like docbook or ASCII.

However, I have just created three new hooks

* org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
(org-export-preprocess-string): Run the new hook.

* org-latex.el (org-export-latex-after-blockquotes-hook): New  
hook.

(org-export-latex-preprocess): Run the new hook.

* org-html.el (org-export-html-after-blockquotes-hook): New hook.
(org-export-as-html): Run the new hook.

which would allow to easily implement your idea as an add-on package
that we could include in the contrib directory.  Would you like to
reformulate your patch into a small add-on?  The only thing I would
like to ask is to keep it LaTeX/HTML-specific, and this means that
the action to turn #+begin_. into the cookies should be wrapped
into

(when (or latexp htmlp)
   ...
  )



latexp and htmlp are a local variables available when the
first of the three hooks is run.

- Carsten

On Apr 19, 2009, at 9:55 PM, Chris Gray wrote:


Hi Carsten,

I took up your challenge and made a patch that does what I want.  It
does what I suggested in my previous email in that it allows one to
put #+begin_foo and #+end_foo tags in the body of an org file.  These
tags allow you to change the environment of the text between them.
What that means is left up to the exporter.  For example, in LaTeX,
the tags are expanded to \begin{foo} and \end{foo}, whereas in HTML, I
have the tags being expanded to  and .  (I am
not sure if that is the right thing to do in HTML...)  The text
between the tags is not protected, and thus it is interpreted for
markup just as the rest of the file.

I have left the old cases in place, so blockquote, verse, and center
should still have the same behaviour as before.  The only behaviour
that changes is with #+begin_quote in HTML.  This no longer generates
a blockquote, but a .  It would be easy to revert
this to the old behaviour if many people were using #+begin_quote with
HTML export.

I have put the patches up in a github repository (basically because I
wanted to play with github), so you should be able to pull them from
the general-cookies branch of git://github.com/chrismgray/org-mode.git

Cheers,
Chris

Carsten Dominik wrote:


Hi Chris,



no, this is really by design the way it is.  Org-mode has its own
markup.  As a bonus to people used to LaTeX, it allows certain
LaTeX constructs to be intermingled into the file.  For LaTeX
export, it will export these *literally*, the entire construct.
For HTML export, you can arrange for these snippets to be
processed by LaTeX as well and then included as images,
this is useful for formulas and some other constructs.



Here is a way to fool it:



\nop{}\begin{center}



- /a/ this is a
- /b/ this is b



\begin{itemize}
\item \emph{a} this is a
\item \emph{b} this is b
\end{itemize}



\nop{}\end{center}



- /a/ this is a
- /b/ this is b




Why does it fool it?  Because it recognized full environments to be
included
by \begin ... \end, wit these macros at the beginning of the line.



If I were to allow what you propose, it would quickly become hard to
know
what should be LaTeX and what not.  I think.


Feel free to try to make a patch that will convince me of the  
opposite.



- Carsten





On Apr 16, 2009, at 3:09 PM, Chris Gray wrote:



Carsten Dominik wrote:



Hi Chris,



you can't have the cake and eat it.



if you insert a LaTeX environment, the entire environment
will be protected.  After all, you rely on this quoting with your
itemize environment!



Hi Carsten,



I don't really understand this.  I can see it for things like the
verbatim environment, but that might be a special case.



However, you can do this:



#+begin_center


I should have chosen a different example I suppose.  What I am  
really

using, rather than center, are the theorem, lemma, and proof
environments.  I thought it would be safer for my example to use an
environment that is included by default in LaTeX.  Unfortunately,
center
is already a special case in org.  But I tried #+begin_proof and  
that

did not work.



This works by the protection being done first, and only
then #+begin_center is turned into \begin{center}



Perhaps that could be generalized so that #+begin_foo means "do the
regular org parsing and then turn on \begin{foo}"?  Other exporters
would be free to ignore these commands.



I really like doing my work in org mode, and I can certainly convert
my
markup commands to regular LaTeX, but doing that really seems like a
second-best solution.



Cheers,
Chris





___
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] Timestamp modifiers for specific tags

2009-05-03 Thread Carsten Dominik

You can do things like this with Emacs keyboard macros.

- Carsten

On Apr 30, 2009, at 5:13 PM, Benjamin Tovar wrote:


Hi,

I can specify a timestamp with a modifier like '-3m' to indicate  
that I
want to be reminded of the task 3 months before the deadline. Now,  
say I

have a tag :conference-deadline:, and I want all the entries with such
tag to automatically have the '-3m' modifier, without the need of  
adding

it manually to each of them.

Does anybody have any pointers on how to do this? Thanks!

--
Benjamin Tovar




___
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] Feature request: inherited priorities

2009-05-03 Thread Carsten Dominik

Hi Peter, Matt,

priorities cannot be inherited.

- Carsten

On Apr 29, 2009, at 4:40 PM, Peter Westlake wrote:

I would like to suggest that priorities should be inherited. After  
all,

if a task is high priority, then doing the individual parts of it must
be too.

There are 250 items in my agenda TODO list at the moment, and that's
with dependencies on, ordered subtasks, and missing all the less
important stuff out altogether. I rarely look beyond the first dozen  
or

so lines. With priorities not being inherited, adding a subtask to an
important job can cause it to plunge hundreds of lines down the list  
and

be overlooked. I have to add priorities to everything by hand.

Hope this is a reasonable idea,

Peter.


___
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] Any way to stop the creation of UIDs in the iCalendar exports?

2009-05-03 Thread Carsten Dominik
The UIDs org is using *should* be globally unique.  Can you show an  
example of ID's it is creating?


- Carsten

On Apr 28, 2009, at 7:53 PM, Joseph Korbeck wrote:

I use the .ics files created by Org-mode's iCalendar export feature  
so that I can see my tasks and appointments using Sunbird 0.9.


Unfortunately, in my installation, Org-mode is generating non-unique  
UIDs -- forcing me to use an earlier version of Org-mode (6.02b)  
which does not produce UIDs when exporting iCalendar files.



Is there a way that I can stop the generation of UIDs when I export  
iCalendar (.ics) files?



Thanks,
Joseph Korbeck


Rediscover Hotmail®: Now available on your iPhone or BlackBerry  
Check it out.___

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] [PATCH] Place org-export-latex-inline-image-extensions in the LaTeX custom group

2009-05-03 Thread Jason Riedy
Just fixing a typo.  The :group should be org-export-latex and not 
org-export-html.

Signed-off-by: Jason Riedy 
---
 lisp/org-latex.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 718fc56..edf5069 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -274,7 +274,7 @@ Note that this depends on the way the LaTeX file is 
processed.
 The default setting (pdf and jpg) assumes that pdflatex is doing the
 processing.  If you are using latex and dvips or something similar,
 only postscript files can be included."
-  :group 'org-export-html
+  :group 'org-export-latex
   :type '(repeat (string :tag "Extension")))
 
 (defcustom org-export-latex-coding-system nil
-- 
1.6.3.rc3.184.g9852e




___
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] Place org-export-latex-inline-image-extensions in the LaTeX custom group

2009-05-03 Thread Carsten Dominik

appied, thanks.

- Carsten

On May 3, 2009, at 8:43 PM, Jason Riedy wrote:

Just fixing a typo.  The :group should be org-export-latex and not  
org-export-html.


Signed-off-by: Jason Riedy 
---
lisp/org-latex.el |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 718fc56..edf5069 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -274,7 +274,7 @@ Note that this depends on the way the LaTeX file  
is processed.

The default setting (pdf and jpg) assumes that pdflatex is doing the
processing.  If you are using latex and dvips or something similar,
only postscript files can be included."
-  :group 'org-export-html
+  :group 'org-export-latex
  :type '(repeat (string :tag "Extension")))

(defcustom org-export-latex-coding-system nil
--
1.6.3.rc3.184.g9852e




___
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] How to disconnect "remember" with "org-remember"?

2009-05-03 Thread Carsten Dominik


On May 2, 2009, at 2:15 AM, Wei-Wei Guo wrote:


Dear all,

I set two different usages for remember, one is the plain remember,  
the other

is the org-remember.

(defun ww/plain ()
 "Writing diary or notes."
 (interactive)
 (setq remember-handler-functions 'nil)
 (remember))

(defun ww/schedule ()
 "Recoding tasks or appointments."
 (interactive)
 (setq org-remember-store-without-prompt t)
 (org-remember-insinuate)
 (org-remember))

After I run ww/schedule, the (remember) and ww/plain become a call  
of org-remember.
It seems (org-remember) will take over (remember). Can I change the  
behavior?


Yes, org-remember-insinuate does this, and is supposed to do this.
What is the problem?

- 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] Timeline view > Headers not time-sorted

2009-05-03 Thread Carsten Dominik

Hi Francesco,

have you modified org-agenda-sorting strategy?  What is its value?

- Carsten

On Apr 30, 2009, at 3:16 PM, Francesco Pizzolante wrote:


Hi,

I'm using org-mode version 6.25a and I'm getting the following
problem: in the timeline view of a single Org file, headers are
not time-sorted.

Here's an Org file example:

--8<---cut here---start->8---
* P1
 :LOGBOOK:
 CLOCK: [2009-04-30 Thu. 13:00]--[2009-04-30 Thu. 15:00] =>  2:00
 :END:

* P2
 :LOGBOOK:
 CLOCK: [2009-04-30 Thu. 10:00]--[2009-04-30 Thu. 12:00] =>  2:00
 :END:
--8<---cut here---end--->8---

With the previous Org file, I end up with the following timeline
view (C-c a L):

--8<---cut here---start->8---
---
Thursday   30 April 2009
 Clocked:   (2:00) P1
 Clocked:   (2:00) P2
--8<---cut here---end--->8---

I would expect to see P2 before P1 in the timeline.

Could you tell me what I'm doing wrong?

Thanks a lot,
Francesco


___
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] Why not emacs -Q for byte-compiling org-mode in the Makefile

2009-05-03 Thread Tassilo Horn
Hi all,

is there a specific reason that the Makefile uses emacs -q and not emacs
-Q for byte-compiling org-mode?

I use a lot of elisp addons, so loading the site-lisp files takes quite
some time and some packages like CEDET even print messages while loading
and obfuscate the compile output.  I changed the Makefile to use -Q
instead of -q which omits loading of site-lisp files, and it still
compiles fine but much faster.

Bye,
Tassilo
-- 
Chuck Norris likes his ice like he likes his skulls: crushed. 



___
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 not emacs -Q for byte-compiling org-mode in the Makefile

2009-05-03 Thread Carsten Dominik


On May 3, 2009, at 9:29 PM, Tassilo Horn wrote:


Hi all,

is there a specific reason that the Makefile uses emacs -q and not  
emacs

-Q for byte-compiling org-mode?


Hi Tassilo,

this is a good idea, but -Q is not understood by XEmacs, and I
am not even sure about Emacs 22.

- Carsten



I use a lot of elisp addons, so loading the site-lisp files takes  
quite
some time and some packages like CEDET even print messages while  
loading

and obfuscate the compile output.  I changed the Makefile to use -Q
instead of -q which omits loading of site-lisp files, and it still
compiles fine but much faster.

Bye,
Tassilo
--
Chuck Norris likes his ice like he likes his skulls: crushed.



___
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] How to disconnect "remember" with "org-remember"?

2009-05-03 Thread Wei-Wei Guo

Carsten Dominik 写道:

Hi Carsten,



On May 2, 2009, at 2:15 AM, Wei-Wei Guo wrote:


Dear all,

I set two different usages for remember, one is the plain remember, 
the other

is the org-remember.

(defun ww/plain ()
 "Writing diary or notes."
 (interactive)
 (setq remember-handler-functions 'nil)
 (remember))

(defun ww/schedule ()
 "Recoding tasks or appointments."
 (interactive)
 (setq org-remember-store-without-prompt t)
 (org-remember-insinuate)
 (org-remember))

After I run ww/schedule, the (remember) and ww/plain become a call of 
org-remember.
It seems (org-remember) will take over (remember). Can I change the 
behavior?


Yes, org-remember-insinuate does this, and is supposed to do this.
What is the problem?



My problem is I don't want org-remember take over remember forever. But never
mind, I prohibited the behavior by setting remember-mode-hook to nil when 
killing
remember buffer. Thanks anyway.


Best wishes,
Wei-Wei


___
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] Problem with org-publish :include

2009-05-03 Thread Carsten Dominik


On Apr 28, 2009, at 2:02 PM, Rick Moynihan wrote:


Hi all,

I am using org-mode v6.26d (from the git repo) and keep all my org  
files in a single ~/org directory.  I'm trying to setup a new org- 
publish project that publishes a single org-mode file (meeting- 
notes.org) and excludes all the others.  Here's the relevant bit of  
my org-publish-project-alist:


(setq org-publish-project-alist
 (list
  '("minutes" . (:base-directory "/home/rick/org/"
   :base-extension "org"
 :publishing-directory "/home/rick/public_html/ 
minutes"

 :exclude "\\.org$"
 :include "meeting-notes.org"
 :with-section-numbers nil
 :table-of-contents nil
 :style "type=\"text/css\">"))


; ...

))

The problem is that I can't seem to get the :include property  
working. With the above settings crashing on org-publish-project  
with the error:


Wrong type argument: sequencep, 101

I have narrowed it down to the include parameter, but don't know  
what is wrong with my config.  I have also tried setting :include to  
a (list "meeting-notes.org") with a similar error.


Is this a bug in org-mode, my config or something else.  Any help  
greatfully appreciated!!!



Does

 :include ("meeting-notes.org")

work better?  The documentation says it must be a list,
I have never used it.

- 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] Column View in XEmacs

2009-05-03 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Apr 29, 2009, at 6:00 PM, Alex Mizrahi wrote:


hi

I'm trying to use column view to work with effort estimates, but it  
does not seem to work in XEmacs.
When I press C-c C-x C-c columns show up in agenda view (I'm not  
sure if 100% correcly, but more-or-less so), but when I try editing  
anything, column view goes away and error appears:


 Wrong number of arguments: #, 1

So.. Does it work on XEmacs?

(Particular version of XEmacs I'm using is 21.4.19, pretty old one,  
but it also seems to crash XEmacs 21.5.28, so I guess it is broken  
pretty consistently. And version of org-mode is one from current  
tgz, 6.26d.)



___
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] Bug: org-replace-region-by-latex

2009-05-03 Thread Carsten Dominik

Hi Matt,

I hope I was able to fix this for now.  This stuff is messy in the
implementation, it actually needs a re-write ... :-(

- Carsten

On Apr 26, 2009, at 3:49 AM, Matthew Lundin wrote:


When I select a region and invoke org-replace-region-by-latex, the
region is removed, but no latex output is put in its place. In other
words, the region is simply deleted.

Strangely, if I select multiple headlines, they are converted to  
latex.

But if I select only text underneath a headline, it is not replaced.

Can anyone else confirm this behavior?

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




___
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