Re: [Orgmode] Re: Showing hidden subtree automatically if point is hidden when the buffer is opened

2009-07-28 Thread Bastien
Bastien b...@gnu.org writes:

 User spamfilteracco...@gmail.com writes:

 I added the timer, because I didn't know in which order the hooks
 are run. If org-mode hook runs first and then saveplace's hook
 which restores point then the above code has no effect.

 saveplace adds the hook at the end of the hooks list, by calling
 add-hook like this:

   (add-hook 'find-file-hook 'save-place-find-file-hook t)
^

 The `t' means put this hook at the end.

 So your org-mode hook will be safely called *before* saveplace's.

Sorry, I mixed up the logic here -- the following hook is okay:

--8---cut here---start-8---
(add-hook 'org-mode-hook
  (lambda ()
(when (outline-invisible-p)
  (save-excursion
(outline-previous-visible-heading 1)
(org-show-subtree
  t)  ;; this makes sure this hook is run last
--8---cut here---end---8---

If you load this *after* loading the saveplace hook then it should 
be okay.  Thanks to Nick Dokos for shaking my brain on 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] Re: Showing hidden subtree automatically if point is hidden when the buffer is opened

2009-07-28 Thread Bastien
User spamfilteracco...@gmail.com writes:

 Bastien bastienguerry at googlemail.com writes:
 
 If you load this *after* loading the saveplace hook then it should 
 be okay.  Thanks to Nick Dokos for shaking my brain on this :)

 Well, wasn't my original solution with the null timer much nicer?
 You didn't have to worry about making sure you put org-mode hook
 last and that it loads after saveplace hook.

Yes, but it's not straightforward to understand.  

To me, running a task when Emacs is idle for 0 seconds is very similar
to run immediately - that's why I didn't understand why you'd put this
first.

Why not checking if this run-with-idle-timer trick is necessary?  My
understanding is that org-mode hooks will be called *after* saveplace
restores the point.

(I just want to avoid unnecessary tricks for people who use Worg as a
place to learn things.)

 I tend to favor solutions which avoid such potential problems. :)

If it ain't broken, don't fix it ;)

-- 
 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: Automatic indentation of org tree

2009-07-28 Thread Bastien
User spamfilteracco...@gmail.com writes:

 Bastien bastienguerry at googlemail.com writes:
 
 I tested your code but there are several problems: it is not usable on
 big files, 

 The size of the file shouldn't matter, since only lines in the
 current window are indented. Probably, some trivial bug remained
 in it which my tests didn't cover.

Okay.

 and even on small files the auto-indentation is confusing.
 For example, stars get indented while there should not.  

 It's a matter of taste. I didn't find it confusing. But it's
 trivial to change it to avoid indenting header lines.

Confusing was a polite version of buggy :)  

 I guess this is still work-in-progress -- hope you'll find ways
 to fix the problems above!

 It's a proof-of-concept package, but I think the underlining
 concept is solid. If someone motivated spends a little time on it
 then I'm sure the problems can be ironed out quickly.

As you already guessed, I try to make *you* spend a little more time on
it :)  Because I think the idea is nice and the code can be useful.

-- 
 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 I use org: writeup

2009-07-28 Thread Bastien
Raffi R raf...@gmail.com writes:

 I've written a 1K-word intro on how I use org (for outlining and
 planning). Is there somewhere on Worg things like that go? 

I think a page with your name in the users/ directory would do it.  

If it's more of a tutorial, maybe org-tutorials/ can be the right 
place instead.  

If it covers some GTD methodoly aspects, you can create a link in
org-gtd-etc.org.

 The testimonies page is quite short; only a paragraph long or so for
 each testimony.

Yes - it's more a page for short testimonies.  Users' full use cases
would rather go to users/you.org.

Thanks for contributing!

-- 
 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] suggestion for a fix to org-clock-in

2009-07-28 Thread Bastien
Nicolas Goaziou n.goaz...@neuf.fr writes:

 For some time zone reason, my time-stamps look like this [2009-07-28
 mar.]. Notice the dot after the name of the day.

It's because Emacs recently changed the format for abbreviated days.  
If you could track when this change appeared, that'd be nice.

 This prevents the regexp inside org-clock-in to recognize it as a valid
 clock format as thus to resume any started clock.

 I suggest the following simple patch.

Applied, 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] Re: suggestion for a fix to org-clock-in

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

 Isn't it simply the way it always has been for French abbreviations of
 weekdays?

I might be wrong but I don't think so.  

I even remember I found this weird to have this dot after the
abbreviation - I thought: Gee, this will break things in Org.
I looked for broken functions and couldn't find some.  

I'm nearly glad someone found one :)

-- 
 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: Error while: Stack overflow in regexp matcher

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

 Can I give this thread a bump?  I still have the problem with not being able
 to share my `.emacs' file, and get to the last publishing step.

Can you send me your .emacs file off-list?

I will try to export this tonight or tomorrow.

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] tea-time?

2009-07-29 Thread Bastien
Hi Samuel,

