[Orgmode] schedule tasks

2009-09-07 Thread William Xu
Hi folks, 

I'm trying to do this: 

  1. schedule a TODO on THIS_DAY
  2. before THIS_DAY, don't show it in global todo list.  So I have: 

  (setq org-agenda-todo-ignore-scheduled t)

  3. on(and after when not done) THIS_DAY, show it in global todo list

While, to my surprise, on THIS_DAY, the scheduled TODO doesn't show up
in the todo list!!  

The manual (info (org) Deadlines and scheduling) says: 

 Important: Scheduling an item in Org mode should not be understood
 in the same way that we understand scheduling a meeting.  Setting
 a date for a meeting is just a simple appointment, you should mark
 this entry with a simple plain time stamp, to get this item shown
 on the date where it applies. ...  

Does this mean that it will show in the calendar? 

I'm new to orgmode.  I'm thinking of referring to TODO list most of the
time.  Is this a good way? Since switching between agenda and TODO list
looks a bit unconvenient to me.


-- 
William

http://xwl.appspot.com



___
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: schedule tasks

2009-09-07 Thread PT
William Xu william.xwl at gmail.com writes:

 
 Hi folks, 
 
 I'm trying to do this: 
 
   1. schedule a TODO on THIS_DAY
   2. before THIS_DAY, don't show it in global todo list.  So I have: 
 
   (setq org-agenda-todo-ignore-scheduled t)
 
   3. on(and after when not done) THIS_DAY, show it in global todo list
 

I use a similar setup. As I understand if you want items to
appear on the date they are due you have to use the daily agenda.

So I use a custom agenda which shows the agenda items and the
todo list together:


