[Orgmode] org-remember support in xournal

2010-01-31 Thread D M German

Hi everybody,

I am sorry I have been a bit slow to finish the integration of xournal
with remember mode. I think I got it working. 

My branch of xournal is available at github:

http://github.com/jboecker/xournal

If the loaded file in xournal is a PDF, the remember link is created to
the .pdf file. Otherwise it is created to the .xoj file.

In both cases the protocol is docview:

emacsclient 'org-protocol://remember://docview:filename::pagenumber

Evince has become a bit trickier because it does not support jumping to
a specific page number (it uses labels instead). So I need to do a bit 
more hacking within it.

Remember, this is an unofficial branch of xournal. It actually supports
more features than xournal (such as jumping to previous, next
annotation, very, very rough search features, and ability to attach
images to the xoj file. 

--dmg



-- 
--
Daniel M. German  
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .


___
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: org-remember support in xournal

2010-01-31 Thread dmg

 My branch of xournal is available at github:

 http://github.com/jboecker/xournal

My apologies. I pointed to the wrong branch of xournal, mine is:

http://github.com/dmgerman/xournal

--dmg


___
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: Docstring for org-cycle does not document org-cycle-level behavior

2010-01-31 Thread Noorul Islam
Ryan Thompson r...@thompsonclan.org writes:

 Title says it all. In recent versions of Org, doing org-cycle at the end of
 an empty headline will cycle that headline through different levels, if the
 appropriate variable is non-nil. However, the docstring does not mention

What is the appropriate variable? 

Thank you!
Noorul



___
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] ics file not understood by google calendar

2010-01-31 Thread Vagn Johansen

Some time ago I could export to an ics file via C-c C-e i, store the
file on a web server and point google calendar to it. This way I could
easily see my upcoming tasks on my personalized google page
(http://www.google.com/ig) which I use as my browser home page.

This does not work anymore (Org-mode version 6.33f). The calendar is
imported without error but there are no entries in the google
calendars.

Here is a small sample (that shows the problem)

http://ozymandias.dk/test/test9365.org

http://ozymandias.dk/test/test9365.ics

From my custom file
  ..
  '(org-icalendar-include-todo (quote all) t)
  '(org-icalendar-timezone Europe/Berlin)
  ..


Note: I have also tried to import the ics file in the iCal program on
a macbook (10.4). the todo items are shown on the list of entries at
the right side of the screen, but none of the entries are shown in
week/month/etc view in the middle.

-- 
Vagn Johansen



___
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: ics file not understood by google calendar

2010-01-31 Thread Vagn Johansen

I just discovered some entries in google calendar which comes from an
org export to ics that was done half a year ago. They use VEVENT (as
opposed to VTODO).

This works

BEGIN:VEVENT
UID: TS-9164991C-7E1A-4D65-8A44-3674B236A836
DTSTART;VALUE=DATE:20090621
DTEND;VALUE=DATE:20090622
SUMMARY:leg press
DESCRIPTION: 2009-06-21 Sun\nfik tips fra Martin om l...
CATEGORIES:privat
END:VEVENT

Does not work (test9365.ics)

BEGIN:VTODO
UID: TODO-34C3192F-21FE-48C1-BFD7-7934B51D03A3
DTSTART;VALUE=DATE:20100201
SUMMARY:feb1
CATEGORIES:test9365
SEQUENCE:1
PRIORITY:5
STATUS:NEEDS-ACTION
END:VTODO

If i change the first todo in test9365.ics to use VEVENT and save it
at http://ozymandias.dk/test/test9365c.ics then the event shows up in
google calendar.

-- 
Vagn Johansen



___
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 to support remember in evince

2010-01-31 Thread D M German

here is a patch to support remember inside evince.

http://turingmachine.org/~dmg/temp/0001-Added-support-for-xournal-but-docview-linking-needs-.patch
 

I tried to pass the text selection to remember, but it does not
work (org-protocol://remember://docview:filename::pagenumber::selection).

Looking at the code of org-docview.el I can see that its code does not
support splitting the selection. I suspect this is a minor change
required. Any suggestions on how to change it?


-- 
--
Daniel M. German  
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .


___
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] How to change/add TODO keywords while refiling?

2010-01-31 Thread Martin Stemplinger

Hi all,

I use org-mode as a my getting things done implementation with TODO 
keywords to denote the context in which an action is possible. Also I use 
remember to capture new ideas which I refile later.


Now my question is if it is possible during refileng to add or change TODO 
keywords? Right now I refile and then search through my org-file to change 
the keywords. But since org-mode allows you to do everything in a smart way 
I must miss something obvious.


Any hints?

Thanks
Martin 




___
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] Latex export with python source code included.

