Re: [Orgmode] Speeding up agenda display

2010-01-03 Thread Carsten Dominik


On Jan 3, 2010, at 4:40 AM, Andrew J. Korty wrote:


On Jan 2, 2010, at 14:37 , Carsten Dominik wrote:


I have been thinking about caching often
but always stopped implementing it because, being a plain text
system, there is always the possibility that thinks are being
changed behind the back of the cache.  How are you handling
updating the cache?


Well, I'm only using the cache while org-agenda is running -- it  
doesn't persist beyond that.  So I don't have to worry about the  
agenda files changing, but I get no added benefit for subsequent  
agenda builds.



Ah, OK.

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


Re: [Orgmode] PATCH Bugfix: bulk mark/unmark selects wrong next item when restricted

2010-01-03 Thread Carsten Dominik

Hi Paul,

On Jan 2, 2010, at 10:45 PM, Paul Holcomb wrote:



When you are in agenda view and limit the items that are visible,
such as with a tag restriction, marking and unmarking behaves
incorrectly.  After the item is marked or unmarked for bulk action,
the point is moved to the next item, regardless of whether the next  
item

is visible.


The move to the next line is intentional, to make it easy to mark
consecutive lines.  But you are of course correct that this should not  
be an

invisible line.

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


Re: [Orgmode] Issue with remember templates

2010-01-03 Thread Carsten Dominik


On Dec 31, 2009, at 12:56 PM, Francis Moreau wrote:


Hello,

I'd like to note my work's holidays using remember.

For this, I have a org file (work.org for example) which contains the
following headline:

* Holidays
#+CATEGORY: Holiday
%%(diary-date 12 '(4 7) 2009) Day Off

I also created the following template to speed up the process of
entering a new holiday entri:

(Holidays ?h * %% (diary-date %?) Day Off work.org Holidays)

But as you can notice, this doesn't exactly create the entry I
described previously since it does:

* %% (diary-date ) Day Off

I had to insert some spaces otherwise Org tries to evaluate the Elisp
SEXP. I tried to use some backslashes in several ways like
'\%(diary-date )' but it has no effect.


* %\\%(diary-date %?) Day Off

should work.



The other problem is that Org ensures that the new entry has a
headline so I had to start the template with '*'. But I don't want
this since I read that the sexp entries must start at the left margin.


You can use

(Holidays ?h * Day Off %\\%(diary-date %?) work.org Holidays)

HTH

- Carsten




Could anybody give me some hints to solve these 2 issues ?

Thanks
--
Francis


___
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] org-export-generic : fixed export when org-export-generic-links-to-notes is nil

2010-01-03 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Jan 1, 2010, at 12:39 PM, Rocky Road wrote:


Hi all,

First, let me thank Carsten and all contributors for org-mode.
I just discovered it a couple of weeks ago, it's really helpful.

** Happy 2010 !
Best wishes to org-mode, list subscribers and friends, for the new  
year !


Here's a very modest contribution, about generic export feature.

** Issue
When =org-export-generic-links-to-notes= is nil , the export process  
failed at

first link encountered.

** Fix
Supply string argument to =match-string= function call.

** Patch fix-links-no-notes.patch
#+BEGIN_SRC diff
--- /usr/local/src/org-mode/contrib/lisp/org-export-generic.el	 
2009-12-29 15:21:01.0 +0100
+++ /usr/local/share/emacs/site-lisp/org/contrib/lisp/org-export- 
generic.el	2009-12-29 19:23:51.0 +0100

