[Orgmode] Restructure my org-life

2009-10-19 Thread andrea
Org-mode is already quite pervasive, I'm writing almost everything with it and moving also some old latex stuff. But now I think I have to rethink the whole way I store my data. I would like then to know how you organize your data to get some ideas. Now I have a directory $HOME/org where I hav

[Orgmode] Insert data with time

2009-10-20 Thread andrea
Sometimes when I insert a timestamp I would also like to put the time. But I haven't found any way to move in time and not only in the days, so I ended up to modify it by hand... Is there a smarter way? ___ Emacs-orgmode mailing list Remember: use `R

[Orgmode] Other modes in SRC

2009-10-20 Thread andrea
Is it possible maybe automatically activate other modes inside a #+BEGIN_SRC block? I've seen there is CCC (or something like that) enables to have multi modes in the same buffer, but maybe there's also a quicker way inside org-mode... Thanks ___ Ema

[Orgmode] Bug in table formula editor?

2009-11-21 Thread andrea
Hi everyone, I noticed a problem which on my configuration is repeatable so I guess is a bug. - go on a table - press C-c ' to edit the formulas - start to write @+.. It gets stuck and not even C-g can quit it.. This both on linux and OSx 10.6 with orgmode 6.33trans. By the way I have a table l

[Orgmode] Re: Bug in table formula editor?

2009-11-23 Thread andrea
Carsten Dominik writes: > On Nov 22, 2009, at 2:46 PM, andrea Crotti wrote: > Unfortunately we do not have a way to define row > formulas. You need to copy and page the formula, like > in a normal speadsheet > > - Carsten > > Ok no problem, but what is th

[Orgmode] Collaborating with heretics

2009-11-25 Thread andrea
In university projects I use org-mode for writing assignments and everything else I need to. Given that the output is wonderful and it's just text my group mates were very happy or at least didn't offer another alternative. But the problem is that those people are not emacs users. One actually i

[Orgmode] Collaborate with heretics

2009-11-25 Thread andrea
In university projects I use org-mode for writing assignments and everything else I need to. Given that the output is wonderful and it's just text my group mates were very happy or at least didn't offer another alternative. But the problem is that those people are not emacs users. One actually is

[Orgmode] Again on bookmarks

