Re: [O] [PATCH] Lookup functions for tables

2012-09-21 Thread Michael Brand
Hi Jarmo

On Fri, Sep 21, 2012 at 7:44 AM, Jarmo Hurri jarmo.hu...@syk.fi wrote:
 Ok. I guess this also means changing the (next,prev,up) parts of
 @node-commands.

Yes.

 Do you want me to make the change and submit a new patch?

Yes please, I suggest to wait a bit if there will be more comments.

Michael



Re: [O] [Contest] Redesign orgmode.org by the end of august

2012-09-21 Thread Bastien
Hi Brian,

Brian van den Broek brian.van.den.br...@gmail.com writes:

 I went looking for the full manual on a single HTML page today, and I
 could not find it. 

It did not move: http://orgmode.org/org.html

 I'd understand if this was left out on purpose out
 of concern for bandwidth, but if it was just an oversight, it'd be
 lovely if it could be restored.

It's advertized in this section:

  http://orgmode.org/#docs

HTH,

-- 
 Bastien



Re: [O] org-wikinodes is not activating CamelCase links automatically

2012-09-21 Thread Bastien
Marcelo de Moraes Serpa celose...@gmail.com writes:

 Even though it's activated, I don't get a link when I write words in
 CamelCase. Any ideas?

(setq org-wikinodes-active t)

is not enough.

You need to have org-wikinodes in org-modules.

Best,

-- 
 Bastien



Re: [O] org-wikinodes - is there a limit of processable files/nodes

2012-09-21 Thread Bastien
Hi Marcelo,

Marcelo de Moraes Serpa celose...@gmail.com writes:

 I'm trying to setup org-wikinodes, and I have a directory with
 hundres of org files and each of them has dozens+ nodes. It looks as
 if org-wikinode can't build the wiki cache data-structure for that
 many files/nodes, because it never finds the headlines. Am I missing
 something?

Can you narrow down the problem and describe a simple way to reproduce
it?

Thanks,

-- 
 Bastien



Re: [O] Prolonged endurance tames the bold

2012-09-21 Thread Bastien
Hi Samuel,

Samuel Wales samolog...@gmail.com writes:

 This paragraph exports just fine, but is not bold in Org.  Is the
 sentence too long?  What is the limit these days?

 ===
 The point is that *mind-blowing possibilities fan out from
 every step we do not take*.  Opportunity costs are
 invisible.
 ===

The fontification is correct for me.

What is the value of `org-emphasis-regexp-components' for you?

The last number tells how many new lines are accepted when
fontifying.

HTH,

-- 
 Bastien



Re: [O] Clean logs for all tasks

2012-09-21 Thread Bastien
Hi Ilya,

Ilya Zonov izo...@gmail.com writes:

 If there are no cleaning logs feature in org-mode, I will try to
 write it.

Would be nice.  Let us know how it goes,

-- 
 Bastien



Re: [O] Digest configuration

2012-09-21 Thread Bastien
Achim Gratz strom...@nexgo.de writes:

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

 Okay, I'll check this with the emacs-orgmode@ admins.

 This is the variable digest_size_threshold (also editable from the web
 interface), it sets how many kiB a digest may have before it is sent
 out.

Thanks.  The list admins are on this.

-- 
 Bastien



Re: [O] [PATCH] Resolve regexp ambiguity for item headers

2012-09-21 Thread Bastien
Nick Dokos nicholas.do...@hp.com writes:

 OTOH, if it happens to you once, you tend to remember it for ever
 after :-)

Exactly -- and I think allowing  to mean I'm a headline! 
would like to even more head-scratching/keyboard-throwing.

-- 
 Bastien



Re: [O] Problem with paragraph fill / tab in lists

2012-09-21 Thread Bastien
Anthony Lander anth...@landerfamily.ca writes:

 That looks good to me. I'm sure that will save people a lot of
 frustration. Bastien, since org and filladapt are so incompatible, would
 you consider adding this as a strong recommendation on this page:
 http://orgmode.org/manual/Activation.html?

I pointed to the Conflicts section in general, as other conflicts are 
also worth checking.

Thanks for suggesting this,

-- 
 Bastien



Re: [O] Clean logs for all tasks

2012-09-21 Thread Ilya Zonov
Hi Bastien,

On Fri, Sep 21, 2012 at 12:51 PM, Bastien b...@altern.org wrote:


 Would be nice.  Let us know how it goes,


I'll be on vacation next week in Spain. So I will look in this only in
October. I'll write when I have some results.

-- 
*Илья Зонов* (*Ilya Zonov*) aka *puzan*
Нижний Новгород, Россия (Nizhny Novgorod, Russia)


Re: [O] patch for orgweb for better resolution in narrow browsers

2012-09-21 Thread Bastien
Hi Eric,

I've finally manage to applied this change, a real enhancement for
handling various screen sizes.

Thanks a lot!

-- 
 Bastien



Re: [O] LaTeX export problem

2012-09-21 Thread Bastien
Hi Alexander,

Alexander Vorobiev alexander.vorob...@gmail.com writes:

 Could you point us to any documentation on how to switch to the new
 exporter? 

Add contrib/lisp to your load-path.

(require 'org-e-latex)

then M-x org-export-dispatch RET to get a menu and be able to 
export to LaTeX from here.

 Is the tutorial
 http://orgmode.org/worg/org-tutorials/org-latex-export.html still
 relevant?

No, this tutorial is valid for the current exporter, not for 
Nicolas exporter.

HTH,

-- 
 Bastien



Re: [O] Is it possible to automatically set the timestamp recorded in a CLOSED: annotation to a different time than now?

2012-09-21 Thread Nicolas Girard
2012/9/19 Bastien b...@altern.org:

 I introduced `org-use-last-clock-out-time-as-effective-time' which lets
 you do this automatically.  You can test it from the git master branch
 for now, it will be in the next major release.


Useful idea, indeed, thanks for implementing it !

-- 
Nicolas



Re: [O] babel for ditaa-eps

