Re: [Orgmode] Yanking the descriptive part of a link

2007-04-18 Thread Bastien
Bastien <[EMAIL PROTECTED]> writes:

> i came accross this situation several times: i have a (long) link in an
> org-mode buffer and want to label it by yanking some text.
>
> My first move was to select the link as the region and try C-u C-c C-l on
> it, since org-insert-link does just the opposite : it takes the region as
> the default label for some link you want to yank.

First move was wrong.  C-c C-l does the job correctly when no region is
set.  Sorry for the noise.

-- 
Bastien


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


Re: [Orgmode] Yanking the descriptive part of a link

2007-04-18 Thread Bastien
"William Henney" <[EMAIL PROTECTED]> writes:

>> Does anybody know any automated way to yank text as the descriptive-part of
>> an org-mode link ?
>
> Do these solutions count?
>
> With cursor anywhere in the link:
>
> C-c C-l RET M-h C-y
>
> Or, with cursor at beginning [*] of the link
>
> M-@ M-@ . C-y

Sorry my question was not clear.  I wanted to import (possibly external)
text as the descriptive part of a link, not to copy the descriptive text
itself.  Thanks anyway, i didn't know M-@ !

Regards,

-- 
Bastien


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


Re: [Orgmode] Re: Bugs and suggestions for Org 4.70

2007-04-18 Thread Carsten Dominik


On Apr 13, 2007, at 14:10, Bastien wrote:




- It would be nice if we had some feedback in the modeline telling us
what project / headline is currently clocked in -- suggestion stolen
from the planner mailing list...


I like this idea.  However, it would probably take up a lot of space 
in
the mode line.  What do you suggest as the content of the label?  
I
guess the elapsed time since the clock was started, and some info 
about

the item.


Yes.  Since headlines styles heavily depends on users' habits, why not 
use

