Re: [O] Time remaining report, anyone done it?

2013-10-08 Thread Samuel Loury
Hi,
Myles English mylesengl...@gmail.com writes:

 Before I get too stuck in I thought I would ask: Has anyone already done
 this or thought about a good way to do it (I really hope so)?
I did not but I am hoping you will manage to do it. I have already taken
a quick look into org code to understand how to do it without
success.

For what I can understand by tracing the CLOCKSUM property usage (grep
'CLOCKSUM' being a starting point), it seems to be doable by modifying
the org-columns and org-agenda-colview-compute defuns to set a text
property like org-clock-sum does with :org-clock-minutes. Then, the
defun org-dblock-write:clocktable should be edited to use that property.

Hope that helps.
--
Konubinix
GPG Key: 7439106A
Fingerprint: 5993 BE7A DA65 E2D9 06CE  5C36 75D2 3CED 7439 106A


signature.asc
Description: PGP signature


Re: [O] [PATCH] org-table-transpose-table-at-point: Preserve indentation and point

2013-10-08 Thread Michael Brand
Hi all

I would like to remind to review and apply the previously attached patch.

On Mon, Sep 30, 2013 at 8:35 PM, Michael Brand
michael.ch.br...@gmail.com wrote:
 On Mon, Sep 30, 2013 at 8:30 PM, Michael Brand
 michael.ch.br...@gmail.com wrote:
 http://orgmode.org/worg/org-hacks.html#field-same-row-or-column

 For the use case of org-table-transpose-table-at-point there, I made a
 patch for org-table-transpose-table-at-point to preserve indentation
 and point after transposition.

Michael



Re: [O] Time remaining report, anyone done it?

2013-10-08 Thread Myles English


Samuel/Konubinix,

konubi...@gmail.com writes:

 For what I can understand by tracing the CLOCKSUM property usage (grep
 'CLOCKSUM' being a starting point), it seems to be doable by modifying
 the org-columns and org-agenda-colview-compute defuns to set a text
 property like org-clock-sum does with :org-clock-minutes. Then, the
 defun org-dblock-write:clocktable should be edited to use that property.

 Hope that helps.

Thanks, it does help to have a fresh starting points.

I completely forgot that I already wrote about my progress in this
venture, a year ago:

http://lists.gnu.org/archive/html/emacs-orgmode/2012-10/msg00245.html

May be this time I will nail it.  Problem is I get it mostly working,
use it a few times, then don't use it for a while and org moves on.

Myles



Re: [O] Time remaining report, anyone done it?

2013-10-08 Thread Thomas

 Thanks, it does help to have a fresh starting points.
 
 I completely forgot that I already wrote about my progress in this
 venture, a year ago:
 
 http://lists.gnu.org/archive/html/emacs-orgmode/2012-10/msg00245.html
 

see here:
http://thread.gmane.org/gmane.emacs.orgmode/61459/focus=61555







Re: [O] capture, attach, link files from web

2013-10-08 Thread Myles English

e...@...net writes:

 I've often thought it would be nice to link to images in an org file
 with http: links, then at some arbitrary point in time call a
 hypothetical org-localize-external-resources command. That command would
 wget all the external resources, put them somewhere local, and switch
 the links to the file: type. Just a thought.

How about a derived export backend with a filter that does a wget and
rewrites the links?

One problem could be what if a wget fails?  As I am finding with my
implementation, some websites only allow browserlike access.

Myles



[O] Full org-mode on unrooted Android

2013-10-08 Thread Scot Becker
Just a quick note to say that it's possible to get a full Emacs+org-mode on
(unrooted) Android using an app called 'zshaolin'.  You can either download
the app from the Google Play store for approx $3 or download the toolchain
and source from their website and compile it yourself (which I haven't
tried).

https://play.google.com/store/apps/details?id=org.dyne.zshaolinhl=en

http://www.dyne.org/software/zshaolin/
(for source, follow links to their FTP site, about 2/3 down the page)

Emacs is version 24.1.50.

The following needs to be added to the .zshrc for org-mode to work:

export TMPDIR=${HOME}/tmp


