Re: [O] "#+BEGIN_SRC mail" and org-src-fontify-natively

2014-12-21 Thread Andrea Rossetti
Nicolas Goaziou writes: > Hello, > > Andrea Rossetti writes: >> when I start emacs -Q and do the following recipe: >> >> 1) open the test file "prova.org" (see attach) >> 2) confirm at the file-local variable prompt, by typing "y" >&g

Re: [O] "#+BEGIN_SRC mail" and org-src-fontify-natively

2014-12-03 Thread Andrea Rossetti
Andrea Rossetti writes: > Hello Org users, > > when I start emacs -Q and do the following recipe: > > 1) open the test file "prova.org" (see attach) Apologies for the missing attach. "prova.org" is attached here: #+BEGIN_SRC mail To: andrea.rosse...@gm

[O] "#+BEGIN_SRC mail" and org-src-fontify-natively

2014-12-03 Thread Andrea Rossetti
Hello Org users, when I start emacs -Q and do the following recipe: 1) open the test file "prova.org" (see attach) 2) confirm at the file-local variable prompt, by typing "y" 3) quit with C-x C-c then Emacs unexpectedly asks for a confirm to save the modified buffer "org-src-fontify:mail-mode

Re: [O] Make * bold?

2014-10-13 Thread Andrea Rossetti
Rainer M Krug krugs.de> writes: > I would like to make three stars bold - is this possible? I have the > following table and at the moment, I get what is in the latex > column. But I would like to have what is in the last column. > > | org | latex| what I would

Re: [O] Clocktable language customization not working as expected

2014-10-06 Thread Andrea Rossetti
Axel Kielhorn writes: > > Clocktable language: not working > > #+BEGIN: clocktable :maxlevel 2 :scope file :lang fr > #+CAPTION: [2014-10-04 Sat 09:09] > | || | > |-++--| > | *nil* | *0:31* | | > |

Re: [O] Babel evaluation of Calc block not working, bug in Calc?

2014-10-06 Thread Andrea Rossetti
Hi Dieter, die...@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > PS: Are you using Calc regularly? Compact answer: no :( Detailed answer: I do like Calc and Org+Babel+Calc, but my daily job doesn't involve any maths. The Org functions I use most frequently are: - org-clock-in, org-clock-out

Re: [O] Improved way to include some headlines from an external org file

2014-10-01 Thread Andrea Rossetti
Xavier Garrido writes: > Thanks for the follow-up. Actually I am waiting this patch > http://article.gmane.org/gmane.emacs.orgmode/90932/match=include+resolve+links > to be pushed by Rasmus (see the comment in the endlessparentheses Ahem... sincere apologies for the noise. I got confused by those

Re: [O] Improved way to include some headlines from an external org file

2014-09-30 Thread Andrea Rossetti
Xavier Garrido writes: > Is there a way ... ... > to write something like that ... > #+BEGIN_SRC org > #+INCLUDE: "./base.org" :headline "First base chapter" > ,* A more personal chapter > #+INCLUDE: "./base.org" :headline "Second base chapter" > ,* Another personal chapter > #+END_SRC Hi! today

Re: [O] Babel evaluation of Calc block not working, bug in Calc?

2014-09-29 Thread Andrea Rossetti
Andrea Rossetti writes: > 3) temporary workaround: try to change ":var v=3" into ":var var-v=3", > it works for me, does it work for you too? I'm afraid I've been a bit cryptic here. The suggested workaround/test is: replace #+BEGIN_SRC calc :var v=3 v +

Re: [O] Babel evaluation of Calc block not working, bug in Calc?

2014-09-28 Thread Andrea Rossetti
die...@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > But now we are getting: byte-code: Symbol's function definition is void: > v! > > #+BEGIN_SRC calc :var v=3 > v + 4 > #+END_SRC > Hello Dieter, I think I got it! 1) I see the same error message as you see, for variables with name "v" or "v

Re: [O] user-error: Not at a block -- how to debug?

2014-09-15 Thread Andrea Rossetti
Eric S Fraga ucl.ac.uk> writes: > > user-error: Not at a block > ... > > Can anybody please suggest how to debug this? Does this work? M-x debug-on-entry RET user-error RET

[O] trying to add hline refs ("@I$2") in lhs of formulae

2014-09-14 Thread Andrea Rossetti
Hello Org users, this example: | | | | |---+-+---| | | | | |---+-+---| | | | | #+TBLFM: @I$2='(random 1000) works incorrectly for me (Org 8.2.7c from ELPA, Emacs 24.3, Win7): C-c C-c on the #+TBLFM line updates four cells (@2$1, @2$2, @3$1, @3$2) instead of on

