[Orgmode] Links to datestamped headings broken?

2011-02-23 Thread Simon Guest
I have an Org mode file with some date-stamped headers, e.g.
** <2011-04-06 Wed> National Bank

When I org-store-link (C-c l) on that line, I get
Stored: <2011-04-06 Wed> National Bank
which seems right.

When I org-insert-link in another org-mode file, I get
 [[file:~/share/notes/maths-competitions.org::*%20National%20Bank][<2011-04-06 
Wed> National Bank]]
which looks wrong, and doesn't work.

I expected to see the date in the URL part of the link.

Am I confused, or is something broken?

cheers,
Simon

___
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 export questions/suggestions

2011-02-23 Thread Chris Malone
Hi Derek,

In addition to Eric's response, if you wanted to have, say, text on the left
side of the beamer frame and an image on the right, you can use beamer
columns:

#+begin_src org
** Why do we
care?
*** block
:B_ignoreheading:BMCOL:

:PROPERTIES:
:BEAMER_env:
ignoreheading
:BEAMER_col:
0.35

:END:
+ \textcolor{green}{They are
explosions!}
+ Unique location for rp-process
burning
+ Flame propagation under extreme
conditions
+ \alert{Constrain EOS for dense
matter}
*** jim_figure
:B_ignoreheading:BMCOL:

:PROPERTIES:
:BEAMER_env:
ignoreheading
:BEAMER_col:
0.8

:END:
#+ATTR_LaTeX:
width=\textwidth
./images/jim_diagram2.png

\\ \tiny \flushright Lattimer, J.M., \textit{ApSS}, \textbf{308}, 371 (2007)
#+end_src

You can enter in the =:PROPERTIES: yourself, or you can hit =C-c C-b= on the
line containing the particular block and select it as a column.  You can
find more information here:
http://orgmode.org/manual/Beamer-class-export.html

HTH,

Chris

On Wed, Feb 23, 2011 at 2:56 PM, Eric S Fraga  wrote:

> Derek Thomas  writes:
>
> > Eric and Chris,
> >
> > Thanks for your responses.
> >
> > Eric,
> >
> > I'm currently using latex directly in org, but this method doesn't
> > play nicely with export to a regular tex file.
>
> Why not?  It would be helpful if you could post a minimal example of
> what does not work.
>
> >  Would it be possible
> > to use something similar to this?
> >
> > #+begin_src org
> > ** A plain slide
> > *** [path/to/fig]
> >   :PROPERTIES:
> >   :FIGURE_envargs:
> >   Figure placement options
> >   :END:
> > #+end_src
>
> not as such but you can do the following:
>
> #+begin_src org
> ** a plain slide
> #+attr_latex: width=[0.8\textwidth]
> [[file:figure.png]]
> #+end_src
>
> and the figure should be included just fine.
>
> --
> Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)
>
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Latex custom Title page question

2011-02-23 Thread Chris Malone
Hi Luke,

Another (quick) fix given what you already have, is to renew the maketitle
command to be empty:

#+LATEX_HEADER: \renewcommand{\maketitle}{}

Then after this you could put your #+begin_latex ... #+end_latex block to
generate the page.  Obviously, this works only for the current =org-mode=
file, and Tom's suggestion of creating your own latex class would be better
in the long run.

HTH,
Chris

On Wed, Feb 23, 2011 at 3:03 PM, Thomas S. Dye  wrote:

>
> On Feb 23, 2011, at 9:30 AM, Luke Crook wrote:
>
> I have successfully created a custom title page which I have used to
> replace the default version created by org-mode.
> Per http://orgmode.org/worg/org-tutorials/org-latex-export.html
> "11.2 Titles and Title Page Layout".
>
> However my title page contains the document title, date and version number.
>
> I would rather not have to create a separate "custom-title.tex"
> for each document that I create.
>
> Can I specify the Title etc. in org-mode in such a way that it can be
> included in the custom Title page?
>
> I have tried moving "custom-title.tex" into org-mode sandwiched
> between #+BEGIN_latex / #+END_latex commands, but this does not put
> the title on the first page.
>
> I have included a blank
>
> #+TITLE
>
> and
>
> #+OPTIONS: toc:nil
>
> but this still generates an empty page before my custom title page.
>
> Thanks,
> -Luke
>
>
>
> Aloha Luke,
>
> IIUC, you would like to have a custom title page that picks up the title,
> author, date, etc. from the Org-mode file.
>
> One way to do this is to keep the LaTeX variables for title, author, date,
> etc. in your new \maketitle, then put it in a new LaTeX class file that can
> be registered with Org-mode.
>
> I have this in my custom class file:
>
> \renewcommand\@maketitle{%
>   \newpage
>   \null
>   \begin{center}%
>   \let \footnote \thanks
> {\usebox{\FIRM}}%
> \vskip 3em%
> {\LARGE \@title \par}%
> \vskip 1.5em%
> {\large
>   \lineskip .5em%
>   \begin{tabular}[t]{c}%
> \@author
>   \end{tabular}\par}%
> \vskip 1em%
> {\large \@date}%
>   \end{center}%
>   \par
>   \vskip 1.5em}
>
>
>
> where \FIRM is a company logo and @title, @author, and @date correspond to 
> Org-mode's #+TITLE:, etc.
>
> hth,
> 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
>
>
___
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: ical2org (better timezone recognition and better default for max_age option)

2011-02-23 Thread Eric S Fraga
Arun Persaud  writes:

> Hi
>
>> however, I'm a little concerned with some of the other changes, 
>> specifically that all timed events have become scheduled todo
>> entries (of type GCAL) which really doesn't fit in with my use case
>> at all unfortunately.
>
> probably should make this configurable. How about defining a string that
> is attached to all entries, this could then be "GCAL", "TODO" or just
> empty "".

yes, that would be good.  You should aim to keep the configuration
options defined directly in the file to a minimum or at least
configurable at run time.

> The reason that I added the GCAL is that when I want to exclude them
> from being exported back into google, so a tag worked fine, but I guess
> this could also be done in other ways.

