Re: A small bugfix in org-clock-in

2021-02-16 Thread Jean-Marie Gaillourdet

Hello,

I am sorry, for the mess in my previous mail.

I've experienced occasionally errors while executing org-clock-in 
from
the agenda. The errors seems to be that indent-line-to is called 
with a
negative argument. Moving from the agenda to the todo headline in 
the
underlying org file and repeating org-clock-in and org-clock-out 
usually

lead to a state in which I could successfully run org-clock-in.

The following patch fixes the issue for me and I believe it does 
no
harm. I've used it daily for two month. I'd appreciate if you 
could add

it to org-mode.

Kind regards,
Jean-Marie

>From 319785492d55d33cdf819aa891c3e7834dafacff Mon Sep 17 00:00:00 2001
From: Jean-Marie Gaillourdet 
Date: Sun, 13 Dec 2020 12:50:52 +0100
Subject: [PATCH] org-clock: fix runtime error in org-clock-in

* org-clock.el (org-clock-in): Under certain configurations of org,
Emacs doom, evil-org-mode and my custom settings, org-clock-in aborts
with an an error because indent-line-to is called with -2.
---
 lisp/org-clock.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 6c7a797ff..4256b1a21 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -1368,7 +1368,7 @@ the default behavior."
 			(end-of-line 0)
 			(org-in-item-p)))
 	 (beginning-of-line 1)
