[Orgmode] Change color of org table lines

2010-02-26 Thread Viktor Rosenfeld
Hi, is there a away to change the color of table lines seperately from the table content? I found the Org Table face through the customize interface, but that seems to operate on the entire table. The background to this question is that I find the default table presentation somewhat busy especia

[Orgmode] Bug? org-capture resumes clock on captured (not interruped) task

2010-07-24 Thread Viktor Rosenfeld
Hi, I have the following capture template template: ("t" "Todo" entry (file+headline (concat org-directory "openloops.org") "Open Loops") "* TODO %?\nSCHEDULED: %t" :prepend t :clock-in t :clock-resume t) After finishing a capture process that interrupted a running clock, the j

Re: [Orgmode] [PATCH] Fix clocking on capture completion

2010-07-25 Thread Viktor Rosenfeld
Hi, this patch fixes the problem for me. I'm on release_7.01g.24.g6b5cf.dirty A somewhat related question: I use your bh/clock-in-to-next function to change the todo state to STARTED when clocking in TODO tasks. Unfortunately it is being applied to Capture buffers. I tried changing the buffer-n

Re: [Orgmode] [PATCH] Fix clocking on capture completion

2010-07-25 Thread Viktor Rosenfeld
Hi Bernt, thanks for the updated version. It works as expected. Cheers, Viktor Bernt Hansen wrote: > Viktor Rosenfeld writes: > > > A somewhat related question: I use your bh/clock-in-to-next function to > > change the todo state to STARTED when clocking in TODO tasks. &g

[O] include no longer working in (ledger) code blocks

2011-07-18 Thread Viktor Rosenfeld
Hi, I have the following code block in my org file: #+begin_src ledger :results raw :cmdline ... !include /Users/he-sk/org/files/finanzen/2011.ledger #+end_src If I evaluate this code block I get an error message: Code block produced no output. This used to work as of 6 weeks ago. The specifie

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread Viktor Rosenfeld
Carsten Dominik wrote: > 2. Moving through time does not work in a block view when the cursor is in > the TODO list. > > Maybe we can find ways to address these two issues? For example, including a > built-in command > for this double view, or seeding org-agenda-custom-commands with this > pa

Re: [O] problem with find-file in --eval from command line

2011-08-24 Thread Viktor Rosenfeld
Hi, This works on Bash (tested on 4.2.10) and should be easy to remember: emacs --eval "(find-file \"/home/somefile.org\" )" Cheers, Viktor Achim Gratz wrote: > Bash needs this instead > > emacs --eval "( find-file "'"'"/home/somefile.org"'"'" ) " > > THere may be other solutions for bash,

Re: [O] deadline :: schedualed :: or-later