2010-01-31 Thread Michael Bernhard Arp Sørensen
Hi all.

How do I make sure that latex package listings is used and how do I use it
to show the content of a python-file?

I want to include some python code, but it's all ugly when outputtet to PDF

Is there a better way to show source code in org? At the moment I'm
using: #+INCLUDE: matrix-citizen.07.py src python. Looks bad in
PDF-exports.

I tried using:

#+begin_src python
print Hello World!
#+end_src

But then I have to cut and paste ALL my code while I'd rather just include
the code.

Med venlig hilsen/Kind regards

Michael B. Arp Sørensen
Programmer / BOFH
___
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] Key remapping

2010-01-31 Thread Deric Bytes
I have my keys bound in unconventional places.  I was wondering if I would
get any problems changing the following in the source code


;;  (define-key org-mode-map \C-k 'org-kill-line)
(define-key org-mode-map [remap kill-line] 'org-kill-line)
___
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] org-mode news as a feed

2010-01-31 Thread Łukasz Stelmach
Greetings.

Could you please consider publishing the News form the org-mode web
page as an RSS or Atom feed?

-- 
Miłego dnia,
Łukasz Stelmach



___
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-mode news as a feed

2010-01-31 Thread Carsten Dominik


On Jan 31, 2010, at 3:59 PM, Łukasz Stelmach wrote:


Greetings.

Could you please consider publishing the News form the org-mode web
page as an RSS or Atom feed?


I don't know how to do this, so no.

Unless someone can do this for me, in a simple way.

- Carsten



___
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] a bug @ remember template

2010-01-31 Thread zwz
I use org-remember for my contact records.

This is a template in org-remember-templates
(Contact ?c * %^{Name} \n%[~/.contact]\n contact.org Contacts)

the content of the file ~/.contact:
:PROPERTIES:
:Mobile: %^{mobile}
:Email:
:Added: %u
:END:

I found that the prompt %^{mobile} works, but *the inactive time stamp %u
does not.* It is not replaced.

I guess it is a bug.




___
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] ASCIIMathML or LaTeXMathML for HTML?

2010-01-31 Thread Xiao-Yong Jin
On Fri, 29 Jan 2010 11:47:48 +0100, Darlan Cavalcante Moreira wrote:

 A good alternative for creating web pages with math is using jsMath [1]. It 
 uses
 java script to replace latex notation with symbols in some fonts provided by
 it. It works really well after everything is setup and does not suffer the
 problem of poor mathML support by some browsers, since its only javascript.

 Because the replacements are done only when the web page is viewed the 
 publishing
 from org-mode is really fast (you need to tell org-mode not to interpret or
 replace any latex syntax in the equations). Also, after google chrome was
 released and every browser is increasing javascript speed the replacements 
 when
 the web page is viewed in a browser are fast even when there are a lot of
 equations.

 There is a page in worg [2] that explains how to get jsMath working with
 org-mode.

  - Darlan

 [1] http://www.math.union.edu/~dpvc/jsMath/
 [2] http://orgmode.org/worg/org-tutorials/org-jsmath.php

It looks very good.  Thanks.
-- 
Jc/*__o/*
X\ * (__
Y*/\  


___
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] ASCIIMathML or LaTeXMathML for HTML?

2010-01-31 Thread Carsten Dominik


On Jan 31, 2010, at 5:31 PM, Xiao-Yong Jin wrote:


On Fri, 29 Jan 2010 11:47:48 +0100, Darlan Cavalcante Moreira wrote:

A good alternative for creating web pages with math is using jsMath  
[1]. It uses
java script to replace latex notation with symbols in some fonts  
provided by
it. It works really well after everything is setup and does not  
suffer the
problem of poor mathML support by some browsers, since its only  
javascript.


