Re: [O] org-drill installation problem

2012-12-13 Thread Sanjib Sikder
Dear Yagnesh,

I installed the emacs-snapshot manually as was instructed on the site of
ppa.

There is no contrib directory in my .emacs.d folder.

Thanks

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Thu, Dec 13, 2012 at 11:43 AM, Yagnesh Raghava Yakkala 
h...@yagnesh.orgwrote:


 Hello Sanjib,

 On 12月 13 2012, Sanjib Sikder sanjibju2...@gmail.com wrote:

  Dear Yagnesh,
 
  I receive the newsletters regularly with heading for example,
  Emacs-orgmode Digest, Vol 82, Issue 18.

 I think you can change to regular mails instead of digested ones.

 - log in the GNU mailman
   https://lists.gnu.org/mailman/options/emacs-orgmode
 - Look for the section marked Set Digest Mode.
   Set it to off

 - (optionally) you can filter all org list in your gmail so that you can
 avoid
   clutter in your inbox.

  Can you please guide me in adding that contrib/lisp path please ? As i
 do not
  also know how to reply to Anon's message as that reply is not there in
 my mail
  box.

 how did you install org mode in the first place.?

 contrib/lisp is a folder with in the org mode directory

 For example in my .emacs[1] I have following setting to add the contrib
 directory
 to emacs load path.

 --8---cut here---start-8---
 (add-to-list 'load-path
  (expand-file-name ~/.emacs.d/el-get/org-mode/contrib/lisp))
 --8---cut here---end---8---

 correct the path name according to your directory structure.

 Thanks.,

 Footnotes:
 [1] you can study my .emacs (~/.emacs.d) at
 https://github.com/yyr/emacs.d

 --
 ఎందరో మహానుభావులు అందరికి వందనములు
 YYR



Re: [O] org-drill installation problem

2012-12-13 Thread Yagnesh Raghava Yakkala

Hello Sanjib,

On 12月 13 2012, Sanjib Sikder sanjibju2...@gmail.com wrote:

 Dear Yagnesh,

 I installed the emacs-snapshot manually as was instructed on the site of ppa.

 There is no contrib directory in my .emacs.d folder.

The contrib directory should be in org-mode directory *not* in .emacs.d
folder.

For eg. if you download org-mode 7.9.2 from http://orgmode.org/org-7.9.2.zip 
and unzip it you should see contrib folder in there.


Thanks.,
-- 
ఎందరో మహానుభావులు అందరికి వందనములు
YYR


Re: [O] Bug: non-interactive org-export-region-as... modifies kill-ring [7.9.2 (release_7.9.2-103-g488eea)]

2012-12-13 Thread Christopher Schmidt
Bastien b...@altern.org writes:
 Christopher Schmidt christop...@ch.ristopher.com writes:

 Title says it all.  For example evaling (org-export-region-as-latex
 (point-min) (point-max) nil (get-buffer-create res)) via M-: in an
 org-mode buffer will put the export content in the kill ring.  That's
 not nice.  I think only the interactive call should do that.

 There is org-export-copy-to-kill-ring.

 I added a new choice 'if-interactive which is now the default:
 exported text will only be pushed to the kill ring when export
 is done interactively.  You can always set it to nil if you
 want.

Thank you very much.

Christopher



Re: [O] org-sync doesn't work with recent org-element.el

2012-12-13 Thread Bastien
Aurélien Aptel aurelien.ap...@gmail.com writes:

 I have not given up on org-sync but I have too many things going on
 right now. I know it's not the first time I say this but I will get
 back to it eventually.

All right, thanks!

-- 
 Bastien



Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Bastien
Hi Bernt,

thanks for chasing this down.  I tried to install emacs-23.2 but 
it does not compile on my machine.

Does this patch fixes the problem for you?

My guess is that (copy-marker nil t) returns an error on emacs-23.2.
It's a weird sexp anyway, make-marker and set-marker-insertion-type 
are cleaner IMO.

Thanks for testing,