Re: [O] Improved way to include some headlines from an external org file

2014-09-11 Thread Andrea Rossetti
Xavier Garrido writes: > Of course, I can achieve that by using =:lines= and calculating how many > lines embeds the given headline. Hi Xavier, another possible approach (maybe less handy, but in some cases it might fit): the user could keep one .org file per headline, and #+INCLUDE one headl

[O] Bug: (org-babel-result-names) should not return nil [8.2.7c (8.2.7c-1-gf5065b-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20140804/)]

2014-09-03 Thread Andrea Rossetti
Hello everyone, if I create this org example: #+NAME: blah #+BEGIN_SRC emacs-lisp :exports results (+ 2 3) #+END_SRC #+RESULTS: blah : 5 I can't execute the command M-x org-babel-goto-named-result RET blah RET because "blah" is not listed in the available choices. The problem se

Re: [O] Table formula with @I

2014-09-02 Thread Andrea Rossetti
Charles Millar writes: > I must be missing something. When I recalculate the table (update > table) applying both above TBLFM's - on the line to be updated, in the > TBLFM line, and in the table itself, an error is returned > > "can't assign to hline relative reference" > > Org-mode version 8.3bet

Re: [O] A Babel block to #+INCLUDE all .org files of a directory

2014-09-01 Thread Andrea Rossetti
Andrea Rossetti writes: > I wrote a Babel block to generate the #+INCLUDE statements > for all Org files of a directory. > > https://github.com/thesoftwarebin/the-emacs-software-bin/tree/master/include-all-org-files Hello Org users, just in case you try to visit the link of tha

Re: [O] Table formula with @I

2014-09-01 Thread Andrea Rossetti
"Loris Bennett" writes: > In the following: > > | | | | > | | | | > |---+---+---| > | 1 | 1 | 1 | > #+TBLFM: @I$3=1 > > I expected to get a '1' just in the third column. Where am I going > wrong? (apologies in advance for suggesting just a workaround instead of a rational explanation

Re: [O] A Babel block to #+INCLUDE all .org files of a directory

2014-08-30 Thread Andrea Rossetti
Andrea Rossetti writes: > my_reference_manual.org > abs.org > ... > printf.org > strcpy.org sorry for the typo, I meant: my_c_manual.org abs.org ... printf.org strcpy.org

Re: [O] A Babel block to #+INCLUDE all .org files of a directory

2014-08-30 Thread Andrea Rossetti
Hello, Grant Rettke writes: > May you please discuss your use case that motivated this code? typical usage scenarios could be: 1) write a book of many chapters, one main.org file and many second-level .org files, one file per chapter, and you don't want to manually write all the #

[O] A Babel block to #+INCLUDE all .org files of a directory

2014-08-30 Thread Andrea Rossetti
Hi Org users, I wrote a Babel block to generate the #+INCLUDE statements for all Org files of a directory. Nothing spectacular: not recursive through directories, only .org files ... but I wanted to share it, just in case someone finds it helpful. Source code and usage example are available h

Re: [O] Worg Tutorial error: using Emacs lisp as formulas

2014-08-27 Thread Andrea Rossetti
Ciaran Mulloy writes: > Inserting the following as a field formula in location @2$3: > :='(mapconcat 'identity (delete-dups (list @2$1..@>$1 @2$2..@>$2)) " ") > and doing a C-c or a C-u-C-c C-c generates an 'Invalid regexp: "Regular > expression too big"' error. > > It seems that I can r

Re: [O] Worg Tutorial error: using Emacs lisp as formulas

2014-08-27 Thread Andrea Rossetti
Hello Ciaran, given your example: > | Col1 | Col2 | Col3 | Col4 | Col5 | > |--+--+--+--+--| > | a| a| :='(mapconcat 'identity (delete-dups (list @2$1..@>$1 > @2$2..@>$2)) " ") | b| | > | b| a| | | | > | c| d| | |

[O] Feature request: copy cell contents into kill ring