Samuel Wales samolog...@gmail.com writes:

 On 2009-07-26, Bastien bastiengue...@googlemail.com wrote:
 This thread started because it was claimed that tea-time was
 integrated into org.

 (Just for the record, this statement came from emacswiki, not from the
 list...  it's hard to keep on eye on emacswiki for such statements!)

 It also seems to be in your commit at:
 http://repo.or.cz/w/Worg.git?a=commitdiff;h=35321eebecca824964c01dd5013b0f19dd646b24

Well, this was the patch I created after the original question about
tea-time on the mailing list...

 I have implemented this tea-time functionality in latest Org.  Now you
 can call `org-timer-set-timer' from Org buffers with `C-c C-x ;' and
 from Org Agendas with `;'.  You will be prompted for a number of minutes
 and you will get a notification about the current headline after this
 number of minutes.  You can set up to three timers.  Please test.

 A remember interface and a horizontal-space-conserving mode line
 countdown would work well here, allowing you to not be in org mode and
 showing you how many minutes remain.

Agreed.  But I won't have time to code this this week.

 I tried it and was not reminded.  Does it rely on an external command?

See the function `org-show-notification' and the option
`org-show-notification-handler'. 

What is the output of 

  (org-show-notification Bump!)

?

-- 
 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] shifting table cells

2009-07-29 Thread Bastien
Kevin Brubeck Unhammer p.ixiemot...@gmail.com writes:

 2009/4/2 Mike Newman m...@newmanfamily.me.uk:
 kill-rectangle (C-x r k) and yank-rectangle (C-x r y) can be very
 useful for this sort of thing.

 That's what I've been using... although it's quite tedious.

 On Tue, 31 Mar 2009 15:35:03 +0100
 n...@aleblanc.cotse.net wrote:

 Hi,
    is there any way to shift cells up/down within a column while
 leaving remaining columns intact. If not could someone point me in
 the right direction to any org-functions I could use to help me
 implement this?

 Did you ever implement this? I've been wanting this function for a
 while...

Sorry I can't help here. 

-- 
 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] tea-time?

2009-07-29 Thread Bastien
Samuel Wales samolog...@gmail.com writes:

 Perhaps appt can be added to the fallbacks?

Nope.  org-show-notification is called by a timer, so adding a timer to
a timer would be confusing IMO.

-- 
 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] tea-time?

2009-07-29 Thread Bastien
Hi Samuel,

Samuel Wales samolog...@gmail.com writes:

 I tried it and was not reminded.  Does it rely on an external command?

Please provide more information on how you tried it.

From the buffer?  From the agenda?  What is the value of
org-show-notification-handler?

-- 
 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] tea-time?

2009-07-29 Thread Bastien
Hi Nick,

Nick Dokos nicholas.do...@hp.com writes:

 If you like how your appointments are shown, you can use the appt display
 mechanism, by setting org-show-notification-handler to something like this:

 (defun my-org-show-notification-handler (notification)
   (funcall appt-disp-window-function 0 (current-time-string) notification))

 (setq org-show-notification-handler (function 
 my-org-show-notification-handler))

Nice -- could you post this on Worg?

I have very little time myself for this right now...

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] tea-time?

2009-07-29 Thread Bastien
Samuel Wales samolog...@gmail.com writes:

 It works now.  I pulled in the interim, but I don't know if that's the
 reason.  I tried it twice, so I don't think I missed the notification.

 However, the notification is in the minibuffer / echo area, and can
 easily be unnoticed if you are typing, as it goes away immediately.

 These are just brainstorm ideas, but appt pops up a window for a
 configurable number of seconds and raises the frame.

 The mode line can show the number of minutes overdue.

 type-break.el uses persistent minibuffer text and lets you control
 whether you continue to be reminded.

 Raising the frame is important, but beyond that I am not sure which is best.

 As for sound, I have disabled all emacs sound, but this would be the
 one thing that would be good to have it enabled for; not sure how to
 enable it just for this pupose.  Perhaps org could use let or flet at
 notification time if a variable is non-nil.

Thanks for these ideas.  

I'm busy the next following days, I will work back on this on sunday.

-- 
 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] LaTeX export bug

2009-07-30 Thread Bastien
Dan Griswold dgris...@rochester.rr.com writes:

 Hi there,

 Well, I think this a bug.

I can also reproduce this, I will fix it by sunday.

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] Column mode a whole file

2009-07-30 Thread Bastien
Sebastian Rose sebastian_r...@gmx.de writes:

 Column view by default only shows a single subtree. In order to do column
 mode over an entire buffer, you have to have text before the first headline,
 and go there.

I would guess that having text before the first headline is quite a
common pattern.  Adding one is not that much work either.  Does this 
requirement is okay for you?  

 An empty line is enough.

As well, yes.

-- 
 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] Sparse Trees layout

2009-07-30 Thread Bastien
Cian OConnor cian.ocon...@gmail.com writes:

 Now if I go to level 3 and create a sparse tree I get this:
 * level 3
   * level 4

 Which is fine and usable, but it would be nice to have the option to
 have the following instead:

 * level 3
   * level 4

Why would you want to have this?  

I find this a bit confusing...

-- 
 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] C-M-a, C-M-e

2009-07-30 Thread Bastien
Jeremie Knuesel knue...@gmail.com writes:

 A keybinding suggestion: wouldn't it make sense to have C-M-a (C-M-e) go to 
 the
 first (last) line of a top-level heading?

Here are the functions:

--8---cut here---start-8---
(defun org-back-to-top-level-heading ()
  Go back to the top-level heading.
  (interactive)
  (if (re-search-backward ^\\*  nil t)
  (goto-char (match-beginning 0))
(message No previous top-level heading)))

(defun org-next-top-level-heading ()
  Go to the next top-level heading.
  (interactive)
  (if (re-search-forward ^\\*  nil t)
  (goto-char (match-beginning 0))
(message No next top-level heading)))
--8---cut here---end---8---

Not sure they deserve keybindings though.  

-- 
 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] Cycling when there is no subtree

2009-07-30 Thread Bastien
User spamfilteracco...@gmail.com writes:

 I noticed if a header has only some text under it and no
 subheaders the TAB cycling still goes over the FOLDED - CHILDREN
 - SUBTREE cycle, though the last two states are effectively the
 same in that case and nothing happens when TAB is pressed in
 CHILDREN state.

 Wouldn't it be better if in this case only the FOLDED - CHILDREN
 states were cycled?

 This way I could open such a header with TAB and close it again
 with an other TAB press. Now I have to press TAB 3 times to do it,
 which is annoying. Org could be smarter than that.

Yes.  I added this feature.

I first had concerns that breaking the tree-steps habit might be
dangerous, but finally I don't think it is.

Also note that we might want to update the behavior of the global
cycling: when the CONTENTS view displays the same things than the
OVERVIEW view, we should perhaps directly switch to SHOW ALL.  

I'll Carsten sort this out -- and possibly revert the change I just 
made, if he disagrees!

Thanks for this idea,

-- 
 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] possible URI handling bug: verification and reporting?

2009-07-30 Thread Bastien
Tom Roche tom_ro...@pobox.com writes:

 http://dx.doi.org/10.1016/S1352-2310(01)00429-0

 0 When I paste the link from my browser into an org-mode buffer, only
   the part before the first '('

 http://dx.doi.org/10.1016/S1352-2310

   is fontified.

Fixed, 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] Re: possible URI handling bug: verification and reporting?

2009-07-30 Thread Bastien
Bernt Hansen be...@norang.ca writes:

 I think the parenthesis should be URL encoded to be a valid URL.

 Change ( to %28 and ) to %29 and you get 

 http://dx.doi.org/10.1016/S1352-2310%2801%2900429-0

 which works for me (at least it doesn't 404 anymore)

 Gnus also stops the fontification at the ( so I don't think this is
 org-mode specific.

Org-mode explicitely excluded parentheses from `org-plain-link-re' so
yes, it was org-mode specific.  And (browse-url-url-at-point) was not
confused either by parentheses, so org-mode needed to be fixed (and
perhaps Gnus needs too!)

best,

-- 
 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 publish to html only the visible part?

2009-07-31 Thread Bastien
CrazyVibes crazyvi...@gmail.com writes:

 Exporting allows only the visible part to be exported to HTML, I
 wonder if there is an option in publishing that only publish the
 visible part for all files in a project?

Not yet.

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

2009-08-01 Thread Bastien
Thanks Carsten for the nice words and welcome back!

I will be off starting from monday till August, 17th.
Expect to meet me back on this list soon enough, as it
was really a pleasure to have all these discussions.

As a temporary bye bye gift, here is a link I just 
stumbled upon, starring our Unicorn...

http://wildammo.com/2009/07/27/unusual-paintings-of-obama-naked-with-unicorns/

Peace to all, see you soon!

-- 
 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: Faces in agenda view

2009-08-02 Thread Bastien
Rainer Stengele rainer.steng...@diplan.de writes:

 Bastien schrieb:
 Paul Mead paul.d.m...@gmail.com writes:
 
 Can anyone give me a quick and easy way of changing this without
 breaking something else?
 
 Go to the face you want to change and hit M-x customize-face RET
 

 is it possible to change the font of the currently clocked in agenda
 item?

I don't think so, would be nice indeed.

-- 
 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] Fix Not on a heading error when setting priority inside a task

2009-08-02 Thread Bastien
Bernt Hansen be...@norang.ca writes:

 Changing the priority of a task when the point is after the heading
 (anywhere inside the task) worked but aligning the tags failed with
 a not on a heading error due to the save-excursion not including
 the tag alignment.  This change moves back to the heading and
 includes that during tag alignment to remove the error text.
 ---
 This patch is available at git://git.norang.ca/org-mode.git
 for-carsten