the whole point of the UID field was to ensure that any entries exported
back would be ignored as google will treat any such entry as already
there if the id matches one of the entries.

>> I think scheduled events should be restricted to TODO entries --
>> maybe it's a matter of figuring out how google exports tasks and keep
>> diary entries as just that?
>
> I'm not using google tasks or emacs diary, so I can't really say how
> this would work

No, sorry, not the Emacs Diary/Calendar but entries that appear in the
org agenda view simply as timed entries.  E.g. something like

#+begin_src org
* meeting with my students
  <2011-02-24 Thu 11:00-11:30>
#+end_src

will appear in the agenda for that day and that time.  As soon as you
"schedule" something, it becomes a "task" and it will continue to appear
on following days until you mark the "task" as done.  This is very
different from a simple timed entry in the agenda.  For timed entries
(or all day entries) from google, the direct mapping in org is simple
headings with /active/ time stamps.  There is no need for the SCHEDULED
specification.

>> I do like that you are picking up the LOCATION and STATUS fields.  I 
>> wonder if these could be made into properties for the org headlines
>> you create, much as is done with the UID entry?
>
> should be easy.

Yes, simply move the two output statements for these to where the "id"
information is written out.

Thanks,
eric


-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.529.gb23d.dirty)

___
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: ical2org (better timezone recognition and better default for max_age option)

2011-02-23 Thread Arun Persaud
Hi

> however, I'm a little concerned with some of the other changes, 
> specifically that all timed events have become scheduled todo
> entries (of type GCAL) which really doesn't fit in with my use case
> at all unfortunately.

probably should make this configurable. How about defining a string that
is attached to all entries, this could then be "GCAL", "TODO" or just
empty "".

The reason that I added the GCAL is that when I want to exclude them
from being exported back into google, so a tag worked fine, but I guess
this could also be done in other ways.

> I think scheduled events should be restricted to TODO entries --
> maybe it's a matter of figuring out how google exports tasks and keep
> diary entries as just that?

I'm not using google tasks or emacs diary, so I can't really say how
this would work

> I do like that you are picking up the LOCATION and STATUS fields.  I 
> wonder if these could be made into properties for the org headlines
> you create, much as is done with the UID entry?

should be easy.

ARUN

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


[Orgmode] Re: [bug] [ANN] Lists changes pushed to master

2011-02-23 Thread Nicolas
Hello,

Eric S Fraga  writes:

> I have not changed any org customisations in a while...
>
> The error only happens if I have a list 4 levels deep, from what I can
> see.  I have odd levels only set, by the way.  I cannot understand why
> the depth should matter, mind you.

I cannot reproduce this for now. May I have a look at your full
configuration ?

Regards,

-- 
Nicolas

___
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: ical2org (better timezone recognition and better default for max_age option)

2011-02-23 Thread Eric S Fraga
Arun Persaud  writes:

> Hi
>
>>>[option to ignore entries older than N days]
>> Very useful option!  Thanks.
>> 
>> I would be tempted to make the default ignore any old events.  Any
>> thoughts on this?
>
> I changed it to ignore everything older than one week.
>
> I also updated the timezone parsing a bit after reading part of section
> 4.3.5 of RFC2445 (ical). There seem to be 3 ways to specify a timezone
>
> date+T+time   floating timezone=> assume local time
> date+T+timeZ  always UTC
> TZID=;date+T+time   time given in timezone
>
> ical2org should now parse the first two correctly. Let me know in case
> this doesn't work correctly. If I have more time, I'll play with the
> third timezone spec too...
>
> cheers
>
> Arun

I can only verify that the second option seems to work (as all my google
calendar entries are of that type).  

however, I'm a little concerned with some of the other changes,
specifically that all timed events have become scheduled todo entries
(of type GCAL) which really doesn't fit in with my use case at all
unfortunately.  I think scheduled events should be restricted to TODO
entries -- maybe it's a matter of figuring out how google exports tasks
and keep diary entries as just that?

I do like that you are picking up the LOCATION and STATUS fields.  I
wonder if these could be made into properties for the org headlines you
create, much as is done with the UID entry?

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.529.gb23d.dirty)

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


Re: [Orgmode] Latex custom Title page question

2011-02-23 Thread Thomas S. Dye


On Feb 23, 2011, at 9:30 AM, Luke Crook wrote:


I have successfully created a custom title page which I have used to
replace the default version created by org-mode.
Per http://orgmode.org/worg/org-tutorials/org-latex-export.html
"11.2 Titles and Title Page Layout".

However my title page contains the document title, date and version  
number.

I would rather not have to create a separate "custom-title.tex"
for each document that I create.

Can I specify the Title etc. in org-mode in such a way that it can be
included in the custom Title page?

I have tried moving "custom-title.tex" into org-mode sandwiched
between #+BEGIN_latex / #+END_latex commands, but this does not put
the title on the first page.

I have included a blank

#+TITLE

and

#+OPTIONS: toc:nil

but this still generates an empty page before my custom title page.

Thanks,
-Luke




Aloha Luke,

IIUC, you would like to have a custom title page that picks up the  
title, author, date, etc. from the Org-mode file.


One way to do this is to keep the LaTeX variables for title, author,  
date, etc. in your new \maketitle, then put it in a new LaTeX class  
file that can be registered with Org-mode.


I have this in my custom class file:


\renewcommand\@maketitle{%
  \newpage
  \null
  \begin{center}%
  \let \footnote \thanks
{\usebox{\FIRM}}%
\vskip 3em%
{\LARGE \@title \par}%
\vskip 1.5em%
{\large
  \lineskip .5em%
  \begin{tabular}[t]{c}%
\@author
  \end{tabular}\par}%
\vskip 1em%
{\large \@date}%
  \end{center}%
  \par
  \vskip 1.5em}


where \FIRM is a company logo and @title, @author, and @date  
correspond to Org-mode's #+TITLE:, etc.


hth,
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] Beamer export questions/suggestions

2011-02-23 Thread Eric S Fraga
Derek Thomas  writes:

> Eric and Chris,
>
> Thanks for your responses.
>
> Eric,
>
> I'm currently using latex directly in org, but this method doesn't
> play nicely with export to a regular tex file.

Why not?  It would be helpful if you could post a minimal example of
what does not work.

>  Would it be possible
> to use something similar to this?
>
> #+begin_src org
> ** A plain slide
> *** [path/to/fig]
>   :PROPERTIES:
>   :FIGURE_envargs:
>   Figure placement options
>   :END:
> #+end_src

not as such but you can do the following:

#+begin_src org
** a plain slide
#+attr_latex: width=[0.8\textwidth]
[[file:figure.png]]
#+end_src

and the figure should be included just fine.

-- 
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)

___
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: (no subject)

2011-02-23 Thread Bernt Hansen
"Vincent-Xavier JUMEL"  writes:

> From: Vincent-Xavier JUMEL 
> 
> To: emacs-orgmode@gnu.org
> Subject: Bug: Bug in agenda on DEADLINE/SCHEDULE with -3d  [7.4]
> Date: Mon, 21 Feb 2011 23:13:32 +0100
> Message-ID: 
> <87d3mlyr1v.fsf@tauceticentral.i-did-not-set--mail-host-address--so-tickle-me>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: quoted-printable
>
>
> An entry with a SCHEDULE or a DEADLINE using the  doesn't
> produce the documented behavior. Anyone does have the same issue ?
>
> 
>
>
>
> Emacs  : GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.21.6)
>  of 2010-09-01 on rhenium, modified by Debian
> Package: Org-mode version 7.4
>

Please provide a sample task and a description of what you get and what
you expected.  AFAIK SCHEDULE and -3d is not intended to work - this is
for DEADLINES: only to specify the number of days before the deadline
that you want the entry to show up in your agenda.  I don't think it has
any meaning for SCHEDULED: entries.

-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: (no subject)

2011-02-23 Thread Bernt Hansen
"Vincent-Xavier JUMEL"  writes:

> From: Vincent-Xavier JUMEL 
> 
> To: emacs-orgmode@gnu.org
> Subject: Bug: Bug in agenda on DEADLINE/SCHEDULE with -3d  [7.4]
> Date: Mon, 21 Feb 2011 23:13:32 +0100
> Message-ID: 
> <87d3mlyr1v.fsf@tauceticentral.i-did-not-set--mail-host-address--so-tickle-me>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: quoted-printable
>
>
> An entry with a SCHEDULE or a DEADLINE using the  doesn't
> produce the documented behavior. Anyone does have the same issue ?
>
> 
>
>
>
> Emacs  : GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.21.6)
>  of 2010-09-01 on rhenium, modified by Debian
> Package: Org-mode version 7.4
>
> current state:
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> (setq
>  org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
>  org-speed-command-hook '(org-speed-command-default-hook
>   org-babel-speed-command-hook)
>  org-agenda-files '("~/org/parinux.org")
>  org-blocker-hook '(org-block-todo-from-checkboxes)
>  org-metaup-hook '(org-babel-load-in-session-maybe)
>  org-capture-templates '(("a" "Ajoute un atelier" entry
>   (file+headline "~/org/parinux.org"
>"Premier Samedi")
>   (file
>"~/.emacs.d/org/templates/atelier_parinux.tpl")
>   )
>  ("c" "Ajoute une conf=C3=A9rence" entry
>   (file+headline "~/org/parinux.org"
>"Conf=C3=A9rences")
>   (file
>"~/.emacs.d/org/templates/conference_parinux.tpl=
> ")
>   )
>  ("v" "Ajoute un vote" entry
>   (file+headline "~/org/parinux.org"
>"Votes")
>   (file
>"~/.emacs.d/org/templates/vote_parinux_ca_2011.t=
> pl")
>   )
>  )
>  org-after-todo-state-change-hook '(org-clock-out-if-current)
>  org-startup-folded 'content
>  org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
>  org-export-latex-format-toc-function 'org-export-latex-format-toc-default
>  org-tab-first-hook '(org-hide-block-toggle-maybe
>   org-src-native-tab-command-maybe
>   org-babel-hide-result-toggle-maybe)
>  org-src-mode-hook '(org-src-babel-configure-edit-buffer
>  org-src-mode-configure-edit-buffer)
>  org-confirm-shell-link-function 'yes-or-no-p
>  org-export-first-hook '(org-beamer-initialize-open-trackers)
>  org-agenda-before-write-hook '(org-agenda-add-entry-text)
>  org-default-notes-file "~/org/notes"
>  org-babel-pre-tangle-hook '(save-buffer)
>  org-cycle-hook '(org-cycle-hide-archived-subtrees
>   org-cycle-hide-drawers org-cycle-show-empty-lines
>   org-optimize-window-after-visibility-change)
>  org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link=
> -modifiers)
>  org-mode-hook '(#[nil "\300\301\302\303\304$\207"
>[org-add-hook change-major-mode-hook
> org-show-block-all append local]
>5]
>  #[nil "\300\301\302\303\304$\207"
>[org-add-hook change-major-mode-hook
> org-babel-show-result-all append local]
>5]
>  org-babel-result-hide-spec
>  org-babel-hide-all-hashes)
>  org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
>   org-babel-execute-safely-maybe)
>  org-confirm-elisp-link-function 'yes-or-no-p
>  org-export-interblocks '((lob org-babel-exp-lob-one-liners)
>   (src org-babel-exp-inline-src-blocks))
>  org-occur-hook '(org-first-headline-recenter)
>  org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-sele=
> ct-beamer-code)
>  org-export-latex-final-hook '(org-beamer-amend-header
>org-beamer-fix-toc
>org-beamer-auto-fragile-frames
>org-beamer-place-default-actions-for-lists)
>  org-enforce-todo-checkbox-dependencies t
>  org-metadown-hook '(org-babel-pop-to-session-maybe)
>  org-export-blocks '((src org-babel-exp-src-blocks nil)
>  (comment org-export-blocks-format-comment t)
>  (ditaa org-export-blocks-format-ditaa nil)
>  (dot org-export-blocks-format-dot 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

___
Emacs-orgmode mailing list
Please use `Reply All' to send 

[Orgmode] Latex custom Title page question

2011-02-23 Thread Luke Crook
I have successfully created a custom title page which I have used to 
replace the default version created by org-mode. 
Per http://orgmode.org/worg/org-tutorials/org-latex-export.html 
"11.2 Titles and Title Page Layout".

However my title page contains the document title, date and version number. 
I would rather not have to create a separate "custom-title.tex" 
for each document that I create. 

Can I specify the Title etc. in org-mode in such a way that it can be
 included in the custom Title page?

I have tried moving "custom-title.tex" into org-mode sandwiched 
between #+BEGIN_latex / #+END_latex commands, but this does not put 
the title on the first page.

I have included a blank 

#+TITLE 

and 

#+OPTIONS: toc:nil

but this still generates an empty page before my custom title page. 

Thanks,
-Luke


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


Re: Re: [Orgmode] Beamer export questions/suggestions

2011-02-23 Thread Derek Thomas
Eric and Chris,

Thanks for your responses.

Eric,

I'm currently using latex directly in org, but this method doesn't
play nicely with export to a regular tex file.  Would it be possible
to use something similar to this?

#+begin_src org
** A plain slide
*** [path/to/fig]
  :PROPERTIES:
  :FIGURE_envargs:
  Figure placement options
  :END:
#+end_src

The ability to specify placement in beamer would allow figures to be
placed correctly in beamer slides and also display inline for general
org export.  Thanks for your help,

Derek
On Wed, Feb 23, 2011 at 12:24 PM,   wrote:
> Hi Eric,
>
> Thanks for that useful bit of info!
>
> Chris
> On Feb 23, 2011 11:47am, Eric S Fraga  wrote:
>> Chris Malone chris.m.mal...@gmail.com> writes:
>>
>>
>>
>> > Hi Derek,
>>
>> >
>>
>> > Re your first question:
>>
>> >
>>
>> > One simple, albeit somewhat hackish way of achieving this would be to
>>
>> > utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with
>> > =beamer='s
>>
>> > frame option =plain=   For example:
>>
>>
>>
>> You don't need to do this.  You can pass options to frames using the
>>
>> BEAMER_envargs property:
>>
>>
>>
>> #+begin_src org
>>
>> ** A plain slide
>>
>>   :PROPERTIES:
>>
>>   :BEAMER_envargs: [plain]
>>
>>   :END:
>>
>>   - a list
>>
>>   - with few entries
>>
>>   - but more than I thought
>>
>> #+end_src
>>
>>
>>
>> I use this all the time for options such as shrink and allowframebreaks.
>>
>>
>>
>> --
>>
>> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
>>
>> : using Org-mode version 7.4 (release_7.4.528.gd457)
>>
> ___
> 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
>
>



On Wed, Feb 23, 2011 at 12:24 PM,   wrote:
> Hi Eric,
>
> Thanks for that useful bit of info!
>
> Chris
> On Feb 23, 2011 11:47am, Eric S Fraga  wrote:
>> Chris Malone chris.m.mal...@gmail.com> writes:
>>
>>
>>
>> > Hi Derek,
>>
>> >
>>
>> > Re your first question:
>>
>> >
>>
>> > One simple, albeit somewhat hackish way of achieving this would be to
>>
>> > utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with
>> > =beamer='s
>>
>> > frame option =plain=   For example:
>>
>>
>>
>> You don't need to do this.  You can pass options to frames using the
>>
>> BEAMER_envargs property:
>>
>>
>>
>> #+begin_src org
>>
>> ** A plain slide
>>
>>   :PROPERTIES:
>>
>>   :BEAMER_envargs: [plain]
>>
>>   :END:
>>
>>   - a list
>>
>>   - with few entries
>>
>>   - but more than I thought
>>
>> #+end_src
>>
>>
>>
>> I use this all the time for options such as shrink and allowframebreaks.
>>
>>
>>
>> --
>>
>> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
>>
>> : using Org-mode version 7.4 (release_7.4.528.gd457)
>>
> ___
> 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] FR: broken links and footnote references

2011-02-23 Thread Samuel Wales
To summarize, you don't know the URL until you post.  So you have to
tell org what the base URL should be for <<...>> anchors if they lie
outside the exported region.

Like this.

  #+BASE-URL: http://thekafkapandemic.blogspot.com/my-post

Is there a way to do that?

For footnotes, I think simply including the footnote would work.  Even
though the definition is outside of the region that is being exported.

Please consider both of these to be feature requests.  :)

Samuel


-- 
The Kafka Pandemic:
http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html
I support the Whittemore-Peterson Institute (WPI)
===
I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper.

___
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: Re: [Orgmode] Beamer export questions/suggestions

2011-02-23 Thread chris . m . malone

Hi Eric,

Thanks for that useful bit of info!

Chris
On Feb 23, 2011 11:47am, Eric S Fraga  wrote:

Chris Malone chris.m.mal...@gmail.com> writes:





> Hi Derek,



>



> Re your first question:



>



> One simple, albeit somewhat hackish way of achieving this would be to


> utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with  
=beamer='s



> frame option =plain= For example:





You don't need to do this. You can pass options to frames using the



BEAMER_envargs property:





#+begin_src org



** A plain slide



:PROPERTIES:



:BEAMER_envargs: [plain]



:END:



- a list



- with few entries



- but more than I thought



#+end_src





I use this all the time for options such as shrink and allowframebreaks.





--



: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1



: using Org-mode version 7.4 (release_7.4.528.gd457)


___
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] broken links and footnote references

2011-02-23 Thread Samuel Wales
I have a long list of headlines like

  * <>

and want to split the list into separate exportable posts.
The trouble is, links pointing to the headlines get
broken, because the target is in one part and the link is in
another part.

Is there a nice way to solve this?  Org already has the information
necessary to fix the links.

The same occurs with[fn:footnote:Footnotes like this, where
the definition is in one exportable part and the references
are in another.]

Thanks.

Samuel


-- 
The Kafka Pandemic:
http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html
I support the Whittemore-Peterson Institute (WPI)
===
I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper.

___
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] _<<...>>_ does not seem to export correctly

2011-02-23 Thread Samuel Wales
Lately in latest git, I have been getting the following in
HTML region export.

Input:

  * _<>_

Export (leaving in context):

  ...
  
  _@Confusion _
  
  ...

Rendered in emacs-w3m and Firefox like this:

  _@Confusion _

Thanks.

-- 
The Kafka Pandemic:
http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html
I support the Whittemore-Peterson Institute (WPI)
===
I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper.

___
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 export questions/suggestions

2011-02-23 Thread Eric S Fraga
Derek Thomas  writes:

[...]

> My second
> question may be more of a suggestion if the feature is not available.
> I currently use the testpos package in latex to position my figures in
> beamer.  Is there a native org method to specify figure location in
> org-beamer?  If not, it could be a nice feature for those preparing
> presentations in org especially if it had the option to specify
> quadrant location and relative size in a simple manner.  Thanks again,

Well, you can use latex directly in org, either with 

#+begin_latex
\textpos{...}
#+end_latex

or with

#+latex: \textpos{...}

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.528.gd457)

___
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 export questions/suggestions

2011-02-23 Thread Eric S Fraga
Chris Malone  writes:

> Hi Derek,
>
> Re your first question:
>
> One simple, albeit somewhat hackish way of achieving this would be to
> utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with =beamer='s
> frame option =plain=   For example:

You don't need to do this.  You can pass options to frames using the
BEAMER_envargs property:

#+begin_src org
** A plain slide
   :PROPERTIES:
   :BEAMER_envargs: [plain]
   :END:
   - a list
   - with few entries
   - but more than I thought
#+end_src

I use this all the time for options such as shrink and allowframebreaks.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.528.gd457)

___
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: question about capture templates

2011-02-23 Thread Filippo A. Salustri
Yup; I just tried the git snapshot of 23 Feb and it's working.
Thanks!!
Cheers.
Fil

On 22 February 2011 04:15, Carsten Dominik wrote:

>
> On Feb 22, 2011, at 1:39 AM, Filippo A. Salustri wrote:
>
> > Thanks to everyone for the varied and thoughtful responses.  I didn't
> think of backquotes, but I know about them from Scheme, and no, they
> shouldn't work in this case.
> >
> > Very frustrating.  org-capture clearly has the original buffer handy (for
> %a stuff) yet I can't get it out of there without hacking the org code,
> which I am loathe to do.  Hmmm.  I'll think some more.  If I come up with
> anything; I'll report it.
>
> I have just implemented that whenever you mean a file name
> in capture templates, you can instead give a function, a
> variable, or a lisp form.  So your original attempt
>
> >> ("m" "Message" entry (file+datetree (buffer-file-name
> >> (buffer-base-buffer))) "* MSG @ %U %?\n %a")
>
> should now work.
>
> Hope this helps
>
> - Carsten
>
> >
> > Cheers.
> > Fil
> >
> > 2011/2/21 Sébastien Vauban 
> > Hi Richard,
> >
> > Richard Lawrence wrote:
> > > Sébastien Vauban  writes:
> > >> "Filippo A. Salustri" wrote:
> > >>> I would really like to be able to vary the file into which a captured
> item
> > >>> goes. Specifically, I'd like to insert the item into whatever file I
> was
> > >>> visiting when I started the capture.
> > >
> > >> You have to use backquotes so that expressions are considered as code
> to
> > >> execute, instead of data. See Emacs manual.
> > >
> > > I'm not sure that backquotes will do what the OP wants. Backquotes will
> > > allow the OP to compute the value of a target file at the time the
> (setq
> > > org-capture templates ...) form is evaluated. The OP needs a way to
> > > determine the target file at the time of capture (right?), not at the
> time
> > > the variable is set.
> >
> > You're definitely right. I missed the distinction "at Org launch time" vs
> "at
> > execution time"... Pull my answer off the records ;-)
> >
> > Best regards,
> >  Seb
> >
> > --
> > Sébastien Vauban
> >
> >
> > ___
> > 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
> >
> >
> >
> > --
> > Filippo A. Salustri, Ph.D., P.Eng.
> > Mechanical and Industrial Engineering
> > Ryerson University
> > 350 Victoria St, Toronto, ON
> > M5B 2K3, Canada
> > Tel: 416/979-5000 ext 7749
> > Fax: 416/979-5265
> > Email: salus...@ryerson.ca
> > http://deseng.ryerson.ca/~fil/
> > ___
> > 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
>
>
>
>


-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salus...@ryerson.ca
http://deseng.ryerson.ca/~fil/
___
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: question about capture templates

2011-02-23 Thread Filippo A. Salustri
Carsten,
Would your mod be implemented in the git build of 22 Feb?
Cheers.
Fil

On 22 February 2011 04:15, Carsten Dominik wrote:

>
> On Feb 22, 2011, at 1:39 AM, Filippo A. Salustri wrote:
>
> > Thanks to everyone for the varied and thoughtful responses.  I didn't
> think of backquotes, but I know about them from Scheme, and no, they
> shouldn't work in this case.
> >
> > Very frustrating.  org-capture clearly has the original buffer handy (for
> %a stuff) yet I can't get it out of there without hacking the org code,
> which I am loathe to do.  Hmmm.  I'll think some more.  If I come up with
> anything; I'll report it.
>
> I have just implemented that whenever you mean a file name
> in capture templates, you can instead give a function, a
> variable, or a lisp form.  So your original attempt
>
> >> ("m" "Message" entry (file+datetree (buffer-file-name
> >> (buffer-base-buffer))) "* MSG @ %U %?\n %a")
>
> should now work.
>
> Hope this helps
>
> - Carsten
>
> >
> > Cheers.
> > Fil
> >
> > 2011/2/21 Sébastien Vauban 
> > Hi Richard,
> >
> > Richard Lawrence wrote:
> > > Sébastien Vauban  writes:
> > >> "Filippo A. Salustri" wrote:
> > >>> I would really like to be able to vary the file into which a captured
> item
> > >>> goes. Specifically, I'd like to insert the item into whatever file I
> was
> > >>> visiting when I started the capture.
> > >
> > >> You have to use backquotes so that expressions are considered as code
> to
> > >> execute, instead of data. See Emacs manual.
> > >
> > > I'm not sure that backquotes will do what the OP wants. Backquotes will
> > > allow the OP to compute the value of a target file at the time the
> (setq
> > > org-capture templates ...) form is evaluated. The OP needs a way to
> > > determine the target file at the time of capture (right?), not at the
> time
> > > the variable is set.
> >
> > You're definitely right. I missed the distinction "at Org launch time" vs
> "at
> > execution time"... Pull my answer off the records ;-)
> >
> > Best regards,
> >  Seb
> >
> > --
> > Sébastien Vauban
> >
> >
> > ___
> > 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
> >
> >
> >
> > --
> > Filippo A. Salustri, Ph.D., P.Eng.
> > Mechanical and Industrial Engineering
> > Ryerson University
> > 350 Victoria St, Toronto, ON
> > M5B 2K3, Canada
> > Tel: 416/979-5000 ext 7749
> > Fax: 416/979-5265
> > Email: salus...@ryerson.ca
> > http://deseng.ryerson.ca/~fil/
> > ___
> > 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
>
>
>
>


-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salus...@ryerson.ca
http://deseng.ryerson.ca/~fil/
___
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] Option: special beginning of headline (list) option for navigation commands

2011-02-23 Thread Michael Bach
Is there an option for org-metaup (org-metadown) and 
outline-next-visible-heading (outline-previous-visible-heading) to alway jump 
to the first non-star character in a headline instead of the beginning of a 
headline? I could not find this option in the manual. In my opinion, this would 
complement the "special C-a/e" commands which I also use. This behaviour is 
already the default for org-metaup/-down in lists.

Thanks,
Michael

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


[Orgmode] Re: Bytecompiler is unhappy...

2011-02-23 Thread Nicolas
Hello,

Carsten Dominik  writes:

> NO. Declare the functions an use (defvar name) for the variables.

This is what I thought at first, but, in org.el, no function was
declared already, and a whole package (gnus-sum) was required when
compiling. So, I hesitated.

Anyway, that part is done now.

Regards,

-- 
Nicolas

___
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-contacts.el

2011-02-23 Thread Tobias Riedling
The following message is a courtesy copy of an article
that has been posted to gmane.emacs.orgmode as well.

Robert Klein  writes:

> Hi Martin,
>
>
> Martin Butz wrote:
>> Hi to all,
>>
>> I'm using org-mode since a year or so. Its a great peace of software
>> and I could not imagine using another organizer and notes tool
>> anymore! Thanks a lot for all this work!
>>
>> I tried to use org-contacts.el using the current version from
>> git://git.naquadah.org/org-contacts.git
>>
>> My org-mode version is 7.4.
>>
>> I keep getting the initialization warning:
>>
>> Symbol's value as variable is void: org-property-set-functions-alist
>>
>> on emacs startup. Can anybody give a hint, what I'm doing wrong?
>>
>> Martin
>>
>
> you'll have to use the git version of org-mode.  org-contacts.el needs
> some patches integrated only after the 7.4 release.
>
> Best regards
> Robert
>

I have exactly the same problem here.
My org-contacts.el file is from 22. Feb. . 
Org-mode version is 7.4, i cloned and "maked"
 it via git on 21. Feb. 

Best regards
Tobias

___
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-contacts.el

2011-02-23 Thread Tobias Riedling
Hi,

i have exactly the same Problem. 
org-contacts.el is current git version (today).
org-mode is git version from yesterday.

Tobias

Robert Klein  writes:

> Hi Martin,
>
>
> Martin Butz wrote:
>> Hi to all,
>>
>> I'm using org-mode since a year or so. Its a great peace of software
>> and I could not imagine using another organizer and notes tool
>> anymore! Thanks a lot for all this work!
>>
>> I tried to use org-contacts.el using the current version from
>> git://git.naquadah.org/org-contacts.git
>>
>> My org-mode version is 7.4.
>>
>> I keep getting the initialization warning:
>>
>> Symbol's value as variable is void: org-property-set-functions-alist
>>
>> on emacs startup. Can anybody give a hint, what I'm doing wrong?
>>
>> Martin
>>
>
> you'll have to use the git version of org-mode.  org-contacts.el needs
> some patches integrated only after the 7.4 release.
>
> Best regards
> Robert
>
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
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] [ANN] Lists changes pushed to master

2011-02-23 Thread Eric S Fraga
Nicolas  writes:

> Hello Org users,
>
> Since a few hours, lists changes are in master branch. Here is a sum up
> of the new functionalities:

[...]

I am not sure if the error I am experiencing is due to this but I have
the following problem.  With this org file:

--8<---cut here---start->8---
# -*- coding: utf-8; -*-
#+TITLE: examplebug.org
#+AUTHOR:Eric S Fraga
#+EMAIL: e.fr...@ucl.ac.uk
#+OPTIONS:   H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:nil
#+latex_header: \usepackage{tikz}


* heading
*** subheading
* subsubheading
*** students
- [2011-02-23 Wed] today
- [2011-02-22 Tue] yesterday
*** another
--8<---cut here---end--->8---

if I position the cursor at the end of "yesterday" and hit M-RET (to get
a new list entry), I get a total mess:

--8<---cut here---start->8---
# -*- coding: utf-8; -*-
#+TITLE: examplebug.org
#+AUTHOR:Eric S Fraga
#+EMAIL: e.fr...@ucl.ac.uk
#+OPTIONS:   H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:nil
#+latex_header: \usepackage{tikz}


* heading
*** subheading
* subsubheading
*** students
- [2011-02-23 Wed] today
- [2011-02-22 Tue] yesterday
*** another
- 
--8<---cut here---end--->8---

I have not changed any org customisations in a while...

The error only happens if I have a list 4 levels deep, from what I can
see.  I have odd levels only set, by the way.  I cannot understand why
the depth should matter, mind you.

Thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.526.g4bbe)

___
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][babel] How to add results to text inline?

2011-02-23 Thread Eric Schulte
Andreas Leha  writes:

> Sorry.  I should have read your message properly.
>
> How about:
> In my long long paragraph after that I want to say that
> my result is  src_python[:noweb yes :results value raw replace :exports
> results]{return <>} for x=5.
>

Also, src_sh[:var it=my_formula(my_parameter=5)]{echo $it} should work.

Best -- Eric

>
> Regards,
> Andreas
>
> Am 23.02.2011 09:14, schrieb Torsten Wagner:
>> Hi Andreas,
>>
>> thanks for pointing to that. I guess it is the same like on worg.
>> As far as I understood this would help me to add the python code
>> inside my paragraph which is indeed nice for small code-snippet.
>> However, I would like to replace the result of a function call via
>> #+call aka #+lob aka #+function.
>>
>> I will try he src_python{print f} and use a session...
>>
>> However, I thought there might be a 'easier' way ;)
>>
>> Thanks
>>
>> Torsten
>>
>>
>>
>> On 02/23/2011 04:53 PM, Andreas Leha wrote:
>>> Hi Torsten,
>>>
>>> Have a look at the 'src_{}' construct as described here:
>>> http://orgmode.org/org.html#Structure-of-code-blocks
>>>
>>> Hth,
>>> Andreas
>>>
>>>
>>> Am 23.02.2011 06:55, schrieb Torsten Wagner:
 Hi,

 guess this is a FAQ or at least a stupid question.
 However, I read along worg and wasn't able to find a solution.

 I would like to add the result of a source code block in some text
 paragraph.

 ---start--mini-example

 #+source:my_formula(my_parameter='1')
 #+begin_src python :results value :exports code
 y = 2
 f = my_parameter * y
 return f
 #+end_src

 In my long long paragraph after that I want to say that
 my result is #+call: my_formula(my_parameter='5') for x=5 but it is
 #+call: my_formula() for x=1

 ---end--mini-example

 Well I would replace the calls by the result of the source code block
 I read about no-web but this seems to work only within code blocks. I
 read about inline source code blocks, however, more complex functions
 would make it difficult to read.

 Thanks for pointing me to obvious solutions ;)

 Torsten

 CC. How about some C-like format string for number results like
 #+call: my_formula(my_parameter='5') :exports results :format %i5
 results in integer 5 digits
 00010
 and  #+call: my_formula(my_parameter='5') :exports results :format %s.3
 could result in scientific notation with 3 digits after the comma
 1.000*10^1

 This would allow to format the result to the needs just in place.

 ___
 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
>>
>>
>> ___
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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


Re: [Orgmode] Re: Announcing org-contacts, a bbdb-like contact manager for Org

2011-02-23 Thread Julien Danjou
On Sat, Feb 12 2011, Matt Lundin wrote:

> I tried org-contacts with my rather large agenda files, but because it
> uses org-scan-tags instead of regexp searches, queries are slow. E.g.,
> org-contacts-filter takes approximately 15-20 seconds.

Yeah, it's hard to use if you contacts are accross large agenda files.
It's slow. Using the anniversary code is currently impossible if you do
not use a single small contact file.

I plan to improve that later.

> Also, the function org-contacts uses a tags/property search and then a
> skip function. Would it perhaps be quicker to use org-search-view to
> match against two regexps (the name and the contacts email property)?

Maybe. Anyhow I've a lot of ideas for that. Considers the current
version as a quick hack. :)

-- 
Julien Danjou
❱ http://julien.danjou.info


pgpd5Xms4y0Ul.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] Announcing org-contacts, a bbdb-like contact manager for Org

2011-02-23 Thread Julien Danjou
On Sat, Feb 12 2011, John Hendy wrote:

> I know people have responded re. the A/a+tab when trying to use for email...
> but did anyone solve the pure 'M-x org-contacts N/name' issue? Are they the
> same? I just want proper case insensitivity and don't use it for email.

Case insensitivity works correctly with M-x org-contacts AFAIK.

-- 
Julien Danjou
❱ http://julien.danjou.info


pgpwLp0JlOv6K.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] Announcing org-contacts, a bbdb-like contact manager for Org

2011-02-23 Thread Julien Danjou
On Sat, Feb 12 2011, Bastien wrote:

> I'm willing to add this to contrib/lisp/ - would that be okay for you?

Since I plan to continue working and improving it soon, it seems like it
would be too much work getting it update for now since I couldn't commit
directly. So maybe it's best to wait a bit, and I'll ask for its
inclusion later?

-- 
Julien Danjou
❱ http://julien.danjou.info


pgpIIOD1IR0eq.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] Announcing org-contacts, a bbdb-like contact manager for Org

2011-02-23 Thread Julien Danjou
On Fri, Feb 11 2011, Darlan Cavalcante Moreira wrote:

> This is awesome. I always wanted to move from bbdb to org for my contacts.
> Any chance this will work with other Emacs mail clients, such as
> Wanderlust?

I use Gnus, so there's no chance I'll work on that. But I'm willing to
accept well written patches, of course.

-- 
Julien Danjou
❱ http://julien.danjou.info


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


[Orgmode] Re: Go to today in Calendar

2011-02-23 Thread Sébastien Vauban
Hi Nathan,

Nathan Neff wrote:
> I just found that you can press "." in the Calendar to jump to today's date.
>
> This saves me a gazillion keypresses, especially when you have a one-key
> mapping to schedule something in agenda mode. I have "s" mapped in agenda
> mode to schedule, so I just press "s . ".

I wanted to use your trick, but just remembered that `s' is already mapped to
`org-save-all-org-buffers', which is a nice keybinding as well... Too bad
"save" and "schedule" share the same letter...

Best regards,
  Seb

-- 
Sébastien Vauban


___
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] [babel] maxima support?

2011-02-23 Thread Litvinov Sergey
I have not found (i)maxima on this page.
http://orgmode.org/worg/org-contrib/babel/languages.html
(Babel: Languages)

Has someone implemented it?


___
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][babel] How to add results to text inline?

2011-02-23 Thread Andreas Leha
Sorry.  I should have read your message properly.

How about:
In my long long paragraph after that I want to say that
my result is  src_python[:noweb yes :results value raw replace :exports
results]{return <>} for x=5.

Regards,
Andreas

Am 23.02.2011 09:14, schrieb Torsten Wagner:
> Hi Andreas,
>
> thanks for pointing to that. I guess it is the same like on worg.
> As far as I understood this would help me to add the python code
> inside my paragraph which is indeed nice for small code-snippet.
> However, I would like to replace the result of a function call via
> #+call aka #+lob aka #+function.
>
> I will try he src_python{print f} and use a session...
>
> However, I thought there might be a 'easier' way ;)
>
> Thanks
>
> Torsten
>
>
>
> On 02/23/2011 04:53 PM, Andreas Leha wrote:
>> Hi Torsten,
>>
>> Have a look at the 'src_{}' construct as described here:
>> http://orgmode.org/org.html#Structure-of-code-blocks
>>
>> Hth,
>> Andreas
>>
>>
>> Am 23.02.2011 06:55, schrieb Torsten Wagner:
>>> Hi,
>>>
>>> guess this is a FAQ or at least a stupid question.
>>> However, I read along worg and wasn't able to find a solution.
>>>
>>> I would like to add the result of a source code block in some text
>>> paragraph.
>>>
>>> ---start--mini-example
>>>
>>> #+source:my_formula(my_parameter='1')
>>> #+begin_src python :results value :exports code
>>> y = 2
>>> f = my_parameter * y
>>> return f
>>> #+end_src
>>>
>>> In my long long paragraph after that I want to say that
>>> my result is #+call: my_formula(my_parameter='5') for x=5 but it is
>>> #+call: my_formula() for x=1
>>>
>>> ---end--mini-example
>>>
>>> Well I would replace the calls by the result of the source code block
>>> I read about no-web but this seems to work only within code blocks. I
>>> read about inline source code blocks, however, more complex functions
>>> would make it difficult to read.
>>>
>>> Thanks for pointing me to obvious solutions ;)
>>>
>>> Torsten
>>>
>>> CC. How about some C-like format string for number results like
>>> #+call: my_formula(my_parameter='5') :exports results :format %i5
>>> results in integer 5 digits
>>> 00010
>>> and  #+call: my_formula(my_parameter='5') :exports results :format %s.3
>>> could result in scientific notation with 3 digits after the comma
>>> 1.000*10^1
>>>
>>> This would allow to format the result to the needs just in place.
>>>
>>> ___
>>> 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
>
>
> ___
> 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

-- 
Andreas Leha

Universitätsmedizin Göttingen
Abteilung Medizinische Statistik
Humboldtallee 32
37073 Göttingen

Tel: +49 (0)551 39-10710
Fax: +49 (0)551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha.html



University Medical Center Göttingen
Department for Medical Statistics
Humboldtallee 32
37073 Göttingen
Germany

Phone: +49 (0) 551 39-10710
Fax: +49 (0) 551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha-en.html




smime.p7s
Description: S/MIME Cryptographic Signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: A mail client that is org-mode compatible

2011-02-23 Thread Eric S Fraga
Dan Davison  writes:

> Charles Philip Chan  writes:
>
>> "Eric Schulte"  writes:
>>
>>> I'm also using the development version of gnus, but haven't noticed
>>> the searching features, could you point these out, a key binding or
>>> command name?
>>
>> Put the cursor on the group you want to search in the Group buffer and
>> hit:
>>
>> ,
>> | GG
>> `
>
> Yes, that's what I meant.
>
> Dan

and, if you want to search the ding mailing list, the key word is
"nnir".  works really well.

For the OP, gnus is definitely the way to go as far as I am concerned.
With the development version of gnus, org integration, including
fontification of source code blocks and links, is excellent.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.523.gd34329)

