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

2014-09-23 Thread Darlan Cavalcante Moreira
but I 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 or

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

2014-09-12 Thread Darlan Cavalcante Moreira
"(org-crypt-use-before-save-magic)" after the require and see if that solves your problem. Rémi Letot writes: > Darlan Cavalcante Moreira writes: > >> You need to load org-crypt and call org-crypt-use-before-save-magic >> before you open the org file. > > I hav

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

2014-09-11 Thread Darlan Cavalcante Moreira
-mode after opening the file... > > In summary: > > C-x C-f test.org / M-x org-decrypt-entry / C-x C-s does not reencrypt > the entry > > C-x C-f test.org / M-x org-mode / M-x org-decrypt-entry / C-x C-s does > work as expected. > > Any idea ? > > I'm using the Emacs Starter Kit, so 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
o an attachment 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: > Hell

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

2014-08-11 Thread Darlan Cavalcante Moreira
the buffer. Could org-mode be changed 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
nd math symbols)? Besides the embedding of >> a PDF viewer in a buffer trick, Emacs seems to have only Info. >> Does Info allow images and fairly normal-looking math symbols? Or >> is "final product" always an off-site, extra-Emacs business? >> >> Lawrence Bottorff >> North Shore MN >> -- Darlan Cavalcante Moreira darc...@gmail.com

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

2013-07-24 Thread Darlan Cavalcante Moreira
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.xin

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 to create a new headline in org-mode and to create a headline with a TODO. -- Darlan Cavalcante Moreira darc...@gmail.com ohwoeo...@gmail.com writes: > Hi, > > Thi

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--- -- Dar

Re: [O] Several questions about beamer export

2013-07-12 Thread Darlan Cavalcante Moreira
;8--- ps: Remember to do "C-c C-c" in the #+LINK line after you insert it. -- Darlan Cavalcante Moreira darc...@gmail.com ndo...@gmail.com writes: > Julien Cubizolles writes: > >> Nick Dokos writes: >> >>> Julien Cubizolles writes: >>> >&

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 t

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 wou

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 an

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 g

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 t

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 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 &

Re: [O] Editing folded headlines and ellipses

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

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 n

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