Applied, 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] Narrow tSparse Trees layout

2009-08-02 Thread Bastien
Hi Cian,

Cian OConnor cian.ocon...@gmail.com writes:

 It would be nice if there was an option so that narrowed trees are
 displayed without their normal indentation. So for example if narrow a
 subtree at level 4, then it is displayed as a normal tree at level 1
 rather than as a tree starting at level 4 as currently happens. 

I still would find such a display a bit confusing.

 Its just that when drafting papers I tend to have lots and lots of
 indentation in early drafts, and while narrowing trees is a godsend, the
 unnecessary (for my purposes) indentation is slightly annoying.

If the purpose of such a temporary display is to make the export render
the structure of the narrowed buffer as if it was a top-level subtree,
then I agree this is useful.  You can already achieve this by selecting
the whole narrowed subtree (with transient-mark-mode on) and exporting
the region.

But maybe a narrowed tree should be considered as a selected region by
default...  

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

2009-08-02 Thread Bastien
Hi all,

now I'm off for real till the end of August.   I couldn't handle 
some issues on time for today, but I know they will be sorted out.
Also, I allowed myself to add a Make a donation button on my Org
page - I'll remove this when I get enough $ for a new computer:

  http://lumiere.ens.fr/~guerry/bastien-org-mode.php

Have fun!

-- 
 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] suggestion: native orgmode XML export (and import?)

2009-08-07 Thread Bastien
Ilya Shlyakhter ilya_...@alum.mit.edu writes:

 That's great, thanks!  I should be able to take it from there.
 It would be great if at some point this became official, and also
 included an XML exporter and specification.

FYI, I'll upload a slightly improved version of org-export.el next week,
together with documentation on how to write an exporter.  But the basic
structure of the parsed buffer is the same, you can use it safely.

In the meantime, it would be useful to describe what kind of XML output
do you want, because XML does not really describe anything per se.

Best,

-- 
 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: org-link-mode ...

2009-08-08 Thread Bastien
Hi Lennart,

(I'm copying the Orgmode mailing list because it helps to get people's
opinion on such ideas...)

Lennart Borgman lennart.borg...@gmail.com writes:

 I am missing the minor mode org-link-mode. I just had a look at
 linkd.el again and decided I wanted to ask you to make a minor mode
 out of the link handling in org instead.

Org already lets you create links from nearly anywhere in Emacs. 

What would such a minor mode do?

 I have a minor mode which I call mlink-mode for link handling. The
 main purpose of that at the moment is creating links in html files and
 for making links out of variables in elisp file so that you quickly
 can jump to definitions. 

`org-store-link' can handle HTML and elisp files okay.

 However there is no insert link. That is
 what I am looking for and then it looks to me like what I want is
 already there in org-mode, but...

You can of course insert links in Org-mode files.  Is your idea about
inserting links outside of Org-mode files?  Can you give an example?

 The purpose of mlinks.el was to try to unifiy links in some way so I
 will probably try to unify it with org links if you break it out.

I think I need more background on what are the main features of
linkd.el and mlinks.el -- and what are the ones you miss in Org...  

Thanks for further clarifications :)

-- 
 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: org-link-mode ...

2009-08-18 Thread Bastien
Eric Schulte schulte.e...@gmail.com writes:

 Not sure if this is apropos to this conversation, but I've been thinking
 for some time that it would be useful to have a minor mode which would
 activate org-style links in non-org files.  For example if an org link
 in the comment section of a source-code document could be highlighted
 and activated so that the C-c C-o keybinding can be used to follow said
 link. -- Eric

Now I understand.  Maybe someone can grab some code from Org and try to
write a minimal implementation of 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] Customizing LaTeX export (Org Format Latex Header)

2009-08-18 Thread Bastien
Charles Howard terminalbeach...@googlemail.com writes:

 Hi. I'm still failing to understand how to customize latex export.

I think you are looking for `org-export-latex-classes'.

 This already seems strange because when I go to org-customize in emacs
 what I see in Org Format Latex Header, in lisp is

`org-format-latex-header' is for processing LaTeX fragments, that's why
it's in org.el rather than in org-latex.el.   For LaTeX export options,
better check the Org LaTeX group in customize:

M-x customize-group RET org-latex RET

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


Re: [Orgmode] odt2org

2009-08-18 Thread Bastien
José María García Pérez josemaria.alk...@gmail.com writes:

 Please don't blame since I am not a developer (I did what I could). I have not
 tested it much (I did it on windows, not in linux).

 The link for the software:
 http://mantiel.wikidot.com/os:odt2org

Hey, that looks great.  I wanted to test it under GNU/Linux (debian) but
the installation of the lxml library is not straightforward:

  http://codespeak.net/lxml/installation.html

Did anyone successfully installed/tested José converter under GNU/Linux?

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] Viewing org Files on Your Phone

2009-08-18 Thread Bastien
Hi Ian,

this is interesting.  I think Worg should have a page for documenting
anything about Org-on-mobile, as this has been discussed in many ways
over the last couple of years.  

Would you like to start feeding such a page?

If yes, either send me your username on repo.or.cz or send a .org draft
for such a page, worgers will then take care of improving it.

Thanks!

Ian Barton li...@manor-farm.org writes:

 I know this has been discussed on the list before, but I recently
 discovered another way to do this. Many moons ago, back in my days of
 using Palm Pilots, I used iSilo to read documents on my Palm.

 It appears that iSilo is now available for most mobile phone platforms
 (http://www.isilo.com). There is a command line converter (iSiloX) for
 turning html and text into iSilo documents.

 I have just tried it out on the html version of my org files and it
 seems to work very well.

 Ian.

-- 
 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] Use remember to file an item to a list

2009-08-19 Thread Bastien
Hi Leo,

Leo sdl@gmail.com writes:

 I want to use a special org file to collect quotes. The file is special
 in that it contains only a plain list. I want to use remember to quickly
 file a quote to it but it seems this is not yet possible to do in
 orgmode. I wonder if this feature is useful to have?

For this I would have two files: the one with usual headlines, where 
you can remember your quotes, and another one where those headings 
are converted to list items.  It shouldn't be hard to automate.

Otherwise I don't understand how remembering a plain list would work,
since remembering heavily relies on the target structure.

-- 
 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] missing :END: error message is not very helpful (patch)

2009-08-19 Thread Bastien
Friedrich Delgado Friedrichs frie...@nomaden.org writes:

 I had a missing :END: line in a long file due to some editing screwups
 and the (error :END: line missing)) wasn't too helpful.

 I propose the following patch:

Applied, 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] Re: Error while: Stack overflow in regexp matcher

2009-08-20 Thread Bastien
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Can I give this thread a bump?  I still have the problem with not being able
 to share my `.emacs' file, and get to the last publishing step.

 So, exactly the same problem when the file gets longer...

 Any news about the HTMLize problem with long files?

Sorry no - some unexpected job constraints make me travel again, I
have to prepare this.  Maybe someone else can take this challenge?

Best,

-- 
 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] Feature idea: Automatic clocking

2009-08-23 Thread Bastien
Here is another approach to this auto-clocking question.

Maybe what you really want to track is not how much time you spend on a
specific task but rather how you distribute your time over the tasks.