2009-11-25 Thread andrea
So finally I had a very nice function to export bookmarks to html file and I could import them into a whatever browser. This is nice since quicksilver can read them and I can find them quickly. But the problem is that the importing must be done manually (I didn't find any automatic process) and i

[Orgmode] Re: Again on bookmarks

2009-11-26 Thread andrea
Samuel Wales writes: > On 2009-11-25, andrea wrote: > > That can be done with existing features, IIUC. > > I don't know if this is what you're considering, but I'd like to use > org as the central place to store all bookmarks, for all browsers, and > sync.

[Orgmode] Re: Collaborate with heretics

2009-11-26 Thread andrea
andrea writes: Sorry for the double post, I thought I had an error and didn't listen to gnus when it was saying it was a duplicate. Anyway I did some researches and I only noticed that there are vim users looking for something equivalent to org-mode for vim. To simplify things at maxi

[Orgmode] Re: Again on bookmarks

2009-11-26 Thread andrea
Thierry Volpiatto writes: > andrea writes: > > See BookmarkExtension: > http://www.emacswiki.org/cgi-bin/emacs/BookmarkExtension > > It support now nearly all: > emacs-w3m bookmarks, Firefox bookmarks, Delicious bookmarks, Gnus > bookmarks, Man pages etc... > >

[Orgmode] Re: Collaborate with heretics

2009-11-26 Thread andrea
I try to be a prophet of emacs and org-mode but sometimes it's just a loss of time. Even very skilled informatics weren't convinced, sometimes they didn't like it sometimes they just didn't want to spend time on it. Once it happened that a friend of mine that was working with excel tables saw how

[Orgmode] Tables in databases

2009-12-01 Thread andrea
Org tables are great but for visualization and querying maybe databases are better, for example sqlite for small amounts of data is very nice and powerful. I found this http://orgmode.org/worg/org-tutorials/multitarget-tables.php which I haven't tried yet but looks nice. I would like to have an

[Orgmode] Re: Restructure my org-life

2009-12-01 Thread andrea
Matt Lundin writes: > andrea writes: > > A quick question: Are you using the agenda? IMO, the number of org files > you use doesn't really matter, since the agenda will gather the relevant > information from all of them and since you can jump directly from the > agen

[Orgmode] Re: Html and unreadable characters

2009-12-01 Thread andrea
Sebastian writes: > > It seems you use a dark background color in emacs? > > If so, just adjust the CSS style `background-color' for your tags > like this: > > > pre, code.pre > { > background-color:black; /* or #33 ... */ > /* ... more styles here ... */ > } > > Yes I am using a dark ba

[Orgmode] Re: Restructure my org-life

2009-12-02 Thread andrea
Xavier Maillard writes: > Care to share it with us ? > Of course with pleasure, it's quite simple but very nice --8<---cut here---start->8--- (defun org-add-eventually() "Adding a file to org-agenda when saved" (interactive) (if (string= major-mode "org-

[Orgmode] Re: Org mode and Collaboration with others.

2009-12-03 Thread andrea
"Tim O'Callaghan" writes: > Hi org (ab)users > > This is a kind of follow up to an earlier thread, because i think > there is some value in kicking off a discussion. > > I have suspicions that org-mode is essentially a solitary habit. I've > done a quick search in the manual or FAQ about how you

[Orgmode] Tables to DB

2009-12-03 Thread andrea
Org tables are great but for visualization and querying maybe databases are better, for example sqlite for small amounts of data is very nice and powerful. I found this http://orgmode.org/worg/org-tutorials/multitarget-tables.php which I haven't tried yet but looks nice. I would like to have an

[Orgmode] Re: [babel] Tables to DB

2009-12-04 Thread andrea
"Eric Schulte" writes: > Org-babel has support for SQL, so I presume that you could use that as a > somewhat manual way to dump org-mode tables into sql tables. > > Also, if you have a python tool which you are using for interaction with > sql tables, it may be easiest to use org-babel to convert

[Orgmode] Re: Differences html/pdf

2009-12-04 Thread andrea
Carsten Dominik writes: > On Nov 1, 2009, at 8:01 PM, andrea Crotti wrote: > > Yes, take a big complicated Org file, maybe something in WOrg, and > export > it with this option. Then check if everything looks good. In > particular tables, list, > verbatim examples, etc &

[Orgmode] Re: Org mode and Collaboration with others.

2009-12-07 Thread andrea
Michael Gilbert writes: > On Dec 3,2009, at 3:38 AM, andrea wrote: > > I'm not sure that emacs (ab)use is the right frame of reference > here. Shouldn't we be talking about interoperability standards here? > Orgmode supports the same core set of data that other todo l

[Orgmode] Big curly bracket

2009-12-08 Thread andrea
I have to write things like f(x) = | 0 if x == 1 | 1 otherwise with the big curly bracket. It's a common thing and I found in latex is like here http://www.mathhelpforum.com/math-help/latex-help/59690-left-curly-brace.html Using \left{ and \begin{gathered} For some reasons anyway it

[Orgmode] Re: Big curly bracket

2009-12-09 Thread andrea
Nick Dokos writes: > [This is OT for this list - comp.text.tex is a better venue. Otoh, the > reference might be useful to some people here - but unless org-mode > content can be added, let's make this the end of the thread. Thanks.] Yes I'm sorry it was OT, I thought that the problem was the

[Orgmode] Re: keep newlines on pdf export

2009-12-14 Thread andrea
Eraldo Helal writes: > One other reason behind this is that I can not export my document to > html anymore after I added "\\" at the end of every line... well I can > but it does not look the way I want it to be. =] We already discussed about that and \obeylines doens't really work. If you have

[Orgmode] Quoting latex code

2009-12-15 Thread andrea
I want to do something which I think should be really simple. I'm writing a small guide of latex for org-users, useful for people working with me that don't know latex but must insert some symbols in org-files. So I want to create simple tables where I insert the symbol and the output. But howeve

[Orgmode] Re: Quoting latex code

2009-12-15 Thread andrea
Nicolas Girard writes: > Hi Andrea, > what about =\phi= ? Nice thanks, I didn't see it in the doc.. Anyway in the table I still have troubles, when I write this --8<---cut here---start->8--- | \pi | #ERROR | | || #+T

[Orgmode] Re: Quoting latex code

2009-12-16 Thread andrea
Carsten Dominik writes: > On Dec 15, 2009, at 1:49 PM, andrea wrote: > > You can also write ~\pi~ Ok thanks. Anyway I'm putting into that small guide all the things I found useful for my works, maybe someone else could be interested. Here you find it: http://github.com/AndreaC

[Orgmode] batch exporting

2009-12-20 Thread andrea
Given that I often would like to export to some formats I would like to create the final script that handles everything. If easy enough it can also be useful for non org users that still would like to get the output formatted... So my attempt is here --8<---cut here---sta

[Orgmode] Re: batch exporting

2009-12-20 Thread andrea
Nick Dokos writes: > See the thread at > > http://thread.gmane.org/gmane.emacs.orgmode/17059 I also tried the scripts from that thread (but it's actually the same thing), I always get the same error. What could that mean: "converting file euler.org Wrong type argument: commandp, org-export-

[Orgmode] Re: batch exporting

2009-12-20 Thread andrea
Carsten Dominik writes: > On Dec 20, 2009, at 11:43 PM, andrea wrote: > >> Nick Dokos writes: >> >>> See the thread at >>> >>>http://thread.gmane.org/gmane.emacs.orgmode/17059 >> >> I also tried the scripts from that thread (but it&#

[Orgmode] demote region

2009-12-21 Thread andrea
Between the various commands there's already org-demote-subtree, but what if I add a higher level and I want to demote everything? Is there a command to do it? I need to add a '*' everywhere and indent accordingly in theory... Thanks ___ Emacs-orgmod

[Orgmode] Re: batch exporting

2009-12-21 Thread andrea
Nick Dokos writes: > Further along in the thread I pointed out to you, there is a discussion > of emacs --batch implying emacs -q and how to load your .emacs file. > I believe that't the problem you are having. > Alright I can try, but I don't want to load my configuration every time I want to

[Orgmode] Re: demote region

2009-12-21 Thread andrea
Nick Dokos writes: > andrea wrote: > > > Demote the tree and add a new heading: what's the problem? Good I got it, I thought I also needed to select the region. If you select the region it doesn't work, just demoting from the head work

[Orgmode] Re: batch exporting

2009-12-22 Thread andrea
Nick Dokos writes: > andrea wrote: > > > Then prepare a skeleton .emacs just for export and load that: > > emacs --batch --load ~/.skeleton-emacs-for-export ... > Eh eh solved, I was just using the builtin emacs version on snow leopard (22.1), which for some reas

[Orgmode] blogging org files

2009-12-22 Thread andrea
Since I'm using org-mode I started to write really a lot, and many of those things could easily become articles to blog somewhere. I got sick of wordpress and all php related stuff, and I found this: http://metajack.im/2009/01/23/blogging-with-git-emacs-and-jekyll/ Which is what I wanted. It doe

[Orgmode] Re: [babel] documentation released to Worg

2009-12-27 Thread andrea
"Eric Schulte" writes: > Hello, > > Tom Dye, Dan Davison and I have significantly updated the Org-babel > documentation. All of the features of Org-babel should now be covered. > > http://orgmode.org/worg/org-contrib/babel/ > > Best -- Eric Great I'll have a look... Little typo on home page: in

[Orgmode] autoloading stuff

2009-12-27 Thread andrea
If I don't remember wrong in the guide everything was supposed to be "required". Now is there a way to eliminate all the requires? I have all those requires, and the problems is that also babel loads the entire programming mode even if I don't need it. --8<---cut here---

[Orgmode] Re: autoloading stuff

2009-12-27 Thread andrea
"Thomas S. Dye" writes: > Hi Andrea, > I'm not certain I understand your question, but it brings to mind the > Getting Started section of > http://orgmode.org/worg/org-contrib/babel/intro.php, > which indicates that you can activate whatever subset of supported &

[Orgmode] Re: autoloading stuff

2009-12-28 Thread andrea
"Thomas S. Dye" writes: > Hi Andrea, > > On Dec 27, 2009, at 12:53 PM, andrea wrote: > > I don't believe this is addressed in the documentation. Perhaps Eric > or Dan can give you an answer when they are back on-line. > > All the best, > Tom I didn

[Orgmode] Table like structure

2010-01-02 Thread andrea
I'm wondering how to manage this kind of situation: I have a file of quotations, which I divide in categories, like for example: * Literature * Info ** programming ... I'm writing them for example like this: --8<---cut here---start->8--- #+begin_verse Progra

[Orgmode] auto exporting something

2010-01-09 Thread andrea
I have some simple files which I always want to export to other formats, why don't simply add a sort of keyword for that? Like: #+auto: ascii html Then adding a hook on after-save-hook could look for it and take the appropriate action. Is there maybe already another way to do the same thing?

[Orgmode] Re: Tips on maintaining a knowledge-base ?

2010-01-10 Thread andrea
d.st...@gmail.com writes: > I've been using org-mode for a little while, I've kept it really simple > for now, with only two files : > - one to act as an inbox, with remember-mode > - another where I stick just about anything that's been processed from the > inbox > > This is great for managing so

[Orgmode] no syntax defined for comments

2010-01-12 Thread andrea
I sometimes want to write comments in my org-mode files, but the handy function *comment-region* doesn't work, "no syntax defined for.." Then I can choose '#' but it doesn't put it in the beginning of the line. I normally end in selecting the rectangle and run *string-rectangle* with '#', but tha

[Orgmode] From comments in code to org-mode

2010-01-16 Thread andrea
I had an idea which would be really nice if I'm able to implement it. I write very often in code comments like // FIXME: infinite loop for example, now is a good thing they're in the code, but I also would like to centralize the error management per project in some way. So I thought something like

[Orgmode] org-agenda-files variable

2010-01-17 Thread andrea
I've set up in before-hook a function to append to org-agenda-files every org file. Now the problem is that sometimes it adds the file in form ~/path and sometimes in form /Users/user/path It's annoying because on different machines I have different homes. What could be the reason? I always visit

[Orgmode] Re: org-agenda-files variable

2010-01-18 Thread andrea
Carsten Dominik writes: > Hi Andrea, > > This post is really incomplete, and it is impossible for anyone to give > a good answer - which means that everyone has to read my answer and then > your second attempt. Things that could help are: > > - What does your hook look

[Orgmode] [babel] Moving to babel the whole configuration

2010-01-21 Thread andrea
I'm really tempted to move all my emacs configuration in only one big file. This would also help me to make it more consistent and readable. But I'm afraid to mess up something, in theory I just need: - a simple org and babel loader - one big file containing everything But how is emacs behaving?

[Orgmode] Absolute paths in exported files

2010-01-23 Thread andrea
I was exporting an org-file containing relative paths in the format "file:../" In both the pdf and the html the url becomes absolute, I haven't found a good reason for that in the documentation (they should remain relative as I understood), any idea? Org-mode version 6.33trans GNU Emacs 23.1.50.1

[Orgmode] Re: Absolute paths in exported files

2010-01-23 Thread andrea
andrea writes: > I was exporting an org-file containing relative paths in the format > "file:../" > > In both the pdf and the html the url becomes absolute, I haven't found a > good reason for that in the documentation (they should remain relative > as I unders

[Orgmode] Re: Absolute paths in exported files

2010-01-23 Thread andrea
andrea writes: Another very strange thing happened, I have in the file two sources like #+begin_src sh lsdfks #+end_src tex text and #+begin_src java lsdfks #+end_src Now exporting to html or java shows me twice the FIRST code! If I delete the first one than the second works, any idea of

[O] Bug: org -> org export ignores latex blocks [8.3.4 (8.3.4-50-g83e373-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20160509/)]

2016-05-12 Thread Andrea
LaTeX --- becomes --- # Created 2016-05-12 Thu 17:45 #+TITLE: #+AUTHOR: Andrea * Hello --- The export to html deletes these blocks as well. Packages as ox-pandoc and org-pandoc use this functionality, and so fail the export as well. Hope this can be solved easily. T

Re: [O] Bug: org -> org export ignores latex blocks [8.3.4 (8.3.4-50-g83e373-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20160509/)]

2016-05-12 Thread Andrea
Hello, thanks for the fast reply. It actually works with the new syntax, thank you! There is a minor thing though: when I export a #+BEGIN_export latex to an org buffer, it exports to #+BEGIN_export (without the latex). Maybe this is a bug? Thanks, Andrea P.S: I did not know about these changes

Re: [O] Bug: org -> org export ignores latex blocks [8.3.4 (8.3.4-50-g83e373-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20160509/)]

2016-05-12 Thread Andrea
I think I saw that, but I did not read it carefully. And since the autocompletion (I mean writes: > > But I am surprised that that fix applied to your org-plus-contrib version. > > It applies only to the version built from the master branch. Is > org-plus-contrib the only version that you have in

Re: [O] Bug: org -> org export ignores latex blocks [8.3.4 (8.3.4-50-g83e373-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20160509/)]

2016-05-12 Thread Andrea
Okay, I have deleted the org one and left the org-contrib: I can still use the new feature (probably org-contrib enables it). Thanks for your explanation, Andrea Kaushal Modi writes: > On Thu, May 12, 2016 at 6:20 PM Andrea wrote: > >> I think I saw that, but I did not read it ca

[O] Bug: EXPORT_FILE_NAME error [9.0.3 (9.0.3-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20161224/)]

2016-12-28 Thread Andrea
ror here: org-compile-file: File "/tmp/bla.pdf" wasn’t produced. See "*Org PDF LaTeX You should see that the LaTeX file is in the /tmp directory, but that the pdf is in the home directory. It would be marvellous if this could start working as before. Thanks and Happy New Year t

[O] Bug: org-eww-copy-for-org-mode Empty Link problem + easy fix [9.0.4 (9.0.4-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20170124/)]

2017-02-11 Thread Andrea
w I solved this by adding an if statement that makes the link only if the info passed is not nil [2], but maybe someone knows a better check for org-eww-goto-next-url-property-change than the one using 'shr-url? Thanks a lot for org mode, Andrea [1] org-eww-copy-for-org-mode uses org-ew

[O] Bug: [Feature request] generate source blocks from filename [9.0.8 (9.0.8-elpaplus @ /Users/andreagiugliano/.emacs.d/elpa/org-plus-contrib-20170606/)]

2017-06-19 Thread Andrea
ive) (helm-show-kill-ring) (org-src-from-filename-at-point)) (bind-key "C-c y" 'org-src-from-helm-kill-ring) #+END_SRC Which becomes so cool having a function that adds the current buffer filename to the kill-ring: #+BEGIN_SRC emacs-lisp :tangle yes (defun copy-buffer-filename

Re: [O] Literate programming: Org mode and Scala

2018-09-18 Thread Andrea
Hi Grant, Yes, I am. If you manage to make the current scala-mode work, the output is ugly (I opened a PR for that). The old scala-mode [1] did not need any external package to work (apart of Scala). Best, Andrea [0] https://github.com/ensime/emacs-scala-mode/issues/148 [1] https

[ANN] integrate Org-capture and YASnippet and Yankpad

2020-07-28 Thread Andrea
is a post describing why/what I did: https://ag91.github.io/blog/2020/07/28/how-to-integrate-yasnippet-and-yankpad-with-org-capture/ I hope this will be helpful to somebody else too! And any feedback is welcome, maybe there was an easier way to do it? Thanks, Andrea

Re: Shower thought: submit an IETF RFC to register Org as a MIME type

2020-09-24 Thread Andrea
Since Markdown may have different interpretations depending on the tool and the environment, a better approach is to analyze (and sanitize or block) the output markup, rather than attempting to analyze the Markdown. " Do they have an org-babel? Thanks, Andrea

Re: Shower thought: submit an IETF RFC to register Org as a MIME type

2020-09-24 Thread Andrea
Since Markdown may have different interpretations depending on the tool and the environment, a better approach is to analyze (and sanitize or block) the output markup, rather than attempting to analyze the Markdown. " Do they have an org-babel? Thanks, Andrea

Re: Change colour of hyperlinks in Beamer presentation

2023-05-23 Thread Andrea
I believe you could do something like that (borrowed from the LaTeX Wikibook ): #+LATEX_HEADER: \hypersetup{ #+LATEX_HEADER: colorlinks=true,% false: boxed links; true: colored links #+LATEX_HEADER: linkcolor=red,

[BUG] Error in data input and output format for org-columns--summary-estimate

2023-07-09 Thread andrea
ation-to-minutes value) (let ((sd (sqrt var))) (format "%s-%s" ;; (format "%.0f" (- mean sd)) ;; (format "%.0f" (+ mean sd)) (org-duration-from-minutes (- mean sd)) (org-duration-from-minutes (+ mean sd)) Cheers! Andrea Fedeli.

Re: [BUG] Error in data input and output format for org-columns--summary-estimate

2023-07-09 Thread andrea
produces image.png That shows that days and months are wrongly counted the same With the suggested patch produces image.png Showing that day and months are correctly handled, and reported. Cheers, Andrea. Da emacs-orgmode-bounces+andrea=fedeli...@gnu.org A and

Re: [BUG] Error in data input and output format for org-columns--summary-estimate

2023-07-14 Thread andrea
er that org-duration-to-minutes does NOT do the same (it implicitly utilizes the org-duration-format content, and has hardcoded assumption on quantities being representing times, so there too you'd need to change something, if it was not just a matter of definining a different alternative to d

Re: [BUG] Error in data input and output format for org-columns--summary-estimate

2023-08-15 Thread andrea
pe check according to the utilized measure unit, and would be able to avoid having to misleadlingly allow to sum tons to kg, for instance. (Recall: the ending letter today is just discarded hence 1kg-1ton is today taken as 1-1). Cheers, Andrea. Da "Ihor Radchenko" yanta...@posteo.

Re: [BUG] Error in data input and output format for org-columns--summary-estimate

2023-08-17 Thread andrea
ust realized the use of pcase is likely replaceable by a simpler (car (last (mapcar...))) call :). Cheers, Andrea Job: diff -bwi org-clock.el{.old,} 720c720,723 < (let* ((effort-in-minutes (org-duration-to-minutes org-clock-effort)) --- > (let* ((effort-i

[BUG] org-babel-tangle may fail due to (org-babel-tangle-collect-blocks lang-re tangle-file) [9.6.9 ( @ /home/andrea/.emacs.d/elpa/org-9.6.9/)]

2023-10-12 Thread Andrea
. But we may still use the target-file input to save the day, no? Any chance I found a bug? Best, Andrea Emacs : GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-05-31 Package: Org mode version 9.6.9 ( @ /home/andrea/.emacs.d/elpa/org-9.6.9/)

Re: [BUG] org-babel-tangle may fail due to (org-babel-tangle-collect-blocks lang-re tangle-file) [9.6.9 ( @ /home/andrea/.emacs.d/elpa/org-9.6.9/)]

2023-10-12 Thread Andrea
Thanks Ihor for the super quick response! On Thu 12 Oct 2023 at 13:04, Ihor Radchenko wrote: > Andrea writes: > >> >> Sometimes I get an error on org-babel-load-file saying that >> org-babel-tangle-collect-blocks was called with target-file set to nil. > >

Re: [BUG] org-babel-tangle may fail due to (org-babel-tangle-collect-blocks lang-re tangle-file) [9.6.9 ( @ /home/andrea/.emacs.d/elpa/org-9.6.9/)]

2023-10-12 Thread Andrea
On Thu 12 Oct 2023 at 14:40, Ihor Radchenko wrote: > Andrea writes: > >> This is the full trace I get running "emacs --debug-init" (sorry I should >> have added it in my bug report): >> >>Debugger entered--Lisp error: (wrong-type-argument stri

Re: [BUG] org-babel-tangle may fail due to (org-babel-tangle-collect-blocks lang-re tangle-file) [9.6.9 ( @ /home/andrea/.emacs.d/elpa/org-9.6.9/)]

2023-10-12 Thread Andrea
I were outside of it). Just adding a newline manually removed the issue, so I guessed there was some special character there (which is weird, but I cannot be sure of my copy pasting). Sorry for the noise and thanks for your suggestions, they were useful in debugging my issue. Best, Andrea

Re: [BUG] org-babel-tangle may fail due to (org-babel-tangle-collect-blocks lang-re tangle-file) [9.6.9 ( @ /home/andrea/.emacs.d/elpa/org-9.6.9/)]

2023-11-24 Thread Andrea
Sorry Ihor for the long delay. I got the error again for the second source block in the attached file. That is a sample of my configuration. Hope this helps, Andrea example.org Description: Lotus Organizer On Fri 13 Oct 2023 at 11:56, Ihor Radchenko wrote: > Andrea writes: > >

[BUG] ob-sql should escape the password [9.7.3 (9.7.3-2f1844 @ /home/andrea/.emacs.d/elpa/org-9.7.3/)]

2024-06-06 Thread Andrea
t;) If the password contains an & character, the execution of a block fails. I solved like this: (if dbpassword (format "PGPASSWORD='%s' " dbpassword) "") Hope this is of help, Andrea Emacs : GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+

[Orgmode] org beamer conflicts

2010-12-10 Thread Andrea Crotti
I noticed a strange problem. My emacs configuration uses orgmode from git, and loads it in this way: (defun make-conf-path (path) (expand-file-name (concat base path))) (add-to-list 'load-path (make-conf-path "org-mode/lisp")) (add-to-list 'load-path (make-conf-path "org-mode/contrib/babel/lisp

[Orgmode] Disputed keys

2010-12-18 Thread Andrea Crotti
I wanted finally to fix the following problem, I would like to use meta-left/right to switch frame, and that's one of the keys that orgmode uses. I added the two values here to the org-disputed-keys --8<---cut here---start->8--- [(meta left)] Value:

[Orgmode] Re: Disputed keys

2010-12-20 Thread Andrea Crotti
Eric S Fraga writes: > > Isn't switching to frame a function of your window manager and not > emacs? That is, shouldn't this be a case of telling your window manage, > whatever that may be, to switch frames when these keys are pressed? > > Or am I missing something fundamental here? Well yes an

[Orgmode] Re: Disputed keys

2010-12-20 Thread Andrea Crotti
Stefan Vollmar writes: > Dear Andrea, > > I have this in my .emacs file > > (defun my-org-mode-stuff () > (define-key org-mode-map [(meta tab)] 'previous-user-buffer) > (local-set-key (kbd "S-") 'forward-char-mark) > (local-set-key (kbd "S-&

[Orgmode] Re: Disputed keys

2010-12-20 Thread Andrea Crotti
Suvayu Ali writes: > > I think Andrea meant to say switching window. But none the less, Emacs > has the ability to switch frames, `C-x 5 o' or even your regular > switch-buffer'. But I think it does it by talking to the window > manager. > > This can be very usef

[Orgmode] Bibtex and beamer

2011-01-19 Thread Andrea Crotti
I'm doing a presentation and using bibtex for keeping my references, exactly how I will use it in the dissertation. That's really wonderful and it works like a charm, using reftex-citep and an external bibliography file. Only one thing is not clear, how do I tell org-mode to call pdflatex/bibtex

[Orgmode] Re: Bibtex and beamer

2011-01-19 Thread Andrea Crotti
Jeff Horn writes: > On Wed, Jan 19, 2011 at 4:14 PM, Andrea Crotti > wrote: >> Only one thing is not clear, how do I tell org-mode to call >> pdflatex/bibtex "enough" times to get all the links correctly setup. > > If you're using a *nix system, you mi

[Orgmode] [BEAMER] make text fit in a slide

2011-01-19 Thread Andrea Crotti
Would it be possible with some trick to automatically make the font resize when the frame doesn't fit in the slide? Or maybe would that be possible otherwise to split the slide in two parts automatically? I always wondered how to do it but never really found out. And how do I in general could hav

[Orgmode] Re: [BEAMER] make text fit in a slide

2011-01-20 Thread Andrea Crotti
iem...@gmail.com writes: > Hi Andrea, > > I use the following line to allow frame breaks > > #+BIND: org-beamer-frame-default-options "[allowframebreaks]" Perfect nice, but now I also get "Slide I" for all the slides, even if there isn't a second one... I

[Orgmode] Re: [BEAMER] make text fit in a slide

2011-01-20 Thread Andrea Crotti
chris.m.mal...@gmail.com writes: > Hi Andrea, > > I stand corrected - you are getting a lot of useful information here! :-) > Yes true :) Thanks everyone, the "per frame" setting is perfect. And since I'm here another thing I'm not getting. If I want to

