Re: [O] orgguide translated to spanish

2012-12-28 Thread Bastien
Hi David,

davi...@es.gnu.org (David Arroyo Menéndez) writes:

 I've translated orgguide to spanish. You can download the sources doing
 git pull to worg. 

Thanks for this work!  This is great.

It would be nice to have some explanations on how to rebuild the
manual from the .po file.  Also, orgguide/orgguide.texi does not
tell what version it is, it's important to keep track of changes.

 My idea would be open a new phase of revision. I accept contributions in
 this sense.

With no explanations on how to contribute, I'm afraid you will have
approximatively 0 contributors :)  Better to put those explanations
on Worg directly, perhaps orgguide/index.org ?

I think a good move would be to create a new git repo on orgmode.org 
with the orgguide.texi regularily sync'ed with Org's master orgguide,
and containing all .po(t) for all languages.  From there we could then
publish the translated manuals.

What do you think?

Best,

-- 
 Bastien



Re: [O] Howto convert a complete bibtex file into an orgmode file?

2012-12-28 Thread Bastien
Hi Eric,

Eric Schulte schulte.e...@gmail.com writes:

 I just added three functions to org-bibtex.el which should help in these
 use cases.

Nice, thanks a lot!

-- 
 Bastien



Re: [O] Line breaking problem in Description List

2012-12-28 Thread Bastien
Hi Sanjib,

Sanjib Sikder sanjibju2...@gmail.com writes:

 Can anyone look into the issue please ?

Please wait for one week before pinging the list for a reply.

Doing otherwise sends useless emails to the 1400 subscribers 
of the list.

Thanks!

-- 
 Bastien



Re: [O] Booktabs in new LaTeX exporter

2012-12-28 Thread RCY
Hi,
 Thanks for looking into this. I tried your suggestions but I am still
having the problem. It seems that some but not all attributes I set are
recognized. So in the example below it sets sideways table but ignores the
booktabs and positioning attributes.

#+LATEX_CLASS: article
#+LATEX_HEADER: \usepackage{booktabs}
org-file-
* Test
#+CAPTION: Test table
#+attr_latex: :booktabs t :align |r|l| :float sidewaystable
 |+|
 | 1  | 2  |
 |+|
 | A1 | A2 |
 | B1 | B2 |
 | C1 | C2 |
 |+|

-latex buffer-
:
\begin{sidewaystable}[htb]
\caption{Test table}
\begin{center}
\begin{tabular}{ll}
\hline
 1 2   \\
\hline
 A1A2  \\
 B1B2  \\
 C1C2  \\
\hline
\end{tabular}
\end{center}
\end{sidewaystable}
-

On Thu, Dec 27, 2012 at 8:42 PM, Thomas S. Dye t...@tsdye.com wrote:

 Hmm,

 It works like a charm here.

 I add booktabs like this:

   (add-to-list 'org-export-latex-packages-alist '( booktabs))

 Also, I noticed you have \[PACKAGES].  I don't escape the opening brace:

   (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}
   \\newcommand{\\rc}{\\textsuperscript{14}C}
   \\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})))

 hth,
 Tom

 RCY re...@yahoo.com writes:

  Hi,
   I had tried t but then removed it when it did not work and the
  documentation seemed to indicate that :booktabs was a toggle.
  I tried your suggestion to add  (setq org-e-latex-tables-booktabs t) to
 the
  .emacs file but I am still getiing \hline. I did make sure to get the
  latest version from git and I am running emacs 24.3.50.1.
 
  Thanks.
 
 
  On Thu, Dec 27, 2012 at 7:17 PM, Thomas S. Dye t...@tsdye.com wrote:
 
  Aloha RCY,
 
  You can have this in your setup to enable booktabs globally:
 
(setq org-e-latex-tables-booktabs t)
 
  Or, you can give a table this attribute:
 
  #+attr_latex: :booktabs t
 
  I think your example should work if you add the t after :booktabs.
 
  hth,
  Tom
 
  RCY re...@yahoo.com writes:
 
   I am trying to use the booktabs package for tables in the new
 exporter,
   however I am unable to get \toprule, etc instead of \hrule
   I would appreciate any suggestions to fix this.
  
   As a minimal example, I started emacs -q, and evaluated the following:
  
  (setq org-install-dir ~/.emacs.d/src/org-mode)
  (add-to-list 'load-path (concat org-install-dir /contrib/lisp))
  (add-to-list 'load-path (concat org-install-dir /lisp))
  (require 'org-e-latex)
  
  (add-to-list 'org-e-latex-classes
  '(article
  \\documentclass[11pt]{article}
  \[DEFAULT-PACKAGES]
  \[PACKAGES]
  \[EXTRA]
  (\\section{%s} . \\section*{%s})
  (\\subsection{%s} . \\subsection*{%s})
  (\\subsubsection{%s} . \\subsubsection*{%s})))
  
   -org.file---
   #+LATEX_CLASS: article
   #+LATEX_HEADER: \usepackage{booktabs}
   * Test
   #+ATTR_LATEX: :booktabs
   #+CAPTION: Test table
|+|
| 1  | 2 |
|+|
| A1 | A2 |
| B1 | B2 |
| C1 | C2 |
|+|
  
   --latex-buffer from org-export-latex-as-buffer---
   % Created 2012-12-27 Thu 18:44
   \documentclass[11pt]{article}
   \usepackage[utf8]{inputenc}
   \usepackage[T1]{fontenc}
   \usepackage{fixltx2e}
   \usepackage{graphicx}
   \usepackage{longtable}
   \usepackage{float}
   \usepackage{wrapfig}
   \usepackage{soul}
   \usepackage{textcomp}
   \usepackage{marvosym}
   \usepackage{wasysym}
   \usepackage{latexsym}
   \usepackage{amssymb}
   \usepackage{hyperref}
   \tolerance=1000
   \usepackage{booktabs}
   \providecommand{\alert}[1]{\textbf{#1}}
  
   \title{tst}
   \author{RC}
   \date{\today}
   \hypersetup{
 pdfkeywords={},
 pdfsubject={},
 pdfcreator={Emacs Org-mode version 7.9.2+}}
  
   \begin{document}
  
   \maketitle
  
   \setcounter{tocdepth}{3}
   \tableofcontents
   \vspace*{1cm}
   \section{Test}
   \label{sec-1}
  
   \begin{table}[htb]
   \caption{Test table}
   \begin{center}
   \begin{tabular}{ll}
   \hline
1 2   \\
   \hline
A1A2  \\
B1B2  \\
C1C2  \\
   \hline
   \end{tabular}
   \end{center}
   \end{table}
  
   \end{document}
   I am trying to use the booktabs package for tables in the new
   exporter, however I am unable to get \toprule, etc instead of \hrule
  
   I would appreciate any suggestions to fix this.
  
   As a minimal example, I started emacs -q, and evaluated the following:

Re: [O] orgguide translated to spanish

2012-12-28 Thread Takaaki ISHIKAWA(石川 孝明)
Hi Bastien,

I think it is a good idea to keep .po files for many languages.
A translation project of the org-mode manual for Japanese is still working,
which is based on a .po file.
If we want, we can use a translation system like Pootle.

Pootle: http://docs.translatehouse.org/projects/pootle/en/latest/

Best,
Takaaki


2012/12/28 Bastien b...@altern.org

 Hi David,

 davi...@es.gnu.org (David Arroyo Menéndez) writes:

  I've translated orgguide to spanish. You can download the sources doing
  git pull to worg.

 Thanks for this work!  This is great.

 It would be nice to have some explanations on how to rebuild the
 manual from the .po file.  Also, orgguide/orgguide.texi does not
 tell what version it is, it's important to keep track of changes.

  My idea would be open a new phase of revision. I accept contributions in
  this sense.

 With no explanations on how to contribute, I'm afraid you will have
 approximatively 0 contributors :)  Better to put those explanations
 on Worg directly, perhaps orgguide/index.org ?

 I think a good move would be to create a new git repo on orgmode.org
 with the orgguide.texi regularily sync'ed with Org's master orgguide,
 and containing all .po(t) for all languages.  From there we could then
 publish the translated manuals.

 What do you think?

 Best,

 --
  Bastien


--
Takaaki ISHIKAWA tak...@ieee.org


[O] mostely my fault, only a minor bug remains (was: Re: Bug: inline tasks behave strange with respect to visibility cycling within plain lists)

2012-12-28 Thread Gregor Zattler
Hi Bastien, org developers,
* Gregor Zattler telegr...@gmx.net [25. Dec. 2012]:
 I did the whole thing again but with more care:

Now I learned that although org-inlinetask.el is not in contrib
(anymore), it has to be activated as a module.  

 Summary: 
 
 1) With respect to visibility cycling I would expect to see
inline tasks as normal text or plainlist item.  I would not
expect the display of children or subtrees to be cut of
immediately after an inline task.  

This problem vanished when customizing org-modules to contain
org-inline-task.

However there is a minor bug with respect to folding:

This file:

* first heading
  1) master list
 - first plain list item
 - second plain list item
 - third plain list item
- first sub list item
- second sub list item
* TODO inline task
- third sub list item
- fourth sub list item
 - fourth plain list item
  2) another master list
 - two one
 - two two