2012-09-21 Thread Bastien
Hi Thomas,

t...@tsdye.com (Thomas S. Dye) writes:

 Is it possible to distribute DitaaEps.jar with Org?  Or, does it need to
 be installed separately?

We can install it along with ditaa.jar in contrib/scripts/

One question: DitaaEPS is bundled with ditaa_0.6b where we have
latest ditaa 0.9 in contrib/.  Can someone check that using ditaaeps
with ditaa 0.9 is okay ?

Thanks,

-- 
 Bastien



Re: [O] sticky agenda and clock persistence interaction

2012-09-21 Thread Bastien
Hi Brian,

Brian van den Broek brian.van.den.br...@gmail.com writes:

 I just found that if I have

 (setq org-agenda-sticky t)
 (org-clock-persistence-insinuate)

 in my .emacs---or rather in a file that my .emacs invokes with
 load-library---I get

 Warning (initialization): An error occurred while loading 
 `/home/brian/.emacs':

 Symbol's function definition is void: org-toggle-sticky-agenda

If you are not requiring Org anyhow, org-agenda-sticky will not be
known.

What if you do

(require 'org-install)
(setq org-agenda-sticky t)
(org-clock-persistence-insinuate)

?

 in a *Warnings* buffer, whereas if I have

 (org-clock-persistence-insinuate)
 (setq org-agenda-sticky t)

 in my .emacs, emacs launches without complaint.

Because org-clock-persistence-insinuate is an autoloaded function.
So calling it will load org-clock.el which will require other Org 
packages as well.

 The backtrace from running with --debug-init is attached.

(Btw, there is a suspicious ~/.emacsd/ here -- not ~/.emacs.d/.  
Looks weird but maybe that's intentional.)

-- 
 Bastien



Re: [O] Bug: :clock-in not working in org-capture-templates [7.9.1 (release_7.9.1-274-g2f4d76)]

2012-09-21 Thread Bastien
Hi Levin,

Levin Du zsle...@gmail.com writes:

 I find :clock-in not work in org-capture-templates, with initial empty 
 heading:

 (setq org-capture-templates
   '((j Journal entry (file+datetree )
  * %?\n%U\n%i\n :clock-in t :clock-resume t)))

 I proposed the patch:

Applied, thanks for catching this!

-- 
 Bastien



Re: [O] sticky agenda and clock persistence interaction

2012-09-21 Thread Brian van den Broek
On 21 September 2012 09:37, Bastien b...@altern.org wrote:
 Hi Brian,

 Brian van den Broek brian.van.den.br...@gmail.com writes:

 I just found that if I have

 (setq org-agenda-sticky t)
 (org-clock-persistence-insinuate)

 in my .emacs---or rather in a file that my .emacs invokes with
 load-library---I get

 Warning (initialization): An error occurred while loading 
 `/home/brian/.emacs':

 Symbol's function definition is void: org-toggle-sticky-agenda

 If you are not requiring Org anyhow, org-agenda-sticky will not be
 known.

 What if you do

 (require 'org-install)
 (setq org-agenda-sticky t)
 (org-clock-persistence-insinuate)

 ?

Hi Bastien,

(After the bad website report, I'm pleased to see I've not done
anything so silly this time :-)

I have a file, ogrconf.el that gets loaded by my .emacs. It starts
with (require 'org-install). So, the error I reported emerged from
what you suggest, save that I have a few hundred lines of config
between the require and the sticky and persistence lines.

I just tested, and if I start out my orgconf.el with

(require 'org-install)
(setq org-agenda-sticky t)
(org-clock-persistence-insinuate)

(thus, putting the relevant lines before any of my other org
configuration) I get the same warning I reported in the original post.
I've not done the backtrace assuming that the same warning with pretty
much the same cause would have the same backtrace; I'm happy to
provide if it is wanted.

 The backtrace from running with --debug-init is attached.

 (Btw, there is a suspicious ~/.emacsd/ here -- not ~/.emacs.d/.
 Looks weird but maybe that's intentional.)

It's intentional. At some point, my .emacs became unwieldy. I
separated my config into a bunch of files which .emacs loads and put
them into a user-created dir ~/.emacsd,  leaving ~/.emacs.d for emacs
to have its way with. I prefer to enforce separation between files I
administer and those under emacs's control.

Best,

Brian



Re: [O] org-e-groff-export-to-groff produces empty output file

2012-09-21 Thread Ian Barton

On 20/09/12 20:38, Eric Schulte wrote:

Hi,

Maybe I'm missing something obvious here, but I can't get org-e-groff to
generate anything but an empty output file.  I've boiled this down to
the following minimal example.  First save the attached example.org file
to /tmp/example.org.  Then run the following in your shell,

 # -*- shell-script -*-
 emacs --batch --eval '(let ((org-path ~/.emacs.d/src/org-mode/))
 (add-to-list (quote load-path) (expand-file-name lisp org-path))
 (add-to-list (quote load-path) (expand-file-name contrib/lisp org-path))
 (require (quote org))
 (require (quote org-e-groff)))' /tmp/example.org -f 
org-e-groff-export-to-groff

The above generates an empty file in /tmp/example.groff.

What am I missing?


I don't think you are missing anything. I tried the grof exporter out a 
couple of weeks ago and it worked fine for me. I just tried it on the 
file I used before and I also get blank output. I have also tried your 
minimal example and get no output.


I am on org-mode fa15516a16df6c9ca060c56e85

Ian.





[O] ECM tangle failure if block contains local var outline-minor-mode

2012-09-21 Thread Sebastien Vauban
--8---cut here---start-8---
#+TITLE: ECM Tangle failure

* Problem

If you try to tangle this file, you'll get:

: condition-case: Before first headline at position XX in buffer XXX.org

Then, you won't even be able to save it!  Workaround is to:

#+begin_src emacs-lisp
(setq before-save-hook nil)
#+end_src

The culprit line is =mode: outline-minor= which I use(d) in some prog-mode
files.

But why???

* Makefile
  :PROPERTIES:
  :tangle:   Makefile
  :END:

#+begin_src makefile
# Makefile

# Where HTML files go locally
SRC_HTML_DIR=public_html/

# Where HTML files go remotely
DEST_HTML_DIR=u...@host.com:~/public_html/

default:
@echo -e $(BOLD)Usage:$(NORMAL)
@echo To create the HTML files, type \`make publish'.
@echo To update the Web site, type \`make updateweb'.
@echo To do both, type \`make all'.

# This is for the sake of Emacs.
# Local Variables:
# mode: outline-minor
# ispell-local-dictionary: en_US
# End:

## Makefile ends here
#+end_src

* Other

Things...

# This is for the sake of Emacs.
# Local Variables:
# compile-command: make publish
# End:

# XXX.org ends here
--8---cut here---end---8---

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] org-e-groff-export-to-groff produces empty output file

2012-09-21 Thread Robert Klein

On 09/21/2012 04:34 PM, Ian Barton wrote:

On 20/09/12 20:38, Eric Schulte wrote:

Hi,

Maybe I'm missing something obvious here, but I can't get org-e-groff to
generate anything but an empty output file.  I've boiled this down to
the following minimal example.  First save the attached example.org file
to /tmp/example.org.  Then run the following in your shell,

 # -*- shell-script -*-
 emacs --batch --eval '(let ((org-path ~/.emacs.d/src/org-mode/))
 (add-to-list (quote load-path) (expand-file-name lisp org-path))
 (add-to-list (quote load-path) (expand-file-name contrib/lisp
org-path))
 (require (quote org))
 (require (quote org-e-groff)))' /tmp/example.org -f
org-e-groff-export-to-groff

The above generates an empty file in /tmp/example.groff.

What am I missing?


I don't think you are missing anything. I tried the grof exporter out a
couple of weeks ago and it worked fine for me. I just tried it on the
file I used before and I also get blank output. I have also tried your
minimal example and get no output.

I am on org-mode fa15516a16df6c9ca060c56e85

Ian.






I got the same results w/ the HTML exporter, version 7.9.1-RELEASE and a 
maint snapshot from yesterday or the day before.


Best regards
Robert




Re: [O] sticky agenda and clock persistence interaction

2012-09-21 Thread Bastien
Hi Brian,

Can you compare the output of 

C-h f org-agenda RET

when you start Emacs normally and when you start emacs -Q?

I suspect you're another victim of a ghost install...

-- 
 Bastien



Re: [O] Org-mode release 7.9

2012-09-21 Thread Bastien
Achim Gratz strom...@nexgo.de writes:

 Bastien writes:
 However I suggest to lose the plural
 and just use `org-plus-contrib´.

 Yes, that's fine for me.  Thanks,

 Implemented and pushed.

Thanks!

-- 
 Bastien



Re: [O] org-e-groff-export-to-groff produces empty output file

2012-09-21 Thread cberry
Eric Schulte eric.schu...@gmx.com writes:

 Hi,

 Maybe I'm missing something obvious here, but I can't get org-e-groff to
 generate anything but an empty output file.  I've boiled this down to
 the following minimal example.  First save the attached example.org file
 to /tmp/example.org.  Then run the following in your shell,

 # -*- shell-script -*-
 emacs --batch --eval '(let ((org-path ~/.emacs.d/src/org-mode/))
 (add-to-list (quote load-path) (expand-file-name lisp org-path))
 (add-to-list (quote load-path) (expand-file-name contrib/lisp org-path))
 (require (quote org))
 (require (quote org-e-groff)))' /tmp/example.org -f 
 org-e-groff-export-to-groff

 The above generates an empty file in /tmp/example.groff.

 What am I missing?


Perhaps the backend is not being correctly passed on to org-export-as.

I am not at a machine where I can check this right now, but 

  (org-export-as 'e-bogus)

used to merrily run to completion producing an empty output if the
objects for the named backend were not bound. 

HTH,

Chuck






Re: [O] Bug: org-insert-drawer doesn't respect indentation for :END:

2012-09-21 Thread Bastien
Hi Christoph,

Christoph LANGE c.la...@cs.bham.ac.uk writes:

 I think the :END: should also respect the current indentation.

Fixed, thanks.

-- 
 Bastien



Re: [O] [PATCH] Lookup functions for tables

2012-09-21 Thread Bastien
Hi Jarmo

Jarmo Hurri jarmo.hu...@syk.fi writes:

 Bastien b...@altern.org writes:

 The patch is longer than 20 lines, so we would need you to sign the
 FSF papers to be able to accept it.

 Request submitted.

Thanks -- I added your name in the pending section of this Worg page
(which will get updated soon) :

http://orgmode.org/worg/org-contribute.html#sec-6-2

-- 
 Bastien



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

2012-09-21 Thread Bastien
Hi Markus,

Markus Heller helle...@gmail.com writes:

 please forgive if this is an RTFM question, but how would I go about
 updating the org git archive from within emacs?  This is what you are
 referring to, correct?

If I may try to help -- Achim suggests that the directory where you have
your git executable is not known by Emacs.

Can you try this?

M-x getenv RET PATH RET
  = [returns the directories in your PATH environment variable]

M-! whereis git RET
  = [returns the path for your git executable]

If the two are not in sync, then Emacs will not find your git
executable and you'll not be able to update a git repo from Emacs.

Does that help?

-- 
 Bastien



Re: [O] org-e-groff-export-to-groff produces empty output file

2012-09-21 Thread Bastien
Hi Eric,

Eric Schulte eric.schu...@gmx.com writes:

 # -*- shell-script -*-
 emacs --batch --eval '(let ((org-path ~/.emacs.d/src/org-mode/))
 (add-to-list (quote load-path) (expand-file-name lisp org-path))
 (add-to-list (quote load-path) (expand-file-name contrib/lisp org-path))
 (require (quote org))
 (require (quote org-e-groff)))' /tmp/example.org -f 
 org-e-groff-export-to-groff

 The above generates an empty file in /tmp/example.groff.

Things get even weirder as I *do* have the correct exported file here
(I'm trying from maint).

What if you M-x org-e-groff-export-to-groff RET directly from the file?

-- 
 Bastien



Re: [O] Question about HTML export, drawers, and links

2012-09-21 Thread Bastien
Nicolas Goaziou n.goaz...@gmail.com writes:

 Thomas Moyer tommo...@gmail.com writes:

 I have a set of files that I put notes in that I would like to export
 to HTML. When I do this, I have configured everything to allow
 certain drawers to included in the export, but those drawers are put
 in pre blocks. Is there a way to convince the export mechanism to
 treat links inside drawers as links that need exported. I put a link
 in the drawer to another file and would like the link to work.

 This is not currently possible.

 The new HTML exporter (contrib/lisp/org-e-html.el) supports using a
 custom function to export drawers.  It is not easily usable for now, 
 but maybe you can explore from there.

 AFAIU, the new exporter defaults to what the OP is asking for.

Indeed, thanks for double-checking.

-- 
 Bastien



Re: [O] Prolonged endurance tames the bold

2012-09-21 Thread Samuel Wales
On 9/21/12, Bastien b...@altern.org wrote:
 What is the value of `org-emphasis-regexp-components' for you?

org-emphasis-regexp-components is a variable defined in `org.el'.
Its value is ( ('\{ -   .,:!?;'\)}\\ 
,\' . 1)

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



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

2012-09-21 Thread Markus Heller
Bastien b...@altern.org writes:

 Hi Markus,

 Markus Heller helle...@gmail.com writes:

 please forgive if this is an RTFM question, but how would I go about
 updating the org git archive from within emacs?  This is what you are
 referring to, correct?

 If I may try to help -- Achim suggests that the directory where you have
 your git executable is not known by Emacs.

 Can you try this?

 M-x getenv RET PATH RET
   = [returns the directories in your PATH environment variable]

C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
 Files (x86)\Git\cmd;C:\Program Files (x86)\GNU\GnuPG\pub;C:\Program Files 
(x86)\sparky\bin;C:\Program Files (x86)\Mozilla Firefox;C:\Program Files 
(x86)\OpenBabel-2.3.1;C:\texmf\miktex\bin\x64

 M-! whereis git RET
   = [returns the path for your git executable]

'whereis' is not recognized as an internal or external command,
operable program or batch file.

 If the two are not in sync, then Emacs will not find your git
 executable and you'll not be able to update a git repo from Emacs.

So I don't use emacs under cygwin, and I guess this is why whereis
doesn't work ...

Anyhow, git *is* in my PATH, but I think my issue is that I don't know
how to update a git repo from *within* emacs.

Would you be able to give pointers please?

Thanks
Markus




Re: [O] org-wikinodes - is there a limit of processable files/nodes

2012-09-21 Thread Marcelo de Moraes Serpa
Hi Bastien,

Can you narrow down the problem and describe a simple way to reproduce
 it?


Sure, sorry if I wasn't specific enough.

I have a specific wiki/ directory that has ~500 org files. There are an
average of ~20 org headlines per file.

I'm trying to take advantage of org-wikinodes' camelcase linking feature.
So, say I have a headlines like this in one of those 500 org files:

* MyPIMSystem

And in another org file in the same wiki/ directory I write:

... as I do in MyPIMSystem ...

The MyPIMSystem gets converted to a wikinodes link, and when I click it,
considering the wiki cache is nil, wikinodes will start searching the
current directory's org files for the a file with MyPIMSystem headline
(this takes around ~10secs), and even though there exists the org file with
the MyPIMSystem headline in the wiki/ directory, wikinodes just doesn't
find it, and shows the prompt asking me if I want to create it.

I must also say that I modified the org-wikinodes-which-file function
slightly from this:


 (defun org-wikinodes-which-file (target optional directory)
   Return the file for wiki headline TARGET DIRECTORY.
 If there is no such wiki target, return nil.
   (setq directory (expand-file-name (or directory default-directory)))
   (unless (assoc directory org-wikinodes-directory-targets-cache)
 (push (cons directory (org-wikinodes-get-links-for-directory
 directory))
   org-wikinodes-directory-targets-cache))
   (cdr (assoc target (cdr (assoc directory
  org-wikinodes-directory-targets-cache)


To this:

(defun org-wikinodes-which-file (target optional directory)
   Return the file for wiki headline TARGET DIRECTORY.
 If there is no such wiki target, return nil.
   (setq directory (expand-file-name /Users/myself/org/wiki)) ;
  here
   (unless (assoc directory org-wikinodes-directory-targets-cache)
 (push (cons directory (org-wikinodes-get-links-for-directory
 directory))
   org-wikinodes-directory-targets-cache))
   (cdr (assoc target (cdr (assoc directory
  org-wikinodes-directory-targets-cache)


Why? Because I have files in other directory levels that I still want to
link to the wiki, so basically I want to force all wikilinks to point to
nodes in org files that reside in this wiki/ directory only. But this is a
simple change, I don't think it would cause any kind of issues.

Also, after I try clicking in a wikilink, and the cache is nil, just after
this function tries to build the cache, and when I evaluate the
 org-wikinodes-directory-targets-cache var, instead of the expected
data-structure containing filenames and nodes, I get this:

((/Users/myself/wiki))

I've tested with the unmodified org-wikinodes-which-file func + a
org-wikinodes-scope setting = directory, and I get the same thing. I
looks as if the amount of files and data is the problem.

Thanks in advance,

- Marcelo.


On Fri, Sep 21, 2012 at 3:44 AM, Bastien b...@altern.org wrote:

 Hi Marcelo,

 Marcelo de Moraes Serpa celose...@gmail.com writes:

  I'm trying to setup org-wikinodes, and I have a directory with
  hundres of org files and each of them has dozens+ nodes. It looks as
  if org-wikinode can't build the wiki cache data-structure for that
  many files/nodes, because it never finds the headlines. Am I missing
  something?

 Can you narrow down the problem and describe a simple way to reproduce
 it?

 Thanks,

 --
  Bastien



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

2012-09-21 Thread Markus Heller
Bastien b...@altern.org writes:

 Hi Markus,

 Markus Heller helle...@gmail.com writes:

 please forgive if this is an RTFM question, but how would I go about
 updating the org git archive from within emacs?  This is what you are
 referring to, correct?

 If I may try to help -- Achim suggests that the directory where you have
 your git executable is not known by Emacs.

 Can you try this?

 M-x getenv RET PATH RET
   = [returns the directories in your PATH environment variable]

C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
 Files (x86)\Git\cmd;C:\Program Files (x86)\GNU\GnuPG\pub;C:\Program Files 
(x86)\sparky\bin;C:\Program Files (x86)\Mozilla Firefox;C:\Program Files 
(x86)\OpenBabel-2.3.1;C:\texmf\miktex\bin\x64

 M-! whereis git RET
   = [returns the path for your git executable]

'whereis' is not recognized as an internal or external command,
operable program or batch file.

 If the two are not in sync, then Emacs will not find your git
 executable and you'll not be able to update a git repo from Emacs.

So whereis is not recognized, maybe because I'm not using cygwin ...
But anyhow, git *is* in my PATH, and I think my issue really is that I
don't know how to update a git repo *from within emacs*.

Would you be able to provide some hints please?

Thanks
Markus




Re: [O] org-wikinodes is not activating CamelCase links automatically

2012-09-21 Thread Marcelo de Moraes Serpa
Thanks Bastien, it's working now.

Cheers,

- Marcelo.

On Fri, Sep 21, 2012 at 3:44 AM, Bastien b...@altern.org wrote:

 Marcelo de Moraes Serpa celose...@gmail.com writes:

  Even though it's activated, I don't get a link when I write words in
  CamelCase. Any ideas?

 (setq org-wikinodes-active t)

 is not enough.

 You need to have org-wikinodes in org-modules.

 Best,

 --
  Bastien



Re: [O] ECM tangle failure if block contains local var outline-minor-mode

2012-09-21 Thread Bastien


Hi Sébastien,

Sebastien Vauban
wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes:

 If you try to tangle this file, you'll get:

I copied your xxx.org file, commented out the workaround and M-x
org-babel-tangle RET: it tangles the Makefile correctly.

-- 
 Bastien




Re: [O] org-e-groff-export-to-groff produces empty output file

2012-09-21 Thread Eric Schulte
Bastien b...@altern.org writes:

 Hi Eric,

 Eric Schulte eric.schu...@gmx.com writes:

 # -*- shell-script -*-
 emacs --batch --eval '(let ((org-path ~/.emacs.d/src/org-mode/))
 (add-to-list (quote load-path) (expand-file-name lisp org-path))
 (add-to-list (quote load-path) (expand-file-name contrib/lisp 
 org-path))
 (require (quote org))
 (require (quote org-e-groff)))' /tmp/example.org -f 
 org-e-groff-export-to-groff

 The above generates an empty file in /tmp/example.groff.

 Things get even weirder as I *do* have the correct exported file here
 (I'm trying from maint).

 What if you M-x org-e-groff-export-to-groff RET directly from the file?

I still get a blank result (that was how I tried initially).  I'm
currently on the latest git head of the master branch [1] and I am using
a recent Verizon of Emacs [2].

I just tried switching to maint, reloading org-mode and re-exporting and
I again get an empty output file.  I can confirm that other new
exporters such as org-e-html are working as expected.

Hope this helps,

Footnotes: 
[1]  Org-mode version 7.9.1 (release_7.9.1-283-g34db1c @ 
/home/eschulte/.emacs.d/src/org-mode/lisp/)

[2]  GNU Emacs 24.2.50.1

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



Re: [O] patch for orgweb for better resolution in narrow browsers

2012-09-21 Thread Eric Schulte
Bastien b...@altern.org writes:

 Hi Eric,

 I've finally manage to applied this change, a real enhancement for
 handling various screen sizes.

 Thanks a lot!

Yup, looks much improved on my system now. Thanks,

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



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

2012-09-21 Thread Achim Gratz
Nick Dokos writes:
 OK. Is there no way to fix that? That's pretty confusing.

If you already know the tag is on a merge commit on the wrong side:

git tag fixup release_7.8.11
git tag -d release_7.8.11
git tag release_7.8.11 fixup^2
git tag -d fixup

 And how can I tell that I have fallen into this trap?

Probably easiest to see in gitk.  Otherwise,

git --no-pager show release_7.8.11

tells you you are dealing with a merge and what the two parents are.


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] sticky agenda and clock persistence interaction

2012-09-21 Thread Achim Gratz
Brian van den Broek writes:
 (setq org-agenda-sticky t)

That's a defcustom and you should not try to setq it unless you really
know when and how defcustom does its thing (I don't).


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

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] LaTeX export problem

2012-09-21 Thread Alexander Vorobiev
I tried the new exporter (using today's snapshot of the sources) and
it produced invalid LaTeX (it calls hypersetup without loading
hyperref package). It also ignored the #+LaTeX_CLASS: and all the
#+LaTeX_HEADER:lines in my file. Are there any examples of org files
which show how to customize the new LaTeX exporter?

Thanks
Alex

On Fri, Sep 21, 2012 at 3:48 AM, Bastien b...@altern.org wrote:
 Hi Alexander,

 Alexander Vorobiev alexander.vorob...@gmail.com writes:

 Could you point us to any documentation on how to switch to the new
 exporter?

 Add contrib/lisp to your load-path.

 (require 'org-e-latex)

 then M-x org-export-dispatch RET to get a menu and be able to
 export to LaTeX from here.

 Is the tutorial
 http://orgmode.org/worg/org-tutorials/org-latex-export.html still
 relevant?

 No, this tutorial is valid for the current exporter, not for
 Nicolas exporter.

 HTH,

 --
  Bastien



Re: [O] [OT] Current website not very attractive

2012-09-21 Thread Marcelo de Moraes Serpa
Bastien,

I can't clone the orgweb repo:

git clone git://orgmode.org/orgweb.git
Cloning into 'orgweb'...
fatal: The remote end hung up unexpectedly

Is the server is down?

- Marcelo.

On Fri, Sep 14, 2012 at 12:41 AM, Bastien b...@altern.org wrote:

 Hi Marcelo,

 glad you like the new website!  It's important to keep Org open
 to non-developers, it is good if the website somehow advertizes
 this attitude.

 Marcelo de Moraes Serpa celose...@gmail.com writes:

  I can help with the Spanish and Portuguese versions, by the way.

 Great!

 ~$ git clone git://orgmode.org/orgweb.git
 ~$ cd orgweb/
 ~$ git branch orgweb-es
 ~$ mkdir es/
 ~$ cp *org es/

 [translate the es/*org files]

 ~$ git commit -m Yeah! es translation done!
 ~$ git format-patch master

 ... then send me the patch(es).

 Should be one-hour max of work.

 Thanks in advance :)

 --
  Bastien



Re: [O] LaTeX export problem

2012-09-21 Thread Thomas S. Dye
Alexander Vorobiev alexander.vorob...@gmail.com writes:

 I tried the new exporter (using today's snapshot of the sources) and
 it produced invalid LaTeX (it calls hypersetup without loading
 hyperref package). It also ignored the #+LaTeX_CLASS: and all the
 #+LaTeX_HEADER:lines in my file. Are there any examples of org files
 which show how to customize the new LaTeX exporter?

 Thanks
 Alex

Aloha Alex,

I've been exploring the new exporter with a recent project. I have the
following probably too complex setup that lets me use biblatex in
conjunction with ebib.  I'm also using a customized setup for the Lucida
fonts (packages tsdlucida and lucidabr), which you'll most likely want
to change.

* Org-mode setup   :noexport:
This is a setup for Nicolas Goaziou's new exporter

#+name: setup
#+begin_src emacs-lisp :noweb yes :results silent
(require 'org-export)
(require 'org-e-latex)
(require 'org-e-html)
(setq org-export-latex-packages-alist nil)
(add-to-list 'org-export-latex-packages-alist 
'(colorlinks=true,urlcolor=SteelBlue4,linkcolor=Firebrick4,citecolor=Green4 
hyperref))
(add-to-list 'org-export-latex-packages-alist 
'(style=authoryear-comp,backend=bibtex8 biblatex))
(add-to-list 'org-export-latex-packages-alist '(x11names xcolor))
(add-to-list 'org-export-latex-packages-alist '( microtype))
(add-to-list 'org-export-latex-packages-alist '( graphicx))
(add-to-list 'org-export-latex-packages-alist '( ragged2e))
(add-to-list 'org-export-latex-packages-alist '( booktabs))
(add-to-list 'org-export-latex-packages-alist '( tabularx))
(add-to-list 'org-export-latex-packages-alist '( tsdlucida))
(add-to-list 'org-export-latex-packages-alist '( wasysym))
(add-to-list 'org-export-latex-packages-alist '( paralist))
(add-to-list 'org-export-latex-packages-alist 
'(altbullet,lucidasmallscale,expert,vargreek lucidabr))
(add-to-list 'org-export-latex-packages-alist '(T1 fontenc))
(add-to-list 'org-export-latex-packages-alist '(AUTO inputenc))
(setq org-entities-user nil) 
(add-to-list 'org-entities-user '(space \\  nil))
(add-to-list 'org-entities-user '(amacron \\={a} nil #0257 a a 
ā))
(add-to-list 'org-entities-user '(emacron \\={e} nil #0275 e e 
ē))
(add-to-list 'org-entities-user '(imacron \\={i} nil #0299 i i 
ī))
(add-to-list 'org-entities-user '(omacron \\={o} nil #0333 o o 
ō))
(add-to-list 'org-entities-user '(umacron \\={u} nil #0363 u u 
ū))
(add-to-list 'org-entities-user '(Amacron \\={A} nil #0256 A A 
Ā))
(add-to-list 'org-entities-user '(Emacron \\={E} nil #0274 E E 
Ē))
(add-to-list 'org-entities-user '(Imacron \\={I} nil #0298 I I 
Ī))
(add-to-list 'org-entities-user '(Omacron \\={O} nil #0332 O O 
Ō))
(add-to-list 'org-entities-user '(Umacron \\={U} nil #0362 U U 
Ū))
(setq org-e-latex-pdf-process '(texi2dvi --pdf --clean --verbose --batch 
%f))
(require 'org-special-blocks)
(define-key org-mode-map (kbd C-c e) 'org-export-dispatch)
(setq org-e-latex-tables-booktabs t)
(setq org-export-latex-hyperref-format \\ref{%s})
(setq org-e-latex-remove-logfiles nil)
(setq org-e-latex-toc-command \\tableofcontents\n\n)
(add-to-list 'org-e-latex-classes
 '(koma-article
   \\documentclass{scrartcl}
  [NO-DEFAULT-PACKAGES]
  [PACKAGES]
  [EXTRA]
  \\let\\itemize\\compactitem
  \\let\\description\\compactdesc
  \\let\\enumerate\\compactenum
  \\bibliography{local}
  \\newcolumntype{Y}{{\\RaggedRight\\arraybackslash}X}
   (\\section{%s} . \\section*{%s})
   (\\subsection{%s} . \\subsection*{%s})
   (\\subsubsection{%s} . \\subsubsection*{%s})
   (\\paragraph{%s} . \\paragraph*{%s})
   (\\subparagraph{%s} . \\subparagraph*{%s})))
ngz-nbsp
define-standard-biblatex-commands
define-style-specific-biblatex-commands
#+end_src

** Standard Biblatex citation commands

#+name: define-standard-biblatex-commands
#+begin_src emacs-lisp :noweb yes :results silent :exports none
  define-biblatex-cite-link
  define-biblatex-cap-cite-link
  define-biblatex-parencite-link
  define-biblatex-cap-parencite-link
  define-biblatex-footcite-link
  define-biblatex-footcitetext-link

#+end_src

#+name: define-biblatex-cite-link
#+begin_src emacs-lisp :results silent :exports none
  (org-add-link-type 
   cite 'ebib
   (lambda (path desc format)
 (cond
  ((eq format 'html)
   (format (cite%s/cite) path))
  ((eq format 'latex)
   (if (or (not desc) (equal 0 (search cite: desc)))
   (format \\cite{%s} path)
 (format \\cite[%s][%s]{%s}
 (cadr (split-string desc ;))
 (car (split-string desc ;))  path))
#+end_src

#+name: define-biblatex-cap-cite-link
#+begin_src emacs-lisp :results silent :exports none
  

Re: [O] org-e-groff-export-to-groff produces empty output file

2012-09-21 Thread Luis Anaya
Eric Schulte eric.schu...@gmx.com writes:

 Hi,

 Maybe I'm missing something obvious here, but I can't get org-e-groff to
 generate anything but an empty output file.  I've boiled this down to

This is not good. What I'll do is to pull the latest from git and run
regression test. I know that changes have been made and I pushed those
in my github account. But I've not run with the latest for a while (I
still need to use org-mode for real work. :) ) Let me play with it and
see. 

Luis


-- 
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] [OT] Current website not very attractive

2012-09-21 Thread Nick Dokos
Marcelo de Moraes Serpa celose...@gmail.com wrote:

 Bastien,
 
 I can't clone the orgweb repo:
 
 git clone git://orgmode.org/orgweb.git
 Cloning into 'orgweb'...
 fatal: The remote end hung up unexpectedly
 
 Is the server is down?
 

I can't get to it either, but I am behind a firewall and have had
problems with the socks proxy I usually use. After I switched proxies,
I *was* able to do a git pull on the emacs repository though, so I
suspect the fault is at orgmode.org's end.

Nick

 - Marcelo.
 
 On Fri, Sep 14, 2012 at 12:41 AM, Bastien b...@altern.org wrote:
 
 Hi Marcelo,

 glad you like the new website!  It's important to keep Org open
 to non-developers, it is good if the website somehow advertizes
 this attitude.

 Marcelo de Moraes Serpa celose...@gmail.com writes:

  I can help with the Spanish and Portuguese versions, by the way.

 Great!

 ~$ git clone git://orgmode.org/orgweb.git
 ~$ cd orgweb/
 ~$ git branch orgweb-es
 ~$ mkdir es/
 ~$ cp *org es/

 [translate the es/*org files]

 ~$ git commit -m Yeah! es translation done!
 ~$ git format-patch master

 ... then send me the patch(es).

 Should be one-hour max of work.

 Thanks in advance :)

 --
  Bastien
 
 
 
 Alternatives:
 
 



Re: [O] org-e-groff-export-to-groff produces empty output file

2012-09-21 Thread Luis Anaya
Luis Anaya papoan...@hotmail.com writes:

 Eric Schulte eric.schu...@gmx.com writes:

 Hi,

 Maybe I'm missing something obvious here, but I can't get org-e-groff to
 generate anything but an empty output file.  I've boiled this down to

Hi:

No, you're not missing something, there's is a problem. I just ran
regression and all the groff files are empty. My gut feeling is the
change from the defvar to the invocation of
`org-export-define-backend' is not mapping the different calls to
its respective function. First thing I noticed is that the second
parameter, is a symbol while the function expects it to be a string
(it's passing it into a format), that may be one of the problems. I
changed it to a string with the same results. (i. e. empty files).


I ran it with an older version of org-e-groff.el that does not use 
this function and it runs fine with the lastest from git.  

Hmmm...




-- 
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] [OT] Current website not very attractive

2012-09-21 Thread Eric Schulte
Nick Dokos nicholas.do...@hp.com writes:

 Marcelo de Moraes Serpa celose...@gmail.com wrote:

 Bastien,
 
 I can't clone the orgweb repo:
 
 git clone git://orgmode.org/orgweb.git
 Cloning into 'orgweb'...
 fatal: The remote end hung up unexpectedly
 
 Is the server is down?
 

 I can't get to it either, but I am behind a firewall and have had
 problems with the socks proxy I usually use. After I switched proxies,
 I *was* able to do a git pull on the emacs repository though, so I
 suspect the fault is at orgmode.org's end.



orgmode.org was recently moved to a new machine, so you will have to
update any tools which check MAC addresses for things like man in the
middle attacks.  I did have to update my ~/.ssh/known_hosts this morning
to remove the old key.

I've since been using the git repo on the orgmode server without
problem.

Hope this helps,

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



Re: [O] [OT] Current website not very attractive

2012-09-21 Thread Nick Dokos
Eric Schulte eric.schu...@gmx.com wrote:

 Nick Dokos nicholas.do...@hp.com writes:
 
  Marcelo de Moraes Serpa celose...@gmail.com wrote:
 
  Bastien,
  
  I can't clone the orgweb repo:
  
  git clone git://orgmode.org/orgweb.git
  Cloning into 'orgweb'...
  fatal: The remote end hung up unexpectedly
  
  Is the server is down?
  
 
  I can't get to it either, but I am behind a firewall and have had
  problems with the socks proxy I usually use. After I switched proxies,
  I *was* able to do a git pull on the emacs repository though, so I
  suspect the fault is at orgmode.org's end.
 
 
 
 orgmode.org was recently moved to a new machine, so you will have to
 update any tools which check MAC addresses for things like man in the
 middle attacks.  I did have to update my ~/.ssh/known_hosts this morning
 to remove the old key.
 

I don't think that I have anything like that. The IP address resolves to

,
| $ host orgmode.org
| orgmode.org has address 198.101.246.4
| orgmode.org mail is handled by 0 deathroller.dunsmor.com.
`

and I can get to http://orgmode.org, I just can't get to it through git:

,
| $ tsocks git clone git://orgmode.org/org-mode.git
| Cloning into org-mode...
| fatal: The remote end hung up unexpectedly
`


 I've since been using the git repo on the orgmode server without
 problem.
 

Presumably through ssh? If so, port 22 is open. I wonder if there is some
restriction on the git port (9418 by default) though.

Nick



Re: [O] [OT] Current website not very attractive

2012-09-21 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote:

 Eric Schulte eric.schu...@gmx.com wrote:
 
  Nick Dokos nicholas.do...@hp.com writes:
  
   Marcelo de Moraes Serpa celose...@gmail.com wrote:
  
   Bastien,
   
   I can't clone the orgweb repo:
   
   git clone git://orgmode.org/orgweb.git
   Cloning into 'orgweb'...
   fatal: The remote end hung up unexpectedly
   
   Is the server is down?
   
  
   I can't get to it either, but I am behind a firewall and have had
   problems with the socks proxy I usually use. After I switched proxies,
   I *was* able to do a git pull on the emacs repository though, so I
   suspect the fault is at orgmode.org's end.
  
  
  
  orgmode.org was recently moved to a new machine, so you will have to
  update any tools which check MAC addresses for things like man in the
  middle attacks.  I did have to update my ~/.ssh/known_hosts this morning
  to remove the old key.
  
 
 I don't think that I have anything like that. The IP address resolves to
 
 ,
 | $ host orgmode.org
 | orgmode.org has address 198.101.246.4
 | orgmode.org mail is handled by 0 deathroller.dunsmor.com.
 `
 
 and I can get to http://orgmode.org, I just can't get to it through git:
 
 ,
 | $ tsocks git clone git://orgmode.org/org-mode.git
 | Cloning into org-mode...
 | fatal: The remote end hung up unexpectedly
 `
 
 
  I've since been using the git repo on the orgmode server without
  problem.
  
 
 Presumably through ssh? If so, port 22 is open. I wonder if there is some
 restriction on the git port (9418 by default) though.
 
 Nick
 

One other data point: if I change the protocol to http in .git/config,
things are working - changing it back to git breaks it again:

,
| $ git pull
| From http://orgmode.org/org-mode
|ac9ed2a..5083790  maint  - origin/maint
|23b30cd..34db1c2  master - origin/master
| Updating 23b30cd..34db1c2
| Fast-forward
|  contrib/lisp/org-wikinodes.el |6 +++---
|  doc/org.texi  |   23 ---
|  lisp/Makefile |   13 +++--
|  lisp/org-agenda.el|2 +-
|  lisp/org-clock.el |3 ++-
|  lisp/org.el   |1 +
|  mk/targets.mk |9 +
|  7 files changed, 39 insertions(+), 18 deletions(-)
| 
| # change it back to git:
| git pull
| fatal: The remote end hung up unexpectedly
`

So it seems to me that either the git daemon is not running or the port
is unreachable.

Nick



Re: [O] org-e-groff-export-to-groff produces empty output file

2012-09-21 Thread Robert Klein

On 09/21/2012 04:44 PM, Robert Klein wrote:

On 09/21/2012 04:34 PM, Ian Barton wrote:

On 20/09/12 20:38, Eric Schulte wrote:

Hi,

Maybe I'm missing something obvious here, but I can't get org-e-groff to
generate anything but an empty output file.  I've boiled this down to
the following minimal example.  First save the attached example.org file
to /tmp/example.org.  Then run the following in your shell,

 # -*- shell-script -*-
 emacs --batch --eval '(let ((org-path ~/.emacs.d/src/org-mode/))
 (add-to-list (quote load-path) (expand-file-name lisp org-path))
 (add-to-list (quote load-path) (expand-file-name contrib/lisp
org-path))
 (require (quote org))
 (require (quote org-e-groff)))' /tmp/example.org -f
org-e-groff-export-to-groff

The above generates an empty file in /tmp/example.groff.

What am I missing?


I don't think you are missing anything. I tried the grof exporter out a
couple of weeks ago and it worked fine for me. I just tried it on the
file I used before and I also get blank output. I have also tried your
minimal example and get no output.

I am on org-mode fa15516a16df6c9ca060c56e85

Ian.






I got the same results w/ the HTML exporter, version 7.9.1-RELEASE and a
maint snapshot from yesterday or the day before.

Best regards
Robert



Umm, sorry, I get this when /publishing/ (org-e-publish). 
org-e-html-export-to-html works.


Best regards
Robert





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

2012-09-21 Thread Nick Dokos
Achim Gratz strom...@nexgo.de wrote:

 Nick Dokos writes:
  OK. Is there no way to fix that? That's pretty confusing.
 
 If you already know the tag is on a merge commit on the wrong side:
 
 git tag fixup release_7.8.11
 git tag -d release_7.8.11
 git tag release_7.8.11 fixup^2
 git tag -d fixup
 

Does that have any undesirable consequences? If not, can this be done on
the repo?

I actually did the above in my clone and then fetched tags again which
reset the tag to the previous state, so it seems that once the change is
made in the repo, a `git fetch --tags origin' will fix up local copies.

  And how can I tell that I have fallen into this trap?
 
 Probably easiest to see in gitk.  Otherwise,
 

Ah, yes - I keep forgetting about gitk. It's fairly obvious there (now
that you've explained it - I'm not sure I would have been able to see it
even there, if I didn't know what was going on already, but the fact
that the suspect commit does not appear in the range would have been a
big clue - plus the fact that there is only a handful of commits instead of
hundreds of them.)

 git --no-pager show release_7.8.11
 
 tells you you are dealing with a merge and what the two parents are.
 

OK - again, I don't think I could have figured out what was going on
without your previous explanation.

Thanks,
Nick