Re: [O] [bug] Symbol's function definition is void: org-pop-to-buffer-same-window

2011-12-07 Thread Nick Dokos
Shelagh Manton shelagh.man...@gmail.com wrote:

 On Tue, 06 Dec 2011 16:19:36 -0500, Nick Dokos wrote:
 
  Shelagh Manton shelagh.man...@gmail.com wrote:
  
  On Thu, 01 Dec 2011 11:40:11 -0300, Kenny Meyer wrote:
  
   I am getting the same message here upon calling various org-functions
   (e.g.: org-drill, org-submit-bug-report), since I have compiled
   org-mode from git, but I am not sure where exactly the error was
   introduced.
   
   Explicitly Loading `org-compat' does cure this problem...
   Requiring org-compat does not fix that here. Can you tell me where
   exactly you loaded org-compat?
   
   Org-mode version 7.7 (release_7.7.617.gb1f2) GNU Emacs 24.0.50.1
   (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0) of 2011-09-29
   
   --
   Kenny Meyer
   
   
   
   On Thu, Dec 1, 2011 at 9:51 AM, Sebastien Vauban
   wxhgmqzgw...@spammotel.com wrote:
   Hello,
  
   In conditions which I consider unchanged (I speak of my emacs config
   file), with the latest Org-mode version, I now have the message:
  
      let*: Symbol's function definition is void:
      org-pop-to-buffer-same-window
  
   when doing, for example, `C-c C-x C-j' to jump on the currently
   clocked item.
  
   Explicitly Loading `org-compat' does cure this problem... But we
   must miss a `require' somewhere, but where?  In `org.el' itself?
  
   Best regards,
    Seb
  
   --
   Sebastien Vauban
  
  
  
  Hi
  
  I've just been bitten by this as well. requiring org-compat manually
  did nothing. My config files have not changed, just pulled latest
  org-mode, did a make clean and make. Suddenly my org-drill sessions
  don't work.
  
  
  Did you restart emacs?
 
 Yes. I did just then and same thing.
 

Do you get the error with org-drill only or do you get it in the
instances that Seb and Kenny Meyer report? If the former, it may be a
bug with org-drill. Otherwise, I throw up my hands: I certainly cannot
reproduce it.

Nick

GNU Emacs 24.0.90.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 
2011-10-27
Org-mode version 7.7 (release_7.7.622.g92d30)



Re: [O] [bug] Symbol's function definition is void: org-pop-to-buffer-same-window

2011-12-07 Thread Sebastien Vauban
Hi all,

Nick Dokos wrote:
 Shelagh Manton shelagh.man...@gmail.com wrote:
 On Tue, 06 Dec 2011 16:19:36 -0500, Nick Dokos wrote:
 Shelagh Manton shelagh.man...@gmail.com wrote:
 On Thu, 01 Dec 2011 11:40:11 -0300, Kenny Meyer wrote:
 On Thu, Dec 1, 2011 at 9:51 AM, Sebastien Vauban
 I am getting the same message here upon calling various org-functions
 (e.g.: org-drill, org-submit-bug-report), since I have compiled org-mode
 from git, but I am not sure where exactly the error was introduced.

 Explicitly Loading `org-compat' does cure this problem...

 Requiring org-compat does not fix that here. Can you tell me where
 exactly you loaded org-compat?

 Org-mode version 7.7 (release_7.7.617.gb1f2) GNU Emacs 24.0.50.1
 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0) of 2011-09-29

 In conditions which I consider unchanged (I speak of my emacs config
 file), with the latest Org-mode version, I now have the message:

    let*: Symbol's function definition is void:
    org-pop-to-buffer-same-window

 when doing, for example, `C-c C-x C-j' to jump on the currently
 clocked item.

 Explicitly Loading `org-compat' does cure this problem... But we
 must miss a `require' somewhere, but where?  In `org.el' itself?

 I've just been bitten by this as well. requiring org-compat manually did
 nothing. My config files have not changed, just pulled latest org-mode,
 did a make clean and make. Suddenly my org-drill sessions don't work.

 Did you restart emacs?

 Yes. I did just then and same thing.

 Do you get the error with org-drill only or do you get it in the instances
 that Seb and Kenny Meyer report? If the former, it may be a bug with
 org-drill. Otherwise, I throw up my hands: I certainly cannot reproduce it.

