Re: [Orgmode] bug in org-table?

2010-04-07 Thread Carsten Dominik

Hi Rainer,

this works just fine for me.

- Carsten

On Apr 6, 2010, at 11:42 PM, Rainer Thiel wrote:


I have noticed recently what I think may be a bug in org table:  When
I hold the mouse over a narrowed field, the tool-tip window shows only
the text Clipped table field, use C-c ` to edit. Full value is: and
an empty line after that.  The full text is not shown.  I had first
noticed this bug in org-version 6.34c, but I now see the problem is
still there in v. 6.35.

I have exprienced this behaviour on the following file:

---

| Title1 | Title2  |
|+-|
| One rather long entry | Short entry |
| 10   | |
---

I remember the feature worked correctly in earlier versions of org- 
mode.


Any idea what might be behind that problem?

Many thanks again for this great mode,

Rainer
--
Prof. Dr. Rainer Thiel
Dekan Philosophische Fakultät
07737 Jena, Germany (EU)
r.th...@uni-jena.de


___
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: Bug: (REVISED) trouble with updated latex export [6.35 (release_6.35a.26.g78cc)]

2010-04-07 Thread Austin Frank
On Wed, Apr 07 2010, Austin Frank wrote:

 I then document some unexpected behavior when exporting to latex.
 Options specified with #+LATEX_HEADER are not exported, and if
 `org-export-latex-packages-alist' is customized then only those packages
 are exported.

Upgrading to Org-mode version 6.35b (release_6.35b.27.g35f5) allows my
packages from `org-export-latex-packages-alist' packages to be exported
correctly, but following the steps in my previous mail still does not
result in the inclusion of packages specified in #+LATEX_HEADER lines.

Thanks,
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc


pgpxScspNd67E.pgp
Description: PGP signature
___
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: Bug: (REVISED) trouble with updated latex export [6.35 (release_6.35a.26.g78cc)]

2010-04-07 Thread Carsten Dominik


On Apr 7, 2010, at 8:17 AM, Austin Frank wrote:


On Wed, Apr 07 2010, Austin Frank wrote:


I then document some unexpected behavior when exporting to latex.
Options specified with #+LATEX_HEADER are not exported, and if
`org-export-latex-packages-alist' is customized then only those  
packages

are exported.


Upgrading to Org-mode version 6.35b (release_6.35b.27.g35f5) allows my
packages from `org-export-latex-packages-alist' packages to be  
exported

correctly, but following the steps in my previous mail still does not
result in the inclusion of packages specified in #+LATEX_HEADER lines.


Looks I am having a bad day.

Can you please pull and try again?  As soon as possible?

- Carsten



Thanks,
/au

--
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc
___
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] Re: Bug: (REVISED) trouble with updated latex export [6.35 (release_6.35a.26.g78cc)]

2010-04-07 Thread Robert Klein

Am 07.04.2010, 09:17 Uhr, schrieb Austin Frank austin.fr...@gmail.com:


On Wed, Apr 07 2010, Austin Frank wrote:


I then document some unexpected behavior when exporting to latex.
Options specified with #+LATEX_HEADER are not exported, and if
`org-export-latex-packages-alist' is customized then only those packages
are exported.


Upgrading to Org-mode version 6.35b (release_6.35b.27.g35f5) allows my
packages from `org-export-latex-packages-alist' packages to be exported
correctly, but following the steps in my previous mail still does not
result in the inclusion of packages specified in #+LATEX_HEADER lines.



I can confirm this for 6.35b: #+LaTeX_HEADER lines are getting ignored.


Also, when I put

(add-to-list 'org-export-latex-packages-alist '( listings))

into my .emacs-file it is put twice into the resulting tex file.

Best regards
Robert


___
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: (REVISED) trouble with updated latex export [6.35 (release_6.35a.26.g78cc)]

2010-04-07 Thread Austin Frank
On Wed, Apr 07 2010, Robert Klein wrote:

 Also, when I put

 (add-to-list 'org-export-latex-packages-alist '( listings))

What's the value of `org-export-latex-listings'?  Carsten, how should
listings be addressed in the new setup?

Thanks,
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc


pgpPPMYqkomZU.pgp
Description: PGP signature
___
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: Bug: (REVISED) trouble with updated latex export [6.35 (release_6.35a.26.g78cc)]

2010-04-07 Thread Robert Klein

Am 07.04.2010, 09:43 Uhr, schrieb Austin Frank austin.fr...@gmail.com:


On Wed, Apr 07 2010, Robert Klein wrote:


Also, when I put

(add-to-list 'org-export-latex-packages-alist '( listings))


What's the value of `org-export-latex-listings'?  Carsten, how should
listings be addressed in the new setup?



It happens (-ed) with both t and nil.

However Carstens newest fix seems to have fixed this, too.

Best regards
Robert


___
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] Flyspell highlighting (again)

2010-04-07 Thread Carsten Dominik


On Apr 6, 2010, at 8:50 PM, Martin Pohlack wrote:


On 06.04.2010 19:05, Ivan Vilata i Balaguer wrote:

Here Matthew Lundin reported Flyspell highlighting URL components:
http://www.mail-archive.com/emacs-orgmode@gnu.org/msg14029.html

The issue should be fixed according to the thread, but URLs like
http://example.com/foo_blarghaa still cause problems (blarghaa is
highlighted by Flyspell).

For the wishlist, it'd also be nice to exclude #+FOO options from
flyspelling, since they tend to get highlighted when writing non- 
English text.


I'm also seeing my todo states highlighted whenever they are invalid  
words (TODO, PROJ, CONT, etc.).


Would this also be the place to exclude those?


This would require hacking the function org-mode-flyspell-verify.   
Note that this functions is called so often that is should be very  
efficient.


- 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] Re: Bug: (REVISED) trouble with updated latex export [6.35 (release_6.35a.26.g78cc)]

2010-04-07 Thread Robert Klein
Am 07.04.2010, 09:35 Uhr, schrieb Carsten Dominik  
carsten.domi...@gmail.com:




Looks I am having a bad day.

Can you please pull and try again?  As soon as possible?

- Carsten


It works for me now.

Also, the double inclusion of packages as described in my other mail  
doesn't

happen anymore.

PS: I've currently got two \usepackage{textcomp}, this is from lisp/org.el

Thanks a lot
Robert



___
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: (REVISED) trouble with updated latex export [6.35 (release_6.35a.26.g78cc)]

2010-04-07 Thread Austin Frank
On Wed, Apr 07 2010, Carsten Dominik wrote:

 Looks I am having a bad day.

 Can you please pull and try again?  As soon as possible?

This works correctly for my test file on Org-mode version 6.35b
(release_6.35b.30.g9115).  It also works for a more complex document
with my full configuration loaded.

In case it matters, the \tolerance{1000} line doesn't show up with an
org-reload.  I had to restart emacs before that aspect of the default
header was incorporated.  But I could be imagining things on that one.

Thanks,
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc


pgpyBcgTCV6tl.pgp
Description: PGP signature
___
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: Bug: (REVISED) trouble with updated latex export [6.35 (release_6.35a.26.g78cc)]

2010-04-07 Thread Carsten Dominik


On Apr 7, 2010, at 9:01 AM, Austin Frank wrote:


On Wed, Apr 07 2010, Carsten Dominik wrote:


Looks I am having a bad day.

Can you please pull and try again?  As soon as possible?


This works correctly for my test file on Org-mode version 6.35b
(release_6.35b.30.g9115).  It also works for a more complex document
with my full configuration loaded.

In case it matters, the \tolerance{1000} line doesn't show up with an
org-reload.  I had to restart emacs before that aspect of the default
header was incorporated.  But I could be imagining things on that one.


You are right, Emacs restart is required for that.

- Carsten



Thanks,
/au

--
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc
___
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: 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,
 

Re: [Orgmode] Re: IMPORTANT: (possibly) incompatible Change

2010-04-07 Thread Carsten Dominik


On Apr 6, 2010, at 8:30 PM, Robert Klein wrote:

On Tue, 06 Apr 2010 18:50:36 +0200, Karsten Heymann karsten.heym...@blue-cable.net 
 wrote:



Thanks a lot for all this, I will follow your advice.

One final question: Will any of these packages spoil the fun for
people who want to process through .dvi instead of directly to pdf?


Not as far as I know. hyperref and microtype will run with reduced
features, but apart from that, there should be no problem. Regarding
microtype, I do not know what happens when it is used with the old  
TeX
or eTeX compiler that was used to created dvi's before pdftex was  
used
for this too, but that should largely be an academic problem as  
pdftex

is now used anywhere.




In a minimal document it runs Ok with pdfeTeX, for both creating dvi  
and pdf.

(The one in teTeX 3.0.)



Thanks for checking this out.

- Carsten



Best regards
Robert


___
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] Re: IMPORTANT: (possibly) incompatible Change

2010-04-07 Thread Karsten Heymann

Thomas S. Dye t...@tsdye.com writes:
 From the microtype documentation:

  The microtype package does not work with XETEX.

That's true, but supporting xetex requires many other changes too, for
example only utf-8 input encoding is supported, the inputenc, fontspec
and font packages may not be used, special xetex packages should be
loaded and so on. Supporting XeTeX requires additional work anyway.

Yours
Karsten


___
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: IMPORTANT: (possibly) incompatible Change

2010-04-07 Thread Karsten Heymann

Carsten Dominik carsten.domi...@gmail.com writes:
 On Apr 6, 2010, at 8:48 PM, Thomas S. Dye wrote:
 From the microtype documentation:

  The microtype package does not work with XETEX.

 Does that mean it will break running XETEX, or will i just be ignored?

It only gives a (harmless) warning:

Package microtype Warning: You don't seem to be using pdftex.
(microtype)All micro-typographic features will be disabled.

But chances are high that most normal LaTeX documents will not work
with xelatex anyways due to encoding or font selection issues, so I
think unless org-mode aims at explicitely supporting XeTeX out of the
box this whole topic can (and should) be ignored.

Btw. current microtype does not support current luatex as well AFAIK,
but that can be ignored too.

Yours
Karsten


___
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] [ANN] org-mac-link-grabber: Grab links from running Mac applications

2010-04-07 Thread Carsten Dominik

Hi Anthony,

I like this a lot.

How would you and Christopher feel if we were to merge this onto
org-mac-message or the other way round?  Merging into org-mac-message
would have the advantage that we do not have to break existing setup.

- Carsten

On Apr 6, 2010, at 8:25 PM, Anthony Lander wrote:


Hi everyone,

I've put together a bit of code to grab links from open mac  
applications, and paste them at point in org documents. If your  
workflow is spend the majority of your time in org-mode typing, and  
occasionally grab links from other applications, then you might find  
this useful.


It's available as a git repository here: 
http://github.com/alander/org-mac-link-grabber

Right now it supports the following applications:

- Finder.app
- Mail.app
- Address Book.app
- Firefox.app
- Together.app

It's easy to add more, but I started here because these are the ones  
I use. There is a readme file that explains installation, usage and  
configuration.


The code uses the same method as org-mac-message by Christopher  
Suckling and John Weigley, and indeed simply wraps it for the  
Mail.app integration.


Best,

  -Anthony


___
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] Re: IMPORTANT: (possibly) incompatible Change

2010-04-07 Thread Carsten Dominik


On Apr 7, 2010, at 10:22 AM, Karsten Heymann wrote:



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

On Apr 6, 2010, at 8:48 PM, Thomas S. Dye wrote:

From the microtype documentation:


The microtype package does not work with XETEX.


Does that mean it will break running XETEX, or will i just be  
ignored?


It only gives a (harmless) warning:

Package microtype Warning: You don't seem to be using pdftex.
(microtype)All micro-typographic features will be  
disabled.


But chances are high that most normal LaTeX documents will not work
with xelatex anyways due to encoding or font selection issues, so I
think unless org-mode aims at explicitely supporting XeTeX out of the
box this whole topic can (and should) be ignored.

Btw. current microtype does not support current luatex as well AFAIK,
but that can be ignored too.


So to summarize:

- I should include the microtype package
- People using XeTeX need to tweak their setup anyway and can be  
expected

  to know about all issues related to it.

Thanks!

- 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: IMPORTANT: (possibly) incompatible Change

2010-04-07 Thread Ulf Stegemann
Karsten Heymann karsten.heym...@blue-cable.net wrote:

 Not as far as I know. hyperref and microtype will run with reduced
 features, but apart from that, there should be no problem. Regarding
 microtype, I do not know what happens when it is used with the old TeX
 or eTeX compiler that was used to created dvi's before pdftex was used
 for this too, but that should largely be an academic problem as pdftex
 is now used anywhere.

No problems here, regarding the inclusion of microtype when using latex
compiler.

However, I'd strongly oppose to the claim that compatibility to the
latex compiler (vs. pdftex) is an academic problem. I know about several
LaTeX based systems that have to use the latex compiler simply because
pdftex can't handle eps graphics and converting those images isn't
feasible. So, while in the current case there's no compatibility issue,
I think it's reasonable to support both compilers.

Ulf




___
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] Fix typo in org-entities.el

2010-04-07 Thread Julien Barnier
Hi,

A one-character fix for a typo which prevented me to build latest
org-mode git version…

Thanks,

Julien

---
 lisp/org-entities.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-entities.el b/lisp/org-entities.el
index b2afd2d..95233b5 100644
--- a/lisp/org-entities.el
+++ b/lisp/org-entities.el
@@ -66,7 +66,7 @@ utf-8 replacementUse special character available in utf-8.
 
 If you define new entities here that require specific LaTeX packages to be
 loaded, add these packages to `org-export-latex-packages-alist'.
-  :Group 'org-entities
+  :group 'org-entities
   :type '(repeat
  (list
   (string :tag name  )
-- 
1.7.0.4



___
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] Possible bug in TODO ALL agenda fast tag filter generation?

2010-04-07 Thread Tim O'Callaghan
Any idea why this is happening? I'm seeing it with the agenda t
(global todo all)

---
Global list of TODO items of type: ALL
Available with `N r': (0)ALL (1)TODO (2)NEXT (3)WAITING (4)APPT
(5)DONE (6)DEFERRED (7)CANCELLED (8)PROJECT (9)SOMEDAY (10)PROJDONE
(11)PROJCANC (12)TODO (13)NEXT (14)WAITING (15)APPT (16)DONE
(17)DEFERRED (18)CANCELLED (19)PROJECT (20)SOMEDAY (21)PROJDONE
(22)PROJCANC (23)TODO (24)NEXT (25)WAITING (26)APPT (27)DONE
(28)DEFERRED (29)CANCELLED (30)PROJECT (31)SOMEDAY (32)PROJDONE
(33)PROJCANC (34)TODO (35)NEXT (36)WAITING (37)APPT (38)DONE
(39)DEFERRED (40)CANCELLED (41)PROJECT (42)SOMEDAY (43)PROJDONE
(44)PROJCANC (45)TODO (46)NEXT (47)WAITING (48)APPT (49)DONE
(50)DEFERRED (51)CANCELLED (52)PROJECT (53)SOMEDAY (54)PROJDONE
(55)PROJCANC (56)TODO (57)NEXT (58)WAITING (59)APPT (60)DONE
(61)DEFERRED (62)CANCELLED (63)PROJECT (64)SOMEDAY (65)PROJDONE
(66)PROJCANC (67)TODO (68)NEXT (69)WAITING (70)APPT (71)DONE
(72)DEFERRED (73)CANCELLED (74)PROJECT (75)SOMEDAY (76)PROJDONE
(77)PROJCANC (78)TODO (79)NEXT (80)WAITING (81)APPT (82)DONE
(83)DEFERRED (84)CANCELLED (85)PROJECT (86)SOMEDAY (87)PROJDONE
(88)PROJCANC (89)TODO (90)NEXT (91)WAITING (92)APPT (93)DONE
(94)DEFERRED (95)CANCELLED (96)PROJECT (97)SOMEDAY (98)PROJDONE
(99)PROJCANC
---


My todo-keywords config is this:

(setq org-todo-keywords
  (quote
   ((sequence TODO(1!) NEXT(2!/!) WAITING(3@/!) APPT(4@/!)
  | DONE(0!/@!) DEFERRED(d...@!/!) CANCELLED(c...@!/!))
(type PROJECT(P!/@!) SOMEDAY(S!/@!) | PROJDONE PROJCANC)
))
  org-todo-keyword-faces
  (quote
   (
(TODO :foreground orangered :weight bold)
(NEXT :foreground gold :weight bold)
(DONE :foreground forest green :weight bold)
(WAITING :foreground orange :weight bold)
(CANCELLED :foreground indianred :weight bold)
;; project level todo indicators
(SOMEDAY :foreground orchid :weight bold)
(PROJECT :foreground grey :weight bold)
(PROJDONE :foreground forest green :weight bold)
(PROJCANC :foreground indianred :weight bold)
)))


Using git emacs 23 org git source (both as of this morning)

Tim.


___
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: Possible bug in TODO ALL agenda fast tag filter generation?

2010-04-07 Thread Tim O'Callaghan
The problem is that org-todo-keywords-1 is set for each agenda file
parsed, and that list is appended onto the
org-todo-keywords-for-agenda without any de-duplication.
The patch below fixes the problem, but possibly not in the best way.

regards,

Tim.

diff --git a/lisp/org.el b/lisp/org.el
index d80bb91..6a663b3 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -14960,6 +14960,8 @@ When a buffer is unmodified, it is just
killed.  When modified, it is saved
(add-text-properties
 (match-beginning 0) (org-end-of-subtree t) pc)))