They only claim 'barebone' Emacs, and I haven't tested extensively to see
what that means, but so far it works for me.

I have no affiliation with the people at dyne.org, just happy to have
working portable, org-mode. I use a Bluetooth keyboard with a 7 tablet on
Android 4.3.

It looks like compiling in this case may not be for the faint of heart, but
if someone tries it, perhaps they can post any notes to the list here.

Cheers,
Scot


Re: [O] capture, attach, link files from web

2013-10-08 Thread Myles English

Hi Oleh,

ohwoeowho writes:

 I counter your tip with my own on capturing pdfs.
 Maybe you'll find some of this stuff useful for your case.

My use case is slightly different: I am looking for pictures and want to
insert a picture right here to show up in the exported document, and I
have a different solution to the use case you describe, but thanks, it
is useful to see how to attach files via capture templates.

I get almost the same result as you but get there in a different way;
using zotero as the capture mechanism, exporting from zotero to a bibtex
file[1], hacking reftex[2] to supply a file path and then end up with a
nice TODO with a clickable link in the properties to open the pdf.

* \cite{gawin_simulation_2009} - Simulation of Cavitation in Water Saturated 
Porous Media Considering Effects of Dissolved Air
:PROPERTIES:
:Created: 2013-03-05 Tue 14:13
:Custom_ID: gawin_simulation_2009
:file: 
[[library:/home/myles/.mozilla/firefox/5p1jxjph.default/zotero/storage/4RTT5M3F/Gawin%20and%20Sanavia%20-%20Simulation%20of%20Cavitation%20in%20Water%20Saturated%20Porous.pdf][file]]
:bib: [[bib:gawin_simulation_2009][bib]]
:END:

The only pain is that I have to patch reftex-cite.el every time it is
overwritten as I can't get my patch accepted due to a dead project.

Myles


Footnotes: 
[1]  http://lists.gnu.org/archive/html/emacs-orgmode/2012-06/msg00503.html

[2]  http://lists.gnu.org/archive/html/auctex-devel/2012-06/msg2.html



[O] [FYI] New emacs-w3m feature: edit html-textareas in Org-mode

2013-10-08 Thread Thorsten Jolitz

Hi List,

if you get the newest CVS version of emacs-w3m

#+begin_src sh
  % cvs -d :pserver:anonym...@cvs.namazu.org:/storage/cvsroot login
  CVS password: # No password is set.  Just hit Enter/Return key.
  % cvs -d :pserver:anonym...@cvs.namazu.org:/storage/cvsroot co emacs-w3m
#+end_src

you can now toggle the major-mode of textarea edit-buffers between text-mode
and org-mode with 'M-x w3m-form-textarea-toggle-major-mode'.

When you activate the use of Org-mode, a full-size Org-mode edit-buffer
in the same (sensibly-splitted) Emacs window (with the text of the
clicked html textarea) will be offered in 'show-all' state for editing
- instead of a minimal edit-buffer in text-mode.

In that buffer, minor-mode `w3m-form-input-textarea-mode' will be activated
(with a special minor-mode keymap that avoids clashes with Org-mode's
keybindings) offering the following commands:

,---
| W3m-Form-Input-Textarea minor mode (no indicator):
|
| Minor mode to edit form textareas of w3m.
|
| C-c C-c Set the value and exit from this textarea.
| C-c C-k Exit from this textarea without setting the value.
| C-x C-s Save editing data in this textarea.
`---