* second heading
  1) master list two one
 - plain list
 - plain list
  2) masterlist two two
* third heading


when partially folded looks like this:

* first heading
  1) master list
 - first plain list item
 - second plain list item
 - third plain list item...
 - fourth plain list item
  2) another master list
 - two one
 - two two
* second heading...
* third heading


now with the cursor at the first plain list item, org-cycle
produces:

* first heading
  1) master list
 - first plain list item
 - second plain list item
 - third plain list item...
* TODO inline task...
 - fourth plain list item
  2) another master list
 - two one
 - two two
* second heading...
* third heading


somehow visibility-cycling of the first plain list item reveals
the inline task in the third plain list item, while I would
expect that nothing would happen since the first plain list
item does not contain any sub items.


 With point on the first star and org-cycle-include-plain-lists
 set to `As children of outline heading' org-cycle reveals an
 error: `byte-code: Invalid search bound (wrong side of point)'.
[...]
 2) I would not expect to see an error when doing org-cycle with
certain variable settings.  If org-mode is not able to handle
this situation it should tell so in a way the user is able to
act upon.

I couldn't reproduce this bug.  

Sorry for the noise and thanks for org-mode, Gregor

Version infos etc:

This is with recent emacs-snapshot:
GNU Emacs 24.3.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2) of 2012-12-24 on 
dex, modified by Debian