[Orgmode] Re: [BEAMER] make text fit in a slide

2011-01-20 Thread Andrea Crotti
Chris Malone writes: > Hi Andrea, > > Here I can help some :). > > What I have done in the past is take advantage of the fact that org-mode > will close a beamer =columns= environment if the column width i

[Orgmode] Re: [BEAMER] make text fit in a slide

2011-01-20 Thread Andrea Crotti
Chris Malone writes: > Hi Andrea, > > In the example I showed, I set the block to an =ignoreheading= block by > using =C-c C-b i=. This, as best I can tell, generates a block but > comments out the part which gives the block its title. Doing this > overrides the "aler

[Orgmode] Re: Other modes in SRC

2009-10-21 Thread andrea Crotti
Matt Lundin imapmail.org> writes: > > andrea gmail.com> writes: > > I'm not sure I understand the question, but you can include source code > blocks in your org-file, which you can edit in a special buffer in the > appropriate mode: > > http://orgmode.

[Orgmode] Html and unreadable characters

2009-10-25 Thread andrea Crotti
When I export to html and there is source code inside sometimes I get unreadable characters,that's because the color is very light and on a white background it disappears. How could I solve it? Wouldn't be possible to export keeping the emacs theme (like htmlize does) for example? _

[Orgmode] Differences html/pdf

