Re: [O] Way to replace normal tabular env with booktabs?

2012-02-08 Thread Niels Giesen
I say: go for it! On Saturday, February 4, 2012, Nicolas Goaziou wrote: > Hello, > > John Hendy writes: > >> On Fri, Jan 13, 2012 at 9:39 AM, Carsten Dominik >> wrote: >>> >>> On Jan 13, 2012, at 3:52 PM, Niels Giesen wrote: >>> >>>&g

Re: [O] Way to replace normal tabular env with booktabs?

2012-01-13 Thread Niels Giesen
There is a patch from me waiting to be incorporated into org mode that lets one use booktabs as export for normal org tables. You can find it @ http://patchwork.newartisans.com/patch/1016/ On Fri, Jan 13, 2012 at 2:21 PM, John Hendy wrote: > On Thu, Jan 12, 2012 at 6:01 PM, Thomas S. Dye wro

Re: [O] More specific LaTeX output classes

2011-12-02 Thread Niels Giesen
Ken Williams writes: [...] > Would it be possible for the export process to define various classes > that default to being exactly like 'verbatim', but could be > customized? After that, a next step might be to provide nice defaults > that do things like syntax-highlighting (through the 'minted

Re: [O] [PATCH] customize latex table export

2011-12-02 Thread Niels Giesen
Hi Christophe, Could you provide us with a minimal example of how this new functionality can be used? I am trying to test it and see if there are any conflicts with my patch of late to supports the booktabs package @ http://patchwork.newartisans.com/patch/1016/ (aside from one of the two patches

Re: [O] Org-mode latex-export minted problem

2011-11-16 Thread Niels Giesen
Piotr Kaźmierczak writes: > Hi, > > I'm having a hard time configuring org-mode LaTeX export to work with minted > package for code listings. I put > > #+LaTeX_HEADER: \usepackage{minted} > #+LaTeX_HEADER: \usemintedstyle{emacs} > > in the header of my org mode file, and then > > #+BEGIN_SRC

Re: [O] Formatting clock tables in the agenda

2011-11-09 Thread Niels Giesen
You should probably check org-agenda-clockreport-parameter-plist On Wed, Nov 9, 2011 at 4:30 PM, Tommy Kelly wrote: > I have a clock table in my agendas -- I got it there by setting > org-agenda-start-with-clockreport-mode. I'm trying to control its > format. I've tried using org-clock-clocktabl

[O] Patch to customize output of tables in LaTeX exporter.

2011-10-28 Thread Niels Giesen
00:00:00 2001 From: Niels Giesen Date: Thu, 27 Oct 2011 09:23:16 +0200 Subject: [PATCH] Add defcustoms for LaTeX export of table rules :tstart, :hline and :tend Fix double rule in longtable. This allows users to use e.g. the booktabs package and create more beautiful tables in LaTeX documents. Also f

Re: [O] direct link to mails in gmail

2011-10-22 Thread Niels Giesen
suvayu ali writes: > On Sat, Oct 22, 2011 at 13:43, Niels Giesen wrote: >> suvayu ali writes: >> >>> On Sat, Oct 22, 2011 at 8:48 AM, Niels Giesen >>> wrote: >>>> Too bad I have set up Emacs to use emacs-w3m, in which this does not work >

Re: [O] direct link to mails in gmail

2011-10-22 Thread Niels Giesen
suvayu ali writes: > On Sat, Oct 22, 2011 at 8:48 AM, Niels Giesen wrote: >> Too bad I have set up Emacs to use emacs-w3m, in which this does not work -- >> probably the hash part is handled by client-side JavaScript. > > You can try this: > > https://mail.google.co

Re: [O] Patch for bug in adjusting time ranges in Agenda

2011-10-22 Thread Niels Giesen
Carsten Dominik writes: > On 21.10.2011, at 10:54, Christian Egli wrote: > >> Hi Carsten >> >> Carsten Dominik writes: >> >>> I have just checked in a slightly modified patch. >> >> I think there is a problem with this checkin. The variable >> org-agenda-move-date-from-past-immediately-to-tod

Re: [O] direct link to mails in gmail

2011-10-21 Thread Niels Giesen
> > Since any mail can be found under the All label by definition the > simplest solution is extracting the message id from the end of > the current url and then creating a new url pointing to All. > This URL should always work unless the mail is deleted: > > https://mail.google.com/mail/?shva=1#al

Re: [O] Patch for bug in adjusting time ranges in Agenda

2011-10-21 Thread Niels Giesen
Same here. By the way, you don't necessarily have to mark the patch as a TINYCHANGE: I have signed the papers with the FSF, but I just have problems updating http://orgmode.org/worg/org-contribute.html. (problem is: "error: unable to create temporary sha1 filename ./objects/3e: Permission denied"

Re: [O] Patch for bug in adjusting time ranges in Agenda

2011-10-17 Thread Niels Giesen
On Sun, Oct 16, 2011 at 6:43 PM, Nick Dokos wrote: > Niels Giesen wrote: > > > *bump* > > > > Has this one slipped through (as I were posting two other patches round > the same date, one also > > having to do with date/time ranges in the agenda -- which we

Re: [O] Patch for bug in adjusting time ranges in Agenda

2011-10-16 Thread Niels Giesen
*bump* Has this one slipped through (as I were posting two other patches round the same date, one also having to do with date/time ranges in the agenda -- which were both accepted), or am I just impatient? On Sun, Oct 2, 2011 at 12:24 PM, Niels Giesen wrote: > Hi Orgers, > > The disc

Re: [O] Put result output in different type of code block than original

2011-10-11 Thread Niels Giesen
To all people in this thread, Thank you for all the responses. The echoing of #+begin_src and #end_src is indeed a workaround that I had not thought of myself, though it is not that general, and puts stuff in the source that really oughtn't be there. In the mean time I came up with a piece of ad

[O] Put result output in different type of code block than original

2011-10-10 Thread Niels Giesen
Hi, Say I've got a sh code block invoking curl to some json api, is it possible some way to specify that the format of the output when :results output code is in a json code block and *not* a sh code block? #+begin_src sh :results output code :exports both curl https://our-service.org/getstuff?us

Re: [O] Patch for numbering continuation in source blocks.

2011-10-08 Thread Niels Giesen
Carsten Dominik writes: > Hi Niels, > > is the purpose of this patch to be able to insert an unnumbered code block > between two numbered ones and to continue the numbering from the first in the > third? Yes, that is the precise purpose. How concise you can put it! -- http://pft.github.com/

Re: [O] [BUG] Re: Time range end in agenda view not displayed

2011-10-05 Thread Niels Giesen
> > Thanks, this patch has been accepted. > > - Carsten > Thank you. niels -- http://pft.github.com

[O] Patch for numbering continuation in source blocks.

2011-10-02 Thread Niels Giesen
k existing org files where +n was specified but -n intended. #+begin_src diff From 4d34d5f2fe10a956d3359dfd40f19de25202df5f Mon Sep 17 00:00:00 2001 From: Niels Giesen Date: Fri, 16 Sep 2011 17:22:47 +0200 Subject: [PATCH] Continue numbering from any previous numbered snippet with +n,

[O] Patch for bug in adjusting time ranges in Agenda

2011-10-02 Thread Niels Giesen
on timestamp ranges, in that they only shift the rightmost timestamp in the range. The patch below should fix this. #+begin_src diff From 2e6b64dc8dcae0fd312729af96ab10d8d2e9d91b Mon Sep 17 00:00:00 2001 From: Niels Giesen Date: Sun, 2 Oct 2011 09:15:21 +0200 Subject: [PATCH] Fix shift-adj

Re: [O] [BUG] Re: Time range end in agenda view not displayed

2011-09-30 Thread Niels Giesen
nny enough, I noticed this too last week, so I whipped up this patch. It inserts the range when start date is the same as the end date. Please test (it's still young) && include in Org if you so please. #+begin_src diff >From dcf81753aa5cab311f2a3a0272e4691e4bc6ea38 Mon Sep 17 00:

[O] [PATCH] Continue numbering from any previous numbered snippet with +n, even when previous numbered snippet does not immediately precede it.

2011-09-16 Thread Niels Giesen
* org-mode/lisp/org-exp.el (org-export-number-lines): Check whether number parameter (this is a numbered block!) is non-nil as well as whether cont is nil (this numbered block should *not* continue numbering where we left off before!) before resetting the count to zero. From the docs:

Re: [O] Underline ONLY the first character of a word?

2011-08-28 Thread Niels Giesen
What about using something well-structured like a table or a (definition) list and CSS :first-letter pseudoselector and text-decoration: underline? e.g. td:first-child { font-weight:bold; } td~td:first-letter { text-decoration:underline; } for a two-column table. On Fri, Aug 26, 2011 at 10:

Re: [O] Is it possible to markup one character in a word?

2011-08-28 Thread Niels Giesen
> The whitespace module seems not to support this kind of spaces. > Is there any centralized feature to show/hide those things? > > The whitespace module does support this, see the variable `whitespace-display-mappings'. Something like this should do the trick (if not done via M-x customize-variab

Re: [O] Calendar-like view of the org-agenda

2011-07-05 Thread Niels Giesen
SAKURAI Masashi writes: [...] > Just yesterday in JST, I released calfw v1.0. This is just awesome! [...] > I have not used orgmode so far, so I'm not good at the schedule management in > the orgmode. Comments and patches are welcome. Ok. Here you go: 1. I have just send you a patch off-li

Re: [O] Jambunathan's ODT exporter now in contrib/

2011-07-01 Thread Niels Giesen
Using latest org-mode, with org-odt included. C-c C-e O complained about not finding OrgOdtAutomaticStyles.xml. I patched org-odt.el to the following so that it could find it: Could someone look into this? (e.g. I do not know whether this would break non-integrated org-odt (or whether that matter

Re: [O] Status google calendar sync

2011-06-11 Thread Niels Giesen
> When going from org -> google, do I need to do anything about using > org-icalendar-store-UID?  I'd rather not have to populate my org files > with :ID: entries. You do not strictly need to, but this is the only way you do not create double events when exporting an org file to .ics and importing

Re: [O] understanding the function outline-level

2011-06-07 Thread Niels Giesen
Hi Michael, match data get set by searches. One can inhibit match-data being cluttered by using the `save-match-data' macro (you should probably do so when using searches in a lisp program). Outline.el seems to make very frequent use of this 'global' data; instead of passing this data on via func

Re: [O] Org Mode Calendar UID Mismatch.

2011-05-20 Thread Niels Giesen
On Fri, May 20, 2011 at 11:40 AM, Ghanashyam wrote: > Hi Niels, > > I had faced this issue quite a couple of weeks back and I kept on trying to > export the calendar the whole day > doing adjustments to the UID format, and I could get the UID format to have > only 7 to 8 characters. > > I was supr

Re: [O] Org Mode Calendar UID Mismatch.

2011-05-19 Thread Niels Giesen
Ghanashyam writes: [...] > > > > I check the ics file and I can perfectly see that the UIDs were > replicated.(exactly same). Also all my events were scheduled but there > is one parameter which said, SCHEDULED or unSCHEDULED, you export > events. Ok. I assume this is `org-ical

Re: [O] Org Mode Calendar UID Mismatch.

2011-05-19 Thread Niels Giesen
Greg Troxel writes: > Ghanashyam writes: > >> I have had a problem with the org mode calendar export with emacs. >> It looks like org mode uses some uid generation exe which >> generates non unique UIDs. I am not sure why this is to. Even when I >> set the UID format to include the date format.

Re: [O] lisp/org-clock.el: Add param :properties to list properties in clocktable

2011-05-18 Thread Niels Giesen
sing something here? Regards, Niels. On Fri, May 13, 2011 at 2:20 PM, Carsten Dominik wrote: > Hi Niels, I have merged your patch thanks. > A tutorial on Worg for your use case would be really helpful. > > - Carsten > > On May 13, 2011, at 10:00 AM, Niels Giesen wrote: > &

Re: [O] lisp/org-clock.el: Add param :properties to list properties in clocktable

2011-05-13 Thread Niels Giesen
and a proper > changelog-like entry? I hope my current attachment is in the appropriate form. >From 9065d22f5e41d73a47c72e6ee3f70bd974bee9ff Mon Sep 17 00:00:00 2001 From: niels giesen Date: Fri, 13 May 2011 09:43:15 +0200 Subject: [PATCH] org-clock: Implement columns of arbitrary properti

Re: [O] Re: How to display a diary entry in agenda week view only "today"

2011-04-11 Thread Niels Giesen
vayu Ali wrote: > >> On Mon, 11 Apr 2011 14:55:24 +0200 >> Niels Giesen wrote: >> >> > On Mon, Apr 11, 2011 at 1:57 PM, Rainer Stengele >> > wrote: >> > > Am 11.04.2011 10:36, schrieb Suvayu Ali: >> > >> On Mon, 11 Apr 2011 08:5

Re: [O] Re: How to display a diary entry in agenda week view only "today"

2011-04-11 Thread Niels Giesen
date is a dynamically bound variable at the time of evaluation. On Mon, Apr 11, 2011 at 1:57 PM, Rainer Stengele wrote: > Am 11.04.2011 10:36, schrieb Suvayu Ali: >> On Mon, 11 Apr 2011 08:52:52 +0200 >> Rainer Stengele wrote: >> >>> Hi! >>> >>> In one of my org agenda files I have >>> >>> #+CAT

[O] Re: lisp/org-clock.el: Add param :properties to list properties in clocktable

2011-03-28 Thread Niels Giesen
> Bernt Hansen writes: > Thanks for the example. That helps a lot. I think posting this to Worg > would be very useful. Hi Bernt, I will do so if/when these patches get accepted ;) -- http://pft.github.com/

[O] Re: lisp/org-clock.el: Add param :properties to list properties in clocktable

2011-03-27 Thread Niels Giesen
Bernt Hansen writes: [...] > Could you provide a sample clock report using this patch to get a > better idea of why you find this useful? Yes, here you are, along with the contents of a sample file, so that you may get a gist of my need for inheritance. * Clocktables #+BEGIN: clocktable :max

[O] lisp/org-clock.el: Add param :properties to list properties in clocktable

2011-03-26 Thread Niels Giesen
b4a66b705809e6100d9e8e0 Mon Sep 17 00:00:00 2001 From: Niels Giesen Date: Sat, 26 Mar 2011 10:19:08 +0100 Subject: [PATCH 1/3] org-clock: Add properties param handling to `org-clock-get-table-data' This param should be a list of strings referring to properties. Those properties will be return

Re: [O] Release 7.5

2011-03-07 Thread Niels Giesen
Congratulations and a lot of thanks for the great work! Niels. -- http://pft.github.com/

Re: [Orgmode] More entries able to export to icalendar format

2011-02-12 Thread Niels Giesen
s a few things did not work correctly. They do now. First, a tiny change to org-icalendar, adding the uid as a text-property: #+begin_src diff >From 4ed18aa7aa13ac02784ad536fff5d5719f2942b9 Mon Sep 17 00:00:00 2001 From: Niels Giesen Date: Fri, 11 Feb 2011 13:59:12 +0100 Subject: [PATCH] A

Re: [Orgmode] More entries able to export to icalendar format

2011-02-11 Thread Niels Giesen
Hi Bastien, > Can you submit your changes in the form of a patch, precisely describing > your changes? This way I can more easily try to understand/test them. I will do so. What is the preferred way to do so: attaching those patches or quoting them in-line? Niels -- http://pft.github.com/ _

[Orgmode] More entries able to export to icalendar format

2011-02-04 Thread Niels Giesen
When exporting to icalendar format, not all of the <%%(diary-* )> style entries are supported. It concerns the functions =icalendar--convert-float-to-ical= and =icalendar--convert-date-to-ical= in icalendar.el. I took a stab at ameliorating =icalendar--convert-float-to-ical=, and would like y

Re: [Orgmode] $0 replaced with ampersand (&) when invoking `org-edit-special'

2011-01-31 Thread Niels Giesen
On 30-1-2011 17:32, David Maus wrote: > At Sun, 09 Jan 2011 14:36:45 +0100, > David Maus wrote: >> I can reproduce this with >> >> Org-mode version 7.4 (release_7.4.135.g84087) >> >> GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) >> of 2010-12-11 on raven, modified by Debian >> >> And i

[Orgmode] Property inheritance for MAIL_FMT, MAIL_TO, MAIL_CC and MAIL_BCC

2011-01-13 Thread niels giesen
Hi Eric, Please see the patch below, it adds property inheritance for all MAIL_* properties, based on the value of `org-use-property-inheritance'. #+begin_src diff diff --git a/contrib/lisp/org-mime.el b/contrib/lisp/org-mime.el index 68a3498..ae430fb 100644 --- a/contrib/lisp/org-mime.el

Re: [Orgmode] Default directory in org-agenda-mode

2011-01-12 Thread Niels Giesen
Hi Nick, Nick Dokos writes: [...] > AFAIK, there is no variable default-directory-alist - at least, my > emacs does not know anything about it. Ah, yes, I see it's provided by dired-x, which does ship with emacs, but is not loaded by default. Its documentation says #+begin_example Alist of m

[Orgmode] Default directory in org-agenda-mode

2011-01-12 Thread niels giesen
Hi all, I would like `default-directory' in `org-agenda-mode' to be the value of `org-directory'. This is because I tend to start my working day by opening the Agenda view, and then decide to open some org file (which I all have inside `org-directory' and that may or may not have items present in

[Orgmode] org-mode table with backslash inside fails to export to DocBook (now right)

2011-01-07 Thread niels giesen
Hi list, Baoqiu, A file with the following contents fails to export to Docbook: #+begin_src org ,* Table with a backslash in it , | \ | #+end_src It gives the following error #+begin_example "Invalid use of `\' in replacement text" #+end_example The following changes (replace-match

[Orgmode] org-mode table with backslash inside fails to export to DocBook

2011-01-07 Thread niels giesen
Hi Baoqiu, A file with the following contents fails to export to Docbook: #+begin_src org ,* Table with a backslash in it , | \ | #+end_src It gives the following error #+begin_example "Invalid use of `\' in replacement text" #+end_example The following changes (replace-match lite

[Orgmode] org-mode table with backslash inside fails to export to DocBook

2011-01-07 Thread niels giesen
Hi Baoqiu, A file with the following contents fails to export to Docbook: #+begin_src org ,* Table with a backslash in it , | \ | #+end_src It gives the following error #+begin_example "Invalid use of `\' in replacement text" #+end_example The following changes (replace-match l

Re: [Orgmode] Re: Sending org buffer as mail?

2010-12-27 Thread Niels Giesen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry list for the last two mails (the ones with attachments), I messed things up there. Below the mail I sent to Eric, but forgot to copy carbonically to the list. "Eric Schulte" writes: > Niels Giesen writes: > >>

[Niels Giesen] Re: [Orgmode] Re: Sending org buffer as mail?

2010-12-27 Thread Niels Giesen
--- Begin Message --- "Eric Schulte" writes: > Niels Giesen writes: > >> "Eric Schulte" writes: >> >>> Niels Giesen writes: >>> >>>> "Eric Schulte" writes: >>>> >>>>> Thanks, I've j

Re: [Orgmode] Re: Sending org buffer as mail?

2010-12-21 Thread Niels Giesen
"Eric Schulte" writes: > Niels Giesen writes: > >> "Eric Schulte" writes: >> >>> Thanks, I've just pushed up a new version of org-mime which makes use of >>> this function. >> Hi Eric, thanks for implementing this. However,

Re: [Orgmode] Re: Sending org buffer as mail?

2010-12-19 Thread Niels Giesen
"Eric Schulte" writes: > Thanks, I've just pushed up a new version of org-mime which makes use of > this function. [...] Hi Eric, I love the org-mime-subtree function! It makes writing good-looking mails very easy. Now for a proposal: For ascii export used for mail, it would be cool if SRC a

[Orgmode] $0 replaced with ampersand (&) when invoking `org-edit-special'

2010-12-19 Thread niels giesen
According to [ (info "(org) Formula syntax for Calc") ], $0 references the current cell. Pressing C-c C-c on the #+TBLFM line below does indeed work, but C-c ' (`org-edit-special') changes the $0 reference into a single ampersand (&). Is this a bug? | Thing | Amount | |+| | Apple

Re: [Orgmode] Re: extremely weird "bad sexp" errors with org-google-weather [was: extremely weird "bad sexp" errors]

2010-11-03 Thread Niels Giesen
Friedrich Delgado wrote: > Oh... and I just tried to set the language back to "DE" and the > problem disappeared. > > It can only guess that there might have been some problem going on > behind the curtain (e.g. on the google servers?), which has now been > resolved. > > I'd appreciate if Org/org-g

[Orgmode] scope of properties in a narrowed buffer, links in certain environments etc.

2007-10-16 Thread Niels Giesen
(call-interactively 'org-open-at-point)) Diff finished. Tue Oct 16 14:08:55 2007 Using Org-mode version 5.12c on "GNU Emacs 23.0.0.1 (i386-mingw-nt5.1.2600) of 2007-01-01 on DTOP" Greetings to you all! Niels Giesen ___ Emacs-orgmode m

[Orgmode] Timestamp increment inside tables

2007-05-03 Thread Niels Giesen
(goto-char (+ (point-at-bol) column)) + (org-timestamp-up 1))) (error "No non-empty field found" Table alignment does not seem to pose any problems, but this is one thing that might require some critical looking into. Regards, Niels Giesen PS: its use? Making expens