(set-buffer-modified-p bmp)
+(setq org-todo-keywords-for-agenda
+  (org-uniquify org-todo-keywords-for-agenda))
 (setq org-todo-keyword-alist-for-agenda
  (org-uniquify org-todo-keyword-alist-for-agenda)
  org-tag-alist-for-agenda (org-uniquify org-tag-alist-for-agenda


On 7 April 2010 11:47, Tim O'Callaghan tim.ocallag...@gmail.com wrote:
 Any idea why this is happening? I'm seeing it with the agenda t
 (global todo all)

 ---
 Global list of TODO items of type: ALL
 Available with `N r': (0)ALL (1)TODO (2)NEXT (3)WAITING (4)APPT
 (5)DONE (6)DEFERRED (7)CANCELLED (8)PROJECT (9)SOMEDAY (10)PROJDONE
 (11)PROJCANC (12)TODO (13)NEXT (14)WAITING (15)APPT (16)DONE
 (17)DEFERRED (18)CANCELLED (19)PROJECT (20)SOMEDAY (21)PROJDONE
 (22)PROJCANC (23)TODO (24)NEXT (25)WAITING (26)APPT (27)DONE
 (28)DEFERRED (29)CANCELLED (30)PROJECT (31)SOMEDAY (32)PROJDONE
 (33)PROJCANC (34)TODO (35)NEXT (36)WAITING (37)APPT (38)DONE
 (39)DEFERRED (40)CANCELLED (41)PROJECT (42)SOMEDAY (43)PROJDONE
 (44)PROJCANC (45)TODO (46)NEXT (47)WAITING (48)APPT (49)DONE
 (50)DEFERRED (51)CANCELLED (52)PROJECT (53)SOMEDAY (54)PROJDONE
 (55)PROJCANC (56)TODO (57)NEXT (58)WAITING (59)APPT (60)DONE
 (61)DEFERRED (62)CANCELLED (63)PROJECT (64)SOMEDAY (65)PROJDONE
 (66)PROJCANC (67)TODO (68)NEXT (69)WAITING (70)APPT (71)DONE
 (72)DEFERRED (73)CANCELLED (74)PROJECT (75)SOMEDAY (76)PROJDONE
 (77)PROJCANC (78)TODO (79)NEXT (80)WAITING (81)APPT (82)DONE
 (83)DEFERRED (84)CANCELLED (85)PROJECT (86)SOMEDAY (87)PROJDONE
 (88)PROJCANC (89)TODO (90)NEXT (91)WAITING (92)APPT (93)DONE
 (94)DEFERRED (95)CANCELLED (96)PROJECT (97)SOMEDAY (98)PROJDONE
 (99)PROJCANC
 ---


 My todo-keywords config is this:

 (setq org-todo-keywords
      (quote
       ((sequence TODO(1!) NEXT(2!/!) WAITING(3@/!) APPT(4@/!)
                  | DONE(0!/@!) DEFERRED(d...@!/!) CANCELLED(c...@!/!))
        (type PROJECT(P!/@!) SOMEDAY(S!/@!) | PROJDONE PROJCANC)
        ))
      org-todo-keyword-faces
      (quote
       (
        (TODO :foreground orangered :weight bold)
        (NEXT :foreground gold :weight bold)
        (DONE :foreground forest green :weight bold)
        (WAITING :foreground orange :weight bold)
        (CANCELLED :foreground indianred :weight bold)
        ;; project level todo indicators
        (SOMEDAY :foreground orchid :weight bold)
        (PROJECT :foreground grey :weight bold)
        (PROJDONE :foreground forest green :weight bold)
        (PROJCANC :foreground indianred :weight bold)
        )))


 Using git emacs 23 org git source (both as of this morning)

 Tim.



___
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: IMPORTANT: (possibly) incompatible Change

2010-04-07 Thread Karsten Heymann
Hi Ulf,

Ulf Stegemann ulf-n...@zeitform.de writes:
 However, I'd strongly oppose to the claim that compatibility to the
 latex compiler (vs. pdftex) is an academic problem. I know about
 several LaTeX based systems that have to use the latex compiler simply
 because pdftex can't handle eps graphics and converting those images
 isn't feasible. So, while in the current case there's no compatibility
 issue, I think it's reasonable to support both compilers.

Are there still any systems in the wild that don't use pdftex for
latex/dvi mode? Don't be fooled by the name, when pdftex is called in
latex mode, it behaves exactly like the old tex/etex compiler and
generates the same dvi documents, supports dvips and so on. For example
on my Ubuntu 9.10 system 'latex -version' says:

kheym...@ara:~$ latex -version
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX using libpoppler copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX using libpoppler source.
Primary author of pdfTeX using libpoppler: Peter Breitenlohner (eTeX)/Han The 
Thanh (pdfTeX).
Kpathsea written by Karl Berry, Olaf Weber, and others.

Compiled with libpng 1.2.37; using libpng 1.2.37
Compiled with zlib 1.2.3.3; using zlib 1.2.3.3
Compiled with libpoppler version 0.12.0


Or did I misunderstand your remark?

Yours
Karsten


___
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: IMPORTANT: (possibly) incompatible Change

2010-04-07 Thread Karsten Heymann
Hi Carsten,

Carsten Dominik carsten.domi...@gmail.com writes:
 On Apr 7, 2010, at 10:22 AM, Karsten Heymann wrote:
 But chances are high that most normal LaTeX documents will not work
 with xelatex anyways due to encoding or font selection issues, so I
 think unless org-mode aims at explicitely supporting XeTeX out of the
 box this whole topic can (and should) be ignored.

 So to summarize:

 - I should include the microtype package
 - People using XeTeX need to tweak their setup anyway and can be
   expected to know about all issues related to it.

Yes.

Yours
Karsten


___
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: Possible bug in TODO ALL agenda fast tag filter generation?

2010-04-07 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Apr 7, 2010, at 12:20 PM, Tim O'Callaghan wrote:


The problem is that org-todo-keywords-1 is set for each agenda file
parsed, and that list is appended onto the
org-todo-keywords-for-agenda without any de-duplication.
The patch below fixes the problem, but possibly not in the best way.

regards,

Tim.

diff --git a/lisp/org.el b/lisp/org.el
index d80bb91..6a663b3 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -14960,6 +14960,8 @@ When a buffer is unmodified, it is just
killed.  When modified, it is saved
   (add-text-properties
(match-beginning 0) (org-end-of-subtree t) pc)))
   (set-buffer-modified-p bmp)
+(setq org-todo-keywords-for-agenda
+  (org-uniquify org-todo-keywords-for-agenda))
(setq org-todo-keyword-alist-for-agenda
 (org-uniquify org-todo-keyword-alist-for-agenda)
 org-tag-alist-for-agenda (org-uniquify org-tag-alist-for- 
agenda



On 7 April 2010 11:47, Tim O'Callaghan tim.ocallag...@gmail.com  
wrote:

Any idea why this is happening? I'm seeing it with the agenda t
(global todo all)

---
Global list of TODO items of type: ALL
Available with `N r': (0)ALL (1)TODO (2)NEXT (3)WAITING (4)APPT
(5)DONE (6)DEFERRED (7)CANCELLED (8)PROJECT (9)SOMEDAY (10)PROJDONE
(11)PROJCANC (12)TODO (13)NEXT (14)WAITING (15)APPT (16)DONE
(17)DEFERRED (18)CANCELLED (19)PROJECT (20)SOMEDAY (21)PROJDONE
(22)PROJCANC (23)TODO (24)NEXT (25)WAITING (26)APPT (27)DONE
(28)DEFERRED (29)CANCELLED (30)PROJECT (31)SOMEDAY (32)PROJDONE
(33)PROJCANC (34)TODO (35)NEXT (36)WAITING (37)APPT (38)DONE
(39)DEFERRED (40)CANCELLED (41)PROJECT (42)SOMEDAY (43)PROJDONE
(44)PROJCANC (45)TODO (46)NEXT (47)WAITING (48)APPT (49)DONE
(50)DEFERRED (51)CANCELLED (52)PROJECT (53)SOMEDAY (54)PROJDONE
(55)PROJCANC (56)TODO (57)NEXT (58)WAITING (59)APPT (60)DONE
(61)DEFERRED (62)CANCELLED (63)PROJECT (64)SOMEDAY (65)PROJDONE
(66)PROJCANC (67)TODO (68)NEXT (69)WAITING (70)APPT (71)DONE
(72)DEFERRED (73)CANCELLED (74)PROJECT (75)SOMEDAY (76)PROJDONE
(77)PROJCANC (78)TODO (79)NEXT (80)WAITING (81)APPT (82)DONE
(83)DEFERRED (84)CANCELLED (85)PROJECT (86)SOMEDAY (87)PROJDONE
(88)PROJCANC (89)TODO (90)NEXT (91)WAITING (92)APPT (93)DONE
(94)DEFERRED (95)CANCELLED (96)PROJECT (97)SOMEDAY (98)PROJDONE
(99)PROJCANC
---


My todo-keywords config is this:

(setq org-todo-keywords
 (quote
  ((sequence TODO(1!) NEXT(2!/!) WAITING(3@/!) APPT(4@/!)
 | DONE(0!/@!) DEFERRED(d...@!/!)  
CANCELLED(c...@!/!))
   (type PROJECT(P!/@!) SOMEDAY(S!/@!) | PROJDONE  
PROJCANC)

   ))
 org-todo-keyword-faces
 (quote
  (
   (TODO :foreground orangered :weight bold)
   (NEXT :foreground gold :weight bold)
   (DONE :foreground forest green :weight bold)
   (WAITING :foreground orange :weight bold)
   (CANCELLED :foreground indianred :weight bold)
   ;; project level todo indicators
   (SOMEDAY :foreground orchid :weight bold)
   (PROJECT :foreground grey :weight bold)
   (PROJDONE :foreground forest green :weight bold)
   (PROJCANC :foreground indianred :weight bold)
   )))


Using git emacs 23 org git source (both as of this morning)

Tim.




___
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] [PATCH] Fix typo in org-entities.el

2010-04-07 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Apr 7, 2010, at 11:31 AM, Julien Barnier wrote:


Hi,

A one-character fix for a typo which prevented me to build latest
org-mode git version…

Thanks,

Julien

---
lisp/org-entities.el |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-entities.el b/lisp/org-entities.el
index b2afd2d..95233b5 100644
--- a/lisp/org-entities.el
+++ b/lisp/org-entities.el
@@ -66,7 +66,7 @@ utf-8 replacementUse special character  
available in utf-8.


If you define new entities here that require specific LaTeX packages  
to be

loaded, add these packages to `org-export-latex-packages-alist'.
-  :Group 'org-entities
+  :group 'org-entities
  :type '(repeat
 (list
  (string :tag name  )
--
1.7.0.4



___
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: org-protocol and web links

2010-04-07 Thread Richard Riley
Matt Lundin m...@imapmail.org writes:

 Hi Richard,

 e.g I want my new org item first line to be something like the following
 if I invoke org-remember from conkeror on a web page having first
 hilited blah blah somewhere on the page

 With the following org-remember-template:

 --8---cut here---start-8---
 (setq org-remember-templates
   '(
   ;; other templates here
   (protocol ?w * %c\n %U\n\n %i nil bottom nil)
   ))
 --8---cut here---end---8---


Heh, typo in my conkerrrc where I had used a different protocol template
selector. All sorted now. Thanks for taking the time to reply.



___
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: IMPORTANT: (possibly) incompatible Change

2010-04-07 Thread Karsten Heymann
Hi,

Ulf Stegemann ulf-n...@zeitform.de writes:
 But if that wasn't your point, just forget about my remark.

Done :-)

Yours
Karsten


___
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] [ANN] org-mac-link-grabber: Grab links from running Mac applications

2010-04-07 Thread Anthony Lander


On 10-Apr-7, at 3:44 AM, Carsten Dominik wrote:


Hi Anthony,

I like this a lot.


Thank you, Carsten.


How would you and Christopher feel if we were to merge this onto
org-mac-message or the other way round?  Merging into org-mac-message
would have the advantage that we do not have to break existing setup.


I'm happy to integrate the code together in whatever way you think it  
will fit best into the other org-mode code. Christopher?


  -Anthony



- Carsten

On Apr 6, 2010, at 8:25 PM, Anthony Lander wrote:


Hi everyone,

I've put together a bit of code to grab links from open mac  
applications, and paste them at point in org documents. If your  
workflow is spend the majority of your time in org-mode typing, and  
occasionally grab links from other applications, then you might  
find this useful.


It's available as a git repository here: 
http://github.com/alander/org-mac-link-grabber

Right now it supports the following applications:

- Finder.app
- Mail.app
- Address Book.app
- Firefox.app
- Together.app

It's easy to add more, but I started here because these are the  
ones I use. There is a readme file that explains installation,  
usage and configuration.


The code uses the same method as org-mac-message by Christopher  
Suckling and John Weigley, and indeed simply wraps it for the  
Mail.app integration.


Best,

 -Anthony


___
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] [ANN] org-mac-link-grabber: Grab links from running Mac applications

2010-04-07 Thread Carsten Dominik


On Apr 7, 2010, at 3:05 PM, Anthony Lander wrote:



On 10-Apr-7, at 3:44 AM, Carsten Dominik wrote:


Hi Anthony,

I like this a lot.


Thank you, Carsten.


How would you and Christopher feel if we were to merge this onto
org-mac-message or the other way round?  Merging into org-mac-message
would have the advantage that we do not have to break existing setup.


I'm happy to integrate the code together in whatever way you think  
it will fit best into the other org-mode code.


In that case, I need to ask you to sign the papers with the FSF.  Is  
that OK with you?


http://orgmode.org/worg/org-contribute.php#sec-2

Thanks.

- Carsten


Christopher?

 -Anthony



- Carsten

On Apr 6, 2010, at 8:25 PM, Anthony Lander wrote:


Hi everyone,

I've put together a bit of code to grab links from open mac  
applications, and paste them at point in org documents. If your  
workflow is spend the majority of your time in org-mode typing,  
and occasionally grab links from other applications, then you  
might find this useful.


It's available as a git repository here: 
http://github.com/alander/org-mac-link-grabber

Right now it supports the following applications:

- Finder.app
- Mail.app
- Address Book.app
- Firefox.app
- Together.app

It's easy to add more, but I started here because these are the  
ones I use. There is a readme file that explains installation,  
usage and configuration.


The code uses the same method as org-mac-message by Christopher  
Suckling and John Weigley, and indeed simply wraps it for the  
Mail.app integration.


Best,

-Anthony


___
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] [ANN] org-mac-link-grabber: Grab links from running Mac applications

2010-04-07 Thread Anthony Lander


On 10-Apr-7, at 9:35 AM, Carsten Dominik wrote:



On Apr 7, 2010, at 3:05 PM, Anthony Lander wrote:



On 10-Apr-7, at 3:44 AM, Carsten Dominik wrote:


Hi Anthony,

I like this a lot.


Thank you, Carsten.


How would you and Christopher feel if we were to merge this onto
org-mac-message or the other way round?  Merging into org-mac- 
message
would have the advantage that we do not have to break existing  
setup.


I'm happy to integrate the code together in whatever way you think  
it will fit best into the other org-mode code.


In that case, I need to ask you to sign the papers with the FSF.  Is  
that OK with you?


http://orgmode.org/worg/org-contribute.php#sec-2


Yes. of course.

  -anthony



___
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: Let's TALK about it

2010-04-07 Thread Andrea Crotti

My talk has been accepted :)
So now I really have to prepare something!

I thought that for showing the power of org-mode and babel I could use
something I already have

http://github.com/AndreaCrotti/my-project-euler/blob/master/euler.org
(click on raw to see the code)

It's a summary of which problems I've solved or I want to solve.
Below there are elisp functions that are called inside the table, and
the table is updated smartly looking for every file with a particular
extension in the directories of the problems.

Then I was thinking to remove the table and I started to use a babel
approach, but I think both approaches could be very interesting.

Those snippets of code that only returns a result are a nice example to
use with babel (I think).

Could be a good idea?
I'm also going to show something from python-mode/yasnippet because in
the end the title of the talk is
Light of speed python programming with emacs
So I have to stay close to it :D



___
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] Request for feedback about LaTeX setup changes

2010-04-07 Thread Giovanni Ridolfi
Carsten Dominik carsten.domi...@gmail.com writes:

Hi, Carsten,

 Here is new new section from the list of changes, about the LaTeX
 setup.  I would like to hear honest answers if I have gone completely
 crazy, of if this actually makes any sense.
[...]

I only skimmed the discussion in the list. Your release notes appear clear to 
me.

cheers,
Giovanni


___
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: Emacs setups?

2010-04-07 Thread Andrea Crotti
Nathan Neff nathan.n...@gmail.com writes:

 I'm not an Emacs user, but use it for org-mode, mostly on a Mac.

 I tried finding some discussions on this list about what everyone
 on this list uses for Emacs.

 I have three Emacs builds that I bounce back  forth between:
 1) Aquamacs
 2) http://atomized.org/wp-content/cocoa-emacs-nightly/ (found on
 http://www.emacswiki.org/emacs/EmacsForMacOS#toc10)
 3) http://emacsformacosx.com/ (also found on
 http://www.emacswiki.org/emacs/EmacsForMacOS#toc10)

 Can anyone point me to a thread where org-mode users discuss the version
 of Emacs that they use and OS, etc? 

I personally use the 2) on OSX 10.6 and I'm quite satisfied.
Sometimes it happens that it crashes (very seldomly) but for the rest is
quite good.

I don't understand the difference with 3), maybe less packages already inside.

Anyway not being an emacs using org-mode is a pity, because if you get
more confident with emacs itself you will be also much more productive
with org-mode (and viceversa).



___
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 use \autoref inside #+CAPTION: ?

2010-04-07 Thread Carsten Dominik

Hi Aaron, this should work now again, in 6.35d.

Thanks for the report

- Carsten

On Apr 6, 2010, at 6:57 PM, Aaron Hammitt wrote:


Hello,
I recently upgraded to the development release. I had previously  
(with version 6.34c, I believe) been able to use the LaTeX \autoref  
macro inside #+CAPTION:, to reference a table from a figure caption  
for example. But with the latest release the curly braces inside # 
+CAPTION are escaped, so I end up with something like \autoref\ 
{tbl:ECB-SIF-compare\} in my LaTeX document. Is there a way to get  
past this new behavior and have the braces correctly written to the  
LaTeX file (unescaped)?


Thank you.
___
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] [PATCH] [babel] Add option to display process buffer when editing R source code blocks

2010-04-07 Thread Julien Barnier
Hi,

This is a small patch to org-babel-R.el which allows to automatically
display the R process buffer when editing R source code blocks with
org-edit-src-code.

A custom variable allows to choose between no process buffer
(default), only the source code block and the process buffer, or the
org file, the source code block and the process buffer.

As I'm quite new to git, I hope my patch is usable, because I
generated it from a org-babel-R.el file which already had some
modifications from master.

Sincerely,

-- 
Julien


---
 contrib/babel/lisp/langs/org-babel-R.el |   27 ++-
 1 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/contrib/babel/lisp/langs/org-babel-R.el 
b/contrib/babel/lisp/langs/org-babel-R.el
index 8b333cc..3924089 100644
--- a/contrib/babel/lisp/langs/org-babel-R.el
+++ b/contrib/babel/lisp/langs/org-babel-R.el
@@ -218,7 +218,32 @@ Currently, insert hline if column names in output have 
been requested.
   (if column-names-p
   (cons (car result) (cons 'hline (cdr result)))
 result))
-  
+
+
+(defcustom org-babel-R-edit-src-show-process nil
+  Layout of windows while editing R source blocks in org files
+  :group 'org-babel
+  :type '(choice (const :tag No process buffer nil)
+(const :tag Show source block and process buffer full)
+(const :tag Show org file, source block and process buffer 
split)))
+
+(defadvice org-edit-src-code (around org-edit-src-code-with-R-process activate)
+  Display process buffer when eidting R source code blocks
+  (if org-babel-R-edit-src-show-process
+(let* ((info (org-babel-get-src-block-info))
+  (lang (first info))
+  (R-src-block (and info (string= (upcase lang) R
+  ad-do-it
+  (when R-src-block
+   (cond ((string= org-babel-R-edit-src-show-process split)
+  (split-window-vertically)
+  (ess-switch-to-end-of-ESS)
+  (other-window -1))
+ ((string= org-babel-R-edit-src-show-process full)
+  (delete-other-windows)
+  (ess-switch-to-end-of-ESS)
+  (other-window 1)
+ad-do-it))
 
 (provide 'org-babel-R)
 ;;; org-babel-R.el ends here
-- 
1.7.0.4




___
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 (recent git) tries to open .c and other plaintext file:// links with less on debian

2010-04-07 Thread Friedrich Delgado Friedrichs
Hi!

I just wondered why my file links to c-sources would not work any more:

 
[[file:~/anon-vc/emacs/src/emacs.c::fatal_error_signal%20sig][file:~/anon-vc/emacs/src/emacs.c::fatal_error_signal
 sig]]

until I looked what org-open-file does with edebug and noticed it
tries to handle the file according to its mailcap entry.

Which is, on my debian testing systems:

text/plain; less '%s'; needsterminal

which makes a lot of sense when I try to open a plaintext file
attachment e.g. with mutt.

From emacs, not so good.

Indeed, M-x list-processes lists a less process:

Proc Status   Buffer TtyCommand
 --   -- ------
less /home/fdf/anon-vc/emacs/src/emacs.c run  (none) /dev/pts/6 
/usr/bin/zsh -c less /home/fdf/anon-vc/emacs/src/emacs.c


-- 
Friedrich Delgado Friedrichs frie...@nomaden.org
 TauPan on Ircnet and Freenode ;)


___
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: IMPORTANT: (possibly) incompatible Change

2010-04-07 Thread Thomas S. Dye


On Apr 7, 2010, at 12:31 AM, Karsten Heymann wrote:


Hi Carsten,

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

On Apr 7, 2010, at 10:22 AM, Karsten Heymann wrote:
But chances are high that most normal LaTeX documents will not  
work

with xelatex anyways due to encoding or font selection issues, so I
think unless org-mode aims at explicitely supporting XeTeX out of  
the

box this whole topic can (and should) be ignored.



So to summarize:

- I should include the microtype package
- People using XeTeX need to tweak their setup anyway and can be
 expected to know about all issues related to it.


Yes.

Yours
Karsten



Aloha all,

Forewarned is forearmed: perhaps it would be useful to add a footnote  
to the org manual at 12.6 after With further processing,[fn:X]


[fn:X] The default LaTeX output is designed for processing with pdftex  
or latex.  It includes packages that are not compatible with xetex and  
possibly luatex.  See the variables =org-export-latex-default-packages- 
alist= and =org-export-latex-packages-alist=.


All the best,
Tom



___
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 inline Latex image

2010-04-07 Thread Darlan Cavalcante Moreira

You can preview the equations with org-preview-latex-fragment (C-c C-x
C-l). Use C-c C-c to remove the previews. It works very well.

- Darlan

At Tue, 6 Apr 2010 21:24:30 -0400,
Chao Lu looc...@gmail.com wrote:
 
 [1  multipart/alternative (7bit)]
 [1.1  text/plain; ISO-8859-1 (7bit)]
 Dear all,
 
 Is it possible to display the latex equation as inline image in Org? For the
 equations is not understood-able unless after the conversion.
 
 Thanks!
 
 Chao
 [1.2  text/html; ISO-8859-1 (7bit)]
 
 [2  text/plain; us-ascii (7bit)]
 ___
 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] Re: IMPORTANT: (possibly) incompatible Change

2010-04-07 Thread Carsten Dominik


On Apr 7, 2010, at 5:51 PM, Thomas S. Dye wrote:



On Apr 7, 2010, at 12:31 AM, Karsten Heymann wrote:


Hi Carsten,

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

On Apr 7, 2010, at 10:22 AM, Karsten Heymann wrote:
But chances are high that most normal LaTeX documents will not  
work

with xelatex anyways due to encoding or font selection issues, so I
think unless org-mode aims at explicitely supporting XeTeX out of  
the

box this whole topic can (and should) be ignored.



So to summarize:

- I should include the microtype package
- People using XeTeX need to tweak their setup anyway and can be
expected to know about all issues related to it.


Yes.

Yours
Karsten



Aloha all,

Forewarned is forearmed: perhaps it would be useful to add a  
footnote to the org manual at 12.6 after With further processing, 
[fn:X]


[fn:X] The default LaTeX output is designed for processing with  
pdftex or latex.  It includes packages that are not compatible with  
xetex and possibly luatex.  See the variables =org-export-latex- 
default-packages-alist= and =org-export-latex-packages-alist=.


OK, done.

- 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] Re: Emacs setups?

2010-04-07 Thread Nathan Neff
On Wed, Apr 7, 2010 at 9:04 AM, Andrea Crotti andrea.crott...@gmail.comwrote:

 Nathan Neff nathan.n...@gmail.com writes:

  I'm not an Emacs user, but use it for org-mode, mostly on a Mac.
 
  I tried finding some discussions on this list about what everyone
  on this list uses for Emacs.
 
  I have three Emacs builds that I bounce back  forth between:
  1) Aquamacs
  2) http://atomized.org/wp-content/cocoa-emacs-nightly/ (found on
  http://www.emacswiki.org/emacs/EmacsForMacOS#toc10)
  3) http://emacsformacosx.com/ (also found on
  http://www.emacswiki.org/emacs/EmacsForMacOS#toc10)
 
  Can anyone point me to a thread where org-mode users discuss the version
  of Emacs that they use and OS, etc?

 I personally use the 2) on OSX 10.6 and I'm quite satisfied.
 Sometimes it happens that it crashes (very seldomly) but for the rest is
 quite good.

 I don't understand the difference with 3), maybe less packages already
 inside.

 Anyway not being an emacs using org-mode is a pity, because if you get
 more confident with emacs itself you will be also much more productive
 with org-mode (and viceversa).


 Thanks for your feedback Andrea.  I'm consistently getting better at Emacs
(for example, I use occur and have done some debugging w/Lisp code, and
have installed several plugins).

I use Vim for most of my programming and text file manipulation, but I'd
like to learn how to do the same cool stuff in Emacs, or learn the Emacs way
of doing it.  If you have any cool features of Emacs you'd like to
recommend, please send them to me.

--Nate


 ___
 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] Turn off pushed to kill ring and clipboard exporting HTML

2010-04-07 Thread Xin Shi
Hello,

When exporting to HTML, the default behavior is to pushed to kill ring and
clipboard. As shown in the message:

HTML export done, pushed to kill ring and clipboard

Are there any way to turn off this push?

Thanks!

Xin
___
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] Turn off pushed to kill ring and clipboard exporting HTML

2010-04-07 Thread Xin Shi
Thank you!

I never use it.  Just found it annoying when using C-y to paste in Emacs
sometimes :)

Xin


On Wed, Apr 7, 2010 at 1:51 PM, Dan Davison davi...@stats.ox.ac.uk wrote:

 Xin Shi shixin...@gmail.com writes:

  Hello,
 
  When exporting to HTML, the default behavior is to pushed to kill ring
 and
  clipboard. As shown in the message:
 
  HTML export done, pushed to kill ring and clipboard
 
  Are there any way to turn off this push?

 (setq org-export-copy-to-kill-ring nil)

 Or use customize to do the same.

 I'd be interested to know how people make use of this feature (i.e. why
 it is on by default.)

 Dan

 
  Thanks!
 
  Xin
 
  ___
  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] Turn off pushed to kill ring and clipboard exporting HTML

2010-04-07 Thread Erik Iverson



Dan Davison wrote:

Xin Shi shixin...@gmail.com writes:


Hello,

When exporting to HTML, the default behavior is to pushed to kill ring and
clipboard. As shown in the message:

HTML export done, pushed to kill ring and clipboard

Are there any way to turn off this push?


(setq org-export-copy-to-kill-ring nil)

Or use customize to do the same.

I'd be interested to know how people make use of this feature (i.e. why
it is on by default.)



I use org-mode to write blog posts (including R code) and post the 
resulting HTML to Wordpress, so it works for me.


I run the org-file through a custom Sweave first to generate output, 
then export that.  I've been meaning to look at org-babel as a 
substitute to this in the future.




___
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 in org-table?

2010-04-07 Thread David Maus
Carsten Dominik wrote:
Hi Rainer,

this works just fine for me.

Works fine here, too.  Using

Org-mode version 6.33x

shipped with

GNU Emacs 24.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.9)
 of 2010-03-26 on elegiac, modified by Debian


HTH
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgphEnnrSeJ5p.pgp
Description: PGP signature
___
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-insert-link in different frame

2010-04-07 Thread Lluís
 Hi Lluis, would you like to make a patch for me to fix this?

Here it goes.

Note that I've found some weirdness that I don't know how to solve,
and might well be a systemic problem of the current implementation of
`framepop' (or either a lack of elisp knowledge from my part):

   - Bind an org-mode buffer to framepop from frame0
 (`framepop-display-buffer'); this creates framefp and calls
 `redirect-frame-focus', redirecting framefp to frame0
   - Create a new frame frame1.
   - Call `suspend-frame' on frame0
   - Switch to framefp and call `org-insert-link'

This has the unfortunate effect of showing the *Org Links* buffer in
frame1, and then raising frame0 for the user input in the
minibuffer.

Result? If both frame0 and frame1 were on the same screen, the
former is on top of the latter, thus preventing the useer to see the
*Org Links* buffer.

After some tests, I've also found that `get-buffer-window' prefers
frame1 even when `org-completing-read' later on uses frame0 for
the minibuffer, so this is still confusing to use (now without having
`suspend-frame' on frame0).

My elisp knowledge is too limited to find a solution to this, but the
patch at least works in the simple case of frame0+framefp (which
is the schenario that raised the initial error).


Read you,
 Lluis


--- /usr/share/emacs/site-lisp/org-mode/org.el  2010-03-05 11:28:54.0 
+0100
+++ /tmp//org.el2010-04-07 18:11:42.0 +0200
@@ -8023,7 +8023,8 @@
(if (nth 1 x) (concat (car x)  ( (nth 1 x) )) (car x)))
  (reverse org-stored-links) \n
   (let ((cw (selected-window)))
-   (select-window (get-buffer-window *Org Links*))
+   ;; must also search on other frames in case of using 
`redirect-frame-focus'
+   (select-window (get-buffer-window *Org Links* 'visible))
(setq truncate-lines t)
(unless (pos-visible-in-window-p (point-max))
  (org-fit-window-to-buffer))


--
 And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer.
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth
___
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] Request for feedback about LaTeX setup changes

2010-04-07 Thread Aaron Hammitt
I like the fact that I don't have to clutter org-export-latex-classes with
so many options. I also like org-export-latex-packages-alist better than
what I was doing previously with org-export-latex-append-header.

The downside is that I had some conflicts between the org default packages
(with either wasysym or latexsym, but now I don't recall which one) and
other packages I import in all my documents. Also, I like to use the
hyperref package with colorlinks=True and my own linkcolor, so I had to
modify org-export-latex-default-packages-alist anyway. Now I'm in the
position of still having to manually update
org-export-latex-default-packages-alist if you change the packages that are
required by orgmode in the future.

Despite the initial work of figuring out where the conflicts were arising
from (after first upgrading to 6.35) and having to download some of the
default packages, I do like the new setup. I can't think of a better
solution; everything I can think of that would solve one problem would just
lead to another. And like you said, I can always opt out...
___
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 use \autoref inside #+CAPTION: ?

2010-04-07 Thread Aaron Hammitt
Perfect. Thank you for the quick fix. I don't know how you do it.

Thanks again, and I appreciate all the work you've put into this fantastic
tool.

On Wed, Apr 7, 2010 at 10:29 AM, Carsten Dominik
carsten.domi...@gmail.comwrote:

 Hi Aaron, this should work now again, in 6.35d.

 Thanks for the report

 - Carsten


 On Apr 6, 2010, at 6:57 PM, Aaron Hammitt wrote:

   Hello,
 I recently upgraded to the development release. I had previously (with
 version 6.34c, I believe) been able to use the LaTeX \autoref macro inside
 #+CAPTION:, to reference a table from a figure caption for example. But with
 the latest release the curly braces inside #+CAPTION are escaped, so I end
 up with something like \autoref\{tbl:ECB-SIF-compare\} in my LaTeX document.
 Is there a way to get past this new behavior and have the braces correctly
 written to the LaTeX file (unescaped)?

 Thank you.
 ___
 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] feature request: transpose a table

2010-04-07 Thread Michael Brand

Hi zwz,

 I do not know if I can do org-plot on rows instead of columns.
 But today after I finished a table, I found I have to transpose the
 table by hand so that I can plot it as I want.
 Here is original table:
 |  x  | y  | x  | y  | ... |
 |-++++-|
 |   1 |  2 |  3 |  4 | |
 |   5 |  6 |  7 |  8 | |
 |   9 |  0 |  1 |  2 | |
 | ... |||| |
 And I have to convert it into:
 |   x | y | x | y | x | y | ... |
 |-+---+---+---+---+---+-|
 |   1 | 2 | 5 | 6 | 9 | 0 | |
 |   3 | 4 | 7 | 8 | 1 | 2 | |
 | ... |   |   |   |   |   | |

 so that every two columns stand for a line.

If someone had trouble to understand like me first, maybe looking also at the 
last table below with the column groups `' could help.


This use case seems quite funny and well suited to be solved with the `field 
coordinates in formulas' for which I proposed a patch some time ago that is 
included in org-mode now. Since org-version 6.35 you could try this hack:


step 1) Remove the header and use column editing from Emacs
http://www.gnu.org/software/emacs/manual/html_node/emacs/Rectangles.html
to change your original version of the table

| x | y | x | y |
|---+---+---+---|
| 1 | 2 | 3 | 4 |
| 5 | 6 | 7 | 8 |
| 9 | 0 | 1 | 2 |

to this 3x2 table with Calc vectors in short notation:

#+TBLNAME: FOO
| [1 2] | [3 4] |
| [5 6] | [7 8] |
| [9 0] | [1 2] |

step 2) Transpose the table like described here
http://orgmode.org/worg/org-hacks.php
in the section `Transpose a table', currently with this numbering
http://orgmode.org/worg/org-hacks.php#sec-17.2.3
to this 2x3 table with the same Calc vectors in the default notation:

| [1, 2] | [5, 6] | [9, 0] |
| [3, 4] | [7, 8] | [1, 2] |
#+TBLFM: $1 = remote(FOO, @$...@#) :: $2 = remote(FOO, @$...@#) :: $3 = 
remote(FOO, @$...@#)


step 3) query-replace `['-`', `]'-`', `,'-`|' and add the header manually 
to get finally this:


|   | x | f.a(x) | x | f.b(x) | x | f.c(x) |
| / |  |   |  |   |  |   |
|---+---++---++---+|
|   | 1 |  2 | 5 |  6 | 9 |  0 |
|   | 3 |  4 | 7 |  8 | 1 |  2 |

 I also wonder how do you guys draw multiple lines in one image, since
 here there are multiple inds.

I guess you want a xy graph something like this with three lines a, b and c 
for f.a, f.b and f.c:


  f.n(x)
   ^
08 |  b
07 | b
06 |b
05 |
04 |  a
03 | a
02 |*c
01 |  c
00 +---cc-- x
   0011
   012345678901

see
http://thread.gmane.org/gmane.emacs.orgmode/21979

I assume that this could be done also with org-babel together with R
http://en.wikipedia.org/wiki/R_%28programming_language%29
possibly even with your original version of the table...

- Michael


___
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: Can't import a remote reference to a whole column in orgtbl

2010-04-07 Thread Michael Brand

Carsten Dominik wrote:
this is neat, but still kind of hard to do, because you have to put all 
these formulas there by hand.  I am skipping this for the manual - maybe 
you'd like to put this into org-hacks, or into the FAQ on Worg?


Ok, I have put it into Worg org-hacks.org:
http://orgmode.org/worg/org-hacks.php
in the section `Field coordinates in formulas', currently with this numbering
http://orgmode.org/worg/org-hacks.php#sec-17.2

And only now I have seen and answered this thread:
`feature request: transpose a table'
started here
http://thread.gmane.org/gmane.emacs.orgmode/17453
and continued here
http://thread.gmane.org/gmane.emacs.orgmode/23809


___
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] Clockreport from a list of files

2010-04-07 Thread Nathan Neff
I'm trying to create a clockreport that scans a certain file (actually, I
want to scan a list of files, but I can't even get one file to work).

I found the :scope (file...) option here:
http://orgmode.org/manual/Clocking-work-time.html

But I can't get the clockreport to read from nate.org.  Instead, the
clockreport reads from the current file (clockreports.org)

Here's my clockreport (it's in clockreports.org):