The default keybindings above (text-mode) are replaced with

 ,
 | M-# c Set the value and exit from this textarea.
 | M-# k (or M-# q) Exit from this textarea without setting the value.
 | M-# s Save editing data in this textarea.
 `

when the textarea edit-buffer is in org-mode.

Other attempts to make emacs-w3m and Org-mode work together are cited in the
[[http://www.emacswiki.org/emacs/emacs-w3m][Emacs Wiki]].

PS
Here is the ChangeLog entry for the new emacs-w3m feature described above:

,-
| 2013-10-07  Thorsten Jolitz  tjol...@gmail.com
|   * w3m-form.el (w3m-form-input-textarea-mode-setup): New option for
|   setting up the textarea input buffer in org-mode instead of text-mode.
| 
|   (w3m-form-input-textarea-org-mode-map) New minor-mode-map.
|   (w3m-form-textarea-use-org-mode-p) New variable.
|   (w3m-form-textarea-toggle-major-mode) New function.
|   (w3m-form-input-textarea-mode-setup) Setup textarea edit buffer with
|   major-mode 'org-mode if `w3m-form-textarea-use-org-mode-p' is non-nil.
|   (w3m-form-input-textarea) Split window sensibly if
|   `w3m-form-textarea-use-org-mode-p' is non-nil.
|   (w3m-form-input-textarea-mode) Override default minor-mode map with
|   new minor-mode-map in case major-mode is 'org-mode.
`-

--
cheers,
Thorsten




Re: [O] capture, attach, link files from web

2013-10-08 Thread Eric Abrahamsen
Myles English mylesengl...@gmail.com writes:

 e...@...net writes:

 I've often thought it would be nice to link to images in an org file
 with http: links, then at some arbitrary point in time call a
 hypothetical org-localize-external-resources command. That command would
 wget all the external resources, put them somewhere local, and switch
 the links to the file: type. Just a thought.

 How about a derived export backend with a filter that does a wget and
 rewrites the links?

 One problem could be what if a wget fails?  As I am finding with my
 implementation, some websites only allow browserlike access.

That's kind of why I think it would be better as a standalone
interactive function, rather than an export preprocessing thingummy.
You'd run it first, with timeouts and error messages, etc, and then
export when you're done.




Re: [O] capture, attach, link files from web

2013-10-08 Thread Oleh
Hi Myles,

Just a note, I think that there's an advantage to keep the attachments
in sync with org files. This way they're never lost and are available
wherever the org file is available.
My system is a Firefox plugin that copies to clipboard the file name

[D Gawin, L Sanavia] Simulation of cavitation in water saturated porous
media considering effects of dissolved air(2010).pdf

when I right click in google scholar. Then I can save the file with this
name where I like.

When it's necessary, I can capture it from a dired buffer in Emacs.

Then the todo item will be:

* TODO Read Simulation of cavitation in water saturated porous media
considering effects of dissolved air by D Gawin, L Sanavia

Since this file is an org attachment, it's synchronized along with
my whole org folder to my laptop.

regards,
Oleh




On Tue, Oct 8, 2013 at 12:43 PM, Myles English mylesengl...@gmail.comwrote:


 Hi Oleh,

 ohwoeowho writes:

  I counter your tip with my own on capturing pdfs.
  Maybe you'll find some of this stuff useful for your case.

 My use case is slightly different: I am looking for pictures and want to
 insert a picture right here to show up in the exported document, and I
 have a different solution to the use case you describe, but thanks, it
 is useful to see how to attach files via capture templates.

 I get almost the same result as you but get there in a different way;
 using zotero as the capture mechanism, exporting from zotero to a bibtex
 file[1], hacking reftex[2] to supply a file path and then end up with a
 nice TODO with a clickable link in the properties to open the pdf.

 * \cite{gawin_simulation_2009} - Simulation of Cavitation in Water
 Saturated Porous Media Considering Effects of Dissolved Air
 :PROPERTIES:
 :Created: 2013-03-05 Tue 14:13
 :Custom_ID: gawin_simulation_2009
 :file:
 [[library:/home/myles/.mozilla/firefox/5p1jxjph.default/zotero/storage/4RTT5M3F/Gawin%20and%20Sanavia%20-%20Simulation%20of%20Cavitation%20in%20Water%20Saturated%20Porous.pdf][file]]
 :bib: [[bib:gawin_simulation_2009][bib]]
 :END:

 The only pain is that I have to patch reftex-cite.el every time it is
 overwritten as I can't get my patch accepted due to a dead project.

 Myles


 Footnotes:
 [1]  http://lists.gnu.org/archive/html/emacs-orgmode/2012-06/msg00503.html

 [2]  http://lists.gnu.org/archive/html/auctex-devel/2012-06/msg2.html



[O] Revealing when following file:NAME::LINENO