FYI:

- I don't use .elc files.

- I've recently upgraded to Emacs 24.0.91.1 on Windows -- not sure if the
  problem appeared directly after, or a little bit before.

- I began suspecting work that I could have done in a branch, and mixed
  versions that way -- as I'm not yet familiar with git and switching between
  branches.

- I've deleted all my Org directory, and cloned a fresh one

But it still occurs.

Though:

- Requiring org-compat does cure the problem.

- I see calls to org-compat in every crucial Org file -- I don't understand
  where it could be missing.

- I still must try to dissecate my .emacs, or use a minimal Emacs config file
  to see if it's reproducible that way.

But I currently really have no time for spending more time on it. I hope to be
able to do so in one week or two.

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Directional quotes in html

2011-12-07 Thread Eric S Fraga
tycho garen ga...@tychoish.com writes:

 On Tue, Dec 06, 2011 at 06:25:09PM +, Herbert Sitz wrote:
 In my exports to pdf standard double-quote and single-quote (apostrophe)
 characters both get translated to corresponding pairs of opening and closing
 quotes.  But in export to html both double- and single-quotes seem to be same
 in resulting html as they were in the org text, non-paired, non-directional.

 The directional quotes are processed by LaTeX and org have very little
 to do with this.

Actually, that's not true.  Org is creating the latex with the
appropriate (left/right) quotes in place.  Latex expects this.  In a
latex file, you need have written ``a quoted string'' instead of a
quoted string for things to look right in the output.

So it is indeed org's latex exporter that is handling quotes appropriately.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1
: using Org-mode version 7.7 (release_7.7.622.g92d30)



Re: [O] Directional quotes in html

2011-12-07 Thread Christer Boräng
In message 4ede9d46.2020...@christianmoe.com, Christian Moe writes:
The above now also handles single quotes, including apostrophes 
between word characters (it's). The rule is that any single quote 
that is not an opening quote is turned into a closing quote, which 
works for apostrophes too.

It also handles nested quotes (single quotes within double quotes). 
The following example should illustrate parentheses and nested quotes:

#+begin_example
Philosophy ain't easy (being is a surprisingly difficult concept,
but not as hard as non-being). Who said: 'Being' is a surprisingly
difficult concept, but not as hard as 'non-being'?
#+end_example

Does it handle possessive ' at the end of words ending with an s or
z sound? Like James' house?

Just curious...:-)

//Christer

-- 
| Hagåkersgatan 18C | Phone: Home +46 31 43 52 03   CTH: +46 31 772 5431  |
| S-431 41 Mölndal  |Cell: +46 707 53 57 57   |
| Sweden| Mail:  m...@chalmers.se |
An NT server can be run by an idiot, and usually is. -- Tom Holub, a.h.b-o-i





Re: [O] Directional quotes in html

2011-12-07 Thread Christian Moe

On 12/7/11 10:44 AM, Christer Boräng wrote:

Does it handle possessive ' at the end of words ending with an s or
z sound? Like James' house?


Sure, but not because it cares what letter they end with, only because 
it turns any straight single quote that doesn't become an opening 
curly quote into a closing curly quote, identical to curly apostrophe.


Yours,
Christian




[O] Batch export to html

2011-12-07 Thread Vikas Rawal
I would like to export an org file to html using a batch command. This
is the command I tried.

emacs --batch --load=$HOME/lisp/org-7.01/lisp/org.el --eval (setq
org-export-headline-levels 1) --visit=$HOME/file.org --funcall 
org-export-as-html-batch

But I get an error which says: 

Symbol's function definition is void: org-in-block-p

Could anyone explain what this could mean?

Thanks,

Vikas



Re: [O] [bug] Symbol's function definition is void: org-pop-to-buffer-same-window