* Something
 :CLOCK:
  CLOCK: [2010-04-07 Wed 14:30]--[2010-04-07 Wed 16:46] =  2:16
  :END:

#+BEGIN: clocktable :block thisweek - 1 :link :scope (~/Documents/personal/
nate.org)
#+END

All I get is the clock report for the current file.

Any ideas what I'm doing wrong?  I also tried an absolute file path for
nate.org, but that didn't work either.

Thanks,
--Nate
___
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] Clockreport from a list of files

2010-04-07 Thread Carsten Dominik


On Apr 8, 2010, at 12:00 AM, Nathan Neff wrote:

I'm trying to create a clockreport that scans a certain file  
(actually, I

want to scan a list of files, but I can't even get one file to work).

I found the :scope (file...) option here:
http://orgmode.org/manual/Clocking-work-time.html

But I can't get the clockreport to read from nate.org.  Instead, the
clockreport reads from the current file (clockreports.org)

Here's my clockreport (it's in clockreports.org):

* Something
 :CLOCK:
  CLOCK: [2010-04-07 Wed 14:30]--[2010-04-07 Wed 16:46] =  2:16
  :END:

#+BEGIN: clocktable :block thisweek - 1 :link :scope (~/Documents/ 
personal/nate.org)

#+END

All I get is the clock report for the current file.

