Re: [O] Macro and babel

2012-09-18 Thread Sean O'Halpin
On Wed, Sep 19, 2012 at 1:54 AM, tony day  wrote:
>
> I had written this:
>
> ,
> | #+MACRO: testdir ~/working
> | #+begin_src sh
> |   cd  {{{testdir}}}
> | #+end_src
> `
>
> Thinking it would do this:
>
> ,
> | #+begin_src sh
> |   cd ~/working
> | #+end_src
> `
> Alas, #+Macro acts on export only.
>
> Is there a quick way to effect general text substitution on C-c C-c?  That 
> would be an awesome feature, basically adding macro capabilities to every 
> babelable language.  Or am I missing something?
>
>
> Tony

Here's a somewhat roundabout way of achieving something similar:

#+BEGIN_ORG

#+NAME: test-dir2
#+BEGIN_SRC sh :var dir="." :results output org :exports none
echo "
,#+begin_src sh
cd $dir
,#+end_src
"
#+END_SRC

#+CALL: test-dir2(dir="~/org") :results value raw :exports both

#+CALL: test-dir2(dir="/var/www/") :results value raw :exports both

#+END_ORG

HTH,
Sean



Re: [O] [OT] Xiki - could something like that be done with emacs+orgmode?

2012-09-18 Thread Sean O'Halpin
On Wed, Sep 19, 2012 at 4:37 AM, Andrew Hyatt  wrote:

> The xiki video is interesting, and I immediately thought of babel.
> However, babel sh-mode doesn't have support for execution yet.

Not sure what you mean by that. Place cursor in source block and hit C-c, e.g.

#+BEGIN_ORG
* Shell example

#+begin_src sh
date
#+end_src

#+RESULTS:
: Wed Sep 19 07:24:17 BST 2012

#+END_ORG

Regards,
Sean



Re: [O] Timeline view as a custom agenda command

2012-09-18 Thread Bastien


Hi Sébastien,

"Sebastien Vauban"
 writes:

> Though, such trials fail ("Invalid custom agenda command type timeline"):
>
> #+begin_src emacs-lisp
>   (add-to-list 'org-agenda-custom-commands
>'("A"
>  timeline ""
>  ;; ... specify on which file
>   ))
> #+end_src
>
> I guess it's because the concept of "current buffer" is not
> expressable as is?

Nope, that's because "timeline" is not a valid agenda type.

Days for the timeline are counted anyway, as this command is
obsoleted by other agenda commands.