Because the replacements are done only when the web page is viewed  
the publishing
from org-mode is really fast (you need to tell org-mode not to  
interpret or
replace any latex syntax in the equations). Also, after google  
chrome was
released and every browser is increasing javascript speed the  
replacements when
the web page is viewed in a browser are fast even when there are a  
lot of

equations.


There is a page in worg [2] that explains how to get jsMath working  
with

org-mode.



- Darlan



[1] http://www.math.union.edu/~dpvc/jsMath/
[2] http://orgmode.org/worg/org-tutorials/org-jsmath.php




It looks very good.  Thanks.



I guess that means we don't have to look into asciimathml?

- Carsten


--
Jc/*__o/*
X\ * (__
Y*/\  


___
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


- Carsten





___
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/add TODO keywords while refiling?

2010-01-31 Thread Carsten Dominik


On Jan 31, 2010, at 11:26 AM, Martin Stemplinger wrote:


Hi all,

I use org-mode as a my getting things done implementation with  
TODO keywords to denote the context in which an action is possible.  
Also I use remember to capture new ideas which I refile later.


Now my question is if it is possible during refileng to add or  
change TODO keywords? Right now I refile and then search through my  
org-file to change the keywords. But since org-mode allows you to do  
everything in a smart way I must miss something obvious.


Hi Martin,

why do you need to do it during refiling.  Can't you just do it  
before refiling?


- Carsten



___
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: Docstring for org-cycle does not document org-cycle-level behavior

2010-01-31 Thread Ryan Thompson
The variable is org-cycle-level-after-item/entry-creation.

On Sun, Jan 31, 2010 at 12:54 AM, Noorul Islam gnu...@gmail.com wrote:
 Ryan Thompson r...@thompsonclan.org writes:

 Title says it all. In recent versions of Org, doing org-cycle at the end of
 an empty headline will cycle that headline through different levels, if the
 appropriate variable is non-nil. However, the docstring does not mention

 What is the appropriate variable?

 Thank you!
 Noorul




___
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] Latex export with python source code included.

2010-01-31 Thread Pierre de Buyl

If your scope is latex only, add
#+LaTeX_HEADER: \usepackage{listings}

and in the body of the document use
#+LaTeX: \lstinputlisting{codefile.py}

Pierre
Le 31 janv. 10 à 11:40, Michael Bernhard Arp Sørensen a écrit :


Hi all.

How do I make sure that latex package listings is used and how do  
I use it to show the content of a python-file?


I want to include some python code, but it's all ugly when  
outputtet to PDF


Is there a better way to show source code in org? At the moment I'm  
using: #+INCLUDE: matrix-citizen.07.py src python. Looks bad in  
PDF-exports.


I tried using:

#+begin_src python
print Hello World!
#+end_src

But then I have to cut and paste ALL my code while I'd rather just  
include the code.


Med venlig hilsen/Kind regards

Michael B. Arp Sørensen
Programmer / BOFH
___
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




___
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] Bug: org-habit and headlines with links

2010-01-31 Thread Luke Amdor
That fixed it. Thanks!

Luke