Any ideas what I'm doing wrong?  I also tried an absolute file path  
for nate.org, but that didn't work either.


:link needs an argument, t.  You don't give one, so :link uses :scope  
as its argument


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] Request for feedback about LaTeX setup changes

2010-04-07 Thread Carsten Dominik


On Apr 7, 2010, at 7:04 PM, Aaron Hammitt wrote:

I like the fact that I don't have to clutter org-export-latex- 
classes with so many options. I also like org-export-latex-packages- 
alist better than what I was doing previously with org-export-latex- 
append-header.


The downside is that I had some conflicts between the org default  
packages (with either wasysym or latexsym, but now I don't recall  
which one) and other packages I import in all my documents. Also, I  
like to use the hyperref package with colorlinks=True and my own  
linkcolor, so I had to modify org-export-latex-default-packages- 
alist anyway. Now I'm in the position of still having to manually  
update org-export-latex-default-packages-alist if you change the  
packages that are required by orgmode in the future.


Despite the initial work of figuring out where the conflicts were  
arising from (after first upgrading to 6.35) and having to download  
some of the default packages, I do like the new setup. I can't think  
of a better solution; everything I can think of that would solve one  
problem would just lead to another. And like you said, I can always  
opt out...




Hi Aaron,

thanks for your feedback.