2013-10-08 Thread François Pinard
Hi, Org people.

Whenever one follows an Org link of the form file:NAME::LINENO, let me
suggest that the found line be org-revealed automatically.  In my
opinion, this would be convenient for most people using such forms.

François



[O] Beamer export with \only overlays - how?

2013-10-08 Thread James Harkins

Question: How does one use Beamer's \only command with blocks? (Successfully, 
with org-mode's beamer export, I mean.)

I found in the manual that you can give an overlay specification using the BEAMER_ACT property... ok... but that's 
not the same as \only because, when a latex chunk is marked \only1, it takes *no space* on 2-. 
Using 1 and 2 causes the 2 to appear lower than the 1. That's not what I want.

Hacking it with #+latex: lines is even worse, as explained in the example below.

I suppose there must be a way to do it, albeit undocumented. Or maybe it's 
simply not supported, in which case I would have to write the LaTeX directly. 
Annoying, but I'll do that if there's no alternative.

hjh


#+LANGUAGE:  en
#+OPTIONS:   H:2 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t ':t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport

#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_THEME: default
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) 
%8BEAMER_opt(Opt)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC

* Section
** Frame (beamer_act, not quite right)
*** The problem on this frame
   I want Block 1 and Block 2 to occupy the same space on successive slides.
*** Block 1 :B_block:
   :PROPERTIES:
   :BEAMER_env: block
   :BEAMER_ACT: 1
   :END:
*** Block 2 :B_block:
   :PROPERTIES:
   :BEAMER_env: block
   :BEAMER_ACT: 2
   :END:

** Frame (using #+latex and \only)
*** This is a complete bloody hash.
   There is no way to make \verb|\only2| come after \verb|\end{block}|.

#+latex: \only1 {
*** Block 1

#+latex: } \only2 {
*** Block 2

#+latex: }




Re: [O] Problem with beamer export

2013-10-08 Thread Achim Gratz
Marvin Doyley writes:
 I still get some strange errors during completion.

What are they?

 Here is the result of the make config-all

 = Emacs executable and Installation paths
 EMACS = emacs

Any chance that this emacs (which relies on $PATH to be found) is
actually a script that then calls the real Emacs?


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

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables




Re: [O] Difficulties Accessing git Repository

2013-10-08 Thread Josiah Schwab
Hi All,

 I just tried to pull from the main org-mode git repository.  I
 encountered the following failure.
 
 ,
 | monolith:(stable) org-mode$ git pull 
 | fatal: read error: Connection reset by peer
 `

 I can confirm this issue.  I successfully pulled earlier today though.

This seems to be intermittent.  It worked (~8 hours) later on October 2.
I tried to update a few minutes ago and again had a failure.

Is there any other information that would be useful to report?  I tried
to pull while at my home (residential ISP) and then my work
(university), and had failures both times.

Josiah



Re: [O] Beamer export with \only overlays - how?

2013-10-08 Thread Suvayu Ali
On Tue, Oct 08, 2013 at 11:41:36PM +0800, James Harkins wrote:
 Question: How does one use Beamer's \only command with blocks? (Successfully, 
 with org-mode's beamer export, I mean.)
 
 I found in the manual that you can give an overlay specification using
 the BEAMER_ACT property... ok... but that's not the same as \only
 because, when a latex chunk is marked \only1, it takes *no space* on
 2-. Using 1 and 2 causes the 2 to appear lower than the
 1. That's not what I want.
 

Did you try this:

http://orgmode.org/worg/exporters/beamer/ox-beamer.html#environments-overlay

-- 
Suvayu

Open source is the future. It sets us free.



[O] Makefile to export to html/pdf using emacsclient

2013-10-08 Thread Garrido Xavier

Dear orgers,

Sometimes ago Eric Schulte posted a Makefile to run the exporter in a 
asynchronous way (see 
http://lists.gnu.org/archive/html/emacs-orgmode/2012-11/msg00788.html). 
I am wondering if it is possible to use =emacsclient= in order not to 
load any special init file but the current emacs settings. I have tried 
to setup something like that


emacsclient -n --eval '(org-beamer-export-to-pdf)' talk.org

but then I get stuck inside my current emacs frame waiting for an output 
file. Can someone helps me on this issue. Maybe the solution is trivial 
and I'm too noob to catch it.


Thanks for your help,
Xavier
--

  |
  |__ GARRIDO Xavier   Laboratoire de l'Accélérateur Linéaire
   /\ NEMO Université Paris-Sud 11
  /--\garr...@lal.in2p3.fr UMR 8607
  |   garr...@in2p3.fr Batiment 200
  |__ +33 1.64.46.84.2891898 Orsay Cedex, France





Re: [O] Makefile to export to html/pdf using emacsclient

2013-10-08 Thread Myles English

Hi Xavier,

I am not an expert but perhaps my reply will do until someone more
knowledgeable comes along.

garr...@lal.in2p3.fr writes:

 Dear orgers,

 Sometimes ago Eric Schulte posted a Makefile to run the exporter in a 
 asynchronous way (see 
 http://lists.gnu.org/archive/html/emacs-orgmode/2012-11/msg00788.html). 
 I am wondering if it is possible to use =emacsclient= in order not to 
 load any special init file but the current emacs settings. I have tried 
 to setup something like that

 emacsclient -n --eval '(org-beamer-export-to-pdf)' talk.org

 but then I get stuck inside my current emacs frame waiting for an output 
 file. Can someone helps me on this issue. Maybe the solution is trivial 
 and I'm too noob to catch it.

I think your command tells emacsclient to open talk.org.

You could try this:

emacs -Q --batch -l my-config.el --eval \
  '(progn (find-file talk.org)(org-beamer-export-to-pdf))'

Where my-config.el sets load paths and loads all the things it needs
(e.g. org-mode).  If you don't load a config file you need to specify
everything in the --eval option.  For example here is what I have been
using, (it has extra escape characters (i.e. \\) and no line
continuations because it was read from a file):

emacs -Q --batch --eval \(progn
  (add-to-list 'load-path
 (expand-file-name 
\\~/.emacs.d/plugins/org-mode/lisp/\\))
   (add-to-list 'load-path
  (expand-file-name 
\\~/.emacs.d/plugins/org-mode/contrib/lisp/\\ t))
  (require 'org)
   (require 'ox)
  (require 'org-exp)
   (require 'org-inlinetask)
  (require 'ob-plantuml)
   (setq org-plantuml-jar-path 
\\/home/myles/Downloads/plantuml.jar\\)
   (org-babel-do-load-languages
'org-babel-load-languages
  '((emacs-lisp . t)
  (sh . t)
  (plantuml . t)))
   (setq org-confirm-babel-evaluate nil)
   (setq org-latex-listings 'minted)
  (setq org-latex-with-hyperref nil)
 (add-to-list 'org-latex-packages-alist '(
 \\minted\\))
(add-to-list 'org-latex-classes 
'(\\mynewthesis\\ documentclass[11pt]{mythesis}\\
 (chapter{%s}\\ . chapter*{%s}\\)
 (section{%s}\\ . section*{%s}\\)
 (subsection{%s}\\ . subsection*{%s}\\)
 (subsubsection{%s}\\ . subsubsection*{%s}\\)
 (paragraph{%s}\\ . paragraph*{%s}\\)))
 (setq org-export-with-todo-keywords nil)
 (load-library \\/home/myles/lib/lisp/my-export.el\\)
 (add-to-list 'org-export-before-parsing-hook 
'my-export-delete-headlines-tagged-noheading)
 (add-to-list 'org-export-filter-link-functions 
'my-autoref-filter-link-func)
  (load-file \\thesis.el\\)
  (find-file \\${CMAKE_CURRENT_BINARY_DIR}/mainThesis.org\\)
  (org-latex-export-to-latex))\

Myles



Re: [O] Difficulties Accessing git Repository

2013-10-08 Thread Charles Millar

Hello,

On 10/8/2013 1:32 PM, Josiah Schwab wrote:

Hi All,


I just tried to pull from the main org-mode git repository.  I
encountered the following failure.

,
| monolith:(stable) org-mode$ git pull
| fatal: read error: Connection reset by peer
`

I can confirm this issue.  I successfully pulled earlier today though.

This seems to be intermittent.  It worked (~8 hours) later on October 2.
I tried to update a few minutes ago and again had a failure.

Is there any other information that would be useful to report?  I tried
to pull while at my home (residential ISP) and then my work
(university), and had failures both times.

Josiah



This morning and just now I tried to update using

cd ~/.elisp/org-mode  make update2

and the following failure resulted

rm -f
git remote update
Fetching origin
fatal: read error: Connection reset by peer
error: Could not fetch origin
make: ***  [up0] error 1

Charlie Millar



Re: [O] Difficulties Accessing git Repository

2013-10-08 Thread Nick Dokos
Charles Millar mill...@verizon.net writes:

 Hello,

 On 10/8/2013 1:32 PM, Josiah Schwab wrote:
 Hi All,

 I just tried to pull from the main org-mode git repository.  I
 encountered the following failure.

 ,
 | monolith:(stable) org-mode$ git pull
 | fatal: read error: Connection reset by peer
 `
 I can confirm this issue.  I successfully pulled earlier today though.
 This seems to be intermittent.  It worked (~8 hours) later on October 2.
 I tried to update a few minutes ago and again had a failure.

 Is there any other information that would be useful to report?  I tried
 to pull while at my home (residential ISP) and then my work
 (university), and had failures both times.

 Josiah


 This morning and just now I tried to update using

 cd ~/.elisp/org-mode  make update2

 and the following failure resulted

 rm -f
 git remote update
 Fetching origin
 fatal: read error: Connection reset by peer
 error: Could not fetch origin
 make: ***  [up0] error 1


I just [21:12:04 EDT] tried it and it worked. The question is: did
somebody do something to bring it back or is it really intermittent?
-- 
Nick




Re: [O] Difficulties Accessing git Repository

2013-10-08 Thread Mike McLean

On Oct 8, 2013, at 9:13 PM, Nick Dokos ndo...@gmail.com wrote:

 Charles Millar mill...@verizon.net writes:
 
 Hello,
 
 On 10/8/2013 1:32 PM, Josiah Schwab wrote:
 Hi All,
 
 I just tried to pull from the main org-mode git repository.  I
 encountered the following failure.
 
 ,
 | monolith:(stable) org-mode$ git pull
 | fatal: read error: Connection reset by peer
 `
 I can confirm this issue.  I successfully pulled earlier today though.
 This seems to be intermittent.  It worked (~8 hours) later on October 2.
 I tried to update a few minutes ago and again had a failure.
 
 Is there any other information that would be useful to report?  I tried
 to pull while at my home (residential ISP) and then my work
 (university), and had failures both times.
 
 Josiah
 
 
 This morning and just now I tried to update using
 
 cd ~/.elisp/org-mode  make update2
 
 and the following failure resulted
 
 rm -f
 git remote update
 Fetching origin
 fatal: read error: Connection reset by peer
 error: Could not fetch origin
 make: ***  [up0] error 1
 
 
 I just [21:12:04 EDT] tried it and it worked. The question is: did
 somebody do something to bring it back or is it really intermittent?

I couldn't pull this morning, nor just now.

$ git --no-pager fetch origin
fatal: read error: Connection reset by peer
git exited abnormally with code 128.






Re: [O] Difficulties Accessing git Repository

2013-10-08 Thread Longmin WANG
On Wed, Oct 9, 2013 at 9:46 AM, Mike McLean mike.mcl...@pobox.com wrote:


 On Oct 8, 2013, at 9:13 PM, Nick Dokos ndo...@gmail.com wrote:

  Charles Millar mill...@verizon.net writes:
 
  Hello,
 
  On 10/8/2013 1:32 PM, Josiah Schwab wrote:
  Hi All,
 
  I just tried to pull from the main org-mode git repository.  I
  encountered the following failure.
 
  ,
  | monolith:(stable) org-mode$ git pull
  | fatal: read error: Connection reset by peer
  `
  I can confirm this issue.  I successfully pulled earlier today though.
  This seems to be intermittent.  It worked (~8 hours) later on October
 2.
  I tried to update a few minutes ago and again had a failure.
 
  Is there any other information that would be useful to report?  I tried
  to pull while at my home (residential ISP) and then my work
  (university), and had failures both times.
 
  Josiah
 
 
  This morning and just now I tried to update using
 
  cd ~/.elisp/org-mode  make update2
 
  and the following failure resulted
 
  rm -f
  git remote update
  Fetching origin
  fatal: read error: Connection reset by peer
  error: Could not fetch origin
  make: ***  [up0] error 1
 
 
  I just [21:12:04 EDT] tried it and it worked. The question is: did
  somebody do something to bring it back or is it really intermittent?

 I couldn't pull this morning, nor just now.

 $ git --no-pager fetch origin
 fatal: read error: Connection reset by peer
 git exited abnormally with code 128.





I also failed to pull last night and this morning with the same errors.

-- 
Longmin Wang (http://math.nankai.edu.cn/~wanglm/)
Nankai University, 94 Weijin Road, Tianjin 300071, P. R. China
http://math.nankai.edu.cn/~wanglm/


Re: [O] Beamer export with \only overlays - how?

2013-10-08 Thread James Harkins
Suvayu Ali fatkasuvayu+linux at gmail.com writes:

 On Tue, Oct 08, 2013 at 11:41:36PM +0800, James Harkins wrote:
  Question: How does one use Beamer's \only command with blocks?
(Successfully, with org-mode's beamer
 export, I mean.)
  
  I found in the manual that you can give an overlay specification using
  the BEAMER_ACT property... ok... but that's not the same as \only
  because, when a latex chunk is marked \only1, it takes *no space* on
  2-. Using 1 and 2 causes the 2 to appear lower than the
  1. That's not what I want.
  
 
 Did you try this:
 
 http://orgmode.org/worg/exporters/beamer/ox-beamer.html#environments-overlay

My example file uses BEAMER_ACT, so yes, I did try that. Here's what happens
if I try it with \only1.

#+LANGUAGE:  en
#+OPTIONS:   H:2 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t ':t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport

#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_THEME: default
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col)
%8BEAMER_opt(Opt)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC

* Section
** Frame (beamer_act, not quite right)
*** The problem on this frame
I want Block 1 and Block 2 to occupy the same space on successive slides.
*** Block 1 :B_block:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_ACT: \only1
:END:
*** Block 2 :B_block:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_ACT: \only2
:END:

--

\begin{block}\only1{Block 1}
\end{block}

Where the correct syntax would be:

\only1{
\begin{block}{Block 1}
\end{block}
}

So in short, no, that doesn't help.

I'm getting the uncomfortable feeling that this is a use case that org just
doesn't support as yet.

Actually, reading further in the beamer user guide, I noticed last night
that what I really want is \overlayarea, e.g.:

\begin{overlayarea}{\textwidth}{3cm}
\only1{Some text for the first slide.\\Possibly several lines long.}
\only2{Replacement on the second slide.}
\end{overlayarea}

Unfortunately \overlayarea is not supported as a BEAMER_env:

*** dummy :B_overlayarea:
:PROPERTIES:
:BEAMER_env: overlayarea
:BEAMER_envargs: {\textwidth}{3cm}
:END:

There's no \begin{overlayarea} or \end{overlayarea} anywhere in the exported
code.

Oh, forgot: org-version says Org-mode version 8.2 (release_8.2-1-g025bb7 @
/home/dlm/share/org-mode.git/lisp/).

hjh




Re: [O] Difficulties Accessing git Repository

2013-10-08 Thread Thomas S. Dye
Longmin WANG longminw...@gmail.com writes:

 I also failed to pull last night and this morning with the same errors.

 -- 
 Longmin Wang (http://math.nankai.edu.cn/~wanglm/)
 Nankai University, 94 Weijin Road, Tianjin 300071, P. R. China
 http://math.nankai.edu.cn/~wanglm/

I just failed, too.

poto:org-mode dk$ make
rm -f
git remote update
Fetching origin
fatal: read error: Connection reset by peer
error: Could not fetch origin
make: *** [up0] Error 1

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com