and with recent org-mode (via `make up1'):
Org-mode version 7.9.2 (release_7.9.2-882-gf47a71 @ 
/home/grfz/src/org-mode/lisp/)

I did the test with:

Emacs-snapshot -Q -nw -l ~/.emacs.d/_minimal.org-init.el

with ~/.emacs.d/_minimal.org-init.el being:

(add-to-list 'load-path ~/src/org-mode/lisp)
(setq org-modules (quote (org-bbdb org-bibtex org-docview org-gnus org-info 
org-jsinfo org-inlinetask org-irc org-mew org-mhe org-rmail org-vm org-wl 
org-w3m)))
(org-reload)
(find-file /tmp/testinlinetask.org)



and /tmp/testinlinetask.org being:

* first heading
  1) master list
 - first plain list item
 - second plain list item
 - third plain list item
- first sub list item
- second sub list item
* TODO inline task
- third sub list item
- fourth sub list item
 - fourth plain list item
  2) another master list
 - two one
 - two two
* second heading
  1) master list two one
 - plain list
 - plain list
  2) masterlist two two
* third heading







[O] Bug: with option hidestars to be hidden stars are on white backround on block terminal [7.9.2 (release_7.9.2-882-gf47a71 @ /home/grfz/src/org-mode/lisp/)]

2012-12-28 Thread Gregor Zattler

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.

Dear org-developers, Bastien,

I use option `hidestars' and Emacs/org-mode on a terminal with
black background.  Since a few days the superflous stars are not
hidden any more but shown on a white background.  This makes them
stand out very much.  

Test it like this:
emacs-snapshot -Q -nw -l ~/.emacs.d/_minimal.org-init.el

with ~/.emacs.d/_minimal.org-init.el being:

(add-to-list 'load-path ~/src/org-mode/lisp)
(setq org-modules (quote (org-bbdb org-bibtex org-docview org-gnus org-info 
org-jsinfo org-inlinetask org-irc org-mew org-mhe org-rmail org-vm org-wl 
org-w3m)))
(org-reload)
(find-file /tmp/colortest.org)


and /tmp/colortest.org being:

#+STARTUP: hidestars
* one
** two
*** three
 four
* five




This is the first time I used git bisect and the offending commit
seems to bee:


4549f0c99cef65c68879641d2a96ad486b64e6b1 is the first bad commit
commit 4549f0c99cef65c68879641d2a96ad486b64e6b1
Author: Bastien Guerry b...@altern.org
Date:   Mon Dec 24 13:46:36 2012 +0100

org.el: (org-mode): Use `face-background' instead of 
`org-find-invisible-foreground'

* org.el (org-find-invisible-foreground): Delete.
(org-mode): Use `face-background' instead of
`org-find-invisible-foreground'.

Thanks to Achim for suggesting this.

:04 04 6f89fcb4d88786c702467a18c9280325e352082c 
3ae33a346e25278f368d8dcf4bfa19428f192607 M  lisp


I'm not able to grok the diff.  I hope somebody is able to fix this.

Thanks for org-mode, gregor


Emacs  : GNU Emacs 24.3.50.1 (i486-pc-linux-gnu, X toolkit, Xaw scroll bars)
 of 2012-12-24 on dex, modified by Debian
Package: Org-mode version 7.9.2 (release_7.9.2-882-gf47a71 @ 
/home/grfz/src/org-mode/lisp/)



Re: [O] Bug: with option hidestars to be hidden stars are on white backround on block terminal [7.9.2 (release_7.9.2-882-gf47a71 @ /home/grfz/src/org-mode/lisp/)]

2012-12-28 Thread Achim Gratz

Am 28.12.2012 14:36, schrieb Gregor Zattler:

I use option `hidestars' and Emacs/org-mode on a terminal with
black background.  Since a few days the superflous stars are not
hidden any more but shown on a white background.  This makes them
stand out very much.


I don't see how this change is related since it changes the foreground, 
not the background.  What do the following things return if you eval 
them in the org buffer (with M-: since they are not interactive):


(face-background 'default nil 'default)
(face-foreground 'default nil 'default)
(face-background 'org-hide nil 'default)
(face-foreground 'org-hide nil 'default)

--
Achim.

(on the road :-)




[O] org-mime-htmlize

2012-12-28 Thread George McNinch
Hi--

I did a clean install of elpa package

  org-plus-contrib-20121224

(i.e. removed old package, restarted emacs with -q flag, installed above
package, restarted emacs again...)

Then I started gnus, started composing a message, and executed the command

  M-x org-mime-htmlize

The result is the following error:

  org-export-as-html: Wrong type argument: stringp, t

Here is the backtrace:



backtrace
Description: Binary data

-gm


-- 
  George McNinch gmcninch(at)gmail.com
  http://gmcninch.math.tufts.edu 


Re: [O] org-mime-htmlize

2012-12-28 Thread Eric Schulte
George McNinch gmcni...@gmail.com writes:

 Hi--

 I did a clean install of elpa package

   org-plus-contrib-20121224

 (i.e. removed old package, restarted emacs with -q flag, installed above
 package, restarted emacs again...)

 Then I started gnus, started composing a message, and executed the command

   M-x org-mime-htmlize

 The result is the following error:

   org-export-as-html: Wrong type argument: stringp, t

 Here is the backtrace:


Thanks for the report.

This looks like a bug in `org-export-as-html', specifically in line 1258
or so of org-html.el the following form returns t while its calling
function requires a string argument.

  (or pub-dir (org-export-directory :html opt-plist))

The attached patch should fix this problem, and should be an improvement
generally, but I'll wait for someone more familiar with the export
system than myself to approve and apply it.

Best,

From cf2128fb320f714f78fa54b953405d01fa73bf33 Mon Sep 17 00:00:00 2001
From: Eric Schulte eric.schu...@gmx.com
Date: Fri, 28 Dec 2012 08:20:56 -0700
Subject: [PATCH] Pass the dir option on through org-export-as-string

* lisp/org-exp.el (org-export-string): Pass the dir option on through to
  any subsequent export functions.
---
 lisp/org-exp.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index f7155b0..3dc9a98 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -3050,7 +3050,7 @@ to the value of `temporary-file-directory'.
 	  (eval ;; convert to fmt -- mimicking `org-run-like-in-org-mode'
 	   (list 'let org-local-vars
 		 (list (intern (format org-export-as-%s fmt))
-		   nil nil nil ''string t
+		   nil nil nil ''string t dir
   (delete-file tmp-file
 
 ;;;###autoload
-- 
1.8.0.2


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


Re: [O] Bug: with option hidestars to be hidden stars are on white backround on block terminal [7.9.2 (release_7.9.2-882-gf47a71 @ /home/grfz/src/org-mode/lisp/)]

2012-12-28 Thread Nicolas Richard
Achim Gratz strom...@nexgo.de writes:

 Am 28.12.2012 14:36, schrieb Gregor Zattler:
 I use option `hidestars' and Emacs/org-mode on a terminal with
 black background.  Since a few days the superflous stars are not
 hidden any more but shown on a white background.  This makes them
 stand out very much.

 I don't see how this change is related since it changes the
 foreground, not the background.  What do the following things return
 if you eval them in the org buffer (with M-: since they are not
 interactive):

I noticed the same kind of problem (outside org-mode). It turns out
that the special color unspecified-bg [1] does not work as expected
when using it as the foreground color : the text is not made invisible
and the aforementioned behaviour occurs.

I guess that a workaround would be to test if unspecified-bg is
returned and use nil in that case (which is the old behaviour iiuc).

[1] unspecified-bg is the background value if the terminal doesn't
allow to query its default colors (quoted from
http://permalink.gmane.org/gmane.emacs.bugs/5823)

-- 
N.




Re: [O] Bug: with option hidestars to be hidden stars are on white backround on block terminal [7.9.2 (release_7.9.2-882-gf47a71 @ /home/grfz/src/org-mode/lisp/)]

2012-12-28 Thread Achim Gratz

Am 28.12.2012 16:59, schrieb Nicolas Richard:

I noticed the same kind of problem (outside org-mode). It turns out
that the special color unspecified-bg [1] does not work as expected
when using it as the foreground color : the text is not made invisible
and the aforementioned behaviour occurs.


Thanks, but why is the background color also changing in this case?


I guess that a workaround would be to test if unspecified-bg is
returned and use nil in that case (which is the old behaviour iiuc).


The original function only made sense if a replacement of 
unspecified-bg with nil was highly undesirable, so I'd think there 
will be further side-effects from doing this.  I vote for a reversion of 
that patch until this behaviour has been analysed in some detail.  If 
proves still necessary, the implementation of 
org-find-invisible-foreground can be further simplified, I'd think.



--
Achim.

(on the road :-)




Re: [O] Bug: with option hidestars to be hidden stars are on white backround on block terminal [7.9.2 (release_7.9.2-882-gf47a71 @ /home/grfz/src/org-mode/lisp/)]

2012-12-28 Thread Nicolas Richard
Achim Gratz strom...@nexgo.de writes:

 Am 28.12.2012 16:59, schrieb Nicolas Richard:
 I noticed the same kind of problem (outside org-mode). It turns out
 that the special color unspecified-bg [1] does not work as expected
 when using it as the foreground color : the text is not made invisible
 and the aforementioned behaviour occurs.

 Thanks, but why is the background color also changing in this case?

Sorry, I don't have an answer.

-- 
Nicolas.




Re: [O] Booktabs in new LaTeX exporter

2012-12-28 Thread Thomas S. Dye
Aloha RCY,

Here is a (too long) working example that shows how to pass attributes.
See especially :align, where you've passed a symbol instead of a string.
Note that the new exporter is still in contrib and that at this stage in
its life is documented in the code and in some messages and
announcements that Nicolas Goaziou sent to the mailing list. It is still
necessary to refer to these scattered sources to learn about the new
exporter.

#+caption: ^{14}C age determinations from coastal habitation activities
#+attr_latex: :environment tabularx :width \\textwidth :booktabs t :align 
YlYYcrY :font \\footnotesize :placement [htb!]
#+name: tab:dates-coastal-habitation-activities
| *Event* | *Lab*| *Site*| *Material*   
  | *Age*| *Label* | *Reference* |
|-+--+---++--+-+-|
| Habitation activity | \beta-142515 | 50--10--04--22265 | /Chenopodium 
oahuense/ | 210 \pm 40 | \theta_{57} | 
[[textcite:dye03:_revis_archaeol_inven_survey_kaihol][;;ref]]   |
| Habitation activity | \beta-142517 | 50--10--04--22204 | /Lagenaria 
siceraria/  | 140 \pm 40 | \theta_58 | 
[[textcite:dye03:_revis_archaeol_inven_survey_kaihol][;;ref]]   |
| Habitation activity | \beta-256583 | PHH-13| /Aleurites 
moluccana/ nutshell | 440 \pm 40 | \theta_{59} | 
[[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]]|
| Habitation activity | \beta-243704 | MKI-25| /Osteomeles 
anthyllidifolia/   | 240 \pm 40 | \theta_{60} | 
[[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]]|
| Habitation activity | \beta-240446 | MKI-1A| /Aleurites 
moluccana/ nutshell | 230 \pm 40 | \theta_{61} | 
[[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]]|
| Habitation activity | \beta-240674 | MKI-2C| /Aleurites 
moluccana/ nutshell | 220 \pm 40 | \theta_{62} | 
[[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]]|
| Habitation activity | \beta-240448 | MKI-56| /Aleurites 
moluccana/ nutshell | 190 \pm 40 | \theta_{63} | 
[[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]]|
| Habitation activity | \beta-240447 | MKI-23A   | /Aleurites 
moluccana/ nutshell | 180 \pm 40 | \theta_{64} | 
[[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]]|
| Habitation activity | \beta-240675 | MKI-11A   | /Aleurites 
moluccana/ nutshell | 150 \pm 40 | \theta_65 | 
[[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]]|
| Habitation activity | \beta-276160 | MKI-69| /Caesalpinia/ cf. 
/bonduc/ | 90 \pm 40  | \theta_66 | 
[[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]]|
| Habitation activity | \beta-240449 | MKI-56| /Aleurites 
moluccana/ nutshell | 40 \pm 40  | \theta_67 | 
[[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]]|
| Habitation activity | \beta-276158 | KAL-46| /Caesalpina/ cf. 
/bonduc/  | 160 \pm 40 | \theta_{68} | 
[[textcite:field11:_resid_chron_househ_subsis_emerg][613;;ref]]|
| Habitation activity | \beta-256576 | MKE-105   | /Chamaesyce/ cf. 
/multiformis/ | 360 \pm 40 | \theta_{69} | 
[[textcite:field11:_resid_chron_househ_subsis_emerg][613;;ref]]|
| Habitation activity | \beta-256573 | MKE-104   | /Chamaesyce/ cf. 
/multiformis/ | 250 \pm 40 | \theta_{70} | 
[[textcite:field11:_resid_chron_househ_subsis_emerg][614;;ref]]|

hth,
Tom

RCY re...@yahoo.com writes:

 Hi,
  Thanks for looking into this. I tried your suggestions but I am still
 having the problem. It seems that some but not all attributes I set are
 recognized. So in the example below it sets sideways table but ignores the
 booktabs and positioning attributes.

 #+LATEX_CLASS: article
 #+LATEX_HEADER: \usepackage{booktabs}
 org-file-
 * Test
 #+CAPTION: Test table
 #+attr_latex: :booktabs t :align |r|l| :float sidewaystable
  |+|
  | 1  | 2  |
  |+|
  | A1 | A2 |
  | B1 | B2 |
  | C1 | C2 |
  |+|

 -latex buffer-
 :
 \begin{sidewaystable}[htb]
 \caption{Test table}
 \begin{center}
 \begin{tabular}{ll}
 \hline
  1 2   \\
 \hline
  A1A2  \\
  B1B2  \\
  C1C2  \\
 \hline
 \end{tabular}
 \end{center}
 \end{sidewaystable}
 -

 On Thu, Dec 27, 2012 at 8:42 PM, Thomas S. Dye t...@tsdye.com wrote:

 Hmm,

 It works like a charm here.

 I add booktabs like this:

   (add-to-list 'org-export-latex-packages-alist '( booktabs))

 Also, I noticed you have \[PACKAGES].  I don't escape the opening brace:

   (add-to-list 'org-e-latex-classes
'(koma-article
  \\documentclass{scrartcl}
   [NO-DEFAULT-PACKAGES]
   [PACKAGES]
   [EXTRA]
   \\let\\itemize\\compactitem
   

Re: [O] [bug] org-insert-link fails on special characters in headlines

2012-12-28 Thread Bastien
Hi William,

William Léchelle william.leche...@ens-lyon.fr writes:

 Using org-store-link followed by org-insert-link RET RET fails on the 
 following
 headline :

 ** TODO Special chars in titles  !
[[*Special%20chars%20in%20titles%20][Special chars in titles  !]]

 The link ignores what follows the greater-than sign () and thus the inserted
 link is still-broken.

Fixed, thanks.

-- 
 Bastien



Re: [O] Bug: Docstring of `org-clock-persist' doesn't mention `history' [7.9.2 (7.9.2-90-ge5ea08-elpaplus @ /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2012-12-28 Thread Bastien
Hi Ivan,

Ivan Andrus darthand...@gmail.com writes:

 The manual suggests setting `org-clock-persist' to 'history, but this
 value isn't documented in the docstring.  There is an explicit check
 for the value of history in `org-clock-save', so I think it should be
 documented since it's more than just a non-nil value.

Indeed.  Fixed, thanks for reporting this.

-- 
 Bastien



Re: [O] C-c ^ for plain lists? Why not?

2012-12-28 Thread Bastien
Hi James,

James Harkins jamshar...@gmail.com writes:

 I finally had a chance to play with this -- works nicely, except I managed to 
 get emacs into an infinite loop this way:

 1. C-c ^ f org-sort-list-by-checkbox-type
 2. This puts the done items at the top, which I didn't want, so... C-c ^ F 
 org-
 sort-list-by-checkbox-type.
 3. Emacs goes into a tailspin (recovered by C-g).

`org-list-get-item-end-before-blank' is meant to be used as an
interactive function directly, not as a callback within `org-sort-list'.

HTH,

-- 
 Bastien



Re: [O] org-mime-htmlize

2012-12-28 Thread Bastien
Hi George,

thanks for reporting this.

Eric Schulte schulte.e...@gmail.com writes:

 From cf2128fb320f714f78fa54b953405d01fa73bf33 Mon Sep 17 00:00:00 2001
 From: Eric Schulte eric.schu...@gmx.com
 Date: Fri, 28 Dec 2012 08:20:56 -0700
 Subject: [PATCH] Pass the dir option on through org-export-as-string

 * lisp/org-exp.el (org-export-string): Pass the dir option on through to
   any subsequent export functions.

Applied, thanks!

-- 
 Bastien



[O] Fontification in Org tables

2012-12-28 Thread François Pinard
Hi, Org people.

Let me report an old problem of mine about missing fontification in Org
tables.  In my .emacs file, I have:


(defun fp-fontify-fixme ()
  (font-lock-add-keywords
   nil '((\\FIXME\\ 0 font-lock-warning-face t

(let ((hooks '(c-mode-common-hook change-log-mode-hook
   cperl-mode-hook css-mode-hook emacs-lisp-mode-hook
   html-mode-hook latex-mode-hook lisp-mode-hook
   makefile-mode-hook message-mode-hook org-mode-hook
   php-mode-hook python-mode-hook sh-mode-hook
   shell-mode-hook ssh-config-mode-hook)))
  (while hooks
(add-hook (car hooks) 'fp-fontify-fixme)
(setq hooks (cdr hooks


This works nicely in Org file, /except/ within Org tables.  Would
someone be kind enough to give me a magical recipe to solve it? :-)

François







Re: [O] Agenda bug: q x keys are swapped?

2012-12-28 Thread Bastien
Hi Huy,

Huy list-orgm...@reml.org writes:

 It seems that org-agenda-quit (q) and org-agenda-exit (x) are swapped.
 'q' wants to close my the buffers loaded for the agenda.

 Strange.

I cannot reproduce this.  Does anyone can?

Thanks,

-- 
 Bastien



[O] Errors from remote sh scripts somewhat non-intuititve

2012-12-28 Thread George Jones
When a a remote sh script fails in babel, the feedback to the user
is Setting current directory: no such file or directory, ... even it what
happened is just a command not found.  It would be more useful to
see the error output as happens with the local case.

repete-by attached.

Thanks,
---George Jones


shErrors.org
Description: Binary data


Re: [O] orgguide translated to spanish

2012-12-28 Thread Bastien
Hi Takaaki,

Takaaki ISHIKAWA(石川 孝明) tak...@ieee.org writes:

 I think it is a good idea to keep .po files for many languages.
 A translation project of the org-mode manual for Japanese is still
 working,
 which is based on a .po file.

Yes, I remember that one.

 If we want, we can use a translation system like Pootle.

Jason, what do you think of having http://translate.orgmode.org
offering an access point for translating the Org Guide ?

How to automate this workflow?

1. latest orgguide.texi (from master)
2. = orgguide.texi.po
3. = feed the Pootle instance with it
4. = process orgguide.ja/es.po to .texi and .pdf

Thanks for any feedback,

PS: I'm using http://translate.sugarlabs.org, a Pootle instance.
Maybe the maintainer of http://t.sl.o can help at some point.

-- 
 Bastien



Re: [O] [PATCH] Caching latex preview images

2012-12-28 Thread Bastien
Hi Abdó,

Abdó Roig-Maranges abdo.r...@gmail.com writes:

 Org mode lost the ability to reuse already generated latex preview
 images in commit 27101a3e0ee7. Now it just regenerates all of them every
 time.

 I don't see a reason for removing this feature (am I missing
 something?), so here is a little patch reintroducing that feature. I'm
 also mailing the author of that commit.

Applied in master, thanks!

-- 
 Bastien



Re: [O] Bug: with option hidestars to be hidden stars are on white backround on block terminal [7.9.2 (release_7.9.2-882-gf47a71 @ /home/grfz/src/org-mode/lisp/)]

2012-12-28 Thread Bastien
Achim Gratz strom...@nexgo.de writes:

 I vote for a reversion of that patch until
 this behaviour has been analysed in some detail.

Done, thanks.

-- 
 Bastien



Re: [O] Bugs in org-cycle-internal-local?

2012-12-28 Thread Bastien
Hi Rémi,

Rémi Vanicat vani...@debian.org writes:

 This seem to do it

Yes it does, but I implemented the fix another way.

I've taken the time to double-check the fix does not
slow down org-cycle, which is the main concern when
changing org-cycle-internal-* functions.

Thanks,

-- 
 Bastien



Re: [O] Booktabs in new LaTeX exporter

2012-12-28 Thread RCY
Hi Tom,
Thanks for your patience. I did finally figure out what I was doing wrong.
I was using org-export-as-latex-to-buffer (which uses the default exporter)
instead of org-e-latex-export-as-latex or org-e-latex-export-to-pdf.
However, I am still unable to set something like ':align rr'  using
org-e-export-as-html; it defaults to left alignment (the latex export works
fine).

One of the reasons I am trying out the new exporter is to be able to use
booktabs and hopefully the threeparttable package which makes inclusion of
footnotes convenient (I prefer ctable but this probably requires a
different approach as it is implemented as a command).
Have you tried to use either of these packages?
Thanks.

On Fri, Dec 28, 2012 at 12:27 PM, Thomas S. Dye t...@tsdye.com wrote:

 Aloha RCY,

 Here is a (too long) working example that shows how to pass attributes.
 See especially :align, where you've passed a symbol instead of a string.
 Note that the new exporter is still in contrib and that at this stage in
 its life is documented in the code and in some messages and
 announcements that Nicolas Goaziou sent to the mailing list. It is still
 necessary to refer to these scattered sources to learn about the new
 exporter.




Re: [O] Fontification in Org tables

2012-12-28 Thread Bastien
Hi François,

François Pinard pin...@iro.umontreal.ca writes:

 (defun fp-fontify-fixme ()
   (font-lock-add-keywords
nil '((\\FIXME\\ 0 font-lock-warning-face t

Use this instead:

(defun fp-fontify-fixme ()
  (font-lock-add-keywords
   nil '((\\FIXME\\ 0 font-lock-warning-face t)) t))

HTH,

-- 
 Bastien



Re: [O] Fontification in Org tables

2012-12-28 Thread Jambunathan K
François Pinard pin...@iro.umontreal.ca writes:

 Hi, Org people.

 Let me report an old problem of mine about missing fontification in Org
 tables.  In my .emacs file, I have:


 (defun fp-fontify-fixme ()
   (font-lock-add-keywords
nil '((\\FIXME\\ 0 font-lock-warning-face t

 (let ((hooks '(c-mode-common-hook change-log-mode-hook
cperl-mode-hook css-mode-hook emacs-lisp-mode-hook
html-mode-hook latex-mode-hook lisp-mode-hook
makefile-mode-hook message-mode-hook org-mode-hook
php-mode-hook python-mode-hook sh-mode-hook
shell-mode-hook ssh-config-mode-hook)))
   (while hooks
 (add-hook (car hooks) 'fp-fontify-fixme)
 (setq hooks (cdr hooks


 This works nicely in Org file, /except/ within Org tables.  Would
 someone be kind enough to give me a magical recipe to solve it? :-)

1. Visit Org file

C-x C-f file.org RET

2. Turn on Hi-lock mode

M-x hi-lock-mode RET

3. Highlight FIXME lines

C-x w h FIXME RET

4. Save highlighted regexps right in to the buffer

C-x w b 

,
| # Hi-lock: ((FIXME (0 (quote hi-lock-1) t)))
`

5. Revisit the Org file

C-x C-v file.org

6. Turn on Hi-lock mode

M-x hi-lock-mode RET

7. Highlight custom regexps

C-x w i

 François







-- 



Re: [O] Booktabs in new LaTeX exporter

2012-12-28 Thread Thomas S. Dye
I think the :align attribute expects a string instead of a symbol, so
:align rr is probably what you want.

I don't know about the new html exporter yet, but I'd be surprised if it
looks at LaTeX attributes.  You might want to experiment with alignment
cookies in the table to see if they do what you want:

http://orgmode.org/manual/Column-width-and-alignment.html#Column-width-and-alignment

I haven't used threeparttable or ctable.  Org footnotes work inside
tables, if you want the note to appear outside the table.

Typesetting tables is hard.  Let the list know if you get Org to work
with either of these packages.

All the best,
Tom

RCY re...@yahoo.com writes:

 Hi Tom,
 Thanks for your patience. I did finally figure out what I was doing wrong.
 I was using org-export-as-latex-to-buffer (which uses the default exporter)
 instead of org-e-latex-export-as-latex or org-e-latex-export-to-pdf.
 However, I am still unable to set something like ':align rr'  using
 org-e-export-as-html; it defaults to left alignment (the latex export works
 fine).

 One of the reasons I am trying out the new exporter is to be able to use
 booktabs and hopefully the threeparttable package which makes inclusion of
 footnotes convenient (I prefer ctable but this probably requires a
 different approach as it is implemented as a command).
 Have you tried to use either of these packages?
 Thanks.

 On Fri, Dec 28, 2012 at 12:27 PM, Thomas S. Dye t...@tsdye.com wrote:

 Aloha RCY,

 Here is a (too long) working example that shows how to pass attributes.
 See especially :align, where you've passed a symbol instead of a string.
 Note that the new exporter is still in contrib and that at this stage in
 its life is documented in the code and in some messages and
 announcements that Nicolas Goaziou sent to the mailing list. It is still
 necessary to refer to these scattered sources to learn about the new
 exporter.


 Hi Tom, 

 Thanks for your patience. I did finally figure out what I was doing
 wrong. I was using org-export-as-latex-to-buffer (which uses the
 default exporter) instead of org-e-latex-export-as-latex or
 org-e-latex-export-to-pdf. However, I am still unable to set something
 like ':align rr'  using org-e-export-as-html; it defaults to left
 alignment (the latex export works fine).

 One of the reasons I am trying out the new exporter is to be able to
 use booktabs and hopefully the threeparttable package which makes
 inclusion of footnotes convenient (I prefer ctable but this probably
 requires a different approach as it is implemented as a command). 
 Have you tried to use either of these packages?
 Thanks.

 On Fri, Dec 28, 2012 at 12:27 PM, Thomas S. Dye t...@tsdye.com wrote:

 Aloha RCY,
 
 Here is a (too long) working example that shows how to pass
 attributes.
 See especially :align, where you've passed a symbol instead of a
 string.
 Note that the new exporter is still in contrib and that at this
 stage in
 its life is documented in the code and in some messages and
 announcements that Nicolas Goaziou sent to the mailing list. It is
 still
 necessary to refer to these scattered sources to learn about the
 new
 exporter.
 
 

-- 
T.S. Dye  Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com



[O] [BUG] [contrib/org-koma-letter.el] #+DATE and #+TO_ADDRESS picked up from outside the current subtree

2012-12-28 Thread Viktor Rosenfeld
Hi,

I've configured the scrlttr2 exporter found in
contrib/lisp/org-koma-letter.el to write letters directly in org-mode.
I'm very happy with the results, but I've noticed the following bug: If
there are multiple letters defined in an org-file, the contents of every
#+DATE and #+TO_ADDRESS field will be picked up, even if the export is
restricted to the current subtree.

In the attached file, if you export the first letter with 3 k k from the
export dispatch menu, the address will read

   Max Mustermann 
   Musterstraße 1 
   12345 Musterstadt Moritz Mustermann
   Musterallee 10 
   54321 Musterstadt

and the date will be set to December 28 from the second letter.

Regards,
Viktor

* Letter 1

#+AUTHOR: Viktor Rosenfeld
#+DATE: 1. Dezember 2012

#+LATEX_CLASS: my-letter

#+TO_ADDRESS: Max Mustermann\\
#+TO_ADDRESS: Musterstraße 1\\
#+TO_ADDRESS: 12345 Musterstadt

ich möchte mich auf diesem Wege bei ihrem Kollegen mit der
Dienstnummer 12055 bedanken. Ich hatte am 2. September 2012 meine
Brieftasche im Treptower Park verloren. Sie wurde später bei der
Polizei abgegeben und der Polizist brachte sie mir nach Hause. Ich
fand das überaus freundlich und hilfsbereit.


* Letter 2

#+AUTHOR: Viktor Rosenfeld
#+DATE: 28. Dezember 2012

#+LATEX_CLASS: my-letter

#+TO_ADDRESS: Moritz Mustermann\\
#+TO_ADDRESS: Musterallee 10\\
#+TO_ADDRESS: 54321 Musterstadt

ich möchte mich auf diesem Wege bei ihrem Kollegen mit der
Dienstnummer 12055 bedanken. Ich hatte am 2. September 2012 meine
Brieftasche im Treptower Park verloren. Sie wurde später bei der
Polizei abgegeben und der Polizist brachte sie mir nach Hause. Ich
fand das überaus freundlich und hilfsbereit.


[O] [PATCH] [contrib/org-koma-letter.el] Configurable subject title and place and signature bugfix

2012-12-28 Thread Viktor Rosenfeld
Hi,

the attached patch adds the following options to the scrlttr2 exporter:

- #+PLACE, or org-koma-letter-place: the place before the date,
  e.g., Berlin, 28. Dezember 2012; the place is only typeset if this
  variable is defined
- #+SUBJECT_TITLE, or org-koma-letter-subject-title: the subject keyword
  on the subject line, e.g., the German Betreff

It also fixes the behavior if no signature is defined, i.e., it uses the
KOMA variable fromname as described in the documentation.

Cheers,
Viktor
diff --git a/contrib/lisp/org-koma-letter.el b/contrib/lisp/org-koma-letter.el
index 58714d2..3094171 100644
--- a/contrib/lisp/org-koma-letter.el
+++ b/contrib/lisp/org-koma-letter.el
@@ -36,7 +36,9 @@
 ;; `org-koma-letter-class-option-file'), OPENING (see
 ;; `org-koma-letter-opening'), PHONE_NUMBER (see
 ;; `org-koma-letter-phone-number'), SIGNATURE (see
-;; `org-koma-letter-signature') and TO_ADDRESS.
+;; `org-koma-letter-signature'), SUBJECT_TITLE (see
+;; `org-koma-letter-subject-title'), PLACE (see
+;; `org-koma-letter-place'), and TO_ADDRESS.
 ;;
 ;; You will need to add an appropriate association in
 ;; `org-e-latex-classes' in order to use the KOMA Scrlttr2 class.  For
@@ -106,6 +108,16 @@
   :group 'org-export-koma-letter
   :type 'string)
 
+(defcustom org-koma-letter-subject-title 
Subject\\usekomavar{subjectseparator}
+  String used as the title for the subject.
+  :group 'org-export-koma-letter
+  :type 'string)
+
+(defcustom org-koma-letter-place nil
+  Sender's location, as a string.
+  :group 'org-export-koma-letter
+  :type 'string)
+
 
 ;;; Define Back-End
 
@@ -116,7 +128,9 @@
(:lco LCO nil org-koma-letter-class-option-file)
(:opening OPENING nil org-koma-letter-opening)
(:phone-number PHONE_NUMBER nil org-koma-letter-phone-number)
-   (:signature SIGNATURE nil nil newline)
+   (:signature SIGNATURE nil org-koma-letter-signature newline)
+   (:subject-title SUBJECT_TITLE nil org-koma-letter-subject-title)
+   (:place PLACE nil org-koma-letter-place)
(:to-address TO_ADDRESS nil nil newline))
   :translate-alist ((export-block . org-koma-letter-export-block)
 (export-snippet . org-koma-letter-export-snippet)
@@ -205,14 +219,18 @@ holding export options.
(format \\setkomavar{fromemail}{%s}\n
(org-export-data (plist-get info :email) info))
(format \\setkomavar{fromphone}{%s}\n (plist-get info :phone-number))
-   ;; Date.
+   ;; Place
+   (let ((place (plist-get info :place)))
+ (when place
+  (format \\setkomavar{place}{%s}\n place)))
+   ;; Date
(format \\date{%s}\n (org-export-data (plist-get info :date) info))
;; Letter Class Option File
(format \\LoadLetterOption{%s}\n (plist-get info :lco))
;; Letter start.
\\begin{document}\n\n
-   (format \\setkomavar{subject}{%s}\n\n
-   (org-export-data (plist-get info :title) info))
+   (format \\setkomavar{subject}[%s]{%s}\n\n
+   (plist-get info :subject-title) (org-export-data (plist-get info 
:title) info))
(format \\begin{letter}{%%\n%s}\n\n (or (plist-get info :to-address) no 
address given))
;; Opening.
(format \\opening{%s}\n\n (plist-get info :opening))


Re: [O] Booktabs in new LaTeX exporter

2012-12-28 Thread RCY
Hi Tom,
 I hacked together a preliminary solution that uses the booktabs and
threeparttable (for footnotes) packages,  based on the suggestion in
section 13.2 of http://orgmode.org/worg/org-tutorials/org-latex-export.html
It seems to do OK in a simple example, and I will test it some more. It
does not export to html.
Thanks for your help.

#+LATEX_CLASS: article
#+latex_header: \usepackage{booktabs,tabularx,threeparttable}

* noexport   :noexport:
#+tblname: test-table
   | L | R$^1$ | X$^2$ |
   |---+---+---|
   | A | B | C |
   | D | E | F |
   | I | J | K |


* do export
#+name: tabularx-export
#+begin_src latex :exports results :results latex :noweb yes
  \begin{table}[htb!]
  \centering
  \begin{threeparttable}[b]
  \footnotesize
  \caption{A table to test booktabs}
  \label{tab:test-table}
booktabs(table=test-table,align=lrX,env=tabularx,width=0.5\\textwidth)

  \begin{tablenotes}
\item [1] A table note ...
\item [2] A second table note ...
  \end{tablenotes}
\end{threeparttable}
\end{table}
#+end_src


On Fri, Dec 28, 2012 at 2:06 PM, Thomas S. Dye t...@tsdye.com wrote:

 I think the :align attribute expects a string instead of a symbol, so
 :align rr is probably what you want.

 I don't know about the new html exporter yet, but I'd be surprised if it
 looks at LaTeX attributes.  You might want to experiment with alignment
 cookies in the table to see if they do what you want:


 http://orgmode.org/manual/Column-width-and-alignment.html#Column-width-and-alignment

 I haven't used threeparttable or ctable.  Org footnotes work inside
 tables, if you want the note to appear outside the table.

 Typesetting tables is hard.  Let the list know if you get Org to work
 with either of these packages.

 All the best,
 Tom




Re: [O] org reserved and special words in drawers

2012-12-28 Thread Tony Day
 Bastien b...@altern.org writes:

 In other words, we could then /apply/ org-mode
 on a document rather than transforming a document into an org
 document.

 What we may think about is a Org readable exchange format (oref?),
 which would take the output of Nicolas' parser, export it in Org-mode
 using some specific properties like TAGS: TODO: etc.

I'm trying to get my head around what a 'readable exchange format' is.

org-export.el already exports as an elisp list:

M-: (setq my-org-buffer-as-elisp (org-element-parse-buffer)) RTE

... and it's pretty readable :-)

So the basic idea is that you would export from an org file to an org file but 
one with
a /different/ and maybe standardized format (highly standardized is the
oref gist?).  

For example, anything that
is content passes through as text and everything else (org guff) is put
into a :PROPERTIES: :END: wrapper?



 Maybe you can start working on a org-e-oref exporter, storying *all*
 metadata into properties? ... Don't know where it will lead, but who
 knows?

A mission truly beyond my abilities, but how could I say no to such a
meta org-mode process :-)

Is the right place to start basically turning (org-element-parse-buffer)
output back into an org buffer?  Is this best thought of as another backend? I
can't quite see why org-e-oref.el and not just org-e-org.el? 



Re: [O] Bug: with option hidestars to be hidden stars are on white backround on block terminal [7.9.2 (release_7.9.2-882-gf47a71 @ /home/grfz/src/org-mode/lisp/)]

2012-12-28 Thread Gregor Zattler
Hi Achim, Bastien, org-developers,
* Achim Gratz strom...@nexgo.de [28. Dec. 2012]:
 Am 28.12.2012 14:36, schrieb Gregor Zattler:
I use option `hidestars' and Emacs/org-mode on a terminal with
black background.  Since a few days the superflous stars are not
hidden any more but shown on a white background.  This makes them
stand out very much.
 
 I don't see how this change is related since it changes the
 foreground, not the background.  What do the following things return
 if you eval them in the org buffer (with M-: since they are not
 interactive):

I don't know if it's essential to this tests if the commit in
question is applied or not so I do this two times: 

first line is for 
Org-mode version 7.9.2 (release_7.9.2-890-g9cf680 @ 
/home/grfz/src/org-mode/lisp/)
(-- patch reverted; stars are hidden)
second line is for
Org-mode version 7.9.2 (release_7.9.2-877-ge6d8ed @ 
/home/grfz/src/org-mode/lisp/)
(-- with Bastiens patch, stars with white background)
 (face-background 'default nil 'default)
unspecified-bg
unspecified-bg
 (face-foreground 'default nil 'default)
unspecified-fg
unspecified-fg
 (face-background 'org-hide nil 'default)
unspecified-bg
unspecified-bg
 (face-foreground 'org-hide nil 'default)
black
unspecified-bg (yes: -bg)

This is on a customised rxvt-unicode with (among others) the
following command line options:  
-tn rxvt-unicode-256color -fg white -bg black
It's the same on uncustomised xterm.

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



Re: [O] C-c ^ for plain lists? Why not?

2012-12-28 Thread James Harkins
On Dec 29, 2012 1:40 AM, Bastien b...@altern.org wrote:
 
  1. C-c ^ f org-sort-list-by-checkbox-type
  2. This puts the done items at the top, which I didn't want, so... C-c
^ F org-
  sort-list-by-checkbox-type.
  3. Emacs goes into a tailspin (recovered by C-g).

 `org-list-get-item-end-before-blank' is meant to be used as an
 interactive function directly, not as a callback within `org-sort-list'.

I'm afraid this means rather little to me, and I haven't time now (in the
middle of end-of-semester grading) to dig in and find where
org-list-get-item-end-before-blank is being invoked from a function that
doesn't directly reference it.

Since it's published hack, probably this should be fixed and updated on
worg, or a note added to explain that you shouldn't use F with this
function for now.

hjh


Re: [O] Fontification in Org tables

2012-12-28 Thread François Pinard
Bastien b...@altern.org writes:

 (defun fp-fontify-fixme ()
   (font-lock-add-keywords
nil '((\\FIXME\\ 0 font-lock-warning-face t)) t))

 HTH,

IDHITAL = it did help indeed, thanks a lot! :-)

I had more fontification to do in some tables, and succeeded because of
your good hint.  Joy! :-)

François





[O] Trimming quotes

2012-12-28 Thread James Harkins
Just a reminder to be kind to list members who are receiving digests and TRIM 
QUOTED MATERIAL.

Recently: http://article.gmane.org/gmane.emacs.orgmode/63982

48 lines of new content vs 1123 lines of quotes, for a whopping signal-to-noise 
ratio of 4.27%. Scrolling isn't *that* much fun...

I realize subsequent posts in that thread were trimmed, so it may be just a one-
off oversight for these posters. But, it happens a lot, on several lists that I 
read, often enough that it's become a pet peeve.

Thanks.
hjh




Re: [O] Fontification in Org tables

2012-12-28 Thread François Pinard
Jambunathan K kjambunat...@gmail.com writes:

 2. Turn on Hi-lock mode

Wow, Jambunathan, thanks as well!  I was not aware of this mode, which
announces to be useful and handsome, especially when some often visited
files would benefit from some very specific highlighting.  How nice!

François



Re: [O] C-c ^ for plain lists? Why not?

2012-12-28 Thread Bastien
Hi James,

sorry, I copied the wrong function's name and my message was wrong.

What I meant is this: you need to call `org-sort-list-by-checkbox-type'
*directly* on the list you want to sort -- not after `C-c ^ f'.

`C-c ^ f org-sort-list-by-checkbox-type RET' will end up in loop because
org-sort-list-by-checkbox-type contains a call to org-sort.

I hope this clarifies things a bit -- I updated the hack on Worg:
http://orgmode.org/worg/org-hacks.html#sec-1-3-9

Best,

-- 
 Bastien



Re: [O] store-link behavior

2012-12-28 Thread Bastien
Hi Thomas,

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

 I pulled and tried M-x org-store-link RET at different points on a
 #+name: line, but got the headline above every time

It should be fixed now.  Note that I had the correct link but with 
the headline used as the name, so maybe your problem is different.

Can you pull from master and tell me if you still have this error?

Thanks,

-- 
 Bastien