In this case, you don't need to explicitely clock in and out.  You can
act as if a clock was always running¹ and then you register any action
you take on your Org file.  Working on this X task would just be an
action among others like switching task X from TODO state to NEXT,
closing task X, Archiving task X, Moving task X under Tree T, 
etc.

Thus, instead of automating the aggregation of clocked-in tasks, you
consider yourself always clocked in and you automate the logging of
stuff you do (from which you can extract clock information later.)

I guess this idea come closer to what Samuel had in mind when he talked
about profiling.

¹ Actually, astronomers from this list could tell us that the universe
  is such a running clock in itself :)

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

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

  But when link address includes `_' , `_' is always thought of as a
 math mode in latex.

I cannot reproduce this - can you give an example?

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

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

 copy below in an org file:
  http://swift.siphos.be/linux_sea/

Works fine here.  I get this:

  \href{http://swift.siphos.be/linux_sea/}{http://swift.siphos.be/linux\_sea/}

Please provide more information:
  http://orgmode.org/org.html#Feedback

-- 
 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] C-e skips incrementally to end of a long line

2009-08-23 Thread Bastien
Alan E. Davis lngn...@gmail.com writes:

 Some time ago, I learned about a *feature* to allow C to go forward to the end
 of the line BEFORE the tags, and similarly to enable that C-a in a headline
 would only proceed to the beginning of the headline text, and not to the
 absolute line beginning.

 For a while, I have been suffering what appears to be a corollary of this: C-e
 on any long line (possibly longer than a fill-column distance) skips by
 increment of approximately a fill-column length, and C-e must be repeated
 several times on a long line to get to the end. 

 This is somewhat annoying when using org-remember via org-protocol or
 org-annotation-helper, that only yank text paragraphs as a long line.  I see 
 no
 rhyme or reason to the pattern of the skips.

 Is this a bug in my setup?

No.  Try this in your .emacs.el :

(setq line-move-visual nil)

PS: this variable is on by default in Emacs 23, which annoys many users.

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

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

 I mean when I export to html the `sea' become subscript.

I cannot reproduce this.

Your first email didn't mention that you wanted to export to HTML, 
and it mentioned the LaTeX math mode...

-- 
 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] can't see emphasized text in org

2009-08-23 Thread Bastien
Nick Dokos nicholas.do...@hp.com writes:

 *Why* it falls back to underlining is probably a question
 that should be addressed to the emacs developers, but it looks like
 a bug to me (hence copied to the emacs bugs list - version info
 appended[2])

Wow, thanks for tracking this down!

I'm not sure I would consider the fallback on underline a bug.
As I understand it, the italic face is equivalent to the LaTeX
emphasize -- which means that the font has to be more readable
in any fashion, either by slanting the text or by underlining it.

This is an incorrect use of italic but I guess fixing this would 
break things backward.

Thanks again for the helpful information,

-- 
 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] Gnus link bug

2009-08-23 Thread Bastien
Hi Leo,

Leo sdl@gmail.com writes:

 I haven't used org to store links from Gnus for almost two years and
 today I tried it again and found at least one annoying bug.

 In the summary buffer, calling org-store-link will display the article
 buffer which is uncalled for. It also causes visual disturbance as well
 as asks Gnus to download the article while all the information required
 is already available.

Should be fixed now in git, please try it.

 Possible solution (not real patch):

 In Gnus summary buffer the header of each article is already downloaded
 and can be obtained by (gnus-summary-article-header). To get the mid,
 use (mail-header-id (gnus-summary-article-header)).

I followed your suggestion, but only for when we are in the summary
buffer, as I found out that the output of `gnus-summary-article-header'
in the article buffer is not very reliable.

 Could Carsten or Tassilo use that in org-gnus? Thank you.

Please Gnus army test it!

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


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


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] 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] [PATCH] org-notify - treat notification as a variable not a function

2009-08-26 Thread Bastien
Bernt Hansen be...@norang.ca writes:

 notification is passed to org-show-notification and should not be
 invoked as a function.

Applied, thanks!  (and sorry for the silly mistake.)

-- 
 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-26 Thread Bastien
Carsten Dominik domi...@uva.nl writes:

 1. n/p remain as they where
 2. Moving forward/backward though time will be `f' and `b'
 3. Follow mode goes to the F key, a capital letter does