2014-08-11 Thread Andrea Rossetti
Hello everone, copying a table cell (C-c C-x M-w) uses a private clipboard, as stated by the `org-table-copy-region' docstring. Sometimes it's handy to paste a cell's text into something that isn't an org-table (my use case was: record a macro to perform some silly updates in bbdb, once per tab

[O] Bug: org src block folds partially [8.2.6 (8.2.6-67-g9e09b2-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20140602/)]

2014-07-31 Thread Andrea Rossetti
Hi guys, I think I found a problem in folding a BEGIN_SRC block. When I: - create a "BEGIN_SRC org" block (let's call it "the external BEGIN_SRC") - hit C-c ' to edit its contents - create two consecutive, non-nested "BEGIN_SRC org" blocks (let's call them "the internal BEGIN_SRCs")

Re: [O] Bug: syntax highlighting of elisp:blahblah and shell:blablah [8.2.6 (8.2.6-67-g9e09b2-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20140602/)]

2014-07-21 Thread Andrea Rossetti
Nick Dokos writes: > I don't know whether it's expected (one of these years I really have > to sit down and learn the syntax). I digged a bit further about the "linkification" of shell:bla and elisp:bla (the same applies to all protocols listed in `org-link-types'): - this type of links is d

[O] Bug: syntax highlighting of elisp:blahblah and shell:blablah [8.2.6 (8.2.6-67-g9e09b2-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20140602/)]

2014-07-20 Thread Andrea Rossetti
Hi all, when I insert some text like "elisp:sometext" or "shell:sometext" in an Org buffer, it becomes highlighted and clickable. On click, a prompt asks for confirm to execute "sometext". I get the same behaviour if I add tags to a headline, and one of the tags is "elisp" or "shell". I e

Re: [O] Org Export Latex Hyperref Options Format

2014-06-29 Thread Andrea Rossetti
Joseph Vidal-Rosset writes: > How can I remove this old built-in Org "shadowed" > by my new Elpa Org ? It seems to me that it should be the best > solution, That time I thought "life is too short to mess with it" :) and simply ignored that zombie option; it's rare that an option is removed, so

Re: [O] Org Export Latex Hyperref Options Format

2014-06-28 Thread Andrea Rossetti
Joseph Vidal-Rosset writes: > Hello, > I meet problems to customize this variable via M-x customize-variable : > Org Export Latex Hyperref Options Format > I mean that the hypersetup options do not change in my .tex file after the > export from an org-file. > > Does it correspond to a bug? Hell

Re: [O] problems while editing in org-columns mode

2014-05-31 Thread Andrea Rossetti
Bastien writes: > Let me know if it works for you, Hi! I tried a recent git snapshot (Fri May 30 19:28:04 2014 +0200) and performed some manual tests (1 to 5, see below). - in org-columns mode ("C-c C-x C-c"): - 1) PASS: org-columns-edit-value ("e") updates correctly the empty/whitesp

Re: [O] problems while editing in org-columns mode

2014-04-24 Thread Andrea Rossetti
Hello Carsten and everyone else reading, yesterday I re-stumbled into the "problem B" described below, and had a look at the Org sources. I think the solution could be: if user sets a non-special property to "" or nil, then remove the property. An example of a possible (non-bulletproof, tes

Re: [O] putting a element +UWa in table

2014-04-22 Thread Andrea Rossetti
Neal Becker writes: > The first item in my table should say '+UWa'. This seems to upset the > org table gods, who draw a line through my entry. > > How do I put such an item in a table without org table misinterpreting it? For curiosity I played a bit on this problem. I got no exact solution, b

Re: [O] Warning when make in git

2014-03-27 Thread Andrea Rossetti
ea Il giorno 27/mar/2014 15:36, "Rainer M Krug" ha scritto: > Andrea Rossetti writes: > > > Rainer M Krug krugs.de> writes: > > > > ... > >> This is the version info - I did not install an old one on my mac: > >> > >>

Re: [O] Warning when make in git

2014-03-27 Thread Andrea Rossetti
Rainer M Krug krugs.de> writes: ... > This is the version info - I did not install an old one on my mac: > > , > | $ makeinfo --version > | makeinfo (GNU texinfo) 4.8 > | > | Copyright (C) 2004 Free Software Foundation, Inc. ... I guess the texinfo version is too old for UTF-8: you may see

Re: [O] Warning when make in git

2014-03-27 Thread Andrea Rossetti
Rainer M Krug krugs.de> writes: > ... > | makeinfo --no-split org.texi -o org > | org.texi:15: warning: unrecognized encoding name `UTF-8'. > ` > > Is this something in my setup? Should I worry? My guess: could it be that you have an old version of makeinfo/texinfo, not supporting UTF-8 fo

Re: [O] dynamic block for ordered list of all clock intervals

2014-02-27 Thread Andrea Rossetti
Eric S Fraga writes: > Andrea Rossetti writes: >> >> wanted to see the chronological history of all >> the CLOCK intervals, i.e. no sums/aggregations >> by day/week. >> . > > I don't think anybody has answered. Just for information, you can

[O] dynamic block for ordered list of all clock intervals

2014-02-19 Thread Andrea Rossetti
Hello Org users, recently I had to clock several small tasks, switching repeatedly from one to the other, and wanted to see the chronological history of all the CLOCK intervals, i.e. no sums/aggregations by day/week. So I wrote a (first rough version of a) dynamic block function for it, you m

Re: [O] Feature request: filling of long captions

2014-02-06 Thread Andrea Rossetti
Hello Bastien and everyone reading, Bastien writes: > Could you list other options that are good candidates for such > auto-filling fonctionality? We'd better implement them all at > once. I'd suggest to split the wish-list in two buckets, i.e. 1) some "#+..." commands would benefit of a l

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-15 Thread Andrea Rossetti
Eric Schulte writes: > I've written an Emacs web-server [1], which may be used to interact with > Org-mode over HTTP. It has no dependencies aside from needing Emacs 24 > or later and it should be easy to install and use [2]. Thanks Eric for having shared this project. Unfortunately in my setup

