[Orgmode] Re: OrgmodeExport full org-mode to CSV (not tables)

2009-08-25 Thread Simon Mullis
Thanks Wes.  I'll try this...

Cheers

SM

2009/8/24 Wes Hardaker wjhns...@hardakers.net:
 On Mon, 24 Aug 2009 14:29:33 +0200, Simon Mullis si...@mullis.co.uk 
 said:

 SM I'd like an easy way to export this data to an Excel table, or
 SM better yet, CSV.

 org-export-generic can *almost* do this for you by carefully setting the
 header open/close to simply be ,  for opening and a \n for closing
 on header 2 (I think; haven't tested it).

 But, it won't remove the text: prefix at the beginning of the fields.
 It' be simple to pass the results through sed 's/, [^:]*:/,/g' though.
 --
 \ Wes Hardaker                           http://pontifications.hardakers.net /
  \_ In the bathtub of history the truth is harder to hold than /
       \___ the soap, and much more difficult to find. ___/
               \_ -- Terry Pratchett __/
                         \__/




-- 
Simon Mullis
_
si...@mullis.co.uk


___
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] Faces bug in org-indent-mode

2009-08-25 Thread Carsten Dominik

Hi Daniel,

thanks for looking deeper into the issue.

As you have noticed yourself, your proposal fixes only half of
the problem.  Doing this emphasis with a regular expression
is really hard, and each time you change something, another
thing will break.  The real solution for this would be to
switch to a programmed solution instead of a regular
expression search.

Your proposed change does fix a problem, but it also breaks
the structure of how the emphasis regexp is constructed.  BODY
is supposed to match a character that should be emphasized.  Maybe
it can be re-written so that this does not have to be part of the BODY.

Also, there are similar issues with this in tables: Try

  | *h | h  |
  | h  | h* |

or also with comments:

 Some text *h mamma mia
# terminate bold in comment*

So I will out this on the back burner and try to get myself
to implement programmed emphasis at some point.

Sorry.

- Carsten


On Aug 21, 2009, at 1:03 PM, Daniel Clemente wrote:


El dj, ago 20 2009 a les 21:57, Carsten Dominik va escriure:


* something
aaa =eee
* two= *iii
ooo* uuu

Yes, this is kind of hard to fix..  And a minor issue, I  
guess... ?




 Yes, it's a minor issue. I like minor issues :-)

 There are two display problems here:
- a face defined before a heading enters the heading (like the =eee…=)
- a face defined in a heading goes on past the heading (like the  
*iii…)


 I did some tests with org-emph-re (original value: [1]); the  
interesting part is \\(?:\n.*?\\)\\{0,1\\} because it is the one  
that allows the face to extend up to 1 line below.
 The .*? from there comes from the so-called body in org-emphasis- 
regexp-components, body=.
 I have done some tests and I think that body=\\(?:\\*+[^\n ]\\|[^ 
\n*]\\). fixes the first problem. The expression represents a non- 
heading line: anything not starting by * (except when the initial *  
precedes a word) and then many other characters (a *? at the end  
will be added by org-set-emph-re)

 Final value: [2]

 Is this added complexity worth it? The bug is unpleasant (headings  
aren't coloured as headings) and performance shouldn't be much  
affected in the common case because ^\\* fails early. Only visually  
it is a complex regexp.


 I don't know how to detect the other problem inside a regular  
expression. Maybe there's some way to ask „don't cross boundaries  
between headings and content“.



-- Daniel

[1]: \\([ ('`\{]\\|^\\)\\(\\([*/_=~+]\\)\\([^   
\n,\']\\|[^   
\n,\'].*?\\(?:\n.*?\\)\\{0,1\\}[^ 
\n,\']\\)\\3\\)\\([-  .,:!?;'\)}\\]\\|$\\)

[2]: \\([ ('`\{]\\|^\\)\\(\\([*/_=~+]\\)\\([^   
\n,\']\\|[^   
\n,\'].*?\\(?:\n\\*+[^\n ].*?\\|\n[^\n*].*?\\)\\{0,1\\}[^ 
\n,\']\\)\\3\\)\\([-  .,:!?;'\)}\\]\\|$\\)






___
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] Custom agenda question

2009-08-25 Thread Manish
On Mon, Aug 24, 2009 at 11:33 PM, Carsten Dominik wrote:

 On Aug 24, 2009, at 2:21 AM, Manish wrote:

 Once you've got your agenda organized right with todo's in order etc. then
 it's just a little disruptive to go anywhere else for a little extra
 detail to
 get some more context. But I agree agenda should be as compact as
 possible.. may be the extra lines could be a toggle switch?

 H.

 I am not yet convinced, but I have made a little toy implementation
 for you and others to try out and commet on.

 Please get the latest version and press `E' in the agenda to
 toggle the display of a small amount (see variable
 `org-agenda-entry-text-maxlines') of text from the entry in
 the agenda.

Thanks!  I like it very much so far.  Refreshing the agenda removes the
snippets/excerpts though.  Will use it for a few days and report back.

-- 
Manish


___
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: Gnus link bug

2009-08-25 Thread Bastien
Hi Leo,

Leo sdl@gmail.com writes:

 I feel there's something we can simplify. Also the old code for handling
 gnus-article-mode moves the cursor around.

 So I simplified org-gnus-store-link as follows:

As long as 

  (header (with-current-buffer gnus-summary-buffer
   (gnus-summary-article-header)))

fetches the right header, I think it's okay to use your code.

Thanks for this!

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


Re: [Orgmode] Displayed math formula interrupts enumeration when exporting to html

2009-08-25 Thread Carsten Dominik

Hi Longmin,

This is a bug, fixed now.

Thanks!

- Carsten

On Aug 20, 2009, at 8:01 AM, Longmin Wang wrote:


Hi,

I am using org-mode integrated in emacs 23.1.1.  When I export the org
file to html file, the enumerations will be interrupted by some
displayed math formulae. For example, the codes

 1. The first.

 2. A displayed formula: \[ \int_0^{+\infty} \frac{c}{1+x^2}dx=1. \]

 3. The third.

will generate

  1. The first.
  2. A displayed formula:
  the formula
  1. The third.

Is it a bug? Or I made some mistakes in the source file.

Longmin Wang

--
Longmin Wang longminw...@gmail.com
Math. Dept., Nankai Univ., China
http://math.nankai.edu.cn/~wanglm/
GnuPG-Key ID: 1024D/2A5CFA5C
Fingerprint: 8587 1246 3AAD C185 D419  ADF1 B620 D8B8 2A5C FA5C


___
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] Accidentally holding down LEFT arrow in Agenda

2009-08-25 Thread Carsten Dominik


On Jul 24, 2009, at 5:03 PM, Bastien wrote:


Manuel Hermenegildo he...@fi.upm.es writes:

Another possibility would be to more the org-agenda-later/earlier  
from

the cursor keys and put them onto some other keys.  I do sometimes
think myself that it was a mistake to use the Cursor keys for this
functionality..


For what it's worth I personally remap n and p to move from one
week (day/month/...)  to the other and use C-n and C-p to move
within a week (day/month/...) as in a normal buffer because for me
this merges better with the rest of the flow in emacs, i.e., I
basically do not use the arrow keys for movement (too far from my
fingers! ;-)).


I agree that n/p would be better that arrow keys here, I'm also often
misusing the arrow keys.


This is a pretty important change in the UI.  I would like to
get a general vote to decide this.  See my separate message.

- Carsten



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


[Orgmode] POLL: Change of keys to move agenda through time

2009-08-25 Thread Carsten Dominik

Hi,

we have the proposal to do the following key changes in the agenda:

1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
2. Use the keys n and p to switch the agenda to earlier
   and later dates.

I would like to call a vote on this issue.  Please weigh in.
Should we make this change?  yes or no?

- 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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Benjamin Andresen
Carsten Dominik carsten.domi...@gmail.com writes:

 Hi,

 we have the proposal to do the following key changes in the agenda:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
 2. Use the keys n and p to switch the agenda to earlier
and later dates.

But n and p are already used to move up and down entries in the
org-agenda.
Where would they go to then?

I personally use M-n and M-p to move earlier/later.

 Should we make this change?  yes or no?

No from me. :-)

br,
benny


___
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] Accidentally holding down LEFT arrow in Agenda

2009-08-25 Thread Torsten Wagner
This is a pretty important change in the UI.  I would like to
get a general vote to decide this.  See my separate message.

- Carsten
Hi,
just a new user to org-mode, I apologize directly for jumping up and raise the 
hand ;)
Other Projects run a little smooth transitions if changes like that are going 
to be performed. 
Maybe it is in general interesting to create a protocol which will do 
something like

1. For the next n releases, both keys are present by default. However, using 
the arrow keys will create a warning message in the minibuffer ala
The function of the arrow keys are obsolete please use n or p see xyz.org for 
more information
2. After n releases it might be clear to the majority of all users and they 
either updated there conf-files for an individual solution or got used to the 
new style.
3. Perform the transition and switch off the obsolete keys


Just an idea

Greetings

Totti
___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Leo
On 2009-08-25 10:12 +0100, Carsten Dominik wrote:
 Hi,

 we have the proposal to do the following key changes in the agenda:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
 2. Use the keys n and p to switch the agenda to earlier
and later dates.

I like n and p to move up and down like in many other modes for example
ibuffer, dired, Gnus etc. Changing this to be incompatible with other
modes alienates orgmode. So I'd vote to keep current behaviour.

 I would like to call a vote on this issue.  Please weigh in.
 Should we make this change?  yes or no?

NO.

 - Carsten

-- 
Emacs uptime: 7 days, 20 hours, 38 minutes, 33 seconds



___
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] POLL: Change of keys to move agenda through time

2009-08-25 Thread Bastien
Carsten Dominik carsten.domi...@gmail.com writes:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again

+1

 2. Use the keys n and p to switch the agenda to earlier
and later dates.

+1  (or M-n and M-p?)

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


Re: [Orgmode] Re: POLL: Change of keys to move agenda through time

2009-08-25 Thread Bastien
Benjamin Andresen bandre...@gmail.com writes:

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

 Hi,

 we have the proposal to do the following key changes in the agenda:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
 2. Use the keys n and p to switch the agenda to earlier
and later dates.

 But n and p are already used to move up and down entries in the
 org-agenda.
 Where would they go to then?

C-n and C-p, like in any Emacs buffer?

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


Re: [Orgmode] POLL: Change of keys to move agenda through time

2009-08-25 Thread Manish
On Tue, Aug 25, 2009 at 2:42 PM, Carsten Dominik
carsten.domi...@gmail.com wrote:

 Hi,

 we have the proposal to do the following key changes in the agenda:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
 2. Use the keys n and p to switch the agenda to earlier
  and later dates.

 I would like to call a vote on this issue. Please weigh in.
 Should we make this change? yes or no?

I would have to go with Benny on this. -1

-- 
Manish


___
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] About `_' in link address .

2009-08-25 Thread Carsten Dominik



On Aug 23, 2009, at 2:50 PM, waterloo wrote:


Sorry .

When I copy `http://swift.siphos.be/linux_sea/ ' to an org file , it  
was transformed to a link.
After I export that file to html , I find `sea' in that link is  
subscript. It should be normal scale.


This is because in org `_' was recognized as Latex command.

