Re: [O] Keeping metadata/notes about files and directories

2014-09-23 Thread Darlan Cavalcante Moreira
imagine it would be faster. -- Darlan Cavalcante Moreira Christoph Groth writes: Dear all, I just wrote under the subject “Re: Managing articles in org mode and collaboration”. This posting puts the other one in a broader context. While thinking about organizing articles, I asked myself

Re: [O] org-crypt doesn't automatically encrypt on save

2014-09-12 Thread Darlan Cavalcante Moreira
-crypt-use-before-save-magic) after the require and see if that solves your problem. Rémi Letot writes: Darlan Cavalcante Moreira darc...@gmail.com writes: You need to load org-crypt and call org-crypt-use-before-save-magic before you open the org file. I have this in my config: (add

Re: [O] org-crypt doesn't automatically encrypt on save

2014-09-11 Thread Darlan Cavalcante Moreira
that might interfere, but I can't see how and where... Thanks, -- Rémi -- Darlan Cavalcante Moreira darc...@gmail.com

Re: [O] easy way to link to file in attachment directory?

2014-09-04 Thread Darlan Cavalcante Moreira
with [[attach:filename_without_any_path.extension][description]] Also, just after attaching a new file org will automatically store the link so that you can use C-c C-l to include the link. -- Darlan Cavalcante Moreira darc...@gmail.com mirko.vuko...@gmail.com writes: Hello, Is there a way to insert a link

[O] Latex Preview Equations(with C-u C-u)

2014-08-11 Thread Darlan Cavalcante Moreira
to behave like that? -- Darlan Cavalcante Moreira

Re: [O] Export formats: Is there an in-house Emacs final format?

2014-02-25 Thread Darlan Cavalcante Moreira
Cavalcante Moreira darc...@gmail.com

Re: [O] style the tags with colors in theme

2013-07-24 Thread Darlan Cavalcante Moreira
and see it that has an effect. If it works, then you will need to bisect your configuration to isolate what makes it stop working. -- Darlan Cavalcante Moreira darc...@gmail.com zelt...@gmail.com writes: thx again for the answer but it dosent see to work here: https://paste.xinu.at/KlvP

Re: [O] style the tags with colors in theme

2013-07-23 Thread Darlan Cavalcante Moreira
I use the code below for the ATTACH tag --8---cut here---start-8--- (setq org-tag-faces '((ATTACH :inherit org-done :box nil :underline t :height 1.2))) --8---cut here---end---8--- -- Darlan Cavalcante Moreira darc

Re: [O] shortcut to create a heading already with todo included

2013-07-23 Thread Darlan Cavalcante Moreira
Capture is the way to go for a general (and anyware) way to create TODOs. But for something simple, you can use M-return to create a new headline in org-mode and M-S-return to create a headline with a TODO. -- Darlan Cavalcante Moreira darc...@gmail.com ohwoeo...@gmail.com writes: Hi

Re: [O] Several questions about beamer export

2013-07-12 Thread Darlan Cavalcante Moreira
in the #+LINK line after you insert it. -- Darlan Cavalcante Moreira darc...@gmail.com ndo...@gmail.com writes: Julien Cubizolles j.cubizol...@free.fr writes: Nick Dokos ndo...@gmail.com writes: Julien Cubizolles j.cubizol...@free.fr writes: * in LaTeX you can use \graphicspath to define

Re: [O] Automatically adding local variables to tangled file

2013-06-05 Thread Darlan Cavalcante Moreira
It's a good idea to have useful information in the tangled file that can help these functions. But since org-mode can already tangle with comments containing useful information, isn't this enough to detect that the file is a tangled file? On the other hand, a local variable in the tangled files

Re: [O] Let's discuss citation and Org syntax

2013-05-26 Thread Darlan Cavalcante Moreira
I prefer the [cite:citekey] syntax similar to [fn:number] for footnotes. But no matter which syntax is chosen I think we can easily make reftex work with it. All we need is to set the variable reftex-cite-format [1] to a string with the desired format. For the syntax [cite:citekey] the string

Re: [O] Tbl: precision for cells

2013-05-20 Thread Darlan Cavalcante Moreira
If everything fail you can always process the table with babel to create a new table the way you like. You could add a function for that to the library of babel to have it always available. It is less convenient then a format specifier for the whole table as you want, but it is a very powerful

Re: [O] [babel] sbe not working properly

2013-04-11 Thread Darlan Cavalcante Moreira
I have my own difficulties using sbe and decided to try your example. I even created the shell babel block below which does the same think as the python code #+NAME: epoch2dayshell(epoch=1) #+begin_src sh echo `date --d @$epoch -u +[%F %a %T]` #+end_src but I

Re: [O] Editing folded headlines and ellipses

2013-03-12 Thread Darlan Cavalcante Moreira
At Tue, 12 Mar 2013 13:45:27 +0100, Bastien wrote: Hi Darlan, Darlan Cavalcante Moreira darc...@gmail.com writes: That is another nice feature of org-mode I didn't know about. I just documented it in the manual, thanks! I set the variable to 'error now.. Any reason why nil

Re: [O] Repeated tasks, but only for a limited period (of time)

2013-03-12 Thread Darlan Cavalcante Moreira
Instead of using a repeater you can clone the task. Just create the task the way you like it (with a schedule and a deadline) for the first day and then call 'M-x org-clone-subtree-with-time-shift'. Org-mode will ask you the number of clones it should create and the time shift. Just specify the

Re: [O] Editing folded headlines and ellipses

2013-03-11 Thread Darlan Cavalcante Moreira
That is another nice feature of org-mode I didn't know about. I set the variable to 'error now.. Any reason why nil is the default? At Sun, 10 Mar 2013 10:57:15 +0100, Suvayu Ali wrote: Hi Bastien, On Sun, Mar 10, 2013 at 10:34:26AM +0100, Bastien wrote: Suvayu Ali

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-27 Thread Darlan Cavalcante Moreira
I also converted my Emacs configuration to an org-mode file a long time ago and I hit the same spot you did. As you, I initially assumed (wished) that the COMMENT marker would disable tangling of blocks in that subtree. After that I found out the tangle property, which solves the problem but has

Re: [O] How to use org-capture with dynamic ID targets?

2013-01-29 Thread Darlan Cavalcante Moreira
Cavalcante Moreira darc...@gmail.com writes: At Thu, 24 Jan 2013 20:01:47 +0100, Bastien wrote: Did you tried this? (setq org-capture-templates `((f The template description table-line (id ,some_variable) this is the template content :table-line-pos II-1

Re: [O] How to use org-capture with dynamic ID targets?

2013-01-28 Thread Darlan Cavalcante Moreira
At Thu, 24 Jan 2013 20:01:47 +0100, Bastien wrote: Hi Darlan, Darlan Cavalcante Moreira darc...@gmail.com writes: everything works as expected and a table in the headline with ID someIDstring is used. However, if I try (f The template description table-line (id some_variable

Re: [O] Using Org/babel for Emacs config files (was: OT: Learning ELISP)

2013-01-23 Thread Darlan Cavalcante Moreira
I also have my Emacs configuration in org mode and it is really great. Before moving to an org-mode initialization file I had multiple elisp files and the main initialization file loaded the individual files. But having everything in one place with the outline and search powers of org-modemuch

[O] How to use org-capture with dynamic ID targets?

2013-01-16 Thread Darlan Cavalcante Moreira
I'm trying to set-up some org-capture templates using the ID target type. However, I need the ID to be determined either as the return value of a function or as the value of a variable. When I use a template such as --8---cut here---start-8--- (f The template

Re: [O] Fixes for org-capture-templates-contexts

2013-01-11 Thread Darlan Cavalcante Moreira
By a great coincidence I just discovered org-capture-templates-contexts yesterday but could not make it work yet (didn't have much time to investigate it). Is it possible to have capture templates that do not appear in any buffer but can be called from lisp? The idea is that I'm implementing some

Re: [O] How to add content from a file to a table automatically

2013-01-10 Thread Darlan Cavalcante Moreira
Thank you Eric and Jambunathan for your answers. If I process the whole table with babel to manually add the lines from the external file than I would have to take care of updating the formula for the Total value as well as making sure the new content was added before the Total line, right?. The

[O] How to add content from a file to a table automatically

2013-01-09 Thread Darlan Cavalcante Moreira
Is there a way to detect when a file changes and then add the content from it (if any, the file could be empty) to a specified org-mode table? Each line in that file is already constructed in a way that it could be copied and pasted to the table directly (but I can change that if it makes things

Re: [O] monthly budget with year summary using tables

2013-01-04 Thread Darlan Cavalcante Moreira
# contributor: Darlan Cavalcante Moreira # -- * ${1:`(get-current-month)`} ${2:`(get-current-year)`}$0 *** Alimentação :PROPERTIES: :ID: $1$2Alimentação :END: Gastos com Alimentação em dinheiro ou em conta corrente. Não inclui gastos com alimentação

Re: [O] monthly budget with year summary using tables

2013-01-03 Thread Darlan Cavalcante Moreira
A have a setup similar to the one you ask, using tables, but I don't need babel for that. Basically, I have a Finances headline in my main org file, whose children are years headlines. In the beginning of each month I create a new headline for that month in the current year using a template so

Re: [O] How to customize the heading definition in org-mode

2012-11-11 Thread Darlan Cavalcante Moreira
At Sat, 10 Nov 2012 07:58:40 -0800, David Rogers wrote: But for this specific need (organizing the Emacs configuration with org-mode), there is really no need for changing the headline definition. You instead change your Emacs configuration to 'real' org-mode files with the actual configuration

Re: [O] Header Jumping

2012-10-24 Thread Darlan Cavalcante Moreira
You can also pass C-u two times to go to the last refiled/captured headline, that is, C-u C-u C-c C-w and C-u C-u C-c c. At Thu, 25 Oct 2012 00:02:22 +1100, tony day wrote: Esben Stien b...@esben-stien.name writes: Is there some way to go directly to a node? F.ex, I have: *

Re: [O] Sagemath with org-babel?

2012-08-06 Thread Darlan Cavalcante Moreira
I have done this in the past, I don't have the files anymore. However, as Tom says it is very easy to modify the templates to make org work with sage. I remember I only needed some search and replace to make it work. Also, you may want to have a look at sage-mode first if you haven't already.

Re: [O] How to turn off font-lock-mode per file

2012-06-27 Thread Darlan Cavalcante Moreira
Add a file local variable. M-x add-file-local-variable Write mode for the variable and font-lock-mode for its value (without quotes). I tested this and it worked. -- Darlan At Wed, 27 Jun 2012 09:01:52 -0700 (PDT), Enda enda...@yahoo.com wrote: [1 text/plain; us-ascii (7bit)] How do you

Re: [O] Searching linked files

2012-06-20 Thread Darlan Cavalcante Moreira
See the variable org-agenda-text-search-extra-files. It seems to be exactly what you want. -- Darlan Cavalcante At Wed, 20 Jun 2012 09:16:49 -0400, Marvin Doyley marvin...@gmail.com wrote: Hi there, Does anybody now how to search the content of a linked file ? I have a master file that

Re: [O] Ido org-refile results in misfiling

2012-06-01 Thread Darlan Cavalcante Moreira
One thing that may help is using C-space to lock previous matches with ido completion. For instance, you start ido completion (does not matter in which context: buffers, files, functions, etc) and start typing This will give you a bunch of matches. Then use C-space to lock these matches and it

Re: [O] Agenda view with bibliographic references

2012-05-14 Thread Darlan Cavalcante Moreira
What if you manually set the category property of each reference to a short title for the reference? The category appears in the agenda and you can use it as a sort strategy. -- Darlan At Mon, 14 May 2012 09:42:23 +0200, G. Martin Butz b...@sym.net wrote: Hallo to all, as I have quite a

Re: [O] Inline LaTeX fragments in emacs buffer

2012-05-14 Thread Darlan Cavalcante Moreira
\] in the png output I got the following trailing text:ORG-LIST-END-MARKER . Is this a known bug? Regards, Dov On Sun, May 13, 2012 at 8:55 PM, Darlan Cavalcante Moreira darc...@gmail.com wrote: org-preview-latex-fragment is really great but what is even better

Re: [O] Inline LaTeX fragments in emacs buffer

2012-05-13 Thread Darlan Cavalcante Moreira
org-preview-latex-fragment is really great but what is even better is that it also works outside org-mode! This makes my life a lot easier. I set C-c P as a global key-binding for org-preview-latex-fragment and C-c p to org-ctrl-c-ctrl-c. Then I can preview equations all equations in ANY buffer

Re: [O] export image generated by python code.

2012-04-30 Thread Darlan Cavalcante Moreira
Remember that when you execute the code via C-c C-c it is run in a temporary file which is not in the same folder as the org file from where it was generated from. Maybe you are reading some data from a file and Python is not able to locate the file when run with C-c C-c. Put :results output in

Re: [O] Simplify repeated same section with different variable value

2012-04-24 Thread Darlan Cavalcante Moreira
If you like the call method (which is the best one IMHO) you can also add the foo function to the library of babel. In this way you will be able to call it from any org file without having to put the definition of the foo function in each of them. -- Darlan At Tue, 24 Apr 2012 10:44:27 -0400,

Re: [O] [odt] Export of LaTeX Fragments

2012-04-23 Thread Darlan Cavalcante Moreira
Since org already accepts \SomeCommandName, maybe org-mode could provide some very basic functionality for the user to provide definitions for these macros for each (desired) output format. For instance, there could be a list similar to #+begin_src emacs-lisp ( (somecommand :html

Re: [O] Auto tag based on buffer contents?

2012-04-23 Thread Darlan Cavalcante Moreira
I don't think there exist an autotag feature, but you can use template expansions [1] to put the sender's name as a tag in the headline. For instance, you could use the template expansions %:from, %:fromname or %:fromaddress. But I don't know how this will play if you also use the template

Re: [O] org-wikinodes - find files in a specific directory

2012-04-16 Thread Darlan Cavalcante Moreira
Maybe a custom link type is enough for this. You can define a 'wiki' link type with #+LINK: wiki ~/Wiki_folder/%s and then use [[wiki:something.org][description]] -- Darlan At Fri, 13 Apr 2012 12:23:12 -0500, Marcelo de Moraes Serpa celose...@gmail.com wrote: [1 text/plain; ISO-8859-1

Re: [O] org-mode as an accountability system?

2012-03-05 Thread Darlan Cavalcante Moreira
Also, if you have anything in your agenda that you don't want to send to him you can use tags to restrict what is shown in the agenda before you copy/export it. -- Darlan At Sun, 4 Mar 2012 14:08:40 + (UTC), Memnon Anon gegendosenflei...@googlemail.com wrote: Hi Peter, Peter Salazar

Re: [O] Buffer-wide header arguments

2012-02-12 Thread Darlan Cavalcante Moreira
Remember to also press C-c C-c in the property line after writing it. -- Darlan At Fri, 10 Feb 2012 11:35:06 -1000, t...@tsdye.com (Thomas S. Dye) wrote: Peng Zhang pczh...@gmail.com writes: Dear all, I have followed the manual and put #+PROPERTY: session *R* #+PROPERTY: exports

Re: [O] org-remember - org-capture: % functionality

2012-02-03 Thread Darlan Cavalcante Moreira
I don't know if such a feature exists for the capture template, but after you captured an item you can use C-u C-u C-c c (supposing C-c c is your key-binding for org-capture) to go to the captured item location. The same feature exists for refiled notes. I use this a lot and I find it more

Re: [O] Including an active timestamp in encrypted (crypt) org entries

2012-01-16 Thread Darlan Cavalcante Moreira
Org encrypts everything inside a heading with the chosen tag. It does not try to be smart and decide what should and what should not be encrypted inside that heading. Putting the time-stamp in the headline as suggested by others should work, since org uses that information and the heading itself

Re: [O] file name prefix in agenda view

2011-12-15 Thread Darlan Cavalcante Moreira
You can change how the items appear in the agenda views by changing the org-agenda-prefix-format variable to your liking. It is easier to change the default value to remove the category. -- Darlan Cavalcante Moreira

Re: [O] About commit named Allow multi-line properties to be specified in property blocks

2011-11-08 Thread Darlan Cavalcante Moreira
Unless I have missed something in the e-mails, the new syntax is to concatenate new variables to the var property. Not modifying the values currently stored in some variable. That is, #+property: var foo=2 #+property: var+ 5 (not specifying the variable name ) should not be allowed and

Re: [O] About commit named Allow multi-line properties to be specified in property blocks

2011-11-04 Thread Darlan Cavalcante Moreira
I liked this suggestion. In a sense, it is similar to the inherit keyword I had suggested before, but now the keyword (the plus sign) is part of the variable name. But the reason I really liked it is because it is clear to understand. One can compare it to the += operator some languages have.

Re: [O] Feature Request: Disable auto-insert-mode exporting

2011-10-28 Thread Darlan Cavalcante Moreira
in the new buffer, be it the file variables inserted by AUCTeX or the content inserted by auto-insert, with the result from the export. -- Darlan At Fri, 28 Oct 2011 10:43:00 +0200, Carsten Dominik carsten.domi...@gmail.com wrote: On 28.10.2011, at 06:49, Darlan Cavalcante Moreira wrote

[O] Feature Request: Disable auto-insert-mode exporting

2011-10-27 Thread Darlan Cavalcante Moreira
I consider auto-insert-mode to be a very useful feature in Emacs and it works great in most situations, except when exporting an org-mode buffer. If I export to PDF or HTML, for instance, then org-mode creates a TeX or an HTML buffer and auto-insert kicks-in in both cases (asking for the title

Re: [O] Feature Request: Disable auto-insert-mode exporting

2011-10-27 Thread Darlan Cavalcante Moreira
) (let ((auto-insert nil) (TeX-master t) ) ad-do-it)) (ad-activate 'org-export) --8---cut here---end---8--- -- Darlan At Thu, 27 Oct 2011 17:03:55 -0400, Nick Dokos nicholas.do...@hp.com wrote: Darlan Cavalcante Moreira darc...@gmail.com wrote

Re: [O] Bind an agenda filter to a global shortcut

2011-10-26 Thread Darlan Cavalcante Moreira
You can do this (and more) with the custom agenda views [1]. [1] http://orgmode.org/manual/Custom-agenda-views.html#Custom-agenda-views -- Darlan At Wed, 26 Oct 2011 12:13:52 -0500, Marcelo de Moraes Serpa celose...@gmail.com wrote: [1 text/plain; ISO-8859-1 (7bit)] Hi list, So, I'd

Re: [O] [RFC] Standardized code block keywords

2011-10-24 Thread Darlan Cavalcante Moreira
Does org have TAB completion in call lines for names of blocks that can be called? Using srcname for blocks of code could make things easier but if this is not the case then I name is just fine. -- Darlan At Mon, 24 Oct 2011 08:37:13 +0100, Eric S Fraga e.fr...@ucl.ac.uk wrote: Daniel

Re: [O] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines

2011-10-24 Thread Darlan Cavalcante Moreira
2011 09:53:25 -0600, Eric Schulte wrote: Darlan Cavalcante Moreira darc...@gmail.com writes: It's excellent that now babel understands multiple values in the var property (I was one of the people that wanted this), but There Is One More Thing. Would it be feasible to inherit variables

Re: [O] Org-mode Standardized Code Block Keywords

2011-10-21 Thread Darlan Cavalcante Moreira
With many people making suggestions and voting It can be a lot of work for someone to collect all of the votes. In fact, I was going to suggest using Doodle for this (http://www.doodle.com/), but Chris was faster with the google moderator. Anyway, if the final result is sent to the list,

Re: [O] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines

2011-10-21 Thread Darlan Cavalcante Moreira
It's excellent that now babel understands multiple values in the var property (I was one of the people that wanted this), but There Is One More Thing. Would it be feasible to inherit variables from parent sub-trees? Effectively, I'd like to append new values in lower level sub-trees, but AFAIK

Re: [O] [babel] create tikz pictures in an floating LaTeX environment

2011-10-07 Thread Darlan Cavalcante Moreira
I have a (very) small personal wiki in org mode where I add stuff that I read/learn that deserve this work. I usually don't need to export it, but recently I was trying to export it to PDF and HTML and I had the same doubt with a block o tikz code. It would be nice if org had a begin_tikz block.

Re: [O] different hoisting in two panes

2011-09-27 Thread Darlan Cavalcante Moreira
The clone-indirect-buffer function is from Emacs and Org-mode created a specialized function, org-tree-to-indirect-buffer, that just makes creating an indirect buffer narrowed to a subtree easier. Indirect buffers may be useful for much more then just visibility cycling. You can use a different

Re: [O] Per-file attachment directories

2011-09-21 Thread Darlan Cavalcante Moreira
---end---8--- in your work.org file. -- Darlan Cavalcante Moreira At Wed, 21 Sep 2011 11:49:39 +0200, Viktor Rosenfeld listuse...@googlemail.com wrote: Hi everybody, so far I've only used one org file, but it's getting unwieldy and I've decided to split it up. I'd also like

Re: [O] Per-file attachment directories

2011-09-21 Thread Darlan Cavalcante Moreira
the local variables at the end of the file. -- Darlan Cavalcante Moreira At Wed, 21 Sep 2011 20:29:25 +0200, Viktor Rosenfeld listuse...@googlemail.com wrote: Hi, this works for simple files but breaks silently for my org files. I've narrowed it down to two seemingly unrelated parts

Re: [O] Idea, configurable markup

2011-09-20 Thread Darlan Cavalcante Moreira
When I moved from Planner/Muse to Org, the ability to define custom markup with something.../something is the only thing I missed as well as the ability to easily toggle between hide and show the markup (I thing it was C-c C-l, but I'm not sure). This was a small thing to pay considering

Re: [O] Overall organization/setup for org mode: Projects and Tasks

2011-09-14 Thread Darlan Cavalcante Moreira
I'm in the same situation and (lack of) consistence is my main problem. One thing that helps me is to define in my custom agenda commands one command that only returns the STARTED tasks (Bernt Hansen's website has more info about this). In this way I can quickly go back to a task that I started

Re: [O] Allow org-agenda-text-search-extra-files to be a directory

2011-09-12 Thread Darlan Cavalcante Moreira
Thanks suvayu, This works perfectly. -- Darlan At Sat, 10 Sep 2011 00:08:38 +0200, suvayu ali fatkasuvayu+li...@gmail.com wrote: On Fri, Sep 9, 2011 at 9:09 PM, Darlan Cavalcante Moreira darc...@gmail.com wrote: Is it possible to set org-agenda-text-search-extra-files with a directory

[O] Allo org-agenda-text-search-extra-files to be a directory

2011-09-09 Thread Darlan Cavalcante Moreira
I have a directory with several files that are not supposed to be in org-agenda-files (they don't have TODOs, schedule, etc), but that I want org to include in text searches. Is it possible to set org-agenda-text-search-extra-files with a directory so that all .org files in that directory are

Re: [O] How to suppress \label commands in beamer export

2011-09-02 Thread Darlan Cavalcante Moreira
}{height} in the headline (with the curly brackets) and use somethink like \\begin{overprint}%h in the template definition. -- Darlan At Fri, 02 Sep 2011 09:41:32 +0100, Eric S Fraga e.fr...@ucl.ac.uk wrote: Darlan Cavalcante Moreira darc...@gmail.com writes: I'm trying to convert

[O] How to suppress \label commands in beamer export

2011-09-01 Thread Darlan Cavalcante Moreira
I'm trying to convert a presentation I've done in beamer to org-mode. I'm going to improve this presentation and add more stuff to it. I'd like to do it in org-mode. However, org adds \label{sec-numbers} in the generated tex file after all environments and this adds some blank space between the

Re: [O] Best practices? Multiple .org files?

2011-09-01 Thread Darlan Cavalcante Moreira
But the original question remains. Is it better, regarding speed, to split the content into several files (all included in the agenda) or a single file will be faster? In [1] you find Should I use one big org file or multiple files?, with a few tips for improving speed, but does not answer this.

Re: [O] Attachments and refiling

2011-08-24 Thread Darlan Cavalcante Moreira
At Wed, 24 Aug 2011 16:12:01 +0200, Bastien b...@altern.org wrote: Hi Darlan, Darlan Cavalcante Moreira darc...@gmail.com writes: At Fri, 19 Aug 2011 10:46:26 +0200, Bastien b...@altern.org wrote: What about org-add-link-type? Mmhh.. yes. We should be able to use something

Re: [O] Experiences with literate elisp and ob-tangle?

2011-08-22 Thread Darlan Cavalcante Moreira
I've been using the Emacs starter kit for some time and I must say it is excellent. Before making the change, I already had my Emacs initialization broken-down into smaller .el files that were loaded by the master file. It was as much organized as I could be, but not enough. It always required

Re: [O] Attachments and refiling

2011-08-19 Thread Darlan Cavalcante Moreira
as the export function. Unfortunately, my elisp skills are very limited to go any further for now. -- Darlan Hi Darlan, Darlan Cavalcante Moreira darc...@gmail.com writes: There is probably a way to make the attach link type also work when exporting the org buffer, but since I don't

Re: [O] Attachments and refiling

2011-08-18 Thread Darlan Cavalcante Moreira
, Darlan Cavalcante Moreira darc...@gmail.com writes: I requested this some time ago [1]. While there is not a built-in attach link type, org provides you with ways to easily create this functionality. In the setup part in my org-files I put #+LINK: attach elisp:(org-open-file (org-attach

Re: [O] Hide table columns on export

2011-08-17 Thread Darlan Cavalcante Moreira
I didn't test this, but I think you can do what you want with org-babel without too much work. Just put the table somewhere that is not exported and put a src block that receives the table where you want the table to appear. -- Darlan At Wed, 17 Aug 2011 07:07:56 +0100, Johnny

Re: [O] Script: convert Tomboy/GNote XML to org-mode

2011-08-11 Thread Darlan Cavalcante Moreira
...@stalphonsos.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA384 On 08/10/2011 12:01 PM, Darlan Cavalcante Moreira wrote: [snip] I have found one problem that prevents me from converting my notes correctly, though. In tomboy I have many notes where I use * as bullet item

Re: [O] Script: convert Tomboy/GNote XML to org-mode

2011-08-10 Thread Darlan Cavalcante Moreira
PGP SIGNED MESSAGE- Hash: SHA384 On 08/03/2011 11:48 AM, Darlan Cavalcante Moreira wrote: Thanks for sharing this. I've wanted to convert my tomboy notes to org-mode for some time. I downloaded the script and tried to run it with : ./tomboy2org.pl -help but I got the error

[O] How to uniformly configure multiple org files

2011-08-05 Thread Darlan Cavalcante Moreira
In each org file I usually put several configuration lines such as #+STARTUP, #+OPTIONS, #+LINK, etc. Is there a way to keep these configurations in a single file and then include this file in each org file I want? This would be particularly useful for projects. What I have in mind is something

Re: [O] How to uniformly configure multiple org files

2011-08-05 Thread Darlan Cavalcante Moreira
Thanks, this is exactly what I need. At Fri, 5 Aug 2011 15:09:17 -0300, Juan Pechiar j...@pechiar.com wrote: Hi Darlan, Please check #SETUPFILE http://orgmode.org/manual/In_002dbuffer-settings.html Regards, .j. On Fri, Aug 05, 2011 at 02:54:30PM -0300, Darlan Cavalcante

Re: [O] undo archive

2011-08-04 Thread Darlan Cavalcante Moreira
I've been hit by this a few times when my fingers type the archive key-binding instead of the attach file key-binding. Undo has worked so far, but it may be a little trick sometimes. -- Darlan At Wed, 03 Aug 2011 14:20:24 -0500, Jason Dunsmore emacs-orgm...@dunsmor.com wrote: suvayu ali

Re: [O] Script: convert Tomboy/GNote XML to org-mode

2011-08-03 Thread Darlan Cavalcante Moreira
Thanks for sharing this. I've wanted to convert my tomboy notes to org-mode for some time. I downloaded the script and tried to run it with : ./tomboy2org.pl -help but I got the error message below --8---cut here---start-8--- Can't locate Text/Format.pm in

Re: [O] Attachments and refiling

2011-07-29 Thread Darlan Cavalcante Moreira
I requested this some time ago [1]. While there is not a built-in attach link type, org provides you with ways to easily create this functionality. In the setup part in my org-files I put --8---cut here---start-8--- #+LINK: attach elisp:(org-open-file

Re: [O] Attachments and refiling

2011-07-28 Thread Darlan Cavalcante Moreira
Regarding (2), is this a design decision? Currently I have the ATTACH_DIR property of some headings set to a relative path from the org file and it works perfectly. That is, it is possible to use either absolute or relative path for the ATTACH_DIR property right now. But if this is a design

Re: [O] Attachments and refiling

2011-07-25 Thread Darlan Cavalcante Moreira
As I see changing the attach directory to point to the original one is the easiest solution that has no chances of breaking anything and would keep attachments working in the refiled/archived sub-trees. Maybe a org-attach-move-files function could also be implemented to easily move an attachment

Re: [O] Referring to ID in other Org-mode file

2011-07-25 Thread Darlan Cavalcante Moreira
You don't need to type this manually. Use org-store-link (usually C-c l) in a sub-tree to store the link (it uses the sub-tree's id - it will ever create an id if there isn't one already). Then use org-insert-link (usually C-c C-l) to insert the link. -- Darlan At Sat, 23 Jul 2011 18:45:01

Re: [O] Question about org-search-view and org-occur-in-agenda-files

2011-07-25 Thread Darlan Cavalcante Moreira
You can probably use custom agenda commands for this. See the documentation for the org-agenda-custom-commands and the corresponding section in the manual [1]. You can set the org-agenda-files and org-agenda-text-search-extra-files to point to the old project for some custom search. For

Re: [O] Attachments and refiling

2011-07-16 Thread Darlan Cavalcante Moreira
I use org-attach regularly and consider it to be a great feature of org-mode. Since I only attach to the sub-tree (instead of to a different file) I have not this problem. However, sometimes a set the attach directory of two different headings to the same folder (when it makes sense) and if org

Re: [O] Documentation suggestion re: buffers containing crypted entries

2011-06-28 Thread Darlan Cavalcante Moreira
I think we can disable auto-save locally using file variables, but what org-crypt seem to check is auto-save-default and its value probably won't change when auto-save is disabled locally. -- Darlan Cavalcante At Mon, 27 Jun 2011 18:56:54 +0200, Bastien b...@altern.org wrote: Hi Eric,

Re: [O] Errors with current version (git pull'ed at 10:30 CET)

2011-06-28 Thread Darlan Cavalcante Moreira
I'm also having problems with recent changes (since yesterday, but it has been a few days since my last update before that) that may be due to the same cause. It seems to be related to the library of babel. I can reproduced with the following steps --8---cut

Re: [O] [babel] How to set multiple variables with properties

2011-06-22 Thread Darlan Cavalcante Moreira
One of the things I tried (that didn't work, otherwise I would not have sent any e-mail) was :PROPERTY: :var: variable1=value1 :var variable2=value2 :END: I thought that maybe babel would just ask org what is the value of :var:, put :var before it, and include this in the block header. Therefore

[O] [babel] How to set multiple variables with properties

2011-06-21 Thread Darlan Cavalcante Moreira
I'm using org-babel to automate a few tasks and I'd like to define a few variables that are common to several code blocks as sub-tree properties. It works when I have only one variable, where I can use --8---cut here---start-8--- * Heading :PROPERTY: :var:

Re: [O] [babel] How to set multiple variables with properties

2011-06-21 Thread Darlan Cavalcante Moreira
vars[0][1] print vars[1][1] #+end_src Best -- Eric Darlan Cavalcante Moreira darc...@gmail.com writes: I'm using org-babel to automate a few tasks and I'd like to define a few variables that are common to several code blocks as sub-tree properties. It works when I have only one

Re: [O] equation numbering in html and latex export

2011-06-16 Thread Darlan Cavalcante Moreira
Using the org-special-blocks library org-mode will recognize blocks in the form : #+begin_something : bla bla bla : #+end_something Then you could write : #+begin_equation : y=ax+b : #+end_equation in org-mode. It would be translated to : \begin{equation} : y=ax+b : \end{equation} in latex

Re: [O] #+begin_example broken when #+begin_src included inside?

2011-06-14 Thread Darlan Cavalcante Moreira
This seems to be true for other blocks as well, besides the example block. For instance, my Emacs configuration is in an org-mode file (using the starter kit) and in one src block where I define my capture templates I had a template with a PROPERTY drawer that was folded, even thought it was a

Re: [O] how to change the headline starter *

2011-06-13 Thread Darlan Cavalcante Moreira
I don't think this is possible. The * as a headline starter seems to be hard-coded in org. Also, - is used as a list starter (as well as other starters such as +). -- Darlan Cavalcante At Sat, 11 Jun 2011 20:58:39 +0200, harven har...@free.fr wrote: Hi, is it possible to change the

Re: [O] problem with utf8 todo keywords

2011-06-13 Thread Darlan Cavalcante Moreira
This does not answer your question, but I remember a long time ago I saw some screen-shots of org-mode where some keywords were changed to icons (png images, I think). The screen-shots were pretty, but I don't know if the project was further developed or not. Here a thread about it

Re: [O] Auto-Fill (aka Word Wrap) of Headline Text

2011-06-10 Thread Darlan Cavalcante Moreira
, 2011 at 11:58 PM, Darlan Cavalcante Moreira darc...@gmail.com wrote: I think this is the correct behaviour, since headlines cannot span multiple lines (as far as I know). This is also the case for the fill-paragraph command. If you try to call fill-paragraph in a headline nothing happens

Re: [O] Define capture template with dynamic id target

2011-06-10 Thread Darlan Cavalcante Moreira
-0300, Darlan Cavalcante Moreira wrote: Hello List, I'm trying to create a few templates for org capture and I have found a weird behavior with the ID target type. It works OK if I use the ID directly like below #+begin_src emacs-lisp (id Junho2011Contas) #+end_src

[O] :table-line-pos is not document in the manual

2011-06-09 Thread Darlan Cavalcante Moreira
While reading the manual, I noticed that the :table-line-pos property is not documented. It is documented in the org-capture-templates variable, but not in the manual. -- Darlan Cavalcante

[O] Define capture template with dynamic id target

2011-06-09 Thread Darlan Cavalcante Moreira
Hello List, I'm trying to create a few templates for org capture and I have found a weird behavior with the ID target type. It works OK if I use the ID directly like below #+begin_src emacs-lisp (id Junho2011Contas) #+end_src but it does not find the ID if I try to get it from a function, such

[O] [Bug] [Patch] List number start with the latex exporter

2011-06-09 Thread Darlan Cavalcante Moreira
When using a numbered list it is possible to specify the start number using [@number] so that one can write 1. one 2. two 20. [@20] twenty 21. twenty one This works OK with the HTML exporter, but in the latex exporter the number will be one unity above the desired value. The reason why

Re: [O] Auto-Fill (aka Word Wrap) of Headline Text

2011-06-09 Thread Darlan Cavalcante Moreira
I think this is the correct behaviour, since headlines cannot span multiple lines (as far as I know). This is also the case for the fill-paragraph command. If you try to call fill-paragraph in a headline nothing happens. -- Darlan At Thu, 9 Jun 2011 17:56:02 -0400, Lex Fridman

[O] Feature request: two-letter combination for org-capture

2011-06-07 Thread Darlan Cavalcante Moreira
Hello list, A nice feature of the org-agenda is the possibility to define two letter combinations for the custom commands. From the manual I could not see how to do this with org-capture and I'm guessing it is not possible right now. Of course one can always define a single letter template for

  1   2   3   >