@@ -824,7 +824,7 @@ underlined headlines.  The default is 3.
(if org-export-generic-links-to-notes
(push (cons desc0 link) link-buffer)
  (setq rpl (concat rpl  ( link ))
-   wrap (+ (length line) (- (length (match-string 0)))
+   wrap (+ (length line) (- (length (match-string 0 line)))
(length desc)
  (setq line (replace-match rpl t t line
  (when custom-times
#+END_SRC

** Versions used
 - org-mode 6.33f
 - org-export-generic.el 2009-12-29 15:21  
md5=bcee72116106c63f16921820a6c3f01e
 - GNU Emacs 23.0.91.1 (i486-pc-linux-gnu, GTK+ Version 2.16.0) of  
2009-04-05 on palmer, modified by Debian

 - linux 2.6.28-17-generic (ubuntu 9.04 jaunty)

** Next
My idea was to convert org documents to dokuwiki,
so I looked for a way to process links.

I read with interest discussion about docbook export
http://article.gmane.org/gmane.emacs.orgmode/11958
and possible reorganisation of various export code.
For now I'm just trying to better understand the current architecture,
maybe I could give a hand if refactoring is still wanted.

Best regards,

Michelle Baert, aka RockyRoad.



___
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: Organizing a students live

2010-01-03 Thread Carsten Dominik


On Dec 28, 2009, at 10:09 PM, Daniel Martins wrote:

 Interesting.  But too complex for now - and I actually do prefer  
local control.


I know it is complex.

I thought about the first steps

I was thinking about a variable (list?) with predefined holidays

or better omit-holidays

such as org-omit-holidays

we could add the omit dates in any place
  (add-to-list 'org-omit-holidays 25 Dec)
  (add-to-list 'org-omit-holidays 1 Jan)
  (add-to-list 'org-omit-holidays 1 May)
etc.



Hmm, this is a possibility - but I don't have the time now to  
implement it.
And then the question remains: What exactly should be omitted on these  
days?
Everything? - probably not.  So I don't see how this leads to useful  
control, unless

we have a really fine-grained control for each entry.



Then we could change (adapt) the

function calendar-check-holydays from holidays.el


I did a search-replace to something like this:

(defun org-check-calendar-omit-holidays (date)
  Check the list of org-omit-holidays for any that occur on DATE.
The value returned is a list of strings of relevant org-omit-holiday  
descriptions.

The org-omit-holidays are those in the list `org-omit-holidays'.
  (let ((displayed-month (extract-calendar-month date))
(displayed-year (extract-calendar-year date))
(org-omit-holiday-list))
(dolist (h (calendar-org-omit-holiday-list))
  (if (calendar-date-equal date (car h))
  (setq org-omit-holiday-list (append org-omit-holiday-list  
(cdr h)

org-omit-holiday-list))

with these adaptation we could use a slighly changed  version of the  
diary-schedule function  I sent before.


I did not go further nor tested it.

Thinking again now: I think it is better to avoid holidays than week  
numbers. The problem is that we have to decide which holidays are  
really holidays and not rely on the holidays variables that come  
with Emacs.



I do not agree.  Lectures are not only skipped on holidays, but also  
on other

days, so a more general approach is needed.




Daniel

2009/12/28 Carsten Dominik carsten.domi...@gmail.com
Hi Daniel,


On Dec 27, 2009, at 1:51 AM, Daniel Martins wrote:

I liked the idea of org-diary-class!

I have added the function now to org-agenda.el



About avoiding holidays and certain weeks:

I used remind and wyrd for a while  and they are a quite good software
for dealing with such appts.

There we have the OMIT function where we determine holidays and other
non-working days including Sat and Sundays


Normally we have an OMIT list at the beginning of file

Some functions simply omit those dates

Other expressions use another keyword AFTER (or BEFORE)  to change
OMIT behaviour

like
23 Mar AFTER OMIT Bank payment

eg If 23 Mar is in Saturday it will appear in Monday

This preamble is just to say 2 things:

1) remind/wyrd could be used as a benchmark for some of the calendar
isuues we have

2) I do not know if the week number in a year is a practical way of
setting exceptions to org-diary-class

Daniel

PS Wyrd page is

http://pessimization.com/software/wyrd/

Interesting.  But too complex for now - and I actually do prefer  
local control.


- Carsten







2009/12/26 Carsten Dominik carsten.domi...@gmail.com:
Hi Daniel,

I think it is a good idea to add such a function to org-mode.  But I
am not sure if skipping holidays is the best, because Universities
also have lecture-free weeks etc.

So I am more thinking about a function like this (untested)

(defun org-diary-class (m1 d1 y1 m2 d2 y2 dayname rest skip-weeks)
 Entry applies if date is between dates on DAYNAME, but skips SKIP- 
WEEKS.

Order of the parameters is M1, D1, Y1, M2, D2, Y2 if
`european-calendar-style' is nil, and D1, M1, Y1, D2, M2, Y2 if
`european-calendar-style' is t.  The weeks are ISO week numbers where
the item should not apply.
 (let* ((date1 (calendar-absolute-from-gregorian
   (if european-calendar-style
   (list d1 m1 y1)
 (list m1 d1 y1
   (date2 (calendar-absolute-from-gregorian
   (if european-calendar-style
   (list d2 m2 y2)
 (list m2 d2 y2
   (d (calendar-absolute-from-gregorian date)))
  (and
   (= date1 d)
   (= d date2)
   (= (calendar-day-of-week date) dayname)
   (or (not skip-weeks)
   (progn
 (require 'cal-iso)
 (not (member (car (calendar-iso-from-absolute d)) skip- 
weeks

   entry)))


What do you think?

- Carsten

On Dec 21, 2009, at 4:54 PM, Daniel Martins wrote:

In fact, it helps! Thanks

However a sentence like this:


+# a class that meets every Monday evening between February 16 and
April 20, 2009
** Class 7:00pm-9:00pm
%%(and (= 1 (calendar-day-of-week date)) (diary-block 2 16 2009 4 20
2009))

is not an example of simplicity and visibility for a quite common  
feature!


Maybe as a suggestion we could encapsulate such a huge expression in a
simpler org-mode function ?

Daniel


PS In


Re: [Orgmode] Selective Export Question

2010-01-03 Thread Carsten Dominik


On Dec 22, 2009, at 7:24 AM, Mark Elston wrote:


I have been making progress on my use of org-mode to manage both
my teaching notes and handouts in a single document.  However, there
is something I still have not been able to make happen.  That is
selective exporting of text *without* exporting a headline along with
it.

Here is a sample of what I would like.  In this example I have  
sections

with common text (should be in both teaching notes and handouts) and
sections that are specific to each individual output format.  What I
have below is set up to export the notes.  What I would like is to
have the text (only) of the non-excluded sections and not the  
headlines.


Hi Mark,

I think the right path for this is a function that you write and install
in org-export-preprocess-hook.  Then you can set your own conditions and
remove those headlines before Org even tries to look at them.

HTH

- Carsten





--
#+TITLE: Test
#+LaTeX_CLASS: ClassNotes

#+OPTIONS: toc:nil H:8 tags:nil

#+EXPORT_EXCLUDE_TAGS: handouts

* Headline 1
 some text

** Headline 1-1
  even more text

* Headline 2
 some more text

** Headline 2-1
  Common text 1.  Should be followed by handout or notes text.

* should be handouts only:handouts:
 handout text

* should be notes only   :notes:
 notes text

** Headline 2-2
  Common text 2.  Should be followed by handout or notes text.

*:handouts:
 handout text again

*:notes:
 notes text again
--


The relevant material from my org-export-latex-classes is:

(ClassNotes \\documentclass[letter,twoside,openright]{memoir}
...
(\\chapter{%s} . \\chapter*{%s})
(\\section{%s} . \\section*{%s})
(\\subsection{%s} . \\subsection*{%s})
(\\subsubsection{%s} . \\subsubsection*{%s})
(%% Level 5 . %% Level 5)
(%% Level 6 . %% Level 6)
(%% Level 7 . %% Level 7)
(%% Level 8 . %% Level 8))
...


I was hoping to allow all levels of heading to be exported but only
write comments for the levels below level 4.  It didn't work out that
way.

With the above I don't get *any* of the :notes: or :handouts:
sections written out.  However, if I include empty level three and  
four

headlines (the stars followed by a mandatory space) I get the :notes:
and :handouts: sections just fine.  Except now I also get empty
\subsection{} and \subsubsection{} blocks in my latex output.  I have
attached the resulting .tex file with comments pointing out the
extra heading lines I would like to *not* see...

The net result is a lot of blank space in the resulting .pdf file
between the 'common' text and the note- or handout-specific text.   
This

is *definitely* not what I had in mind.

Is there any way of working around this or correcting this behavior?

Mark
test.tex___
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: Agenda clock reporting

2010-01-03 Thread Carsten Dominik


On Dec 22, 2009, at 2:03 PM, Bernt Hansen wrote:


Hi Carsten,

I use the agenda clock report during the end of my day.  Would it be
difficult to have it include the currently clocking task if a clock is
active?

I clock billable and nonbillable tasks during the day.  If I want to
stop working at 8 billable hours I currently run the clock report and
then find the current active clock entry (last one on the page with  
'l'
in the agenda) and manually add the time accumulated to the clock  
report

to see when I'm done for the day.  This is a bit tedious and error
prone.

I'm thinking that since agenda clock reports are not permanent it
wouldn't hurt to include the current clocking item in the agenda
report if that is easy to do.  I've been digging around in the clock
report code in my limited spare time but haven't yet made any useful
progress on this task.

Any pointers on where to make this modification would be appreciated.


Hi Bernt,

I think the right place would be `org-clock-sum'.  Right now,
this looks only for complete clock lines.  You could modify the regexp
to check for incomplete lines (first time stamp only) and then check
if the org-clock-marker points to the current line.  If yes, you could
use the current time as the end time and proceed.

Send me a patch if you get this to work, with a customization variable
to turn this off.

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] Bug: Store link to Wanderlust message fails when subject contains encoded characters [6.33trans (release_6.33f.173.g8f17)]

2010-01-03 Thread Carsten Dominik

Hi David,

could you please provide a full backtrace for this bug?

Thanks!

- Carsten

On Jan 1, 2010, at 9:54 PM, David Maus wrote:



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?   
See


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

Your bug report will be posted to the Org-mode mailing list.


Storing a link to a Wanderlust message fails if the message's subject
field contains an encoded character.

For instance a message with the subject header field:

,
| Subject: Eine Meldung und ihre Geschichte: =?UTF-8?B?RsO8cg==?= zwei
|  Gutscheine an den Pranger
`

Is returned by `wl-summary-line-subject' as a string with a text
property that indicates that the last part of the string was (as far
as I understood the elisp manual) converted to latin-iso8859-1

,
| #(Eine Meldung und ihre Geschichte: Für zwei Gutscheine an den  
Pranger 35 68 (charset latin-iso8859-1))

`

Feeding this string to `org-email-link-description' causes
`org-replace-escapes' to throw an error when setting the replace
string rpl using format and concat

*Messages*
,
| setq: Args out of range: 30, 35
`

A solution that obviously works is removing the text properties from
the subject string before `org-email-link-description' is called. As
the text property only tells us that the last part of the string was
converted /to/ latin-iso-8859-1 this should cause no problems, should
it?

Regards,

-- David

Emacs  : GNU Emacs 23.1.90.1 (i486-pc-linux-gnu, GTK+ Version 2.18.5)
of 2009-12-17 on elegiac, modified by Debian
Package: Org-mode version 6.33trans (release_6.33f.173.g8f17)

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com
ICQ... 241051416


___
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: Agenda clock reporting

2010-01-03 Thread Bernt Hansen
Carsten Dominik carsten.domi...@gmail.com writes:

 On Dec 22, 2009, at 2:03 PM, Bernt Hansen wrote:

 Hi Carsten,

 I use the agenda clock report during the end of my day.  Would it be
 difficult to have it include the currently clocking task if a clock is
 active?

 I clock billable and nonbillable tasks during the day.  If I want to
 stop working at 8 billable hours I currently run the clock report and
 then find the current active clock entry (last one on the page with
 l'
 in the agenda) and manually add the time accumulated to the clock
 report
 to see when I'm done for the day.  This is a bit tedious and error
 prone.

 I'm thinking that since agenda clock reports are not permanent it
 wouldn't hurt to include the current clocking item in the agenda
 report if that is easy to do.  I've been digging around in the clock
 report code in my limited spare time but haven't yet made any useful
 progress on this task.

 Any pointers on where to make this modification would be appreciated.

 Hi Bernt,

 I think the right place would be `org-clock-sum'.  Right now,
 this looks only for complete clock lines.  You could modify the regexp
 to check for incomplete lines (first time stamp only) and then check
 if the org-clock-marker points to the current line.  If yes, you could
 use the current time as the end time and proceed.

 Send me a patch if you get this to work, with a customization variable
 to turn this off.

 HTH

Yes it does thanks.  I found the logic that uses the regexp for parsing
the times and summing them in reverse up to the headline in
org-clock-sum.  I haven't modified the regexp yet but was planning
something similar to what you describe above.

   - org-clock-sum
   - Runs through headings in reverse order
   - counts clock entries bottom up to headline
   - adds a text property to the headline with total time
   - need to find out if current heading is clocking
   - add entry for open clock time with closing time to get correct total
   - regexp needs to match open clock entries
   - for open clock entry matches set time to zero
   - reset time if this is the current clocking entry

I'll post the patch whenever it gets done.

Thanks!
Bernt


___
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: Agenda clock reporting

2010-01-03 Thread Carsten Dominik


On Jan 3, 2010, at 3:22 PM, Bernt Hansen wrote:


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


On Dec 22, 2009, at 2:03 PM, Bernt Hansen wrote:


Hi Carsten,

I use the agenda clock report during the end of my day.  Would it be
difficult to have it include the currently clocking task if a  
clock is

active?

I clock billable and nonbillable tasks during the day.  If I want to
stop working at 8 billable hours I currently run the clock report  
and

then find the current active clock entry (last one on the page with
l'
in the agenda) and manually add the time accumulated to the clock
report
to see when I'm done for the day.  This is a bit tedious and error
prone.

I'm thinking that since agenda clock reports are not permanent it
wouldn't hurt to include the current clocking item in the agenda
report if that is easy to do.  I've been digging around in the clock
report code in my limited spare time but haven't yet made any useful
progress on this task.

Any pointers on where to make this modification would be  
appreciated.


Hi Bernt,

I think the right place would be `org-clock-sum'.  Right now,
this looks only for complete clock lines.  You could modify the  
regexp

to check for incomplete lines (first time stamp only) and then check
if the org-clock-marker points to the current line.  If yes, you  
could

use the current time as the end time and proceed.

Send me a patch if you get this to work, with a customization  
variable

to turn this off.

HTH


Yes it does thanks.  I found the logic that uses the regexp for  
parsing

the times and summing them in reverse up to the headline in
org-clock-sum.  I haven't modified the regexp yet but was planning
something similar to what you describe above.

  - org-clock-sum
  - Runs through headings in reverse order
  - counts clock entries bottom up to headline
  - adds a text property to the headline with total time
  - need to find out if current heading is clocking


Yes, the alternative approach would be to *not* modify the regexp, but  
to

check if org-clock-hd-marker points to the current headline and then
add the time since the clock started (in `org-clock-start-time') to  
the appropriate
field in the ltimes vector before extracting the total time.  So you  
would do
this as the first thing when you find a headline, and the proceed  
normally.


Sounds simpler than modifying the regexp and would not cause any  
problems
with other incomplete clock entries that may have been left behind and  
never

properly resolved..

- Carsten


  - add entry for open clock time with closing time to get correct  
total

  - regexp needs to match open clock entries
  - for open clock entry matches set time to zero
  - reset time if this is the current clocking entry

I'll post the patch whenever it gets done.

Thanks!
Bernt


- 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: Agenda clock reporting

2010-01-03 Thread Bernt Hansen
Carsten Dominik carsten.domi...@gmail.com writes:

 On Jan 3, 2010, at 3:22 PM, Bernt Hansen wrote:

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

 I think the right place would be `org-clock-sum'.  Right now,
 this looks only for complete clock lines.  You could modify the
 regexp
 to check for incomplete lines (first time stamp only) and then check
 if the org-clock-marker points to the current line.  If yes, you
 could
 use the current time as the end time and proceed.

 Send me a patch if you get this to work, with a customization
 variable
 to turn this off.

 HTH

 Yes it does thanks.  I found the logic that uses the regexp for
 parsing
 the times and summing them in reverse up to the headline in
 org-clock-sum.  I haven't modified the regexp yet but was planning
 something similar to what you describe above.

   - org-clock-sum
   - Runs through headings in reverse order
   - counts clock entries bottom up to headline
   - adds a text property to the headline with total time
   - need to find out if current heading is clocking

 Yes, the alternative approach would be to *not* modify the regexp, but
 to
 check if org-clock-hd-marker points to the current headline and then
 add the time since the clock started (in `org-clock-start-time') to
 the appropriate
 field in the ltimes vector before extracting the total time.  So you
 would do
 this as the first thing when you find a headline, and the proceed
 normally.

 Sounds simpler than modifying the regexp and would not cause any
 problems
 with other incomplete clock entries that may have been left behind and
 never
 properly resolved..

That does sound simpler ... I'll give that a try.

Thanks!
Bernt


___
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: Agenda clock reporting

2010-01-03 Thread Carsten Dominik


On Jan 3, 2010, at 4:38 PM, Bernt Hansen wrote:


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


On Jan 3, 2010, at 3:22 PM, Bernt Hansen wrote:


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


I think the right place would be `org-clock-sum'.  Right now,
this looks only for complete clock lines.  You could modify the
regexp
to check for incomplete lines (first time stamp only) and then  
check

if the org-clock-marker points to the current line.  If yes, you
could
use the current time as the end time and proceed.

Send me a patch if you get this to work, with a customization
variable
to turn this off.

HTH


Yes it does thanks.  I found the logic that uses the regexp for
parsing
the times and summing them in reverse up to the headline in
org-clock-sum.  I haven't modified the regexp yet but was planning
something similar to what you describe above.

 - org-clock-sum
 - Runs through headings in reverse order
 - counts clock entries bottom up to headline
 - adds a text property to the headline with total time
 - need to find out if current heading is clocking


Yes, the alternative approach would be to *not* modify the regexp,  
but

to
check if org-clock-hd-marker points to the current headline and then
add the time since the clock started (in `org-clock-start-time') to
the appropriate
field in the ltimes vector before extracting the total time.  So you
would do
this as the first thing when you find a headline, and the proceed
normally.

Sounds simpler than modifying the regexp and would not cause any
problems
with other incomplete clock entries that may have been left behind  
and

never
properly resolved..


That does sound simpler ... I'll give that a try.


In fact, you only need to add the time to t1, not to the ltimes  
vector.


- 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] footnote: org latex

2010-01-03 Thread Carsten Dominik

Hi Eraldo,

I believe this is fixed, now, please verify.

- Carsten

On Dec 16, 2009, at 7:00 PM, Eraldo Helal wrote:


Org-mode source file:

- OSD[fn:OSD]
- OSD[fn:OSD]

...

[fn:OSD] OSD: open source definition



Resulting PDF:

• OSD¹
• OSD$^1$

...

---
¹OSD: open source de nition


What I want is to be able to have multiple footnotes leading to the
same reference.
I tried to do footnotes with different syntaxes but I could not manage
to get it.

Example:
Open source is defined by the OSD¹.
The OSD¹ definition is written in the form of guidelines.
The GPL² plays an important role talking about licensing.


¹ OSD: open source definition
² GPL: General Public License

Am I using the wrong syntax or is it a bug?
Any idea how to fix it?

Greetings from Austria,
Eraldo


___
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] FR: org-remember shortcut to customize-option org-remember-templates

2010-01-03 Thread Carsten Dominik

Hi Adam,

On Dec 16, 2009, at 4:32 PM, Adam Spiers wrote:


I really like the way `M-x org-agenda C' takes you straight to the
*Customize Option: Org Agenda Custom Commands* buffer.  Similarly, it
would be nice if `M-x org-remember C' took you straight to the
*Customize Option: Org Remember Templates* buffer.


This works now, but only if you do not define `C' as access letter
for a template.



Although in both cases it would be even nicer if the keystroke for
this was customisable, as no doubt some people already have `M-x
org-remember C' set up to do something else.


I have *not* made it configurable

- 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] Selective Export Question

2010-01-03 Thread Mark Elston

Carsten Dominik wrote:


On Dec 22, 2009, at 7:24 AM, Mark Elston wrote:


I have been making progress on my use of org-mode to manage both
my teaching notes and handouts in a single document.  However, there
is something I still have not been able to make happen.  That is
selective exporting of text *without* exporting a headline along with
it.

Here is a sample of what I would like.  In this example I have sections
with common text (should be in both teaching notes and handouts) and
sections that are specific to each individual output format.  What I
have below is set up to export the notes.  What I would like is to
have the text (only) of the non-excluded sections and not the headlines.


Hi Mark,

I think the right path for this is a function that you write and install
in org-export-preprocess-hook.  Then you can set your own conditions and
remove those headlines before Org even tries to look at them.

HTH

- Carsten





Thanks, Carsten.

It is amazing how much infrastructure there is to support so many
features.  I wasn't aware of all the hooks available and this one
escaped my attention.  I will look into it.  My elisp isn't as good
as my C++ (or Python, or Perl...) but it is probably good enough to
make use of this.

Mark


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


[Orgmode] typo in org.texi

2010-01-03 Thread Manish
In line# 12340 of org.texi:

  s/fiel/file/

Thanks
-- 
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] Problems with Org Mode which doesn't properly manage linebreaks in LaTeX export

2010-01-03 Thread Pierfranco Minsenti
Hi all,

this is my 1st message to the list and I am writing to ask for help.
I have a problem with the LaTeX export features of Org Mode, version 6.27a.
installed on a GNU Emacs Emacs 22.1.1 (powerpc-apple-darwin7.9.0, Carbon
Version 1.6.0).

The problem is the folllowing: in the header lines of the LaTeX file
exported from an original Org file, the different commands which are
automatically addedd by the system and which should begin each of them on a
new paragraph, appear all in a single multiline paragraph. The problem is
that this paragraph is commented, because it begins with the % Created
2010-01-03 etc. also added by the system.
Perhaps this is also why the the PDF export doen't work.

Another problem, caused by a line break not properly managed, is related to
bulleted lists when they are exported to a LaTeX file: when items are longer
that a single line, the lines after the first are broken down (that is: the
second line etc. begin a new, not-bulleted paragraph, and they are not the
second line of the item).

I have set the variable Org Export Preserve Breaks to on (non-nil) but
nothing has changed.

I have also checked the specific LaTeX export variables of Org but all seems
properly setted.
By the way, when I make a very similar export from another Emacs mode, that
is Muse Mode, to LaTeX, I don't have these problems and everything works
just fine.

Has anybody experienced this problem with Org Mode and could help me?

Thank you very much in advance.

pierfranco
___
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] Selective Export Question

2010-01-03 Thread Carsten Dominik

Hi Mark,

there are about 100 hooks, see

http://orgmode.org/worg/org-configs/org-hooks.php

And I am very happy to add more, wherever these is a use for it.

- Carsten

On Jan 3, 2010, at 5:15 PM, Mark Elston wrote:


Carsten Dominik wrote:

On Dec 22, 2009, at 7:24 AM, Mark Elston wrote:

I have been making progress on my use of org-mode to manage both
my teaching notes and handouts in a single document.  However, there
is something I still have not been able to make happen.  That is
selective exporting of text *without* exporting a headline along  
with

it.

Here is a sample of what I would like.  In this example I have  
sections
with common text (should be in both teaching notes and handouts)  
and

sections that are specific to each individual output format.  What I
have below is set up to export the notes.  What I would like is to
have the text (only) of the non-excluded sections and not the  
headlines.

Hi Mark,
I think the right path for this is a function that you write and  
install
in org-export-preprocess-hook.  Then you can set your own  
conditions and

remove those headlines before Org even tries to look at them.
HTH
- Carsten


Thanks, Carsten.

It is amazing how much infrastructure there is to support so many
features.  I wasn't aware of all the hooks available and this one
escaped my attention.  I will look into it.  My elisp isn't as good
as my C++ (or Python, or Perl...) but it is probably good enough to
make use of this.

Mark


- 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] typo in org.texi

2010-01-03 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Jan 3, 2010, at 5:44 PM, Manish wrote:


In line# 12340 of org.texi:

 s/fiel/file/

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


- 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] Problems with Org Mode which doesn't properly manage linebreaks in LaTeX export

2010-01-03 Thread Carsten Dominik


Hi Pierfranco,

please augment your report with example input (.org file) and
output (.tex file).

Thanks.

- Carsten

On Jan 3, 2010, at 5:51 PM, Pierfranco Minsenti wrote:


Hi all,

this is my 1st message to the list and I am writing to ask for help.
I have a problem with the LaTeX export features of Org Mode, version  
6.27a. installed on a GNU Emacs Emacs 22.1.1 (powerpc-apple- 
darwin7.9.0, Carbon Version 1.6.0).


The problem is the folllowing: in the header lines of the LaTeX file  
exported from an original Org file, the different commands which are  
automatically addedd by the system and which should begin each of  
them on a new paragraph, appear all in a single multiline paragraph.  
The problem is that this paragraph is commented, because it begins  
with the % Created 2010-01-03 etc. also added by the system.

Perhaps this is also why the the PDF export doen't work.

Another problem, caused by a line break not properly managed, is  
related to bulleted lists when they are exported to a LaTeX file:  
when items are longer that a single line, the lines after the first  
are broken down (that is: the second line etc. begin a new, not- 
bulleted paragraph, and they are not the second line of the item).


I have set the variable Org Export Preserve Breaks to on (non-nil)  
but nothing has changed.


I have also checked the specific LaTeX export variables of Org but  
all seems properly setted.
By the way, when I make a very similar export from another Emacs  
mode, that is Muse Mode, to LaTeX, I don't have these problems and  
everything works just fine.


Has anybody experienced this problem with Org Mode and could help me?

Thank you very much in advance.

pierfranco

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


- Carsten





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


Re: [Orgmode] Bug: Store link to Wanderlust message fails when subject contains encoded characters [6.33trans (release_6.33f.173.g8f17)]

2010-01-03 Thread David Maus
At Sun, 3 Jan 2010 14:40:58 +0100,
Carsten Dominik wrote:
 
 Hi David,
 
 could you please provide a full backtrace for this bug?
 

Backtrace attached. 

My first guess on why it happens was wrong, as expected: There are
messages with encoded umlauts that do not cause this error.

Regards

 -- David

-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com
ICQ... 241051416

Debugger entered--Lisp error: (args-out-of-range 30 45)
  format(%.30s #(Online-Pornografie: China nimmt Tausende Verdächtige fest 
45 57 (charset latin-iso8859-1)))
  (setq rpl (format (concat ... s) (cdr e)))
  (while (string-match re string) (setq rpl (format ... ...)) (setq string 
(replace-match rpl t t string)))
  (while (setq e (pop table)) (setq re (concat %-?[0-9.]* ...)) (while 
(string-match re string) (setq rpl ...) (setq string ...)))
  (let ((case-fold-search nil) e re rpl) (while (setq e ...) (setq re ...) 
(while ... ... ...)) string)
  org-replace-escapes(Email from %f: %.30s ((%c) (%F . rss-hash 
(SpiegelSchlagzeilen)) (%f . SpiegelSchlagzeilen) (%T) (%t . ?) 
(%s . #(Online-Pornografie: China nimmt Tausende Verdächtige fest 45 57 
...)) (%m . 
c5870b37264417e9a721fc15fd537745.spiegelschlagzei...@rss-hash)))
  (let* ((p org-store-link-plist) (to ...) (from ...) (table ...)) (when 
(string-match %c fmt) (if ... ... ...)) (org-replace-escapes fmt table))
  org-email-link-description()
  org-wl-store-link()
  run-hook-with-args-until-success(org-wl-store-link)
  (cond ((run-hook-with-args-until-success ...) (setq link ... desc ...)) 
((equal ... *Org Edit Src Example*) (let ... ... ... ... ... ... ... ...)) 
((equal ... ...) (let ... ...)) ((eq major-mode ...) (let ... ... ...)) ((eq 
major-mode ...) (setq cpltxt ... link ...) (org-store-link-props :type w3 
:url ...)) ((eq major-mode ...) (setq cpltxt ... link ...) 
(org-store-link-props :type w3m :url ...)) ((setq search ...) (setq link ...) 
(setq cpltxt ...)) ((eq major-mode ...) (setq cpltxt ... link ...) 
(org-store-link-props :type image :file buffer-file-name)) ((eq major-mode 
...) (setq cpltxt ... link ...)) ((and buffer-file-name ...) (setq custom-id 
...) (cond ... ... ...)) ((buffer-file-name ...) (setq cpltxt ...) (when ... 
... ...) (setq link ...)) ((interactive-p) (error Cannot link to a buffer 
which is not visiting a file)) (t (setq link nil)))
  (let ((outline-regexp ...) link cpltxt desc description search txt custom-id) 
(cond (... ...) (... ...) (... ...) (... ...) (... ... ...) (... ... ...) (... 
... ...) (... ... ...) (... ...) (... ... ...) (... ... ... ...) (... ...) (t 
...)) (if (consp link) (setq cpltxt ... link ...)) (setq link (or link cpltxt) 
desc (or desc cpltxt)) (if (equal desc NONE) (setq desc nil)) (if (and ... 
link) (progn ... ... ...) (and link ...)))
  org-store-link(nil)
  call-interactively(org-store-link nil nil)
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Problems with Org Mode which doesn't properly manage linebreaks in LaTeX export