diff --git a/lisp/org-src.el b/lisp/org-src.el
index f91da19..d2c3e19 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -228,12 +228,11 @@ buffer.
 	 (full-info (org-babel-get-src-block-info 'light))
 	 (org-mode-p (derived-mode-p 'org-mode)) ;; derived-mode-p is reflexive
 	 (beg (make-marker))
-	 ;; Move marker with inserted text for case when src block is
-	 ;; just one empty line, i.e. beg == end.
-	 (end (copy-marker nil t))
+	 (end (make-marker))
 	 (allow-write-back-p (null code))
 	 block-nindent total-nindent ovl lang lang-f single lfmt buffer msg
 	 begline markline markcol line col transmitted-variables)
+(set-marker-insertion-type end t)
 (if (not info)
 	nil
   (setq beg (move-marker beg (nth 0 info))

-- 
 Bastien


Re: [O] Org css

2012-12-13 Thread Ian Barton

On 10/12/12 12:17, Vladimir Lomov wrote:

Hi,

** flav [2012-12-10 13:03:52 +0100]:


Hello,
I can't find out the css of the orgmode web site.
Is it possible to get it ?
Where ?
Thanks


wget http://orgmode.org/org.css



A more generic solution, which should work for any web site, is to 
display the page source in your browser. For most browsers this is 
Ctrl-U. Find the link for the style sheet(s) and click on it. In most 
browsers this will display the style sheet as plain text, which you can 
then save as a text file.


Ian.





Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Bernt Hansen
Nick Dokos nicholas.do...@hp.com writes:

 Bernt Hansen be...@norang.ca wrote:

 git bisect identifies the following commit:
 
 206257aa7eb83a0a62f297e7cf0e3a7c32ff6f05 is the first bad commit
 commit 206257aa7eb83a0a62f297e7cf0e3a7c32ff6f05
 Author: Le Wang le.w...@agworld.com.au
 Date:   Sun Nov 18 13:39:51 2012 +0800

snip

 
 Reverting this commit fixes it for me.
 

 FWIW, I cannot reproduce this and I do have the commit you fingered in my
 tree. Could it be the emacs version that makes a difference here?

 Mine is

 GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.4) of 
 2012-09-21

 Nick

Possibly, but this happens for me at work as well which is Windows 23.3
I think.

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11
on raven, modified by Debian

Bernt



Re: [O] [new exporter] ASCII export, single newline

2012-12-13 Thread Nicolas Goaziou
David Rogers davidandrewrog...@gmail.com writes:

 David Rogers davidandrewrog...@gmail.com writes:

 My plain-text notes, however, often contain single newlines, which I'd
 like to retain. The new ASCII exporter converts them to spaces. If I put
 double newlines in the original, then the exporter doesn't convert
 anything, and leaves them double. I'm glad to format my originals in any
 way that works - my aim is only to get single newlines into the finished
 export. Is there an easy way to do that?

 IIUC, you want line breaks. I.e:

 Some line \\
 Some other line.

 Exporting the double backslash adds an extra blank line, which I don't
 want.

You have to update Org. I fixed it yesterday (shortly before answering
your message)

 If you want a line break on every line, use #+OPTIONS: \n:t

 This gave me exactly what I was looking for, thank you. My line breaks are
 preserved, but no new ones are added.

 (The old ASCII exporter preserved line breaks, without using any OPTIONS.)

The old ASCII exporter didn't format paragraphs properly.


Regards,

-- 
Nicolas Goaziou



Re: [O] export_file_name problem with new exporter

2012-12-13 Thread Nicolas Goaziou
Hello,

Alan Schmitt alan.schm...@polytechnique.org writes:

 I have #+EXPORT_FILE_NAME: ~/tmp/jsseccloud.tex in an org file, but
 when I export it (either to beamer or to latex), it's using the name of
 the file instead of the given file name.

 Am I doing something wrong here?

There is no #+EXPORT_FILE_NAME: keyword. But there is
an :EXPORT_FILE_NAME: node-property for subtree export. There could be
a #+FILE_NAME: keyword (much like :EXPORT_AUTHOR: and #+AUTHOR). Though,
it is too dangerous to my liking.

For example, publishing expects the output file to be generated in the
working directory. Using a different export path per file could lead to
much confusion.

Hence I'd rather not implement it.


Regards,

-- 
Nicolas Goaziou



Re: [O] org-capture vs. org-agenda-capture

2012-12-13 Thread Rene
Bastien bzg at altern.org writes:

 I guess M-x org-capture is enough here.

No big deal.

I'll just make use of 

%(org-insert-time-stamp nil t t nil nil nil)

instead of

%U

--
Rene




Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Bernt Hansen
Bernt Hansen be...@norang.ca writes:

 Nick Dokos nicholas.do...@hp.com writes:

 Bernt Hansen be...@norang.ca wrote:

 git bisect identifies the following commit:
 
 206257aa7eb83a0a62f297e7cf0e3a7c32ff6f05 is the first bad commit
 commit 206257aa7eb83a0a62f297e7cf0e3a7c32ff6f05
 Author: Le Wang le.w...@agworld.com.au
 Date:   Sun Nov 18 13:39:51 2012 +0800

 snip

 
 Reverting this commit fixes it for me.
 

 FWIW, I cannot reproduce this and I do have the commit you fingered in my
 tree. Could it be the emacs version that makes a difference here?

 Mine is

 GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.4) of 
 2012-09-21

 Nick

 Possibly, but this happens for me at work as well which is Windows 23.3
 I think.

For the record, this is my emacs version at work with the same symptoms.

GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO 

Thanks,
Bernt


 GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11
 on raven, modified by Debian

 Bernt



Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Bernt Hansen
Bastien b...@altern.org writes:

 Hi Bernt,

 thanks for chasing this down.  I tried to install emacs-23.2 but 
 it does not compile on my machine.

 Does this patch fixes the problem for you?

 My guess is that (copy-marker nil t) returns an error on emacs-23.2.
 It's a weird sexp anyway, make-marker and set-marker-insertion-type 
 are cleaner IMO.

 Thanks for testing,

Thanks,

I'll try this patch and report back later today.

Regards,
Bernt



Re: [O] export_file_name problem with new exporter

2012-12-13 Thread Alan Schmitt

Nicolas Goaziou writes:

 There is no #+EXPORT_FILE_NAME: keyword. But there is
 an :EXPORT_FILE_NAME: node-property for subtree export. There could be
 a #+FILE_NAME: keyword (much like :EXPORT_AUTHOR: and #+AUTHOR). Though,
 it is too dangerous to my liking.

 For example, publishing expects the output file to be generated in the
 working directory. Using a different export path per file could lead to
 much confusion.

 Hence I'd rather not implement it.

I understand it. What I actually would like is to be able to specify a
different working directory. Right now it defaults to the directory
where the org file is, but it's often not satisfactory (especially when
compilation creates additional files). Would this be difficult to add?

Thanks,

Alan



Re: [O] Error when editing source code with Cc '

2012-12-13 Thread Rainer M Krug
Solved - upgraded ESS from 12.04 to 12.09 and it is now working.

Thanks,

Rainer


On 13 December 2012 14:49, Rainer M Krug r.m.k...@gmail.com wrote:

 Hi

 when I want to edit an R source block, I get the following error, but the
 indirect buffer opens:

 org-mode fontification error [6 times]
 byte-code: Language mode `R-mode' fails with: hs-minor-mode

 But after this, Cc ' does not work anymore to close this buffer.

 It works for sh

 Ess is installed and is working.

 Any suggestions?

 Rainer



 Emacs  : GNU Emacs 24.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.13)
  of 2012-11-06 on dubnium, modified by Debian
 Package: Org-mode version 7.9.2 (release_7.9.2-695-g31d24a @
 /home/rkrug/.emacs.d/org-mode/lisp/)

 current state:
 ==
 (setq
  org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
 org-babel-execute-safely-maybe)
  org-export-latex-packages-alist '(( color) ( listings))
  org-src-fontify-natively t
  org-plantuml-jar-path /home/rkrug/jar/plantuml.jar
  org-export-kill-product-buffer-when-displayed t
  org-ellipsis 〖 ✎ 〗
  org-export-preprocess-before-selecting-backend-code-hook
 '(org-beamer-select-beamer-code)
  org-tab-first-hook '(org-hide-block-toggle-maybe
 org-src-native-tab-command-maybe
   org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
  org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
   org-cycle-hide-inline-tasks org-cycle-show-empty-lines
   org-optimize-window-after-visibility-change)
  org-agenda-before-write-hook '(org-agenda-add-entry-text)
  org-confirm-babel-evaluate nil
  org-speed-command-hook '(org-speed-command-default-hook
 org-babel-speed-command-hook)
  org-src-window-setup 'current-window
  org-babel-pre-tangle-hook '(save-buffer)
  org-occur-hook '(org-first-headline-recenter)
  org-structure-template-alist '((lua #+begin_src lua \n  ?\n#+end_src
  src lang=\lua\\n\n/src)
  (r #+begin_src R ?\n\n#+end_src src lang=\R\\n\n/src)
 (s #+BEGIN_SRC ?\n\n#+END_SRC src lang=\?\\n\n/src)
  (e #+BEGIN_EXAMPLE\n?\n#+END_EXAMPLE
  example\n?\n/example)
  (q #+BEGIN_QUOTE\n?\n#+END_QUOTE quote\n?\n/quote)
 (v #+BEGIN_VERSE\n?\n#+END_VERSE verse\n?\n/verse)
  (c #+BEGIN_CENTER\n?\n#+END_CENTER center\n?\n/center)
 (l #+BEGIN_LaTeX\n?\n#+END_LaTeX
  literal style=\latex\\n?\n/literal)
 (L #+LaTeX:  literal style=\latex\?/literal)
  (h #+BEGIN_HTML\n?\n#+END_HTML
  literal style=\html\\n?\n/literal)
  (H #+HTML:  literal style=\html\?/literal)
 (a #+BEGIN_ASCII\n?\n#+END_ASCII) (A #+ASCII: )
  (i #+INDEX: ? #+INDEX: ?)
 (I #+INCLUDE: %file ? include file=%file markup=\?\))
  org-metaup-hook '(org-babel-load-in-session-maybe)
  org-confirm-elisp-link-function 'yes-or-no-p
  org-export-latex-format-toc-function 'org-export-latex-format-toc-default
  org-hide-leading-stars t
  org-export-preprocess-before-normalizing-links-hook
 '(org-remove-file-link-modifiers)
  org-ctrl-k-protect-subtree ask
  org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
  org-export-first-hook '(org-beamer-initialize-open-trackers)
  org-mode-hook '((lambda nil (local-set-key  \357 (quote
 org-mime-org-buffer-htmlize)))
  #[nil \300\301\302\303\304$\207
[org-add-hook change-major-mode-hook org-show-block-all append local]
 5]
  #[nil \300\301\302\303\304$\207
[org-add-hook change-major-mode-hook org-babel-show-result-all append
 local] 5]
  org-babel-result-hide-spec org-babel-hide-all-hashes)
  org-directory ~/Documents/orgfiles
  org-from-is-user-regexp \\Rainer M Krug\\
  org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
org-beamer-auto-fragile-frames
org-beamer-place-default-actions-for-lists)
  org-export-latex-listings t
  org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
  org-metadown-hook '(org-babel-pop-to-session-maybe)
  org-startup-indented t
  org-src-mode-hook '(org-src-babel-configure-edit-buffer
 org-src-mode-configure-edit-buffer)
  org-after-todo-state-change-hook '(org-clock-out-if-current)
  org-babel-tangle-lang-exts '((latex . tex) (emacs-lisp . el))
  org-confirm-shell-link-function 'y-or-n-p
  )

 --
 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
 Biology, UCT), Dipl. Phys. (Germany)

 Centre of Excellence for Invasion Biology
 Stellenbosch University
 South Africa

 Tel :   +33 - (0)9 53 10 27 44
 Cell:   +33 - (0)6 85 62 59 98
 Fax (F):   +33 - (0)9 58 10 27 44

 Fax (D):+49 - (0)3 21 21 25 22 44

 email:  rai...@krugs.de

 Skype:  RMkrug




-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


Re: [O] export_file_name problem with new exporter

2012-12-13 Thread Alan Schmitt

Nicolas Goaziou writes:

 Alan Schmitt alan.schm...@polytechnique.org writes:

 I understand it. What I actually would like is to be able to specify a
 different working directory. Right now it defaults to the directory
 where the org file is, but it's often not satisfactory (especially when
 compilation creates additional files). Would this be difficult to add?

 That is the purpose of publishing, as discussed in this thread.

Not really: looking at the code, publishing does all its work in the
current directory, then moves the final file to its place (leaving all
the mess compilation made behind). I understand the reason for such a
thing: publishing should only publish the final result.

In other words, I see three places of interest:
- where the org file is
- where export and compilation occurs
- where the final result is put

Publishing lets us deal with the last one, but I don't think there is a
way to distinguish between the first two.

 Btw, please commit your changes to org-e-beamer.el when you have
 validated your FSF papers.

By validating, do you mean that I have received them back signed from
the FSF? (I signed and sent them a few weeks ago, still waiting to get
them back ...)

Alan



Re: [O] [PATCH] org-edit-special too much space if starting with empty block

2012-12-13 Thread Le Wang
On Fri, Nov 30, 2012 at 9:23 PM, Nicolas Goaziou n.goaz...@gmail.com wrote:
 I've pushed your changes. Thank you.

 Btw, have you signed the FSF papers for larger patches?


Thanks Nicolas.  I have signed assignment papers for Emacs.


-- 
Le



Re: [O] [PATCH] org-edit-special too much space if starting with empty block

2012-12-13 Thread Nicolas Goaziou
Le Wang l26w...@gmail.com writes:

 Thanks Nicolas.  I have signed assignment papers for Emacs.

Great. I have added you to the list of contributors, in Worg.


Regards,

-- 
Nicolas Goaziou



[O] Contexts?

2012-12-13 Thread Nathan Neff
Hi,

I'd like to know if there's a way to tell Emacs or org-mode
to be in a certain context, where a certain directory is home depending on
what context I'm working in currently.

For example, if I'm giving a presentation, I would like org-mode/Emacs/ido-mode
to have ~/presentation as a base/starting directory and only show
files from there
when I switch files using Ido (I have files named according to
customers, etc, and don't
want those to appear when I'm giving a presentation).

I realize this is more of an Emacs question, but what do other people do to have
perhaps a work mode for Emacs and a personal mode for Emacs?

Thanks,
--Nate



Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Le Wang
On Thu, Dec 13, 2012 at 9:42 PM, Bernt Hansen be...@norang.ca wrote:
 I'll try this patch and report back later today.

That commit was from me, and I did not test against Emacs  24.2.  I
will submit another patch to add some tests.  Do tests get
automatically run on some kind of Travis CI setup?

In the mean time, I think my included patch (logic identically to
Bastien's) is more lisp-ly.


-- 
Le


org-src.el.le.patch
Description: Binary data


Re: [O] export_file_name problem with new exporter

2012-12-13 Thread Nicolas Goaziou
Alan Schmitt alan.schm...@polytechnique.org writes:

 I understand it. What I actually would like is to be able to specify a
 different working directory. Right now it defaults to the directory
 where the org file is, but it's often not satisfactory (especially when
 compilation creates additional files). Would this be difficult to add?

That is the purpose of publishing, as discussed in this thread.

Btw, please commit your changes to org-e-beamer.el when you have
validated your FSF papers.


Regards,

-- 
Nicolas Goaziou



[O] [ANN] Asynchronous export for new exporter

2012-12-13 Thread Nicolas Goaziou
Hello,

New (experimental) exporter has now support for asynchronous export.
Every type of export is supported (subtree, to a buffer, visible part
only...).

When produced, results are listed in the Export Stack (they will never
make a buffer pop or call an external application). The stack can be
accessed from the dispatcher interface, by calling dispatcher with
a double C-u argument, or directly with `org-export-stack'.

From there, output results can be viewed or removed from the stack.
Removing a result from the stack only removes it from view. No file is
deleted, no buffer is killed.

You may want to tweak `org-export-in-background' and
`org-export-async-init-file'. You can also toggle
`org-export-async-debug' for debugging purposes.

Feedback welcome.


Regards,

-- 
Nicolas Goaziou



Re: [O] [PATCH] org-edit-special too much space if starting with empty block

2012-12-13 Thread Bastien
Nicolas Goaziou n.goaz...@gmail.com writes:

 Le Wang l26w...@gmail.com writes:

 Thanks Nicolas.  I have signed assignment papers for Emacs.

 Great. I have added you to the list of contributors, in Worg.

Note: I did not received confirmation from the FSF yet.  
Le, did you receive it?   To be on the safe side, I try
to add people on this list only with the FSF copyright
clerk confirm the author status.  Just double-checking.

-- 
 Bastien



[O] Bug: Tags duplicated in *Org tags* selection dialog. [7.8.11]

2012-12-13 Thread Oleksandr Gavenko
With emacs -Q and:

  (setq org-tag-persistent-alist
'(
  (ADMIN . ?a)
  (BLOG . ?b)
  (DEVEL . ?d)
  (GET . ?g)
  (LIFE . ?l)
  (MAIL . ?m)
  (JOB . ?j)
  (QUESTION . ?q)
  (PROJECT . ?p)
  (READ . ?r)
  (SEE . ?s)
  ))

if I call *Org tags* selection dialog (by C-c C-q, org-set-tags-command) I see
repeated entries from org-tag-persistent-alist.

Currently I switch to org-tag-alist variable which work fine for me (but
semantically not same).

Emacs  : GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-09-09 on trouble, modified by Debian
Package: Org-mode version 7.8.11

-- 
Best regards!



Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Bastien
Hi Le,

Le Wang l26w...@gmail.com writes:

 On Thu, Dec 13, 2012 at 9:42 PM, Bernt Hansen be...@norang.ca wrote:
 I'll try this patch and report back later today.

 That commit was from me, and I did not test against Emacs  24.2.  I
 will submit another patch to add some tests.  Do tests get
 automatically run on some kind of Travis CI setup?

No we don't.  If anyone knows how to set this up for our needs,
please share.

 In the mean time, I think my included patch (logic identically to
 Bastien's) is more lisp-ly.

Whatever works -- we first need to make sure this fixes it and try 
to understand why ;)

Thanks for taking care of this,

-- 
 Bastien



Re: [O] PDF docs from Org-mode: not valid PDF?

2012-12-13 Thread Bastien
Hi Michael,

Michael Hannon jm_han...@yahoo.com writes:

 Greetings.  The woman that runs our research group complains that she is
 unable to print PDF documents that a couple of us in the group send her, and
 that the two of us are the only source of such troublesome documents.

 It occurred to me that the two of us are the only ones in the group that use
 Emacs Org-mode to produce PDF documents.

pdftex and other usual tools to convert from .tex to .pdf 
do not validate PDF/A, as Karl said.

Here are some information on how to make a .tex that will
validate:

http://support.river-valley.com/wiki/index.php?title=Generating_PDF/A_compliant_PDFs_from_pdftex

I'm not in favor of importing this machinery into our LaTeX
exporter.

Hope this helps anyway,

-- 
 Bastien



Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Bernt Hansen
Bastien b...@altern.org writes:

 Hi Bernt,

 thanks for chasing this down.  I tried to install emacs-23.2 but 
 it does not compile on my machine.

 Does this patch fixes the problem for you?

 My guess is that (copy-marker nil t) returns an error on emacs-23.2.
 It's a weird sexp anyway, make-marker and set-marker-insertion-type 
 are cleaner IMO.

 Thanks for testing,


Your patch fixes it for me on both versions (linux 23.2.1, windows
23.3.1)

Thanks!

Regards,
Bernt



Re: [O] [PATCH] org-edit-special too much space if starting with empty block

2012-12-13 Thread Le Wang
On Thu, Dec 13, 2012 at 11:15 PM, Bastien b...@altern.org wrote:
 Nicolas Goaziou n.goaz...@gmail.com writes:

 Le Wang l26w...@gmail.com writes:

 Thanks Nicolas.  I have signed assignment papers for Emacs.

 Great. I have added you to the list of contributors, in Worg.

 Note: I did not received confirmation from the FSF yet.
 Le, did you receive it?   To be on the safe side, I try
 to add people on this list only with the FSF copyright
 clerk confirm the author status.  Just double-checking.

I'm not sure how to check, but I signed it and sent it back a while
ago and got a confirmation e-mail from Donald on Aug 9.  AFAIK
everything is sorted.


-- 
Le



[O] org-export-docbook-xsl-fo-proc-command

2012-12-13 Thread trammi
How to set org-export-docbook-xslt-proc-command for DocBook at org-docbook.el 
on 
Win32 (example)?




Re: [O] [PATCH] org-edit-special too much space if starting with empty block

2012-12-13 Thread Bastien
Le Wang l26w...@gmail.com writes:

 I'm not sure how to check, but I signed it and sent it back a while
 ago and got a confirmation e-mail from Donald on Aug 9.  AFAIK
 everything is sorted.

Okay, thanks for confirming!

-- 
 Bastien



Re: [O] org-export-docbook-xsl-fo-proc-command

2012-12-13 Thread Bastien
trammi milan.tramoslja...@gmx.de writes:

 How to set org-export-docbook-xslt-proc-command for DocBook at org-docbook.el 
 on 
 Win32 (example)?

Did you check C-h v org-export-docbook-xslt-proc-command RET ?

-- 
 Bastien



Re: [O] org-pretty-entities and symbols like M_x^y

2012-12-13 Thread Bastien
Hi Laurent,

Laurent Hoeltgen hoeltg...@gmail.com writes:

 I was wondering if there is a way to fontify expressions like M_x^y
 correctly with org-pretty-entities.

M_x ^y is the only (non fully satisfactory) solution I can think of.

-- 
 Bastien



Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Bastien
Hi Bernt,

Bernt Hansen be...@norang.ca writes:

 Your patch fixes it for me on both versions (linux 23.2.1, windows
 23.3.1)

 Thanks!

I pushed the patch, thanks for confirming this.

PS: Le, I used my version, shorter, and not that unlispy IMO.
But thanks for the patch anyway!

-- 
 Bastien



Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Le Wang
On Thu, Dec 13, 2012 at 11:17 PM, Bastien b...@altern.org wrote:
 Hi Le,

 No we don't.  If anyone knows how to set this up for our needs,
 please share.

I've only done this for projects hosted on github, others may have
more experience.  But having a continuous integration service is
definitely helpful.  For example, there were 10 failures when I ran
tests against master just now:

10 unexpected results:
   FAILED  ob-exp/exports-inline
   FAILED  ob-exp/noweb-strip-export-ensure-strips
   FAILED  test-ob/org-babel-remove-result--results-default
   FAILED  test-ob/org-babel-results-indented-wrap
   FAILED  test-org-babel/combining-scalar-and-raw-result-types
   FAILED  test-org-babel/inline-src-blocks
   FAILED  test-org-babel/inline-src_blk-default-results-replace-line-1
   FAILED  test-org-babel/just-one-results-block
   FAILED  test-org-babel/nested-code-block
   FAILED  test-org-babel/partial-nested-code-block

I haven't investigated further though.

 Whatever works -- we first need to make sure this fixes it and try
 to understand why ;)

I can confirm that copy-marker does not work as I've used it on Emacs 23.3.1.

 Thanks for taking care of this,

You're welcome.

I've attached 3 patches to fix this and another bug I found while writing tests.

-- 
Le


0001-don-t-use-copy-marker-nil-t-for-Emacs-23-compat.patch
Description: Binary data


0002-fix-org-edit-src-code-invoked-outside-src-block.patch
Description: Binary data


0003-add-tests-for-org-src-edit.patch
Description: Binary data


Re: [O] Contexts?

2012-12-13 Thread Bastien
Hi Nathan,

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

 I'd like to know if there's a way to tell Emacs or org-mode
 to be in a certain context, where a certain directory is home depending on
 what context I'm working in currently.

Maybe use M-x cd interactively or use different init files depending 
from the contexts?  Otherwise, maybe ido as an option for this, I don't
know.

-- 
 Bastien



Re: [O] Bug: Tags duplicated in *Org tags* selection dialog. [7.8.11]

2012-12-13 Thread Bastien
Hi Oleksandr,

Oleksandr Gavenko gaven...@gmail.com writes:

 With emacs -Q and:

   (setq org-tag-persistent-alist
 '(
   (ADMIN . ?a)
   (BLOG . ?b)
   (DEVEL . ?d)
   (GET . ?g)
   (LIFE . ?l)
   (MAIL . ?m)
   (JOB . ?j)
   (QUESTION . ?q)
   (PROJECT . ?p)
   (READ . ?r)
   (SEE . ?s)
   ))

 if I call *Org tags* selection dialog (by C-c C-q, org-set-tags-command) I see
 repeated entries from org-tag-persistent-alist.

(Not sure which tags are repeated.) 

I can't reproduce this with latest version of Org.  If you can upgrade, 
please do and report any problem here.

Thanks,

-- 
 Bastien



Re: [O] export_file_name problem with new exporter

2012-12-13 Thread Nicolas Goaziou
Alan Schmitt alan.schm...@polytechnique.org writes:

 In other words, I see three places of interest:
 - where the org file is
 - where export and compilation occurs
 - where the final result is put

 Publishing lets us deal with the last one, but I don't think there is a
 way to distinguish between the first two.

No, there isn't.

OTOH, step 2 only makes sense for back-ends that require to compile
output. Maybe a local solution can be provided for them. For example,
tweaking `org-e-latex-pdf-process' probably allows to move compilation
elsewhere.

 By validating, do you mean that I have received them back signed from
 the FSF? (I signed and sent them a few weeks ago, still waiting to get
 them back ...)

Yes. We have to wait for confirmation from the FSF. It shouldn't be too
long now.


Regards,

-- 
Nicolas Goaziou



Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Bastien
Le Wang l26w...@gmail.com writes:

 I haven't investigated further though.

We can easily setup a mirror on github and use the platform
from this repo.  But I'm unsure how this would work.  If someone
wants to take this in charge, let me know.

 I've attached 3 patches to fix this and another bug I found while
 writing tests.

Ah, our patches crossed.

I superseded the first one with my patch, and just applied the 
third one.  

Can you explain the bug behind the second one?

Thanks!

-- 
 Bastien



Re: [O] org-pretty-entities and symbols like M_x^y

2012-12-13 Thread Rasmus
Bastien b...@altern.org writes:

 M_x ^y is the only (non fully satisfactory) solution I can think of.

In general org entities work wonders, and I'm a very happy user.

I have a couple of others things that could be made nicer (somehow).
'===' indicates what would be nicer:

 - \frac{x}{y} === [(x)/(y)] or something similar. You'd need to be
   able to see that it was folded, somehow, e.g. '[' could have
   another color, or the background of (x)/(y) could be different.
 - \bar{x}, tilde{x}, underline{x}, ... == constructed using
   combining utf8 characters ¹ (or at least support of it; i couldn't
   get it working properly)
 - Being able to specify several white spaces (it seems not to work,
   e.g. below I would like to replace quad with  ␣ , but this
   doesn't seem to work...).
 - perhaps overlay to indicate when something is folded/replaced with
   a utf8 character.

Here's my org-entities-user btw:

(setq org-entities-user '((space \\ )
  (implies \\Rightarrow t rArr; = = ⇒)
  (iff \\iff t hArr; = = ⇔)
  (succcurlyeq \\succcurlyeq t ≽ = = ≽)
  (gimel \\gimel t #8503; gimel gimel ℷ)
  (beth \\beth t #1489; bet bet ב)
  (coloneqq \\coloneqq t ≔ := := ≔)
  (eqqcolon \\eqqcolon t ≕ =: =: ≕)
  (cdots \\cdots t hellip; ... ... ⋯)
  (colon \\colon t : : : :)
  (quad   nil   ␣)
  (geq \\ge t ge; = = ≥)
  (suchthat \\suchthat t | | | |)
  (leq \\leq t le; = = ≤)))

All but suchthat are normal LaTeX characters.  


Perhaps, org entities could use the TeX input method as a souce of
symbols?  See:

 (describe-input-method TeX) 

–Rasmus


Footnotes: 
 ¹   https://en.wikipedia.org/wiki/Combining_character

-- 
When the facts change, I change my mind. What do you do, sir?




Re: [O] org-export-docbook-xsl-fo-proc-command

2012-12-13 Thread Jambunathan K
trammi milan.tramoslja...@gmx.de writes:

 How to set org-export-docbook-xslt-proc-command for DocBook at org-docbook.el 
 on 
 Win32 (example)?

Docbook toolchain is really steep climb.  You should run away. 

The thread below may or may not help.  It may not even be relevant to
the question that you have.

http://lists.gnu.org/archive/html/emacs-orgmode/2011-05/msg00127.html
-- 



Re: [O] [ANN] Asynchronous export for new exporter

2012-12-13 Thread Alan Schmitt

Nicolas Goaziou writes:

 Hello,

 New (experimental) exporter has now support for asynchronous export.
 Every type of export is supported (subtree, to a buffer, visible part
 only...).

 When produced, results are listed in the Export Stack (they will never
 make a buffer pop or call an external application). The stack can be
 accessed from the dispatcher interface, by calling dispatcher with
 a double C-u argument, or directly with `org-export-stack'.

 From there, output results can be viewed or removed from the stack.
 Removing a result from the stack only removes it from view. No file is
 deleted, no buffer is killed.

 You may want to tweak `org-export-in-background' and
 `org-export-async-init-file'. You can also toggle
 `org-export-async-debug' for debugging purposes.

This works great! I took the presentation I was building, set
`org-export-in-background' to `t', and I could go and edit some mail
while it was compiling.

Thanks a lot, this will be most useful!

Alan



Re: [O] [PATCH] org-edit-special too much space if starting with empty block

2012-12-13 Thread Achim Gratz
Le Wang writes:
 I'm not sure how to check, but I signed it and sent it back a while
 ago and got a confirmation e-mail from Donald on Aug 9.  AFAIK
 everything is sorted.

Did you just get a confirmation of receipt or a confirmation of the
papers having been signed and accepted?  If the latter, that email
should have had a scan of those papers added as a PDF attachment.


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

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada




Re: [O] org-pretty-entities and symbols like M_x^y

2012-12-13 Thread Achim Gratz
Rasmus writes:
  - \bar{x}, tilde{x}, underline{x}, ... == constructed using
combining utf8 characters ¹ (or at least support of it; i couldn't
get it working properly)

We've been at this before, but I believe that introducing utf8
characters into the sources would cut off Emacs 22 compatibility.  There
is a known bug when more-than-single-byte characters show up in a
docstring as well.

 When the facts change, I change my mind. What do you do, sir?

If the facts have been changing once, I can wait for them to change
again.  Or they may not even be facts after all. :-)


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

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




Re: [O] [ANN] Asynchronous export for new exporter

2012-12-13 Thread Thomas S. Dye
Aloha Nicolas,

Nicolas Goaziou n.goaz...@gmail.com writes:

 Hello,

 New (experimental) exporter has now support for asynchronous export.
 Every type of export is supported (subtree, to a buffer, visible part
 only...).

 When produced, results are listed in the Export Stack (they will never
 make a buffer pop or call an external application). The stack can be
 accessed from the dispatcher interface, by calling dispatcher with
 a double C-u argument, or directly with `org-export-stack'.

 From there, output results can be viewed or removed from the stack.
 Removing a result from the stack only removes it from view. No file is
 deleted, no buffer is killed.

Move point to the result and press 'd'.  

The age column is a real help here. 


 You may want to tweak `org-export-in-background' and
 `org-export-async-init-file'. You can also toggle
 `org-export-async-debug' for debugging purposes.

 Feedback welcome.

Wow!  This is a huge improvement.  It is going to change my work rhythm.

I tangle the initialization file from my document. Can you show me how
to configure asynchronous export to run org-babel-tangle-file before
export to insure that the initialization file is always up-to-date?

Thanks for your good work.

All the best,
Tom

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



Re: [O] export_file_name problem with new exporter

2012-12-13 Thread Alan Schmitt

Achim Gratz writes:

 Alan Schmitt writes:
 In other words, I see three places of interest:
 - where the org file is
 - where export and compilation occurs
 - where the final result is put

 Publishing lets us deal with the last one, but I don't think there is a
 way to distinguish between the first two.

 Having a separate build directory would really need to be accompanied by
 a proper build system for all but the most simple tasks.  I think you
 can very well hand off the publishing to make or something like that.
 If you are only concerned about the litter from LaTeX, use a variant of
 texi2pdf --tidy instead of invoking pdftex directly.

Actually, I think this is the way to go. Having a run this command
(asynchronously) after publishing would be perfect. I need to look into
org-publish to see if this is not already present, and if it would be
difficult to add.

Alan



Re: [O] [new exporter] ASCII export, single newline

2012-12-13 Thread David Rogers
Nicolas Goaziou n.goaz...@gmail.com writes:

 David Rogers davidandrewrog...@gmail.com writes:

 David Rogers davidandrewrog...@gmail.com writes:

 My plain-text notes, however, often contain single newlines, which I'd
 like to retain. The new ASCII exporter converts them to spaces. If I put
 double newlines in the original, then the exporter doesn't convert
 anything, and leaves them double. I'm glad to format my originals in any
 way that works - my aim is only to get single newlines into the finished
 export. Is there an easy way to do that?

 IIUC, you want line breaks. I.e:

 Some line \\
 Some other line.

 Exporting the double backslash adds an extra blank line, which I don't
 want.

 You have to update Org. I fixed it yesterday (shortly before answering
 your message)

Thank you! You (and many who work on Org) have this very nice habit -
when you see that something in Org is broken, you mostly just go and fix
it. I appreciate the work that all of you do.


 If you want a line break on every line, use #+OPTIONS: \n:t

 This gave me exactly what I was looking for, thank you. My line breaks are
 preserved, but no new ones are added.

 (The old ASCII exporter preserved line breaks, without using any OPTIONS.)

 The old ASCII exporter didn't format paragraphs properly.

So now I know about #+OPTIONS: \n:t , and also the new exporter should
just do it correctly anyway, since you fixed it? Perfect. Thanks again
for your help.

-- 
David



Re: [O] confirmed: org-mode works with yasnippets 0.8.0 (beta)

2012-12-13 Thread Bastien
Hi,

Seong-Kook Shin cin...@gmail.com writes:

 I just want to let you know that org-mode (org-20121112 from
 package.el) is working well with yasnippets 0.8.0 (beta)
 with following configuration:

 (defun yas-org-very-safe-expand ()
   (let ((yas-fallback-behavior 'return-nil))
     (and (fboundp 'yas-expand) (yas-expand

 (add-hook 'org-mode-hook
           (lambda ()
             (add-to-list 'org-tab-first-hook
                          'yas-org-very-safe-expand)
             ))

 You may update the documentation with the above settings.
 (Note that this does not works with the old version of yasnippets)

Thanks.  Can you send a patch for this? See
http://orgmode.org/worg/org-contribute.html#sec-4-4

Best,

-- 
 Bastien



Re: [O] [PATCH] Small API fix and add test for addlevel inclusion parameter

2012-12-13 Thread Bastien
Hi Daniel,

Daniel Dehennin daniel.dehen...@baby-gnu.org writes:

 The following changes since commit c2223c8979c5510e01c0dd6cc2378b71484828fc:

   still execute code block even if :results none (2012-11-17 17:54:08 -0700)

 are available in the git repository at:

   git://git.baby-gnu.net/org-mode tags/fix-and-test-org-exp-inclusion

Please send the patches directly to the mailing list.
We use patchwork* for storing and reviewing patches queue.

Thanks in advance for your help,

* http://patchwork.newartisans.com/project/org-mode/list/

-- 
 Bastien



Re: [O] How to force markup without spaces

2012-12-13 Thread Bastien
Hi,

Suvayu Ali fatkasuvayu+li...@gmail.com writes:

 Anyway, is there any plan to implement this feature in other way?
 Using the solution that you provides makes the org document stick to the
 unicode,
 so it can't be used in other character encodings.
 

 AFAIK, this will not be included;

   http://thread.gmane.org/gmane.emacs.orgmode/59881/focus=59971

More precisely this can be included when we decide to drop support 
of Emacs 22.

Does anyone know what is the current backward compatibility state
of major native Emacs packages (Gnus/ERC/etc) wrt Emacs 22?

Thanks,

-- 
 Bastien



Re: [O] org-pretty-entities and symbols like M_x^y

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

 When the facts change, I change my mind. What do you do, sir?

 If the facts have been changing once, I can wait for them to change
 again.  Or they may not even be facts after all. :-)

This opens up my mind a lot, thanks :)

-- 
 Bastien



Re: [O] [PATCH] org-edit-special too much space if starting with empty block

2012-12-13 Thread Le Wang
On Fri, Dec 14, 2012 at 2:09 AM, Achim Gratz strom...@nexgo.de wrote:
 Le Wang writes:
 I'm not sure how to check, but I signed it and sent it back a while
 ago and got a confirmation e-mail from Donald on Aug 9.  AFAIK
 everything is sorted.

 Did you just get a confirmation of receipt or a confirmation of the
 papers having been signed and accepted?  If the latter, that email
 should have had a scan of those papers added as a PDF attachment.

I have a signed and accepted PDF.  Do you want me to do something with it?


-- 
Le



[O] When facts change (was: org-pretty-entities and symbols like M_x^y)

2012-12-13 Thread Rasmus
Bastien b...@altern.org writes:

 Achim Gratz strom...@nexgo.de writes:

 When the facts change, I change my mind. What do you do, sir?

 If the facts have been changing once, I can wait for them to change
 again.  Or they may not even be facts after all. :-)

Perhaps that opinion is too dear for some practitioner, as Lord Keynes
was when he allegedly spoke those words.  What if the 'facts' only
converge back to your preferred state in the long run, when we are all
dead? :) 

–Rasmus

-- 
. . . It begins of course with The Internet.  A Net of Peers.



Re: [O] [PATCH] org-edit-special too much space if starting with empty block

2012-12-13 Thread Bastien
Le Wang l26w...@gmail.com writes:

 I have a signed and accepted PDF.  Do you want me to do something
 with it?

Nope, it is fine.  Thanks Le!

-- 
 Bastien



Re: [O] org-export-docbook-xsl-fo-proc-command

2012-12-13 Thread trammi
Bastien bzg at altern.org writes:
 
 Did you check C-h v org-export-docbook-xslt-proc-command RET ?
 
Yes, but I don't have this variable?






Re: [O] org-mode moves point in other window

2012-12-13 Thread Bastien
Hi Thomas,

Thomas Koch tho...@koch.ro writes:

 I've got a large org-mode (7.9.2, emacs 24.2.1) table and two windows, top 
 and 
 bottom. I shrink the upper window to only show the headline of my table and 
 work in the lower window.

 When I move with tab in the lower window or recalculate the formula, the 
 upper 
 window moves its point to the formula.

 How can I make the upper window to remain as it is?

Instead of splitting the window, you can create an indirect buffer.

It will visually be equivalent, and the point in the upper window
will not move when C-cC-c'ing on the formulas.

-- 
 Bastien



Re: [O] [PATCH] Wrap: override default

2012-12-13 Thread Bastien
Hi Eric,

Michael Gauland mikely...@no8wireless.co.nz writes:

 * lisp/ob.el (org-babel-insert-result): only wrap if the :wrap value is 
 non-null.

 It can be convenient to specify the :wrap property at a higher level (e.g., 
 file
 or tree), rather than for each block. This patch allows you to override the
 propery by specifying :wrap with no argument.

Can I apply this patch?

Thanks,

-- 
 Bastien



Re: [O] [PATCH] Edit source: fix 'end' initialisation

2012-12-13 Thread Bastien
Hi Michael,

sorry I overlooked this patch.  It's cleaner than the solution
I committed, so I reverted my commit and applied your patch.

Thanks!

Michael Gauland mikely...@no8wireless.co.nz writes:

 I've been able to run org-edit-src-code just fine under NTEmacs
 24.2.50.1 on Windows 7, but under GNU Emacs 23.2.1 on Debian, I got an
 error:

 Wrong type argument: integer-or-marker-p, nil

 With the attached patch, I've been able to run it on both systems. The
 change passes (make-marker) to (copy-marker), instead of nil.

-- 
 Bastien



Re: [O] Linking to Thunderbird

2012-12-13 Thread Bastien
Hi Christoph,

Christoph Herzog rho...@gmail.com writes:

 It works mostly except when Thunderbird is not running and for some emails
 whose id start with a number (but I have to check out).

Thanks!

I add an entry in the FAQ:
http://orgmode.org/worg/org-faq.html#sec-10-8

-- 
 Bastien



Re: [O] org-export-docbook-xsl-fo-proc-command

2012-12-13 Thread Bastien
trammi milan.tramoslja...@gmx.de writes:

 Bastien bzg at altern.org writes:
  
 Did you check C-h v org-export-docbook-xslt-proc-command RET ?
 
 Yes, but I don't have this variable?

I think it's here since org-docbook.el is in Org.

Did you (require 'org-docbook) ?

-- 
 Bastien



Re: [O] babel perl issue

2012-12-13 Thread Bastien
Bastien b...@altern.org writes:

 Unless you find a bug in the dependencies and/or find a bug in the way
 dependancies are handled,

(I meant: unless you find a bug and/or strongly dislike this solution)

-- 
 Bastien



Re: [O] PDF docs from Org-mode: not valid PDF?

2012-12-13 Thread Michael Hannon
Bastien b...@altern.org wrote:

 Michael Hannon jm_han...@yahoo.com writes:

 Greetings.  The woman that runs our research group complains that she is
 unable to print PDF documents that a couple of us in the group send her, and
 that the two of us are the only source of such troublesome documents.

 It occurred to me that the two of us are the only ones in the group that use
 Emacs Org-mode to produce PDF documents.

 pdftex and other usual tools to convert from .tex to .pdf
 do not validate PDF/A, as Karl said.
 
 Here are some information on how to make a .tex that will
 validate:
 
 http://support.river-valley.com/wiki/index.php?title=Generating_PDF/A_compliant_PDFs_from_pdftex

 I'm not in favor of importing this machinery into our LaTeX
 exporter.

Thanks, Bastien.  Interesting link.  I agree: I don't see that it would be
desirable to incorporate this into the LaTeX exporter.

My original motivation for this was to respond to the boss's complaints about
printing PDF documents by saying something like: see, the Org-mode PDF files
pass the validation test, so the problem must be elsewhere (maybe your
printer).  Knowing almost nothing about PDF internals, I glommed onto the
first validation test that I came across, and, oops, my document failed
miserably.

Karl was kind enough to point out that MOST PDF documents would fail the 'A'
test, so the failure is a red herring.

To proceed with this, I need to generate a series of PDF documents and have
the boss's admin assistant try to print them.  Unfortunately, I've been
swamped with some other stuff this week and haven't had a chance to work on
this.

Thanks again,

-- Mike



Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Le Wang
On Fri, Dec 14, 2012 at 12:25 AM, Bastien b...@altern.org wrote:
 I superseded the first one with my patch, and just applied the
 third one.

 Can you explain the bug behind the second one?


If I press C-' before on a line BEFORE +begin_src ..., then doing
comparison with = with beg==nil and end==nil causes
wrong-type-argument error.

test-org-src/point-outside-block test case should fail, but because
wrong-type-argument is also an error, it is passing.  :(

I've changed (error ... to raise an org-src specific error to
facilitate testing.  Commits rebased to master are attached.

A note:

I did change this line:

(end (copy-marker (make-marker) t))

(make-marker) makes a temporary new marker that's never used.  ;)


-- 
Le


0001-don-t-use-copy-marker-nil-t-for-Emacs-23-compat.patch
Description: Binary data


0002-fix-org-edit-src-code-invoked-outside-src-block.patch
Description: Binary data


0003-test-org-src-checks-for-org-src-generated-error.patch
Description: Binary data


0004-add-org-src-error-error-condition.patch
Description: Binary data


0005-remove-extraneous-if-condition.patch
Description: Binary data


Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Le Wang
... one more to fix misuse of signal

-- 
Le


0006-fix-mix-use-of-signal.patch
Description: Binary data


Re: [O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-13 Thread Bernt Hansen
Bastien b...@altern.org writes:

 Hi Bernt,

 Bernt Hansen be...@norang.ca writes:

 Your patch fixes it for me on both versions (linux 23.2.1, windows
 23.3.1)

 Thanks!

 I pushed the patch, thanks for confirming this.

 PS: Le, I used my version, shorter, and not that unlispy IMO.
 But thanks for the patch anyway!

I get the following error when doing C-c ' in a table

--8---cut here---start-8---
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  org-edit-src-code()
  org-edit-special()
  call-interactively(org-edit-special nil nil)
--8---cut here---end---8---

I'm trying to get to the table editor.

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11
on raven, modified by Debian

Regards,
Bernt



Re: [O] babel perl issue

2012-12-13 Thread Eric Schulte
Bastien b...@altern.org writes:

 Hi Eric,

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

 If you can find a cleaner alternative I'll be happy to help you
 apply it.

 Here is a very crude patch for paving the way to a better solution.


This patch doesn't apply for me with git am to the HEAD of the repo so
I can't test it directly, however, judging from a quick review of the
patch and from your diagram I believe it will introduce circular
dependencies.

The crux of the problem is that all of the core ob files need to require
the main ob file, and the main ob file must require all of the core ob
files (so they can be required with a single invocation from outside
files).  Thus, to avoid circular requires, there must be a separate ob
and ob-core.  One to be required and one to do the requiring.

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



[O] clocking ongoing items

2012-12-13 Thread Rainer Stengele
Hi all!

I wonder how others are clocking ongoing isues, which are not really todos but 
more like issues collecting clocked time for work done regularly.
Example: Reading mail and organising daily priorities of tasks.
This todo will not finish very soon.
I want this item to be clocked daily but do not want it to look like a standard 
todo.
How do others handle this? I remember Bernt once had a tag ONGOING which he 
dropped again.

Cheers,
Rainer




Re: [O] clocking ongoing items

2012-12-13 Thread Brian van den Broek
On 14 Dec 2012 01:52, Rainer Stengele rainer.steng...@online.de wrote:

 Hi all!

 I wonder how others are clocking ongoing isues, which are not really
todos but more like issues collecting clocked time for work done
regularly.
 Example: Reading mail and organising daily priorities of tasks.
 This todo will not finish very soon.
 I want this item to be clocked daily but do not want it to look like a
standard todo.

Hi Rainer,

Why do you not want them as TODOs? I had thought I didn't but came to
believe I was over-complicating things.

I have a number of daily and weekly tasks of this sort (these include your
examples), and they are genuinely things I need to do :-) They have
appropriate repeater cookies in the scheduled lines and it works just fine.
Well enough that I've forgotten the reasons for which I resisted treating
them as TODO items in the first place.

Best,

Brian vdB