Yes, the new setup is optimized for simple uses, newbees etc.  Hassles  
remain for people with extensive customization - but I also do not  
know a better 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


- 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] Turn off pushed to kill ring and clipboard exporting HTML

2010-04-07 Thread Carsten Dominik


On Apr 7, 2010, at 7:51 PM, Dan Davison wrote:


Xin Shi shixin...@gmail.com writes:


Hello,

When exporting to HTML, the default behavior is to pushed to kill  
ring and

clipboard. As shown in the message:

HTML export done, pushed to kill ring and clipboard

Are there any way to turn off this push?


(setq org-export-copy-to-kill-ring nil)

Or use customize to do the same.

I'd be interested to know how people make use of this feature (i.e.  
why

it is on by default.)


:-) because I use it like this very often, in particular for ASCII  
export - I export and then paste in another program.


I do not use it like this with HTML for example - but I hardly ever  
rely on the fact that the clipboard/kill is still the same after   
running an export command.


I would be certainly be possible to convince me that we should change  
the default - but as of now, I am not convinced.


- 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] feature request: transpose a table

2010-04-07 Thread Thomas S. Dye


On Apr 7, 2010, at 9:52 AM, Michael Brand wrote:


Hi zwz,

 I do not know if I can do org-plot on rows instead of columns.
 But today after I finished a table, I found I have to transpose the
 table by hand so that I can plot it as I want.
 Here is original table:
 |  x  | y  | x  | y  | ... |
 |-++++-|
 |   1 |  2 |  3 |  4 | |
 |   5 |  6 |  7 |  8 | |
 |   9 |  0 |  1 |  2 | |
 | ... |||| |
 And I have to convert it into:
 |   x | y | x | y | x | y | ... |
 |-+---+---+---+---+---+-|
 |   1 | 2 | 5 | 6 | 9 | 0 | |
 |   3 | 4 | 7 | 8 | 1 | 2 | |
 | ... |   |   |   |   |   | |

 so that every two columns stand for a line.