2010-01-03 Thread Pierfranco Minsenti
Hi Carsten,

thank you yor your early reply.
Here is an example as you requested: some lines from my original .org file
(the lines between the  rows):

=
* ML built-in transaction monitoring facility


** Features

MetaLib has a built-in transaction monitoring facility (a transaction
logging component).
This component enables system administrators to retrieve the stored
transaction log data and analyze them at their convenience.


The data elements stored by the transaction logging component are the
following:
 - date/time stamp of transactions
 - resource name (i.e. resources as targets for the metasearch engine:
databases, catalogues, directories, search engines, full-text electronic
collections etc.) available in the systems (the so called local
KnowledgeBase)
 - resource type (i.e. subject gateway; library catalogues, etc.) and
discipline
 - resource access method code: (i.e. the type of connector required to
comunicate with the external resource: e.g. Z39.50; HTML protocol; XML
protocol)
 - users demographic data: Affiliation: Undergraduate; Graduate; Staff;
Guest) and Academic status: Undergraduate; Graduate; Post Graduate; Faculty
Member; Other)
 - users type related to: authenticated use of the system and use of
personalization features: Registered Users; Users with Personal Lists; Users
with Saved Items
 - number of searches per resource
 - number of search sessions per day, user groups
 - patron's entry (i.e. the search query)
 - the number of hits
 - search type code (i.e. the type of fields used)
 - search status code (DONE; ERROR; SUSPEND; FIND; FETCH; CANCEL)
 - system modules used (Quick Search; Find Database; MetaSearch; History;
Alerts)


