Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Samuel Wales
On 1/22/15, Neven  wrote:
> If you have a problem with that, you can stop
> reading right about now...

opt-out?



Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Scott Randby

On 01/22/2015 05:02 PM, Marcin Borkowski wrote:


Now the question is: what is the most appropriate place to *inform*
about his project.  If not the Org-mode discussion list, I really don't
know.  (I assume that nobody denies his *right* to license his work
according to his wishes, of course, for if not, another explanation
would be that this project doesn't have any right to *exist* in the
first place.)


Since we cannot view the code of this software, then we have no way of 
determining before we use it if it has any purpose other than its stated 
purpose. For all we know, it contains some nasty code that takes over 
your system and deletes all of your files or worse.


To trust this software because the developer seems to have good 
intentions is foolish. When I saw the announcement, I interpreted it as 
saying this: "Gee, here is some neat software I wrote. You can't see the 
code, but trust me, I'm good. I'll open up part of the code maybe 
sometime, but for now you can try it out for free. I'm not going to cut 
you off later and make you pay to continue using this wonderful thing. 
And no, it doesn't do anything bad like steal information or trash 
systems. Trust me." No thanks, I say. Promote this somewhere else.


Scott Randby



Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Mike McLean
Orgzly is non-free software, and people should not install it, or suggest
installing it, or even tell people it exists.

On Thu, Jan 22, 2015 at 4:23 PM, Subhan Michael Tindall <
subh...@familycareinc.org> wrote:

> OK, I love this!
>

Orgzly is non-free software, and people should not install it, or suggest
installing it, or even tell people it exists.


Re: [O] [ANN] orgtbl-join

2015-01-22 Thread Eric Abrahamsen
Thierry Banel  writes:

> Hi The List
>
> I am glad to announce the orgtbl-join package.
>
> It merges Org tables. A master table is enriched with material from a
> reference table.

This is *really* cool -- thanks for making these packages!




Re: [O] New patches WAS Re: [PATCH] inline src block results can be removed

2015-01-22 Thread Nicolas Goaziou
"Charles C. Berry"  writes:

> I attach 3 patches and a file of usage examples.

Thanks.