If someone had trouble to understand like me first, maybe looking  
also at the last table below with the column groups `' could help.


This use case seems quite funny and well suited to be solved with  
the `field coordinates in formulas' for which I proposed a patch  
some time ago that is included in org-mode now. Since org-version  
6.35 you could try this hack:


step 1) Remove the header and use column editing from Emacs
http://www.gnu.org/software/emacs/manual/html_node/emacs/Rectangles.html
to change your original version of the table

| x | y | x | y |
|---+---+---+---|
| 1 | 2 | 3 | 4 |
| 5 | 6 | 7 | 8 |
| 9 | 0 | 1 | 2 |

to this 3x2 table with Calc vectors in short notation:

#+TBLNAME: FOO
| [1 2] | [3 4] |
| [5 6] | [7 8] |
| [9 0] | [1 2] |

step 2) Transpose the table like described here
http://orgmode.org/worg/org-hacks.php
in the section `Transpose a table', currently with this numbering
http://orgmode.org/worg/org-hacks.php#sec-17.2.3
to this 2x3 table with the same Calc vectors in the default notation:

| [1, 2] | [5, 6] | [9, 0] |
| [3, 4] | [7, 8] | [1, 2] |
#+TBLFM: $1 = remote(FOO, @$...@#) :: $2 = remote(FOO, @$...@#) :: $3  
= remote(FOO, @$...@#)


step 3) query-replace `['-`', `]'-`', `,'-`|' and add the header  
manually to get finally this:


|   | x | f.a(x) | x | f.b(x) | x | f.c(x) |
| / |  |   |  |   |  |   |
|---+---++---++---+|
|   | 1 |  2 | 5 |  6 | 9 |  0 |
|   | 3 |  4 | 7 |  8 | 1 |  2 |

 I also wonder how do you guys draw multiple lines in one image,  
since

 here there are multiple inds.

I guess you want a xy graph something like this with three lines a,  
b and c for f.a, f.b and f.c:


 f.n(x)
  ^
08 |  b
07 | b
06 |b
05 |
04 |  a
03 | a
02 |*c
01 |  c
00 +---cc-- x
  0011
  012345678901

see
http://thread.gmane.org/gmane.emacs.orgmode/21979

I assume that this could be done also with org-babel together with R
http://en.wikipedia.org/wiki/R_%28programming_language%29
possibly even with your original version of the table...

- Michael



Aloha all,

There is also this code for transposing a table in the Library of Babel:


* Table/Matrix manipulation

Elegant lisp code for transposing a matrix.

#+tblname: transpose-example
| 1 | 2 | 3 |
| 4 | 5 | 6 |

#+srcname: transpose
#+begin_src emacs-lisp :var table=transpose-example
  (apply #'mapcar* #'list table)
#+end_src

#+resname:
| 1 | 4 |
| 2 | 5 |
| 3 | 6 |

--

All the best,
Tom



___
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] org-babel-perl and formats

2010-04-07 Thread Łukasz Stelmach
Hello.

I am not sure I will be able to spend some time on this so I'll share my
observation with you. org-babel-perl can't cope with perl formats, with
their endings to be precise. A format is defined by:

format FORMAT_NAME = 
body of the format
.

The problem is that formats *must* and with a single solitary dot or, to
be precise \n.\n sequence. org-babel-perl doesn't care about it and
puts \t befor the dot.

Are these indents really necessary in the text
that goes straight through IPC pipes of our OS of choice?

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


[Orgmode] My reference data management approach with org and emacs

2010-04-07 Thread Marcelo de Moraes Serpa
Hello list,

I would like to share how I'm keeping my reference data. This includes
articles I write, blog post drafts, braintorms and anything else that we
could fit in the reference category (gtd-wide).

I don't like categories too much. Actually, I find them too strict and
limited. Putting things into folders just makes you loose ]time thinking
about structure. I'm adept of tags, though. I love them. So, my basic idea
was to have a folder (which I right now call wiki/) with a compendium of all
my reference data.

Whenever I need to create a new entry, I press s-r and it triggers dired
with this directory as context. So, I can just type something .org and press
enter to create it. Then, at the bottom, I create a * tags item. I tag it
with relevant tags and save. *I don't add it to the agenda list* -- I have a
custom rgrep function to seach over wiki/, which is binded to s-o. When I
want to find something from my reference data, I just press s-o and type a
string, and rgrep does the rest.

It's pretty simple, and, as you could note, doesn't use much of org's
functionalities. Using agenda would be overkill, as I have dozens of files
in the directory, and it would be probably overkill for org-agenda.

Anyways, just thought I'd share. It works great, is very organic, flexible
and simple. The goal was to have a simple storage system which was easy to
search and that wouldn't get on my way, but be easy to access/use when I
needed it.

As a knowledge worker, I find that it works quite well to quickly
brainstorm, draft blog posts or anything else that I want to keep as
reference.

How do you manage reference information? It'd be nice to know :)

Cheers,

Marcelo.
___
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