** Limitations

The pre-defined reports available suffers severals limitations, some
peculiar drawbaks of the web logging system made available. These consist in
the fact that relevant data are filtered out:
 - IP of users (which would make it possible to identify their provenance
from the local network of from the outside internet)
 - data about full-text resources found and actual file the downloaded are
not available.
Infact the Links to Native Interface section warns that: This statistical
report counts the number of times users link to the native interface of a
resource. This report includes links to the native interface of any resource
presented in the user interface, including Link Only resources (i.e., not
searchable in MetaLib); links to the native interface to view the search
results of a Search and Link resource; as well as links to the native
interface to view full-text documents, etc. that may be included as external
links in the full records of search results. The display includes the
database name and number of times linked.

Besides, the convention used for counting queries:
 - the system counts queries per target resources, so that single queries
submitted in the user interface are multiplied by the number of target
resouces they have actually been sent.

=

Here are the same lines as they appear in the exported LaTeX file (the lines
between the  rows):



% Created 2010-01-03 Sun 19:20 \documentclass[11pt]{article}
\usepackage[latin1]{inputenc}%[utf8]{inputenc} \usepackage[T1]{fontenc}
\usepackage{graphicx} \usepackage{longtable} \usepackage{hyperref}
\title{ML-TLA} \author{Pierfranco Minsenti} \date{03 January 2010}
\begin{document}  \maketitle  \setcounter{tocdepth}{3} \tableofcontents
\vspace*{1cm}

\section{ML built-in transaction monitoring facility} \label{sec-1}


\subsection{Features} \label{sec-1.1}

MetaLib has a built-in transaction monitoring facility (a transaction
logging
component).
This component enables system administrators to retrieve the stored
transaction log data and analyze them at their convenience.



The data elements stored by the transaction logging component are the
following:
\begin{itemize} \item date/time stamp of transactions \item resource name
(i.e. resources as targets for the metasearch engine: \end{itemize}
databases, catalogues, directories, search engines, full-text electronic
collections etc.) available in the systems (the so called local
KnowledgeBase)
\begin{itemize} \item resource type (i.e. subject gateway; library
catalogues, etc.) and \end{itemize} discipline
\begin{itemize} \item resource access method code: (i.e. the type of
connector required to \end{itemize} comunicate with the external resource:
e.g. Z39.50; HTML protocol; XML
protocol)
\begin{itemize} \item users demographic data: Affiliation: Undergraduate;
Graduate; Staff; Guest) \end{itemize} and Academic status: Undergraduate;
Graduate; Post Graduate; Faculty Member;
Other)
\begin{itemize} \item users type related to: authenticated use of the system
and use of \end{itemize} personalization features: Registered Users; Users
with Personal Lists; Users
with Saved Items
\begin{itemize} \item number of 

Re: [Orgmode] Problems with Org Mode which doesn't properly manage linebreaks in LaTeX export

2010-01-03 Thread Carsten Dominik

Hi Pierfranco,

are you using longlines.el or something similar with hard and soft new  
lines?
Bad Idea.  Your best option is to switch to Emacs 23 and use is built- 
in facilities (visual-line-mode and word-wrap) to display long lines.


- Carsten

On Jan 3, 2010, at 7:30 PM, Pierfranco Minsenti wrote:


Hi Carsten,

thank you yor your early reply.
Here is an example as you requested: some lines from my  
original .org file (the lines between the  rows):


=
* ML built-in transaction monitoring facility


** Features

MetaLib has a built-in transaction monitoring facility (a  
transaction logging component).
This component enables system administrators to retrieve the stored  
transaction log data and analyze them at their convenience.



The data elements stored by the transaction logging component are  
the following:

 - date/time stamp of transactions
 - resource name (i.e. resources as targets for the metasearch  
engine: databases, catalogues, directories, search engines, full- 
text electronic collections etc.) available in the systems (the so  
called local KnowledgeBase)
 - resource type (i.e. subject gateway; library catalogues, etc.)  
and discipline
 - resource access method code: (i.e. the type of connector required  
to comunicate with the external resource: e.g. Z39.50; HTML  
protocol; XML protocol)
 - users demographic data: Affiliation: Undergraduate; Graduate;  
Staff; Guest) and Academic status: Undergraduate; Graduate; Post  
Graduate; Faculty Member; Other)
 - users type related to: authenticated use of the system and use of  
personalization features: Registered Users; Users with Personal  
Lists; Users with Saved Items

 - number of searches per resource
 - number of search sessions per day, user groups
 - patron's entry (i.e. the search query)
 - the number of hits
 - search type code (i.e. the type of fields used)
 - search status code (DONE; ERROR; SUSPEND; FIND; FETCH; CANCEL)
 - system modules used (Quick Search; Find Database; MetaSearch;  
History; Alerts)