2009-10-28 Thread andrea Crotti
I normally prefer to export to pdf but I see that there are some differences. I added #+OPTIONS: toc:nil \n:nil todo:nil and toc is not exported in both, todo are anyway always exported and newline are kept only in html. In the latex version they're not exported for some reasons... Should I set

[Orgmode] Re: Differences html/pdf

2009-10-28 Thread andrea Crotti
Carsten Dominik gmail.com> writes: > > > On Oct 28, 2009, at 3:16 PM, andrea Crotti wrote: > > > This is about the TODO keywords, and they are stripped in both Mm I don't understand... How should I disable "todo" exporting then? How I wrote it doesn'

[Orgmode] Full web server for org-mode

2009-10-31 Thread andrea Crotti
I was thinking if it could be a good idea. Instead of static project exporting I could have a web server (maybe in elisp) that export projects on demand, only if html is older than source file. That would be useful to get maybe a way to navigate everywhere in our org-world without exiting the b

[Orgmode] Re: Differences html/pdf

2009-10-31 Thread andrea Crotti
Carsten Dominik gmail.com> writes: > > > On Oct 28, 2009, at 11:23 PM, Nick Dokos wrote: > > > Bastien googlemail.com> wrote: > > OK, this is pretty good, and I have added it to be inserted > as a consequence of setting org-export-preserve-breaks. But I > believe in complex documents there m