make sense here given that some other modes like [G]rid
and clock[R]eport and [D]iary are on capitals as well.
 4. `org-agenda-tree-to-indirect-buffer' is already on
`C-c C-x b' which is the same key as in a normal Org
buffer.  Therefore, I think we do not need to find a
replacement for the `b' binding.

Fine!

 5. The cursor keys left and right are remapped to a
function that does nothing, except showing a message
that you should now use f/b to move through time.

Why not letting the left and right keys doing their usual
job of C-b and C-f?  We can still display the message...

 We could have an option to allow users to get the time
 motion or cursor motion on left/right, if there was enough
 support/need for this.  I do not think that this is strictly
 necessary, because every user can of course rebind keys
 in any way she likes.  

Yes.  I would spare the option.

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

2009-08-28 Thread Bastien
Hi Leo,

Leo sdl@gmail.com writes:

 Could you install that in org.git?

Carsten already took care of this:

http://repo.or.cz/w/org-mode.git?a=commit;h=babb63a27fbd5c050670753c908d543b4f5d5978

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] Re: Can't export to LaTeX/PDF.

2009-08-30 Thread Bastien
Mueen Nawaz mu...@nawaz.org writes:

 On 08/30/09 15:33, Bernt Hansen wrote:
 I can confirm this.  It seems the latest version requires at least one
 headline while 6.29a did not.

   Yep - that solved it.

   Would that be a bug or a requirement?

Definitely a bug.

I've just pushed a fix for this in the git repo.

-- 
 Bastien, from Tahiti


___
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-agenda-file-to-front (unbalanced parentheses))))

2009-09-04 Thread Bastien
Hi Jai,

I cannot reproduce this error.  Please send a more detailed backtrace by
following the instructions here:

  http://orgmode.org/manual/Feedback.html

Thanks,

Jai Jeffryes jaijeff...@hotmail.com writes:

 I get a scan error when I try to add my current ORG file to the list of agenda
 files.
  
 I'm using Emacs 23.1.1 on Windows, so it has the Org mode built in.
  
 I create a new .ORG file, add some text, and save it.
  
 Then I type C-c [
  
 and I get this error.
  
 Scan error: Unbalanced parentheses, 17495, 29440
  
 Any ideas?
  
 The same thing happens if I use the menu:
  
 Org -- File list for agenda -- Add/Move current file to front of list
  
 Or the full command: org-agenda-file-to-front
  
 I tried running the debugger, but that part of Emacs I've never learned. I
 haven't done my own Lisp programming. I'd provide some more info if someone
 wanted to prompt me on the next thing to try!
  
 Jai Jeffryes
 NYC

 ━━━
 Windows Live: Keep your friends up to date with what you do online. Find out
 more.

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

-- 
 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] Easier customization of TODO keyword colors

2009-09-04 Thread Bastien
Ryan C. Thompson r...@thompsonclan.org writes:

 Here is some code I came up with some code to make it easier to
 customize the colors of various TODO keywords. As long as you just want
 a different color and nothing else, you can customize the variable
 org-todo-keyword-faces and use just a string color (i.e. a string of the
 color name) as the face, and then org-get-todo-face will convert the
 color to a face, inheriting everything else from the standard org-todo
 face.

Interesting - would you like to add this in org-hacks?

  http://orgmode.org/worg/org-hacks.php

If so, please send me your username on repo.or.cz (if you are not
already a Worger...)

Thank!

 To demonstrate, I currently have org-todo-keyword-faces set to
 ((IN PROGRESS . dark orange)
  (WAITING . red4)
  (CANCELED . saddle brown))

 Here's the code, in a form you can put in your .emacs.

 (eval-after-load 'org-faces
   '(progn
  (defcustom org-todo-keyword-faces nil
Faces for specific TODO keywords.
 This is a list of cons cells, with TODO keywords in the car and
 faces in the cdr.  The face can be a symbol, a color, or a
 property list of attributes, like (:foreground \blue\ :weight
 bold :underline t).
:group 'org-faces
:group 'org-todo
:type '(repeat
(cons
 (string :tag Keyword)
 (choice color (sexp :tag Face)))

 (eval-after-load 'org
   '(progn
  (defun org-get-todo-face-from-color (color)
Returns a specification for a face that inherits from org-todo
   face and has the given color as foreground. Returns nil if
   color is nil.
(when color
  `(:inherit org-warning :foreground ,color)))

  (defun org-get-todo-face (kwd)
Get the right face for a TODO keyword KWD.
 If KWD is a number, get the corresponding match group.
(if (numberp kwd) (setq kwd (match-string kwd)))
(or (let ((face (cdr (assoc kwd org-todo-keyword-faces
  (if (stringp face)
  (org-get-todo-face-from-color face)
face))
(and (member kwd org-done-keywords) 'org-done)
'org-todo


 ___
 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] org-agenda-file-to-front (unbalanced parentheses))))

2009-09-05 Thread Bastien
Hi Jai,

Jai Jeffryes jaijeff...@hotmail.com writes:

 Thanks for looking at my message. So, here's what I came up with by following
 the instructions on the Feedback page you suggested.

Thanks!

 1. Emacs version: GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-29 on
 SOFT-MJASON
 2. Org version (it came with my Emacs install, I didn't do a separate
 installation of the mode):
 Org-mode version 6.21b
 3. (Even though I'm writing to this email list, I was curious to try the
 command M-x org-submit-bug-report. That command is not defined in my Emacs.)
 4. Here are the org-related commands in my init file. I found out how to set 
 up
 my agenda files there instead of relying on the command that I'm demonstrating
 now.

 ;; Org mode
 (require 'org)
 (add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
 (define-key global-map \C-cl 'org-store-link)
 (define-key global-map \C-ca 'org-agenda)
 (setq org-log-done t)
 (setq org-todo-keywords '(TODO WAITING DONE))
 (setq org-agenda-include-diary t)   
 (setq org-agenda-include-all-todo t)   
 (setq org-agenda-files (file-expand-wildcards J:/MyDocuments/GTD/org/*.org))

Try to comment out the line above and use the custom interface to set
your agenda files.  See if the error persists.

 4. Creating a backtrace. The command C-u M-x org-reload RET does not exist on
 my Emacs.
 5. I turned on the option to enter the debugger.
 6. I visited a new file called sample.org. I didn't put it in the directory
 specified for agenda files in my init file (listed above). I wanted to add it
 interactively for this demo.
 7. I saved that file.
 8. I selected from the menu: Org -- File List for Agenda -- Add/Move Current
 File to Front of List
 9. Here is the output from the *Backtrace* buffer.

 Debugger entered--Lisp error: (scan-error Unbalanced parentheses 17301 
 29246)
   scan-sexps(83 29245)
   forward-sexp(29245)
   custom-save-delete(custom-set-variables)
   custom-save-variables()
   custom-save-all()
   customize-save-variable(org-agenda-files (j:/MyDocuments/GTD/sample.org 
 j:
 /MyDocuments/GTD/org/GTDSteelWig.org j:/MyDocuments/GTD/org/
 SteelWigSomeday.org))
   org-store-new-agenda-file-list((j:/MyDocuments/GTD/sample.org j:/
 MyDocuments/GTD/org/GTDSteelWig.org j:/MyDocuments/GTD/org/
 SteelWigSomeday.org))
   org-agenda-file-to-front(nil)
   call-interactively(org-agenda-file-to-front nil nil)

 I don't know Lisp, but I can count parentheses (or use Emacs to tell me what
 they match up with by backspacing over a right one and filling it back in
 again.) I don't see unbalanced parentheses in that output. 

Maybe the unbalanced parentheses are in the custom-file, not in the
output.  Is your custom-file eval'ing correctly?

Dynamically adding or removing files from the org-agenda-files variable
stores this variable in the custom file, even if you are setting this
variable outside the custom file.  So, if you use C-c [ frequently, you
shouldn't set org-agenda-files outside of the custom-file.

Maybe the documentation should warn the user about this problem.  I
don't see any simple solution...

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


Re: [Orgmode] - when selecting entries in the agenda view

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

 please go ahead an apply this patch.

Done!

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

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

 OK to this change as well.

Done as well.

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

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

 #+TITLE: Main title \linebreak Subtitle
 #+AUTHOR:Main author \linebreak Second one

 DOES WORK. Thanks for your precious help!

 I'm not sure to understand the subtle differences between `\\', `\newline' and
 `\linebreak', though...

Me neither :)

I've found this, which might help:

  http://www.personal.ceu.hu/tex/breaking.htm

Maybe \linebreak is less context-sensitive than \newline, which would
mean that there are more contexts (like \title and \author) in which 
it behaves as expected.  Just a guess.

-- 
 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] iPhone app for Org view and capture

2009-09-08 Thread Bastien
Richard Moreland r...@ncogni.to writes:

 Here is a teaser video of the app running in the simulator:
 http://ncogni.to/ mobileorg-demo1.mov

WOW... Great work!

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

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

 Maybe \linebreak is less context-sensitive than \newline, which would mean
 that there are more contexts (like \title and \author) in which it behaves
 as expected. Just a guess.

 I've asked the question on FCTT (fr.comp.text.tex) and already got an answer
 of Maneul Pegourie-Gonnard (who is expert on that matter):

 http://groups.google.fr/group/fr.comp.text.tex/browse_thread/thread/1b1af2e5291270e2#

 Sorry (for the others), it's in French.

Merci!   Here is a summary:

- none of \\ \linebreak or \newline change a paragraph, they just start
  a new line

- with \linebreak, LaTeX tries to justify the resulting text, not with
  \newline

- \linebreak can take an argument to let LaTeX decides whether the line
  should be broken or not.  The default \linebreak always triggers a
  break, but \linebreak[2] will let LaTeX decides depending on whether
  the result is acceptable or not, and \linebreak[0] prevents any line
  break...

- \\ can take two arguments: one star and one digit.  The star prevents
  the line break to trigger a page break, and the digit lets you add a
  vertical space between the two lines.

  In environments like \flushleft \flushright \centering \raggedleft
  \raggedright, \\ doesn't have its normal definition (whereas \newline
  behaves normally).

- \newline is the version of \\ with no argument

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


Re: [Orgmode] Re: How to get \\ in title or author?

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

 For sure, it'd be better if `\\' wasn't converted at all when exporting to
 LaTeX (for the ones in the TITLE and AUTHOR meta-tags, at least).

But how do you insert a backlash in the resulting div/ps/pdf then?  
My expectation was that converting \\ into \textbackslash was more
common than inserting linebreaks in title (of which I didn't think 
in fact...)

-- 
 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] ignoring non-existent agenda files

2009-09-09 Thread Bastien
Daniel Clemente n142...@gmail.com writes:

 Hi, I recently got this message after starting Emacs daemon:

  non-existent file ~/some/repo/index.org.. [R]emove from list or [A]bort?

 1. It wasn't clear to me who issued this message; I thought it would
 be recentf or tramp rather than org-mode. Maybe the message could give
 some hint about the agenda: „non-existent agenda file …“

I've made this change.

 2. This question prevented emacs --daemon from starting
 non-interactively; that's not nice. I think this minor question
 shouldn't block emacs' startup. Maybe via (3.)

 3. I don't mind if an agenda file doesn't exist. I have a different
 set of .org files in each computer, and my org-agenda-files is a
 superset of all. I would prefer a preference to request all
 non-existing agenda files to be ignored.

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

2009-09-09 Thread Bastien
Nick Dokos nicholas.do...@hp.com writes:

 The org-latex translation is no problem, but the resulting latex file
 does not give me a two-line authorship, either through pdflatex (tested
 with xpdf) or through latex-dvi (tested with xdvi) and then through
 dvi-ps (tested with gv).

Yes, \newline and \linebreak work in \title (with different outputs) but
not in \author.   \\ works in \author.

-- 
 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] Org-mode Mercurial mirror on Bitbucket

2009-09-15 Thread Bastien
Greg Newman g...@20seven.org writes:

 I've had my friends over at Bitbucket.org create a org-mode mirror of the
 git repo for me (and anyone who prefers Mercurial) to pull from.This repo is
 updated every hour against the git repository.

 http://bitbucket.org/mirror/org-mode/

I think it is useful.  Perhaps people using this repo should be advised
to create patches preferrably against the git repo?  At least a link to
the official repo would be nice.

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] Documentation wishlist items

2009-09-16 Thread Bastien
Hi Ethan,

Ethan ethan.glasser.c...@gmail.com writes:

 I've been studying org-mode for a few months now, and I think I'm finally
 getting the hang of it. It's really overwhelming, and I really appreciate the
 efforts that must have gone into the manual and the worg project. But I think
 it still needs work.

needs is the wrong word here.  might enjoy would be better.  Because
Org comes with no warranty or customer service or whatsoever :)

 In my opinion, the documentation doesn't explore the interactions well
 enough, it doesn't present the tools in an order that is conducive to
 learning, and it never explains why you might choose one option of
 tool instead of another.

The manual is a reference.  It's here so that people can refer to it
when they write tutorials or when they send answers to the mailing list.

This is not to say that the manual is perfect, but as you guess, Carsten
has been incrementally working on it -- suggestions which incrementally
improve it will enjoy a warmer welcome than incentives to rewrite it...
(= patch welcome!)

On top of that, exploring the interactions between all Org concepts is
beyond the goals of the manual and that's why Worg exists as a community
project.

 Another good example is TODO keywords, categories, and tags. It isn't clear
 what they all are, or why they are distinct, or what the differences are, and
 it's easy to confuse them with similarly-named but completely distinct 
 concepts
 like properties.

The manual might enjoy a glossary.  ;)

I have created org-glossary.org on Worg, please check it out and add
your own definitions: http://repo.or.cz/w/Worg.git

 In other words, to really understand the manual, you have to read it twice --
 once to hear about all the concepts, and once more to see how they
 relate. 

The other way is to start using Org very spontaneously and just fetch
documentation when you feel the need of it.  This is how I do and it
works well enough.

 I feel like it would have been a lot easier for me to
 start using it if I had started with a tutorial that explained a single
 workflow and how org-mode supported it

Your next contribution?

 I wish I could offer more concrete improvements in the form of patches and so
 on! Maybe as I learn more about org-mode I can do this too, but I wanted to
 offer this criticism while it was still fresh in my mind.

:)  I guess the other way around is also useful: share the criticism
when the fresh impression vanished, and the core of it remains.

 Thanks for everything!

Thanks for sharing your thoughts, I'm sure positive improvements will
follow.  

best,

-- 
 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] Documentation wishlist items

2009-09-16 Thread Bastien
Sebastian Rose sebastian_r...@gmx.de writes:

 Documentation is not such an easy thing to do and a lot of work, too. A
 tutorial _is_ missing. We had some discussions here about that, but no
 one got around to it. I think about it every so often, but writing a
 tutorial is such a big thing to do.

I'm a go player.  The best book I've read so far is Lessons in the
fundamental of Go -- check it here:

  http://www.librarything.fr/work/151625

The nice thing about this book is that it's a dialog better two players,
and they learn from each other.

I would love to see a dialog between two org-ers, exchanging on how they
progressively adapt Org to their needs or any other topics.  This could
actually be a bit more fun to write, and I'm sure the result would be
useful. 

Who's in?  

-- 
 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] Documentation wishlist items

2009-09-16 Thread Bastien
Sebastian Rose sebastian_r...@gmx.de writes:

 Here is some kind of outline for such a tutorial.

Wow.  That an outline for a full book!  

And I guess that's what comes at the horizon: an (O-Reilly) book about
Org-mode.  It would not compete with the manual as a reference, but it
would make it easier to more people to open Org's doors.

-- 
 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] The requested URL /worg/images/screenshots/org-zenburn.jpg was not found on this server.

2009-09-18 Thread Bastien
Rainer Stengele rainer.steng...@diplan.de writes:

 a minor bug ...

 The requested URL /worg/images/screenshots/org-zenburn.jpg was not
 found on this server.

Fixed, 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] Org-mode version 6.30trans; Cursor does not move to end-of-line in agenda view

2009-09-24 Thread Bastien
Hi Carsten,

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

 yes, Org does not allow to put the cursor at the end of the line in
 the agenda.  This is an artifact and hast to do with the fact that the
 agenda often looks at text properties to access information about the
 item.  The \n does not have those properties.

 I could fix this, but I don't actually see a good reason for it.
 Give me one, and I will change it.

Let's try:

  when one wants to shift-select the entry one cannot select it 
  entirely because the cursor cannot reach the end of the line, 
  which is especially annoying for links.

Besides that (only good) reason, I guess it just looks weird... 
I reported this problem before as well.

-- 
 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] Org-mode version 6.30trans; Cursor does not move to end-of-line in agenda view

2009-09-28 Thread Bastien
Carsten Dominik carsten.domi...@gmail.com writes:

 Besides that (only good) reason, I guess it just looks weird...
 I reported this problem before as well.

 OK, I gave it a try - lets see what it breaks

Works nice so far, thanks a lot!

-- 
 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] subject lines

2009-09-28 Thread Bastien
Sean Sieger sean.sie...@gmail.com writes:

 I appreciate the concentrated development on Org Mode, but couldn't the
 subject lines of posts be reversed, or truncated to `v 6.xx' and subject
 first?  Pardon me for being so limited, but it's a lot of news and the
 lines are hard to scan.

+1

For example, I suggest that this subject line: 

  Org-mode version 6.30trans (release_6.30d.869.g4cb3); Footnotes not
  working in figure caption

becomes:

  Footnotes not working in figure caption -- 6.30trans 
(release_6.30d.869.g4cb3)

Carsten, shall I change to 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] LaTeX export bug (skipping outline levels)

2009-10-02 Thread Bastien
Carsten Dominik carsten.domi...@gmail.com writes:

 yes, the LaTeX exporter is picky about correct outline structure.
 I am not sure if this can be changed without breaking something.
 Bastien, can you see this?

Now I can see (my @gnu.org email was down for two days.)
But I don't see any straightforward way to fix it, sorry.

-- 
 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] Worg: common #+MACRO definitions

2009-10-05 Thread Bastien
Carsten Dominik carsten.domi...@gmail.com writes:

  2.) This is the crucial point: can we have (have we?)
  a common #+SETUPFILE:, where we could define those
  macros? That way we could use those boxes in all
  our files, and they all would look the same, even
  if changed. worg/macros.org ???

 I would say no problem!  Just create it.  Bastien, any objections?

Sure, no objection!

-- 
 Bastien, catching up emails from an airport


___
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] Worg: common #+MACRO definitions

2009-10-05 Thread Bastien
Sebastian sebastian_r...@gmx.de writes:

 Am Montag, den 05.10.2009, 14:52 +0800 schrieb Bastien:
 Carsten Dominik carsten.domi...@gmail.com writes:
 
   2.) This is the crucial point: can we have (have we?)
   a common #+SETUPFILE:, where we could define those
   macros? That way we could use those boxes in all
   our files, and they all would look the same, even
   if changed. worg/macros.org ???
 
  I would say no problem!  Just create it.  Bastien, any objections?
 
 Sure, no objection!

 But we would need to exclude it from the export, which I cannot do.

Please create the file and I will exclude it from export.

-- 
 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] Differences html/pdf

2009-10-28 Thread Bastien
Carsten Dominik carsten.domi...@gmail.com writes:

 In the latex version they're not exported for some reasons...

 That is correct, we have not implemented keeping all line breaks in
 LaTeX.

I've searched around a bit, and to my big surprise, I cannot find a
LaTeX package preserving line breaks.  I understand such a function
doesn't come along nicely with the general LaTeX philosophy, but it
should be possible after all...

Did anyone already tried to find such a package ?

-- 
 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] [MobileOrg] Plans for an android app ?

2009-12-04 Thread Bastien
Carsten Dominik carsten.domi...@gmail.com writes:

 And the Android app will be easier in a way, because the workflow hast
 been designed and all the support code is in place.

 So:  WHO???

 :-)

I just stumbled upon this Android application:

  http://niftyware.com/alex/

Maybe there are nice ways to make this interact with the futur Org
application for Android...   

-- 
 Bastien


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


Re: [Orgmode] Org needs your vote

2009-12-07 Thread Bastien
Manish mailtomanish.sha...@gmail.com writes:

 Done!  Thanks for sharing.

Done as well.

-- 
 Bastien


___
Emacs-orgmode mailing list
Please 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 change CREATED property value to inactive in org-expiry

2009-12-29 Thread Bastien
Hi David,

David Maus maus.da...@gmail.com writes:

 I recently started to patch org-expiry.el and enabling inactive
 timestamps was the first thing I patched. The modified version is on
 the expiry+ branch in a copy of org-mode @github.com:

 http://github.com/dmj/org-mode/tree/expiry+

Looks nice - please send me the patch and I'll review it for inclusion.

Thanks,

-- 
 Bastien


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


Re: [Orgmode] repo.or.cz

2010-01-25 Thread Bastien
Hi Carsten,

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

 is there anyone here with an account on repo.or.cz (access with git
 +ssh) who can currently pull or push?  Because I cannot.

I just made a test, works fine here.

-- 
 Bastien


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


Re: [Orgmode] @tsubheading command in org texi

2010-02-22 Thread Bastien
smc s...@manticore.es writes:

 We are translating all official GNU Emacs documentation into Spanish
 for a future i18n/l10n of the program.

Wow.  Good luck!

 We are very advanced translating the Org-mode texi manual, but
 there is a @-command which we had never heard: @tsubheading.

 This command is not documented in the Texinfo manual and is causing
 problems in the provisional generation with texinfo-format-buffer, because
 it is not recognized.

 Please, can you help with some directions?

It's a macro, defined line 36 of latest org.texi file:

,
| @c Subheadings inside a table.
| @macro tsubheading{text}
| @ifinfo
| @subsubheading \text\
| @end ifinfo
| @ifnotinfo
| @item @b{\text\}
| @end ifnotinfo
| @end macro
`

HTH,

-- 
 Bastien


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


[Orgmode] [Patch] org-clock-current-task

2010-02-24 Thread Bastien
This patch creates `org-clock-current-task', a new variable to access
the name of the task currently clocked in.

I use it together with erc-bot.el to let people ask me what I'm doing
right now (either from BitlBee/IRC).

Shall I push it?

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index e3866be..fb6fd01 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -944,6 +944,7 @@ the clocking selection, associated with the letter `d'.
 	(org-back-to-heading t)
 	(or interrupting (move-marker org-clock-interrupted-task nil))
 	(org-clock-history-push)
+	(org-clock-set-current)
 	(cond ((functionp org-clock-in-switch-to-state)
 		   (looking-at org-complex-heading-regexp)
 		   (let ((newstate (funcall org-clock-in-switch-to-state
@@ -1042,6 +1043,11 @@ the clocking selection, associated with the letter `d'.
 	(message Clock starts at %s - %s ts msg-extra)
 	(run-hooks 'org-clock-in-hook)))
 
+(defvar org-clock-current-task nil
+  Task currently clocked in.)
+(defun org-clock-set-current ()
+  (setq org-clock-current-task (org-get-heading)))
+
 (defun org-clock-mark-default-task ()
   Mark current task as default task.
   (interactive)

-- 
 Bastien
___
Emacs-orgmode mailing list
Please 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-clock-current-task

2010-02-24 Thread Bastien
Carsten Dominik carsten.domi...@gmail.com writes:

 Yes, please go ahead.

Thanks.

Attached is more complete version: now clocking out will set the 
content of `org-clock-current-task' to nil.

It occurs to me that such a simple functionnality could also use hooks.
What do you think ?  Is it better to include it in the code or to simply
put the hooks on Worg?

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index e3866be..cb378e6 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -944,6 +944,7 @@ the clocking selection, associated with the letter `d'.
 	(org-back-to-heading t)
 	(or interrupting (move-marker org-clock-interrupted-task nil))
 	(org-clock-history-push)
+	(org-clock-set-current)
 	(cond ((functionp org-clock-in-switch-to-state)
 		   (looking-at org-complex-heading-regexp)
 		   (let ((newstate (funcall org-clock-in-switch-to-state
@@ -1042,6 +1043,15 @@ the clocking selection, associated with the letter `d'.
 	(message Clock starts at %s - %s ts msg-extra)
 	(run-hooks 'org-clock-in-hook)))
 
+(defvar org-clock-current-task nil
+  Task currently clocked in.)
+(defun org-clock-set-current ()
+  Set `org-clock-current-task' to the task currently clocked in.
+  (setq org-clock-current-task (org-get-heading)))
+(defun org-clock-delete-current ()
+  Reset `org-clock-current-task' to nil.
+  (setq org-clock-current-task nil))
+
 (defun org-clock-mark-default-task ()
   Mark current task as default task.
   (interactive)
@@ -1237,7 +1247,8 @@ If there is no running clock, throw an error, unless FAIL-QUIETLY is set.
 	  (force-mode-line-update)
 	  (message (concat Clock stopped at %s after HH:MM =  org-time-clocksum-format %s) te h m
 		   (if remove  = LINE REMOVED ))
-  (run-hooks 'org-clock-out-hook))
+  (run-hooks 'org-clock-out-hook)
+	  (org-clock-delete-current))
 
 (defun org-clock-cancel ()
   Cancel the running clock be removing the start timestamp.

-- 
 Bastien
___
Emacs-orgmode mailing list
Please 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-clock-current-task

2010-02-24 Thread Bastien
Carsten Dominik carsten.domi...@gmail.com writes:

 No, I think this is good to have - other functionality may want to use
 it.
 Please check it in.

Okay, done!

-- 
 Bastien


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


Re: [Orgmode] [org-timer] mode line request

2010-02-25 Thread Bastien
Hi Austin,

Austin Frank austin.fr...@gmail.com writes:

 Would it be possible for timers set using org-timer-set-timer to display
 their current value in the mode line?

I'm working on this.

I've also simplified the code behind temporary manually-set timers: 
you can now only add one timer.  It's not useful to allow many such 
timers.

While doing this, I fixed a bug about a remaining timer that the user
could see when calling `org-timer-show-remaining-time'.  Thanks to
Frédéric Couchet for catching this.

-- 
 Bastien


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


Re: [O] Creating a SCHEDULED entry with C-c C-s seems to add a trailing whitespace after the timestamp

2011-07-18 Thread Bastien
Hi Rainer,

Rainer Stengele rainer.steng...@diplan.de writes:

 Creating a SCHEDULED entry with C-c C-s seems to add a trailing
 whitespace after the timestamp:

This has been fixed a few days ago.

Can you test against latest git?

-- 
 Bastien



Re: [O] error writing agenda view to html file

2011-07-18 Thread Bastien
Rainer Stengele rainer.steng...@online.de writes:

 git checkout c6b22d


 How can I go back to the current development?

Go back to the master branch with this command

  ~$ git checkout master

then 

  ~$ git pull 

to get latest commits.

HTH,

-- 
 Bastien



Re: [O] Exporting to wiki syntax from org mode

2011-07-18 Thread Bastien
Hi Damitr and Puneeth,

Puneeth Chaganti puncha...@gmail.com writes:

 There's an experimental generic exporter written by Bastien. It comes
 along with an experimental exporter to Mediawiki format[1]. 

Yes -- please Damitr check org-mw.el and report any problem.

 It can be easily ported to any other wiki system.

That's the main advantage of this EXPERIMENTAL/org-export.el.

 I have something that works for MoinMoin syntax [2].

Looks great, looking forward an official release :)

PS: Maybe you can just fix s/Bastien G./Puneeth Chaganti in this 
file, so that I will not be credited for this piece of code? :)

-- 
 Bastien



Re: [O] how to change the headline starter *

2011-07-18 Thread Bastien
Hi Achim,

Achim Gratz strom...@nexgo.de writes:

 Looks good, except that Git complains about two whitespace errors — but
 that is easily taken care of by M-x delete-trailing-whitespace.

Thanks for confirming -- I've now applied the patch.

There is still some work to be done to completely remove hardcoded 
\\* sequences...  I'm on it this week.

-- 
 Bastien



Re: [O] Possibly new function to view your notes in chronological order

2011-07-18 Thread Bastien
Hi Marc-Oliver,

Marc-Oliver Ihm i...@online.de writes:

 I would like to submit the new function org-find-timestamps for
 disussion. 

Thanks for this piece of code and for this idea!

I've tested it a bit and I encourage others to test it.

I was able to create a sparse tree with inactive timestamps, 
but I was not able to display a buffer with ordered items.
I will test more carefully and give feedback/debugging.

My main reaction is: your idea/code could partially sneak into
`org-sparse-tree' by adding a new ran[g]e option, asking the 
starting and ending dates, and creating the sparse tree.

What do you think?

-- 
 Bastien



Re: [O] Custom agenda view for properties

2011-07-18 Thread Bastien
Hi Memnon,

Memnon Anon gegendosenflei...@googlemail.com writes:

 The manual is great, but its always a good idea to also check out
 Worg. In this case, have a look at:

 http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html#sec-3

((tags +REVIEW=weekly) ;; this does not work...

  (tags +REVIEW=\weekly\) ;; not tested, but should do

 Should such an example be in the manual (node (org) Storing searches )
 ?

Surely -- if you can take the time, a patch would be great.

Thanks,

-- 
 Bastien



[O] New feature: loop over siblings for some commands

2011-07-18 Thread Bastien
Dear all,

from latest git repo: 

  (setq org-loop-over-siblings-within-active-region-p t)

will allow you to run some commands on several siblings in 
the active region.  

For example:

start active region
* Item 1
* Item 2
* Item 3
end active region

Then `C-c C-s' (org-schedule) will ask for a schedule date
for each of the item in the active region.  See the commit
log for more details:

  
http://orgmode.org/w/?p=org-mode.git;a=commit;h=366254217ac6faea20a5d43fae065bd028806eab

I'm interested in allowing this for org-todo as well, but I
would first like some feedback on the current feature and its
scope wrt actual needs.

Thanks a lot!

-- 
 Bastien



Re: [O] Broken link on Worg

2011-07-18 Thread Bastien
Hello Tom,

t...@tsdye.com (Thomas S. Dye) writes:

 A link in the An Babel Demo section of
 http://orgmode.org/worg/org-contrib/babel/uses.html appears to have
 broken.  I'm not sure why and don't know how to fix it.

Mmhh... I confirm the HTML exporter (and the LaTeX one, btw) are
confused by this link.  Not sure how to fix this right now, I will
investigate further.

Thanks for reporting this,

-- 
 Bastien



Re: [O] breaking URLs

2011-07-18 Thread Bastien
Hi Henri-Paul,

Henri-Paul Indiogine hindiog...@gmail.com writes:

 My goal is to export an orgmode file to LaTeX and then compile to PDF.

 My orgmode file contains many URLs. What is the best way to have them
 break?   A simple URL in the orgmode file will not break.  if I place
 the URL in  \url{my url}  it is exported as

 \url{[[my url]] [[my url]]}   however the URL is nicely split to the
 next line in the pdf.

I would welcome ideas/code to have more flexibility wrt the way urls 
are handled by the LaTeX exporter.

 if I use \href{my url} then the LaTeX file does not compile and gives
 the following error message:


 ERROR: pdfTeX error (ext1): \pdfendlink cannot be used in vertical
 mode.

This looks like a LaTeX related problem, and I'm not export enough to
help here.  I hope someone will be able to give you further advice.

Thanks,

-- 
 Bastien



Re: [O] error writing agenda view to html file

2011-07-18 Thread Bastien
Hi Rainer,

Rainer Stengele rainer.steng...@diplan.de writes:

 I am quite sure it is some misconfiguration
 in my settings but I just don't know how to find it.

If you changed some faces through M-x customize-face RET, 
then you will have a (custom-set-faces ...) somewhere in 
your configuration files (either in .emacs.el or some
other value of the variable custom-file, which see.

Can you send this part of the configuration?

Is anybody else able to reproduce this problem?

Thanks,

-- 
 Bastien



  1   2   3   4   5   6   7   8   9   10   >