If you spot something that you have with `org-timeline' and
can't really emulate with an agenda command let us know and 
we'll see how to implement it.

Thanks,

-- 
 Bastien




Re: [O] Troubles with custom agenda commands

2012-09-18 Thread Bastien


Hi Sébastien,

"Sebastien Vauban"
 writes:

> 1. When getting to the agenda dispatcher (`C-c a'), I see:
>
>S   Summary Review: set of 3 commands
>
>   while I only have... 2 commands (`agenda' and `todo'). Why?

This is a bug, fixed.  Thanks for spotting this!

> 2. When firing it up (`C-c a' followed by `S'), I get the 2 blocks I was
>expecting, but also an error:
>
>Buffer is read-only: #

I guess this is a problem with some hooks trying to modify the buffer,
please let me know if this happens again.

-- 
 Bastien




Re: [O] [OT] Xiki - could something like that be done with emacs+orgmode?

2012-09-18 Thread Andrew Hyatt
The xiki video is interesting, and I immediately thought of babel.
However, babel sh-mode doesn't have support for execution yet. Even if
it did, it wouldn't be a really good alternative, due to babel's
verbosity.

One idea is to have a babel subtree (or buffer) that is keyed to a
specific language, so that everything under it is assumed to be an
executable statement.  Something like:

* Project A
** Shell
   :PROPERTIES:
   :BABEL-TYPE: sh
   :END:

ls
  - file1
  - file2
  - file3

run_server
  ouput-buffer

** Next thing

Where the files and output-buffer are linked.  The interaction within
the BABEL-TYPE heading would be similar to the *scratch* buffer, just
execute and it gives you the result immediately below.  Except the
result should work be org-output, and linked when appropriate.

Babel would be handling this, but it wouldn't need the boilerplate for
each command, or each output.

The idea to use [[shell:ls]] and things like that is also useful, but
right now the output goes to a different buffer, and is not otherwise
tied in with org-mode.  This is why I think babel might be a better
fit for this type of functionality.


On Tue, Sep 18, 2012 at 2:23 AM, Bastien  wrote:
> Hi Marcelo,
>
> Marcelo de Moraes Serpa  writes:
>
>> http://www.youtube.com/watch?v=bUR_eUVcABg&feature=youtu.be
>>
>> I'm wondering it something like that could be done with emacs (and
>> possibly integrating orgmode to add the outlining features)?
>
> * [[shell:ls -l]]
>
> * shell:pwd
>
> ... etc etc.
>
> I think pretty all the features described here are already available
> with some elisp.
>
> The basic idea is that the command prompt and the results are of the
> same kind: text you can edit, and that can produce an output... that you
> can further reuse as a command.  Which is the core idea of Org.
>
> If there is any specific feature displayed in the video that seems
> useful for Org, let us know.
>
> My 2 cents,
>
> --
>  Bastien
>



Re: [O] state of the art for html5 presentations?

2012-09-18 Thread Marcelo de Moraes Serpa
Wow, that's a lot of options! I really liked impress.js, and I'm glad to
know there's an org mode "bridge" to it :)

I've only used showoff in the past (https://github.com/schacon/showoff) and
it uses one or more markdown files as the source for the presentation. No
need to write HTML/CSS/JS if you don't want to. It's simple and works very
well.

Since it's markdown, I'm sure using org could be very possible, since org
can export to markdown. Perhaps there's even a library out there that
already adapts showoff to org?

On Tue, Sep 18, 2012 at 4:15 PM, Nick Dokos  wrote:

> Fabrice Popineau  wrote:
>
> > I can compile a 20-slide file (no tikz) in less than a second.
> > Of course, larger slide decks will take longer and I'm sure tikz
> > requires considerable CPU time, but what do you mean by "huge"?
> > Also how big a slide deck are you talking about and what percentage
> > of the slides use tikz?
> >
> > About 1500 slides (350 actual frames with overlays) for a 20 hours
> course.
> > LuaTeX + opentype fonts makes it even slower. Some complex slides with
> > animate algorithms (mergesort, ford fulkerson, stuff like that)
> > Ok, I can split it in lectures (albeit that's not so simple to use
> \lectureonly without
> > breaking toc). I can use the externalize library. Etc.
> >
>
> Yikes! That's a whole 'nother ballgame. Even if I had something that
> big, I don't think I could manage it in a single file.
>
> Nick
>
>
>


Re: [O] freemind.el does not convert org links to links in Freemind

2012-09-18 Thread Bill Day
Sorry, yes, I mistyped -- it is org-freemind.el.

When I type:

* Mind Map
** test [[http://orgmode.org][Org Mode]]

I get this:




http://orgmode.org][Org Mode]]">




Is this the expected behavior?


On Tue, Sep 18, 2012 at 3:30 AM, Bastien  wrote:

> Hi Bill,
>
> Bill Day  writes:
>
> > I am using org-mode 7.9.1 and Freemind 0.9.0.  Freemind.el seems to
> > convert nodes from org to Freemind with no problem, but it simply
> > copies the code for links from org to Freemind without converting
> > it.
>
> I'm not sure i understand -- are you talking about org-freemind.el?
>
>
> http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=lisp/org-freemind.el;hb=HEAD
>
> > Has anyone else had this problem?
>
> AFAIU I don't.
>
> This link in .org:
>
>   A [[http://orgmode.org][link]].
>
> gets exported as
>
>   A http://orgmode.org";>link.
>
> in .mm
>
> HTH,
>
> --
>  Bastien
>



-- 
Bill Day
williamson@gmail.com


[O] Macro and babel

2012-09-18 Thread tony day

I had written this:

,
| #+MACRO: testdir ~/working
| #+begin_src sh
|   cd  {{{testdir}}}
| #+end_src
`

Thinking it would do this:

,
| #+begin_src sh
|   cd ~/working
| #+end_src
`
Alas, #+Macro acts on export only.
 
Is there a quick way to effect general text substitution on C-c C-c?  That 
would be an awesome feature, basically adding macro capabilities to every 
babelable language.  Or am I missing something?


Tony


Re: [O] FR: ASCII remove extra lines

2012-09-18 Thread Samuel Wales
Hi Bastien,

My FR is not critical, but this does not work around it.  Sometimes
there is more than one paragraph, and motion and killing work
differently (wrongly) on appended comments.

Samuel

On 9/18/12, Bastien  wrote:
> ,
> | # this is a paragraph, which i decided to comment out, but
> | # is separate from the previous and next paragraphs.
> | Currently, ASCII export will create extra blank lines.  This
> | is undesirable.
> `

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com



Re: [O] Digest configuration

2012-09-18 Thread James Harkins
On Sep 18, 2012 6:26 PM, "Bastien"  wrote:
>
> Hi James,
>
> James Harkins  writes:
>
> > There must be a smarter way to group messages into digests so that no
> > single digest is too big, while messages don't get lost.
>
> I assume this is about mailman digests.
>
> If so, please report this to the mailman developers.
>
> We don't have any way to fix this from here.

I'm also subscribed to the lilypond-users list, also hosted at gnu.org, and
its digests have the same format, so I assume it's also mailman.
Lilypond-users, however, delivers several digests per day and there seems
to be a size cap on each one. If there are more posts in a day, I get more
digests, not one longer digest.

So I suppose the maximum digest size is already configurable without
logging an issue with the mailman devs.

hjh


Re: [O] Differences between MobileOrg and MobileOrgNG

2012-09-18 Thread eckl . robert
Henning Weiss wrote:

>> On Mon, Sep 17, 2012 at 9:20 PM, Robert Eckl wrote:

>> If i Push the org-files under Windows with MobileOrg the different
>> org-files are not synced, but with MobileOrgNG they are. If i push the
>> org-files under Mac OS, the org-files are synced even with MobileOrg. 

> This sounds like a known bug with org-mode on Windows, as it does not
> generate a complete checksum file. See the discussion here. It seems
> that changing from sha1sum.exe to md5sum.exe for the generation of the
> checksum file fixes that issue. 

Thank you very much for the hint. Changing sha1sum.exe to md5sum.exe did
not change anything for me, but changing from Gnuwin sha1sum/md5sum to
the one from ftp://ftp.gnupg.org/gcrypt/binary/sha1sum.exe seems to fix
the issue for me.

I hope, other issues are fixed too. Sometimes org-mobile-push crashes
because of IIRC unexpected hashes. If I remove the related
agenda-file(s), do the push, and then add the files to the agenda-files
the push sometimes is succesfull. I have no idea, how to fix it.

Cu,
Robert



[O] [BABEL][BUG] lists and inline src

2012-09-18 Thread cberry

My apologies if this is already reported (I recall seeing something like
this, but cannot find it in the archives).

A list element starting with an inline src block is improperly
parsed. for example

- src_emacs-lisp{(org-version)} 

is not executed by babel. An ECM:


,
| * virgin version
| 
| The version is src_emacs-lisp{(org-version)}
| 
| * list versions
| 
| - The version is 
| - src_emacs-lisp{(org-version)}
| - The version is 
| - now src_emacs-lisp{(org-version)}
`
 yields

,
| ...
| \section{virgin version}
| \label{sec-1}
| 
| 
| The version is \verb=7.9.1=
| \section{list versions}
| \label{sec-2}
| 
| 
| \begin{itemize}
| \item The version is
| \item src$_{\mathrm{emacs}}$-lisp\{(org-version)\}
| \item The version is
| \item now \verb=7.9.1=
| \end{itemize}
| ...
`

Chuck




[O] Habit setup help needed

2012-09-18 Thread Robert Horn
I'm trying to get some habits set up that have a regular time window
during which I should do them.  The habits are being created and
somewhat maintained, but the habit bars are not acting the way that I
expected.

In the org file I have:

*** HABIT [#A] Weekly GTD review [0/9] :home:
DEADLINE: <2012-09-21 Fri ++1w> SCHEDULED: <2012-09-17 Mon ++1w>
 :LOGBOOK:
 - State "DONE"   from "HABIT"  [2012-09-14 Fri 09:00]
...
 :END:
 :PROPERTIES:
 :STYLE: habit
 :LOGGING: DONE(!)
 :END:

In the agenda, I get the habit bar.  The habit bar text is copied below,
but colors don't copy. It's red until the asterisk.  The asterisk is the
completion that is logged for 14 September.  It's blue until the
exclaimation point (18 September), then it has a red background, and the
future is red.  This is captured on Tuesday, 18 september.

 Habit:  HABIT [#A] Weekly GTD revi   *   !  :home:

I thought that it should be blue from the asterisk until monday, because
that is the completed period.  Then I expected green until friday,
because that's the interval from scheduled start work until the
deadline.  Then I expected red for the time past the deadline.

What is the right changes to make to get that effect?  I'm trying to
capture that something should be done once per week, on a weekday.

R Horn
rjh...@alum.mit.edu




Re: [O] state of the art for html5 presentations?

2012-09-18 Thread Nick Dokos
Fabrice Popineau  wrote:

> I can compile a 20-slide file (no tikz) in less than a second.
> Of course, larger slide decks will take longer and I'm sure tikz
> requires considerable CPU time, but what do you mean by "huge"?
> Also how big a slide deck are you talking about and what percentage
> of the slides use tikz?
> 
> About 1500 slides (350 actual frames with overlays) for a 20 hours course.
> LuaTeX + opentype fonts makes it even slower. Some complex slides with 
> animate algorithms (mergesort, ford fulkerson, stuff like that)
> Ok, I can split it in lectures (albeit that's not so simple to use 
> \lectureonly without
> breaking toc). I can use the externalize library. Etc.
> 

Yikes! That's a whole 'nother ballgame. Even if I had something that
big, I don't think I could manage it in a single file.

Nick




Re: [O] state of the art for html5 presentations?

2012-09-18 Thread Fabrice Popineau
>
> I can compile a 20-slide file (no tikz) in less than a second.
> Of course, larger slide decks will take longer and I'm sure tikz
> requires considerable CPU time, but what do you mean by "huge"?
> Also how big a slide deck are you talking about and what percentage
> of the slides use tikz?
>
>
About 1500 slides (350 actual frames with overlays) for a 20 hours course.
LuaTeX + opentype fonts makes it even slower. Some complex slides with
animate algorithms (mergesort, ford fulkerson, stuff like that)
Ok, I can split it in lectures (albeit that's not so simple to use
\lectureonly without
breaking toc). I can use the externalize library. Etc.

Anyway, what's bother me on the long run is that it is only slides. The
browser is able
to render / typeset the text and graphics by itself. No need to resort to
such complex
compilation (there is MathJax, and stuff like Raphael.js and jQuery that
could do the job).
The more powerful your tool is (luatex, opentype fonts etc) the more you
lose
time with details.

Fabrice


>  Nick
>
> PS. It's all idle curiosity on my part.
>
>


-- 
Fabrice Popineau
-
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
--


Re: [O] [OT] Org spotted in the wild

2012-09-18 Thread Michael Strey
On Tue, Sep 18, 2012 at 08:25:55AM +0200, Bastien wrote:
 
> "Loris Bennett"  writes:
> 
> > http://mosh.mit.edu/
> 
> I must admit that I designed the new website based on the one above.
> 
> The result is not as neat, but close enough.

mosh.mit.edu was built with the Twitter Bootstrap CSS framework.
See http://twitter.github.com/bootstrap/.

-- 
Michael Strey
mailto:mst...@strey.biz
http://www.strey.biz



Re: [O] Compilation problem

2012-09-18 Thread Achim Gratz
Alan Schmitt writes:
> There was a revert of a commit that fixed it, and I got back to the
> usual state of getting stuck on some test. (I tried finding which test
> is getting stuck, but I don't know how. I just know the last test to
> pass is test-ob-sh/dont-insert-spaces-on-expanded-bodies. Digging a bit
> more the stuck process is running "zsh -i".

Then it certainly is the sh session test and Emacs doesn't know how to
interpret the prompt it gets from zsh and waits indefinately for the
shell to start or zsh tries to do session management, which doesn't work
in emacs' emulated terminal.  This test is a bit fragile, I've seen it
do strange things on windows as well.  If you have that on your system,
use posh as a shell for the invocation of emacs from the makefile, in
local.mk:

EMACS = SHELL=posh /path/to/emacs

Make sure the shell prompt you get ends with "$" and maybe some
whitespace, then emacs should know the shell is active.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




Re: [O] state of the art for html5 presentations?

2012-09-18 Thread Nick Dokos
Fabrice Popineau  wrote:

> Speaking for myself, I'm tired of how cumbersome it is to compile 
> latex+beamer+tikz.
> Huge compilation time.

I can compile a 20-slide file (no tikz) in less than a second.
Of course, larger slide decks will take longer and I'm sure tikz
requires considerable CPU time, but what do you mean by "huge"?
Also how big a slide deck are you talking about and what percentage
of the slides use tikz?

Nick

PS. It's all idle curiosity on my part.




Re: [O] ELPA org-mode daily build(s)?

2012-09-18 Thread Achim Gratz
Jason Dunsmore writes:
> The error that caused it to fail was:
>
> /bin/sh: emacs: command not found
>
> I linked /usr/bin/emacs to /usr/local/bin/emacs.  Hopefully that will
> fix it.

Better give the applications a full path in local.mk so that they don't
depend on whatever the shell gets set up with.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] state of the art for html5 presentations?

2012-09-18 Thread Matt Price
On Tue, Sep 18, 2012 at 12:52 PM, John Hendy  wrote:
> On Tue, Sep 18, 2012 at 10:20 AM, Puneeth Chaganti  
> wrote:
>> On Tue, Sep 18, 2012 at 8:24 PM, John Hendy  wrote:
>> [..]
>>>
>>> Has anyone used this? I just cloned it and created the example
>>> presentation. For Chromium, Google-Chrome, and Firefox on Linux, I get
>>> messages that my browser is not supported. Is there some specific
>>> plugin I'm supposed to have for this to work? What is it, exactly,
>>> that it's finding missing?
>>
>> You'll need to clone impress.js repo and copy over the js and css
>> directories, to the directory of your html file.  The README gives
>> instructions for the same [
>> https://github.com/kinjo/org-impress-js.el#quick-start ]
>
> Got ahead of myself and missed that. This. Is. Awesome.
>

I agree that impress.js is pretty cool! I have been using kinjo's
org-export-as-html5presentation and finding that it works really well
(http://hpda.hackinghistory.ca/wp-content/uploads/2012/09/03-public-sphere.html#slide1).
 something I like a lot about it is that the css is embedded in the
presentation -- this makes it easy to post to a website & have it work
automatically.  I can't tell immediately if it's possible to set the
CSS stylesheet & impress.js location with a custom variable or not.
If it is possible -- it would b pretty fantastic.  It looks like it
ought to be possible to integrate into wordpress, too -- so I could in
principle w/ some modifications to org2blog/wp, just post
presentations to my class blog -- god that would be fantastic!  Maybe
next year though.

Whew, it's pretty exciting really.

Thanks for the links, and if anyone is using it in those ways I'd love
to hear about it!

Matt



Re: [O] Org-mode version N/A-fixup

2012-09-18 Thread Achim Gratz
Markus Heller writes:
>> BTW, how exactly did you update?  A tarball should not need this and if
>> it's a Git directory the version should be found automatically.
>
> Here are the steps:
>
> 1. git pull in ~/.emacs.d/org-mode
> 2. M-x org-reload

Then Emacs apparently does not know how to call git (it probably can't
be found in path), otherwise it would know the version from git.  You
should fix, that it would help to show the correct version number, for
instance in bug reports.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] state of the art for html5 presentations?

2012-09-18 Thread Fabrice Popineau
Speaking for myself, I'm tired of how cumbersome it is to compile
latex+beamer+tikz.
Huge compilation time.
I'm craving for something that will avoid this compilation step.
Currently, the only thing that prevents me to switch my slides to
pure HTML(5) is the lack of some tool to program my drawings
(some kind of translator from lisp to svg or raphael).

Fabrice


2012/9/18 John Hendy 

> On Tue, Sep 18, 2012 at 10:20 AM, Puneeth Chaganti 
> wrote:
> > On Tue, Sep 18, 2012 at 8:24 PM, John Hendy  wrote:
> > [..]
> >>
> >> Has anyone used this? I just cloned it and created the example
> >> presentation. For Chromium, Google-Chrome, and Firefox on Linux, I get
> >> messages that my browser is not supported. Is there some specific
> >> plugin I'm supposed to have for this to work? What is it, exactly,
> >> that it's finding missing?
> >
> > You'll need to clone impress.js repo and copy over the js and css
> > directories, to the directory of your html file.  The README gives
> > instructions for the same [
> > https://github.com/kinjo/org-impress-js.el#quick-start ]
>
> Got ahead of myself and missed that. This. Is. Awesome.
>



-- 
Fabrice Popineau
-
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
--


Re: [O] Org-mode release 7.9

2012-09-18 Thread Achim Gratz
Eric Schulte writes:
> Please do go ahead and revert that commit.

Done, implemented in maint and merged back to master.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra




Re: [O] Org HTML->PDF publishing

2012-09-18 Thread Luis Anaya
Marcelo de Moraes Serpa  writes:

> Hey guys,
> Is it feasible to publish something (say an ebook) to html and then
> convert it to pdf? 
[chomp]
> Has anyone tried this workflow?

More ideas:

- Calibre (calibre-ebook.com) can convert HTML to PDF, open source and
  free.

- OpenOffice/LibreOffice. Read files and export to PDF ? 

- Within reason you can do that in a browser and print to PDF (native in 
  Linux and Mac, Get a PDF print driver - PDFCreator, dump to Post Script and
  ps2pdf in cygwin... ad nauseum -) . 

Calibre might be your best bet being that it handles bulks of HTML
pages, but YMMV. 

Luis



-- 
Luis R. Anaya
papo anaya aroba hot mail punto com
"Do not use 100 words if you can say it in 10" - Yamamoto Tsunetomo



Re: [O] =<<<...>>>= invalid

2012-09-18 Thread Jorge Timón
Org-mode version 6.30c at home, even with the snapshot. I'll probably
update and follow your advice, thank you.

On 9/18/12, Jorge Timón  wrote:
> I still get \texttt{<<<} \ldots{} \texttt{>>>}
>
> I have Org-mode version 6.33x at work. I'll check later at home, where
> I have both emacs23 and emacs24 (snapshot).
>
> On 9/17/12, Nick Dokos  wrote:
>>  Jorge Timón  wrote:
>>
>>> I wouldn't care about the spaces and I would prefer not to use latex.
>>> The problem is that that produces:
>>>
>>> \texttt{<<<} \ldots{} \texttt{>>>}
>>>
>>
>> Did you try it with the tildes instead of the equal signs?
>> Here, both old and new exporters produce
>>
>> aaa \verb~<<<~ \ldots{} \verb~>>>~ aa a a
>>
>> at least with the version I'm running (Org-mode version 7.9.1
>> (release_7.9.1-214-gf025d1))
>>
>> Nick
>>
>>> and then latex joins the first << and the first >> together, which is
>>> really ugly.
>>>
>>> My document is already LaTeX specific, but if I'm able replace more
>>> latex with org mode, I should consider a later edition of the tex
>>> produced to keep it backend-independent. Not critical for this
>>> document, but it is always cool to be able to export to different
>>> formats.
>>>
>>> Thank you for the suggestion, anyway.
>>>
>>> On 9/17/12, Nick Dokos  wrote:
>>> >   Jorge Timón  wrote:
>>> >
>>> >> The only way I know to do what I want is \verb=<<<=...\verb=>>>=, in
>>> >> case someone has a similar problem.
>>> >>
>>> >
>>> > If you don't mind the extra space around the dots, you can say
>>> >
>>> >aaa ~<<<~ ... ~>>>~ aa a a
>>> >
>>> > the advantage being that it is backend-independent, so it will export
>>> > correctly to HTML and presumably all the other backends --- at least
>>> > with the new exporter: I didn't try the old one.
>>> >
>>> > There are ways to deal with the spaces as well (the one before the
>>> > dots
>>> > is no problem: it's the one after that causes a problem in this case),
>>> > but imo they are not worth the bother unless you really, really need
>>> > that
>>> > exact behavior. I'd rather live with the spaces (or edit the resulting
>>> > latex
>>> > file, but that has disadvantages of its own).
>>> >
>>> > Nick
>>> >
>>> >
>>> >
>>> >
>>>
>>>
>>> --
>>> Jorge Timón
>>>
>>
>
>
> --
> Jorge Timón
>


-- 
Jorge Timón



Re: [O] Org HTML->PDF publishing

2012-09-18 Thread John Hendy
If you have the html, there seem to be some things around to convert to PDF:
- http://code.google.com/p/wkhtmltopdf/
- http://pypi.python.org/pypi/xhtml2pdf/
- http://www.winnovative-software.com/download.aspx
- http://www.html2pdf.fr/en

Good luck!
John

On Tue, Sep 18, 2012 at 12:58 PM, Marcelo de Moraes Serpa
 wrote:
> Hey guys,
>
> Is it feasible to publish something (say an ebook) to html and then convert
> it to pdf?
>
> I know *TeX is the most powerful framework for creating PDFs, but given that
> I'm more familiar with CSS, I'm sure I could come up with a better style for
> the document in much less time than if, say, using LaTeX, as of now.
>
> My thought is, publish to HTML via org using a custom CSS, and then convert
> this HTML+CSS to PDF somehow - I'm still not sure how exactly - printing to
> PDF from the browser might be an option, however, I'm afraid that the final
> PDF quality will not be enough for the given publication.
>
> Has anyone tried this workflow?
>
> Cheers,
>
> - Marcelo.



Re: [O] Org HTML->PDF publishing

2012-09-18 Thread Eduardo Ochs
On Tue, Sep 18, 2012 at 2:58 PM, Marcelo de Moraes Serpa <
celose...@gmail.com> wrote:

> Hey guys,
>
> Is it feasible to publish something (say an ebook) to html and then
> convert it to pdf?
>
> I know *TeX is the most powerful framework for creating PDFs, but given
> that I'm more familiar with CSS, I'm sure I could come up with a
> better style for the document in much less time than if, say, using LaTeX,
> as of now.
>
> My thought is, publish to HTML via org using a custom CSS, and then
> convert this HTML+CSS to PDF somehow - I'm still not sure how exactly -
> printing to PDF from the browser might be an option, however, I'm afraid
> that the final PDF quality will not be enough for the given publication.
>
> Has anyone tried this workflow?
>
> Cheers,
>
> - Marcelo.
>

This works very well, but it's non-free:

  http://news.ycombinator.com/item?id=501897
  http://tomayko.com/writings/princexml
  http://www.youtube.com/watch?v=vcXUrNSvjhU

[[]], Eduardo Ochs
  eduardoo...@gmail.com
  http://angg.twu.net/


Re: [O] Org-mode version N/A-fixup

2012-09-18 Thread Markus Heller
Achim Gratz  writes:

> Markus Heller writes:
>> worked like a charm, thanks!!
>
> BTW, how exactly did you update?  A tarball should not need this and if
> it's a Git directory the version should be found automatically.

Here are the steps:

1. git pull in ~/.emacs.d/org-mode
2. M-x org-reload

Followed by the steps outlined on the web page pointed out by you.

Cheers
Markus




[O] Org HTML->PDF publishing

2012-09-18 Thread Marcelo de Moraes Serpa
Hey guys,

Is it feasible to publish something (say an ebook) to html and then convert
it to pdf?

I know *TeX is the most powerful framework for creating PDFs, but given
that I'm more familiar with CSS, I'm sure I could come up with a
better style for the document in much less time than if, say, using LaTeX,
as of now.

My thought is, publish to HTML via org using a custom CSS, and then convert
this HTML+CSS to PDF somehow - I'm still not sure how exactly - printing to
PDF from the browser might be an option, however, I'm afraid that the final
PDF quality will not be enough for the given publication.

Has anyone tried this workflow?

Cheers,

- Marcelo.


[O] html publish - typo in contrib/lisp/org-e-publish.el

2012-09-18 Thread Robert Klein
Hi, there is a typo in org-e-publish.el.  Publishing xxx.org results in 
a file xxxhtml instead of xxx.html.


Fix below.

(My published files still have zero length, but this may be a result of 
a buggy setup.)


Best regards
Robert


--- org-e-publish.el.old2012-09-18 19:27:27.502988132 +0200
+++ org-e-publish.el2012-09-18 19:27:54.009888013 +0200
@@ -600,7 +600,7 @@
 publishing directory.

 Return output file name."
-  (org-e-publish-org-to 'e-html filename "html" plist pub-dir))
+  (org-e-publish-org-to 'e-html filename ".html" plist pub-dir))

 ;; TODO: Not implemented yet.
 ;; (defun org-e-publish-org-to-org (plist filename pub-dir)



Re: [O] bulk rescheduling change?

2012-09-18 Thread Greg Troxel

Nick Dokos  writes:

> Bastien  wrote:
>
>> Hi Nick,
>> 
>> Nick Dokos  writes:
>> 
>> > Well, the non-interactiveness and the next day are because the four
>> > items I marked were the last four items for that date, so after marking
>> > them, the cursor happened to be on the date line for the next day, which
>> > apparently is taken as an indication that I want things to be
>> > rescheduled for that date, no questions asked. Not sure I like this
>> > much.
>> 
>> This implementation was to mimick the previous behavior we had with 
>> `k m' (to mark an entry) then `k s' (to schedule it to the date at 
>> point with no prompt.)
>> 
>> I don't like having no prompt here too.  
>> 
>> I just changed the behavior so that there is *always* a prompt 
>> with `m m m B s' -- if the cursor is on a date, this date is the
>> default time for the prompt, RET will reschedule to this date.
>> 
>
> Thanks - this sounds much better. I hope Greg likes it too.
> I ran a bunch of things past it and it worked perfectly (imo of course).

Yes, I have updated and the new behavior seems sensible and intuitive.
There's a default shown, but if I type anything it's ignored.  Thanks
for fixing this.


pgpXzhCqj5Ur8.pgp
Description: PGP signature


Re: [O] state of the art for html5 presentations?

2012-09-18 Thread John Hendy
On Tue, Sep 18, 2012 at 10:20 AM, Puneeth Chaganti  wrote:
> On Tue, Sep 18, 2012 at 8:24 PM, John Hendy  wrote:
> [..]
>>
>> Has anyone used this? I just cloned it and created the example
>> presentation. For Chromium, Google-Chrome, and Firefox on Linux, I get
>> messages that my browser is not supported. Is there some specific
>> plugin I'm supposed to have for this to work? What is it, exactly,
>> that it's finding missing?
>
> You'll need to clone impress.js repo and copy over the js and css
> directories, to the directory of your html file.  The README gives
> instructions for the same [
> https://github.com/kinjo/org-impress-js.el#quick-start ]

Got ahead of myself and missed that. This. Is. Awesome.



Re: [O] org-habit config tinypatch

2012-09-18 Thread Robert Horn
I found the issue, and it's a more subtle one.  I've set a bug to emacs
list in case they think it's a documentation or fixable bug.  What
happens is this:

- The custom value setting for org options do not take effect until *after* 
the relevant lisp code has been executed once.  This means:
- If you start emacs and immediately go into *scratch* and print 
org-habit-show-today-all you get an error because that variable has not yet 
been bound.
: Debugger entered--Lisp error: (void-variable org-habit-show-all-today)
:   (print org-habit-show-all-today)
:   eval((print org-habit-show-all-today) nil)
:   eval-last-sexp-1(t)
:   eval-last-sexp(t)
:   eval-print-last-sexp()
:   call-interactively(eval-print-last-sexp nil nil) 
- If you start emacs and immediately go into options->config for org-habit, 
the org-habit-show-today-all will indicate that it has been set outside of the 
customization system when the intended value is "t".  When the intended value 
is "nil" there is no indicated problem.
- If you start emacs and put a buffer into org mode, the (print 
org-habit-show-all) will show the customized value, and the options->config 
will also show the customized value.

I think that this is either a documentation bug, where this behavior
needs explaining, or a bug in customize.  As a naive user of customize I
would expect that going to the org-habit group would automatically
trigger applying the org-habit customizations.  Opening an org-mode
buffer has this effect.

But, perhaps there is some flag somewhere well hidden in the
documentation for customization groups that needs to be set to indicate
this.

R Horn
rjh...@alum.mit.edu




Re: [O] Extra space between list items in HTML export

2012-09-18 Thread Richard Stanton
>
>Hi Nick,
>
>Nick Dokos  writes:
>
>> The old exporter does that: it breaks the second up into three lists,
>>each with a single
>> element. The first is a single list with three elements.
>
>Which is wrong IMO.
>
>> The new exporter produces a single list with three elements, although
>>it includes
>> the section number for each entry - this might be a bug.
>
>Which is right.
>
>1 to 0 for the new exporter!
>
>-- 
> Bastien

I prefer the old behavior. Let me explain why, in case there's another way
to achieve what I want.

Often I want to create a simple list of TODO items, where I don't want
each item to start a new section, with all the extra space, bold fonts,
etc., that entails. I'd do this using a standard itemized list, except
that (at least last time I checked) org mode insists on TODO items being
headers. To work around this, I use h:2 (say) so that I can make my TODO
items third-level headers and have them printed as an itemized list, as
desired. With the new behavior, this seems impossible, but I can't believe
I'm the only person for whom this is a useful capability.

Richard




[O] org-metaup / org-metadown nerfed in 7.9.1

2012-09-18 Thread Trevor Vartanoff
I updated to 7.9.1 from 7.8.11 and was quite surprised to receive nasty 
"Cannot drag element backward" messages when I tried to use org-metaup 
and org-metadown to move text around.


Why was this done? How do I get back to one stroke functionality? I'm 
afraid I'm not properly understanding the release notes or mailing list 
archives.




Re: [O] [OT] Xiki - could something like that be done with emacs+orgmode?

2012-09-18 Thread Luis Anaya
Marcelo de Moraes Serpa  writes:

> Hi list,
>
> I've found a pretty interesting piece of software today. It's called Xiki,
> check out the video:
>
> http://www.youtube.com/watch?v=bUR_eUVcABg&feature=youtu.be

It's interesting, but it has its challenges. I tried to install it to
play with it and... well, it's still there in zombie mode; I've not
followed through with it.

This is what I found out: 

1. Requires ruby and uses el4r. That by itself is not bad, but it is
overhead to run the application. The installation process is a
chore. I'm not a ruby programmer although I'm familiar with the
language. Other than I had to compile ruby from source (which is not
bad) trying to get it to work within el4r is not straightforward. If you
do not know ruby or el4r, it does complicates its installation.

2. Uses emacs or vim or some other editors in experimental mode, and I 
think that it's limited to graphic mode. I tried to run it from the
console and I got a "Face -9" error. So, what good is a shell if you
can't run it from the console?  It might have been pilot error but makes
me wonder.

3. I think that Bastien mention that items can be done in babel being
that it allows to get data form different sources. 

In terms of its interface, it's pretty nifty, but the real magic happens
because it's running within an editor. 

My 2 cents... 



-- 
Luis Anaya
papo anaya aroba hot mail punto com
"Do not use 100 words if you can say it in 10" - Yamamoto Tsunetomo



Re: [O] org today's entension

2012-09-18 Thread Bastien
Hi William,

William Léchelle  writes:

> I'm still dearly wishing it'd be developed further : Sometimes, I set
> appointments past midnight (it's, errr, the timezone's fault, I swear), and 
> I'd
> rather have them displayed in the agenda on the day before, not to forget 
> about
> them in daily view. (Even better, at the bottom of the day.)
>
> I guess it'll wait until I learn something of lisp, but where to start in 
> order
> to implement that ?

One simple hack for this in agenda view would be to use 
(setq org-agenda-ndays 2) and an `org-agenda-skip-function'
that get rid of items past the extended day.

Not tested, but could be fun to try this out.

-- 
 Bastien



Re: [O] Compilation problem

2012-09-18 Thread Alan Schmitt
Bastien  writes:

> Hi Alan,
>
> Alan Schmitt  writes:
>
>> I cannot compile the current version of org-mode (from git): something
>> fails during testing:
>
> did you find a workaround?

There was a revert of a commit that fixed it, and I got back to the
usual state of getting stuck on some test. (I tried finding which test
is getting stuck, but I don't know how. I just know the last test to
pass is test-ob-sh/dont-insert-spaces-on-expanded-bodies. Digging a bit
more the stuck process is running "zsh -i". Killing it crashes the Emacs
test process with a stack full of "mark_object" and "mark_vectorlike",
as reported by the OS X crash reporter.)

Alan



Re: [O] state of the art for html5 presentations?

2012-09-18 Thread Puneeth Chaganti
On Tue, Sep 18, 2012 at 8:24 PM, John Hendy  wrote:
[..]
>
> Has anyone used this? I just cloned it and created the example
> presentation. For Chromium, Google-Chrome, and Firefox on Linux, I get
> messages that my browser is not supported. Is there some specific
> plugin I'm supposed to have for this to work? What is it, exactly,
> that it's finding missing?

You'll need to clone impress.js repo and copy over the js and css
directories, to the directory of your html file.  The README gives
instructions for the same [
https://github.com/kinjo/org-impress-js.el#quick-start ]



Re: [O] Bug: org html export INFOJS does not include an interactive plot in info view

2012-09-18 Thread Bastien
Hi Feiming,

Feiming Chen  writes:

> This bug is related to Sebastian Rose's org-info.js code.   I like
> using the INFOJS option as it makes a html report more organized. 
> :-)
>
> Attached are two test files:
>  "test1.org" is exported to "test1.html" with INFOJS, where the
> first plot (an interactive chart) cannot be seen in the "info" view
> mode, but can be seen in the "fold" view mode. 
> "test2.org" is exported to "test2.html" without INFOJS.   All the
> plots look OK. 
>
> The interactive plot is exported as HTML code, which may confuse the
> "org-info.js"&nb sp; code.   Could you fix this problem?  

Could you try the new HTML exporter and see if this problem persist?

Otherwise, can you try to use a dedicated HTML class for the embedded
image and see if INFOJS handles this more steadily?

Thanks,

-- 
 Bastien



[O] Problem with paragraph fill / tab in lists

2012-09-18 Thread Anthony Lander
Hi List,

I just pulled org-mode today (Org-mode version 7.9.1 
(release_7.9.1-244-g48ca87.dirty) and I'm seeing some strange behaviour with 
paragraph fill. Some examples:

If I start typing a definition list and let emacs wrap the text, I get this:

  - test :: dsfjknv sldfknv lksdjnv lksdjnv lksdjnv lkjsdv lkjsdnv lkjsdnv
lkjnsdv lkjdsnv lkjnsdv lkjsndlv kjnsdv lkjsdnv lkjnsd lvkjsndv
lkjsdn klvjsnd fvlkjsdnfv lksjdn vlksdjnv lkjsdnv lkjsdnv lkjsdnv
lkjsnd

If I turn autofill off (so all the text goes on one line, and then I M-x 
fill-paragraph RET, I get this:

  - test :: dsfjknv sldfknv lksdjnv lksdjnv lksdjnv lkjsdv lkjsdnv lkjsdnv
lkjnsdv lkjdsnv lkjnsdv lkjsndlv kjnsdv lkjsdnv lkjnsd lvkjsndv lkjsdn
klvjsnd fvlkjsdnfv lksjdn vlksdjnv lkjsdnv lkjsdnv lkjsdnv lkjsnd

And if I take the above with the text lined up under the word "test", and I hit 
tab on the 2nd line, I get this:

  - test :: dsfjknv sldfknv lksdjnv lksdjnv lksdjnv lkjsdv lkjsdnv lkjsdnv
lkjnsdv lkjdsnv lkjnsdv lkjsndlv kjnsdv lkjsdnv lkjnsd lvkjsndv 
lkjsdn
klvjsnd fvlkjsdnfv lksjdn vlksdjnv lkjsdnv lkjsdnv lkjsdnv lkjsnd

So it looks like autofill and tab indent are not doing the same thing. I 
*think* this started in 7.9. Or at least, I recall it working correctly in 7.8 
:)

Thanks!

  -Anthony

Re: [O] [OT] Xiki - could something like that be done with emacs+orgmode?

2012-09-18 Thread Marcelo de Moraes Serpa
@Bastien, Yeah, I've been thinking about the link approach or perhaps
babel, thank you for the suggestions!

@Eden, That's awesome! Looks like I didn't do the proper research...

Thank you guys,

- Marcelo.

On Tue, Sep 18, 2012 at 4:54 AM, Eden Cardim  wrote:

> > "Marcelo" == Marcelo de Moraes Serpa  writes:
>
> Marcelo> Hi list, I've found a pretty interesting piece of
> Marcelo> software today. It's called Xiki, check out the video:
>
> Marcelo> http://www.youtube.com/watch?v=bUR_eUVcABg&feature=youtu.be
>
> Marcelo> I'm wondering it something like that could be done with
> Marcelo> emacs (and possibly integrating orgmode to add the
> Marcelo> outlining features)?
>
> It's already done in emacs, see https://github.com/trogdoro/xiki
>
>
>


Re: [O] state of the art for html5 presentations?

2012-09-18 Thread John Hendy
On Tue, Sep 18, 2012 at 6:48 AM, Fabrice Popineau
 wrote:
> [[http://imakewebthings.com/deck.js/][Deck.js HTML Slides ]]
> [[http://webf1.soc.port.ac.uk/2011/style/lecture/#s%3D1][[WebF1: Web
> Foundations 1]]
> [[http://fooo.fr/~vjeux/github/dassault_presentation/#slide-0][Javascript
> Rocks]]
> [[http://bartaz.github.com/impress.js/#/bored/][Creating stunning
> visualizations with impress.js]]
> [[http://dontkry.com/jmpress.js/#/home][jmpress.js]]
>
> There is this :
> https://github.com/kinjo/org-impress-js.el
> that could be useful to impress/jmpress .

Has anyone used this? I just cloned it and created the example
presentation. For Chromium, Google-Chrome, and Firefox on Linux, I get
messages that my browser is not supported. Is there some specific
plugin I'm supposed to have for this to work? What is it, exactly,
that it's finding missing?


John

>
> Best regards,
>
> Fabrice
>
>
>
> 2012/9/18 Bastien 
>>
>> Hi Matt,
>>
>> Matt Price  writes:
>>
>> > I keep returning to this every few months, hoping things have gotten a
>> > little easier -- what tools are people using right now to make html5
>> > presentations out of their org files?
>>
>> The thing is that there are many HTML5 presentation systems.
>>
>> I think the most widely used is org-s5 by Eric:
>>   https://github.com/eschulte/org-S5
>>
>> but I guess you know this one already.
>>
>> --
>>  Bastien
>>
>
>
>
> --
> Fabrice Popineau
> -
> SUPELEC
> Département Informatique
> 3, rue Joliot Curie
> 91192 Gif/Yvette Cedex
> Tel direct : +33 (0) 169851950
> Standard : +33 (0) 169851212
> --
>
>



Re: [O] Extra space between list items in HTML export

2012-09-18 Thread Bastien
Nick Dokos  writes:

> With Richard's example[fn:1] and the new exporter, we get different
> behavior with HTML and latex (without the num: option or with num:t):
>
> o the second list is unordered in HTML, but enumerated in latex.
>
> o we get third level section numbers decorating the list entries in HTML,
>   but not in latex.
>
> Somebody needs to decide what the behavior should be, but then *every*
> exporter should behave the same way wrt that set of options.

I think headings that are lower than the n level in "#+OPTION h:n"
should be replaced by enumarated list when num:t and by unordered list
items when num:nil.

If we all agree, let's move toward this.

Thanks,

-- 
 Bastien



Re: [O] Creating Gantt charts by Exporting to TaskJuggler 3.3.0

2012-09-18 Thread John Hendy
On Tue, Sep 18, 2012 at 1:50 AM, Bastien  wrote:
> Hi Yann,
>
> Yann Hodique  writes:
>
>> At the moment I'm kinda contemplating doing a major rewrite of the TJ
>> exporter to use the org-export framework, which would make it easier to
>> introduce things like task references through org links, and so on.

You might want to take a look at this thread on the TJ mailing list:
- 
https://groups.google.com/forum/?fromgroups=#!topic/taskjuggler-users/je_XP1VfYXA

And the matching git repo with a TJ -> pgfgantt -> pdf converter:
- https://github.com/ravl1084/TJ2PDF

It's quite nice. I just used it myself. I think it has some bugs, but
they are pretty easily fixable. Anyway, perhaps take a look and try it
out to see if you think it could add any value to what you're trying
to accomplish. I think I'll continue using it, as the result is quite
pleasing.


Thanks for your work on this!
John

>
> That'd be great!
>
>> If I can fix a thing or two in the process, I'd be happy to. So, if
>> you have specific limitations in mind, feel free to elaborate.
>
> You'll surely fix more than one or two things in the process :)
>
> --
>  Bastien
>



Re: [O] Compilation problem

2012-09-18 Thread Bastien
Hi Alan,

Alan Schmitt  writes:

> I cannot compile the current version of org-mode (from git): something
> fails during testing:

did you find a workaround?

-- 
 Bastien



Re: [O] How to get graphs to display inline (immediately upon creation)?

2012-09-18 Thread Bastien
Hi Richard,

Richard Stanton  writes:

> One minor issue: if there are no images in the org file, I now get the message
>
> No images to display inline
>
> When executing a code block.

This should not be the case anymore (from master).

Thanks,

-- 
 Bastien



Re: [O] Compilation problem

2012-09-18 Thread Bastien
Carsten Dominik  writes:

> I think this should be to *merge* (and push) only complete changes.  At
> least this is what I think - git allows you to commit often while making
> changes.
>
> Actually, I think you agree, your next paragraph says as much.

Yes, I fully agree!

-- 
 Bastien



Re: [O] won't emacs kick into org mode for any file with a ".org" suffix?

2012-09-18 Thread Bastien
Hi Robert,

"Robert P. J. Day"  writes:

>   i figured that -- my point was that i think it's worth mentioning
> that, with any decently current version of emacs, all of that is
> already configured and you don't need to do anything.  reading that
> section doesn't make that clear.

I just fixed this, thanks.

-- 
 Bastien



Re: [O] auto-fill non-op, fill-paragraph error

2012-09-18 Thread Edward DeMeulle
I'm on 7.9.1. I've been pulling from the repository every once in a
while.




Re: [O] make org-agenda-tree-to-indirect-buffer use new frame only

2012-09-18 Thread Bastien
Hi Viktor,

Viktor Rosenfeld  writes:

> I've recently switched from Aquamacs to Emacs.app and noticed a
> different behavior of C-c C-x b in the agenda. I have the following in
> my Emacs settings:
>
> (setq org-indirect-buffer-display 'new-frame)
>
> If I open in indirect buffer from the agenda, it creates a new frame,
> but also splits the agenda frame and opens the task in another window.
> How can I stop it from doing the latter?

This should be fixed, thanks.

-- 
 Bastien



Re: [O] Invalid function: with-parsed-tramp-file-name with Perl

2012-09-18 Thread Loris Bennett
"Loris Bennett"  writes:

> Nick Dokos  writes:
>
>> Loris Bennett  wrote:
>>
>>> Nick Dokos  writes:
>>> 
>>> > Loris Bennett  wrote:
>>> >
>>> >> Hi,
>>> >> 
>>> >> When I try to run a Perl script remotely via ":dir", I get the following
>>> >> error:
>>> >> 
>>> >> ,-
>>> >> | org-babel-local-file-name: Invalid function: 
>>> >> with-parsed-tramp-file-name
>>> >> `-
>>> >> 
>>> >> However, using the same remote host I can successfully run both R and
>>> >> bash scripts.
>>> >> 
>>> >> There was a thread couple of years ago where this function cropped up: 
>>> >> 
>>> >> http://lists.gnu.org/archive/html/emacs-orgmode/2010-09/msg01712.html
>>> >> 
>>> >> but there seemed to be no real resolution and it occurred with version
>>> >> 7.01trans and a bleeding edge emacs 24.  I am using Org 7.8.11 with
>>> >> Emacs 23.2.1.
>>> >> 
>>> >> Any ideas?
>>> >> 
>>> >
>>> > Try adding
>>> >
>>> > (require 'tramp)
>>> >
>>> > in your .emacs somewhere (probably before you load org but it should
>>> > not be too sensitive). Does that solve it?
>>> 
>>> No, unfortunately not.  I get the same error.
>>
>> Maybe it has something to do with the declaration in ob.el then (line 43):
>>
>> (declare-function with-parsed-tramp-file-name "tramp" (filename var &rest 
>> body))
>>
>> with-parsed-tramp-file-name is a macro, not a function. Can you try 
>> commenting
>> out that line in ob.el and checking again? Not sure what mayhem will ensue, 
>> but
>> who knows?
>
> If I comment the line out and compile, I get the warning:
>
> ,--
> | In end of data:
> | ob.el:2487:1:Warning: the function `with-parsed-tramp-file-name' is not 
> known
> | to be defined.
> `--
>
> but the remote Perl code now runs fine.
>
> Thanks for the help.
>
> Loris

I have just updated to emacs 24.2.50.1 and org 7.9-32-g805a9f-elpa and
am having this problem again even with an ECM.  Commenting out the
declaration as suggested above no longer helps.

Any suggestions?

Loris

-- 
Loris Bennett






Re: [O] [OT] Org spotted in the wild

2012-09-18 Thread Toke Høiland-Jørgensen
Alan Schmitt  writes:

> I've been using mosh for a couple weeks now, and I'm really happy
> about it: connections survive changing ip addresses and the laptop
> going to sleep. I find it quite robust.

Does mosh work as a drop-in replacement for SSH in emacs (tramp) usage
as well?

-Toke

-- 
Toke Høiland-Jørgensen
t...@toke.dk




Re: [O] hidden-subtree-error

2012-09-18 Thread Bastien
Hi Philipp,

Philipp Kroos  writes:

> for the following file I get the errormessage
> `File mode specification error: (error "Hidden subtree, open with TAB or 
> use subtree command M-S-/")`.
>
> * Level 1
>   text
> ** Nested Level 2
>othertext
>
> Is this a user-error?

I don't know how to reproduce this error -- can you give a more detailed
recipe?

Thanks,

-- 
 Bastien



Re: [O] Compilation problem

2012-09-18 Thread Carsten Dominik

On 18.9.2012, at 15:22, Bastien wrote:

> Hi Jambunathan,
> 
> Jambunathan K  writes:
> 
>> Please ask for clarification and politely indicate that a change may
>> have to be reverted.  
> 
> Sorry that I reverted this one too hastily and without warning.
> 
>> Instead of the commit being wrong, is it possible that
>> changes were incomplete.  
> 
> I understand.
> 
> What would be helpful would be some comment in the commit telling 
> that the change is part of a bigger change that is not yet committed.
> 
> But I think we should try to avoid this: the whole point of using git 
> is to commit changes only if they are complete.

Hi Bastien,

I think this should be to *merge* (and push) only complete changes.  At least 
this is what I think - git allows you to commit often while making changes.

Actually, I think you agree, your next paragraph says as much.

- Carsten


>  A "change" can be a
> commit or a set of commits, but let's try to push changes only when
> they are complete.
> 
> I know this is not always easy, and I'm not lecturing here, I'm just
> sharing directions I try to follow myself.
> 
> Thanks,
> 
> -- 
> Bastien
> 




Re: [O] Extra space between list items in HTML export

2012-09-18 Thread Bastien
Hi Nick,

Nick Dokos  writes:

> The old exporter does that: it breaks the second up into three lists, each 
> with a single
> element. The first is a single list with three elements.

Which is wrong IMO.

> The new exporter produces a single list with three elements, although it 
> includes
> the section number for each entry - this might be a bug.

Which is right.

1 to 0 for the new exporter!

-- 
 Bastien



Re: [O] Extra space between list items in HTML export

2012-09-18 Thread Bastien
Hi Richard,

Richard Stanton  writes:

> #+OPTIONS: h:2, toc:nil
^

(Note that the comma is not needed here.)

-- 
 Bastien



Re: [O] Compilation problem

2012-09-18 Thread Bastien
Hi Jambunathan,

Jambunathan K  writes:

> Please ask for clarification and politely indicate that a change may
> have to be reverted.  

Sorry that I reverted this one too hastily and without warning.

> Instead of the commit being wrong, is it possible that
> changes were incomplete.  

I understand.

What would be helpful would be some comment in the commit telling 
that the change is part of a bigger change that is not yet committed.

But I think we should try to avoid this: the whole point of using git 
is to commit changes only if they are complete.  A "change" can be a
commit or a set of commits, but let's try to push changes only when
they are complete.

I know this is not always easy, and I'm not lecturing here, I'm just
sharing directions I try to follow myself.

Thanks,

-- 
 Bastien



Re: [O] [OT] Org spotted in the wild

2012-09-18 Thread Alan Schmitt
Toke Høiland-Jørgensen  writes:

> "Loris Bennett"  writes:
>
>> While looking for a solution to the problem of emacs hanging if the SSH
>> connection to remote files goes down
>
> Did you find one (a solution, that is)? This has been bothering me for a
> while as well...

I've been using mosh for a couple weeks now, and I'm really happy about
it: connections survive changing ip addresses and the laptop going to
sleep. I find it quite robust.

Alan



Re: [O] Bug: Org-clock-in [7.8.11]

2012-09-18 Thread Bastien
Hi Theodore,

Theodore Wiles  writes:

> I tried to issue the org-clock-in function, but it failed. It looks like
> I can solve the problem with:
>
> (defalias 'org-indent-line 'org-indent-line-function)
>
> I believe that I'm working with the latest version of org-mode from
> ELPA. The org-mode version 7.8.03 on my other computer calls
> org-indent-line-function, not org-indent-line.

I can't reproduce the problem with latest Org.

Can you upgrade from a newer GNU ELPA version and tell whether 
this works?

Thanks,

-- 
 Bastien



Re: [O] Bug: startup: hidestars does not use the real window background color [7.8.11]

2012-09-18 Thread Arne Babenhauserheide (IMK)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Bastien,

That’s great, thanks!

Best wishes,
Arne

Am 18.09.2012 12:25, schrieb Bastien:
> Hi Arne,
> 
> "Arne Babenhauserheide (IMK)" 
> writes:
> 
>> Dear org Hackers,
>> 
>> I use a custom color scheme in KDE with brown window background
>> color, and when I activate #+STARTUP: hidestars, the first stars
>> are white instead of brown.
>> 
>> My color scheme is Antiford ?
>> http://opendesktop.org/content/show.php/Antiford?content=142571
> 
> This is now fixed: the `org-hide' face is a bit more clever when
> trying the get the background color.
> 
> Thanks,
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQWHIBAAoJEFyD82SnDaCeb+0IAKOflOrD/pzUJarzVLTzwYPx
SBIy3oLtYgjQ1NTgBo2jWgi3goElps5JIMDGL1ZZmdm5RHi+bpPBReJJvUq4Hm04
5zstB0YCwC+LTRb+xfHX2kXdISugjuO+dDfCsdWE2G9Hcrt48bmtZRAWG62ge4iV
tWlsNZjy41j/FBPlYbXdMHrIeHYbrn/N5To2PniCR59he5JEOPdlpL4vqTg8ZrkW
kv7Pjwt4x7pofiJ2MfWQeQ3dCG+YhDe07B2HQU+F0whaCRvt0eLBWPEIfwFw44gH
p15O6FzlGnwlm1DrgcVzT+5r5Pi7E0iT974OBcs2rgg3ofwBYQ3s8KK6STrwywM=
=lX36
-END PGP SIGNATURE-



Re: [O] Org-mode release 7.9

2012-09-18 Thread Eric Schulte
Achim Gratz  writes:

> Eric Schulte writes:
>> Agreed, this would simply mean generating an archive-contents file on
>> the Org-mode site which lists the latest org and orgplus archive.  I'm
>> not sure which elisp function is used to generate this file, but it
>> could be done directly from the server.mk file with something like...
>>
>> # -*- Makefile -*-
>> archive-contents:
>> echo "(1 (org . [($(PKG_TAG)) nil \"$(PKG_DOC)\"])"  > $<; \
>> echo "   (orgplus . [($(PKG_TAG)) nil \"$(PKG_DOC)\"]))" > $<;
>
> No, you'd need ">>" on the second line.
>

Yup, good catch.

>
> BTW, I'm going to revert your change for removing PGK_REQ since you've
> done it in the wrong branch.  I'd like to keep the PKG_REQ variable for
> possible future use, can you please test if the package archives that
> choke on nil can correctly deal with "()" or "(())"?  Otherwise I'd
> leave the variable undefined, which results in the same thing as your
> patch.
>

Please do go ahead and revert that commit.  If we're hosting our own
packages on orgmode.org, then I don't think we need to worry about
conforming to the vagaries of other ELPA package parsers (in this case
marmalade).  I do think that leaving PKG_REQ undefined when there are no
dependencies is the best of the options listed above.

Thanks,

>
>
> Regards,
> Achim.

-- 
Eric Schulte
http://cs.unm.edu/~eschulte



Re: [O] external process modifying buffers

2012-09-18 Thread Moritz Ulrich

Ken Mankoff writes:

> Thanks! That makes it much cleaner. My setup is now reduced to this:
>
> (setq global-auto-revert-mode t)
> (run-at-time "2 minutes" 600 '(lambda () (shell-command "ical2org>iCal.org")))
>
> With full paths to the ical2org binary and the iCal.org file.
>
> Thanks,
>
>-k.
>

Please note that `global-auto-revert-mode' reverts ALL Emacs buffers
when the underlaying file changes. This isn't just active for the
iCal.org buffer, but for all open buffers.

If you like this behavior, ok, but if you prefer it for the iCal.org
buffer only, enable auto-revert-mode (without global-) via a file-local
variable in it:

http://www.gnu.org/software/emacs/manual/html_node/emacs/File-Variables.html

>
> On Sun, Sep 16, 2012 at 2:08 PM, Charles Philip Chan  wrote:
>> Ken Mankoff  writes:
>>
>> Hi Ken:
>>
>>> Right now I'm running ical2org via cron and re-generating iCal.org
>>> (redirecting stdout with ">"). When I try to regenerate the agenda,
>>> emacs complains:
>>>
>>> iCal.org changed on disk; really edit the buffer? (y, n, r or C-h)
>>
>> Set "global-auto-revert-mode" to "t".
>>
>> Cheers,
>> Charles
>>
>> --
>> linux: the choice of a GNU generation
>> (k...@cis.ufl.edu put this on Tshirts in '93)

Cheers,
Moritz


-- 
Moritz Ulrich


pgpuuMJ7XyJgz.pgp
Description: PGP signature


Re: [O] ELPA org-mode daily build(s)?

2012-09-18 Thread Jason Dunsmore
On Tue, Sep 18 2012, Bastien wrote:

> Hi George,
>
> George McNinch  writes:
>
>> The FAQ here:
>>
>> http://orgmode.org/worg/org-faq.html
>>
>> still asserts that
>>
>> ,
>> [ Daily builds of Org-mode are distributed as an ELPA package 
>> `
>>
>> But as far as I can tell, those builds have not been appearing ... daily
>> (for a few weeks now):
>>
>> http://orgmode.org/pkg/daily/
>>
>> Probably not too big a deal, but it seems a bit confusing.
>
> There is a daily cron job for this on the server.
>
> I just tested the script launched each day and the ELPA package has been
> correctly produced.  I'm not sure what's the problem here, copying Jason
> in case he has an idea.

Here's the error log:
http://orgmode.org/build-org-pkg.txt

It was failing on the "make elpa" step.  I couldn't reproduce the errors
when I ran the script manually.  The package was successfully updated:
http://orgmode.org/pkg/daily/

The error that caused it to fail was:

/bin/sh: emacs: command not found

I linked /usr/bin/emacs to /usr/local/bin/emacs.  Hopefully that will
fix it.

Regards,
Jason



Re: [O] state of the art for html5 presentations?

2012-09-18 Thread Fabrice Popineau
[[http://imakewebthings.com/deck.js/][Deck.js HTML Slides ]]
[[http://webf1.soc.port.ac.uk/2011/style/lecture/#s%3D1][[WebF1: Web
Foundations 1]]
[[http://fooo.fr/~vjeux/github/dassault_presentation/#slide-0][JavascriptRocks]]
[[http://bartaz.github.com/impress.js/#/bored/][Creating stunning
visualizations with impress.js]]
[[http://dontkry.com/jmpress.js/#/home][jmpress.js]]

There is this :
https://github.com/kinjo/org-impress-js.el
that could be useful to impress/jmpress .

Best regards,

Fabrice



2012/9/18 Bastien 

> Hi Matt,
>
> Matt Price  writes:
>
> > I keep returning to this every few months, hoping things have gotten a
> > little easier -- what tools are people using right now to make html5
> > presentations out of their org files?
>
> The thing is that there are many HTML5 presentation systems.
>
> I think the most widely used is org-s5 by Eric:
>   https://github.com/eschulte/org-S5
>
> but I guess you know this one already.
>
> --
>  Bastien
>
>


-- 
Fabrice Popineau
-
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
--


Re: [O] [OT] Xiki - could something like that be done with emacs+orgmode?

2012-09-18 Thread Eden Cardim
> "Marcelo" == Marcelo de Moraes Serpa  writes:

Marcelo> Hi list, I've found a pretty interesting piece of
Marcelo> software today. It's called Xiki, check out the video:

Marcelo> http://www.youtube.com/watch?v=bUR_eUVcABg&feature=youtu.be

Marcelo> I'm wondering it something like that could be done with
Marcelo> emacs (and possibly integrating orgmode to add the
Marcelo> outlining features)?

It's already done in emacs, see https://github.com/trogdoro/xiki




Re: [O] state of the art for html5 presentations?

2012-09-18 Thread Bastien
Hi Matt,

Matt Price  writes:

> I keep returning to this every few months, hoping things have gotten a
> little easier -- what tools are people using right now to make html5
> presentations out of their org files?

The thing is that there are many HTML5 presentation systems.

I think the most widely used is org-s5 by Eric:
  https://github.com/eschulte/org-S5

but I guess you know this one already.

-- 
 Bastien



Re: [O] documentation bug

2012-09-18 Thread Bastien
Hi Tyler,

Tyler Smith  writes:

> I'm using org-mode 7.8.03, which shipped with Emacs 24.0.94.1. The
> documentation for exporting html includes the following:
>
> 12.5.1 HTML export commands
> ---
>
> `C-c C-e h (`org-export-as-html')'
>  Export as HTML file.  [...] If there is an active region(1), only
> the region will be
>  exported.
>
> However, I think this is incorrect. 

You're right there was a problem here, fixed now.

On top of this, pressing 1 after C-c C-e will now highlight 
the subtree to be exported.

Thanks,

-- 
 Bastien



Re: [O] Status of org-sync?

2012-09-18 Thread Bastien
Hi Aurélien,

Aurélien Aptel  writes:

> But don't worry, I will
> continue working on org-sync in my freetime :) 

Thanks!

> My current priority is
> to improve the redmine backend which is very basic.

Which makes me think that you could perhaps ping the redmine community
(and others) to advertize your work to them.

-- 
 Bastien



Re: [O] [OT] Does anyone use Tinderbox?

2012-09-18 Thread Bastien
Hi Eric,

Eric Abrahamsen  writes:

> * [ag] Next Tasks
>   :PROPERTIES:
>   :AGENDA_QUERY: -WAITING-CANCELLED/!NEXT
>   :END:
>
> The [ag] cookie tells Org that this is an agenda headline. You hit "C-c
> C-g" (or something) within this headline, and Org runs the query and
> inserts the results as children of the headline. It's just a plain old
> Org headline, and can be saved or exported as part of the file. The only
> difference is that you can continue to update it (either manually or
> with a hook), and that certain Org agenda keybindings are in effect
> while point is in the headline (actually this part would probably be the
> most difficult).

IMHO this would mix the functionalities you have in an .org file and
those you have in an agenda too much.

Another problem is that you will end up with duplicated headlines.

But if I get the gist of the idea correctly, it sounds like something
I've been thinking about: a way to collect headlines from an agenda
view, then capture or refile them under a new headline.  Not exactly
what you are thinking about, but based on the core idea of collecting
more easily.

-- 
 Bastien



Re: [O] [OT] Xiki - could something like that be done with emacs+orgmode?

2012-09-18 Thread Bastien
Hi Marcelo,

Marcelo de Moraes Serpa  writes:

> http://www.youtube.com/watch?v=bUR_eUVcABg&feature=youtu.be
>
> I'm wondering it something like that could be done with emacs (and
> possibly integrating orgmode to add the outlining features)?

* [[shell:ls -l]]

* shell:pwd

... etc etc.

I think pretty all the features described here are already available
with some elisp.  

The basic idea is that the command prompt and the results are of the
same kind: text you can edit, and that can produce an output... that you
can further reuse as a command.  Which is the core idea of Org.

If there is any specific feature displayed in the video that seems
useful for Org, let us know.

My 2 cents,

-- 
 Bastien



Re: [O] New exporter: no custom timestamps

2012-09-18 Thread Bastien
Hi Jambunathan,

Jambunathan K  writes:

> I am not sure whether (all) the exporters should be changed or just the
> API needs to be fixed.

I suggest to fix this in org-e-html.el with the attached patch.

There is another option: to set :raw-value for time-stamps, but
this feels a bit clumsy, especially when there is a :range-end.

  (org-element-property :raw-value TIMESTAMP) 

Let me know what you think.

diff --git a/contrib/lisp/org-e-html.el b/contrib/lisp/org-e-html.el
index f3daa17..c3d1bf2 100644
--- a/contrib/lisp/org-e-html.el
+++ b/contrib/lisp/org-e-html.el
@@ -2857,11 +2857,12 @@ information."
   "Transcode a TIMESTAMP object from Org to HTML.
 CONTENTS is nil.  INFO is a plist holding contextual
 information."
-  (let ((value (org-translate-time (org-element-property :value timestamp)))
-	(range-end (org-element-property :range-end timestamp)))
+  (let* ((f (if (eq (org-element-property :type timestamp) 'inactive) "[%s]" "<%s>"))
+	 (value (org-translate-time (format f (org-element-property :value timestamp
+	 (range-end (org-element-property :range-end timestamp)))
 (format "%s"
 	(if (not range-end) value
-	  (concat value "–" (org-translate-time range-end))
+	  (concat value "–" (org-translate-time (format f range-end)))
 
 
  Underline

-- 
 Bastien


Re: [O] Buffer is read-only: #

2012-09-18 Thread Bastien
Hi Aaron,

Aaron Ecay  writes:

> Only some types of agenda buffers are set to be read-only –
> e.g. ‘org-todo-list’ sets read-only at l. 4418 of org-agenda.el.  

All agenda views should be read-only, this is deep in the veins of 
what is an agenda.

If you find an agenda view that is not read only, please report it.

> I think ‘org-agenda-finalize-hook’ should be run with
> inhibit-read-only bound to t, to let the hook modify the agenda buffer
> in any case.

This is now the case.  I updated the docstrings to reflect this.

Thanks to you and Moritz for the discussion.

-- 
 Bastien



Re: [O] Strange Problem with "org-agenda-redo"

2012-09-18 Thread Bastien
Hi François,

François Allisson  writes:

> After several tests with multiple agendas in a block agenda view, I just
> found one strange case (or perhaps it is a feature?):
>
> When one tries `.' (org-agenda-today) on an agenda that is either in the
> past or in the future, *and* if another agenda already shows today's
> day, then the cursor just jump to that other agenda, and does not go to
> today on the current agenda.

I cannot reproduce this anymore.  Let me know if you can,

-- 
 Bastien



Re: [O] repeater not working?

2012-09-18 Thread Bastien
Hi Achim,

Achim Gratz  writes:

> Alan, if you want to truly install something from contrib/ together
> with the core part of Org, please add a line to local.mk
>
> ORG_ADD_CONTRIB = …

As you know, I'm in favor of having a target to install the
contrib/lisp/ files.

Something like `make install-contrib' sounds good to me.

What do other people think about this?

-- 
 Bastien



Re: [O] [OT] Org spotted in the wild

2012-09-18 Thread Bastien
Hi Loris,

"Loris Bennett"  writes:

> http://mosh.mit.edu/

I must admit that I designed the new website based on the one above.

The result is not as neat, but close enough.

-- 
 Bastien



Re: [O] Modify clock in/out time to previous/following full quarter of an hour.

2012-09-18 Thread Bastien
Hi Rainer,

Rainer Stengele  writes:

> How could I achieve this? Which hook should I use? How? (I never
> programmed something like this).

(defun my-org-adjust-clock-timestamps ()
  (interactive)
  (let ((org-time-stamp-rounding-minutes '(0 15)))
(save-excursion
  (beginning-of-line)
  (re-search-forward org-ts-regexp3 nil t)
  (backward-char 2)
  (org-shiftdown)
  (re-search-forward org-ts-regexp3 nil t)
  (backward-char 2)
  (org-shiftup

HTH,

-- 
 Bastien



Re: [O] ELPA org-mode daily build(s)?

2012-09-18 Thread Bastien
Hi George,

George McNinch  writes:

> The FAQ here:
>
> http://orgmode.org/worg/org-faq.html
>
> still asserts that
>
> ,
> [ Daily builds of Org-mode are distributed as an ELPA package 
> `
>
> But as far as I can tell, those builds have not been appearing ... daily
> (for a few weeks now):
>
> http://orgmode.org/pkg/daily/
>
> Probably not too big a deal, but it seems a bit confusing.

There is a daily cron job for this on the server.

I just tested the script launched each day and the ELPA package has been
correctly produced.  I'm not sure what's the problem here, copying Jason
in case he has an idea.

Thanks,

-- 
 Bastien



Re: [O] Digest configuration

2012-09-18 Thread Bastien
Hi James,

James Harkins  writes:

> There must be a smarter way to group messages into digests so that no
> single digest is too big, while messages don't get lost.

I assume this is about mailman digests.

If so, please report this to the mailman developers.

We don't have any way to fix this from here.

Thanks,

-- 
 Bastien



Re: [O] Extra space between list items in HTML export

2012-09-18 Thread Bastien
Hi Nick,

Nick Dokos  writes:

> I just wanted to emphasize
> the importance of consistency (probably preaching to the choir).

FWIW, I strongly agree consistency is important and this is why 
the release of Org 8.0 will require a lot of testing.

-- 
 Bastien



Re: [O] Modify clock in/out time to previous/following full quarter of an hour. => proposal

2012-09-18 Thread Bastien
Hi Rainer,

Rainer Stengele  writes:

> I'd like to know if other Org users are also adjusting clock entries to
> full quarters (halfs) of hours all the time.
>
> What do you think?

I think bosses are mostly interested by clocktables, not by all the
CLOCK lines in a headline.

As long as the clock table is a table, it should be possible to have
a formula doing the rounding -- I'll leave it as an exercise :)

-- 
 Bastien



Re: [O] Creating Gantt charts by Exporting to TaskJuggler 3.3.0

2012-09-18 Thread Bastien
Hi Yann,

Yann Hodique  writes:

> At the moment I'm kinda contemplating doing a major rewrite of the TJ
> exporter to use the org-export framework, which would make it easier to
> introduce things like task references through org links, and so on. 

That'd be great!

> If I can fix a thing or two in the process, I'd be happy to. So, if
> you have specific limitations in mind, feel free to elaborate.

You'll surely fix more than one or two things in the process :)

-- 
 Bastien



Re: [O] freemind.el does not convert org links to links in Freemind

2012-09-18 Thread Bastien
Hi Bill,

Bill Day  writes:

> I am using org-mode 7.9.1 and Freemind 0.9.0.  Freemind.el seems to
> convert nodes from org to Freemind with no problem, but it simply
> copies the code for links from org to Freemind without converting
> it. 

I'm not sure i understand -- are you talking about org-freemind.el?

http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=lisp/org-freemind.el;hb=HEAD

> Has anyone else had this problem?

AFAIU I don't.

This link in .org:

  A [[http://orgmode.org][link]].

gets exported as

  A http://orgmode.org";>link.

in .mm

HTH,

-- 
 Bastien



Re: [O] emacs24 datetree always entering events under today

2012-09-18 Thread Bastien
Hi Paul,

Paul Whipp  writes:

> Starting with a blank events.org file, the current year month and
> today are generated as the tutorial describes but all entries appear
> under it, whatever year or month or day I actually set for them
>  using C-c, C-s to schedule a date (or by just associating a date
> with them).

That's how it works.

(org-capture nil "E") will always find today's date in the datetree.

If you want to capture using a different default date, go to an agenda
view, move to another date from the agenda view, then capture using the
`k' keybinding from there.

For example, if this is your agenda:

  Week-agenda (W38):
  Monday 17 September 2012 W38
  Tuesday18 September 2012
  Wednesday  19 September 2012
  Thursday   20 September 2012
  Friday 21 September 2012
  Saturday   22 September 2012
  Sunday 23 September 2012
  
and point is on Monday's line (yesterday), then `k e' will capture to
Monday's datetree.

HTH,

-- 
 Bastien



Re: [O] auto-fill non-op, fill-paragraph error

2012-09-18 Thread Bastien
Hi Edward,

Edward DeMeulle  writes:

> org-element-map: Symbol's function definition is void:
> org-element--parse-objects

Please let us know what version of Org you are using.

Errors in this area have been showing up in some versions,
but AFAIK they have been fixed.

-- 
 Bastien



Re: [O] Bug: startup: hidestars does not use the real window background color [7.8.11]

2012-09-18 Thread Bastien
Hi Arne,

"Arne Babenhauserheide (IMK)"  writes:

> Dear org Hackers,
>
> I use a custom color scheme in KDE with brown window background color,
> and when I activate #+STARTUP: hidestars, the first stars are white
> instead of brown.
>
> My color scheme is Antiford
> ? http://opendesktop.org/content/show.php/Antiford?content=142571

This is now fixed: the `org-hide' face is a bit more clever when trying
the get the background color.

Thanks,

-- 
 Bastien



Re: [O] FR: ASCII remove extra lines

2012-09-18 Thread Bastien
Hi Samuel,

Samuel Wales  writes:

> Here is a paragraph.
>
> # this is a paragraph, which i decided to comment out, but
> # is separate from the previous and next paragraphs.
>
> Currently, ASCII export will create extra blank lines.  This
> is undesirable.
>
> Perhaps we can optionally normalize the blank lines?

I'd suggest to simply use this:

,
| # this is a paragraph, which i decided to comment out, but
| # is separate from the previous and next paragraphs.
| Currently, ASCII export will create extra blank lines.  This
| is undesirable.
`

HTH,

-- 
 Bastien



Re: [O] Modify clock in/out time to previous/following full quarter of an hour. => proposal

2012-09-18 Thread Rainer Stengele
Am 13.09.2012 12:06, schrieb Rainer Stengele:
> Hi!
> 
> My whole clocking is based on whole quarters of an hour.
> When clocking in and out I always adjust the clocks to the previous or
> the following quarter. I do not like to fiddle within minute-wise details.
> Clocking in mostly is moved to the previous, clock out time to the
> following full quarter.
> I also do clock tasks mostly after the task is started for already a few
> minutes.
> I'd like to automatically push the clock-in time to the previous, the
> clock out time to the following full quarter. This will save me many
> times from manually adjusting two clock entries.
> 
> How could I achieve this? Which hook should I use? How? (I never
> programmed something like this).
> 
> Thanks for hints,
> 
> Rainer
> 
> 
> 
Hi again,

I would propose a configuration possibility where all clockings in Org
are rounded up or down to full quarters of an hour.

Motivation: Mostly customers and bosses are not willing to look at
clocktables showing minutely detailled entries like

 CLOCK: [2012-09-18 Di 08:13]--[2012-09-18 Di 08:27] =>  0:14
 CLOCK: [2012-09-18 Di 08:33]--[2012-09-18 Di 09:49] =>  1:16
..

I would suggest Org to be able to create clockings with the starting und
ending timestamp being rounded to the next or previous (configurable)
full quarter (half?) of an hour.

I'd like to know if other Org users are also adjusting clock entries to
full quarters (halfs) of hours all the time.

What do you think?

Regards,
rainer



Re: [O] =<<<...>>>= invalid

2012-09-18 Thread Jorge Timón
I still get \texttt{<<<} \ldots{} \texttt{>>>}

I have Org-mode version 6.33x at work. I'll check later at home, where
I have both emacs23 and emacs24 (snapshot).

On 9/17/12, Nick Dokos  wrote:
>   Jorge Timón  wrote:
>
>> I wouldn't care about the spaces and I would prefer not to use latex.
>> The problem is that that produces:
>>
>> \texttt{<<<} \ldots{} \texttt{>>>}
>>
>
> Did you try it with the tildes instead of the equal signs?
> Here, both old and new exporters produce
>
> aaa \verb~<<<~ \ldots{} \verb~>>>~ aa a a
>
> at least with the version I'm running (Org-mode version 7.9.1
> (release_7.9.1-214-gf025d1))
>
> Nick
>
>> and then latex joins the first << and the first >> together, which is
>> really ugly.
>>
>> My document is already LaTeX specific, but if I'm able replace more
>> latex with org mode, I should consider a later edition of the tex
>> produced to keep it backend-independent. Not critical for this
>> document, but it is always cool to be able to export to different
>> formats.
>>
>> Thank you for the suggestion, anyway.
>>
>> On 9/17/12, Nick Dokos  wrote:
>> >Jorge Timón  wrote:
>> >
>> >> The only way I know to do what I want is \verb=<<<=...\verb=>>>=, in
>> >> case someone has a similar problem.
>> >>
>> >
>> > If you don't mind the extra space around the dots, you can say
>> >
>> >aaa ~<<<~ ... ~>>>~ aa a a
>> >
>> > the advantage being that it is backend-independent, so it will export
>> > correctly to HTML and presumably all the other backends --- at least
>> > with the new exporter: I didn't try the old one.
>> >
>> > There are ways to deal with the spaces as well (the one before the dots
>> > is no problem: it's the one after that causes a problem in this case),
>> > but imo they are not worth the bother unless you really, really need
>> > that
>> > exact behavior. I'd rather live with the spaces (or edit the resulting
>> > latex
>> > file, but that has disadvantages of its own).
>> >
>> > Nick
>> >
>> >
>> >
>> >
>>
>>
>> --
>> Jorge Timón
>>
>


-- 
Jorge Timón