2013-01-29 Thread Darlan Cavalcante Moreira
te: > > Darlan Cavalcante Moreira 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 >

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 writes: > > > everything works as expected and a table in the headline with ID > > "someIDstring" is used. However, if I try > > > > (&quo

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 bet

[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 templ

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?.

[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 e

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

2013-01-04 Thread Darlan Cavalcante Moreira
--cut here---start----->8--- # -*- mode: snippet -*- #name : finaças # contributor: Darlan Cavalcante Moreira # -- * ${1:`(get-current-month)`} ${2:`(get-current-year)`}$0 *** Alimentação :PROPERTIES: :ID: $1$2Alimentação :EN

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 s

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 in

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 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. htt

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 wrote: > > [1 ] > How do you turn off font-lock-mode per file (an

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 wrote: > > Hi there, > > Does anybody now how to search the content of a linked file ? I have a > master file that is included in

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 i

Re: [O] Inline LaTeX fragments in emacs buffer

2012-05-14 Thread Darlan Cavalcante Moreira
t; > + \frac{\lambda}{2m}\sum_{j=1} ^n \theta_j ^2 > > \] > > > > 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, Da

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" wrote: > > Hallo to all, > > as I have quite a few bibl

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 buff

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

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, Ni

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 e

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 'somecomma

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 wrote: > > [1 ] > Also, I just found out org-wikinodes can

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 wrote: > > Hi Peter, > > Peter Salazar writes: > > > My committed a

Re: [O] Powerpoint like slideshow from default html export

2012-02-12 Thread Darlan Cavalcante Moreira
This is really beautiful and elegant! With the different ways to create presentations with org-mode, maybe there could be a page (in worg?) to act as a showcase for the possibilities. The source for these presentation would also act as examples and templates from where the users could start from

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 writes: > > > Dear all, > > > > I have followed the manual and put > > #+PROPERTY: session *R* > > #+PROPERTY: exports non

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 us

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 itsel

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 ha

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

2011-10-28 Thread Darlan Cavalcante Moreira
nything 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 wrote: > > > On 28.10.2011, at 06:49, Darlan Cavalcante Moreira wrote: >

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

2011-10-27 Thread Darlan Cavalcante Moreira
auto-insert) (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 wrote: > > 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 in

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 wrote: > > [1 ] > Hi list, > > So, I'd like to bind a specific agenda filter to a sim

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

2011-10-24 Thread Darlan Cavalcante Moreira
properties. -- Darlan At Sat, 22 Oct 2011 09:53:25 -0600, Eric Schulte wrote: > > Darlan Cavalcante Moreira writes: > > > It's excellent that now babel understands multiple values in the "var" > > property (I was one of the people that wanted this), but

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 wrote: > > Daniel Bausch writes:

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 AFA

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, including

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] Kill org files on agenda exit

2011-09-30 Thread Darlan Cavalcante Moreira
A good thing is that "x" will not close files that you have manually opened. Only the files opened by org-mode when processing the agenda are closed. -- Darlan At Fri, 30 Sep 2011 18:59:06 +0200, Michael Brand wrote: > > Hi Gene > > On Fri, Sep 30, 2011 at 18:49, Gene Cooley wrote: > > Whene

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 m

Re: [O] Per-file attachment directories

2011-09-21 Thread Darlan Cavalcante Moreira
local variable. Notice how this function put the local variables at the end of the file. -- Darlan Cavalcante Moreira At Wed, 21 Sep 2011 20:29:25 +0200, Viktor Rosenfeld wrote: > > Hi, > > this works for simple files but breaks silently for my org files. I've > narrow

Re: [O] Per-file attachment directories

2011-09-21 Thread Darlan Cavalcante Moreira
ot; # End: --8<---cut here---end------->8--- in your work.org file. -- Darlan Cavalcante Moreira At Wed, 21 Sep 2011 11:49:39 +0200, Viktor Rosenfeld wrote: > > Hi everybody, > > so far I've only used one org file, but it's getting unwie

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 ... 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 everything else org-mode off

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 b

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 wrote: > > On Fri, Sep 9, 2011 at 9:09 PM, Darlan Cavalcante Moreira > wrote: > > Is it possible to set org-agenda-text-search-extra-files with a directory > > so that a

[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 con

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

2011-09-02 Thread Darlan Cavalcante Moreira
nly way I can think is to require the user to type "{width}{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 wrote: > > Darlan Cavalcan

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

[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 b

Re: [O] Attachments and refiling

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

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 mor

Re: [O] Attachments and refiling

2011-08-19 Thread Darlan Cavalcante Moreira
ss to org-add-link-type as the export function. Unfortunately, my elisp skills are very limited to go any further for now. -- Darlan > > Hi Darlan, > > Darlan Cavalcante Moreira writes: > > > There is probably a way to make the attach link type also work when > > export

Re: [O] Attachments and refiling

2011-08-18 Thread Darlan Cavalcante Moreira
i Darlan, > > Darlan Cavalcante Moreira 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 > >

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 wrote: > > Nick

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

2011-08-11 Thread Darlan Cavalcante Moreira
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 wh

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

2011-08-10 Thread Darlan Cavalcante Moreira
gt; > -BEGIN 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 a

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 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

[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] 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 wrote: > > suvayu ali writes: > > > On Wed, Aug

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 @I

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 (org-at

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 decis

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 instance,

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] 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] 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 al

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 here---start-

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 wrote: > > Hi Eric, > > Eric S Fraga w

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

2011-06-22 Thread Darlan Cavalcante Moreira
gt; >> Yours, > >> Christian > >> > >> > >> On 6/21/11 10:17 PM, Eric Schulte wrote: > >>> Unfortunately org-mode properties only allow a single entry for any > >>> given key, so you can only specify one variable using properties.

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

2011-06-21 Thread Darlan Cavalcante Moreira
bles > | var1 | 1 | > | var2 | 2 | > > #+begin_src python > print vars[0][1] > print vars[1][1] > #+end_src > > Best -- Eric > > Darlan Cavalcante Moreira writes: > > > I'm using org-babel to automate a few tasks and I'd like to define a f

[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] 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 str

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 http://www.mai

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 wrote: > > Hi, > is it possible to change the headline sta

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

2011-06-10 Thread Darlan Cavalcante Moreira
d of the specified headline, but file+function seems to add the entry as a sibling of the headline returned by the function. [second problem] Is this intended behaviour or is it a bug? -- Thanks again, Darlan At Fri, 10 Jun 2011 07:31:43 +0200, David Maus wrote: > > [1 ] > At Thu, 0

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

2011-06-10 Thread Darlan Cavalcante Moreira
uidance, let me know. Either way, > thanks for the sanity check. > > - Lex > > On Thu, Jun 9, 2011 at 11:58 PM, Darlan Cavalcante Moreira > wrote: > > > > I think this is the correct behaviour, since headlines cannot span multiple > > lines (as far as I know)

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 wrote: > > I en

[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

[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, suc

  1   2   3   >