2011-08-30 Thread Viktor Rosenfeld
IHMO, this model has two problems: - There's no way (AFAIK) to reschedule a simple timestamp from the agenda. You have to hit RET on the entry to visit the org file and then you can change the date with C-c !. - Sometimes I want to do some follow-up work after a meeting but I'm too busy (or

Re: [O] deadline :: schedualed :: or-later

2011-08-31 Thread Viktor Rosenfeld
Hi Sebastien, Sebastien Vauban wrote: > Viktor Rosenfeld wrote: > > - There's no way (AFAIK) to reschedule a simple timestamp from the > > agenda. You have to hit RET on the entry to visit the org file and > > then you can change the date with C-c !. > > Yo

[O] Per-file attachment directories

2011-09-21 Thread Viktor Rosenfeld
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 to split up my attachment directory to reduce clutter. For example, if I have two org files "personal.org" and "work.org" I would like attachments to go into automatically cr

Re: [O] Per-file attachment directories

2011-09-21 Thread Viktor Rosenfeld
k" > # 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

Re: [O] Per-file attachment directories

2011-09-22 Thread Viktor Rosenfeld
ing. You can set the noexport tag to > avoid exporting this heading. > > Also, you can use the function add-file-local-variable to add a new local > variable. Notice how this function put the local variables at the end of > the file. > > -- > Darlan Cavalcante Moreira >

[O] [Bug] local variables definition at beginning of file is ignored

2011-09-22 Thread Viktor Rosenfeld
Hi everybody, in http://thread.gmane.org/gmane.emacs.orgmode/47043 I've posted two examples of local file definitions at the top of an org file which are silently ignored for seemingly unrelated parts in the org file. The definitions work if they are put at the end of the org file. This inconsis

Re: [O] Per-file attachment directories

2011-09-22 Thread Viktor Rosenfeld
de a "* File Local Variables" heading so that > > they don't stay inside another heading. You can set the noexport tag to > > avoid exporting this heading. > > > > Also, you can use the function add-file-local-variable to add a new local > > va

Re: [O] [Bug] local variables definition at beginning of file is ignored

2011-09-22 Thread Viktor Rosenfeld
Never mind, Nick Dokos explained the behavior here: http://thread.gmane.org/gmane.emacs.orgmode/47043/focus=47091 Cheers, Viktor Viktor Rosenfeld wrote: > Hi everybody, > > in http://thread.gmane.org/gmane.emacs.orgmode/47043 I've posted two > examples of local file definiti

[O] Filter the agenda by category

2011-09-26 Thread Viktor Rosenfeld
Hi, is it possible to quickly limit what the agenda is showing to one category? Basically I'm looking for the functionality offered by org-agenda-filter-by-tag but with categories. I tried CATEGORY=\"some category\" (and variations with/without (escaped) quotes), but that didn't work either. Che

[O] BUG: org-todo-yesterday logs wrong date

2011-10-18 Thread Viktor Rosenfeld
Hi, org-todo-yesterday and org-agenda-todo-yesterday log a note using the current timestamp and not a timestamp of 23:59 of yesterday's date. I'm using Org-Mode 7.7 pulled today from the git repository. Cheers, Viktor

[O] Export an org file from the command line in the background

2011-10-19 Thread Viktor Rosenfeld
Hi, is it possible to export an org file from the command line, so that a currently running Emacs instance is not disturbed? I want to export the attached org file and run the included source blocks, so I have an activity report in the end. I use the shell script pasted below, but there are two pr

Re: [O] [babel] Verbatim output from SQL command

2011-10-19 Thread Viktor Rosenfeld
Hi, Sebastien Vauban wrote: > #+BABEL: :engine msosql :cmdline -S -U -P -d > -n -w 700 Where is the :engine directive documented? Cheers, Viktor

Re: [O] [babel] Verbatim output from SQL command

2011-10-19 Thread Viktor Rosenfeld
Cool, thanks! Nick Dokos wrote: > Viktor Rosenfeld wrote: > > > Hi, > > > > Sebastien Vauban wrote: > > > > > #+BABEL: :engine msosql :cmdline -S -U -P -d > > > -n -w 700 > > > > Where is the :engine directive documented?

Re: [O] Export an org file from the command line in the background

2011-10-19 Thread Viktor Rosenfeld
Hi, Jambunathan K wrote: > > C-h v org-export-run-in-background This only works for org-export, but not for org-export-as-XXX. Additionally, it appears that setting org-confirm-babel-evaluate locally does not have an effect on background exports. Even setting it globally in a running Emacs ins

Re: [O] Export an org file from the command line in the background

2011-10-19 Thread Viktor Rosenfeld
Hi Nick, Nick Dokos wrote: > The usual method is to run a separate emacs in batch mode: that will avoid > any conflicts > with the running instance. But batch implies -q, so you will have to provide > a minimal .emacs > file that sets up enough structure to enable you to do what you want: > >

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

2011-10-21 Thread Viktor Rosenfeld
Hi Eric, my preferences are: - source for code blocks. I think srcname looks ugly (although not as ugly as tblname). - call - data and results for, well, data and results. With the same semantics as Torsten Wagner suggested, i.e. a source block cannot change the contents of a data block. It

Re: [O] regenerating agendas automatically if any .org files change

2011-11-10 Thread Viktor Rosenfeld
Hi Stephen, AFAIK, there can only be one agenda view (an expert correct me, if I'm wrong). But you can multiple blocks in the agenda. Search for "Office block agenda" in: http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html Cheers, Viktor Stephen J. Barr wrote: > Excellent. T

[O] BUG: Text in single quotes not recognized by markup

2011-11-11 Thread Viktor Rosenfeld
Hi, the text ='t'= is not recognized as code. Other markup doesn't work either. If the quotes are in the middle (e.g. =foo'bar=) it is properly recognized. I'm using org-mode 7.7 pulled today from git. Cheers, Viktor

Re: [O] BUG: org-todo-yesterday logs wrong date

2011-11-11 Thread Viktor Rosenfeld
Hi Bernt, Bernt Hansen wrote: > Geert Kloosterman writes: > > > Hi all, > > > > On Wed, Oct 19, 2011 at 1:17 AM, Viktor Rosenfeld < > > listuse...@googlemail.com> wrote: > > > > > > org-todo-yesterday and org-agenda-todo-yesterday

Re: [O] slow agenda view and scrolling through headlines

2011-11-14 Thread Viktor Rosenfeld
Hi Susan, swapping on OS X is usually accompanied by the spinning beach ball (from hell). Have you tried upgrading Emacs? I use Aquamacs (http://aquamacs.org/), there's also Cocoa Emacs (http://emacsformacosx.com/). Both are based on Emacs 23.3. Cheers, Viktor Susan Addy wrote: > Also - it doe

[O] Question regarding remote references in tables

2011-11-16 Thread Viktor Rosenfeld
Hi, I'm trying to copy the values of a column in one table to another table in. If I understand the manual correctly, this should be possible with remote references. But I can't get it to work. In the example below, if I evaluate the table formula, column 2 of table "bar" is copied into column 3.

Re: [O] Question regarding remote references in tables

2011-11-16 Thread Viktor Rosenfeld
Nick Dokos wrote: > The manual says: > > $3 = remote(FOO, @@#$2) copy column 2 from table FOO into > column 3 of the current table > > and that works. Thank you, Nick. Wer lesen kann, ist klar im Vorteil. (Those who can read are at a clear advantage -

Re: [O] org-refile returns 'invalid target location' when refiling to file root

2011-11-28 Thread Viktor Rosenfeld
Hi Jonathon, I have this in my .emacs file, maybe it helps. (setq org-refile-allow-creating-parent-nodes (quote confirm)) Cheers, Viktor Jonathon Anderson wrote: > org-version 7.7 > > If I `C-c w` and attempt to refile a tree to the root of a file, the > minibuffer displays "invalid target

Re: [O] org-refile returns 'invalid target location' when refiling to file root

2011-11-28 Thread Viktor Rosenfeld
Jonathon Anderson wrote: > On Mon, Nov 28, 2011 at 8:44 PM, Viktor Rosenfeld > wrote: > > I have this in my .emacs file, maybe it helps. > > > >  (setq org-refile-allow-creating-parent-nodes (quote confirm)) > > Yeah, I have that too. Or, similar. Sorry, don&#x

Re: [O] What do you use to identify projects (in the GTD sense)

2011-12-11 Thread Viktor Rosenfeld
I use Bernt's approach with a few modifications. Basically I don't use subprojects. I think Bernt's handling of subprojects is broken, because a NEXT keyword burried in a subproject keeps the entire project off the stuck projects lists. (Please correct me if I'm wrong.) My solution is to move a pr

Re: [O] What do you use to identify projects (in the GTD sense)

2011-12-12 Thread Viktor Rosenfeld
f before or even put the project on a someday list. Another solution would be to implement a stale projects list, i.e. a list of projects that have defined next actions, but haven't seen any work in the last X days. Cheers, Viktor PS: Your org-mode site is generally the bomb! Bernt Hansen w

Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Viktor Rosenfeld
Hi, I honestly liked the old one better. Some of my concrete criticism are: - The old screenshot conveyed what org-mode was all about. Outlining and project planning. The new screenshots take a lot longer to load and even if you click on them, their content is not always accessible. - I don'

Re: [O] Refresh of http://orgmode.org

2011-12-14 Thread Viktor Rosenfeld
Hi Bastien, Bastien wrote: > > - The old screenshot conveyed what org-mode was all about. Outlining > > and project planning. The new screenshots take a lot longer to load > > and even if you click on them, their content is not always > > accessible. > > I agree. Feel free to contribute t

Re: [O] Defining new structural markup element

2011-12-14 Thread Viktor Rosenfeld
Hi, the Worg page on LaTeX publishing covers this under "Block-level Markup" and "Inline Markup": http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-10-2 http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-10-3 Haven't tried it myself so far (but planning to do so). Che

Re: [O] Refresh of http://orgmode.org

2011-12-14 Thread Viktor Rosenfeld
Hi, Bastien wrote: > Viktor Rosenfeld writes: > > >> Can you make an alternate .css with non-fixed top bar and a better font? > > > > Maybe on the weekend, but I can't promise anything. > > Thanks in advance for this! What's the git URL of the homepage repository? Thanks, Viktor

Re: [O] How to define a start date for a task?

2011-12-18 Thread Viktor Rosenfeld
Hi, you could enter the start using an inactive timestamp (optionally as a property value). Then the entry would not show up on the agenda. The "Advanced searching" tutorial on Worg explains how you can search for inactive timestamps or property values: http://orgmode.org/worg/org-tutorials/advan

Re: [O] How to define a start date for a task?

2011-12-18 Thread Viktor Rosenfeld
Hi, > Thank you! That is interesting. Is my understanding correct, that you > meant something like the following. > > * TODO Task, that can be completed tomorrow or later > START: [2011-12-19 Mon] Either like this (which can be queried using TIMESTAMP_IA="<2011-12-19 Mon>" or using a property

Re: [O] How to define a start date for a task?

2011-12-18 Thread Viktor Rosenfeld
Karl Maihofer wrote: > Hi Viktor, > > Viktor Rosenfeld googlemail.com> writes: > > I don't understand why it would show today. The date is in the future > > (and it's not a deadline) and the timestamp is inactive. It should not > > show up at all, un

[O] [BABEL] BUG: Can't pass format string (-F) to ledger

2011-05-15 Thread Viktor Rosenfeld
Hi, I'm having trouble passing format strings (-F) to ledger using org-babel. When I pass -F to :cmdline, I get the following error: Not enough arguments for format string. This appears to be a problem with the %-markup in the format string. Posted below is a sample org file containing th

Re: [O] [BABEL] BUG: Can't pass format string (-F) to ledger

2011-05-16 Thread Viktor Rosenfeld
Hi Eric, I applied your patch locally and can confirm that it works. Thank you, Viktor Eric S Fraga wrote: > Viktor Rosenfeld writes: > > > Hi, > > > > I'm having trouble passing format strings (-F) to ledger using > > org-babel. When I pass -F to

[O] Functions in SBE blocks

2012-07-07 Thread Viktor Rosenfeld
Hi, I can't get SBE blocks called from a table to work, if they use functions like org-parse-time-string. Suppose I have the following table: | Start| Ende | | |--+--+-| | [2011-06-29 Wed] | [2012-02-29 Wed] | | #+TBLFM: $3='(sbe "billable-

Re: [O] Functions in SBE blocks

2012-07-07 Thread Viktor Rosenfeld
Hi Nick, Nick Dokos wrote: > Viktor Rosenfeld wrote: > > > Hi, > > > > I can't get SBE blocks called from a table to work, if they use > > functions like org-parse-time-string. > > > > Suppose I have the foll

[O] Output of R babel blocks with quotes is mangled/truncated

2012-07-07 Thread Viktor Rosenfeld
Hi, if a value outputted by R in a Babel block contains quotes only the quoted parted is exported. Consider this: #+BEGIN_SRC R q = 'cat="S"' q #+END_SRC #+RESULTS: : S The expected result would be entire string, i.e. 'cat="S"' (without single quotes). Is there a workaround? I've tried escapin

Re: [O] Output of R babel blocks with quotes is mangled/truncated

2012-07-08 Thread Viktor Rosenfeld
Hi Charles, cbe...@tajo.ucsd.edu wrote: > Viktor Rosenfeld writes: > > > Hi, > > > > if a value outputted by R in a Babel block contains quotes only the > > quoted parted is exported. > > > > Try > > #+begin_src R :results verbatim > q = &

[O] make org-agenda-tree-to-indirect-buffer use new frame only

2012-09-05 Thread Viktor Rosenfeld
Hi, I've recently switched from Aquamacs to Emacs.app and noticed a different behavior of C-c C-x b in the agenda. I have the following in my Emacs settings: (setq org-indirect-buffer-display 'new-frame) If I open in indirect buffer from the agenda, it creates a new frame, but also splits the ag

Re: [O] An org-attach link type [7.9.1 (7.9.1-elpa @ /home/youngfrog/.emacs.d/elpa/org-20120903/)]

2012-09-22 Thread Viktor Rosenfeld
Hi Nicolas, I played around with your function and it's pretty nifty, but I had to make a few changes to get it working: - I have to load the "cl" module, otherwise the "case" function is void. - I had to replace "find-lisp-find-files" with "directory-files" because the former does not exist on

Re: [O] An org-attach link type [7.9.1 (7.9.1-elpa @ /home/youngfrog/.emacs.d/elpa/org-20120903/)]

2012-09-22 Thread Viktor Rosenfeld
Hi Nicolas, Nicolas Richard wrote: > Hello Viktor, > > Thanks for your input. > > > - I have to load the "cl" module, otherwise the "case" function is > > void. > > Sorry about that. I didn't notice it was from cl. > > > - I had to replace "find-lisp-find-files" with "directory-files" because

[O] date function in table formula does not understand German date stamps

2012-10-31 Thread Viktor Rosenfeld
Hi, I use the function `date' in a table formula to convert org date stamps to integers for further processing. However, after switching Emacs to a German locale, this no longer works. Consider the table below: | Stamp| date | |--+| | [2012-10-31 Wed] | 73480

Re: [O] Question re. Bernt's agenda setup

2012-11-15 Thread Viktor Rosenfeld
Hi Manish, it's Shift-P and you need to bind the function bh/narrow-to-project to the keycode. See the code blocks in the following two sections: http://doc.norang.ca/org-mode.html#SpeedCommands http://doc.norang.ca/org-mode.html#NarrowToSubtree Cheers, Viktor PS: I agree that Bernt's document

Re: [O] Question re. Bernt's agenda setup

2012-11-16 Thread Viktor Rosenfeld
Alan Schmitt wrote: > Viktor Rosenfeld writes: > > > Hi Manish, > > > > it's Shift-P and you need to bind the function bh/narrow-to-project to > > the keycode. See the code blocks in the following two sections: > > > > http://doc.norang.ca/org-m

[O] [BUG] [contrib/org-koma-letter.el] #+DATE and #+TO_ADDRESS picked up from outside the current subtree

2012-12-28 Thread Viktor Rosenfeld
ee 10 54321 Musterstadt and the date will be set to December 28 from the second letter. Regards, Viktor * Letter 1 #+AUTHOR: Viktor Rosenfeld #+DATE: 1. Dezember 2012 #+LATEX_CLASS: my-letter #+TO_ADDRESS: Max Mustermann\\ #+TO_ADDRESS: Musterstraße 1\\ #+TO_ADDRESS: 12345 Musterstadt ich

[O] [PATCH] [contrib/org-koma-letter.el] Configurable subject title and place and signature bugfix

2012-12-28 Thread Viktor Rosenfeld
Hi, the attached patch adds the following options to the scrlttr2 exporter: - #+PLACE, or org-koma-letter-place: the place before the date, e.g., "Berlin, 28. Dezember 2012"; the place is only typeset if this variable is defined - #+SUBJECT_TITLE, or org-koma-letter-subject-title: the subject

Re: [O] [BUG] [contrib/org-koma-letter.el] #+DATE and #+TO_ADDRESS picked up from outside the current subtree

2012-12-29 Thread Viktor Rosenfeld
Hi Alan, Alan Schmitt wrote: > If you want subtree exporting, the information should be in a > :PROPERTIES: drawer at the beginning of the thing to export. Here is > what I did for a recent letter: > > #+BEGIN_SRC org > ** Lettre d'Accueil pour ... > :PROPERTIES: > :EXPORT_LATEX_CLASS: my-in

Re: [O] A mail client that is org-mode compatible

2013-01-02 Thread Viktor Rosenfeld
Hi, Suvayu Ali wrote: > On Mon, Dec 31, 2012 at 08:29:12AM +0100, Gour wrote: > > I use notmuch for indexing only, and read and send emails from mutt. > Although I do not use gnus, I do use emacs as my editor (hence > message-mode) to compose emails; there I find Org is supported rather > well.

Re: [O] A mail client that is org-mode compatible

2013-01-10 Thread Viktor Rosenfeld
thanks, very informative! Suvayu Ali wrote: > Sorry for the late response, I was on holidays.

Re: [O] Wish: switch active time-stamps to inactive when CANCELED

2013-01-18 Thread Viktor Rosenfeld
Hi, Karl Voit wrote: > But still: there are two steps I have to make: (a) mark as canceled > because I want this "CANCELED" string attached and (b) add the > ARCHIVE tag. You can set the ARCHIVE tag when switching the TODO state automatically using org-todo-state-tags-triggers. For example (unt

Re: [O] Wish: switch active time-stamps to inactive when CANCELED

2013-01-20 Thread Viktor Rosenfeld
Hi, Karl Voit wrote: > ELISP is nothing you can learn in a single weekend. I've got the > feeling that this is a task that requires a longer period of time. > It's in SOMEDAY state in my Org along with: I've found that you can pick up enough ELISP on a weekend to start hacking small snipplets ri

Re: [O] Wish: switch active time-stamps to inactive when CANCELED

2013-01-23 Thread Viktor Rosenfeld
Hi Bastien, Bastien wrote: > Viktor Rosenfeld writes: > > > #+BEGIN_SRC emacs-lisp > > (setq org-todo-state-tags-triggers '(("CANCELLED" ("ARCHIVE" . t > > #+END_SRC > > I shared this as a new FAQ, thanks! The credit should go to

Re: [O] Filter the agenda by category

2012-01-02 Thread Viktor Rosenfeld
Awesome, thanks! Cheers, Viktor Bastien wrote: > Hi Vicktor, > > Viktor Rosenfeld writes: > > > is it possible to quickly limit what the agenda is showing to one > > category? > > Yes -- you can now use `<' to filter the agenda through the category &

[O] How to include section in exported Latex file, but not in table of contents

2012-01-13 Thread Viktor Rosenfeld
Hi, I would like to include an entry of my org file in the exported Latex file, but I would like the entry to be skipped in the table of contents. In other words, I would like to reproduce the behavior of Latex commands like \section* and so on. Is this at all possible? I tried EXPORT_OPTIONS: t

Re: [O] How to include section in exported Latex file, but not in table of contents

2012-01-16 Thread Viktor Rosenfeld
Hi Eric, Eric S Fraga wrote: > Viktor Rosenfeld writes: > > > Hi, > > > > I would like to include an entry of my org file in the exported Latex > > file, but I would like the entry to be skipped in the table of contents. > > > > In other words, I wou

[O] Drawers within inline tasks

2012-01-27 Thread Viktor Rosenfeld
Hi everybody, I recently discovered inline tasks and use them to keep todos that are related to a text I write close to the text. I'm not a big fan of their visibility behavior, but I think I can manage. I would very much like to clock work on inline tasks. However, when opening a tasks with inli

Re: [O] Drawers within inline tasks

2012-01-28 Thread Viktor Rosenfeld
Hi Bastien, Bastien wrote: > Unfolding an inline task now keeps the drawers folded. Thanks for the quick patch, but there's a small problem. The drawer is collapsed if the inline task is opened, but not if the parent task is opened. Example: * Parent Task *** Inline Task :PROPERTIE

Re: [O] Drawers within inline tasks

2012-01-28 Thread Viktor Rosenfeld
Hi Bastien, Bastien wrote: > Fixed, thanks. > > I first didn't take care of this because it seemed logical to > show all the content of an inline task here: the purpose of the > inline task is to stay out of the hierarchical structure, such > a task is *not* a subtree... so the real content of

[O] Clocking inline tasks

2012-01-28 Thread Viktor Rosenfeld
Hi, I have another question regarding inline tasks. When I start the clock on an inline task the clocking information of the parent task is included in the mode line. Is this the intended behavior? In the example below there are three clock lines for a total of 1 hour and 45 minutes. If I start t

[O] Setting multiple variables for code blocks in one property drawer

2012-02-09 Thread Viktor Rosenfeld
Hi, after following the discussion about the new BABEL syntax I was under the impression that the following should work to set two variables in one PROPERTIES drawer: :PROPERTIES: :var: foo=1 :var+: bar=2 :END: However, the definition of bar is ignored. It turns out that there can only be one :v

Re: [O] Setting multiple variables for code blocks in one property drawer

2012-02-15 Thread Viktor Rosenfeld
this buffer On the other hand, the following version does not produce an error, but the value of $baz is not set. :PROPERTIES: :var: foo=1 :var+: bar="2", :var+: baz=3 :END: #+BEGIN_SRC sh echo foo: $foo echo bar: $bar echo baz: $baz #+END_SRC Cheers, Viktor Eric Schulte wrote

Re: [O] Setting multiple variables for code blocks in one property drawer

2012-02-20 Thread Viktor Rosenfeld
Hi Eric, Eric Schulte wrote: > Viktor Rosenfeld writes: > > > Hi Eric, > > > > thanks for your input. I just pulled the latest code from git and while > > my original example works, the following does not: > > > > :PROPERTIES: > > :var: f

Re: [O] org-mode code / verbatim delimiters don't work with quotation marks

2012-02-20 Thread Viktor Rosenfeld
Hi, this behavior is controlled by the contents of the 3rd element of org-emphasis-regexp-components. See this post: http://thread.gmane.org/gmane.emacs.orgmode/20915/focus=20922 I've removed \" a while ago and haven't noticed any problems so far. Cheers, Viktor Leo Alekseyev wrote: > I notic

[O] [babel] [PATCH] Add support for MonetDB for SQL blocks

2012-02-23 Thread Viktor Rosenfeld
Hi, the attached patch adds support for evaluating SQL blocks on MonetDB. The MonetDB client normally requires the password to be inputted on the console. To get around this, you have to use a dotfile ~/.monetdb with authentification data. Note that this file is ignored if you specify a user on th

Re: [O] Setting multiple variables for code blocks in one property drawer

2012-02-26 Thread Viktor Rosenfeld
Hi Eric, Eric Schulte wrote: > However try replacing > > :var: foo="a" > with > > :var+: foo="a" > which is valid and should work for your use case below. I'm not sure if I understood you correctly, but even if I replace "var" with "var+" in the child's property drawer, the value of bar that is

Re: [O] Habits in agenda view

2012-02-26 Thread Viktor Rosenfeld
Hi Renger, why not use two differently configured agenda blocks in your agenda view. In the first you skip habits and in the second you skip everything else. Cheers, Viktor Renger van Nieuwkoop wrote: > Hi > I want to change my agenda view in such a way, that habits are shown as an > explicit

[O] [BABEL] Redirect stderr to stdout?

2012-03-02 Thread Viktor Rosenfeld
Hi, is there a way to capture stderr output of a babel block and have it appear in the results block (instead of being printed in the *Shell Command Output* buffer)? On sh blocks I could redirect myself, but I'm trying to capture the output of psql (the PostgreSQL client). Specifically, I have th

Re: [O] [BABEL] Redirect stderr to stdout?

2012-03-02 Thread Viktor Rosenfeld
Hi Eric, Eric Schulte wrote: > Currently the only action Babel takes with STDERR is to display it in a > pop-up buffer when code block evaluation fails. On my system (OS X) the buffer does not popup. I just tried #+BEGIN_SRC sh echo foo 1>&2 #+END_SRC in Aquamacs and Cocoa Emacs. Strangely,

Re: [O] [BABEL] Redirect stderr to stdout?

2012-03-03 Thread Viktor Rosenfeld
Hi Eric, Eric Schulte wrote: > Viktor Rosenfeld writes: > > > Hi Eric, > > > > Eric Schulte wrote: > > > >> Currently the only action Babel takes with STDERR is to display it in a > >> pop-up buffer when code block evaluation fails. > >

Re: [O] Tangling without clutter?

2012-03-14 Thread Viktor Rosenfeld
Hi Jos'h, have you looked at the :session header argument? I use it to define environment variables in bash that are used in later code blocks. Something like this: #+BEGIN_SRC sh :session foo export W="world." #+END_SRC #+RESULTS: #+BEGIN_SRC sh :session foo echo Hello $W #+END_SRC If these

Re: [O] Drawers within inline tasks

2012-04-20 Thread Viktor Rosenfeld
Hi, when I open the parent task of an inline task drawers are not folded anymore. Not sure when this regression occured. Cheers, Viktor Bastien wrote: > Hi Viktor, > > Viktor Rosenfeld writes: > > > Thanks for the quick patch, but there's a small problem. The drawer

Re: [O] Drawers within inline tasks

2012-04-20 Thread Viktor Rosenfeld
Hi Bastien, Bastien wrote: > Hi Viktor, > > Viktor Rosenfeld writes: > > > when I open the parent task of an inline task drawers are not folded > > anymore. Not sure when this regression occured. > > Allowing tihs was causing performance regression in > `or

Re: [O] How to escape spaces after full stops?

2012-06-24 Thread Viktor Rosenfeld
Hi, I typically use a non-breaking space in this case with C-x 8 . This also prevents a linebreak at this position. For this to work I have to add the following line in the LaTeX preamble: \DeclareUnicodeCharacter{00A0}{~} Cheers, Viktor Marius Hofert wrote: > Dear org-mode experts, > > If I

Re: [O] Tips for using orgmode + ledger to record events?

2013-03-01 Thread Viktor Rosenfeld
Hi, Eric S Fraga wrote: > My view would be to avoid having two files, an org one and a ledger > one, and instead combine them into an org file. I'm using both org-mode and ledger but I do not mix them. I'm having a hard time imagining the benefits of such a system, especially since ledger's que

Re: [O] Tips for using orgmode + ledger to record events?

2013-03-04 Thread Viktor Rosenfeld
Hi Eric, Eric S Fraga wrote: > Using org for this is easier than having to work with ledger > comments. I can also then include, in the org file, the specific ledger > instantiations to get the kinds of reports I want and execute these with > C-c C-c. So, for instance, I have ledger reports on

Re: [O] Tips for using orgmode + ledger to record events?

2013-03-05 Thread Viktor Rosenfeld
Hi Eric, thanks for explaining your structure. Eric S Fraga wrote: > I don't use capture templates; I manually enter the information. I did > use to use capture but found it too clumsy for my setup (or I was never > able to suss out how to define the right capture templates). I don't > reconc

Re: [O] Better way to customize daily/weekly agenda?

2013-03-08 Thread Viktor Rosenfeld
Hi Piotr, Piotr Isajew wrote: > - daily agenda having grid mode on, and displaying entries from > all categories > > - weekly agenda having grid mode off and filtering out entries > from one specific category With regard to the time grid you might want to check out the variable org-agenda-t

[O] [PATCH] Improve configurability of ox-koma-letter

2013-04-21 Thread Viktor Rosenfeld
Hi, I've hacked the ox-koma-letter exporter to make it more configurable. See the Changelog of the attached patch, hopefully I've followed the Changelog guidelines propertly. Also, I could not find an ox-koma-letter tutorial on Worg. I would be willing to create such a tutorial, maybe next weeken

[O] [BUG] Hotkeys defined in org-tag-alist repeated in agenda filter dispatcher

2013-04-21 Thread Viktor Rosenfeld
Hi, I have the following tags defined in my initialization code: #+BEGIN_SRC emacs-lisp (setq org-tag-alist '((:startgroup . nil) ("@home" . ?h) ("@comp" . ?c) ("@otg" . ?o) ("@fon" . ?f)

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-04-22 Thread Viktor Rosenfeld
Hi Alan, Alan Schmitt wrote: > > Also, I could not find an ox-koma-letter tutorial on Worg. I would be > > willing to create such a tutorial, maybe next weekend. Can anybody edit > > the contents on Worg or do I need special priviledges? > > You need to ask for write access. Will do. > I star

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-04-22 Thread Viktor Rosenfeld
Hi Alan, Alan Schmitt wrote: > A couple notes about the patch: > - Could you create it using "git format-patch"? This way we'll have > more metadata in the commit. I actually did that first and liked it more because then the patch was split into more logical blocks (nine patches in total). Howev

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-04-22 Thread Viktor Rosenfeld
Hi Rasmus, Rasmus wrote: > > * Setting of KOMA options > > > > The presence of the sender's phone and email, the letter's place and > > subject, as well as foldmarks and the backaddress are > > configurable. Consider: > > > > #+OPTIONS: subject:titled place:nil phone:t email:t foldmarks:nil > >

Re: [O] [BUG] Hotkeys defined in org-tag-alist repeated in agenda filter dispatcher

2013-04-22 Thread Viktor Rosenfeld
Hi Bastian, Bastien wrote: > Hi Viktor, > > Viktor Rosenfeld writes: > > > If I hit the =/= key in the agenda to filter the agenda by tag, the > > hotkeys defined in the list above are repeated multiple times. > > Can you test this patch against latest maint

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-04-22 Thread Viktor Rosenfeld
tion. I can't reproduce this. I have attached a minimal letter as an example. If I evaluate the emacs-lisp block and export it I can see a graphic signature that is defined in `Signed.lco' in my `texmf' directory. What happens on your end? Cheers, Viktor > > Alan > >Fro

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-04-22 Thread Viktor Rosenfeld
Hi Rasmus, Rasmus wrote: > >> In a similar spirit to subject is firsthead. First head is displayed > >> by default in scrlttr2 as far as I recall, which is annoying. > > > > Is firsthead something that you change on a letter-by-letter basis? Or > > do you configure it once for your letters and n

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-04-23 Thread Viktor Rosenfeld
Hi Alan, Alan Schmitt wrote: > I'm still thinking that the default signature should be nil (so that the > option can be picked up from the LCO), but it's a minor nitpick. Rasmus also suggested setting the default opening and closing to nil because we should not assume that everybody speaks Engli

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-04-23 Thread Viktor Rosenfeld
Hi Alan, Alan Schmitt wrote: > I've applied the patch. I propose a further tiny improvement: > , > | --- a/contrib/lisp/ox-koma-letter.el > | +++ b/contrib/lisp/ox-koma-letter.el > | @@ -273,7 +273,7 @@ holding export options." > |(when email (format "\\setkomavar{fromemail}{%s}\n" em

Re: [O] Adding new heading results in "not in an item"

2013-04-23 Thread Viktor Rosenfeld
Hi Johan, this is fixed in master. The relevant commit is here: http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=0fff0ba6da30e4ced73f84c8305d80c955bae132 Cheers, Viktor Johan Ekh wrote: > Hi all, > I've installed version 8 of org-mode and now I get the message "not in an > item" when I try t

Re: [O] [BUG] Hotkeys defined in org-tag-alist repeated in agenda filter dispatcher

2013-04-24 Thread Viktor Rosenfeld
Hi Bastien, with this patch, everything works as expected. Thanks! Cheers, Viktor Bastien wrote: > Hi Viktor, > > thanks for the patient and detailed debugging. > > I don't have time to test the attached patch myself, but given your > description it should be okay. > > Can you test it and r

[O] [PATCH] org.el: Filter agenda by persistent tags

2013-04-24 Thread Viktor Rosenfeld
Hi, the attached patch makes `org-agenda-filter-by-tag-refine' pickup the hotkeys defined for tags in `org-tag-persistent-alist'. Cheers, Viktor >From 25d8eb08ecab282fc85c95307cddada8b5032e21 Mon Sep 17 00:00:00 2001 From: Viktor Rosenfeld Date: Wed, 24 Apr 2013 15:54:14 +0200 Su

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Viktor Rosenfeld
Hi Alan, I've removed the defaults from OPENING and CLOSING. See the attached patch. Cheers, Viktor Alan Schmitt wrote: > Viktor Rosenfeld writes: > > > Rasmus also suggested setting the default opening and closing to nil > > because we should not assume that everybod

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Viktor Rosenfeld
. See the attached patch. Cheers, Viktor Rasmus wrote: > Viktor Rosenfeld writes: > > >> Yeah, I guess it's true. Still, since foldmarks depends on which > >> envelopes you have at hand it might make sense to have it accept a > >> string. In lisp-t

  1   2   >