-	 (indent-line-to (- (current-indentation) 2)))
+	 (indent-line-to (max 0 (- (current-indentation) 2
 	   (insert org-clock-string " ")
 	   (setq org-clock-effort (org-entry-get (point) org-effort-property))
 	   (setq org-clock-total-time (org-clock-sum-current-item
-- 
2.29.2






--
Jean-Marie Gaillourdet


A small bufix in org-clock-in

2021-02-16 Thread Jean-Marie Gaillourdet
Hello,

I've experienced occasionally errors while executing org-clock-in from
the agenda. Moving from the agenda to the todo headline in the
underlying org file and repeating org-clock-in and org-clock-out usually
lead to a state in which I could successfully run org-clock-in.

The following patch fixes the issue for me and I believe it does no
harm. I've used it daily for two month. I'd appreciate if you could add
it org-mode.

Kind regards,
  Jean-Marie

-- Jean-Marie Gaillourdet
From 319785492d55d33cdf819aa891c3e7834dafacff Mon Sep 17 00:00:00 2001
From: Jean-Marie Gaillourdet 
Subject: [PATCH] org-clock: fix runtime error in org-clock-in

* org-clock.el (org-clock-in): Under certain configurations of org,
Emacs doom, evil-org-mode and my custom settings, org-clock-in aborts
with an an error because indent-line-to is called with -2.
---
 lisp/org-clock.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 6c7a797ff..4256b1a21 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -1368,7 +1368,7 @@ the default behavior."
 			(end-of-line 0)
 			(org-in-item-p)))
 	 (beginning-of-line 1)
-	 (indent-line-to (- (current-indentation) 2)))
+	 (indent-line-to (max 0 (- (current-indentation) 2
 	   (insert org-clock-string " ")
 	   (setq org-clock-effort (org-entry-get (point) org-effort-property))
 	   (setq org-clock-total-time (org-clock-sum-current-item
--
2.29.2



[O] Support for Bird-style Literate Haskell

2011-11-24 Thread Jean-Marie Gaillourdet
Hi everybody,

I'd be interested to use org syntax in the comments of a literate haskell file. 
I know and use occasionally org-babel. Though, this question is not about 
org-babel. I am merely interested in telling org-mode to leave the code parts 
of a literate Haskell file alone, i.e. similar to code blocks in org-mode. I 
have no propblem with switching between org-mode and literate-haskell-mode 
depending on what I am currently editing. I am not interested in org-babel 
because I don't want to have a separate weaving step in my build system.

In case you don't know: Literate Haskell files (ending with .lhs) come in two 
flavors: bird style and latex style. In bird style every line is a comment 
unless it has '' in the first column. And in latex style code blocks are 
surround with \begin{code} and \end{code}. Haskell implementations do not care 
what is in the non-code parts. So, I'd like to use org markup and especially 
the editing features of org-mode. I'd prefer to work in bird-style and 
latex-style would be fine as well.

Do you have any ideas/pointers how to achieve that?

Thanks for your help!

Cheers, 
 Jean


Re: [Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode

2011-01-09 Thread Jean-Marie Gaillourdet
Hi Marcelo,

Marcelo de Moraes Serpa celose...@gmail.com writes:

 Hi list,

 Has anyone tried to use this combo? I find that viper is too slow when
 in insert mode (when typing, actually), but only when in a buffer
 where orgmode is activated. Any ideas ?

I've had that problem for a long time as well. And it seemed to me to be
a showstopper for using org together with viper. But somehow I managed
to improve the situation. I am sorry to not be more specific on this
issue. But I can assure you it is possible to have a working
configuration. I'd advice you to try loading org and viper in a clean
emacs session (emacs -q). I somehow remember there was also an issue
with the order in which I loaded org and viper. Currently I'm loading
org before viper. 

My git history tells me that this line improved load times of the agenda
significantly: 
(setq viper-suppress-input-method-change-message t)


Cheers,
  Jean-Marie


___
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] re-marking agenda entries

2010-12-17 Thread Jean-Marie Gaillourdet
Hi org-ers,

I've got the following question, which I couldn't answer by studying the
manual and the web. How can I mark the same entries again, after I've
performed a bulk action in the agenda?

Again more clearly: Suppose I've marked several entries in the agenda by
pressing m on each. Then, I've performed one bulk action by pressing B
and e.g. +. Then all marked entries become unmarked again. But, then I'd
like to perform another bulk action on the same set of agenda
entries. Is there any way to recover or store a set of marks?

Thanks for any hint.

Cheers,
  Jean-Marie



___
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] Re: Sending org buffer as mail?

2010-12-17 Thread Jean-Marie Gaillourdet
Hi Eric,

Eric Schulte schulte.e...@gmail.com writes:

 Hi Matt,

 This looks great, how would you feel about trying to fold this into
 org-mime, or would you mind if I did so.  I've already mimicked your
 function to set subjects of outgoing emails to match the title of the
 org-mode buffer.  I think that generalizing the org-mime functions to
 operate over either subtrees or whole files, and to output either html
 or plain text should cover all use cases with maximal code re-use.

does it also support using ascii exports as text part and the html
export as html part in a multi part message?

Thanks for org-mime, I'll try it tomorrow.

Cheers,
Jean-Marie

___
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] [OT] recutils

2010-12-13 Thread Jean-Marie Gaillourdet
Hi,

jema...@gnu.org (Jose E. Marchesi) writes:

  I would highly appreciate any comment or suggestion on improving the
  format, the utilities, or whatever.
 
 Wow! The ability to have a _relational_ database with foreign keys
 in a simple text file is so great news for me. A dream I had for
 many years now. Or is it lack of knowledge from my side about
 already existing solutions before recutils?

 I don't think there is anything similar.  

You might be interested to hear about txt-sushi [1], a command line
utility to apply SQL statements on a set of csv files, each of which
represents one table.

[1] http://keithsheppard.name/txt-sushi/

Cheers,
  Jean-Marie

___
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] An Org-mode clone for Vim

2010-11-06 Thread Jean-Marie Gaillourdet
Hi, 

congratulation to such an excellent project!

Herbert Sitz hs...@nwlink.com writes:

 I've been working on a Vim plugin that is file-compatible with Org-mode and 
 that
 clones a good subset of features.  It's gotten to the point where I'd like to
 put it up on Github and see if anyone wants to use it and/or help develop it
 with me.  So far I've implemented a good subset of Org's functionality and,
 though it has a few rough edges, right now it could be perfectly usable for
 certain people out there who prefer Vim as a text editor, but who have been
 drawn to Emacs' Org-mode because of its features.  My project isn't at the 
 point
 where it has all the features or the polish of Org-mode, but many Org-mode 
 users
 use only a small subset of Org.  For people who prefer Vim and have subsets
 coinciding with my project it could be an option.

 I've made a video showing what it looks like and demonstrating some of the 
 basic
 outlining stuff.  I just uploaded it to Vimeo, and it tells me it will be
 available for viewing in a couple hours (i.e., around 3:15pm PST today, Friday
 Nov. 5,2010).  When available it will be viewable at this link:
 http://vimeo.com/16543959

 For someone who asks, 'Why would you bother to do this for Vim when it's 
 already
 done in Emacs?, I would have these responses:

 1.  A lot of people don't like Emacs.  It is of course an insanely powerful
 piece of software, but a lot of people can never get accustomed to the 
 chord-key
 command system, or if they do get semi-accustomed they don't like it or it
 causes them physical pain.
 2.  Some people are of the opinion that, while Emacs is admittedly a great
 operating system/development environment, it lacks a decent text editor.  ;)
 3.  Emacs and Vim (or Vim and Emacs) are king and queen atop the pile of text
 editors.  What one has the other should have to, to the extent possible.
 4.  I consider myself a Vim person, but I moved to Org-mode and Emacs myself
 (made almost palatable to me by Viper and Vimpulse) because I wanted to be 
 able
 to publish outlines to PDF and HTML.  Vim has a couple decent outliners but
 nobody has bothered to create good export systems for quality output.  I had
 written some (non-publishing-related) extensions for one of the Vim outliners
 and I knew it wouldn't be that hard to write something in Vim that was
 file-compatible with Org-mode, which would then be able to publish to PDF and
 HTML simply by calling out to an Emacs server.  This was my original goal and
 it's done and works great.

I complete understand your point here, I did the tiniest possible bit of
org-mode emulation in vim, by my self. After more then 10 years of
emacs, I came to realize they beauty and efficiency of the modal input
model used by vim. Since then, I've tried to either make emacs behave
like vim or to make vim behave like emacs. My current approach is to use
emacs with viper+vimpulse+viper-in-more-modes+self_written adaptions and
there are still many things which require to type long chords of
shortcuts. 

I am looking forward to try your vim plugin, since I still use vim for
quick editing tasks.

 5.  As I did some work I became more curious about all the task management and
 organization features in Org-mode, and how they might be implemented in Vim.  
 So
 I started coding up stuff for the various Org searches, agenda views, sparse
 trees, column views, date management, etc.  This is actually fun to do and Vim
 is well-suited for doing it.  So I've kept going.  I'm hoping someone else 
 might
 have an interest in doing this with me.
 6. As I said in 5., developing this stuff is fun.

 That's about it.  If there's any interest I'll do more videos showing how 
 other
 Org-mode features have been implemented in the Vim plugin, and where they 
 stand
 right now in the Vim plugin compared to Org-mode.

I am definitly interested. Keep up the good work. 

Regards,
  Jean-Marie


___
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] An Org-mode clone for Vim

2010-11-06 Thread Jean-Marie Gaillourdet
Hi Ryan, 

A. Ryan Reynolds a.ryan.reyno...@gmail.com writes:

 onethingwell.org just finished a week's worth of coverage on vim
 outliners. I don't use vim, so I'm not particularly invested, but
 introducing another one to the vim people might be a hard sell; there
 already seem to be quite a number of options available on that
 platform. On the other hand, if you can replicate all of Org's
 features I've no doubt you'll succeed in winning them over! And in any
 case, doing something for fun is a reward by itself.

I've tried most vim outliners in spring. And I doubt it'll be a hard
sell. Most of them were dead or simply not comparable
to org's easy and intuitive way of outlining. 

For example, TVO -- The Vim Outliner [1] -- , which is most often referenced
as the standard and most powerfull vim outliner plugin, is basically
dead. Last release happened in 2006. 

Regards,
  Jean-Marie

[1] http://bike-nomad.com/vim/vimoutliner.html

___
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] german-postfix and speedkeys

2010-11-05 Thread Jean-Marie Gaillourdet
Hi Memnon, 

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

 If you use german-postfix, using the `u' speedkey command on stars will
 not work in orgmode files; I use this frequently, so being able to
 quickly toggle is essential.

I didn't notice that so far. Perhaps it is possible to make speedkeys
aware of input methods?


Regards,
  Jean-Marie

___
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] Bug report: syntax highlighting fails with org-indent-mode and emacs 23.2

2010-11-04 Thread Jean-Marie Gaillourdet
Hi, 

Thanks for this great piece of software. 

Today, I've realised a regression in functionality with org-indent-mode
with org-mode of this morning. 

A file with #+STARTUP: indent isn't syntax highlighted at all. The
message buffer says fontification fails with: (invalid-function
with-silent-modifications)

All calls to =with-silent-modifcations= have been introduced by git
commit e40903a6. This commit replaces =org-unmodified= with
=with-silent-modifications=. I've reverted this manually and syntax
highlighting works again with org-indent-mode.

Is with-silent-modifications an addition of Emacs 24? I am still using
23.2 and would prefer to continue to do so. 

This on Mac OS X. 

Regards,
  Jean-Marie

___
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] Umlauts in LaTeX export

2010-11-03 Thread Jean-Marie Gaillourdet
Dear Richard,

Stefan Vollmar voll...@nf.mpg.de writes:

 Dear Richard,

 sitting in front of a German keyboard, writing 

 Gödel

 seems to be the obvious solution for modern LaTeX and Emacs versions - you 
 could define some shortcut to insert the appropriate Unicode character into 
 your text (as your keyboard probably does not feature a ö key), or 
 copy/paste the Umlauts from another Emacs file as necessary. If you do not 
 need it very often, this might be a reasonable alternative. 

Although I am german, I use an american keyboard layout for coding and
everything else. But there is a nice emacs solution to enter umlauts:
=C-x RET C-\ german-postfix RET= This enables an input method which
allows you to enter all german umlauts: ä ü ö Ä Ü Ö and ß. 

Entering an `a' followed immediately by an `e' generates an ä, followed
by another `e' it becomes `ae`, similar for ü and ö . `s` followed by
`z` generates an `ß`. Larger variants are typed by typing two large
letters.

Regards,
  Jean-Marie

___
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] Re: What WebDAV service do you use for syncing org files?

2010-10-21 Thread Jean-Marie Gaillourdet
Hi Jeff,

On 21.10.2010, at 10:38, Jeff Horn wrote:

 Well, I just answered my own question as far as getting MobileOrg to
 work... I just set the WebDAV directory to a local directory within
 Dropbox. I thought it had to be WebDAV (like that would make a
 difference).
 
 I'm still interested to know what everyone uses to sync working files, though.
I'm using mydisk.se, which is a free WebDAV service.

-- Jean


___
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 difficultwould it be to support zotero in org?

2010-10-13 Thread Jean-Marie Gaillourdet
Hi, 

sorry to bring up this old thread, but there rather are rather new developments 
at Zotero which might interesting to people here. See below.


On 03.09.2010, at 22:12, Scot Becker wrote:

 Another Zotero + org user here.  Right now I do what Christian does: export 
 Zotero to slightly tweaked BibTeX, and insert with RefTeX's amazingly cool 
 reference-insertion interface (another genius piece of work by Carsten).  I 
 can think of two profitable ways to make inserting references from one's 
 Zotero database into org-mode notes better, and one further way that org-mode 
 could be more tightly linked with Zotero.
 
 1)  A utility (presumably part firefox plugin) which keeps a BibTeX file in 
 sync with one of Zotero's collections.  That way you don't have to do a full 
 manual export of your Zotero collection every time you add or change 
 something.  RefTeX provides the citation insertion interface.  Something 
 similar this to exists for LyX.  It doesn't sync a whole Z. collection, but 
 creates a .bib file with the items you actually cite in your document.  The 
 author (an Emacs user) even considered generalizing it for use without LyX 
 runing, i.e. for Emacs, but didn't find enough steam (after all, he uses 
 LyX).  (I also know that Mendeley can be made to auto-import from Zotero and 
 to auto-export to BibTeX, but Mendeley's BibTeX export is not flexible.)
 
Zotero.org announced a new desktop application which will use a public 
available read/write api to the Zotero service:

 With full read/write access to bibliographic data, attached files like PDFs, 
 and the citation formatting engine, developers will be able to integrate a 
 full
 range of Zotero features into their own web, mobile, and desktop applications,
 and users will be able to take advantage of this functionality at zotero.org. 
 

See http://www.zotero.org/blog/zoteros-next-big-step/ for more details.

This should make it possible to use an official api to implement the use case 
described above.

 2)  a org-mode-specific plain-text citation mechanism, analogous to BibTeX, 
 but useful for both LaTeX and non-LaTeX exports.  It would presumably have a 
 CSL backend, and work the way that citeproc-hs works for pandoc.  Presumably 
 it could also use a RefTeX-like interface for citation insertion.  
 
 3) Easier ways to take reading notes (in org) on items in the Zotero 
 database, with two way linking.  (Thanks already for the tips in this thread.)

Regards,
Jean
___
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] Re: Not a bug, but ...

2010-06-28 Thread Jean-Marie Gaillourdet
Hi Bernt,

On 28.06.2010, at 13:23, Bernt Hansen wrote:

 Jean-Marie Gaillourdet j...@gaillourdet.net writes:
 
 Hi Bernt,
 
 On 27.06.2010, at 14:21, Bernt Hansen wrote:
 Currently, I use the following function to circumvent the hiding of my
 stuck projects.
 
 (defun jmg/stuck-projects ()
 (interactive)
 (let ((org-agenda-dim-blocked-tasks nil))
  (org-agenda-list-stuck-projects)
  ))
 
 Is it possible to bind it to the standard agenda shortcut C-c a # ? Or
 to achieve the same effect just with special agenda command
 configuration?
 
 Yes it is possible to rebind # in an agenda custom command.  I've done
 that since I now use non-standard stuck project definitions.
 
 
 Yes, I've seen it in your documentation, but is it possible to
 org-agenda-list-stuck-projects from a custom agenda definition?
 
 There is a stuck-projects selection (like tags, tags-todo, etc) but I've
 never tried.  I assume it works.

Indeed, there is a stuck mode. Thanks, for the hint. But it isn't documented in 
the docstring of org-agenda-custom-commands, although it is available from the 
customization interface.

Such a line in org-agenda-custom-commands seems to work:

(# Stuck projects stuck  ((org-agenda-dim-blocked-tasks nil)))

-Jean-Marie
___
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] Re: Bug: Definition of stuck projects [6.36trans (release_6.36.293.g2e73c)]

2010-06-27 Thread Jean-Marie Gaillourdet
Hi Matt,

thanks for investigating it. I will spend more time simplifying my 
configuration while still being apple to reproduce it myself.

Regards,
Jean

On 25.06.2010, at 22:19, Matt Lundin wrote:

 Jean-Marie Gaillourdet j...@gaillourdet.net writes:
 
 I've been trying to make org-stuck-projects work as advertised, but
 wasn't successfull.
 
 But let's start with what I'd like to achieve. My projects are marked
 with a todo keyword PROJECT. I would like to consider every project
 which has neither a task with keyword TODO nor a task with keyword
 STARTED as stuck. Especially, this means a project may contain tasks
 with active todo keywords, e.g. DELEGATED or WAITING, but it is still
 considered stuck.
 
 After reading the manual and the doc-string of org-stuck-projects. I
 think the following value should achieve this.
 
 (setq org-stuck-projects '(/PROJECT (TODO STARTED) nil ))
 
 But every sub task of the project with an active todo keywords make a
 project unstuck. I have the impression the list (TODO STARTED) is
 completely ignored. The following project should appear on the list of
 stuck projects, but it does not.
 
 * PROJECT Testprojekt   :inproject:
 *** DELEGATED a delegated subtask
 
 
 I cannot replicate this. Using the setting above, I called
 org-agenda-list-stuck-projects on the following file:
 
 --8---cut here---start-8---
 #+TODO: TODO PROJECT DELEGATED WAITING | DONE
 
 * PROJECT Testprojekt   
 :inproject:
 ** DELEGATED a delegated subtask
 * PROJECT Another test
 ** TODO A todo
 --8---cut here---end---8---
 
 The agenda yielded the correct results:
 
 --8---cut here---start-8---
 List of stuck projects: 
  test:   PROJECT Testprojekt
 :inproject:
 --8---cut here---end---8---
 
 Best,
 Matt



___
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] Bug: Definition of stuck projects [6.36trans (release_6.36.293.g2e73c)]

2010-06-25 Thread Jean-Marie Gaillourdet
-subtree
 (lambda nil (imenu-add-to-menubar Imenu)) 
toggle-input-method)
org-clock-out-remove-zero-time-clocks t
org-font-lock-hook '(org-inlinetask-fontify)
org-global-properties '((Effort_ALL . 0:10 0:30 1:00 2:00 3:00 4:00 5:00 
6:00 7:00 8:00) (STYLE_ALL . habit))
org-refile-targets '((org-agenda-files :maxlevel . 5) (nil :maxlevel . 5))
org-return-follows-link t
org-confirm-elisp-link-function 'yes-or-no-p
org-refile-use-outline-path 'file
org-log-into-drawer t
org-agenda-mode-hook '((lambda nil (setq org-mouse-context-menu-function (quote 
org-mouse-agenda-context-menu))
 (org-defkey org-agenda-mode-map [mouse-3] (quote 
org-mouse-show-context-menu))
 (org-defkey org-agenda-mode-map [down-mouse-3] (quote 
org-mouse-move-tree-start))
 (org-defkey org-agenda-mode-map [C-mouse-4] (quote 
org-agenda-earlier))
 (org-defkey org-agenda-mode-map [C-mouse-5] (quote 
org-agenda-later))
 (org-defkey org-agenda-mode-map [drag-mouse-3]
  (quote
   (lambda (event) (interactive e) (case 
(org-mouse-get-gesture event) (:left (org-agenda-earlier 1)) (:right 
(org-agenda-later 1)
  )
 )
)
org-enforce-todo-dependencies t
org-refile-allow-creating-parent-nodes 'confirm
org-insert-heading-respect-content t
org-occur-hook '(org-first-headline-recenter)
org-from-is-user-regexp \\Jean-Marie Gaillourdet\\
org-yank-adjusted-subtrees t
org-export-preprocess-before-selecting-backend-code-hook 
'(org-beamer-select-beamer-code)
org-treat-S-cursor-todo-selection-as-state-change nil
org-agenda-todo-ignore-deadlines t
org-modules '(org-mac-protocol org-mac-iCal org-bibtex org-ctags org-id 
org-info org-jsinfo org-habit org-inlinetask org-mac-message org-mouse 
org-checklist
   org-toc)
org-columns-default-format %80ITEM(Task) %10Effort(Effort){:} %10CLOCKSUM
org-agenda-auto-exclude-function 'bh/org-auto-exclude-function
org-remember-templates '((todo 116 * TODO %?\n  %u\n  %a nil bottom nil)
  (note 110 * Notiz %?   
 :NOTE:\n  %U\n  %a nil bottom nil)
  (meeting 98 * Besprechungsnotiz %? 
 :MEETING:\n  %U\n  %a nil bottom nil)
  (phone 112 * PHONE %:name  
  :PHONE:\n  Contact Info: %a\n  %u\n  %? nil bottom nil)
  (appointment 97 * %?\n  %U 
~/Work/KnowledgeBase/Inbox.org Appointments nil)
  (AppleScript remember 121 * %:shortdesc\n\nSource: 
%u, %c\n%?\n%:initial\n\n nil bottom nil)
  (AppleScript note 122 * %?\n\n  Date: %u\n nil 
bottom nil))
org-export-preprocess-after-tree-selection-hook '(org-inlinetask-export-handler)
org-export-docbook-final-hook '(org-inlinetask-remove-terminator)
org-agenda-cleanup-fancy-diary-hook '((lambda nil (goto-char (point-min))
(save-excursion (while 
(re-search-forward ^[a-z] nil t) (goto-char (match-beginning 0)) (insert 
0:00-24:00 )))
(while (re-search-forward ^ [a-z] nil 
t) (goto-char (match-beginning 0))
 (save-excursion (re-search-backward 
^[0-9]+:[0-9]+-[0-9]+:[0-9]+  nil t)) (insert (match-string 0)))
)
   )
org-export-latex-final-hook '(org-inlinetask-remove-terminator 
org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames
   org-beamer-place-default-actions-for-lists)
org-enforce-todo-checkbox-dependencies t
org-clock-idle-time 10
)

___
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] Vim folding/syntax highlighting?

2010-05-18 Thread Jean-Marie Gaillourdet
Hi,

sorry to answer so late, but I'm way behind my emails.

There is http://www.vim.org/scripts/script.php?script_id=1266 , which emulates 
folding like outline-mode. I'll attach my locally modified version of it. I've 
added support for deeper outline structures, drawers, tags, SCHEDULED and 
DEADLINE. This is just work in progress.

Just put file into ~/.vim/syntax and use :set ft=org or put the following line 
into ~/.vim/ftdetect/org.vim.

au BufRead,BufNewFile *.org set filetype=org


Additionally, I have a file ~/vim/ftplugin/org.vim which contains:

map Tab za
autocmd! BufRead,BufNewFile *.org set filetype=org

This, allows to use tab to open and close folds as in org-mode.

Best regards,

Jean


On 29.04.2010, at 23:00, Bastien wrote:

 Nathan Neff nathan.n...@gmail.com writes:
 
 I'll probably write a syntax file and a folding method if nobody
 knows of any existing ones.
 
 That would be really great!
 
 -- 
 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


org.vim
Description: Binary data
___
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] Re: Cannot compile release

2010-04-07 Thread Jean-Marie Gaillourdet
Hi Carsten,

thanks for your fix. It works for me now, but I got the same problem with 
Emacs.app 23.1. So I don't think this is related to my version of my emacs. But 
nevermind I've been able to compile it, and everything is working now.

Regards
Jean-Marie

On 06.04.2010, at 16:53, Carsten Dominik wrote:

 Hi Jean Marie - stating your Emacs version would have helped.  I see now that 
 you did that in your first message...
 
 This is fixed in 6.35b, so that it also works again for Emacs 22.
 
 - Carsten
 
 On Apr 6, 2010, at 12:28 PM, Jean-Marie Gaillourdet wrote:
 
 Hi,
 
 I've propably copied too few information. make all aborts for me. Below is 
 now the complete output
 
 Regards,
 Jean
 
 leibniz:org-6.35 jmg$ make clean
 make cleanelc
 rm -f lisp/org.elc lisp/org-agenda.elc lisp/org-ascii.elc 
 lisp/org-attach.elc lisp/org-archive.elc lisp/org-bbdb.elc 
 lisp/org-beamer.elc lisp/org-bibtex.elc lisp/org-clock.elc 
 lisp/org-colview.elc lisp/org-colview-xemacs.elc lisp/org-compat.elc 
 lisp/org-crypt.elc lisp/org-ctags.elc lisp/org-datetree.elc 
 lisp/org-docview.elc lisp/org-entities.elc lisp/org-exp.elc 
 lisp/org-exp-blocks.elc lisp/org-docbook.elc lisp/org-faces.elc 
 lisp/org-feed.elc lisp/org-footnote.elc lisp/org-freemind.elc 
 lisp/org-gnus.elc lisp/org-habit.elc lisp/org-html.elc 
 lisp/org-icalendar.elc lisp/org-id.elc lisp/org-indent.elc lisp/org-info.elc 
 lisp/org-inlinetask.elc lisp/org-jsinfo.elc lisp/org-irc.elc 
 lisp/org-latex.elc lisp/org-list.elc lisp/org-mac-message.elc 
 lisp/org-macs.elc lisp/org-mew.elc lisp/org-mhe.elc lisp/org-mobile.elc 
 lisp/org-mouse.elc lisp/org-publish.elc lisp/org-plot.elc 
 lisp/org-protocol.elc lisp/org-remember.elc lisp/org-rmail.elc 
 lisp/org-src.elc lisp/org-table.elc lisp/org-timer.elc lisp/org-vm.elc 
 lisp/org-w3m.elc lisp/org-wl.elc lisp/org-xoxo.elc lisp/org-install.elc
 make cleandoc
 (cd doc; rm -f org.pdf org org.html orgcard.pdf)
 (cd doc; rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs)
 (cd doc; rm -f *.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps)
 (cd doc; rm -f orgcard_letter.tex orgcard_letter.pdf)
 (cd doc; rm -rf manual)
 make cleanrel
 rm -rf RELEASEDIR
 rm -rf org-6.*
 rm -rf org-6*zip org-6*tar.gz
 rm -f *~ */*~ */*/*~
 leibniz:org-6.35 jmg$ make all
 emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) 
 \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) 
 (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org.el
 Loading subst-ksc...
 Loading subst-gb2312...
 Loading subst-big5...
 Loading subst-jis...
 
 In end of data:
 org.el:18522:1:Warning: the following functions might not be defined at
   runtime: calendar-forward-day, parse-time-string, calendar-goto-date,
   calendar-goto-today
 org.el:18522:1:Warning: the following functions are not known to be defined:
   table--at-cell-p, org-clock-update-mode-line, org-default-export-plist,
   org-infile-export-plist, org-clock-save-markers-for-cut-and-paste,
   org-agenda-save-markers-for-cut-and-paste, dired-get-filename,
   org-id-store-link, iswitchb-read-buffer, mouse-set-point,
   org-agenda-copy-local-variable, org-attach-reveal, org-gnus-follow-link,
   org-inlinetask-remove-END-maybe, org-get-current-options, org-agenda-skip,
   org-format-agenda-item, org-agenda-new-marker,
   org-agenda-change-all-lines, org-columns-number-to-string,
   org-columns-get-format-and-top-level, org-columns-compute,
   calendar-absolute-from-iso, calendar-iso-from-absolute,
   org-id-locations-save, org-id-locations-load, cdlatex-tab,
   clear-image-cache, org-export-latex-fix-inputenc,
   beginning-of-visual-line, org-agenda-set-restriction-lock,
   speedbar-line-directory, org-agenda-maybe-redo
 Wrote /Users/jmg/tmp/org-6.35/lisp/org.elc
 emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) 
 \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) 
 (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-agenda.el
 Loading subst-ksc...
 Loading subst-gb2312...
 Loading subst-big5...
 Loading subst-jis...
 
 In org-finalize-agenda:
 org-agenda.el:2777:26:Warning: reference to free variable
   `org-agenda-overriding-columns-format'
 
 In end of data:
 org-agenda.el:7662:1:Warning: the following functions might not be defined at
   runtime: calendar-goto-date, calendar-iso-date-string,
   calendar-julian-date-string, calendar-astro-date-string,
   calendar-hebrew-date-string, calendar-islamic-date-string,
   calendar-french-date-string, calendar-bahai-date-string,
   calendar-mayan-date-string, calendar-coptic-date-string,
   calendar-ethiopic-date-string, calendar-persian-date-string,
   calendar-chinese-date-string
 org-agenda.el:7662:1:Warning: the following functions are not known to be
   defined: org-habit-insert-consistency-graphs, calendar-iso-from-absolute,
   org-is-habit-p, org-habit-parse-todo, org-habit-get-priority,
   org-columns-quit, calendar-absolute-from-iso, mouse-set-point

[Orgmode] Cannot compile release

2010-04-06 Thread Jean-Marie Gaillourdet
Hi Carsten,

Thanks for another release!

But I've been unable to compile this version.
A make clean  make all fails with

...
emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) 
\/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) 
(expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-entities.el
Loading subst-ksc...
Loading subst-gb2312...
Loading subst-big5...
Loading subst-jis...

In toplevel form:
org-entities.el:29:19:Warning: reference to free variable `org-table-align'

In end of data:
org-entities.el:489:1:Warning: the following functions are not known to be
defined: declare-function, org-table-align

This happen with the pre-installed emacs of Mac OS X (Snow Leopard) and with
Carbon Emacs.

$ emacs --version
GNU Emacs 22.1.1
Copyright (C) 2007 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

Regards,
Jean-Marie




___
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] Re: A simpler remember architecture

2009-10-02 Thread Jean-Marie Gaillourdet
Hi,

At Thu, 01 Oct 2009 14:41:39 -0400,
Bernt Hansen wrote:
 C-u C-c C-x C-i i

Perhaps, it's worth considering shorter and easier to remember
keyboard shortcuts.

 Should clock in the interrupted task.  Then I use org-clock-goto to get
 to it quickly (which is bound to F11 for me)

Does this work in the remember buffer or after the remember buffer is
finalized?

Best regards,
Jean-Marie


___
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: A simpler remember architecture (was: Re: [Orgmode] Re: is there a hook to save a remember buffer?)

2009-10-01 Thread Jean-Marie Gaillourdet
Hi,

while we are discussing a new org-remember facility. I've been missing
an option to clock the time I've taken to write down my remember note.
E.g. I use remember to make a small protocoll of a telephone call or
some discussion with a colleague. It would help me alot to if that
time would be clocked automatically. 

After the remember note is finalized the previous cloked in task
should become active again. Perhaps with some kind of optional
message/popup/whatever to say: Well, you were doing this before, I
clocked you in again.

It would be even cooler to have a per template flag saying the clock
information should be written into a new headline at some other place.
This would allow to have a log of all remembering actions, that is
separated from the log of the task which were created during
remembering.

I hope this makes sense for someone else as well.

-- Jean-Marie



___
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 Jean-Marie Gaillourdet

Am 16.09.09 11:46, schrieb Bastien:
 Sebastian Rosesebastian_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.

Another interesting source for inspiration might be the tutorials of the 
TikZ/PGF Manual. 
http://www.ctan.org/tex-archive/graphics/pgf/base/doc/generic/pgf/pgfmanual.pdf 
page 20 till 54


These tutorials are a nice contrast to the huge amount of reference 
material available in the rest of the tikz manual.


Just my 2cents

Regards,
-- Jean-Marie


___
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-26 Thread Jean-Marie Gaillourdet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Carsten Dominik wrote:
 we have the proposal to do the following key changes in the agenda:
 
 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
 2. Use the keys n and p to switch the agenda to earlier
and later dates.
 
 I would like to call a vote on this issue.  Please weigh in.
 Should we make this change?  yes or no?
Yes, since n and p are nearer to the home row of the keyboard.


- - Jean

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqU0VwACgkQNIUNP/I5YOjPKgCgvIFleREVS1JhxMlX6YcSx0h5
7WwAnjzmsrA5zcPv50Zy8LiVIN5wsPZD
=+hlq
-END PGP SIGNATURE-


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


[Orgmode] build failure

2009-06-07 Thread Jean-Marie Gaillourdet
1;2c


___
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