[Orgmode] Fast traversing directories

2009-10-31 Thread andrea Crotti
Well I would like to have simply all the org files I produce wherever in my agenda. I started to write something like (dolist (x (directory-files "~/uni/" t)) (if (file-directory-p x) (dolist (subject (directory-files x t)) (if (file-directory-p subject) (setq org-agen

[Orgmode] Re: Fast traversing directories

2009-10-31 Thread andrea Crotti
Benjamin Andresen in-ulm.de> writes: > > Hey Andrea, > > andrea Crotti gmail.com> writes: > > > I didn't find any function in elisp, maybe it would be better > > to get a list of org-files with an external command (python or shell > > script), &g

[Orgmode] Re: Differences html/pdf

2009-11-01 Thread andrea Crotti
Carsten Dominik gmail.com> writes: > It is in the git repo, but not yet in a release. > It may be in 6.33, but only if no problems arise from this change - I am > not at all sure about this. > > - Carsten It's not also so easy to test I guess... Maybe giving some very complicated org-files, se

[Orgmode] Final bookmark exporting

2009-11-02 Thread andrea Crotti
Given that I finally have my nice org-agenda-files defined I would also like to have an automatic bookmark exporting. I was thinking to something like hook on write-file that - checks if file is org-mode and in the org-directories - if it is and not in agenda files add it (and not do the whole sc

[Orgmode] Adding org files

2009-11-09 Thread andrea Crotti
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. '(org-agenda-files (quote ("~/org/tobuy.org" "/Users/andrea/Documents/calzitex/documen

[Orgmode] [babel] dot in pdf directly

2009-11-09 Thread andrea Crotti
Still a couple of questions, I found something here in the newsgroup but nothing helped me... First, how many and where can I find all the possible #+begin_...? I mean why is #+begin_dot and not #+begin_src dot? I would like to insert my dot info and on exporting getting a pdf with embedded th

[Orgmode] Re: [babel] dot in pdf directly

2009-11-09 Thread andrea Crotti
Eric Schulte gmail.com> writes: > > The two separate mechanisms are confusion, but for now are necessary to > allow org-mode users to evaluate some simple block types (like dot) on > export without having to load up all of org-babel. > > I hope the above isn't too confusing :) -- Eric > No n

[Orgmode] Re: Adding org files

2009-11-10 Thread andrea Crotti
Stephan Schmitt cs.tu-berlin.de> writes: > > > if you use (setq ...) you circumvent the customization framework > and the variable is set only for the emacs session. > > don't know if this helps, otherwise rephrase your question, please. > Well no that's even better! In this way I can direc

[Orgmode] Re: [babel] dot in pdf directly

2009-11-10 Thread andrea Crotti
Eric Schulte gmail.com> writes: > Note that the solution I'm about to propose relies on the use of > org-babel and #+begin_src dot blocks rather than #+begin_dot blocks. > > When in these situations I will often set the block so that neither the > code or the resulting image is exported, and so

  1   2   3   >