On Thu, Jan 28, 2010 at 11:32 AM, Carsten Dominik carsten.domi...@gmail.com
 wrote:

 Hi Luke,

 thanks for the bisect, that was useful.

 Could you please try if the following patch does reliably fix this problem?

 Thanks!!

 - Carsten

 diff --git a/lisp/org-habit.el b/lisp/org-habit.el
 index cf53057..deb8132 100644
 --- a/lisp/org-habit.el
 +++ b/lisp/org-habit.el
 @@ -305,7 +305,7 @@ current time.
  (defun org-habit-insert-consistency-graphs (optional line)
   Insert consistency graph for any habitual tasks.
   (let ((inhibit-read-only t) l c
 -   (buffer-invisibility-spec nil)
 +   (buffer-invisibility-spec '(org-link))
(moment (time-subtract (current-time)
   (list 0 (* 3600 org-extend-today-until) 0
 (save-excursion


 On Jan 17, 2010, at 4:45 PM, Luke Amdor wrote:

  When I have a headline with a link on it and I have that headline's habit
 property set to true, org-habit will barf all over my link when presenting
 the agenda. This will only happen when org-habit-graph-column is set
 something shorter than the full raw text of the link (which is about all of
 them).

 I ran git bisect on org-mode and found the bad commit to be:

 commit 2f5f6e401f187c2db8131cdbc4355b688ce4c55a
 Author: Carsten Dominik carsten.domi...@gmail.com
 Date:   Mon Jan 4 09:58:53 2010 +0100

Turn off invisibility while constructing habit graphs

Bernt Hansen reported strange things happening to the display when
graph tasks are hidden while updating a task in the agenda.

 Here's my bisect log:

 # bad: [0e370d498b34469a025cdce864fd5c5987bf8050] Fix typo
 # good: [a7fb89e9edf59f50294199046e570b4b11bb13b1] Merge branch 'master'
 of git+ssh://repo.or.cz/srv/git/org-mode
 git bisect start 'origin/master' 'HEAD'
 # good: [21ad7f0bef20addfe15fbe3e95d65e6c810d68f1] Fix typo
 git bisect good 21ad7f0bef20addfe15fbe3e95d65e6c810d68f1
 # good: [0b5d9bf1c62454523b275dd6a6b95bf881580eb1] Merge branch
 'org-ctags'
 git bisect good 0b5d9bf1c62454523b275dd6a6b95bf881580eb1
 # bad: [588a42d4fd2e59e3f69d5a3f9ea00ff3a64f5df9] org-exp-generic.el: Fix
 bug with closing bodies
 git bisect bad 588a42d4fd2e59e3f69d5a3f9ea00ff3a64f5df9
 # bad: [32441cd15150f541d3ba50633cfb9fffc8d3d11a] Fix agenda link opening
 bug
 git bisect bad 32441cd15150f541d3ba50633cfb9fffc8d3d11a
 # bad: [ddcb2be1c8920fabfbca3777cc774ed1ac653a6e] Work-around for
 formatting bug with email subject line from wanderlust
 git bisect bad ddcb2be1c8920fabfbca3777cc774ed1ac653a6e
 # good: [c23ade5d8e4b3cd4f0c4dbe5260cad1f227d2710] Make C-c r C customize
 remember templates
 git bisect good c23ade5d8e4b3cd4f0c4dbe5260cad1f227d2710
 # good: [f266ee62bb8282cc883adea9f26362b2d3b1ab7d] Fix typo
 git bisect good f266ee62bb8282cc883adea9f26362b2d3b1ab7d
 # bad: [2f5f6e401f187c2db8131cdbc4355b688ce4c55a] Turn off invisibility
 while constructing habit graphs
 git bisect bad 2f5f6e401f187c2db8131cdbc4355b688ce4c55a

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


 - Carsten




___
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] Hang after agenda export [6.34c]

2010-01-31 Thread manonfire
Hello,

this org-mode is fantastic but I experienced a little problem.

When trying to export the agenda with C-x C-w filename, emacs hangs and
causes high cpu load with all file types (txt,html,pdf). No file is
created.
This also happened with 6.33f.

The org-file is very simple, one heading with two scheduled items.
A backtrace after exporting to 'agenda.txt' and a few seconds later
hitting C-g:


Debugger entered--Lisp error: (quit)
  org-agenda-get-some-entry-text(#marker at 16 in test.org 5  )
  org-agenda-add-entry-text()
  run-hooks(org-agenda-before-write-hook)
  (progn (insert bs) (org-agenda-remove-marked-text (quote org-filtered))
(while (setq beg ...) (delete-region beg ...)) (run-hooks (quote
org-agenda-before-write-hook)) (cond (... ...) (... ... ... ... ... ...)
(... ... ... ...) (... ... ... ... ...) (... ... ...) (t ...)))
  (unwind-protect (progn (insert bs) (org-agenda-remove-marked-text ...)
(while ... ...) (run-hooks ...) (cond ... ... ... ... ... ...)) (and
(buffer-name temp-buffer) (kill-buffer temp-buffer)))
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ...
... ... ... ...) (and ... ...)))
  (with-current-buffer temp-buffer (unwind-protect (progn ... ... ... ...
...) (and ... ...)))
  (let ((temp-buffer ...)) (with-current-buffer temp-buffer
(unwind-protect ... ...)))
  (with-temp-buffer (insert bs) (org-agenda-remove-marked-text (quote
org-filtered)) (while (setq beg ...) (delete-region beg ...)) (run-hooks
(quote org-agenda-before-write-hook)) (cond (... ...) (... ... ... ...
... ...) (... ... ... ...) (... ... ... ... ...) (... ... ...) (t ...)))
  (let ((bs ...) beg) (org-agenda-unmark-filtered-text) (with-temp-buffer
(insert bs) (org-agenda-remove-marked-text ...) (while ... ...)
(run-hooks ...) (cond ... ... ... ... ... ...)))
  (save-window-excursion (org-agenda-mark-filtered-text) (let (... beg)
(org-agenda-unmark-filtered-text) (with-temp-buffer ... ... ... ...
...)))
  (save-excursion (save-window-excursion (org-agenda-mark-filtered-text)
(let ... ... ...)))
  (let ((ps-number-of-columns 2) (ps-landscape-mode t)
(org-agenda-add-entry-text-maxlines 5)) (save-excursion
(save-window-excursion ... ...)) #buffer *Org Agenda*)
  eval((let ((ps-number-of-columns 2) (ps-landscape-mode t)
(org-agenda-add-entry-text-maxlines 5)) (save-excursion
(save-window-excursion ... ...)) #buffer *Org Agenda*))
  org-let(((ps-number-of-columns 2) (ps-landscape-mode t)
(org-agenda-add-entry-text-maxlines 5)) (save-excursion
(save-window-excursion (org-agenda-mark-filtered-text) (let ... ...
...))) #buffer *Org Agenda*)
  org-write-agenda(~/orgfiles/agenda.txt nil)
  call-interactively(org-write-agenda nil nil)





___
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] Changing the level of a heading during an 'include'

2010-01-31 Thread Mark Elston

This may sound off-beat but I have several org files I am using
in putting together a set of notes for teaching.  Each file is for
a different class session.  Each file has several top-level headings
with sub-headings under it.

This works fine for exporting each session's notes (my teaching notes
and handouts) independently.

However, I would like to gather all these notes into a single document
that I can put in a binder with a table of contents, etc.  This would
indicate that these files would have a separate 'chapter' in the book.
That means that the top-level headings in each file should be demoted
one level when exporting the entire collection as a single volume.

Is something like this possible without going in and manually editing
each file's contents?

Mark


___
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] ASCIIMathML or LaTeXMathML for HTML?

2010-01-31 Thread Xiao-Yong Jin
On Sun, 31 Jan 2010 18:03:32 +0100, Carsten Dominik wrote:

 I guess that means we don't have to look into asciimathml?

I guess MathML based solutions should be indeed put into
lower priority, since it is not widely supported by major
browsers.

The formulae rendered by JsMath is really impressive.  I
love it more than LaTeX/PDF.  And it is definitely better
than the MathML rendered in Firefox.
-- 
Jc/*__o/*
X\ * (__
Y*/\  


___
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 with cua-mode org-support-shift-select

2010-01-31 Thread Ivan Vanyushkin

Hello.

I want to use C-x/C-c/C-v and Shift-arrows selection with org-mode.

GNU Emacs 23.1.50.1, org-mode 6.34, .emacs:
(cua-mode 1)
(setq org-support-shift-select t)

If this two options are on, then Shift key selection with arrow keys 
doesn't work: no selection, just cursor movements. According to 
http://orgmode.org/manual/Conflicts.html I think that org-mode should 
support CUA. If not, what can you suggest for correct support of 
C-x/C-c/C-v + org-support-shift-select?


As far as I can say, the reason of problem is there:

In org.el:
(defun org-call-for-shift-select (cmd)
  (let ((this-command-keys-shift-translated t))
(call-interactively cmd)))

Called like this: (org-call-for-shift-select 'forward-char)

In cua-base.el Shift key is detected like this:
(memq 'shift (event-modifiers
  (aref (this-single-command-raw-keys) 0)))
binded as pre-command-hook.

So, I think, Shift key is just not detected by CUA, and need a way to 
set it's flag. Sorry, I don't know emacs lisp.


Thank you for your suggestions.

--
Ivan Vanyushkin - Vanav.
http://vanav.com.ua
mailto:va...@vanav.com.ua
Jabber/GTalk: va...@vanav.com.ua
ICQ: 19068
Yahoo: Vanav_I
MSN: va...@vanav.com.ua



___
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] Bug with cua-mode org-support-shift-select

2010-01-31 Thread Ryan Thompson
Vanilla emacs now has shift selection (as of version 23?), so try
disabling shift select in CUA and enabling the standard shift select.

M-x customize-variable shift-select-mode

On Sun, Jan 31, 2010 at 2:36 PM, Ivan Vanyushkin va...@vanav.com.ua wrote:
 Hello.

 I want to use C-x/C-c/C-v and Shift-arrows selection with org-mode.

 GNU Emacs 23.1.50.1, org-mode 6.34, .emacs:
 (cua-mode 1)
 (setq org-support-shift-select t)

 If this two options are on, then Shift key selection with arrow keys doesn't
 work: no selection, just cursor movements. According to
 http://orgmode.org/manual/Conflicts.html I think that org-mode should
 support CUA. If not, what can you suggest for correct support of C-x/C-c/C-v
 + org-support-shift-select?

 As far as I can say, the reason of problem is there:

 In org.el:
 (defun org-call-for-shift-select (cmd)
  (let ((this-command-keys-shift-translated t))
    (call-interactively cmd)))

 Called like this: (org-call-for-shift-select 'forward-char)

 In cua-base.el Shift key is detected like this:
    (memq 'shift (event-modifiers
              (aref (this-single-command-raw-keys) 0)))
 binded as pre-command-hook.

 So, I think, Shift key is just not detected by CUA, and need a way to set
 it's flag. Sorry, I don't know emacs lisp.

 Thank you for your suggestions.

 --
 Ivan Vanyushkin - Vanav.
 http://vanav.com.ua
 mailto:va...@vanav.com.ua
 Jabber/GTalk: va...@vanav.com.ua
 ICQ: 19068
 Yahoo: Vanav_I
 MSN: va...@vanav.com.ua



 ___
 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



___
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] The ditaa picture

2010-01-31 Thread Chao Lu
Hey Eric,

Thanks for the tip, it works well here!

Yet another further question, is it possible to assign the directory where
the picture should be exported to? For it is kind of messy if all the
figures goes to the root directory.

Thanks a lot for your help,

Chao

On Sat, Jan 30, 2010 at 7:46 PM, Eric Schulte schulte.e...@gmail.comwrote:

 Hi Chao,

 I don't believe that it is currently possible to customize the file
 names in the ways you have described using the standard begin_ditaa
 blocks.  It is possible to have complete control over the file names
 using org-babel, in which case the corresponding block would look like

 
 #+begin_src ditaa :file communication.png :exports results

  blabla

 #+end_src
 

 then the image will be created on export, and you can also preview the
 image by pressing C-c C-o on the block.

 To activate org-babel add the following to your Emacs configuration

 (require 'org-babel-init)
 (require 'org-babel-ditaa)

 Best -- Eric

 Chao Lu looc...@gmail.com writes:

  Dear all,
 
  When I'm using the ditaa in a org file called pearl.org, by
 
  
  #+begin_ditaa communication.png
 
  blabla
 
  #+end_ditaa
  
 
  It generates a file called
 communication_5e2f49c31c46339e8e3af9ef8a2fd2dfa3d1fe74.png,
  but this picture is right located at the same file as the org file(
 pearl.org). Is it
  possible to let it go to certain dir like the latex pictures do? And is
 it possible to
  let the generated picture has the prefix of the org file name
 automatically, like
  org_communication_5e2f49c31c46339e8e3af9ef8a2fd2dfa3d1fe74.png?
 
  Thanks,
 
  Chao
 
  ___
  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

___
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: Hang after agenda export [6.34c]

2010-01-31 Thread Noorul Islam K M
manonf...@lavabit.com writes:

 Hello,

 this org-mode is fantastic but I experienced a little problem.

 When trying to export the agenda with C-x C-w filename, emacs hangs and
 causes high cpu load with all file types (txt,html,pdf). No file is
 created.
 This also happened with 6.33f.

I have a huge org file and I am not facing this problem with 6.34trans.

Do you mind sharing the org file. Looks like some issue with the file.

Thanks
Noorul


___
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] Overview mode of info.js

2010-01-31 Thread Chao Lu
Dear all,

As I'm trying to adjust the setting of info.js, I found when I set the view
to be overview, it does not behave like what I expected. I just want the
headlines to be shown, but by default, Org seems expand the content of the
first section as well. So how could I modify this stuff?

Thanks a lot,

Chao
___
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: Hang after agenda export [6.34c]

2010-01-31 Thread manonfire
The problem could be solved by removing the example code snippet suggested
in the manual (Page 104 for 6.34c) from .emacs which is

(setq org-agenda-exporter-setting)
'((ps-number-of-columns 2)
 (ps-landscape-mode t)
 (org-agenda-add-entry-text-maxlines 5)))


Export to txt and html works now. But for pdf I get an error message:

Symbol's function definition is void: flet




When trying to export the agenda with C-x C-w filename, emacs hangs and
causes high cpu load with all file types (txt,html,pdf). No file is
created.
This also happened with 6.33f.
The org-file is very simple, one heading with two scheduled items.

Manonfire




___
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] a bug @ remember template

2010-01-31 Thread Carsten Dominik


On Jan 31, 2010, at 5:00 PM, zwz wrote:


I use org-remember for my contact records.

This is a template in org-remember-templates
(Contact ?c * %^{Name} \n%[~/.contact]\n contact.org Contacts)

the content of the file ~/.contact:
:PROPERTIES:
:Mobile: %^{mobile}
:Email:
:Added: %u
:END:

I found that the prompt %^{mobile} works, but *the inactive time  
stamp %u

does not.* It is not replaced.

I guess it is a bug.



Maybe not a bug - this simplt depends on the sequence
in which % escapes are expanded in the template.

However, I can see that it could be nice to define the templates
in a separate file like you do - so I have changed the sequence now.
File insertion happens first, so that this should now work (untested).

HTH

- Carsten






___
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


- Carsten





___
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: How to disable localtoc of info.js

2010-01-31 Thread Carsten Dominik


On Jan 30, 2010, at 8:21 AM, Chao Lu wrote:


Dear all,

I was trying to disable the localtoc in org file, using


#+INFOJS_OPT: localtoc:nil
---

But it doesn't work, does anyone have some idea?


Yes, read the manual more carefully :-)  It is ltoc, not localtoc.

HTH

- Carsten





___
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] ics file not understood by google calendar