___
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][babel] How to add results to text inline?

2011-02-23 Thread Torsten Wagner

Hi Andreas,

thanks for pointing to that. I guess it is the same like on worg.
As far as I understood this would help me to add the python code inside 
my paragraph which is indeed nice for small code-snippet. However, I 
would like to replace the result of a function call via

#+call aka #+lob aka #+function.

I will try he src_python{print f} and use a session...

However, I thought there might be a 'easier' way ;)

Thanks

Torsten



On 02/23/2011 04:53 PM, Andreas Leha wrote:

Hi Torsten,

Have a look at the 'src_{}' construct as described here:
http://orgmode.org/org.html#Structure-of-code-blocks

Hth,
Andreas


Am 23.02.2011 06:55, schrieb Torsten Wagner:

Hi,

guess this is a FAQ or at least a stupid question.
However, I read along worg and wasn't able to find a solution.

I would like to add the result of a source code block in some text
paragraph.

---start--mini-example

#+source:my_formula(my_parameter='1')
#+begin_src python :results value :exports code
y = 2
f = my_parameter * y
return f
#+end_src

In my long long paragraph after that I want to say that
my result is #+call: my_formula(my_parameter='5') for x=5 but it is
#+call: my_formula() for x=1

---end--mini-example

Well I would replace the calls by the result of the source code block
I read about no-web but this seems to work only within code blocks. I
read about inline source code blocks, however, more complex functions
would make it difficult to read.

Thanks for pointing me to obvious solutions ;)

Torsten

CC. How about some C-like format string for number results like
#+call: my_formula(my_parameter='5') :exports results :format %i5
results in integer 5 digits
00010
and  #+call: my_formula(my_parameter='5') :exports results :format %s.3
could result in scientific notation with 3 digits after the comma
1.000*10^1

This would allow to format the result to the needs just in place.

___
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



___
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