(setq org-agenda-custom-commands
  '((h My Agenda  TODO
 ((agenda )
  (alltodo home)

The agenda part is empty if there are no due items today and the
regular todo items are under it.

Invoke the agenda with M-1 prefix to show items only for today.
It can be assigned to a keyboard macro, of course.



___
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: Org-mode version 6.30d; Hide stars

2009-09-07 Thread Carsten Dominik


On Sep 7, 2009, at 6:57 AM, Mark Elston wrote:


Melton Low wrote:

Sorry I made a mistake.
I only see it if I reverted org-mode back to 6.30d.  Works fine  
with this morning's git pull.


Hmm.  Well, as it turns out, so does mine.  Whatever the problem *was*
it appears to have gone away now.


Yes, for the time being I have reverted the commit which caused
the problem.  Just to make sure that normal users have a working
Org-mode and a good experience.  So when testing Tassilo's request,
please check out 6.30d before running the tests.

- Carsten



Mark


Mel
On Sun, Sep 6, 2009 at 4:32 PM, Melton Low softw@gmail.com mailto:softw@gmail.com 
 wrote:

   Yep problem still there.
   I'm using cvs build of Emacs 23.50.1 on Sept 3rd.
   org-mode build from git pull this morning
   Mac OS X 10.5.8 Intel
   On Sun, Sep 6, 2009 at 11:47 AM, Tassilo Horn
   tass...@member.fsf.org mailto:tass...@member.fsf.org wrote:
   Scott Otterson sco...@sharpleaf.org
   mailto:sco...@sharpleaf.org writes:
   Hi Scott  all others having that problem,
 I also see this problem.  In addition, links are rendered  
in

   plain
 text instead of being hidden.  I'm using emacs 23 on OS X.
   This bug is more than strange.  Till now, neither Carsten  
nor me was
   able to reproduce it, but people with different emacs  
versions on

   different platforms were bitten by it.
   Could you please all try to reproduce the problem this way:
   1. Create a file test.el with these contents:
   --8---cut here---start- 
8---

   (add-to-list 'load-path ~/path/to/org-mode/lisp/) ;; EDIT TO
   YOUR NEEDS
   (require 'org-install)
   (add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
   --8---cut here---end--- 
8---

   2. Start emacs like this:
$ emacs -Q -l ~/path/to/test.el
   3. Open some org file and check if the problem still occurs.
   Bye,
   Tassilo
   ___
   Emacs-orgmode mailing list
   Remember: use `Reply All' to send replies to the list.
   Emacs-orgmode@gnu.org mailto: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




___
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 version 6.30d; Hide stars

2009-09-07 Thread Tassilo Horn
Melton Low softw@gmail.com writes:

 I only see it if I reverted org-mode back to 6.30d.
 Yep problem still there.

Hm, so it seems not to be caused by some external package.  I suspected
that maybe the problem occurs only for color-theme users, but it seems
to be something different... :-(

Bye,
Tassilo



___
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] representation of clients

2009-09-07 Thread Sebastian Rose
Richard Riley rileyrg...@googlemail.com writes:
 People using org-mode to maintain tasks, order, reminders , notes etc,
 how do you represent clients? By a TAG? by a separate category? Separate
 file?

 In my case I'm writing some SW for a few small companies and am humming
 and harring on how best to model the work process, requests, meetings
 and cases which arise.

 Any pointers/ links appreciated.


While you could use this model:

  1. Add all your tasks to just one file.
  2. archive everything that is billed and payed.


I prefer to use one file for my personal agenda, and one per
customer. Those files tend to grow to more than just a few hundred
lines, and it's easier to find a task in the future.

Todo files for active projects/customers are added to my list of agenda
files (`C-c ['). That way it's easy to find the file by pressing `C-,'
repeatedly (e.g. during a phone call). You can type `C-,' with one hand
easily.

If the project/customer is not active anymore (nothing else to do), I do
a `C-c ]' to remove the file from my list of agenda files. This keeps
the agenda fast and clean.




   Sebastian


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


Re: [Orgmode] Re: RSI

2009-09-07 Thread Eric S Fraga
At Tue, 01 Sep 2009 15:50:08 -0400,
Matt Lundin wrote:
 key. Thus, short of using viper, the only solution that works for me is
 to use the Caps Lock key as Control. With that slight modification, I
 find emacs controls *very* comfortable (perhaps even as comfortable than

Yes, making caps lock act as control is key to using emacs without
pain (for me).  However, it's not a full solution for some keyboards
which don't have a caps lock key.  Therefore, I'm intrigued by your
reference to viper: is it possible to use, constructively and easily,
viper with org-mode?  If so, any pointers on how to accomplish this
would be fantastic!  A modal approach to writing/editing is fine with
me.


___
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] wide table not exported

2009-09-07 Thread Giovanni Ridolfi
Hello everyone,

I have problem when exporting to html  a wide table, the
table of the subheading parameters  in the 
file attached.

Configuration:
--
Pentium III 730 MHz, 320 Mb RAM  
Windows XP 
140 Mb Ram free, when running my test

GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
Org-mode version 6.30e

How to reproduce:
--

 The table of the next subheading  *without* the third 
column (dT^2)  is exported to html in 25 seconds.
I did:
C-c @      ;; to select parameters heading
C-c C-e h  ;; to export to html
so far so good, the exporter works.


But, the table *with* the 3rd column is /not/ exported to html 
in 3 minutes and 30 s (then I killed emacs (oh my! ;-)

Could someone, please, test the table to understand 
if the problem is my slow/low memory machine or 
something in the org-mode export?

cheers,
Giovanni


  

test-table.org
Description: Lotus Organizer
___
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] menu inaccuracy for bulk actions

2009-09-07 Thread Giles Chamberlin
org-version: 6.30trans

When the active buffer is an agenda, the bulk action sub-menu contains
toggle mark entry m.

m is bound to org-agenda-bulk-mark and odes not toggle: pressing will
mark, but pressing again has no effect.  unmarking is achieved with u.

I suggest that either m should be given toggling functionality or the
menu text should be changed and unmark added as an item.


-- 
Giles



___
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] wide table not exported

2009-09-07 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Sep 7, 2009, at 1:14 PM, Giovanni Ridolfi wrote:


Hello everyone,

I have problem when exporting to html  a wide table, the
table of the subheading parameters  in the
file attached.

Configuration:
--
Pentium III 730 MHz, 320 Mb RAM
Windows XP
140 Mb Ram free, when running my test

GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
Org-mode version 6.30e

How to reproduce:
--

The table of the next subheading  *without* the third
column (dT^2)  is exported to html in 25 seconds.
I did:
C-c @  ;; to select parameters heading
C-c C-e h  ;; to export to html
so far so good, the exporter works.


But, the table *with* the 3rd column is /not/ exported to html
in 3 minutes and 30 s (then I killed emacs (oh my! ;-)

Could someone, please, test the table to understand
if the problem is my slow/low memory machine or
something in the org-mode export?

cheers,
Giovanni


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




___
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] menu inaccuracy for bulk actions

2009-09-07 Thread Carsten Dominik

Fixed, thanks

- Carsten

On Sep 7, 2009, at 12:57 PM, Giles Chamberlin wrote:


org-version: 6.30trans

When the active buffer is an agenda, the bulk action sub-menu contains
toggle mark entry m.

m is bound to org-agenda-bulk-mark and odes not toggle: pressing will
mark, but pressing again has no effect.  unmarking is achieved with u.

I suggest that either m should be given toggling functionality or the
menu text should be changed and unmark added as an item.


--
Giles



___
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] How to get \\ in title or author?

2009-09-07 Thread Sébastien Vauban
Hi,

I have a small problem when I want to put a double backslash in the list of
authors, for example.

--8---cut here---start-8---
#+AUTHOR:Main author \\ Second one
--8---cut here---end---8---

gets exported in LaTeX as

--8---cut here---start-8---
\author{Main author \\textbackslash{} Second one}
--8---cut here---end---8---

What's not the expected result...

Is this a bug?  Is there a workaround?

Best regards,
  Seb

PS- Same problem for title, if I want to put explicit breaks in the title
page.

-- 
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] Org-mode version 6.30trans (release_6.30d.19.g1db9); Last character in file not folded correctly

2009-09-07 Thread Andreas Burtzlaff


The last character in a file is not folded correctly,e.g:

begin example

* fold this heading

The following X is the *last character* in the file: Xend example


yields:


* fold this heading...X



Emacs  : GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7)
 of 2009-08-21 on fluxx
Package: Org-mode version 6.30trans (release_6.30d.19.g1db9)


___
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] RSI

2009-09-07 Thread B Smith-Mannschott
A few tips from an emacs hand who has had issues with repetitive
strain in the past:

The first thing I did after starting my first real job (years ago,
when my RSI was pretty bad and my employer-supplied keyboard was in
violation of the geneva conventions):

1. I got a kinesis contoured keyboard (like the Kinesis Advantage
I'm typing on now.) It places C- and M- (Alt key) under your thumbs.
(You could even assign them to foot pedals, though I never managed due
to lack of rhythm -- guess I should have taken drumming classes at
school.) The layout is completely programmable without additional
software. In short: it's the ultimate emacs keybaord.

2. More recently, I had a flare up (Apple's wireless mouse is the work
of the devil, for my hands at least.) It was then that I discovered
Sticky Keys.

Sticky keys takes some getting used to. It makes every modifier key
work a little like caps lock. Sounds horrible, doesn't it? Well, it's
not really. Basically, if you press control once, it locks control
down for the next keystroke only, after which point the keyboard
returns to normal. Press control twice, and it locks down until you
release it with a third press.

C-x C-f

Used to be: press and hold control. Press and release x. press and
release f. Release control.
Now it's Press and release control twice. Press and release x. press
and release f. Press and release control.

This turns out to be easier on my hands because I don't find myself
contorting my hands across the keyboard while I try to hold down more
than one key at a time. I have sticky keys turned on on all my
computers, except for the one at work where I have the kinesis
keyboard.

 3. I've rebound caps lock to control on all my keyboards (apart from
the kinesis, where I have caps lock bound to the windows key.)

4. I have a happy hacking keyboard, which has control where caps
lock is on an AT keyboard (and no caps key). The happy hacking
keyboard has the drawback that it has no right control key. (Sticky
keys helps here too.)

// Ben


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


Re: [Orgmode] Org-mode version 6.30trans (release_6.30d.19.g1db9); Last character in file not folded correctly

2009-09-07 Thread Giovanni Ridolfi
--- Lun 7/9/09, Andreas Burtzlaff and...@gmx.net ha scritto:
 The last character in a file is not folded correctly,e.g:
 
[...] 
 * fold this heading...X
 
 Emacs  : GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+
 Version 2.14.7)
  of 2009-08-21 on fluxx
 Package: Org-mode version 6.30trans
 (release_6.30d.19.g1db9)

I can reproduce it also with 
Org-mode  6.30e

Giovanni





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


[Orgmode] Fwd: loading org changes faces in other modes

2009-09-07 Thread Carsten Dominik



Begin forwarded message:


From: Samuel Wales samolog...@gmail.com
Date: September 7, 2009 4:36:31 PM GMT+02:00
To: Carsten Dominik carsten.domi...@gmail.com
Subject: Re: loading org changes faces in other modes

Hi Carsten,

On 2009-09-03, Carsten Dominik carsten.domi...@gmail.com wrote:

Is there anything wrong with your gnus installation?


I do not use gnus.

(It actually would be faster for org not to load gnus-sum.  gnus-sum
requires the rest of gnus.)

Just Carbon Emacs gnus.


What does happen when you evaluate

(require 'gnus-sum)

?


It depends on when I load it.  If org loads it, bug.  But if I load it
before or after require org-install on a good org (one that does not
load it), no bug.

Thanks.

Samuel

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


[Orgmode] Re: Publishing clocked time

2009-09-07 Thread Sébastien Vauban
Hi Carsten,

Carsten Dominik wrote:
 On Sep 4, 2009, at 5:32 PM, Ivan Chernetsky wrote:

 is it possible to publish clocked time of a TODO item?

 clocking lines are considered ugly and are therefore not included during
 publishing. I could make an option for it... Are there more people
 interested?

Yes, quite interested, even if not absolutely required.

I needed that when I transferred my billing info to our company's
accountant, so that she was able to correctly bill the clients, and check that
I worked enough time on the month.

However, as the LaTeX export was quite empty of those info, I switched back to
sending the info as plain text email.

Though, would that be available, yes, I would definitely use it...

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


Re: [Orgmode] Re: Publishing clocked time

2009-09-07 Thread Russell Adams
Actually on this topic, I'd like to be able to make a simple table of
all time itemized by day. It'd be prettier than the clocktable lines,
and lower maintenance than the existing reports.


On Mon, Sep 07, 2009 at 05:35:56PM +0200, S??bastien Vauban wrote:
 Hi Carsten,
 
 Carsten Dominik wrote:
  On Sep 4, 2009, at 5:32 PM, Ivan Chernetsky wrote:
 
  is it possible to publish clocked time of a TODO item?
 
  clocking lines are considered ugly and are therefore not included during
  publishing. I could make an option for it... Are there more people
  interested?
 
 Yes, quite interested, even if not absolutely required.
 
 I needed that when I transferred my billing info to our company's
 accountant, so that she was able to correctly bill the clients, and check that
 I worked enough time on the month.
 
 However, as the LaTeX export was quite empty of those info, I switched back to
 sending the info as plain text email.
 
 Though, would that be available, yes, I would definitely use it...
 
 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
 


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


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


Re: [Orgmode] Org-mode version 6.30trans (release_6.30d.19.g1db9); Last character in file not folded correctly

2009-09-07 Thread David Maus

According to Carsten this misbehaviour is not Orgmode's fault, but
Outline-Mode's

http://www.mail-archive.com/emacs-orgmode@gnu.org/msg16542.html

and should be reported as a bug in Emacs23 (what I do use, too).

*But*: I didn't file a bugreport for Emacs because I cannot reproduce
this misbehavior outside Orgmode. It's indeed (hide-subtree) that
causes the last char beneath a headline be displayed after the
three-dots-thingy but (hide-subtree) behaves fine when used in 'pure'
outline-mode.

So, I decided not to dig into the issue to make file a bugreport as I
can live with it and am quite occupied at the moment.

Regards,

  -- David

-- 
OpenPGP... 0x316F4BE4670716FD
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com
ICQ... 241051416


___
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: Org-mode version 6.30d; Hide stars

2009-09-07 Thread Mark Elston

Carsten,

Not sure why but now I see the problem on the *other* machine
as well (the one that didn't show the problem before).  This
is 6.30d.6.g2066.  I haven't updated this machine in the last
few days.

I don't know why I didn't see it before on this machine.  Nothing
has changed.  Perhaps I didn't test it properly.  The way it shows
up is that the *first* time you load a .org file there is no
fontification.  However, every time after that it works just fine.
I suppose I had already loaded a .org file and didn't remember
so I assumed it was working fine.  Sorry about that.

Mark

Carsten Dominik wrote:


On Sep 7, 2009, at 6:57 AM, Mark Elston wrote:


Melton Low wrote:

Sorry I made a mistake.
I only see it if I reverted org-mode back to 6.30d.  Works fine with 
this morning's git pull.


Hmm.  Well, as it turns out, so does mine.  Whatever the problem *was*
it appears to have gone away now.


Yes, for the time being I have reverted the commit which caused
the problem.  Just to make sure that normal users have a working
Org-mode and a good experience.  So when testing Tassilo's request,
please check out 6.30d before running the tests.

- Carsten



Mark




___
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: Stuck in a folded section when subtree is folded

2009-09-07 Thread PT
PT spamfilteraccount at gmail.com writes:

 
 If a header has some text content under it and the cursor is in
 the text then pressing TAB folds the content, but it doesn't
 change the cursor position, so the cursor is stuck in the folded
 part and, for example, beginning-of-line doesn't work, you can
 only get out from the folded part if you press cursor up/down
 


For the time being I fixed it for myself with an advice. Here it is
if someone's interested:

(defadvice org-cycle (after my-org-cycle activate)
  (if (outline-invisible-p)
  (outline-previous-visible-heading 1)))







___
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] RSI

2009-09-07 Thread Daniel Martins
Ben,

Please publish your .emacs configuration!

Daniel

2009/9/7 B Smith-Mannschott bsmith.o...@gmail.com

 A few tips from an emacs hand who has had issues with repetitive
 strain in the past:

 The first thing I did after starting my first real job (years ago,
 when my RSI was pretty bad and my employer-supplied keyboard was in
 violation of the geneva conventions):

 1. I got a kinesis contoured keyboard (like the Kinesis Advantage
 I'm typing on now.) It places C- and M- (Alt key) under your thumbs.
 (You could even assign them to foot pedals, though I never managed due
 to lack of rhythm -- guess I should have taken drumming classes at
 school.) The layout is completely programmable without additional
 software. In short: it's the ultimate emacs keybaord.

 2. More recently, I had a flare up (Apple's wireless mouse is the work
 of the devil, for my hands at least.) It was then that I discovered
 Sticky Keys.

 Sticky keys takes some getting used to. It makes every modifier key
 work a little like caps lock. Sounds horrible, doesn't it? Well, it's
 not really. Basically, if you press control once, it locks control
 down for the next keystroke only, after which point the keyboard
 returns to normal. Press control twice, and it locks down until you
 release it with a third press.

 C-x C-f

 Used to be: press and hold control. Press and release x. press and
 release f. Release control.
 Now it's Press and release control twice. Press and release x. press
 and release f. Press and release control.

 This turns out to be easier on my hands because I don't find myself
 contorting my hands across the keyboard while I try to hold down more
 than one key at a time. I have sticky keys turned on on all my
 computers, except for the one at work where I have the kinesis
 keyboard.

  3. I've rebound caps lock to control on all my keyboards (apart from
 the kinesis, where I have caps lock bound to the windows key.)

 4. I have a happy hacking keyboard, which has control where caps
 lock is on an AT keyboard (and no caps key). The happy hacking
 keyboard has the drawback that it has no right control key. (Sticky
 keys helps here too.)

 // Ben


 ___
 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 version 6.30d; Hide stars

2009-09-07 Thread Tassilo Horn
Hi all!

Could you please try another thing (with the git version where this bug
occurs):

1. Create a file test.el with these contents:

--8---cut here---start-8---
(add-to-list 'load-path ~/path/to/org-mode/lisp/) ;; EDIT TO YOUR NEEDS
(setq org-modules nil)
(require 'org-install)
(add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
(require 'org-gnus)
--8---cut here---end---8---

2. Start emacs like this:

  $ emacs -Q -l ~/path/to/test.el

3. Open some org file and check if the problem still occurs.

If that works for you, I think that there's something wrong with the
org-modules loading.  See also Carsten's forwarded message
33919e72-45ab-4f50-8d5e-46807ac4b...@gmail.com.

Bye,
Tassilo



___
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 version 6.30d; Hide stars

2009-09-07 Thread Tassilo Horn
Mark Elston m_els...@comcast.net writes:

Hi Mark!

 That did it!  Your message didn't have Carsten's message attached so I
 don't know what was in it, but you appear to be correct.

Another message Carsten forwarded, where fontification problems arose if
some org module was loaded by org's org-modules variable, which didn't
occur if the module in question was loaded explicitly by the user's
.emacs.

 I even commented out the last line (require 'org-gnus) and it still
 works.

But you tried also with it, right?  So we can say that the fontification
problems only exist if org-gnus was loaded by org's org-modules
variable.  If that's the case, then we've at least narrowed down the
problem to only a few lines of code.

Bye,
Tassilo



___
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: Fwd: loading org changes faces in other modes

2009-09-07 Thread Tassilo Horn
Hi Carsten,

with all those troubles, what's the point in `org-modules' anyway?  Are
there any benefits over plain requires in users' .emacs files except the
nice and explanatory customize interface?

Bye,
Tassilo

 Begin forwarded message:

 From: Samuel Wales samolog...@gmail.com
 Date: September 7, 2009 4:36:31 PM GMT+02:00
 To: Carsten Dominik carsten.domi...@gmail.com
 Subject: Re: loading org changes faces in other modes

 Hi Carsten,

 On 2009-09-03, Carsten Dominik carsten.domi...@gmail.com wrote:
 Is there anything wrong with your gnus installation?

 I do not use gnus.

 (It actually would be faster for org not to load gnus-sum.  gnus-sum
 requires the rest of gnus.)

 Just Carbon Emacs gnus.

 What does happen when you evaluate

 (require 'gnus-sum)

 ?

 It depends on when I load it.  If org loads it, bug.  But if I load it
 before or after require org-install on a good org (one that does not
 load it), no bug.

 Thanks.

 Samuel

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



___
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: Mobile org

2009-09-07 Thread Eric S Fraga
At Wed, 2 Sep 2009 18:31:05 + (UTC), Delwood Richardson wrote:
 
 I am using org-mode on a N800 (or N810).

I'm also using org-mode on an N810 (with emacs 22).  Ideal!  org-mode
is perfectly fast enough, especially after the optimisations done to
it earlier this year and having it run on a computer that fits in my
pocket is exactly what I needed for keeping on top of things.

There are a slew of machines supposedly (?) coming out in the near
future with 5 screens, many running Linux, which should support
org-mode very well indeed.

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


Re: [Orgmode] Re: Fwd: loading org changes faces in other modes

2009-09-07 Thread Bastien
Hi Tassilo,

Tassilo Horn tass...@member.fsf.org writes:

 with all those troubles, what's the point in `org-modules' anyway?  Are
 there any benefits over plain requires in users' .emacs files except the
 nice and explanatory customize interface?

One advantage I see is that org.el can define a default set of loaded
modules, while suggesting the user that there are many others to load.

-- 
 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] Mobile org

2009-09-07 Thread Eric S Fraga
At Thu, 03 Sep 2009 07:33:44 +0100,
Ian Barton wrote:
 
 I am in the middle of writing a tutorial for worg on using org on
 mobile devices. The short answer to your question is that there isn't
 really a pocketable device that runs emacs at the moment. Nokia's
 Maemo platform can run emacs, but I would call it pocketable.

I assumed you meant to say not pocketable and, if so, I guess it
depends on what kind of pockets!  My N810 fits in the pocket of any of
my jackets or coats and does in fact fit in my trouser pockets but the
latter is not necessarily ideal...


___
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] RSI

2009-09-07 Thread B Smith-Mannschott
On Mon, Sep 7, 2009 at 19:16, Daniel Martinsdaniel...@gmail.com wrote:
 Ben,

 Please publish your .emacs configuration!

 Daniel

I think you've misunderstood. There's no emacs magic that makes what I
describe below work, It's all hardware and features built into my
various operating systems. (more below).

// Ben

 2009/9/7 B Smith-Mannschott bsmith.o...@gmail.com

 A few tips from an emacs hand who has had issues with repetitive
 strain in the past:

 The first thing I did after starting my first real job (years ago,
 when my RSI was pretty bad and my employer-supplied keyboard was in
 violation of the geneva conventions):

 1. I got a kinesis contoured keyboard (like the Kinesis Advantage
 I'm typing on now.) It places C- and M- (Alt key) under your thumbs.
 (You could even assign them to foot pedals, though I never managed due
 to lack of rhythm -- guess I should have taken drumming classes at
 school.) The layout is completely programmable without additional
 software. In short: it's the ultimate emacs keybaord.

 2. More recently, I had a flare up (Apple's wireless mouse is the work
 of the devil, for my hands at least.) It was then that I discovered
 Sticky Keys.

 Sticky keys takes some getting used to. It makes every modifier key
 work a little like caps lock. Sounds horrible, doesn't it? Well, it's
 not really. Basically, if you press control once, it locks control
 down for the next keystroke only, after which point the keyboard
 returns to normal. Press control twice, and it locks down until you
 release it with a third press.

 C-x C-f

 Used to be: press and hold control. Press and release x. press and
 release f. Release control.
 Now it's Press and release control twice. Press and release x. press
 and release f. Press and release control.

 This turns out to be easier on my hands because I don't find myself
 contorting my hands across the keyboard while I try to hold down more
 than one key at a time. I have sticky keys turned on on all my
 computers, except for the one at work where I have the kinesis
 keyboard.

I've found that recent versions of windows (XP and later, possibly
earlier too), Mac OS X and the Gnome Desktop all support some form of
sticky keys. I found it buggy in in Ubuntu 8.04 and 8.10 but it
works reliably in 9.04.

[The specific problem is this: under 8.04 and 8.10 the option disable
sticky keys if two keys are pressed together doesn't work. clearing
this checkbox does not write through to the corresponding gnome
registry setting. Editing of said setting by hand is the workaround.
Also, attaching an external keyboard causes Gnome to forget that it's
supposed to be using sticky keys.]

  3. I've rebound caps lock to control on all my keyboards (apart from
 the kinesis, where I have caps lock bound to the windows key.)

The ability to rebind caps to control is built into both Mac OS X and
Ubuntu (GNOME). In years past I've used a registry hack on windows to
achieve the same affect. I don't anymore because I use my Kinesis with
my windows machine and Kinesis does rebinding in hardware.

 4. I have a happy hacking keyboard, which has control where caps
 lock is on an AT keyboard (and no caps key). The happy hacking
 keyboard has the drawback that it has no right control key. (Sticky
 keys helps here too.)

 // Ben


 ___
 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] [PATCH] Org-mode version 6.30trans (release_6.30d.19.g1db9); Last character in file not folded correctly

2009-09-07 Thread Andreas Burtzlaff
On Mon, 07 Sep 2009 17:59:14 +0200
David Maus maus.da...@gmail.com wrote:

 
 According to Carsten this misbehaviour is not Orgmode's fault, but
 Outline-Mode's
 
 http://www.mail-archive.com/emacs-orgmode@gnu.org/msg16542.html
 
 and should be reported as a bug in Emacs23 (what I do use, too).
 
 *But*: I didn't file a bugreport for Emacs because I cannot reproduce
 this misbehavior outside Orgmode. It's indeed (hide-subtree) that
 causes the last char beneath a headline be displayed after the
 three-dots-thingy but (hide-subtree) behaves fine when used in 'pure'
 outline-mode.

It was indeed org-modes rewrite of outline-end-of-subtree that
triggered the misbehaviour.

Here's the patch:

--8---cut here---start-8---
diff --git a/lisp/org.el b/lisp/org.el
index 74d7f78..c75f1b9 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -16880,7 +16880,7 @@ If there is no such heading, return nil.
   (if (eq major-mode 'org-mode)
   (progn
(org-end-of-subtree nil t)
-   (backward-char 1))
+   (if (not (eobp)) (backward-char 1)))
 ad-do-it))
 
 (defun org-forward-same-level (arg optional invisible-ok)
--8---cut here---end---8---

Andreas


___
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: Org-mode version 6.30d; Hide stars

2009-09-07 Thread Melton Low
Tassilo,

Worked fine with either (setq org-modules nil) or (require 'org-gnus)
commented out. It stopped working if I comment out both.
Hope this help.

Mel

On Mon, Sep 7, 2009 at 12:17 PM, Mark Elston m_els...@comcast.net wrote:

 Tassilo,

 That did it!  Your message didn't have Carsten's message attached so I
 don't know what was in it, but you appear to be correct.

 I even commented out the last line (require 'org-gnus) and it still
 works.

 Mark

 Tassilo Horn wrote:

 Hi all!

 Could you please try another thing (with the git version where this bug
 occurs):

 1. Create a file test.el with these contents:

 --8---cut here---start-8---
 (add-to-list 'load-path ~/path/to/org-mode/lisp/) ;; EDIT TO YOUR NEEDS
 (setq org-modules nil)
 (require 'org-install)
 (add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
 (require 'org-gnus)
 --8---cut here---end---8---

 2. Start emacs like this:

  $ emacs -Q -l ~/path/to/test.el

 3. Open some org file and check if the problem still occurs.

 If that works for you, I think that there's something wrong with the
 org-modules loading.  See also Carsten's forwarded message
 33919e72-45ab-4f50-8d5e-46807ac4b...@gmail.com.



 ___
 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] run emacs.exe - point to specific .emacs

2009-09-07 Thread Chris Randle
Hi Erwin

Erwin Panen wrote:
 - Is there any command line parameter to point emacs to a specific
 /dir/subdir/.emacs_2 file? This would allow me to experiment with
 various subsets of .emacs settings? 

Don't know if this helps at all, but I do the same thing myself. I have
a copy of Emacs on a USB stick, and my Org-mode files on a TrueCrypt
volume on the same stick. I synchronize the org files with my desktop
using Subversion and Tortoise SVN. Works a treat.

On the USB stick, I have a batch file called notepad.bat containing the
following. The equals signs just delineate the start and end of the
file, they're not part of the file:

==
@echo off
set OLD-HOME=%HOME%
set HOME=%cd%

set /p DRIVE_LETTER=Enter drive letter of SD card: 
%DRIVE_LETTER%:\_Usb\Emacs\bin\runemacs.exe notepad.org

set HOME=%OLD-HOME%
set OLD-HOME=
set DRIVE_LETTER=


Also on the stick, I have a shortcut to the batch file with

Target: N:\emacs-data\Notepad.bat
Start in: N:\emacs-data

Windows seems to be smart (unusual, I know) in that it has no problem
with the hard coded drive letter in the shortcut. If drive changes
letter on mounting, it copes. But you must create the shortcut with the
correct drive letter at that moment.

The Start in value designates the current directory which the batch file
picks up in the %cd% environment variable and sets HOME to it, so that
Emacs knows where to get the .emacs file. Perhaps you could make
different shortcuts with different Start in values pointing to folders
containing different .emacs files.

The complication with %DRIVE_LETTER% is because the USB stick and Emacs
itself get mounted with one drive letter and then my org files and
.emacs are mounted on the encrypted volume with another drive letter,
and the batch file encrypted volume has no way of knowing the drive
letter of the USB stick to start Emacs. If you're keeping everything on
the one drive letter, you won't need that bit.

-- 
Chris Randle
Windows XP Pro SP3 - GNU Emacs 22.1.1 - Org-mode 6.29c



___
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: representation of clients

2009-09-07 Thread Bernt Hansen
Richard Riley rileyrg...@googlemail.com writes:

 People using org-mode to maintain tasks, order, reminders , notes etc,
 how do you represent clients? By a TAG? by a separate category? Separate
 file?

All of the above.  http://doc.norang.ca/org-mode.html#sec-2.3

I tend to keep one file per client, with a #+FILETAGS entry for the
client and set the category just so it's easy to see in the agenda what
tasks apply to what client.

I use the category to visually see what client a task belongs to on the
agenda quickly.

I use tags to filter tasks on the agenda.

I use entire files to group tasks for a client so they can be
added/removed from the agenda easily.

So for every client project file I'll have the main file and an archive
file to keep the entire history of whatever I've worked on in the past.
Archive dead stuff to keep the agenda response time fast.

Adding and removing clients from the agenda is simply adding and
removing entire files from org-agenda-files.

I have a client X that has multiple clients (A, B, C, D, etc), and I
work on their client's systems.  In this case I have org files X-A.org,
X-B.org, ... , X-D.org since their clients come and go and I want to
only keep the stuff I work on in my agenda.  Similarly I'll also have an
X.org for stuff specific to the main client that I work for.

Hope some of that makes sense :)

-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: Clocking in/out hooks?

2009-09-07 Thread Bernt Hansen
Noufal Ibrahim nou...@nibrahim.net.in writes:

 Hello everyone,
I want to tie up a couple of functions when I clock into and out of
 a task. In order to do this, the normal way would be some kind of
 hook. Is there something in org-mode I can use to achieve this? Is a
 hook overkill? I'm willing to write something and submit a patch if
 that's the right way to go.

 Thanks.

M-x apropos ^org-.*-hook$

org-clock-cancel-hook
  Variable: Hook run when cancelling the current clock.
  Plist: variable-documentation
org-clock-goto-hook
  Variable: Hook run when selecting the currently clocked-in entry.
  Plist: variable-documentation
org-clock-in-hook
  Variable: Hook run when starting the clock.
  Plist: variable-documentation
org-clock-in-prepare-hook
  Variable: Hook run when preparing the clock.
  Plist: variable-documentation
org-clock-out-hook
  Variable: Hook run when stopping the current clock.
  Plist: variable-documentation

-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] Mobile org

2009-09-07 Thread Miguel Fernando Cabrera
Few days ago the Nokia N900 (the successor of the N810) was released [1].
Although it is a little bit pricey, I am definitely looking forward to buy
one see Emacs + Org-Mode running on one of those things. Check it out [2].

This is the as PocketEmacs you can get :-). I wonder what other wonderful
ways of using Org can be developed if Mobility is added to the equation
:-).



[1]
http://www.nokia.com/press/press-releases/showpressrelease?newsid=1337594

[2] http://www.youtube.com/watch?v=RP5R-5NX1BE


On Mon, Sep 7, 2009 at 1:54 PM, Eric S Fraga ucec...@ucl.ac.uk wrote:

 At Thu, 03 Sep 2009 07:33:44 +0100,
 Ian Barton wrote:
 
  I am in the middle of writing a tutorial for worg on using org on
  mobile devices. The short answer to your question is that there isn't
  really a pocketable device that runs emacs at the moment. Nokia's
  Maemo platform can run emacs, but I would call it pocketable.

 I assumed you meant to say not pocketable and, if so, I guess it
 depends on what kind of pockets!  My N810 fits in the pocket of any of
 my jackets or coats and does in fact fit in my trouser pockets but the
 latter is not necessarily ideal...


 ___
 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




-- 
Miguel Fernando Cabrera Granados
http://mfcabrera.com
A los hombres fuertes les pasa lo que a los barriletes; se elevan cuando es
mayor el viento que se opone a su ascenso. - José Ingenieros
___
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: Clocking in/out hooks?

2009-09-07 Thread Noufal Ibrahim

Bernt Hansen wrote:

Noufal Ibrahim nou...@nibrahim.net.in writes:


Hello everyone,
   I want to tie up a couple of functions when I clock into and out of
a task. In order to do this, the normal way would be some kind of
hook. Is there something in org-mode I can use to achieve this? Is a
hook overkill? I'm willing to write something and submit a patch if
that's the right way to go.

Thanks.


M-x apropos ^org-.*-hook$


Thanks Brent. Looks like I need to upgrade my org-mode.



--
~noufal
http://nibrahim.net.in/


___
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: Org-mode version 6.30d; Hide stars

2009-09-07 Thread Mark Elston

Tassilo,

Yes, I tried it both ways and it works both ways.

Mark

Tassilo Horn wrote:

Mark Elston m_els...@comcast.net writes:

Hi Mark!


That did it!  Your message didn't have Carsten's message attached so I
don't know what was in it, but you appear to be correct.


Another message Carsten forwarded, where fontification problems arose if
some org module was loaded by org's org-modules variable, which didn't
occur if the module in question was loaded explicitly by the user's
.emacs.


I even commented out the last line (require 'org-gnus) and it still
works.


But you tried also with it, right?  So we can say that the fontification
problems only exist if org-gnus was loaded by org's org-modules
variable.  If that's the case, then we've at least narrowed down the
problem to only a few lines of code.

Bye,
Tassilo



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

2009-09-07 Thread Bastien
Hi Greg,

Greg Newman g...@20seven.org writes:

 In light of this topic I've posted my process using mercurial and bitbucket
 from my Mac.  I've added an hourly bash script to my daemons to push to my 
 repo
 every hour.  You can get all the details 
 at http://www.20seven.org/journal/2009
 /09/backing-up-org-mode-files.html

I've added a link to this blog entry at the end of this page:

  http://orgmode.org/worg/org-tutorials/org-vcs.php

Thanks,

-- 
 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] [PATCH] Org-mode version 6.30trans (release_6.30d.19.g1db9); Last character in file not folded correctly

2009-09-07 Thread Bastien
Applied, thanks.

Andreas Burtzlaff and...@gmx.net writes:

 It was indeed org-modes rewrite of outline-end-of-subtree that
 triggered the misbehaviour.

 Here's the patch:

 diff --git a/lisp/org.el b/lisp/org.el
 index 74d7f78..c75f1b9 100644
 --- a/lisp/org.el
 +++ b/lisp/org.el
 @@ -16880,7 +16880,7 @@ If there is no such heading, return nil.
(if (eq major-mode 'org-mode)
(progn
 (org-end-of-subtree nil t)
 -   (backward-char 1))
 +   (if (not (eobp)) (backward-char 1)))
  ad-do-it))
  
  (defun org-forward-same-level (arg optional invisible-ok)

 Andreas


 ___
 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


-- 
 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 get \\ in title or author?

2009-09-07 Thread Bastien
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 I have a small problem when I want to put a double backslash in the list of
 authors, for example.

 #+AUTHOR:Main author \\ Second one

 gets exported in LaTeX as

 \author{Main author \\textbackslash{} Second one}

 What's not the expected result...

 Is this a bug?  Is there a workaround?

The workaround I can think of is to use \linebreak instead of \\.  
\\ really means new paragraph and it doesn't really make sense
in the author or title environment, does it?

HTH,

-- 
 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] - when selecting entries in the agenda view

2009-09-07 Thread Bastien
Hi Carsten and all,

when selecting entries in the agenda view, I find the  prefix a
bit heavy.  I would like to replace it with a simple  .

Objections?  Other suggestions?

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 60cb113..04b5514 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -6559,7 +6559,7 @@ This is a command that has to be installed in `calendar-mode-map'.
   (unless m (error Nothing to mark at point))
   (push m org-agenda-bulk-marked-entries)
   (setq ov (org-make-overlay (point-at-bol) (+ 2 (point-at-bol
-  (org-overlay-display ov 
+  (org-overlay-display ov  
 			   (org-get-todo-face TODO)
 			   'evaporate)
   (org-overlay-put ov 'type 'org-marked-entry-overlay))

-- 
 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] Remove redundant Select link prompt in C-c C-o

2009-09-07 Thread Bastien
Since the minibuffer already prompts the user to select a link 
when C-c C-o triggers a choice, no need to prompt this again in 
the temporary window.

Objections?

diff --git a/lisp/org.el b/lisp/org.el
index b58cacc..39ef466 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -8094,7 +8094,6 @@ there is one, offer it as link number zero.
 	(save-window-excursion
 	  (delete-other-windows)
 	  (with-output-to-temp-buffer *Select Link*
-	(princ Select link\n\n)
 	(mapc (lambda (l)
 		(if (not (string-match org-bracket-link-regexp l))
 			(princ (format [%c]  %s\n (incf cnt)

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

2009-09-07 Thread PT
Daniel Martins danielemc at gmail.com writes:

 Sticky keys takes some getting used to. It makes every modifier key
 work a little like caps lock. Sounds horrible, doesn't it? Well, it's
 not really. Basically, if you press control once, it locks control
 down for the next keystroke only, after which point the keyboard
 returns to normal. Press control twice, and it locks down until you
 release it with a third press.
 C-x C-f
 Used to be: press and hold control. Press and release x. press and
 release f. Release control.
 Now it's Press and release control twice. Press and release x. press
 and release f. Press and release control.

I don't know which implementation you use, but with Windows' built-in 
sticky key setup there is no change compared to the usual order of keys:


press/release ctrl, press/release x, press/release ctrl, press/release f


No need to press and release control twice at the beginning, so it's the
same number of keypresses as the usual method, you only need to pay
attention you release the previous key before pressing the next one.

 This turns out to be easier on my hands because I don't find myself
 contorting my hands across the keyboard while I try to hold down more
 than one key at a time. 

Very true. Two keys should never be pressed with the same hand at the 
same 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