a new format (like `org-email-link-description-format') ?

org-clocked-in-task-modeline-format examples :

"%e - %.15h" : shows elapsed time and the first 15 characters of the
   headline (excluding TODO/tags keywords)

"%e - [%s%d] %t %p %h %T"
 : shows elapsed time, scheduled/dealine state, TODO 
keyword,

   priority, full headline and tags.

"%c (%e)": only shows parent category elapsed time

Formatting options :

%e   elapsed time
%f   file
%c   category
%t   todo state
%p   priority
%h   headline field
%T   tags
%s   scheduled (default: "S" for scheduled)
%d   deadline (default: "D" for deadline)


Since there is always only one project that is being clocked,
this seems a little overkill to me.  Maybe a command to jump
to the item being clocked would be more useful.

- Carsten



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


Re: [Orgmode] Re: Bugs and suggestions for Org 4.70

2007-04-18 Thread Bastien
Carsten Dominik <[EMAIL PROTECTED]> writes:

> On Apr 13, 2007, at 14:10, Bastien wrote:
>
>> "%c (%e)": only shows parent category elapsed time
>>
>> Formatting options :
>>
>> %e   elapsed time
>> %f   file
>> %c   category
>> %t   todo state
>> %p   priority
>> %h   headline field
>> %T   tags
>> %s   scheduled (default: "S" for scheduled)
>> %d   deadline (default: "D" for deadline)
>
> Since there is always only one project that is being clocked, this seems
> a little overkill to me.  Maybe a command to jump to the item being
> clocked would be more useful.

Right.  But there could be some way to define was is considered the project
you're clocked in.  I guess the headline is not always the information we
want -- we might want the file name, the above headline, etc.

-- 
Bastien


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


[Orgmode] Export to PDF

2007-04-18 Thread Denis Bueno

All-

I'm somewhat mystified that I can't seem to find support for this
feature in Org mode. I looked through the manual and mailing list, but
it seems no one has used -- or even wanted -- this feature. However,
it's one of the (very few) things I can find lacking in org-mode. Is
there a chance this will be implemented in the future?

LaTeX-heavy files especially would benefit from export-to-pdf (and
indeed, this is why I want it). The lack of this feature is the one
thing that gives me pause about using org-mode to take notes in
college.

Thank you.

-Denis


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


Re: [Orgmode] Export to PDF

2007-04-18 Thread Carsten Dominik

Why don't you go through HTML und use

http://www.rustyparts.com/pdf.php

- Carsten

On Apr 18, 2007, at 14:59, Denis Bueno wrote:


All-

I'm somewhat mystified that I can't seem to find support for this
feature in Org mode. I looked through the manual and mailing list, but
it seems no one has used -- or even wanted -- this feature. However,
it's one of the (very few) things I can find lacking in org-mode. Is
there a chance this will be implemented in the future?

LaTeX-heavy files especially would benefit from export-to-pdf (and
indeed, this is why I want it). The lack of this feature is the one
thing that gives me pause about using org-mode to take notes in
college.

Thank you.

-Denis


___
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] Yanking the descriptive part of a link

2007-04-18 Thread William Henney

On 4/18/07, Bastien <[EMAIL PROTECTED]> wrote:

"William Henney" <[EMAIL PROTECTED]> writes:
> With cursor anywhere in the link:
>
> C-c C-l RET M-h C-y
>
> Or, with cursor at beginning [*] of the link
>
> M-@ M-@ . C-y

Sorry my question was not clear.  I wanted to import (possibly external)
text as the descriptive part of a link, not to copy the descriptive text
itself.


Yes, but I think I understood you correctly. I was assuming you wanted
to replace the existing descriptive text with new text that you had
just copied to the kill ring or cut buffer. Note that they end in C-y,
not M-w. However, I now see that my methods rely on having activated
the emacs option whereby yanked (pasted) text overwrites the current
marked region (selection). I think this is controlled by zmacs-region
and cua-mode, which maybe you don't have activated.  Sorry for the
confusion.

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
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Export to PDF

2007-04-18 Thread William Henney

On 4/18/07, Carsten Dominik <[EMAIL PROTECTED]> wrote:

Why don't you go through HTML und use

http://www.rustyparts.com/pdf.php



That does work, but you seem to lose all the hyperlinks. Also, the
quality of the typesetting is not stellar. In principle, you could get
good typesetting and working links in the PDF file by going through
pdflatex. However, I imagine that implementing a latex backend for org
would be a lot of work, so I hesitate to suggest it. Muse-mode might
be a better fit for anyone who needs this sort of functionality.

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
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Bug? Archived tasks appear in icalendar export

2007-04-18 Thread Denis Bueno

I'm using GNU Emacs 22.0.92.2 (powerpc-apple-darwin8.8.0, Carbon
Version 1.6.0) of 2007-01-18, and org-mode 4.71.

I have tasks in an org-mode file that look like

* TODO OD ch 3  :2340:ARCHIVE:

When I do C-c C-e i, and load up the ics file in iCal, I see that
entry in my list of Todos. I think this is a bug. What do you think?

Thank you.

-Denis


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


[Orgmode] Org-mode completely freezes emacs

2007-04-18 Thread Simon Winwood

   When using org-mode, occasionally (semi-unrepeatable :( emacs
locks up completely: 100% CPU, doesn't respond to C-g, does respond to
X-redisplay requests --- a kill is required.  

Unfortunately, the bug isn't readily reproducible, although it
happens reasonably frequently.  It sounds more like an emacs bug, but
it seems to occur only in org mode.  

Any ideas?  It might be a font-lock bug, but without being
able to reproduce the bug, I can't really tell.

 Thanks,

Simon

Versions:
Linux Ubuntu (Edgy)
Emacs 22.0.50-1 (emacs-snapshot-gtk in Ubuntu)
Org   4.44

A GDB attach and backtrace gives (although I don't know how much I
trust it):

0x08197806 in matherr ()
(gdb) bt
#0  0x08197806 in matherr ()
#1  0x08197930 in matherr ()
#2  0x08198864 in matherr ()
#3  0x08198b9e in matherr ()
#4  0x08135c6c in abort ()
#5  0x0815a705 in re_compile_pattern ()
#6  0x0818523d in matherr ()
#7  0x0815a11a in re_compile_pattern ()
#8  0x0815a542 in re_compile_pattern ()
#9  0x0818523d in matherr ()
#10 0x0815a11a in re_compile_pattern ()
#11 0x0815a542 in re_compile_pattern ()
#12 0x0818523d in matherr ()
#13 0x0815a11a in re_compile_pattern ()
#14 0x0815a542 in re_compile_pattern ()
#15 0x0818523d in matherr ()
#16 0x0815a11a in re_compile_pattern ()
#17 0x0815a542 in re_compile_pattern ()
#18 0x0815bbb1 in error ()
#19 0x0815bd3f in error ()
#20 0x0815a87a in re_compile_pattern ()
#21 0x0815ba39 in error ()
#22 0x080f7625 in abort ()
#23 0x08159142 in re_compile_pattern ()
#24 0x080fce17 in abort ()
#25 0x08103350 in abort ()
#26 0x08159142 in re_compile_pattern ()
#27 0x080fcec3 in abort ()
#28 0x081591fa in re_compile_pattern ()
#29 0x080fd93c in abort ()
#30 0x080fdcfa in abort ()
#31 0x080fdde7 in abort ()
#32 0x080f3c65 in abort ()
#33 0xb75888cc in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6



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


[Orgmode] Enhancing text with HTML export

2007-04-18 Thread Daniel Dehennin
Hello,

Using org-mdoe 4.71 I try to use the =code= typing convention with a
path, the result is not what I'm expecting, here my exemple:

=/usr/src=

It's simple and don't work, it just output =/usr/src= without
formating the text as code block.

Regards.

NB: I apologise, I send a subscribe to emacs-orgmode list instead of
the emacs-orgmode-request.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69


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


Re: [Orgmode] Org-mode completely freezes emacs

2007-04-18 Thread cranreuch

This'll be 99% useless but:

I saw the same (well, similar) thing a week or so ago when I just started
using org mode. But I then fixed it and can't reproduce it at all. Sigh.

It had *something* to do with the first piece of text in my org-mode buffer
not being a heading (i.e. not starting with one or more * characters). When
I then tried to bring up an agenda view, emacs hung.

As I say, it was *something* like that - but not exactly (I just tried it,
and I can't reproduce the problem).

c.

On 4/18/07, Simon Winwood <[EMAIL PROTECTED]> wrote:



   When using org-mode, occasionally (semi-unrepeatable :( emacs
locks up completely: 100% CPU, doesn't respond to C-g, does respond to
X-redisplay requests --- a kill is required.

Unfortunately, the bug isn't readily reproducible, although it
happens reasonably frequently.  It sounds more like an emacs bug, but
it seems to occur only in org mode.

Any ideas?  It might be a font-lock bug, but without being
able to reproduce the bug, I can't really tell.

 Thanks,

Simon

Versions:
Linux Ubuntu (Edgy)
Emacs 22.0.50-1 (emacs-snapshot-gtk in Ubuntu)
Org   4.44

A GDB attach and backtrace gives (although I don't know how much I
trust it):

0x08197806 in matherr ()
(gdb) bt
#0  0x08197806 in matherr ()
#1  0x08197930 in matherr ()
#2  0x08198864 in matherr ()
#3  0x08198b9e in matherr ()
#4  0x08135c6c in abort ()
#5  0x0815a705 in re_compile_pattern ()
#6  0x0818523d in matherr ()
#7  0x0815a11a in re_compile_pattern ()
#8  0x0815a542 in re_compile_pattern ()
#9  0x0818523d in matherr ()
#10 0x0815a11a in re_compile_pattern ()
#11 0x0815a542 in re_compile_pattern ()
#12 0x0818523d in matherr ()
#13 0x0815a11a in re_compile_pattern ()
#14 0x0815a542 in re_compile_pattern ()
#15 0x0818523d in matherr ()
#16 0x0815a11a in re_compile_pattern ()
#17 0x0815a542 in re_compile_pattern ()
#18 0x0815bbb1 in error ()
#19 0x0815bd3f in error ()
#20 0x0815a87a in re_compile_pattern ()
#21 0x0815ba39 in error ()
#22 0x080f7625 in abort ()
#23 0x08159142 in re_compile_pattern ()
#24 0x080fce17 in abort ()
#25 0x08103350 in abort ()
#26 0x08159142 in re_compile_pattern ()
#27 0x080fcec3 in abort ()
#28 0x081591fa in re_compile_pattern ()
#29 0x080fd93c in abort ()
#30 0x080fdcfa in abort ()
#31 0x080fdde7 in abort ()
#32 0x080f3c65 in abort ()
#33 0xb75888cc in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6



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

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


[Orgmode] [help] A org agenda command

2007-04-18 Thread Leo
Dear all,

How can I bring up a list of "stuck" projects? Here "stuck" means all of
the following:

  1. No DEADLINE/SCHEDULE
  2. No TODO Keywords
  3. No Tag

Thank you.

-- 
Leo  (GPG Key: 9283AA3F)



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