I recommand that in link we should disable the function of `_' .


Hi waterloo,

it has taken 7 emails to extract the above information from
you.  Each of these messages was read by at least 625 members
on this mailing list (and probably many others who read the list
on gmane.org).

Could you please try next time and start with a
description *as detailed as possible* right away?  That will
cost 5 or 10 minutes of your time (not more that you have to
spent anyway buy writing 4 separate messages).  In return,
it will save an estimated 60 *hours* spent by others, reading
these mails and trying to figure out what this is all about.

About the issue you report:

I do agree that this is a bug, and I have fixed it.  Thanks
to Nick and Bastien for their input.

- 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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Benjamin Andresen
Hey Bastien,

Bastien bastiengue...@googlemail.com writes:

 Benjamin Andresen bandre...@gmail.com writes:
 But n and p are already used to move up and down entries in the
 org-agenda.
 Where would they go to then?

 C-n and C-p, like in any Emacs buffer?

Sure. That's a given. But they seem to be the fallback, IMO.

As Leo wrote: ibuffer, gnus, dired  others all use 'n' for next
line and 'p' for previous line.

And with the recent mark and unmark feature inspired by dired, doing
what it does, seems intuitive as far as emacs goes.

Another example I can think of:
  epa-list-keys uses 'n' and 'p' and 'm' and 'u' for the same things
  as dired and ibuffer.

Basically it's the Principle Of Least Surprise. n, p doing what it
does now falls under it for me, based on all the other software I use. 

br,
benny


___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Michaël Parienti
On Tue, 25 Aug 2009 11:12:16 +0200
Carsten Dominik carsten.domi...@gmail.com wrote:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
 2. Use the keys n and p to switch the agenda to earlier
 and later dates.
 
 I would like to call a vote on this issue.  Please weigh in.
 Should we make this change?  yes or no?

YES

-- 
Michaël Parienti, org-mode user
gpg:D4C8 F73D A000 71C7 44EF  27E6 8982 4991 7126 3CE3


___
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] Regaring heading re-organization.

2009-08-25 Thread Noorul Islam K M

Hey all,

Today I was re-arranging my headings. While doing that I faced this
issue.  For example consider the following org file contents.

* Level 1
** Level 2
*** Level 3
 Level 4
 Level 4
 Level 4

If I keep the cursor on Level 3 heading and press M-left, Shouldn't the
number of '*'s for the headings Level 4 become 3?

Thanks and Regards
Noorul


___
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] POLL: Change of keys to move agenda through time

2009-08-25 Thread Charles Philip Chan
Carsten Dominik carsten.domi...@gmail.com writes:

 I would like to call a vote on this issue.  Please weigh in.
 Should we make this change?  yes or no?

+1 for me.

Charles

-- 
If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system.
(By Linus Torvalds)


pgpmrf1oqrzSw.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] Re: POLL: Change of keys to move agenda through time

2009-08-25 Thread Carsten Dominik

Hi everyone,

I tend to agree with the arguments that n and p should move
vertically in the agenda buffer, because many Emacs modes do
it like this.

So it seem to me that this discussion should focus on which keys should
move the agenda forward and backward in time.

- Carsten

On Aug 25, 2009, at 1:37 PM, Benjamin Andresen wrote:


Hey Bastien,

Bastien bastiengue...@googlemail.com writes:


Benjamin Andresen bandre...@gmail.com writes:

But n and p are already used to move up and down entries in the
org-agenda.
Where would they go to then?


C-n and C-p, like in any Emacs buffer?


Sure. That's a given. But they seem to be the fallback, IMO.

As Leo wrote: ibuffer, gnus, dired  others all use 'n' for next
line and 'p' for previous line.

And with the recent mark and unmark feature inspired by dired, doing
what it does, seems intuitive as far as emacs goes.

Another example I can think of:
 epa-list-keys uses 'n' and 'p' and 'm' and 'u' for the same things
 as dired and ibuffer.

Basically it's the Principle Of Least Surprise. n, p doing what it
does now falls under it for me, based on all the other software I use.

br,
benny


___
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] POLL: Change of keys to move agenda through time

2009-08-25 Thread Noorul Islam
On Tue, Aug 25, 2009 at 2:42 PM, Carsten
Dominikcarsten.domi...@gmail.com wrote:
 Hi,

 we have the proposal to do the following key changes in the agenda:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
 2. Use the keys n and p to switch the agenda to earlier
   and later dates.


I think this will be good taking into the consideration that LEFT and
RIGHT is really creating confusion.

Thanks
Noorul


___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Leo
On 2009-08-25 11:59 +0100, Leo wrote:
 I like n and p to move up and down like in many other modes for
 example ibuffer, dired, Gnus etc. Changing this to be incompatible
 with other modes alienates orgmode. So I'd vote to keep current
 behaviour.

 I would like to call a vote on this issue. Please weigh in. Should we
 make this change? yes or no?

 NO.

Let me say a few more words.

1. I'd prefer keeping n and p as it is since it is quite standard elsewhere.

2. I don't mind changing left and right to normal cursor movement.

3. Uppercase N and P can be used to move the agenda to next and previous
   views. I like it better than M-n and M-p pair.

Hope this helps.

Leo

-- 
Emacs uptime: 7 days, 21 hours, 46 minutes, 45 seconds



___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Chris Leyon
Another solution would be to use f and b to move forward and
backward in time.  Some other Agenda bindings would have to change to
accommodate this.  Old f (org-agenda-follow-mode) could become F
which is unused.  But b and B are both used and would need to be
remapped.

Obviously this is not the easiest possible solution.  However, these
bindings would be very consistent with the conventions of most other
Emacs packages.

The agenda mode bindings are getting very crowded with many functions
and free keys are running out.  It may be time to start creating
prefix-keys/dispatchers a la Dired and Gnus.

On Tue, Aug 25, 2009 at 07:48, Carsten Dominikcarsten.domi...@gmail.com wrote:
 I tend to agree with the arguments that n and p should move
 vertically in the agenda buffer, because many Emacs modes do
 it like this.

 So it seem to me that this discussion should focus on which keys should
 move the agenda forward and backward in time.


___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Carsten Dominik


On Aug 25, 2009, at 2:20 PM, Chris Leyon wrote:


Another solution would be to use f and b to move forward and
backward in time.  Some other Agenda bindings would have to change to
accommodate this.  Old f (org-agenda-follow-mode) could become F
which is unused.  But b and B are both used and would need to be
remapped.

Obviously this is not the easiest possible solution.  However, these
bindings would be very consistent with the conventions of most other
Emacs packages.

The agenda mode bindings are getting very crowded with many functions
and free keys are running out.  It may be time to start creating
prefix-keys/dispatchers a la Dired and Gnus.



We have started, with the v key dispatching view modes.

On the other hand, single keys are sooo nice for the common functions.
:-)

- Carsten

On Tue, Aug 25, 2009 at 07:48, Carsten Dominikcarsten.domi...@gmail.com 
 wrote:

I tend to agree with the arguments that n and p should move
vertically in the agenda buffer, because many Emacs modes do
it like this.

So it seem to me that this discussion should focus on which keys  
should

move the agenda forward and backward in time.



___
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] POLL: Change of keys to move agenda through time

2009-08-25 Thread Manuel Hermenegildo

  I would like to call a vote on this issue.  Please weigh in.
  Should we make this change?  yes or no?

Yes from me. --Manuel

-- 
---
 Manuel Hermenegildo | Prof., C.S.Dept., T.U. Madrid (UPM)
 Director, IMDEA Software and CLIP Group | +34-91-336-7435 (W) -352-4819 (Fax)
---



___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Manuel Hermenegildo

  all use 'n' for next line and 'p' for previous line.

I think the modes that use 'n' for next line and 'p' for next/previous
line tend to be 'single page' modes (e.g., dired).  I personally
rarely use n/p even in those: C-n/C-p are automatic in my fingers and
they always work so that I do not need to be thinking which mode I am
in. On the other hand, in multi-page non editing modes (as the agenda
view), n and p are often page (or node, etc.) forward and back. I
think this is why I find it natural to remap those in org. --Man

-- 
---
 Manuel Hermenegildo | Prof., C.S.Dept., T.U. Madrid (UPM)
 Director, IMDEA Software and CLIP Group | +34-91-336-7435 (W) -352-4819 (Fax)
---



___
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] Custom agenda question

2009-08-25 Thread Peter Westlake
On Mon, 24 Aug 2009 20:03 +0200, Carsten Dominik
carsten.domi...@gmail.com wrote:
 
 On Aug 24, 2009, at 2:21 AM, Manish wrote:
  Once you've got your agenda organized right with todo's in order  
  etc. then
  it's just a little disruptive to go anywhere else for a little extra  
  detail to
  get some more context.  But I agree agenda should be as compact as
  possible.. may be the extra lines could be a toggle switch?
 
 H.
 
 I am not yet convinced, but I have made a little toy implementation
 for you and others to try out and commet on.
 
 Please get the latest version and press `E' in the agenda to
 toggle the display of a small amount (see variable
 `org-agenda-entry-text-maxlines') of text from the entry in
 the agenda.

This is a very nice feature! Once it is fully implemented,
it will have a benefit that you may not have anticipated,
as explained below:

Many of my TODO items include links to the online places
where the task is to be done. I also use Org id links to
the tasks whenever I write about them in my work log, and
org-insert-link expands the link in the task to give
something like Headline Text {{link address}{link text}}.
Because the link address is visible, it's very cluttered.

With the new feature, I can put the links in the extra text
and avoid cluttering up the headline. Hmm, but then they won't
show up as links in the agenda view. Regardless of that, it's
a good feature, and much appreciated!

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


[Orgmode] Re: POLL: Change of keys to move agenda through time

2009-08-25 Thread Matt Lundin
Carsten Dominik wrote:
 
 we have the proposal to do the following key changes in the agenda:
 
 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again

I'd be fine with this change, though I can't remember when I last used
the left/right keys for cursor motion in emacs. :)

 2. Use the keys n and p to switch the agenda to earlier
 and later dates.

-1 

In non-editing modes like the agenda (dired, gnus, etc.), I expect n
and p to move up and down. In my view, the standard emacs behavior is
that in read-only (non-editing) modes, n and p are reserved for
vertical motion from item to item.

If there is a change, I would recommend S-n and S-p.

- 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: Regaring heading re-organization.

2009-08-25 Thread Matt Lundin
Noorul Islam K M wrote:

 Today I was re-arranging my headings. While doing that I faced this
 issue.  For example consider the following org file contents.
 
 * Level 1
 ** Level 2
 *** Level 3
  Level 4
  Level 4
  Level 4
 
 If I keep the cursor on Level 3 heading and press M-left, Shouldn't the
 number of '*'s for the headings Level 4 become 3?

To move the children of the heading, you'll have to use M-S-left.

M-left/right moves only the individual heading.

M-S-left/right moves the heading and all subtrees.

- 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: Custom agenda question

2009-08-25 Thread Bernt Hansen
Manish mailtomanish.sha...@gmail.com writes:

 On Mon, Aug 24, 2009 at 11:33 PM, Carsten Dominik wrote:

 On Aug 24, 2009, at 2:21 AM, Manish wrote:

 Once you've got your agenda organized right with todo's in order etc. then
 it's just a little disruptive to go anywhere else for a little extra
 detail to
 get some more context. But I agree agenda should be as compact as
 possible.. may be the extra lines could be a toggle switch?

 H.

 I am not yet convinced, but I have made a little toy implementation
 for you and others to try out and commet on.

 Please get the latest version and press `E' in the agenda to
 toggle the display of a small amount (see variable
 `org-agenda-entry-text-maxlines') of text from the entry in
 the agenda.

 Thanks!  I like it very much so far.  Refreshing the agenda removes the
 snippets/excerpts though.  Will use it for a few days and report back.

Me too!  I just tried it for the first time this morning and I think
this is going to be very useful.

Lots of my tasks have website links which are exposed by this.  It would
be even more useful if I can click on the links to go there as in the
regular org file.

Even without that this hack looks like a keeper to me :)

Thanks,
Bernt




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


[Orgmode] Re: POLL: Change of keys to move agenda through time

2009-08-25 Thread Bernt Hansen
Carsten Dominik carsten.domi...@gmail.com writes:

 I tend to agree with the arguments that n and p should move
 vertically in the agenda buffer, because many Emacs modes do
 it like this.

 So it seem to me that this discussion should focus on which keys should
 move the agenda forward and backward in time.

I'm not married to the arrow keys changing dates.  Any keys that are
convenient to use are fine with me.  It has always felt a little weird
that the arrow keys move the date for me but I just got used to that
eventually.

-Bernt


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


[Orgmode] Re: Regaring heading re-organization.

2009-08-25 Thread Bernt Hansen
Noorul Islam K M gnu...@gmail.com writes:

 Hey all,

 Today I was re-arranging my headings. While doing that I faced this
 issue.  For example consider the following org file contents.

 * Level 1
 ** Level 2
 *** Level 3
  Level 4
  Level 4
  Level 4

 If I keep the cursor on Level 3 heading and press M-left, Shouldn't the
 number of '*'s for the headings Level 4 become 3?

No.  M-left changes only this headline.  You want S-M-left to change the
entire tree.

HTH,
Bernt



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


RE: [Orgmode] POLL: Change of keys to move agenda through time

2009-08-25 Thread Jonathan Arkell
1. Yes.
2. Abstain.
-Original Message-
From: emacs-orgmode-bounces+jonathana=criticalmass@gnu.org 
[mailto:emacs-orgmode-bounces+jonathana=criticalmass@gnu.org] On Behalf Of 
Carsten Dominik
Sent: August 25, 2009 3:12 AM
To: org-mode Mailinglist
Subject: [Orgmode] POLL: Change of keys to move agenda through time

Hi,

we have the proposal to do the following key changes in the agenda:

1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
2. Use the keys n and p to switch the agenda to earlier
and later dates.

I would like to call a vote on this issue.  Please weigh in.
Should we make this change?  yes or no?

- 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

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


___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Bastien
Chris Leyon cle...@gmail.com writes:

 Another solution would be to use f and b to move forward and
 backward in time.  Some other Agenda bindings would have to change to
 accommodate this.  Old f (org-agenda-follow-mode) could become F
 which is unused.  But b and B are both used and would need to be
 remapped.

 Obviously this is not the easiest possible solution.  However, these
 bindings would be very consistent with the conventions of most other
 Emacs packages.

Agreed.

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


[Orgmode] Re: POLL: Change of keys to move agenda through time

2009-08-25 Thread Christian Egli
Carsten Dominik carsten.domi...@gmail.com writes:

 we have the proposal to do the following key changes in the agenda:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again

No. Why would you want to do cursor motion in the agenda?

 2. Use the keys n and p to switch the agenda to earlier
and later dates.

No. For consistency sake with other modes such as Gnus.

Thanks
Christian



___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Sébastien Vauban
Hi all,

Carsten Dominik wrote:
 I tend to agree with the arguments that n and p should move vertically
 in the agenda buffer, because many Emacs modes do it like this.

 So it seem to me that this discussion should focus on which keys should move
 the agenda forward and backward in time.

From my current knowledge of Emacs modes (using dired, Gnus, a bit of w3m, and
the like), yes, I would definitely tend to reserve `n' (next) and `p'
(previous) for vertical movements.

For horizontal ones, the common use goes for `b' (backward) and `f' (forward).

At least, if not the letters alone, combinations of those letters (like
prefixing them with Control or Meta or ...).

See (info (emacs)Moving Point) or section 7.2 of the Emacs manual.

Best regards,
  Seb

-- 
Sébastien Vauban



___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Rainer Stengele
Carsten Dominik schrieb:
 Hi,
 
 we have the proposal to do the following key changes in the agenda:
 
 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
 2. Use the keys n and p to switch the agenda to earlier
and later dates.
 
 I would like to call a vote on this issue.  Please weigh in.
 Should we make this change?  yes or no?
 
 - 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
 
1. YES, that was a trap I fell in regularly

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


[Orgmode] How to use both _underlined_ and math subcsript of latex ?

2009-08-25 Thread waterloo
when I export to html , _underlined_ was known as math subscript of latex.

Is it a bug ?  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] Re: OrgmodePOLL: Change of keys to move agenda through time

2009-08-25 Thread Wes Hardaker
 On Tue, 25 Aug 2009 11:12:16 +0200, Carsten Dominik 
 carsten.domi...@gmail.com said:

CD 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again

+1.  I find these two keys have confused me more than any others when I
accidentally shift forward and backward because I'm trying to navigate
to a link quickly to open it.  This is usually when my hands aren't on
the keyboard previously, probably because of a different link, as that's
when I tend to use arrow keys: after coming back from the mouse just to
do motion without other typing.

CD 2. Use the keys n and p to switch the agenda to earlier
CD and later dates.

I'm somewhat ambivalent about that, since my hands normally do the ctrl
version of the movement keys when on the keyboard and I don't use just
n and p.  But I think everyone else has given plenty of indication
they do, so I don't think this is a good choice unfortunately.
-- 
\ Wes Hardaker   http://pontifications.hardakers.net /
 \_ In the bathtub of history the truth is harder to hold than /
   \___ the soap, and much more difficult to find. ___/
   \_ -- Terry Pratchett __/
 \__/


___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Manish
On Tue, Aug 25, 2009 at 8:38 PM, Christian Egli wrote:
 Carsten Dominik writes:

 we have the proposal to do the following key changes in the agenda:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again

 No. Why would you want to do cursor motion in the agenda?

One could make part of a heading a link to, say, an email, and may want to
visit that.

I used to make the mistake (using arrows in agenda) but I learnt to replace
them with forward-word and backward-word commands.

-- 
Manish


___
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: OrgmodeRegaring heading re-organization.

2009-08-25 Thread Wes Hardaker
 On Tue, 25 Aug 2009 17:09:16 +0530, Noorul Islam K M gnu...@gmail.com 
 said:

NIKM * Level 1
NIKM ** Level 2
NIKM *** Level 3
NIKM  Level 4
NIKM  Level 4
NIKM  Level 4

NIKM If I keep the cursor on Level 3 heading and press M-left, Shouldn't the
NIKM number of '*'s for the headings Level 4 become 3?

No, the default is to move only that line.  Try M-shift-left instead to
move the tree.
-- 
\ Wes Hardaker   http://pontifications.hardakers.net /
 \_ In the bathtub of history the truth is harder to hold than /
   \___ the soap, and much more difficult to find. ___/
   \_ -- Terry Pratchett __/
 \__/


___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Chris Leyon
On Tue, Aug 25, 2009 at 11:31, Manishmailtomanish.sha...@gmail.com wrote:
 On Tue, Aug 25, 2009 at 8:38 PM, Christian Egli wrote:
 No. Why would you want to do cursor motion in the agenda?

 One could make part of a heading a link to, say, an email, and may want to
 visit that.

Clockreport also shows links which can be followed with C-c C-o when
point is on them.


___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Niels Felsted Thorsen
Carsten Dominik carsten.domi...@gmail.com writes:

 we have the proposal to do the following key changes in the agenda:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
 2. Use the keys n and p to switch the agenda to earlier
and later dates.

 I would like to call a vote on this issue.  Please weigh in.
 Should we make this change?  yes or no?

no



___
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: Custom agenda question

2009-08-25 Thread Carsten Dominik


On Aug 25, 2009, at 3:57 PM, Bernt Hansen wrote:


Manish mailtomanish.sha...@gmail.com writes:


On Mon, Aug 24, 2009 at 11:33 PM, Carsten Dominik wrote:


On Aug 24, 2009, at 2:21 AM, Manish wrote:


Once you've got your agenda organized right with todo's in order  
etc. then
it's just a little disruptive to go anywhere else for a little  
extra

detail to
get some more context. But I agree agenda should be as compact as
possible.. may be the extra lines could be a toggle switch?


H.

I am not yet convinced, but I have made a little toy implementation
for you and others to try out and commet on.

Please get the latest version and press `E' in the agenda to
toggle the display of a small amount (see variable
`org-agenda-entry-text-maxlines') of text from the entry in
the agenda.


Thanks!  I like it very much so far.  Refreshing the agenda removes  
the
snippets/excerpts though.  Will use it for a few days and report  
back.


Me too!  I just tried it for the first time this morning and I think
this is going to be very useful.

Lots of my tasks have website links which are exposed by this.  It  
would

be even more useful if I can click on the links to go there as in the
regular org file.


I am using an overlay after-string property to display the text.
I don't want to move a way from the one-real-line-is-one-entry
paradigm, so this is as far as I'd like to go, and I do not
wnat to really insert this text.

We could make C-c C-o follow links also in the extra text,
and offer a link selection if there are several links, maybe.

- Carsten



Even without that this hack looks like a keeper to me :)