2011-12-07 Thread shelagh Manton
On Wed, 07 Dec 2011 09:34:21 +0100, Sebastien Vauban wrote:

 Hi all,
 
 Nick Dokos wrote:
 Shelagh Manton shelagh.man...@gmail.com
 wrote:
 On Tue, 06 Dec 2011 16:19:36 -0500, Nick Dokos wrote:
 Shelagh Manton
 shelagh.man...@gmail.com wrote:
 On Thu, 01 Dec 2011 11:40:11 -0300, Kenny Meyer wrote:
 On Thu, Dec 1, 2011 at 9:51 AM, Sebastien Vauban I am getting the
 same message here upon calling various org-functions (e.g.:
 org-drill, org-submit-bug-report), since I have compiled org-mode
 from git, but I am not sure where exactly the error was introduced.

 Explicitly Loading `org-compat' does cure this problem...

 Requiring org-compat does not fix that here. Can you tell me where
 exactly you loaded org-compat?

 Org-mode version 7.7 (release_7.7.617.gb1f2) GNU Emacs 24.0.50.1
 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0) of 2011-09-29

 In conditions which I consider unchanged (I speak of my emacs
 config file), with the latest Org-mode version, I now have the
 message:

    let*: Symbol's function definition is void:
    org-pop-to-buffer-same-window

 when doing, for example, `C-c C-x C-j' to jump on the currently
 clocked item.

 Explicitly Loading `org-compat' does cure this problem... But we
 must miss a `require' somewhere, but where?  In `org.el' itself?

 I've just been bitten by this as well. requiring org-compat manually
 did nothing. My config files have not changed, just pulled latest
 org-mode, did a make clean and make. Suddenly my org-drill sessions
 don't work.

 Did you restart emacs?

 Yes. I did just then and same thing.

 Do you get the error with org-drill only or do you get it in the
 instances that Seb and Kenny Meyer report? If the former, it may be a
 bug with org-drill. Otherwise, I throw up my hands: I certainly cannot
 reproduce it.
 
 FYI:
 
 - I don't use .elc files.
 
 - I've recently upgraded to Emacs 24.0.91.1 on Windows -- not sure if
 the
   problem appeared directly after, or a little bit before.
 
 - I began suspecting work that I could have done in a branch, and mixed
   versions that way -- as I'm not yet familiar with git and switching
   between branches.
 
 - I've deleted all my Org directory, and cloned a fresh one
 
 But it still occurs.
 
 Though:
 
 - Requiring org-compat does cure the problem.
 
 - I see calls to org-compat in every crucial Org file -- I don't
 understand
   where it could be missing.
 
 - I still must try to dissecate my .emacs, or use a minimal Emacs config
 file
   to see if it's reproducible that way.
 
 But I currently really have no time for spending more time on it. I hope
 to be able to do so in one week or two.
 
 Best regards,
   Seb

In the end I just found the function and pasted it into my dotemacs file. 
I really need to get rid of my org-mode cruft. I have so many snippets 
and configs in separate files that probably should just be done in 
customize. I just don't have time to work out where all the problems are 
coming from unless they are showstoppers like this one.

Cheers
Shelagh




Re: [O] [PATCH] customize latex table export

2011-12-07 Thread Christophe Rhodes
Hi,

Christophe Rhodes cs...@cantab.net writes:

 Carsten Dominik carsten.domi...@gmail.com writes, a long time ago:


 would it be better to be able to set these parameters on a per-table
 basis with ATTR_LaTeX ?  Would you like to try to prepare a patch to
 this effect?

 Find attached a patch to this effect.

Is there anything else that I can do to encourage this patch into the
upstream org-mode?

Thanks,

Christophe




[O] pylint to org reporting

2011-12-07 Thread Andrea Crotti

Since I've been studying PyLint a little bit I tried to write my own
reporter, and in particular I wrote a reporter that writes in org-mode
;)

For example running (on a random source file):
org_pylint_reporter.py src_obj_check.py
I get something like:

* TODO 
[[file:/home/andrea/pydbgr/PIL.PcdImagePlugin.py::49][PIL.PcdImagePlugin]] 
:W0511:
* TODO 
[[file:/home/andrea/pydbgr/PIL.PcdImagePlugin.py::1][PIL.PcdImagePlugin]] 
:C0111:


Where the tag is the error and then we have a nice jumpable org-link
to the offending line.

Not sure what to do with it yet, but something cool like bug tracking in
org-mode might come out of this, hope it's of inspiration for someone
else at least :)

The whole script is here:
https://github.com/AndreaCrotti/scripts/blob/master/org_pylint_reporter.py



Re: [O] Minimal overhead Org-mode blogging system

2011-12-07 Thread Steinar Bang
There is also this approach:
 http://comments.gmane.org/gmane.emacs.orgmode/45360

I don't know if anything more has happened with this for the last 15
weeks, though.




Re: [O] babel: tblname not being expanded into function/var

2011-12-07 Thread Thomas S. Dye
Hi Nathan,

I believe #+srcname: is changed to #+name: now.  I don't know if this is
contributing to your problem.

All the best,
Tom

Nathan Neff nathan.n...@gmail.com writes:

 Hello,

 I've been tinkering with different operating systems lately, and
 the past couple of times I've tried to install my org-mode setup,
 I receive this error:

Symbol's value as variable is void: shortcut-definition list

 My init.el loads org-mode-config.org using org-babel, like this:
 (require 'org-install)
 (org-babel-load-file ~/.emacs.d/org-mode-config.org)

 Here's the relevant section of my org-mode-config.org file:

 #+TBLNAME: shortcut-definition-list
 | Blog   | f6 b| blog |
 | Customer 1 | f6 m| customer1|

 #+srcname: map-nav(shortcut-definition-list=shortcut-definition-list)
 #+begin_src emacs-lisp
 (require 'cl)
 (defun map-navigation-shortcuts(shortcut-def)
 (global-set-key (read-kbd-macro (nth 1 shortcut-def))
  (lexical-let ((shortcut-def shortcut-def))
(lambda ()
  (interactive)
  (org-id-goto (nth 2 shortcut-def))
 (mapcar #'map-navigation-shortcuts shortcut-definition-list)
 #+end_src

 -- end snippets ---
 I've found that the babel-generated org-mode-config.el does *not* contain
 a variable called shortcut-definition-list on my new OS (Arch
 Linux).  On my Mac,
 the org-mode-config.el *does* contain a variable called
 shortcut-definition-list.

 On my new OS, I'm using Emacs version 23.3.1 and org-mode version 7.7 
 (latest).
 I've run make clean  make  sudo make install in my src/org
 directory, so I'm pretty
 sure I'm using the right code.

 I had this same problem when I ran Ubuntu 11.11, and I was pulling my
 hair out trying to
 get this problem fixed, and it suddenly went away!  This indicates to
 me that it could be a
 transient problem like having some temp files laying around or
 something like that.

 Any advice or help is appreciated!!

 Thanks,
 --Nate



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



Re: [O] Batch export to html

2011-12-07 Thread Nick Dokos
Vikas Rawal vikasli...@agrarianresearch.org wrote:

 I would like to export an org file to html using a batch command. This
 is the command I tried.
 
 emacs --batch --load=$HOME/lisp/org-7.01/lisp/org.el --eval (setq
 org-export-headline-levels 1) --visit=$HOME/file.org --funcall 
 org-export-as-html-batch
 
 But I get an error which says: 
 
 Symbol's function definition is void: org-in-block-p
 
 Could anyone explain what this could mean?
 

Exactly what it says: the function org-in-block-p is not defined anywhere.

Generally speaking, just loading org.el is *not* the way to initialize
org. I have a minimal.emacs which looks like this:

--8---cut here---start-8---
;;; -*- mode: emacs-lisp -*-
;;; constant part
(add-to-list 'load-path (expand-file-name ~/src/emacs/org/org-mode/lisp))
(add-to-list 'load-path (expand-file-name 
~/src/emacs/org/org-mode/contrib/lisp))
(add-to-list 'auto-mode-alist '(\\.\\(org\\|org_archive\\|txt\\)$ . org-mode))
(require 'org-install)

(setq debug-on-error t)
(setq eval-expression-print-length nil)
(setq eval-expression-print-level nil)

(global-set-key \C-cl 'org-store-link)
(global-set-key \C-ca 'org-agenda)
--8---cut here---end---8---


(there is usually a variable part as well that is tailored for whatever
test I'm trying to do at the time). The important point is that to initialize
*my* installation of org, I have to (require 'org-install).
If you use org from git, you should have something similar. If not git, your
minimal .emacs should mimic pretty much your real .emacs (with extra
stuff stripped out). 

With that, I can export with no problems:

,
| $ emacs --batch --load=$HOME/minimal.emacs.org --eval (setq 
org-export-headline-levels 1) --visit=foo.org --funcall 
org-export-as-html-batch
| enabling speedbar support
| OVERVIEW
| Exporting...
| Exporting...
| Saving file /home/nick/src/org/html/foo.html...
| Wrote /home/nick/src/org/html/foo.html
| HTML export done, pushed to kill ring and clipboard
`

Nick



Re: [O] Minimal overhead Org-mode blogging system

2011-12-07 Thread Puneeth Chaganti
On 12/4/11, Karl Voit devn...@karl-voit.at wrote:
 Hi!

 I got a nice idea on how a very easy to use Org-mode blog system
 should look like.

 Currently, I am using Serendipidy with web-based editor to write
 HTML. Org-mode enabled me to write blog entries and export it to
 HTML. Then I paste the HTML and have to modify minor things (images,
 ...) a bit. I guess the time from finishing the Org-mode entry to
 the final blog entry is approximately ten to twenty minutes.

 Overall, I do not want to do this process when I just want to
 quickly write a view paragraphs within a couple of minutes. I need
 a workflow with much less annoying overhead.

 Therefore I sat down and thought about a workflow that should be
 enough for writing simple weblog entries:

   - create an Org-mode heading (anywhere!)
   - make sure that there is an (uniq) :ID: property
   - add the tag :blog: to heading
   - write content, subheadings, ...
   - change state of top-heading to DONE
 - this enables blog entries «in the queue»
   - (manually) invoke generation-script

 This enables me quick blogging with a list of advantages:

   - a blog entry can be located anywhere in all of my Orgmode files
   - no extra formatting steps
   - very small (almost non-existent) overhead to create a blog entry
   - no duplicate information
 - updates only in Orgmode, not HTML or any in-between format
   - static (fast) pages
   - self-hosting without any fancy services behind like RDBS

I have a system, that does most of what you are looking for.

https://github.com/punchagan/blog-files

Though it seems to be a little more complicated than it needs to be,
it works for me and I haven't had the time and motivation to simplify
it.

--
Puneeth



[O] plain list spacing changed after moving to org 7.7/ELPA

2011-12-07 Thread vincent douzal
Hello, 

I am experiencing a change in behaviour regarding plain lists
spacing, 

spontaneous behaviour (empty file) is
- this
- this
instead of
- that

- that

(and many other probably related effects, like that TAB inside
a list item does nothing at all in most cases, or need of
being more than two empty lines after the end of a list item for
M-RET to insert a headline),

since some time ago I switched from

Org-mode version 6.33f, installed over 
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11
on raven, modified by Debian

to

Org-mode version 7.7
on the same unchanged system,
installed through ELPA from http://orgmode.org/pkg/daily/,
tarball org-2007.tar, then org-20111206.tar, following 
the FAQ step by step.

(Incidentally, *there is something wrong with org-20111207.tar*,
it has been truncated.  It took me some time to figure out from the
code that M-x package-install-file Can't read whole string was
meant also for filenames *inside* the tar.)

All the compile process went well (I just recompiled
org-20111206.tar to include parts of the log, the previous time I
had apparently innocuous errors, now only warnings are left).

As expected, M-x  locate-library org
Library is file ~/.emacs.d/elpa/org-20111206/org.elc


I know *the culprit is org-blank-before-new-entry,* which yields,
with the minimal .emacs included:

org-blank-before-new-entry --- nil

whereas with emacs -q (by what I return to Org version 6.33f) it
is the default:

org-blank-before-new-entry --- ((heading . auto) (plain-list-item .
auto))

I could try to force that variable, but something must be going
wrong somewhere in the installation, and I cannot figure out how
to correct it the proper way.

Has anyone an idea how to pin down where the real problem is?

vincent



;--8--
; Minimal .emacs [2011-12-07 13:59]
(blink-cursor-mode -1)
(tool-bar-mode 0)

(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
(setq x-select-enable-clipboard t)

(when
(load
 (expand-file-name ~/.emacs.d/elpa/package.el))
  (package-initialize))

(add-hook 'org-mode-hook 'turn-on-font-lock)
(add-hook 'org-mode-hook 'turn-on-auto-fill)

; Where I have various contrib org files, among others.
(setq load-path (cons /usr/local/share/emacs/contrib/lisp load-path))
; End .emacs



*Compile-log* extract
--8---
ob-ref.el:69:1:Warning: defcustom for `org-babel-update-intermediate'
fails to specify containing group
In org-agenda-list:
org-agenda.el:3557:26:Warning: `org-agenda-ndays' is an obsolete
variable (as of Emacs 24.1); use `org-agenda-span' instead.

In org-agenda-goto-today:
org-agenda.el:6419:59:Warning: `org-agenda-ndays' is an obsolete
variable (as of Emacs 24.1); use `org-agenda-span' instead.

In org-agenda-reset-view:
org-agenda.el:6504:36:Warning: `org-agenda-ndays' is an obsolete
variable (as of Emacs 24.1); use `org-agenda-span' instead.



Re: [O] Minimal overhead Org-mode blogging system

2011-12-07 Thread Eric Schulte
Puneeth Chaganti puncha...@gmail.com writes:

 On 12/4/11, Karl Voit devn...@karl-voit.at wrote:
 Hi!

 I got a nice idea on how a very easy to use Org-mode blog system
 should look like.

 Currently, I am using Serendipidy with web-based editor to write
 HTML. Org-mode enabled me to write blog entries and export it to
 HTML. Then I paste the HTML and have to modify minor things (images,
 ...) a bit. I guess the time from finishing the Org-mode entry to
 the final blog entry is approximately ten to twenty minutes.

 Overall, I do not want to do this process when I just want to
 quickly write a view paragraphs within a couple of minutes. I need
 a workflow with much less annoying overhead.

 Therefore I sat down and thought about a workflow that should be
 enough for writing simple weblog entries:

   - create an Org-mode heading (anywhere!)
   - make sure that there is an (uniq) :ID: property
   - add the tag :blog: to heading
   - write content, subheadings, ...
   - change state of top-heading to DONE
 - this enables blog entries «in the queue»
   - (manually) invoke generation-script

 This enables me quick blogging with a list of advantages:

   - a blog entry can be located anywhere in all of my Orgmode files
   - no extra formatting steps
   - very small (almost non-existent) overhead to create a blog entry
   - no duplicate information
 - updates only in Orgmode, not HTML or any in-between format
   - static (fast) pages
   - self-hosting without any fancy services behind like RDBS

 I have a system, that does most of what you are looking for.

 https://github.com/punchagan/blog-files

 Though it seems to be a little more complicated than it needs to be,
 it works for me and I haven't had the time and motivation to simplify
 it.


It would be great to collect these links on the relevant Worg page [1].
As this topic seems to re-surface every couple of months.  Perhaps from
there we could begin to build consensus on what features would be most
desirable for any potential future Org-mode blogging extension.

Cheers,

Footnotes: 
[1]  http://orgmode.org/worg/org-blog-wiki.html

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



Re: [O] plain list spacing changed after moving to org 7.7/ELPA

2011-12-07 Thread Nicolas Goaziou
Hello,

vincent douzal vincent.dou...@teledetection.fr writes:

 I am experiencing a change in behaviour regarding plain lists
 spacing, 

Indeed. Plain lists internals have been rewritten since 6.33c.

If default spacing (that is automatic) disturbs you, you may, as you
suggested, tweak `org-blank-before-new-entry'.


Regards,

-- 
Nicolas Goaziou



Re: [O] [bug] Symbol's function definition is void: org-pop-to-buffer-same-window

2011-12-07 Thread Sebastien Vauban
Hi all,

Sebastien Vauban wrote:
 Nick Dokos wrote:
 Shelagh Manton shelagh.man...@gmail.com wrote:
 On Tue, 06 Dec 2011 16:19:36 -0500, Nick Dokos wrote:
 Shelagh Manton shelagh.man...@gmail.com wrote:
 On Thu, 01 Dec 2011 11:40:11 -0300, Kenny Meyer wrote:
 On Thu, Dec 1, 2011 at 9:51 AM, Sebastien Vauban
 In conditions which I consider unchanged (I speak of my emacs config
 file), with the latest Org-mode version, I now have the message:

There was the original mistake: conditions were changed!

   let*: Symbol's function definition is void:
   org-pop-to-buffer-same-window

 when doing, for example, `C-c C-x C-j' to jump on the currently
 clocked item.

 Explicitly Loading `org-compat' does cure this problem... But we
 must miss a `require' somewhere, but where?  In `org.el' itself?

 I've just been bitten by this as well. requiring org-compat manually did
 nothing. My config files have not changed, just pulled latest org-mode,
 did a make clean and make. Suddenly my org-drill sessions don't work.

 Did you restart emacs?

 Yes. I did just then and same thing.

 Do you get the error with org-drill only or do you get it in the instances
 that Seb and Kenny Meyer report? If the former, it may be a bug with
 org-drill. Otherwise, I throw up my hands: I certainly cannot reproduce it.

 FYI:

 - I don't use .elc files.

 - I've recently upgraded to Emacs 24.0.91.1 on Windows -- not sure if the
   problem appeared directly after, or a little bit before.

 - I began suspecting work that I could have done in a branch, and mixed
   versions that way -- as I'm not yet familiar with git and switching between
   branches.

 - I've deleted all my Org directory, and cloned a fresh one

 But it still occurs.

 Though:

 - Requiring org-compat does cure the problem.

 - I see calls to org-compat in every crucial Org file -- I don't understand
   where it could be missing.

 - I still must try to dissecate my .emacs, or use a minimal Emacs config file
   to see if it's reproducible that way.

So, what was the problem in my case?  I've been trying to use the starter
kit approach, and have a 2-file system:

- ~/.emacs

- ~/emacs/site-lisp/seb-conf.el (tangled from its .txt equivalent)
  which contains add-to-load-path calls for all packages (Org, Gnus, etc.)
  and all my customization.

In ~/.emacs, I've replaced my previous:

(require 'seb-conf)

by

(defun starter-kit-load ...)
(defun starter-kit-compile ...)
(starter-kit-load emacs/site-lisp/seb-conf.txt)

Doing so, as it now calls `org-babel-load-file' (in `starter-kit-load'), and
as that function is autoloaded in Emacs 24, Emacs was loading the Org version
bundled with Emacs 24.0.91.1 -- that is, not the latest one, not the one in my
Git working copy.

This is very tricky to spot, IMHO, as all the checks done after Emacs has been
started up will give partially false answers:

(locate-library org-compat) shows my git version

as the load-path has been updated at the very beginning of loading `seb-conf'.

In summary:

- this is explained, and due to a mistake of mine;
- this is quite tricky to detect;
- this is a mix of different Org versions which causes the reported symptom.

Best regards,
  Seb

-- 
Sebastien Vauban




[O] No LaTeX preview if non-ASCII chars included

2011-12-07 Thread Andreas Domberg

Hello everyone,

This is my first post. I'm trying to create latex previews using 
org-preview-latex-fragment (c-c c-x c-l). Everything goes well as long 
as there is no non-ASCII character included. I use IPA chars a lot. In 
exports, I use xetex and the Libertine font, which supports them. I 
suspect c-c c-x c-l has its own setup which bypasses my arrangements for 
handling them.


Is it possible to link the preview-latex machinery with the export one, 
or modify it accordingly?


Emacs: 23.1.1; org-mode: 7.7; Ubuntu 10.10

If the example doesn't display right: it contains unicode character no. 
601 / #o1131 / #x259, 'LATIN SMALL LETTER SCHWA'.


\begin{center}
lorem ipsum ə
\end{center}

Kind regards
Andreas



[O] calendar view

2011-12-07 Thread sergio
Hello.

Am I right, that orgmode doesn't have a calendar view and emacs-calfw is
better for this?

-- 
sergio.



Re: [O] howto integrate blockdiag in org-babel?

2011-12-07 Thread Eric Schulte
Take a look at ob-ditaa.el, it should be fairly straightforward to
translate that file from ditaa to blockdiag

Best,

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



Re: [O] Minimal overhead Org-mode blogging system

2011-12-07 Thread Karl Voit
* Puneeth Chaganti puncha...@gmail.com wrote:
 On 12/4/11, Karl Voit devn...@karl-voit.at wrote:

 Therefore I sat down and thought about a workflow that should be
 enough for writing simple weblog entries:

   - create an Org-mode heading (anywhere!)
   - make sure that there is an (uniq) :ID: property
   - add the tag :blog: to heading
   - write content, subheadings, ...
   - change state of top-heading to DONE
 - this enables blog entries «in the queue»
   - (manually) invoke generation-script

 This enables me quick blogging with a list of advantages:

   - a blog entry can be located anywhere in all of my Orgmode files
   - no extra formatting steps
   - very small (almost non-existent) overhead to create a blog entry
   - no duplicate information
 - updates only in Orgmode, not HTML or any in-between format
   - static (fast) pages
   - self-hosting without any fancy services behind like RDBS

 I have a system, that does most of what you are looking for.

 https://github.com/punchagan/blog-files

... I really do like your blog (and found several very interesting
entries *g*) but I (can not and) do not want to use Wordpress.

Quickly overlooking your system, so far I could not copy most of my
steps of my wishful workflow in your solution :-(

Maybe I find time to implement the system described by me (in Python
and probably using ikiwiki as in-between-format) next summer or so.

-- 
Karl Voit




Re: [O] Minimal overhead Org-mode blogging system

2011-12-07 Thread Puneeth Chaganti
Hi Kurt,

On Thu, Dec 8, 2011 at 6:01 AM, Karl Voit devn...@karl-voit.at wrote:
 * Puneeth Chaganti puncha...@gmail.com wrote:
 On 12/4/11, Karl Voit devn...@karl-voit.at wrote:

 Therefore I sat down and thought about a workflow that should be
 enough for writing simple weblog entries:

   - create an Org-mode heading (anywhere!)
   - make sure that there is an (uniq) :ID: property
   - add the tag :blog: to heading
   - write content, subheadings, ...
   - change state of top-heading to DONE
     - this enables blog entries «in the queue»
   - (manually) invoke generation-script

 This enables me quick blogging with a list of advantages:

   - a blog entry can be located anywhere in all of my Orgmode files
   - no extra formatting steps
   - very small (almost non-existent) overhead to create a blog entry
   - no duplicate information
     - updates only in Orgmode, not HTML or any in-between format
   - static (fast) pages
   - self-hosting without any fancy services behind like RDBS

 I have a system, that does most of what you are looking for.

 https://github.com/punchagan/blog-files

 ... I really do like your blog (and found several very interesting
 entries *g*) but I (can not and) do not want to use Wordpress.

I'm sorry that the repository doesn't have a README, but this solution
doesn't use Wordpress.  It basically uses the publishing mechanism of
org-mode and is based on ideas (and code) from org-jekyll and
reprise.py (https://github.com/uggedal/reprise).

-- Puneeth



Re: [O] calendar view

2011-12-07 Thread Tassilo Horn
sergio mail...@sergio.spb.ru writes:

Hi Sergio,

 Am I right, that orgmode doesn't have a calendar view

Only the agenda.

 and emacs-calfw is better for this?

Yes, emacs-calfw is an excellent UI frontend, and org-mode is an
excellent storage engine feeding it.

Bye,
Tassilo