Re: [Orgmode] New Org-mode talk by Carsten Dominik

2010-03-05 Thread Thomas S. Dye

On Mar 5, 2010, at 10:07 AM, Stefan Vollmar wrote:


Hallo,

we proudly present:

"Emacs Org-mode: Organizing a Scientist's Life and Work"

a talk by Carsten Dominik presented on February 8th 2010
at our institute. The recording of the talk is available here:

http://www.nf.mpg.de/orgmode/guest-talk-dominik.html

Warm regards,
 Stefan
--  
Dr. Stefan Vollmar, Dipl.-Phys.

Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: voll...@nf.mpg.de   http://www.nf.mpg.de



Aloha Stefan,

Thanks for the recording.  You've done a wonderful job integrating the  
lecture with the slides and the questions following.  As a viewer, I  
felt I hadn't missed a thing.


I'm not sure what to make of Carsten's statement about himself at the  
beginning: "I'm not a programmer."  I wish I were half the programmer  
Carsten isn't!


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] Lesson Learned: Day needed for iCalendar export

2010-03-05 Thread Ryan Thompson
Without the day, the timestamp is not valid according to Org, so it
just treats it as normal text, or possibly something else entirely.
The real lesson is no to type timestamps manually. Use C-c .

On Sat, Feb 27, 2010 at 6:49 PM, David A. Gershman
 wrote:
>
> Hello Everyone,
>
> I ran into this just now and I don't think it's documented anywhere so
> here is a tidbit thay may prevent some hair loss:
>
> I get a work calendar of my days off work for holidays.  So I collect
> them in my .org file like so:
>
> * Work Holidays
>   <2010-05-31>
>   <2010-07-05>
>   <2010-09-06>
>   <2010-11-25>
>   { there are more }
>
> When exporting my .ics file I found these dates were not showing up, but
> they *were* showing on my .org Agenda view.  Turns out the iCalendar
> export needs the *day* also:
>
> * Work Holidays
>   <2010-05-31 Mon>
>   <2010-07-05 Mon>
>   <2010-09-06 Mon>
>   <2010-11-25 Thu>
>
> .ics export worked great after that.  Enjoy!
>
> 
> David A. Gershman
> gersh...@dagertech.net
> http://dagertech.net/gershman/
> "It's all about the path!" --d. gershman
>
>
> ___
> 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] New Org-mode talk by Carsten Dominik

2010-03-05 Thread Russell Adams
Rock on!

I'm downloading it right now!

On Fri, Mar 05, 2010 at 09:07:45PM +0100, Stefan Vollmar wrote:
> Hallo, 
> 
> we proudly present:
> 
> "Emacs Org-mode: Organizing a Scientist's Life and Work"
> 
> a talk by Carsten Dominik presented on February 8th 2010
> at our institute. The recording of the talk is available here:
> 
> http://www.nf.mpg.de/orgmode/guest-talk-dominik.html
> 
> Warm regards,
>   Stefan
> -- 
> Dr. Stefan Vollmar, Dipl.-Phys.
> Head of IT group
> Max-Planck-Institut f?r neurologische Forschung
> Gleuelerstr. 50, 50931 K?ln, Germany
> Tel.: +49-221-4726-213  FAX +49-221-4726-298
> Tel.: +49-221-478-5713  Mobile: 0160-93874279
> Email: voll...@nf.mpg.de   http://www.nf.mpg.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
> 


--
Russell Adamsrlad...@adamsinfoserv.com

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

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


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


[Orgmode] [PATCH] Always insert heading after current

2010-03-05 Thread Nathan Neff
This is my first endeavor at contributing to open source, so bear with me
:-)

I created a variable called 'org-insert-heading-always-after-current'

If it's not nil, and you press M-Return, a new heading is created under
the current heading, ***even if you're on the first character of a
heading***

I added it to the org-custom list, also.

Here's the git commit (on GitHub) that has my changes (against the latest
org-mode as of today).

http://github.com/NathanNeff/org-mode/commit/ee2b727139db6530e8f5b7e076cf27368c3d3182

I followed the directions from here:
http://orgmode.org/worg/org-contribute.php

I would like to apply the same behavior when inserting new list items.

If you're on the first character of a list item, a new list item is still
inserted above the list item.
If anyone has a fix for this, let me know.

  For example, if you have:

* Foo
  - List Item 1
  - I want the new list item to go here, not above - List Item 1


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


[Orgmode] New Org-mode talk by Carsten Dominik

2010-03-05 Thread Stefan Vollmar
Hallo, 

we proudly present:

"Emacs Org-mode: Organizing a Scientist's Life and Work"

a talk by Carsten Dominik presented on February 8th 2010
at our institute. The recording of the talk is available here:

http://www.nf.mpg.de/orgmode/guest-talk-dominik.html

Warm regards,
  Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: voll...@nf.mpg.de   http://www.nf.mpg.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


[Orgmode] Re: org export as twiki - Failure to export with error: (wrong-type-argument stringp nil)

2010-03-05 Thread Baoqiu Cui
Carsten Dominik  writes:

> Hi Baoqiu and Mario,
>
> clearly, writing =double[3][3]= is the correct solution to this problem.
>
> As for the behavior of [3][3], this is not clearly defined.  Neither
> the LaTeX
> nor the HTML exporter handle this case gracefully, as in producing
> meaningful output.
>
> Maybe the right thing would be to have them both treated as a footnote
> reference, but that would also require changes to org-footnote.el.
> These changes are not entirely
> trivial, as far as I can see now.
>
> So uness you are willing to dig into org-footnote.el to changes this,
> the
> easy solution would be to simply catch the problem we have now in the
> docbook exporter, so that it does not crash.

Thanks for the suggestion, Carsten.

Attached below please find the patch for the easy solution for the
DocBook exporter (HTML and LaTeX exporters do not report any visible
errors).  Note that this patch also includes another fix that I had in
my local branch to avoid empty "" caused by inline
tasks.

diff --git a/lisp/org-docbook.el b/lisp/org-docbook.el
index ab0a086..492a660 100644
--- a/lisp/org-docbook.el
+++ b/lisp/org-docbook.el
@@ -624,7 +624,7 @@ publishing directory."
 
 	  ;; End of quote section?
 	  (when (and inquote (string-match "^\\*+ " line))
-	(insert "]]>\n\n")
+	(insert "]]>\n")
 	(org-export-docbook-open-para)
 	(setq inquote nil))
 	  ;; Inside a quote section?