** Limitations

The pre-defined reports available suffers severals limitations, some  
peculiar drawbaks of the web logging system made available. These  
consist in the fact that relevant data are filtered out:
 - IP of users (which would make it possible to identify their  
provenance from the local network of from the outside internet)
 - data about full-text resources found and actual file the  
downloaded are not available.
Infact the Links to Native Interface section warns that: This  
statistical report counts the number of times users link to the  
native interface of a resource. This report includes links to the  
native interface of any resource presented in the user interface,  
including Link Only resources (i.e., not searchable in MetaLib);  
links to the native interface to view the search results of a Search  
and Link resource; as well as links to the native interface to view  
full-text documents, etc. that may be included as external links in  
the full records of search results. The display includes the  
database name and number of times linked.


Besides, the convention used for counting queries:
 - the system counts queries per target resources, so that single  
queries submitted in the user interface are multiplied by the number  
of target resouces they have actually been sent.


=

Here are the same lines as they appear in the exported LaTeX file  
(the lines between the  rows):




% Created 2010-01-03 Sun 19:20 \documentclass[11pt]{article}  
\usepackage[latin1]{inputenc}%[utf8]{inputenc} \usepackage[T1] 
{fontenc} \usepackage{graphicx} \usepackage{longtable}  
\usepackage{hyperref}   \title{ML-TLA} \author{Pierfranco Minsenti}  
\date{03 January 2010}  \begin{document}  \maketitle   
\setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm}


\section{ML built-in transaction monitoring facility} \label{sec-1}


\subsection{Features} \label{sec-1.1}

MetaLib has a built-in transaction monitoring facility (a  
transaction logging

component).
This component enables system administrators to retrieve the stored
transaction log data and analyze them at their convenience.



The data elements stored by the transaction logging component are the
following:
\begin{itemize} \item date/time stamp of transactions \item resource  
name (i.e. resources as targets for the metasearch engine:  
\end{itemize} databases, catalogues, directories, search engines,  
full-text electronic
collections etc.) available in the systems (the so called local  
KnowledgeBase)
\begin{itemize} \item resource type (i.e. subject gateway; library  
catalogues, etc.) and \end{itemize} discipline
\begin{itemize} \item resource access method code: (i.e. the type of  
connector required to \end{itemize} comunicate with the external  
resource: e.g. Z39.50; HTML protocol; XML

protocol)
\begin{itemize} 

Re: [Orgmode] Bug: Store link to Wanderlust message fails when subject contains encoded characters [6.33trans (release_6.33f.173.g8f17)]

2010-01-03 Thread Carsten Dominik

Hi David,

this is a weird bug.  I'd say it is a bug in `format', which does  
something
bad with properties because a format like %.30s is used to shorten a  
string

while properties in that string exist beyond that shortened part.

On Jan 3, 2010, at 7:11 PM, David Maus wrote:


At Sun, 3 Jan 2010 14:40:58 +0100,
Carsten Dominik wrote:


Hi David,

could you please provide a full backtrace for this bug?



Backtrace attached.

My first guess on why it happens was wrong, as expected: There are
messages with encoded umlauts that do not cause this error.


This would fit with my observation, if the propertized part is not  
outside the

part that gets formatted into the string.

Would you like to try to make a patch which does remove the text
properties for this case?

- Carsten



Regards

-- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com
ICQ... 241051416

Debugger entered--Lisp error: (args-out-of-range 30 45)
 format(%.30s #(Online-Pornografie: China nimmt Tausende  
Verdächtige fest 45 57 (charset latin-iso8859-1)))

 (setq rpl (format (concat ... s) (cdr e)))
 (while (string-match re string) (setq rpl (format ... ...)) (setq  
string (replace-match rpl t t string)))
 (while (setq e (pop table)) (setq re (concat %-?[0-9.]* ...))  
(while (string-match re string) (setq rpl ...) (setq string ...)))
 (let ((case-fold-search nil) e re rpl) (while (setq e ...) (setq  
re ...) (while ... ... ...)) string)
 org-replace-escapes(Email from %f: %.30s ((%c) (%F . rss- 
hash (SpiegelSchlagzeilen)) (%f . SpiegelSchlagzeilen) (%T)  
(%t . ?) (%s . #(Online-Pornografie: China nimmt Tausende  
Verdächtige fest 45 57 ...)) (%m .  
c5870b37264417e9a721fc15fd537745.spiegelschlagzei...@rss-hash)))
 (let* ((p org-store-link-plist) (to ...) (from ...) (table ...))  
(when (string-match %c fmt) (if ... ... ...)) (org-replace-escapes  
fmt table))

 org-email-link-description()
 org-wl-store-link()
 run-hook-with-args-until-success(org-wl-store-link)
 (cond ((run-hook-with-args-until-success ...) (setq link ...  
desc ...)) ((equal ... *Org Edit Src Example*)  
(let ... ... ... ... ... ... ... ...)) ((equal ... ...)  
(let ... ...)) ((eq major-mode ...) (let ... ... ...)) ((eq major- 
mode ...) (setq cpltxt ... link ...) (org-store-link-props :type  
w3 :url ...)) ((eq major-mode ...) (setq cpltxt ... link ...) (org- 
store-link-props :type w3m :url ...)) ((setq search ...) (setq  
link ...) (setq cpltxt ...)) ((eq major-mode ...) (setq cpltxt ...  
link ...) (org-store-link-props :type image :file buffer-file- 
name)) ((eq major-mode ...) (setq cpltxt ... link ...)) ((and buffer- 
file-name ...) (setq custom-id ...) (cond ... ... ...)) ((buffer- 
file-name ...) (setq cpltxt ...) (when ... ... ...) (setq link ...))  
((interactive-p) (error Cannot link to a buffer which is not  
visiting a file)) (t (setq link nil)))
 (let ((outline-regexp ...) link cpltxt desc description search txt  
custom-id) (cond (... ...) (... ...) (... ...) (... ...)  
(... ... ...) (... ... ...) (... ... ...) (... ... ...) (... ...)  
(... ... ...) (... ... ... ...) (... ...) (t ...)) (if (consp link)  
(setq cpltxt ... link ...)) (setq link (or link cpltxt) desc (or  
desc cpltxt)) (if (equal desc NONE) (setq desc nil)) (if (and ...  
link) (progn ... ... ...) (and link ...)))

 org-store-link(nil)
 call-interactively(org-store-link nil nil)


- Carsten





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


Re: [Orgmode] Bug: Store link to Wanderlust message fails when subject contains encoded characters [6.33trans (release_6.33f.173.g8f17)]

2010-01-03 Thread Carsten Dominik


On Jan 3, 2010, at 7:42 PM, Carsten Dominik wrote:


Hi David,

this is a weird bug.  I'd say it is a bug in `format', which does  
something
bad with properties because a format like %.30s is used to shorten  
a string

while properties in that string exist beyond that shortened part.


In fact, here is a simple test that reproduces this problem:

(format %.10s (concat 1234567890
(propertize 12345678901234567890 'xxx 25)))

The problem only shows if the start of the propertized section is  
already
outsinde the width of the %.10s format field.  The following works  
fine
(only change: make the unpropertized part in the concat shorter than  
10 characters:


(format %.10s (concat 123456789
(propertize 12345678901234567890 'xxx 25)))

Can I ask you to submit this as a bug report to Emacs?

- Carsten



On Jan 3, 2010, at 7:11 PM, David Maus wrote:


At Sun, 3 Jan 2010 14:40:58 +0100,
Carsten Dominik wrote:


Hi David,

could you please provide a full backtrace for this bug?



Backtrace attached.

My first guess on why it happens was wrong, as expected: There are
messages with encoded umlauts that do not cause this error.


This would fit with my observation, if the propertized part is not  
outside the

part that gets formatted into the string.

Would you like to try to make a patch which does remove the text
properties for this case?

- Carsten



Regards

-- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com
ICQ... 241051416

Debugger entered--Lisp error: (args-out-of-range 30 45)
format(%.30s #(Online-Pornografie: China nimmt Tausende  
Verdächtige fest 45 57 (charset latin-iso8859-1)))

(setq rpl (format (concat ... s) (cdr e)))
(while (string-match re string) (setq rpl (format ... ...)) (setq  
string (replace-match rpl t t string)))
(while (setq e (pop table)) (setq re (concat %-?[0-9.]* ...))  
(while (string-match re string) (setq rpl ...) (setq string ...)))
(let ((case-fold-search nil) e re rpl) (while (setq e ...) (setq  
re ...) (while ... ... ...)) string)
org-replace-escapes(Email from %f: %.30s ((%c) (%F . rss- 
hash (SpiegelSchlagzeilen)) (%f . SpiegelSchlagzeilen) (%T)  
(%t . ?) (%s . #(Online-Pornografie: China nimmt Tausende  
Verdächtige fest 45 57 ...)) (%m .  
c5870b37264417e9a721fc15fd537745.spiegelschlagzei...@rss-hash)))
(let* ((p org-store-link-plist) (to ...) (from ...) (table ...))  
(when (string-match %c fmt) (if ... ... ...)) (org-replace- 
escapes fmt table))

org-email-link-description()
org-wl-store-link()
run-hook-with-args-until-success(org-wl-store-link)
(cond ((run-hook-with-args-until-success ...) (setq link ...  
desc ...)) ((equal ... *Org Edit Src Example*)  
(let ... ... ... ... ... ... ... ...)) ((equal ... ...)  
(let ... ...)) ((eq major-mode ...) (let ... ... ...)) ((eq major- 
mode ...) (setq cpltxt ... link ...) (org-store-link-props :type  
w3 :url ...)) ((eq major-mode ...) (setq cpltxt ... link ...)  
(org-store-link-props :type w3m :url ...)) ((setq search ...)  
(setq link ...) (setq cpltxt ...)) ((eq major-mode ...) (setq  
cpltxt ... link ...) (org-store-link-props :type image :file  
buffer-file-name)) ((eq major-mode ...) (setq cpltxt ... link ...))  
((and buffer-file-name ...) (setq custom-id ...)  
(cond ... ... ...)) ((buffer-file-name ...) (setq cpltxt ...)  
(when ... ... ...) (setq link ...)) ((interactive-p) (error Cannot  
link to a buffer which is not visiting a file)) (t (setq link nil)))
(let ((outline-regexp ...) link cpltxt desc description search txt  
custom-id) (cond (... ...) (... ...) (... ...) (... ...)  
(... ... ...) (... ... ...) (... ... ...) (... ... ...) (... ...)  
(... ... ...) (... ... ... ...) (... ...) (t ...)) (if (consp link)  
(setq cpltxt ... link ...)) (setq link (or link cpltxt) desc (or  
desc cpltxt)) (if (equal desc NONE) (setq desc nil)) (if (and ...  
link) (progn ... ... ...) (and link ...)))

org-store-link(nil)
call-interactively(org-store-link nil nil)


- Carsten





- 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] HTML table export with col width XY

2010-01-03 Thread Carsten Dominik

Hi Karl,

I still cannot reproduce this.
Anybody else?

- Carsten

On Dec 31, 2009, at 9:26 AM, Karl Eichwalder wrote:


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


I cannot reproduce this.

Are you using XEmacs, maybe?


No, but I should have mentioned that I'm using MacOSX 10.4.11 (PPC):

In GNU Emacs 23.1.90.1 (powerpc-apple-darwin8.11.0, NS apple- 
appkit-824.48)

of 2009-12-14 on goethe.local
Windowing system distributor `Apple', version 10.3.824
configured using `configure  '--with-ns''

Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: nil
 value of $LC_CTYPE: nil
 value of $LC_MESSAGES: nil
 value of $LC_MONETARY: nil
 value of $LC_NUMERIC: nil
 value of $LC_TIME: nil
 value of $LANG: nil
 value of $XMODIFIERS: nil
 locale-coding-system: nil
 default enable-multibyte-characters: t

Major mode: Summary

Minor modes in effect:
 tooltip-mode: t
 mouse-wheel-mode: t
 menu-bar-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 global-auto-composition-mode: t
 auto-composition-mode: t
 auto-encryption-mode: t
 auto-compression-mode: t
 line-number-mode: t
 transient-mark-mode: t



BTW, it also exports the XY string:

emacs-org-html.png

--
Karl Eichwalder


- 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] Beamer support in Org-mode

2010-01-03 Thread Carsten Dominik

Hi everyone,

after contemplating the \pnote proposal for beamer notes, I don't
think that this is, in the end, the right solution.

Can't we just use headings with a TODO keyword BNOTE or with property  
BNOTE

or so as the sources of notes?

Or, even simpler, Or we could use a special value note
in the the BEAMER_env property to mark notes.  This would be easy to  
turn

on with the special editing code we already have, would automatically
be tracked by a B_note tag and in this way stay visible.

Using marked nodes would avoid choosing a specific level for
such notes, and give the biggest flexibility.

If we do this, then the following problem arises:  An outline
node always has a headline and content.  What should be do
with the headline?  Should be throw it away?  Or just make it
part of the note text?  Maybe that would make the most sense.

Input is again welcome!

- Carsten

On Dec 20, 2009, at 4:08 PM, Darlan Cavalcante Moreira wrote:



I also liked this idea. Since beamer does not track where the \note  
command is
used inside the frame and just puts every note from that frame in  
the next
notes slide, then there is no loss if org-mode put several \note  
commands in
the end of the frame environment when exporting. Therefore, a  
headline below the

frame headline seems to be a good approach.

Also, if the beamer notes are not desired when exporting to other  
formats one
could add a tag to the notes headline and use the already  
available feature of

not exporting headlines with a given tag.

- Darlan Cavalcante Moreira

At Sat, 19 Dec 2009 12:33:14 -1000,
Thomas S. Dye t...@tsdye.com wrote:


Hi Daniel,

On Dec 18, 2009, at 11:01 AM, Daniel Martins wrote:


\pnote could be an option

Another idea is to reserve the lowest level to notes

* section
** subsection
*** frame
etc


** notes

(I don't know how many *'s are needed)

maybe we can set a number / variable

like

org-beamer-frame-level

we could create

org-beamer-notes-level

Daniel


2009/12/18 Nick Dokos nicholas.do...@hp.com:

Adam Spiers orgm...@adamspiers.org wrote:


On Tue, Dec 15, 2009 at 04:49:23PM -0300, Darlan Cavalcante
Moreira wrote:

In addition, while I also agree that footnotes shouldn't be in a
presentation
they are allowed when working with beamer and may be useful in
some cases. If
org-mode export footnotes as beamer notes then some months from
now someone
would be asking here in the mailing-list how to enter a standard
footnote when
exporting to beamer.


I agree - unfortunately there are genuinely sensible uses of
footnotes
in presentations.  For example, citation of sources for  
quotations,

data etc. is ideally accomplished by footnotes: they are not used
during the presentation itself, but by distributing paper and/or
electronic copies after the talk, footnotes provide essential
reference data for perusal by the audience at a later date.


I think that's an argument *for* Eric's idea (assuming that the
handout
includes notes - that's my practice, but maybe not everybody does
that,
although they *should* :-) ).

In general, I think slides should be very simple: single-level  
lists,

single idea per slide, no footnotes - but I know that generalities
like
that are just guidelines: meant to be broken, given a good enough
cause.


Imagine a slide showing the results of a benchmark, claiming X is
much faster than Y!  You might want to talk briefly about how the
results were obtained, and about the impact of the results, but  
you

would also need to be able to tell the audience they could
independently verify the results by obtaining a copy of the slides
and
visiting the URL contained in the footnote - especially if the
results
are controversial!  In this case, it would not matter that the URL
was
too small to be legible from the back of the room.




How does inverting Eric's idea sound: invent a new kind of  
footnote,

let's call it, say, a pnote, which is treated exactly like a
footnote in
all exports *except* beamer. In beamer, footnotes end up in the  
frame

and pnotes end up in the notes.

Not sure whether the implementation would be as simple as this
makes it
sound, but who knows?[1]

Thanks,
Nick

[1] Well, OK: Carsten knows...



FWIW, I like this idea.  I think it tracks the mapping between beamer
and LaTeX very well.

In my experience, beamer slide shows are an aid in the spoken
presentation of a LaTeX article.

Beamer does a good job of mapping the higher level LaTeX sectioning
commands, with some themes that automatically display down to
subsection.  To my mind, frames in beamer capture lower-level
structure (e.g. subsubsection, paragraph, subparagraph) in their
(often over-used) bulleted lists, and (more appropriately) the
photographs, diagrams, maps etc. that are inserted as figures in the
LaTeX article.  As others on the list have noted, LaTeX footnotes  
also

map fairly directly to beamer footnotes.

This leaves most of the text of the article, which from my  
perspective

maps to 

Re: [Orgmode] Problems with Org Mode which doesn't properly manage linebreaks in LaTeX export

2010-01-03 Thread Pierfranco Minsenti
You are right Carsten: in my .emacs file I have put, since long, the
following lines of command about longlines (following a recommendation found
on the Internet and so far I have been perfectly happy with this):

;;LONGLINES:
(autoload 'longlines-mode
longlines.el
 Minor mode for automatically wrapping long lines. t)


Now, just 2 questions:

1) should I disable the setting about longlines mode in my .emacs file in
order to solve the problem with the export from .org to latex? Would it be
enough?

AND about your recommendation to switch to Emacs 23

2) I use an old version  of CarbonEmacs for MAC OS X 10.3 Panther 2007 and
for using the new 2009 version of CarbonEmacs (which requires Leopard) I
should say farewell to my G4 Ibook and buy another computer. So: is there
another way to switch to Emacs 23?

Thank you for your kind help.

best wishes

pierfranco

2010/1/3 Carsten Dominik carsten.domi...@gmail.com

 Hi Pierfranco,

 are you using longlines.el or something similar with hard and soft new
 lines?
 Bad Idea.  Your best option is to switch to Emacs 23 and use is built-in
 facilities (visual-line-mode and word-wrap) to display long lines.

 - Carsten


 On Jan 3, 2010, at 7:30 PM, Pierfranco Minsenti wrote:

  Hi Carsten,

 thank you yor your early reply.
 Here is an example as you requested: some lines from my original .org file
 (the lines between the  rows):

 =
 * ML built-in transaction monitoring facility


 ** Features

 MetaLib has a built-in transaction monitoring facility (a transaction
 logging component).
 This component enables system administrators to retrieve the stored
 transaction log data and analyze them at their convenience.


 The data elements stored by the transaction logging component are the
 following:
  - date/time stamp of transactions
  - resource name (i.e. resources as targets for the metasearch engine:
 databases, catalogues, directories, search engines, full-text electronic
 collections etc.) available in the systems (the so called local
 KnowledgeBase)
  - resource type (i.e. subject gateway; library catalogues, etc.) and
 discipline
  - resource access method code: (i.e. the type of connector required to
 comunicate with the external resource: e.g. Z39.50; HTML protocol; XML
 protocol)
  - users demographic data: Affiliation: Undergraduate; Graduate; Staff;
 Guest) and Academic status: Undergraduate; Graduate; Post Graduate; Faculty
 Member; Other)
  - users type related to: authenticated use of the system and use of
 personalization features: Registered Users; Users with Personal Lists; Users
 with Saved Items
  - number of searches per resource
  - number of search sessions per day, user groups
  - patron's entry (i.e. the search query)
  - the number of hits
  - search type code (i.e. the type of fields used)
  - search status code (DONE; ERROR; SUSPEND; FIND; FETCH; CANCEL)
  - system modules used (Quick Search; Find Database; MetaSearch; History;
 Alerts)


 ** Limitations

 The pre-defined reports available suffers severals limitations, some
 peculiar drawbaks of the web logging system made available. These consist in
 the fact that relevant data are filtered out:
  - IP of users (which would make it possible to identify their provenance
 from the local network of from the outside internet)
  - data about full-text resources found and actual file the downloaded are
 not available.
 Infact the Links to Native Interface section warns that: This statistical
 report counts the number of times users link to the native interface of a
 resource. This report includes links to the native interface of any resource
 presented in the user interface, including Link Only resources (i.e., not
 searchable in MetaLib); links to the native interface to view the search
 results of a Search and Link resource; as well as links to the native
 interface to view full-text documents, etc. that may be included as external
 links in the full records of search results. The display includes the
 database name and number of times linked.

 Besides, the convention used for counting queries:
  - the system counts queries per target resources, so that single queries
 submitted in the user interface are multiplied by the number of target
 resouces they have actually been sent.

 =

 Here are the same lines as they appear in the exported LaTeX file (the
 lines between the  rows):

 

 % Created 2010-01-03 Sun 19:20 \documentclass[11pt]{article}
 \usepackage[latin1]{inputenc}%[utf8]{inputenc} \usepackage[T1]{fontenc}
 \usepackage{graphicx} \usepackage{longtable} \usepackage{hyperref}
 \title{ML-TLA} \author{Pierfranco Minsenti} \date{03 January 2010}
  \begin{document}  \maketitle  \setcounter{tocdepth}{3} \tableofcontents
 \vspace*{1cm}

 \section{ML built-in transaction monitoring facility} \label{sec-1}


 \subsection{Features} \label{sec-1.1}

 MetaLib has a 