Thanks,
Bernt






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


[Orgmode] [PATCH] Fix jumping to last refile location in agenda

2009-08-25 Thread Bernt Hansen
C-u C-u C-c C-w now goes to the last refile location in the agenda.
This is the same behaviour as org-refile (when used in an org file)
---
Carsten,

This patch allows C-u C-u C-c C-w on any line in the agenda.  The goto
function (C-u C-c C-w) could possibly work the same way - now you need
to put the point on a task first - it won't work on the date or the
Day-agenda line.

This patch is available at git://git.norang.ca/org-mode for-carsten.

 lisp/org-agenda.el |   22 +++---
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 073e668..83e8dd6 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -5475,14 +5475,17 @@ If this information is not given, the function uses the 
tree at point.
 (defun org-agenda-refile (optional goto rfloc)
   Refile the item at point.
   (interactive P)
-  (let* ((marker (or (get-text-property (point) 'org-hd-marker)
-(org-agenda-error)))
-(buffer (marker-buffer marker))
-(pos (marker-position marker))
-(rfloc (or rfloc
-   (org-refile-get-location
-(if goto Goto:  Refile to: ) buffer
-org-refile-allow-creating-parent-nodes
+  (if (equal goto '(16))
+  (org-refile-goto-last-stored)
+(let* ((marker (or (get-text-property (point) 'org-hd-marker)
+  (org-agenda-error)))
+  (buffer (marker-buffer marker))
+  (pos (marker-position marker))
+  (rfloc))
+  (setq rfloc (or rfloc
+ (org-refile-get-location
+  (if goto Goto:  Refile to: ) buffer
+  org-refile-allow-creating-parent-nodes
 (with-current-buffer buffer
   (save-excursion
(save-restriction
@@ -5491,9 +5494,6 @@ If this information is not given, the function uses the 
tree at point.
  (org-remove-subtree-entries-from-agenda)
  (org-refile goto buffer rfloc))
 
-
-
-
 (defun org-agenda-open-link ()
   Follow the link in the current line, if any.
   (interactive)
-- 
1.6.4



___
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: How to use both _underlined_ and math subcsript of latex ?

2009-08-25 Thread Matt Lundin
waterloo waterloo2...@gmail.com writes:

 when I export to html , _underlined_ was known as math subscript of
 latex.

 Is it a bug ?  Thanks

_Underlined text_ exports to html just fine here.

You'll need to provide your export settings and a sample file in which
the behavior occurs if you'd like to receive help from the list.

- 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: How to use both _underlined_ and math subcsript of latex ?

2009-08-25 Thread waterloo
I use _underlined_ to get a line under `underline' in html.
But the character `_' is known as math subscript of latex (just as in
\sum_0^100 ).

I want to use both underline and math subscript simultaneously.

How to do with it ?

I find some of you are not familiar to latex syntax .

Thanks

2009/8/26 Matt Lundin m...@imapmail.org

 waterloo waterloo2...@gmail.com writes:

  when I export to html , _underlined_ was known as math subscript of
  latex.
 
  Is it a bug ?  Thanks

 _Underlined text_ exports to html just fine here.

 You'll need to provide your export settings and a sample file in which
 the behavior occurs if you'd like to receive help from the list.

 - 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


Re: [Orgmode] About `_' in link address .

2009-08-25 Thread waterloo
Yes, I accept your advice.


2009/8/25 Carsten Dominik carsten.domi...@gmail.com



 On Aug 23, 2009, at 2:50 PM, waterloo wrote:

  Sorry .

 When I copy `http://swift.siphos.be/linux_sea/ ' to an org file , it was
 transformed to a link.
 After I export that file to html , I find `sea' in that link is subscript.
 It should be normal scale.

 This is because in org `_' was recognized as Latex command.

 I recommand that in link we should disable the function of `_' .


 Hi waterloo,

 it has taken 7 emails to extract the above information from
 you.  Each of these messages was read by at least 625 members
 on this mailing list (and probably many others who read the list
 on gmane.org).

 Could you please try next time and start with a
 description *as detailed as possible* right away?  That will
 cost 5 or 10 minutes of your time (not more that you have to
 spent anyway buy writing 4 separate messages).  In return,
 it will save an estimated 60 *hours* spent by others, reading
 these mails and trying to figure out what this is all about.

 About the issue you report:

 I do agree that this is a bug, and I have fixed it.  Thanks
 to Nick and Bastien for their input.

 - 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: How to use both _underlined_ and math subcsript of latex ?

2009-08-25 Thread Bernt Hansen
The following file works just fine for me.

,
| #+TITLE: x.org
| #+AUTHOR:Bernt Hansen
| #+EMAIL: be...@norang.ca
| #+DATE:  2009-08-25 Tue
| #+DESCRIPTION: 
| #+KEYWORDS: 
| #+LANGUAGE:  en
| #+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t
| #+OPTIONS:   TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc
| #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 
path:http://orgmode.org/org-info.js
| #+EXPORT_SELECT_TAGS: export
| #+EXPORT_EXCLUDE_TAGS: noexport
| #+LINK_UP:   
| #+LINK_HOME: 
| 
| * Level 1
| 
| This is _underlined_ and this is sub_script
`

Exporting to HTML and Latex both work.  The exporter converts
appropriately.  C-c C-e b and C-c C-e d displays the underline and
subscript for me.

-Bernt


waterloo waterloo2...@gmail.com writes:

 I use _underlined_ to get a line under `underline' in html.
 But the character `_' is known as math subscript of latex (just as in 
 \sum_0^100 ).

 I want to use both underline and math subscript simultaneously.

 How to do with it ?

 I find some of you are not familiar to latex syntax .

 Thanks

 2009/8/26 Matt Lundin m...@imapmail.org

 waterloo waterloo2...@gmail.com writes:

  when I export to html , _underlined_ was known as math subscript of
  latex.
 
  Is it a bug ?  Thanks

 _Underlined text_ exports to html just fine here.

 You'll need to provide your export settings and a sample file in which
 the behavior occurs if you'd like to receive help from the list.

 - 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


[Orgmode] Re: How to use both _underlined_ and math subcsript of latex ?

2009-08-25 Thread Matthew Lundin
waterloo waterloo2...@gmail.com writes:

 I use _underlined_ to get a line under `underline' in html.
 But the character `_' is known as math subscript of latex (just as in \
 sum_0^100 ).

 I want to use both underline and math subscript simultaneously.

As Bernt explained in his reply, the exporter should distinguish between
the two automatically. If you encounter a specific instance in which
this does not work, then please supply the source file.

Have you read the following sections of the manual?

http://orgmode.org/manual/Subscripts-and-superscripts.html#Subscripts-and-superscripts

http://orgmode.org/manual/LaTeX-fragments.html#LaTeX-fragments

If you want to turn off subscript except when you explicitly request it,
you can find full instructions in this response to one of your previous
posts:

http://article.gmane.org/gmane.emacs.orgmode/16797

 I find some of you are not familiar to latex syntax .

An inability to decipher cryptic mailing list questions does not
indicate a lack of comprehension of their purported subject matter.

- 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] Column view and faces

2009-08-25 Thread christian
Dear orgmode developers and users,

I have some issues concerning column view and faces. 

1. If I increase text scale manually using C-x C-+ or M-x
text-scale-increase the faces of my normal text increase, but not the
column view part.
2. If I configure default faces within .emacs just the column title
scales, but not the column view tables content.

Hopefully this is not a RTFM issue, but I was not able to fix this using
the manual.

I am using GNU Emacs 23.1.1 and orgmode 6.29c and did not configure any
orgmode faces.

Thanks for developing orgmode, best regards
  Christian



___
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: OrgmodeOrgmodePOLL: Change of keys to move agenda through time

2009-08-25 Thread Wes Hardaker
 On Tue, 25 Aug 2009 08:30:51 -0700, Wes Hardaker wjhns...@hardakers.net 
 said:

 On Tue, 25 Aug 2009 11:12:16 +0200, Carsten Dominik 
 carsten.domi...@gmail.com said:
CD 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again

WH +1.  I find these two keys have confused me more than any others 

Thinking about it further, I realized a good part of the confusion
results from the up/down keys actually doing in-buffer movement and
left/right doing date movement.  I don't think that's natural for
people.  They expect the arrows, be it up/down/left/right, to act in a
similar fashion to each other.

I don't think this is the right approach either, but I mention it for
completeness: if you removed the up/down arrow bindings I bet people
would stop trying to use arrows for navigation at all, which would be
better than leaving them half bound.  Granted, I think people still
expect arrows to always be bound to in-buffer movement anyway, so the
current default is confusing and it would be better to let the
left/right bound again to in-buffer movement.

-- 
\ Wes Hardaker   http://pontifications.hardakers.net /
 \_ In the bathtub of history the truth is harder to hold than /
   \___ the soap, and much more difficult to find. ___/
   \_ -- Terry Pratchett __/
 \__/


___
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: OrgmodeOrgmodePOLL: Change of keys to move agenda through time

2009-08-25 Thread Dale Smith
Wes Hardaker wjhns...@hardakers.net writes:

 On Tue, 25 Aug 2009 08:30:51 -0700, Wes Hardaker 
 wjhns...@hardakers.net said:

 On Tue, 25 Aug 2009 11:12:16 +0200, Carsten Dominik 
 carsten.domi...@gmail.com said:
 CD 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again

 WH +1.  I find these two keys have confused me more than any others 

 Thinking about it further, I realized a good part of the confusion
 results from the up/down keys actually doing in-buffer movement and
 left/right doing date movement.  I don't think that's natural for
 people.  They expect the arrows, be it up/down/left/right, to act in a
 similar fashion to each other.

Yes, I think your are right.

I also used to experience this problem a while ago.  And then I picked
up some code in this list that highlight the current agenda line:

(add-hook 'org-agenda-mode-hook '(lambda () (hl-line-mode 1)))

(I think that's the code anyway.)  And now I *never* go off in the
weeds with my Right  Left keys.

For me, I think I use the cursor to help my eyes focus on something.
Usually in the agenda the cursor is off to one side. I want to move it
to the column I'm actuallly looking at, so I lean on it for about
the right key-repeat time to get it there.  That would throw the
agenda several months in the future.

But that all stopped once I started using that hightlight code above.

My $.02

-Dale

-- 
Dale P. Smith
da...@vtiinstruments.com
216-447-4059 x2018
216-447-8951 FAX

(Company mandated disclaimer follows...)

The information in this e-mail and any attachments is intended solely
for use by the recipient(s) to whom this e-mail is addressed and may
contain confidential and/or privileged information which is exempt
from disclosure.  If you are not an intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that you have received this e-mail
and any attachments in error and that dissemination, distribution,
review or copying of this e-mail and its attachments is strictly
prohibited.  If you have received this e-mail in error, please notify
the sender immediately and delete all electronic and paper copies of
this e-mail as well as any attachments.
Thank you.

http://www.vtiinstruments.com/images/vtiemaillogo.gif


___
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] how do you compose mails in Gnus with org-mode

2009-08-25 Thread zwz
Hi, all

Would you like to share your configuration of how to compose mails by org-mode.
I start org-mode by M-x org-mode, and found it not appelling at all.



___
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: Subversion for backups?

2009-08-25 Thread Bernt Hansen
Kyle Sexton k...@mocker.org writes:

 I've seen talk of people using subversion to keep track of and back up
 their org files.  Can someone give me an example of how they have this
 configured and how files are checked in/out from the repository?  Do
 you use a 'local' repository on the same machine and back that up
 remotely or check your files out to a remote subversion server?

 I was going to do something simple like setting up rsnapshot to create
 backups of my org directory every X minutes, but subversion has me
 intrigued.

I use git not subversion but it does basically the same thing.  A
description of my setup is here:

http://doc.norang.ca/org-mode.html#GitSync

-Bernt


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


[Orgmode] Re: how do you compose mails in Gnus with org-mode

2009-08-25 Thread Matt Lundin
zwz wrote:
 
 Would you like to share your configuration of how to compose mails
 by org-mode. I start org-mode by M-x org-mode, and found it not
 appelling at all.

Org-mode is not a mail mode. It certainly would not be suitable as a
major mode for composing mail.

Are you perhaps referring to using org for tables and plain lists in
mail messages? In that case you can activate a couple of minor modes
(orgtbl-mode, orgstruct-mode) by hooking them into your major mail
mode.

Instructions can be found here:

http://orgmode.org/worg/org-faq.php#use-editing-features-in-other-modes

Regards,
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] LaTeX export: problem with emphasis

2009-08-25 Thread Valentin Wüstholz
Hi,

it seems to me like revision 0ba7d3d2f961a224d077e6806b804cde4c4a7726
broke the LaTeX export of emphasises (e.g. =foo=).

Is anybody else having the same problem?

Cheers

Valentin


___
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] LaTeX export: problem with emphasis

2009-08-25 Thread Nick Dokos
=?UTF-8?Q?Valentin_W=C3=BCstholz?= wuesth...@gmail.com wrote:

 Hi,
 
 it seems to me like revision 0ba7d3d2f961a224d077e6806b804cde4c4a7726
 broke the LaTeX export of emphasises (e.g. =foo=).
 
 Is anybody else having the same problem?
 

Yes - my standard emphasis example

,
| 
| * Emphasis and monospace
| 
|   - *bold*
| 
|   - /italic/
| 
|   - _underlined_
| 
|   - =code=
| 
|   - ~verbatim~
| 
|   - +strike-through+
| 
`

exhibits the problem - LaTeX excerpt:

\item \textbf{bold}
\item \emph{italic}
\item \underline{underlined}
\item =code=
\item \~{}verbatim\~{}
\item \st{strike-through}

With the indicated commit reverted, the corresponding LaTeX excerpt looks
like this:

\item \textbf{bold}
\item \emph{italic}
\item \underline{underlined}
\item \texttt{code}
\item \texttt{verbatim}
\item \st{strike-through}

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


[Orgmode] Re: POLL: Change of keys to move agenda through time

2009-08-25 Thread Memnon Anon
Carsten Dominik carsten.domi...@gmail.com writes:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
 2. Use the keys n and p to switch the agenda to earlier
and later dates.

No and no for the same reasons Christian Egli mentioned.

Memnon



___
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] POLL: Change of keys to move agenda through time

2009-08-25 Thread Samuel Wales
A different idea.

Here are the problems with going l/r:

  1) slow
  2) you did it by mistake
  3) you don't know where you are

These can be fixed using the minibuffer.  It looks like this
if you use a 7 day agenda and press right arrow 3 times.

  Press RET to go 1 week ahead to the week starting [2009-09-01 Tue]
  Press RET to go 3 weeks ahead to the week starting [2009-09-08 Tue]
  Press RET to go 3 weeks ahead to the week starting [2009-09-15 Tue]

This is fast because it does not change the view.  You can
select a year ahead by holding the key down.  You can go
left and right.  If it was by mistake, you can ^G.  You know
where you are because it tells you.

No rebinding necessary.


___
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 agenda search goes to wrong target location

2009-08-25 Thread Samuel Wales
Still a huge problem.

Noticed another, much less of a problem.  I recently did RET on an id
link and it went to the wrong location.  I went back and did it again
and it was OK.  Related?  Completely unrelated?

Thanks.

On 2009-07-23, Samuel Wales samolog...@gmail.com wrote:
 Very often, when I do a keyword search in the agenda (m-x
 agenda RET s), org-agenda-switch-to (RET) goes to the wrong
 location in the target file.  To sync it, the easiest way that I have
 found so far is
 to open all agenda buffers, kill all agenda buffers, open
 all agenda buffers, and run the search again.

 Is there an easier way?

 Thanks.

 --
 Myalgic encephalomyelitis makes you die decades early (Jason
 et al. 2006) and suffer severely.  Conflicts of interest are
 destroying research.  Silence = death.  Again.
 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


Re: [Orgmode] How to make a word as anchor and emph simultaneouly ?

2009-08-25 Thread Bastien
waterloo waterloo2...@gmail.com writes:

 How to make a word as anchor and emph simultaneouly ?

 I  try /word/ and /word/ , but fail.

I'm afraid you cannot, but should be doable to live without it.

 Aother question : how to make comment in middle of line ?

This you definitely cannot.

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


Re: [Orgmode] POLL: Change of keys to move agenda through time

2009-08-25 Thread Samuel Wales
On 2009-08-25, Samuel Wales samolog...@gmail.com wrote:
 These can be fixed using the minibuffer.  It looks like this
 if you use a 7 day agenda and press right arrow 3 times.

   Press RET to go 1 week ahead to the week starting [2009-09-01 Tue]
   Press RET to go 3 weeks ahead to the week starting [2009-09-08 Tue]

That should be 2 weeks ahead, of course.

-- 
 Myalgic encephalomyelitis causes death (Jason et al. 2006)
and severe suffering.  Conflicts of interest are destroying
research. What people know is wrong. Silence = death.
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


Re: [Orgmode] Please test org-indent-mode

2009-08-25 Thread Bastien
Sebastian Rose sebastian_r...@gmx.de writes:

 But, on the other hand, I like the outline indented sources - they look
 better in less and other tools/editors. That's why I don't use it
 here. The way auto-fill and org-mode interact is sufficient for me
 (because I'm used to press TAB in all those old-fashioned modes I use =
 not lazy enough yet :) ).

Same here.  

I think I might use it for small reports I quickly edit on the fly, but
for the One Big File I'm living in, I prefer to keep it as plain text as
possible, completely WYSIWYT (What You See Is What You Type, even for
white spaces...)

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


Re: [Orgmode] How to make a word as anchor and emph simultaneouly ?

2009-08-25 Thread Nick Dokos
Bastien bastiengue...@googlemail.com wrote:

 waterloo waterloo2...@gmail.com writes:
 
  How to make a word as anchor and emph simultaneouly ?
 
  I try /word/ and /word/ , but fail.
 
 I'm afraid you cannot, but should be doable to live without it.
 

If you don't mind fudging with spaces, you *can* do this:

,
| 
| * foo
| 
|  *anchor* 
| 
| * bar
| [[ *anchor* ]]
`

works fine. C-h v org-emphasis-regexp-components RET has
the gory details.

  Aother question : how to make comment in middle of line ?
 
 This you definitely cannot.
 

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] [PATCH] Fix jumping to last refile location in agenda

2009-08-25 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Aug 25, 2009, at 6:17 PM, Bernt Hansen wrote:


C-u C-u C-c C-w now goes to the last refile location in the agenda.
This is the same behaviour as org-refile (when used in an org file)
---
Carsten,

This patch allows C-u C-u C-c C-w on any line in the agenda.  The goto
function (C-u C-c C-w) could possibly work the same way - now you need
to put the point on a task first - it won't work on the date or the
Day-agenda line.

This patch is available at git://git.norang.ca/org-mode for-carsten.

lisp/org-agenda.el |   22 +++---
1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 073e668..83e8dd6 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -5475,14 +5475,17 @@ If this information is not given, the  
function uses the tree at point.

(defun org-agenda-refile (optional goto rfloc)
  Refile the item at point.
  (interactive P)
-  (let* ((marker (or (get-text-property (point) 'org-hd-marker)
-(org-agenda-error)))
-(buffer (marker-buffer marker))
-(pos (marker-position marker))
-(rfloc (or rfloc
-   (org-refile-get-location
-(if goto Goto:  Refile to: ) buffer
-org-refile-allow-creating-parent-nodes
+  (if (equal goto '(16))
+  (org-refile-goto-last-stored)
+(let* ((marker (or (get-text-property (point) 'org-hd-marker)
+  (org-agenda-error)))
+  (buffer (marker-buffer marker))
+  (pos (marker-position marker))
+  (rfloc))
+  (setq rfloc (or rfloc
+ (org-refile-get-location
+  (if goto Goto:  Refile to: ) buffer
+  org-refile-allow-creating-parent-nodes
(with-current-buffer buffer
  (save-excursion
(save-restriction
@@ -5491,9 +5494,6 @@ If this information is not given, the function  
uses the tree at point.

  (org-remove-subtree-entries-from-agenda)
  (org-refile goto buffer rfloc))

-
-
-
(defun org-agenda-open-link ()
  Follow the link in the current line, if any.
  (interactive)
--
1.6.4



___
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: POLL: Change of keys to move agenda through time

2009-08-25 Thread Carsten Dominik


On Aug 25, 2009, at 5:31 PM, Manish wrote:


On Tue, Aug 25, 2009 at 8:38 PM, Christian Egli wrote:

Carsten Dominik writes:


we have the proposal to do the following key changes in the agenda:

1. Make the cursor keys LEFT and RIGHT do normal cursor motion again


No. Why would you want to do cursor motion in the agenda?


One could make part of a heading a link to, say, an email, and may  
want to

visit that.


You can do this without moving to the link, with `C-c C-o'.

- Carsten



I used to make the mistake (using arrows in agenda) but I learnt to  
replace

them with forward-word and backward-word commands.

--
Manish


___
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] agenda other frame

2009-08-25 Thread henry atting
If org agenda is displayed in an other frame then windows aren*t
restored when quitting, I have to kill the frame manually. 
I really would like it to behave like e.g. gnus-other-frame which
automatically kills his frame on quitting.

henry

-- 
http://literaturlatenight.de


___
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