Re: [O] problem of accents with pdflatex export

2013-12-28 Thread Andrea Rossetti
Joseph Vidal-Rosset writes: > ... Is it a way to automatically save the .org > file in utf8 ? In my emacs the encoding is utf8 by default. > Sorry, I never customized file-coding-system-alist and related variables, defaults worked well for me, so unfortunately I don't have good hints... but pl

Re: [O] problem of accents with pdflatex export

2013-12-27 Thread Andrea Rossetti
Joseph Vidal-Rosset gmail.com> writes: > > Hello, > I do not succeed to solve this problem of accent with pdflatex :  > Shot in the dark: could it be that the encoding of your org file needs to be saved in utf8 in order to generate a utf8 latex file? Regards, Andrea

[O] problems while editing in org-columns mode

2013-11-22 Thread andrea . rossetti
Hello everyone, I get some unexpected behaviour in org-column mode on my workstation (Emacs 24.3, org-version 8.2.2, Win 7 64 bit). May I ask support in order to understand: - if this is reproducible for you as well - if it is actually a bug, or a mess on my local installation, or if I misun

[O] My howto for Org, japanese text and furigana

2013-11-18 Thread Andrea Rossetti
Hello everyone, by reading the suggestions from this list, I prepared an example the Org headers one could use to write Japanese in Org, with or without furigana signs. It's available at this address, under the "furigana-example" section: https://github.com/thesoftwarebin/the-emacs-software-

[O] exported dates in ox-rss.el

2013-10-06 Thread Andrea Rossetti
if it's just me). Here is a simple test: open an empty buffer and type: (format-time-string "day: %d, month: %h, year: %y") C-x C-e wrongly returns "day: 06, month: , year: 13" (format-time-string "day: %d, month: %b, year: %y") C-x C-e returns "day:

Re: [O] proposed patch for org-export-latex-hyperref-options-format

2013-10-01 Thread Andrea Rossetti
Thanks Nicolas for your last directions, I will apply them. The accidental coexistence of two Org versions on my Emacs installation (built-in versus ELPA) confused me a bit, apologies for the noise. Kindest regards, Andrea Nicolas Goaziou writes: > > You can disable the hypersetup wit

Re: [O] proposed patch for org-export-latex-hyperref-options-format

2013-09-30 Thread Andrea Rossetti
rites: > Hello, > > > Andrea Rossetti writes: > >> may I please ask if this tiny patch looks reasonable and can >> be committed by the mantainers. >> >> Customizable option org-export-latex-hyperref-options-format >> is currently available in Org, bu

[O] proposed patch for org-export-latex-hyperref-options-format

2013-09-29 Thread Andrea Rossetti
Hello everyone, may I please ask if this tiny patch looks reasonable and can be committed by the mantainers. Customizable option org-export-latex-hyperref-options-format is currently available in Org, but is ignored by the export. This patch enables use of org-export-latex-hyperref-options-

[O] Bug: Customization of "Org Export Latex Hyperref Options Format" ignored [8.2 (8.2-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20130919/)]

2013-09-22 Thread andrea . rossetti
Hello everyone, option "Org Export Latex Hyperref Options Format" (aka org-export-latex-hyperref-options-format) seems to have no effect on my latex exports, i.e. the latex pramble always contains this same text: === \hypersetup{ pdfkeywords={}, pdfs