Re: [Orgmode] Problems with Org Mode which doesn't properly manage linebreaks in LaTeX export

2010-01-03 Thread Carsten Dominik


On Jan 3, 2010, at 8:10 PM, Pierfranco Minsenti wrote:

You are right Carsten: in my .emacs file I have put, since long, the  
following lines of command about longlines (following a  
recommendation found on the Internet and so far I have been  
perfectly happy with this):


;;LONGLINES:
(autoload 'longlines-mode
longlines.el
 Minor mode for automatically wrapping long lines. t)


Now, just 2 questions:

1) should I disable the setting about longlines mode in my .emacs  
file in order to solve the problem with the export from .org to  
latex? Would it be enough?


Why don't you try?  I think it should solve the problem.



AND about your recommendation to switch to Emacs 23

2) I use an old version  of CarbonEmacs for MAC OS X 10.3 Panther  
2007 and for using the new 2009 version of CarbonEmacs (which  
requires Leopard) I should say farewell to my G4 Ibook and buy  
another computer. So: is there another way to switch to Emacs 23?


I guess you could compile Emacs 23 yourself.

- Carsten



Thank you for your kind help.

best wishes

pierfranco

2010/1/3 Carsten Dominik carsten.domi...@gmail.com
Hi Pierfranco,

are you using longlines.el or something similar with hard and soft  
new lines?
Bad Idea.  Your best option is to switch to Emacs 23 and use is  
built-in facilities (visual-line-mode and word-wrap) to display long  
lines.


- Carsten


On Jan 3, 2010, at 7:30 PM, Pierfranco Minsenti wrote:

Hi Carsten,

thank you yor your early reply.
Here is an example as you requested: some lines from my  
original .org file (the lines between the  rows):


=
* ML built-in transaction monitoring facility


** Features

MetaLib has a built-in transaction monitoring facility (a  
transaction logging component).
This component enables system administrators to retrieve the stored  
transaction log data and analyze them at their convenience.



The data elements stored by the transaction logging component are  
the following:

 - date/time stamp of transactions
 - resource name (i.e. resources as targets for the metasearch  
engine: databases, catalogues, directories, search engines, full- 
text electronic collections etc.) available in the systems (the so  
called local KnowledgeBase)
 - resource type (i.e. subject gateway; library catalogues, etc.)  
and discipline
 - resource access method code: (i.e. the type of connector required  
to comunicate with the external resource: e.g. Z39.50; HTML  
protocol; XML protocol)
 - users demographic data: Affiliation: Undergraduate; Graduate;  
Staff; Guest) and Academic status: Undergraduate; Graduate; Post  
Graduate; Faculty Member; Other)
 - users type related to: authenticated use of the system and use of  
personalization features: Registered Users; Users with Personal  
Lists; Users with Saved Items

 - number of searches per resource
 - number of search sessions per day, user groups
 - patron's entry (i.e. the search query)
 - the number of hits
 - search type code (i.e. the type of fields used)
 - search status code (DONE; ERROR; SUSPEND; FIND; FETCH; CANCEL)
 - system modules used (Quick Search; Find Database; MetaSearch;  
History; Alerts)



** Limitations

The pre-defined reports available suffers severals limitations, some  
peculiar drawbaks of the web logging system made available. These  
consist in the fact that relevant data are filtered out:
 - IP of users (which would make it possible to identify their  
provenance from the local network of from the outside internet)
 - data about full-text resources found and actual file the  
downloaded are not available.
Infact the Links to Native Interface section warns that: This  
statistical report counts the number of times users link to the  
native interface of a resource. This report includes links to the  
native interface of any resource presented in the user interface,  
including Link Only resources (i.e., not searchable in MetaLib);  
links to the native interface to view the search results of a Search  
and Link resource; as well as links to the native interface to view  
full-text documents, etc. that may be included as external links in  
the full records of search results. The display includes the  
database name and number of times linked.


Besides, the convention used for counting queries:
 - the system counts queries per target resources, so that single  
queries submitted in the user interface are multiplied by the number  
of target resouces they have actually been sent.


=

Here are the same lines as they appear in the exported LaTeX file  
(the lines between the  rows):




% Created 2010-01-03 Sun 19:20 \documentclass[11pt]{article}  
\usepackage[latin1]{inputenc}%[utf8]{inputenc} \usepackage[T1] 
{fontenc} \usepackage{graphicx} \usepackage{longtable}  
\usepackage{hyperref}   \title{ML-TLA} \author{Pierfranco Minsenti}  
\date{03 January 2010}  

Re: [Orgmode] HTML table export with col width XY

2010-01-03 Thread Rocky Road
On Sun, 2010-01-03 at 19:53 +0100, Carsten Dominik wrote:
 Hi Karl,
 
 I still cannot reproduce this.
 Anybody else?
 
 - Carsten
 

I  can reproduce it from the simple input:

 | 35| |
 | header  | len |
 |-+-|
 | Short line  |  10 |
 | A lng line | 62 |


However, it appears that the '=' is only a display artifact in the
generated buffer, it is not saved to a file.

But the XY line is actually written:

 trth scope=collt;35gt;/thth scope=col/th/tr


** Versions used :
  - org-mode 6.33f
  - GNU Emacs 23.0.91.1
  - linux 2.6.28-17-generic (ubuntu 9.04 jaunty)

HTH.

Michelle





___
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] Problems with Org Mode which doesn't properly manage linebreaks in LaTeX export

2010-01-03 Thread Pierfranco Minsenti
Commenting out the lines about longlines mode in the .emacs file has solved
the problem. Apparently the export to LaTeX seems to be the only drawback of
using longlines mode authomatically charged for every file. Or, anyway, this
is the only problem I've met so far.
Thanks.
pierfranco

2010/1/3 Carsten Dominik carsten.domi...@gmail.com


 On Jan 3, 2010, at 8:10 PM, Pierfranco Minsenti wrote:

  You are right Carsten: in my .emacs file I have put, since long, the
 following lines of command about longlines (following a recommendation found
 on the Internet and so far I have been perfectly happy with this):

 ;;LONGLINES:
 (autoload 'longlines-mode
longlines.el
 Minor mode for automatically wrapping long lines. t)


 Now, just 2 questions:

 1) should I disable the setting about longlines mode in my .emacs file in
 order to solve the problem with the export from .org to latex? Would it be
 enough?


 Why don't you try?  I think it should solve the problem.



 AND about your recommendation to switch to Emacs 23

 2) I use an old version  of CarbonEmacs for MAC OS X 10.3 Panther 2007 and
 for using the new 2009 version of CarbonEmacs (which requires Leopard) I
 should say farewell to my G4 Ibook and buy another computer. So: is there
 another way to switch to Emacs 23?


 I guess you could compile Emacs 23 yourself.

 - Carsten



 Thank you for your kind help.

 best wishes

 pierfranco

 2010/1/3 Carsten Dominik carsten.domi...@gmail.com
 Hi Pierfranco,

 are you using longlines.el or something similar with hard and soft new
 lines?
 Bad Idea.  Your best option is to switch to Emacs 23 and use is built-in
 facilities (visual-line-mode and word-wrap) to display long lines.

 - Carsten


 On Jan 3, 2010, at 7:30 PM, Pierfranco Minsenti wrote:

 Hi Carsten,

 thank you yor your early reply.
 Here is an example as you requested: some lines from my original .org file
 (the lines between the  rows):

 =
 * ML built-in transaction monitoring facility


 ** Features

 MetaLib has a built-in transaction monitoring facility (a transaction
 logging component).
 This component enables system administrators to retrieve the stored
 transaction log data and analyze them at their convenience.


 The data elements stored by the transaction logging component are the
 following:
  - date/time stamp of transactions
  - resource name (i.e. resources as targets for the metasearch engine:
 databases, catalogues, directories, search engines, full-text electronic
 collections etc.) available in the systems (the so called local
 KnowledgeBase)
  - resource type (i.e. subject gateway; library catalogues, etc.) and
 discipline
  - resource access method code: (i.e. the type of connector required to
 comunicate with the external resource: e.g. Z39.50; HTML protocol; XML
 protocol)
  - users demographic data: Affiliation: Undergraduate; Graduate; Staff;
 Guest) and Academic status: Undergraduate; Graduate; Post Graduate; Faculty
 Member; Other)
  - users type related to: authenticated use of the system and use of
 personalization features: Registered Users; Users with Personal Lists; Users
 with Saved Items
  - number of searches per resource
  - number of search sessions per day, user groups
  - patron's entry (i.e. the search query)
  - the number of hits
  - search type code (i.e. the type of fields used)
  - search status code (DONE; ERROR; SUSPEND; FIND; FETCH; CANCEL)
  - system modules used (Quick Search; Find Database; MetaSearch; History;
 Alerts)


 ** Limitations

 The pre-defined reports available suffers severals limitations, some
 peculiar drawbaks of the web logging system made available. These consist in
 the fact that relevant data are filtered out:
  - IP of users (which would make it possible to identify their provenance
 from the local network of from the outside internet)
  - data about full-text resources found and actual file the downloaded are
 not available.
 Infact the Links to Native Interface section warns that: This statistical
 report counts the number of times users link to the native interface of a
 resource. This report includes links to the native interface of any resource
 presented in the user interface, including Link Only resources (i.e., not
 searchable in MetaLib); links to the native interface to view the search
 results of a Search and Link resource; as well as links to the native
 interface to view full-text documents, etc. that may be included as external
 links in the full records of search results. The display includes the
 database name and number of times linked.

 Besides, the convention used for counting queries:
  - the system counts queries per target resources, so that single queries
 submitted in the user interface are multiplied by the number of target
 resouces they have actually been sent.

 =

 Here are the same lines as they appear in the exported 