@@ -644,7 +644,7 @@ publishing directory."
 		  (not (string-match "^[ \t]*\\(:.*\\)"
 	 (car lines
 	  (setq infixed nil)
-	  (insert "]]>\n\n")
+	  (insert "]]>\n")
 	  (org-export-docbook-open-para))
 	(throw 'nextline nil))
 
@@ -912,7 +912,8 @@ publishing directory."
 	(while (string-match "\\([^* \t].*?\\)\\[\\([0-9]+\\)\\]" line start)
 	  (if (get-text-property (match-beginning 2) 'org-protected line)
 		  (setq start (match-end 2))
-		(let ((num (match-string 2 line)))
+		(let* ((num (match-string 2 line))
+		   (footnote-def (assoc num footnote-list)))
 		  (if (assoc num footref-seen)
 		  (setq line (replace-match
   (format "%s"
@@ -924,9 +925,10 @@ publishing directory."
 	(match-string 1 line)
 	org-export-docbook-footnote-id-prefix
 	num
-	(save-match-data
-	  (org-docbook-expand
-	   (cdr (assoc num footnote-list)
+	(if footnote-def
+	(save-match-data
+	  (org-docbook-expand (cdr footnote-def)))
+	  (format "FOOTNOTE DEFINITION NOT FOUND: %s" num)))
 t t line))
 		(push (cons num 1) footref-seen))
 
@@ -1092,7 +1094,7 @@ publishing directory."
 
   ;; Properly close all local lists and other lists
   (when inquote
-	(insert "]]>\n\n")
+	(insert "]]>\n")
 	(org-export-docbook-open-para))
   (when in-local-list
 	;; Close any local lists before inserting a new header line
@@ -1121,6 +1123,13 @@ publishing directory."
 	  "[ \r\n\t]*\\(\\)[ \r\n\t]*[ \r\n\t]*" nil t)
 	(when (not (get-text-property (match-beginning 1) 'org-protected))
 	  (replace-match "\n")
+	  ;; Avoid empty  caused by inline tasks.
+	  ;; We should add an empty para to make everything valid.
+	  (when (and (looking-at "")
+		 (save-excursion
+		   (backward-char (length "\n"))
+		   (looking-at "")))
+	(insert ""))
 	  (backward-char 1)))
   ;; Fill empty sections with .  This is to make sure
   ;; that the DocBook document generated is valid and well-formed.
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index f20b511..91feb3c 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -2423,7 +2423,7 @@ INDENT was the original indentation of the block."
 	  (concat "\n#+BEGIN_DOCBOOK\n"
 		  (org-add-props (concat "\n\n")
+	 "]]>\n")
 			  '(org-protected t))
 		  "#+END_DOCBOOK\n"))
 	 ((eq backend 'html)

Thanks,

-- 
Baoqiu
___
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] Clocking feature request

2010-03-05 Thread Manish
2010/3/5 Sébastien Vauban :
> Hi all,
>
> Sorry to have some answers delayed. I have troubles accessing Gmane from
> certain locations... hence, almost can't access Org-mode (yes, I know, but I
> don't like the ML style -- I prefer newsgroups).
>
> So, to come back to my title, I have a feature request around clocking.
>
> Currently, we know how much time we spend on tasks since the beginning (it
> depends the file contents). For example, having one clock file per month, I
> always see in the modeline how much time I spent reading mails since March
> 1st.
>
> Though, I think it'd be very interesting to know how much time I spent reading
> mails *today* as well. This can help me distributing my work better.

please check out variable org-clock-modeline-total.  and a clock
report can show the time for monthly time consumption.

-- 
manish


___
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: Writing a dissertation using org-mode

2010-03-05 Thread Markus Heller

On 3/5/2010 2:14 AM, Sven Bretfeld wrote:

Eric S Fraga  writes:


if I may (respectfully) disagree?  Having examined too many PhD theses
to count, I would prefer PhD candidates spent more of their time
worrying about the content and organisation of their thesis than the
actual layout.  Unlike the preparation of camera ready copy for
conferences, say, most of the defaults taken by LaTeX are usually fine
once you've set up the layout to meet the university's requirements
(which are usually only about page size, margins and font sizes).  The
great thing about using org-mode for writing is the outlining and the
ability to easily move sections around.


I fully agree and would add some other advantages:

- Orgmode can help to plan a paper or thesis right from the first second
   onwards. If you plan your texts in the canonical bottom-up way,
   orgmode helps you through all the stages:

   1. Brainstorming
   2. Selecting
   3. Mindmapping
   4. Visualizing (org-mindmap)
   5. Structuring
   6. Writing

- Orgmode has the fantastic (and AFAIK unique) feature that you can
   integrate your text project directly into your time and todo
   management. Most people writing with MSWord etc. use to use
   marginnotes or something similar to make notes like "Check the
   pagenumber of this citation again". They are lucky if they actually
   remember this task when they are in a library. Writing in orgmode you
   can just add:

   * TODO Check the pagenumber of this citation again   :@LIBRARY:

   And you automatically have that todo in your daily agenda.


I have to agree with Torsten: I'd write the thesis directly in LaTeX, 
only because of the power of AUCTeX and RefTeX (and preview, if you have 
lots of plots and math).


I do see the advantages of orgmode in terms of brainstorming etc. as 
outlined by Sven, and I'd use orgmode for 1.--5. for sure.


Just one remark on Sven's last point: Having the TODO item in your 
agenda when you're in the library only helps if you have access to your 
org-files ...


Just my 2 cents
Markus



___
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: [babel] org-babel for matlab?

2010-03-05 Thread Christopher Long

Darlan Cavalcante Moreira  gmail.com> writes:

> > > I'm afraid I can't help much on this. I just used the
org-babel-template.el file > provided by Eric and did a search and
replace as told in the file comments in > order to make tangle work
for octave and MATLAB. I didn't implement any function > (I only know
enough lisp to understand my own .emacs file).  > > - Darlan > > >
Attachment (org-babel-matlab.el): application/octet-stream, 5941 bytes
> Attachment (org-babel-octave.el): application/octet-stream, 5941
bytes > > > At Wed, 17 Feb 2010 11:45:14 -0500, > Dan Davison  stats.ox.ac.uk> wrote: > > > > Darlan Cavalcante Moreira  gmail.com> writes: > > > > > This is also important for me (in
fact, for octave). For now I used the template > > > file and I can
tangle the code correctly, but since I didn't implement any > > >
function for code execution tangling is all I've got.  > > > > > > -
Darlan > > > > I was also going to suggest that if someone did this,
they might want to > > try to address octave at the same time.  > > >
> Darlan -- would you like to share your initial version of octave > >
support? If we get it onto a git repository then we can all have a
look > > and maybe make a bit of progress. Either post it, or contact
me off-line > > for the admin details for
http://repo.or.cz/w/org-mode/babel.git.  > > > > I don't use either
language but here are some comments about the various > > tasks and
guesses about how hard they would be.  > > > > If someone could
comment on the extent to which differences between > > matlab and
octave (running as command-line external processes) are going > > to
make shared org-babel support problematic that would probably be > >
useful.  > > > > - external process :results output > > Running octave
as an external process under linux/OS X and collecting > > stdout
shouldn't be too hard. Presumably same for matlab? Windows > >
support: unavailable for matlab, but probably feasible for octave.  >
> > > - external process :results value > > This basically involves
(in matlab/octave) writing vectors and arrays > > to a tabular file
(and then using existing code to import the org > > table, but this
bit can be taken from the files for another language) > > >
> - :session > > At first glance it looks like there's an inferior
octave mode that > > should be suitable for use > >
with :session. Darlan -- do you have experience with this?  > > > >
http://www.gnu.org/software/octave/doc/interpreter/Running-Octave-
From-Within-Emacs.html#Running-Octave-From-Within-Emacs
> > > > - Matlab :session on Windows > > Getting org-babel to work
with the MatLab "EmacsLink" module may well be > > possible, but I
would only be able to help very superficially.  > > > > Dan > > > > >
> > > > > At Tue, 16 Feb 2010 21:16:44 +0100, > > > Bob Jansen
 gmail.com> wrote: > > >> > > >> Hi list, > > >> > > >>
Has any progress been made on this? I'm fairly new to org-mode and > >
>> org-babel but this sounds to me like a very useful feature.  > > >>
> > >> > Hi Christopher, > > >> > > > >> > I do not know of anyone
working on matlab support for org-babel.  I am > > >> > attaching a
template file which contains instructions for adding support > > >> >
for a new language.  Depending on your level of familiarity with elisp
> > >> > it could take anywhere from a couple of hours to a couple of
days.  > > >> > We're still debugging some of the original language
specific files :) > > >> > > > >> > Best of Luck! -- Eric > > >> > > >
>> > > > >> > Attachment: org-babel-template.el > > >> > Description:
application/emacs-lisp > > >> > > > >> > Christopher Long
 writes: > > >> > > > >> > Dear All, > > >> > >
> >> > Has anyone started on a babel mode for matlab?  Or is anyone
else > > >> > interested > > >> > in making it happen?  Or have a
suggestion for a good template to > > >> > start from (babel-python?
babel-R?)  And anyone has an estimate of how > > >> > time consuming
such a project would be?  > > >> > > > >> > I'd like it to work on
Windows and there isn't a console mode of Matlab > > >> > on windows,
but you can evaluate code with EmacsLink and likely direct > > >> >
all output to temporary files.  > > >> > (I know EmacsLink was dropped
in R2009a, but some of us are avoiding > > >> > upgrading > > >> > and
hoping that Matlab will return EmacsLink in the future.)  > > >> > > >
>> > > > >> > Thanks, > > >> > > > >> > Stoph > > >> > > > >> > > > >>
> ___ > > >> >
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 > > >> > > >> > >
>> -- > > >> Met vriendelijke groet, > > >> > > >> Bob Jansen > > 

[Orgmode] Re: Remember and year-long-calendar

2010-03-05 Thread J. David Boyd
Detlef Steuer  writes:

> Hi!
>
> You are probably looking for 
>
> Org manual
> 9.1.2 Remember templates
> see date-tree
>

That's exactly what I was looking for.  Thank you very much!




___
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: Remember and year-long-calendar

2010-03-05 Thread Detlef Steuer
Hi!

You are probably looking for 

Org manual
9.1.2 Remember templates
see date-tree

Have a nice weekend
Detlef

On Fri, 05 Mar 2010 08:35:36 -0500
da...@adboyd.com (J. David Boyd) wrote:

> 
> Help, please!
> 
> I think that I remember reading that remember had the ability to create
> a calendar file good for the year, then a template was there that simply
> wrote to the current days events, great for logging the work that I do.
> 
> I can't find that email, I can't find it in any readmes, and I don't see
> it anywhere in the newsgroup archives...
> 
> Did I ever read this?
> 
> Is it really possible?
> 
> Any pointers will be greatly appreciated.
> 
> Thanks,
> 
> Dave in Largo, FL
> 
> 
> 
> ___
> 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] Remember and year-long-calendar

2010-03-05 Thread J. David Boyd

Help, please!

I think that I remember reading that remember had the ability to create
a calendar file good for the year, then a template was there that simply
wrote to the current days events, great for logging the work that I do.

I can't find that email, I can't find it in any readmes, and I don't see
it anywhere in the newsgroup archives...

Did I ever read this?

Is it really possible?

Any pointers will be greatly appreciated.

Thanks,

Dave in Largo, FL



___
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: Links with description and '%3f' in URL fail

2010-03-05 Thread Carsten Dominik

OK, I applied the patch to the git master.
On Mar 5, 2010, at 11:00 AM, Sebastien Delafond wrote:


On 2010-03-04, Carsten Dominik  wrote:

Hi Sebastian,

could you please try if the following patch does solve this issue?

Thanks.

- Carsten

diff --git a/lisp/org.el b/lisp/org.el
index 85b74fa..59d2acf 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -7950,12 +7950,14 @@ This is the list that is used before handing
over to the browser.")
   (url-unhex-string text)
 (setq table (or table org-link-escape-chars))
 (when text
-  (let ((re (mapconcat (lambda (x) (regexp-quote (cdr x)))
+  (let ((case-fold-search t)
+   (re (mapconcat (lambda (x) (regexp-quote (downcase (cdr x
   table "\\|")))
(while (string-match re text)
  (setq text
(replace-match
-(char-to-string (car (rassoc (match-string 0 text) table)))
+(char-to-string (car (rassoc (upcase (match-string 0 text))
+ table)))
 t t text)))
text


yes, it does just fine; thank you very much for you time !

Cheers,

--Seb



___
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] Writing a dissertation using org-mode

2010-03-05 Thread Sven Bretfeld
Eric S Fraga  writes:

> if I may (respectfully) disagree?  Having examined too many PhD theses
> to count, I would prefer PhD candidates spent more of their time
> worrying about the content and organisation of their thesis than the
> actual layout.  Unlike the preparation of camera ready copy for
> conferences, say, most of the defaults taken by LaTeX are usually fine
> once you've set up the layout to meet the university's requirements
> (which are usually only about page size, margins and font sizes).  The
> great thing about using org-mode for writing is the outlining and the
> ability to easily move sections around.

I fully agree and would add some other advantages:

- Orgmode can help to plan a paper or thesis right from the first second
  onwards. If you plan your texts in the canonical bottom-up way,
  orgmode helps you through all the stages: 

  1. Brainstorming
  2. Selecting
  3. Mindmapping
  4. Visualizing (org-mindmap)
  5. Structuring
  6. Writing

- Orgmode has the fantastic (and AFAIK unique) feature that you can
  integrate your text project directly into your time and todo
  management. Most people writing with MSWord etc. use to use
  marginnotes or something similar to make notes like "Check the
  pagenumber of this citation again". They are lucky if they actually
  remember this task when they are in a library. Writing in orgmode you
  can just add:

  * TODO Check the pagenumber of this citation again   :@LIBRARY:

  And you automatically have that todo in your daily agenda.

Greetings,

Sven


___
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: Links with description and '%3f' in URL fail

2010-03-05 Thread Sebastien Delafond
On 2010-03-04, Carsten Dominik  wrote:
> Hi Sebastian,
>
> could you please try if the following patch does solve this issue?
>
> Thanks.
>
> - Carsten
>
> diff --git a/lisp/org.el b/lisp/org.el
> index 85b74fa..59d2acf 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -7950,12 +7950,14 @@ This is the list that is used before handing  
> over to the browser.")
> (url-unhex-string text)
>   (setq table (or table org-link-escape-chars))
>   (when text
> -  (let ((re (mapconcat (lambda (x) (regexp-quote (cdr x)))
> +  (let ((case-fold-search t)
> + (re (mapconcat (lambda (x) (regexp-quote (downcase (cdr x
>  table "\\|")))
>   (while (string-match re text)
> (setq text
>   (replace-match
> -  (char-to-string (car (rassoc (match-string 0 text) table)))
> +  (char-to-string (car (rassoc (upcase (match-string 0 text))
> +   table)))
>t t text)))
>   text

yes, it does just fine; thank you very much for you time !

Cheers,

--Seb



___
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] Writing a dissertation using org-mode

2010-03-05 Thread Eric S Fraga
On Thu, 04 Mar 2010 14:33:33 +0900, Torsten Wagner  
wrote:
> On 03/04/2010 01:45 PM, Henri-Paul Indiogine wrote:
> > I started writing my doctoral dissertation in history using org-mode. I
> > am also using git.el for my version control and gnus for my email. Of
> > course I export my org file to LaTeX which I compile to pdf.  My
> > bibliography is managed using BibTeX.
> 
> please consider that you might have to follow a very stricy layout
> style depening on your university, department, lab or supervisor. If

[...]

> I'm not sure how good org-mode might be usable in that case. org-mode
> is really great and I try to use it for many purposes. However, for a
> thesis I would use directly LaTeX which gives me a bit more control of
> what is going on.

Torsten,

if I may (respectfully) disagree?  Having examined too many PhD theses
to count, I would prefer PhD candidates spent more of their time
worrying about the content and organisation of their thesis than the
actual layout.  Unlike the preparation of camera ready copy for
conferences, say, most of the defaults taken by LaTeX are usually fine
once you've set up the layout to meet the university's requirements
(which are usually only about page size, margins and font sizes).  The
great thing about using org-mode for writing is the outlining and the
ability to easily move sections around.

Being able to insert LaTeX code directly when required means that
there is seldom the need to edit the actual LaTeX code generated by
org-mode (bugs excepted, of course, but not only are these few and far
between but Carsten et al. usually fix bugs very quickly).

cheers,
eric


___
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: Writing a dissertation using org-mode

2010-03-05 Thread Detlef Steuer
On Thu, 04 Mar 2010 11:12:42 -0600
Henri-Paul Indiogine  wrote:

> Good point, I am just worried about learning too many things (Emacs,
> LaTeX, git, org-mode, R, ESS, ...) to take on new technologies. Writing
> a dissertation is quite a load already.  But I will into it.

Don't worry about that. All these really fine tools (exactly my set of
tools btw) share a common property: You'll improve your productivity
from, say, day three. Of i.e. git I know may be 1% of the features. But
I was going in no time. There will be the moments of 'oh, had I known
this four weeks before', but that happens whatever art you learn! So,
drop bibtex and choose one of the utf-ready alternatives and you have
a very capable set of tools to write your dissertation (and beyond)!

(Luckily mine was done a while ago, but org-mode would have made my 
self-organisation 
 so much easier! And org-babel ...)

Good luck
Detlef





___
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: org export as twiki - Failure to export with error: (wrong-type-argument stringp nil)

2010-03-05 Thread Carsten Dominik


On Mar 5, 2010, at 6:30 AM, Baoqiu Cui wrote:


"Mario E. Munich"  writes:


Dear Baoqiu,

thanks a lot for the reply... I have done some level of debugging (I
should have probably done it before, but I was not sure of what was
going on) and I had realized that the problem is in using  brackets  
[ ]

in the text.

Please find enclosed a simple file that will depict the issue.


Hi Mario,

Thanks for posting your example Org file.  Now I am able to reproduce
the problem and know where the bug is.

Just as you said, the problem is caused by the last line that contains
strings "double[9]" and "double[3][3]".  Here "[9]" and "[3]" are
considered footnote references (and I don't think this is what you
wanted), so some code is executed to find the footnote definitions.

The problem happens when the *second* "[3]" is being processed.
Strictly speaking, the second "[3]" is NOT considered as a footnote
reference according to ``org-footnote-re'' (see org-footnote.el), but
some code in org-docbook.el and org-html.el does not use
``org-footnote-re'' and still treats it as a footnote reference.  This
inconsistency caused the problem you saw, and it is only visible in
DocBook exporter.

Before I try to fix the problem, I'd like to get Carsten's  
confirmation

on the footnote reference syntax: whether the second "[3]", which
immediately follows a character "]", should be treated as a footnote
reference.

To get around this problem, you can try changing the last line to
something like:

 - =double[9]= was less efficient that =double[3][3]=,



Hi Baoqiu and Mario,

clearly, writing =double[3][3]= is the correct solution to this problem.

As for the behavior of [3][3], this is not clearly defined.  Neither  
the LaTeX
nor the HTML exporter handle this case gracefully, as in producing  
meaningful output.


Maybe the right thing would be to have them both treated as a footnote  
reference, but that would also require changes to org-footnote.el.   
These changes are not entirely

trivial, as far as I can see now.

So uness you are willing to dig into org-footnote.el to changes this,  
the
easy solution would be to simply catch the problem we have now in the  
docbook exporter, so that it does not crash.


- Carsten



Please let me know if you have further questions.


Best regards,

-Mario
#+FILETAGS: personal

* Converting org pages to Twiki
 - use docbook2twiki http://code.google.com/p/docbook2twiki/
   - Checkout docbook2twiki: <2009-09-24 Thu>
 svn checkout http://docbook2twiki.googlecode.com/svn/trunk/  
docbook2twiki-read-only

 - retrieved r5 from that repository
   - Load org-twiki.el
   - Publish buffer with: M-x org-export-as-twiki
 - double[9] was less efficient that double[3][3],




Thanks,

--
Baoqiu


- 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: org export as twiki - Failure to export with error: (wrong-type-argument stringp nil)

2010-03-05 Thread Mario E. Munich
Dear Baoqui,

thanks a lot for the solution to the problem, it works. I learned a little
bit more about org-mode today and I keep learning everyday how to best use
such a great emacs mode.

Best regards,

-Mario

On Thu, Mar 4, 2010 at 9:30 PM, Baoqiu Cui  wrote:

> "Mario E. Munich"  writes:
>
> > Dear Baoqiu,
> >
> > thanks a lot for the reply... I have done some level of debugging (I
> > should have probably done it before, but I was not sure of what was
> > going on) and I had realized that the problem is in using  brackets [ ]
> > in the text.
> >
> > Please find enclosed a simple file that will depict the issue.
>
> Hi Mario,
>
> Thanks for posting your example Org file.  Now I am able to reproduce
> the problem and know where the bug is.
>
> Just as you said, the problem is caused by the last line that contains
> strings "double[9]" and "double[3][3]".  Here "[9]" and "[3]" are
> considered footnote references (and I don't think this is what you
> wanted), so some code is executed to find the footnote definitions.
>
> The problem happens when the *second* "[3]" is being processed.
> Strictly speaking, the second "[3]" is NOT considered as a footnote
> reference according to ``org-footnote-re'' (see org-footnote.el), but
> some code in org-docbook.el and org-html.el does not use
> ``org-footnote-re'' and still treats it as a footnote reference.  This
> inconsistency caused the problem you saw, and it is only visible in
> DocBook exporter.
>
> Before I try to fix the problem, I'd like to get Carsten's confirmation
> on the footnote reference syntax: whether the second "[3]", which
> immediately follows a character "]", should be treated as a footnote
> reference.
>
> To get around this problem, you can try changing the last line to
> something like:
>
>  - =double[9]= was less efficient that =double[3][3]=,
>
> Please let me know if you have further questions.
>
> > Best regards,
> >
> > -Mario
> > #+FILETAGS: personal
> >
> > * Converting org pages to Twiki
> >   - use docbook2twiki http://code.google.com/p/docbook2twiki/
> > - Checkout docbook2twiki: <2009-09-24 Thu>
> >   svn checkout 
> > http://docbook2twiki.googlecode.com/svn/trunk/docbook2twiki-read-only
> >   - retrieved r5 from that repository
> > - Load org-twiki.el
> > - Publish buffer with: M-x org-export-as-twiki
> >   - double[9] was less efficient that double[3][3],
> >
> >
>
> Thanks,
>
> --
> Baoqiu
>
___
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