> +(let* ((el (org-element-context))
> +(beg (org-element-property :begin el))
> +(type (org-element-type el)))
> +  (when (eq type 'inline-babel-call)
> + (goto-char beg)))

Nitpick: this looks like a lot of bindings for a dubious readability
improvement. What about:

  (let ((datum (org-element-context)))
(when (eq (org-element-type datum) 'inline-babel-call)
  (goto-char (org-element-property :begin datum

> +  (bad-inline-p
> +   (when inlinep
> + (or
> +  (and (member "table" result-params) "`:results table'")
> +  (and (listp result) "list result")
> +  (and (string-match-p "\n." result) "multiline result")

`string-match-p' => `org-string-match-p'

>   (cond
>;; do nothing for an empty result
>((null result))
> +  ;; illegal inline result or params

Capital and final dot.

> +   (when inlinep
> + (goto-char inlinep)
> + (setq result) (org-macro-escape-arguments result))

  (setq result (org-macro-escape-arguments result))

> +  (bad-inline-p) ;; do nothing

Single semicolon for end-of-line comments, and capital+final dot.

> +(defun org-babel-remove-inline-result ()
> +  "Remove the result of the current inline-src-block or babel call.
> +The result must be wrapped in a `results' macro to be
> +  removed. Extraneous leading whitespace is trimmed."
> +  (let* ((el (org-element-context))
> +  (post-blank (org-element-property :post-blank el)))
> +(when (memq (org-element-type el) '(inline-src-block inline-babel-call))
> +  (org-with-wide-buffer
> +(goto-char (org-element-property :end el))
> +(let  ((el (org-element-context)))

   ^^^
   spurious space

This looks good. I think you can push them into master once the minor
issues above are fixed and if all tests pass.


Regards,

-- 
Nicolas Goaziou



Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Rasmus
Hi,

Marcin Borkowski  writes:

> Now Rasmus comes and says:
>
>> I must admit that I feel uncomfortable because you use the name
>> org-mode to promote a product that does not respect the "4 freedoms"
>> as put forth by the FSF.  E.g. if you make mistakes, it may reflect
>> poorly on us, and we won't even be able to fix it or distribute
>> a version that is not broken if we so desired.  That's just /my/
>> personal opinion, though.
>
> which is a very well-thought, delicate way of saying that he doesn't
> like the situation.

> (Personally, I do not 100% agree with Rasmus' opinion, but I can see the
> rationale behind it.)

Fine with me!

Neven, whom I have exchange a couple of private emails with, is free to
distribute his software as he see fit.  What I explicitly quoted as being
uncomfortable was the association between his product with *org-mode*.
Note, the tag-line on Neven's site was something like "org-mode for
Android" up until this discussion.

I'm sure everybody is excited that his program is working with the *org
format*!

> Then others come and say some, ekhm, not-extremely-nice things to
> someone who was definitely not trolling or anything like this.

We should strive to keep the org-list friendly and civilized.

> Let us further assume that he will sell his book in bookstores (it might
> be in ebook form, with or without DRM, or in paper form - never mind, I
> do not know the exact details).  Would he be prohibited from mentioning
> his project (which clearly involves a non-free piece of *software*,
> i.e., the LaTeX source file, and promotes the *result* of executing this
> piece of code) on Emacs mailing list?  I am very interested in a serious
> answer, and (if it happens to be "no") in explanation how and why the
> situation would be different.

First, I don't have strong opinions on this.  However, as I recall there's
a passage on articles vs software in Free as in Freedom 2.0:

http://shop.fsf.org/product/free-as-in-freedom-2/

Second, there's /nothing/ wrong with charging for e.g. binaries.  A few
Android programs that I use come to mind: Conversations, DAVDroid, OSMAnd,
OwnCloud News (correct me if I'm wrong on any of these; I don't have
iGoogles).

—Rasmus
 
-- 
Together we will make the possible totay impossible!




[O] long outline entries

2015-01-22 Thread Jude DaShiell
Is there any way in org-mode to have two things happeautomatically when a 
long outline entry gets keyed into a file?  First the lines of the outline 
entry do not go beyond a defined right margin and split on spaces.  
Second, subsequent lines created by above wrapping start on a left margin 
that makes it clear to org-mode that these additional lines are all part 
of the original outline entry since they're inside the indents created by 
the stars and space that started the original outline entry?  A question 
to clarify things a little bit may help.  Let's say an entry starts with 
three stars followed by a space followed by the start of the outline item.  
In order for things to lok neat and be correct, would org-mode start a 
wrapped line from that outline item if it was longer say than 65 
characters total on line 2 and space 5?



jude  Twitter: @JudeDaShiell



Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Marcin Borkowski

On 2015-01-22, at 17:41, Jose E. Marchesi  wrote:

> *NOTE* It's about an app which is *not* open source (some parts of code
> will opened, see below).  If you have a problem with that, you can stop
> reading right about now...
>
> Please stop using the GNU mailing lists to promote proprietary software.

It might be the case that I do not understand something.

AFAIR, there was a recent discussion on another GNU mailing list about
usability of Emacs under Windows.  (Maybe it was somewhere else, I'm not
sure, then my question is theoretical.)  A few people claimed that Emacs
under Windows is fully functional and works well.  Would this also be
considered "promoting proprietary software"?

Also, I see the situation this way.  The guy decided that he liked
Org-mode, and spent his time and effort to build something that makes it
even more useful.  He might (or might not) want to make money on it.  He
might (or might not) release the code for everyone to inspect.  Both are
his decisions and his rights.  What he needs (e.g., for testing) is some
userbase.  OTOH, I presume that there are people who would be willing to
try this app and maybe use it on a regular basis.

He began very apologetically (even too much, imho), saying:

> Sorry if considered spammish, but since it has been mentioned
> yesterday and it might interest some Android users out there...
>
> *NOTE* It's about an app which is *not* open source (some parts of
> code will opened, see below).  If you have a problem with that, you
> can stop reading right about now...

I admit that I'm not a native speaker of English, but I can't fathom how
this might be considered "promoting".  Informing, yes.  Promoting?  Come
on.  He explicitly warned about the situation at the very beginning.  (I
assume that the posts to this mailing lists are only received by people
who had voluntarily opted for it, and that FSF does not send unsolicited
email - then I could understand using a word like "promotion".)

Now the question is: what is the most appropriate place to *inform*
about his project.  If not the Org-mode discussion list, I really don't
know.  (I assume that nobody denies his *right* to license his work
according to his wishes, of course, for if not, another explanation
would be that this project doesn't have any right to *exist* in the
first place.)

Now Rasmus comes and says:

> I must admit that I feel uncomfortable because you use the name
> org-mode to promote a product that does not respect the "4 freedoms"
> as put forth by the FSF.  E.g. if you make mistakes, it may reflect
> poorly on us, and we won't even be able to fix it or distribute
> a version that is not broken if we so desired.  That's just /my/
> personal opinion, though.

which is a very well-thought, delicate way of saying that he doesn't
like the situation.  (Personally, I do not 100% agree with Rasmus'
opinion, but I can see the rationale behind it.)

Then others come and say some, ekhm, not-extremely-nice things to
someone who was definitely not trolling or anything like this.

And all that not taking into consideration that the project might gain
some publicity for Org-mode and Emacs, which seems a good thing.

I.  Don't.  Understand.  This.

Another (a bit theoretical) example.  Mickey Petersen the Great (of
Mastering Emacs fame) has recently announced a book on Emacs.  Assume
that he writes it in LaTeX, so his book is basically a product of
a *computer program* (even if in a weird programming language).  Let us
further assume that he will sell his book in bookstores (it might be in
ebook form, with or without DRM, or in paper form - never mind, I do not
know the exact details).  Would he be prohibited from mentioning his
project (which clearly involves a non-free piece of *software*, i.e.,
the LaTeX source file, and promotes the *result* of executing this piece
of code) on Emacs mailing list?  I am very interested in a serious
answer, and (if it happens to be "no") in explanation how and why the
situation would be different.


Disclaimer: while I consider Emacs a brilliant piece of software and an
(almost) indispensable tool, I do not buy (and oppose) things like the
GNU Manifesto, RMS's philosophy and some FSF actions (like being
secretive about things that should be public imo).  I also use
proprietary software (although not an a daily basis, and if I have
choice, I usually prefer free/open-source software).  OTOH, I also
happen to use software with licenses much less restrictive than GPL.
I also licenced some of my (very humble) contributions to the world's
pool of code with GPL, although seeing some FSF actions and discussions
like this I will definitely seriously reconsider this.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Subhan Michael Tindall
OK, I love this! 
I installed it, setup was easy as I already sync some relevant .org files  
through dropbox.
The interface is pretty smooth, there's a few significant things that need 
handled(checkboxes and #+TODO per-file configuration tripped me up already), 
but mostly everything works.
I will happily be contributing testing and feedback. I've been looking for a 
decent way to include my phone in my org workflow,  and this likes very 
promising!
Kepp up the good work!
Subhan


> -Original Message-
> From: emacs-orgmode-bounces+subhant=familycareinc@gnu.org
> [mailto:emacs-orgmode-bounces+subhant=familycareinc@gnu.org] On
> Behalf Of Neven
> Sent: Thursday, January 22, 2015 3:33 AM
> To: emacs-orgmode@gnu.org
> Subject: [O] [ANN] [OT] New Android app (Orgzly)
> 
> Hi,
> 
> Sorry if considered spammish, but since it has been mentioned yesterday
> and it might interest some Android users out there...
> 
> *NOTE* It's about an app which is *not* open source (some parts of code
> will opened, see below).  If you have a problem with that, you can stop
> reading right about now...
> 
> Anyway -- it is an outliner, todo-managing, notes-taking, agenda-showing,
> org-mode-wannabe app, which uses .org files for encoding the notebooks in
> when syncing.
> 
> Currently, only syncing to Dropbox is supported, but more methods will
> follow after the first production release (starting from SSH, Git, WebDAV
> probably).
> 
> As mentioned, it is not an open source project, but some parts of the code
> will be released in the future.  Java reader/writer for org files is written 
> from
> scratch (imaginatively named jorgmode) and is a good candidate for that.
> Perhaps some Android-specific parts as well.
> 
> You can find more (read: less) info on:
> 
>   http://www.orgzly.com/
> 
> App is available on Google Play as Beta -- which means you have to join
> Google group https://groups.google.com/d/forum/orgzly-android-beta
> first, to get a link to it.
> 
> It has a limited set of features, but it should be already useful enough
> -- you can create, edit, delete, move, promote, demote, cut, paste,
> schedule, tag, prioritize and search notes.
> 
> And sync notebooks.  You might want to *copy* some of your org files to a
> new directory (or directories) you'll use for syncing and make sure you're
> happy with generated files.  Files should be identical *except* for some
> white space.  Let me know if it doesn't work for you or you notice anything
> else strange.
> 
> Not too many different org files were used for testing -- worg, personal and
> some random ones found on the net were used.  If you know where to find
> some more, do tell.  Never enough for this kind of testing.
> 
> Anyway -- hope you find the app useful (young as it is).
> 
> Any questions, suggestions, ideas, issues, etc. are very welcome -- you can
> use the group mentioned above (posting by email is enabled), reply to me,
> or use supp...@orgzly.com.
> 
> 
> Thanks,
> 
> Neven


This message is intended for the sole use of the individual and entity to which 
it is addressed and may contain information that is privileged, confidential 
and exempt from disclosure under applicable law. If you are not the intended 
addressee, nor authorized to receive for the intended addressee, you are hereby 
notified that you may not use, copy, disclose or distribute to anyone the 
message or any information contained in the message. If you have received this 
message in error, please immediately advise the sender by reply email and 
delete the message.  Thank you.




Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Neven
Melleus  writes:
> MobileOrg for Android was abandoned finally, was it?

There is a new open source project:

  https://github.com/hdweiss/mOrgAnd

announced here:

  https://groups.google.com/d/msg/mobileorg-android/I9qTE5G56Gg/ltYXvulYs9QJ


Neven



Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Melleus
MobileOrg for Android was abandoned finally, was it?




[O] [ANN] orgtbl-join

2015-01-22 Thread Thierry Banel
Hi The List

I am glad to announce the orgtbl-join package.

It merges Org tables. A master table is enriched with material from a
reference table.

Example. This master table is a cooking recipe, with ingredients
and quantities (gramms).

| food | quty |
|--+--|
| onion|   70 |
| tomatoe  |  120 |
| eggplant |  300 |
| tofu |  100 |
| corn |  250 |
| tomatoe  |   90 |

We also have a reference table of nutrition facts (freely borrowed
from Nut-Nutrition, http://nut.sourceforge.net/, by Jim Jozwiak).

#+tblname: nut
| food | Fiber | Sugar | Protein | Carb |
|--+---+---+-+--|
| eggplant |   2.5 |   3.2 | 0.8 |  8.6 |
| tomatoe  |   0.6 |   2.1 | 0.8 |  3.4 |
| onion|   1.3 |   4.4 | 1.3 |  9.0 |
| egg  | 0 |  18.3 |31.9 | 18.3 |
| rice |   0.2 | 0 | 1.5 | 16.0 |
| bread|   0.7 |   0.7 | 3.3 | 16.0 |
| orange   |   3.1 |  11.9 | 1.3 | 17.6 |
| banana   |   2.1 |   9.9 | 0.9 | 18.5 |
| tofu |   0.7 |   0.5 | 6.6 |  1.4 |
| nut  |   2.6 |   1.3 | 4.9 |  7.2 |
| corn |   4.7 |   1.8 | 2.8 | 21.3 |

Then, typing M-x orgtbl-join, the recipe get enriched with nutrition
facts:

| food | quty | Fiber | Sugar | Protein | Carb |
|--+--+---+---+-+--|
| onion|   70 |   1.3 |   4.4 | 1.3 |  9.0 |
| tomatoe  |  120 |   0.6 |   2.1 | 0.8 |  3.4 |
| eggplant |  300 |   2.5 |   3.2 | 0.8 |  8.6 |
| tofu |  100 |   0.7 |   0.5 | 6.6 |  1.4 |
| corn |  250 |   4.7 |   1.8 | 2.8 | 21.3 |
| tomatoe  |   90 |   0.6 |   2.1 | 0.8 |  3.4 |

Documentation here:
https://github.com/tbanel/orgtbljoin

-
Tha package is available on MELPA.
To enable MELPA, add those lines to your .emacs:
  (require 'package)
  (add-to-list
 'package-archives
 '("melpa" . "http://melpa.milkbox.net/packages/";) t)
  (package-initialize)

Then browse the 2000 available packages (and growing)
by typing:
  M-x package-list-packages

Comments, use-cases, help, criticisms, etc. welcome.
Have fun
Thierry Banel




Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Neven
Rasmus  writes:
>> *NOTE* It's about an app which is *not* open source (some parts of code
>> will opened, see below).  If you have a problem with that, you can stop
>> reading right about now...

Sorry if this sounded a bit arrogant and if the whole email sounded as
an ad.  It wasn't my intention, as the app if free (although only as a
beer currently).

I use org-mode for everything and this app was created from my need to
do some work on the phone.  Setting up MobileOrg and apps at the time
didn't work for me.

Maybe I should have gone the route of contributing to the existing
implementation, but the second reason for this app was learning Android
-- it literally grew from my first Hello World app.

> I must admit that I feel uncomfortable because you use the name org-mode
> to promote a product that does not respect the "4 freedoms" as put forth
> by the FSF.  E.g. if you make mistakes, it may reflect poorly on us, and
> we won't even be able to fix it or distribute a version that is not broken
> if we so desired.  That's just /my/ personal opinion, though.

OK, that makes sense.

I was planning to add support for multiple file formats in the future --
maybe todo.txt, taskwarrior's JSON etc.

But for start, I will remove any references to org-mode as such.  (it's
gone from the website now).  I'll refer only to .org files where needed.
That is -- org as a file format, not emacs's mode.

I hope that would be an improvement, if someone doesn't think so, please
let me know.  The parser will be open sourced which I hope will help
too.

Anyway, I'm still deciding what to do with the app.  I might just go
ahead and open source it in the end.  I'd much rather see people finding
it useful, then trying to make money from it.


Neven



Re: [O] xml-rpc-request error for wordpress

2015-01-22 Thread Shiyuan
Changing the blog's url  to https solves the problem.  Thank you Puneeth.

Shiyuan

On Wed, Jan 21, 2015 at 10:33 PM, Puneeth Chaganti 
wrote:

> Shiyuan,
>
> Wordpress has moved all the blogs to https.  You will need to change
> your blog's url to "https://myname.wordpress.com/xmlrpc.php"; instead
> of using http://.
>
> See: https://github.com/punchagan/org2blog/issues/177
>
> Best,
> Puneeth
>


[O] including files and org-src-preserve-indentation

2015-01-22 Thread Linus Arver
Hello list,

I have line like this in my .org file:

#+include: "src/frankenB.hs" :src haskell -n

That file has literal TAB characters in it. I also have

(setq org-src-preserve-indentation t)

in my .emacs.

When I call org-publish-current-project, the included file's TAB
characters automatically become converted into spaces. Is there an
orgmode way of preventing this auto-conversion?

I'm using orgmode 8.2.10 with emacs 24.4.

Thanks,
-L



[O] Difference between org-insert-heading-respect-content and org-insert-heading-after-current?

2015-01-22 Thread Andreas Rasholm
Hi,

To get C-RET working when running emacs in the console I have to make a
small hack. (Due to the well-known problem of terminals emulators
interpreting keystrokes differently.) No probs.

Making a functional keybind for C-RET got me wondering - what is the
difference (if any) between:

org-insert-heading-respect-content

org-insert-heading-after-current

I haven't been able to find that documented anywhere.

Best,
Andreas

Ps. please CC me as I'm not on the mailing list.


Re: [O] org-block-regexp questions

2015-01-22 Thread Nicolas Goaziou
Hello,

Marcin Borkowski  writes:

> I'm studying org-block-regexp.  One thing that bugs me is this part:
>
> #\\+begin_?
>
> It suggests to me that the underscore after "begin" might be optional;
> but a quick experiment with the exporter shows that this is not the
> case.

This is the case for dynamic blocks

  (info "(org) Dynamic blocks")

> Next, this part:
>
> \\([^ \n]+\\)
>
> would suggest that TAB is a valid part of the name of the block.
> Strange, isn't it?

It is. "\\(\\S-+\\)" would be more appropriate I think (this is also
what is used in "org-element.el").

> Finally, the rationale behind
>
> \\(\\([^\n]+\\)\\)?
>
> escapes me completely.  What's the use of groups nested like this?

This looks like a plain bug, a minor one, tho. Before fixing it, Someone
has to make sure it doesn't break matching groups somewhere.


Regards,

-- 
Nicolas Goaziou



Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Scott Randby
+1 for not using this list for cost free promotion of proprietary software.

Scott Randby

On Thu, Jan 22, 2015 at 11:41 AM, Jose E. Marchesi  wrote:
>
> *NOTE* It's about an app which is *not* open source (some parts of code
> will opened, see below).  If you have a problem with that, you can stop
> reading right about now...
>
> Please stop using the GNU mailing lists to promote proprietary software.
>



Re: [O] How to override ":eval no" in call lines?

2015-01-22 Thread Charles C. Berry

On Thu, 22 Jan 2015, Sebastien Vauban wrote:


Hello,

May I bump up this thread?

Sebastien Vauban wrote:

In a long document, I must have ":eval no" at file level, as this is the
common setting for most code blocks. However, how do I unset that for
some call lines.


See (info "(org) Evaluating code blocks")

Note what it says about 'inside' and 'outside' header arguments. You need 
*both* set to `:eval yes'.


The inside arg will allow execution of `plus' while the `outside' will 
allow execution of call_plus(...).


Try this:

6 + 6 = call_plus[:eval yes](x=6)[:eval yes].


HTH,

Chuck




Re: [O] [babel, bug?] colnames with a list of columns does not work

2015-01-22 Thread Rainer M Krug
Sebastien Vauban 
writes:

> Hello,
>
> The following ECM shows it all:
>
> #+begin_src R :rownames yes :colnames '(Lg Nb)
>   data(iris)
>   head(table(iris$Petal.Length, iris$Species)[, "setosa"])
> #+end_src
>
> returns:
>
>   | |  x |
>   |-+|
>   |   1 |  1 |
>   | 1.1 |  1 |
>   | 1.2 |  2 |
>   | 1.3 |  7 |
>   | 1.4 | 13 |
>   | 1.5 | 13 |
>
> while I was expecting:
>
>   |  Lg | Nb |
>   |-+|
>   |   1 |  1 |
>   | 1.1 |  1 |
>   | 1.2 |  2 |
>   | 1.3 |  7 |
>   | 1.4 | 13 |
>   | 1.5 | 13 |

WHy should it? The org-info manual states:

,
| The `:colnames' header argument accepts the values `yes', `no', or
| `nil' for unassigned.  The default value is `nil'.  Note that the
| behavior of the `:colnames' header argument may differ across languages.
`

It says nothing about accepting any other values.

Unless I am missing something?

Cheers,

Rainer

>
> Am I missing something?
>
> Best regards,
>   Seb

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


signature.asc
Description: PGP signature


Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Jose E. Marchesi

*NOTE* It's about an app which is *not* open source (some parts of code
will opened, see below).  If you have a problem with that, you can stop
reading right about now...

Please stop using the GNU mailing lists to promote proprietary software.



Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Rasmus
Hi Neven,

Thanks for explaining your program here.  The screenshots/animations on
your website look pretty.

Neven  writes:

> *NOTE* It's about an app which is *not* open source (some parts of code
> will opened, see below).  If you have a problem with that, you can stop
> reading right about now...

I must admit that I feel uncomfortable because you use the name org-mode
to promote a product that does not respect the "4 freedoms" as put forth
by the FSF.  E.g. if you make mistakes, it may reflect poorly on us, and
we won't even be able to fix it or distribute a version that is not broken
if we so desired.  That's just /my/ personal opinion, though.

> Not too many different org files were used for testing -- worg, personal
> and some random ones found on the net were used.  If you know where to
> find some more, do tell.  Never enough for this kind of testing.

On the other hand, I'm happy that you (also) find joy in the Org format!

Cheers,
Rasmus

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




Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Xebar Saram
thx!

i am excited about any org android app :)

will try it when i get home

Z

On Thu, Jan 22, 2015 at 1:33 PM, Neven  wrote:

> Hi,
>
> Sorry if considered spammish, but since it has been mentioned yesterday
> and it might interest some Android users out there...
>
> *NOTE* It's about an app which is *not* open source (some parts of code
> will opened, see below).  If you have a problem with that, you can stop
> reading right about now...
>
> Anyway -- it is an outliner, todo-managing, notes-taking,
> agenda-showing, org-mode-wannabe app, which uses .org files for encoding
> the notebooks in when syncing.
>
> Currently, only syncing to Dropbox is supported, but more methods will
> follow after the first production release (starting from SSH, Git,
> WebDAV probably).
>
> As mentioned, it is not an open source project, but some parts of the
> code will be released in the future.  Java reader/writer for org files
> is written from scratch (imaginatively named jorgmode) and is a good
> candidate for that.  Perhaps some Android-specific parts as well.
>
> You can find more (read: less) info on:
>
>   http://www.orgzly.com/
>
> App is available on Google Play as Beta -- which means you have to join
> Google group https://groups.google.com/d/forum/orgzly-android-beta
> first, to get a link to it.
>
> It has a limited set of features, but it should be already useful enough
> -- you can create, edit, delete, move, promote, demote, cut, paste,
> schedule, tag, prioritize and search notes.
>
> And sync notebooks.  You might want to *copy* some of your org files to
> a new directory (or directories) you'll use for syncing and make sure
> you're happy with generated files.  Files should be identical *except*
> for some white space.  Let me know if it doesn't work for you or you
> notice anything else strange.
>
> Not too many different org files were used for testing -- worg, personal
> and some random ones found on the net were used.  If you know where to
> find some more, do tell.  Never enough for this kind of testing.
>
> Anyway -- hope you find the app useful (young as it is).
>
> Any questions, suggestions, ideas, issues, etc. are very welcome -- you
> can use the group mentioned above (posting by email is enabled), reply
> to me, or use supp...@orgzly.com.
>
>
> Thanks,
>
> Neven
>
>


Re: [O] [babel, bug?] colnames with a list of columns does not work

2015-01-22 Thread Thomas S. Dye


Aloha Seb,

I don't think babel knows anything about objects created within source
code blocks.  I think you'll have to set the column names yourself,
within the R source code block.

All the best,
Tom



Sebastien Vauban 
writes:

> Hello,
>
> The following ECM shows it all:
>
> #+begin_src R :rownames yes :colnames '(Lg Nb)
>   data(iris)
>   head(table(iris$Petal.Length, iris$Species)[, "setosa"])
> #+end_src
>
> returns:
>
>   | |  x |
>   |-+|
>   |   1 |  1 |
>   | 1.1 |  1 |
>   | 1.2 |  2 |
>   | 1.3 |  7 |
>   | 1.4 | 13 |
>   | 1.5 | 13 |
>
> while I was expecting:
>
>   |  Lg | Nb |
>   |-+|
>   |   1 |  1 |
>   | 1.1 |  1 |
>   | 1.2 |  2 |
>   | 1.3 |  7 |
>   | 1.4 | 13 |
>   | 1.5 | 13 |
>
> Am I missing something?
>
> Best regards,
>   Seb

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




Re: [O] How to override locale setting for time-stamp language

2015-01-22 Thread Karl Voit
* Sebastien Vauban  wrote:
> Karl Voit wrote:
>> I am using Emacs 24.3 on different machines. With Debian GNU/Linux I
>> get time-stamps like <2015-01-21 Wed>. However, with Windows 7 Pro
>> (which I do not administrate), I get <2015-01-21 Mi> where "Mi"
>> stands for the German "Mittwoch".
>>
>> What do I have to add to my configuration so that I get "Wed"
>> instead of "Mi" on all of my systems, independent of system
>> settings?
>
> See http://lists.gnu.org/archive/html/emacs-orgmode/2011-10/msg01046.html.

Cool, (setq system-time-locale "C") did the trick. Thanks!

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
   > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github




[O] Live refresh of inline images with org-display-inline-images stopped working

2015-01-22 Thread Sebastien Vauban
Nick Dokos wrote:
> Brett Viren  writes:
>> Nick Dokos  writes:
>>
>>> I think you'd be better off with the tip that Rick Frankel posted in
>>> the same thread:
>>>
>>> #+BEGIN_SRC emacs-lisp
>>> (add-hook 'org-babel-after-execute-hook
>>> (lambda () (org-display-inline-images nil t)))
>>> #+END_SRC
>>
>> Thanks Nick (and Rick).  I changed this to use the "re" version:
>>
>> #+BEGIN_SRC emacs-lisp
>> (add-hook 'org-babel-after-execute-hook
>>(lambda () (org-redisplay-inline-images)))
>> #+END_SRC
>>
>> and it works great!  
>
> It should work with the non-"re" version as well (and it is more
> efficient that way - particularly if you call it with refresh == t).

As experienced by wdkmls [1], I noticed that the non-"re" version
stopped working -- preferred as it was the most efficient one.

OTOH, the "re" version does work as expected.

Best regards,
  Seb

[1] 
http://emacs.stackexchange.com/questions/3302/live-refresh-of-inline-images-with-org-display-inline-images

-- 
Sebastien Vauban



Re: [O] [bug] ox-taskjuggler

2015-01-22 Thread Søren Mikkelsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2015-01-22 11:21, Christian Egli wrote:
> Søren Mikkelsen  writes:
> 
>> It would, however, make sense to be able to scheduled tasks
>> where interpreted as the start time, if the org-file is used for
>> more than just generating the report.
> 
> I agree that it would make sense to use the scheduled date as the
> start time. The same is probably true for DEADLINES as well. IIRC
> there was a patch once for deadlines which I never managed to
> integrate.
> 
> Anyway what you would like doesn't seem very hard to implement:
> Just add another statement to the (let*) of
> org-taskjuggler--build-task where you get the start time using the
> org-taskjuggler-get-start function. Then just insert the start time
> in the (concat) statement maybe right after (and priority (format "
> priority %s\n" priority))
> 
> Let me know if you need any help
> 
> Thanks Christian
> 

Thanks for suggestions. Well, even though I used emacs for quite some
time my elisp programmering skills are on a very basic level, so I'll
need some help.

I've added

(starttime (org-taskjuggler-get-start task)) in the let*

and

(and starttime (format "  start %s\n" starttime)) after priority.

It works, but only for tasks that aren't having a start attribute. It
is possible to give a warning if the start attribute already exists
and make the default one, the one specified in the attributes (drawer)?

- -- 
Best regards,
Søren Mikkelsen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJUwOVBAAoJECUE7rt2jWDwmKIH/RxqtwTf3WyMelI6BonAIraf
BMF+Y7l+BBXbHDrYiKSW2SDCLuGFrbTaZn95tmom3YXfXAruJQlfe6orOeqPqiBM
0bt1ryvKq5ZdOzeHHFxyJilgHcuCeEtN6LTs1+URvTS4+8N5mnplnzCIGDbTKjiX
M43spWsVWg39vrqQAqQUADQBHiNR/wq5WjRUiFW9cDpAOiDRkz1kwWb/QFkpjjjl
KCa7EP5nQOySBpLjuPwPFUXuKWs7jP3NIxD4Wmsc3huQnCqJcCuTZKTcuLwPa+Co
PGsYwIyoNQM5k/pctCw5XVTkQrK8eFEW/YtEPAqqRp8jmkIaZYXLevLceIWMOqo=
=xdd0
-END PGP SIGNATURE-




[O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Neven
Hi,

Sorry if considered spammish, but since it has been mentioned yesterday
and it might interest some Android users out there...

*NOTE* It's about an app which is *not* open source (some parts of code
will opened, see below).  If you have a problem with that, you can stop
reading right about now...

Anyway -- it is an outliner, todo-managing, notes-taking,
agenda-showing, org-mode-wannabe app, which uses .org files for encoding
the notebooks in when syncing.

Currently, only syncing to Dropbox is supported, but more methods will
follow after the first production release (starting from SSH, Git,
WebDAV probably).

As mentioned, it is not an open source project, but some parts of the
code will be released in the future.  Java reader/writer for org files
is written from scratch (imaginatively named jorgmode) and is a good
candidate for that.  Perhaps some Android-specific parts as well.

You can find more (read: less) info on:

  http://www.orgzly.com/
  
App is available on Google Play as Beta -- which means you have to join
Google group https://groups.google.com/d/forum/orgzly-android-beta
first, to get a link to it.

It has a limited set of features, but it should be already useful enough
-- you can create, edit, delete, move, promote, demote, cut, paste,
schedule, tag, prioritize and search notes.

And sync notebooks.  You might want to *copy* some of your org files to
a new directory (or directories) you'll use for syncing and make sure
you're happy with generated files.  Files should be identical *except*
for some white space.  Let me know if it doesn't work for you or you
notice anything else strange.

Not too many different org files were used for testing -- worg, personal
and some random ones found on the net were used.  If you know where to
find some more, do tell.  Never enough for this kind of testing.

Anyway -- hope you find the app useful (young as it is).

Any questions, suggestions, ideas, issues, etc. are very welcome -- you
can use the group mentioned above (posting by email is enabled), reply
to me, or use supp...@orgzly.com.


Thanks,

Neven



Re: [O] ditta image size

2015-01-22 Thread Will O'Brien
On Thu, Jan 22, 2015 at 10:43 AM, SabreWolfy  wrote:

> The following Org file:
>
> --8<---cut here---start->8---
> * Picture
> #+BEGIN_SRC ditaa :file hello-world.png :cmdline -r -s 1.0
> ++
> | Hi |
> ++
> #+END_SRC
> --8<---cut here---end--->8---
>
> rendered to LaTeX and then PDF (C-c C-e l o) with ditaa version 0.9 and
> org-version 8.2.4 in Emacs 24.3.1 produces output with the ditaa image very
> much enlarged and pixelated. How can I avoid this?
>


Hi,

You have a couple of options I believe. Firstly, take a look at 14.8.2.25
`:post` from the org manual, which provides an example of automatically
wrapping a generated image with the necessary LaTeX attributes to correct
the sizing. Secondly, there is a ditaa addons pack which enables you to
generate eps. I've not tried this, but it might be worth a try.

Cheers,

Will


[O] [babel, bug?] colnames with a list of columns does not work

2015-01-22 Thread Sebastien Vauban
Hello,

The following ECM shows it all:

#+begin_src R :rownames yes :colnames '(Lg Nb)
  data(iris)
  head(table(iris$Petal.Length, iris$Species)[, "setosa"])
#+end_src

returns:

  | |  x |
  |-+|
  |   1 |  1 |
  | 1.1 |  1 |
  | 1.2 |  2 |
  | 1.3 |  7 |
  | 1.4 | 13 |
  | 1.5 | 13 |

while I was expecting:

  |  Lg | Nb |
  |-+|
  |   1 |  1 |
  | 1.1 |  1 |
  | 1.2 |  2 |
  | 1.3 |  7 |
  | 1.4 | 13 |
  | 1.5 | 13 |

Am I missing something?

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] ditta image size

2015-01-22 Thread SabreWolfy
SabreWolfy  gmail.com> writes:

> The following Org file:
> 
> --8<---cut here---start->8---
> * Picture
> #+BEGIN_SRC ditaa :file hello-world.png :cmdline -r -s 1.0
> ++
> | Hi |
> ++
> #+END_SRC
> --8<---cut here---end--->8---
> 
> rendered to LaTeX and then PDF (C-c C-e l o) with ditaa version 0.9 and
> org-version 8.2.4 in Emacs 24.3.1 produces output with the ditaa image very
> much enlarged and pixelated. How can I avoid this?

I prepared another, more complex diagram, which is now rendered smaller than
before, but is still of poor, pixelated quality. This is a PNG scaling
problem? GraphhViz will give better quality?




[O] ditta image size

2015-01-22 Thread SabreWolfy
The following Org file:

--8<---cut here---start->8---
* Picture
#+BEGIN_SRC ditaa :file hello-world.png :cmdline -r -s 1.0
++
| Hi |
++
#+END_SRC
--8<---cut here---end--->8---

rendered to LaTeX and then PDF (C-c C-e l o) with ditaa version 0.9 and
org-version 8.2.4 in Emacs 24.3.1 produces output with the ditaa image very
much enlarged and pixelated. How can I avoid this?





Re: [O] [bug] ox-taskjuggler

2015-01-22 Thread Christian Egli
Søren Mikkelsen  writes:

> It would, however, make sense to be able to scheduled tasks where
> interpreted as the start time, if the org-file is used for more than
> just generating the report.

I agree that it would make sense to use the scheduled date as the start
time. The same is probably true for DEADLINES as well. IIRC there was a
patch once for deadlines which I never managed to integrate.

Anyway what you would like doesn't seem very hard to implement: Just add
another statement to the (let*) of org-taskjuggler--build-task where you
get the start time using the org-taskjuggler-get-start function. Then
just insert the start time in the (concat) statement maybe right after
(and priority (format "  priority %s\n" priority))

Let me know if you need any help

Thanks
Christian

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland




Re: [O] How to override ":eval no" in call lines?

2015-01-22 Thread Sebastien Vauban
Hello,

May I bump up this thread?

Sebastien Vauban wrote:
> In a long document, I must have ":eval no" at file level, as this is the
> common setting for most code blocks. However, how do I unset that for
> some call lines.
>
> Export this ECM (to HTML, for example) and see for yourself that it does
> not seem evident...
>
> #+TITLE: ECM to be exported
>
> #+PROPERTY:  eval no
> #+PROPERTY:  results none
>
> * Results
>   :PROPERTIES:
>   :exports:  results
>   :results:  replace
>   :END:
>
> ** Square
>
> Here nothing gets executed: neither the code block, nor the call lines...
>
> #+name: square
> #+begin_src emacs-lisp :tangle no :var x=1
> (* x x)
> #+end_src
>
> 2 x 2 = call_square(x=2).
>
> 3 x 3 = call_square[:eval yes](x=3).
>
> ** Plus
>
> Here, ":eval yes" (or even ":eval foo" FWIW) allows the code block to get
> executed at export:
>
> #+name: plus
> #+begin_src emacs-lisp :tangle no :var x=4 :eval foo
> (+ x x)
> #+end_src
>
> But none of the call lines gets executed...
>
> 5 + 5 = call_plus(x=5).
>
> 6 + 6 = call_plus[:eval yes](x=6).
>
> So, how do I override the ":eval no" specified at the file level?
>
> Any idea?

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] How to override locale setting for time-stamp language

2015-01-22 Thread Sebastien Vauban
Karl Voit wrote:
> I am using Emacs 24.3 on different machines. With Debian GNU/Linux I
> get time-stamps like <2015-01-21 Wed>. However, with Windows 7 Pro
> (which I do not administrate), I get <2015-01-21 Mi> where "Mi"
> stands for the German "Mittwoch".
>
> What do I have to add to my configuration so that I get "Wed"
> instead of "Mi" on all of my systems, independent of system
> settings?
>
>
>
> My naïve debug session resulted in: org-insert-timestamp >
> format-time-string which is built-in and uses locale settings to
> resolve "%a" to get the abbreviated name of the day.
>
> I don't have a clue which variable holds the locale settings that is
> used for this case and I also don't have an idea if modifying this
> variable has some potential negative effects as well.

See http://lists.gnu.org/archive/html/emacs-orgmode/2011-10/msg01046.html.

Best regards,
  Seb

-- 
Sebastien Vauban