Re: [Orgmode] RFC: Syntax for page numbers in file: links?

2010-01-03 Thread Samuel Wales
If you need the syntax to be more general, take a look at extensible
syntax on this list.

-- 
Q: How many CDC scientists does it take to change a lightbulb?
A: You only think it's dark. [CDC has denied ME/CFS for 25 years]
=
Retrovirus: http://www.wpinstitute.org/xmrv/xmrv_qa.html


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


Re: [Orgmode] Bug: Store link to Wanderlust message fails when subject contains encoded characters [6.33trans (release_6.33f.173.g8f17)]

2010-01-03 Thread David Maus
Hi Carsten,


At Sun, 3 Jan 2010 19:47:18 +0100,
Carsten Dominik wrote:


 Can I ask you to submit this as a bug report to Emacs?

I'll certainly do that.

I also attached a patch for org-wl.el that removes all text properties
of the subject string.

Regards

 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com
ICQ... 241051416



0001-Remove-text-properties-of-subject-string-to-avoid-po.patch
Description: Binary data


pgpeTWmy8E7f1.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] Beamer support in Org-mode

2010-01-03 Thread Russell Adams
Carsten,

I've seen properties and sub-headlines proposed, but what about
something like this, using quoting style to separate the notes from
the slide?

** Slide

 - Slide content
 - Slide content

#+BEGIN_BEAMER_NOTE
Here are the class notes for this slide...

#+END_BEAMER_NOTE

Maybe I'm coming in on the debate late...

Thanks.


On Sun, Jan 03, 2010 at 08:07:29PM +0100, Carsten Dominik wrote:
 Hi everyone,

 after contemplating the \pnote proposal for beamer notes, I don't
 think that this is, in the end, the right solution.

 Can't we just use headings with a TODO keyword BNOTE or with property  
 BNOTE
 or so as the sources of notes?

 Or, even simpler, Or we could use a special value note
 in the the BEAMER_env property to mark notes.  This would be easy to  
 turn
 on with the special editing code we already have, would automatically
 be tracked by a B_note tag and in this way stay visible.

 Using marked nodes would avoid choosing a specific level for
 such notes, and give the biggest flexibility.

 If we do this, then the following problem arises:  An outline
 node always has a headline and content.  What should be do
 with the headline?  Should be throw it away?  Or just make it
 part of the note text?  Maybe that would make the most sense.

 Input is again welcome!

 - Carsten

 On Dec 20, 2009, at 4:08 PM, Darlan Cavalcante Moreira wrote:


 I also liked this idea. Since beamer does not track where the \note  
 command is
 used inside the frame and just puts every note from that frame in the 
 next
 notes slide, then there is no loss if org-mode put several \note  
 commands in
 the end of the frame environment when exporting. Therefore, a headline 
 below the
 frame headline seems to be a good approach.

 Also, if the beamer notes are not desired when exporting to other  
 formats one
 could add a tag to the notes headline and use the already available 
 feature of
 not exporting headlines with a given tag.

 - Darlan Cavalcante Moreira

 At Sat, 19 Dec 2009 12:33:14 -1000,
 Thomas S. Dye t...@tsdye.com wrote:

 Hi Daniel,

 On Dec 18, 2009, at 11:01 AM, Daniel Martins wrote:

 \pnote could be an option

 Another idea is to reserve the lowest level to notes

 * section
 ** subsection
 *** frame
 etc


 ** notes

 (I don't know how many *'s are needed)

 maybe we can set a number / variable

 like

 org-beamer-frame-level

 we could create

 org-beamer-notes-level

 Daniel


 2009/12/18 Nick Dokos nicholas.do...@hp.com:
 Adam Spiers orgm...@adamspiers.org wrote:

 On Tue, Dec 15, 2009 at 04:49:23PM -0300, Darlan Cavalcante
 Moreira wrote:
 In addition, while I also agree that footnotes shouldn't be in a
 presentation
 they are allowed when working with beamer and may be useful in
 some cases. If
 org-mode export footnotes as beamer notes then some months from
 now someone
 would be asking here in the mailing-list how to enter a standard
 footnote when
 exporting to beamer.

 I agree - unfortunately there are genuinely sensible uses of
 footnotes
 in presentations.  For example, citation of sources for  
 quotations,
 data etc. is ideally accomplished by footnotes: they are not used
 during the presentation itself, but by distributing paper and/or
 electronic copies after the talk, footnotes provide essential
 reference data for perusal by the audience at a later date.

 I think that's an argument *for* Eric's idea (assuming that the
 handout
 includes notes - that's my practice, but maybe not everybody does
 that,
 although they *should* :-) ).

 In general, I think slides should be very simple: single-level  
 lists,
 single idea per slide, no footnotes - but I know that generalities
 like
 that are just guidelines: meant to be broken, given a good enough
 cause.

 Imagine a slide showing the results of a benchmark, claiming X is
 much faster than Y!  You might want to talk briefly about how the
 results were obtained, and about the impact of the results, but 
 you
 would also need to be able to tell the audience they could
 independently verify the results by obtaining a copy of the slides
 and
 visiting the URL contained in the footnote - especially if the
 results
 are controversial!  In this case, it would not matter that the URL
 was
 too small to be legible from the back of the room.



 How does inverting Eric's idea sound: invent a new kind of  
 footnote,
 let's call it, say, a pnote, which is treated exactly like a
 footnote in
 all exports *except* beamer. In beamer, footnotes end up in the  
 frame
 and pnotes end up in the notes.

 Not sure whether the implementation would be as simple as this
 makes it
 sound, but who knows?[1]

 Thanks,
 Nick

 [1] Well, OK: Carsten knows...


 FWIW, I like this idea.  I think it tracks the mapping between beamer
 and LaTeX very well.

 In my experience, beamer slide shows are an aid in the spoken
 presentation of a LaTeX article.

 Beamer does a good job of mapping the higher level LaTeX sectioning
 commands, with some themes that 

[Orgmode] Proposal Keybinding: Agenda 's' - save org-agenda files

2010-01-03 Thread Memnon Anon
Hi,

I use orgmode all the time, so I found it sensible to use it as default
major mode with (setq default-major-mode 'org-mode).

I just noticed that the 's' key in the agenda calls
org-save-all-org-buffers, which saves _all_ org buffers open in emacs.

I found this behaviour to be somewhat unexpected.

If I am working in my agenda, I am working on items that are, as I
understand it, all part of org-agenda-files, only accessing these files
with a different interface. 

I would have suspected that pressing 's' or C-x C-s in the agenda would
call something like org-save-all-agenda-files.

Does this make sense?

memnon





___
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: Proposal Keybinding: Agenda 's' - save org-agenda files

2010-01-03 Thread Bernt Hansen
Memnon Anon gegendosenflei...@googlemail.com writes:

 I use orgmode all the time, so I found it sensible to use it as default
 major mode with (setq default-major-mode 'org-mode).

 I just noticed that the 's' key in the agenda calls
 org-save-all-org-buffers, which saves _all_ org buffers open in emacs.

 I found this behaviour to be somewhat unexpected.

 If I am working in my agenda, I am working on items that are, as I
 understand it, all part of org-agenda-files, only accessing these files
 with a different interface.

 I would have suspected that pressing 's' or C-x C-s in the agenda would
 call something like org-save-all-agenda-files.

 Does this make sense?

Maybe.  I actually prefer the current behaviour since not all of my org
files are in my agenda - but I want to save them all to disk after
modifying some of them and pressing 's' in the agenda is a convenient
way to do that.

-Bernt




___
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] Can I export TODO flags in table of contents?

2010-01-03 Thread Water Lin
Carsten Dominik carsten.domi...@gmail.com writes:

 Hi Water,

 On Dec 31, 2009, at 4:17 AM, Water Lin wrote:


 I marked my notes and tasks with TODO flags and I also want to see
 these
 TODO flags in table of contents. So I can jump and explore to
 unfinished
 task quickly.

 By doing this, I can give myself a quickly summary of my tasks.

 Can I do it?

 I guess you are talking about export?

 You can try

 (setq org-export-mark-todo-in-toc t)

Yes, I mean export project. But I have some projects and I dont' want
set this setting for all projects.

Can I just set this method for specific project?

Thanks

Water Lin


 This will not show TODO keywords in the table of contents, but it will
 highlight headlines under which there are unfinished TODO entries.

 HTH

 - Carsten


 Thanks

 Water Lin

 --
 Water Lin's notes and pencils: http://en.waterlin.org
 Email: water...@ymail.com
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com



 ___
 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





-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



___
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