2010-01-31 Thread Carsten Dominik

Hi Vagn,

you are saying that this used to work out of the box and no longer does?
Could you please git bisect to identify the offending commit?

Thanks.

- Carsten

On Jan 31, 2010, at 10:47 AM, Vagn Johansen wrote:



Some time ago I could export to an ics file via C-c C-e i, store the
file on a web server and point google calendar to it. This way I could
easily see my upcoming tasks on my personalized google page
(http://www.google.com/ig) which I use as my browser home page.

This does not work anymore (Org-mode version 6.33f). The calendar is
imported without error but there are no entries in the google
calendars.

Here is a small sample (that shows the problem)

http://ozymandias.dk/test/test9365.org

http://ozymandias.dk/test/test9365.ics

From my custom file
 ..
 '(org-icalendar-include-todo (quote all) t)
 '(org-icalendar-timezone Europe/Berlin)
 ..


Note: I have also tried to import the ics file in the iCal program on
a macbook (10.4). the todo items are shown on the list of entries at
the right side of the screen, but none of the entries are shown in
week/month/etc view in the middle.

--
Vagn Johansen



___
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


- Carsten





___
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] Bug: Docstring for org-cycle does not document org-cycle-level behavior

2010-01-31 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Jan 29, 2010, at 9:52 PM, Ryan Thompson wrote:

Title says it all. In recent versions of Org, doing org-cycle at the  
end of an empty headline will cycle that headline through different  
levels, if the appropriate variable is non-nil. However, the  
docstring does not mention this feature.


org-version = 6.34c
___
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


- Carsten





___
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] Bug: \log and friends are not recognized as math [6.34b]

2010-01-31 Thread Carsten Dominik

Hi Rasmus, thanks for this.

Unfortunately, it turns out, all of these are already in org-html- 
entities.
But Org does not have a secure way to detect which of these macros  
require

math mode and which not.

So here is a request for a volunteer.  Go through the list below
and mark all macros according to three criteria:

1. Does not exist in TeX/LaTeX
2. Requires math-mode
3. Does not require math mode.
4. Is there another category, like this cannot be used in math mode?

That would be a big help and let me fix the issue brought up by Rasmus.

As this is a long list, maybe first post here that you are going
to do it, so that not several people work on the same task.

Thanks.

- Carsten

\nbsp
\iexcl
\cent
\pound
\curren
\yen
\brvbar
\vert
\sect
\uml
\copy
\ordf
\laquo
\not
\shy
\reg
\macr
\deg
\pm
\plusmn
\sup2
\sup3
\acute
\micro
\para
\middot
\odot
\star
\cedil
\sup1
\ordm
\raquo
\frac14
\frac12
\frac34
\iquest
\Agrave
\Aacute
\Acirc
\Atilde
\Auml
\Aring
\AA
\AElig
\Ccedil
\Egrave
\Eacute
\Ecirc
\Euml
\Igrave
\Iacute
\Icirc
\Iuml
\ETH
\Ntilde
\Ograve
\Oacute
\Ocirc
\Otilde
\Ouml
\times
\Oslash
\Ugrave
\Uacute
\Ucirc
\Uuml
\Yacute
\THORN
\szlig
\agrave
\aacute
\acirc
\atilde
\auml
\aring
\aelig
\ccedil
\checkmark
\egrave
\eacute
\ecirc
\euml
\igrave
\iacute
\icirc
\iuml
\eth
\ntilde
\ograve
\oacute
\ocirc
\otilde
\ouml
\divide
\oslash
\ugrave
\uacute
\ucirc
\uuml
\yacute
\thorn
\yuml
\fnof
\Alpha
\Beta
\Gamma
\Delta
\Epsilon
\Zeta
\Eta
\Theta
\Iota
\Kappa
\Lambda
\Mu
\Nu
\Xi
\Omicron
\Pi
\Rho
\Sigma
\Tau
\Upsilon
\Phi
\Chi
\Psi
\Omega
\alpha
\beta
\gamma
\delta
\epsilon
\varepsilon
\zeta
\eta
\theta
\iota
\kappa
\lambda
\mu
\nu
\xi
\omicron
\pi
\rho
\sigmaf
\varsigma
\sigma
\tau
\upsilon
\phi
\chi
\psi
\omega
\thetasym
\vartheta
\upsih
\piv
\bull
\bullet
\hellip
\dots
\prime
\Prime
\oline
\frasl
\weierp
\image
\real
\trade
\alefsym
\larr
\leftarrow
\gets
\uarr
\uparrow
\rarr
\to
\rightarrow
\darr
\downarrow
\harr
\leftrightarrow
\crarr
\hookleftarrow
\lArr
\Leftarrow
\uArr
\Uparrow
\rArr
\Rightarrow
\dArr
\Downarrow
\hArr
\Leftrightarrow
\forall
\part
\partial
\exist
\exists
\empty
\emptyset
\nabla
\isin
\in
\notin
\ni
\prod
\sum
\minus
\lowast
\ast
\radic
\prop
\proptp
\infin
\infty
\ang
\angle
\and
\wedge
\or
\vee
\cap
\cup
\int
\there4
\sim
\cong
\simeq
\asymp
\approx
\ne
\neq
\equiv
\le
\ge
\sub
\subset
\sup
\supset
\nsub
\sube
\supe
\oplus
\otimes
\perp
\sdot
\cdot
\lceil
\rceil
\lfloor
\rfloor
\lang
\rang
\loz
\Diamond
\spades
\spadesuit
\clubs
\clubsuit
\hearts
\diamondsuit
\diams
\diamondsuit
\smile
\blacksmile
\sad
\quot
\amp
\lt
\gt
\OElig
\oelig
\Scaron
\scaron
\Yuml
\circ
\tilde
\ensp
\emsp
\thinsp
\zwnj
\zwj
\lrm
\rlm
\ndash
\mdash
\lsquo
\rsquo
\sbquo
\ldquo
\rdquo
\bdquo
\dagger
\Dagger
\permil
\lsaquo
\rsaquo
\euro
\EUR
\EURdig
\EURhv
\EURcr
\EURtm
\arccos
\arcsin
\arctan
\arg
\cos
\cosh
\cot
\coth
\csc
\deg
\det
\dim
\exp
\gcd
\hom
\inf
\ker
\lg
\lim
\liminf
\limsup
\ln
\log
\max
\min
\Pr
\sec
\sin
\sinh
\sup
\tan
\tanh



___
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