Re: [O] ox-html.el removal

2013-03-11 Thread Achim Gratz
Jambunathan K writes:
> I would like to remove ox-html.el from Org distribution.  My
> relationship with ox-html.el is a bit complicated and I am not sure how
> far I can go forward on this front.

Legal questions aside, which I'm not qualified to answer, here's a
german proverb:
  "Geschenkt is geschenkt, wiederholen ist gestohlen."
This very roughly translates to
  "The gift is given, taking it back is thievery."

Nevertheless my suggestion to the Org community is to respect your wish
and move these two files to contrib and see that they get re-implemented
for later inclusion into Emacs unencumbered by any dispute surrounding
them.

> I am willing to go as far is humanly possible for me to have my
> displeasure registered.

Rest assured we've registered it.  Another german proverb:
  "Reisende soll man nicht aufhalten."
Probably an even worse translation of this is
  "Embarking travellers should not be asked to stay."

Best of luck in your endeavours.


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

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




Re: [O] [RFC] Simplify attributes syntax

2013-03-11 Thread Nicolas Goaziou
Follow up:

> The following patch simplifies syntax for attributes.
>
> From the user POV, it removes necessity to quote or escape characters.
> For example, these are now valid:
>
>   #+attr_latex: :font \footnotesize :align |l|c|c|
>   #+attr_foo: :prop var="value" :another-prop nil
>
> From the developer POV, each non-nil value is now read as a string by
> `org-export-read-attribute'.  So:
>
>   #+attr_something: :width 70
>
> will be read as:
>
>   '(:width "70")

This patch is now applied in master. Please modify syntax for attributes
accordingly.

In particular, double quotes are not needed anymore for multiple words,
unless you really want them to appear in the value:

  #+attr_something: :prop this is a long value :prop2 value


Regards,

-- 
Nicolas Goaziou



Re: [O] ox-html.el removal

2013-03-11 Thread Jay Kerns
On Mon, Mar 11, 2013 at 3:11 AM, Achim Gratz  wrote:
[snip]

> Nevertheless my suggestion to the Org community is to respect your wish
> and move these two files to contrib...

[snip]

I have to say I think Achim is really on the right track, here.  Also
for those interested in a bit of historical irony check out the commit
history of ox-html.el in black and white:

http://orgmode.org/cgit.cgi/org-mode.git/log/lisp/ox-html.el
http://orgmode.org/cgit.cgi/org-mode.git/log/contrib/lisp/org-e-html.el
http://orgmode.org/cgit.cgi/org-mode.git/log/EXPERIMENTAL/org-e-html.el

In particular, the following was committed by Jambunathan K on
2012-02-18 with commit message, "org-e-html: New HTML exporter - a
first attempt".

diff --git a/EXPERIMENTAL/org-e-html.el b/EXPERIMENTAL/org-e-html.el
new file mode 100644
index 000..7079b5f
--- a/dev/null
+++ b/EXPERIMENTAL/org-e-html.el
@@ -0,0 +1,4902 @@
+;;; org-e-html.el --- HTML Back-End For Org Export Engine
+
+;; Copyright (C) 2011-2012 Free Software Foundation, Inc.
+
+;; Author: Nicolas Goaziou 
+;; Keywords: outlines, hypermedia, calendar, wp
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+

-- 
Jay



Re: [O] [PATCH] Make `org-contacts-message-complete-function' work with byte compilation

2013-03-11 Thread Daimrod
Achim Gratz  writes:

> Daimrod writes:
>> @All: Can I use (require 'cl) and ignore the warning or is there better
>> solution?
>
> You could if this would never go into mainline, where it is not allowed
> due to the namespace pollution that cl causes.  You could use cl-lib
> instead, but then this would be an Emacs-24 only solution.  In general,
> the stanza ((eval-when-compile (require 'cl)) only works as intended
> when you are only using cl macros, but you seem to use defuns.  You
> could check how hard it is to replace these with plain elisp, aside from
> syntactical inconveniences this is usually not a big problem.

I've done this, thanks for the advice.

> Regards,
> Achim.

-- 
Daimrod/Greg


pgp6UPcFcxhRs.pgp
Description: PGP signature


Re: [O] ox-html.el removal

2013-03-11 Thread Carsten Dominik

On 11.3.2013, at 05:08, Jambunathan K  wrote:
> 
> Even if my combative positioning doesn't amount to anything much, I want
> to throw in a little friction by the way of Bastien and the current
> release.  I am stating my purpose in no uncertain terms - yes it is to
> delay the release or cause confusion.

I don't think there is any confusion pertaining to the 8.0 release.  These 
files were brought into the Org-mode repository, marked as GPL from the start, 
so there are no formal issues including them in 8.0 in their current form.  
Wether ox-odt.el should be moved to contrib as per Achims suggestion I don't 
know.   I would object moving ox-html.el, it contains a lot of variable 
definitions, documentation strings and code I and others wrote, even if you 
have made the interface with org-elemets.

We will see in how far the FSF will follow your arguments and what will happen 
when we merge 8.0 into the Emacs distribution.  So I don't see a reason to hold 
up the 8.0 release.  With respect to Emacs, we will have time to resolve the 
issue one way or another.

- Carsten




Re: [O] Copyright/Distribution questions (Emacs/Orgmode)

2013-03-11 Thread Christian Egli
The following message is a courtesy copy of an article
that has been posted to gmane.emacs.devel as well.

Jambunathan K  writes:

> I would like to withdraw my pleasure in having these files distributed
> as part of Org distribution.

These files have been published under the GNU GPL[1] which gives
everybody the right to modify and redistribute them as long as they
comply with the GNU GPL. In other words the current maintainer has every
right to include these files in any further release of orgmode.

> More specifically, I would like to know how copyright assignment works
> for files that are not yet part of Emacs.  

The copyright assignment is solely for the purpose of having one
copyright owner. This helps for legal disputes and to change the
license. However it is not needed for redistribution purposes, i.e. it
gives you no legal recourse to stop redistribution of these files. Once
you have published them under GNU GPL (and you have) everybody
(including the current maintainer of orgmode) has the four freedoms that
come with the GNU GPL[2] namely

> the freedom to use the software for any purpose,
> the freedom to change the software to suit your needs,
> the freedom to share the software with your friends and neighbors, and
> the freedom to share the changes you make.

Again IANAL, but then the GNU GPL is pretty clear about this.

Hope this helps
Christian

Footnotes: 
[1]  on mailing lists and in the git repo of orgmode
[2]  http://www.gnu.org/licenses/quick-guide-gplv3.html
-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

-
Die neue Online-Bibliothek der SBS: Mit wenigen Klicks zum Buch unter 
http://online.sbs.ch



Re: [O] Create course material with org-mode

2013-03-11 Thread Torsten Wagner
Hi Thorsten,

thanks for the links. I will look into them.

Actually the topic is not exactly OT, I'm looking for a "meta-system" which
helps me to keep all those different things together. Hopefully, in a way
which allows me to generate different kind of course material from the same
sources.
I was wondering, can org-mode be such a "meta-system" e.g. could I keep
materials of a certain topic within a single org-file and use (customized)
exporters to create the desired outputs like a interactive HTML version, a
printable PDF, exercises and questions for exams?

E.g. a file structure like this

* Theory
text text text

** Interactive example :HTML
Bable code

** more theory in detail
*** Images

** lecture slides :BEAMER

** Exercises
*** Solutions

** Exam questions
*** 1
*** 2
*** 3

This file should ideally run through different exporters to generate
interactive HTML for a website,
printable PDF version,
slides for a lecture,
exercises with and without solution,
exam questions,

One task which might require some more attention (and code) would be to
compile e.g.  the entire script from different source files. Same for an
entire exam, a set of exercise, etc.
The benefit of an approach like above would be that I can keep all related
infos close to each other. It would be much easier to make changes among
all different outputs, create new material, etc.
Hope this makes my idea more clear.

Thanks for helping

Torsten











On 10 March 2013 00:20, Thorsten Jolitz  wrote:

> Torsten Wagner  writes:
>
> > I plan to create new course materials for teaching at university level.
>
> slightly OT, but you could have a look at LaTeX package
>
> ,--
> | http://www.ctan.org/pkg/tcolorbox
> `--
>
> and its manual
>
> ,-
> | http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf
> `-
>
> its well suited for presenting source-code & output as well as
> exercises & solutions.
>
> --
> cheers,
> Thorsten
>
>
>


[O] Exporter problem: cannot activate options

2013-03-11 Thread Rainer Stengele
Hi!

Using Org-mode version 8.0-pre (release_8.0-pre-35-g5fd7bb I cannot seem
to get export options to work.

I have


** DONE [#A] text
   :LOGBOOK:
   CLOCK: [2013-03-11 Mo 11:30]--[2013-03-11 Mo 11:45] =>  0:15
   CLOCK: [2013-03-07 Do 10:30]--[2013-03-07 Do 11:00] =>  0:30
   :END:
   :PROPERTIES:
   :EXPORT_OPTIONS: <:t todo:t toc:nil c:t
   :END:

#+BEGIN: clocktable :maxlevel 2 :scope subtree
#+CAPTION: Clock summary at [2013-03-11 Mo 11:30]
| Headline | Time   |
|--+|
| *Total time* | *5:00* |
|--+|
#+END:
   - [2013-03-07 Do 11:14] E-text
 text
..


I do mark the subtree and export by "C-e h o".
Export is fine but I always get the TOC (although toc:nil) and I cannot
get the clock entries (although c:t).

Please help.

Thanks,
Rainer




Re: [O] Create course material with org-mode

2013-03-11 Thread Andreas Röhler

Am 11.03.2013 11:52, schrieb Torsten Wagner:

Hi Thorsten,

thanks for the links. I will look into them.

Actually the topic is not exactly OT, I'm looking for a "meta-system" which
helps me to keep all those different things together. Hopefully, in a way
which allows me to generate different kind of course material from the same
sources.
I was wondering, can org-mode be such a "meta-system" e.g. could I keep
materials of a certain topic within a single org-file and use (customized)
exporters to create the desired outputs like a interactive HTML version, a
printable PDF, exercises and questions for exams?

E.g. a file structure like this

* Theory
text text text

** Interactive example :HTML
Bable code

** more theory in detail
*** Images

** lecture slides :BEAMER

** Exercises
*** Solutions

** Exam questions
*** 1
*** 2
*** 3

This file should ideally run through different exporters to generate
interactive HTML for a website,
printable PDF version,
slides for a lecture,
exercises with and without solution,
exam questions,

One task which might require some more attention (and code) would be to
compile e.g.  the entire script from different source files. Same for an
entire exam, a set of exercise, etc.
The benefit of an approach like above would be that I can keep all related
infos close to each other. It would be much easier to make changes among
all different outputs, create new material, etc.
Hope this makes my idea more clear.

Thanks for helping

Torsten











On 10 March 2013 00:20, Thorsten Jolitz  wrote:


Torsten Wagner  writes:


I plan to create new course materials for teaching at university level.


slightly OT, but you could have a look at LaTeX package

,--
| http://www.ctan.org/pkg/tcolorbox
`--

and its manual

,-
| http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf
`-

its well suited for presenting source-code & output as well as
exercises & solutions.

--
cheers,
Thorsten







Hi Thorsten,

from what I understand, org-mode is designed for this.
Probably org-babel is the point to start, exporting sections with different 
kind of text/code.

http://orgmode.org/worg/org-contrib/babel/index.html

Should you miss a part, assume there are good chances to get it written after 
request.

Looking forward to see it grow,

Andreas



Re: [O] org-exp-bibtex missing in git?

2013-03-11 Thread Andreas Leha
Jambunathan K  writes:

> Andreas Leha  writes:
>
>> \footfullcite[prenote][postnote]{key}
>
> What would prenote and postnote typically contain.  Where would they
> appear in the exported document - In the citation reference or in the
> citation definition.  Can the same key have different pre-note and
> post-note attached to it.
>

I was away for a few days.  By now, this is nicely addressed -- not
necessarily targeted to footnotes -- by Tom in
http://permalink.gmane.org/gmane.emacs.orgmode/68056

[...]

- Andreas




Re: [O] trouble exporting just one subtree while using babel and R code blocks--spoke too soon

2013-03-11 Thread Christopher W. Ryan
OK< back at the office computer . . .

In org version 7.9.3f on Windows XP, my C-c C-e is bound to org-export.
I guess that's the old exporter.

The org-related parts of my  .eamcs are below. Clearly not the most
elegant .emacs file--I'm still pretty new at this!

--

;; Load org-mode
(add-to-list 'load-path "c:/Org/org-7.9.3f/lisp")
(add-to-list 'load-path "c:/Org/org-7.9.3f/contrib/lisp")
(require 'org)

;; The following lines are always needed.  Choose your own keys.
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(add-hook 'org-mode-hook 'turn-on-font-lock) ; not needed when
global-font-lock-mode is on
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)


;; Capture
(global-set-key (kbd "C-c r") 'org-capture)
 (setq org-default-notes-file (concat org-directory "/junknotes.org"))
 (setq org-capture-templates
  '(("t" "Agenda Todo" entry
 (file+headline "c:/Org/junk1.org" "Agenda")
 "\n\n** TODO %?\n%T\n\n%i\n%a\n\n\n"
 :empty-lines 1)

("n" "Agenda Notes" entry
 (file "c:/Org/junk1.org")
 "\n\n** %?\n%T\n%i\n%a\n\n\n"
 :empty-lines 1)

   ("a" "admission" entry
(file "c:/DATA/MedicalShelterAdmissions.org")
"\n\n* IN  %^{LAST NAME, first name}
 %^{IDnumber}p %^{Birthdate}p %^{Age}p %^{Doctor1}p
 %^{Adress1}p %^{Address2}p %^{City}p
 %U"
 :empty-lines 1)
))

;;
;; set-up for use as a medical shelter record
;;

;; I've attempted to remove redundancies with capture settings that
appear above this point

'(org-agenda-files (quote ("~/Shelter/ShelterAdmissions.org"
"~/DATA/BookIdeas.org" "~/orgjunk.org")))

(setq org-default-notes-file (concat  "~/notes.org"))

(defun prompt-for-lastname-and-upcase ()
 (upcase (read-string "Last name: ")))

(defun prompt-and-upcase (prompt-str)
  (upcase (read-string prompt-str)))

 (setq org-capture-templates
  '(("a" "Admit" entry
(file "~/Shelter/ShelterAdmissions.org")
 "* admit  %(prompt-for-lastname-and-upcase),  %^{firstname}  %U
  :PROPERTIES:
  %^{IDnumber}p
  %^{Birthdate}p
  %^{Age}p
  %^{Sex}p
  %^{Address1}p
  %^{Address2}p
  %^{City}p
  %^{State}p
  %^{Zipcode}p
  %^{Doctor1}p
  %^{Doctor2}p
  %^{Pharmacy1}p
  %^{Pharmacy2}p"
  :empty-lines: 1)
  )
)


;; Insert immediate timestamp
(setq org-agenda-skip-additional-timestamps nil)
(define-key global-map (kbd "")
  '(lambda () (interactive)
  (when (eq major-mode 'org-mode)
(org-insert-time-stamp nil t t)
(insert "\n"



;;; This was installed by package-install.el.
;;; This provides support for the package system and
;;; interfacing with ELPA, the package archive.
;;; Move this code earlier if you want to reference
;;; packages in your .emacs.
(when
(load
 (expand-file-name "~/.emacs.d/elpa/package.el"))
  (package-initialize))



(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(load-home-init-file t t)
 '(org-agenda-files (quote ("c:/DATA/MedicalShelterAdmissions.org"
"c:/DATA/SCHOLAR/HeatWaves/HeatWaves1.org")))
 '(org-inlinetask-export nil)
 '(sentence-end-double-space nil)
 '(show-paren-mode t)
 '(text-mode-hook (quote (text-mode-hook-identify)))
 '(transient-mark-mode t))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )


; bunch of cosmetic stuff in here: font, background color, etc


;; make ESS use the correct version of R
;; (setq inferior-R-program-name "c:/progra~1/R/R-2.14.1/bin/Rterm.exe")

;; active Babel languages
(org-babel-do-load-languages
 'org-babel-load-languages
 '((R . t)
   (python . t)
   (perl . t)
   ))

;; turn off auto-fill-mode
(auto-fill-mode 0)
(global-visual-line-mode -1)

(cd "C:/DATA/")

;; activate RefTex mode with org-mode
;; insert a citation with "C-c )"
(defun org-mode-reftex-setup ()
  (load-library "reftex")
  (and (buffer-file-name)
   (file-exists-p (buffer-file-name))
   (reftex-parse-all))
  (define-key org-mode-map (kbd "C-c )") 'reftex-citation))
(add-hook 'org-mode-hook 'org-mode-reftex-setup)

;; in org-mode, by default, long lines disappear into the right window
edge. If you prefer them wrapped, you can add this to your init file:

(add-hook 'org-mode-hook 'soft-wrap-lines)

(defun soft-wrap-lines ()
"Make lines wrap at window edge and on word boundary,
in curr

Re: [O] [PATCH] Make `org-contacts-message-complete-function' work with byte compilation

2013-03-11 Thread Frank Terbeck
Daimrod wrote:
> Achim Gratz  writes:
>> Daimrod writes:
>>> @All: Can I use (require 'cl) and ignore the warning or is there better
>>> solution?
>>
>> You could if this would never go into mainline, where it is not allowed
>> due to the namespace pollution that cl causes.  You could use cl-lib
>> instead, but then this would be an Emacs-24 only solution.  In general,
>> the stanza ((eval-when-compile (require 'cl)) only works as intended
>> when you are only using cl macros, but you seem to use defuns.  You
>> could check how hard it is to replace these with plain elisp, aside from
>> syntactical inconveniences this is usually not a big problem.
>
> I've done this, thanks for the advice.


I've just given the latest git HEAD version a spin and it seems to work
as expected. Thanks for taking an interesting and fixing this so
promptly. ;)


Regards, Frank



Re: [O] ox-html.el removal

2013-03-11 Thread Jay Kerns
Dear Carsten,

I certainly support your position.  And if *anybody's* wishes should
be honoured, I would think yours should be at the top of that list,
along with the wishes of the other (at least) 4 copyright holders' of
ox-html.el.

Cheers,
Jay



On Mon, Mar 11, 2013 at 4:58 AM, Carsten Dominik
 wrote:
>
> On 11.3.2013, at 05:08, Jambunathan K  wrote:
>>
>> Even if my combative positioning doesn't amount to anything much, I want
>> to throw in a little friction by the way of Bastien and the current
>> release.  I am stating my purpose in no uncertain terms - yes it is to
>> delay the release or cause confusion.
>
> I don't think there is any confusion pertaining to the 8.0 release.  These 
> files were brought into the Org-mode repository, marked as GPL from the 
> start, so there are no formal issues including them in 8.0 in their current 
> form.  Wether ox-odt.el should be moved to contrib as per Achims suggestion I 
> don't know.   I would object moving ox-html.el, it contains a lot of variable 
> definitions, documentation strings and code I and others wrote, even if you 
> have made the interface with org-elemets.
>
> We will see in how far the FSF will follow your arguments and what will 
> happen when we merge 8.0 into the Emacs distribution.  So I don't see a 
> reason to hold up the 8.0 release.  With respect to Emacs, we will have time 
> to resolve the issue one way or another.
>
> - Carsten



Re: [O] Editing folded headlines and ellipses

2013-03-11 Thread Darlan Cavalcante Moreira

That is another nice feature of org-mode I didn't know about.
I set the variable to 'error now..

Any reason why nil is the default?

At Sun, 10 Mar 2013 10:57:15 +0100,
Suvayu Ali wrote:
> 
> Hi Bastien,
> 
> On Sun, Mar 10, 2013 at 10:34:26AM +0100, Bastien wrote:
> > Suvayu Ali  writes:
> > 
> > > I remember someone (maybe Bastien) putting in a safeguard quite sometime
> > > back that would unfold a headline with a warning when you tried to edit
> > > near the ellipses.  This was to protect against accidental edits.  I see
> > > this not there anymore, can we have it back?
> > 
> > You mean `org-catch-invisible-edits'?  It's still here...
> 
> Ah, I missed it since I did not have that variable set.  Thanks and
> sorry for the noise.
> 
> Cheers,
> 
> -- 
> Suvayu
> 
> Open source is the future. It sets us free.
> 



Re: [O] Copyright/Distribution questions (Emacs/Orgmode)

2013-03-11 Thread Jambunathan K

Christian

You are mixing licensing and copyright assignment.  They are two
different things.

I am withdrawing my pleasure in giving a consent for inclusion in Emacs.
IMO, opinion I can do so for the files haven't landed in Emacs yet.  

If you look at some of my posts in Orgmode list, I make it very clear
that Orgmode can choose to re-distribute the files.

Jambunathan K.


Christian Egli  writes:

> Jambunathan K  writes:
>
>> I would like to withdraw my pleasure in having these files distributed
>> as part of Org distribution.
>
> These files have been published under the GNU GPL[1] which gives
> everybody the right to modify and redistribute them as long as they
> comply with the GNU GPL. In other words the current maintainer has every
> right to include these files in any further release of orgmode.
>
>> More specifically, I would like to know how copyright assignment works
>> for files that are not yet part of Emacs.  
>
> The copyright assignment is solely for the purpose of having one
> copyright owner. This helps for legal disputes and to change the
> license. However it is not needed for redistribution purposes, i.e. it
> gives you no legal recourse to stop redistribution of these files. Once
> you have published them under GNU GPL (and you have) everybody
> (including the current maintainer of orgmode) has the four freedoms that
> come with the GNU GPL[2] namely
>
>> the freedom to use the software for any purpose,
>> the freedom to change the software to suit your needs,
>> the freedom to share the software with your friends and neighbors, and
>> the freedom to share the changes you make.
>
> Again IANAL, but then the GNU GPL is pretty clear about this.
>
> Hope this helps
> Christian
>
> Footnotes: 
> [1]  on mailing lists and in the git repo of orgmode
> [2]  http://www.gnu.org/licenses/quick-guide-gplv3.html

-- 



[O] colorg weekly report

2013-03-11 Thread François Pinard
Hi, people.

Still had absolutely no time for computers this weekend.  It may take
maybe two weeks still before my move is complete enough that I can work
again in my new location.  I'll resume my weekly reports only then.

François



Re: [O] Create course material with org-mode

2013-03-11 Thread W. Greenhouse
Hi Torsten,

Torsten Wagner  writes:

> Actually the topic is not exactly OT, I'm looking for a "meta-system"
> which helps me to keep all those different things together.
> Hopefully, in a way which allows me to generate different kind of
> course material from the same sources. 
> I was wondering, can org-mode be such a "meta-system" e.g. could I
> keep materials of a certain topic within a single org-file and use
> (customized) exporters to create the desired outputs like a
> interactive HTML version, a printable PDF, exercises and questions
> for exams?

Org should be ideal for this.  Each subtree can be configured with its
own export settings, so e.g. you can use a different LaTeX style for the
lecture slides, exams, and problem sets.

Don't forget also that you can measure student progress in this file,
too :) Org has a spreadsheet, and you could use it as a grade book if
you wish.

-- 
Regards,
WGG




Re: [O] new version of org-mew.el

2013-03-11 Thread Tokuya Kameshima
Hi Bastien,

Could you apply the attached patch to org-mew.el?
This will fix a problem where `org-mew-store-link' does not care the
Mew's case feature.

Thank you,
--Tokuya

On Mon, 25 Feb 2013 20:36:52 +0900 (JST),
Tokuya Kameshima  wrote:
> The attached is the new version of org-mew.el with several new features.
> I would appreciate it if some of Mew users could try this.
diff --git a/contrib/lisp/org-mew.el b/contrib/lisp/org-mew.el
index 1fa6fc2..fae6898 100644
--- a/contrib/lisp/org-mew.el
+++ b/contrib/lisp/org-mew.el
@@ -195,7 +195,8 @@ with \"t\" key."
 	   (mark-info (mew-summary-get-mark)))
   (if (and org-mew-link-to-refile-destination
 	   (eq mark-info ?o))	; marked as refile
-	  (nth 1 (mew-refile-get msgnum))
+	  (mew-case-folder (mew-sinfo-get-case)
+			   (nth 1 (mew-refile-get msgnum)))
 	(let ((folder-or-path (mew-summary-folder-name)))
 	  (mew-folder-path-to-folder folder-or-path t))
 


Re: [O] new version of org-mew.el

2013-03-11 Thread Bastien
Hi Tokuya,

Tokuya Kameshima  writes:

> Could you apply the attached patch to org-mew.el?
> This will fix a problem where `org-mew-store-link' does not care the
> Mew's case feature.

Applied, thanks a lot!

-- 
 Bastien



Re: [O] [PATCH] Make `org-contacts-message-complete-function' work with byte compilation

2013-03-11 Thread Bastien
Daimrod  writes:

> I've done this, thanks for the advice.

Thanks for fixing this!  And to Achim for the useful directions.

-- 
 Bastien



Re: [O] ox-html.el removal

2013-03-11 Thread Bastien
Hi all,

there is no reason not to include ox-html.el and ox-odt.el into Org
8.0.  As for their inclusion into Emacs, we will have time to sort
this out.

Thanks,

-- 
 Bastien



[O] #+BEGIN_SRC problem when exporting

2013-03-11 Thread Luca Ferrari
Hi all,
maybe I'm getting something wrong but when I add to a file the following block:

#+BEGIN_SRC shell
![+-] program
![+-] hostname
#+END_SRC

and do a Latex export I got an "unbalanced" error. I suspect the
problem is tied to the "+" signs that are within the block. Is there a
trick I can use here?
I'm using the org mode into Emacs 24.2.1.

Thanks,
Luca



Re: [O] [RFC] Org version of the Org manual

2013-03-11 Thread Thomas S. Dye
Aloha Achim,

Achim Gratz  writes:

> Thomas S. Dye writes:
>> I do have a problem here.  I think I have mis-configured BTEST_POST.
>>
>> I have this:
>>
>> BTEST_POST  =
>>   # -L /ert # needed for Emacs23, Emacs24 has
>> ert built in
>>   # -L /ess  # needed for running R tests
>>  -L contrib/lisp/htmlize.el # need at least version
>> 1.34 for source code formatting
>
> This should work (put it all on one line and drop the comments):
>
> BTEST_POST  = -L ../contrib/lisp/htmlize.el
>
> In general, any load-path given on the command line should be an
> absolute path or you need to know which directory the invocation of
> emacs happens in and make the path relative to that (./orgmanual in this
> case).

Thanks.  An absolute path works on one line with comments removed works.

All the best,
Tom

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



Re: [O] ox-html.el removal

2013-03-11 Thread Rustom Mody
>
> A child with Asperger’s syndrome may notice that a woman in the line at
> the supermarket checkout is obese, and remark, in his or her usual tone of
> voice and volume, that the lady is fat and needs to go on a diet. The
> child’s opinion is that she should be grateful for the observation and
> advice; the likelihood that his or her mother will be embarrassed or the
> woman offended at such a rude comment is not part of the child’s thinking
> process. Other children would normally inhibit such a response, based on
> the  understanding of the other person’s thoughts and feelings. Children
> and adults with Asperger’s syndrome appear to have a greater allegiance to
> honesty and the truth than to the thoughts and feelings of others.
> [From The complete guide to Aspergers by Tony Attwood]
>

When Samuel writes short context-less mails and someone (interestingly
Jambunathan) shows irritation, Carsten firmly and gently advocates
compassion considering his difficulties

Just putting forward the possibility that Jambunathan suffers from
Aspergers and be treated with the (some?) compassion

So when Jambunathan says:
- dont wear implementer hat, just wear user hat
- the table in footnote is not confusing
- etc etc,

he probably has no clue that he is hurting people's sentiments. And
scolding him for the same is similar to scolding a color-blind person for
breaking a traffic signal.  The central feature of Aspergers is inability
to have a 'theory-of-mind' the sense that others have consciousness
analogous to ourselves.  This comes across as ridiculous egoism ('being a
jerk') when in fact its a painful cerebral defect of being unable to put
oneself in another's shoes

Of course disabled persons should not be allowed to drive if it can be
dangerous to others/themselves.
Likewise what is decided about conduct/etiquette on this list and/or
contribution to org in the larger interest, is ok by me.
Just requesting some compassion in the decision-making

Jambunathan: Maybe you think that by violently wrenching yourself out of
the org community you can start again on a clean slate elsewhere? I would
bet the problems you are facing here are not the first such in your life
and if you dont learn from these they will hardly be the last.  On the
other hand if you do learn maybe you will find that the org community is as
warm, friendly and vibrant as any you can get.

Finally a personal note: I often feel the way you do. Sitting before a
computer makes it worse. Sunshine makes it better. In particular
surya-namaskar is quite a magic potion.

Hope you can do a few before making a response


[O] M-q fill-paragraph and timestamps

2013-03-11 Thread Russell Adams
Minor question, I frequently use inactive timestamps in org, and
noticed that M-q (fill-paragraph) will often combine my timestamp in
with the text I'm writing.

Is there a method to prevent that?

ie:

[2013-03-11 Mon 11:33]
This is a typical note.

[2013-03-11 Mon 11:33]
I did it again, but now I'm wrapping and it considers the timestamp as
text to be filled instead of excluded and kept on it's own line.

(apply M-q)

[2013-03-11 Mon 11:33] I did it again, but now I'm wrapping and it
considers the timestamp as text to be filled instead of excluded and
kept on it's own line.

Thanks.



--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3



[O] Different spacing in html output compared to info and pdf

2013-03-11 Thread Thomas S. Dye
Aloha all,

This Org source:

- {{{kbdkey(S-,TAB)}}} or {{{kbdspckey(C-u,TAB)}}}, ~org-global-cycle~ :: 

yields this texinfo output:

@item @kbd{S-@key{TAB}} or @kbd{C-u @key{TAB}}, @code{org-global-cycle}

which looks fine in info:

`S-' or `C-u ', `org-global-cycle'

and in pdf:

S-TAB or C-u TAB, org-global-cycle

but not in html:

S-TABor C-u TAB, org-global-cycle

which loses the space between `TAB' and `or'.

Help?

All the best,
Tom

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



Re: [O] #+BEGIN_SRC problem when exporting

2013-03-11 Thread Eric Schulte
Luca Ferrari  writes:

> Hi all,
> maybe I'm getting something wrong but when I add to a file the following 
> block:
>
> #+BEGIN_SRC shell
> ![+-] program
> ![+-] hostname
> #+END_SRC
>
> and do a Latex export I got an "unbalanced" error. I suspect the
> problem is tied to the "+" signs that are within the block. Is there a
> trick I can use here?
> I'm using the org mode into Emacs 24.2.1.
>
> Thanks,
> Luca
>

Hi Luca,

Your example exports without problem with the latest version of
Org-mode.

Best,

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



Re: [O] M-q fill-paragraph and timestamps

2013-03-11 Thread Samuel Wales
On 3/11/13, Russell Adams  wrote:
> Minor question, I frequently use inactive timestamps in org, and
> noticed that M-q (fill-paragraph) will often combine my timestamp in
> with the text I'm writing.
>
> Is there a method to prevent that?

[ts] \\
par

Samuel

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

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  It attacks MANY body systems.  There is NO hope without
action.  This means YOU.



[O] Tweaking org-agenda view

2013-03-11 Thread Marvin Doyley
Hi there,

Is there a way to remove agenda file name from org-agenda weekly view.
 More specifically, I am trying to reduce the amount of clutter in agenda
view - I just want the content, don't care about the file name

Thanks
M


Re: [O] ox-html.el removal

2013-03-11 Thread Jambunathan K
Carsten Dominik  writes:

> We will see in how far the FSF will follow your arguments and what
> will happen when we merge 8.0 into the Emacs distribution.  So I don't
> see a reason to hold up the 8.0 release.  With respect to Emacs, we
> will have time to resolve the issue one way or another.

Meanwhile, someone should fix up the FSF assignment notice on those
files.  As far as I am concerned, it is a routine housekeeping thing and
hasn't taken effect.  I am not assigning any copyright to FSF.

ps: I don't have commit access.
-- 



Re: [O] Tweaking org-agenda view

2013-03-11 Thread Nick Dokos
Marvin Doyley  wrote:

> Hi there,
> 
> Is there a way to remove agenda file name from org-agenda weekly view.  More 
> specifically, I am
> trying to reduce the amount of clutter in agenda view - I just want the 
> content, don't care about
> the file name
> 

Customize org-agenda-prefix-format - you want to get rid of the category (the 
%-12:c part).

Nick





Re: [O] Help with babel results

2013-03-11 Thread Michael Gauland
On 11/03/13 12:48, Eric Schulte wrote:
> I've now committed this patch.
Thanks--that was fast.

Works for me now.

Kind Regards,
Mike




signature.asc
Description: OpenPGP digital signature


Re: [O] ox-html.el removal

2013-03-11 Thread Jambunathan K

Check with Nicolas and see to what percentage he agrees with what is
shown down below as on that particular date.





Jay Kerns  writes:

> On Mon, Mar 11, 2013 at 3:11 AM, Achim Gratz  wrote:
> [snip]
>
>> Nevertheless my suggestion to the Org community is to respect your wish
>> and move these two files to contrib...
>
> [snip]
>
> I have to say I think Achim is really on the right track, here.  Also
> for those interested in a bit of historical irony check out the commit
> history of ox-html.el in black and white:
>
> http://orgmode.org/cgit.cgi/org-mode.git/log/lisp/ox-html.el
> http://orgmode.org/cgit.cgi/org-mode.git/log/contrib/lisp/org-e-html.el
> http://orgmode.org/cgit.cgi/org-mode.git/log/EXPERIMENTAL/org-e-html.el
>
> In particular, the following was committed by Jambunathan K on
> 2012-02-18 with commit message, "org-e-html: New HTML exporter - a
> first attempt".
>
> diff --git a/EXPERIMENTAL/org-e-html.el b/EXPERIMENTAL/org-e-html.el
> new file mode 100644
> index 000..7079b5f
> --- a/dev/null
> +++ b/EXPERIMENTAL/org-e-html.el
> @@ -0,0 +1,4902 @@
> +;;; org-e-html.el --- HTML Back-End For Org Export Engine
> +
> +;; Copyright (C) 2011-2012 Free Software Foundation, Inc.
> +
> +;; Author: Nicolas Goaziou 
> +;; Keywords: outlines, hypermedia, calendar, wp
> +
> +;; This program is free software; you can redistribute it and/or modify
> +;; it under the terms of the GNU General Public License as published by
> +;; the Free Software Foundation, either version 3 of the License, or
> +;; (at your option) any later version.
> +
> +;; This program is distributed in the hope that it will be useful,
> +;; but WITHOUT ANY WARRANTY; without even the implied warranty of
> +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> +;; GNU General Public License for more details.
> +

-- 



Re: [O] ox-html.el removal

2013-03-11 Thread Eric Schulte
Jambunathan K  writes:

> Carsten Dominik  writes:
>
>> We will see in how far the FSF will follow your arguments and what
>> will happen when we merge 8.0 into the Emacs distribution.  So I don't
>> see a reason to hold up the 8.0 release.  With respect to Emacs, we
>> will have time to resolve the issue one way or another.
>
> Meanwhile, someone should fix up the FSF assignment notice on those
> files.  As far as I am concerned, it is a routine housekeeping thing and
> hasn't taken effect.  I am not assigning any copyright to FSF.
>

It is too late, you have already assigned copyright to the FSF.  Read
the FSF assignment papers you signed before contributing to Emacs and
Org-mode.  The language is straight forward and not hard to understand.

Your stated current goal is to delay the next Org-mode release and cause
FUD [1].  I don't think these legal claims will prove a fruitful means
to that end.

Cheers,

Footnotes: 
[1]  http://en.wikipedia.org/wiki/Fear,_uncertainty_and_doubt

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



Re: [O] Tweaking org-agenda view

2013-03-11 Thread Marvin Doyley
Hi Nick,

this solved my problem. Thanks
M

On Mon, Mar 11, 2013 at 1:36 PM, Nick Dokos  wrote:

> Marvin Doyley  wrote:
>
> > Hi there,
> >
> > Is there a way to remove agenda file name from org-agenda weekly view.
>  More specifically, I am
> > trying to reduce the amount of clutter in agenda view - I just want the
> content, don't care about
> > the file name
> >
>
> Customize org-agenda-prefix-format - you want to get rid of the category
> (the %-12:c part).
>
> Nick
>
>
>


[O] [New Exporter] deriving from derived backends?

2013-03-11 Thread Rick Frankel
Nicolas-

I am trying to derive a backend from another derived backend (i want
to override certain entries in the options-alist), but it does not
seem to work. The menu entries are created, but the in the
second-level derived backend are not being picked up.

Should this work? Or do i need a different approach?

here's abbreviated code:

(org-export-define-derived-backend s5 html
  :menu-entry
  (?s "Export to S5 HTML Presentation"
  ((?H "To temporary buffer" org-s5-export-as-html)
   (?h "To file" org-s5-export-to-html)
   (?o "To file and open"
   (lambda (a s v b)
 (if a (org-s5-export-to-html t s v b)
   (org-open-file (org-s5-export-to-html nil s v b)))
  :options-alist
  [...]


;; this is the full exporter definition
(org-export-define-derived-backend s5-xoxo s5
  :menu-entry
  (?s "Export to S5 HTML Presentation"
  ((?X "To temporary buffer (XOXO)" org-s5-export-as-html)
   (?x "To file (XOXO)" org-s5-export-to-html)
   (?O "To file and open (XOXO)"
   (lambda (a s v b)
 (if a (org-s5-export-to-html t s v b)
   (org-open-file (org-s5-export-to-html nil s v b)))
  :options-alist
  ((:html-container nil nil "li") ;; this is defined in the html backend
  ;; this is new to this backend
   (:s5-xoxo-root "S5_XOXO_ROOT" nil org-s5-xoxo-root-element)))

If i use e.g., s-X or s-x in the exporter menu,
in exporter functions, :html-container == "div" (which is set in the
html exporter), and :s5-xoxo-root is nil.

tia,
rick



Re: [O] Org Community

2013-03-11 Thread Ivan Kanis
March, 10 at 13:01 Scott Randby wrote:

> However, I am concerned about the future of org. There is one
> individual who is poisoning the atmosphere by engaging in unfair and
> unfounded name calling that simply should not be included in messages
> to this list.

I think we should ignore him. I have wasted 30mn of my life reading his
posts.

He might be manic and will probably be embarrassed by his posts when he
cools down.

> Now this person wants to take some of their contributions out of org.

Wishful thinking. Since his code made it to emacs he has signed FSF
paperwork. IANAL but I don't think it belongs to him anymore.
-- 
Quantum dynamics are affecting the transistors
-- BOFH excuse #70

I am listening to "ZZ Top - La Grange".



Re: [O] M-q fill-paragraph and timestamps

2013-03-11 Thread Russell Adams
On Mon, Mar 11, 2013 at 10:17:57AM -0700, Samuel Wales wrote:
> On 3/11/13, Russell Adams  wrote:
> > Minor question, I frequently use inactive timestamps in org, and
> > noticed that M-q (fill-paragraph) will often combine my timestamp in
> > with the text I'm writing.
> >
> > Is there a method to prevent that?
>
> [ts] \\
> par

Adding double \'s didn't work for me.

Any other ideas?

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3



Re: [O] Tweaking org-agenda view

2013-03-11 Thread Marvin Doyley
One other question,

Is there a way to increase line spacing (height) in agenda view ?

thanks
M

On Mon, Mar 11, 2013 at 2:23 PM, Marvin Doyley  wrote:

> Hi Nick,
>
> this solved my problem. Thanks
> M
>
>
> On Mon, Mar 11, 2013 at 1:36 PM, Nick Dokos  wrote:
>
>> Marvin Doyley  wrote:
>>
>> > Hi there,
>> >
>> > Is there a way to remove agenda file name from org-agenda weekly view.
>>  More specifically, I am
>> > trying to reduce the amount of clutter in agenda view - I just want the
>> content, don't care about
>> > the file name
>> >
>>
>> Customize org-agenda-prefix-format - you want to get rid of the category
>> (the %-12:c part).
>>
>> Nick
>>
>>
>>
>


Re: [O] emacs export org-mode to wiki: especially for the org-mode tables

2013-03-11 Thread Christopher Allan Webber
I think the old org wiki exporters were pre the new exporter?  I could
be wrong.

Would be nice to see a new mediawiki exporter to be written for the new
exporter code!

filebat Mark writes:

> hi all
>
> I badly need the feature of exporting org-mode to wiki(like mediawiki).
>
> After google for a while, I found some links but they don't work for me.
>
> Do you guys have any suggestion for this? If no option, I may use lisp
> to implement them by myself.
>
> http://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg00862.html
> http://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg00896.html
> http://lists.gnu.org/archive/html/emacs-orgmode/2011-03/msg01834.html
> http://orgmode.org/worg/org-blog-wiki.html
> http://orgmode.org/




Re: [O] M-q fill-paragraph and timestamps

2013-03-11 Thread Samuel Wales
On 3/11/13, Russell Adams  wrote:
>> [ts] \\
>> par
>
> Adding double \'s didn't work for me.

No other ideas.  It works in Emacs 24.2 with git master; did you try
point in par?

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

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  It attacks MANY body systems.  There is NO hope without
action.  This means YOU.



[O] Agenda buffer behavior

2013-03-11 Thread Gregory Benjamin
Hi,

Org-mode version 7.9.3e

I am getting used to the various Agenda views. One thing that seems
'wrong' to me is that whenever I invoke the main agenda view with 'C-c
a a' it reuses (overwrites) the '*Org Agenda*' buffer. Similarly, if
invoke the all todos view with 'C-c a t' it overwrites the previous
content of the '*Org Agenda*' buffer. Thus it is difficult to view
both of these views at once since they share the same buffer. It would
be more natural, I think, if each Agenda view had its own buffer so
that one could display both the weekly agenda and the list of all
todos simultaneously.

Is there a setting to control this?

Greg Benjamin



Re: [O] M-q fill-paragraph and timestamps

2013-03-11 Thread Russell Adams
> No other ideas.  It works in Emacs 24.2 with git master; did you try
> point in par?

I'm on 23.3, I wonder if fill-paragraph changed.

Thanks.

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3



Re: [O] Org Community

2013-03-11 Thread Samuel Wales
Thank you for writing that, Scott.

On 3/10/13, Scott Randby  wrote:
> Last September, I attended a talk given by the lead developers of a
> prominent free software project. One of the developers spoke about the
> importance of maintaining a friendly community that does not drive
> people away. In particular, the developer emphasized that the
> community is more important than the code.
>
> The org community has been wonderful since I've started using org. My
> questions on even the most basic matters have been answered with
> respect and clarity. Even though I'm a mere user of org, I've never
> hesitated to participate in a discussion on the mailing list.
>
> However, I am concerned about the future of org. There is one
> individual who is poisoning the atmosphere by engaging in unfair and
> unfounded name calling that simply should not be included in messages
> to this list. Now this person wants to take some of their
> contributions out of org. The developer of the talk I attended called
> this tactic "hostage taking" and said that it is better for the
> community to let hostage takers go their own way. The project and
> community are more important than the code. The code can be written by
> others, or the community can decide to go in a different
> direction. Giving in to hostage takers leads to more hostage taking
> and the decline of the project.
>
> Many of the users of org find it to be irreplaceable. We don't want to
> see org fall apart because of dissension in the community. I'm not
> saying that we shouldn't have dissent and disagreement. No, those are
> essential for a vigorous and healthy project. It is hateful and
> untruthful personal attacks that we should not accept no matter how
> significant the code contributions of those making the attacks.
>
> Scott Randby
>
>


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

The disease DOES progress.  MANY people have died from it.  It attacks
MANY body systems.  ANYBODY can get it.  There is NO hope without
activist action.  This means YOU.



Re: [O] Tweaking org-agenda view

2013-03-11 Thread Nick Dokos
Marvin Doyley  wrote:

> One other question,
> 
> Is there a way to increase line spacing (height) in agenda view ?

Maybe add a \n at the beginning of org-agenda-prefix-format?

Nick




Re: [O] (no subject)

2013-03-11 Thread T.F. Torrey
Thank you for your thoughtful reply. -- T.

Bastien  writes:

> Hi Terry,
>
> I hear you.  I completely agree that Org should not be less flexible
> than it has been so far.  At least not for very good reasons, shared
> by both the developers and the users.  IOW: ease of maintainance and
> code consistency should not let us introduce rigidity for the users.
>
> Let's focus on the regressions and let's try to fix the ones that we
> can fix.
>
> As discussions have shown so far, Nicolas holds the keys when it comes
> to honoring Org's consistency regarding its syntax -- the document he
> wrote will help us all to speak about the same syntax and rules.  But
> as you may have felt, I'm more on the "user conveniency" side, even if
> we need to sacrifice some consistency.  There is a balance here, and I
> hope we keep a good one.
>
> So as I said: let's focus on what you perceive as regressions wrt what
> Org allows.
>
> The subject of this thread does not fall in this category: headlines
> have always been starting with stars, there is no regression here.  On
> the contrary: a few years ago, we had no answer to this FAQ, now we
> can help users with several solution when the problem is aesthetic.
>
> Finally, I agree with Suvayu that the problem *is* mostly aesthetic,
> so the solutions we provide are enough (i.e., the FAQ, org-bullets.el
> in contrib/.)  The question is rather whether we should have an Org
> option in core to allow users to tweak the appearance of the stars:
> my answer here is "no", because I don't see why users would stop here.
> Once we offer such an option for headlines, why not for comments and
> other characters with a syntactic role?  (I replied a question on
> stackoverflow on how to use "%" instead of "#" for comments...)
>
> Anyway -- Org still stands on the side of users' freedom, let's
> fix the real regressions.
>
> Thanks!



Re: [O] ox-html.el removal

2013-03-11 Thread T.F. Torrey
Jambunathan K  writes:

> Meanwhile, someone should fix up the FSF assignment notice on those
> files.  As far as I am concerned, it is a routine housekeeping thing and
> hasn't taken effect.  I am not assigning any copyright to FSF.

Section 1a of the copyright assignment agreement is very specific:

#+BEGIN_QUOTE:
  1.(a) Developer hereby agrees to assign and does hereby assign to FSF
Developer's copyright in changes and/or enhancements to the suite of
programs known as EMACS (herein called the Program), including any
accompanying documentation files and supporting files as well as the
actual program code. These changes and/or enhancements are herein called
the Works.
#+END_QUOTE:

As a signed contributor, you have already assigned copyright of your
"changes and/or enhancements" to Emacs to the FSF (and therefore to this
community).  The agreement does not limit the assignment to those that
land in an Emacs release, or those you don't change your mind about, or
anything like that.  Any changes and/or enhancements to Emacs became
property of the FSF from the moment you wrote them.

Because you are not the copyright holder, it isn't even your prerogative
to decide which license the code is released under.  It happens to be
GPL, but the code is licensed by the copyright holder, which is the FSF,
not you.

Even listing you as an author in the file is a courtesy, not an
obligation.

Furthermore, any future code you might write concerning Org is also
automatically property of the FSF, and by extension this community.  You
have no rights to it, moral or otherwise.

#+BEGIN_QUOTE:
(b) The assignment of par. 1(a) above applies to all past and future
works of Developer that constitute changes and enhancements to the
Program.
#+END_QUOTE:

With the copyright assignment in place, there is nothing to "clear up"
for the next release of Emacs.  The FSF owns the code.  You gave it to
them for "$1 and other good and valuable consideration".

There is no way to change these terms for code you have already written,
unless you can convince the FSF to assign the copyright back to you, or
win the rights through legal action, neither of which sound fruitful.

If you are unhappy granting the copyright to your future Org code to the
FSF, your only recourse is to terminate your agreement with the FSF.  I
don't precisely know how that would be done, given that the copyright
assignment document makes no provision for its cancellation, but a
simple, formal notice of termination of the agreement might suffice,
even if made only to this list, which is operated by the FSF and managed
by its representatives.

Also, if you genuinely believe that anyone (including you) has a claim
to the rights to the Emacs code you have written, Section 2 of the
copyright assignment requires you to notify them:

#+BEGIN_QUOTE:
2. Developer will report occasionally, on Developer's
initiative and whenever requested by FSF, the changes and/or
enhancements which are covered by this contract, and (to the extent
known to Developer) any outstanding rights, or claims of rights, of any
person, that might be adverse to the rights of Developer or FSF or to
the purpose of this contract.
#+END_QUOTE:

Finally, this is only my understanding of the copyright assignment, but
the terms seem straightforward and clear.  If there really is
uncertainty among the developers here about what the copyright
assignment means, we should get clarification from RMS about the intent
or FSF legal about its legal implications before it leads to a lot of
hurt feelings (or worse).

All the best,
Terry
-- 
T.F. Torrey



Re: [O] Create course material with org-mode

2013-03-11 Thread T.F. Torrey
Hello Thorsten,

Torsten Wagner  writes:

> Actually the topic is not exactly OT, I'm looking for a "meta-system" which
> helps me to keep all those different things together. Hopefully, in a way
> which allows me to generate different kind of course material from the same
> sources.
> I was wondering, can org-mode be such a "meta-system" e.g. could I keep
> materials of a certain topic within a single org-file and use (customized)
> exporters to create the desired outputs like a interactive HTML version, a
> printable PDF, exercises and questions for exams?
>
> E.g. a file structure like this
>
> * Theory
> text text text
>
> ** Interactive example :HTML
> Bable code
>
> ** more theory in detail
> *** Images
>
> ** lecture slides :BEAMER
>
> ** Exercises
> *** Solutions
>
> ** Exam questions
> *** 1
> *** 2
> *** 3

This is more or less precisely the structure I use for managing my work.
I maintain each project as one Org file, keeping together all related
text, todo lists, spreadsheets, web pages, letters, and even files like
SVG files.  This way I can add just one file (per project) to my agenda
and not miss any tasks, and backing up my critical work is just a matter
of copying my Org files.  When needed, I also export the individual
nodes as HTML, PDF, OpenDocument, csv, or whatever.

This works very well for me, even when I am treating university classes
as projects and keeping the syllabus, instruction material, lab
material, data, tests, correspondence, and everything else together in
one file.

> This file should ideally run through different exporters to generate
> interactive HTML for a website,
> printable PDF version,
> slides for a lecture,
> exercises with and without solution,
> exam questions,
>
> One task which might require some more attention (and code) would be to
> compile e.g.  the entire script from different source files. Same for an
> entire exam, a set of exercise, etc.
> The benefit of an approach like above would be that I can keep all related
> infos close to each other. It would be much easier to make changes among
> all different outputs, create new material, etc.
> Hope this makes my idea more clear.
>
> Thanks for helping
>
> Torsten

It was this capability of Org that first captured me as a user, and I
still know of nothing else with so much accessibility, utility, and
power.

I'd be happy to give you more information about how to set up an Org
file to export to different formats the way I use mine, but really the
information is very clear in the manual.

And of course, if you have any trouble, the list is really great.

All the best,
Terry
-- 
T.F. Torrey



Re: [O] Different spacing in html output compared to info and pdf

2013-03-11 Thread Achim Gratz
Thomas S. Dye writes:
> Help?

Nice riddle.  But here's what I think is happening: your macro expansion
ends with a texinfo export snippet.  That export snippet is ignored by
the the HTML backend as it should, but in doing so the post-blank that
the export snippet has gobbled up greedily during parsing also
vanishes.  What I'm unsure about is how it gets back into the game for
the texinfo export, as the plain expansion does not seem to insert it.


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

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] Org Community

2013-03-11 Thread Loyall, David
FWIW, I believe that the org-mode community should do what we can to oblige 
Jambunathan's request, even if/when we're not legally required to do so.  I 
think that we should do the same for any human who wants to withdraw from an 
endeavor.  (Don't each of you feel that your code is a part of you?)

Supposing that the group agrees that the code should be removed somehow, then 
at that point we can think about the most orderly way to do it.  What happens, 
technically, if we mark it all as deprecated?

I hope this helps,
Dave Loyall

-Original Message-
From: emacs-orgmode-bounces+david.loyall=nebraska@gnu.org 
[mailto:emacs-orgmode-bounces+david.loyall=nebraska@gnu.org] On Behalf Of 
Scott Randby
Sent: Sunday, March 10, 2013 12:02 PM
To: emacs-orgmode@gnu.org
Subject: [O] Org Community

Last September, I attended a talk given by the lead developers of a prominent 
free software project. One of the developers spoke about the importance of 
maintaining a friendly community that does not drive people away. In 
particular, the developer emphasized that the community is more important than 
the code.

The org community has been wonderful since I've started using org. My questions 
on even the most basic matters have been answered with respect and clarity. 
Even though I'm a mere user of org, I've never hesitated to participate in a 
discussion on the mailing list.

However, I am concerned about the future of org. There is one individual who is 
poisoning the atmosphere by engaging in unfair and unfounded name calling that 
simply should not be included in messages to this list. Now this person wants 
to take some of their contributions out of org. The developer of the talk I 
attended called this tactic "hostage taking" and said that it is better for the 
community to let hostage takers go their own way. The project and community are 
more important than the code. The code can be written by others, or the 
community can decide to go in a different direction. Giving in to hostage 
takers leads to more hostage taking and the decline of the project.

Many of the users of org find it to be irreplaceable. We don't want to see org 
fall apart because of dissension in the community. I'm not saying that we 
shouldn't have dissent and disagreement. No, those are essential for a vigorous 
and healthy project. It is hateful and untruthful personal attacks that we 
should not accept no matter how significant the code contributions of those 
making the attacks.

Scott Randby




[O] inline Babel calls in math environments and table cells

2013-03-11 Thread Jay Kerns
Greetings,

I am in the process of updating materials to the new exporter in
anticipation of Org 8.0.  It appears that inline SRC blocks are not
being evaluated in table cells and math environments in the new
exporter, for instance, something like this:

\( SRC_R[:exports results]{2+3} \)

or like this:

| SRC_R[:exports results]{2+3} |

Is the above intentional?  I am reading the Org Syntax document and it
looks like inline Babel calls are "objects".  It also looks like the
pair \(...\) is a "LaTeX fragment" (also an object).  At the beginning
of the section it says, "Most objects cannot contain objects."  And it
also says right above that, "Objects can be found in... table cells."
If my reading of the syntax is correct then it would look like the
latter example is meant to be supported while the former example is
not.

Am I reading that correctly?

Thank you,

-- 
Jay

P.S. I've tried all possible settings of #+OPTIONS and of :mode
settings in the #+attr_latex line for the table.

P.P.S. Best-case scenario for me would be both examples supported, but
if not then I am willing to live with it or try to write something
that will support it.



Re: [O] inline Babel calls in math environments and table cells

2013-03-11 Thread Jay Kerns
Let me make clear: I'm talking about on export to LaTeX the code
blocks aren't evaluated.  I can execute in the buffer and everything
works fine.

-- 
Jay

On Mon, Mar 11, 2013 at 4:54 PM, Jay Kerns  wrote:
> Greetings,
>
> I am in the process of updating materials to the new exporter in



Re: [O] Org Community

2013-03-11 Thread François Pinard
Scott Randby  writes:

> There is one individual who is poisoning the atmosphere by engaging in
> unfair and unfounded name calling that simply should not be included
> in messages to this list.

The Internet wisdom (I mean, years of accumulated experience by lots of
people) suggests that we completely ignore those who troll.  This
requires that we educate us, between ourselves, to ignore such people.
They are fed by those who cannot resist replying to them.  If none do,
they usually disappear within a few months -- or a few years :-).  Kill
files (in email readers) are useful for ignoring poisoning people.

> Now this person wants to take some of their contributions out of
> org.

This is in such circumstances that clear FSF assignments prove useful.
I've seen this scenario repeating for other software, here and there,
for years (I've been around for quite a while).  People have opinions,
that's OK.  But when their way does not lead anymore, some of them
attempt destruction, more or less progressively, by all means possible,
psychological and technical.

They only have the power we give them.  When we get moved enough to
reply, we give them power.  Best is to ignore them, and learn to stay
completely calm inside.  See they are sick, do not get affected.  Do
not even attempt to heal them.

If you do not have enough means of self-control and just cannot resist,
then feed them privately, to spare the rest of the community.

François



[O] How to set html-postamble per file?

2013-03-11 Thread Jos'h Fuller
Hi!

In one of my *.org files, I want to change the org-export-html-postamble-format.

Is there any way to set this in the file, like with the #+OPTIONS stuff? 
The :PROPERTIES: drawer doesn't seem to work for this.

Based on a web search, I also tried this:

* COMMENT Local variables

# Local Variables:
# html-postamble: ""
# End:

I tried variants like "org-export-html-postamble", and nil and html strings, 
but all to no avail.

Adding "#postamble { display: none; }" seems to solve it the wrong way. Is 
there any way to 
override per file?

Thanks very much!

Jos'h

___

Jos'h Fuller, Production Programmer

Arc Productions Ltd. 

p: 416.682.5237  | f: 416.682.5209 | http://www.arcproductions.com 
230 Richmond Street East | Toronto, ON M5A 1P4 |





Re: [O] inline Babel calls in math environments and table cells

2013-03-11 Thread Eric Schulte
Jay Kerns  writes:

> Greetings,
>
> I am in the process of updating materials to the new exporter in
> anticipation of Org 8.0.  It appears that inline SRC blocks are not
> being evaluated in table cells and math environments in the new
> exporter, for instance, something like this:
>
> \( SRC_R[:exports results]{2+3} \)
>
> or like this:
>
> | SRC_R[:exports results]{2+3} |
>
> Is the above intentional?  I am reading the Org Syntax document and it
> looks like inline Babel calls are "objects".  It also looks like the
> pair \(...\) is a "LaTeX fragment" (also an object).  At the beginning
> of the section it says, "Most objects cannot contain objects."  And it
> also says right above that, "Objects can be found in... table cells."
> If my reading of the syntax is correct then it would look like the
> latter example is meant to be supported while the former example is
> not.
>
> Am I reading that correctly?
>
> Thank you,

Hi Jay,

This sounds like a question about the new exporter which is beyond my
ken.

However, code blocks may be called from Org-mode tables, using the `sbe'
[1] macro.

Hope this helps,

Footnotes: 
[1]  
,[sbe]
| sbe is a Lisp macro in `ob-table.el'.
| 
| (sbe SOURCE-BLOCK &rest VARIABLES)
| 
| Return the results of calling SOURCE-BLOCK with VARIABLES.
| Each element of VARIABLES should be a two
| element list, whose first element is the name of the variable and
| second element is a string of its value.  The following call to
| `sbe' would be equivalent to the following source code block.
| 
|  (sbe 'source-block (n $2) (m 3))
| 
| #+begin_src emacs-lisp :var results=source-block(n=val_at_col_2, m=3) 
:results silent
| results
| #+end_src
| 
| NOTE: by default string variable names are interpreted as
| references to source-code blocks, to force interpretation of a
| cell's value as a string, prefix the identifier a "$" (e.g.,
| "$$2" instead of "$2" or "$@2$2" instead of "@2$2").
| 
| NOTE: it is also possible to pass header arguments to the code
| block.  In this case a table cell should hold the string value of
| the header argument which can then be passed before all variables
| as shown in the example below.
| 
| | 1 | 2 | :file nothing.png | nothing.png |
| #+TBLFM: @1$4='(sbe test-sbe $3 (x $1) (y $2))
| 
| [back]
`


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



Re: [O] RFC: Creating a new org-contrib.git repository

2013-03-11 Thread Achim Gratz
Bastien writes:
> The advantage is (1) to separate Org's core logs (the one that are
> further merged into Emacs) from the org-contrib.git logs, and (2) to
> open org-contrib.git more widely, i.e., make it safe for anyone to
> push commits there with no fear of doing something wrong in Org's
> main repository.  Also, remember that org-contrib.git would be open
> for contributors without signing FSF papers first.

I would like to remark that if these files should then move into core
there will be lots of tedious work to ensure that all contributions are
assigned to the FSF by that time.  In that sense, org-contrib could
become a dead-end rather than a staging area.

If you only want wider push access to contrib/, then that could probably
be done by a pre-commit hook.

Or we could make it easier to pull from contributors' repositories by
having the build system deal with submodules and requesting that
contributions provide the necessary hooking in terms of a Makefile.
That'd mean that those contributors who can't or don't want to assign
copyright to the FSF keep their contributions in their own repositories.

> On the technical side: does anyone know what incantations needs to
> be done for this?  I use git filter-branch (and its --tree-filter
> option) from time to time but I'm definitely not an expert.  What
> we want at the end is:

Rewriting the history so that it stays meaningful will not be easy and
it will lose (or alter) information whenever a file moved between
contrib and core in the past.  This is not just a few incantations, you
would have to write specific scripting to do this.

I'd rather try to get as much contrib/ as possible into core and then
re-assess what's left.



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] Create course material with org-mode

2013-03-11 Thread Brian van den Broek
On 9 March 2013 17:21, Torsten Wagner  wrote:
> Hi,
>
> I plan to create new course materials for teaching at university level.



> I'm looking for a system which enables me to keep all materials together and
> to reuse as much as possible the same source files.
>
> E.g., for a particular topic, I would love to create all the above materials
> within a single file. This would help me to keep it among all materials
> coherent, correct errors and do updates effectively and save (hopefully) a
> lot of time.


Hi Torsten,

I thought I'd muddy your waters by throwing a contrary voice into the mix :-)

I've been refining the way I manage my college and uni teaching with
org for 5+ years, now. I am making extensive use of the scheduling and
TODO functionality. I am not storing course materials in the org
files. I found that I could not get by with just one teaching.org
file, but instead needed to break out each class into its own org
file. With everything in one, even on my pretty beefy box (quad core
i7, 8GB RAM) there was too much of a periodic lag when editing the org
file for that to be comfortable. On my netbook (which I take to the
office as the College insists I need a Windows box on my desk), the
lag made working with the file far too painful. I've not tried putting
my (extensive) LaTeX beamer slides sources, exams, etc. into the org
files, but I fear the lag would again occur.

I've been keeping all course related material other than the org files
which manage scheduling into a seperate directory under git version
control and I link from the org file's scheduled tasks to the relevant
course related materials. It seems to be working in that I am halfway
through the term and am at most a week behind :-) Having those
materials in nested dirs in the filesystem is helpful, too; it allows
granular use of things like $git log . and that often gives me a
better sense of what I've been up to than would running git log
against one monster all in org file.

I don't however too much by way of multiple outputs derived from
common sources. I let LaTeX beamer's facilities take care of prodicing
a display and a downloadable version of my slides. That just needs two
short master files which \include the body of the slides. What
duplication I have is in things like tests and paper topics when I
have multiple sections of the same course in a term, differing only in
section numbers and dates. The duplication is a bit inellegant, but it
is not extensive enough for me to worry about the overhead of avoiding
it. And, disk space is approximately free, at least if one is worried
about having duplicates of latex sources that generate a few pages.

HTH,

Brian vdB



Re: [O] Create course material with org-mode

2013-03-11 Thread Marcin Borkowski
Dnia 2013-03-11, o godz. 13:30:41
tftor...@tftorrey.com (T.F. Torrey) napisał(a):

> Hello Thorsten,
> 
> Torsten Wagner  writes:
> 
> > Actually the topic is not exactly OT, I'm looking for a
> > "meta-system" which helps me to keep all those different things
> > together. Hopefully, in a way which allows me to generate different
> > kind of course material from the same sources.
> > I was wondering, can org-mode be such a "meta-system" e.g. could I
> > keep materials of a certain topic within a single org-file and use
> > (customized) exporters to create the desired outputs like a
> > interactive HTML version, a printable PDF, exercises and questions
> > for exams?
> >
> > E.g. a file structure like this
> >
> > * Theory
> > text text text
> >
> > ** Interactive example :HTML
> > Bable code
> >
> > ** more theory in detail
> > *** Images
> >
> > ** lecture slides :BEAMER
> >
> > ** Exercises
> > *** Solutions
> >
> > ** Exam questions
> > *** 1
> > *** 2
> > *** 3

Hi all,

I am quite new here - I subscribed to this list just yesterday - but I
read the OP in this thread on the web (in fact, I've sent a private
email to Torsten; for the sake of completeness, let me repeat the link
I've given to him here:
http://tex.stackexchange.com/questions/22269/comparing-packages-which-facilitate-typesetting-exercises-and-solutions-exercis).
Also, here is something which some of you might find interesting:
http://acrotex.net/ (tl;dr: it is a LaTeX-based, partly free, partly
commercial suite for producing educational materials, among others
interactive pdfs, and maintaining exercise databases).

In fact, I am not personally interested in Org-mode's LaTeX export -
being an Org-mode user for a little more than one year (or so) and a
long-time TeX user (almost 20 years), I'm comfortable authoring in
LaTeX.  I even did try to write a paper in Org, but soon moved backed
to LaTeX, where I seemed to be much more in control (which might not be
objectively true, but that is what I felt).

That said, I find Org-mode's note-taking/outlining and task management
features really, really great - I'd like to thank all developers for
this great tool!

And to get on-topic: I'd be very glad to see your setup, being also an
academic teacher.

Also, an interesting (I guess) thought struck me today.  While (as I
said) writing LaTeX documents in Org-mode feels awkward for me,
developing LaTeX packages using Org's "Babel" features seems like a
great idea.  In the LaTeX world, /the/ tool for developing packages is
the docstrip "suite", which lets the developer have the code and docs
interspersed in one .dtx file (literate programming) and also create
a few files, optionally sharing some code (denoted by special tags in
the .dtx file), from one source, with instructions to do this in an .ins
(installation) file. I imagine that Org-mode might make this process
much more convenient, due to its features, like structure folding,
hyperlinks, exporting etc.; what's more, I think that (at least) one
thing might be actually easier in Org-mode than in docstrip, namely
testing (I imagine having source code, comments, tests and example
LaTeX files all in one Org-mode file, and being able to tangle the
code, install it, compile an example and start a pdf viewer all with
one keystroke.)  (This is obviously possible just in Emacs + AUCTeX
and .dtx file, by means of some customization and simple elisp
programming, but my guts tell me that it might be a natural application
of Org-mode exporting feature.)

Please tell me whether the above paragraph makes any sense to you; if
yes, I might start thinking about how such a system might be
implemented.  (A necessary feature would have to be actually creating
"traditional" .dtx/.ins pair of files to make it possible to install
all this without emacs - some TeXackers are somehow happy with inferior
editors;).)

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University



Re: [O] Agenda optimization (new worg page and new defaults)

2013-03-11 Thread Bastien
Hi Carsten,

Carsten Dominik  writes:

> I think this is the right decision, thanks.  And thanks for the nice
> documentation!  Tis might deserve a spot in the manual, in the final
> chapter.

I've done this now, thanks,

-- 
 Bastien



Re: [O] Agenda buffer behavior

2013-03-11 Thread Marcin Borkowski
Dnia 2013-03-11, o godz. 12:26:52
Gregory Benjamin  napisał(a):

> Hi,
> 
> Org-mode version 7.9.3e
> 
> I am getting used to the various Agenda views. One thing that seems
> 'wrong' to me is that whenever I invoke the main agenda view with 'C-c
> a a' it reuses (overwrites) the '*Org Agenda*' buffer. Similarly, if
> invoke the all todos view with 'C-c a t' it overwrites the previous
> content of the '*Org Agenda*' buffer. Thus it is difficult to view
> both of these views at once since they share the same buffer. It would
> be more natural, I think, if each Agenda view had its own buffer so
> that one could display both the weekly agenda and the list of all
> todos simultaneously.
> 
> Is there a setting to control this?
> 
> Greg Benjamin
> 

Hi,

not /exactly/ what you are looking for, but maybe even better:
http://orgmode.org/org.html#Block-agenda

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University



Re: [O] Create course material with org-mode

2013-03-11 Thread Marco
Hi list, and Terry,

> This is more or less precisely the structure I use for managing my work.
> I maintain each project as one Org file, keeping together all related
> text, todo lists, spreadsheets, web pages, letters, and even files like
> SVG files.  This way I can add just one file (per project) to my agenda
> and not miss any tasks, and backing up my critical work is just a matter
> of copying my Org files.  When needed, I also export the individual
> nodes as HTML, PDF, OpenDocument, csv, or whatever.

> I'd be happy to give you more information about how to set up an Org
> file to export to different formats the way I use mine, but really the
> information is very clear in the manual.

I find it would be great, at least for me, to have a "working example"
plus a couple of hints. I will be glad if you can provide a
stripped-down version of your working solution, so that I could just
try the workflow "hands on"!
Greets (and keep up the great work),
Marco



Re: [O] RFC: Creating a new org-contrib.git repository

2013-03-11 Thread Bastien
Hi Achim,

Achim Gratz  writes:

>> On the technical side: does anyone know what incantations needs to
>> be done for this?  I use git filter-branch (and its --tree-filter
>> option) from time to time but I'm definitely not an expert.  What
>> we want at the end is:
>
> Rewriting the history so that it stays meaningful will not be easy and
> it will lose (or alter) information whenever a file moved between
> contrib and core in the past.  This is not just a few incantations, you
> would have to write specific scripting to do this.

Yes -- my experiments show me this so far, it is not easy.

So really question the usefulness of the whole move in fact.

> I'd rather try to get as much contrib/ as possible into core and then
> re-assess what's left.

I see your point, but this cannot be done without asking the Emacs
developers what they consider being really useful for Emacs.  Again,
not something that I will have time to do before 8.0.

Let's continue to see if this is desirable and possible without
too much dirty work, and maybe postpone this after 8.0.

-- 
 Bastien



Re: [O] Tweaking org-agenda view

2013-03-11 Thread Marvin Doyley
Thanks,

Cheers
M

Sent from my iPhone

On Mar 11, 2013, at 3:37 PM, Nick Dokos  wrote:

> Marvin Doyley  wrote:
>
>> One other question,
>>
>> Is there a way to increase line spacing (height) in agenda view ?
>
> Maybe add a \n at the beginning of org-agenda-prefix-format?
>
> Nick
>



Re: [O] ox-html.el removal

2013-03-11 Thread Jonathan Leech-Pepin

Hello,

T.F. Torrey writes:

> Jambunathan K  writes:
>
>> Meanwhile, someone should fix up the FSF assignment notice on those
>> files.  As far as I am concerned, it is a routine housekeeping thing and
>> hasn't taken effect.  I am not assigning any copyright to FSF.
>
> Section 1a of the copyright assignment agreement is very specific:
>
> #+BEGIN_QUOTE:
>   1.(a) Developer hereby agrees to assign and does hereby assign to FSF
> Developer's copyright in changes and/or enhancements to the suite of
> programs known as EMACS (herein called the Program), including any
> accompanying documentation files and supporting files as well as the
> actual program code. These changes and/or enhancements are herein called
> the Works.
> #+END_QUOTE:
>
> As a signed contributor, you have already assigned copyright of your
> "changes and/or enhancements" to Emacs to the FSF (and therefore to this
> community).  The agreement does not limit the assignment to those that
> land in an Emacs release, or those you don't change your mind about, or
> anything like that.  Any changes and/or enhancements to Emacs became
> property of the FSF from the moment you wrote them.
>
> Because you are not the copyright holder, it isn't even your prerogative
> to decide which license the code is released under.  It happens to be
> GPL, but the code is licensed by the copyright holder, which is the FSF,
> not you.
>
> Even listing you as an author in the file is a courtesy, not an
> obligation.
>
> Furthermore, any future code you might write concerning Org is also
> automatically property of the FSF, and by extension this community.  You
> have no rights to it, moral or otherwise.
>
> #+BEGIN_QUOTE:
> (b) The assignment of par. 1(a) above applies to all past and future
> works of Developer that constitute changes and enhancements to the
> Program.
> #+END_QUOTE:

Arguably there is no requirement that any code Jambunathan or any other
FSF contributor writes needs to be provided to Emacs/FSF.  If I write a
library expanding on existing content but wish to retain copyright for
myself rather than assign it to the FSF they cannot require me to do
otherwise as far as I know.  Only if I wish it to become part of Emacs
is that required.

However in this case, if you look at the earliest commits of the two
files in question (EXPERIMENTAL/org-e-html.el and
EXPERIMENTAL/org-e-odt.el) they were both added to Org with the lines:

;; Copyright (C) 2011-2013  Free Software Foundation, Inc.

Therefore I see that as meaning that they are copyright by FSF and the
copyright assignment cannot be revoked except by the holder, in this
case FSF.
[...snip]
>
> All the best,
> Terry

Regards,
Jon



[O] [bug] [new exporter] [markdown] Underline exports as HTML

2013-03-11 Thread T.F. Torrey
Hello,

The new markdown exporter (which I didn't think I'd use, but now greatly
appreciate) seems to export underlines as HTML rather than markdown.

In other words, this:

The _second_ thing.

exports as this:

The second thing.

I'm not experienced with markdown, but this doesn't look right to me.

Emacs  : GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 3.6.0)
 of 2012-12-24 on menkib, modified by Debian
Package: Org-mode version 8.0-pre (release_8.0-pre-36-g0c7e2c @ 
/home/tftorrey/.emacs.d/elisp/org/lisp/)

All the best,
Terry
-- 
T.F. Torrey



Re: [O] Different spacing in html output compared to info and pdf

2013-03-11 Thread Thomas S. Dye
Aloha Achim,

Achim Gratz  writes:

> Thomas S. Dye writes:
>> Help?
>
> Nice riddle.  But here's what I think is happening: your macro expansion
> ends with a texinfo export snippet.  That export snippet is ignored by
> the the HTML backend as it should, but in doing so the post-blank that
> the export snippet has gobbled up greedily during parsing also
> vanishes.  What I'm unsure about is how it gets back into the game for
> the texinfo export, as the plain expansion does not seem to insert it.

Oh, I didn't realize there are two sets of html files generated. The
html generated by makeinfo --html is fine. The problem is with html
generated by Org.

I haven't worked with the new html exporter at all, so I won't be much
help debugging this (as if!). 

I'll need to wait for Jonathan or Nicolas to chime in.

All the best,
Tom

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



Re: [O] [bug] [new exporter] [markdown] Underline exports as HTML

2013-03-11 Thread Bastien
Hi Terry,

tftor...@tftorrey.com (T.F. Torrey) writes:

> I'm not experienced with markdown, but this doesn't look right to
> me.

I fixed this in master.  

AFAIK there is no syntax for underlining in Markdown, so underlined
text in Org will be exported as plain text in Markdown.

See
http://stackoverflow.com/questions/3003476/get-underlined-text-with-markdown

Thanks for reporting this,

-- 
 Bastien



Re: [O] inline Babel calls in math environments and table cells

2013-03-11 Thread Jay Kerns
Hello there,

On Mon, Mar 11, 2013 at 5:26 PM, Eric Schulte  wrote:

> Hi Jay,
>
> This sounds like a question about the new exporter which is beyond my
> ken.
>
> However, code blocks may be called from Org-mode tables, using the `sbe'
> [1] macro.
>
> Hope this helps,


Thank you.  Yes, it definitely helps; I hadn't heard about sbe - very
cool!  I played with your suggestion and here is a working example
(for the archives):

#+BEGIN_SRC R :session *R*
A <- matrix(sample(100, size = 6), nrow = 2)
#+END_SRC

#+RESULTS:
| 51 | 77 | 63 |
| 65 | 20 | 56 |

#+name: foo
#+BEGIN_SRC R :session *R*
A[m,n]
#+END_SRC

|   || 63 |
|   |||
#+TBLFM: @1$3='(sbe foo (m "1") (n "3"))

Now I can frame my question better about the new exporter: what I am
asking about is whether it is planned to ever be possible to do
something like this (and get the same exported results):

#PROPERTY: :exports results
#PROPERTY: :results output

|   || SRC_R{A[1,3]} |
|   ||   |


-- 
Jay



Re: [O] Small tutorial on how to use Perl within org

2013-03-11 Thread D M German

Hi Tom,

 Thomas S Dye twisted the bytes to say:

[...]
 >> 
 >> http://turingmachine.org/~dmg/emacs/examplePerl.org

 Tom> Nice.

 Tom> It would be great to use this document as the basis of ob-doc-perl.
 Tom> Perl is one of about 20 languages that need to be documented at
 Tom> http://orgmode.org/worg/org-contrib/babel/languages.html.  

 Tom> Note that there is a template that helps create a "standard" language
 Tom> document: 

 Tom> 
http://orgmode.org/w/?p=worg.git;a=blob;f=org-contrib/babel/languages/ob-doc-template.org;hb=HEAD

 Tom> I don't know the first thing about Perl, but I'll be happy to help if
 Tom> there are questions about getting to ob-doc-perl from the template.

It sounds good. I'll do it. I'll probably have it ready the end of the
week or beginning of next. 

I'll also take care of SQL, which I have been using under Org too.

--dmg

 Tom> All the best,
 Tom> Tom

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


--
Daniel M. German  "Science can be esoteric
The Economist ->   technology has to be pragmatic"
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

 



Re: [O] [bug] [new exporter] [markdown] Underline exports as HTML

2013-03-11 Thread Rick Frankel
On Tue, Mar 12, 2013 at 12:06:55AM +0100, Bastien wrote:
> Hi Terry,
> 
> tftor...@tftorrey.com (T.F. Torrey) writes:
> 
> > I'm not experienced with markdown, but this doesn't look right to
> > me.
> 

> AFAIK there is no syntax for underlining in Markdown, so underlined
> text in Org will be exported as plain text in Markdown.

I would argue that underlining is a form of emphasis, so the leading
and trailing underscores should be passed through verbatim to
markdown (which, in markdown syntax is an emphasized span).

rick



Re: [O] Org Community

2013-03-11 Thread François Pinard
"Loyall, David"  writes:

> the org-mode community should do what we can to oblige Jambunathan's
> request, even if/when we're not legally required to do so.

I read you, but no, not in this case.

> (Don't each of you feel that your code is a part of you?)

Yes, of course.  However, when I put my own code under the GPL, and make
my projects forkable, I really, really mean it.  It did happen that I
was not fully happy with the consequences, but not enough to kill my own
generosity.  If I ever change my mind, well, too late, and that's OK.  I
may act differently for the later code I'll write, but what is already
given is well given.  I might have been someone else when I gave it,
before I changed.  But as I'm not that another guy anymore, I should not
claim anything about that previous me.  Unless I'm pretty rotten, in
which case I'm not even worth being listened to.

> Supposing that the group agrees that the code should be removed
> somehow,

The only reason to remove code owned by the community would be that it
is not pleasurable enough to maintain, then consequently gets obsolete
and useless.  If nobody cares about the code, it's a different story.

François

P.S. I only once advocated for the withdrawal of an FSF assignment, and
I even got the related papers destroyed at the FSF headquarters.  The
related code was not so widely distributed that the withdrawal would
really hurt people, and the requester was deeply polite and human in his
way to explain his motivations.  He was also well aware of the meaning
of his previous commitment.  So, it has been a pleasure for me, and
everybody I contacted, to help.  It was human on every side.

Here, as far as humanity and politeness is concerned, one side is surely
missing.  Let's not spoil anymore time at that level, it would be a waste.



Re: [O] Small tutorial on how to use Perl within org

2013-03-11 Thread Thomas S. Dye
Aloha Daniel,

D M German  writes:

> Hi Tom,

> It sounds good. I'll do it. I'll probably have it ready the end of the
> week or beginning of next. 
>
> I'll also take care of SQL, which I have been using under Org too.

This is welcome news.  Let me know if there is any way I can help.

All the best,
Tom

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



Re: [O] Agenda buffer behavior

2013-03-11 Thread Eric Abrahamsen
Gregory Benjamin  writes:

> Hi,
>
> Org-mode version 7.9.3e
>
> I am getting used to the various Agenda views. One thing that seems
> 'wrong' to me is that whenever I invoke the main agenda view with 'C-c
> a a' it reuses (overwrites) the '*Org Agenda*' buffer. Similarly, if
> invoke the all todos view with 'C-c a t' it overwrites the previous
> content of the '*Org Agenda*' buffer. Thus it is difficult to view
> both of these views at once since they share the same buffer. It would
> be more natural, I think, if each Agenda view had its own buffer so
> that one could display both the weekly agenda and the list of all
> todos simultaneously.
>
> Is there a setting to control this?

Yup, it's called `org-agenda-sticky'. You can turn it on by default, or
on the fly with "*" in the dispatcher, or by calling
`org-toggle-sticky-agenda'.

E




Re: [O] How to set html-postamble per file?

2013-03-11 Thread Eric Abrahamsen
Jos'h Fuller  writes:

> Hi!
>
> In one of my *.org files, I want to change the 
> org-export-html-postamble-format.
>
> Is there any way to set this in the file, like with the #+OPTIONS stuff? 
> The :PROPERTIES: drawer doesn't seem to work for this.
>
> Based on a web search, I also tried this:
>
> * COMMENT Local variables
> 
> # Local Variables:
> # html-postamble: ""
> # End:
>
> I tried variants like "org-export-html-postamble", and nil and html strings, 
> but all to no avail.

Provided you're using the new exporter, which you are if you're keeping
up with git development, most of the relevant commands and variables
have dropped the "export" bit, so I think you're looking to set
`org-html-postamble' to nil, or else `org-html-postamble-format' to
the string you actually want exported.

HTH,

Eric




Re: [O] A proposal (ox-html.el/ox-odt.el)

2013-03-11 Thread Jambunathan K

Carsten, Stefan and others

Let me table a proposal.

All parties - including me - unequivocally agree that interest of Emacs
users should be kept in mind.

I want to fork ox-html.el and ox-odt.el (as it stands today in Org repo)
to GNU ELPA repo.  I request that Emacs maintainers recognize the GNU
ELPA version (maintained by me) as the authoritative official versions
of these files that gets bundled with SUMO Emacs.

Org maintainer can propose to merge fixes to the above files from Org
"downstream" in to "upstream" Emacs GNU ELPA.  I will oblige for an
upstream push for most part but will exercise my own discretion on a
patch by patch basis.

In summary,


  Jambunathan
+---+
|  ox-html.el   +---  push   Emacs maintainer
|  ox-odt.el|   \-
|  GNU ELPA | \-++
|   |   \-->||
+---+   | lisp/org/ox-html.el|
   ^  Push  | lisp/org/ox-odt.el |
   |||
   |++
   || Other org files|
+--+-+   /->||
||   /---   ||
| Org repo   |  /   ||
||  /---++
|+--  push
||
||
++
 Org maintainer

I have my differences with Bastien.  The differences are well-known (but
not well-understood) and as far as I am concerned those are
ir-reconcilable.  I want ox-html.el and ox-odt.el to be available to
everyone (including Emacs/Org) but outside of Bastien's control.  

The above model requires one minor change: Users should be able to
download the development versions of packages via a new GNU ELPA-dev.

It seems complicated.  But captures the disributed nature of Emacs
development, IMO.

What do you think?  Consider it as a thought experiment.  It will
accommodate my wishes without shortchanging any users.

ps: Let us set aside my copyright proposal for a while.

Jambunathan K.
--



[O] Basic beamer export

2013-03-11 Thread JBash
Hello,

I am apparently missing something very basic in the setup for beamer
export.  I have used http://orgmode.org/worg/exporters/beamer/ox-beamer.html as
a guide and have:

;; Export to Beamer Presentation
(require 'ox-latex)
(add-to-list 'org-latex-classes
 '("beamer"
   "\\documentclass\[presentation\]\{beamer\}"
   ("\\section\{%s\}" . "\\section*\{%s\}")
   ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
   ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))

in my .emacs file.  As you can see from the attached files, I'm getting
nested items rather than frames in the exported .tex file for the 3rd level
headlines, as I'd expect.  I am using Org-mode version 8.0-pre
(release_8.0-pre-33-g5c25ed and emacs 24.2.1.

I've attached the .org file and the .tex file that is generated.  I'd
appreciate if someone could point out what I'm missing.

Thanks,
Jerry


beamer_attempt1.org
Description: Binary data


beamer_attempt1.tex
Description: TeX document